]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Add optimized sinf and cosf routines for x86 and x86-64
[thirdparty/glibc.git] / ChangeLog
CommitLineData
4ffffbd2
LD
12012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2
3 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
4 Add s_sinf-sse2, s_conf-sse2.
5
6 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
7 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
8 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
9 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
10
11 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
12 for using routine as __sinf_ia32.
13 Use macro for function declaration and weak_alias.
14 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
15 for using routine as __cosf_ia32.
16 Use macro for function declaration and weak_alias.
17
18 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
19 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
20
21 * sysdeps/x86_64/fpu/s_sinf.S: New file.
22 * sysdeps/x86_64/fpu/s_cosf.S: New file.
23 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24
25 * math/libm-test.inc (cos_test): Add more test cases.
26 (sin_test): Likewise.
27 (sincos_test): Likewise.
28
511fa286
AK
292012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30
31 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
32 (IFUNC_RESOLVE): Make pointers to the specialized implementations
33 hidden.
34 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
35
5f30cfec
L
362012-09-02 H.J. Lu <hongjiu.lu@intel.com>
37
38 [BZ #14538]
39 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
40 first element of the GOT.
41 (elf_machine_load_address): Return the difference between
42 the runtime address of _DYNAMIC and elf_machine_dynamic ().
43
0786794f
AM
442012-09-01 Allan McRae <allan@archlinux.org>
45
5f30cfec
L
46 [BZ #13412]
47 * configure.in (AWK): Require gawk version 3.0 or later.
48 * configure: Regenerated.
0786794f 49
26889eac
JM
502012-09-01 Joseph Myers <joseph@codesourcery.com>
51
52 * sysdeps/unix/sysv/linux/kernel-features.h
53 (__ASSUME_POSIX_CPU_TIMERS): Remove.
54 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
55 [__NR_clock_getres]: Make code unconditional.
56 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
57 (clock_getcpuclockid): Remove code left unreachable by removal of
58 conditionals.
59 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
60 code unconditional.
61 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
62 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
63 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
64 Make code unconditional.
65 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
66 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
67 * sysdeps/unix/sysv/linux/clock_settime.c
68 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
69 conditional code.
70 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
71 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
72
d22e28b0
L
732012-08-29 H.J. Lu <hongjiu.lu@intel.com>
74
75 [BZ #14476]
76 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
77 scripts/test-installation.pl.
78
79 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
80 and $ld_so_version if it is set.
81
050af9c4
SP
822012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
83
84 [BZ #14516]
85 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
86 failure if reading from procfs failed.
87 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
88
ad845c0b
JM
892012-08-27 Joseph Myers <joseph@codesourcery.com>
90
91 * sysdeps/unix/sysv/linux/kernel-features.h
92 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
93 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
94 Remove conditional code.
95 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
96 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
97 Remove conditional code.
98 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
99 * sysdeps/unix/sysv/linux/i386/fxstat.c
100 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
101 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
102 * sysdeps/unix/sysv/linux/i386/fxstatat.c
103 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
104 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
105 * sysdeps/unix/sysv/linux/i386/lxstat.c
106 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
107 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
108 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
109 Remove conditional code.
110 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
111 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
112 Remove conditional code.
113 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
114 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
115 <kernel-features.h>.
116 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
117 Remove.
118 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
119 Remove conditional code.
120 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
121 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
122 Remove conditional.
123
5dbf56af
MF
1242012-08-27 Mike Frysinger <vapier@gentoo.org>
125
126 [BZ #5400]
127 * NEWS: Add fixed bug number.
128
d6e70f43
JM
1292012-08-27 Joseph Myers <joseph@codesourcery.com>
130
7efb4737
JM
131 [BZ #14519]
132 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
133 underflowing exponent in case of negative sign.
134 * stdlib/tst-strtod-round-data: Add more tests.
135 * stdlib/tst-strtod-round.c (tests): Regenerated.
136
af92131a
JM
137 [BZ #3479]
138 * stdlib/strtod_l.c (NDIG): Remove.
139 (HEXNDIG): Likewise.
140 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
141 smallest representable value.
142 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
143 lie within an exact representation of 1/2 ulp of the result.
144 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
145 unconditionally.
146 (TENS_P9_IDX): Define unconditionally.
147 (TENS_P9_SIZE): Likewise.
148 (TENS_P10_IDX): Likewise.
149 (TENS_P10_SIZE): Likewise.
150 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
151 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
152 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
153 entries for 10^2^13 and 10^2^14.
154 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
155 (TENS_P13_IDX): Define.
156 (TENS_P13_SIZE): Likewise.
157 (TENS_P14_IDX): Likewise.
158 (TENS_P14_SIZE): Likewise.
159 (_fpioconst_pow10): Change array size to
160 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
161 unconditional.
162 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
163 1024]: Add entries for 10^2^13 and 10^2^14.
164 [LAST_POW10 > _LAST_POW10]: Remove #error.
165 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
166 (_fpioconst_pow10): Change array size to
167 FPIOCONST_POW10_ARRAY_SIZE.
168 * stdlib/gen-fpioconst.c: New file.
169 * stdlib/gen-tst-strtod-round.c: Likewise.
170 * stdlib/tst-strtod-round-data: Likewise.
171 * stdlib/tst-strtod-round.c: Likewise.
172 * stdlib/Makefile (tests): Add tst-strtod-round.
173
d6e70f43
JM
174 [BZ #14459]
175 * stdlib/strtod_l.c: Include <stdint.h>.
176 (NDEBUG): Do not define.
177 (round_and_return): Change EXPONENT parameter to type intmax_t.
178 Rearrange calculations to avoid internal overflow possibilities.
179 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
180 Rearrange calculations to avoid internal overflow possibilities.
181 Assert that number fits inside MPNSIZE limbs.
182 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
183 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
184 calculations and add assertions to avoid internal overflow
185 possibilities. Add casts to avoid signed/unsigned operations.
186 * stdlib/tst-strtod-overflow.c: New file.
187 * stdlib/Makefile (tests): Add tst-strtod-overflow.
188
1f529f7d
MP
1892012-08-25 Marek Polacek <polacek@redhat.com>
190
191 * time/time.h: Fix some typos in comments.
192
59a629f1
RM
1932012-08-23 Roland McGrath <roland@hack.frob.com>
194
195 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
196 * posix/tst-rfc3484-2.c: Likewise.
197 * posix/tst-rfc3484-3.c: Likewise.
198
d3bafbc9
SM
1992012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
200
201 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
202 (EF_ARM_ABI_FLOAT_HARD): Likewise.
203
4efcc022
JM
2042012-08-23 Joseph Myers <joseph@codesourcery.com>
205
206 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
207 #include of fxstatat64.c.
208
3cc3ef96
RM
2092012-08-22 Roland McGrath <roland@hack.frob.com>
210
f04e2132
RM
211 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
212 * shadow/getspent_r.c: Likewise.
213 * shadow/getspnam.c: Likewise.
214 * shadow/getspnam_r.c: Likewise.
215 * gshadow/getsgent.c: Likewise.
216 * gshadow/getsgent_r.c: Likewise.
217 * gshadow/getsgnam.c: Likewise.
218 * gshadow/getsgnam_r.c: Likewise.
219 * inet/getnetbyad.c: Likewise.
220 * inet/getnetbyad_r.c: Likewise.
221 * inet/getnetbynm.c: Likewise.
222 * inet/getnetbynm_r.c: Likewise.
223 * inet/getnetent.c: Likewise.
224 * inet/getnetent_r.c: Likewise.
225 * inet/getproto.c: Likewise.
226 * inet/getproto_r.c: Likewise.
227 * inet/getprtent.c: Likewise.
228 * inet/getprtent_r.c: Likewise.
229 * inet/getprtname.c: Likewise.
230 * inet/getprtname_r.c: Likewise.
231 * inet/getrpcbyname.c: Likewise.
232 * inet/getrpcbyname_r.c: Likewise.
233 * inet/getrpcbynumber.c: Likewise.
234 * inet/getrpcbynumber_r.c: Likewise.
235 * inet/getrpcent.c: Likewise.
236 * inet/getrpcent_r.c: Likewise.
237 * inet/getaliasent.c: Likewise.
238 * inet/getaliasent_r.c: Likewise.
239 * inet/getaliasname.c: Likewise.
240 * inet/getaliasname_r.c: Likewise.
241 * nscd/getgrgid_r.c: Likewise.
242 * nscd/getgrnam_r.c: Likewise.
243 * nscd/gethstbyad_r.c: Likewise.
244 * nscd/gethstbynm3_r.c: Likewise.
245 * nscd/getpwnam_r.c: Likewise.
246 * nscd/getpwuid_r.c: Likewise.
247 * nscd/getsrvbynm_r.c: Likewise.
248 * nscd/getsrvbypt_r.c: Likewise.
249 * nscd/gai.c: Likewise.
250
c53d909c
RM
251 * configure.in (build_nscd): New substituted variable, set
252 by --disable-build-nscd and defaults to $use_nscd.
253 * configure: Regenerated.
254 * config.make.in (build-nscd): New substituted variable.
255 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
256 Change conditional to require [$(build-nscd) = yes] as well.
257 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
258
3cc3ef96
RM
259 [BZ# 13696]
260 * configure.in (use_nscd): New substituted variable, set by
261 --disable-nscd. If enabled, define USE_NSCD.
262 * configure: Regenerated.
263 * config.h.in: Add USE_NSCD.
264 * config.make.in (use-nscd): New substituted variable.
265 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
266 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
267 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
268 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
269 (CFLAGS-getgrnam_r.c): Likewise.
270 (CFLAGS-initgroups.c): Likewise.
271 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
272 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
273 Variables removed.
274 * inet/getnetgrent_r.c
275 (nscd_setnetgrent): New function, broken out of ...
276 (setnetgrent): ... here. Call it.
277 (innetgr): Conditionalize nscd bits on [USE_NSCD].
278 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
279 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
280 * nscd/Makefile (routines, aux): Move definitions after include of
281 Makeconfig. Conditionalize on [$(use-nscd) != no].
282 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
283 Conditionalize on [USE_NSCD].
284 (is_nscd, nscd_init_cb): Likewise.
285 (nss_load_library): Conditionalize init callback on [USE_NSCD].
286 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
287 * nss/nss_db/db-init.c: Likewise.
288 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
289 [USE_NSCD].
290 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
291 (make_request): Use it.
292 (cache_valid_p): New function.
293 (__check_pf): Use it.
294 * NEWS: Add item for --disable-nscd.
295
07e51550
DL
2962012-08-22 Dmitry V. Levin <ldv@altlinux.org>
297
298 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
299 to support sed >= 4.2.1-20-ga9bf076.
300 * configure: Regenerated.
301
35a5b08b
RM
3022012-08-22 Roland McGrath <roland@hack.frob.com>
303
304 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
305 Conditionalize whole body on [IREL].
306
8479f23a
JL
3072012-08-22 Jeff Law <law@redhat.com>
308
309 [BZ #14505]
310 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
311 if the family is PF_UNSPEC.
312
48da0b21
MF
3132012-08-22 Mike Frysinger <vapier@gentoo.org>
314
315 * Makerules (lib-version): Rename from V.
316 (install-lib-nosubdir): Change V to lib-version.
317
15d0da8c
WS
3182012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
319
320 [BZ #14252]
321 * powerpc32/power6/wcschr.c: New file.
322 * powerpc32/power6/wcscpy.c: New file.
323 * powerpc32/power6/wcsrchr.c: New file.
324 * powerpc64/power6/wcschr.c: New file.
325 * powerpc64/power6/wcscpy.c: New file.
326 * powerpc64/power6/wcsrchr.c: New file.
327
bcca0895
MK
3282012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
329
330 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
331 (two_way_short_needle): Use it.
5a4aaa33
RM
332 * string/strstr.c (AVAILABLE1_USES_J): Define.
333 * string/strcasestr.c: Likewise.
99677e57
MK
334
335 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
336 array references.
337 * string/strcasestr.c (TOLOWER): Make side-effect safe.
338
400726de
MK
339 [BZ #11607]
340 * NEWS: Add an entry.
341 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
342 define their defaults.
343 (two_way_short_needle): Detect end-of-string on-the-fly.
344 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
345 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
346 * string/bug-strcasestr1.c: New test.
347 * string/Makefile: Run it.
348
20a71f2c
MK
3492012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
350
351 [BZ #11607]
352 * string/str-two-way.h (two_way_short_needle): Optimize matching of
353 the first character.
354
21ad0558
RM
3552012-08-21 Roland McGrath <roland@hack.frob.com>
356
357 * csu/elf-init.c (__libc_csu_irel): Function removed.
358 * csu/libc-start.c (apply_irel): New function.
359 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
360
0e1d9911
JM
3612012-08-21 Joseph Myers <joseph@codesourcery.com>
362
363 * sysdeps/unix/sysv/linux/kernel-features.h
364 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
365 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
366 <kernel-features.h>.
367 [__NR_fadvise64_64]: Make code unconditional.
368 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
369 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
370 !__NR_fadvise64_64)]: Likewise.
371 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
372 !__NR_fadvise64_64))]: Likewise.
373 [__NR_fadvise64]: Make code unconditional.
374 [!__NR_fadvise64]: Remove conditional code.
375 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
376 <kernel-features.h>.
377 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
378 unconditional.
379 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
380 conditional code.
381 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
382 not include <kernel-features.h>.
383 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
384 unconditional.
385 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
386 conditional code.
387 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
388 include <kernel-features.h>.
389 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
390 unconditional.
391 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
392 conditional code.
393
14a50c9d
WS
3942012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
395
396 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
397 slight instruction rearrangements per scrollpipe analysis.
398 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
399
c0f4faf0
RM
4002012-08-20 Roland McGrath <roland@hack.frob.com>
401
696da859
RM
402 * manual/syslog.texi (syslog; vsyslog, closelog):
403 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
404 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
405
c0f4faf0
RM
406 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
407 DSOCAPS to match condition on defining it.
408
348363b2
JM
4092012-08-20 Joseph Myers <joseph@codesourcery.com>
410
a35cbf28
JM
411 * sysdeps/unix/sysv/linux/kernel-features.h
412 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
413 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
414 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
415 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
416 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
417 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
418 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
419 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
420 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
421 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
422
445f7ecd
JM
423 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
424 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
425
348363b2
JM
426 * sysdeps/unix/sysv/linux/kernel-features.h
427 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
428 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
429 unconditional.
430 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
431 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
432 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
433 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
434 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
435 Make code unconditional.
436 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
437 (__mmap64) [!__NR_mmap2]: Likewise.
438 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
439 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
440 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
441 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
442 [__NR_mmap2]: Make code unconditional.
443 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
444 (__mmap64) [!__NR_mmap2]: Likewise.
445
bc5bc0e5
AK
4462012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
447
448 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
449
88d506de
AJ
4502012-08-18 Andreas Jaeger <aj@suse.de>
451
452 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
453
493387d2
MF
4542012-08-18 Mike Frysinger <vapier@gentoo.org>
455
456 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
457 * include/unistd.h (__have_sock_cloexec): Likewise.
458 (__have_pipe2): Likewise.
459 (__have_dup3): Likewise.
460
a277af22
MF
4612012-08-18 Mike Frysinger <vapier@gentoo.org>
462
463 [BZ #9685]
464 * include/unistd.h (__have_pipe2): Change define into an extern int.
465 (__have_dup3): Likewise.
466 * socket/have_sock_cloexec.c: Include fcntl.h.
467 (__have_pipe2): New variable.
468 (__have_dup3): Likewise.
469
fdab8fd3
MF
4702012-08-17 Mike Frysinger <vapier@gentoo.org>
471
472 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
473
31035e80
MP
4742012-08-17 Marek Polacek <polacek@redhat.com>
475
476 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
477 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
478
3bd9e993
RM
4792012-08-17 Roland McGrath <roland@hack.frob.com>
480
c91c505f
RM
481 * configure.in: Add AC_SUBST for sysheaders.
482 * configure: Regenerated.
483 * config.make.in (sysheaders): New substituted variable.
484
7c6f9d53
RM
485 * sysdeps/unix/mkfifo.c: Moved ...
486 * sysdeps/posix/mkfifo.c: ... here.
487 * sysdeps/unix/mkfifoat.c: Moved ...
488 * sysdeps/posix/mkfifoat.c: ... here.
489
490 * sysdeps/unix/utime.c: Moved ...
491 * sysdeps/posix/utime.c: ... here.
492
493 * sysdeps/unix/time.c: Moved ...
494 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
495 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
496 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
497
498 * sysdeps/unix/nice.c: Moved ...
499 * sysdeps/posix/nice.c: ... here.
500
501 * sysdeps/unix/alarm.c: Moved ...
502 * sysdeps/posix/alarm.c: ... here.
503
3bd9e993
RM
504 * intl/Makefile ($(codeset_mo)): Depend on the input file.
505
d1f09384
JL
5062012-08-17 Jeff Law <law@redhat.com>
507
508 * intl/Makefile (codeset_mo): New variable.
509 ($(codeset_mo)): New target.
510 (tst-codeset.out): Depend on that. Remove explicit rule.
511 (tst-gettext3.out, tst-gettext5.out): Likewise.
512 (LOCPATH-ENV, tst-codeset-ENV): New variables.
513 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
514 * intl/tst-codeset.sh: Remove.
515 * intl/tst-gettext3.sh: Likewise.
516 * intl/tst-gettext5.sh: Likewise.
517
2ae1ae5c
RM
5182012-08-17 Roland McGrath <roland@hack.frob.com>
519
c31fdb83
RM
520 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
521 * sysdeps/unix/syscalls.list: ... here.
522
a0844057
RM
523 * sysdeps/posix/getaddrinfo.c
524 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
525 (gaiconf_init, gaiconf_reload): Use them.
526 [!_STATBUF_ST_NSEC]
527 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
528 Define using time_t rather than struct timespec.
529
750c1f2a
RM
530 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
531 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
532 Macros removed.
533 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
534 [!NO_THREADS].
535 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
536 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
537 Likewise.
538
2ae1ae5c
RM
539 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
540 __libc_cleanup_push argument.
541
e66a42f5
RM
542 * bits/param.h: New file.
543 * misc/sys/param.h: New file.
544 * include/sys/param.h: New file.
545 * misc/Makefile (headers): Add bits/param.h.
546 * sysdeps/generic/sys/param.h: File removed.
547 * sysdeps/unix/sysv/linux/bits/param.h: New file.
548 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
549 * sysdeps/mach/hurd/bits/param.h: New file.
550 * sysdeps/mach/hurd/sys/param.h: New file.
551
b7c08a66
RM
552 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
553 last change.
554
b2e1c562
RM
555 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
556 [_IO_MTSAFE_IO].
557 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
558 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
559 New macros.
560
c75ccd4c
RM
561 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
562 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
563 rather than -D_IO_MTSAFE_IO conditionally.
564 * stdio-common/Makefile (CPPFLAGS): Likewise.
565 * wcsmbs/Makefile (CPPFLAGS): Likewise.
566 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
567 Use $(libio-mtsafe).
568 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
569 of -D_IO_MTSAFE_IO.
570 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
571 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
572 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
573 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
574 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
575 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
576 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
577 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
578 (CFLAGS-fread_u_chk.c): Likewise.
579 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
580 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
581 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
582 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
583 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
584 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
585 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
586 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
587 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
588
589 * libio/Makefile: Test [$(libc-reentrant) = yes]
590 instead of [$(filter %REENTRANT, $(defines)) nonempty].
591
592 * Makeconfig
593 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
594 * sysdeps/pthread/configure: File removed.
595 * sysdeps/pthread/Makeconfig: New file.
596 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
597 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
598
d9195db8
GB
5992012-08-16 Gary Benson <gbenson@redhat.com>
600
601 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
602 unmapping the first object in a namespace.
603
86466cd9
RM
6042012-08-16 Roland McGrath <roland@hack.frob.com>
605
606 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
607 (__internal_setnetgrent): ... this. Add internal_function to
608 definition. Add libc_hidden_def.
609 (setnetgrent): Update caller.
610 (internal_endnetgrent): Renamed to ...
611 (__internal_endnetgrent): ... this. Add internal_function to
612 definition. Add libc_hidden_def.
613 (endnetgrent): Update caller.
614 (internal_getnetgrent_r): Renamed to ...
615 (__internal_getnetgrent_r): ... this. Add internal_function to
616 definition. Add libc_hidden_def.
617 (__getnetgrent_r): Update caller.
618 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
619
c3c8283c
JM
6202012-08-16 Joseph Myers <joseph@codesourcery.com>
621
622 * stdlib/longlong.h: Update from GCC.
623
db1ee0a8
RM
6242012-08-16 Roland McGrath <roland@hack.frob.com>
625
626 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
627 on _QL, which is set by umul_ppmm but never used.
628 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
629 variables, which are set by GMP macros but never used.
630 * stdio-common/_itowa.c (_itowa): Likewise.
631 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
632 * stdlib/mod_1.c (mpn_mod_1): Likewise.
633
30f69637
CD
6342012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
635
636 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
637 struct La_sh_regs is not constant.
638 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
639 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
640 and struct La_sparc64_regs are not constant.
641
93a78ac4
JM
6422012-08-16 Joseph Myers <joseph@codesourcery.com>
643
644 * sysdeps/unix/sysv/linux/kernel-features.h
645 (__ASSUME_POSIX_TIMERS): Remove.
646 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
647 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
648 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
649 Make code unconditional.
650 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
651 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
652 Make code unconditional.
653 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
654 * sysdeps/unix/sysv/linux/clock_nanosleep.c
655 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
656 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
657 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
658 Make code unconditional.
659 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
660 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
661 (__libc_missing_posix_timers): Remove.
662
dd924cd7
RM
6632012-08-15 Roland McGrath <roland@hack.frob.com>
664
4b4f2771
RM
665 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
666 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
667
601c888b
RM
668 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
669
176790a7
RM
670 * elf/dl-sym.c: Include <stdlib.h>.
671
329bc018
RM
672 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
673 constants, which avoids warnings in 32-bit builds.
674
e04e272d
RM
675 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
676 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
677
952bf94a
RM
678 * misc/lseek.c: File moved to ...
679 * io/lseek.c: ... here.
680
7c99b50a
RM
681 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
682
dd924cd7
RM
683 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
684 shifting LEN more than 31 bits at once.
685
b3f479a8
LD
6862012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
687
688 [BZ #14195]
8c4ae0d4
RM
689 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
690 segmentation fault for a case of two empty input strings.
b3f479a8
LD
691 * string/test-strncasecmp.c (check1): Renamed to...
692 (bz12205): ...this.
693 (bz14195): Add new testcase for two empty input strings and N > 0.
694 (test_main): Call new testcase, adapt for renamed function.
695
9c55864e
AJ
6962012-08-15 Andreas Jaeger <aj@suse.de>
697
698 [BZ #14090]
699 * crypt/md5test2.c: New test, based on test supplied by Serge
700 Belyshev <belyshev@depni.sinp.msu.ru>.
701 * crypt/Makefile (xtests): Add md5test-giant..
702 * crypt/Makefile ($(objpfx)md5test-giant): Add.
703
02dcb6c5
PE
7042012-08-15 Paul Eggert <eggert@cs.ucla.edu>
705
706 [BZ #14090]
707 * crypt/md5.c (md5_process_block): Don't assume the buffer
708 length is less than 2**32.
709 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
710 length is less than 2**64.
711
a3f95dcc
RM
7122012-08-15 Roland McGrath <roland@hack.frob.com>
713
be75d758
RM
714 * string/str-two-way.h: Include <sys/param.h>.
715 (MAX): Macro removed.
716
7312ca90
RM
717 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
718 Move #define and #undef of memmove to just before and after
719 including <string.h>.
720
9a0a5486
RM
721 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
722 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
723 and after including <string.h>. Move declarations of
724 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
725 to before #include "string/memmove.c".
726
67cc348d
RM
727 * include/dirent.h: Declare __getdirentries.
728
a3f95dcc
RM
729 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
730 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
731
ca98e171
MF
7322012-08-14 Mike Frysinger <vapier@gentoo.org>
733
734 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
735 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
736 * sysdeps/i386/configure: Regenerated.
737 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
738 STABS_CURRENT_FILE, and STABS_FUN.
739 (END): Remove call to STABS_FUN_END.
740 (STABS_CURRENT_FILE1): Delete.
741 (STABS_CURRENT_FILE): Likewise.
742 (STABS_FUN): Likewise.
743 (STABS_FUN_END): Likewise.
744 (STABS_FUN2): Likewise.
745 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
746 * sysdeps/x86_64/configure: Regenerated.
747
5908bf46
RM
7482012-08-14 Roland McGrath <roland@hack.frob.com>
749
750 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 751 * elf/dl-lookup.c: Likewise.
5908bf46 752
f2c05b9e
JM
7532012-08-14 Joseph Myers <joseph@codesourcery.com>
754
755 * sysdeps/unix/sysv/linux/kernel-features.h
756 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
757 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
758 unconditionally.
759 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
760 unconditionally.
761 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
762 condition on __ASSUME_CLONE_THREAD_FLAGS.
763
e11f5155
AJ
7642012-08-14 Andreas Jaeger <aj@suse.de>
765
766 * sysdeps/i386/fpu/libm-test-ulps: Update.
767
51a9ba86
MK
7682012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
769
2fdd4f78
AJ
770 * include/atomic.h (atomic_exchange_and_add): Split into ...
771 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
772 New atomic macros.
51a9ba86 773
ba6cba9e
MT
7742012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
775
776 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
777
42443a47
JL
7782012-08-13 Jeff Law <law@redhat.com>
779
780 * manual/stdio.texi (snprintf): Clarify handling of the trailing
781 null byte in the output string.
782
121dce05
JM
7832012-08-10 Joseph Myers <joseph@codesourcery.com>
784
785 * sysdeps/unix/sysv/linux/kernel-features.h
786 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
787 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
788 (__ASSUME_ARG_MAX_STACK_BASED): Define.
789 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
790 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
791 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
792 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
793
bf51f568
JL
7942012-08-09 Jeff Law <law@redhat.com>
795
796 [BZ #13939]
797 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
798 When avoid_arena is set, don't retry in the that arena. Pick the
799 next one, whatever it might be.
800 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
801 (arena_lock): Pass in new parameter to arena_get2.
802 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
803 arena_get2.
804 (__libc_malloc): Unify retrying after main arena failure with
805 __libc_memalign version.
806 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
807
f85fa270
L
8082012-08-09 H.J. Lu <hongjiu.lu@intel.com>
809
810 [BZ #14166]
811 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
812 to __redirect_strstr.
813 (__strstr_sse42): Use typeof __redirect_strstr.
814 (__strstr_ia32): Likewise.
815 (__libc_strstr): New prototype.
816 (strstr): Renamed to ...
817 (__libc_strstr): This.
818 (strstr): New strong alias of __libc_strstr.
819 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
820 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
821 __redirect_time.
822 Include <time.h>.
823 (__libc_time): New prototype.
824 (time_ifunc): Replace time with __libc_time.
825 (time): New strong alias and hidden definition of __libc_time.
826 (__GI_time): Remove strong alias.
827 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
828 Include <stddef.h>.
829 (memmove): Redefined to __redirect_memmove.
830 (__memmove_sse2): Use typeof __redirect_memmove.
831 (__memmove_ssse3): Likewise.
832 (__memmove_ssse3_back): Likewise.
833 (__libc_memmove): New prototype.
834 (memmove): Renamed to ...
835 (__libc_memmove): This.
836 (memmove): New strong alias of __libc_memmove.
837
33b4a91e
MS
8382012-08-08 Mark Salter <msalter@redhat.com>
839
840 * elf/elf.h
841 (R_MN10300_TLS_GD): Define.
842 (R_MN10300_TLS_LD): Likewise.
843 (R_MN10300_TLS_LDO): Likewise.
844 (R_MN10300_TLS_GOTIE): Likewise.
845 (R_MN10300_TLS_IE): Likewise.
846 (R_MN10300_TLS_LE): Likewise.
847 (R_MN10300_TLS_DTPMOD): Likewise.
848 (R_MN10300_TLS_DTPOFF): Likewise.
849 (R_MN10300_TLS_TPOFF): Likewise.
850 (R_MN10300_SYM_DIFF): Likewise.
851 (R_MN10300_ALIGN): Likewise.
852 (R_MN10300_NUM): Update.
853
b36137f1
JM
8542012-08-08 Joseph Myers <joseph@codesourcery.com>
855
856 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
857 Remove.
858
cdd915fd
RM
8592012-08-08 Roland McGrath <roland@hack.frob.com>
860
a2433aac
RM
861 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
862
cdd915fd
RM
863 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
864 sysdeps/unix -> sysdeps/posix move.
865 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
866
bf9b740a
AM
8672012-08-07 Allan McRae <allan@archlinux.org>
868
869 [BZ #14303]
870 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
871 (SUNOS_CPP): Likewise.
872 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
873 not found.
874 (open_input): Call CPP using execvp.
875
93df14ee
JM
8762012-08-07 Joseph Myers <joseph@codesourcery.com>
877
878 * sysdeps/unix/sysv/linux/kernel-features.h
879 (__ASSUME_PROT_GROWSUPDOWN): Remove.
880 (__ASSUME_NO_CLONE_DETACHED): Likewise.
881 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
882 (__ASSUME_WAITID_SYSCALL): Likewise.
883 * sysdeps/unix/sysv/linux/dl-execstack.c
884 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
885 code unconditional.
886 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
887 conditional code.
888 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
889 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
890 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
891 code.
892 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
893 unconditional.
894 [__ASSUME_WAITID_SYSCALL]: Likewise.
895 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
896
d34689de
RM
8972012-08-07 Roland McGrath <roland@hack.frob.com>
898
a281decc
RM
899 * sysdeps/unix/closedir.c: Renamed to ...
900 * sysdeps/posix/closedir.c: ... here.
901 * sysdeps/unix/dirfd.c: Renamed to ...
902 * sysdeps/posix/dirfd.c: ... here.
903 * sysdeps/unix/dirstream.h: Renamed to ...
904 * sysdeps/posix/dirstream.h: ... here.
905 * sysdeps/unix/fdopendir.c: Renamed to ...
906 * sysdeps/posix/fdopendir.c: ... here.
907 * sysdeps/unix/opendir.c: Renamed to ...
908 * sysdeps/posix/opendir.c: ... here.
909 * sysdeps/unix/readdir.c: Renamed to ...
910 * sysdeps/posix/readdir.c: ... here.
911 * sysdeps/unix/readdir_r.c: Renamed to ...
912 * sysdeps/posix/readdir_r.c: ... here.
913 * sysdeps/unix/rewinddir.c: Renamed to ...
914 * sysdeps/posix/rewinddir.c: ... here.
915 * sysdeps/unix/seekdir.c: Renamed to ...
916 * sysdeps/posix/seekdir.c: ... here.
917 * sysdeps/unix/telldir.c: Renamed to ...
918 * sysdeps/posix/telldir.c: ... here.
919 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
920 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
921 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
922 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
923
22895b47
RM
924 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
925 * bits/fcntl.h: ... here.
926
707a53b6
RM
927 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
928 not 0.
929 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
930 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
931 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
932 (struct flock): Move l_start, l_len to the beginning.
933 Use __pid_t for l_pid.
934 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
935 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
936 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
937 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
938 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
939 [__USE_LARGEFILE64] (struct flock64): New type.
940 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
941
f0bd3e25
RM
942 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
943 * bits/dirent.h: ... here.
944
d34689de
RM
945 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
946 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
947
6dad2c06
JM
9482012-08-07 Joseph Myers <joseph@codesourcery.com>
949
950 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
951 Change from 2.6.0 to 2.6.16.
952 * sysdeps/unix/sysv/linux/configure: Regenerated.
953 * sysdeps/unix/sysv/linux/kernel-features.h
954 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
955 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
956 version.
957 (__ASSUME_UTIMES): Likewise.
958 (__ASSUME_CLONE_STOPPED): Remove.
959 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
960 architectures, not kernel version.
961 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
962 (__ASSUME_NO_CLONE_DETACHED): Likewise.
963 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
964 (__ASSUME_WAITID_SYSCALL): Likewise.
965 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
966 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
967 * README: State 2.6.16 as minimum Linux kernel version. Do not
968 refer to older versions.
969
03af9520
RM
9702012-08-06 Roland McGrath <roland@hack.frob.com>
971
8e49df1d
RM
972 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
973 Define alphasort64 as an alias.
974 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
975 Define versionsort64 as an alias.
976 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
977 Define scandir64 as an alias.
978 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
979 Define scandirat64 as an alias.
980 * dirent/alphasort64.c (alphasort64):
981 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
982 * dirent/versionsort64.c: Likewise.
983 * dirent/scandir64.c: Likewise.
984 * dirent/scandirat64.c: Likewise.
985 * sysdeps/wordsize-64/alphasort.c: File removed.
986 * sysdeps/wordsize-64/alphasort64.c: File removed.
987 * sysdeps/wordsize-64/scandir.c: File removed.
988 * sysdeps/wordsize-64/scandir64.c: File removed.
989 * sysdeps/wordsize-64/scandirat.c: File removed.
990 * sysdeps/wordsize-64/scandirat64.c: File removed.
991 * sysdeps/wordsize-64/versionsort.c: File removed.
992 * sysdeps/wordsize-64/versionsort64.c: File removed.
993 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
994 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
995 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
996 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
997 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
998 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
999 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
1000 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
1001
1002 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
1003 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
1004 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
1005 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1006 [defined __arch64__ || defined __sparcv9]
1007 (__INO_T_MATCHES_INO64_T): New macro.
1008 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
1009 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
1010 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
1011 * sysdeps/unix/sysv/linux/bits/dirent.h
1012 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
1013 (_DIRENT_MATCHES_DIRENT64): New macro.
1014
03af9520
RM
1015 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
1016 Define lockf64 as an alias.
1017 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
1018 Define fseeko64 as an alias.
1019 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
1020 Define ftello64 as an alias.
1021 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
1022 Define _IO_fgetpos64 and fgetpos64 as aliases.
1023 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
1024 Define _IO_fsetpos64 and fsetpos64 as aliases.
1025 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
1026 Conditionalize body on this.
1027 * libio/fseeko64.c: Likewise.
1028 * libio/ftello64.c: Likewise.
1029 * libio/iofgetpos64.c: Likewise.
1030 * libio/iofsetpos64.c: Likewise.
1031 * sysdeps/wordsize-64/lockf.c: File removed.
1032 * sysdeps/wordsize-64/lockf64.c: File removed.
1033 * sysdeps/wordsize-64/fseeko.c: File removed.
1034 * sysdeps/wordsize-64/fseeko64.c: File removed.
1035 * sysdeps/wordsize-64/ftello.c: File removed.
1036 * sysdeps/wordsize-64/ftello64.c: File removed.
1037 * sysdeps/wordsize-64/iofgetpos.c: File removed.
1038 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
1039 * sysdeps/wordsize-64/iofsetpos.c: File removed.
1040 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
1041 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
1042 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
1043 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
1044 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
1045 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
1046 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
1047 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
1048 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
1049 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
1050 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
1051
1052 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
1053 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
1054 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
1055 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1056 [defined __arch64__ || defined __sparcv9]
1057 (__OFF_T_MATCHES_OFF64_T): New macro.
1058 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
1059 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
1060 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1061 (__OFF_T_MATCHES_OFF64_T): New macro.
1062
c5757acd
L
10632012-08-06 H.J. Lu <hongjiu.lu@intel.com>
1064
1065 * stdlib/secure-getenv.c (__secure_getenv): Replace
1066 GLIBC_2_16 with GLIBC_2_17.
1067
3a31811e
L
10682012-08-06 H.J. Lu <hongjiu.lu@intel.com>
1069
1070 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
1071 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
1072
faa2bccb
DM
10732012-08-03 David S. Miller <davem@davemloft.net>
1074
1075 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1076
85fe1997
JM
10772012-08-03 Joseph Myers <joseph@codesourcery.com>
1078
1079 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
1080 Remove.
1081 (__ASSUME_CORRECT_SI_PID): Likewise.
1082 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
1083 (__ASSUME_TMPFS_NAME): Likewise.
1084 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
1085 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
1086 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
1087 (HAVE_AUX_SECURE): Make definition unconditional.
1088 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
1089 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
1090
4f75b7a0
RM
10912012-08-03 Roland McGrath <roland@hack.frob.com>
1092
1093 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
1094 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
1095 * sysdeps/mach/hurd/eloop-threshold.h: New file.
1096 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
1097 __eloop_threshold instead of SYMLOOP_MAX.
1098
1099 * sysdeps/generic/eloop-threshold.h: New file.
1100 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
1101 of MAXSYMLINKS.
1102 * elf/chroot_canon.c (chroot_canon): Likewise.
1103
7aab07e4
JM
11042012-08-03 Joseph Myers <joseph@codesourcery.com>
1105
1106 [BZ #13717]
1107 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1108 Change to 2.6.0 everywhere.
1109 * sysdeps/unix/sysv/linux/configure: Regenerated.
1110 * sysdeps/unix/sysv/linux/kernel-features.h
1111 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
1112 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
1113 kernel versions.
1114 (__ASSUME_POSIX_TIMERS): Define unconditionally.
1115 (__ASSUME_FUTEX_REQUEUE): Remove.
1116 (__ASSUME_STATFS64): Define unconditionally.
1117 (__ASSUME_AT_SECURE): Likewise.
1118 (__ASSUME_CORRECT_SI_PID): Likewise.
1119 (__ASSUME_TGKILL): Define without depending on kernel version for
1120 i386.
1121 (__ASSUME_UTIMES): Likewise.
1122 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
1123 kernel version.
1124 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
1125 (__ASSUME_TMPFS_NAME): Likewise.
1126 * README: Update reference to Linux kernel versions.
1127
b67e9372
MP
11282012-08-02 Marek Polacek <polacek@redhat.com>
1129
1f529f7d 1130 [BZ# 14150]
b67e9372
MP
1131 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
1132 libc_cv_asm_type_prefix with %.
1133 * configure: Regenerated.
d2441631
RM
1134 * include/libc-symbols.h: Remove comment about
1135 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
1136 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
1137 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
1138 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
1139 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
1140 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
1141 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
1142 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
1143 * elf/tst-unique2mod1.c: Likewise.
1144 * elf/tst-unique1mod2.c: Likewise.
1145 * elf/tst-unique1mod1.c: Likewise.
1146 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
1147 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
1148 Replace ASM_TYPE_DIRECTIVE with .type.
1149 * sysdeps/s390/s390-64/sysdep.h: Likewise.
1150 * sysdeps/i386/sysdep.h: Likewise.
1151 * sysdeps/x86_64/sysdep.h: Likewise.
1152 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
1153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
1154 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 1155 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
1156 * sysdeps/powerpc/powerpc32/sysdep.h:
1157 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
1158 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
1159 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
1160 * sysdeps/i386/fpu/e_powf.S: Likewise.
1161 * sysdeps/i386/fpu/e_expl.S: Likewise.
1162 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
1163 * sysdeps/i386/fpu/e_acosh.S: Likewise.
1164 * sysdeps/i386/fpu/e_pow.S: Likewise.
1165 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
1166 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
1167 * sysdeps/i386/fpu/s_expm1.S: Likewise.
1168 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
1169 * sysdeps/i386/fpu/e_log2.S: Likewise.
1170 * sysdeps/i386/fpu/e_log2l.S: Likewise.
1171 * sysdeps/i386/fpu/e_scalb.S: Likewise.
1172 * sysdeps/i386/fpu/e_powl.S: Likewise.
1173 * sysdeps/i386/fpu/e_log10f.S: Likewise.
1174 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
1175 * sysdeps/i386/fpu/e_logl.S: Likewise.
1176 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
1177 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
1178 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
1179 * sysdeps/i386/fpu/e_log2f.S: Likewise.
1180 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
1181 * sysdeps/i386/fpu/e_log.S: Likewise.
1182 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
1183 * sysdeps/i386/fpu/e_logf.S: Likewise.
1184 * sysdeps/i386/fpu/e_log10l.S: Likewise.
1185 * sysdeps/i386/fpu/e_atanh.S: Likewise.
1186 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
1187 * sysdeps/i386/fpu/e_log10.S: Likewise.
1188 * sysdeps/i386/fpu/s_frexp.S: Likewise.
1189 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
1190 * sysdeps/i386/fpu/s_asinh.S: Likewise.
1191 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
1192 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
1193 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
1194 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
1195 * sysdeps/i386/i686/strtok.S: Likewise.
1196 * sysdeps/i386/i386-mcount.S: Likewise.
1197 * sysdeps/i386/strtok.S: Likewise.
1198 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
1199 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
1200 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
1201 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
1202 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
1203 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
1204 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
1205 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
1206 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
1207 * sysdeps/x86_64/_mcount.S: Likewise.
1208 * sysdeps/x86_64/strtok.S: Likewise.
1209 * sysdeps/sh/_mcount.S: Likewise.
1210
2747bf9a
RM
12112012-08-01 Roland McGrath <roland@hack.frob.com>
1212
1213 * libio/iofopen.c: Include <fcntl.h>.
1214 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
1215 (_IO_fopen64, fopen64): Define as aliases.
1216 * libio/iofopen64.c: Include <fcntl.h>.
1217 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
1218 Conditionalize body on this.
1219 * sysdeps/wordsize-64/iofopen.c: File removed.
1220 * sysdeps/wordsize-64/iofopen64.c: File removed.
1221
3fb791b8
MP
12222012-08-01 Marek Polacek <polacek@redhat.com>
1223
1224 * libc/Makeconfig: Use elf in place of binfmt-subdir.
1225 Use dlfcn directly instead of a variable.
1226 (binfmt-subdir): Do not define.
1227 (dlfcn): Likewise.
1228
a9f1039f
JM
12292012-08-01 Joseph Myers <joseph@codesourcery.com>
1230
23bddc06
JM
1231 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
1232 Remove all definitions.
1233 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
1234 <kernel-features.h>.
1235 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
1236 (miss_F_GETOWN_EX): Remove all definitions.
1237 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
1238 macro definition.
1239 [!__ASSUME_FCNTL64]: Remove conditional code.
1240 [__ASSUME_FCNTL64]: Make code unconditional.
1241 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
1242 <kernel-features.h>.
1243 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
1244 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
1245 (lockf64) [__NR_fcntl64]: Make code unconditional.
1246 (lockf64) [__ASSUME_FCNTL64]: Likewise.
1247
a9f1039f
JM
1248 * sysdeps/unix/sysv/linux/kernel-features.h
1249 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
1250 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
1251 Make code unconditional.
1252 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
1253 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
1254 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
1255 [__NR_vfork]: Make code unconditional.
1256 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
1257 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
1258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
1259 [__NR_vfork]: Make code unconditional.
1260 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
1261 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
1262
09c0ee5f
RM
12632012-08-01 Roland McGrath <roland@hack.frob.com>
1264
48aec5b9
RM
1265 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
1266 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
1267
cd97c966
RM
1268 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1269 Define mkstemp64 as an alias.
3f55550c
RM
1270 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1271 Define mkstemps64 as an alias.
cd97c966
RM
1272 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1273 Define mkostemp64 as an alias.
b8625cfc
RM
1274 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1275 Define mkostemps64 as an alias.
cd97c966
RM
1276 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
1277 Conditionalize body on this.
1278 * misc/mkostemp64.c: Likewise.
b8625cfc 1279 * misc/mkostemps64.c: Likewise.
3f55550c 1280 * misc/mkstemps64.c: Likewise.
cd97c966
RM
1281 * sysdeps/wordsize-64/mkstemp64.c: File removed.
1282 * sysdeps/wordsize-64/mkostemp64.c: File removed.
1283 * sysdeps/wordsize-64/mkostemp.c: File removed.
1284 * sysdeps/wordsize-64/mkstemp.c: File removed.
1285 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
1286 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
1287 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
1288 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
1289
09c0ee5f
RM
1290 [BZ #14138]
1291 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
1292 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
1293 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
1294 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
1295
1296 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
1297 compat_symbol macros from <shlib-compat.h> rather than the underlying
1298 default_symbol_version and symbol_version macros, so that DEFAULT
1299 lines in shlib-versions are respected.
1300 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
1301
7e66ee51
FW
13022012-08-01 Florian Weimer <fweimer@redhat.com>
1303
1304 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
1305 Declare with warn_unused_result.
1306 (setgid, setregid, setegid, setresgid): Likewise.
1307 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
1308 Likewise.
1309 * WUR-REPORT: Remove set*id functions.
1310
d2a54255
PT
13112012-07-31 Pino Toscano <toscano.pino@tiscali.it>
1312
1313 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
1314
7ecdb005
RM
13152012-07-31 Roland McGrath <roland@hack.frob.com>
1316
789bd351
RM
1317 * include/sys/socket.h (__libc_accept, __libc_accept4):
1318 Add attribute_hidden.
1319 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
1320
40ce302d
RM
1321 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
1322 use of PTR_MANGLE.
1323 * inet/getnetgrent_r.c (setup): Likewise.
1324
7ecdb005
RM
1325 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
1326
e2eabb2c
DM
13272012-07-31 David S. Miller <davem@davemloft.net>
1328
1329 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1330
d0419dbf
JM
13312012-07-31 Joseph Myers <joseph@codesourcery.com>
1332
1333 [BZ #13629]
1334 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
1335 value between 1.0 and 2.0 and smaller part has absolute value less
1336 than 1.0.
1337 * math/s_clog10.c (__clog10): Likewise.
1338 * math/s_clog10f.c (__clog10f): Likewise.
1339 * math/s_clog10l.c (__clog10l): Likewise.
1340 * math/s_clogf.c (__clogf): Likewise.
1341 * math/s_clogl.c (__clogl): Likewise.
1342 * math/libm-test.inc (clog_test): Add more tests.
1343 (clog10_test): Likewise.
1344 * sysdeps/i386/fpu/libm-test-ulps: Update.
1345 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1346
2bc13872
FW
13472012-07-31 Florian Weimer <fweimer@redhat.com>
1348
1349 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
1350 Exit with zero in case no suitable GID is found, and write a
1351 message to standard error.
1352
bea9b193
RM
13532012-07-30 Roland McGrath <roland@hack.frob.com>
1354
1355 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
1356 rather than to 1.
1357 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
1358 (MAXPATHLEN): Removed.
1359 (NOGROUP, NODEV): New macros.
1360 (setbit, clrbit, isset, isclr): New macros.
1361 (howmany, roundup, powerof2): New macros.
1362 (DEV_BSIZE): New macro.
1363
1364 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
1365 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
1366
1367 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
1368 definition on [!__NO_LONG_DOUBLE_MATH].
1369
1370 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
1371 PTR_MANGLE and PTR_DEMANGLE.
1372
1373 * socket/accept4.c (accept4): Rename to __libc_accept4.
1374 Define accept4 as a weak alias.
1375
1376 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
1377 on [_DIRENT_HAVE_D_TYPE].
1378 * io/ftw.c (ftw_dir): Likewise.
1379
1380 * io/xmknod.c (__xmknod): Don't check PATH for being null.
1381
1382 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
1383
1384 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
1385 Use the BSD numbers rather than the arbitrary ones we had.
1386 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
1387 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
1388 (SIGXCPU, SIGXFSZ): New macros.
1389 (_NSIG): Now 32.
1390
1391 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
1392 initializer on [_LIBC_REENTRANT].
1393
1394 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
1395 definitions inside [_POSIX_MAPPED_FILES].
1396
1397 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
1398
1399 * dirent/opendir.c: Include <fcntl.h>.
1400
1401 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
1402 (__libc_getspecific): Likewise.
1403 (__libc_key_create): Likewise.
1404
1405 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
1406 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
1407 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
1408 (tmpfile64): Define as alias.
1409 * sysdeps/wordsize-64/tmpfile.c: File removed.
1410 * sysdeps/wordsize-64/tmpfile64.c: File removed.
1411 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
1412 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
1413
1414 * stdio-common/vfscanf.c: Include <stdbool.h>.
1415 * nss/makedb.c: Likewise.
1416 * stdio-common/_i18n_number.h: Likewise.
1417 * argp/argp-help.c: Likewise.
1418 * posix/wordexp.c: Likewise.
1419 * sysdeps/posix/spawni.c: Likewise.
1420 * nss/nss_files/files-initgroups.c: Likewise.
1421 * stdio-common/reg-modifier.c: Include <stdlib.h>.
1422 * nss/nss_files/files-initgroups.c: Likewise.
1423 * nss/nss_db/db-netgrp.c: Likewise.
1424 * nss/nss_db/db-initgroups.c: Likewise.
1425 * io/fchmodat.c: Include <sys/stat.h>.
1426
1427 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
1428 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
1429
1430 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
1431 [HAVE_MMAP].
1432
1433 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
1434 Add multiple inclusion protection.
1435
e5abc686
DM
14362012-07-27 David S. Miller <davem@davemloft.net>
1437
1438 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1439
815e6fa3
GB
14402012-07-27 Gary Benson <gbenson@redhat.com>
1441
1442 [BZ #14298]
1443 * elf/rtld.c: Include <stap-probe.h>.
1444 (dl_main): Added static probes "init_start" and "init_complete".
1445 * elf/dl-load.c: Include <stap-probe.h>.
1446 (lose): Take new parameter "nsid".
1447 Added static probe "map_failed".
1448 (_dl_map_object_from_fd): Pass namespace id to lose.
1449 Added static probe "map_start".
1450 (open_verify): Pass namespace id to lose.
1451 * elf/dl-open.c: Include <stap-probe.h>.
1452 (dl_open_worker) Added static probes "map_complete", "reloc_start"
1453 and "reloc_complete".
1454 * elf/dl-close.c: Include <stap-probe.h>.
1455 (_dl_close_worker): Added static probes "unmap_start" and
1456 "unmap_complete".
1457 * elf/rtld-debugger-interface.txt: New file documenting the above.
1458
9f98c16c
RM
14592012-07-26 Roland McGrath <roland@hack.frob.com>
1460
1461 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
1462 rather than a string variable.
1463 * sunrpc/rpc_main.c (h_output): Likewise.
1464 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
1465
f3c22df3
PT
14662012-07-26 Pino Toscano <toscano.pino@tiscali.it>
1467
1468 * inet/check_native.c: New file.
1469
3129cfc6
JM
14702012-07-26 Joseph Myers <joseph@codesourcery.com>
1471
da865e95
JM
1472 [BZ #13629]
1473 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
1474 if larger part has absolute value 1.0.
1475 * math/s_clog10.c (__clog10): Likewise.
1476 * math/s_clog10f.c (__clog10f): Likewise.
1477 * math/s_clog10l.c (__clog10l): Likewise.
1478 * math/s_clogf.c (__clogf): Likewise.
1479 * math/s_clogl.c (__clogl): Likewise.
1480 * math/libm-test.inc (clog_test): Add more tests.
1481 (clog10_test): Likewise.
1482 * sysdeps/i386/fpu/libm-test-ulps: Update.
1483 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1484
3129cfc6
JM
1485 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
1486 (pltexit): Likewise.
1487 (La_regs): Likewise.
1488 (La_retval): Likewise.
1489 (int_retval): Likewise.
1490 Update #error for removed macros to refer only to definitions in
1491 tst-audit.h.
1492 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
1493 macro.
1494 (pltexit): Likewise.
1495 (La_regs): Likewise.
1496 (La_retval): Likewise.
1497 (int_retval): Likewise.
1498 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
1499 macro.
1500 (pltexit): Likewise.
1501 (La_regs): Likewise.
1502 (La_retval): Likewise.
1503 (int_retval): Likewise.
1504 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
1505 macro.
1506 (pltexit): Likewise.
1507 (La_regs): Likewise.
1508 (La_retval): Likewise.
1509 (int_retval): Likewise.
1510 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
1511 macro.
1512 (pltexit): Likewise.
1513 (La_regs): Likewise.
1514 (La_retval): Likewise.
1515 (int_retval): Likewise.
1516 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
1517 macro.
1518 (pltexit): Likewise.
1519 (La_regs): Likewise.
1520 (La_retval): Likewise.
1521 (int_retval): Likewise.
1522 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
1523 macro.
1524 (pltexit): Likewise.
1525 (La_regs): Likewise.
1526 (La_retval): Likewise.
1527 (int_retval): Likewise.
1528 * sysdeps/generic/tst-audit.h: Update comment to refer only to
1529 macro definitions in tst-audit.h.
1530 * sysdeps/i386/tst-audit.h: New file.
1531 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
1532 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
1533 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
1534 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
1535 * sysdeps/sh/tst-audit.h: Likewise.
1536 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
1537 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
1538 * sysdeps/x86_64/tst-audit.h: Likewise.
1539
bfc07087
AJ
15402012-07-26 Andreas Jaeger <aj@suse.de>
1541
b1b2aaf8
AJ
1542 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
1543 ptrace.
1544
1545 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
1546 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
1547 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
1548 PTRACE_O_MASK.
1549 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
1550 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
1551 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
1552
bfc07087
AJ
1553 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
1554 value.
1555
1556 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
1557 _sigsys.
1558 (si_call_addr, si_syscall, si_arch): Define new macro.
1559 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
1560 _sigsys.
1561 (si_call_addr, si_syscall, si_arch): Define new marcro.
1562 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
1563 _sigsys.
1564 (si_call_addr, si_syscall, si_arch): Define new macro.
1565 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
1566 _sigsys.
1567 (si_call_addr, si_syscall, si_arch): Define new macro.
1568
89b4b02f
JM
15692012-07-25 Joseph Myers <joseph@codesourcery.com>
1570
1571 [BZ #13717]
1572 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1573 Change to 2.4.21 where previously 2.4.1.
1574 * sysdeps/unix/sysv/linux/configure: Regenerated.
1575 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
1576 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
1577 Linux kernel version.
1578 (__ASSUME_STD_AUXV): Remove.
1579 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
1580 kernel version.
1581 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
1582 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
1583 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
1584 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
1585 (__ASSUME_NETLINK_SUPPORT): Likewise.
1586 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
1587 (__no_netlink_support): Remove conditional definition.
1588 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
1589 Remove.
1590 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
1591 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
1592 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
1593 (if_nameindex_ioctl): Remove.
1594 (if_nameindex_netlink): Do not handle __no_netlink_support.
1595 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
1596 code.
1597 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
1598 Remove conditional code.
1599 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
1600 code.
1601 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
1602 unconditional.
1603 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
1604 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
1605 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
1606 Remove.
1607 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
1608 [!__ASSUME_STD_AUXV]: Remove conditional code.
1609 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
1610 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
1611 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
1612 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
1613 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
1614 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
1615 code.
1616 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
1617 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
1618 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
1619 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
1620 conditional code.
1621 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
1622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
1623 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
1624 code.
1625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
1626 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
1627 conditional code.
1628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
1629 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
1630 code unconditional.
1631 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1632 conditional code.
1633 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
1634 unconditional.
1635 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1636 conditional code.
1637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
1638 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
1639 unconditional.
1640 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1641 conditional code.
1642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
1643 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
1644 code unconditional.
1645 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1646 conditional code.
1647 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
1648 unconditional.
1649 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1650 conditional code.
1651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
1652 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
1653 code unconditional.
1654 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1655 conditional code.
1656 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
1657 unconditional.
1658 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1659 conditional code.
1660
842a39cd
AS
16612012-07-25 Andreas Schwab <schwab@linux-m68k.org>
1662
1663 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
1664 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
1665 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
1666 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
1667 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
1668 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
1669 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
1670 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
1671 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
1672 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
1673 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
1674 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
1675 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
1676 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
1677 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
1678 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
1679 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
1680 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
1681 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
1682 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
1683 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
1684 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
1685 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
1686
84b3fd84
FW
16872012-07-25 Florian Weimer <fweimer@redhat.com>
1688
1689 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
1690 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
1691 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
1692 Introduce __libc_secure_getenv.
0c7936d5
FW
1693 * stdlib/Versions (2.17): Add secure_getenv
1694 (GLIBC_PRIVATE): Add __libc_secure_getenv.
1695 * stdlib/secure-getenv.c: Rename __secure_getenv to
1696 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
1697 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
1698 * stdlib/tst-secure-getenv.c: New.
1699 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
1700 * manual/startup.texi (Environment Access): Document
1701 secure_getenv.
84b3fd84
FW
1702 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
1703 __libc_secure_getenv.
1704 * inet/ruserpass.c (ruserpass): Likewise.
1705 * malloc/mtrace.c (mtrace): Likewise.
1706 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 1707 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
1708 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
1709 * sysdeps/posix/tempname.c: Likewise. Evaluate
1710 HAVE_SECURE_GETENV.
1711 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 1712 __secure_getenv to __libc_secure_getenv.
84b3fd84 1713 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
1714 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1715 Likewise.
1716 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1717 Likewise.
1718 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
1719 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
1720 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
1721 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
1722 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
1723 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
1724 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 1725
56e49b71
JM
17262012-07-25 Joseph Myers <joseph@codesourcery.com>
1727
1728 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
1729 (struct La_i86_retval): Likewise.
1730 (struct La_x86_64_regs): Likewise.
1731 (struct La_x86_64_retval): Likewise.
1732 (struct La_x32_regs): Likewise.
1733 (struct La_x32_retval): Likewise.
1734 (struct La_ppc32_regs): Likewise.
1735 (struct La_ppc32_retval): Likewise.
1736 (struct La_ppc64_regs): Likewise.
1737 (struct La_ppc64_retval): Likewise.
1738 (struct La_sh_regs): Likewise.
1739 (struct La_sh_retval): Likewise.
1740 (struct La_s390_32_regs): Likewise.
1741 (struct La_s390_32_retval): Likewise.
1742 (struct La_s390_64_regs): Likewise.
1743 (struct La_s390_64_retval): Likewise.
1744 (struct La_sparc32_regs): Likewise.
1745 (struct La_sparc32_retval): Likewise.
1746 (struct La_sparc64_regs): Likewise.
1747 (struct La_sparc64_retval): Likewise.
1748 (struct audit_ifaces): Remove architecture-specific pltenter and
1749 pltexit members.
1750 * sysdeps/i386/ldsodefs.h: New file.
1751 * sysdeps/powerpc/ldsodefs.h: Likewise.
1752 * sysdeps/s390/ldsodefs.h: Likewise.
1753 * sysdeps/sh/ldsodefs.h: Likewise.
1754 * sysdeps/sparc/ldsodefs.h: Likewise.
1755 * sysdeps/x86_64/ldsodefs.h: Likewise.
1756
354691b7
MP
17572012-07-25 Marek Polacek <polacek@redhat.com>
1758
1759 [BZ #6808]
1760 * math/libm-test.inc (yn_test): Add another test.
1761 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
1762 to ERANGE when the result is +-Inf.
1763 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
1764 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
1765 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
1766 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
1767
bf9e2071
JM
17682012-07-24 Joseph Myers <joseph@codesourcery.com>
1769
1770 * conform/data/time.h-data (NULL): Use macro-constant. Require
1771 equal to 0.
1772 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
1773 clock_t.
1774 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
1775
57633811
TS
17762012-07-23 Thomas Schwinge <thomas@codesourcery.com>
1777
1778 * configure.in <sysdeps resolving>: Correct printing
1779 Implies_before.
1780 * configure: Regenerate.
1781
c23c33b0
TS
17822012-07-22 Thomas Schwinge <thomas@codesourcery.com>
1783
1784 * math/w_ilogb.c: Include <limits.h>.
1785 * math/w_ilogbl.c: Likewise.
1786
b5982523
JM
17872012-07-20 Joseph Myers <joseph@codesourcery.com>
1788
1789 * manual/lang.texi (__va_copy): Document primarily as ISO C99
1790 va_copy. Document allowing for unavailable va_copy only as
1791 pre-C99 compatibility.
1792 * manual/string.texi (Copying and Concatenation): Use va_copy
1793 instead of __va_copy in concat example.
1794
ac4ea442
PT
17952012-07-20 Pino Toscano <toscano.pino@tiscali.it>
1796
1797 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
1798 (__sendto): Use create_address_port. Initialize APORT and deallocate
1799 it if not null.
1800
f98eafbd
PT
1801 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
1802 with O_NOLINK passed to __file_name_lookup.
1803
898c7aab
PT
1804 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
1805 with O_NOLINK passed to __file_name_lookup.
1806
0ced335a
PT
1807 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
1808 negative N or less than NGIDS.
1809
b3404dbd
PT
1810 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
1811 type to string_t. Set ERANGE as errno and return it if NAME is not big
1812 enough. Use memcpy instead of strncpy.
1813
0f48659e
JM
18142012-07-20 Joseph Myers <joseph@codesourcery.com>
1815
1816 * elf/Makefile (check-data): Remove.
1817 (localplt.data): New vpath directive.
1818 ($(objpfx)check-localplt.out): Use localplt.data from vpath
1819 instead of $(check-data).
1820 * scripts/data/localplt-generic.data: Move to ...
1821 * sysdeps/generic/localplt.data: ... here.
1822 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
1823 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
1824 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
1825 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
1826 ... here.
1827 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
1828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
1829 ... here.
1830 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
1831 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
1832 ... here.
1833 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
1834 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
1835 ... here.
1836 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
1837 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
1838 ... here.
1839 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
1840 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
1841 ... here.
1842
d37cbdaa
AZ
18432012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1844
1845 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
1846 PPC32 and PPC64 files.
1847 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
1848 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
1849
46f85fc2
AK
18502012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1851
1852 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
1853 __makecontext_ret to ...
1854 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
1855 ... here and call exit if uc_link is NULL. New file.
1856 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
1857 __makecontext_ret.S.
1858 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
1859 __makecontext_ret to ...
1860 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
1861 ... here and call exit if uc_link is NULL. New file.
1862 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
1863 __makecontext_ret.S.
1864
08f43f9b
AK
18652012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1866
1867 * elf/elf.h (R_390_IRELATIVE): New definition.
1868 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
1869 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
1870 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
1871 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
1872 (elf_machine_lazy_rel): Likewise.
1873 * sysdeps/s390/dl-irel.h: New file.
1874 * sysdeps/s390/s390-64/memcpy.S: New asm code.
1875 * sysdeps/s390/s390-64/memset.S: New asm code.
1876 * sysdeps/s390/s390-64/memcmp.S: New asm code.
1877 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
1878 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
1879 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
1880 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
1881 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
1882 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
1883 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
1884 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
1885 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
1886 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
1887 * sysdeps/s390/s390-32/memcpy.S: New asm code.
1888 * sysdeps/s390/s390-32/memset.S: New asm code.
1889 * sysdeps/s390/s390-32/memcmp.S: New asm code.
1890
3b05db33
MP
18912012-07-17 Marek Polacek <polacek@redhat.com>
1892
1893 [BZ #14349]
1894 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
1895 * sysdeps/s390/s390-64/configure.in: Likewise.
1896 * sysdeps/sparc/configure.in: Likewise.
1897 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
1898 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
1899 * sysdeps/i386/configure.in: Likewise.
1900 * sysdeps/x86_64/configure.in: Likewise.
1901 * sysdeps/sh/configure.in: Likewise.
1902 * sysdeps/s390/s390-32/configure: Regenerated.
1903 * sysdeps/s390/s390-64/configure: Likewise.
1904 * sysdeps/x86_64/configure: Likewise.
1905 * sysdeps/sh/configure: Likewise.
1906 * sysdeps/powerpc/powerpc64/configure: Likewise.
1907 * sysdeps/powerpc/powerpc32/configure: Likewise.
1908 * sysdeps/sparc/configure: Likwise.
1909 * sysdeps/i386/configure: Likewise.
1910
a66877c6
MP
1911 * elf/dl-open.c: Comment fixes.
1912
cfc82fd8
JM
19132012-07-17 Joseph Myers <joseph@codesourcery.com>
1914
bd29910a
JM
1915 * Makefile [CXX] (check-data): Remove.
1916 [CXX] (c++-types.data): New vpath directive.
1917 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
1918 vpath. Do not allow for C++ type data being missing.
1919 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
1920 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
1921 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
1922 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
1923 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
1924 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
1925 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
1926 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
1927 ... here.
1928 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
1929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
1930 ... here.
1931 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
1932 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
1933 ... here.
1934 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
1935 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
1936 ... here.
1937 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
1938 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
1939 ... here.
1940 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
1941 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
1942 ... here.
1943 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
1944 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
1945 ... here.
1946 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
1947 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
1948
cfc82fd8
JM
1949 * elf/tls-macros.h (TLS_LE): Move architecture-specific
1950 definitions to architecture-specific files.
1951 (TLS_IE): Likewise.
1952 (TLS_LD): Likewise.
1953 (TLS_GD): Likewise.
1954 * sysdeps/i386/tls-macros.h: New file.
1955 * sysdeps/powerpc/tls-macros.h: Likewise.
1956 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
1957 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
1958 * sysdeps/sh/tls-macros.h: Likewise.
1959 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
1960 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
1961 * sysdeps/x86_64/tls-macros.h: Likewise.
1962
f7db3170
TS
19632012-07-17 Thomas Schwinge <thomas@codesourcery.com>
1964
07cbfc23
TS
1965 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
1966 zero value for regular exit case.
1967
f7db3170
TS
1968 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
1969 (__start_context): Preserve zero value for regular exit case.
1970
dc97c227
TS
19712012-07-17 Thomas Schwinge <thomas@codesourcery.com>
1972 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1973
1974 * manual/setjmp.texi (setcontext): Clarify normal process
1975 termination when uc_link is the null pointer.
1976 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
1977 exit call.
1978
d0cd7d02
AS
19792012-07-16 Andreas Schwab <schwab@linux-m68k.org>
1980
1981 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
1982 preprocessor. Test for each exception mask separately.
1983
dd318934
AJ
19842012-07-16 Andreas Jaeger <aj@suse.de>
1985
1986 * po/ru.po: Update from translation team.
1987
8048311a
JM
19882012-07-15 Joseph Myers <joseph@codesourcery.com>
1989
1990 * conform/data/string.h-data (NULL): Use macro-constant. Require
1991 equal to 0.
1992 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
1993 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
1994 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
1995 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
1996 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1997
b637d46e
AJ
19982012-07-13 Andreas Jaeger <aj@suse.de>
1999
2000 * po/fr.po: Update from translation team.
2001
541428fe
MP
20022012-07-12 Marek Polacek <polacek@redhat.com>
2003
2004 [BZ #14173]
2005 * math/libm-test.inc (yn_test): Add test for BZ #14173.
2006 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
2007 loop condition.
2008
ec332e94
JM
20092012-07-12 Joseph Myers <joseph@codesourcery.com>
2010
2011 [BZ #13717]
2012 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
2013 Change to 2.4.1 where previously 2.4.0.
2014 * sysdeps/unix/sysv/linux/configure: Regenerated.
2015 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
2016 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
2017 version.
2018 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
2019 (__ASSUME_AT_CLKTCK): Remove.
2020 (__ASSUME_AT_PAGESIZE): Likewise.
2021 (__ASSUME_AT_XID): Likewise.
2022 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
2023 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
2024 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
2025 unconditionally.
2026 (HAVE_AUX_PAGESIZE): Likewise.
2027 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
2028 [__ASSUME_AT_CLKTCK]: Make code unconditional.
2029 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
2030
7b6e99be
JB
20312012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
2032
2033 [BZ #14307]
2034 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
2035 the temporary buffer used to invoke __gethostbyname2_r,
2036 __gethostbyaddr_r and gethostbyname4_r to make room for struct
2037 host_data / struct gaih_addrtuple.
2038 * resolv/nss_dns/dns-host.c (global scope): Move definition of
2039 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
2040 header file nss/nsswitch.h.
2041 * nss/nsswitch.h (global scope): Add definition of implementation
2042 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
2043 resolv/nss_dns/dns-host.c).
2044
608404eb
AJ
20452012-07-11 Andreas Jaeger <aj@suse.de>
2046
2047 * po/fr.po: Update from translation team.
2048
71220aca
AJ
2049 * po/sv.po: Update from translation team
2050 * po/fr.po: Another update from translation team.
2051
28cfe843
AZ
20522012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2053
2054 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
2055 for subnormals or multiply small sinh result by itself.
2056 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
2057 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2058
6b90f981
DM
20592012-07-11 David S. Miller <davem@davemloft.net>
2060
2061 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2062
c6825772
AS
20632012-07-10 Andreas Schwab <schwab@linux-m68k.org>
2064
2065 [BZ #14347]
2066 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
2067 (INTERNAL_MARK): Shift it here.
2068
7b8e0d49
MP
20692012-07-10 Marek Polacek <polacek@redhat.com>
2070
2071 [BZ #14151]
2072 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
2073 libc_cv_asm_global_directive with .globl.
2074 * configure: Regenerated.
2075 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
2076 with .globl.
2077 * sysdeps/i386/configure: Regenerated.
2078 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
2079 with .globl.
2080 * sysdeps/x86_64/configure: Regenerated.
2081 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
2082 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
2083 * elf/tst-unique2mod2.c: Likewise.
2084 * elf/tst-unique2mod1.c: Likewise.
2085 * elf/tst-unique1mod2.c: Likewise.
2086 * elf/tst-unique1mod1.c: Likewise.
2087 * sysdeps/s390/s390-32/sysdep.h: Likewise.
2088 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
2089 * sysdeps/s390/s390-64/sysdep.h: Likewise.
2090 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
2091 * sysdeps/mach/sysdep.h: Likewise.
2092 * sysdeps/i386/sysdep.h: Likewise.
2093 * sysdeps/i386/i386-mcount.S: Likewise.
2094 * sysdeps/x86_64/_mcount.S: Likewise.
2095 * sysdeps/x86_64/sysdep.h: Likewise.
2096 * sysdeps/sh/_mcount.S: Likewise.
2097 * sysdeps/sh/sysdep.h: Likewise.
2098 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
2099 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
2100 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
2101 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
2102 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
2103 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
2104 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
2105 * locale/localeinfo.h: Likewise.
2106 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
2107 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
2108
6c55cda3
RM
21092012-07-09 Roland McGrath <roland@hack.frob.com>
2110
2111 [BZ #14336]
2112 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
2113 system".
2114 * manual/message.texi (The Uniforum approach): Likewise.
2115 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
2116 (glibc iconv Implementation): Likewise.
2117
638a572e
JM
21182012-07-09 Joseph Myers <joseph@codesourcery.com>
2119
2120 [BZ #14337]
2121 * math/s_clog.c (__clog): Avoid scaling a value down where that
2122 could result in underflow.
2123 * math/s_clog10.c (__clog10): Likewise.
2124 * math/s_clog10f.c (__clog10f): Likewise.
2125 * math/s_clog10l.c (__clog10l): Likewise.
2126 * math/s_clogf.c (__clogf): Likewise.
2127 * math/s_clogl.c (__clogl): Likewise.
2128 * math/libm-test.inc (clog_test): Add more tests.
2129 (clog10_test): Likewise.
2130 * sysdeps/i386/fpu/libm-test-ulps: Update.
2131 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2132
261f4859
AS
21332012-07-06 Andreas Schwab <schwab@linux-m68k.org>
2134
0abaf3e4
AS
2135 [BZ #14283]
2136 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
2137 by 7 not 8 to examine high bit of fractional part.
2138
261f4859
AS
2139 [BZ #14042]
2140 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
2141 for call to __mcount_internal.
2142 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
2143 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
2144 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
2145
f17ac40d
JM
21462012-07-06 Joseph Myers <joseph@codesourcery.com>
2147
9ad63c23
JM
2148 [BZ #14154]
2149 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
2150 approximation for values within 0x1p-13f of an odd multiple of
2151 pi/4.
2152 * math/libm-test.inc (tan_test): Do not allow spurious underflow
2153 exception. Add more tests.
2154 * sysdeps/i386/fpu/libm-test-ulps: Update.
2155
f17ac40d
JM
2156 [BZ #6778]
2157 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
2158 inputs and return -1 for them. Do not check for +Inf in case not
2159 reachable for +Inf.
2160 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
2161 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
2162 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
2163 and return -1 for them. Do not check for +Inf in case not
2164 reachable for +Inf.
2165 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
2166 define.
2167 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
2168 and return -1 for them. Do not check for +Inf in case not
2169 reachable for +Inf.
2170 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
2171 spurious underflow.
2172 * sysdeps/i386/fpu/libm-test-ulps: Update.
2173 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2174
fb21f89b
MF
21752012-07-06 Mike Frysinger <vapier@gentoo.org>
2176
2177 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
2178
cdfe2c5e
JM
21792012-07-05 Joseph Myers <joseph@codesourcery.com>
2180
2181 [BZ #14157]
2182 [BZ #14331]
2183 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
2184 could result in spurious underflow. Scale down values above
2185 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
2186 * math/s_csqrtf.c (__csqrtf): Likewise.
2187 * math/s_csqrtl.c (__csqrtl): Likewise.
2188 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
2189 spurious underflow.
2190 * sysdeps/i386/fpu/libm-test-ulps: Update.
2191 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2192
70d35b67
AS
21932012-07-04 Andreas Schwab <schwab@linux-m68k.org>
2194
704bc459
AS
2195 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
2196 xopen-msg.sed.
2197 * catgets/xopen-msg.awk: New file.
2198 * catgets/xopen-msg.sed: Removed.
2199
70d35b67
AS
2200 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
2201 po2text.sed.
2202 * intl/po2test.awk: New file.
2203 * intl/po2test.sed: Removed.
2204
ca61cf32
JM
22052012-07-04 Joseph Myers <joseph@codesourcery.com>
2206
2207 [BZ #14328]
2208 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
2209 or multiply small sinh result by itself.
2210 * math/s_ctanf.c (__ctanf): Likewise.
2211 * math/s_ctanh.c (__ctanh): Likewise.
2212 * math/s_ctanhf.c (__ctanhf): Likewise.
2213 * math/s_ctanhl.c (__ctanhl): Likewise.
2214 * math/s_ctanl.c (__ctanl): Likewise.
2215 * math/libm-test.inc (ctan_test_tonearest): New function.
2216 (ctan_test_towardzero): Likewise.
2217 (ctan_test_downward): Likewise.
2218 (ctan_test_upward): Likewise.
2219 (ctanh_test_tonearest): Likewise.
2220 (ctanh_test_towardzero): Likewise.
2221 (ctanh_test_downward): Likewise.
2222 (ctanh_test_upward): Likewise.
2223 (main): Call these new functions.
2224 * sysdeps/i386/fpu/libm-test-ulps: Update.
2225 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2226
ca48a46a
MF
22272012-07-03 Mike Frysinger <vapier@gentoo.org>
2228
2229 * .gitignore: Delete /ports entry.
2230
9d63d37d
AJ
22312012-07-03 Andreas Jaeger <aj@suse.de>
2232
2233 * po/bg.po: Update from translation team.
2234 * po/cs.po: Likewise.
2235 * po/de.po: Likewise.
2236 * po/hr.po: Likewise.
2237 * po/nl.pl: Likewise.
2238 * po/pl.po: Likewise.
2239 * po/vi.po: Likewise.
2240
370ca3d2
JM
22412012-07-03 Joseph Myers <joseph@codesourcery.com>
2242
95f5a9a8
JM
2243 * Makeconfig [!+link] (+link-before-libc): New variable.
2244 [!+link] (+link-after-libc): Likewise.
2245 [!+link] (+link-tests): Likewise.
2246 [!+link] (+link): Define in terms of $(+link-before-libc) and
2247 $(+link-after-libc).
2248 [!+link-static] (+link-static-before-libc): New variable.
2249 [!+link-static] (+link-static-after-libc): Likewise.
2250 [!+link-static] (+link-static-tests): Likewise.
2251 [!+link-static] (+link-static): Define in terms of
2252 $(+link-static-before-libc) and $(+link-static-after-libc).
2253 [build-shared] (link-libc-before-gnulib): New variable.
2254 [build-shared] (link-libc-tests): Likewise.
2255 [build-shared] (link-libc): Define in terms of
2256 $(link-libc-before-gnulib).
2257 [!build-shared] (link-libc-tests): New variable.
2258 (link-libc-static-tests): New variable.
2259 [!gnulib] (gnulib-arch): New variable.
2260 [!gnulib] (gnulib-tests): Likewise.
2261 [!gnulib] (static-gnulib-arch): Likewise.
2262 [!gnulib] (static-gnulib-tests): Likewise.
2263 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
2264 Define with "=" instead of ":=".
2265 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
2266 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
2267 * Rules (binaries-all-notests): New variable.
2268 (binaries-all-tests): Likewise.
2269 (binaries-static-notests): Likewise.
2270 (binaries-static-tests): Likewise.
2271 (binaries-all): Define using $(binaries-all-notests) and
2272 $(binaries-all-tests).
2273 (binaries-static): Define using $(binaries-static-notests) and
2274 $(binaries-static-tests).
2275 (binaries-shared-tests): New variable.
2276 (binaries-shared-notests): Likewise.
2277 (binaries-shared): Remove variable.
2278 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
2279 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
2280 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
2281 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
2282 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
2283 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
2284 * elf/Makefile (sln-modules): New variable.
2285 (extra-objs): Add $(sln-modules:=.o).
2286 (ldconfig-modules): Add static-stubs.
2287 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
2288 * elf/static-stubs.c: New file.
2289
7a845b2c
JM
2290 [BZ #14283]
2291 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
2292 by 7 not 8 to examine high bit of fractional part. Use volatile
2293 variables when splitting into final array of floats if
2294 __FLT_EVAL_METHOD__ != 0.
2295 * math/libm-test.inc (cos_test): Add another test.
2296 (sin_test): Likewise.
2297 * sysdeps/i386/fpu/libm-test-ulps: Update.
2298
e2283f38
JM
2299 [BZ #14273]
2300 * math/libm-test.inc (cosh_test): Add more tests.
2301
370ca3d2
JM
2302 * version.h (RELEASE): Set to "development".
2303 (VERSION): Set to "2.16.90".
2304
ee9247c3
CD
23052012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
2306
2307 * NEWS: Update copyright. Remove last-updated date.
2308 Mention math library bug fixes and timezone data changes.
2309 * README: Mention GNU/Hurd, x32, and HPPA support status.
2310
4648c381
TS
23112012-06-28 Thomas Schwinge <thomas@codesourcery.com>
2312
2313 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
2314
aac78a43
AJ
23152012-06-27 Andreas Jaeger <aj@suse.de>
2316
2317 * manual/contrib.texi (Contributors): Add Samuel Thibault.
2318
ed3dbfad
AJ
23192012-06-25 Andreas Jaeger <aj@suse.de>
2320
2321 * sysdeps/s390/fpu/libm-test-ulps: Update.
2322
4d0ee855
AS
23232012-06-23 Andreas Schwab <schwab@linux-m68k.org>
2324 Thomas Schwinge <thomas@codesourcery.com>
2325
2326 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
2327 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
2328 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
2329 fanotify_mark.
2330
af1bce34
TS
23312012-06-23 Thomas Schwinge <thomas@codesourcery.com>
2332
a9fa33ba
TS
2333 * sysdeps/mach/start.c: Remove file.
2334 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
2335 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
2336 * sysdeps/sh/init-first.c: Likewise.
2337
58f902b8
TS
2338 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
2339 registers for frame unwinding purposes, add CFI directives.
2340 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
2341 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
2342 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
2343 Likewise.
2344
1518f58b
TS
2345 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
2346 __fortify_fail returning.
2347 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
2348
db9b5059
TS
2349 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
2350 sysdeps/sh/____longjmp_chk.S.
2351 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
2352 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
2353 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
2354 (gen-as-const-headers): Append sigaltstack-offsets.sym.
2355
967705fe
TS
2356 * sysdeps/sh/abort-instr.h: New file.
2357 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
2358 process in case exit returns.
2359
a9def8c4
TS
2360 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
2361 initialize the GOT register before use.
2362
2a649725
TS
2363 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
2364 calculation of ARGC > 4.
2365
af1bce34
TS
2366 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
2367 meaningful names to some local labels.
2368
d230f50a
KK
23692012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2370 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2371
2372 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
2373 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
2374 (__arch_compare_and_exchange_val_16_acq): Likewise.
2375 (__arch_compare_and_exchange_val_32_acq): Likewise.
2376 (atomic_exchange_and_add): Fix gUSA sequence.
2377 (atomic_add): Likewise.
2378 (atomic_add_negative): Likewise.
2379 (atomic_add_zero): Likewise.
2380 (atomic_bit_test_set): Likewise.
2381
0479b305
AS
23822012-06-22 Andreas Schwab <schwab@redhat.com>
2383
2384 [BZ #13579]
2385 * include/link.h (struct link_map): Add l_free_initfini.
2386 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
2387 l_initfini.
2388 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
2389 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
2390 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
2391 set.
2392
0e3933b9
CD
23932012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
2394
2395 * configure.in: Use AC_LANG_SOURCE.
2396 * configure: Regenerate.
2397
4248b1b1
RM
23982012-06-22 Roland McGrath <roland@hack.frob.com>
2399
2400 * configure.in (libc_cv_localstatedir): New substituted variable.
2401 * configure: Regenerated.
2402 * config.make.in (localstatedir): New variable, substituted from
2403 libc_cv_localstatedir.
2404 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
2405 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
2406 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
2407 * sysdeps/gnu/configure: Regenerated.
2408
006dd861
JL
24092012-06-21 Jeff Law <law@redhat.com>
2410
2411 [BZ #14277]
2412 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
2413 free. Simplify list management for _LIBC case.
2414
79662d42
JM
24152012-06-21 Joseph Myers <joseph@codesourcery.com>
2416
b7abb4bf
JM
2417 [BZ #14273]
2418 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
2419 Clear sign bit of 64-bit integer value before comparing against
2420 overflow value.
2421
79662d42
JM
2422 * sysdeps/mach/configure: Regenerated.
2423
1f150908
L
24242012-06-21 H.J. Lu <hongjiu.lu@intel.com>
2425
2426 [BZ #14278]
2427 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
2428
28363bbf
JL
24292012-06-21 Jeff Law <law@redhat.com>
2430
2431 [BZ #13882]
2432 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
2433 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 2434 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
2435 * elf/dl-open.c (dl_open_worker): Likewise.
2436
09615db4
CD
24372012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
2438
2439 * scripts/list-sources.sh: Scan PORTS for translations.
2440 * po/libc.pot: Regenerated.
2441
2174c6dd
AJ
24422012-06-21 Andreas Jaeger <aj@suse.de>
2443
2444 [BZ #12194]
2445 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
2446 warning.
2447 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
2448 * bits/byteswap-16.h (__bswap_16): Likewise.
2449 * bits/byteswap.h (__bswap_constant_16): Likewise.
2450
3ee947b1
L
24512012-06-18 H.J. Lu <hongjiu.lu@intel.com>
2452
2453 [BZ #14117]
a2f34833
L
2454 * sysdeps/i386/fpu_control.h: Removed.
2455 * sysdeps/x86_64/fpu_control.h: Moved to ...
2456 * sysdeps/x86/fpu_control.h: Here.
2457
3ee947b1
L
2458 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
2459 (_FPU_SETCW): Likewise.
2460
ed1825f8
L
24612012-06-15 H.J. Lu <hongjiu.lu@intel.com>
2462
25f1282a
L
2463 [BZ #14117]
2464 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
2465 * sysdeps/x86/fpu/bits/mathinline.h: This.
2466 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
2467
ed1825f8
L
2468 [BZ #14050]
2469 [BZ #14117]
2470 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
2471 functions if __x86_64__ is defined.
2472
36d54b74
CLT
24732012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
2474
2475 * string/endian.h: Add !__ASSEMBLER__ condition for including
2476 conversion interfaces.
2477
10285c21
JM
24782012-06-15 Joseph Myers <joseph@codesourcery.com>
2479
2480 [BZ #14241]
2481 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
2482 of ABS(x) in calculating zero to negative powers other than odd
2483 integers.
2484 * math/libm-test.inc (pow_test): Add more tests.
2485
06c5abbd
AJ
24862012-06-15 Andreas Jaeger <aj@suse.de>
2487
2488 * manual/contrib.texi (Contributors): Update entry of Liubov
2489 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
2490 Machado Filho.
2491
a3aeac40
CH
24922012-06-15 Cyril Hrubis <metan@ucw.cz>
2493
2494 * string/string.h: Add __wur to GNU version of strerror_r.
2495
49bdf4c1
L
24962012-06-14 H.J. Lu <hongjiu.lu@intel.com>
2497
2498 [BZ #14229]
2499 * string/Makefile (tests): Add tst-strtok_r.
2500 * string/tst-strtok_r.c: New file.
2501 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
2502 RAX_LP/RDX_LP on SAVE_PTR.
2503
834f9b8d
RM
25042012-06-14 Roland McGrath <roland@hack.frob.com>
2505
2506 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
2507
75fa1921
JM
25082012-06-14 Joseph Myers <joseph@codesourcery.com>
2509
2510 * libm_test.inc (csqrt_test): Allow more spurious underflow
2511 exceptions.
2512 (j0_test): Likewise.
2513 (j1_test): Likewise.
2514 (y0_test): Likewise.
2515 (y1_test): Likewise.
2516
771766df
CD
25172012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
2518
2519 * po/Makefile (libc.pot): Use UTF-8 charset.
2520
ceb9e56b
PP
25212012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
2522
2523 [BZ #14210]
2524 Suppress sign-conversion warning from FD_SET.
2525 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
2526 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
2527 not unsigned long int.
2528 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
2529
ddb28975
L
25302012-06-12 H.J. Lu <hongjiu.lu@intel.com>
2531
2532 [BZ #14050]
2533 [BZ #14117]
2534 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
2535 __extern_always_inline instead of __extern_inline.
2536 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
2537 (__signbit): Likewise.
2538 (__signbitl): Support C++ namespace.
2539 (lrintf): New inline function.
2540 (lrint): Likewise.
2541 (llrintf): Likewise.
2542 (llrint): Likewise.
2543 (fmaxf): Likewise.
2544 (fmax): Likewise.
2545 (fminf): Likewise.
2546 (fmin): Likewise.
2547 (rint): Likewise.
2548 (rintf): Likewise.
2549 (ceil): Likewise.
2550 (ceilf): Likewise.
2551 (floor): Likewise.
2552 (floorf): Likewise.
2553 (nearbyint): Likewise.
2554 (nearbyintf): Likewise.
2555
d7b4fb26
TS
25562012-06-12 Thomas Schwinge <thomas@codesourcery.com>
2557
2558 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
2559 non-default versions.
2560
eb55f5c2
RM
25612012-06-11 Roland McGrath <roland@hack.frob.com>
2562
2563 [BZ #14218]
2564 * manual/argp.texi (Argp): Reword argp_parse description slightly.
2565
366af02c
TS
25662012-06-09 Thomas Schwinge <thomas@codesourcery.com>
2567
99ff6e5c
TS
2568 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
2569 (FE_UPWARD, FE_DOWNWARD): Don't define.
2570 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
2571 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
2572
366af02c
TS
2573 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
2574 reading it.
2575 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
2576 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
2577
793ea851
KK
25782012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2579
2580 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
2581 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
2582 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
2583 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
2584
a728a38f
L
25852012-06-06 H.J. Lu <hongjiu.lu@intel.com>
2586
2587 [BZ #14117]
c08010c7
L
2588 * sysdeps/i386/fpu/bits/fenv.h: Removed.
2589 * sysdeps/i386/fpu/Implies: New file.
2590 * sysdeps/x86_64/fpu/Implies: Likewise.
2591 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
2592 * sysdeps/x86/fpu/bits/fenv.h: This.
2593
a728a38f
L
2594 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
2595 __SSE_MATH__.
2596
6e230d11
SP
25972012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
2598
2599 [BZ #14134]
2600 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
2601 character 0xffff that matches the last element of the
2602 conversion table.
2603
1b671feb
AZ
26042012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2605
2606 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
2607 fmodl commit.
2608
6043738b
AZ
26092012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2610
2611 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
2612 values higher than 25.6283.
2613
34ae0b32
AZ
26142012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2615
2616 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
2617 subnormal exponent extraction and add some __builtin_expect.
2618 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
2619 Fix for subnormal mantissa calculation.
2620
1214ec8f
MF
26212012-06-04 Mike Frysinger <vapier@gentoo.org>
2622
2623 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
2624 cpu2 is -1 and errno is not ENOSYS.
2625
f3d1f93c
L
26262012-06-04 H.J. Lu <hongjiu.lu@intel.com>
2627
2628 [BZ #14117]
0e4a3cd7
L
2629 * sysdeps/i386/i486/bits/string.h: Renamed to ...
2630 * sysdeps/x86/bits/string.h: This.
2631 * sysdeps/x86_64/bits/string.h: Removed.
2632
6704c645
L
2633 * sysdeps/i386/i486/bits/string.h: Define inline functions only
2634 if not compiling for x86-64, but compiling for >= i486.
2635
48495318
L
2636 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
2637 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
2638
14adcbfc
L
2639 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
2640 New macro from Linux kernel 3.4.0.
2641 (FP_XSTATE_MAGIC2): Likewise.
2642 (FP_XSTATE_MAGIC2_SIZE): Likewise.
2643 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
2644 (struct _fpx_sw_bytes): New struct.
2645 (struct _xsave_hdr): Likewise.
2646 (struct _ymmh_state): Likewise.
2647 (struct _xstate): Likewise.
2648
68e408ab
L
2649 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
2650 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
2651 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
2652 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
2653 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
2654 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
2655
f3d1f93c
L
2656 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
2657 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
2658 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
2659 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
2660 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
2661 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
2662
d9dc34cd
TMQMF
26632012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2664
2665 [BZ #13743]
2666 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
2667 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
2668 (sysdep_headers): Include sys/platform/ppc.h.
2669 * sysdeps/powerpc/test-gettimebase.c: Test for
2670 __ppc_get_timebase() to catch future ISA opcode/insn changes.
2671 * manual/Makefile (appendices): Include platform.texi.
2672 * manual/contrib.texi (Contributors): Update @node pointers.
2673 * manual/maint.texi (Maintenance): Likewise.
2674 (Platform): New node.
2675 * manual/platform.texi: New file. Document the new features.
2676
4af3879c
SP
26772012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2678 Jakub Jelinek <jakub@redhat.com>
2679
2680 [BZ #14188]
2681 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
2682 where __builtin_expect is unavailable.
2683
2fd6ff13
DM
26842012-06-03 David S. Miller <davem@davemloft.net>
2685
2686 * stdlib/longlong.h: Updated from GCC.
2687
173f7220
AS
26882012-06-02 Andreas Schwab <schwab@linux-m68k.org>
2689
2690 [BZ #14042]
2691 * sysdeps/powerpc/powerpc32/mcount.c: New file.
2692 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
2693 __mcount_internal.
2694 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
2695 (GLIBC_2.16): Likewise.
2696
f34a1c6f
L
26972012-06-01 H.J. Lu <hongjiu.lu@intel.com>
2698
2699 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
2700
88a4576f
JM
27012012-06-01 Joseph Myers <joseph@codesourcery.com>
2702
ea32bcdd
JM
2703 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
2704 (default-abi): New variable.
2705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
2706 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
2707 variable.
2708 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
2709 Likewise.
2710 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
2711 Likewise.
2712 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
2713 Likewise.
2714
88a4576f
JM
2715 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
2716 definition. Document in comment.
2717
402fe938
DM
27182012-06-01 David S. Miller <davem@davemloft.net>
2719
2720 * stdlib/longlong.h: Updated from GCC.
2721
3553723f
L
27222012-06-01 H.J. Lu <hongjiu.lu@intel.com>
2723
2724 [BZ #14117]
3bd872c4
L
2725 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
2726 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
2727 sys/debugreg.h sys/io.h here.
2728 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
2729 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
2730 sys/io.h.
2731 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
2732 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
2733 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
2734 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
2735 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
2736 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
2737
3553723f
L
2738 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
2739 Define only if __x86_64__ is defined.
2740
4842e4fe
JM
27412012-06-01 Joseph Myers <joseph@codesourcery.com>
2742
c5bfe3d5
JM
2743 [BZ #14048]
2744 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
2745 Use int64_t for variable i.
2746 * math/libm-test.inc (fmod_test): Add more tests.
2747
4842e4fe
JM
2748 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
2749 z computation is not scheduled after fetestexcept.
2750 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
2751 Use math_force_eval instead of asm to ensure calculation scheduled
2752 before exception test.
2753 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
2754 Ensure a1 + u.d computation is not scheduled after fetestexcept.
2755
efb73488
AJ
27562012-06-01 Aurelien Jarno <aurelien@aurel32.net>
2757
2758 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
2759 computation is not scheduled after fetestexcept.
2760
29bcce7c
L
27612012-06-01 H.J. Lu <hongjiu.lu@intel.com>
2762
2763 [BZ #14117]
2764 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
2765 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
2766
73a68f94
AZ
27672012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2768
2769 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
2770 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
2771
67b6df78
L
27722012-05-31 H.J. Lu <hongjiu.lu@intel.com>
2773
edf2933a 2774 [BZ #14117]
ebc64a18
L
2775 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
2776 <bits/wordsize.h>.
2777 (__WCHAR_MIN): Support __WORDSIZE == 64.
2778 (__WCHAR_MAX): Likewise.
2779
edf2933a
L
2780 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
2781 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
2782
57c6cf40
L
2783 [BZ #14183]
2784 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
2785 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
2786
67b6df78 2787 [BZ #14117]
8eb6281e
L
2788 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
2789 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
2790
aac639f4
L
2791 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
2792 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
2793
67b6df78
L
2794 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
2795 Defined to 1 if __x86_64__ isn't defined.
2796 (_STAT_VER_LINUX_OLD): New.
2797 (st_atime): Remove duplicate.
2798 (st_mtime): Likewise.
2799 (st_ctime): Likewise.
2800
1c2cfe81
DM
28012012-05-31 David S. Miller <davem@davemloft.net>
2802
2803 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
2804 entries.
2805
5be8418c
AS
28062012-06-01 Andreas Schwab <schwab@linux-m68k.org>
2807
e7725326
AS
2808 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
2809 gen-libm-test.pl.
2810
5be8418c
AS
2811 [BZ #14132]
2812 * elf/dl-reloc.c: Include <_itoa.h>.
2813 (_dl_reloc_bad_type): Remove use of INTUSE.
2814 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
2815 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
2816 * stdio-common/psiginfo.c (psiginfo): Likewise.
2817 * stdio-common/psignal.c (psignal): Likewise.
2818 * string/strsignal.c (strsignal): Likewise.
2819 * include/signal.h (_sys_siglist): Declare hidden proto.
2820 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
2821 INTVARDEF with libc_hidden_data_def.
2822 * stdio-common/itoa-udigits.c: Likewise.
2823 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
2824 (_itoa_lower_digits_internal): Remove declaration.
2825 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
2826 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
2827 (_sys_sigabbrev_internal): Remove aliases.
2828 (_sys_siglist): Define hidden alias.
2829
507352f1
MT
28302012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
2831
2832 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2833 bits/sysctl.h.
2834
42bbb1c3
L
28352012-05-31 H.J. Lu <hongjiu.lu@intel.com>
2836
2837 [BZ #14117]
6bd784b6
L
2838 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
2839 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
2840
8bca20f0
L
2841 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
2842 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
2843 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
2844 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
2845 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
2846 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
2847
f9e890a9
L
2848 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
2849 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
2850 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
2851
471101a1
L
2852 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
2853 with __addr.
2854 (insw): Likewise.
2855 (insl): Likewise.
2856 (outsb): Likewise.
2857 (outsw): Likewise.
2858 (outsl): Likewise.
2859
6451c862
L
2860 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
2861 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
2862 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
2863
a254b8c9
L
2864 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
2865 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
2866 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
2867 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
2868 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
2869 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
2870
b8dfdd92
L
2871 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
2872 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
2873
578cd270
L
2874 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
2875 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
2876
de662f5f
L
2877 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
2878 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
2879 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
2880
25653439
L
2881 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
2882 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
2883 to ...
2884 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
2885
6bad24a0
L
2886 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
2887 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
2888 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
2889
42bbb1c3
L
2890 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
2891 for x86-64.
2892 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
2893
2d10d547
JM
28942012-05-31 Joseph Myers <joseph@codesourcery.com>
2895
2896 * math/math.h (M_El): Use two more decimal places.
2897 (M_LOG2El): Likewise.
2898 (M_LOG10El): Likewise.
2899 (M_LN2l): Likewise.
2900 (M_LN10l): Likewise.
2901 (M_PIl): Likewise.
2902 (M_PI_2l): Likewise.
2903 (M_PI_4l): Likewise.
2904 (M_1_PIl): Likewise.
2905 (M_2_PIl): Likewise.
2906 (M_2_SQRTPIl): Likewise.
2907 (M_SQRT2l): Likewise.
2908 (M_SQRT1_2l): Likewise.
2909
f230c29b
DM
29102012-05-31 David S. Miller <davem@davemloft.net>
2911
2912 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
2913 values between float registers.
2914 * sysdeps/sparc/sparc64/memset.S: Likewise.
2915 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
2916
fed806c3
MF
29172012-05-31 Mike Frysinger <vapier@gentoo.org>
2918
2919 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
2920 -D_FORTIFY_SOURCE=1.
2921 (CPPFLAGS-tst-longjmp_chk.c): Define.
2922 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
2923 (CPPFLAGS-tst-longjmp_chk2.c): Define.
2924 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
2925 CFLAGS-tst-wchar-h.c.
2926
30917259
MP
29272012-05-31 Marek Polacek <polacek@redhat.com>
2928
2929 [BZ #14132]
2930 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
2931 __endmntent_internal): Remove declaration.
2932 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
2933 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
2934 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
2935
1c58d5dc
DM
29362012-05-30 David S. Miller <davem@davemloft.net>
2937
2938 * sysdeps/sparc/sparc32/soft-fp/q_util.c
2939 (___Q_simulate_exceptions): Use real FP ops rather than writing
2940 into the %fsr.
2941 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
2942 Likewise.
2943
7dc00e0d
L
29442012-05-30 H.J. Lu <hongjiu.lu@intel.com>
2945
2946 [BZ #14117]
0bd53985
L
2947 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
2948 * sysdeps/x86/bits/xtitypes.h: This.
2949
3a257e66
L
2950 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
2951 * sysdeps/x86/bits/wordsize.h: This.
2952
62f62904
L
2953 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
2954 * sysdeps/x86/bits/huge_vall.h: This.
2955
404fe9d9
L
2956 * sysdeps/i386/bits/select.h: Removed.
2957 * sysdeps/x86_64/bits/select.h: Renamed to ...
2958 * sysdeps/x86/bits/select.h: This.
2959
d48d0446
L
2960 * sysdeps/i386/bits/setjmp.h: Removed.
2961 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
2962 * sysdeps/x86/bits/setjmp.h: This.
2963
7dc00e0d
L
2964 * sysdeps/i386/bits/mathdef.h: Removed.
2965 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
2966 * sysdeps/x86/bits/mathdef.h: This.
2967
03277f8f
AS
29682012-05-30 Andreas Schwab <schwab@linux-m68k.org>
2969
2970 [BZ #14132]
2971 * include/sys/socket.h (__connect_internal)
2972 (__libc_sa_len_internal): Remove declaration.
2973 (__connect, __libc_sa_len): Declare hidden_proto.
2974 (SA_LEN): Remove use of INTUSE.
2975 * socket/connect.c: Add libc_hidden_def.
2976 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
2977 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
2978 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
2979 alias.
2980 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
2981 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
2982 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
2983 of adding _internal alias.
2984
13764867
L
29852012-05-30 H.J. Lu <hongjiu.lu@intel.com>
2986
2987 [BZ #14117]
6bd97696
L
2988 * sysdeps/i386/bits/link.h: Removed.
2989 * sysdeps/i386/bits/linkmap.h: Likewise.
2990 * sysdeps/x86_64/bits/link.h: Renamed to ...
2991 * sysdeps/x86/bits/link.h: This.
2992 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
2993 * sysdeps/x86/bits/linkmap.h: This.
2994
f726f0bb
L
2995 * sysdeps/i386/bits/endian.h: Removed.
2996 * sysdeps/x86_64/bits/endian.h: Renamed to ...
2997 * sysdeps/x86/bits/endian.h: This.
2998
13764867
L
2999 * sysdeps/i386/bits/byteswap.h: Removed.
3000 * sysdeps/i386/bits/byteswap-16.h: Likewise.
3001 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
3002 * sysdeps/x86/bits/byteswap.h: This.
3003 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
3004 * sysdeps/x86/bits/byteswap-16.h: This.
3005 * sysdeps/i386/Implies: Add x86.
3006 * sysdeps/x86_64/Implies: Likewise.
3007
ae251b0b
DM
30082012-05-30 David S. Miller <davem@davemloft.net>
3009
3010 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
3011 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
3012 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
3013 (FP_TRAPPING_EXCEPTIONS): Define.
3014 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
3015 (FP_TRAPPING_EXCEPTIONS): Define.
3016 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
3017 subnormals only when inexact has been signalled or underflow
3018 exceptions are enabled.
3019 (_FP_PACK_CANONICAL): Likewise.
3020
d5c90867
L
30212012-05-30 H.J. Lu <hongjiu.lu@intel.com>
3022
3023 [BZ #14183]
3024 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
3025 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
3026
63f1549e
RH
30272012-05-30 Richard Henderson <rth@twiddle.net>
3028
8d8f2279
RH
3029 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
3030 with #ifndef NOT_IN_libc.
3031
63f1549e
RH
3032 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
3033 marked to avoid plt entry.
3034
0ab0291b
L
30352012-05-30 H.J. Lu <hongjiu.lu@intel.com>
3036
3037 [BZ #14112]
3038 * Makeconfig (default-abi): New macro.
3039 (abi-includes): Likewise.
3040 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
3041 $(abi-$(default-abi)-lib-soname) for soname if defined.
3042 ($(common-objpfx)gnu/lib-names.stmp): Generate from
3043 abi-variants.
3044 * Makefile (installed-stubs): Likewise.
3045 * include/stubs-biarch.h: Removed.
3046 * scripts/lib-names.awk: Only handle one library at a time.
3047 * scripts/soversions.awk: Remove WORDSIZE support.
3048 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
3049 entries.
3050 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
3051 Removed.
3052 (syscall-list-default-condition): Likewise.
3053 (syscall-list-default-condition): Likewise.
3054 (syscall-list-includes): Likewise.
3055 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
3056 syscall-list-* with abi-*. Handle undefined abi-variants.
3057 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
3058 * sysdeps/unix/sysv/linux/i386/Implies: New file.
3059 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
3060 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
3061 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
3062 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
3063 Removed.
3064 (syscall-list-32-options): Likewise.
3065 (syscall-list-32-condition): Likewise.
3066 (syscall-list-64-options): Likewise.
3067 (syscall-list-64-condition): Likewise.
3068 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
3069 macro.
3070 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
3071 Renamed to ...
3072 (abi-*): This.
3073 (abi-64-ld-soname): New macro.
3074 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
3075 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
3076 Renamed to ...
3077 (abi-*): This.
3078 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
3079 * sysdeps/x86_64/x32/shlib-versions: Likewise.
3080
4da0431d
JM
30812012-05-30 Joseph Myers <joseph@codesourcery.com>
3082
3a85279c
JM
3083 * sysdeps/unix/sysv/linux/kernel-features.h
3084 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
3085 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
3086 include <kernel-features.h>.
3087 [!__NR_ftruncate64]: Remove conditional code.
3088 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3089 [__NR_ftruncate64]: Make code unconditional.
3090 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3091 * sysdeps/unix/sysv/linux/truncate64.c: Do not
3092 include <kernel-features.h>.
3093 [!__NR_ftruncate64]: Remove conditional code.
3094 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3095 [__NR_ftruncate64]: Make code unconditional.
3096 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3097 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
3098 include <kernel-features.h>.
3099 [!__NR_ftruncate64]: Remove conditional code.
3100 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3101 [__NR_ftruncate64]: Make code unconditional.
3102 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3103 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
3104 include <kernel-features.h>.
3105 [!__NR_ftruncate64]: Remove conditional code.
3106 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3107 [__NR_ftruncate64]: Make code unconditional.
3108 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3109
4da0431d
JM
3110 * configure.in (libc_cv_fpie): Weaken to a compile test using
3111 LIBC_TRY_CC_OPTION.
3112 * configure: Regenerated.
3113
11ef492c
AK
31142012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3115
3116 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
3117 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
3118 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
3119 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
3120 Refreshed.
3121 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
3122 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
3123 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
3124 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
3125 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
3126 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
3127 Refreshed.
3128
d66ef399
DM
31292012-05-27 David S. Miller <davem@davemloft.net>
3130
3131 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
3132 (___Q_zero): New.
3133 (__Q_simulate_exceptions): Return void. Change to simulate
3134 exceptions by writing into the %fsr.
3135 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
3136 (__Qp_handle_exceptions): Likewise.
3137 (numbers): Delete.
3138 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
3139 __Qp_handle_exceptions.
3140 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
3141 __Qp_handle_exceptions.
3142 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
3143 as unused and give dummy FP_RND_NEAREST initializer.
3144 (FP_INHIBIT_RESULTS): Define.
3145 (___Q_simulate_exceptions): Update declaration.
3146 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
3147 formatting.
3148 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
3149 as unused and give dummy FP_RND_NEAREST initializer.
3150 (__Qp_handle_exceptions): Update declaration.
3151 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
3152 formatting.
3153
04fb54b5
TS
31542012-05-27 Thomas Schwinge <thomas@codesourcery.com>
3155
3156 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
3157 the temporary FPU control word.
3158 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
3159 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
3160 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
3161 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
3162 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
3163 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
3164 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
3165 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
3166 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
3167 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
3168 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
3169
3f99608f
KK
31702012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3171
3172 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
3173 fields.
3174
65a4de4e
CLT
31752012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
3176
3177 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
3178 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
3179 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
3180 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
3181 Likewise.
3182 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
3183 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
3184 Likewise.
3185
15749d40
UD
31862012-05-27 Ulrich Drepper <drepper@gmail.com>
3187
3188 * po/h.po: Update from translation team.
3189
25dbcb27
AS
31902012-05-26 Andreas Schwab <schwab@linux-m68k.org>
3191
3d3f8e55
AS
3192 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
3193
25dbcb27
AS
3194 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
3195 handling of denormals.
3196 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
3197 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
3198 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
3199 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
3200 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3201 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
3202 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
3203 Likewise.
3204
7ad47a80 32052012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
3206
3207 [BZ #14152]
3208 * math/libm-test.inc (fma_test): Don't always expect underflow
3209 exception.
3210
9c6ea9fa
SP
32112012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3212
3213 [BZ #12416]
3214 * elf/tst-execstack.c: Include stackinfo.h.
3215 (do_test): Adjust test case to ensure that pthread_getattr_np
3216 behaviour remains the same after marking stack executable.
3217
a8239222
JM
32182012-05-25 Joseph Myers <joseph@codesourcery.com>
3219
3220 * sysdeps/unix/sysv/linux/kernel-features.h
3221 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
3222 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
3223 kernel-features.h.
3224 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
3225 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
3226 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
3227 kernel-features.h.
3228 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
3229 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
3230
918b5606
L
32312012-05-25 H.J. Lu <hongjiu.lu@intel.com>
3232
3233 * configure.in: Define the default includes to being none.
3234 * configure: Regenerated.
3235
3a097cc7
RM
32362012-05-25 Roland McGrath <roland@hack.frob.com>
3237
8422c9a5
RM
3238 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
3239 * sysdeps/x86_64/setjmp.S: Likewise.
3240 * sysdeps/i386/bsd-setjmp.S: Likewise.
3241 * sysdeps/i386/bsd-_setjmp.S: Likewise.
3242 * sysdeps/i386/setjmp.S: Likewise.
3243 * sysdeps/i386/__longjmp.S: Likewise.
3244 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
3245 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
3246
3a097cc7
RM
3247 * include/stap-probe.h: New file.
3248 * configure.in: Handle --enable-systemtap.
3249 * configure: Regenerated.
3250 * config.h.in (USE_STAP_PROBE): New #undef.
3251 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
3252 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
3253 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
3254
21708942
JM
32552012-05-25 Joseph Myers <joseph@codesourcery.com>
3256
3257 [BZ #13717]
3258 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
3259 to 2.4.0 where earlier.
3260 * sysdeps/unix/sysv/linux/configure: Regenerated.
3261 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
3262 <kernel-features.h>.
3263 [__ASSUME_32BITUIDS]: Make code unconditional.
3264 [!__ASSUME_32BITUIDS]: Remove conditional code.
3265 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
3266 <kernel-features.h>.
3267 [__ASSUME_32BITUIDS]: Make code unconditional.
3268 [!__ASSUME_32BITUIDS]: Remove conditional code.
3269 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
3270 [__ASSUME_32BITUIDS]: Make code unconditional.
3271 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
3272 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
3273 <kernel-features.h>.
3274 [__ASSUME_32BITUIDS]: Make code unconditional.
3275 [!__ASSUME_32BITUIDS]: Remove conditional code.
3276 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
3277 <kernel-features.h>.
3278 [__ASSUME_32BITUIDS]: Make code unconditional.
3279 [!__ASSUME_32BITUIDS]: Remove conditional code.
3280 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
3281 <kernel-features.h>.
3282 [__ASSUME_32BITUIDS]: Make code unconditional.
3283 [!__ASSUME_32BITUIDS]: Remove conditional code.
3284 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
3285 <kernel-features.h>.
3286 [__ASSUME_32BITUIDS]: Make code unconditional.
3287 [!__ASSUME_32BITUIDS]: Remove conditional code.
3288 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
3289 <kernel-features.h>.
3290 [__ASSUME_32BITUIDS]: Make code unconditional.
3291 [!__ASSUME_32BITUIDS]: Remove conditional code.
3292 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
3293 <kernel-features.h>.
3294 [__ASSUME_32BITUIDS]: Make code unconditional.
3295 [!__ASSUME_32BITUIDS]: Remove conditional code.
3296 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
3297 <kernel-features.h>.
3298 [__ASSUME_32BITUIDS]: Make code unconditional.
3299 [!__ASSUME_32BITUIDS]: Remove conditional code.
3300 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
3301 <kernel-features.h>.
3302 [__ASSUME_32BITUIDS]: Make code unconditional.
3303 [!__ASSUME_32BITUIDS]: Remove conditional code.
3304 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
3305 <kernel-features.h>.
3306 [__ASSUME_32BITUIDS]: Make code unconditional.
3307 [!__ASSUME_32BITUIDS]: Remove conditional code.
3308 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
3309 <kernel-features.h>.
3310 [__ASSUME_32BITUIDS]: Make code unconditional.
3311 [!__ASSUME_32BITUIDS]: Remove conditional code.
3312 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
3313 <kernel-features.h>.
3314 [__NR_setresgid] (__setresgid): Do not declare.
3315 [__ASSUME_32BITUIDS]: Make code unconditional.
3316 [!__ASSUME_32BITUIDS]: Remove conditional code.
3317 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
3318 <kernel-features.h>.
3319 [__NR_setresuid] (__setresuid): Do not declare.
3320 [__ASSUME_32BITUIDS]: Make code unconditional.
3321 [!__ASSUME_32BITUIDS]: Remove conditional code.
3322 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
3323 <kernel-features.h>.
3324 [__ASSUME_32BITUIDS]: Make code unconditional.
3325 [!__ASSUME_32BITUIDS]: Remove conditional code.
3326 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
3327 <kernel-features.h>.
3328 [__ASSUME_32BITUIDS]: Make code unconditional.
3329 [!__ASSUME_32BITUIDS]: Remove conditional code.
3330 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
3331 <kernel-features.h>.
3332 [__ASSUME_32BITUIDS]: Make code unconditional.
3333 [!__ASSUME_32BITUIDS]: Remove conditional code.
3334 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
3335 <kernel-features.h>.
3336 [__ASSUME_32BITUIDS]: Make code unconditional.
3337 [!__ASSUME_32BITUIDS]: Remove conditional code.
3338 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
3339 <kernel-features.h>.
3340 [__ASSUME_32BITUIDS]: Make code unconditional.
3341 [!__ASSUME_32BITUIDS]: Remove conditional code.
3342 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
3343 <kernel-features.h>.
3344 [__ASSUME_32BITUIDS]: Make code unconditional.
3345 [!__ASSUME_32BITUIDS]: Remove conditional code.
3346 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
3347 <kernel-features.h>.
3348 [__ASSUME_32BITUIDS]: Make code unconditional.
3349 [!__ASSUME_32BITUIDS]: Remove conditional code.
3350 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
3351 <kernel-features.h>.
3352 [__ASSUME_32BITUIDS]: Make code unconditional.
3353 [!__ASSUME_32BITUIDS]: Remove conditional code.
3354 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
3355 <kernel-features.h>.
3356 [__ASSUME_32BITUIDS]: Make code unconditional.
3357 [!__ASSUME_32BITUIDS]: Remove conditional code.
3358 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
3359 <kernel-features.h>.
3360 [__ASSUME_32BITUIDS]: Make code unconditional.
3361 [!__ASSUME_32BITUIDS]: Remove conditional code.
3362 * sysdeps/unix/sysv/linux/kernel-features.h
3363 (__ASSUME_SETRESUID_SYSCALL): Remove.
3364 (__ASSUME_SETRESGID_SYSCALL): Likewise.
3365 (__ASSUME_32BITUIDS): Likewise.
3366 (__ASSUME_LDT_WORKS): Likewise.
3367 (__ASSUME_O_DIRECTORY): Likewise.
3368 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
3369 architecture but not kernel version.
3370 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
3371 (__ASSUME_MMAP2_SYSCALL): Likewise.
3372 (__ASSUME_STAT64_SYSCALL): Likewise.
3373 (__ASSUME_IPC64): Likewise.
3374 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
3375 <kernel-features.h>.
3376 [__ASSUME_32BITUIDS]: Make code unconditional.
3377 [!__ASSUME_32BITUIDS]: Remove conditional code.
3378 * sysdeps/unix/sysv/linux/opendir.c: Do not include
3379 <kernel-features.h>.
3380 [__ASSUME_O_DIRECTORY]: Make code unconditional.
3381 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
3382 132096]: Remove conditional code.
3383 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
3384 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
3385 <kernel-features.h>.
3386 [__ASSUME_32BITUIDS]: Make code unconditional.
3387 [!__ASSUME_32BITUIDS]: Remove conditional code.
3388 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
3389 <kernel-features.h>.
3390 [__ASSUME_32BITUIDS]: Make code unconditional.
3391 [!__ASSUME_32BITUIDS]: Remove conditional code.
3392 * sysdeps/unix/sysv/linux/setegid.c: Do not include
3393 <kernel-features.h>.
3394 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
3395 unconditional.
3396 (__setresgid): Do not declare.
3397 [__ASSUME_32BITUIDS]: Make code unconditional.
3398 [!__ASSUME_32BITUIDS]: Remove conditional code.
3399 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
3400 <kernel-features.h>.
3401 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
3402 unconditional.
3403 (__setresuid): Do not declare.
3404 [__ASSUME_32BITUIDS]: Make code unconditional.
3405 [!__ASSUME_32BITUIDS]: Remove conditional code.
3406 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
3407 <kernel-features.h>.
3408 [__ASSUME_32BITUIDS]: Make code unconditional.
3409 [!__ASSUME_32BITUIDS]: Remove conditional code.
3410 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
3411 <kernel-features.h>.
3412 [__ASSUME_32BITUIDS]: Make code unconditional.
3413 [!__ASSUME_32BITUIDS]: Remove conditional code.
3414
a386f1cc
RH
34152012-05-25 Richard Henderson <rth@twiddle.net>
3416
3417 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
3418 dl_hwcap to ifunc resolver.
3419 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
3420 elf_ifunc_invoke.
3421 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
3422 dl_hwcap to ifunc resolver.
3423 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
3424
b6550497
JM
34252012-05-24 Joseph Myers <joseph@codesourcery.com>
3426
3427 [BZ #14153]
3428 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
3429 for |x| <= 2**-26, not 2**-57.
3430 * math/libm-test.inc (acos_test): Do not allow spurious underflow
3431 exception.
3432
b0bc23a1
JL
34332012-05-24 Jeff Law <law@redhat.com>
3434
3435 * stdio-common/Makefile (tests): Add bug25.
3436 * stdio-common/bug25.c: New test.
3437
347c92e9
L
34382012-05-24 H.J. Lu <hongjiu.lu@intel.com>
3439
3440 [BZ #13576]
3441 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
3442 multiple of MALLOC_ALIGNMENT in size.
3443 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
3444
6bcc8b3f
JM
34452012-05-24 Joseph Myers <joseph@codesourcery.com>
3446
3447 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
3448 Require >= 256.
3449 (FILENAME_MAX): Use macro-int-constant.
3450 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
3451 (_IOFBF): Use macro-int-constant.
3452 (_IOLBF): Likewise.
3453 (_IONBF): Likewise.
3454 (SEEK_CUR): Likewise.
3455 (SEEK_END): Likewise.
3456 (SEEK_SET): Likewise.
3457 (TMP_MAX): Likewise.
3458 (EOF): Use macro-int-constant. Require < 0.
3459 (NULL): Use macro-constant. Require == 0.
3460 (stdin): Require type to be FILE *.
3461 (stdout): Likewise.
3462 (stderr): Likewise.
3463 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
3464 macro-int-constant.
3465 (EXIT_SUCCESS): Likewise.
3466 (NULL): Use macro-constant. Require == 0.
3467 (RAND_MAX): Use macro-int-constant.
3468 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
3469 [C99-based standards] (strtof): Require function.
3470 [C99-based standards] (strtold): Likewise.
3471 [C99-based standards] (strtoll): Likewise.
3472 [C99-based standards] (strtoull): Likewise.
3473 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
3474 [ISO || ISO99 || ISO11] (limits.h): Likewise.
3475 [ISO || ISO99 || ISO11] (math.h): Likewise.
3476 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
3477 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
3478 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3479
d18ea0c5
AS
34802012-05-24 Andreas Schwab <schwab@linux-m68k.org>
3481
3482 [BZ #14132]
56d25bb8
AS
3483 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
3484 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
3485 * intl/dgettext.c (DCGETTEXT): Likewise.
3486 * intl/gettext.c (DCGETTEXT): Likewise.
3487 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
3488 * posix/regex_internal.h (gettext): Likewise.
3489 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
3490 Remove declaration.
3491 * include/argz.h (__argz_count_internal)
3492 (__argz_stringify_internal): Remove declaration.
3493 (__argz_count, __argz_stringify): Declare hidden proto.
3494 * intl/dcgettext.c: Remove use of INTDEF.
3495 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
3496 * string/argz-stringify.c: Likewise.
3497 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
3498 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
3499 Declare hidden proto.
d18ea0c5
AS
3500 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
3501 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
3502 Declare hidden proto.
3503 * include/stdio.h (__asprintf_internal): Don't declare.
3504 (__asprintf): Don't define as macro. Declare hidden proto.
3505 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
3506 (__fsetlocking): Declare hidden proto.
3507 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
3508 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
3509 hidden proto.
3510 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
3511 (_IO_setlinebuf): Remove use of INTUSE.
3512 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
3513 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
3514 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
3515 Remove declaration.
3516 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
3517 (_IO_do_flush): Remove use of INTUSE.
3518 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
3519 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
3520 (_IO_adjust_column, _IO_least_wmarker)
3521 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
3522 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
3523 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
3524 (_IO_default_doallocate, _IO_wdefault_doallocate)
3525 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
3526 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
3527 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
3528 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
3529 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
3530 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
3531 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
3532 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
3533 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
3534 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
3535 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
3536 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
3537 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
3538 proto.
3539 (_IO_flush_all_internal, _IO_adjust_column_internal)
3540 (_IO_default_uflow_internal, _IO_default_finish_internal)
3541 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
3542 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
3543 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
3544 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
3545 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
3546 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
3547 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
3548 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
3549 (_IO_file_close_internal, _IO_file_close_it_internal)
3550 (_IO_file_underflow_internal, _IO_file_overflow_internal)
3551 (_IO_file_init_internal, _IO_file_attach_internal)
3552 (_IO_file_fopen_internal, _IO_file_read_internal)
3553 (_IO_file_sync_internal, _IO_file_seek_internal)
3554 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
3555 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
3556 (_IO_str_underflow_internal, _IO_str_overflow_internal)
3557 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
3558 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
3559 (_IO_list_all_internal, _IO_link_in_internal)
3560 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
3561 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
3562 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
3563 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
3564 (_IO_do_write_internal, _IO_padn_internal)
3565 (_IO_getline_info_internal, _IO_getline_internal)
3566 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
3567 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
3568 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
3569 (_IO_vfscanf_internal, _IO_vfprintf_internal)
3570 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
3571 (_IO_init_internal, _IO_un_link_internal): Don't declare.
3572 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
3573 with libc_hidden_ver, remove use of INTUSE.
3574 * libio/genops.c: Likewise.
3575 * libio/freopen.c: Likewise.
3576 * libio/freopen64.c: Likewise.
3577 * libio/iofclose.c: Likewise.
3578 * libio/iofdopen.c: Likewise.
3579 * libio/iofflush.c: Likewise.
3580 * libio/iofflush_u.c: Likewise.
3581 * libio/iofgets.c: Likewise.
3582 * libio/iofgets_u.c: Likewise.
3583 * libio/iofopen.c: Likewise.
3584 * libio/iofopncook.c: Likewise.
3585 * libio/iofread.c: Likewise.
3586 * libio/iofread_u.c: Likewise.
3587 * libio/ioftell.c: Likewise.
3588 * libio/iofwrite.c: Likewise.
3589 * libio/iogetline.c: Likewise.
3590 * libio/iogets.c: Likewise.
3591 * libio/iogetwline.c: Likewise.
3592 * libio/iopadn.c: Likewise.
3593 * libio/iopopen.c: Likewise.
3594 * libio/ioseekoff.c: Likewise.
3595 * libio/ioseekpos.c: Likewise.
3596 * libio/iosetbuffer.c: Likewise.
3597 * libio/iosetvbuf.c: Likewise.
3598 * libio/ioungetc.c: Likewise.
3599 * libio/ioungetwc.c: Likewise.
3600 * libio/iovdprintf.c: Likewise.
3601 * libio/iovsprintf.c: Likewise.
3602 * libio/iovsscanf.c: Likewise.
3603 * libio/memstream.c: Likewise.
3604 * libio/obprintf.c: Likewise.
3605 * libio/oldfileops.c: Likewise.
3606 * libio/oldiofclose.c: Likewise.
3607 * libio/oldiofdopen.c: Likewise.
3608 * libio/oldiofopen.c: Likewise.
3609 * libio/oldiopopen.c: Likewise.
3610 * libio/oldstdfiles.c: Likewise.
3611 * libio/putc.c: Likewise.
3612 * libio/setbuf.c: Likewise.
3613 * libio/setlinebuf.c: Likewise.
3614 * libio/stdfiles.c: Likewise.
3615 * libio/strops.c: Likewise.
3616 * libio/vasprintf.c: Likewise.
3617 * libio/vscanf.c: Likewise.
3618 * libio/vsnprintf.c: Likewise.
3619 * libio/vswprintf.c: Likewise.
3620 * libio/wfiledoalloc.c: Likewise.
3621 * libio/wfileops.c: Likewise.
3622 * libio/wgenops.c: Likewise.
3623 * libio/wmemstream.c: Likewise.
3624 * libio/wstrops.c: Likewise.
3625 * libio/__fpurge.c: Likewise.
3626 * libio/__fsetlocking.c: Likewise.
3627 * assert/assert.c: Likewise.
3628 * debug/fgets_chk.c: Likewise.
3629 * debug/fgets_u_chk.c: Likewise.
3630 * debug/fread_chk.c: Likewise.
3631 * debug/fread_u_chk.c: Likewise.
3632 * debug/gets_chk.c: Likewise.
3633 * debug/obprintf_chk.c: Likewise.
3634 * debug/vasprintf_chk.c: Likewise.
3635 * debug/vdprintf_chk.c: Likewise.
3636 * debug/vsnprintf_chk.c: Likewise.
3637 * debug/vsprintf_chk.c: Likewise.
3638 * malloc/mtrace.c: Likewise.
3639 * misc/error.c: Likewise.
3640 * misc/syslog.c: Likewise.
3641 * stdio-common/asprintf.c: Likewise.
3642 * stdio-common/fxprintf.c: Likewise.
3643 * stdio-common/getw.c: Likewise.
3644 * stdio-common/isoc99_fscanf.c: Likewise.
3645 * stdio-common/isoc99_scanf.c: Likewise.
3646 * stdio-common/isoc99_vfscanf.c: Likewise.
3647 * stdio-common/isoc99_vscanf.c: Likewise.
3648 * stdio-common/isoc99_vsscanf.c: Likewise.
3649 * stdio-common/printf-prs.c: Likewise.
3650 * stdio-common/printf_fp.c: Likewise.
3651 * stdio-common/printf_fphex.c: Likewise.
3652 * stdio-common/printf_size.c: Likewise.
3653 * stdio-common/putw.c: Likewise.
3654 * stdio-common/scanf.c: Likewise.
3655 * stdio-common/sprintf.c: Likewise.
3656 * stdio-common/tmpfile.c: Likewise.
3657 * stdio-common/vfprintf.c: Likewise.
3658 * stdio-common/vfscanf.c: Likewise.
3659 * stdlib/strfmon_l.c: Likewise.
3660 * sunrpc/openchild.c: Likewise.
3661 * sunrpc/xdr_stdio.c: Likewise.
3662 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
3663 * sysdeps/mach/hurd/tmpfile.c: Likewise.
3664
d6c33fda
RM
36652012-05-24 Roland McGrath <roland@hack.frob.com>
3666
c1487492
RM
3667 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
3668
3669 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
3670 in the third column, to generate for the shared library an IFUNC
3671 that uses _dl_vdso_vsym.
3672 * Makerules (COMPILE.c, compile-stdin.c): New variables.
3673 * Makeconfig (object-suffixes-noshared): New variable.
3674
3675 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
3676 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
3677 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
3678 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
3679
d6c33fda
RM
3680 [BZ #14132]
3681 * include/sys/time.h (__gettimeofday): Remove macro.
3682 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
3683 * time/gettimeofday.c (__gettimeofday): Remove #undef.
3684 Remove INTDEF.
3685 (__gettimeofday): Add libc_hidden_def.
3686 (gettimeofday): Add libc_hidden_weak.
3687 * sysdeps/mach/gettimeofday.c: Likewise.
3688 * sysdeps/posix/gettimeofday.c: Likewise.
3689 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
3690 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
3691 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
3692 (__gettimeofday_internal): Remove strong_alias.
3693 (__gettimeofday): Add libc_hidden_def.
3694 (gettimeofday): Add libc_hidden_weak.
3695 * sysdeps/unix/syscalls.list (gettimeofday):
3696 Remove __gettimeofday_internal alias.
3697
b5a2bbe6
L
36982012-05-24 Daniel Jacobowitz <drow@false.org>
3699 H.J. Lu <hongjiu.lu@intel.com>
3700
3701 [BZ #12495]
3702 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
3703 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
3704 (largebin_index_32_big): New.
3705 (largebin_index): Use it for 16-byte alignment.
3706 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
3707 correction with front_misalign.
3708
cfba4fda
L
37092012-05-24 H.J. Lu <hongjiu.lu@intel.com>
3710
7f907421
L
3711 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
3712 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
3713 Likewise.
3714 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
3715 Likewise.
3716 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
3717 Likewise.
3718 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
3719 Likewise.
3720 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
3721 Likewise.
3722 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
3723 Likewise.
3724 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
3725 Likewise.
3726 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
3727 Likewise.
3728 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
3729 Likewise.
3730 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
3731 Likewise.
3732 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
3733 Likewise.
3734 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
3735 Likewise.
3736
cfba4fda
L
3737 * scripts/data/c++-types-x32-linux-gnu.data: New file.
3738 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
3739
80bad0cc
JM
37402012-05-24 Joseph Myers <joseph@codesourcery.com>
3741
7a25eb06
JM
3742 [BZ #10846]
3743 [BZ #14036]
3744 * math/libm-test.inc (exp_test): Add test from bug 14036.
3745 (pow_test): Add test from bug 10846.
3746
795405f9
JM
3747 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
3748 and other flags.
3749 (special_function): Do not include flags in test name.
3750 (parse_args): Likewise.
3751 * sysdeps/i386/fpu/libm-test-ulps: Update.
3752 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3753 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3754 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
3755 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3756
80bad0cc
JM
3757 * math/gen-libm-test.pl (%beautify): Add entries for underflow
3758 exceptions.
3759 * math/libm-test.inc ("Philosophy"): Update comment about
3760 exception testing.
3761 (UNDERFLOW_EXCEPTION): New macro.
3762 (UNDERFLOW_EXCEPTION_OK): Likewise.
3763 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
3764 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
3765 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
3766 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
3767 (INVALID_EXCEPTION_OK): Update value.
3768 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
3769 (OVERFLOW_EXCEPTION_OK): Likewise.
3770 (IGNORE_ZERO_INF_SIGN): Likewise.
3771 (test_exceptions): Handle underflow exceptions.
3772 (acos_test): Update for underflow exception expectations.
3773 (cexp_test): Likewise.
3774 (clog_test): Likewise.
3775 (clog10_test): Likewise.
3776 (csqrt_test): Likewise.
3777 (ctan_test): Likewise.
3778 (ctanh_test): Likewise.
3779 (exp_test): Likewise.
3780 (exp10_test): Likewise.
3781 (exp2_test): Likewise.
3782 (expm1_test): Likewise.
3783 (fma_test): Likewise.
3784 (j0_test): Likewise.
3785 (jn_test): Likewise.
3786 (nexttoward_test): Likewise.
3787 (pow_test): Likewise.
3788 (scalbn_test): Likewise.
3789 (scalbln_test): Likewise.
3790 (tan_test): Likewise.
3791 (y1_test): Likewise.
3792 * sysdeps/i386/fpu/libm-test-ulps: Update.
3793 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3794
9e0e3d0b
DM
37952012-05-23 David S. Miller <davem@davemloft.net>
3796
3797 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
3798 (__libc_sigaction): Remove unused local variables.
3799
ccd0a08f
L
38002012-05-23 H.J. Lu <hongjiu.lu@intel.com>
3801
3802 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
3803
62bdf9a6
PE
38042012-05-23 Paul Eggert <eggert@cs.ucla.edu>
3805
f8591f80
PE
3806 mktime: avoid signed integer overflow
3807 * time/mktime.c (__mktime_internal): Do not mishandle the case
3808 where diff == INT_MIN.
3809
94c7d826
PE
3810 mktime: simplify computation of average
3811 * time/mktime.c (ranged_convert): Use new time_t_avg function
3812 instead of rolling our own (probably-slower) code.
3813
ce73d683
PE
3814 mktime: do not assume signed right shift propagates sign bit
3815 * time/mktime.c (isdst_differ): New static function.
3816 (__mktime_internal): No need to normalize tm_isdst now.
3817 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
3818 tm_isdst values.
3819
72a22e59
PE
3820 mktime: merge another wrapv change from gnulib
3821 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
3822 from some compilers.
3823
68605433
PE
3824 mktime: remove incorrect attempt at unusual arithmetics
3825 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
3826 The code didn't really work on such machines anyway.
3827 (TYPE_MINIMUM): Assume two's complement.
3828 (twos_complement_arithmetic): Verify that long_int and time_t
3829 are two's complement (or unsigned, in the latter case).
3830
03cf7fe3
PE
3831 mktime: check signed shifts on long_int and time_t, too
3832 * time/mktime.c (SHR): Check that shifts work as desired
3833 on the types long_int and time_t too, as SHR is used on
3834 such types.
3835
f04dfbc2
PE
3836 mktime: do not assume 'long' is wide enough
3837 * time/mktime.c (verify): Move decl up.
3838 (long_int): New type.
3839 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
3840 to remove assumption in the code that 'long' is wide enough to
3841 store year values. This assumption is not true on x32 and on
3842 some non-glibc platforms.
3843
62bdf9a6
PE
3844 mktime: merge wrapv change from gnulib
3845 * time/mktime.c (WRAPV): New macro.
3846 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
3847 (guess_time_tm, __mktime_internal): Do not assume that signed
3848 integer overflow wraps around; modern compilers generate code
3849 where this assumption is no longer valid.
3850
5e292e4f
L
38512012-05-23 H.J. Lu <hongjiu.lu@intel.com>
3852
3853 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
3854 Replace "jmp L(pseudo_end)" with "ret".
3855 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
3856 Likewise.
3857
8caf8c87
AJ
38582012-05-23 Andreas Jaeger <aj@suse.de>
3859
3860 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
3861 * sysdeps/unix/sysv/linux/poll.c: Remove file.
3862
1a09dc56
AJ
38632012-05-23 Andreas Jaeger <aj@suse.de>
3864 Maximilian Attems <max@stro.at>
3865
3866 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
3867 New macros.
3868
1c87aba0
L
38692012-05-23 H.J. Lu <hongjiu.lu@intel.com>
3870
3871 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
3872 code so that pseudo_end is just ret and the stack pointer is
3873 correct also for static library in error case.
3874
40e45bd5
JM
38752012-05-23 Joseph Myers <joseph@codesourcery.com>
3876
c2670533
JM
3877 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
3878 move to syscalls.list.
3879 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
3880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
3881 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
3882 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
3883
40e45bd5
JM
3884 * manual/install.texi (Running make install): Do not mention Linux
3885 kernel version for which pt_chown is not needed.
3886 (Linux): Do not mention problems with nscd with 2.0 kernels.
3887 * INSTALL: Regenerated.
3888
be08eda5
AJ
38892012-05-23 Andreas Jaeger <aj@suse.de>
3890
3891 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
3892 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
3893 macro.
3894 * sysdeps/unix/sysv/linux/s390/bits/mman.h
3895 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3896 * sysdeps/unix/sysv/linux/sh/bits/mman.h
3897 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3898 * sysdeps/unix/sysv/linux/i386/bits/mman.h
3899 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3900 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
3901 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3902 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
3903 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3904 * sysdeps/unix/sysv/linux/bits/in.h
3905 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
3906
a6a056bb
RM
39072012-05-22 Roland McGrath <roland@hack.frob.com>
3908
3909 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
3910 (PREPARE_VERSION): Just use assert instead, it will be elided
3911 under [NDEBUG] anyway.
3912
c9009328
L
39132012-05-22 H.J. Lu <hongjiu.lu@intel.com>
3914
3915 * sysdeps/unix/sysv/linux/Makefile: Include
3916 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 3917 (sysdep_routines): Remove sysctl.
c9009328
L
3918 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
3919 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
3920 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
3921 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
3922 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
3923
73338355
AJ
39242012-05-22 Andreas Jaeger <aj@suse.de>
3925
3926 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
3927 that pseudo_end is just ret and the stack pointer is correct also
3928 for static library in error case.
3929
d44638b0
PP
39302012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
3931
3932 [BZ #14122]
3933 * nss/nsswitch.c (defconfig_entries): New variable.
3934 (__nss_database_lookup): Don't leak defconfig entries.
3935 (nss_parse_service_list): Don't leak on error paths.
3936 (free_database_entries): New function.
3937 (free_defconfig): New function.
3938 (free_mem): Move common code to free_database_entries.
3939
31a39bd8
L
39402012-05-22 H.J. Lu <hongjiu.lu@intel.com>
3941
da0331a8
L
3942 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
3943 Add arch_prctl.
3944 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
3945
31a39bd8
L
3946 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
3947 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
3948 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
3949 New macro.
3950 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
3951 (INTERNAL_SYSCALL_TYPES): Likewise.
3952 (LOAD_ARGS_TYPES_[1-6]): Likewise.
3953 (LOAD_REGS_TYPES_[1-6]): Likewise.
3954 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
3955 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
3956
45470df3
AZ
39572012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3958
3959 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
3960 copysignl for GLIBC_2_0.
3961 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
3962 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
3963 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
3964 logbl for GLIBC_2_0.
3965 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
3966 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
3967
98a61bcb
L
39682012-05-22 H.J. Lu <hongjiu.lu@intel.com>
3969
a4f6e481
L
3970 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
3971 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
3972
f63d5db6
L
3973 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
3974 Use "neg %eax".
3975
98a61bcb
L
3976 * time/mktime.c: Update copyright years.
3977
95770f14
PE
39782012-05-22 Paul Eggert <eggert@cs.ucla.edu>
3979
6226efbd
PE
3980 mktime: merge comment-quoting-style change from gnulib
3981 * time/mktime.c: Quote 'like this' in comments.
3982 The GNU coding standards suggest that we no longer quote `like this',
3983 as "`" and "'" are typically rendered asymmetrically nowadays.
3984 The typical gnulib style is to quote 'like this' when quoting
3985 code, and "like this" when quoting English.
3986
b99e4f78
PE
3987 * time/mktime.c (compile-command): Add "-I.".
3988
643e01e6
PE
3989 mktime: merge mktime-internal.h change from gnulib
3990 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
3991
2554247d
PE
3992 mktime: merge time_r change from gnulib
3993 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
3994
826dd0ab
PE
3995 mktime: merge DEBUG change from gnulib
3996 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
3997 case system <time.h> has a #define.
3998
bd83aabe
PE
3999 mktime: merge <sys/types.h> change from gnulib
4000 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
4001 since <time.t> is now guaranteed to define time_t.
4002
95770f14
PE
4003 mktime: merge HAVE_CONFIG_H change from gnulib
4004 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
4005
5e1a27a9
L
40062012-05-22 H.J. Lu <hongjiu.lu@intel.com>
4007
0e44a77e
L
4008 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
4009 Use "neg %eax".
4010
5e1a27a9
L
4011 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
4012 __rlim_t cast.
4013 (struct rusage): Use anonymous union to pad each field to
4014 __syscall_slong_t.
4015
46259bec
DM
40162012-05-21 David S. Miller <davem@davemloft.net>
4017
4018 * Makefules (o-iterator): Remove .s cases.
4019 (compile-command.s): Delete.
4020 (COMPILE.s): Delete.
4021 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
4022
59f0c22e
JM
40232012-05-21 Joseph Myers <joseph@codesourcery.com>
4024
4025 * configure.in (libc_cv_predef_stack_protector): Only consider
4026 "foobar" and "__stack_chk_fail" lines in libc_undefs.
4027 * configure: Regenerated.
4028
20c07380
L
40292012-05-21 H.J. Lu <hongjiu.lu@intel.com>
4030
bbb3154b
L
4031 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
4032 New macro. Use R*LP on int and pointer.
4033 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
4034 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
4035 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
4036 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
4037
20c07380
L
4038 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
4039 [__WORDSIZE_TIME64_COMPAT32] instead of
4040 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
4041 (struct utmp): Likewise.
4042 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
4043 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
4044 Renamed to ...
4045 (__WORDSIZE_TIME64_COMPAT32): This.
4046 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
4047 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
4048 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
4049 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
4050 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
4051 (__WORDSIZE_TIME64_COMPAT32): New macro.
4052
d8d1017e
AJ
40532012-05-21 Andreas Jaeger <aj@suse.de>
4054
4055 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
4056 only if [SHARED]. Add prototype for __wcschr_ia32.
4057
6c7fb145
RM
40582012-05-21 Roland McGrath <roland@hack.frob.com>
4059
4060 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
4061 of %rbp unmolested in the jmp_buf while mangling the low bits.
4062 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
4063 unmolested high bits of %rbp while demangling the low bits.
4064 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
4065
66274218
AJ
40662012-05-21 Andreas Jaeger <aj@suse.de>
4067
07c58f8f
AJ
4068 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
4069 * sunrpc/svc_simple.c: Use it for registerrpc.
4070 * sunrpc/xcrypt.c: Use it for passwd2des.
4071
66274218
AJ
4072 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
4073
61f65140
L
40742012-05-21 H.J. Lu <hongjiu.lu@intel.com>
4075
4076 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
4077 Don't define if [__SYSCALL_WORDSIZE != 32].
4078 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
4079 New macro.
4080
5fefb436
AJ
40812012-05-21 Bruno Haible <bruno@clisp.org>
4082 Andreas Jaeger <aj@suse.de>
4083
4084 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
4085 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
4086 inptr and inend for must_buffer_ch.
4087 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
4088 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
4089 * stdio-common/Makefile (tests): Remove bug15.
4090 (bug15-ENV): Remove macro.
4091 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
4092 anymore.
4093
d8e272ab
AJ
40942012-05-19 Andreas Jaeger <aj@suse.de>
4095 Roland McGrath <roland@hack.frob.com>
4096
4097 * manual/contrib.texi: Completely rewritten. It contains now an
4098 alphabetical list of contributors and their contributions.
4099
4a56a162
RH
41002012-05-21 Richard Henderson <rth@twiddle.net>
4101
4102 * misc/getauxval.c (__getauxval): Use unsigned long int.
4103 * misc/sys/auxv.h: Include <sys/cdefs.h>.
4104 (getauxval): Use unsigned long int.
4105
d024d23c
L
41062012-05-21 H.J. Lu <hongjiu.lu@intel.com>
4107
4108 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
4109
cbc00a03
RM
41102012-05-21 Roland McGrath <roland@hack.frob.com>
4111
4112 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
4113 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
4114 __alignof__ (long double).
4115
478143fa
AZ
41162012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4117
4118 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4119
c7683a6d
RH
41202012-05-20 Richard Henderson <rth@twiddle.net>
4121
4122 * misc/getauxval.c: New file.
4123 * misc/sys/auxv.h: New file.
4124 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
4125 (routines): Add getauxval.
4126 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
4127 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
4128 * elf/dl-sysdep.c (_dl_auxv): Remove.
4129 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
4130 * elf/dl-support.c (_dl_auxv): New variable.
4131 (_dl_aux_init): Initialize it.
4132 * manual/startup.texi (Auxiliary Vector): New node.
4133 * sysdeps/generic/bits/hwcap.h: New file.
4134 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
4135 * sysdeps/powerpc/sysdep.h: ... here. Include it.
4136 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
4137 * sysdeps/sparc/sysdep.h: ... here. Include it.
4138 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
4139 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
4140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4141 Update.
c7683a6d
RH
4142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
4143 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
4144 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
4145 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
4146 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
4147 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
4148 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
4149 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
4150
a6f1845d
AZ
41512012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4152
4153 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4154
cbcbe830
DM
41552012-05-19 David S. Miller <davem@davemloft.net>
4156
4157 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4158
e0b16cc2
JM
41592012-05-19 Joseph Myers <joseph@codesourcery.com>
4160
4161 [BZ #14123]
4162 * math/s_ccosh.c: Include <float.h>
4163 (__ccosh): Avoid internal overflow calculating sinh and cosh
4164 values before multiplying by sin and cos values.
4165 * math/s_ccoshf.c: Likewise.
4166 * math/s_ccoshl.c: Likewise.
4167 * math/s_csin.c: Likewise.
4168 * math/s_csinf.c: Likewise.
4169 * math/s_csinl.c: Likewise.
4170 * math/s_csinh.c: Likewise.
4171 * math/s_csinhf.c: Likewise.
4172 * math/s_csinhl.c: Likewise.
4173 * math/libm-test.inc (ccos_test): Add more tests.
4174 (ccosh_test): Likewise.
4175 (csin_test): Likewise.
4176 (csinh_test): Likewise.
4177 * sysdeps/i386/fpu/libm-test-ulps: Update.
4178 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4179
6ad13e08
L
41802012-05-19 H.J. Lu <hongjiu.lu@intel.com>
4181
f66f0ce8
L
4182 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
4183 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
4184
6ad13e08
L
4185 * sysdeps/x86_64/x32/_itoa.h: Add comment.
4186
b1d072a7
JM
41872012-05-19 Joseph Myers <joseph@codesourcery.com>
4188
4189 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
4190 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
4191 * sysdeps/powerpc/soft-fp/Versions: Likewise.
4192 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
4193 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
4194 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
4195 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
4196 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
4197 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
4198 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
4199 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
4200 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
4201 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
4202 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
4203 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
4204 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
4205 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
4206 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
4207 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
4208 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
4209 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
4210 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
4211 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
4212 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
4213 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
4214 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
4215 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
4216 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
4217 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
4218 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
4219 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
4220
9eae47cb
AJ
42212012-05-18 Andreas Jaeger <aj@suse.de>
4222
4223 * csu/.gitignore: Delete.
4224
bb07f69f
L
42252012-05-18 H.J. Lu <hongjiu.lu@intel.com>
4226
4227 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
4228 (timex): Use __syscall_slong_t.
4229
e6bdb741
AJ
42302012-05-18 Andreas Jaeger <aj@suse.de>
4231 Carlos O'Donell <carlos_odonell@mentor.com>
4232
4233 * manual/install.texi (Configuring and compiling): Update
4234 description about files modified in the source directory.
d6c33fda 4235 * INSTALL: Regenerated.
e6bdb741 4236
1b74487e
L
42372012-05-18 H.J. Lu <hongjiu.lu@intel.com>
4238
4239 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
4240 value. Use "or" to set return value to -1.
4241 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
4242 negate return value.
4243
a88b64b9
TMQMF
42442012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4245
4246 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
4247 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
4248 failure if the compiler has Graphite support disabled.
4249 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
4250 Likewise.
4251 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
4252 CFLAGS-memmove.c): Likewise.
4253 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
4254 Likewise.
4255
3707636e
L
42562012-05-18 H.J. Lu <hongjiu.lu@intel.com>
4257
610b8622
L
4258 * sysdeps/x86_64/x32/_itoa.h: New file.
4259
7cd195df
L
4260 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
4261 getdents system call only if kernel and user dirents have the
4262 same d_ino and d_off.
4263
94b07d20
L
4264 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
4265 LLONG_MAX != LONG_MAX.
4266 (_itoa_word): Use _ITOA_WORD_TYPE on value.
4267 (_fitoa_word): Likewise.
4268
18298070
L
4269 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
4270 years.
4271 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
4272 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
4273 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
4274
553c7ea4
L
4275 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
4276 include <bits/wordsize.h>. Check __x86_64__ instead of
4277 __WORDSIZE.
4278 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
4279 if __x86_64__ is defined. Use anonymous union on fpstate.
4280
3707636e
L
4281 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
4282 anonymous union.
4283
b53ef01a
AS
42842012-05-18 Andreas Schwab <schwab@linux-m68k.org>
4285
37fb1dc0
AS
4286 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
4287 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
4288 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
4289 Refer to _rtld_local_ro instead of _rtld_global_ro.
4290 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
4291 Likewise.
4292 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
4293 Likewise.
4294 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
4295 Likewise.
4296 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
4297 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
4298 of _rtld_global, and rtld_progname instead of _dl_argv[0].
4299
b53ef01a
AS
4300 * sysdeps/powerpc/powerpc32/dl-machine.c
4301 (__elf_machine_runtime_setup) [PROF]: Don't reference
4302 _dl_prof_resolve.
4303
7a185db2
AJ
43042012-05-18 Andreas Jaeger <aj@suse.de>
4305
4306 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
4307 function only available for GCCs before 3.4 since GCC 3.4
4308 introduced a builtin.
4309 (lrint): Likewise.
4310 (llrintf): Likewise.
4311 (llrint): Likewise.
4312 (fmaxf): Likewise.
4313 (fmax): Likewise.
4314 (fminf): Likewise.
4315 (fmin): Likewise.
4316 (rint): Likewise.
4317 (rintf): Likewise.
4318 (nearbyint): Likewise.
4319 (nearbyintf): Likewise.
4320 (ceil): Likewise.
4321 (ceilf): Likewise.
4322 (floor): Likewise.
4323 (floorf): Likewise.
4324
3e5aef87
L
43252012-05-17 H.J. Lu <hongjiu.lu@intel.com>
4326
428bd707
L
4327 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
4328 on both fields and cast pointer to __syscall_ulong_t.
4329
3e5aef87
L
4330 * bits/types.h (__fsword_t): New type.
4331 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
4332 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
4333 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4334 (__FSWORD_T_TYPE): Likewise.
4335 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4336 (__FSWORD_T_TYPE): Likewise.
4337 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4338 (__FSWORD_T_TYPE): Likewise.
4339 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
4340 (__FSWORD_T_TYPE): Likewise.
4341 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
4342 __SWORD_TYPE with __fsword_t.
4343 (statfs64): Likewise.
4344
1ba7c3dc
DM
43452012-05-17 David S. Miller <davem@davemloft.net>
4346
4347 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
4348
59910343
AJ
43492012-05-17 Andreas Jaeger <aj@suse.de>
4350
4351 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
4352 warning.
4353
2e4c1e9e
L
43542012-05-17 H.J. Lu <hongjiu.lu@intel.com>
4355
4356 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
4357
de7f5ce7
AJ
43582012-05-17 Andreas Jaeger <aj@suse.de>
4359
4360 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
4361 when it is used.
4362
286abc3d
CM
43632012-05-17 Chris Metcalf <cmetcalf@tilera.com>
4364
4365 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
4366
477cc68e
L
43672012-05-17 H.J. Lu <hongjiu.lu@intel.com>
4368
4369 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
4370 * sysdeps/x86_64/tst-mallocalign1.c: New file.
4371
1a0994f5
CD
43722012-05-17 Andreas Jaeger <aj@suse.de>
4373 Carlos O'Donell <carlos_odonell@mentor.com>
4374
4375 [BZ #14059]
4376 * sysdeps/x86_64/multiarch/init-arch.h
4377 (bit_YMM_Usable): Rename to...
4378 (bit_AVX_Usable): ... this.
4379 (bit_FMA4_Usable): New macro.
4380 (bit_XMM_state): New macro.
4381 (bit_YMM_state): New macro.
4382 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
4383 [__ASSEMBLER__] (index_AVX_Usable): ... this.
4384 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
4385 (CPUID_OSXSAVE): New macro.
4386 (CPUID_AVX): New macro.
4387 (CPUID_FMA4): New macro.
4388 (index_YMM_Usable): Rename to...
4389 (index_AVX_Usable): ... this.
4390 (HAS_AVX): Use HAS_ARCH_FEATURE.
4391 (HAS_FMA4): Likewise.
4392 (HAS_YMM_USABLE): Remove.
4393 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4394 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
4395 are present.
4396 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
4397 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
4398 * sysdeps/x86_64/multiarch/Makefile: Likewise.
4399 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
4400 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
4401
0af797de
CM
44022012-05-17 Chris Metcalf <cmetcalf@tilera.com>
4403
4404 * math/libm-test.c: Support platforms without multiple rounding modes.
4405 * math/bug-nextafter.c: Support platforms without FP exceptions.
4406 * math/bug-nexttoward.c: Likewise.
4407 * math/test-fenv.c: Likewise.
4408 * math/test-misc.c: Likewise.
4409 * stdlib/bug-getcontext.c: Likewise.
4410
e39745ff
AJ
44112012-05-17 Andreas Jaeger <aj@suse.de>
4412
4413 * manual/examples/search.c (critter_cmp): Change signature to
4414 avoid warnings.
4415 * manual/string.texi (Collation Functions): Likewise.
4416
48970aba
L
44172012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4418
4419 * bits/types.h: Fold copyright years.
4420 * bits/typesizes.h: Likewise.
4421 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
4422 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
4423 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
4424 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
4425 * time/time.h: Likewise.
4426
bedee953
PP
44272012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
4428
4429 [BZ #208]
4430 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
4431 in instead of returning them. Return void.
4432 (__libc_mallinfo): Accumulate over all arenas.
4433 (__malloc_stats): Adjust for change in int_mallinfo interface.
4434
61653dfb
RM
44352012-05-16 Roland McGrath <roland@hack.frob.com>
4436
30b99d79
RM
4437 [BZ #10375]
4438 * configure.in (NM): Add AC_CHECK_TOOL for it.
4439 (libc_extra_cflags): New substituted variable.
4440 Check for -fstack-protector being used implicitly.
4441 * configure: Regenerated.
4442 * config.make.in (config-extra-cflags): New variable,
4443 gets @libc_extra_cflags@.
4444 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
4445
61653dfb
RM
4446 [BZ #10375]
4447 * configure.in: Check for _FORTIFY_SOURCE being predefined.
4448 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
4449 * configure: Regenerated.
4450 * config.make.in (CPPUNDEFS): New substituted variable.
4451 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
4452 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
4453 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
4454
661768bb
L
44552012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4456
4457 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
4458 (mq_attr): Use __syscall_slong_t.
4459
d4261567
L
44602012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4461
4462 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
4463 Check __x86_64__ instead of __WORDSIZE.
4464 (_STAT_VER_LINUX): Likewise.
4465 (stat): Check __x86_64__ instead of __WORDSIZE. Use
4466 __syscall_ulong_t and __syscall_slong_t.
4467 (stat64): Likewise.
4468
cf3ff365
L
44692012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4470
4471 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
4472
76cf3e4d
L
44732012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4474
4475 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
4476
a637753a
L
44772012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4478
4479 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
4480 __syscall_ulong_t.
4481
d5e05119
L
4482 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
4483 include <bits/wordsize.h>. Check __x86_64__ instead of
4484 __WORDSIZE.
4485 (greg_t): Use "__extension__ long long int" if __x86_64__ is
4486 defined.
4487 (mcontext_t): Replace "unsigned long" with "unsigned long long".
4488
f62ee380
L
4489 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
4490 include <bits/wordsize.h>. Check __x86_64__ instead of
4491 __WORDSIZE.
4492 (user_regs_struct): Use "__extension__ unsigned long long"
4493 instead of "unsigned long" if __x86_64__ is defined.
4494 (user): Likewise. Pad after pointer field if __ILP32__ is
4495 defined.
4496
4e124ced
JM
44972012-05-16 Joseph Myers <joseph@codesourcery.com>
4498
6a3951a0
JM
4499 * configure.in (makeinfo): Require version 4.5 or later. Allow
4500 versions 5 to 9.
4501 * configure: Regenerated.
4502 * manual/install.texi (texinfo): Increase version requirement to
4503 4.5 or later.
4504 * INSTALL: Regenerated.
4505
4e124ced
JM
4506 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
4507
953ca31a
L
45082012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4509
4510 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
4511
617aca05
L
4512 * sysdeps/x86_64/x32/ffs.c: New file.
4513
5762f7ae
L
4514 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
4515 __syscall_ulong_t.
4516 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
4517 defined. Use __syscall_ulong_t.
4518 (shminfo): Use __syscall_ulong_t.
4519 (shm_info): Likewise.
4520
a26b6856
L
4521 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
4522 __syscall_ulong_t.
4523
cb2b9ef7
L
4524 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
4525 <bits/wordsize.h>.
4526 (msgqnum_t): Use __syscall_ulong_t.
4527 (msglen_t): Likewise.
4528 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
4529 __syscall_ulong_t.
4530
34683bb0
L
4531 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
4532 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
4533
84a68786
L
4534 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
4535
48baa5f1
L
4536 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
4537 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
4538
180be88b
L
4539 * sysvipc/sys/msg.h (msgbuf): Replace long int with
4540 __syscall_slong_t.
4541
5e90c8ad
L
4542 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
4543 include <bits/wordsize.h>. Check __x86_64__ instead of
4544 __WORDSIZE.
4545
23dfb58b
L
4546 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
4547 "unsigned long long int" if __x86_64__ is defined.
4548 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
4549
ce5d54b0
L
4550 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
4551 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
4552 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
4553
13dc9eac
L
4554 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
4555 <stdint.h>.
4556 (GET_PC): Cast to uintptr_t first.
4557 (GET_FRAME): Likewise.
4558 (GET_STACK): Likewise.
4559
a7895d15
L
4560 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
4561 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
4562 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
4563 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
4564 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
4565 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
4566 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
4567 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
4568 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
4569 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
4570 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
4571 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
4572 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
4573 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
4574 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
4575 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
4576 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
4577 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
4578 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
4579 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
4580 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
4581 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
4582 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
4583 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
4584 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
4585 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
4586 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
4587 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
4588 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
4589
656416c9
AS
45902012-05-16 Andreas Schwab <schwab@linux-m68k.org>
4591
5bd66283
AS
4592 * Makerules (+depfiles): Also collect depfiles from .oS in
4593 $(extra-objs).
4594 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
4595 .oS, $(libnldbl-routines)).
4596
656416c9
AS
4597 * Makerules (native-compile-mkdep-flags): Define.
4598 * sunrpc/Makefile (extra-objs): Add $(addprefix
4599 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
4600 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
4601 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
4602 calling $(make-target-directory).
4603
a46f2169
L
46042012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4605
4606 * bits/types.h (__snseconds_t): Removed.
4607 * time/time.h (struct timespec): Replace __snseconds_t with
4608 __syscall_slong_t.
4609 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
4610 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
4611 Likewise.
4612 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4613 (__SNSECONDS_T_TYPE): Likewise.
4614 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4615 (__SNSECONDS_T_TYPE): Likewise.
4616 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4617 (__SNSECONDS_T_TYPE): Likewise.
4618
6af6528b
L
46192012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4620
4621 * sysdeps/mach/hurd/bits/typesizes.h
4622 (__SYSCALL_SLONG_TYPE): New macro.
4623 (__SYSCALL_ULONG_TYPE): Likewise.
4624
de986b56
L
46252012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4626
4627 * bits/types.h (__syscall_slong_t): New type.
4628 (__syscall_ulong_t): Likewise.
4629
4630 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
4631 (__SYSCALL_ULONG_TYPE): Likewise.
4632 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4633 (__SYSCALL_SLONG_TYPE): Likewise.
4634 (__SYSCALL_ULONG_TYPE): Likewise.
4635 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4636 (__SYSCALL_SLONG_TYPE): Likewise.
4637 (__SYSCALL_ULONG_TYPE): Likewise.
4638 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4639 (__SYSCALL_SLONG_TYPE): Likewise.
4640 (__SYSCALL_ULONG_TYPE): Likewise.
4641
85736dc7
L
46422012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4643
4644 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
4645 Add sigaltstack-offsets.sym.
4646 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
4647 <sigaltstack-offsets.h>.
4648 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
4649 longjmp_msg pointer.
4650 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
4651 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
4652 signal stack.
4653 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
4654
cc03b296
JM
46552012-05-15 Joseph Myers <joseph@codesourcery.com>
4656
a9538892
JM
4657 * elf/stackguard-macros.h: Remove file.
4658 * sysdeps/generic/stackguard-macros.h: New file.
4659 * sysdeps/i386/stackguard-macros.h: Likewise.
4660 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
4661 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
4662 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
4663 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
4664 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
4665 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
4666 * sysdeps/x86_64/stackguard-macros.h: Likewise.
4667 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
4668 <elf/stackguard-macros.h>.
4669
cc03b296
JM
4670 [BZ #14109]
4671 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
4672 __aligned__ in attribute.
4673 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
4674 (gregset_t): Likewise.
4675
93171016
L
46762012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4677
4678 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
4679 * sysdeps/x86_64/64/Implies-after: Here. New file.
4680 * sysdeps/x86_64/x32/Implies-after: New file.
4681
d86813a0
L
46822012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4683
4684 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
4685 and access return value for _dl_profile_fixup. Use R10_LP to
4686 load frame size.
4687
2953ec75
L
46882012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4689
4690 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
4691
3b550e9e
L
46922012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4693
4694 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
4695 * sysdeps/x86_64/x32/sysdep.h: New file.
4696
eda41706
L
46972012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4698
4699 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
4700 * sysdeps/x86_64/setjmp.S: Likewise.
4701
9ea01d93
AZ
47022012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4703
4704 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
4705 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
4706 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
4707 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
4708 remove unused global constant.
4709
02a91938
CM
47102012-05-15 Chris Metcalf <cmetcalf@tilera.com>
4711
4712 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
4713 include of <not-cancel.h>.
4714
6540185f
RM
47152012-05-15 Roland McGrath <roland@hack.frob.com>
4716
4717 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
4718
509072a0
AJ
47192012-05-15 Jeff Law <law@redhat.com>
4720 Andreas Jaeger <aj@suse.de>
4721
4722 [BZ #13594]
4723 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
4724 out from...
4725 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
4726 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
4727 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
4728 code changing __hst_map_handle.map.
4729
ba75122d
RM
47302012-05-15 Roland McGrath <roland@hack.frob.com>
4731
4732 * configure.in (sysnames): Look for Implies-before and Implies-after
4733 files.
4734 * configure: Regenerated.
4735
890d8bd8
L
47362012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4737
4738 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
4739 8-byte data alignment with LP_SIZE alignment.
4740
f6ee6623
L
47412012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4742
4743 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
4744 into R10_LP.
4745
ea2626f6
L
47462012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4747
4748 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
4749
085f715e
L
47502012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4751
4752 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
4753 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
4754 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
4755 Likewise.
4756 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
4757
be8498fc
L
47582012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4759
4760 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
4761 (stackinfo_sub_sp): Likewise.
4762
70bc83b9
L
47632012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4764
4765 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
4766 RAX_LP.
4767
9bc0b730
L
47682012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4769
4770 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
4771 into R*_LP.
4772
6d2850e7
L
47732012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4774
4775 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
4776 sizes into R*_LP.
4777
3cb84561
L
47782012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4779
4780 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
4781
54e2ed81
L
47822012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4783
4784 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
4785 into R11_LP and load __x86_64_shared_cache_size_half into
4786 R8_LP.
4787
8a17f349
L
47882012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4789
4790 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
4791 R8_LP.
4792
777b1eea
AZ
47932012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4794
4795 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
4796 logb for POWER7.
4797 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
4798 logbf for POWER7.
4799 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
4800 logbl for POWER7.
4801 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
4802 powerpc32/power7/fpu/s_logb.c via #include.
4803 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
4804 powerpc32/power7/fpu/s_logbf.c via #include.
4805 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
4806 powerpc32/power7/fpu/s_logbl.c via #include.
4807
d20d4ac2
JM
48082012-05-15 Joseph Myers <joseph@codesourcery.com>
4809
4810 * README.libm: Remove file.
4811
6cdef1ab
L
48122012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4813
4814 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
4815 count for x32. Use R*_LP and omit operand-size suffix.
4816
0b254d8f
L
48172012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4818
4819 * shlib-versions: Move x86_64-.*-linux.* entries to ...
4820 * sysdeps/x86_64/64/shlib-versions: Here. New file.
4821 * sysdeps/x86_64/x32/shlib-versions: New file.
4822
ceb809dc
RM
48232012-05-14 Roland McGrath <roland@hack.frob.com>
4824
4825 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
4826 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
4827 Use _dl_fatal_printf instead.
4828
37f1abd4
JM
48292012-05-14 Joseph Myers <joseph@codesourcery.com>
4830
4831 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
4832 set if not set by the user. Do not allow for being unset.
4833 * sysdeps/unix/sysv/linux/configure: Regenerated.
4834
11de3a33
L
48352012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4836
4837 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
4838 the `q' suffix from lea and replace .quad with ASM_ADDR.
4839
e02f153a
L
48402012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4841
4842 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
4843 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
4844 instead of $17.
4845 (PTR_DEMANGLE): Likewise.
4846
520ae0fd
L
48472012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4848
4849 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
4850 (LP_OP): Likewise.
4851 (ASM_ADDR): Likewise.
4852 (RAX_LP): Likewise.
4853 (RBP_LP): Likewise.
4854 (RBX_LP): Likewise.
4855 (RCX_LP): Likewise.
4856 (RDI_LP): Likewise.
4857 (RSI_LP): Likewise.
4858 (RSP_LP): Likewise.
4859 (R8_LP): Likewise.
4860 (R9_LP): Likewise.
4861 (R10_LP): Likewise.
4862 (R10_LP): Likewise.
4863 (R11_LP): Likewise.
4864 (R12_LP): Likewise.
4865 (R13_LP): Likewise.
4866 (R14_LP): Likewise.
4867 (R15_LP): Likewise.
4868
b985be81
L
48692012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4870
4871 * sysdeps/x86_64/x32/dl-machine.h: New file.
4872
6a4888ff
AJ
48732012-05-14 Andreas Jaeger <aj@suse.de>
4874
4875 * manual/Makefile (subdir): Remove export of subdir.
4876 (all): Remove target.
4877 (.PHONY): Remove all from list.
4878 (mkinstalldirs): Remove.
4879 (.PHONY): Remove installdirs from list.
4880 ($(inst_infodir)/libc.info): Use make-target-directory.
4881 (installdirs): Remove.
4882 (subdir_%): Remove.
4883 (glibc-targets): Remove.
4884 (lib): Remove.
4885 (stubs): Remove.
4886 ($(objpfx)stubs ../po/manual.pot): Remove.
4887 ($(objpfx)stamp%): Remove.
4888 (make-target-directory): Remove.
4889 (subdir_install): Remove.
4890 (routines): Remove.
4891 (aux): Remove.
4892 (sources): Remove.
4893 (objects): Remove.
4894 (headers): Remove.
4895
4896 [BZ #13750]
4897 * manual/.gitignore: Remove, it's not needed anymore.
4898 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
4899 all files in it.
4900 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
4901 directory.
4902 (texis): Renamed to $(objpfx)texis.
4903 (texis-path): New, contains path to generated files.
4904 (chapters.%): Use texis-path for complete path, add extra argument
4905 libc-texinfo.sh.
4906 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
4907 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
4908 (summary,texi, stamp-summary): Use complete path of
4909 files. Generate files in build dir.
4910 (dir-add.texi): Build in build dir.
4911 (libm-err.texi,stamp-libm-err): Likewise.
4912 (version.texi, stamp-version): Likewise.
4913 (.%c.texi): Likewise.
4914 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
4915 (mostlyclean): Remove target.
4916 (realclean): Remove target.
4917 (generated): Add new variable with contents from mostlyclean and
4918 realclean, remove entries duplicated in common-mostlyclean, add
4919 stamp-libm-err and stamp-version.
4920 (generated-dirs): Add libc directory.
4921 ($(inst_infodir)/libc.info): Install files from build dir.
4922
4923 * manual/install.texi (Configuring and compiling): Adjust since
4924 the info files are not part of the tar ball anymore.
4925
7ac77294
AJ
49262012-05-14 Andreas Jaeger <aj@suse.de>
4927
4928 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
4929 variable.
4930
ffb7875d
JM
49312012-05-14 Joseph Myers <joseph@codesourcery.com>
4932
4933 [BZ #13717]
4934 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
4935 to 2.2.0 where earlier.
4936 * sysdeps/unix/sysv/linux/configure: Regenerated.
4937 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
4938 Remove conditional code.
4939 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
4940 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
4941 Remove conditional code.
4942 [!__NR_lchown]: Likewise.
4943 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
4944 [__NR_lchown]: Likewise.
4945 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
4946 comment referencing __ASSUME_LCHOWN_SYSCALL.
4947 * sysdeps/unix/sysv/linux/i386/sigaction.c
4948 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4949 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4950 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
4951 Remove conditional code.
4952 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
4953 (__protocol_available): Remove #if 0 code.
4954 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
4955 conditional code.
4956 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
4957 * sysdeps/unix/sysv/linux/kernel-features.h
4958 (__ASSUME_GETCWD_SYSCALL): Don't define.
4959 (__ASSUME_REALTIME_SIGNALS): Likewise.
4960 (__ASSUME_PREAD_SYSCALL): Likewise.
4961 (__ASSUME_PWRITE_SYSCALL): Likewise.
4962 (__ASSUME_POLL_SYSCALL): Likewise.
4963 (__ASSUME_LCHOWN_SYSCALL): Likewise.
4964 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
4965 non-SPARC.
4966 (__ASSUME_SIOCGIFNAME): Don't define.
4967 (__ASSUME_MSG_NOSIGNAL): Likewise.
4968 (__ASSUME_SENDFILE): Define unconditionally.
4969 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
4970 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
4971 conditional code.
4972 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
4973 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
4974 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
4975 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
4976 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
4977 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
4978 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
4979 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
4980 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
4981 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4982 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
4983 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
4984 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4985 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
4986 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4987 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4988 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
4989 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4990 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
4992 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
4993 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
4995 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
4996 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
4998 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4999 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5000 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
5001 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5002 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5003 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
5004 Remove conditional code.
5005 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5006 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
5007 Remove conditional code.
5008 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5009 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
5010 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
5011 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
5012 Remove conditional code.
5013 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5014 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
5015 Remove conditional code.
5016 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5017 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
5018 Remove conditional code.
5019 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5020 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
5021 Remove conditional code.
5022 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5023 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
5024 Remove conditional code.
5025 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5026 * sysdeps/unix/sysv/linux/sh/pwrite64.c
5027 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5028 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5029 * sysdeps/unix/sysv/linux/sigaction.c
5030 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5031 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5032 * sysdeps/unix/sysv/linux/sigpending.c
5033 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5034 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5035 * sysdeps/unix/sysv/linux/sigprocmask.c
5036 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5037 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5038 * sysdeps/unix/sysv/linux/sigsuspend.c
5039 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5040 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5041 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
5042 (__libc_missing_rt_sigs): Remove.
5043 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
5044 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
5045 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
5046 Remove conditional code.
5047 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
5048 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
5049 return 1.
5050 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
5051 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
5052 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
5053 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
5054
1bfb7291
AJ
50552012-05-14 Andreas Jaeger <aj@suse.de>
5056
caae5a81
AJ
5057 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
5058 it's not used in glibc.
5059 (__coshm1): Likewise.
5060 (__acosh1p): Likewise.
5061 (__sgn): Likewise.
5062
1bfb7291
AJ
5063 * manual/string.texi (Copying and Concatenation): Add missing
5064 variable in concat example.
5065 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
5066
c044d724
L
50672012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5068
144c5467 5069 [BZ #14103]
c044d724
L
5070 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
5071 __builtin_clzl with __builtin_clzll.
5072
2523c62b
L
50732012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5074
5075 [BZ #14104]
5076 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
5077 libc_freeres_ptr.
5078
d7bb4c42
LD
50792012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5080
5081 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
5082 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
5083 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
5084 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
5085
9dc4e1fb
MF
50862012-05-14 Mike Frysinger <vapier@gentoo.org>
5087
5088 * NEWS: Update ia64 info.
5089
c7df0112
AS
50902012-05-12 Andreas Schwab <schwab@linux-m68k.org>
5091
5092 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
5093 used as bcopy.
5094
dc70356c
TS
50952012-05-12 Thomas Schwinge <thomas@codesourcery.com>
5096
5097 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
5098 * sysdeps/unix/syscalls.list (dup3): Likewise.
5099 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
5100 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
5101
9fb1a21f
L
51022012-05-11 H.J. Lu <hongjiu.lu@intel.com>
5103
5104 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
5105 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
5106
4822a2a5
L
51072012-05-11 H.J. Lu <hongjiu.lu@intel.com>
5108
5109 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
5110 thread pointer.
5111 (TLS_IE): Use mov/add instead of movq/addq to load thread
5112 pointer.
5113 (TLS_GD_PREFIX): New.
5114 (TLS_GD): Use it.
5115
842b81d6
DM
51162012-05-11 David S. Miller <davem@davemloft.net>
5117
5118 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
5119 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
5120 (_FPU_SETCW): Likewise.
5121
1cf463cd
L
51222012-05-10 H.J. Lu <hongjiu.lu@intel.com>
5123
5124 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
5125 is 32-byte aligned.
5126
60cc4a18
AS
51272012-05-11 Andreas Schwab <schwab@linux-m68k.org>
5128
5129 [BZ #11837]
5130 * iconvdata/gb18030.c: Update tables.
5131 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
5132 characters specially.
5133 (BODY for TO_LOOP): Add encoding of missing ranges.
5134
febb44a4
TS
51352012-05-11 Thomas Schwinge <thomas@codesourcery.com>
5136
5137 [BZ #13673]
5138 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
5139 * sysdeps/mach/hurd/dup3.c: Likewise.
5140 * sysdeps/mach/hurd/readlinkat.c: Likewise.
5141 * sysdeps/powerpc/memmove.c:: Likewise.
5142
0a10fb9e
L
51432012-05-10 H.J. Lu <hongjiu.lu@intel.com>
5144
5145 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
5146 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
5147
df8a552f
L
51482012-05-10 H.J. Lu <hongjiu.lu@intel.com>
5149
5150 * elf/elf.h (R_X86_64_RELATIVE64): New.
5151 (R_X86_64_NUM): Updated.
5152 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
5153 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
5154 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
5155 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
5156 tst-quad1pie tst-quad2pie
5157 (modules-names): Add tst-quadmod1 tst-quadmod2.
5158 ($(objpfx)tst-quad1): New dependency.
5159 ($(objpfx)tst-quad2): Likewise.
5160 ($(objpfx)tst-quad1pie): Likewise.
5161 ($(objpfx)tst-quad2pie): Likewise.
5162 * sysdeps/x86_64/tst-quad1.c: New file.
5163 * sysdeps/x86_64/tst-quad1pie.c: New file.
5164 * sysdeps/x86_64/tst-quad2.c: Likewise.
5165 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
5166 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
5167 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
5168 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
5169 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
5170
f34d6f84
ST
51712012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5172
f42d41d1
ST
5173 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
5174 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
5175 * streams/stropts.h (t_scalar_t): Define type.
5176
3c3571fc
ST
5177 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
5178 (_PATH_PRESERVE): Set to "/var/lib".
5179 (_PATH_RWHODIR): Set to "/var/spool/rwho".
5180
61f06bd3
ST
5181 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
5182 instead of int.
5183
918d4d71
ST
5184 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
5185 if __dir_mkfile succeeded.
5186
f34d6f84
ST
5187 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
5188 checking for _hurd_dtablesize. Unlock it right after having
5189 finished _hurd_dtable allocation.
5190
10589b4a
TS
51912012-05-10 Thomas Schwinge <thomas@schwinge.name>
5192
674cdbc7
TS
5193 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
5194 * sysdeps/mach/hurd/configure: Regenerated.
5195 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
5196 special-casing to...
5197 * sysdeps/gnu/configure.in: ... this new file.
5198 * sysdeps/unix/sysv/linux/configure: Regenerated.
5199 * sysdeps/gnu/configure: New generated file.
5200
8e41b99f
TS
5201 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
5202 for Linux: use nsec instead of usec, as well as:
5203 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
5204 members of type struct timespec.
5205 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
5206 New macros.
5207 (struct stat64): Likewise.
5208 (_STATBUF_ST_NSEC): New macro.
5209 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
5210
10589b4a
TS
5211 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
5212 __strtoul_internal rather than strtoul.
5213
63643c85
PT
52142012-05-10 Pino Toscano <toscano.pino@tiscali.it>
5215
5216 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
5217 and reject them.
5218
3faebe6a
ST
52192012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5220
5221 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
5222 which preserves existing values.
5223 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
5224
c6474b07
PT
52252012-05-10 Pino Toscano <toscano.pino@tiscali.it>
5226
5227 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
5228 TIMEOUT values. Return EINVAL for NFDS values either negative or
5229 greater than FD_SETSIZE.
5230
1043890b
ST
52312012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5232
5233 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
5234 allocated, call __vm_protect to finish enabling the existing space, and
5235 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
5236 allocate the remainder.
5237
37ed8b9b
PT
52382012-05-10 Pino Toscano <toscano.pino@tiscali.it>
5239
5240 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
5241 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
5242
db653660
ST
52432012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5244
37ed8b9b
PT
5245 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
5246 sysdeps/mach/hurd/readlink.c.
b29d4053 5247
db653660
ST
5248 * posix/tst-sysconf.c (posix_options): Only use
5249 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
5250 _POSIX_SYNCHRONIZED_IO when they are defined
5251 * sysdeps/mach/hurd/bits/posix_opt.h:
5252 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
5253 (_XOPEN_REALTIME): Undefine macro.
5254 (_XOPEN_REALTIME_THREADS): Undefine macro.
5255 (_XOPEN_SHM): Undefine macro.
5256 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
5257 macro to -1.
5258 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
5259 macro to -1.
5260 (_POSIX_ASYNC_IO): Undefine macro.
5261 (_POSIX_PRIORITIZED_IO): Undefine macro.
5262 (_POSIX_SPIN_LOCKS): Define macro to -1.
5263
ee16e894
ST
5264 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
5265 SA_NODEFER, SA_RESETHAND.
5266 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
5267 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
5268 F_DUPFD_CLOEXEC.
5269
6103ae3b
TS
52702012-05-10 Thomas Schwinge <thomas@schwinge.name>
5271
5272 * elf/Makefile (pldd-modules): Define unconditionally.
5273
80b4e5f3
TS
52742012-05-10 Thomas Schwinge <thomas@schwinge.name>
5275
5276 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
5277
edadcbd6
ST
52782012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5279
5280 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
5281 Return ENOENT when name is empty.
5282 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
5283
80694780
TS
52842012-05-10 Thomas Schwinge <thomas@schwinge.name>
5285
1792c087
TS
5286 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
5287
80694780
TS
5288 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
5289
6b645f0d
ST
52902012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5291
80694780
TS
5292 Fix mlock in all cases except non-readable pages.
5293 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
5294 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 5295
6b645f0d
ST
5296 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
5297 (__mkdir): When path is `/', just fail with EEXIST.
5298 * sysdeps/mach/hurd/mkdirat.c: Likewise.
5299
e468f8a3
TS
53002012-05-10 Thomas Schwinge <thomas@schwinge.name>
5301
5302 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
5303 <sys/uio.h> (for writev).
5304 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
5305 and <sys/param.h> (for MIN).
5306
a4186cff
PT
53072012-05-10 Pino Toscano <toscano.pino@tiscali.it>
5308
5309 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
5310 REQUESTED_TIME. Properly set the remaining time and return EINTR
5311 if interrupted.
5312
510bbf14
TS
53132012-05-10 Thomas Schwinge <thomas@schwinge.name>
5314
5315 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
5316 Depend on against $(link-rpcuserlibs).
5317
5d5722e8
ST
53182012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5319
a4186cff
PT
5320 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
5321 (__libc_stack_end): Do not use attribute_relro.
5322 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
5323 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 5324 to libthread-provided value.
a4186cff
PT
5325 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
5326 attribute_relro.
5d5722e8 5327
37233df9
TS
53282012-05-10 Thomas Schwinge <thomas@schwinge.name>
5329
be971a2b
TS
5330 [BZ #3748]
5331 * bits/libc-lock.h (__libc_once_get): New macro.
5332 * sysdeps/mach/bits/libc-lock.h: Likewise.
5333 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
5334 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
5335 instead of using implementation details.
5336
37233df9
TS
5337 * libio/fileops.c: Unconditionally include <kernel-features.h>.
5338 * libio/freopen.c: Likewise.
5339 * libio/freopen64.c: Likewise.
5340 * misc/syslog.c: Likewise.
5341 * nscd/connections.c: Likewise.
5342 * nscd/netgroupcache.c: Likewise.
5343 * sysdeps/posix/getcwd.c: Likewise.
5344
38de94a5
RM
53452012-05-10 Roland McGrath <roland@hack.frob.com>
5346
5347 * math/w_ilogbf.c: Add #include <limits.h>.
5348
67530489
ST
53492012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5350
a4186cff 5351 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
5352 path instead of returning without unlocking.
5353
67530489
ST
5354 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
5355 immediate-write ioctls.
5356 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
5357
5aa3a74a
TS
53582012-05-10 Thomas Schwinge <thomas@schwinge.name>
5359
18bad2ae
TS
5360 * sysdeps/mach/hurd/i386/init-first.c (init): Use
5361 __builtin_frame_address instead of making assumptions about the
5362 location of the return address relative to DATA. Force early load of
5363 the return address.
5364 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
5365 __builtin_frame_address.
5366
5aa3a74a
TS
5367 dup3 for GNU Hurd.
5368 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
5369 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
5370 implement dup3 and do some further code clean-ups.
5371 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
5372 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
5373
ecd0de9a
ST
53742012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5375
cd9fa985
ST
5376 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
5377
a4186cff
PT
5378 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
5379 HURD_CRITICAL_END around holding _hurd_dtable_lock.
5380 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
5381 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
5382 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
5383 d->port.lock.
802ca5a5 5384
a4186cff
PT
5385 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
5386 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
5387 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 5388
bcf55240
TS
53892012-05-10 Thomas Schwinge <thomas@schwinge.name>
5390
6960eb42
TS
5391 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
5392 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
5393 definitions.
5394
eb43375f
TS
5395 accept4 for GNU Hurd.
5396 * include/sys/socket.h (__libc_accept4): New prototype.
5397 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
5398 to implement __libc_accept4.
5399 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
5400 __libc_accept4.
5401 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
5402
bcf55240
TS
5403 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
5404 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
5405 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
5406 signal-defines.sym.
5407
6178c55b
ST
54082012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5409
a4186cff 5410 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 5411
6f080c2f
TS
54122012-05-10 Thomas Schwinge <thomas@schwinge.name>
5413
5414 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
5415 assertion on O_CLOEXEC flag.
5416 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
5417 * hurd/intern-fd.c: Likewise.
5418 * hurd/port2fd.c: Likewise.
5419
bcfe3a54
ST
54202012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5421
5422 [BZ #3906]
5423 * bits/in.h (IPV6_PKTINFO): Define new macro.
5424 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
5425
89c9aa49
AZ
54262012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5427
5428 [BZ #13954]
5429 [BZ #13955]
5430 [BZ #13956]
5431 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
5432 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
5433 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
5434 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
5435 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5436 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
5437 * math/libm-test.inc (logb_test) : Additional logb tests.
5438
021db4be
AJ
54392012-05-09 Andreas Schwab <schwab@linux-m68k.org>
5440 Andreas Jaeger <aj@suse.de>
5441
5442 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
5443 * configure: Regenerated.
5444 * config.h.in (LINK_OBSOLETE_RPC): New macro.
5445 * config.make.in (link-obsolete-rpc): New substituted variable.
5446 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
5447 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
5448 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
5449 (shared-only-routines): Don't set it under [link-obsolete-rpc],
5450 so that libc.a contains the symbols.
5451 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
5452 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
5453 * sunrpc/auth_none.c: Likewise.
5454 * sunrpc/auth_unix.c: Likewise.
5455 * sunrpc/authdes_prot.c: Likewise.
5456 * sunrpc/authuxprot.c: Likewise.
5457 * sunrpc/clnt_gen.c: Likewise.
5458 * sunrpc/clnt_perr.c: Likewise.
5459 * sunrpc/clnt_raw.c: Likewise.
5460 * sunrpc/clnt_simp.c: Likewise.
5461 * sunrpc/clnt_tcp.c: Likewise.
5462 * sunrpc/clnt_udp.c: Likewise.
5463 * sunrpc/clnt_unix.c: Likewise.
5464 * sunrpc/des_crypt.c: Likewise.
5465 * sunrpc/des_soft.c: Likewise.
5466 * sunrpc/get_myaddr.c: Likewise.
5467 * sunrpc/key_call.c: Likewise.
5468 * sunrpc/key_prot.c: Likewise.
5469 * sunrpc/netname.c: Likewise.
5470 * sunrpc/pm_getmaps.c: Likewise.
5471 * sunrpc/pm_getport.c: Likewise.
5472 * sunrpc/pmap_clnt.c: Likewise.
5473 * sunrpc/pmap_prot.c: Likewise.
5474 * sunrpc/pmap_prot2.c: Likewise.
5475 * sunrpc/pmap_rmt.c: Likewise.
5476 * sunrpc/publickey.c: Likewise.
5477 * sunrpc/rpc_cmsg.c: Likewise.
5478 * sunrpc/rpc_common.c: Likewise.
5479 * sunrpc/rpc_dtable.c: Likewise.
5480 * sunrpc/rpc_prot.c: Likewise.
5481 * sunrpc/rpc_thread.c: Likewise.
5482 * sunrpc/rtime.c: Likewise.
5483 * sunrpc/svc.c: Likewise.
5484 * sunrpc/svc_auth.c: Likewise.
5485 * sunrpc/svc_raw.c: Likewise.
5486 * sunrpc/svc_run.c: Likewise.
5487 * sunrpc/svc_tcp.c: Likewise.
5488 * sunrpc/svc_udp.c: Likewise.
5489 * sunrpc/svc_unix.c: Likewise.
5490 * sunrpc/svcauth_des.c: Likewise.
5491 * sunrpc/xcrypt.c: Likewise.
5492 * sunrpc/xdr.c: Likewise.
5493 * sunrpc/xdr_array.c: Likewise.
5494 * sunrpc/xdr_float.c: Likewise.
5495 * sunrpc/xdr_intXX_t.c: Likewise.
5496 * sunrpc/xdr_mem.c: Likewise.
5497 * sunrpc/xdr_rec.c: Likewise.
5498 * sunrpc/xdr_ref.c: Likewise.
5499 * sunrpc/xdr_sizeof.c: Likewise.
5500 * sunrpc/xdr_stdio.c: Likewise.
5501
b5c086a2
RM
55022012-05-10 Roland McGrath <roland@hack.frob.com>
5503
5504 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
5505 change. Update copyright years.
5506
6d74dd09
JM
55072012-05-10 Joseph Myers <joseph@codesourcery.com>
5508
5509 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
5510
28e72501
MK
55112012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
5512 Joseph Myers <joseph@codesourcery.com>
5513 Paul Pluzhnikov <ppluzhnikov@google.com>
5514
5515 [BZ #14012]
5516 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
5517 requiring rpcgen.
5518 [cross-compiling] (extra-libs): Likewise.
5519 [cross-compiling] (extra-libs-others): Likewise.
5520 [cross-compiling] (librpcsvc-routines): Likewise.
5521 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
5522 [cross-compiling] (omit-deps): Likewise.
5523 (sunrpc-CPPFLAGS): New variable.
5524 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
5525 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
5526 (cross-rpcgen-objs): New variable.
5527 (extra-objs): Append $(cross-rpcgen-objs).
5528 ($(cross-rpcgen-objs)): New rule.
5529 ($(objpfx)cross-rpcgen): Likewise.
5530 (rpcgen-cmd): Define to use $(built-program-file). Expand
5531 comment.
5532 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
5533 ($(objpfx)x%.stmp): Likewise.
5534 * sunrpc/proto.h [IS_IN_build] (_): Define.
5535 [IS_IN_build] (_libc_intl_domainname): Likewise.
5536
c8c59454
L
55372012-05-10 H.J. Lu <hongjiu.lu@intel.com>
5538
5539 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
5540 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
5541 and R_X86_64_TPOFF64.
5542
6f27cd16
JM
55432012-05-10 Joseph Myers <joseph@codesourcery.com>
5544
5545 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
5546 sysdeps/unix/sysv/syscalls.list.
5547 (stime): Likewise.
5548 (utime): Likewise.
5549 * sysdeps/unix/sysv/syscalls.list: Remove file.
5550
02467e1c
PE
55512012-05-10 Paul Eggert <eggert@cs.ucla.edu>
5552
5553 [BZ #3440]
5554 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
5555 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
5556 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
5557 (__LC_IDENTIFICATION): Make these macros useful in #if
5558 expressions, as required by C99.
5559
da392631
AS
55602012-05-10 Andreas Schwab <schwab@linux-m68k.org>
5561
5562 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
5563 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
5564 after this.
5565
8115f29b
L
55662012-05-09 H.J. Lu <hongjiu.lu@intel.com>
5567
5568 * stdlib/longlong.h: Updated from GCC.
5569
bdd74070
AJ
55702012-05-09 Andreas Jaeger <aj@suse.de>
5571
edfe0dbe
AJ
5572 * nscd/nscd.c (run_modes): Make named enum, reorder so that
5573 default is first entry.
5574 (run_mode): Set type.
5575 (main): Remove informal message about syslog.
5576 (options): Fix typo.
5577
bcfe3a54
ST
5578 [BZ #14053]
5579 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 5580 to asm.
bcfe3a54
ST
5581 (lrint): Likewise.
5582 (llrintf): Likewise.
5583 (llrint): Likewise.
5584 (rint): Likewise.
5585 (rintf): Likewise.
5586 (nearbyint): Likewise.
5587 (nearbyintf): Likewise.
bdd74070 5588
91d8d69e
AJ
55892012-05-09 Andreas Jaeger <aj@suse.de>
5590 Pedro Alves <palves@redhat.com>
5591
5592 * nscd/nscd.c (run_mode): Use enum.
5593 (main): Cleanup coding style issue.
5594
bb90b80b
AJ
55952012-05-09 Alexandre Oliva <aoliva@redhat.com>
5596 Andreas Jaeger <aj@suse.de>
5597
bcfe3a54
ST
5598 * nscd/nscd.c (go_background): Replaced with...
5599 (run_mode): ... this.
bb90b80b 5600 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
5601 (options): Add -F --foreground.
5602 (main): Implement it.
5603 (parse_opt): Parse it.
bb90b80b 5604
1a4b75a1
AJ
56052012-05-09 Andreas Jaeger <aj@suse.de>
5606
5607 [BZ #14083]
5608 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
5609 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
5610 -Wconversion warning.
5611 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
5612 Likewise.
5613
b1cc2472
JM
56142012-05-09 Joseph Myers <joseph@codesourcery.com>
5615
5616 * conform/data/locale.h-data (NULL): Use macro-constant. Require
5617 == 0.
5618 (LC_ALL): Use macro-int-constant.
5619 (LC_COLLATE): Likewise.
5620 (LC_CTYPE): Likewise.
5621 (LC_MESSAGES): Likewise.
5622 (LC_MONETARY): Likewise.
5623 (LC_NUMERIC): Likewise.
5624 (LC_TIME): Likewise.
5625 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
5626 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
5627 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5628 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
5629 Specify type.
5630 [C99-based standards] (float_t): Expect type.
5631 [C99-based standards] (double_t): Expect type.
5632 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
5633 type.
5634 [C99-based standards] (HUGE_VALL): Likewise.
5635 [C99-based standards] (INFINITY): Likewise.
5636 [C99-based standards] (NAN): Likewise.
5637 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
5638 [C99-based standards] (FP_NAN): Likewise.
5639 [C99-based standards] (FP_NORMAL): Likewise.
5640 [C99-based standards] (FP_SUBNORMAL): Likewise.
5641 [C99-based standards] (FP_ZERO): Likewise.
5642 [C99-based standards] (FP_FAST_FMA): Use
5643 optional-macro-int-constant. Specify type. Require == 1.
5644 [C99-based standards] (FP_FAST_FMAF): Likewise.
5645 [C99-based standards] (FP_FAST_FMAL): Likewise.
5646 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
5647 [C99-based standards] (FP_ILOGBNAN): Likewise.
5648 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
5649 Specify type.
5650 [C99-based standards] (MATH_ERREXCEPT): Likewise.
5651 [C99-based standards] (math_errhandling): Specify type.
5652 [ISO99 || ISO11] (signgam): Do not allow.
5653 [non-C99-based standards] (copysignf): Do not allow.
5654 [non-C99-based standards] (exp2f): Likewise.
5655 [non-C99-based standards] (log2f): Likewise.
5656 [non-C99-based standards] (modff): Allow.
5657 [non-C99-based standards] (erff): Do not allow.
5658 [non-C99-based standards] (erfcf): Likewise.
5659 [non-C99-based standards] (gammaf): Likewise.
5660 [non-C99-based standards] (hypotf): Likewise.
5661 [non-C99-based standards] (j0f): Likewise.
5662 [non-C99-based standards] (j1f): Likewise.
5663 [non-C99-based standards] (jnf): Likewise.
5664 [non-C99-based standards] (lgammaf): Likewise.
5665 [non-C99-based standards] (tgammaf): Likewise.
5666 [non-C99-based standards] (y0f): Likewise.
5667 [non-C99-based standards] (y1f): Likewise.
5668 [non-C99-based standards] (ynf): Likewise.
5669 [non-C99-based standards] (isnanf): Likewise.
5670 [non-C99-based standards] (acoshf): Likewise.
5671 [non-C99-based standards] (asinhf): Likewise.
5672 [non-C99-based standards] (atanhf): Likewise.
5673 [non-C99-based standards] (cbrtf): Likewise.
5674 [non-C99-based standards] (expm1f): Likewise.
5675 [non-C99-based standards] (ilogbf): Likewise.
5676 [non-C99-based standards] (log1pf): Likewise.
5677 [non-C99-based standards] (logbf): Likewise.
5678 [non-C99-based standards] (nextafterf): Likewise.
5679 [non-C99-based standards] (remainderf): Likewise.
5680 [non-C99-based standards] (rintf): Likewise.
5681 [non-C99-based standards] (scalbf): Likewise.
5682 [non-C99-based standards] (copysignl): Likewise.
5683 [non-C99-based standards] (exp2l): Likewise.
5684 [non-C99-based standards] (log2l): Likewise.
5685 [non-C99-based standards] (modfl): Allow.
5686 [non-C99-based standards] (erfl): Do not allow.
5687 [non-C99-based standards] (erfcl): Likewise.
5688 [non-C99-based standards] (gammal): Likewise.
5689 [non-C99-based standards] (hypotl): Likewise.
5690 [non-C99-based standards] (j0l): Likewise.
5691 [non-C99-based standards] (j1l): Likewise.
5692 [non-C99-based standards] (jnl): Likewise.
5693 [non-C99-based standards] (lgammal): Likewise.
5694 [non-C99-based standards] (tgammal): Likewise.
5695 [non-C99-based standards] (y0l): Likewise.
5696 [non-C99-based standards] (y1l): Likewise.
5697 [non-C99-based standards] (ynl): Likewise.
5698 [non-C99-based standards] (isnanl): Likewise.
5699 [non-C99-based standards] (acoshl): Likewise.
5700 [non-C99-based standards] (asinhl): Likewise.
5701 [non-C99-based standards] (atanhl): Likewise.
5702 [non-C99-based standards] (cbrtl): Likewise.
5703 [non-C99-based standards] (expm1l): Likewise.
5704 [non-C99-based standards] (ilogbl): Likewise.
5705 [non-C99-based standards] (log1pl): Likewise.
5706 [non-C99-based standards] (logbl): Likewise.
5707 [non-C99-based standards] (nextafterl): Likewise.
5708 [non-C99-based standards] (remainderl): Likewise.
5709 [non-C99-based standards] (rintl): Likewise.
5710 [non-C99-based standards] (scalbl): Likewise.
5711 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5712 [non-C99-based standards] (FP_*): Do not allow.
5713 [C99-based standards] (FP_*): Change to
5714 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
5715 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
5716 allow.
5717 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
5718 (SIG_ERR): Likewise.
5719 [X/Open-based standards] (SIG_HOLD): Likewise.
5720 (SIG_IGN): Likewise.
5721 (SIGABRT): Use macro-int-constant. Specify type. Require
5722 positive value.
5723 (SIGFPE): Likewise.
5724 (SIGILL): Likewise.
5725 (SIGINT): Likewise.
5726 (SIGSEGV): Likewise.
5727 (SIGTER): Likewise.
5728 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
5729 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
5730 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
5731 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
5732 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
5733 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
5734 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
5735 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
5736 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
5737 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
5738 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
5739 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
5740 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
5741 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
5742 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
5743 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
5744 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
5745 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
5746 [X/Open-based standards] (SIGTRAP): Likewise.
5747 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
5748 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
5749 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
5750 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
5751 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
5752 allow.
5753
b9f1922d
IW
57542012-05-08 Ian Wienand <ianw@vmware.com>
5755
5756 [BZ #14080]
5757 * time/tzset.c (__tzset_parse_tz): Update default rules for
5758 daylight time changes in the Energy Policy Act of 2005.
5759
1db86e88
AJ
57602012-05-09 Andreas Jaeger <aj@suse.de>
5761
5762 [BZ #13983]
5763 * elf/ldconfig.c (parse_conf): Change string to make clear that
5764 ldconfig only issued a warning if ld.so.conf does not exist.
5765
dee4a4e3
DM
57662012-05-08 David S. Miller <davem@davemloft.net>
5767
ee0db190
DM
5768 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
5769 movxtod instead of popping the value on the stack.
5770
dee4a4e3
DM
5771 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5772
6a43ec98
CD
57732012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
5774
5775 * config.h.in: Add HAVE_ARM_PCS_VFP.
5776
05c2c961
RMG
57772012-05-08 Roland Mc Grath <roland@hack.frob.com>
5778
bcfe3a54
ST
5779 [BZ #13979]
5780 * include/features.h: Warn if user requests __FORTIFY_SOURCE
5781 checking but the checks are disabled for any reason.
05c2c961 5782
4b30f61a
L
57832012-05-08 H.J. Lu <hongjiu.lu@intel.com>
5784
5785 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
5786 and ELF64_R_TYPE with ELFW(R_TYPE).
5787
eee2bc67
JM
57882012-05-08 Joseph Myers <joseph@codesourcery.com>
5789
7ea5391a
JM
5790 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
5791 (ulimit): Likewise.
5792
eee2bc67
JM
5793 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
5794 (settimeofday): Likewise.
5795
abb66a67
MF
57962012-05-08 Mike Frysinger <vapier@gentoo.org>
5797
5798 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
5799 a struct th_u2 inside the union, and move tu_block/tu_code into
5800 a new th_u3 union of tu_block/tu_code inside of that. Move
5801 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
5802 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
5803 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
5804 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
5805 (th_stuff): Change to th_u1.tu_stuff.
5806 (th_data): Define.
5807 (th_msg): Change to th_u1.th_u2.tu_data.
5808
7f18b530
DM
58092012-05-07 David S. Miller <davem@davemloft.net>
5810
05760585
DM
5811 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5812
7f18b530
DM
5813 [BZ #14074]
5814 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
5815 (SETUP_PIC_REG): Use it.
5816 (SETUP_PIC_REG_LEAF): Use it.
5817
495fd99f
JM
58182012-05-07 Joseph Myers <joseph@codesourcery.com>
5819
5820 [BZ #13885]
5821 [BZ #13923]
5822 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5823 USE_AS_EXPM1L.
5824 (EXPL_FINITE): Likewise.
5825 (FLDLOG): Likewise.
5826 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
5827 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
5828 e_expl.S.
5829 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5830 USE_AS_EXPM1L.
5831 (EXPL_FINITE): Likewise.
5832 (FLDLOG): Likewise.
5833 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
5834 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
5835 e_expl.S.
5836 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
5837 test of -max_value argument for long double.
5838 * sysdeps/i386/fpu/libm-test-ulps: Update.
5839 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5840
6693d694
DM
58412012-05-06 David S. Miller <davem@davemloft.net>
5842
5843 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
5844 quad soft-float symbols whose references which are compiler
5845 generated.
5846 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
5847
6c23e11c
JM
58482012-05-06 Joseph Myers <joseph@codesourcery.com>
5849
d8b82cad
JM
5850 [BZ #13884]
5851 [BZ #13914]
5852 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5853 USE_AS_EXP10L.
5854 (EXPL_FINITE): Likewise.
5855 (FLDLOG): Likewise.
5856 (c0): Likewise.
5857 (c1): Likewise.
5858 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
5859 Adjust comments for base varying.
5860 (__expl_finite): Change alias to EXPL_FINITE.
5861 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
5862 e_expl.S.
5863 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
5864 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
5865 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
5866 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
5867 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5868 USE_AS_EXP10L.
5869 (EXPL_FINITE): Likewise.
5870 (FLDLOG): Likewise.
5871 (c0): Likewise.
5872 (c1): Likewise.
5873 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
5874 Adjust comments for base varying.
5875 (__expl_finite): Change alias to EXPL_FINITE.
5876 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
5877 tests for bugs.
5878 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5879
6c23e11c
JM
5880 [BZ #14064]
5881 * math/libm-test.inc (check_float_internal): Correct ulp
5882 calculation for subnormal expected results.
5883
29ba805c
AJ
58842012-05-06 Andreas Jaeger <aj@suse.de>
5885
5886 * Makeconfig (+math-flags): New, set to -frounding-math.
5887 (+cflags): Add +math-flags so that all of glibc gets compiled with
5888 it.
5889
5890 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
5891
7b17aeda
JM
58922012-05-05 Joseph Myers <joseph@codesourcery.com>
5893
5779f134
JM
5894 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
5895 Disable one test.
5896
41498f4d
JM
5897 [BZ #13787]
5898 [BZ #13922]
5899 [BZ #14036]
5900 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
5901 (__ieee754_expl): Allow for and saturate large arguments.
5902 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
5903 (u_threshold): Likewise.
5904 (__exp): Call __ieee754_exp before checking for overflow and
5905 underflow.
5906 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
5907 (u_threshold): Likewise.
5908 (__expf): Call __ieee754_expf before checking for overflow and
5909 underflow.
5910 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
5911 (u_threshold): Likewise.
5912 (__expl): Call __ieee754_expl before checking for overflow and
5913 underflow.
5914 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
5915 (__ieee754_expl): Allow for and saturate large arguments.
5916 * math/libm-test.inc (exp_test): Add another test. Do not allow
5917 missing overflow exception on overflow.
5918 (expm1_test): Do not allow missing overflow exception on overflow.
5919
6698b8bf
JM
5920 * sysdeps/i386/fpu/e_expl.c: Move to ...
5921 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
5922 rather than using inline asm.
5923 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
5924 * sysdeps/x86_64/fpu/e_expl.S: Copy from
5925 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
5926
7b17aeda
JM
5927 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
5928 (nice): Likewise.
5929 (poll): Likewise.
5930 (signal): Likewise.
5931 (time): Likewise.
5932 (times): Likewise.
5933
f7c85819
JM
59342012-05-04 Joseph Myers <joseph@codesourcery.com>
5935
5936 * sysdeps/unix/syscalls.list (adjtime): Add entry from
5937 sysdeps/unix/common/syscalls.list.
5938 (fchmod): Likewise.
5939 (fchown): Likewise.
5940 (ftruncate): Likewise.
5941 (getrusage): Likewise.
5942 (gettimeofday): Likewise.
5943 (setpgid): Likewise.
5944 (setregid): Likewise.
5945 (setreuid): Likewise.
5946 (sigaction): Likewise.
5947 (truncate): Likewise.
5948 (vhangup): Likewise.
5949 * sysdeps/unix/common/syscalls.list: Remove file.
5950 * sysdeps/unix/bsd/Implies: Don't include unix/common.
5951 * sysdeps/unix/sysv/linux/Implies: Likewise.
5952
336270d0
L
59532012-05-04 H.J. Lu <hongjiu.lu@intel.com>
5954
5955 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
5956 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
5957 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
5958 Moved to ...
5959 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
5960 Here.
5961 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
5962 to ...
5963 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
5964 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
5965 to ...
5966 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
5967 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
5968 to ...
5969 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
5970 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
5971 to ...
5972 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
5973 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
5974 to ...
5975 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
5976 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
5977 to ...
5978 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
5979 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
5980 to ...
5981 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
5982 Here.
5983 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
5984 to ...
5985 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
5986 Here.
5987 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
5988 to ...
5989 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
5990 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
5991 Moved to ...
5992 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
5993 Here.
5994 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
5995 to ...
5996 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
5997
d128e450
JM
59982012-05-04 Joseph Myers <joseph@codesourcery.com>
5999
fa8ee516
JM
6000 * sysdeps/unix/common/bits/dirent.h: Remove file.
6001 * sysdeps/unix/common/bits/fcntl.h: Likewise.
6002
d128e450
JM
6003 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
6004 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
6005 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
6006 * sysdeps/unix/bsd/isatty.c: Likewise.
6007 * sysdeps/unix/bsd/tcdrain.c: Likewise.
6008 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
6009 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
6010
ff8faaf0 60112012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 6012
62881be4 6013 [BZ #13563]
31dc8730
AZ
6014 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
6015 long double comparison inaccuracies.
6016 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
6017 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6018
6fef930c
AS
60192012-05-04 Andreas Schwab <schwab@linux-m68k.org>
6020
6021 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
6022 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
6023
8f203e6c
JM
60242012-05-04 Joseph Myers <joseph@codesourcery.com>
6025
6026 [BZ #14049]
6027 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
6028 nonzero digits before rounding a hex value.
6029 * stdlib/tst-strtod.c (tests): Add another test.
6030
5197d9c2
AK
60312012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6032
6033 * sysdeps/s390/fpu/libm-test-ulps: Update.
6034
f0c1dedf
AJ
60352012-05-03 Andreas Jaeger <aj@suse.de>
6036
6037 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
6038 does not get optimized out.
6039 (malloc_opt_barrier): New.
6040
a65ef2ae 60412012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 6042 Roland McGrath <roland@hack.frob.com>
a65ef2ae 6043
2b942cb7 6044 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 6045 intermediate file deletion.
2b942cb7 6046 (generated): Add .symlist files.
a65ef2ae 6047
54b71e02
JM
60482012-05-03 Joseph Myers <joseph@codesourcery.com>
6049
6050 [BZ #13775]
6051 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
6052 Redirect under this condition.
6053 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
6054 [__USE_GNU] (__dprintf_chk): Not under this condition.
6055 [__USE_GNU] (__vdprintf_chk): Likewise.
6056 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
6057 under this condition.
6058 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
6059 [__USE_XOPEN2K8] (dprintf): Define under this condition.
6060 [__USE_XOPEN2K8] (vdprintf): Likewise.
6061 [__USE_GNU] (__dprintf_chk): Not under this condition.
6062 [__USE_GNU] (__vdprintf_chk): Likewise.
6063 [__USE_GNU] (dprintf): Likewise.
6064 [__USE_GNU] (vdprintf): Likewise.
6065
d3dfcc41
RM
60662012-05-03 Roland McGrath <roland@hack.frob.com>
6067
6068 * elf/Makefile (common-generated): Set this instead of generated for
6069 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
6070 $(all-built-dso)-derived lists.
6071
7ac30cc5
AJ
60722012-05-03 Andreas Jaeger <aj@suse.de>
6073
0c51e550
AJ
6074 * sysdeps/i386/fpu/libm-test-ulps: Update.
6075
7ac30cc5
AJ
6076 * FAQ: Removed.
6077 * FAQ.in: Likewise.
6078 * scripts/gen-FAQ.pl: Likewise.
6079 * manual/install.texi (Installation): Point to online location of
6080 FAQ.
6081 * Makefile (files-for-dist): Remove FAQ.
6082 (FAQ): Remove.
6083
d4c2917f
AM
60842012-05-02 Allan McRae <allan@archlinux.org>
6085
6086 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
6087 (LDFLAGS-reldepmod5.so): Likewise.
6088 (LDFLAGS-reldep6mod1.so): Likewise.
6089 (LDFLAGS-reldep6mod4.so): Likewise.
6090 (LDFLAGS-reldep8mod3.so): Likewise.
6091 (LDFLAGS-unload4mod1.so): Likewise.
6092 (LDFLAGS-unload4mod2.so): Likewise.
6093 (LDFLAGS-tst-initorder): Likewise.
6094 (LDFLAGS-tst-initordera2.so): Likewise.
6095 (LDFLAGS-tst-initordera3.so): Likewise.
6096 (LDFLAGS-tst-initordera4.so): Likewise.
6097 (LDFLAGS-tst-initorderb2.so): Likewise.
6098 (LDFLAGS-noload): Likewise.
6099 (LDFLAGS-next): Likewise.
6100 (LDFLAGS-order2mod1.so): Likewise.
6101 (LDFLAGS-order2mod2.so): Likewise.
6102 (LDFLAGS-tst-initorder2): Likewise.
6103 (LDFLAGS-tst-initorder2a.so): Likewise.
6104 (LDFLAGS-tst-initorder2b.so): Likewise.
6105 (LDFLAGS-tst-initorder2c.so): Likewise.
6106 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
6107
d77f993f
DM
61082012-05-02 David S. Miller <davem@davemloft.net>
6109
6110 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6111
171a70b4
PP
61122012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
6113
6114 [BZ #14055]
6115 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
6116
0be196ad
AJ
61172012-05-02 Andreas Jaeger <aj@suse.de>
6118
6119 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
6120 since we manipulate rounding mode.
6121 (CPPFLAGS-test-idouble.c): Likewise.
6122 (CPPFLAGS-test-ifloat.c): Likewise.
6123 (CFLAGS-test-ldouble.c): Likewise.
6124 (CFLAGS-test-double.c): Likewise.
6125 (CFLAGS-test-float.c): Likewise.
6126 (CFLAGS-test-misc.c): Likewise.
6127 (CFLAGS-test-test-fenv.c): Likewise.
6128
4f9d04aa
AZ
61292012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6130
2b942cb7
RM
6131 [BZ #2550]
6132 [BZ #2570]
6133 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
6134 comparisons to determine direction to adjust input.
4f9d04aa 6135
82a79e7d
RM
61362012-05-01 Roland McGrath <roland@hack.frob.com>
6137
f5a01ca9
RM
6138 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
6139 output to the target.
6140
90fe4186
RM
6141 * scripts/localplt.awk: New file.
6142 * elf/Makefile ($(objpfx)check-localplt): Target removed.
6143 (check-localplt-CFLAGS): Variable removed.
6144 ($(all-built-dso:=.jmprel)): New static pattern rule.
6145 (generated): Add those targets.
6146 (localplt-built-dso): New variable.
6147 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
6148
6149 * elf/check-localplt.c: File removed.
6150
82397ed6
RM
6151 * scripts/check-execstack.awk: New file.
6152 * elf/Makefile ($(objpfx)check-execstack): Target removed.
6153 (check-execstack-CFLAGS): Variable removed.
6154 ($(objpfx)check-execstack.h): Target removed.
6155 ($(objpfx)execstack-default): New target.
6156 (generated): Add that instead of check-execstack.h.
6157 ($(all-built-dso:=.phdr)): New static pattern rule.
6158 (generated): Add those targets.
6159 * elf/check-execstack.c: File removed.
6160
82a79e7d
RM
6161 * scripts/check-textrel.awk: New file.
6162 * elf/Makefile ($(objpfx)check-textrel): Target removed.
6163 (check-textrel-CFLAGS): Variable removed.
6164 (all-built-dso): Use := to define.o
6165 ($(all-built-dso:=.dyn)): New static pattern rule.
6166 (generated): Add those targets.
6167 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
6168 * config.make.in (READELF): New substituted variable.
6169 * elf/check-textrel.c: File removed.
6170
62fde54f 61712012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 6172
615605c9
JM
6173 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
6174 allow.
6175 * conform/data/ctype.h-data [C99-based standards] (isblank):
6176 Expect function.
6177 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
6178 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
6179 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6180 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
6181 Specify type. Require positive value.
6182 (EILSEQ): Likewise.
6183 (ERANGE): Likewise.
6184 [ISO || POSIX] (EILSEQ): Do not expect.
6185 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
6186 Specify type. Require positive value.
6187 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
6188 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
6189 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
6190 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
6191 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
6192 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
6193 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
6194 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
6195 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
6196 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
6197 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
6198 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
6199 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
6200 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
6201 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
6202 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
6203 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
6204 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
6205 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
6206 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
6207 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
6208 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
6209 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
6210 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
6211 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
6212 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
6213 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
6214 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
6215 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
6216 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
6217 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
6218 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
6219 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
6220 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
6221 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
6222 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
6223 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
6224 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
6225 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
6226 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
6227 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
6228 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
6229 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
6230 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
6231 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
6232 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
6233 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
6234 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
6235 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
6236 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
6237 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
6238 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
6239 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
6240 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
6241 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
6242 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
6243 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
6244 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
6245 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
6246 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
6247 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
6248 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
6249 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
6250 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
6251 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
6252 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
6253 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
6254 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
6255 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
6256 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
6257 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
6258 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
6259 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
6260 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
6261 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
6262 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
6263 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
6264 Require >= 2.
6265 (FLT_ROUNDS): Expect as macro, not constant.
6266 (FLT_MANT_DIG): Use macro-int-constant.
6267 (DBL_MANT_DIG): Likewise.
6268 (LDBL_MANT_DIG): Likewise.
6269 (FLT_DIG): Likewise.
6270 (DBL_DIG): Likewise.
6271 (LDBL_DIG): Likewise.
6272 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
6273 (DBL_MIN_EXP): Likewise.
6274 (LDBL_MIN_EXP): Likewise.
6275 (FLT_MAX_EXP): Use macro-int-constant.
6276 (DBL_MAX_EXP): Likewise.
6277 (LDBL_MAX_EXP): Likewise.
6278 (FLT_MAX_10_EXP): Likewise.
6279 (DBL_MAX_10_EXP): Likewise.
6280 (LDBL_MAX_10_EXP): Likewise.
6281 (FLT_MAX): Use macro-constant.
6282 (DBL_MAX): Likewise.
6283 (LDBL_MAX): Likewise.
6284 (FLT_EPSILON): Use macro-constant. Give upper bound.
6285 (DBL_EPSILON): Likewise.
6286 (LDBL_EPSILON): Likewise.
6287 (FLT_MIN): Likewise.
6288 (DBL_MIN): Likewise.
6289 (LDBL_MIN): Likewise.
6290 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
6291 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
6292 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
6293 [ISO11] (FLT_HAS_SUBNORM): Likewise.
6294 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
6295 [ISO11] (DBL_DECIMAL_DIG): Likewise.
6296 [ISO11] (FLT_DECIMAL_DIG): Likewise.
6297 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
6298 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
6299 [ISO11] (FLT_TRUE_MIN): Likewise.
6300 [ISO11] (LDBL_TRUE_MIN): Likewise.
6301 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6302 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
6303 (SCHAR_MIN): Use macro-int-constant. Specify type.
6304 (SCHAR_MAX): Likewise.
6305 (UCHAR_MAX): Likewise.
6306 (CHAR_MIN): Likewise.
6307 (CHAR_MAX): Likewise.
6308 (MB_LEN_MAX): Use macro-int-constant.
6309 (SHRT_MIN): Use macro-int-constant. Specify type.
6310 (SHRT_MAX): Likewise.
6311 (USHRT_MAX): Likewise.
6312 (INT_MAX): Likewise.
6313 (INT_MIN): Use macro-int-constant. Specify type. Make upper
6314 bound negative.
6315 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
6316 bound with "U".
6317 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
6318 bound with "L".
6319 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
6320 bound negative. Suffix upper bound with "L".
6321 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
6322 bound with "UL".
6323 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
6324 Specify type.
6325 [C99-based standards] (LLONG_MAX): Likewise.
6326 [C99-based standards] (ULLONG_MAX): Likewise.
6327 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
6328 == 0.
6329 [ISO11] (max_align_t): Require type.
6330 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6331
c9140a62
JM
6332 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
6333 from $CFLAGS, without defining away __attribute__ calls.
6334 (checknamespace): Use $CFLAGS_namespace.
6335
9af0bf29
JM
6336 * conform/conformtest.pl (@keywords): Only include C99 keywords
6337 for standards based on C99 or C11.
6338
343222a2
JM
6339 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
6340 Disable tests.
6341 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
6342 UNIX98]: Likewise.
6343
661f8cf0
JM
6344 * conform/conformtest.pl: Handle "macro-int-constant" and test for
6345 usability of symbols in #if.
6346
ee74b9cb
JM
6347 * conform/conformtest.pl: If macro or constant types start
6348 "promoted:", expect the symbol to be of the following type
6349 promoted by the integer promotions.
62fde54f 6350
aafc49b3
JM
6351 * conform/conformtest.pl: Parse all "constant" and "macro" lines
6352 in one place. Also handle "macro-constant".
6353
fefdf574
JM
6354 * conform/conformtest.pl: Only accept expected macro values with
6355 "==". Parse all "macro" lines in one place.
6356 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
6357
f2d922fe
JM
6358 * conform/conformtest.pl: Handle braced types on "constant" lines
6359 instead of handling "typed-constant".
6360 * conform/data/signal.h-data: Use "constant" instead of
6361 "typed-constant".
6362
d22956c9
JM
6363 * conform/conformtest.pl: Handle "optional-" at start of lines in
6364 one place rather than duplicating several cases. Handle each
6365 format of "macro" line with initial "optional-".
6366
028e2e38
JM
6367 * conform/conformtest.pl: Only accept expected constant or
6368 optional-constant values with "==". Parse all "constant" lines in
6369 one place. Parse all "optional-constant" lines in one place.
6370 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
6371 * conform/data/fmtmsg.h-data: Likewise.
6372 * conform/data/netinet/in.h-data: Likewise.
6373 * conform/data/tar.h-data: Likewise.
6374 * conform/data/limits.h-data: Use "==" form on "constant" and
6375 "optional-constant" lines.
6376
1b8f2850
JM
6377 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
6378 Use -std=c99 for XOPEN2K.
6379 (@knownproblems): Remove.
6380 (newtoken): Don't check %isknown.
6381
a05a144b
JM
6382 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
6383 Do not expect macro.
6384 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
6385 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
6386 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
6387 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
6388 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
6389 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
6390 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
6391 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
6392 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
6393 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
6394 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
6395 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
6396 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
6397 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
6398 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
6399 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
6400 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
6401 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
6402 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
6403 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
6404 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
6405 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
6406 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
6407 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
6408 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
6409 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
6410 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
6411 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
6412 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
6413 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
6414 [XPG3] (acosh): Likewise.
6415 [XPG3] (asinh): Likewise.
6416 [XPG3] (atanh): Likewise.
6417 [XPG3] (cbrt): Likewise.
6418 [XPG3] (expm1): Likewise.
6419 [XPG3] (ilogb): Likewise.
6420 [XPG3] (log1p): Likewise.
6421 [XPG3] (logb): Likewise.
6422 [XPG3] (nextafter): Likewise.
6423 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
6424 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
6425 [XPG3] (remainder): Likewise.
6426 [XPG3] (rint): Likewise.
6427 [XPG3 || XPG4 || UNIX98] (round): Likewise.
6428 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
6429 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
6430 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
6431 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
6432 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
6433 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
6434 [UNIX98 || XOPEN2K] (scalb): Expect.
6435 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
6436 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
6437 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
6438 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
6439 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
6440 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
6441 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
6442 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
6443 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
6444 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
6445 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
6446 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
6447 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
6448 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
6449 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
6450 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
6451 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
6452 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
6453 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
6454 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
6455 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
6456 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
6457 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
6458 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
6459 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
6460 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
6461 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
6462 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
6463 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
6464 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
6465 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
6466 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
6467 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
6468 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
6469 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
6470 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
6471 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
6472 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
6473 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
6474 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
6475 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
6476 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
6477 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
6478 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
6479 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
6480 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
6481 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
6482 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
6483 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
6484 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
6485 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
6486 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
6487 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
6488 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
6489 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
6490 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
6491 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
6492 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
6493 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
6494 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
6495 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
6496 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
6497 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
6498 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
6499 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
6500 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
6501 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
6502 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
6503 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
6504 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
6505 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
6506 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
6507 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
6508 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
6509 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
6510 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
6511 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
6512 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
6513 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
6514 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
6515 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
6516 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
6517 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
6518 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
6519 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
6520 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
6521 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
6522 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
6523 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
6524 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
6525 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
6526 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
6527 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
6528 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
6529 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
6530 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
6531 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
6532 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
6533 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
6534 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
6535 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
6536 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
6537 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
6538 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
6539 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
6540 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
6541 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
6542 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
6543 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
6544 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
6545 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
6546 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
6547 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
6548 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
6549 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
6550 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
6551 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
6552 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
6553 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
6554 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
6555 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
6556 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
6557 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
6558 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
6559 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
6560 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
6561 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
6562 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
6563 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
6564 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
6565 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
6566 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
6567 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
6568 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
6569 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
6570 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
6571 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
6572
73c5ebe3
JM
6573 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
6574 _XOPEN_SOURCE_EXTENDED for XPG4.
6575
39c33b6c
JM
6576 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
6577
62fde54f
JM
6578 * Makeconfig (localtime): Remove variable.
6579 (inst_localtime-file): Likewise.
6580
0741d64c
AS
65812012-05-01 Andreas Schwab <schwab@linux-m68k.org>
6582
6583 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
6584 Update.
6585 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6586 Update.
6587 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
6588 Update.
6589 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
6590 Update.
6591 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
6592 Update.
6593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
6594 Update.
6595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6596 Update.
6597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
6598 Update.
6599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
6600 Update.
6601
7cb029ee
JM
66022012-05-01 Joseph Myers <joseph@codesourcery.com>
6603
6604 [BZ #2550]
6605 [BZ #2570]
6606 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
6607 comparisons to determine direction to adjust input.
6608 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
6609 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
6610 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
6611 Likewise.
6612 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
6613 Likewise.
6614 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
6615 Likewise.
6616 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
6617 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
6618 Likewise.
6619 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
6620 Likewise.
6621 * math/libm-test.inc (nexttoward_test): Add more tests.
6622
412bd966
AS
66232012-05-01 Andreas Schwab <schwab@linux-m68k.org>
6624
6625 [BZ #14040]
6626 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
6627 in version GLIBC_2.1, not GLIBC_2.0.
6628 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
6629 Likewise.
6630
9568c0c2
JM
66312012-04-30 Joseph Myers <joseph@codesourcery.com>
6632
adfbc8ac
JM
6633 [BZ #13942]
6634 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
6635 (1 - x) * (1 + x).
6636 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
6637 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
6638 * math/libm-test.inc (acos_test): Add more tests.
6639 (asin_test): Likewise.
6640 * sysdeps/i386/fpu/libm-test-ulps: Update.
6641 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6642
5ba3cc69
JM
6643 [BZ #14034]
6644 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
6645 of square root.
6646 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
6647 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
6648 * math/libm-test.inc (acos_test_tonearest): New function.
6649 (acos_test_towardzero): Likewise.
6650 (acos_test_downward): Likewise.
6651 (acos_test_upward): Likewise.
6652 (asin_test_tonearest): Likewise.
6653 (asin_test_towardzero): Likewise.
6654 (asin_test_downward): Likewise.
6655 (asin_test_upward): Likewise.
6656 (main): Call the new functions.
6657 * sysdeps/i386/fpu/libm-test-ulps: Update.
6658 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6659
9568c0c2
JM
6660 [BZ #13884]
6661 [BZ #13924]
6662 * math/e_exp10.c: Include <float.h>.
6663 (__ieee754_exp10): Handle underflow here rather than multiplying
6664 large negative argument by M_LN10.
6665 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
6666 of __ieee754_expf.
6667 * math/e_exp10l.c: Include <float.h>.
6668 (__ieee754_exp10l): Handle underflow here rather than multiplying
6669 large negative argument by M_LN10l.
6670 * math/libm-test.inc (exp10_test): Add another test. Do not allow
6671 spurious overflow exception on underflow.
6672
5ac3ea17
MP
66732012-04-29 Marek Polacek <polacek@redhat.com>
6674
6675 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
6676 (__fortify_function): New macro.
6677 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
6678 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
6679 __extern_always_inline.
6680 * libio/bits/stdio2.h: Likewise.
6681 * libio/bits/stdio.h: Likewise.
6682 * string/string.h: Likewise.
6683 * string/bits/string3.h: Likewise.
6684 * include/stdio.h: Likewise.
6685 * stdlib/bits/stdlib.h: Likewise.
6686 * stdlib/stdlib.h: Likewise.
6687 * rt/bits/mqueue2.h: Likewise.
6688 * rt/mqueue.h: Likewise.
6689 * posix/bits/unistd.h: Likewise.
6690 * posix/unistd.h: Likewise.
6691 * io/bits/poll2.h: Likewise.
6692 * io/bits/fcntl2.h: Likewise.
6693 * io/fcntl.h: Likewise.
6694 * io/sys/poll.h: Likewise.
6695 * misc/bits/syslog.h: Likewise.
6696 * misc/bits/syslog-ldbl.h: Likewise.
6697 * misc/sys/syslog.h: Likewise.
6698 * socket/bits/socket2.h: Likewise.
6699 * socket/sys/socket.h: Likewise.
6700 * debug/tst-chk1.c: Likewise.
6701 * wcsmbs/bits/wchar2.h: Likewise.
6702 * wcsmbs/bits/wchar-ldbl.h: Likewise.
6703 * wcsmbs/wchar.h: Likewise.
6704
ecf0ebfb
AJ
67052012-04-29 Andreas Jaeger <aj@suse.de>
6706
6707 * Makerules (tests): Remove enable-check-abi protection.
6708 (check-abi-warn): Remove.
6709 (check-abi-%): Remove check-abi-warn usage.
6710
6711 * configure.in: Remove check-abi configure option.
6712 * configure: Regenerated.
6713 * config.make.in (enable-check-abi): Remove.
6714
6d5c57fa
AS
67152012-04-28 Andreas Schwab <schwab@linux-m68k.org>
6716
24c5d07e 6717 [BZ #14033]
ded5180a
AS
6718 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
6719 double functions to double *_finite functions.
6720
7e0d315d
AS
6721 [BZ #13941]
6722 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
6723 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
6724 LDBL_MIN_EXP.
6725 * stdio-common/Makefile (tests): Add tst-sprintf3.
6726 * stdio-common/tst-sprintf3.c: New file.
6727
6d5c57fa
AS
6728 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
6729 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
6730
0749ff8b
JM
67312012-04-28 Joseph Myers <joseph@codesourcery.com>
6732
6733 * conform/conformtest.pl: Remove duplicate typed-constant
6734 handling.
6735
8dbd5d7b
DM
67362012-04-28 David S. Miller <davem@davemloft.net>
6737
6738 * Makerules (%.abilist): Add vpath on sysdep_dirs.
6739 (check-abi-%): Remove AWK script prerequisite and explicit
6740 abilist directory.
6741 (check-abi): Rewrite to just diff the symlist with the abilist.
6742 (config-tls, config-abi-config): Delete, no longer used.
6743 (update-abi-%): Remove AWK script and explicit abilist directory.
6744 (update-abi): Rewrite to simply compare and conditionally copy the
6745 symlist and the sysdep abilist file. Remove update-abi-config
6746 checks.
6747 * abilist/ld.abilist: Remove.
6748 * abilist/libBrokenLocale.abilist: Remove.
6749 * abilist/libanl.abilist: Remove.
6750 * abilist/libcrypt.abilist: Remove.
6751 * abilist/libdl.abilist: Remove.
6752 * abilist/librt.abilist: Remove.
6753 * abilist/libthread_db.abilist: Remove.
6754 * abilist/libutil.abilist: Remove.
6755 * scripts/extract-abilist.awk: Remove.
6756 * scripts/merge-abilist.awk: Remove.
6757 * sysdeps/generic/libcidn.abilist: New file.
6758 * sysdeps/generic/libnss_compat.abilist: New file.
6759 * sysdeps/generic/libnss_db.abilist: New file.
6760 * sysdeps/generic/libnss_dns.abilist: New file.
6761 * sysdeps/generic/libnss_files.abilist: New file.
6762 * sysdeps/generic/libnss_hesiod.abilist: New file.
6763 * sysdeps/generic/libnss_nis.abilist: New file.
6764 * sysdeps/generic/libnss_nisplus.abilist: New file.
6765 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
6766 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
6767 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
6768 file.
6769 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
6770 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
6771 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
6772 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
6773 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
6774 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
6775 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
6776 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
6777 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
6778 file.
6779 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
6780 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
6781 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
6782 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
6783 file.
6784 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
6785 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
6786 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
6787 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
6788 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
6789 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
6790 file.
6791 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
6792 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
6793 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
6794 file.
6795 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
6796 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
6797 New file.
6798 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
6799 New file.
6800 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
6801 New file.
6802 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
6803 New file.
6804 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
6805 New file.
6806 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
6807 New file.
6808 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
6809 New file.
6810 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
6811 New file.
6812 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
6813 New file.
6814 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
6815 New file.
6816 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
6817 New file.
6818 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
6819 New file.
6820 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
6821 New file.
6822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
6823 file.
6824 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
6825 New file.
6826 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
6827 New file.
6828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
6829 file.
6830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
6831 New file.
6832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
6833 New file.
6834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
6835 file.
6836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
6837 New file.
6838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
6839 New file.
6840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
6841 New file.
6842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
6843 New file.
6844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
6845 New file.
6846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
6847 New file.
6848 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
6849 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
6850 file.
6851 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
6852 New file.
6853 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
6854 file.
6855 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
6856 file.
6857 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
6858 file.
6859 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
6860 file.
6861 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
6862 file.
6863 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6864 New file.
6865 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
6866 file.
6867 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
6868 file.
6869 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
6870 New file.
6871 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
6872 file.
6873 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
6874 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
6875 file.
6876 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
6877 New file.
6878 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
6879 file.
6880 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
6881 file.
6882 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
6883 file.
6884 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
6885 file.
6886 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
6887 file.
6888 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6889 New file.
6890 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
6891 file.
6892 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
6893 file.
6894 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
6895 New file.
6896 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
6897 file.
6898 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
6899 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
6900 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
6901 file.
6902 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
6903 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
6904 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
6905 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
6906 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
6907 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
6908 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
6909 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
6910 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
6911 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
6912 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
6913 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
6914 file.
6915 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
6916 New file.
6917 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
6918 file.
6919 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
6920 file.
6921 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
6922 file.
6923 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
6924 file.
6925 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
6926 file.
6927 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
6928 New file.
6929 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
6930 New file.
6931 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
6932 file.
6933 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
6934 New file.
6935 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
6936 file.
6937 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
6938 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
6939 file.
6940 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
6941 New file.
6942 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
6943 file.
6944 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
6945 file.
6946 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
6947 file.
6948 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
6949 file.
6950 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
6951 file.
6952 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
6953 New file.
6954 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
6955 New file.
6956 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
6957 file.
6958 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
6959 New file.
6960 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
6961 file.
6962
41d73a1b
JM
69632012-04-28 Joseph Myers <joseph@codesourcery.com>
6964
6965 * conform/conformtest.pl: Fix typo in handling typed-constant from
6966 allow-header.
6967
28aeeda4
JM
69682012-04-27 Joseph Myers <joseph@codesourcery.com>
6969
adae8f5e
JM
6970 * README: Cut down references to pre-2.6 Linux kernels and
6971 Linuxthreads. Update lists of configurations in libc and ports
6972 and sort alphabetically. Say "or newer" with Linux kernel version
6973 requirements.
6974
28aeeda4
JM
6975 * config.h.in [IS_IN_build]: Allow compiling without optimization.
6976
a462cb63
RA
69772012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6978
6979 [BZ #887]
6980 * math/libm-test.inc (logb_test_downward): New test to expose
6981 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
6982 rounding mode.
6983
6ad3493e
JM
69842012-04-27 Joseph Myers <joseph@codesourcery.com>
6985
6986 [BZ #14027]
6987 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
6988 to be done.
6989 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
6990 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
6991
2ce4f015
JM
69922012-04-26 Joseph Myers <joseph@codesourcery.com>
6993
5aeb141a
JM
6994 * sysdeps/unix/i386/brk.S: Remove file.
6995 * sysdeps/unix/i386/dl-brk.S: Likewise.
6996 * sysdeps/unix/i386/pipe.S: Likewise.
6997 * sysdeps/unix/i386/sigreturn.S: Likewise.
6998 * sysdeps/unix/i386/syscall.S: Likewise.
6999 * sysdeps/unix/i386/vfork.S: Likewise.
7000 * sysdeps/unix/i386/wait.S: Likewise.
7001
7143acae
JM
7002 * sysdeps/unix/common/tcsendbrk.c: Move to ...
7003 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
7004
2ce4f015
JM
7005 * configure.in (arm*-none*): Do not allow without
7006 --enable-hacker-mode.
7007 (netbsd*): Remove case setting base_os.
7008 (386bsd*): Likewise.
7009 (freebsd*): Likewise.
7010 (bsdi*): Likewise.
7011 (osf*): Likewise.
7012 (sunos*): Likewise.
7013 (ultrix*): Likewise.
7014 (newsos*): Likewise.
7015 (dynix*): Likewise.
7016 (*bsd*): Likewise.
7017 (sysv*): Likewise.
7018 (isc*): Likewise.
7019 (esix*): Likewise.
7020 (sco*): Likewise.
7021 (minix*): Likewise.
7022 (irix4*): Likewise.
7023 (irix6*): Likewise.
7024 (solaris[2-9]*): Likewise.
7025 (none): Likewise.
7026 * configure: Regenerated.
7027
0ac229c8
AZ
70282012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7029
7030 [BZ #11521]
7031 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
7032 overflow or cancellation in calculating denominator.
7033 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
7034 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
7035 down expression to avoid unexpected rounding in newer GCCs.
7036 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
7037
33f244f4
DM
70382012-04-26 David S. Miller <davem@davemloft.net>
7039
7040 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
7041 long-double compat symbols.
7042 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
7043 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
7044 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
7045 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
7046 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
7047 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
7048 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
7049 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
7050 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
7051 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
7052 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
7053 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
7054 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
7055
cfa1f3e8
DM
70562012-04-25 David S. Miller <davem@davemloft.net>
7057
7058 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
7059 HWCAP_* values only after the memory barriers have been defined.
7060 (atomic_full_barrier): Define.
7061 (atomic_read_barrier): Define.
7062 (atomic_write_barrier): Define.
7063
6e236b92
SP
70642012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7065
7066 * shlib-versions: Add libgcc_s version information.
7067 * sysdeps/generic/libgcc_s.h: Remove.
7068 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
7069 libgcc_s.h.
7070 * sysdeps/gnu/unwind-resume.c: Likewise.
7071 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
7072
aab39a09
DM
70732012-04-25 David S. Miller <davem@davemloft.net>
7074
7075 * sysdeps/unix/sparc/brk.S: Delete.
7076 * sysdeps/unix/sparc/dl-brk.S: Delete.
7077 * sysdeps/unix/sparc/pipe.S: Delete.
7078 * sysdeps/unix/sparc/sysdep.S: Delete.
7079 * sysdeps/unix/sparc/sysdep.h: Delete.
7080 * sysdeps/unix/sparc/vfork.S: Delete.
7081 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
7082 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
7083 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
7084 ret_ERRVAL, r0, r1, MOVE): Define.
7085 (JUMPTARGET): Remove.
7086 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
7087 sysdeps/unix/sparc/sysdep.h
7088 (ENTRY, END): Remove.
7089 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7090
a3cc4f48
JM
70912012-04-25 Joseph Myers <joseph@codesourcery.com>
7092
2ed8cda2
JM
7093 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
7094 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
7095 -DIS_IN_build.
7096
35d76d59
JM
7097 * timezone/README: Update upstream location and email address for
7098 tzcode and tzdata.
7099 * timezone/zdump.c: Update from tzcode 2012b.
7100 * timezone/zic.c: Likewise.
7101
a3cc4f48
JM
7102 * configure.in (libc_cv_as_needed): Remove test.
7103 * configure: Regenerated.
7104 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
7105 conditional definition.
7106 [$(have-as-needed) != yes] (no-as-needed): Likewise.
7107 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
7108 * config.make.in (have-as-needed): Remove variable.
7109
ceab42c3
SP
71102012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
7111 Paul Pluzhnikov <ppluzhnikov@google.com>
7112
7113 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
7114 strings correctly.
7115
3ce2865f
CLT
71162012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
7117
7118 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
7119 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
7120 * sysdeps/sh/strlen.S: Likewise.
7121
f37e0d68
JM
71222012-04-24 Joseph Myers <joseph@codesourcery.com>
7123
ae186e9a
JM
7124 * sysdeps/unix/fork.S: Remove file.
7125 * sysdeps/unix/i386/fork.S: Likewise.
7126 * sysdeps/unix/sparc/fork.S: Likewise.
7127
b96914af
JM
7128 * sysdeps/unix/system.c: Remove file.
7129 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
7130
f37e0d68
JM
7131 * sysdeps/unix/getegid.S: Remove file.
7132 * sysdeps/unix/geteuid.S: Likewise.
7133
87ef29ca
RM
71342012-04-24 Roland McGrath <roland@hack.frob.com>
7135
83bcd236
RM
7136 * scripts/check-localplt.awk: New file.
7137 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
7138 of diff.
7139 * scripts/data/localplt-generic.data: Add a comment.
7140
87ef29ca
RM
7141 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
7142 NODE when __dir_mkfile failed.
7143 * sysdeps/mach/hurd/symlinkat.c: Likewise.
7144 Reported by Ludovic Courtès <ludo@gnu.org>.
7145
e5a6e567
AJ
71462012-04-24 Andreas Jaeger <aj@suse.de>
7147
7148 * Makerules (common-clean): Also remove gen-as-const-headers
7149 files.
7150
c1820385
JM
71512012-04-24 Joseph Myers <joseph@codesourcery.com>
7152
7153 * Makerules (native-compile): Do not change working directory for
7154 build. Use $(OUTPUT_OPTION) in command.
7155 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
7156
94e02fc4
AZ
71572012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7158
7159 [BZ #13886]
7160 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
7161 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
7162 * math/libm-test.inc (floor_test): Add more tests.
7163 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
7164
3a533ca3
JM
71652012-04-24 Joseph Myers <joseph@codesourcery.com>
7166
940ab4b3
JM
7167 * sysdeps/unix/getdents.c: Remove file.
7168 * sysdeps/unix/sysv/getdents.c: Likewise.
7169 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
7170
90e037bd
JM
7171 * sysdeps/unix/syscalls.list (madvise): Add syscall from
7172 sysdeps/unix/mman/syscalls.list.
7173 (mmap): Likewise.
7174 (mprotect): Likewise.
7175 (msync): Likewise.
7176 (munmap): Likewise.
7177 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
7178 * sysdeps/unix/mman/syscalls.list: Remove.
7179 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
7180
3a533ca3
JM
7181 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
7182 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
7183 * configure: Regenerated.
7184 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
7185 $(libgcc_s_suffix).
7186 * config.make.in (libgcc_s_suffix): Remove variable.
7187
1ad743de
JM
71882012-04-23 Joseph Myers <joseph@codesourcery.com>
7189
4ad451e2
JM
7190 * sysdeps/unix/sysv/gethostname.c: Move to ...
7191 * sysdeps/posix/gethostname.c: ... here.
7192
5e37ce39
JM
7193 * sysdeps/unix/execve.S: Remove file.
7194
1ad743de
JM
7195 * sysdeps/unix/_exit.S: Remove file.
7196
4e681b5b
AJ
71972012-04-23 Andreas Jaeger <aj@suse.de>
7198
7199 [BZ #13739]
7200 * manual/Makefile: Remove make dist support, there's no
7201 need for a stand-alone documentation tar ball.
7202 (TEXI2DVI): Define always, it's not in Makeconfig.
7203 (dist): Removed.
7204 (tar-it): Removed.
7205 (edition): Removed.
7206 (glibc-doc-$(edition).tar): Removed
7207 (%.Z): Removed.
7208 (%.gz): Removed.
7209 (%.uu): Removed.
7210 (ETAGS): Remove, it's in Makeconfig.
7211 (move-if-change): Remove, it's in Makeconfig.
7212
c0baea34
PE
72132013-04-23 Paul Eggert <eggert@cs.ucla.edu>
7214
7215 [BZ #13970]
7216 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
7217 (strtod, strtof, strtold, strtol, strtoul, strtoq)
7218 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
7219 (strtod_l, strtof_l, strtold_l): Remove __wur.
7220 It is not necessarily an error to ignore strtol's return value.
7221 One can reliably look at the stored endptr to decide whether
7222 the number had valid syntax.
7223
7c0616fa
AJ
72242012-04-21 Andreas Jaeger <aj@suse.de>
7225
803cb6b7 7226 [BZ #13739]
7c0616fa
AJ
7227 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
7228
b0fe253f
JM
72292012-04-21 Joseph Myers <joseph@codesourcery.com>
7230
7231 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
7232 * sysdeps/unix/sysv/Versions: Remove file.
7233
8280f22d
MT
72342012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
7235
7236 [BZ #13927]
7237 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7238
75ce411f 72392012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
7240
7241 [BZ #7064]
7242 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
7243 version from __vm86.
7244
097d59fa
JM
72452012-04-20 Joseph Myers <joseph@codesourcery.com>
7246
a90f3bcb
JM
7247 * sysdeps/unix/common/lxstat.c: Remove file.
7248 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
7249
edc7ea78
JM
7250 * sysdeps/unix/sysv/Makefile: Remove file.
7251
cb78c221
JM
7252 * sysdeps/unix/sysv/direct.h: Remove file.
7253
efa6a45f
JM
7254 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
7255 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
7256 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
7257 * sysdeps/unix/sysv/bits/signum.h: Likewise.
7258 * sysdeps/unix/sysv/bits/stat.h: Likewise.
7259 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
7260 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
7261
9c9f2d0c
JM
7262 * sysdeps/unix/sysv/setrlimit.c: Remove file.
7263
4541c83b
JM
7264 * sysdeps/unix/xmknod.c: Remove file.
7265 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
7266
f5d153a0
JM
7267 * sysdeps/unix/sysv/settimeofday.c: Remove file.
7268
aa746595
JM
7269 * sysdeps/unix/sysv/i386/time.S: Remove file.
7270
cce5905e
JM
7271 * sysdeps/unix/fxstat.c: Remove file.
7272 * sysdeps/unix/xstat.c: Likewise.
7273 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
7274
37fa3841
JM
7275 * sysdeps/unix/sysv/sigaction.c: Remove file.
7276
ff1962a3
JM
7277 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
7278 (sysdep_headers): Remove variable.
7279 [termio.h not in sysdep_headers] (generated): Likewise.
7280 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
7281 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
7282 * sysdeps/unix/sysv/tcdrain.c: Likewise.
7283 * sysdeps/unix/sysv/tcflow.c: Likewise.
7284 * sysdeps/unix/sysv/tcflush.c: Likewise.
7285 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
7286 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
7287 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
7288 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
7289 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
7290
e7740d31
JM
7291 * sysdeps/unix/siglist.c: Remove file.
7292
ee06f18b
JM
7293 * sysdeps/unix/getppid.S: Remove file.
7294
097d59fa
JM
7295 * sysdeps/unix/mkdir.c: Remove file.
7296 * sysdeps/unix/rmdir.c: Likewise.
7297
ff3d51ec
AS
72982012-04-19 Andreas Schwab <schwab@linux-m68k.org>
7299
7300 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
7301 ERR_MAX value.
7302 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
7303 errlist-compat value.
7304
50f81fd7
DM
73052012-04-18 David S. Miller <davem@davemloft.net>
7306
7307 * sysdeps/generic/memcopy.h (reg_char): Delete.
7308 * debug/strcat_chk.c: Use char, not reg_char.
7309 * debug/strcpy_chk.c: Likewise.
7310 * debug/strncat_chk.c: Likewise.
7311 * debug/strncpy_chk.c: Likewise.
7312 * string/memchr.c: Likewise.
7313 * string/memrchr.c: Likewise.
7314 * string/rawmemchr.c: Likewise.
7315 * string/strcat.c: Likewise.
7316 * string/strchr.c: Likewise.
7317 * string/strchrnul.c: Likewise.
7318 * string/strcmp.c: Likewise.
7319 * string/strcpy.c: Likewise.
7320 * string/strncat.c: Likewise.
7321 * string/strncmp.c: Likewise.
7322 * string/strncpy.c: Likewise.
7323
8ff41c46
WS
73242012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
7325
7326 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
7327 __builtin_memcopy is called when src and dest ranges are known to not
7328 overlap.
7329
6b652f46
WS
73302012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
7331
7332 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
7333 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
7334 fwd_align_merge macro call.
7335 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
7336 bwd_align_merge macro call.
7337 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
7338
b282631e
WS
73392012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
7340
7341 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
7342 bwd_align_merge macros.
7343 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
7344 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
7345 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
7346
95aa737c
DM
73472012-04-18 David S. Miller <davem@davemloft.net>
7348
7349 * sysdeps/sparc/sparc64/memcopy.h: Delete.
7350
7a99a614
AJ
73512012-04-18 Andreas Jaeger <aj@suse.de>
7352
7353 [BZ# 6794]
7354 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
7355 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
7356 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
7357
7358 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
7359 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
7360 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
7361
7362 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
7363 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
7364 Adjust for changed ldbl-128 files.
7365
7366 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
7367 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
7368 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
7369
e5270c23
DM
73702012-04-17 David S. Miller <davem@davemloft.net>
7371
7372 * sysdeps/sparc/sparc32/memcopy.h: Delete.
7373
fb5e92c9
AS
73742012-04-17 Andreas Schwab <schwab@linux-m68k.org>
7375
7376 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
7377 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
7378 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
7379 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
7380 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
7381 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
7382
76da7265
AZ
73832012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7384
7385 [BZ #6794]
7386 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
7387 * math/libm-test.inc: Add ilogb errno and exception tests.
7388 * math/w_ilogb.c: New file: ilogb wrapper.
7389 * math/w_ilogbf.c: New file: ilogbf wrapper.
7390 * math/w_ilogbl.c: New file: ilogbl wrapper.
7391 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
7392 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
7393 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
7394 exception being thrown with 0.0 as argument.
7395 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
7396 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
7397 exception being thrown with 0.0 as argument.
7398 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
7399 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
7400 exception being thrown with 0.0 as argument.
7401 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
7402 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
7403 exception being thrown with 0.0 as argument.
7404 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
7405 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 7406 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
7407 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
7408 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
7409 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
7410 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
7411 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
7412 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
7413
0396e69d
PB
74142012-04-17 Petr Baudis <pasky@ucw.cz>
7415
7416 * include/sys/uio.h: Change __vector to __iovec to avoid clash
7417 with altivec.
7418
750b5926
MP
74192012-04-16 Marek Polacek <polacek@redhat.com>
7420
7421 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
7422
751728a1
MP
74232012-04-16 Marek Polacek <polacek@redhat.com>
7424
7425 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
7426 operands of fdivp instruction.
7427
34a27407
L
74282012-04-13 H.J. Lu <hongjiu.lu@intel.com>
7429
7430 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
7431 * elf/tst-auditmod3b.c: Likewise.
7432 * elf/tst-auditmod4b.c: Likewise.
7433 * elf/tst-auditmod5b.c: Likewise.
7434 * elf/tst-auditmod6b.c: Likewise.
7435 * elf/tst-auditmod6c.c: Likewise.
7436 * elf/tst-auditmod7b.c: Likewise.
7437 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
7438 * sysdeps/x86_64/preconfigure.in: Likewise.
7439 * sysdeps/x86_64/preconfigure: Regenerated.
7440
7e73e17d
L
74412012-04-13 H.J. Lu <hongjiu.lu@intel.com>
7442
7443 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
7444 __ILP32__.
7445
c7a6ab72
AB
74462012-04-13 Antoine Balestrat <merkil33@gmail.com>
7447
7448 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7449 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
7450
a9e8e0e0
CL
74512012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
7452
7453 [BZ #13973]
7454 * locale/iso-639.def: Fix gl language name. Spotted by
7455 Yaron Shahrabani.
7456
ec98af7d
RM
74572012-04-12 Roland McGrath <roland@hack.frob.com>
7458
7459 [BZ #2074]
7460 * libio/libio.h (__io_write_fn): Update comment.
7461
247c3ede
PB
74622012-04-12 Petr Baudis <pasky@ucw.cz>
7463
7464 [BZ #2074]
7465 * stdio.texi (Hook Functions): The user provided writer function
7466 is not allowed to return -1.
7467
55939d6d
DM
74682012-04-11 David S. Miller <davem@davemloft.net>
7469
7470 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7471
90020f5a
MF
74722012-04-11 Mike Frysinger <vapier@gentoo.org>
7473
7474 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
7475 Add a leading slash to rtkaio.
7476
288f9098
JM
74772012-04-11 Jim Meyering <meyering@redhat.com>
7478
90020f5a
MF
7479 [BZ #11959]
7480 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
7481 It is not necessarily an error to ignore fwrite's return
7482 value. One can reliably use ferror to test for errors after
7483 the fact.
288f9098 7484
4be2b570
L
74852012-04-10 H.J. Lu <hongjiu.lu@intel.com>
7486
7487 * bits/types.h (__snseconds_t): New type.
7488 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
7489
7490 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
7491 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
7492 (__SNSECONDS_T_TYPE): Likewise.
7493 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
7494 (__SNSECONDS_T_TYPE): Likewise.
7495 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7496 (__SNSECONDS_T_TYPE): Likewise.
7497
288f9098 74982012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
7499
7500 [BZ #2636]
7501 * manual/time.texi (Processor Time): Return type of times is
7502 elapsed real time since an arbitrary point in the past.
7503 (CPU Time): Move CLK_TCK from here...
7504 (Processor Time): ...to here. Correct description.
7505 * manual/conf.texi (Constants for Sysconf): Correct description of
7506 _SC_CLK_TCK.
7507
d7dd4413
DM
75082012-04-10 David S. Miller <davem@davemloft.net>
7509
7510 [BZ #13967]
7511 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
7512 where the is a gap between DT_REL(A) and DT_JMPREL.
7513
b46068fc
L
75142012-04-10 H.J. Lu <hongjiu.lu@intel.com>
7515
7516 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
7517 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
7518 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
7519
73d65cc3
SP
75202012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7521
7522 * elf/dl-support.c (_dl_inhibit_cache): New variable.
7523 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
7524 (dl_main): Handle --inhibit-cache.
7525 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
7526 _dl_inhibit_cache.
7527 * elf/dl-load.c (_dl_map_object): Use it.
7528 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
7529
bcc8d661
JM
75302012-04-09 Joseph Myers <joseph@codesourcery.com>
7531
8f9a2fae
JM
7532 [BZ #13872]
7533 * sysdeps/i386/fpu/e_powl.S (p78): New object.
7534 (__ieee754_powl): Saturate large exponents rather than testing for
7535 overflow of y*log2(x).
7536 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
7537 * math/libm-test.inc (pow_test): Do not permit spurious overflow
7538 exceptions.
7539
bcc8d661
JM
7540 [BZ #11521]
7541 * math/s_ctan.c: Include <float.h>.
7542 (__ctan): Avoid internal overflow or cancellation in calculating
7543 denominator.
7544 * math/s_ctanf.c: Likewise.
7545 * math/s_ctanl.c: Likewise.
7546 * math/s_ctanh.c: Likewise.
7547 * math/s_ctanhf.c: Likewise.
7548 * math/s_ctanhl.c: Likewise.
7549 * math/libm-test.inc (ctan_test): Add more tests.
7550 (ctanh_test): Likewise.
7551 * sysdeps/i386/fpu/libm-test-ulps: Update.
7552 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7553
823fbbb4
AJ
75542012-04-09 Andreas Jaeger <aj@suse.de>
7555
03879793
AJ
7556 [BZ #6894]
7557 * manual/filesys.texi (Directory Entries): Mention that d_namlen
7558 is an optional BSD extension.
7559
823fbbb4
AJ
7560 [BZ #10254]
7561 * manual/stdio.texi (Opening Streams): Document additional fopen
7562 parameters.
7563
8de131cb
RM
75642012-04-09 Roland McGrath <roland@hack.frob.com>
7565
7566 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
7567 %eax without telling the compiler.
7568
c0ed9d7d
CD
75692012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
7570
7571 [BZ # 13963]
7572 * manual/install.texi: Use sourceware.org.
7573
c483f6b4
JM
75742012-04-09 Joseph Myers <joseph@codesourcery.com>
7575
d7dd9453
JM
7576 [BZ #13873]
7577 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
7578 (__ieee754_pow): Generate overflow and underflow using huge*huge
7579 and tiny*tiny rather than just returning constant infinity or zero
7580 for large exponents.
7581 * math/libm-test.inc (pow_test): Require overflow exceptions for
7582 applicable cases of large exponents.
7583
c483f6b4
JM
7584 [BZ #706]
7585 * sysdeps/i386/fpu/e_pow.S (p10): New object.
7586 (__ieee754_pow): Use iterative multiplication algorithm only for
7587 integer exponents with absolute value below 1024. Check for odd
7588 integer exponents when using algorithm for real exponents.
7589 * math/libm-test.inc (pow_test): Add more tests.
7590 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7591
d2de7579
JM
75922012-04-08 Joseph Myers <joseph@codesourcery.com>
7593
7594 [BZ #13705]
7595 * math/libm-test.inc (exp_test): Do not allow overflow exception
7596 on underflow test.
7597
f77f1232
AJ
75982012-04-08 Aurelien Jarno <aurelien@aurel32.net>
7599
7600 [BZ #13705]
7601 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
7602 instead of __kernel_standard_f.
7603
3884932b
MF
76042012-04-08 Mike Frysinger <vapier@gentoo.org>
7605
7606 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
7607 * sysdeps/x86_64/memset_chk.S: Likewise.
7608
54472e9c
AJ
76092012-04-08 Andreas Jaeger <aj@suse.de>
7610
6ab0fbfc
AJ
7611 [BZ #10153]
7612 * manual/startup.texi (Environment Access): Describe return value
7613 for putenv and setenv.
7614
61efba8c
AJ
7615 [BZ #6895]
7616 * manual/filesys.texi (Directory Entries): Add description for
7617 DT_LNK.
7618
95c3f29a
AJ
7619 [BZ #6890]
7620 * manual/filesys.texi (Directory Entries): Clarify that it's file
7621 system not operating system in the description of DT_UNKNOWN.
7622
54472e9c
AJ
7623 [BZ #6578]
7624 * manual/syslog.texi (closelog): Fix reference, it's openlog.
7625
624254b1
SC
76262012-04-08 Stephen Compall <s11@member.fsf.org>
7627
7628 [BZ #6649]
7629 * manual/llio.texi (Opening and Closing Files): Add cross
7630 reference to explain mode argument.
7631
1e4920e0
MF
76322012-04-07 Mike Frysinger <vapier@gentoo.org>
7633
7634 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
7635 * sysdeps/x86_64/memset_chk.S: Likewise.
7636
5ed848f3
DM
76372012-04-07 David S. Miller <davem@davemloft.net>
7638
7639 * elf/elf.h (R_SPARC_WDISP10): Define.
7640 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
7641 R_SPARC_SIZE32.
7642 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
7643 R_SPARC_SIZE64 and R_SPARC_H34.
7644
96154cd8
CD
76452012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
7646
7647 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
7648 conditions and remove no longer applicable assertion.
7649
9904dc47
L
76502012-04-06 H.J. Lu <hongjiu.lu@intel.com>
7651
7652 * bits/byteswap.h: Include <features.h>.
7653 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
7654 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
7655
f8887d0a
L
76562012-04-06 H.J. Lu <hongjiu.lu@intel.com>
7657
7658 * bits/byteswap.h (__bswap_16): Removed.
7659 Include <bits/byteswap-16.h> to get __bswap_16.
7660 * sysdeps/i386/bits/byteswap.h: Likewise.
7661 * sysdeps/s390/bits/byteswap.h: Likewise.
7662 * sysdeps/x86_64/bits/byteswap.h: Likewise.
7663 * bits/byteswap-16.h: New file.
7664 * sysdeps/i386/bits/byteswap-16.h: Likewise.
7665 * sysdeps/s390/bits/byteswap-16.h: Likewise.
7666 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
7667 * string/Makefile (headers): Add bits/byteswap-16.h.
7668
62470f60
PP
76692012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
7670
7671 [BZ #13895]
7672 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
7673 extra indirection.
7674 * nss/Makefile (tests-static, tests): Add tst-nss-static.
7675 * nss/tst-nss-static.c: New.
7676
4dad7bab
RM
76772012-04-06 Robert Millan <rmh@gnu.org>
7678
7679 [BZ #6486]
7680 * manual/llio.texi (File Position Primitive): lseek
7681 refers to WHENCE when it really means OFFSET.
7682
e9142a17
AJ
76832012-04-06 Andreas Jaeger <aj@suse.de>
7684
2c040eff
AJ
7685 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
7686 strncmp declarations.
7687
e9142a17
AJ
7688 * abilist/libc.abilist: Add __poll and __ppoll.
7689
ff9f1c5f
DM
76902012-04-05 David S. Miller <davem@davemloft.net>
7691
dcd2ae90
DM
7692 * scripts/check-local-headers.sh: Accept a host triplet in the
7693 path matched by the exclude regexp.
7694
993eb054
DM
7695 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
7696 definition.
7697 * sysdeps/powerpc/powerpc32/dl-machine.h
7698 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
7699 * sysdeps/s390/s390-32/dl-machine.h
7700 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
7701 * sysdeps/sparc/sparc32/dl-machine.h
7702 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
7703 * sysdeps/sparc/sparc64/dl-machine.h
7704 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
7705
ff9f1c5f
DM
7706 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
7707 lazy binding.
48e2e132 7708 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
7709 undefined symbol errors.
7710
48e2e132 7711 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
7712 DT_NEEDED entries.
7713
e80d6f94
MM
77142012-04-05 Michael Matz <matz@suse.de>
7715
7716 [BZ #13592]
7717 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
7718
349fa79f
AJ
77192012-04-05 Andreas Jaeger <aj@suse.de>
7720
7721 [BZ #13908]
7722 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
7723 comment.
7724
f402708f
KK
77252012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7726
7727 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
7728 which ROUND is no valid rounding mode.
7729
2ecccfc9
KK
77302012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7731
7732 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
7733 read again.
7734 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
7735
8a53f50f
KK
77362012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7737
7738 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
7739 an exception using FPU order intentionally.
7740
77412012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7742
7743 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
7744 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
7745 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
7746 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
7747
d653abb7
SJ
77482012-04-05 Simon Josefsson <simon@josefsson.org>
7749
7750 [BZ #12340]
7751 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
7752 EINVAL when BUFLEN is too smal.
7753
c3b1bf7d
TS
77542012-04-05 Thomas Schwinge <thomas@codesourcery.com>
7755
7756 [BZ #13553]
7757 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
7758 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
7759
b1aa60f3
AJ
77602012-04-03 Andreas Jaeger <aj@suse.de>
7761
c3b1bf7d 7762 [BZ #13938]
67f60a26
AJ
7763 * manual/setjmp.texi (System V contexts): Fix sentence.
7764
b1aa60f3
AJ
7765 [BZ #13926]
7766 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
7767 New macro for this case.
7768 [!__GNUC__] (__bswap_64): New inline function for this case.
7769 * sysdeps/x86_64/bits/byteswap.h: Likewise.
7770 * bits/byteswap.h: Likewise.
7771 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
7772 ull, guard with __GLIBC_HAVE_LONG_LONG.
7773
7774 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
7775 __GLIBC_HAVE_LONG_LONG.
7776
7777 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
7778 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
7779
39c59c35
TMQMF
77802012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7781
7782 [BZ #13691]
7783 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
7784 inptr and inend, rather than using last_ch.
7785
135ffda8
DM
77862012-04-02 David S. Miller <davem@davemloft.net>
7787
7788 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
7789 * stdio-common/printf-parse.h (read_int): Change return type to
7790 'int', return -1 on INT_MAX overflow.
7791 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
7792 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
7793 overflows INT_MAX. Check for overflow of in-format-string precision
7794 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
7795 SIZE_MAX not INT_MAX for integer overflow test.
7796 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
7797 skip the construct in the format string but do not record anything.
7798 * stdio-common/bug22.c: Adjust to test both width/prevision
7799 INT_MAX overflow as well as total length INT_MAX overflow. Check
7800 explicitly for proper errno values.
7801
228c019e
TS
78022012-04-02 Thomas Schwinge <thomas@codesourcery.com>
7803
302cadd3
TS
7804 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
7805 CHAR_MAX.
7806 * string/test-strcmp.c [! WIDE]: Likewise.
7807 * time/tst-mktime2.c: Likewise for INT_MAX.
7808 * string/test-string.h: #include <sys/param.h> for MIN.
7809
228c019e
TS
7810 * csu/init-first.c (__libc_init_first): Call __ctype_init.
7811 * sysdeps/i386/init-first.c (init): Likewise.
7812 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
7813 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
7814 * sysdeps/sh/init-first.c (init): Likewise.
7815
cfa633f5
UD
78162012-04-01 Ulrich Drepper <drepper@gmail.com>
7817
7818 * po/ru.po: Update from translation team.
d1635ef8 7819 * po/vi.po: Likewise.
cfa633f5 7820
6cd0a5ea
SP
78212012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
7822
7823 * resolv/nss_dns/dns-host.c: Merge copyright years.
7824
4b43400f
LD
78252012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7826
7827 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
7828 Optimize memcpy with prefetch if
7829 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
7830 src, dst pointers have unequal 16 byte alignments.
7831
48c41d04
SP
78322012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7833
7834 [BZ #13928]
7835 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
7836 from a CNAME entry and return the minimum ttl for the query.
7837 (gaih_getanswer_slice): Likewise.
7838
b8dc394d
JL
78392012-03-30 Jeff Law <law@redhat.com>
7840
7841 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
7842 due to long keys.
7843 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
7844 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
7845
2f5a5ed0
JL
7846 * resolv/nss_dns/dns-host.c: Update copyright year.
7847
1d39e359
UD
78482012-03-30 Ulrich Drepper <drepper@gmail.com>
7849
c030f70c 7850 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 7851 requests to save a system call. Fix check that all bytes are sent.
c030f70c 7852
1d39e359
UD
7853 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
7854 comments for sendmmsg.
7855
78562012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
7857
7858 [BZ #13691]
7859 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
7860 with only 1 character between 0x0041 and 0x01b0.
7861 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
7862 * wcsmbs/tst-mbsnrtowcs.c: New file.
7863
20fde227
DM
78642012-03-29 David S. Miller <davem@davemloft.net>
7865
7866 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
7867 small copies by hand.
7868
984a4237
JL
78692012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7870
7871 [BZ #13761]
7872 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
7873 _nss_compat_initgroups_dyn): Fall back to malloc/free
7874 for large group memberships.
7875
18c9d62b
DM
78762012-03-28 David S. Miller <davem@davemloft.net>
7877
88d85d4f
DM
7878 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
7879 that branches into memcpy.
7880 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
7881 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
7882 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
7883 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
7884 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
7885 bits.
7886 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
7887 implementation too.
7888 * sysdeps/sparc/mempcpy.S: New file.
7889
e5aa83e1
DM
7890 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
7891 the IFUNC routine in the libc case.
7892 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
7893
88570753
DM
7894 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
7895 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
7896 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
7897 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
7898 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
7899 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
7900 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
7901 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
7902
249d7567
DM
7903 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
7904 loop to 256 bytes instead of 64 bytes and fix test signedness.
7905
18c9d62b
DM
7906 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
7907 * sysdeps/sparc/sparc32/Makefile: rather than here...
7908 * sysdeps/sparc/sparc64/Makefile: and here.
7909
05f3d1f6
UD
79102012-03-28 Ulrich Drepper <drepper@gmail.com>
7911
7912 * malloc/mallocbug.c: Avoid warnings about unused variables.
7913
86ae07a8
JL
79142012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
7915
7916 [BZ #13760]
7917 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
7918 in the right place. Discard and retry query if response is
7919 larger than input buffer size.
7920
41bf21a1
JM
79212012-03-28 Joseph Myers <joseph@codesourcery.com>
7922
d6270972
JM
7923 [BZ #369]
7924 [BZ #2678]
7925 [BZ #3866]
7926 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
7927 x for large integer exponent.
7928 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
7929 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
7930 sign of result as needed afterwards.
7931 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
7932 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
7933 result for underflowing pow the same as for overflow.
7934 (__kernel_standard_l): Handle powl overflow and underflow here
7935 rather than calling __kernel_standard.
7936 * math/libm-test.inc (pow_test): Add more tests.
7937
414fca03 7938 [BZ #3868]
41bf21a1
JM
7939 [BZ #13879]
7940 [BZ #13910]
7941 [BZ #13911]
7942 [BZ #13912]
7943 [BZ #13913]
7944 [BZ #13915]
7945 [BZ #13916]
7946 [BZ #13917]
7947 [BZ #13918]
7948 [BZ #13919]
7949 [BZ #13920]
7950 [BZ #13921]
7951 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
7952 * sysdeps/ieee754/k_standard.c: Include <float.h>.
7953 (__kernel_standard_l): New function.
7954 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
7955 __kernel_standard.
7956 * math/w_acosl.c (__acosl): Likewise.
7957 * math/w_asinl.c (__asinl): Likewise.
7958 * math/w_atan2l.c (__atan2l): Likewise.
7959 * math/w_atanhl.c (__atanhl): Likewise.
7960 * math/w_coshl.c (__coshl): Likewise.
7961 * math/w_exp10l.c (__exp10l): Likewise.
7962 * math/w_exp2l.c (__exp2l): Likewise.
7963 * math/w_fmodl.c (__fmodl): Likewise.
7964 * math/w_hypotl.c (__hypotl): Likewise.
7965 * math/w_j0l.c (__j0l, __y0l): Likewise.
7966 * math/w_j1l.c (__j1l, __y1l): Likewise.
7967 * math/w_jnl.c (__jnl, __ynl): Likewise.
7968 * math/w_lgammal.c (__lgammal): Likewise.
7969 * math/w_log10l.c (__log10l): Likewise.
7970 * math/w_log2l.c (__log2l): Likewise.
7971 * math/w_logl.c (__logl): Likewise.
7972 * math/w_powl.c (__powl): Likewise.
7973 * math/w_remainderl.c (__remainderl): Likewise.
7974 * math/w_scalbl.c (sysv_scalbl): Likewise.
7975 * math/w_sinhl.c (__sinhl): Likewise.
7976 * math/w_sqrtl.c (__sqrtl): Likewise.
7977 * math/w_tgammal.c (__tgammal): Likewise.
7978 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
7979 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
7980 * math/libm-test.inc (acos_test): Add more tests.
7981 (acosh_test): Likewise.
7982 (asin_test): Likewise.
7983 (atanh_test): Likewise.
7984 (exp_test): Likewise.
7985 (exp10_test): Likewise.
7986 (exp2_test): Likewise.
7987 (expm1_test): Likewise.
7988 (lgamma_test): Likewise.
7989 (log_test): Likewise.
7990 (log10_test): Likewise.
7991 (log1p_test): Likewise.
7992 (log2_test): Likewise.
7993 (pow_test): Do not allow some spurious overflow exceptions.
7994 (sqrt_test): Add more tests.
7995 (tgamma_test): Likewise.
7996 (y0_test): Likewise.
7997 (y1_test): Likewise.
7998 (yn_test): Likewise.
7999
dd62fda6
AB
80002012-03-27 Anton Blanchard <anton@samba.org>
8001
8002 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
8003 MAP_HUGETLB.
8004 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
8005 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
8006 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
8007
1e3cdfda
AJ
80082012-03-27 David S. Miller <davem@davemloft.net>
8009
b855ab85
DM
8010 * conform/Makefile: Run run-conformtest.sh using $(BASH).
8011
1e3cdfda
AJ
8012 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
8013 have-as-vis3 check.
8014
80152012-03-27 Andreas Jaeger <aj@suse.de>
8016
8017 * sysdeps/x86_64/elf/configure.in: Moved to ...
8018 * sysdeps/x86_64/configure.in: ... here.
8019 * sysdeps/x86_64/elf/start.S: Moved to ...
8020 * sysdeps/x86_64/start.S: ... here.
8021 * sysdeps/x86_64/elf/configure: Delete.
8022
8023 * sysdeps/x86_64/configure.in: Merge contents from
8024 sysdeps/i386/configure.in (without i686 check).
8025
8026 * sysdeps/i386/elf/Versions: Merge into ...
8027 * sysdeps/i386/Versions: ... this.
8028 * sysdeps/i386/elf/Versions: Delete file.
8029 * sysdeps/i386/elf/start.S: Moved to ...
8030 * sysdeps/i386/start.S: ...here.
8031 * sysdeps/i386/elf/configure.in: Merge into...
8032 * sysdeps/i386/configure.in: ...here.
8033 * sysdeps/i386/elf/configure.in: Delete file.
8034 * sysdeps/i386/elf/configure: Delete file.
8035
8036 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
8037 * debug/backtracesyms.c: ... here.
8038 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
8039 * debug/backtracesymsfd.c: ... here.
8040 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
8041 * sysdeps/generic/ifunc-sel.h: ... here.
8042
8043 * sysdeps/unix/i386/start.c: Delete file.
8044 * sysdeps/unix/sparc/start.c: Delete file.
8045 * sysdeps/unix/start.c: Delete file.
8046
8047 * sysdeps/sh/elf/configure.in: Moved to ...
8048 * sysdeps/sh/configure.in: ... here.
8049 * sysdeps/sh/elf/start.S: Moved to ...
8050 * sysdeps/sh/start.S: ... here.
8051 * sysdeps/sh/elf/configure: Delete file.
8052
8053 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
8054 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
8055 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
8056 * sysdeps/powerpc/powerpc64/entry.h: ... here.
8057 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
8058 * sysdeps/powerpc/powerpc64/start.S: here.
8059 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
8060 * sysdeps/powerpc/powerpc64/Makefile: ... this.
8061 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
8062 * sysdeps/powerpc/powerpc64/configure.in: ... this.
8063 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
8064
8065 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
8066 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
8067 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
8068 * sysdeps/powerpc/powerpc32/start.S: ... here.
8069 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
8070 * sysdeps/powerpc/powerpc32/configure.in: ... this.
8071 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
8072
8073 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
8074 * sysdeps/powerpc/ifunc-sel.h: ... here.
8075 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
8076 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
8077
8078 * sysdeps/sparc/elf/configure.in: Moved to ...
8079 * sysdeps/sparc/configure.in: ... here.
8080 * sysdeps/sparc/elf/configure: Delete file.
8081 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
8082 * sysdeps/sparc/sparc32/start.S: ... here.
8083 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
8084 * sysdeps/sparc/sparc64/start.S: ... here.
8085 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
8086 * sysdeps/sparc/sparc32/Makefile: ... this.
8087 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
8088 * sysdeps/sparc/sparc64/Makefile: ... this.
8089
8090 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
8091 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
8092 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
8093 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
8094 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
8095 * sysdeps/s390/s390-32/setjmp.S: ... here.
8096 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
8097 * sysdeps/s390/s390-32/configure.in: ... here.
8098 * sysdeps/s390/s390-32/elf/configure: Delete file.
8099 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
8100 * sysdeps/s390/s390-32/start.S: ... here.
8101
8102 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
8103 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
8104 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
8105 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
8106 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
8107 * sysdeps/s390/s390-64/setjmp.S: ... here.
8108 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
8109 * sysdeps/s390/s390-64/configure.in: ... here
8110 * sysdeps/s390/s390-64/elf/configure: Delete file.
8111 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
8112 * sysdeps/s390/s390-64/start.S: ... here.
8113 * sysdeps/s390/s390-64/elf/configure: Delete.
8114
8115 * configure.in: Remove support for elf directories in sysdeps.
8116
8117 * configure: Regenerated.
8118 * sysdeps/i386/configure: Regenerated.
8119 * sysdeps/powerpc/powerpc32/configure: Regenerated.
8120 * sysdeps/powerpc/powerpc64/configure: Regenerated.
8121 * sysdeps/s390/s390-32/configure: Regenerated.
8122 * sysdeps/s390/s390-64/configure: Regenerated.
8123 * sysdeps/sh/configure: Regenerated.
8124 * sysdeps/sparc/configure: Regenerated.
8125 * sysdeps/x86_64/configure: Regenerated.
8126
a3f61311
AS
81272012-03-26 Andreas Schwab <schwab@linux-m68k.org>
8128
c876e002
AS
8129 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8130
a3f61311
AS
8131 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
8132 denormal result into account.
8133
ac4c54f0
RM
81342012-03-25 Roland McGrath <roland@hack.frob.com>
8135
8136 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
8137 Reported by Allan McRae <allan@archlinux.org>.
8138
6a9b9c02
JL
81392012-03-23 Jeff Law <law@redhat.com>
8140
8141 * nss/getnssent.c (__nss_getent): Fix typo.
8142
4c42a0c1
DM
81432012-03-23 David S. Miller <davem@davemloft.net>
8144
8145 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8146
1532c7ac
L
81472012-03-23 H.J. Lu <hongjiu.lu@intel.com>
8148
8149 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
8150 to pad to uint64_t for each field.
8151 (dl_tls_index): Replace unsigned long with uint64_t.
8152
3ff42526
PP
81532012-03-23 Daniel Jacobowitz <dmj@google.com>
8154 Paul Pluzhnikov <ppluzhnikov@google.com>
8155
8156 [BZ #6528]
8157 * grp/Makefile (otherlibs): Don't set it.
8158 * inet/Makefile (otherlibs): Likewise.
8159 * login/Makefile (otherlibs): Likewise.
8160 * nscd/Makefile (otherlibs): Likewise.
8161 * posix/Makefile (otherlibs): Likewise.
8162 * pwd/Makefile (otherlibs): Likewise.
8163 * rt/Makefile (otherlibs): Likewise.
8164 * sunrpc/Makefile (otherlibs): Likewise.
8165 * nss/Makefile (otherlibs): Likewise.
8166 Add libnss_files to routines and static-only-routines.
8167 ($(objpfx)getent): Remove rule.
8168 * resolv/Makefile: Add libnss_dns and libresolv to routines and
8169 static-only-routines.
8170
7c69cd14
JM
81712012-03-22 Joseph Myers <joseph@codesourcery.com>
8172
8173 [BZ #13892]
8174 * math/s_cexp.c: Include <float.h>.
8175 (__cexp): Handle exp result overflowing not necessarily
8176 overflowing both real and imaginary parts of result.
8177 * math/s_cexpf.c: Likewise.
8178 * math/s_cexpl.c: Likewise.
8179 * math/libm-test.inc (cexp_test): Add more tests.
8180 * sysdeps/i386/fpu/libm-test-ulps: Update.
8181 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8182
81b035fe
L
81832012-03-22 H.J. Lu <hongjiu.lu@intel.com>
8184
8185 * include/link.h (ELFW): New macro.
8186 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
8187 Replace ELF64_R_TYPE with ELFW(R_TYPE).
8188
1da7940c
L
81892012-03-22 H.J. Lu <hongjiu.lu@intel.com>
8190
8191 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
8192 with uint64_t.
8193
b749dbb9
L
81942012-03-22 H.J. Lu <hongjiu.lu@intel.com>
8195
8196 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
8197 declaration.
8198 (struct La_x32_retval): Likewise.
8199
2ff87f3f
L
82002012-03-22 H.J. Lu <hongjiu.lu@intel.com>
8201
8202 * sysdeps/x86_64/preconfigure.in: New file.
8203 * sysdeps/x86_64/preconfigure: New generated file.
8204
c0df8e69
JM
82052012-03-22 Joseph Myers <joseph@codesourcery.com>
8206
48e44791
JM
8207 [BZ #13824]
8208 * math/e_exp2l.c: Include <float.h>.
8209 (__ieee754_exp2l): Handle overflow and underflow cases
8210 separately. Only pass fractional part of argument to
8211 __ieee754_expl.
8212 * math/libm-test.inc (exp2_test): Add more tests.
8213
c0df8e69
JM
8214 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
8215 negating x to take absolute value.
8216 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
8217 Likewise.
8218 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
8219 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
8220 Likewise.
8221 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
8222 computing low part if x was negated.
8223 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
8224
c8e43ba7
L
82252012-03-21 H.J. Lu <hongjiu.lu@intel.com>
8226
8227 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
8228 la_x32_gnu_pltexit.
8229 (pltexit): Cast int_retval to ptrdiff_t.
8230 * elf/tst-auditmod3b.c: Likewise.
8231 * elf/tst-auditmod4b.c: Likewise.
8232 * elf/tst-auditmod5b.c: Likewise.
8233 * elf/tst-auditmod6b.c: Likewise.
8234 * elf/tst-auditmod6c.c: Likewise.
8235 * elf/tst-auditmod7b.c: Likewise.
8236
8237 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
8238 and x32_gnu_pltexit.
8239
8240 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
8241 __ELF_NATIVE_CLASS.
8242 (La_x32_regs): New macro.
8243 (La_x32_retval): Likewise.
8244 (la_x32_gnu_pltenter): New function prototype.
8245 (la_x32_gnu_pltexit): Likewise.
8246
7998fa78
AS
82472012-03-21 Andreas Schwab <schwab@linux-m68k.org>
8248
dcb33988
AS
8249 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
8250 exponent.
8251
233fc563
AS
8252 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8253
7998fa78
AS
8254 * configure.in (libc_cv_cc_nofma): Check for option to disable
8255 generation of FMA instructions.
8256 * configure: Regenerate.
8257 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
8258 * sysdeps/ieee754/dbl-64/Makefile: New file.
8259 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
8260 Remove brandred-fma4.
8261 (CFLAGS-brandred-fma4.c): Remove.
8262 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
8263 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
8264 define.
8265 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
8266 define.
8267
8e95c99a
L
82682012-03-21 H.J. Lu <hongjiu.lu@intel.com>
8269
8270 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
8271 LLONG_MAX != LONG_MAX.
8272 (_itoa_word): Use _ITOA_WORD_TYPE on value.
8273 (_fitoa_word): Likewise.
8274 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
8275 LLONG_MAX != LONG_MAX.
8276 * stdio-common/_itowa.h: Include <_itoa.h>.
8277 (_itowa_word): Use _ITOA_WORD_TYPE on value.
8278 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
8279 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
8280 only if not defined.
8281 (_ITOA_WORD_TYPE): Likewise.
8282 (_itoa_word): Use _ITOA_WORD_TYPE on value.
8283 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
8284
6f4db457
DM
82852012-03-21 David S. Miller <davem@davemloft.net>
8286
8287 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8288
7785fe5a
L
82892012-03-21 H.J. Lu <hongjiu.lu@intel.com>
8290
8291 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
8292 of x86_64 when setting libc_cv_slibdir, libdir and
8293 libc_cv_localedir.
8294 * sysdeps/unix/sysv/linux/configure: Regenerated.
8295
4535cd55
JM
82962012-03-21 Joseph Myers <joseph@codesourcery.com>
8297
8298 * manual/lang.texi (Old Varargs): Remove section.
8299 (How Variadic): Update menu.
8300 (va_start): Do not mention varargs.h.
8301
17228132
TS
83022012-03-21 Thomas Schwinge <thomas@codesourcery.com>
8303 Joseph Myers <joseph@codesourcery.com>
8304
8305 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
8306 link test.
8307 * configure: Regenerated.
8308
8149f976
TS
83092012-03-21 Thomas Schwinge <thomas@codesourcery.com>
8310
05f3d1f6
UD
8311 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
8312 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
8313 conformtest.pl
8149f976 8314
1a4ac776
JM
83152012-03-21 Joseph Myers <joseph@codesourcery.com>
8316
be22ce65
JM
8317 * NOTES: Remove.
8318 * Makefile (files-for-dist): Remove NOTES.
8319 (NOTES): Remove rule.
8320 * README: Don't refer to NOTES.
8321 * manual/creature.texi: Don't include macros.texi.
8322 * manual/intro.texi (creature.texi): Remove comment referring to
8323 NOTES.
8324
40b601fb
JM
8325 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
8326 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
8327 * configure: Regenerated.
8328 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
8329 LIBC_TRY_CC_OPTION.
8330 (libc_cv_as_i686): Likewise.
8331 (libc_cv_cc_avx): Likewise.
8332 (libc_cv_cc_sse2avx): Likewise.
8333 (libc_cv_cc_fma4): Likewise.
8334 (libc_cv_cc_novzeroupper): Likewise.
8335 * sysdeps/i386/configure: Regenerated.
8336
1a4ac776
JM
8337 [BZ #13883]
8338 * sysdeps/i386/fpu/s_cexp.S: Remove.
8339 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
8340 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
8341 * math/libm-test.inc (cexp_test): Add more tests.
8342 * sysdeps/i386/fpu/libm-test-ulps: Update.
8343 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8344
a458e7fe
AM
83452012-03-21 Allan McRae <allan@archlinux.org>
8346
8347 * timezone/Makefile: Do not install iso3166.tab and zone.tab
8348
0cb7efc5
JM
83492012-03-21 Joseph Myers <joseph@codesourcery.com>
8350
8351 [BZ #13871]
8352 * math/w_exp2.c: Do not include <float.h>.
8353 (o_threshold, u_threshold): Remove.
8354 (__exp2): Calculate result before checking finiteness and calling
8355 __kernel_standard.
8356 * math/w_exp2f.c: Likewise.
8357 * math/w_exp2l.c: Likewise.
8358 * math/libm-test.inc (exp2_test): Require overflow exception for
8359 1e6 input.
2460d3aa
JM
8360
8361 [BZ #3866]
8362 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
8363 range of signed 64-bit integers before using fistpll. Remove
8364 checks for whether integers fit in mantissa bits.
8365 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
8366 the range of signed 32-bit integers before using fistpl. Remove
8367 checks for whether integers fit in mantissa bits.
8368 * sysdeps/i386/fpu/e_powl.S (p64): New object.
8369 (__ieee754_powl): Test for y outside the range of signed 64-bit
8370 integers before using fistpll. Reduce 64-bit values to 63-bit
8371 ones as needed.
8372 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
8373 divide-by-zero is raised for zero to large negative powers.
8374 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
8375 (__ieee754_powl): Test for y outside the range of signed 64-bit
8376 integers before using fistpll. Reduce 64-bit values to 63-bit
8377 ones as needed.
8378 * math/libm-test.inc (pow_test): Add more tests.
8379
eb96ffb0
L
83802012-03-20 H.J. Lu <hongjiu.lu@intel.com>
8381
8382 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
8383 <stdio-common/_itoa.h>.
8384 * debug/segfault.c: Likewise.
8385 * elf/dl-cache.c: Likewise.
8386 * elf/dl-minimal.c: Likewise.
8387 * elf/dl-misc.c: Likewise.
8388 * elf/dl-sysdep.c: Likewise.
8389 * elf/dl-version.c: Likewise.
8390 * elf/rtld.c: Likewise.
8391 * hurd/hurdsock.c: Likewise.
8392 * hurd/lookup-retry.c: Likewise.
8393 * malloc/malloc.c: Likewise.
8394 * malloc/mtrace.c: Likewise.
8395 * nscd/nscd_getgr_r.c: Likewise.
8396 * nscd/nscd_getpw_r.c: Likewise.
8397 * nscd/nscd_getserv_r.c: Likewise.
8398 * posix/getopt_init.c: Likewise.
8399 * posix/wordexp.c: Likewise.
8400 * stdio-common/_itoa.c: Likewise.
8401 * stdio-common/printf_fphex.c: Likewise.
8402 * stdio-common/vfprintf.c: Likewise.
8403 * string/_strerror.c: Likewise.
8404 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
8405 * sysdeps/i386/i686/hp-timing.h: Likewise.
8406 * sysdeps/mach/_strerror.c: Likewise.
8407 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
8408 * sysdeps/mach/hurd/sethostid.c: Likewise.
8409 * sysdeps/mach/hurd/xmknodat.c: Likewise.
8410 * sysdeps/mach/xpg-strerror.c: Likewise.
8411 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
8412 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
8413 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
8414 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
8415 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
8416 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
8417 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
8418 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
8419 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
8420 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
8421 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
8422 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
8423 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
8424 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
8425 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
8426 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
8427 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
8428 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
8429 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
8430 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
8431 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
8432
8433 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
8434
8435 * stdio-common/_itoa.h: Moved to ...
8436 * sysdeps/generic/_itoa.h: Here.
8437
8438 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
8439
8440 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
8441 instead of "_itoa.h" and "_itowa.h".
8442 * stdio-common/vfprintf.: Likewise.
8443
d1af992d
L
84442012-03-20 H.J. Lu <hongjiu.lu@intel.com>
8445
8446 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
8447 <bits/wordsize.h>.
8448 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
8449 (__signbit): Likwise.
8450 (llrintf): Likwise.
8451 (llrint): Likwise.
8452
114883e0
L
84532012-03-20 H.J. Lu <hongjiu.lu@intel.com>
8454
8455 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
8456 __WORDSIZE != 64.
8457
c135cc1b
JM
84582012-03-20 Joseph Myers <joseph@codesourcery.com>
8459
8460 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
8461 OVERFLOW_EXCEPTION_OK.
8462 * math/libm-test.inc ("Philosophy"): Update comment about
8463 exception testing.
8464 (OVERFLOW_EXCEPTION): Define.
8465 (OVERFLOW_EXCEPTION_OK): Likewise.
8466 (INVALID_EXCEPTION_OK): Renumber.
8467 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
8468 (IGNORE_ZERO_INF_SIGN): Likewise.
8469 (test_exceptions): Handle FE_OVERFLOW.
8470 (exp10_test): Expect overflow exceptions.
8471 (exp2_test): Likewise.
8472 (expm1_test): Likewise.
8473 (nextafter_test): Likewise.
8474 (pow_test): Likewise.
8475 (scalbn_test): Likewise.
8476 (scalbln_test): Likewise.
8477
95443d88
L
84782012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8479
8480 * sysdeps/x86_64/bits/atomic.h
8481 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
8482 64bit integer.
8483 (atomic_exchange_acq): Likewise.
8484 (__arch_exchange_and_add_body): Likewise.
8485 (__arch_add_body): Likewise.
8486 (atomic_add_negative): Likewise.
8487 (atomic_add_zero): Likewise.
8488
490df6c4
L
84892012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8490
c2722551 8491 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
8492 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
8493
5e52b189
L
84942012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8495
8496 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
8497 Check __x86_64__ instead of __WORDSIZE.
8498
a9879d4c
L
84992012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8500
8501 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
8502
5df98260
DM
85032012-03-19 David S. Miller <davem@davemloft.net>
8504
e1497744
DM
8505 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8506
5df98260
DM
8507 * sysdeps/sparc/fpu/fenv_private.h: New file.
8508 * sysdeps/sparc/fpu/math_private.h: Use it.
8509 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
8510 Remove.
8511 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
8512 (libc_feholdexcept_setroundl): Remove.
8513 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
8514 Remove.
8515 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
8516 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
8517
b4c35121
L
85182012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8519
8520 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
8521 int64_t instead of long int.
8522 (INSERT_WORDS64): Likwise.
8523
56965fd7
L
85242012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8525
8526 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
8527 _Unwind_GetCFA return to _Unwind_Ptr first.
8528
83d1aec8
JM
85292012-03-19 Joseph Myers <joseph@codesourcery.com>
8530
1897ad44
JM
8531 [BZ #13629]
8532 * math/s_clog.c: Include <float.h>.
8533 (__clog): Scale large or subnormal inputs.
8534 * math/s_clogf.c: Likewise.
8535 * math/s_clogl.c: Likewise.
8536 * math/s_clog10.c: Include <float.h>.
8537 (M_LOG10_2): Define.
8538 (__clog10): Scale large or subnormal inputs.
8539 * math/s_clog10f.c: Likewise.
8540 * math/s_clog10l.c: Likewise.
8541 * math/libm-test.inc (clog_test): Add more tests.
8542 (clog10_test): Likewise.
8543 * sysdeps/i386/fpu/libm-test-ulps: Update.
8544 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8545
7726d6a9
JM
8546 [BZ #11451]
8547 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
8548 x and y.
8549 * math/libm-test.inc (atan2_test): Add another test.
8550
83d1aec8
JM
8551 * Makerules (common-objdir-compile): Remove.
8552 * sysdeps/unix/Makefile (config-generated): Do not add
8553 $(unix-generated) to variable.
8554 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
8555 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
8556 Remove rule.
8557 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
8558 Likewise.
8559 [generic bits/local_lim.h] (before-compile): Do not append to
8560 variable.
8561 [generic bits/local_lim.h] (common-generated): Likewise.
8562 [generic sys/param.h] (before-compile): Do not append to variable.
8563 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
8564 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
8565 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
8566 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
8567 include.
8568 [generic sys/param.h] (sys/param.h-includes): Remove variable.
8569 [generic sys/param.h] (sys/param.h-includes): Remove rule.
8570 [generic sys/param.h] ($(addprefix
8571 $(common-objpfx),$(sys/param.h-includes))): Likewise.
8572 [generic sys/param.h] (common-generated): Do not append to
8573 variable.
8574 [generic sys/param.h] (sysdep_headers): Likewise.
8575 [generic bits/errno.h] (before-compile): Do not append to
8576 variable.
8577 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
8578 rule.
8579 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
8580 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
8581 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
8582 [generic bits/errno.h] (common-generated): Do not append to
8583 variable.
8584 [generic bits/ioctls.h] (before-compile): Do not append to
8585 variable.
8586 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
8587 rule.
8588 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
8589 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
8590 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
8591 rule.
8592 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
8593 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
8594 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
8595 [generic bits/ioctls.h] (common-generated): Do not append to
8596 variable.
8597 [generic sys/syscall.h] (syscall.h): Remove variable.
8598 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
8599 rule.
8600 [generic sys/syscall.h] (before-compile): Do not append to
8601 variable.
8602 [generic sys/syscall.h] (common-generated): Likewise.
8603 * sysdeps/unix/errnos-tmpl.c: Remove file.
8604 * sysdeps/unix/errnos.awk: Likewise.
8605 * sysdeps/unix/ioctls-tmpl.c: Likewise.
8606 * sysdeps/unix/ioctls.awk: Likewise.
8607 * sysdeps/unix/mk-local_lim.c: Likewise.
8608 * sysdeps/unix/snarf-ioctls: Likewise.
8609
4851a949
RH
86102012-03-19 Richard Henderson <rth@twiddle.net>
8611
bd37f2ee
RH
8612 * sysdeps/i386/fpu/fenv_private.h: New file.
8613 * sysdeps/i386/fpu/math_private.h: Use it.
8614 (math_opt_barrier, math_force_eval): Remove.
8615 (libc_feholdexcept_setround_53bit): Remove.
8616 (libc_feupdateenv_53bit): Remove.
8617 * sysdeps/x86_64/fpu/math_private.h: Likewise.
8618 (math_opt_barrier, math_force_eval): Remove.
8619 (libc_feholdexcept): Remove.
8620 (libc_feholdexcept_setround): Remove.
8621 (libc_fetestexcept, libc_fesetenv): Remove.
8622 (libc_feupdateenv_test): Remove.
8623 (libc_feupdateenv, libc_feholdsetround): Remove.
8624 (libc_feresetround): Remove.
8625
d0adc922
RH
8626 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
8627 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
8628
0fe0f1f8
RH
8629 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
8630 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
8631 (libc_feupdateenv_testl): New.
8632 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
8633 (libc_feupdateenv_testf): New.
8634 (libc_feupdateenv): Use libc_feupdateenv_test.
8635 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
8636 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
8637
eb92c487
RH
8638 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
8639 (libc_feholdsetroundf, libc_feholdsetroundl): New.
8640 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
8641 (libc_feresetround_noex): New.
8642 (libc_feresetround_noexf): New.
8643 (libc_feresetround_noexl): New.
8644 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
8645 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
8646 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
8647 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
8648 SET_RESTORE_ROUND.
8649 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
8650 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
8651 (__cos): Likewise.
8652 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
8653 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
8654 SET_RESTORE_ROUND_NOEX.
8655 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
8656 SET_RESTORE_ROUND_NOEXF.
8657 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
8658 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
8659 (libc_feholdsetroundf): New.
8660 (libc_feresetround, libc_feresetroundf): New.
8661
7d2e8012
RH
8662 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
8663 (libc_feholdexcept_setround_53bit): Convert from macro to function.
8664 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
8665
b4dabbb4
RH
8666 * sysdeps/generic/math_private.h: Include <fenv.h>.
8667 (default_libc_feholdexcept): New.
8668 (default_libc_feholdexcept_setround): New.
8669 (default_libc_fesetenv, default_libc_feupdateenv): New.
8670 (libc_feholdexcept): Only define if undefined.
8671 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
8672 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
8673 (libc_feholdexcept_setroundl): Likewise.
8674 (libc_feholdexcept_setround_53bit): Likewise.
8675 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
8676 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
8677 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
8678 (libc_feupdateenv_53bit): Likewise.
8679 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
8680 (libc_feholdexcept): Convert from macro to inline function.
8681 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
8682 (libc_fesetenv, libc_feupdateenv): Likewise.
8683
4851a949
RH
8684 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
8685 not previously defined.
8686 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
8687 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
8688 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
8689 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
8690 * sysdeps/ieee754/flt-32/math_private.h: New file.
8691 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
8692 math_private.h below SET_FLOAT_WORD.
8693 (__isnan, __isinf_ns, __finite): Remove.
8694 (__isnanf, __isinf_nsf, __finitef): Remove.
8695
e79d442e
AS
86962012-03-18 Andreas Schwab <schwab@linux-m68k.org>
8697
8698 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8699
90b80344
DM
87002012-03-17 David S. Miller <davem@davemloft.net>
8701
8702 [BZ #6471]
8703 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
8704 for 2.16.
8705
edc21804
DM
87062012-03-16 David S. Miller <davem@davemloft.net>
8707
77e927af
DM
8708 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
8709 warnings.
8710
374976dd
DM
8711 [BZ #6471]
8712 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
8713 properly.
8714 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
8715 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
8716 sysdep_routines when subdir is sysvipc.
8717 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
8718 __getshmlba helper.
8719
edc21804
DM
8720 * sysdeps/sparc/fpu/libm-test/ulps: Update.
8721
473c3ef3
L
87222012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8723
8724 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
8725 [__LP64__].
8726
eb0f39b6
L
87272012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8728
8729 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
8730 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
8731 (__lround): Renamed to ...
8732 (__llround): This. Replace long int with long long int.
8733 Define lround functions as aliases of llround functions.
8734 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
8735
6b6cd74b
L
87362012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8737
8738 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
8739 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
8740 adresses to uintptr_t. Replace "long int" and "unsigned long
8741 int" with "greg_t" on va_arg.
8742
f1a77b01
L
87432012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8744
8745 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
8746 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
8747
8748 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
8749 Move e_machine check before EI_CLASS check. Handle x32
8750 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
8751 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
8752 SKIP_EM_IA_64 and include
8753 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
8754
8755 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
8756 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
8757 (add_system_dir): New macro.
8758
8759 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
8760 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
8761
11b90b9f
JM
87622012-03-16 Joseph Myers <joseph@codesourcery.com>
8763
c36e1d23
JM
8764 [BZ #2551]
8765 [BZ #2552]
8766 [BZ #2553]
8767 [BZ #2554]
8768 [BZ #2562]
8769 [BZ #2563]
8770 [BZ #2565]
8771 [BZ #2566]
8772 [BZ #2576]
8773 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
8774 (y0): Likewise.
8775 * math/w_j0f.c (j0f): Likewise.
8776 (y0f): Likewise.
8777 * math/w_j0l.c (__j0l): Likewise.
8778 (__y0l): Likewise.
8779 * math/w_j1.c (j1): Likewise.
8780 (y1): Likewise.
8781 * math/w_j1f.c (j1f): Likewise.
8782 (y1f): Likewise.
8783 * math/w_j1l.c (__j1l): Likewise.
8784 (__y1l): Likewise.
8785 * math/w_jn.c (jn): Likewise.
8786 (yn): Likewise.
8787 * math/w_jnf.c (jnf): Likewise.
8788 (ynf): Likewise.
8789 * math/w_jnl.c (__jnl): Likewise.
8790 (__ynl): Likewise.
8791 * math/libm-test.inc (j0_test): Add more tests.
8792 (j1_test): Likewise.
8793 (jn_test): Likewise. Add trailing semicolon to existing test.
8794 (y0_test): Likewise.
8795 (y1_test): Likewise.
8796 * sysdeps/i386/fpu/libm-test-ulps: Update.
8797 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8798
11b90b9f
JM
8799 [BZ #13851]
8800 [BZ #13854]
8801 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
8802 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
8803 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
8804 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
8805 (__tanl): Set errno for infinite argument.
8806 * sysdeps/i386/fpu/mptan.c: Remove.
8807 * sysdeps/i386/fpu/s_tan.S: Likewise.
8808 * sysdeps/i386/fpu/s_tanl.S: Likewise.
8809 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
8810 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
8811 * math/libm-test.inc (tan_test): Add more tests and enable more
8812 tests for double and long double.
8813 * sysdeps/i386/fpu/libm-test-ulps: Update.
8814 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8815
6a1bd2a1
JK
88162012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
8817
8818 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
8819 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
8820
10a803e0
RM
88212012-03-16 Roland McGrath <roland@hack.frob.com>
8822
8823 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
8824 * configure.in: Use it for both main tree and add-ons.
8825 * configure: Regenerated.
8826
f196c7f7
L
88272012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8828
8829 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
8830
8848d99d
JM
88312012-03-16 Joseph Myers <joseph@codesourcery.com>
8832
96cbe7f4
JM
8833 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
8834 in comment.
8835
8848d99d
JM
8836 [BZ #13851]
8837 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
8838 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
8839 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
8840 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
8841 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
8842 infinite argument.
8843 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
8844 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
8845 != 0 for prec == 2.
8846 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
8847 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
8848 * sysdeps/i386/fpu/s_cosl.S: Likewise.
8849 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
8850 * sysdeps/i386/fpu/s_sinl.S: Likewise.
8851 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
8852 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
8853 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
8854 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
8855 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
8856 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
8857 * math/libm-test.inc (cos_test): Add more tests and enable more
8858 tests for long double.
8859 (sin_test): Likewise.
8860 (sincos_test): Likewise.
8861 * sysdeps/i386/fpu/libm-test-ulps: Update.
8862 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8863
dd7f4703
DM
88642012-03-16 David S. Miller <davem@davemloft.net>
8865
8866 * sysdeps/sparc/fpu/math_private.h: New file.
8867
006f1daa
DM
88682012-03-15 David S. Miller <davem@davemloft.net>
8869
c0c83bc8
DM
8870 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
8871 file.
e6a62e18 8872 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
8873 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
8874 file.
e6a62e18
DM
8875 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
8876 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
8877 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
8878 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
8879 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
8880 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
8881 sysdep routines.
8882 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
8883
88cb87d9
DM
8884 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
8885 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
8886
006f1daa 8887 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
8888 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
8889 sparc-ifunc.h
006f1daa 8890 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
8891 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
8892 Likewise.
8893 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
8894 Likewise.
006f1daa
DM
8895 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
8896 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
8897 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
8898 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
8899 Likewise.
006f1daa
DM
8900 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
8901 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
8902 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
8903 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
8904 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
8905 Likewise.
8906 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
8907 Likewise.
006f1daa
DM
8908 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
8909 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
8910 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
8911 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
8912 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
8913 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
8914 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
8915 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
8916 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
8917 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
8918 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
8919 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
8920 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
8921 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
8922 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
8923 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
8924 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
8925 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
8926 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
8927 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
8928 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
8929 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
8930 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
8931 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
8932
11e0098e
AS
89332012-03-15 Andreas Schwab <schwab@linux-m68k.org>
8934
8935 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
8936 scaling.
8937 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8938
e85b09d0
AJ
89392012-03-15 Andreas Jaeger <aj@suse.de>
8940
8941 [BZ #13852]
8942 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
8943 ieee754/flt-32 implementation for sin, cos and sincos.
8944 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
8945 * sysdeps/i386/fpu/s_cosf.S: Likewise.
8946 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
8947 * sysdeps/i386/fpu/s_sinf.S: Likewise.
8948 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
8949 ieee754/flt-32 implementation for tan.
8950
8951 * math/libm-test.inc (cos_test): Enable some large input tests for
8952 float as well
8953 (sin_test): Likewise.
8954 (sincos_test): Likewise.
8955 (tan_test): Add tests for large input.
8956
8957 * sysdeps/i386/fpu/libm-test-ulps: Update.
8958
81c64153
AJ
89592012-03-15 Andreas Jaeger <aj@suse.de>
8960
8961 [BZ #13658]
8962 * math/libm-test.inc (cos_test): Add more test cases.
8963 (sin_test): Likewise.
8964 (sincos_test): Likewise.
8965
7bbfa5c6
AJ
89662012-03-15 Andreas Jaeger <aj@suse.de>
8967
8968 [BZ #13837]
8969 * math/libm-test.inc (cos_test): Add a test case for large input
8970 value.
8971 (sin_test): Likewise.
8972 (sincos_test): Likewise.
8973
89742012-03-15 Andreas Jaeger <aj@suse.de>,
8975 Joseph Myers <joseph@codesourcery.com>
8976
8977 [BZ #13658]
0671f479 8978 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
8979 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
8980 * sysdeps/i386/fpu/branred.c: Likewise.
8981 * sysdeps/i386/fpu/dosincos.c: Likewise.
8982 * sysdeps/i386/fpu/mpa.c: Likewise.
8983 * sysdeps/i386/fpu/s_cos.S: Likewise.
8984 * sysdeps/i386/fpu/s_sin.S: Likewise.
8985 * sysdeps/i386/fpu/s_sincos.S: Likewise.
8986 * sysdeps/i386/fpu/sincos32.c: Likewise.
8987
8988 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
8989 Define.
8990 (libc_feupdateenv_53bit): Define.
8991 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
8992 Define.
8993 (libc_feupdateenv_53bit): Define.
8994
8995 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
8996 53 bit (without extend i386 double precision).
8997
8998 * math/libm-test.inc (sincos_test): Add tests for large input.
8999 (sin): Likewise.
9000 (cos): Likewise.
9001
9002 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
9003
9cad04ea
AS
90042012-03-15 Andreas Schwab <schwab@linux-m68k.org>
9005
9006 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9007
f7062b9a
DM
90082012-03-15 David S. Miller <davem@davemloft.net>
9009
9010 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
9011 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
9012 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
9013 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
9014 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
9015 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
9016 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
9017 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
9018 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
9019 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
9020 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
9021 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
9022 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
9023 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
9024 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
9025 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
9026 file.
f7062b9a 9027 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
9028 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
9029 file.
f7062b9a 9030 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
9031 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
9032 file.
f7062b9a 9033 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
9034 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
9035 file.
f7062b9a
DM
9036 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
9037 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
9038 fmin/fmax sysdep routines.
9039 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
9040
7bd951ff
DM
90412012-03-14 David S. Miller <davem@davemloft.net>
9042
559398ab
DM
9043 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
9044 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
9045 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
9046 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
9047 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
9048 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
9049 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
9050 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
9051 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
9052 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
9053 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
9054 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
9055 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
9056 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
9057 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
9058 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
9059 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
9060 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
9061 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
9062 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
9063 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
9064 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
9065 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
9066 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
9067 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
9068 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
9069 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
9070 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
9071 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
9072 routines.
9073 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
9074 file.
559398ab 9075 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
9076 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
9077 file.
559398ab 9078 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
9079 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
9080 file.
559398ab 9081 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
9082 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
9083 file.
559398ab 9084 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
9085 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
9086 file.
559398ab 9087 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
9088 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
9089 file.
9090 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
9091 file.
9092 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
9093 file.
9094 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
9095 file.
9096 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
9097 New file.
9098 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
9099 file.
9100 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
9101 file.
559398ab 9102 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
9103 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
9104 file.
559398ab 9105 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
9106 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
9107 file.
559398ab 9108 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
9109 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
9110 file.
559398ab 9111 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
9112 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
9113 VIS3 routines.
559398ab
DM
9114
9115 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
9116 New file.
9117
5a1c1e32
DM
9118 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9119
eae47a36
DM
9120 * sysdeps/sparc/configure.in: New file.
9121 * sysdeps/sparc/configure: Generate.
9122 * configure.in (libc_cv_sparc_as_vis3): Substitute.
9123 * configure: Regenerate.
9124 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
9125 * config.make.in (have-as-vis3): New.
9126 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
9127 available use -Av9d instead of -Av9a.
9128 * sysdeps/sparc/sparc64/Makefile: Likewise.
9129 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
9130 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
9131 New file.
9132 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
9133 file.
9134 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
9135 New file.
9136 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
9137 file.
eae47a36
DM
9138 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
9139 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
9140 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
9141 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
9142 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
9143
c0c83bc8
DM
9144 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
9145 fzeros/fnegs to load 0x80000000 into a float register instead of
9146 using the stack.
7bd951ff
DM
9147 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
9148
bd951ccb
JM
91492012-03-14 Joseph Myers <joseph@codesourcery.com>
9150
9151 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9152 bits/syscall.h.
9153 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
9154 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
9155 ($(inst_includedir)/bits/syscall.h): Remove rule.
9156 ($(objpfx)bits/syscall.d): Include instead of
9157 $(objpfx)syscall-list.d.
9158 (generated): Change syscall-list.h and syscall-list.d to
9159 bits/syscall.h and bits/syscall.d.
9160
bb4e6db2
RM
91612012-03-14 Roland McGrath <roland@hack.frob.com>
9162
9163 [BZ #13846]
9164 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
9165
aa4a2ae1
JM
91662012-03-14 Joseph Myers <joseph@codesourcery.com>
9167
e456826d
JM
9168 [BZ #13841]
9169 * math/s_csqrt.c: Include <float.h>.
9170 (__csqrt): Scale large or subnormal inputs.
9171 * math/s_csqrtf.c: Likewise.
9172 * math/s_csqrtl.c: Likewise.
9173 * math/libm-test.inc (csqrt_test): Add more tests.
9174 * sysdeps/i386/fpu/libm-test-ulps: Update.
9175 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9176
aa4a2ae1
JM
9177 [BZ #13840]
9178 * math/libm-test.inc (hypot_test): Add more tests.
9179
7c10fd35
DM
91802012-03-13 David S. Miller <davem@davemloft.net>
9181
9182 [BZ #13840]
9183 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
9184 double-precision for the calculation instead of scaling.
9185
f453b98b
JM
91862012-03-13 Joseph Myers <joseph@codesourcery.com>
9187
9188 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
9189 manipulate bits before adding and subtracting TWO52[sx].
9190 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
9191 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
9192 Likewise.
9193 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
9194
09a3453f
DM
91952012-03-13 David S. Miller <davem@davemloft.net>
9196
8e59da90
DM
9197 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
9198 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
9199 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
9200 rtld-global-offsets.h
9201 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9202
2a8ab7f2
DM
9203 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
9204 large parameters.
9205
10f62770
DM
9206 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
9207
5f0bdb18
DM
9208 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
9209 'err' in the ifdef scope in which it is actually used.
9210
09a3453f
DM
9211 * nss/nss_db/db-init.c: Include string.h
9212
b4b2eb5e
DM
92132012-03-12 David S. Miller <davem@davemloft.net>
9214
98bb2f1c
DM
9215 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
9216 masking out of the most significant byte of random value used.
9217 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9218 Fix coding style in previous change.
9219
b4b2eb5e
DM
9220 * sysdeps/unix/sysv/linux/kernel-features.h
9221 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
9222 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
9223 expression.
9224 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
9225 later.
9226
6e226b09
DM
92272012-03-11 David S. Miller <davem@davemloft.net>
9228
a1bcbd40
DM
9229 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
9230 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
9231 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
9232 for 'resultvar' otherwise things get truncated on 64-bit.
9233
cb9d6174
DM
9234 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9235 Fix masking out of the most significant byte of random value used.
9236
6e226b09
DM
9237 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9238
058c132d
AS
92392012-03-10 Andreas Schwab <schwab@linux-m68k.org>
9240
9241 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9242
2d2cd515
DM
92432012-03-09 David S. Miller <davem@davemloft.net>
9244
9245 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
9246 variables with appropriate CPP guards.
9247 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
9248 frame pointer, not the stack pointer. Correct layout comments. Fix test
9249 on resulting framesize and the management of the outregs buffer for pltexit.
9250 Preserve floating point return values across _dl_call_pltexit call.
9251 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
9252 framesize and the management of the outregs buffer for pltexit.
9253 Preserve floating point return values across _dl_call_pltexit
9254 call.
9255 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
9256 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
9257 (print_exit): Fix format string for return register value.
9258
9a07f9d0
JM
92592012-03-10 Joseph Myers <joseph@codesourcery.com>
9260
9261 * sunrpc/Makefile (others): Add rpcgen.
9262 ($(objpfx)rpcgen): Remove special build rule and dependency on
9263 libc.
9264 * sunrpc/rpcgen.c: New file.
9265
547b5e30
PE
92662012-03-09 Paul Eggert <eggert@cs.ucla.edu>
9267
c524201a
PE
9268 [BZ #13673]
9269 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
9270 * stdio-common/bug-vfprintf-nargs.c: Likewise.
9271 * sysdeps/i386/crti.S: Likewise.
9272 * sysdeps/i386/crtn.S: Likewise.
9273 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
9274 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
9275 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
9276 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
9277 * sysdeps/sh/crti.S: Likewise.
9278 * sysdeps/sh/crtn.S: Likewise.
9279 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
9280
7b6235f2
PE
9281 [BZ #13673]
9282 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
9283 with URL.
9284 * locale/programs/locfile-kw.gperf: Likewise.
9285 * locale/programs/charmap-kw.h: Regenerated.
9286 * locale/programs/locfile-kw.h: Likewise.
9287
547b5e30
PE
9288 [BZ #13673]
9289 * intl/plural.y: Replace FSF snail mail address with URL.
9290 * intl/plural.c: Regenerated.
9291
5f0a5dae
RH
92922012-03-09 Richard Henderson <rth@twiddle.net>
9293
9294 * include/math_private.h: Remove file.
9295 * math/math_private.h: Move file ...
9296 * sysdeps/generic/math_private.h: ... here.
9297
b8c03620
RH
9298 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
9299 * sysdeps/powerpc/fpu/math_private.h: Likewise.
9300 * sysdeps/x86_64/fpu/math_private.h: Likewise.
9301
4e234f5d 9302 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
9303 and <math_private.h>.
9304 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
9305 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
9306 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
9307 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
9308 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
9309 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
9310 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
9311 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9312 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
9313 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
9314 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9315 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
9316 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
9317 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9318 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
9319 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
9320 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
9321 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
9322 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
9323 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
9324 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9325 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
9326 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
9327 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9328 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
9329 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
9330 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
9331 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9332 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9333 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
9334 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
9335 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9336 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
9337 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
9338 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
9339 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
9340 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
9341 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
9342 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
9343 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9344 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
9345 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
9346 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
9347 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
9348 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
9349 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
9350 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
9351 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
9352 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
9353 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
9354 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
9355 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
9356 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
9357 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
9358 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
9359 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
9360 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
9361 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
9362 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
9363 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
9364 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9365 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
9366 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9367 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
9368 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
9369 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
9370 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
9371 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
9372 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
9373 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
9374 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
9375 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
9376 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
9377 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
9378 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
9379 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
9380 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
9381 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
9382 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
9383 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
9384 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
9385 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
9386 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
9387 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
9388 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
9389 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
9390 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
9391 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
9392 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
9393 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
9394 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
9395 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
9396 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
9397 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
9398 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
9399 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
9400 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
9401 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
9402 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
9403 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
9404 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
9405 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
9406 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
9407 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
9408 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
9409 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
9410 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
9411 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
9412 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
9413 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
9414 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
9415 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
9416 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
9417 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
9418 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
9419 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
9420 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
9421 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
9422 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
9423 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
9424 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
9425 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
9426 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
9427 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
9428 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
9429 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
9430 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
9431 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
9432 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
9433 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
9434 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
9435 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
9436 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
9437 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
9438 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
9439 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
9440 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
9441 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
9442 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
9443 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
9444 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
9445 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
9446 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
9447 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
9448 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
9449 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
9450 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
9451 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
9452 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
9453 * sysdeps/ieee754/k_standard.c: Likewise.
9454 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
9455 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
9456 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
9457 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
9458 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
9459 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
9460 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
9461 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
9462 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
9463 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
9464 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9465 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
9466 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
9467 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
9468 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
9469 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
9470 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
9471 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
9472 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
9473 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
9474 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
9475 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
9476 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
9477 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
9478 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
9479 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
9480 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
9481 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
9482 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
9483 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
9484 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
9485 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
9486 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
9487 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
9488 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
9489 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
9490 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
9491 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
9492 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
9493 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
9494 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
9495 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
9496 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
9497 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
9498 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
9499 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
9500 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
9501 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
9502 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
9503 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
9504 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
9505 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
9506 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
9507 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
9508 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
9509 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
9510 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
9511 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
9512 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
9513 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
9514 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
9515 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
9516 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
9517 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
9518 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
9519 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
9520 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
9521 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
9522 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
9523 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
9524 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
9525 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
9526 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
9527 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
9528 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
9529 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
9530 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
9531 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
9532 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
9533 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
9534 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
9535 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
9536 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
9537 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
9538 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
9539 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
9540 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
9541 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
9542 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
9543 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
9544 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
9545 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
9546 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
9547 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
9548 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
9549 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
9550 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
9551 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
9552 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
9553 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
9554 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
9555 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
9556 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
9557 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
9558 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
9559 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
9560 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
9561 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
9562 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
9563 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
9564 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
9565 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
9566 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
9567 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
9568 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
9569 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
9570 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
9571 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
9572 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
9573 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
9574 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9575 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
9576 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
9577 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
9578 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
9579 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
9580 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
9581 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
9582 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
9583 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
9584 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
9585 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
9586 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
9587 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
9588 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
9589 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
9590 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
9591 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
9592 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
9593 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
9594 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
9595 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
9596 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
9597 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
9598 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
9599 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
9600 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
9601 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
9602 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
9603 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
9604 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
9605 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
9606 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
9607 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
9608 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
9609 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
9610 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
9611 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
9612 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
9613 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
9614 * sysdeps/ieee754/s_lib_version.c: Likewise.
9615 * sysdeps/ieee754/s_matherr.c: Likewise.
9616 * sysdeps/ieee754/s_signgam.c: Likewise.
9617 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
9618 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9619 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
9620 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
9621 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
9622 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
9623 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
9624 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
9625 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
9626 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
9627 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
9628 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
9629 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
9630 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
9631 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
9632 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
9633 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
9634 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
9635 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
9636 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
9637 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 9638
1991fa03
JM
96392012-03-09 Joseph Myers <joseph@codesourcery.com>
9640
9641 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
9642 * sunrpc/rpc_main.c: Likewise.
9643 * sunrpc/rpc_svcout.c: Likewise.
9644
60d6f5a6
DM
96452012-03-09 David S. Miller <davem@davemloft.net>
9646
9647 * include/math_private.h: New file.
9648
4962050e
JM
96492012-03-09 Joseph Myers <joseph@codesourcery.com>
9650
02a6f887
JM
9651 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
9652 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
9653 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
9654 from <bits/socket_type.h>.
9655 (enum __socket_type): Don't define here.
9656 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
9657 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9658 bits/socket_type.h.
9659
c6e013c1
JM
9660 [BZ #13566]
9661 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
9662 checking __USE_GNU.
9663
4962050e
JM
9664 * Makerules ($(inst_includedir)/%.h): New rule.
9665 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
9666 (install-others): Remove variable setting.
9667 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
9668
38842f45
RH
96692012-03-08 Richard Henderson <rth@twiddle.net>
9670
67bb6da6
RH
9671 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
9672 from macro to inline function; merge with the
9673 !__LIBC_INTERNAL_MATH_INLINES version.
9674 (__ieee754_sqrtf): Likewise.
9675
15194b4b
RH
9676 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
9677 to inline function.
9678 (__rintf, __floor, __floorf): Likewise.
9679
64e21ede
RH
9680 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
9681 macro to inline function.
9682 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
9683
38842f45
RH
9684 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
9685 not <math/math_private.h>.
9686
c64bf5fe
DM
96872012-03-08 David S. Miller <davem@davemloft.net>
9688
9689 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
9690 copyright year.
9691 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
9692
82d86f28
TS
96932012-03-08 Thomas Schwinge <thomas@codesourcery.com>
9694
9695 * resolv/gai_misc.c (handle_requests): Fix struct timespec
9696 normalization.
9697 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
9698 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
9699
aea5d727
UD
97002012-03-08 Ulrich Drepper <drepper@gmail.com>
9701
9702 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
9703 be defined individually, they must be defined as a block. Define
9704 S for printing a string instead of hidint the different by using a
9705 macro for adding the 'l'.
9706 * stdio-common/tst-fphex-wide.c: Adjust.
9707
70bca0a3
MP
97082012-03-07 Marek Polacek <polacek@redhat.com>
9709
9710 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
9711
65b81130
MP
97122012-03-08 Marek Polacek <polacek@redhat.com>
9713
9714 [BZ #13806]
9715 * stdio-common/Makefile (tests): Add tst-fphex-wide.
9716 * stdio-common/tst-fphex.c: Define a few macros to make the
9717 test reusable. Use them.
9718 * stdio-common/tst-fphex-wide.c: New file.
9719
07037eeb
JM
97202012-03-08 Joseph Myers <joseph@codesourcery.com>
9721
a7a93d50
JM
9722 [BZ #6911]
9723 * manual/macros.texi (gnusystems): New macro.
9724 (nongnusystems): Likewise.
9725 (gnulinuxhurdsystems): Likewise.
9726 (gnuhurdsystems): Likewise..
9727 (gnulinuxsystems): Likewise.
9728 * manual/charset.texi: Use new macros or @theglibc{} to refer to
9729 variants of the GNU system, not "GNU system".
9730 * manual/conf.texi: Likewise.
9731 * manual/errno.texi: Likewise. Update example of errno macro
9732 expansion.
9733 * manual/filesys.texi: Likewise.
9734 (getumask): Document as specific to GNU/Hurd.
9735 * manual/install.texi: Likewise. Reword some references to
9736 GNU/Linux.
9737 * manual/intro.texi: Likewise.
9738 * manual/io.texi: Likewise.
9739 (File Name Portability): Detail which constraints are inapplicable
9740 to all GNU systems and which are only inapplicable to GNU/Hurd.
9741 * manual/job.texi: Likewise.
9742 * manual/llio.texi: Likewise.
9743 (O_NOCTTY): Document as present on GNU/Linux.
9744 * manual/maint.texi: Likewise.
9745 * manual/memory.texi: Likewise.
9746 * manual/pattern.texi: Likewise.
9747 * manual/pipe.texi: Likewise.
9748 * manual/process.texi: Likewise.
9749 * manual/resource.texi: Likewise.
9750 (RUSAGE_CHILDREN): Remove statement about specifying a particular
9751 child on GNU/Hurd.
9752 * manual/setjmp.texi: Likewise.
9753 * manual/signal.texi: Likewise.
9754 * manual/startup.texi: Likewise.
9755 * manual/stdio.texi: Likewise.
9756 * manual/terminal.texi: Likewise.
9757 (ONLCR): Document as POSIX.
9758 (OXTABS): Document availability on GNU/Linux as XTABS.
9759 (ONOEOT): Document availability separately from other bits.
9760 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
9761 * manual/time.texi: Likewise.
9762 * manual/users.texi: Likewise.
9763 * INSTALL: Regenerated.
9764 * sysdeps/gnu/errlist.c: Regenerated.
9765
07037eeb
JM
9766 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
9767 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
9768 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
9769 puts.
9770 * configure: Regenerated.
9771
d1d3431a
JM
97722012-03-07 Joseph Myers <joseph@codesourcery.com>
9773
af6a1e37
JM
9774 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
9775 default includes instead of AC_HEADER_CHECK.
9776 * sysdeps/i386/configure: Regenerated.
9777
d1d3431a
JM
9778 [BZ #10716]
9779 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
9780 * math/s_cacoshf.c (__cacoshf): Likewise.
9781 * math/s_cacoshl.c (__cacoshl): Likewise.
9782 * math/s_casinh.c (__casinh): Set signs of result from argument.
9783 * math/s_casinhf.c (__casinhf): Likewise.
9784 * math/s_casinhl.c (__casinhl): Likewise.
9785 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
9786 (casinh_test): Add more tests.
9787 * sysdeps/i386/fpu/libm-test-ulps: Update.
9788 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9789
482ff4da
UD
97902012-03-07 Ulrich Drepper <drepper@gmail.com>
9791
872fda05
UD
9792 * po/zh_TW.po: Update from translation team.
9793
a4300c7a
UD
9794 * login/Makefile (distribute): Remove variable.
9795 * catgets/Makefile: Likewise.
9796 * mach/Makefile: Likewise.
9797 * malloc/Makefile: Likewise.
9798 * misc/Makefile: Likewise.
9799 * iconv/Makefile: Likewise.
9800 * nscd/Makefile: Likewise.
9801 * hurd/Makefile: Likewise.
9802 * manual/Makefile: Likewise.
9803 * locale/Makefile: Likewise.
9804 * intl/Makefile: Likewise.
9805 * conform/Makefile: Likewise.
9806 * nss/Makefile: Likewise.
9807 * time/Makefile: Likewise.
9808 * soft-fp/Makefile: Likewise.
9809 * dirent/Makefile: Likewise.
9810 * gmon/Makefile: Likewise.
9811 * po/Makefile: Likewise.
9812 * rt/Makefile: Likewise.
9813 * socket/Makefile: Likewise.
9814 * math/Makefile: Likewise.
9815 * signal/Makefile: Likewise.
9816 * debug/Makefile: Likewise.
9817 * elf/Makefile: Likewise.
9818 * timezone/Makefile: Likewise.
9819 * stdlib/Makefile: Likewise.
9820 * iconvdata/Makefile: Likewise.
9821 * sunrpc/Makefile: Likewise.
9822 * io/Makefile: Likewise.
9823 * argp/Makefile: Likewise.
9824 * inet/Makefile: Likewise.
9825 * hesiod/Makefile: Likewise.
9826 * grp/Makefile: Likewise.
9827 * csu/Makefile: Likewise.
9828 * wctype/Makefile: Likewise.
9829 * crypt/Makefile: Likewise.
9830 * libio/Makefile: Likewise.
9831 * string/Makefile: Likewise.
9832 * nis/Makefile: Likewise.
9833 * resolv/Makefile: Likewise.
9834 * stdio-common/Makefile: Likewise.
9835 * wcsmbs/Makefile: Likewise.
9836 * dlfcn/Makefile: Likewise.
9837 * posix/Makefile: Likewise.
9838
3b7c4e74 9839 [BZ #6959]
482ff4da
UD
9840 * timezone/Makefile: Don't install timezone files, just the programs
9841 and scripts.
9842
f72ed77d
UD
98432012-03-06 Ulrich Drepper <drepper@gmail.com>
9844
a000466f
UD
9845 * nss/databases.def: Add missing gshadow entry.
9846
f72ed77d
UD
9847 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
9848
a53b7a4e
MP
98492012-03-06 Marek Polacek <polacek@redhat.com>
9850
9851 [BZ #13726]
9852 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
9853 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
9854 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
9855 * stdio-common/tst-long-dbl-fphex.c: New file.
9856
e9258400
DM
98572012-03-06 David S. Miller <davem@davemloft.net>
9858
9859 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
9860 (set_obp_int): New function.
9861 (get_obp_int): New function.
9862 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
9863 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
9864 Avoid unused variable warnings on 'val' and use builtin_expect.
9865 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
9866 __builtin_expect.
e9258400
DM
9867 (INLINE_CLONE_SYSCALL): Likewise.
9868
3bd2c723
DM
98692012-03-05 David S. Miller <davem@davemloft.net>
9870
9871 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9872
bbb78d03
AS
98732012-03-05 Andreas Schwab <schwab@linux-m68k.org>
9874
884c5db4
AS
9875 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9876
bbb78d03
AS
9877 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
9878 only for |x| >= 40.
9879 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
9880
1c9f702a 98812012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
9882
9883 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
9884 Replace gettimeofday with __vdso_gettimeofday.
9885
7be16f82
RM
9886 * sysdeps/unix/sysv/linux/x86_64/init-first.c
9887 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
9888 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
9889
9890 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
9891 time with __vdso_time.
9892
ed58a00f
JM
98932012-03-05 Joseph Myers <joseph@codesourcery.com>
9894
9895 * manual/lang.texi (size_t): Note types to which size_t may be
9896 equivalent with the GNU C Library, but do not describe when
9897 differences between them are significant.
9898
30ee4ced
AJ
98992012-03-05 Andreas Jaeger <aj@suse.de>
9900
9901 * sysdeps/i386/fpu/libm-test-ulps: Update.
9902
b7cd39e8
JM
99032012-03-05 Joseph Myers <joseph@codesourcery.com>
9904
9905 [BZ #3976]
9906 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
9907 (__ieee754_pow): Save and restore rounding mode and use
9908 round-to-nearest for main computations.
9909 * math/libm-test.inc (pow_test_tonearest): New function.
9910 (pow_test_towardzero): Likewise.
9911 (pow_test_downward): Likewise.
9912 (pow_test_upward): Likewise.
9913 (main): Call the new functions.
9914 * sysdeps/i386/fpu/libm-test-ulps: Update.
9915 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
9916
9917 [BZ #3976]
9918 * math/libm-test.inc (cosh_test_tonearest): New function.
9919 (cosh_test_towardzero): Likewise.
9920 (cosh_test_downward): Likewise.
9921 (cosh_test_upward): Likewise.
9922 (sinh_test_tonearest): Likewise.
9923 (sinh_test_towardzero): Likewise.
9924 (sinh_test_downward): Likewise.
9925 (sinh_test_upward): Likewise.
9926 (main): Call the new functions.
9927 * sysdeps/i386/fpu/libm-test-ulps: Update.
9928 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9929
6c6a98c9
TV
99302012-03-05 Tom de Vries <tom@codesourcery.com>
9931
9932 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
9933 default stack guard is set in last bytes.
9934 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
9935
21bb2d2e 99362012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 9937
21bb2d2e 9938 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 9939
21bb2d2e
AJ
9940 [BZ #13656]
9941 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
9942 possibly allocate from heap instead of stack.
9943 * stdio-common/bug-vfprintf-nargs.c: New file.
9944 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 9945
c6922934
AS
99462012-03-03 Andreas Schwab <schwab@linux-m68k.org>
9947
9948 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9949
bc957d53
MP
99502012-03-03 Marek Polacek <polacek@redhat.com>
9951
9952 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
9953 * math/math_private.h: Likewise.
9954 * stdlib/tst-strtod.c: Likewise.
9955 * sysdeps/i386/i486/bits/atomic.h: Likewise.
9956 * sysdeps/x86_64/bits/atomic.h: Likewise.
9957
6358490d
DM
99582012-03-02 David S. Miller <davem@davemloft.net>
9959
9960 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
9961 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
9962 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
9963 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
9964 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
9965 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
9966 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
9967 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
9968
01ae168d
RM
99692012-03-02 Roland McGrath <roland@hack.frob.com>
9970
d9a17c07
RM
9971 [BZ #13792]
9972 * manual/examples/README: New file, says the example source files
9973 can be used under GPL>=2.
9974 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
9975 line containing just "*/".
9976 * manual/examples/add.c: Add copyright header (GPL>=2).
9977 * manual/examples/argp-ex1.c: Likewise.
9978 * manual/examples/argp-ex2.c: Likewise.
9979 * manual/examples/argp-ex3.c: Likewise.
9980 * manual/examples/argp-ex4.c: Likewise.
9981 * manual/examples/atexit.c: Likewise.
9982 * manual/examples/db.c: Likewise.
9983 * manual/examples/dir.c: Likewise.
9984 * manual/examples/dir2.c: Likewise.
9985 * manual/examples/execinfo.c: Likewise.
9986 * manual/examples/filecli.c: Likewise.
9987 * manual/examples/filesrv.c: Likewise.
9988 * manual/examples/fmtmsgexpl.c: Likewise.
9989 * manual/examples/genpass.c: Likewise.
9990 * manual/examples/inetcli.c: Likewise.
9991 * manual/examples/inetsrv.c: Likewise.
9992 * manual/examples/isockad.c: Likewise.
9993 * manual/examples/longopt.c: Likewise.
9994 * manual/examples/memopen.c: Likewise.
9995 * manual/examples/memstrm.c: Likewise.
9996 * manual/examples/mkfsock.c: Likewise.
9997 * manual/examples/mkisock.c: Likewise.
9998 * manual/examples/mygetpass.c: Likewise.
9999 * manual/examples/pipe.c: Likewise.
10000 * manual/examples/popen.c: Likewise.
10001 * manual/examples/rprintf.c: Likewise.
10002 * manual/examples/search.c: Likewise.
10003 * manual/examples/select.c: Likewise.
10004 * manual/examples/setjmp.c: Likewise.
10005 * manual/examples/sigh1.c: Likewise.
10006 * manual/examples/sigusr.c: Likewise.
10007 * manual/examples/stpcpy.c: Likewise.
10008 * manual/examples/strdupa.c: Likewise.
10009 * manual/examples/strftim.c: Likewise.
10010 * manual/examples/strncat.c: Likewise.
10011 * manual/examples/subopt.c: Likewise.
10012 * manual/examples/swapcontext.c: Likewise.
10013 * manual/examples/termios.c: Likewise.
10014 * manual/examples/testopt.c: Likewise.
10015 * manual/examples/testpass.c: Likewise.
10016 * manual/examples/timeval_subtract.c: Likewise.
10017
01ae168d
RM
10018 [BZ #13792]
10019 * manual/time.texi (Elapsed Time): Move timeval_subtract example
10020 function to ...
10021 * manual/timeval_subtract.c.texi: ... here, new file.
10022
49efa33d
DM
100232012-03-02 David S. Miller <davem@davemloft.net>
10024
10025 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
10026
28afd92d
JM
100272012-03-02 Joseph Myers <joseph@codesourcery.com>
10028
804360ed
JM
10029 [BZ #3976]
10030 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
10031 (__sin): Save and restore rounding mode and use round-to-nearest
10032 for all computations.
10033 (__cos): Save and restore rounding mode and use round-to-nearest
10034 for all computations.
10035 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
10036 <fenv.h>.
10037 (tan): Save and restore rounding mode and use round-to-nearest for
10038 all computations.
10039 * math/libm-test.inc (cos_test_tonearest): New function.
10040 (cos_test_towardzero): Likewise.
10041 (cos_test_downward): Likewise.
10042 (cos_test_upward): Likewise.
10043 (sin_test_tonearest): Likewise.
10044 (sin_test_towardzero): Likewise.
10045 (sin_test_downward): Likewise.
10046 (sin_test_upward): Likewise.
10047 (tan_test_tonearest): Likewise.
10048 (tan_test_towardzero): Likewise.
10049 (tan_test_downward): Likewise.
10050 (tan_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
a6d06d7b
JM
10055 [BZ #10135]
10056 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
10057 small n, then large n, before computing and testing k+n.
10058 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
10059 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
10060 Likewise.
10061 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
10062 Likewise.
10063 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
10064 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
10065 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
10066 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
10067 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
10068 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
10069 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
10070 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
10071 * math/libm-test.inc (scalbn_test): Add more tests.
10072 (scalbln_test): Likewise.
10073
07e12bb3
JM
10074 * manual/filesys.texi (mode_t): Describe constraints on size and
10075 signedness, not exact equivalence to a particular type.
10076 (ino_t): Likewise.
10077 (ino64_t): Likewise.
10078 (dev_t): Likewise.
10079 (nlink_t): Likewise.
10080 (blkcnt_t): Likewise.
10081 (blkcnt64_t): Likewise.
10082 * manual/llio.texi (off_t): Likewise.
10083
28afd92d
JM
10084 [BZ #3976]
10085 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
10086 (__ieee754_exp): Save and restore rounding mode and use
10087 round-to-nearest for all computations.
10088 * math/libm-test.inc (exp_test_tonearest): New function.
10089 (exp_test_towardzero): Likewise.
10090 (exp_test_downward): Likewise.
10091 (exp_test_upward): Likewise.
10092 (main): Call the new functions.
10093 * sysdeps/i386/fpu/libm-test-ulps: Update.
10094 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10095
b1eeb65d
CD
100962012-03-01 Chris Demetriou <cgd@google.com>
10097
10098 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
10099 have predictable order.
10100
53362a4b
DM
101012012-03-01 David S. Miller <davem@davemloft.net>
10102
3c969083
DM
10103 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
10104
759707de
DM
10105 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
10106 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
10107 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
10108 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
10109
dfdb8ff2
DM
10110 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
10111 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
10112 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
10113 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
10114 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
10115 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
10116 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
10117 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
10118 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
10119
ead89f96
DM
10120 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10121
7f66bd07
DM
10122 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
10123 * sysdeps/sparc/fpu/libm-test-ulps: to here.
10124 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
10125
53362a4b
DM
10126 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
10127 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
10128 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
10129 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
10130 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
10131 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
10132 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
10133 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
10134 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
10135 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
10136 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
10137 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
10138 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
10139 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
10140 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
10141 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10142 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
10143 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
10144 * sysdeps/sparc/elf/configure: Regenerated.
10145
7b1902cb
JM
101462012-03-01 Joseph Myers <joseph@codesourcery.com>
10147
bec039bc
JM
10148 * configure.in (AS, LD): Require binutils 2.20 or later.
10149 * configure: Regenerated.
10150 * manual/install.texi (Tools for Compilation): Give binutils 2.20
10151 as required minimum version.
10152 * INSTALL: Regenerated.
10153
7b1902cb
JM
10154 [BZ #2541]
10155 [BZ #4108]
10156 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
10157 before squaring exponent.
10158 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
10159 bottom long double and 27 bits of top long double before squaring
10160 exponent.
10161 * math/libm-test.inc (erfc_test): Add more tests.
10162 * sysdeps/i386/fpu/libm-test-ulps: Update.
10163 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10164 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10165
f775c276
KT
101662012-03-01 Kai Tietz <ktietz@redhat.com>
10167
10168 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
10169 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
10170 containing bit-fields.
10171 * soft-fp/extended.h (_FP_UNION_E): Likewise.
10172 * soft-fp/single.h (_FP_UNION_S): Likewise.
10173 * soft-fp/double.h (_FP_UNION_D): Likewise.
10174
5b8a4d4a
JM
101752012-02-29 Joseph Myers <joseph@codesourcery.com>
10176
0bab47b6
JM
10177 [BZ #13786]
10178 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
10179 not include ../strcmp.S.
10180 [USE_AS_STRNCASECMP_L]: Likewise.
10181 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
10182 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
10183 * sysdeps/i386/i686/multiarch/strncase_l-c.c
10184 (__strncasecmp_l_ia32): Define as alias to
10185 __strncasecmp_l_nonascii.
10186
0fcad3e2
JM
10187 [BZ #5794]
10188 * math/libm-test.inc (expm1_test): Add test for bug 5794.
10189 * sysdeps/i386/fpu/libm-test-ulps: Update.
10190 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10191
5b8a4d4a
JM
10192 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
10193 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10194
8fdceb2e
JL
101952012-02-29 Jeff Law <law@redhat.com>
10196
10197 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
10198 out of bounds read.
10199
1f393a11
MP
102002012-02-29 Marek Polacek <polacek@redhat.com>
10201
10202 [BZ #13706]
10203 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
10204 * elf/Makefile: Add rules to run tst-unused-dep.out.
10205
8847f037
DM
102062012-02-28 David S. Miller <davem@davemloft.net>
10207
10208 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
10209 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
10210 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
10211 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
10212 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
10213 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
10214
169d7f11
JM
102152012-02-29 Joseph Myers <joseph@codesourcery.com>
10216
10217 * math/libm-test.inc (llround_test): Move one test from
10218 lround_test. Use TEST_f_L in moved test.
10219 (lround_test): Move misplaced test to llround_test. Add testcase
10220 from bug 2561.
10221
39adf059
UD
102222012-02-28 Ulrich Drepper <drepper@gmail.com>
10223
10224 * sysdeps/x86_64/fpu/e_expf.S: New file.
10225 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
10226
71b5d1c5
SB
102272012-02-28 Stanislav Brabec <sbrabec@suse.cz>
10228
10229 [BZ #13637]
10230 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
10231 of remain_len that may cause incomplete multi-byte character and
10232 false match.
10233 * posix/bug-regex33.c: New file.
10234 * posix/Makefile (tests): Add bug-regex33.
10235
1f77f049
JM
102362012-02-28 Joseph Myers <joseph@codesourcery.com>
10237
10238 * manual/macros.texi: New file.
10239 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
10240 * manual/libc.texinfo: Include macros.texi.
10241 * manual/creatute.texi: Likewise.
10242 * manual/install.texi: Likewise.
10243 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
10244 @glibcadj{} in references to the GNU C Library.
10245 * manual/charset.texi: Likewise.
10246 * manual/conf.texi: Likewise.
10247 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
10248 when not using those macros.
10249 * manual/creature.texi: Likewise.
10250 * manual/crypt.texi: Likewise.
10251 * manual/errno.texi: Likewise.
10252 * manual/filesys.texi: Likewise.
10253 * manual/header.texi: Likewise.
10254 * manual/install.texi: Likewise.
10255 * manual/intro.texi: Likewise.
10256 * manual/io.texi: Likewise.
10257 * manual/job.texi: Likewise.
10258 * manual/lang.texi: Likewise.
10259 * manual/libc.texiinfo: Likewise.
10260 * manual/llio.texi: Likewise.
10261 * manual/locale.texi: Likewise.
10262 * manual/maint.texi: Likewise.
10263 * manual/math.texi: Likewise.
10264 * manual/memory.texi: Likewise.
10265 * manual/message.texi: Likewise.
10266 * manual/nss.texi: Likewise.
10267 * manual/pattern.texi: Likewise.
10268 * manual/process.texi: Likewise.
10269 * manual/resource.texi: Likewise.
10270 * manual/search.texi: Likewise.
10271 * manual/setjmp.texi: Likewise.
10272 * manual/signal.texi: Likewise.
10273 * manual/socket.texi: Likewise.
10274 * manual/startup.texi: Likewise.
10275 * manual/stdio.texi: Likewise.
10276 * manual/string.texi: Likewise.
10277 * manual/sysinfo.texi: Likewise.
10278 * manual/syslog.texi: Likewise.
10279 * manual/terminal.texi: Likewise.
10280 * manual/time.texi: Likewise.
10281 * manual/users.texi: Likewise.
10282 * INSTALL: Regenerated.
10283 * NOTES: Regenerated.
d40c5d54 10284 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 10285
450bf206
AS
102862012-02-28 Andreas Schwab <schwab@linux-m68k.org>
10287
10288 * include/dirent.h: Include <dirstream.h> before
10289 <dirent/dirent.h>.
10290
741a235b
DM
102912012-02-28 David S. Miller <davem@davemloft.net>
10292
10293 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
10294 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
10295 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
10296 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
10297
d6b5aa58
DM
102982012-02-27 David S. Miller <davem@davemloft.net>
10299
1aff59a3
DM
10300 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
10301 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
10302 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
10303 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
10304
d6b5aa58
DM
10305 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
10306 frame pointer instead of stack pointer relative arg slot.
10307 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
10308 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
10309 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
10310
433f48bf
CD
103112012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
10312
10313 [BZ #3992]
10314 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
10315
d674b76d
DM
103162012-02-27 David S. Miller <davem@davemloft.net>
10317
10318 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
10319 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
10320 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
10321 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
10322 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
10323 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
10324 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
10325 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
10326
0e7727f7
JM
103272012-02-27 Joseph Myers <joseph@codesourcery.com>
10328
10329 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
10330 later. Allow versions 5-9.
43be4ca2 10331 * configure: Regenerated.
0e7727f7
JM
10332 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
10333 required minimum version and 4.6 as recommended version. Do not
10334 mention bugs in GCC 2.7 and 2.8.
43be4ca2 10335 * INSTALL: Regenerated.
0e7727f7 10336
a78bc654
DM
103372012-02-27 David S. Miller <davem@davemloft.net>
10338
428d5830
DM
10339 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
10340 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
10341 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
10342 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
10343 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
10344 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
10345 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
10346 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
10347
a78bc654
DM
10348 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
10349 manipulate bits before adding and subtracting TWO112[sx].
10350 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
10351
4579f81c
RM
103522012-02-27 Roland McGrath <roland@hack.frob.com>
10353
36c8acb4
RM
10354 [BZ #13775]
10355 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
10356 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
10357 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
10358 being in POSIX, because they are in 1003.1-2008.
10359
84ad622b
RM
10360 * rt/tst-aio.c: Include <fcntl.h>.
10361 * rt/tst-aio7.c: Likewise.
10362 * rt/tst-aio64.c: Likewise.
10363
4579f81c
RM
10364 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
10365
abd923db
JM
103662012-02-27 Joseph Myers <joseph@codesourcery.com>
10367
10368 * manual/install.texi (--with-headers): Describe headers as
10369 interface headers, not private headers.
10370 (Specific advice for GNU/Linux systems): Describe use of headers
10371 from "make headers_install", not private headers from older
10372 kernels.
43be4ca2 10373 * INSTALL: Regenerated.
abd923db
JM
10374 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
10375 Change to 2.6.19.
10376 * sysdeps/unix/sysv/linux/configure: Regenerated.
10377
6664049b
JM
10378 * manual/llio.texi (fclean): Remove documentation.
10379
bb8b6697
JM
10380 * manual/Makefile (libc-texi-generated): New variable. Include
10381 version.texi.
10382 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
10383 $(libc-texi-generated), not duplicated list of files.
10384 (version.texi, stamp-version): New rules.
10385 (realclean): Remove $(libc-texi-generated), not individual files
10386 from that list. Do not remove dir-add.texinfo.
10387 * manual/libc.texinfo: Comment out uses of edition numbers and
10388 references to printed manual. Remove last-updated dates.
10389 (EDITION): Comment out.
10390 (ISBN): Likewise.
10391 (VERSION, UPDATED): Remove.
10392 (version.texi): Include.
10393
12e5c3b9
AS
103942012-02-27 Andreas Schwab <schwab@linux-m68k.org>
10395
10396 * sysdeps/posix/spawni.c: Include <signal.h>.
10397 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
10398 * sysdeps/pthread/aio_fsync.c: Likewise.
10399
4efeffc1 104002012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 10401
ba63ba08
UD
10402 * conform/Makefile (tests): Run only when not cross-compiling and
10403 when fast-check is not defined.
10404
d94a4670
UD
10405 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
10406 * conform/data/limits.h-data: Fixes for POSIX2008.
10407 * conform/run-conformtest.sh: Run all tests.
10408 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
10409 headers.
10410 * include/bits/dlfcn.h: Likewise.
10411 * include/langinfo.h: Likewise.
10412 * include/monetary.h: Likewise.
10413 * include/sys/poll.h: Likewise.
10414
10415 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
10416 for __USE_GNU.
10417 * posix/spawn.h: Define __need_sigset_t.
10418 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
10419 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
10420 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
10421 to get sigevent_t only.
10422 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
10423 only for __USE_GNU.
10424 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
10425 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
10426 process_vm_writev only for __USE_GNU.
10427 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
10428
10429 * conform/Makefile: For now ignore errors from run-conformtest.
10430 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
10431 POSIX to avoid namespace pollution. Don't prepend headers.
10432 * conform/data/aio.h-data: Fixes for POSIX testing.
10433 * conform/data/fcntl.h-data: Likewise.
10434 * conform/data/glob.h-data: Likewise.
10435 * conform/data/grp.h-data: Likewise.
10436 * conform/data/pthread.h-data: Likewise.
10437 * conform/data/pwd.h-data: Likewise.
10438 * conform/data/signal.h-data: Likewise.
10439 * conform/data/spawn.h-data: Likewise.
10440 * conform/data/stdio.h-data: Likewise.
10441 * conform/data/stdlib.h-data: Likewise.
10442 * conform/data/stropts.h-data: Likewise.
10443 * conform/data/sys/mman.h-data: Likewise.
10444 * conform/data/sys/stat.h-data: Likewise.
10445 * conform/data/sys/types.h-data: Likewise.
10446 * conform/data/sys/wait.h-data: Likewise.
10447 * conform/data/time.h-data: Likewise.
10448 * conform/data/unistd.h-data: Likewise.
10449 * conform/data/utime.h-data: Likewise.
10450
10451 * io/sys/stat.h: fchmod was always in POSIX.
10452 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
10453 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
10454 * rt/aio.h: Define __need_timespec before including <time.h>.
10455 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
10456 struct. Add forward declaration of pthread_attr_t and use it in
10457 sigevent.
10458 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
10459 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
10460 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
10461 always remove CLK_TCK definition.
10462
c20105c3
AS
104632012-02-26 Andreas Schwab <schwab@linux-m68k.org>
10464
10465 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
10466
7a270350
UD
104672012-02-25 Ulrich Drepper <drepper@gmail.com>
10468
31341567
UD
10469 * conform/run-conformtest.sh: New file.
10470 * conform/Makefile: Run run-conformtest for tests.
10471 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
10472 support.
10473
10474 * conform/data/uchar.h-data: New file.
10475 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
10476 * conform/data/arpa/inet.h-data: Likewise.
10477 * conform/data/assert.h-data: Likewise.
10478 * conform/data/complex.h-data: Likewise.
10479 * conform/data/cpio.h-data: Likewise.
10480 * conform/data/ctype.h-data: Likewise.
10481 * conform/data/dirent.h-data: Likewise.
10482 * conform/data/dlfcn.h-data: Likewise.
10483 * conform/data/errno.h-data: Likewise.
10484 * conform/data/fcntl.h-data: Likewise.
10485 * conform/data/float.h-data: Likewise.
10486 * conform/data/fmtmsg.h-data: Likewise.
10487 * conform/data/fnmatch.h-data: Likewise.
10488 * conform/data/ftw.h-data: Likewise.
10489 * conform/data/glob.h-data: Likewise.
10490 * conform/data/grp.h-data: Likewise.
10491 * conform/data/iconv.h-data: Likewise.
10492 * conform/data/inttypes.h-data: Likewise.
10493 * conform/data/langinfo.h-data: Likewise.
10494 * conform/data/libgen.h-data: Likewise.
10495 * conform/data/limits.h-data: Likewise.
10496 * conform/data/locale.h-data: Likewise.
10497 * conform/data/math.h-data: Likewise.
10498 * conform/data/monetary.h-data: Likewise.
10499 * conform/data/mqueue.h-data: Likewise.
10500 * conform/data/ndbm.h-data: Likewise.
10501 * conform/data/net/if.h-data: Likewise.
10502 * conform/data/netdb.h-data: Likewise.
10503 * conform/data/netinet/in.h-data: Likewise.
10504 * conform/data/nl_types.h-data: Likewise.
10505 * conform/data/poll.h-data: Likewise.
10506 * conform/data/pthread.h-data: Likewise.
10507 * conform/data/pwd.h-data: Likewise.
10508 * conform/data/regex.h-data: Likewise.
10509 * conform/data/sched.h-data: Likewise.
10510 * conform/data/search.h-data: Likewise.
10511 * conform/data/semaphore.h-data: Likewise.
10512 * conform/data/setjmp.h-data: Likewise.
10513 * conform/data/signal.h-data: Likewise.
10514 * conform/data/spawn.h-data: Likewise.
10515 * conform/data/stdarg.h-data: Likewise.
10516 * conform/data/stdio.h-data: Likewise.
10517 * conform/data/stdlib.h-data: Likewise.
10518 * conform/data/string.h-data: Likewise.
10519 * conform/data/strings.h-data: Likewise.
10520 * conform/data/stropts.h-data: Likewise.
10521 * conform/data/sys/ipc.h-data: Likewise.
10522 * conform/data/sys/mman.h-data: Likewise.
10523 * conform/data/sys/msg.h-data: Likewise.
10524 * conform/data/sys/resource.h-data: Likewise.
10525 * conform/data/sys/select.h-data: Likewise.
10526 * conform/data/sys/sem.h-data: Likewise.
10527 * conform/data/sys/shm.h-data: Likewise.
10528 * conform/data/sys/socket.h-data: Likewise.
10529 * conform/data/sys/stat.h-data: Likewise.
10530 * conform/data/sys/statvfs.h-data: Likewise.
10531 * conform/data/sys/time.h-data: Likewise.
10532 * conform/data/sys/timeb.h-data: Likewise.
10533 * conform/data/sys/times.h-data: Likewise.
10534 * conform/data/sys/types.h-data: Likewise.
10535 * conform/data/sys/uio.h-data: Likewise.
10536 * conform/data/sys/un.h-data: Likewise.
10537 * conform/data/sys/utsname.h-data: Likewise.
10538 * conform/data/sys/wait.h-data: Likewise.
10539 * conform/data/syslog.h-data: Likewise.
10540 * conform/data/tar.h-data: Likewise.
10541 * conform/data/termios.h-data: Likewise.
10542 * conform/data/utime.h-data: Likewise.
10543 * conform/data/utmpx.h-data: Likewise.
10544 * conform/data/varargs.h-data: Likewise.
10545 * conform/data/wchar.h-data: Likewise.
10546 * conform/data/wctype.h-data: Likewise.
10547 * conform/data/wordexp.h-data: Likewise.
10548
10549 * include/stropts.h: New file.
10550 * include/uchar.h: New file.
10551 * include/aio.h: Changes to allow conformtest.pl to use the headers.
10552 * include/assert.h: Likewise.
10553 * include/ctype.h: Likewise.
10554 * include/dirent.h: Likewise.
10555 * include/dlfcn.h: Likewise.
10556 * include/fcntl.h: Likewise.
10557 * include/fnmatch.h: Likewise.
10558 * include/glob.h: Likewise.
10559 * include/grp.h: Likewise.
10560 * include/libio.h: Likewise.
10561 * include/locale.h: Likewise.
10562 * include/math.h: Likewise.
10563 * include/net/if.h: Likewise.
10564 * include/netdb.h: Likewise.
10565 * include/netinet/in.h: Likewise.
10566 * include/pthread.h: Likewise.
10567 * include/pwd.h: Likewise.
10568 * include/regex.h: Likewise.
10569 * include/sched.h: Likewise.
10570 * include/search.h: Likewise.
10571 * include/setjmp.h: Likewise.
10572 * include/signal.h: Likewise.
10573 * include/stdio.h: Likewise.
10574 * include/stdlib.h: Likewise.
10575 * include/string.h: Likewise.
10576 * include/sys/cdefs.h: Likewise.
10577 * include/sys/mman.h: Likewise.
10578 * include/sys/msg.h: Likewise.
10579 * include/sys/resource.h: Likewise.
10580 * include/sys/select.h: Likewise.
10581 * include/sys/socket.h: Likewise.
10582 * include/sys/stat.h: Likewise.
10583 * include/sys/statvfs.h: Likewise.
10584 * include/sys/time.h: Likewise.
10585 * include/sys/times.h: Likewise.
10586 * include/sys/uio.h: Likewise.
10587 * include/sys/utsname.h: Likewise.
10588 * include/sys/wait.h: Likewise.
10589 * include/termios.h: Likewise.
10590 * include/time.h: Likewise.
10591 * include/ulimit.h: Likewise.
10592 * include/unistd.h: Likewise.
10593 * include/utime.h: Likewise.
10594 * include/wchar.h: Likewise.
10595 * include/wctype.h: Likewise.
10596 * include/wordexp.h: Likewise.
10597
10598 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
10599
7a270350
UD
10600 * time/time.h: TIME_UTC must be a macro.
10601 Make timespec_get available for ISO C11 only as well.
10602
7724defc
UD
106032012-02-24 Ulrich Drepper <drepper@gmail.com>
10604
10605 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
10606 Reported by Peng Haitao <penght@cn.fujitsu.com>.
10607
6b1d1d46
JM
106082012-02-24 Joseph Myers <joseph@codesourcery.com>
10609
10610 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 10611
0f8bbd69
JM
106122012-02-24 Joseph Myers <joseph@codesourcery.com>
10613
10614 * manual/texinfo.tex: Update to version 2012-01-19.16.
10615
66ab80bc
JM
106162012-02-24 Joseph Myers <joseph@codesourcery.com>
10617
10618 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
10619
74981cc5
RM
106202012-02-24 Roland McGrath <roland@hack.frob.com>
10621
ee968201
RM
10622 [BZ #13738]
10623 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
10624 * manual/fdl-1.3.texi: New file.
10625 * manual/fdl-1.1.texi: File removed.
10626
74981cc5
RM
10627 [BZ #13738]
10628 * manual/libc.texinfo (FDL_VERSION): New @set.
10629 Use it for mention of FDL in cover text.
10630 (Documentation License): Use it in @include file name.
10631
7bb764bc
JM
106322012-02-22 Joseph Myers <joseph@codesourcery.com>
10633 Roland McGrath <roland@hack.frob.com>
10634
10635 [BZ #5461]
10636 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
10637 not LONG_LONG_MAX and LONG_LONG_MIN.
10638 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
10639 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
10640 name.
10641 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
10642
6cbeae47
JM
106432012-02-22 Joseph Myers <joseph@codesourcery.com>
10644
10645 [BZ #2547]
10646 [BZ #11365]
10647 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
10648 manipulate bits before adding and subtracting TWO23[sx].
10649 * math/libm-test.inc (nearbyint_test): Add more tests.
10650
fe45ce09
JM
106512012-02-22 Joseph Myers <joseph@codesourcery.com>
10652
10653 [BZ #2548]
10654 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
10655 bits before adding and subtracting TWO23[sx].
10656 * math/libm-test.inc (rint_test): Add more tests.
10657 (rint_test_tonearest): Likewise.
10658 (rint_test_towardzero): Likewise.
10659 (rint_test_downward): Likewise.
10660 (rint_test_upward: Likewise.
10661
ff3b3d82
JM
106622012-02-22 Joseph Myers <joseph@codesourcery.com>
10663
10664 [BZ #10110]
10665 * include/stdc-predef.h: New file. Extracted from features.h.
10666 * include/features.h: Include stdc-predef.h.
10667 * Makefile (headers): Add stdc-predef.h.
10668 * CONFORMANCE (Compiler limitations): Update.
10669
ef0aab35
JM
106702012-02-22 Joseph Myers <joseph@codesourcery.com>
10671
10672 * manual/libc.texinfo (VERSION, UPDATED): Revert.
10673
58639409
DM
106742012-02-21 David S. Miller <davem@davemloft.net>
10675
10676 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
10677 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
10678
c0e70b25
DM
106792012-02-20 David S. Miller <davem@davemloft.net>
10680
10681 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
10682 using a normal save/restore sequence, rather than allocating a
10683 dummy stack frame just to store a frame pointer and restore.
10684 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
10685
fb06851d
JM
106862012-02-21 Joseph Myers <joseph@codesourcery.com>
10687
10688 * manual/install.texi: Fix stray word in line-wrapped comment.
10689
7a8b71c3
DM
106902012-02-20 David S. Miller <davem@davemloft.net>
10691
d510c123
DM
10692 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
10693 both binutils and gcc support GOTDATA.
10694
0722d7c2
DM
10695 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
10696 "rd %pc" in the PIC register setup sequences.
10697
3d2b3019
DM
10698 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
10699 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
10700 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
10701 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
10702 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
10703 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
10704 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
10705 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
10706 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
10707 (SYSCALL_ERROR_HANDLER): Likewise.
10708 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
10709 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
10710 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
10711 (SYSCALL_ERROR_HANDLER): Likewise.
10712
c80098a9
DM
10713 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
10714 (HAVE_GCC_GOTDATA): New.
10715 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
10716 relocation support in both binutils and gcc.
10717 * sysdeps/sparc/elf/configure: Regenerate.
10718
3a2545a0
DM
10719 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
10720 * sysdeps/sparc/sparc32/elf/configure: Delete.
10721 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
10722 * sysdeps/sparc/sparc64/elf/configure: Delete.
10723 * sysdeps/sparc/elf/configure.in: New file.
10724 * sysdeps/sparc/elf/configure: Generate.
10725
7a8b71c3
DM
10726 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
10727 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
10728 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
10729 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
10730 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
10731
f1e86fca
JM
107322012-02-21 Joseph Myers <joseph@codesourcery.com>
10733
10734 * manual/install.texi: Do not mention specific glibc version
10735 numbers.
10736 * manual/libc.texinfo (VERSION, UPDATED): Update.
10737 (@copying): Use @copyright{} and range of years.
10738
0e7dfaef
JM
107392012-02-21 Joseph Myers <joseph@codesourcery.com>
10740
10741 [BZ #13695]
10742 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
10743 [crti.S not in sysdirs] (generated): Do not append.
10744 [crti.S not in sysdirs] (omit-deps): Likewise.
10745 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
10746 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
10747 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
10748 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
10749 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
10750 Likewise.
10751 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
10752 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
10753 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
10754 * csu/defs.awk: Remove file.
10755 * sysdeps/generic/initfini.c: Likewise.
10756 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
10757 variable.
10758 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
10759 Likewise.
10760
599af3ca
JM
107612012-02-20 Joseph Myers <joseph@codesourcery.com>
10762
10763 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
10764 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
10765 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
10766 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
10767 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
10768 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
10769 <bits/epoll.h>.
10770 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
10771 (__EPOLL_PACKED): Define to empty if not defined by
10772 <bits/epoll.h>.
10773 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
10774 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10775 bits/epoll.h.
10776
0e499750
JM
107772012-02-20 Joseph Myers <joseph@codesourcery.com>
10778
10779 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
10780 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
10781 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
10782 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
10783 <bits/timerfd.h>.
10784 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
10785 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10786 bits/timerfd.h.
10787
5ad91f6e
JM
107882012-02-20 Joseph Myers <joseph@codesourcery.com>
10789
10790 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
10791 in C locale.
10792 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10793 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
10794 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
10795 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10796
06b99b02
AJ
107972012-02-20 Aurelien Jarno <aurelien@aurel32.net>
10798
10799 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10800 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
10801
7638c0fd
AS
108022012-02-19 Andreas Schwab <schwab@linux-m68k.org>
10803
10804 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
10805 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
10806 defined.
10807 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
10808 Likewise.
10809 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
10810 entry for 2.16.
10811
92221550
AJ
108122012-02-19 Aurelien Jarno <aurelien@aurel32.net>
10813
10814 * math/w_acos.c: Use non-signaling floating-point comparisons.
10815 * math/w_acosf.c: Likewise.
10816 * math/w_acosh.c: Likewise.
10817 * math/w_acoshf.c: Likewise.
10818 * math/w_acoshl.c: Likewise.
10819 * math/w_acosl.c: Likewise.
10820 * math/w_asin.c: Likewise.
10821 * math/w_asinf.c: Likewise.
10822 * math/w_asinl.c: Likewise.
10823 * math/w_atanh.c: Likewise.
10824 * math/w_atanhf.c: Likewise.
10825 * math/w_atanhl.c: Likewise.
10826 * math/w_exp2.c: Likewise.
10827 * math/w_exp2f.c: Likewise.
10828 * math/w_exp2l.c: Likewise.
10829 * math/w_j0.c: Likewise.
10830 * math/w_j0f.c: Likewise.
10831 * math/w_j0l.c: Likewise.
10832 * math/w_j1.c: Likewise.
10833 * math/w_j1f.c: Likewise.
10834 * math/w_j1l.c: Likewise.
10835 * math/w_jn.c: Likewise.
10836 * math/w_jnf.c: Likewise.
10837 * math/w_log.c: Likewise.
10838 * math/w_log10.c: Likewise.
10839 * math/w_log10f.c: Likewise.
10840 * math/w_log10l.c: Likewise.
10841 * math/w_log2.c: Likewise.
10842 * math/w_log2f.c: Likewise.
10843 * math/w_log2l.c: Likewise.
10844 * math/w_logf.c: Likewise.
10845 * math/w_logl.c: Likewise.
10846 * math/w_sqrt.c: Likewise.
10847 * math/w_sqrtf.c: Likewise.
10848 * math/w_sqrtl.c: Likewise.
10849 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
10850 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
10851 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10852 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
10853 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
10854
ebaf36eb
JM
108552012-02-19 Joseph Myers <joseph@codesourcery.com>
10856
10857 [BZ #9739]
10858 * manual/string.texi (strnlen): Use correct parameter name in
10859 equivalent expression.
10860
71c254a6
JM
108612012-02-19 Joseph Myers <joseph@codesourcery.com>
10862
10863 [BZ #11174]
10864 * manual/users.texi (seteuid): Consistently use neweuid for
10865 argument name.
10866
16d2c631
JM
108672012-02-19 Joseph Myers <joseph@codesourcery.com>
10868
10869 [BZ #13704]
10870 * manual/nss.texi (Services in the NSS configuration): Correct
10871 list of services in example configuration file.
10872
cd837b09
NB
108732012-02-19 Nick Bowler <nbowler@draconx.ca>
10874
10875 [BZ #11322]
10876 * manual/arith.texi: Remove statements about negative zero
10877 behaving identically to zero.
10878
02c4bbad
JM
108792012-02-18 Joseph Myers <joseph@codesourcery.com>
10880
10881 [BZ #5993]
10882 * manual/install.texi: Do not document upgrading from libc5.
10883
366842e7
JM
108842012-02-18 Joseph Myers <joseph@codesourcery.com>
10885
10886 [BZ #4596]
10887 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
10888
dd54084d
DM
108892012-02-18 David S. Miller <davem@davemloft.net>
10890
10891 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
10892 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
10893 %o7 across the call.
10894 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
10895 instead.
10896 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
10897 SETUP_PIC_REG_LEAF.
10898 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10899 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
10900 * sysdeps/sparc/crtn.S: Likewise.
10901
2bcc53a3
UD
109022012-02-17 Ulrich Drepper <drepper@gmail.com>
10903
10904 * aout/Makefile: Remove.
10905
09c093b5
RK
109062012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
10907
10908 [BZ #13058]
10909 * manual/examples/argp-ex1.c (main): Format definition in GNU
10910 style.
10911 * manual/examples/argp-ex2.c (main): Likewise.
10912 * manual/examples/argp-ex3.c (main): Likewise.
10913 * manual/examples/argp-ex4.c (main): Likewise.
10914 * manual/examples/longopt.c (main): Use new-style prototype
10915 definition.
10916 * manual/examples/strncat.c (main): Specify return type and use
10917 (void) for arguments.
10918 * manual/examples/subopt.c (main): Use char **argv argument.
10919
2ee633a2
JM
109202012-02-17 Joseph Myers <joseph@codesourcery.com>
10921
10922 [BZ #5077]
10923 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
10924 rounding modes.
10925
0520adde
FB
109262012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
10927
10928 [BZ #6907]
10929 * manual/string.texi (strchr): Change when strchrnul is
10930 recommended.
10931
3f4081cd
DGM
109322012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
10933
10934 [BZ #174]
10935 * manual/locale.texi (setlocale): Document LOCPATH.
10936
d1b10e78
JM
109372012-02-17 Joseph Myers <joseph@codesourcery.com>
10938
10939 [BZ #10210]
10940 * manual/process.texi (execle): Move @dots{} before last argument.
10941
79c6869c
PB
109422012-02-17 Paul Bolle <pebolle@tiscali.nl>
10943
10944 [BZ #12047]
10945 * manual/charset.texi (Generic Charset Conversion): Fix typo
10946 (LC_TYPE -> LC_CTYPE).
10947
cc6e48bc
NB
109482012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
10949
10950 [BZ #5805]
10951 * manual/arith.texi (scalbn): Use @var{} on parameter names.
10952 (scalbnf): Likewise.
10953 (scalbnl): Likewise.
10954 (scalbln): Likewise.
10955 (scalblnf): Likewise.
10956 (scalblnl): Likewise.
10957 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
10958 (vwarnx): Likewise.
10959 (verr): Likewise.
10960 (verrx): Likewise.
10961 * manual/filesys.texi (telldir): Use braces around return type.
10962 * manual/llio.texi (mmap): Add space after comma.
10963 (mmap64): Likewise.
10964 * manual/math.texi (jn): Use @var{} on parameter names.
10965 (jnf): Likewise.
10966 (jnl): Likewise.
10967 (yn): Likewise.
10968 (ynf): Likewise.
10969 (ynl): Likewise.
10970 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
10971 line.
10972 * manual/resource.texi (ulimit): Use @dots{} instead of literal
10973 "...".
10974 (sched_get_priority_min): Remove semicolon on @deftypefun line.
10975 (sched_get_priority_max): Likewise.
10976 * manual/signal.texi (sigvec): Add space after comma.
10977 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
10978 names.
10979 (if_indextoname): Likewise.
10980 (if_freenameindex): Likewise.
10981 (sendto): Use ',' instead of '.' in prototype.
10982 * manual/startup.texi (syscall): Use @dots{} instead of literal
10983 "...".
10984 * manual/stdio.texi (__fpending): Separate initial words of
10985 paragraph from @deftypefun line.
10986 * manual/syslog.texi (syslog): Use @dots{} instead of literal
10987 "...".
10988 (vsyslog): Use @var{} on parameter names.
10989 * manual/terminal.texi (stty): Use @var{} on parameter names.
10990 * manual/users.texi (getutmp): Use @var{} on parameter names.
10991 (getutmpx): Likewise.
10992
5b23062f
JM
109932012-02-17 Joseph Myers <joseph@codesourcery.com>
10994
10995 [BZ #6884]
10996 * manual/stdio.texi (fopen): Fix typos in description of
10997 ",ccs=STRING".
10998
8dee4833
AJ
109992012-02-17 Aurelien Jarno <aurelien@aurel32.net>
11000
11001 [BZ #4026]
11002 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
11003 get clock_id definition.
11004
9078ce93
TS
110052012-02-17 Thomas Schwinge <thomas@schwinge.name>
11006
11007 [BZ #4822]
11008 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
11009 (madvise): Cast every argument to void on its own.
11010
3835c55f
JM
110112012-02-17 Joseph Myers <joseph@codesourcery.com>
11012
11013 [BZ #9902]
11014 * manual/startup.texi (Exit Status): Fix typo.
11015
35c47e37
JM
110162012-02-17 Joseph Myers <joseph@codesourcery.com>
11017
11018 [BZ #10140]
11019 * manual/examples/argp-ex1.c: Include <stdlib.h>.
11020 * manual/examples/argp-ex2.c: Likewise.
11021 * manual/examples/argp-ex3.c: Likewise.
11022
e3b69ca7
RH
110232012-02-16 Richard Henderson <rth@redhat.com>
11024
11025 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
11026 * sysdeps/s390/s390-32/initfini.c: Remove.
11027 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
11028 * sysdeps/s390/s390-64/initfini.c: Remove.
11029
df83af67
KK
110302012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11031
11032 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
11033 compiler output for sysdeps/generic/initfini.c.
11034 * sysdeps/sh/elf/initfini.c: Remove file.
11035
f63f3380
DM
110362012-02-16 David S. Miller <davem@davemloft.net>
11037
fb59b3a4
DM
11038 [BZ #11494]
11039 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
11040
f63f3380
DM
11041 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
11042 * sysdeps/sparc/crti.S: New file.
11043 * sysdeps/sparc/crtn.S: New file.
11044 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
11045 * sysdeps/sparc/sparc64/Makefile: Likewise.
11046
df6a4a4a
MF
110472012-02-15 Mike Frysinger <vapier@gentoo.org>
11048
6dd8f3dc 11049 [BZ #3335]
df6a4a4a
MF
11050 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
11051
1cac7236
RM
110522012-02-15 Roland McGrath <roland@hack.frob.com>
11053
d2c736f8
RM
11054 [BZ #4822]
11055 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
11056
1cac7236
RM
11057 * mach/devstream.c (cookie_io_functions_t): Macro removed.
11058 (write, read, close): Likewise.
11059 Patch by Aurelien Jarno <aurelien@aurel32.net>.
11060
8e475601
JM
110612012-02-15 Joseph Myers <joseph@codesourcery.com>
11062
11063 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
11064 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
11065 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
11066 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
11067 <bits/signalfd.h>.
11068 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
11069 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11070 bits/signalfd.h.
11071
ed656b40
MP
110722012-02-14 Marek Polacek <polacek@redhat.com>
11073
11074 * sysdeps/x86_64/crti.S: New file.
11075 * sysdeps/x86_64/crtn.S: New file.
11076 * sysdeps/x86_64/elf/initfini.c: Remove file.
11077
2a979d3a
JM
110782012-02-13 Joseph Myers <joseph@codesourcery.com>
11079
11080 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
11081 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
11082 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
11083 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
11084 <bits/inotify.h>.
11085 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
11086 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11087 bits/inotify.h.
11088
2a418ac3
JM
110892012-02-13 Joseph Myers <joseph@codesourcery.com>
11090
11091 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
11092 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
11093 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
11094 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
11095 <bits/eventfd.h>.
11096 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
11097 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11098 bits/eventfd.h.
11099
fb779be7
TS
111002012-02-10 Thomas Schwinge <thomas@codesourcery.com>
11101
e19e83c5
RM
11102 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
11103 __feraiseexcept instead of feraiseexcept.
7c35ffed 11104
fb779be7
TS
11105 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
11106 nanosleep invocations.
11107 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
11108 strings, and add error checking for a nanosleep invocations.
11109
59ba27a6
PE
111102012-02-09 Paul Eggert <eggert@cs.ucla.edu>
11111
11112 Replace FSF snail mail address with URLs, as per GNU coding standards.
11113 Most of the snail mail addresses were wrong anyway, and omitting
11114 them makes the source code easier to maintain. Almost all of the
11115 changes are to license notices and to locale LC_IDENTIFICATION
11116 addresses, except for this one:
11117 * manual/libc.texinfo: In "Published by", give the FSF's URL,
11118 not its snail mail address.
11119
57b957eb
RH
111202012-02-09 Richard Henderson <rth@twiddle.net>
11121
af850b1c
RH
11122 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
11123 of kernel-features.h.
11124
57b957eb
RH
11125 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
11126
6b73181a
MP
111272012-02-08 Marek Polacek <polacek@redhat.com>
11128
11129 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
11130 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
11131 * sysdeps/gnu/_G_config.h: Likewise.
11132 * sysdeps/generic/_G_config.h: Likewise.
11133
26ecc33a
AS
111342012-02-08 Andreas Schwab <schwab@linux-m68k.org>
11135
6c6dbc63
AS
11136 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
11137 tests.
11138 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11139
e216c012
AS
11140 * sysdeps/powerpc/powerpc32/crti.S: New file.
11141 * sysdeps/powerpc/powerpc32/crtn.S: New file.
11142 * sysdeps/powerpc/powerpc64/crti.S: New file.
11143 * sysdeps/powerpc/powerpc64/crtn.S: New file.
11144
26ecc33a
AS
11145 * Makeconfig (have-initfini): Don't set.
11146 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
11147 * configure.in (nopic_initfini): Don't substitute.
11148 * config.h.in (HAVE_INITFINI): Don't #undef.
11149 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
11150 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
11151
3add8e13
JM
111522012-02-08 Joseph Myers <joseph@codesourcery.com>
11153
11154 Support crti.S and crtn.S provided directly by architectures.
11155 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
11156 [crti.S in sysdirs] (omit-deps): Likewise.
11157 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
11158 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
11159 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
11160 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
11161 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
11162 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
11163 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
11164 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
11165 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
11166 compiler output for sysdeps/generic/initfini.c.
11167 * sysdeps/i386/elf/Makefile: Remove file.
11168 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
11169
a22f12b4
MP
111702012-02-07 Marek Polacek <polacek@redhat.com>
11171
11172 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
11173 * sysdeps/gnu/_G_config.h: Likewise.
11174 * sysdeps/mach/hurd/_G_config.h: Likewise.
11175
148cf100
MP
111762012-02-07 Marek Polacek <polacek@redhat.com>
11177
11178 * math/Makefile (tests): Add tst-CMPLX2.
11179 * math/tst-CMPLX2.c: New file.
11180
cfdc0dd7
AS
111812012-02-07 Andreas Schwab <schwab@linux-m68k.org>
11182
84ba42c4
AS
11183 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11184
cfdc0dd7
AS
11185 * math/libm-test.inc (jn_test): Add missing L suffix.
11186
622c86f4
MP
111872012-02-06 Marek Polacek <polacek@redhat.com>
11188
11189 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
11190 * sysdeps/i386/fpu/e_powf.S: Likewise.
11191 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
11192 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
11193 * sysdeps/i386/fpu/e_acosh.S: Likewise.
11194 * sysdeps/i386/fpu/e_pow.S: Likewise.
11195 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
11196 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
11197 * sysdeps/i386/fpu/s_expm1.S: Likewise.
11198 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
11199 * sysdeps/i386/fpu/e_log2.S: Likewise.
11200 * sysdeps/i386/fpu/e_log2l.S: Likewise.
11201 * sysdeps/i386/fpu/e_scalb.S: Likewise.
11202 * sysdeps/i386/fpu/e_powl.S: Likewise.
11203 * sysdeps/i386/fpu/s_log1p.S: Likewise.
11204 * sysdeps/i386/fpu/e_log10f.S: Likewise.
11205 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
11206 * sysdeps/i386/fpu/e_logl.S: Likewise.
11207 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
11208 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
11209 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
11210 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
11211 * sysdeps/i386/fpu/e_log2f.S: Likewise.
11212 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
11213 * sysdeps/i386/fpu/e_log.S: Likewise.
11214 * sysdeps/i386/fpu/s_cexp.S: Likewise.
11215 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
11216 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
11217 * sysdeps/i386/fpu/e_logf.S: Likewise.
11218 * sysdeps/i386/fpu/e_log10l.S: Likewise.
11219 * sysdeps/i386/fpu/e_atanh.S: Likewise.
11220 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
11221 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
11222 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
11223 * sysdeps/i386/fpu/e_log10.S: Likewise.
11224 * sysdeps/i386/fpu/s_frexp.S: Likewise.
11225 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
11226 * sysdeps/i386/fpu/s_asinh.S: Likewise.
11227 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
11228 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
11229 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
11230 * sysdeps/i386/asm-syntax.h: Likewise.
11231 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
11232 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
11233 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
11234 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
11235 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
11236 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
11237 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
11238 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
11239 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
11240 * sysdeps/powerpc/sysdep.h: Likewise.
11241 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
11242 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
11243
d4a54ac6
JM
112442012-02-06 Joseph Myers <joseph@codesourcery.com>
11245
11246 [BZ #411]
11247 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
11248
314054ea
JM
112492012-02-06 Joseph Myers <joseph@codesourcery.com>
11250
11251 * sysdeps/i386/sysdep.h: Include <features.h>.
11252 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
11253 version.
11254
d8e0ca50
JM
112552012-02-05 Joseph Myers <joseph@codesourcery.com>
11256
11257 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
11258 Define.
11259 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
11260 LOAD_PIC_REG_STR.
11261
b1da7dd9
JM
112622012-02-03 Joseph Myers <joseph@codesourcery.com>
11263
11264 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
11265 (SETUP_PIC_REG): Use GET_PC_THUNK.
11266 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
11267 macro.
11268
9a1d9254
JM
112692012-02-03 Joseph Myers <joseph@codesourcery.com>
11270
11271 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
11272 for non-PIC compilation.
11273 (SETUP_PIC_REG): Add .p2align directive.
11274 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
11275 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
11276 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
11277 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
11278 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
11279 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
11280 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
11281 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
11282 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
11283 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
11284 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
11285 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
11286 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
11287 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
11288 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
11289 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
11290 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
11291 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
11292 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
11293 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
11294 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
11295 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
11296 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
11297 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
11298 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
11299 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
11300 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
11301 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
11302 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
11303 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
11304 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
11305 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11306 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
11307 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
11308 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
11309 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
11310 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
11311 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
11312 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
11313 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
11314 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
11315
65dc3b75
JM
113162012-02-03 Joseph Myers <joseph@codesourcery.com>
11317
11318 * math/tst-CMPLX.c: Include <stdio.h>.
11319
d55bf177
JM
113202012-01-31 Joseph Myers <joseph@codesourcery.com>
11321
11322 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
11323 float.
11324 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
11325 * sysdeps/sparc/bits/mathdef.h: Likewise.
11326
69db4f8f
MP
113272012-01-31 Marek Polacek <polacek@redhat.com>
11328
11329 * libio/libio.h: Don't define _PARAMS.
11330 * locale/programs/config.h: Don't define PARAMS.
11331 * stdlib/strtol_l.c: Likewise.
11332 (__strtol_l): Remove PARAMS from the prototype.
11333
41b81892
UD
113342012-01-31 Ulrich Drepper <drepper@gmail.com>
11335
3b49edc0
UD
11336 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
11337 names. Just use the correct names. Remove unnecessary wrapper
11338 functions.
11339 * malloc/arena.c: Likewise.
11340 * malloc/hooks.c: Likewise.
11341
41b81892
UD
11342 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
11343 ARENA_TEST says not to. Simplify test for creation of a new arena.
11344 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
11345
27a25b6e
UD
113462012-01-30 Ulrich Drepper <drepper@gmail.com>
11347
11348 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
11349 into tail calls.
11350 (update_get_addr): New function.
11351 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
11352 GET_ADDR_MODULE parameter.
11353
c8a89e7d
JM
113542012-01-30 Joseph Myers <joseph@codesourcery.com>
11355
11356 * crypt/cert.c: Remove __STDC__ conditionals.
11357 * crypt/crypt-entry.c: Likewise.
11358 * crypt/crypt_util.c: Likewise.
11359 * libio/filedoalloc.c: Likewise.
11360 * libio/fileops.c: Likewise.
11361 * libio/genops.c: Likewise.
11362 * libio/iofclose.c: Likewise.
11363 * libio/iofdopen.c: Likewise.
11364 * libio/iofopen.c: Likewise.
11365 * libio/iofopen64.c: Likewise.
11366 * libio/iogetdelim.c: Likewise.
11367 * libio/iopopen.c: Likewise.
11368 * libio/obprintf.c: Likewise.
11369 * libio/oldfileops.c: Likewise.
11370 * libio/oldiofclose.c: Likewise.
11371 * libio/oldiofdopen.c: Likewise.
11372 * libio/oldiofopen.c: Likewise.
11373 * libio/oldiopopen.c: Likewise.
11374 * libio/wfiledoalloc.c: Likewise.
11375 * libio/wgenops.c: Likewise.
11376 * locale/programs/xmalloc.c: Likewise.
11377 * misc/syslog.c: Likewise.
11378 * stdio-common/xbug.c: Likewise.
11379 * string/memchr.c: Likewise.
11380 * string/memcmp.c: Likewise.
11381 * string/memrchr.c: Likewise.
11382 * string/rawmemchr.c: Likewise.
11383 * sysdeps/posix/getcwd.c: Likewise.
11384 * time/strftime_l.c: Likewise.
11385
3b100462
JM
113862012-01-30 Joseph Myers <joseph@codesourcery.com>
11387
11388 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
11389 * config.make.in (config-cflags-sse2avx): Define.
11390 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
11391 Fix typo.
11392
607998af
CM
113932012-01-29 Chris Metcalf <cmetcalf@tilera.com>
11394
11395 * scripts/config.guess: Update from upstream config git repository.
11396 * scripts/config.sub: Likewise.
11397
3601428f
CM
113982012-01-28 Chris Metcalf <cmetcalf@tilera.com>
11399
3ac8b282
CM
11400 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
11401 (EM_NUM): Update.
11402 (R_TILEPRO_*, R_TILEGX_*): New macros.
11403
e034841e
CM
11404 * scripts/firstversions.awk: Fix bug in version range handling.
11405
540d7568
CM
11406 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
11407
3601428f
CM
11408 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
11409
463de862
CM
11410 * include/sys/epoll.h: New file.
11411 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
11412 libc_hidden_def.
11413
73139a76
UD
114142012-01-28 Ulrich Drepper <drepper@gmail.com>
11415
96bc5b45
UD
11416 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
11417 Avoid unnecessary __WORDSIZE == 64 test.
11418 (fmaxf): Use VEX format if possible.
11419 (fmax): Likewise.
11420 (fminf): Likewise.
11421 (fmin): Likewise.
11422
56f6f6a2
UD
11423 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
11424 * math/math_private.h: Remove libc_fegetround* and
11425 libc_fesetround*.
11426 * sysdeps/i386/configure.in: Check for -msse2avx.
11427 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
11428 also if SSE2AVX is defined.
11429 Remove libc_fegetround* and libc_fesetround*.
11430 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
11431 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
11432 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
11433 of HAS_YMM_USABLE.
11434 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
11435 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
11436 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
11437 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
11438 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
11439
73139a76
UD
11440 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
11441
d73f93a4
AZ
114422012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11443
11444 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
11445 size is not set.
11446 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
11447
6ee65ed6
UD
114482012-01-27 Ulrich Drepper <drepper@gmail.com>
11449
11450 [BZ #13618]
11451 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
11452 relocation.
11453 * Makeconfig (libm): Define.
11454 * elf/Makefile: Add rules to build and run tst-relsort1.
11455 * elf/tst-relsort1.c: New file.
11456 * elf/tst-relsort1mod1.c: New file.
11457 * elf/tst-relsort1mod2.c: New file.
11458
8db21882
JM
114592012-01-27 Joseph Myers <joseph@codesourcery.com>
11460
11461 * math/s_ldexp.c: Remove __STDC__ conditionals.
11462 * math/s_ldexpf.c: Likewise.
11463 * math/s_ldexpl.c: Likewise.
11464 * math/s_nextafter.c: Likewise.
11465 * math/s_nexttowardf.c: Likewise.
11466 * math/s_significand.c: Likewise.
11467 * math/s_significandf.c: Likewise.
11468 * math/s_significandl.c: Likewise.
11469 * math/w_jnl.c: Likewise.
11470 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
11471 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
11472 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
11473 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
11474 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
11475 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
11476 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
11477 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
11478 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
11479 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
11480 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
11481 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11482 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
11483 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
11484 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
11485 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
11486 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
11487 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
11488 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
11489 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
11490 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
11491 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
11492 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
11493 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
11494 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
11495 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
11496 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
11497 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
11498 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
11499 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
11500 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
11501 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
11502 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
11503 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
11504 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
11505 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
11506 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
11507 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
11508 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
11509 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
11510 * sysdeps/ieee754/k_standard.c: Likewise.
11511 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11512 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
11513 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
11514 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
11515 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
11516 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
11517 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
11518 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
11519 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
11520 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
11521 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
11522 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
11523 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
11524 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
11525 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
11526 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
11527 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
11528 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
11529 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
11530 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
11531 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
11532 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
11533 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
11534 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
11535 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
11536 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
11537 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
11538 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11539 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
11540 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
11541 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
11542 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
11543 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
11544 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
11545 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
11546 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
11547 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
11548 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
11549 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
11550 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
11551 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
11552 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
11553 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
11554 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
11555 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
11556 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
11557 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
11558 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
11559 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
11560 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
11561 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
11562 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
11563 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
11564 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
11565 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
11566 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
11567 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
11568 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
11569 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
11570 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
11571 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
11572 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
11573 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
11574 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
11575 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
11576 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
11577 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
11578 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
11579 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
11580 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
11581 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
11582 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
11583 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
11584 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
11585 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
11586 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
11587 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
11588 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
11589 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
11590 * sysdeps/ieee754/s_matherr.c: Likewise.
11591 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
11592 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
11593 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
11594 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
11595
965a54a4
JM
115962012-01-26 Joseph Myers <joseph@codesourcery.com>
11597
11598 * crypt/md5.h: Remove __STDC__ conditionals.
11599 * libio/libioP.h: Likewise.
11600 * locale/programs/config.h: Likewise.
11601 * sysdeps/generic/sysdep.h: Likewise.
11602 * sysdeps/i386/asm-syntax.h: Likewise.
11603 * sysdeps/s390/asm-syntax.h: Likewise.
11604 * sysdeps/unix/sysdep.h: Likewise.
11605 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
11606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
11607
7071ad79
JM
116082012-01-26 Joseph Myers <joseph@codesourcery.com>
11609
11610 * libio/libio.h: Remove __STDC__ conditionals.
11611 * malloc/obstack.h: Likewise.
11612 * math/complex.h: Likewise.
11613 * math/math.h: Likewise.
11614 * sysdeps/generic/_G_config.h: Likewise.
11615 * sysdeps/gnu/_G_config.h: Likewise.
11616 * sysdeps/mach/hurd/_G_config.h: Likewise.
11617 * sysdeps/powerpc/bits/mathdef.h: Likewise.
11618 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
11619 * sysdeps/sparc/bits/mathdef.h: Likewise.
11620
afc5ed09
UD
116212012-01-26 Ulrich Drepper <drepper@gmail.com>
11622
11623 [BZ #13583]
11624 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 11625 Clean up HAS_* macros.
afc5ed09 11626 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
11627 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
11628 possible.
11629 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
11630 HAS_AVX.
11631 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
11632 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
11633 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
11634 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
11635 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 11636
bdb6de1d
JM
116372012-01-25 Joseph Myers <joseph@codesourcery.com>
11638
11639 * elf/tst-unique3.cc (gets): Remove declaration.
11640 * elf/tst-unique3lib.cc (gets): Likewise.
11641 * elf/tst-unique3lib2.cc (gets): Likewise.
11642 * elf/tst-unique4.cc (gets): Likewise.
11643
b15549e6
UD
116442012-01-24 Ulrich Drepper <drepper@gmail.com>
11645
11646 * include/stdio.h: Add C++ protection. Add gets declarations and
11647 definitions.
11648 * debug/tst-chk1.c: Don't declare gets here.
11649 * stdio-common/tst-gets.c: Likewise.
11650
a037381f
JM
116512012-01-24 Joseph Myers <joseph@codesourcery.com>
11652
11653 * posix/glob: Remove directory.
11654
f1d4aa75
JM
116552012-01-24 Joseph Myers <joseph@codesourcery.com>
11656
11657 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
11658
81c0c964
PT
116592012-01-22 Pino Toscano <toscano.pino@tiscali.it>
11660
11661 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
11662 of the non-standard EPFNOSUPPORT.
11663
0ea698ae
ST
116642011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
11665
11666 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
11667 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
11668 ANYWHERE set to 1 only on KERN_NO_SPACE error.
11669
d220b117
UD
116702012-01-21 Ulrich Drepper <drepper@gmail.com>
11671
11672 * wcsmbs/uchar.h: Test __STDC_VERSION__.
11673
3e1aa84e
UD
116742012-01-20 Ulrich Drepper <drepper@gmail.com>
11675
11676 * nscd/aicache.c (addhstaiX): Do not cache negative results of
11677 transient errors.
11678 * nscd/grpcache.c (cache_addgr): Likewise.
11679 * nscd/hstcache.c (cache_addhst): Likewise.
11680 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11681 * nscd/pwdcache.c (cache_addpw): Likewise.
11682 * nscd/servicescache.c (cache_addserv): Likewise.
11683
400aa020
UD
116842012-01-16 Ulrich Drepper <drepper@gmail.com>
11685
d77e7869
UD
11686 * malloc/malloc.c: Various cleanups.
11687 * malloc/hooks.c: Likewise.
11688
400aa020
UD
11689 * stdlib/Makefile (tests): Add bug-fmtmsg1.
11690 * stdlib/bug-fmtmsg1.c: New file.
11691
11692 * stdlib/fmtmsg.c (init): Add missing unlock.
11693 Patch by Peng Haitao <penght@cn.fujitsu.com>.
11694
e0a309cf
MP
116952012-01-12 Marek Polacek <polacek@redhat.com>
11696
11697 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
11698 and _GNU_SOURCE.
11699
929d11c7
WS
117002012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
11701
11702 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
11703 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
11704 macro to ensure uniqueness of label name.
11705 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
11706 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
11707
41d0e869
UD
117082012-01-11 Ulrich Drepper <drepper@gmail.com>
11709
0cc5ed3b
UD
11710 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
11711
41d0e869
UD
11712 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
11713 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
11714 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
11715 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
11716
a47a831a
UD
117172012-01-10 Ulrich Drepper <drepper@gmail.com>
11718
daa891c0
UD
11719 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
11720
11721 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
11722 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
11723 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
11724
e58ef0f2
UD
11725 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
11726
a47a831a 11727 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
11728 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
11729 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 11730 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
11731
11732 * math/bits/math-finite.h: Add ldexp support.
11733
a0bfc9c7
MP
117342012-01-10 Marek Polacek <polacek@redhat.com>
11735
11736 * locale/programs/localedef.h (show_archive_content): Add noreturn
11737 attribute.
11738
d6e97a1d
UD
117392012-01-09 Ulrich Drepper <drepper@gmail.com>
11740
11741 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
11742
d5835c26
UD
117432012-01-08 Ulrich Drepper <drepper@gmail.com>
11744
e5f484c6
UD
11745 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
11746
d5835c26
UD
11747 * io/Makefile (headers): Add bits/poll2.h.
11748
d1f741e9
WS
117492011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
11750
11751 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
11752 typo #include statement.
11753
ec09c1c4
UD
117542012-01-08 Ulrich Drepper <drepper@gmail.com>
11755
11756 * include/sys/cdefs.h: Define __attribute_alloc_size.
11757 * catgets/gencat.c: Add alloc_size attribute and apply consistently
11758 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
11759 * elf/pldd.c: Likewise.
11760 * iconv/iconv_charmap.c: Likewise.
11761 * iconv/iconvconfig.c: Likewise.
11762 * iconv/strtab.c: Likewise.
11763 * locale/programs/locale.c: Likewise.
11764 * locale/programs/localedef.h: Likewise.
11765 * locale/programs/simple-hash.c: Likewise.
11766 * nscd/nscd.h: Likewise.
11767 * nss/makedb.c: Likewise.
11768 * sysdeps/generic/ldconfig.h: Likewise.
11769 * locale/programs/localedef.c: Remove xmalloc prototype.
11770 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
11771
20b38e03
PP
117722012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
11773
11774 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
11775 appropriate.
11776
a0da5fe1
UD
117772012-01-08 Ulrich Drepper <drepper@gmail.com>
11778
1d5a644a 11779 * math/Makefile (tests): Add tst-CMPLX.
669704fd 11780 * math/tst-CMPLX.c: New file.
1d5a644a 11781
8784a6db
UD
11782 * math/complex.h (CMPLXL): Fix typo.
11783
d9a216c0
UD
11784 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
11785 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
11786 GLIBC_2.16.
11787 * debug/tst-chk1.c: Add poll and ppoll tests.
11788 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
11789 * include/sys/poll.h: Add hidden proto for ppoll.
11790 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
11791 * sysdeps/mach/hurd/ppoll.c: Likewise.
11792 * io/ppoll.c: Likewise.
11793 * debug/poll_chk.c: New file.
11794 * debug/ppoll_chk.c: New file.
11795 * include/bits/poll2.h: New file.
11796 * io/bits/poll2.h: New file.
11797
ac097f5c
UD
11798 [BZ #1350]
11799 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
11800
2119dcfa
UD
11801 * configure.in: static is always set to yes. Remove.
11802 * config.make.in: Don't set build-static.
11803 * Makeconfig: Remove use of build-static.
11804 * dlfcn/Makefile: Likewise.
11805 * elf/Makefile: Likewise.
11806 * math/Makefile: Likewise.
11807 * misc/Makefile: Likewise.
11808 * nptl/Makefile: Likewise.
11809 * sysdeps/mach/hurd/Makefile: Likewise.
11810
121766a9
UD
11811 * configure.in: PWD_P is not used anymore.
11812 * config.make.in: Remove PWD_P entry.
11813
51a1d39c 11814 * configure.in: Remove last remnants of RANLIB.
8720d066 11815 No need to check for signed size_t anymore.
215f4bdc
UD
11816 Don't set libc_commonpagesize and libc_relro_required here for Alpha
11817 and IA-64.
3857022a 11818 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
11819 * aclocal.m4: Likewise.
11820
d3ed7225
UD
11821 * wcsmbs/mbrtoc16.c: Implement using towc function.
11822 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
11823 * wcsmbs/wcsmbsload.c: Likewise.
11824 * iconv/gconv_simple.c: Likewise.
11825 * iconv/gconv_int.h: Likewise.
11826 * iconv/gconv_builtin.h: Likewise.
11827 * iconv/iconv_prog.c: Remove CHAR16 handling.
11828
11829 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
11830
11831 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
11832
a0da5fe1
UD
11833 * configure.in: Remove --with-elf and --enable-bounded options.
11834 Dont set base_machine for ia64. More non-ELF conditions removed.
11835 Remove testing and setting of leading underscore information.
11836 * config.make.in (build-bounded): Set to no.
11837 * config.h.in: Remove NO_UNDERSCORES entry.
11838 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
11839 them.
11840 * csu/start.c: Remove !NO_UNDERSCORE code.
11841 * locale/localeinfo.h: Likewise.
11842 * sysdeps/generic/machine-gmon.h: Likewise.
11843 * sysdeps/generic/sysdep.h: Likewise.
11844 * sysdeps/i386/sysdep.h: Likewise.
11845 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
11846 * sysdeps/mach/sysdep.h: Likewise.
11847 * sysdeps/s390/s390-32/sysdep.h: Likewise.
11848 * sysdeps/s390/s390-64/sysdep.h: Likewise.
11849 * sysdeps/sh/sysdep.h: Likewise.
11850 * sysdeps/sparc/sparc32/alloca.S: Likewise.
11851 * sysdeps/unix/i386/sysdep.S: Likewise.
11852 * sysdeps/unix/sparc/start.c: Likewise.
11853 * sysdeps/unix/sparc/sysdep.S: Likewise.
11854 * sysdeps/unix/sparc/sysdep.h: Likewise.
11855 * sysdeps/unix/start.c: Likewise.
11856 * sysdeps/unix/x86_64/sysdep.S: Likewise.
11857 * sysdeps/x86_64/sysdep.h: Likewise.
11858
df78418a
UD
118592012-01-07 Ulrich Drepper <drepper@gmail.com>
11860
a784e502
UD
11861 [BZ #13553]
11862 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
11863 for non-gcc.
11864 * argp/argp-fmtstream.h: Use const instead __const.
11865 * argp/argp.h: Likewise.
11866 * assert/assert.h: Likewise.
11867 * bits/fenv.h: Likewise.
11868 * bits/sched.h: Likewise.
11869 * bits/sigset.h: Likewise.
11870 * bits/sigthread.h: Likewise.
11871 * catgets/nl_types.h: Likewise.
11872 * conform/data/pthread.h-data: Likewise.
11873 * crypt/crypt-private.h: Likewise.
11874 * crypt/crypt.h: Likewise.
11875 * crypt/crypt_util.c: Likewise.
11876 * ctype/ctype.h: Likewise.
11877 * debug/execinfo.h: Likewise.
11878 * debug/mbsnrtowcs_chk.c: Likewise.
11879 * debug/mbsrtowcs_chk.c: Likewise.
11880 * debug/wcsnrtombs_chk.c: Likewise.
11881 * debug/wcsrtombs_chk.c: Likewise.
11882 * debug/wcstombs_chk.c: Likewise.
11883 * dirent/dirent.h: Likewise.
11884 * dlfcn/dlfcn.h: Likewise.
11885 * elf/neededtest4.c: Likewise.
11886 * grp/grp.h: Likewise.
11887 * gshadow/gshadow.h: Likewise.
11888 * iconv/gconv.h: Likewise.
11889 * iconv/gconv_int.h: Likewise.
11890 * iconv/gconv_simple.c: Likewise.
11891 * iconv/iconv.h: Likewise.
11892 * iconv/loop.c: Likewise.
11893 * iconv/skeleton.c: Likewise.
11894 * include/aio.h: Likewise.
11895 * include/aliases.h: Likewise.
11896 * include/argz.h: Likewise.
11897 * include/arpa/inet.h: Likewise.
11898 * include/assert.h: Likewise.
11899 * include/dirent.h: Likewise.
11900 * include/dlfcn.h: Likewise.
11901 * include/execinfo.h: Likewise.
11902 * include/fcntl.h: Likewise.
11903 * include/fenv.h: Likewise.
11904 * include/glob.h: Likewise.
11905 * include/grp.h: Likewise.
11906 * include/libintl.h: Likewise.
11907 * include/mntent.h: Likewise.
11908 * include/netdb.h: Likewise.
11909 * include/pwd.h: Likewise.
11910 * include/rpc/netdb.h: Likewise.
11911 * include/sched.h: Likewise.
11912 * include/search.h: Likewise.
11913 * include/shadow.h: Likewise.
11914 * include/signal.h: Likewise.
11915 * include/stdio.h: Likewise.
11916 * include/stdlib.h: Likewise.
11917 * include/string.h: Likewise.
11918 * include/sys/socket.h: Likewise.
11919 * include/sys/stat.h: Likewise.
11920 * include/sys/statfs.h: Likewise.
11921 * include/sys/statvfs.h: Likewise.
11922 * include/sys/syslog.h: Likewise.
11923 * include/sys/time.h: Likewise.
11924 * include/sys/uio.h: Likewise.
11925 * include/time.h: Likewise.
11926 * include/unistd.h: Likewise.
11927 * include/utmp.h: Likewise.
11928 * include/wchar.h: Likewise.
11929 * include/wctype.h: Likewise.
11930 * inet/aliases.h: Likewise.
11931 * inet/arpa/inet.h: Likewise.
11932 * inet/netinet/ether.h: Likewise.
11933 * inet/netinet/in.h: Likewise.
11934 * intl/libintl.h: Likewise.
11935 * io/bits/fcntl2.h: Likewise.
11936 * io/fcntl.h: Likewise.
11937 * io/ftw.h: Likewise.
11938 * io/sys/poll.h: Likewise.
11939 * io/sys/stat.h: Likewise.
11940 * io/sys/statfs.h: Likewise.
11941 * io/sys/statvfs.h: Likewise.
11942 * io/utime.h: Likewise.
11943 * libio/bits/stdio.h: Likewise.
11944 * libio/bits/stdio2.h: Likewise.
11945 * libio/libio.h: Likewise.
11946 * libio/libioP.h: Likewise.
11947 * libio/stdio.h: Likewise.
11948 * locale/lc-ctype.c: Likewise.
11949 * locale/locale.h: Likewise.
11950 * login/utmp.h: Likewise.
11951 * malloc/arena.c: Likewise.
11952 * malloc/malloc.c: Likewise.
11953 * malloc/malloc.h: Likewise.
11954 * malloc/mcheck.c: Likewise.
11955 * malloc/mtrace.c: Likewise.
11956 * math/bits/mathcalls.h: Likewise.
11957 * math/fenv.h: Likewise.
11958 * math/math_private.h: Likewise.
11959 * misc/bits/error.h: Likewise.
11960 * misc/bits/syslog.h: Likewise.
11961 * misc/err.h: Likewise.
11962 * misc/error.h: Likewise.
11963 * misc/fstab.h: Likewise.
11964 * misc/mntent.h: Likewise.
11965 * misc/regexp.h: Likewise.
11966 * misc/search.h: Likewise.
11967 * misc/sgtty.h: Likewise.
11968 * misc/sys/mman.h: Likewise.
11969 * misc/sys/syslog.h: Likewise.
11970 * misc/sys/uio.h: Likewise.
11971 * misc/sys/xattr.h: Likewise.
11972 * misc/ttyent.h: Likewise.
11973 * nis/rpcsvc/ypclnt.h: Likewise.
11974 * nss/nss.h: Likewise.
11975 * posix/bits/unistd.h: Likewise.
11976 * posix/fnmatch.h: Likewise.
11977 * posix/glob.h: Likewise.
11978 * posix/sched.h: Likewise.
11979 * posix/spawn.h: Likewise.
11980 * posix/sys/wait.h: Likewise.
11981 * posix/unistd.h: Likewise.
11982 * posix/wordexp.h: Likewise.
11983 * pwd/pwd.h: Likewise.
11984 * resolv/netdb.h: Likewise.
11985 * resource/sys/resource.h: Likewise.
11986 * rt/aio.h: Likewise.
11987 * rt/bits/mqueue2.h: Likewise.
11988 * rt/mqueue.h: Likewise.
11989 * shadow/shadow.h: Likewise.
11990 * signal/signal.h: Likewise.
11991 * socket/send.c: Likewise.
11992 * socket/sendto.c: Likewise.
11993 * socket/sys/socket.h: Likewise.
11994 * stdio-common/printf.h: Likewise.
11995 * stdlib/bits/stdlib.h: Likewise.
11996 * stdlib/fmtmsg.h: Likewise.
11997 * stdlib/monetary.h: Likewise.
11998 * stdlib/stdlib.h: Likewise.
11999 * stdlib/ucontext.h: Likewise.
12000 * streams/stropts.h: Likewise.
12001 * string/argz.h: Likewise.
12002 * string/bits/string2.h: Likewise.
12003 * string/string.h: Likewise.
12004 * string/strings.h: Likewise.
12005 * sunrpc/rpc/auth.h: Likewise.
12006 * sunrpc/rpc/auth_des.h: Likewise.
12007 * sunrpc/rpc/clnt.h: Likewise.
12008 * sunrpc/rpc/netdb.h: Likewise.
12009 * sunrpc/rpc/pmap_clnt.h: Likewise.
12010 * sunrpc/rpc/xdr.h: Likewise.
12011 * sysdeps/generic/inttypes.h: Likewise.
12012 * sysdeps/generic/net/if.h: Likewise.
12013 * sysdeps/generic/sys/swap.h: Likewise.
12014 * sysdeps/gnu/net/if.h: Likewise.
12015 * sysdeps/gnu/utmpx.h: Likewise.
12016 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
12017 * sysdeps/i386/i486/bits/string.h: Likewise.
12018 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
12019 * sysdeps/s390/bits/string.h: Likewise.
12020 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
12021 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
12022 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
12023 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
12024 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
12025 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
12026 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
12027 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
12028 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
12029 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
12030 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
12031 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
12032 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
12033 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
12034 * sysdeps/unix/sysv/linux/readv.c: Likewise.
12035 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
12036 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
12037 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
12038 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
12039 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
12040 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
12041 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
12042 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
12043 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
12044 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
12045 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
12046 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
12047 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
12048 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
12049 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
12050 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
12051 * sysvipc/sys/ipc.h: Likewise.
12052 * sysvipc/sys/msg.h: Likewise.
12053 * sysvipc/sys/sem.h: Likewise.
12054 * sysvipc/sys/shm.h: Likewise.
12055 * termios/termios.h: Likewise.
12056 * time/sys/time.h: Likewise.
12057 * time/time.h: Likewise.
12058 * wcsmbs/bits/wchar2.h: Likewise.
12059 * wcsmbs/uchar.h: Likewise.
12060 * wcsmbs/wchar.h: Likewise.
12061 * wctype/wctype.h: Likewise.
12062
0269750c
UD
12063 [BZ #13551]
12064 * Makeconfig: Remove all but ELF support including AIX support.
12065 * Makerules: Likewise.
12066 * config.h.in: Likewise.
12067 * config.make.in: Likewise.
12068 * configure: Likewise.
12069 * configure.in: Likewise.
12070 * csu/Makefile: Likewise.
12071 * csu/version.c: Likewise.
12072 * debug/Makefile: Likewise.
12073 * dlfcn/Makefile: Likewise.
12074 * elf/Makefile: Likewise.
12075 * extra-lib.mk: Likewise.
12076 * iconv/Makefile: Likewise.
12077 * include/libc-symbols.h: Likewise.
12078 * include/shlib-compat.h: Likewise.
12079 * resolv/Makefile: Likewise.
12080 * resolv/res_libc.c: Likewise.
12081 * rt/Makefile: Likewise.
12082 * sysdeps/i386/asm-syntax.h: Likewise.
12083 * sysdeps/i386/sysdep.h: Likewise.
12084 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
12085 * sysdeps/mach/sysdep.h: Likewise.
12086 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
12087 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
12088 * sysdeps/s390/asm-syntax.h: Likewise.
12089 * sysdeps/s390/s390-32/sysdep.h: Likewise.
12090 * sysdeps/s390/s390-64/sysdep.h: Likewise.
12091 * sysdeps/sh/sysdep.h: Likewise.
12092 * sysdeps/unix/sparc/sysdep.h: Likewise.
12093 * sysdeps/wordsize-32/divdi3.c: Likewise.
12094 * sysdeps/x86_64/sysdep.h: Likewise.
12095
00bbd29b
UD
12096 * argp/Versions: Remove _argp_unlock_xxx.
12097
12098 [BZ #13559]
12099 * abilist/ld.abilist: Update. Adjust for removal of tls option.
12100 * abilist/libBrokenLocale.abilist: Likewise.
12101 * abilist/libanl.abilist: Likewise.
12102 * abilist/libc.abilist: Likewise.
12103 * abilist/libcrypt.abilist: Likewise.
12104 * abilist/libdl.abilist: Likewise.
12105 * abilist/libm.abilist: Likewise.
12106 * abilist/libnsl.abilist: Likewise.
12107 * abilist/libpthread.abilist: Likewise.
12108 * abilist/libresolv.abilist: Likewise.
12109 * abilist/librt.abilist: Likewise.
12110 * abilist/libthread_db.abilist: Likewise.
12111 * abilist/libutil.abilist: Likewise.
12112 * abilist/libnss_db.abilist: New file.
12113
12114 * scripts/abilist.awk: Add support for indirect functions.
12115
a2693a0e
UD
12116 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
12117
3f05895f
UD
12118 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
12119
ecb6fb48
UD
12120 * shlib-versions: Remove entries for ports architectures.
12121
664f8cb9
UD
12122 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
12123 files in ports.
12124 * elf/stackguard-macros.h: Remove support for IA-64.
12125 * elf/tst-auditmod1.c: Likewise.
12126 * sysdeps/generic/ldsodefs.h: Likewise.
12127
7ae81d88
UD
12128 * sysdeps/unix/sysv/linux/configure.in: Ports should define
12129 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
12130 configure files.
12131
bdeba135
UD
12132 [BZ #13552]
12133 * configure.in: Remove --enable-omitfp support.
12134 * FAQ.in: Adjust.
12135 * config.make.in: Likewise.
12136 * Makeconfig: Likewise.
12137 * manual/install.texi: Likewise.
12138
d75a0a62
UD
12139 In case anyone cares, the IA-64 architecture could move to ports.
12140 * sysdeps/ia64/*: Removed.
12141 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 12142 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 12143
dcc9756b
UD
12144 [BZ #13555]
12145 * configure.in: Remove entries for unsupported architectures.
12146
d3761ebc 12147 [BZ #13533]
9954432e
UD
12148 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
12149 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
12150 routines.
12151 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
12152 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
12153 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
12154 fall back to using wcrtomb.
12155 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
12156 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
12157 renaming.
12158 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
12159 * wcsmbs/tst-c16c32-1.c: New file.
12160
12161 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
12162 local variable.
12163
c3a87236
UD
12164 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
12165
28926a1b
UD
12166 * elf/tst-unique3.cc: Add explicit declaration of gets.
12167 * elf/tst-unique3lib.cc: Likewise.
12168 * elf/tst-unique3lib2.cc: Likewise.
12169 * elf/tst-unique4.cc: Likewise.
12170
df78418a
UD
12171 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
12172
8ecd6b2a
JM
121732012-01-06 Joseph Myers <joseph@codesourcery.com>
12174
12175 [BZ #13566]
12176 * assert/assert.h (static_assert): Don't define for C++.
12177 * libio/stdio.h (gets): Do declare for C++ <= C++11.
12178 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
12179
9f115170
UD
121802012-01-03 Ulrich Drepper <drepper@gmail.com>
12181
5e0d0300
UD
12182 * iconv/loop.c (single loop): Fix assertion in storing of
12183 remaining bytes.
12184
9f115170
UD
12185 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
12186
81fb02b0
UD
121872012-01-01 Ulrich Drepper <drepper@gmail.com>
12188
12189 * posix/getconf.c: Update copyright year.
12190 * nss/getent.c: Likewise.
a316c1f6 12191 * nss/makedb.c: Likewise.
81fb02b0
UD
12192 * iconv/iconvconfig.c: Likewise.
12193 * iconv/iconv_prog.c: Likewise.
12194 * elf/ldconfig.c: Likewise.
a316c1f6
UD
12195 * elf/pldd.c: Likewise.
12196 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
12197 * catgets/gencat.c: Likewise.
12198 * csu/version.c: Likewise.
12199 * elf/ldd.bash.in: Likewise.
12200 * elf/sprof.c (print_version): Likewise.
12201 * locale/programs/locale.c: Likewise.
12202 * locale/programs/localedef.c: Likewise.
a316c1f6 12203 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
12204 * nscd/nscd.c (print_version): Likewise.
12205 * debug/xtrace.sh: Likewise.
12206 * malloc/memusage.sh: Likewise.
12207 * malloc/mtrace.pl: Likewise.
12208 * debug/catchsegv.sh: Likewise.
12209
2ba92745
JJ
122102011-12-30 Jakub Jelinek <jakub@redhat.com>
12211
12212 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
12213 pure attribute.
12214
dadebdae
UD
122152011-12-24 Ulrich Drepper <drepper@gmail.com>
12216
d3761ebc 12217 [BZ #13533]
db6af3eb
UD
12218 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
12219 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
12220 transformations.
12221 * iconv/gconv_int.h: Likewise.
12222 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
12223 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
12224 from libc for GLIBC_2.16.
12225 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
12226 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
12227 * wcsmbs/uchar.h: Really define mbstate_t.
12228 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
12229 * wcsmbs/c16rtomb.c: New file.
12230 * wcsmbs/mbrtoc16.c: New file.
12231 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
12232 for C/POSIX locale.
12233 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
12234 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
12235
dadebdae
UD
12236 * wcsmbs/wchar.h: Add missing __restrict.
12237
67371b56
UD
122382011-12-23 Ulrich Drepper <drepper@gmail.com>
12239
74033a25
UD
12240 [BZ #13532]
12241 * time/Makefile (routines): Add timespec_get.
12242 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
12243 * time/time.h: Define TIME_UTC and declare timespec_get. Define
12244 timespec for ISO C11.
12245 * time/timespec_get.c: New file.
12246 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
12247 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
12248
380d7e87
UD
12249 [BZ #13531]
12250 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
12251 * stdlib/stdlib.h: Declare aligned_alloc.
12252 * Versions.def: Add GLIBC_2.16 for libc.
12253 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
12254
4e9e7a35
UD
12255 [BZ 13527]
12256 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
12257 ISO C11.
12258
380d7e87 12259 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
12260 code.
12261
03a71829
UD
12262 [BZ #13528]
12263 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
12264
839e283e
UD
12265 [BZ #13529]
12266 * assert/assert.h (static_assert): Define.
12267
ce5294e2 12268 * version.h: Update for 2.16 development version.
90fa7312 12269
8d44e150 12270 [BZ #13526]
d7809905
UD
12271 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
12272 _ISOC11_SOURCE.
12273
c0da14cd
UD
12274 * version.h (RELEASE): Bump for 2.15 release.
12275 * include/features.h (__GLIBC_MINOR__): Bump to 15.
12276
530a3249
MP
12277 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
12278 Patch by Marek Polacek <mpolacek@redhat.com>.
12279
67371b56
UD
12280 * bits/byteswap.h: Protect long long constants with __extension__.
12281 * sysdeps/i386/bits/byteswap.h: Likewise.
12282 * sysdeps/ia64/bits/byteswap.h: Likewise.
12283 * sysdeps/s390/bits/byteswap.h: Likewise.
12284 * sysdeps/x86_64/bits/byteswap.h: Likewise.
12285
15db4de1
LD
122862011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12287
12288 [BZ #13540]
bbe315ea
LD
12289 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
12290 destination buffer.
15db4de1
LD
12291 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
12292
2b2596b1
MP
122932011-12-23 Marek Polacek <polacek@redhat.com>
12294
12295 * elf/dl-addr.c (determine_info): Add inline keyword.
12296 * elf/tst-auditmod4b.c (check_avx): Likewise.
12297 * elf/tst-auditmod6b.c (check_avx): Likewise.
12298 * elf/tst-auditmod6c.c (check_avx): Likewise.
12299 * elf/tst-auditmod7b.c (check_avx): Likewise.
12300
70c6c246
UD
123012011-12-23 Ulrich Drepper <drepper@gmail.com>
12302
12303 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
12304 !__SSE_MATH__.
12305
c044cf14
LD
123062011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12307
15db4de1 12308 [BZ #13540]
c044cf14
LD
12309 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
12310 processing for last bytes.
12311
6b13d9d9
BH
123122011-08-06 Bruno Haible <bruno@clisp.org>
12313
d455f537
BH
12314 [BZ #13061]
12315 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
12316 U+0385, not to U+1FEE.
12317
6b13d9d9
BH
12318 [BZ #13062]
12319 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
12320 entry for U+00A5 U+0301.
12321
db910efd
UD
123222011-12-22 Ulrich Drepper <drepper@gmail.com>
12323
27deeafc
UD
12324 [BZ #13166]
12325 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
12326 buffer for the output is too small.
12327
aed9d171
UD
12328 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
12329 optimization.
12330
db910efd
UD
12331 [BZ #13185]
12332 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
12333 SSE flags if possible.
12334
2bd779ae
LD
123352011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12336
e7f9dac3 12337 [BZ #13540]
2bd779ae
LD
12338 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
12339 processing for last bytes.
12340
154bfc16
JM
123412011-12-22 Joseph Myers <joseph@codesourcery.com>
12342
12343 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
12344 (syscall-list-default-options, syscall-list-default-condition)
12345 (syscall-list-includes): Define.
12346 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
12347 list of ABIs and options and #if conditions for each ABI. Do not
12348 handle common syscalls between ABIs specially.
12349 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
12350 Remove.
12351 (syscall-list-variants, syscall-list-32bit-options)
12352 (syscall-list-32bit-condition, syscall-list-64bit-options)
12353 (syscall-list-64bit-condition): Define.
12354 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
12355 (syscall-list-variants, syscall-list-32bit-options)
12356 (syscall-list-32bit-condition, syscall-list-64bit-options)
12357 (syscall-list-64bit-condition): Define.
12358 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
12359 Remove.
12360 (syscall-list-variants, syscall-list-32bit-options)
12361 (syscall-list-32bit-condition, syscall-list-64bit-options)
12362 (syscall-list-64bit-condition): Define.
12363 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
12364 Remove.
12365 (syscall-list-variants, syscall-list-32bit-options)
12366 (syscall-list-32bit-condition, syscall-list-64bit-options)
12367 (syscall-list-64bit-condition): Define.
12368
21eaf3a5
UD
123692011-12-22 Ulrich Drepper <drepper@gmail.com>
12370
16c6f992
UD
12371 * locale/iso-639.def: Add brx entry.
12372
41043168
UD
12373 [BZ #13328]
12374 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
12375 Proposed by Mariusz_Cukr <marcukr@op.pl>.
12376
21eaf3a5
UD
12377 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
12378 __feraiseexcept_renamed.
12379
e3a851a2
UD
123802011-12-21 Ulrich Drepper <drepper@gmail.com>
12381
4920765e
UD
12382 [BZ #13538]
12383 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
12384 EPOLLET with unsigned values.
12385 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
12386 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
12387
e3a851a2
UD
12388 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
12389 to large cancellation.
12390 * math/s_cacoshf.c: Likewise.
12391 * math/s_cacoshl.c: Likewise.
12392
b27e24b8
RK
123932011-11-18 Richard B. Kreckel <kreckel@ginac.de>
12394
12395 [BZ #13305]
aebefeee 12396 [BZ #12786]
b27e24b8
RK
12397 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
12398 * math/s_cacoshf.c: Likewise.
12399 * math/s_cacoshl.c: Likewise.
12400
ee190f67
UD
124012011-12-21 Ulrich Drepper <drepper@gmail.com>
12402
12403 [BZ #13439]
12404 * iconv/gconv.h: Define __GCONV_SWAP.
12405 * iconvdata/unicode.c: The swap bit must be stored in __flags.
12406 * iconvdata/utf-16.c: Likewise.
12407 * iconvdata/utf-32.c: Likewise.
12408
707f25df
AS
124092011-12-21 Andreas Schwab <schwab@linux-m68k.org>
12410
12411 [BZ #13524]
12412 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
12413 numerator after shifting it by one limb.
12414
d2daaa1e
RÁE
124152011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
12416
12417 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
12418 under [__USE_EXTERN_INLINES].
12419
a4647e72
UD
124202011-12-17 Ulrich Drepper <drepper@gmail.com>
12421
12422 [BZ #13446]
12423 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
12424
f0b264f1
AZ
124252011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12426
12427 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
12428 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
12429 optimized code.
12430 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
12431 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
12432 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
12433 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
12434 for strncasecmp/strncasecmp_l compilation.
12435 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
12436 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
12437
8ef4f244
MP
124382011-12-08 Marek Polacek <mpolacek@redhat.com>
12439
12440 [BZ #13484]
12441 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
12442 of __asm__.
12443
97ac2654
UD
124442011-12-17 Ulrich Drepper <drepper@gmail.com>
12445
12446 [BZ #13506]
12447 * time/tzfile.c (__tzfile_read): Check values from file header.
12448
91d2a845
WS
124492011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
12450
12451 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
12452 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
12453 * powerpc/powerpc32/dl-start.S: Likewise.
12454 * powerpc/powerpc32/elf/start.S: Likewise.
12455 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
12456 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
12457 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
12458 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
12459 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
12460 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
12461 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
12462 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
12463 * powerpc/powerpc32/fpu/s_round.S: Likewise.
12464 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
12465 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
12466 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
12467 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
12468 * powerpc/powerpc32/memset.S: Likewise.
12469 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
12470 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
12471 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
12472 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
12473 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
12474 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
12475 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
12476 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
12477 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
12478 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
12479 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
12480 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
12481 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
12482
a1267ba1
AZ
124832011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12484
12485 * math/libm-test.inc: Added more nearbyint tests.
12486 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
12487 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
12488 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
12489 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
12490
ad8ac1bd
RL
124912011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
12492
12493 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
12494 FD_CLOEXEC.
12495
1d3e4b61
UD
124962011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12497
12498 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
12499 Add wcscpy-ssse3 wcscpy-c.
12500 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
12501 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
12502 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
12503 * sysdeps/x86_64/wcschr.S: New file.
12504 * sysdeps/x86_64/wcsrchr.S: New file.
12505 * string/test-strcmp.c: Remove checking of wcscmp function for
12506 wrong alignments.
12507 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
12508 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
12509 wcsrchr-sse2 wcsrchr-c.
12510 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
12511 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
12512 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
12513 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
12514 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
12515 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
12516 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
12517 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
12518 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
12519 * wcsmbc/wcschr.c (WCSCHR): New macro.
12520
5b330a2d
UD
125212011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12522
12523 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
12524 * wcsmbs/test-wcsrchr.c: New file.
12525 * string/test-strrchr.c: Add wcsrchr support.
12526 (WIDE): New macro.
12527 * wcsmbs/test-wcscpy.c: New file.
12528 * string/test-strcpy.c: Add wcscpy support.
12529 (WIDE): New macro.
26428b7c 12530
f039c043
UD
125312011-12-10 Ulrich Drepper <drepper@gmail.com>
12532
12533 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
12534 the inner loop.
12535
850fb039
AS
125362011-12-06 Andreas Schwab <schwab@linux-m68k.org>
12537
12538 [BZ #13472]
12539 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
12540
4efbd5cb
UD
125412011-12-04 Ulrich Drepper <drepper@gmail.com>
12542
52ff5dd0 12543 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 12544 Minor optimizations.
52ff5dd0 12545
4efbd5cb
UD
12546 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
12547 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
12548 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
12549
8a426e12
UD
125502011-12-03 Ulrich Drepper <drepper@gmail.com>
12551
aff2453d
UD
12552 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
12553 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
12554 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
12555 for gcc to avoid warnings.
12556 * inet/Makefile (tests): Add tst-checks.
12557 * inet/tst-checks.c: New file.
12558
12559 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
12560 warning.
12561
12562 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
12563 __wmemcmp_sse2.
12564
12565 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
12566 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
12567
8a426e12
UD
12568 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
12569
9bea3473
UD
125702011-12-02 Ulrich Drepper <drepper@gmail.com>
12571
3a965496
UD
12572 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
12573 problem.
12574
9bea3473
UD
12575 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
12576
f101631b
UD
125772011-11-29 Joseph Myers <joseph@codesourcery.com>
12578
12579 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
12580 conditional on GCC version.
12581 (__arch_compare_and_exchange_val_8_acq)
12582 (__arch_compare_and_exchange_val_16_acq)
12583 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
12584 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
12585 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
12586
a98275aa
UD
125872011-12-02 Joseph Myers <joseph@codesourcery.com>
12588
12589 * sysdeps/sh/backtrace.c: New file.
12590
d4cc29a2
AS
125912011-12-02 Andreas Schwab <schwab@redhat.com>
12592
12593 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
12594 parenthesis.
12595
6257af2d
AS
125962011-12-01 Andreas Schwab <schwab@redhat.com>
12597
12598 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
12599 falling back to utime.
12600
b5f44c1a
AS
126012011-11-30 Andreas Schwab <schwab@redhat.com>
12602
12603 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
12604 expectations for float.
12605
f3a6cc0a
AS
126062011-11-29 Andreas Schwab <schwab@redhat.com>
12607
12608 * locale/weight.h (findidx): Add parameter len.
12609 * locale/weightwc.h (findidx): Likewise.
12610 * posix/fnmatch_loop.c (FCT): Adjust caller.
12611 * posix/regcomp.c (build_equiv_class): Likewise.
12612 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
12613 * posix/regexec.c (check_node_accept_bytes): Likewise.
12614 * string/strcoll_l.c (STRCOLL): Likewise.
12615 * string/strxfrm_l.c (STRXFRM): Likewise.
12616
9d65ea3a
UD
126172011-11-17 Ulrich Drepper <drepper@gmail.com>
12618
12619 * Makefile.in: Remove CVSOPT handling.
12620 * configure.in: Remove use of AC_REVISION.
12621 * iconvdata/Makefile (distribute): No need to filter out CVS.
12622 * scripts/list-sources.sh: Remove CVS, subversion and monotone
12623 handling.
12624
5583a086
AS
126252011-11-16 Andreas Schwab <schwab@redhat.com>
12626
12627 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
12628 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
12629 [USE_AS_STRNCASECMP_L]: Likewise.
12630 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
12631 NO_TLS_DIRECT_SEG_REFS.
12632 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
12633 Fix argument offsets for non-PIC.
12634 [USE_AS_STRNCASECMP_L]: Likewise.
12635 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
12636 NO_TLS_DIRECT_SEG_REFS.
12637
d62a8200
UD
126382011-11-15 Ulrich Drepper <drepper@gmail.com>
12639
9d65ea3a 12640 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
12641 O_CLOEXEC.
12642 * locale/loadlocale.c (_nl_load_locale): Likewise.
12643
09f93bd3
AS
126442011-11-15 Andreas Schwab <schwab@redhat.com>
12645
446514f9
AS
12646 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
12647 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
12648 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
12649 (SYSCALL_GETTIME): Set errno on error.
12650
09f93bd3
AS
12651 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
12652 count references to noai6ai_cached.
12653
312be3f9
UD
126542011-11-15 Ulrich Drepper <drepper@gmail.com>
12655
12656 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
12657
12658 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
12659 FD_CLOEXEC for /proc/self/maps.
12660
12661 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
12662 FD_CLOEXEC for /proc/meminfo.
12663
12664 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
12665 gai.conf.
12666
12667 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
12668 FD_CLOEXEC for given file.
12669
12670 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
12671
12672 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
12673 FD_CLOEXEC for /etc/hosts.
12674 (_gethtent): Likewise.
12675
12676 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
12677
12678 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
12679 cancellation and set FD_CLOEXEC for /etc/netgroup.
12680
12681 * nss/nss_files/files-key.c (search): Don't allow cancellation when
12682 reading /etc/publickey.
12683
12684 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
12685 allow cancellation when reading /etc/group.
12686
12687 * nss/nss_files/files-alias.c (internal_setent): Don't allow
12688 cancellation.
12689 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
12690
12691 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
12692 when using data file.
12693
12694 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
12695
12696 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
12697 (write_nis_obj): Use "c" and "e" in fopen.
12698
12699 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
12700
12701 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
12702
12703 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
12704
12705 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
12706
12707 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
12708 locale.alias.
12709
12710 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
12711
12712 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
12713
12714 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
12715
12716 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
12717 file parsing and set FD_CLOEXEC.
12718
82af0fa8
UD
127192011-11-14 Ulrich Drepper <drepper@gmail.com>
12720
12721 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
12722
a5fb313c
AS
127232011-11-14 Andreas Schwab <schwab@redhat.com>
12724
12725 * malloc/arena.c (arena_get2): Don't call reused_arena when
12726 _int_new_arena failed.
12727
6abf3465
UD
127282011-11-14 Ulrich Drepper <drepper@gmail.com>
12729
12730 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
12731 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
12732 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
12733 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
12734 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12735 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
12736 to compile strcasecmp and strncasecmp.
12737 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
12738 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
12739
12740 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
12741
76e3966e
UD
127422011-11-13 Ulrich Drepper <drepper@gmail.com>
12743
12744 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
12745 locale-defines.sym to gen-as-const-headers.
12746 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
12747 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
12748 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
12749 to compile strcasecmp and strncasecmp.
12750 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
12751 strcasecmp_l and strncasecmp_l.
12752 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
12753 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
12754 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
12755 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
12756 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
12757 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
12758 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
12759 * sysdeps/i386/i686/multiarch/strncase.S: New file.
12760 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
12761 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
12762 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
12763
ab26144e
UD
127642011-11-12 Ulrich Drepper <drepper@gmail.com>
12765
7edb22ef
UD
12766 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
12767 result of SYSDEP_GETTIME_CPU to retval.
12768 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
12769 parameter list to macro. Remove trailing semicolon. Adjust users.
12770
9694fc44
UD
12771 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
12772 variable.
12773
8ad89ef8
UD
12774 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
12775 mantissa words.
12776 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
12777
0c822ef9
UD
12778 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
12779 from unused variable.
12780
874e0564
UD
12781 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
12782 DWARF definitions.
12783 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
12784 for assembling.
12785
3a2edc79
UD
12786 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
12787 over namespaces.
12788
f3c2577f
UD
12789 * sunrpc/rpc_prot.c (rejected): Fix case value.
12790
294ce126
UD
12791 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
12792 unsigned long long int to avoid warnings in shift.
12793
5e2b63c6
UD
12794 * posix/regex_internal.c (re_string_reconstruct): Actually use result
12795 of use of trans.
12796 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
12797 variable tmp.
12798
e7f4b08e
UD
12799 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
12800 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
12801 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
12802
ab26144e
UD
12803 * nis/nis_table.c (nis_list): Use variable of correct type for
12804 result of __follow_path call.
12805
8a6d5255
AZ
128062011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12807
12808 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
12809 of math functions ceil, trunc, floor, round, and sqrt, when
12810 avaliable on the platform.
12811 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
12812 name clash.
12813 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
12814 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
12815 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
12816
aaddc98c
MP
128172011-10-30 Marek Polacek <mpolacek@redhat.com>
12818
12819 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
12820 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
12821
95b7042b
RM
128222011-11-11 Roland McGrath <roland@hack.frob.com>
12823
12824 * include/unistd.h: Fix __readlink return type.
12825 Reported by Chris Metcalf <cmetcalf@tilera.com>.
12826
57769839
UD
128272011-11-11 Ulrich Drepper <drepper@gmail.com>
12828
12829 * stdlib/ucontext.h: Undo last change for makecontext.
12830
edc5984d
AS
128312011-11-11 Andreas Schwab <schwab@redhat.com>
12832
98591e58
AS
12833 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
12834
edc5984d
AS
12835 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
12836 * setjmp/setjmp.h: Mark functions as non-leaf.
12837 * setjmp/bits/setjmp2.h: Likewise.
12838 * stdlib/ucontext.h: Likewise.
12839
77cdc054
AS
128402011-11-10 Andreas Schwab <schwab@redhat.com>
12841
12842 * malloc/arena.c (_int_new_arena): Don't increment narenas.
12843 (reused_arena): Don't check arena limit.
12844 (arena_get2): Atomically check arena limit.
12845
fe72eebd
UD
128462011-11-08 Ulrich Drepper <drepper@gmail.com>
12847
5f078c32
UD
12848 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
12849 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
12850
fe72eebd
UD
12851 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
12852 instructions.
12853
ae1bc2fa
AS
128542011-11-07 Andreas Schwab <schwab@redhat.com>
12855
7583a88d
AS
12856 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
12857 handler when locking.
12858
ae1bc2fa
AS
12859 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
12860 Fix size of allocated buffer.
12861
10fb0bfa
AS
128622011-11-04 Andreas Schwab <schwab@redhat.com>
12863
998832a4
AS
12864 [BZ #10103]
12865 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
12866 declarations for long double functions.
12867 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
12868
10fb0bfa
AS
12869 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
12870
3d7ba52b
AS
128712011-11-03 Andreas Schwab <schwab@redhat.com>
12872
a9ae54a1
AS
12873 * nscd/nscd.c (main): Don't start AVC thread until credentials are
12874 installed.
12875
3d7ba52b
AS
12876 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
12877 is disabled.
12878
bc8db248
ST
128792011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
12880
12881 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
12882
45b96dd6
AS
128832011-11-01 Andreas Schwab <schwab@linux-m68k.org>
12884
647776f6
AS
12885 * include/alloca.h (stackinfo_alloca_round): Define.
12886 (extend_alloca): Use it.
12887 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
12888 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
12889 here.
12890
d91a8b93
AS
12891 * scripts/check-local-headers.sh: Ignore libaudit.h.
12892
45b96dd6
AS
12893 * nscd/Makefile (extra-objs): Make recursively expanded.
12894
432d41ce
UD
128952011-11-01 Ulrich Drepper <drepper@gmail.com>
12896
34372fc6
UD
12897 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
12898 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
12899
fadb59f8
UD
12900 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
12901 * posix/tst-rfc3484-2.c: Likewise.
12902 * posix/tst-rfc3484-3.c: Likewise.
12903
78239589
UD
12904 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
12905 process_vm_writev.
12906 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
12907 process_vm_writev.
12908 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
12909 process_vm_writev from libc using GLIBC_2.15 version.
12910
432d41ce
UD
12911 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
12912
02f9c6cf
PP
129132011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
12914
12915 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
12916 stack usage.
12917
3a2c0242
UD
129182011-10-31 Ulrich Drepper <drepper@gmail.com>
12919
f4ec4833
UD
12920 [BZ #13367]
12921 * nss/getent.c (initgroups_keys): Show error message in case no group
12922 names are given.
12923
3a2c0242
UD
12924 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
12925 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
12926 __bump_nl_timestamp.
12927 * nscd/connections (nscd_init): When host database is served open
12928 netlink socket and request notification about configuration changes.
12929 (main_loop_poll): Track netlink file descriptor and bump timestamp
12930 in case data becomes available.
12931 (main_loop_epoll): Likewise.
12932 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
12933 (database_pers_head): Add extra_data fileds.
12934 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
12935 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
12936 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
12937 Adjust caller.
12938 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
12939 in6ai data, call __free_in6ai.
12940 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
12941 Add -DHAVE_NETLINK.
12942 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
12943 interface information. Reuse previous data if netlink timestamp
12944 is not changed.
12945 (__bump_nl_timestamp): New function.
12946 (__free_in6ai): New function.
12947
636064eb
UD
129482011-10-30 Ulrich Drepper <drepper@gmail.com>
12949
12950 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
12951 close_not_cancel_no_status here.
12952 (__check_pf): Reorganize code a bit to not call close twice if OOM.
12953
9beb2334
UD
129542011-10-29 Ulrich Drepper <drepper@gmail.com>
12955
6ef76f3b
UD
12956 [BZ #13276]
12957 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
12958 return value.
12959
0ffc4f3e 12960 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
12961 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
12962 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
12963
cb95113e
UD
129642011-07-03 Andreas Jaeger <aj@suse.de>
12965
12966 [BZ #10709]
12967 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
12968 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
12969 * math/libm-test.inc (sin_test): Add test case.
12970
a1b560ff
UD
129712011-10-29 Ulrich Drepper <drepper@gmail.com>
12972
c9aaface
UD
12973 [BZ #13337]
12974 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
12975 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
12976
d272e7f1
UD
12977 * elf/chroot_canon.c (chroot_canon): Cleanups.
12978
1bc33071
UD
12979 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
12980
1760874d
TJ
12981 [BZ #13335]
12982 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
12983 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
12984
51d91b18
UD
12985 * string/test-strchr.c: Make usable for strchrnul testing.
12986 * string/test-strchrnul.c: New file.
12987 * string/Makefile (strop-tests): Add strchrnul.
12988
a1b560ff 12989 * po/it.po: Update from translation team.
b611fb81 12990 * po/es.po: Likewise.
a1b560ff 12991
a5b81e1f
UD
129922011-10-28 Ulrich Drepper <drepper@gmail.com>
12993
fd52bc6d
UD
12994 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
12995 the three constants needed as parameters. Drop the others.
12996 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
12997 __m128i_strloadu_tolower.
52e4b9eb
UD
12998 Create and initialize variable zero and use it in all the places
12999 where _mm_setzero_si128 was used.
fd52bc6d 13000
a5b81e1f
UD
13001 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
13002 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
13003 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
13004 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
13005 anymore.
13006 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
13007 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
13008 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
13009 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
13010 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
13011 __mpranred, __mptan.
13012 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
13013 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
13014 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
13015 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
13016 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
13017 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
13018 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
13019 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
13020 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
13021
b4343346
AS
130222011-10-28 Andreas Schwab <schwab@redhat.com>
13023
0c92d8a8
AS
13024 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
13025 redefine if SHARED.
13026 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
13027
b4343346
AS
13028 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
13029 wide char related routines to wcsmbs subdir.
13030
3871f58f
AS
130312011-10-27 Andreas Schwab <schwab@redhat.com>
13032
13033 [BZ #13344]
13034 * misc/sys/cdefs.h (__THROWNL): Define.
13035 * posix/unistd.h: Use __THREADNL instead of __THREAD
13036 for memory synchronization functions.
13037
94d44d9f
RM
130382011-10-26 Roland McGrath <roland@hack.frob.com>
13039
21b64b15 13040 [BZ #13349]
94d44d9f
RM
13041 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
13042 doesn't exist.
13043 * manual/stdio.texi (Obstack Streams): Node removed.
13044
f6ce9294
AS
130452011-10-26 Andreas Schwab <schwab@redhat.com>
13046
80479147
AS
13047 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
13048 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
13049 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
13050
f6ce9294
AS
13051 * math/math_private.h (math_force_eval): Allow non-addressable
13052 arguments.
13053 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
13054
618280a1
UD
130552011-10-25 Ulrich Drepper <drepper@gmail.com>
13056
e0016b11
UD
13057 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
13058 file is not needed.
13059
13060 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
13061 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
13062 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
13063 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
13064 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
13065 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
13066 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
13067 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
13068 Add AVX variants.
13069 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
13070 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
13071 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
13072 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
13073 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
13074 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
13075 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
13076 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
13077 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
13078 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
13079 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
13080 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
13081 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
13082 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
13083 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
13084 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
13085 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
13086 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
13087 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
13088
13089 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
13090 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
13091
618280a1
UD
13092 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
13093 place. Use VEX encoding when compiling for AVX.
13094
37822576
AS
130952011-10-25 Andreas Schwab <schwab@redhat.com>
13096
1f1e1947
AS
13097 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
13098 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
13099
37822576
AS
13100 * string/test-strchr.c (do_test): Don't generate NUL bytes.
13101
31ea014d
UD
131022011-10-25 Ulrich Drepper <drepper@gmail.com>
13103
d7826aa1 13104 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 13105 useless if() expression.
d7826aa1
UD
13106 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13107 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
13108 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13109 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13110 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13111 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
13112 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
13113 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13114 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
13115 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13116 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
13117 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
13118 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
13119 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
13120 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
13121 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
13122 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
13123 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
13124 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
13125
31ea014d
UD
13126 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
13127
16437fec
AS
131282011-10-25 Andreas Schwab <schwab@redhat.com>
13129
13130 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
13131 condition.
13132 * elf/dl-fini.c (_dl_sort_fini): Likewise.
13133
31d3cc00
UD
131342011-10-25 Ulrich Drepper <drepper@gmail.com>
13135
13136 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
13137 .text section. Avoid duplicate constants.
13138 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
13139 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13140 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13141 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13142 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13143 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13144 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13145 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13146 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
13147 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
13148 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
13149 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
13150 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
13151 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
13152 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
13153 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
13154 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
13155 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
13156 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13157 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13158 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
13159 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
13160 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
13161 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
13162 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
13163 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
13164 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
13165 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
13166 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
13167 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
13168 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
13169 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
13170 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
13171 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
13172 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
13173 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
13174 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
13175 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
13176 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
13177 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
13178 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
13179 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
13180 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
13181 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
13182 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
13183
58985aa9
UD
131842011-10-24 Ulrich Drepper <drepper@gmail.com>
13185
202c9deb
UD
13186 * sysdeps/x86_64/dla.h: Move to ...
13187 * sysdeps/x86_64/fpu/dla.h: ...here.
13188 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
13189 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 13190
af968f62
UD
13191 * config.make.in: Add have-mfma4 entry.
13192 * configure.in: Substitute libc_cv_cc_fma4.
13193 * math/Makefile (dbl-only-routines): Add sincostab.
13194 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
13195 Use __sincostab not sincos.
13196 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
13197 name is a macro.
13198 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13199 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13200 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13201 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
13202 using __copysign.
13203 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
13204 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
13205 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
13206 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
13207 and __inv.
13208 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
13209 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
13210 __copysign.
13211 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
13212 define aliases when function name is a macro.
13213 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
13214 sysdeps/ieee754/dbl-64/sincos.tbl.
13215 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
13216 fma4-enabled routines.
13217 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
13218 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
13219 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
13220 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
13221 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
13222 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
13223 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
13224 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
13225 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
13226 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
13227 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
13228 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
13229 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
13230 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
13231 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
13232 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
13233 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
13234 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
13235 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
13236 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
13237 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
13238 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
13239 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
13240 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
13241 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
13242 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
13243 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
13244 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
13245 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
13246 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
13247
58985aa9
UD
13248 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
13249 rename.
13250 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13251 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13252 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13253 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13254 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13255 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13256 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13257 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13258
a201fbcf
AS
132592011-10-24 Andreas Schwab <schwab@redhat.com>
13260
13261 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
13262
fc2ee42a
LD
132632011-10-23 Ulrich Drepper <drepper@gmail.com>
13264
bb3129bd
UD
13265 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
13266
0275fff8
UD
13267 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
13268 prediction.
13269 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
13270
2fa2ae85
UD
13271 * string/strnlen.c: Don't define STRNLEN, reverse logic.
13272 Remove unused variable magic_bits.
13273 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
13274
fc2ee42a
LD
13275 * string/strnlen.c: Define and use STRNLEN macro.
13276 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
13277 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
13278 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
13279 * wcsmbs/wcslen.c: Define and use WCSLEN.
13280 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
13281 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
13282 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
13283 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
13284 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
13285 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
13286 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
13287
ce7dd29f
LD
132882011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13289
13290 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13291 strnlen-sse2-no-bsf.
13292 Rename strlen-no-bsf to strlen-sse2-no-bsf.
13293 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
13294 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
13295 Add strnlen support.
13296 (USE_AS_STRNLEN): New macro.
13297 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
13298 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
13299 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
13300 * sysdeps/x86_64/wcslen.S: New file.
13301
979c70a3
MZ
133022011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
13303
13304 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
13305 XMM-moves are used for copying on small sizes.
13306
2d09f82f
LD
133072011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13308
13309 * wcsmbs/Makefile (strop-tests): Add wcschr.
13310 * wcsmbs/test-wcschr.c: New file.
13311 * string/test-strchr.c: Update.
13312 Add wcschr support.
13313 (WIDE): New macro.
13314
619fccca
LD
133152011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13316
2d09f82f 13317 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
13318 * wcsmbs/test-wcslen.c: New file.
13319 * string/test-strlen.c: Update.
13320 Add wcslen support.
13321 (WIDE): New macro.
13322
09f699ea
UD
133232011-10-23 Ulrich Drepper <drepper@gmail.com>
13324
13325 * po/it.po: Update from translation team.
13326
95584d3b
LD
133272011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13328
13329 * sysdeps/x86_64/wcscmp.S: Update.
13330 Fix wrong comparison semantics.
13331 wcscmp shall use signed comparison not unsigned.
13332 Don't use substraction to avoid overflow bug.
13333 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
13334 * wcsmbc/wcscmp.c: Likewise.
13335 * string/test-strcmp.c: Likewise.
13336 Add new tests to check cases with negative values.
13337
c8b3296b
UD
133382011-10-23 Ulrich Drepper <drepper@gmail.com>
13339
13340 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
13341 * sysdeps/x86_64/dla.h: ...here. New file.
13342 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
13343 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13344 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13345 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13346 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13347 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13348 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13349 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13350 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13351
246ad57a
AS
133522011-10-23 Andreas Schwab <schwab@linux-m68k.org>
13353
13354 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
13355 __ynl_finite aliases.
13356
a1a87169
UD
133572011-10-22 Ulrich Drepper <drepper@gmail.com>
13358
0d355eb7
UD
13359 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13360
a1a87169
UD
13361 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
13362 define DLA_FMA.
13363 [DLA_FMA] (EMULV): Use DLA_FMA.
13364 [DLA_FMA] (MUL12): Use EMULV.
13365 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
13366 that are not needed.
13367 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13368 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13369 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13370 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13371 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13372 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13373 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13374
ee2aafe0
AS
133752011-10-22 Andreas Schwab <schwab@linux-m68k.org>
13376
13377 * math/s_nan.c: Undef __nan.
13378 * math/s_nanf.c: Undef __nanf.
13379 * math/s_nanl.c: Undef __nanl.
13380 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
13381 "math_private.h".
13382
bc62c2fb
UD
133832011-10-22 Ulrich Drepper <drepper@gmail.com>
13384
77425c63
UD
13385 * math/s_catan.c: Add branch predictions.
13386 * math/s_catanf.c: Likewise.
13387 * math/s_catanh.c: Likewise.
13388 * math/s_catanhf.c: Likewise.
13389 * math/s_catanhl.c: Likewise.
13390 * math/s_catanl.c: Likewise.
13391 * math/s_cexp.c: Likewise.
13392 * math/s_cexpf.c: Likewise.
13393 * math/s_cexpl.c: Likewise.
13394 * math/s_clog.c: Likewise.
13395 * math/s_clog10.c: Likewise.
13396 * math/s_clog10f.c: Likewise.
13397 * math/s_clog10l.c: Likewise.
13398 * math/s_clogf.c: Likewise.
13399 * math/s_clogl.c: Likewise.
13400 * math/s_csqrt.c: Likewise.
13401 * math/s_csqrtf.c: Likewise.
13402 * math/s_csqrtl.c: Likewise.
13403 * math/s_ctanf.c: Likewise.
13404 * math/s_ctanh.c: Likewise.
13405 * math/s_ctanhf.c: Likewise.
13406 * math/s_ctanhl.c: Likewise.
13407 * math/s_ctanl.c: Likewise.
13408
bc62c2fb
UD
13409 * math/math_private.h: Define __nan, __nanf, __nanl.
13410 * math/s_cacosh.c: Include <math_private.h>.
13411 * math/s_cacoshl.c: Likewise.
13412 * math/s_casinh.c: Likewise.
13413 * math/s_casinhf.c: Likewise.
13414 * math/s_casinhl.c: Likewise.
13415 * math/s_ccos.c: Rely entire on ccosh.
13416 * math/s_ccosf.c: Rely entire on ccoshf.
13417 * math/s_ccosl.c: Rely entirely on ccoshl.
13418 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
13419 Remove tests for FE_INVALID.
13420 * math/s_ccoshf.c: Likewise.
13421 * math/s_ccoshl.c: Likewise.
13422 * math/s_csin.c: Likewise.
13423 * math/s_csinf.c: Likewise.
13424 * math/s_csinh.c Likewise.
13425 * math/s_csinhf.c: Likewise.
13426 * math/s_csinhl.c: Likewise.
13427 * math/s_csinl.c: Likewise.
13428 * math/s_ctan.c: Likewise.
13429 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
13430 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
13431 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
13432
8ec250a4
UD
134332011-10-21 Ulrich Drepper <drepper@gmail.com>
13434
c196fed8
UD
13435 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
13436 compilation problems.
13437
8ec250a4
UD
13438 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
13439 __builtin_expect.
13440
8d4f46c6
UD
134412011-10-20 Ulrich Drepper <drepper@gmail.com>
13442
ed72b654
UD
13443 * sysdeps/i386/configure.in: Test for -mfma4 option.
13444 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
13445 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
13446 COMMON_CPUID_INDEX_80000001.
13447 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
13448 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
13449 use it if FMA3 is not supported.
13450 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
13451
8d4f46c6
UD
13452 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
13453 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
13454
d45c60c2
AS
134552011-10-20 Andreas Schwab <schwab@redhat.com>
13456
13457 [BZ #12892]
13458 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
13459 it would create a cycle with a link time dependency.
13460
d9a4d2ab
UD
134612011-10-19 Ulrich Drepper <drepper@gmail.com>
13462
855d1560
UD
13463 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
13464 instruction.
13465 * string/Makefile (strop-tests): Add rawmemchr.
13466 * string/test-rawmemchr.c: New file.
13467
d9a4d2ab
UD
13468 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
13469 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
13470 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
13471 when compiling str{,n}casecmp and when AVX is available. Hook up
13472 new optimized code in initializers.
13473
8f3b1ffe
AS
134742011-10-19 Andreas Schwab <schwab@redhat.com>
13475
13476 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
13477 __feraiseexcept instead of feraiseexcept.
13478
d38f1dba
UD
134792011-10-18 Ulrich Drepper <drepper@gmail.com>
13480
d9a8d0ab
UD
13481 * math/math_private.h: Define defaults for libc_fetestexcept and
13482 libc_feupdateenv.
13483 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
13484 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
13485 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
13486 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
13487 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
13488 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
13489 libc_fetestexcept and libc_feupdateenv.
13490
4855e3dd
UD
13491 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
13492 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
13493 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
13494 * sysdeps/x86_64/fpu/math_private.h: Define special version of
13495 libc_feholdexcept_setround.
13496
581d30e3
UD
13497 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
13498 Add s_nearbyint-c and s_nearbyintf-c.
13499 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
13500 nearbyintf inlines.
13501 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
13502 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
13503 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
13504 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
13505
d38f1dba
UD
13506 * math/math_private.h: Define defaults for libc_fegetround,
13507 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
13508 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
13509 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
13510 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
13511 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
13512 standard functions.
13513 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13514 Remove comments and hacks for old compiler versions.
13515 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
13516 libc_fegetround, libc_fesetround, libc_feholdexcept, and
13517 libc_feholdexceptl.
13518
caa6c9d8
AS
135192011-10-18 Andreas Schwab <schwab@redhat.com>
13520
13521 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
13522 (__feraiseexcept_renamed): Add __NTH.
13523 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
13524 namespace violations.
13525
97c066e6
UD
135262011-10-17 Ulrich Drepper <drepper@gmail.com>
13527
99ce7b04
UD
13528 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
13529
1004d182
UD
13530 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
13531
228a984d
UD
13532 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
13533 recently added interfaces.
13534 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
13535
c8553a6a
UD
13536 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
13537 about macro parameter expansion.
13538
ed22dcf6
UD
13539 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
13540 __NO_MATH_INLINES is defined. Cleanups.
13541
13542 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
13543 and __floorf is target has SSE4.1.
13544 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
13545 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
13546 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
13547 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
13548
b171c137
UD
13549 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
13550 name.
13551 (floorf): Likewise.
13552
97c066e6
UD
13553 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
13554
629f62ef
AS
135552011-10-17 Andreas Schwab <schwab@redhat.com>
13556
49a43d80
AS
13557 * misc/sys/cdefs.h: Fix last change.
13558
629f62ef
AS
13559 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
13560 database lookup.
13561
e453f6cd
UD
135622011-10-16 Ulrich Drepper <drepper@gmail.com>
13563
aa78043a
UD
13564 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
13565
ad0f5cad
UD
13566 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
13567 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13568 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
13569 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
13570 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13571 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
13572 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
13573 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
13574 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
13575 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
13576 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
13577 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
13578 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
13579 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
13580 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
13581 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
13582 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
13583 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
13584 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
13585 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
13586 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
13587 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
13588
13589 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
13590 ceil, ceilf, floor, floorf.
13591
13592 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
13593 Perform IRELATIVE relocations last.
13594
e453f6cd
UD
13595 * elf/do-rel.h: Add another parameter nrelative, replacing the
13596 local variable with the same name. Change name of the function
13597 to end in Rel or Rela (uppercase).
13598 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
13599 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
13600 elf_dynamic_do_##reloc function.
13601
fd5bdc09
UD
136022011-10-15 Ulrich Drepper <drepper@gmail.com>
13603
79b195b5
UD
13604 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
13605 is sufficient, at least on modern CPUs.
13606
d4a28569
UD
13607 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
13608
b61099b5
UD
13609 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
13610 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
13611
bcf01e6d
UD
13612 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
13613 __expl_finite.
13614 * math/bits/math-finite.h: Add entries for exp.
13615 * math/e_expl.c: Add __*_finite alias.
13616 * sysdeps/i386/fpu/e_exp.S: Likewise.
13617 * sysdeps/i386/fpu/e_expf.S: Likewise.
13618 * sysdeps/i386/fpu/e_expl.c: Likewise.
13619 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13620 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
13621 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13622 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
13623 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
13624 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
13625 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
13626
ba1a0d59
UD
13627 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
13628 is sufficient, at least on modern CPUs.
13629
fd5bdc09
UD
13630 * ctype/ctype-info.c (__ctype_init): Define.
13631 * include/ctype.h (__ctype_init): Declare.
13632 (__ctype_b_loc): The variable is always initialized.
13633 (__ctype_toupper_loc): Likewise.
13634 (__ctype_tolower_loc): Likewise.
13635 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
13636 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
13637
7872cfb0
AS
136382011-10-15 Andreas Schwab <schwab@linux-m68k.org>
13639
b468825a
AS
13640 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
13641
7872cfb0
AS
13642 * configure.in: Also look in $cxxmachine/include for C++ system
13643 headers.
13644
be13f7bf
LD
136452011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13646
13647 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
13648 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
13649 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
13650 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
13651 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
13652 (USE_AS_WMEMCMP): New macro.
13653 Fixing indents.
13654 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
13655 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
13656 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
13657 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
13658 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13659 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
13660 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
13661 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
13662 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
13663 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
13664 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
13665 (USE_AS_WMEMCMP): New macro.
13666 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
13667 * sysdeps/string/test-memcmp.c: Update.
13668 Fix simple_wmemcmp.
13669 Add new tests.
13670 * wcsmbs/wmemcmp.c: Update.
13671 (WMEMCMP): New macro.
13672 Fix overflow bug.
13673
556a2007
AJ
136742011-10-12 Andreas Jaeger <aj@suse.de>
13675
13676 [BZ #13268]
13677 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
13678
538faaa7
UD
136792011-10-15 Ulrich Drepper <drepper@gmail.com>
13680
ab6737ff
UD
13681 * libio/iofwide.c (do_length): Avoid warning.
13682
538faaa7
UD
13683 * ctype/ctype.h (__isctype_f): Add missing __THROW.
13684
396a21b1
UD
136852011-10-14 Ulrich Drepper <drepper@gmail.com>
13686
cdf2901f
UD
13687 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
13688
38ad40ce
UD
13689 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
13690 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
13691 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
13692 * sysdeps/i386/i686/fpu/e_log.S: New file.
13693 * sysdeps/i386/i686/fpu/e_logf.S: New file.
13694 * sysdeps/i386/i686/fpu/e_logl.S: New file.
13695
396a21b1
UD
13696 * ctype/ctype.h: Add support for inlined isXXX functions when
13697 compiling C++ code.
13698
6b1f68c9
AS
136992011-10-14 Andreas Schwab <schwab@redhat.com>
13700
349290c0
AS
13701 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
13702
6b1f68c9
AS
13703 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
13704
f2282d42
RM
137052011-10-13 Roland McGrath <roland@hack.frob.com>
13706
13707 [BZ #13291]
13708 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
13709
5298ffa8
AS
137102011-10-13 Andreas Schwab <schwab@redhat.com>
13711
714fad23
AS
13712 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
13713 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
13714 feraiseexcept.
13715
81dcc7fb
AS
13716 * sysdeps/x86_64/memrchr.S: Check for zero size.
13717
5298ffa8
AS
13718 * string/stratcliff.c: Add memrchr tests.
13719
951fbcec
LD
137202011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13721
13722 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13723 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
13724 rawmemchr-sse2 rawmemchr-sse2-bsf.
13725 * sysdeps/i386/i686/multiarch/memchr.S: New file.
13726 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
13727 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
13728 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
13729 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
13730 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
13731 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
13732 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
13733 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
13734 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
13735 * string/memrchr.c (MEMRCHR): New macro.
13736
0ac5ae23
UD
137372011-10-12 Ulrich Drepper <drepper@gmail.com>
13738
13739 Add integration with gcc's -ffinite-math-only and optimize wrapper
13740 functions in libm.
13741 * Versions.def: Define GLIBC_2.15 version for libm.
13742 * math/Makefile (headers): Add bits/math-finite.h.
13743 * math/bits/math-finite.h: New file.
13744 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
13745 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
13746 * math/e_acoshl.c: Add __*_finite alias.
13747 * math/e_acosl.c: Likewise.
13748 * math/e_asinl.c: Likewise.
13749 * math/e_atan2l.c: Likewise.
13750 * math/e_atanhl.c: Likewise.
13751 * math/e_coshl.c: Likewise.
13752 * math/e_exp10.c: Likewise.
13753 * math/e_exp10f.c: Likewise.
13754 * math/e_exp10l.c: Likewise.
13755 * math/e_exp2l.c: Likewise.
13756 * math/e_fmodl.c: Likewise.
13757 * math/e_gammal_r.c: Likewise.
13758 * math/e_hypotl.c: Likewise.
13759 * math/e_j0l.c: Likewise.
13760 * math/e_j1l.c: Likewise.
13761 * math/e_jnl.c: Likewise.
13762 * math/e_lgammal_r.c: Likewise.
13763 * math/e_log10l.c: Likewise.
13764 * math/e_log2l.c: Likewise.
13765 * math/e_logl.c: Likewise.
13766 * math/e_powl.c: Likewise.
13767 * math/e_sinhl.c: Likewise.
13768 * math/e_sqrtl.c: Likewise.
13769 * math/e_scalb.c: Completely rewritten and optimized.
13770 * math/e_scalbf.c: Likewise.
13771 * math/e_scalbl.c: Likewise.
13772 * math/w_acos.c: Likewise.
13773 * math/w_acosf.c: Likewise.
13774 * math/w_acosl.c: Likewise.
13775 * math/w_acosh.c: Likewise.
13776 * math/w_acoshf.c: Likewise.
13777 * math/w_acoshl.c: Likewise.
13778 * math/w_asin.c: Likewise.
13779 * math/w_asinf.c: Likewise.
13780 * math/w_asinl.c: Likewise.
13781 * math/w_atan2.c: Likewise.
13782 * math/w_atan2f.c: Likewise.
13783 * math/w_atan2l.c: Likewise.
13784 * math/w_atanh.c: Likewise.
13785 * math/w_atanhf.c: Likewise.
13786 * math/w_atanhl.c: Likewise.
13787 * math/w_exp10.c: Likewise.
13788 * math/w_exp10f.c: Likewise.
13789 * math/w_exp10l.c: Likewise.
13790 * math/w_fmod.c: Likewise.
13791 * math/w_fmodf.c: Likewise.
13792 * math/w_fmodl.c: Likewise.
13793 * math/w_j0.c: Likewise.
13794 * math/w_j0f.c: Likewise.
13795 * math/w_j0l.c: Likewise.
13796 * math/w_j1.c: Likewise.
13797 * math/w_j1f.c: Likewise.
13798 * math/w_j1l.c: Likewise.
13799 * math/w_jn.c: Likewise.
13800 * math/w_jnf.c: Likewise.
13801 * math/w_log.c: Likewise.
13802 * math/w_logf.c: Likewise.
13803 * math/w_logl.c: Likewise.
13804 * math/w_log10.c: Likewise.
13805 * math/w_log10f.c: Likewise.
13806 * math/w_log10l.c: Likewise.
13807 * math/w_log2.c: Likewise.
13808 * math/w_log2f.c: Likewise.
13809 * math/w_log2l.c: Likewise.
13810 * math/w_pow.c: Likewise.
13811 * math/w_powf.c: Likewise.
13812 * math/w_powl.c: Likewise.
13813 * math/w_remainder.c: Likewise.
13814 * math/w_remainderf.c: Likewise.
13815 * math/w_remainderl.c: Likewise.
13816 * math/w_scalb.c: Likewise.
13817 * math/w_scalbf.c: Likewise.
13818 * math/w_scalbl.c: Likewise.
13819 * math/w_sqrt.c: Likewise.
13820 * math/w_sqrtf.c: Likewise.
13821 * math/w_sqrtl.c: Likewise.
13822 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
13823 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
13824 used.
13825 * math/math_private.h: Declare __kernel_standard_f.
13826 * math/w_cosh.c: Remove cruft and optimize a bit.
13827 * math/w_coshf.c: Likewise.
13828 * math/w_coshl.c: Likewise.
13829 * math/w_exp2.c: Likewise.
13830 * math/w_exp2f.c: Likewise.
13831 * math/w_exp2l.c: Likewise.
13832 * math/w_hypot.c: Likewise.
13833 * math/w_hypotf.c: Likewise.
13834 * math/w_hypotl.c: Likewise.
13835 * math/w_lgamma.c: Likewise.
13836 * math/w_lgamma_r.c: Likewise.
13837 * math/w_lgammaf.c: Likewise.
13838 * math/w_lgammaf_r.c: Likewise.
13839 * math/w_lgammal.c: Likewise.
13840 * math/w_lgammal_r.c: Likewise.
13841 * math/w_sinh.c: Likewise.
13842 * math/w_sinhf.c: Likewise.
13843 * math/w_sinhl.c: Likewise.
13844 * math/w_tgamma.c: Likewise.
13845 * math/w_tgammaf.c: Likewise.
13846 * math/w_tgammal.c: Likewise.
13847 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
13848 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13849 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
13850 Minor optimizations. Pretty printing. Remove cruft.
13851 * sysdeps/i386/fpu/e_acosf.S: Likewise.
13852 * sysdeps/i386/fpu/e_acosh.S: Likewise.
13853 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
13854 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
13855 * sysdeps/i386/fpu/e_acosl.c: Likewise.
13856 * sysdeps/i386/fpu/e_asin.S: Likewise.
13857 * sysdeps/i386/fpu/e_asinf.S: Likewise.
13858 * sysdeps/i386/fpu/e_atan2.S: Likewise.
13859 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
13860 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
13861 * sysdeps/i386/fpu/e_atanh.S: Likewise.
13862 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
13863 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
13864 * sysdeps/i386/fpu/e_exp10.S: Likewise.
13865 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
13866 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
13867 * sysdeps/i386/fpu/e_exp2.S: Likewise.
13868 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
13869 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
13870 * sysdeps/i386/fpu/e_fmod.S: Likewise.
13871 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
13872 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
13873 * sysdeps/i386/fpu/e_hypot.S: Likewise.
13874 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
13875 * sysdeps/i386/fpu/e_log.S: Likewise.
13876 * sysdeps/i386/fpu/e_log10.S: Likewise.
13877 * sysdeps/i386/fpu/e_log10f.S: Likewise.
13878 * sysdeps/i386/fpu/e_log10l.S: Likewise.
13879 * sysdeps/i386/fpu/e_log2.S: Likewise.
13880 * sysdeps/i386/fpu/e_log2f.S: Likewise.
13881 * sysdeps/i386/fpu/e_log2l.S: Likewise.
13882 * sysdeps/i386/fpu/e_logf.S: Likewise.
13883 * sysdeps/i386/fpu/e_logl.S: Likewise.
13884 * sysdeps/i386/fpu/e_pow.S: Likewise.
13885 * sysdeps/i386/fpu/e_powf.S: Likewise.
13886 * sysdeps/i386/fpu/e_powl.S: Likewise.
13887 * sysdeps/i386/fpu/e_remainder.S: Likewise.
13888 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
13889 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
13890 * sysdeps/i386/fpu/e_scalb.S: Likewise.
13891 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
13892 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
13893 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
13894 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
13895 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
13896 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
13897 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13898 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13899 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
13900 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13901 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
13902 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
13903 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
13904 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13905 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13906 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13907 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
13908 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13909 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
13910 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
13911 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13912 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13913 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
13914 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13915 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13916 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
13917 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
13918 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
13919 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
13920 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
13921 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
13922 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
13923 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
13924 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
13925 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
13926 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
13927 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
13928 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13929 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
13930 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
13931 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
13932 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
13933 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
13934 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
13935 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
13936 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
13937 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
13938 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
13939 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
13940 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
13941 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
13942 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
13943 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
13944 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
13945 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
13946 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
13947 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
13948 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
13949 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13950 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
13951 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
13952 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
13953 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
13954 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
13955 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
13956 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
13957 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
13958 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
13959 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
13960 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
13961 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
13962 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
13963 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
13964 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
13965 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
13966 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
13967 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
13968 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
13969 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
13970 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
13971 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
13972 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
13973 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
13974 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
13975 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
13976 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
13977 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
13978 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
13979 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
13980 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
13981 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
13982 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
13983 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
13984 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
13985 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
13986 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
13987 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
13988 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
13989 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
13990 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
13991 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
13992 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
13993 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
13994 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
13995 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
13996 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
13997 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
13998 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
13999 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
14000 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
14001 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
14002 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
14003 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
14004 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
14005 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
14006 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
14007 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
14008 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
14009 (__isnanf): Likewise.
14010 (__isinf_ns): Likewise.
14011 (__isinf_nsf): Likewise.
14012 (__finite): Likewise.
14013 (__finitef): Likewise.
14014 (__ieee754_sqrt): Define as macro.
14015 (__ieee754_sqrtf): Define as macro.
14016 (__ieee754_sqrtl): Define as macro.
14017 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
14018 inlined copy.
14019 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
14020 __FINITE_MATH_ONLY__ consistent.
14021 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
14022
12cc2fcd
AS
140232011-10-10 Andreas Schwab <schwab@linux-m68k.org>
14024
a843a204
AS
14025 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
14026 of rawmemchr.
14027
12cc2fcd
AS
14028 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
14029
c853acd5
UD
140302011-10-09 Ulrich Drepper <drepper@gmail.com>
14031
14032 * po/ja.po: Update from translation team.
14033
c658d255
RM
140342011-10-08 Roland McGrath <roland@hack.frob.com>
14035
110946e4
RM
14036 * locale/programs/locarchive.c (prepare_address_space): New function.
14037 (create_archive, enlarge_archive, open_archive): Use it.
14038
50604220
RM
14039 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
14040 inside [SHARED], where it is used.
14041
c658d255
RM
14042 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
14043
14044 * nss/getent.c (netgroup_keys): Remove unused variable.
14045 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
14046
6a621eb7
UD
140472011-10-08 Ulrich Drepper <drepper@gmail.com>
14048
7edb55ce
UD
14049 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
14050 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
14051 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
14052 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
14053 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
14054 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
14055 * math/Makefile (libm-calls): Add s_isinf_ns.
14056 * math/divtc3.c: Use __isinf_nsl instead of isinf.
14057 * math/multc3.c: Likewise.
14058 * math/s_casin.c: Likewise.
14059 * math/s_casinf.c: Likewise.
14060 * math/s_casinl.c: Likewise.
14061 * math/s_ccos.c: Likewise.
14062 * math/s_ccosf.c: Likewise.
14063 * math/s_ccosl.c: Likewise.
14064 * math/s_ctan.c: Likewise.
14065 * math/s_ctanf.c: Likewise.
14066 * math/s_ctanh.c: Likewise.
14067 * math/s_ctanhf.c: Likewise.
14068 * math/s_ctanhl.c: Likewise.
14069 * math/s_ctanl.c: Likewise.
14070 * math/w_fmod.c: Likewise.
14071 * math/w_fmodf.c: Likewise.
14072 * math/w_fmodl.c: Likewise.
14073 * math/w_remainder.c: Likewise.
14074 * math/w_remainderf.c: Likewise.
14075 * math/w_remainderl.c: Likewise.
14076 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
14077 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
14078 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
14079 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
14080 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
14081 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
14082 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
14083 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
14084
187da0ae
UD
14085 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
14086 of the number.
14087 * stdio-common/printf_fphex.c: Likewise.
14088 * stdio-common/printf_size.c: Likewise.
14089
9277c064
UD
14090 * math/e_exp10.c: Include math_private.h using <...> not "...".
14091 * math/e_exp10f.c: Likewise.
14092 * math/e_exp10l.c: Likewise.
14093 * math/e_exp2l.c: Likewise.
14094 * math/e_j0l.c: Likewise.
14095 * math/e_j1l.c: Likewise.
14096 * math/e_jnl.c: Likewise.
14097 * math/e_lgammal_r.c: Likewise.
14098 * math/e_rem_pio2l.c: Likewise.
14099 * math/e_scalb.c: Likewise.
14100 * math/e_scalbf.c: Likewise.
14101 * math/e_scalbl.c: Likewise.
14102 * math/k_cosl.c: Likewise.
14103 * math/k_sinl.c: Likewise.
14104 * math/k_tanl.c: Likewise.
14105 * math/s_cacoshf.c: Likewise.
14106 * math/s_catan.c: Likewise.
14107 * math/s_catanf.c: Likewise.
14108 * math/s_catanh.c: Likewise.
14109 * math/s_catanhf.c: Likewise.
14110 * math/s_catanhl.c: Likewise.
14111 * math/s_catanl.c: Likewise.
14112 * math/s_ccosh.c: Likewise.
14113 * math/s_ccoshf.c: Likewise.
14114 * math/s_ccoshl.c: Likewise.
14115 * math/s_cexp.c: Likewise.
14116 * math/s_cexpf.c: Likewise.
14117 * math/s_cexpl.c: Likewise.
14118 * math/s_clog.c: Likewise.
14119 * math/s_clog10.c: Likewise.
14120 * math/s_clog10f.c: Likewise.
14121 * math/s_clog10l.c: Likewise.
14122 * math/s_clogf.c: Likewise.
14123 * math/s_clogl.c: Likewise.
14124 * math/s_csin.c: Likewise.
14125 * math/s_csinf.c: Likewise.
14126 * math/s_csinh.c: Likewise.
14127 * math/s_csinhf.c: Likewise.
14128 * math/s_csinhl.c: Likewise.
14129 * math/s_csinl.c: Likewise.
14130 * math/s_csqrt.c: Likewise.
14131 * math/s_csqrtf.c: Likewise.
14132 * math/s_csqrtl.c: Likewise.
14133 * math/s_ctan.c: Likewise.
14134 * math/s_ctanf.c: Likewise.
14135 * math/s_ctanh.c: Likewise.
14136 * math/s_ctanhf.c: Likewise.
14137 * math/s_ctanhl.c: Likewise.
14138 * math/s_ctanl.c: Likewise.
14139 * math/s_ldexp.c: Likewise.
14140 * math/s_ldexpf.c: Likewise.
14141 * math/s_ldexpl.c: Likewise.
14142 * math/s_significand.c: Likewise.
14143 * math/s_significandf.c: Likewise.
14144 * math/s_significandl.c: Likewise.
14145 * math/w_acos.c: Likewise.
14146 * math/w_acosf.c: Likewise.
14147 * math/w_acosh.c: Likewise.
14148 * math/w_acoshf.c: Likewise.
14149 * math/w_acoshl.c: Likewise.
14150 * math/w_acosl.c: Likewise.
14151 * math/w_asin.c: Likewise.
14152 * math/w_asinf.c: Likewise.
14153 * math/w_asinl.c: Likewise.
14154 * math/w_atan2.c: Likewise.
14155 * math/w_atan2f.c: Likewise.
14156 * math/w_atan2l.c: Likewise.
14157 * math/w_atanh.c: Likewise.
14158 * math/w_atanhf.c: Likewise.
14159 * math/w_atanhl.c: Likewise.
14160 * math/w_cosh.c: Likewise.
14161 * math/w_coshf.c: Likewise.
14162 * math/w_coshl.c: Likewise.
14163 * math/w_dremf.c: Likewise.
14164 * math/w_exp10.c: Likewise.
14165 * math/w_exp10f.c: Likewise.
14166 * math/w_exp10l.c: Likewise.
14167 * math/w_exp2.c: Likewise.
14168 * math/w_exp2f.c: Likewise.
14169 * math/w_fmod.c: Likewise.
14170 * math/w_fmodf.c: Likewise.
14171 * math/w_fmodl.c: Likewise.
14172 * math/w_hypot.c: Likewise.
14173 * math/w_hypotf.c: Likewise.
14174 * math/w_hypotl.c: Likewise.
14175 * math/w_j0.c: Likewise.
14176 * math/w_j0f.c: Likewise.
14177 * math/w_j0l.c: Likewise.
14178 * math/w_j1.c: Likewise.
14179 * math/w_j1f.c: Likewise.
14180 * math/w_j1l.c: Likewise.
14181 * math/w_jn.c: Likewise.
14182 * math/w_jnf.c: Likewise.
14183 * math/w_jnl.c: Likewise.
14184 * math/w_lgamma.c: Likewise.
14185 * math/w_lgamma_r.c: Likewise.
14186 * math/w_lgammaf.c: Likewise.
14187 * math/w_lgammaf_r.c: Likewise.
14188 * math/w_lgammal.c: Likewise.
14189 * math/w_lgammal_r.c: Likewise.
14190 * math/w_log.c: Likewise.
14191 * math/w_log10.c: Likewise.
14192 * math/w_log10f.c: Likewise.
14193 * math/w_log10l.c: Likewise.
14194 * math/w_log2.c: Likewise.
14195 * math/w_log2f.c: Likewise.
14196 * math/w_log2l.c: Likewise.
14197 * math/w_logf.c: Likewise.
14198 * math/w_logl.c: Likewise.
14199 * math/w_pow.c: Likewise.
14200 * math/w_powf.c: Likewise.
14201 * math/w_powl.c: Likewise.
14202 * math/w_remainder.c: Likewise.
14203 * math/w_remainderf.c: Likewise.
14204 * math/w_remainderl.c: Likewise.
14205 * math/w_scalb.c: Likewise.
14206 * math/w_scalbf.c: Likewise.
14207 * math/w_scalbl.c: Likewise.
14208 * math/w_sinh.c: Likewise.
14209 * math/w_sinhf.c: Likewise.
14210 * math/w_sinhl.c: Likewise.
14211 * math/w_sqrt.c: Likewise.
14212 * math/w_sqrtf.c: Likewise.
14213 * math/w_sqrtl.c: Likewise.
14214 * math/w_tgamma.c: Likewise.
14215 * math/w_tgammaf.c: Likewise.
14216 * math/w_tgammal.c: Likewise.
14217
6a621eb7
UD
14218 * po/ja.po: Update from translation team.
14219
bf582445
AJ
142202011-09-29 Andreas Jaeger <aj@suse.de>
14221
f9efbf3a
AJ
14222 [BZ #13179]
14223 * sunrpc/netname.c (netname2host): Fix logic.
14224
bf582445
AJ
14225 [BZ #6779]
14226 [BZ #6783]
14227 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
14228 correctly.
14229 * math/w_remainder.c (__remainder): Likewise.
14230 * math/w_remainderf.c (__remainderf): Likewise.
14231 * math/libm-test.inc (remainder_test): Add test cases.
14232
48693bea
AK
142332011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14234
14235 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
14236 sdiv_qrnnd.
14237
42622229
LD
142382011-10-07 Ulrich Drepper <drepper@gmail.com>
14239
14240 * string/test-memcmp.c: Avoid unncessary #defines.
14241 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
14242
093ecf92
LD
142432011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14244
14245 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
14246 Use new sse2 version for core i3 - i7 as it's faster
14247 than sse42 version.
14248 (bit_Prefer_PMINUB_for_stringop): New.
14249 * sysdeps/x86_64/rawmemchr.S: Update.
14250 Replace with faster SSE2 version.
14251 * sysdeps/x86_64/memrchr.S: New file.
14252 * sysdeps/x86_64/memchr.S: Update.
14253 Replace with faster SSE2 version.
14254
fde56e5c
MP
142552011-09-12 Marek Polacek <mpolacek@redhat.com>
14256
14257 * elf/dl-load.c (lose): Add cast to avoid warning.
14258
21fd49a9
UD
142592011-10-07 Ulrich Drepper <drepper@gmail.com>
14260
5a06e643
UD
14261 * po/ca.po: Update from translation team.
14262
684ae515
UD
14263 * inet/getnetgrent_r.c: Hook up nscd.
14264 * nscd/Makefile (routines): Add nscd_netgroup.
14265 (nscd-modules): Add netgroupcache.
14266 (CFLAGS-netgroupcache.c): Define.
14267 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
14268 (cache_search): Add const to second parameter.
14269 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
14270 INNETGR.
14271 (dbs): Add netgrdb entry.
14272 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
14273 (verify_persistent_db): Handle netgrdb.
14274 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
14275 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
14276 GETFDNETGR.
14277 (netgroup_response_header): Define.
14278 (innetgroup_response_header): Define.
14279 (datahead): Add netgroup_response_header and innetgroup_response_header
14280 elements.
14281 * nscd/nscd.conf: Add entries for netgroup cache.
14282 * nscd/nscd.h (dbtype): Add netgrdb.
14283 (_PATH_NSCD_NETGROUP_DB): Define.
14284 (netgroup_iov_disabled): Declare.
14285 (xmalloc, xcalloc, xrealloc): Move declarations here.
14286 (cache_search): Adjust prototype.
14287 Add netgroup-related prototypes.
14288 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
14289 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
14290 (__nscd_innetgr): Declare.
14291 * nscd/selinux.c (perms): Use access_vector_t as element type and
14292 add netgroup-related initializers.
14293 * nscd/netgroupcache.c: New file.
14294 * nscd/nscd_netgroup.c: New file.
14295 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
14296 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
14297 For four parameters use innetgr.
14298 * nss/nss_files/files-init.c: Add definition and callback for netgr.
14299 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
14300 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
14301 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
14302
21fd49a9
UD
14303 * nscd/connections.c (register_traced_file): Don't register file
14304 for disabled databases.
14305
054c0457
UD
143062011-10-06 Ulrich Drepper <drepper@gmail.com>
14307
32b63198
UD
14308 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
14309
054c0457
UD
14310 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
14311 from tree and freeing node.
14312
64031225
JO
143132011-09-25 Jiri Olsa <jolsa@redhat.com>
14314
14315 * nss/nsswitch.c (__nss_database_lookup): Handle
14316 nss_parse_service_list out of memory case.
14317
0490345c
JO
143182011-09-15 Jiri Olsa <jolsa@redhat.com>
14319
14320 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
14321 out of memory case.
14322
3a62d00d
AS
143232011-10-04 Andreas Schwab <schwab@redhat.com>
14324
14325 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
14326 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
14327 pass it down.
14328 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
14329 elf_machine_rela, elf_machine_lazy_rel.
14330 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
14331 (ELF_DYNAMIC_DO_REL): Likewise.
14332 (ELF_DYNAMIC_DO_RELA): Likewise.
14333 (ELF_DYNAMIC_RELOCATE): Likewise.
14334 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
14335 to ELF_DYNAMIC_DO_REL.
14336 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
14337 (dl_main): In trace mode always set __RTLD_NOIFUNC.
14338 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
14339 elf_machine_rela.
14340 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
14341 skip_ifunc, don't call ifunc function if non-zero.
14342 (elf_machine_rela): Likewise.
14343 (elf_machine_lazy_rel): Likewise.
14344 (elf_machine_lazy_rela): Likewise.
14345 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
14346 (elf_machine_lazy_rel): Likewise.
14347 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
14348 Likewise.
14349 (elf_machine_lazy_rel): Likewise.
14350 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14351 Likewise.
14352 (elf_machine_lazy_rel): Likewise.
14353 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
14354 (elf_machine_lazy_rel): Likewise.
14355 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
14356 (elf_machine_lazy_rel): Likewise.
14357 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
14358 (elf_machine_lazy_rel): Likewise.
14359 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
14360 (elf_machine_lazy_rel): Likewise.
14361 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
14362 (elf_machine_lazy_rel): Likewise.
14363 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
14364 (elf_machine_lazy_rel): Likewise.
14365
68577918
UD
143662011-09-28 Ulrich Drepper <drepper@gmail.com>
14367
14368 * nss/nss_files/files-init.c (_nss_files_init): Use static
14369 initialization for all the *_traced_file variables.
14370
68822d74
AS
143712011-09-28 Andreas Schwab <schwab@redhat.com>
14372
14373 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14374
2056100b
RM
143752011-09-27 Roland McGrath <roland@hack.frob.com>
14376
14377 [BZ #13226]
14378 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
14379
32c76b63
AS
143802011-09-27 Andreas Schwab <schwab@redhat.com>
14381
14382 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
14383 Reread the line before reparsing it.
14384
bf972c9d
AS
143852011-09-26 Andreas Schwab <schwab@redhat.com>
14386
14387 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
14388
e057a1b5
JM
143892011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
14390 Maxim Kuvyrkov <maxim@codesourcery.com>
14391 Joseph Myers <joseph@codesourcery.com>
14392
14393 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
14394 if needed for __stack_chk_guard.
14395
bc7e1c36
RM
143962011-09-19 Roland McGrath <roland@hack.frob.com>
14397
ecb1482f
RM
14398 * sysdeps/posix/spawni.c (script_execute): Always define it.
14399 It will be optimized away if unused.
14400 (maybe_script_execute): New function.
14401 (__spawni): Call it.
14402
bc7e1c36
RM
14403 * Makerules: Don't include tls.make.
14404 (config-tls): Always set to thread.
14405 * tls.make.c: File removed.
14406
1c3b002b
MF
144072011-09-19 Mike Frysinger <vapier@gentoo.org>
14408
14409 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
14410 * config.make.in (CPPFLAGS-config): New substituted variable.
14411
2840865d
UD
144122011-09-15 Ulrich Drepper <drepper@gmail.com>
14413
88738eb6
UD
14414 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
14415
cbf645a6 14416 [BZ #13192]
2840865d
UD
14417 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
14418 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
14419
b402e91a
RM
144202011-09-15 Roland McGrath <roland@hack.frob.com>
14421
14422 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
14423 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
14424 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
14425 (CALL_FAIL): Likewise.
14426 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
14427 (CALL_FAIL): Macro removed.
14428 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
14429
4c1a1f71
UD
144302011-09-15 Ulrich Drepper <drepper@gmail.com>
14431
14432 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
14433 for __FINITE_MATH_ONLY__ == 1.
14434
edc121be
AS
144352011-09-15 Andreas Schwab <schwab@redhat.com>
14436
14437 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
14438 __ieee754_sqrt instead of sqrt.
14439 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
14440 __ieee754_sqrtf instead of sqrtf.
14441 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
14442 __floorf instead of floorf.
14443 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
14444 __floorf, __truncf instead of floorf, truncf.
14445
cd205654
UD
144462011-09-14 Ulrich Drepper <drepper@gmail.com>
14447
ee4d0315
UD
14448 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
14449
cd205654
UD
14450 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
14451 __extern_always_inline.
14452 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
14453 32-bit.
14454
48b67d71
AS
144552011-09-14 Andreas Schwab <schwab@redhat.com>
14456
14457 * elf/rtld.c (dl_main): Also relocate in dependency order when
14458 doing symbol dependency testing.
14459
1ae12c75
AS
144602011-09-13 Andreas Schwab <schwab@linux-m68k.org>
14461
14462 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14463 Always define `refsym'.
14464
995a80df
AS
144652011-09-13 Andreas Schwab <schwab@redhat.com>
14466
e529793b
AS
14467 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
14468 (__FD_ELT): Renamed from __FDELT.
14469 * misc/bits/select2.h (__FD_ELT): Likewise.
14470 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
14471 __FD_MASK instead of __FDELT, __FDMASK.
14472 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
14473 Likewise.
14474 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
14475 Likewise.
14476
52d4fef8
AS
14477 * elf/Makefile (gen-ldd): Fix pattern.
14478
995a80df
AS
14479 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
14480 (init_tls): Likewise.
14481
8682f8b0
UD
144822011-09-12 Ulrich Drepper <drepper@gmail.com>
14483
14484 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
14485
de82006d
AS
144862011-09-12 Andreas Schwab <schwab@redhat.com>
14487
a7c8e6a1
AS
14488 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
14489 `struct cmsghdr *' instead of `void *'.
14490 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
14491 Likewise.
14492
0f31fe77
AS
144932011-09-11 Andreas Schwab <schwab@linux-m68k.org>
14494
14495 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
14496 if non-absolute.
14497 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
14498 ldd_rewrite_script.
0f31fe77 14499
32b4c839
UD
145002011-09-11 Ulrich Drepper <drepper@gmail.com>
14501
83cd1420
UD
14502 * configure.in: Remove --with-tls option.
14503 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
14504 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
14505 out in case it is missing.
14506 * sysdeps/ia64/elf/configure.in: Likewise.
14507 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
14508 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
14509 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
14510 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
14511 * sysdeps/sh/elf/configure.in: Likewise.
14512 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
14513 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
14514 * sysdeps/x86_64/elf/configure.in: Likewise.
14515 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
14516 * sysdeps/mach/hurd/tls.h: Likewise.
14517
633f745d
UD
14518 [BZ #13067]
14519 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
14520
f318beb8
UD
14521 [BZ #13090]
14522 * configure.in: Fix use of AC_INIT.
14523
32b4c839
UD
14524 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
14525
3ce1f295
UD
145262011-09-10 Ulrich Drepper <drepper@gmail.com>
14527
bb016596
UD
14528 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
14529 __set_errno.
8e58439c
UD
14530 * malloc/hooks.c: Likewise.
14531
aebae053 14532 [BZ #11929]
02d46fc4
UD
14533 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
14534 variables statically.
14535 (narenas): Initialize.
14536 (list_lock): Initialize.
bb016596
UD
14537 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
14538 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
14539 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
14540 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
14541 Add initializers to main_arena and mp_.
14542 (malloc_state): Remove pagesize member. Change all users to use
14543 GLRO(dl_pagesize).
14544
14545 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
14546 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
14547 is always initialized.
14548
22a89187
UD
14549 * malloc/malloc.c: Removed unused configurations and dead code.
14550 * malloc/arena.c: Likewise.
14551 * malloc/hooks.c: Likewise.
02d46fc4 14552 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 14553
d063d164
UD
14554 * include/tls.h: Removed. USE___THREAD must always be defined.
14555 * bits/libc-tsd.h: Don't handle !USE___THREAD.
14556 * elf/dl-libc.c: Likewise.
14557 * elf/dl-tsd.c: Likewise.
14558 * include/errno.h: Likewise.
14559 * include/netdb.h: Likewise.
14560 * include/resolv.h: Likewise.
14561 * inet/herrno-loc.c: Likewise.
14562 * inet/herrno.c: Likewise.
14563 * malloc/arena.c: Likewise.
14564 * malloc/hooks.c: Likewise.
14565 * malloc/malloc.c: Likewise.
14566 * resolv/res-state.c: Likewise.
14567 * resolv/res_libc.c: Likewise.
14568 * sysdeps/i386/dl-machine.h: Likewise.
14569 * sysdeps/ia64/dl-machine.h: Likewise.
14570 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
14571 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
14572 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
14573 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
14574 * sysdeps/sh/dl-machine.h: Likewise.
14575 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
14576 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
14577 * sysdeps/unix/i386/sysdep.S: Likewise.
14578 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
14579 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
14580 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
14581 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
14582 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
14583 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
14584 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
14585 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
14586 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14587 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
14588 * sysdeps/unix/x86_64/sysdep.S: Likewise.
14589 * sysdeps/x86_64/dl-machine.h: Likewise.
14590 * tls.make.c: Likewise.
14591
3ce1f295
UD
14592 * configure.in: Remove --with-__thread option. Make tests for
14593 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
14594 tls_model attribute fail if no support is available. Remove
14595 USE_IN_LIBIO.
14596 * Makeconfig: Adjust for dropped configure option. All features are
14597 now mandatory.
14598 * Makerules: Likewise.
14599 * Versions.def: Likewise.
14600 * argp/argp-fmtstream.c: Likewise.
14601 * argp/argp-fmtstream.h: Likewise.
14602 * argp/argp-help.c: Likewise.
14603 * assert/assert.c: Likewise.
14604 * config.h.in: Likewise.
14605 * config.make.in: Likewise.
14606 * configure: Likewise.
14607 * configure.in: Likewise.
14608 * csu/Versions: Likewise.
14609 * csu/init.c: Likewise.
14610 * elf/tst-audit2.c: Likewise.
14611 * elf/tst-tls10.c: Likewise.
14612 * elf/tst-tls10.h: Likewise.
14613 * elf/tst-tls11.c: Likewise.
14614 * elf/tst-tls12.c: Likewise.
14615 * elf/tst-tls14.c: Likewise.
14616 * elf/tst-tlsmod11.c: Likewise.
14617 * elf/tst-tlsmod12.c: Likewise.
14618 * elf/tst-tlsmod13.c: Likewise.
14619 * elf/tst-tlsmod13a.c: Likewise.
14620 * elf/tst-tlsmod14a.c: Likewise.
14621 * elf/tst-tlsmod15b.c: Likewise.
14622 * elf/tst-tlsmod16a.c: Likewise.
14623 * elf/tst-tlsmod16b.c: Likewise.
14624 * elf/tst-tlsmod7.c: Likewise.
14625 * elf/tst-tlsmod8.c: Likewise.
14626 * elf/tst-tlsmod9.c: Likewise.
14627 * gmon/gmon.c: Likewise.
14628 * grp/fgetgrent_r.c: Likewise.
14629 * grp/putgrent.c: Likewise.
14630 * hurd/fopenport.c: Likewise.
14631 * include/libc-symbols.h: Likewise.
14632 * include/tls.h: Likewise.
14633 * intl/gettextP.h: Likewise.
14634 * intl/loadinfo.h: Likewise.
14635 * locale/global-locale.c: Likewise.
14636 * locale/localeinfo.h: Likewise.
14637 * mach/devstream.c: Likewise.
14638 * malloc/arena.c: Likewise.
14639 * malloc/set-freeres.c: Likewise.
14640 * misc/err.c: Likewise.
14641 * misc/getttyent.c: Likewise.
14642 * misc/mntent_r.c: Likewise.
14643 * posix/getopt.c: Likewise.
14644 * posix/wordexp.c: Likewise.
14645 * pwd/fgetpwent_r.c: Likewise.
14646 * resolv/Versions: Likewise.
14647 * resolv/res_hconf.c: Likewise.
14648 * shadow/fgetspent_r.c: Likewise.
14649 * shadow/putspent.c: Likewise.
14650 * stdio-common/printf_fphex.c: Likewise.
14651 * stdio-common/tmpfile.c: Likewise.
14652 * stdlib/abort.c: Likewise.
14653 * stdlib/fmtmsg.c: Likewise.
14654 * sunrpc/auth_unix.c: Likewise.
14655 * sunrpc/clnt_perr.c: Likewise.
14656 * sunrpc/clnt_tcp.c: Likewise.
14657 * sunrpc/clnt_udp.c: Likewise.
14658 * sunrpc/clnt_unix.c: Likewise.
14659 * sunrpc/openchild.c: Likewise.
14660 * sunrpc/svc_simple.c: Likewise.
14661 * sunrpc/svc_tcp.c: Likewise.
14662 * sunrpc/svc_udp.c: Likewise.
14663 * sunrpc/svc_unix.c: Likewise.
14664 * sunrpc/xdr.c: Likewise.
14665 * sunrpc/xdr_array.c: Likewise.
14666 * sunrpc/xdr_rec.c: Likewise.
14667 * sunrpc/xdr_ref.c: Likewise.
14668 * sunrpc/xdr_stdio.c: Likewise.
14669
1248c1c4
PB
146702011-09-09 Ulrich Drepper <drepper@gmail.com>
14671
14672 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14673
146742011-07-03 Andreas Jaeger <aj@suse.de>
14675
14676 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
14677 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
14678 regenerate with gen-libm-tests.pl.
14679
146802010-05-12 Petr Baudis <pasky@suse.cz>
14681
14682 [BZ #11589]
14683 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
14684 around j0() zero points by switching to j1().
14685 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
14686 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
14687 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
14688 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
14689
f22e1074
UD
146902011-09-09 Ulrich Drepper <drepper@gmail.com>
14691
f19009c1
UD
14692 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
14693 instead of 0.
14694 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
14695 instead of 0. .
14696 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
14697 Patch in part by Pavel Roskin <proski@gnu.org>.
14698
3f8cc204
UD
14699 [BZ #13138]
14700 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
14701 realloc.
14702 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
14703 Free memory block if necessary.
14704
f22e1074
UD
14705 [BZ #12847]
14706 * libio/genops.c (INTDEF): For string streams the _lock pointer can
14707 be NULL. Don't lock in this case.
14708
0a2349f9
RM
147092011-09-09 Roland McGrath <roland@hack.frob.com>
14710
14711 * elf/elf.h (ELFOSABI_GNU): New macro.
14712 (ELFOSABI_LINUX): Define to that.
14713
f3cdd467
DZ
147142011-07-29 Denis Zaitceff <zaitceff@gmail.com>
14715
14716 * string/strncat.c (strncat): Undef the symbol in case it has been
14717 defined in bits/string.h.
14718
74718d13
UD
147192011-09-09 Ulrich Drepper <drepper@gmail.com>
14720
633e9e0f
UD
14721 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
14722
0a2349f9 14723 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
14724 link map.
14725
f9924780
AJ
147262011-08-17 Andreas Jaeger <aj@suse.de>
14727
14728 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
14729
7f5517aa
PP
147302011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
14731 Ian Lance Taylor <iant@google.com>
14732
14733 * math/libm-test.inc (lround_test): New testcase.
14734 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
14735
762011fe
UD
147362011-09-08 Ulrich Drepper <drepper@gmail.com>
14737
92963737
UD
14738 * Makefile: Remove support for automatic cvs check-ins.
14739 * Makerules: Likewise.
14740 * config.make.in: Likewise.
14741 * configure.in: Likewise.
14742 * intl/Makefile: Likewise.
14743 * locale/Makefile: Likewise.
14744 * po/Makefile: Likewise.
14745 * posix/Makefile: Likewise.
14746 * sysdeps/gnu/Makefile: Likewise.
14747 * sysdeps/mach/hurd/Makefile: Likewise.
14748 * sysdeps/sparc/sparc32/Makefile: Likewise.
14749
b0727fd8
JS
14750 [BZ #13118]
14751 * posix/Makefile (bug-regex32-ENV): Define.
14752 Patch by John Stanley <jpsinthemix@verizon.net>.
14753
a0f33f99
UD
14754 * misc/Makefile (headers): Add bits/select2.h.
14755 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
14756 * misc/bits/select2.h: New file.
14757 * include/bits/select2.h: New file.
14758 * debug/Makefile (routines): Add fdelt_chk.
14759 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
14760 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
14761 FD_ISSET.
14762 * debug/fdelt_chk.c: New file.
14763
762011fe
UD
14764 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
14765 * wcsmbs/test-wmemcmp.c: Likewise.
14766 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 14767 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
14768
147692011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14770
14771 * string/Makefile (strop-tests): Add memcmp.
14772 * string/test-wmemcmp.c: New file.
14773 * string/test-memcmp.c: Add wmemcmp support.
14774
7f513ec8
RM
147752011-09-08 Roland McGrath <roland@hack.frob.com>
14776
0442afb4
RM
14777 [BZ #13153]
14778 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
14779 2011-07-19 change.
14780
7f513ec8
RM
14781 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
14782 garbage value in a __mach_port_mod_refs call in the cases of the
14783 task-self and thread-self ports.
14784
a12b2239
ST
147852011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
14786
14787 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
14788
610f9ab4
AS
147892011-09-08 Andreas Schwab <schwab@redhat.com>
14790
7f513ec8 14791 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 14792
48882a1a
LD
147932011-09-07 Ulrich Drepper <drepper@gmail.com>
14794
b49865be
UD
14795 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
14796
fdc86bc9
UD
14797 * elf/dl-libc.c (dlerror_run): Pass back error code from
14798 dl_catch_error.
14799
c966526a
UD
14800 [BZ #13123]
14801 * elf/dl-load.c (lose): Free l_origin if it is valid.
14802
48882a1a
LD
14803 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
14804 names.
14805 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
14806 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
14807 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
14808 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
14809 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
14810 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
14811
77a2a8b4
AZ
148122011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14813
14814 * sysdeps/powerpc/fpu/e_hypot.c: New file.
14815 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
14816 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
14817 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
14818 * sysdeps/powerpc/fpu/k_cosf.c: New file.
14819 * sysdeps/powerpc/fpu/k_sinf.c: New file.
14820 * sysdeps/powerpc/fpu/s_cosf.c: New file.
14821 * sysdeps/powerpc/fpu/s_sinf.c: New file.
14822 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
14823 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
14824
24f579d8
AM
148252011-08-15 Alan Modra <amodra@gmail.com>
14826
14827 [BZ #13092]
14828 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
14829 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
14830 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
14831 ppc_mcount to static-only-routines.
14832 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
14833 __mcount_internal.
14834 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
14835 __mcount_internal with usual JUMPTARGET. Remove useless nop.
14836
3d4837df
UD
148372011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
14838
14839 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
14840 for finite and infinity parameters.
14841
22700377
WS
148422011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
14843
14844 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
14845 and add nop instructions for throughput optimization.
14846 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14847
5025581e
WS
148482011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
14849
14850 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
14851 aligned copy for power7 with vector-scalar instructions.
14852 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
14853
08a300c9
L
148542011-07-24 H.J. Lu <hongjiu.lu@intel.com>
14855
14856 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
14857 AVX check.
14858
59178ef9
AS
148592011-09-07 Andreas Schwab <schwab@redhat.com>
14860
14861 [BZ #13144]
14862 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
14863 last change.
14864
e38ba7ab
UD
148652011-09-07 Ulrich Drepper <drepper@gmail.com>
14866
14867 * sysdeps/unix/sysv/linux/x86_64/init-first.c
14868 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
14869 syscall wrapper around clock_gettime in __vdso_clock_gettime.
14870 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
14871 clock_gettime.
14872
d53a73ac
UD
148732011-09-06 Ulrich Drepper <drepper@gmail.com>
14874
fc8bffcc
UD
14875 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
14876 Forgot to demangle the pointer.
14877
ceaa0c5d
UD
14878 * sysdeps/i386/sysdep.h: Define atom_text_section.
14879 * sysdeps/x86_64/sysdep.h: Likewise.
14880 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
14881 section with atom_text_section.
14882 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
14883 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
14884 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
14885 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
14886 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
14887
a77d3c17
UD
14888 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
14889 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
14890 already be defined. Change to take two parameters and don't assign
14891 result to variable. Adjust all users.
14892 Define INTERNAL_GETTIME if not already defined.
14893 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
14894 call.
14895 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
14896 HAVE_CLOCK_GETTIME_VSYSCALL.
14897 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
14898
d53a73ac
UD
14899 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
14900 gettimeofday vsyscall, just use time.
14901
a8f84144
AS
149022011-09-06 Andreas Schwab <schwab@redhat.com>
14903
14904 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
14905 <errno.h>.
14906
ef606249
UD
149072011-09-06 Ulrich Drepper <drepper@gmail.com>
14908
14909 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
14910 syscall on x86-64.
14911 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
14912 syscall.
14913 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
14914 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
14915 syscall if possible.
14916
6585cb60
UD
149172011-09-05 Ulrich Drepper <drepper@gmail.com>
14918
14919 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
14920 e_ident. Don't pass to find_mapsXX.
14921 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
14922
a5f524e4
LD
149232011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14924
14925 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14926 strchr-sse2-no-bsf strrchr-sse2-no-bsf
14927 * sysdeps/x86_64/multiarch/strchr.S: Update.
14928 Check bit_slow_BSF bit.
14929 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
14930 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
14931 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
14932
554881ef
UD
149332011-09-05 Ulrich Drepper <drepper@gmail.com>
14934
d96de963
UD
14935 [BZ #13134]
14936 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
14937 before glibc 2.15.
14938 (tryshell): Define.
14939 (__spawni): Change last parameter to be flag. Test
14940 SPAWN_XFLAGS_USE_PATH flag to use path or not.
14941 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
14942 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
14943 * posix/spawni.c: Likewise.
14944 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
14945 * posix/spawnp.c: Likewise. Change normal version to use
14946 SPAWN_XFLAGS_USE_PATH.
14947 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
14948 SPAWN_XFLAGS_TRY_SHELL.
14949
d48e5868
UD
14950 [BZ #13150]
14951 * posix/glob.h: Remove gcc 1.x support.
14952
554881ef
UD
14953 [BZ #13068]
14954 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
14955
693fb948
LD
149562011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14957
14958 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14959 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
14960 strrchr-sse2-bsf
14961 * sysdeps/i386/i686/multiarch/strchr.S: New file.
14962 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
14963 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
14964 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
14965 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
14966 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
14967
1b48c537
UD
149682011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14969
49d42c37
UD
14970 * sysdeps/x86_64/wcscmp.S: New file.
14971
1b48c537
UD
14972 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
14973 wcscmp-c wcscmp-sse2
14974 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
14975 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
14976 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
14977 * wcsmbs/wcscmp.c: Allow renaming.
14978
15c95c5d
DM
149792011-09-05 David S. Miller <davem@davemloft.net>
14980
14981 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
14982 stack slot, rather than the struct return pointer slot.
14983 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
14984 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
14985 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
14986 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
14987
2f0ad8f3
UD
149882011-09-05 Ulrich Drepper <drepper@gmail.com>
14989
d88ae418
UD
14990 * po/ja.po: Update from translation team.
14991
2f0ad8f3
UD
14992 [BZ #13144]
14993 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
14994 kernel in 64-bit binaries.
14995
5f4318d1
DM
149962011-09-01 David S. Miller <davem@davemloft.net>
14997
14998 * elf/elf.h (HWCAP_SPARC_*): Move to..
14999 * sysdeps/sparc/sysdep.h: this new file and add new values.
15000 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
15001 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
15002 _DL_HWCAP_COUNT to 24.
15003 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
15004 entries.
15005 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
15006 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
15007 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
15008 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
15009 instead of magic constants.
15010 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
15011
3ba57516
DM
150122011-08-31 David S. Miller <davem@davemloft.net>
15013
15014 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
15015 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
15016 Reimplement to do errno handling inline.
15017 (SYSCALL_ERROR_HANDLER): New macro.
15018 (__SYSCALL_STRING): Do not do errno handling in asm.
15019 (__CLONE_SYSCALL_STRING): Delete.
15020 (__INTERNAL_SYSCALL_STRING): Delete.
15021 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
15022 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
15023 (PSEUDO): Reimplement to do errno handling inline.
15024 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
15025 (SYSCALL_ERROR_HANDLER): New macro.
15026 (__SYSCALL_STRING): Do not do errno handling in asm.
15027 (__CLONE_SYSCALL_STRING): Delete.
15028 (__INTERNAL_SYSCALL_STRING): Delete.
15029 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
15030 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
15031 i386.
15032 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
15033 (inline_syscall*): Add 'err' argument.
15034 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
15035 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
15036 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
15037 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
15038
15039 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
15040 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
15041
2bc17433
AS
150422011-08-30 Andreas Schwab <schwab@redhat.com>
15043
15044 * elf/rtld.c (dl_main): Relocate objects in dependency order.
15045
fbeb5f4d
JO
150462011-08-29 Jiri Olsa <jolsa@redhat.com>
15047
15048 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
15049 directive.
15050
ad69cc26
DM
150512011-08-24 David S. Miller <davem@davemloft.net>
15052
15053 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
15054
39dd69df
AS
150552011-08-24 Andreas Schwab <schwab@redhat.com>
15056
15057 * elf/Makefile: Add rules to build and run unload8 test.
15058 * elf/unload8.c: New file.
15059 * elf/unload8mod1.c: New file.
15060 * elf/unload8mod1x.c: New file.
15061 * elf/unload8mod2.c: New file.
15062 * elf/unload8mod3.c: New file.
15063
15064 * elf/dl-close.c (_dl_close_worker): Reset private search list if
15065 it wasn't used.
15066
2c0b250a
DM
150672011-08-23 David S. Miller <davem@davemloft.net>
15068
15069 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
15070 subtract stack bias.
15071 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
15072 %sp not %fp in calculations.
15073 (_JMPBUF_UNWINDS_ADJ): Likewise.
15074
22044b48
DM
15075 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
15076 (aio_suspend): Call it to force an exception region around the
15077 AIO_MISC_WAIT() invocation.
15078
2cae4995
AS
150792011-08-23 Andreas Schwab <schwab@redhat.com>
15080
15081 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
15082 backslash.
15083
873a772e
AJ
150842011-07-04 Aurelien Jarno <aurelien@aurel32.net>
15085
15086 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
15087 protection macro.
15088 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
15089 and <dl-machine.h>.
15090 (Elf64_FuncDesc): Remove.
15091
25ad0df1
DM
150922011-08-22 David S. Miller <davem@davemloft.net>
15093
15094 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
15095 sigaltstack check, add missing cfi directives.
15096 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
15097 missing cfi directives, and sigaltstack handling.
15098
e888bcbe
AS
150992011-08-16 Andreas Schwab <schwab@redhat.com>
15100
15101 [BZ #11724]
15102 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
15103 object is seen twice.
15104 * elf/dl-fini.c (_dl_sort_fini): Likewise.
15105
15106 * elf/Makefile (distribute): Add tst-initorder2.c.
15107 (tests): Add tst-initorder2.
15108 (modules-names): Add tst-initorder2a tst-initorder2b
15109 tst-initorder2c tst-initorder2d. Add rules to build them.
15110 ($(objpfx)tst-initorder2.out): New rule.
15111 * elf/tst-initorder2.c: New file.
15112 * elf/tst-initorder2.exp: New file.
15113
87162f46
AS
151142011-08-22 Andreas Schwab <schwab@redhat.com>
15115
70538b7f
AS
15116 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
15117
f55ffe58
AS
15118 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
15119 dependencies back to end of function.
15120
87162f46
AS
15121 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
15122 $(elfobjdir)/ld.so.
15123
91b392a4
UD
151242011-08-21 Ulrich Drepper <drepper@gmail.com>
15125
15126 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
15127 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
15128 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
15129 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
15130 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
15131 of __vdso_gettimeofday.
15132 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
15133 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
15134 attribute_hidden.
15135 (_libc_vdso_platform_setup): Remove initialization of
15136 __vdso_gettimeofday and __vdso_time.
15137
5c43483f
UD
151382011-08-20 Ulrich Drepper <drepper@gmail.com>
15139
775a77e7
UD
15140 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
15141 and fgetc_unlocked.
15142 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
15143 getc_unlocked.
89f447ed 15144
49c74ba9
UD
15145 * elf/dl-open.c (add_to_global): Report additions to the global scope
15146 for LD_DEBUG=scopes.
15147 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 15148 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 15149
5c43483f
UD
15150 [BZ #13114]
15151 * stdio-common/Makefile (tests): Add bug24.
15152 * stdio-common/bug24.c: New file.
15153
a101b025
AJ
151542011-08-19 Andreas Jaeger <aj@suse.de>
15155
15156 [BZ #13114]
15157 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
15158 non-existant file when using close-on-exec mode.
15159
c88f1766
UD
151602011-08-20 Ulrich Drepper <drepper@gmail.com>
15161
0276a718
UD
15162 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
15163 the very first instruction.
15164
c88f1766
UD
15165 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
15166 the CFI state in the end.
15167 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
15168 inclusion of dl-trampoline.h.
15169 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
15170
51ccffa0
AS
151712011-08-19 Andreas Schwab <schwab@redhat.com>
15172
94d7165f
AS
15173 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
15174 expectations for long double.
15175
51ccffa0
AS
15176 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
15177 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
15178
fd708658 151792011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
15180
15181 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
15182 artificual limit depends upon the system page size.
15183
44f0a71e
UD
151842011-08-17 Ulrich Drepper <drepper@gmail.com>
15185
15186 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
15187 * resolv/Makefile: Define CFLAGS-libresolv.
15188
8de79a24
AS
151892011-08-17 Andreas Schwab <schwab@redhat.com>
15190
15191 * nss/makedb.c (compute_tables): Make variables used in nested
15192 function static.
15193
27724598
UD
151942011-08-17 Ulrich Drepper <drepper@gmail.com>
15195
c5305d88
UD
15196 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
15197 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
15198 if buffer was too small.
15199
27724598
UD
15200 * elf/pldd.c (main): Attach to all threads in the process.
15201 Rewrite /proc handling to use *at functions.
15202
076fe015
UD
152032011-08-16 Ulrich Drepper <drepper@gmail.com>
15204
174baab3
UD
15205 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
15206 specifies first scope to show.
15207 (dl_open_worker): Update callers. Move printing scope of new
15208 object to before the relocation.
44f0a71e 15209 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
15210 * sysdeps/generic/ldsodefs.h: Update declaration.
15211
076fe015
UD
15212 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
15213 string for the scope number.
15214
a60df2c3
UD
152152011-08-14 Ulrich Drepper <drepper@gmail.com>
15216
15217 * nscd/servicescache.c (cache_addserv): Make sure written is always
15218 initialized.
15219
5e4287d1
RM
152202011-08-14 Roland McGrath <roland@hack.frob.com>
15221
85ae0589
RM
15222 * sysdeps/i386/i486/bits/atomic.h
15223 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
15224 statement expression, so as to suppress "set but not used" warning.
15225 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
15226
69f63097
RM
15227 * string/strncat.c (STRNCAT): Use prototype definition.
15228
675456ef
RM
15229 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
15230 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
15231 -Iprograms here.
15232 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
15233 (localedef-modules): Add localedef.
15234 (locale-modules): Add locale.
15235
5e4287d1
RM
15236 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
15237 * elf/rtld.c (dl_main): Invert order of assignment in last change,
15238 to avoid a warning.
15239
9c96ff23
DM
152402011-08-14 David S. Miller <davem@davemloft.net>
15241
15242 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
15243 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
15244
f9ddf089
UD
152452011-08-13 Ulrich Drepper <drepper@gmail.com>
15246
44f0a71e 15247 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
15248 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
15249 * elf/rtld.c (dl_main): Set l_name of vDSO.
15250 Call _dl_show_scope when DL_DEBUG_SCOPES.
15251 (process_dl_debug): Recognize scopes flag and also set it for all.
15252 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
15253 Declare _dl_show_scope.
15254
1dc27704
UD
15255 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
15256 (do_dlopen): Pass caller_dlopen to dl_open.
15257 (__libc_dlopen_mode): Initialize caller_dlopen.
15258
f9ddf089
UD
15259 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
15260 of libc. Make tolower call locale-independent. Optimize a bit by
15261 using isdigit instead of isalnum.
15262 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
15263
9ac533d3
UD
152642011-08-12 Ulrich Drepper <drepper@gmail.com>
15265
15266 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
15267 was a dependency or dynamically loaded.
15268
89edf2e9
UD
152692011-08-11 Ulrich Drepper <drepper@gmail.com>
15270
8e999d29
UD
15271 * intl/l10nflist.c: Allow architecture-specific pop function.
15272 * sysdeps/x86_64/l10nflist.c: New file.
15273
89edf2e9
UD
15274 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
15275 classification.
15276
14d96785
AS
152772011-08-10 Andreas Schwab <schwab@redhat.com>
15278
15279 * include/dirent.h: Add libc_hidden_proto for scandirat and
15280 scandirat64. Don't declare __scandirat64.
15281 * dirent/scandirat.c: Add libc_hidden_def.
15282 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
15283 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
15284
6761ac04
DM
152852011-08-10 David S. Miller <davem@davemloft.net>
15286
15287 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
15288 enum.
15289 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
15290 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
15291 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
15292
c55fbd1e
UD
152932011-08-09 Ulrich Drepper <drepper@gmail.com>
15294
15295 * Versions.def [libc]: Add GLIBC_2.15.
15296 * dirent/Makefile (routines): Add scandirat and scandirat64.
15297 * dirent/Versions [libc]: Export scandirat and scandirat64 for
15298 GLIBC_2.15.
15299 * dirent/dirent.h: Declare scandirat and scandirat64.
15300 * dirent/scandirat.c: New file.
15301 * dirent/scandirat64.c: New file.
15302 * sysdeps/wordsize-64/scandirat.c: New file.
15303 * sysdeps/wordsize-64/scandirat64.c: New file.
15304 * dirent/opendir.c: Define opendirat.
15305 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
15306 using scandirat.
15307 * dirent/scandir64.c: Adjust for scandir.c change.
15308 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
15309 __scandirat64, and __scandir_cancel_handler.
15310 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
15311 additional parameter and use openat instead of open (outside of ld.so).
15312 Add new __opendir as wrapper around __opendirat.
15313 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
15314 here without requiring old scandirat implementation.
15315
879165f2
UD
153162011-08-08 Ulrich Drepper <drepper@gmail.com>
15317
15318 * dirent/scandir.c (cancel_handler): Renamed to
15319 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
15320 defined. Adjust users.
15321 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
15322 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
15323
cb7e923b
UD
153242011-08-04 Ulrich Drepper <drepper@gmail.com>
15325
16292edd
UD
15326 * string/test-string.h (IMPL): Use __STRING to expand name and then
15327 stringify it.
15328
cb7e923b
UD
15329 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
15330 of cleanups.
15331
cff82933
LD
153322011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15333
15334 * string/Makefile: Update.
15335 (strop-tests): Append strncat.
15336 * string/test-wcscmp.c: New file.
15337 New comprehensive test for wcscmp.
15338 * string/test-strcmp.c: Update.
15339 (WIDE): New define.
15340
9be9bfcc
AS
153412011-07-22 Andreas Schwab <schwab@redhat.com>
15342
15343 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
15344 line.
15345
2e96f1c7
AS
153462011-07-26 Andreas Schwab <schwab@redhat.com>
15347
15348 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
15349 encoding to ACE if AI_IDN.
15350
85188888
JJ
153512011-08-01 Jakub Jelinek <jakub@redhat.com>
15352
15353 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
15354 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
15355
5fa16e9b
LD
153562011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15357
15358 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
15359 Fix overflow bug in strncat.
15360 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
15361
15362 * string/test-strncat.c: Update.
15363 Add new tests for checking overflow bugs.
15364
153652011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15366
15367 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15368 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
15369 * sysdeps/i386/i686/multiarch/strcat.S: New file.
15370 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
15371 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
15372 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
15373 * sysdeps/i386/i686/multiarch/strncat.S: New file.
15374 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
15375 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
15376
15377 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
15378 (USE_AS_STRCAT): Define.
15379 Add strcat and strncat support.
15380 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
15381
8c1a459f
AS
153822011-07-25 Andreas Schwab <schwab@redhat.com>
15383
15384 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
15385 __n bigger than INT_MAX+1.
15386 (__strncmp_g): Likewise.
15387
bba33c28
UD
153882011-07-23 Ulrich Drepper <drepper@gmail.com>
15389
798be72d
UD
15390 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
15391 * libio/stido.h: Likewise.
15392
8accd4dc
UD
15393 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
15394 (AF_NFC): Define.
15395 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
15396 (AF_NFC): Define.
15397
cbff0d96
UD
15398 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
15399 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
15400 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
15401 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
15402 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
15403
9191c04a
UD
15404 [BZ #13021]
15405 * scripts/test-installation.pl: Don't expect libnss_test1 to be
15406 installed.
15407
bba33c28
UD
15408 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
15409 typo.
15410 (_dl_x86_64_save_sse): Likewise.
15411
90f139dd
UD
154122011-07-22 Ulrich Drepper <drepper@gmail.com>
15413
1aae088a
UD
15414 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
15415 OSXSAVE.
15416 (_dl_x86_64_save_sse): Likewise.
15417
8e2045f5
UD
15418 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
15419
90f139dd
UD
15420 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
15421
1d002f25
AS
154222011-07-21 Andreas Schwab <schwab@redhat.com>
15423
15424 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
15425 change.
15426 (_dl_x86_64_save_sse): Use correct AVX check.
15427
21137f89
UD
154282011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15429
15430 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
15431 bug in strncpy/strncat.
15432 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
15433
a65c0b7a
UD
154342011-07-21 Ulrich Drepper <drepper@gmail.com>
15435
15436 * string/tester.c (test_strcat): Add tests for different alignments
15437 of source and destination.
15438 (test_strncat): Likewise.
15439
6986b98a
UD
154402011-07-20 Ulrich Drepper <drepper@gmail.com>
15441
90bb2039
UD
15442 [BZ #12852]
15443 * posix/glob.c (glob): Check passed in values before using them in
15444 expressions to avoid some overflows.
15445 (glob_in_dir): Likewise.
15446
5644ef54
UD
15447 [BZ #13007]
15448 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
15449 check for AVX enablement so that we don't crash with old kernels and
15450 new hardware.
15451 * elf/tst-audit4.c: Add same checks here.
15452 * elf/tst-audit6.c: Likewise.
15453
15454 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 15455
bfc9dc9b
AS
154562011-07-09 Andreas Schwab <schwab@linux-m68k.org>
15457
15458 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
15459
702e64bb
UD
154602011-07-20 Ulrich Drepper <drepper@gmail.com>
15461
15462 * po/cs.po: Update from translation team.
15463 * po/bg.po: Likewise.
15464
295e904f
MP
154652011-07-12 Marek Polacek <mpolacek@redhat.com>
15466
15467 * misc/sys/cdefs.h: Add support for const attribute.
15468 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
15469 to gnu_dev_{major,minor,makedev} functions.
15470
3ff94596
MP
154712011-07-20 Marek Polacek <mpolacek@redhat.com>
15472
15473 * intl/dcigettext.c (get_output_charset): Add missing bracket.
15474
28b59fca
AS
154752011-07-20 Andreas Schwab <schwab@redhat.com>
15476
15477 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
15478 strlen results.
15479
19df733e
AK
154802011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15481
15482 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
15483 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
15484 register in order to avoid conflicts with the soft frame pointer
15485 being held in r11 when necessary.
15486 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
15487 (INTERNAL_VSYSCALL_NCS): Likewise.
15488
c8835729
MP
154892011-07-14 Marek Polacek <mpolacek@redhat.com>
15490
15491 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
15492 * elf/dl-fini.c (_dl_fini): Adjust caller.
15493 * elf/dl-close.c (_dl_close_worker): Likewise.
15494 * sysdeps/generic/ldsodefs.h: Adjust declaration.
15495
b902330c
MP
154962011-07-15 Marek Polacek <mpolacek@redhat.com>
15497
8991e135
MP
15498 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
15499 "aux_cache->nlibs < 0".
15500
b902330c
MP
15501 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
15502 in the reload-count case.
15503
99710781
LD
155042011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15505
15506 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15507 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
15508 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
15509 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
15510 * sysdeps/x86_64/multiarch/strcat.S: New file.
15511 * sysdeps/x86_64/multiarch/strncat.S: New file.
15512 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
15513 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
15514 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
15515 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
15516 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
15517 (USE_AS_STRCAT): Define.
15518 Add strcat and strncat support.
15519 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
15520 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
15521 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
15522 * string/strncat.c: Update.
15523 (USE_AS_STRNCAT): Define.
15524 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15525 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
15526 and i7.
15527 * sysdeps/x86_64/multiarch/init-arch.h
15528 (bit_Prefer_PMINUB_for_stringop): New.
15529 (index_Prefer_PMINUB_for_stringop): Likewise.
15530 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
15531 bit_Prefer_PMINUB_for_stringop.
15532
7dc6bd90
UD
155332011-07-19 Ulrich Drepper <drepper@gmail.com>
15534
15535 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
15536 buffer64.
15537 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
15538 of casting of buffer.
15539 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
15540 buffer32 and buffer64.
15541 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
15542 writes instead of casting of buffer.
15543 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
15544 buffer32.
15545 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
15546 casting of buffer.
15547
e0e72284
AS
155482011-07-19 Andreas Schwab <schwab@redhat.com>
15549
15550 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
15551
feb1eb0b
UD
155522011-07-19 Ulrich Drepper <drepper@gmail.com>
15553
15554 * nscd/nscd.c (termination_handler): Don't do anything for a database
15555 if it has not yet been initialized.
15556
298711ff
UD
155572011-07-18 Ulrich Drepper <drepper@gmail.com>
15558
15559 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
15560
155612011-07-15 Marek Polacek <mpolacek@redhat.com>
15562
15563 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
15564
f9d68389
UD
155652011-07-18 Ulrich Drepper <drepper@gmail.com>
15566
15567 * po/nl.po: Update from translation team.
15568 * po/sv.po: Likewise.
15569
db290cf5
RM
155702011-07-16 Roland McGrath <roland@hack.frob.com>
15571
15572 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
15573 now disallowed by GCC.
5c550700 15574
fd5e21c7
RM
15575 * configure.in (use-default-link): Default to yes if a test -shared
15576 link meets our qualifications.
15577 * configure: Regenerated.
15578
5c550700
RM
15579 * config.make.in (output-format): New variable.
15580 * configure.in: Check for ld --print-output-format support.
15581 * configure: Regenerated.
15582 * Makerules ($(common-objpfx)format.lds)
15583 [$(output-format) != unknown]: Just use $(output-format),
15584 instead of the linker-script munging.
15585
9fa2c032
RM
155862011-07-14 Roland McGrath <roland@hack.frob.com>
15587
a6928d51
RM
15588 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
15589 of $(common-objpfx)shlib.lds.
15590 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
15591
661607b3
RM
15592 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
15593 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
15594
9fa2c032
RM
15595 * configure.in (-z relro check): Adjust test code to add a large
15596 writable data section after it.
15597 * configure: Regenerated.
15598
defe9061
RM
155992011-07-11 Roland McGrath <roland@hack.frob.com>
15600
15601 * configure.in (-z relro check): Fix test code to make the variable
15602 truly const.
15603 * configure: Regenerated.
15604
319b9ad4
UD
156052011-07-11 Ulrich Drepper <drepper@gmail.com>
15606
15607 * nscd/nscd.h (struct traced_file): Define.
15608 (struct database_dyn): Remove inotify_descr, reset_res, and filename
15609 elements. Add traced_files.
15610 (inotify_fd): Declare.
15611 (register_traced_file): Declare.
15612 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
15613 (inotify_fd): Export.
15614 (resolv_conf_descr): Remove.
15615 (nscd_init): Move inotify descriptor creation to main.
15616 Don't register files for notification here.
15617 (register_traced_file): New function.
15618 (invalidate_cache): Don't use reset_res to determine whether to call
15619 res_init, go through the list of registered files.
15620 (main_loop_poll): The inotify descriptors are now stored in the
15621 structures for the traced files.
15622 (main_loop_epoll): Likewise
15623 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
15624 to __nss_disable_nscd.
15625 * nscd/cache.c (prune_cache): There is no single inotify descriptor
15626 for a database anymore. Check the records for all the registered
15627 files instead.
15628 * nss/Makefile (libnss_files-routines): Add files-init.
15629 (libnss_db-routines): Add db-init.
15630 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
15631 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
15632 * nss/nss_db/db-init.c: New file.
15633 * nss/nss_files/files-init.c: New file.
15634 * nss/nsswitch.c (nss_load_library): New function. Broken out of
15635 __nss_lookup_function.
15636 (__nss_lookup_function): Call nss_load_library.
15637 (nss_load_all_libraries): New function.
15638 (__nss_disable_nscd): Take parameter with callback function for files
15639 to register. Set is_nscd. Load all the DSOs for the NSS modules
15640 used for the cached services.
15641 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
15642 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
15643 options for features to all the files in nscd.
15644
15645 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
15646
23bee3e8
RM
156472011-07-10 Roland McGrath <roland@hack.frob.com>
15648
15649 * csu/elf-init.c (__libc_csu_init): Comment typo.
15650
46a5b7f0
UD
156512011-07-09 Ulrich Drepper <drepper@gmail.com>
15652
15653 * po/pl.po: Update from translation team.
15654 * po/ja.po: Likewise.
15655 * po/ru.po: Likewise.
15656 * po/ko.po: Likewise.
15657 * po/fr.po: Likewise.
15658
d30cf5bb
RM
156592011-07-09 Roland McGrath <roland@hack.frob.com>
15660
113ddea4
RM
15661 * configure.in (.ctors/.dtors header and trailer check):
15662 Use an empirical test on a built program.
15663 * configure: Regenerated.
15664
574920b4
RM
15665 * configure.in (-z relro check): Use an empirical test on a built DSO.
15666 Detect, but do not require, on ia64.
15667 * configure: Regenerated.
15668
d30cf5bb
RM
15669 * configure.in (READELF): Find it with AC_CHECK_TOOL.
15670 Update tests that use readelf to use $READELF instead.
15671 * configure: Regenerated.
15672
8538fdb3
UD
156732011-07-08 Ulrich Drepper <drepper@gmail.com>
15674
15675 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
15676 if the result is not used.
15677
04d08991
AJ
156782011-07-05 Andreas Jaeger <aj@suse.de>
15679
15680 [BZ#9696]
15681 * stdlib/tst-strtod.c: Add testcase.
15682
de283087
AD
156832011-07-07 Ulrich Drepper <drepper@gmail.com>
15684
4e5f31c8 15685 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 15686 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
15687 The latter has a higher limit. Take additional parameter to pass to
15688 the new function.
15689 (__pathconf): Pass file to __statfs_link_max.
15690 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
15691 __statfs_link_max.
15692 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
15693 __statfs_link_max.
15694
de283087
AD
15695 [BZ #12868]
15696 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
15697 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15698 Handle Lustre.
15699 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
15700 (__statfs_filesize_max): Likewise.
15701 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
15702
c75fa153
AJ
157032011-07-05 Andreas Jaeger <aj@suse.de>
15704
15705 * resolv/res_comp.c (dn_skipname): Remove unused variable.
15706
1a544854
UD
157072011-07-06 Marek Polacek <mpolacek@redhat.com>
15708
15709 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
15710 `status' variable.
15711 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
15712 Likewise.
15713
6f0eec67
UD
157142011-07-04 H.J. Lu <hongjiu.lu@intel.com>
15715
15716 * Makefile (strop-tests): Add strncat.
15717 * string/test-strncat.c: New file.
15718
aae30307
UD
157192011-06-30 Marek Polacek <mpolacek@redhat.com>
15720
15721 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
15722
c0cfb5eb
UD
157232011-06-21 Andreas Jaeger <aj@suse.de>
15724
15725 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
15726 Copy rule from iconvdata/Makefile.
15727
01636b21
UD
157282011-07-06 Ulrich Drepper <drepper@gmail.com>
15729
15730 [BZ #12922]
15731 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
15732 but no long options are defined, just return 'W'.
15733
9895c8bc
UD
157342011-06-22 Marek Polacek <mpolacek@redhat.com>
15735
15736 [BZ #9696]
15737 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
15738
5d4cf042
UD
157392011-07-06 Ulrich Drepper <drepper@gmail.com>
15740
15741 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
15742 netgroups to read.
960e5535 15743 (innetgr): Likewise.
5d4cf042 15744
751eb97e
RM
157452011-07-05 Roland McGrath <roland@hack.frob.com>
15746
15747 * config.make.in (install_root): Default to $(DESTDIR).
15748
f15f1e45
UD
157492011-07-05 Ulrich Drepper <drepper@gmail.com>
15750
15751 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
15752
4e34ac6a
RM
157532011-07-02 Roland McGrath <roland@hack.frob.com>
15754
5e9b6af4
RM
15755 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
15756
84f9ea0f
RM
15757 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
15758 containing directory rather than embedding absolute directory names.
15759
ea5ee9f7
RM
15760 * scripts/check-local-headers.sh: Rewritten using awk.
15761 Match by word, not by line. Print error messages for matches.
15762 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
15763
1b74661a
RM
15764 * Makerules [shlib-lds-flags empty]:
15765 ($(common-objpfx)libc_pic.opts): New target.
15766 ($(common-objpfx)libc_pic.os.clean): New target.
15767 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
15768
15769 * config.make.in (OBJCOPY): New variable.
15770 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
15771 * configure: Regenerated.
15772
f781ef40
RM
15773 * config.make.in (use-default-link): New variable.
15774 * configure.in (use_default_link): Grok --with-default-link to set it.
15775 * configure: Regenerated.
15776 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
15777 (shlib-lds, shlib-lds-flags): Define to empty.
15778
2d4fa81e
RM
15779 * Makerules (shlib-lds): New variable.
15780 (shlib-lds-flags): New variable.
15781 (build-shlib, build-moduile, build-module-asneeded): Use it.
15782 ($(common-objpfx)libc.so): Use $(shlib-lds).
15783 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
15784 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
15785
31fffa6b
RM
15786 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
15787 DT_FLAGS/DT_FLAGS_1 with zero flags.
15788
4e34ac6a
RM
15789 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
15790 linker script munging.
15791
fcfc776b
UD
157922011-07-02 Ulrich Drepper <drepper@gmail.com>
15793
15794 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
15795 as 128-bit value.
15796 * crypt/sha512.c (sha512_process_block): Perform total addition using
15797 128-bit if possible.
15798 (__sha512_finish_ctx): Likewise.
15799 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
15800 as 64-bit value.
15801 * crypt/sha256.c (SWAP64): Define.
15802 (sha256_process_block): Perform total addition using 64-bit if
15803 possible.
15804 (__sha256_finish_ctx): Likewise.
15805
99231d9a
UD
158062011-07-01 Ulrich Drepper <drepper@gmail.com>
15807
15808 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
15809 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15810 * nscd/hstcache.c (cache_addhst): Likewise.
15811 * nscd/grpcache.c (cache_addgr): Likewise.
15812 * nscd/aicache.c (addhstaiX): Likewise
15813 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
15814
445b4a53
TK
158152011-07-01 Thorsten Kukuk <kukuk@suse.de>
15816
15817 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
15818 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15819 * nscd/hstcache.c (cache_addhst): Likewise.
15820 * nscd/grpcache.c (cache_addgr): Likewise.
15821 * nscd/aicache.c (addhstaiX): Likewise
15822
6d4d8e8e
AS
158232011-07-01 Andreas Schwab <schwab@redhat.com>
15824
15825 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
15826 domain only when needed.
15827
89f654c5
AS
158282011-06-30 Andreas Schwab <schwab@redhat.com>
15829
15830 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
15831 is always restored.
15832
cf3b23ff
UD
158332011-06-29 Ulrich Drepper <drepper@gmail.com>
15834
15835 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
15836 are re-adding the entry.
15837 * nscd/servicescache.c (cache_addserv): Likewise.
15838
751626f9
AJ
158392011-06-30 Aurelien Jarno <aurelien@aurel32.net>
15840
15841 * sysdeps/generic/dl-irel.h: fix protection against multiple
15842 inclusions.
15843 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
15844
9113ea1f
UD
158452011-06-28 Ulrich Drepper <drepper@gmail.com>
15846
5c0b8d90
UD
15847 [BZ #12935]
15848 * malloc/memusage.sh: Fix quoting in message.
15849 * debug/xtrace.sh: Likewise.
15850
9113ea1f
UD
15851 * configure.in: Remove support for --experimental-malloc option, make
15852 it the default.
15853 * config.make.in: Likewise.
15854 * malloc/Makefile: Likewise.
15855
a4172181
AS
158562011-06-27 Andreas Schwab <schwab@redhat.com>
15857
15858 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
15859 two-byte characters.
15860
78a7eee7
RM
158612011-06-27 Roland McGrath <roland@hack.frob.com>
15862
62bede13
RM
15863 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
15864 AC_CACHE_CHECK invocation.
15865 * configure: Regenerated.
15866
78a7eee7
RM
15867 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
15868
5ce33a62
UD
158692011-06-27 Ulrich Drepper <drepper@gmail.com>
15870
034807a9
UD
15871 [BZ #12350]
15872 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
15873 bit from old_res_options.
15874
4902da17
UD
15875 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
15876
5ce33a62
UD
15877 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
15878 value type for setfct.
15879
c2344f56
L
158802011-06-23 H.J. Lu <hongjiu.lu@intel.com>
15881
15882 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
15883 __gettimeofday instead of gettimeofday.
15884
68468076
UD
158852011-06-26 Ulrich Drepper <drepper@gmail.com>
15886
15887 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
15888
acb0d739
L
158892011-06-24 H.J. Lu <hongjiu.lu@intel.com>
15890
15891 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
15892
15893 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
15894 info.
15895
8912479f
L
158962011-06-22 H.J. Lu <hongjiu.lu@intel.com>
15897
15898 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15899 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
15900 strcpy-sse2-unaligned strncpy-sse2-unaligned
15901 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
15902 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
15903 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
15904 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
15905 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
15906 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
15907 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
15908 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
15909 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
15910 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
15911 (STRCPY): Support SSE2 and SSSE3 versions.
15912
d5495a11
UD
159132011-06-24 Ulrich Drepper <drepper@gmail.com>
15914
15915 [BZ #12874]
15916 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
15917 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
15918 kernels which artificially limit size of requests.
15919
0b1cbaae
L
159202011-06-22 H.J. Lu <hongjiu.lu@intel.com>
15921
15922 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15923 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
15924 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
15925 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
15926 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
15927 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
15928 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
15929 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
15930 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
15931 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
15932 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
15933 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
15934 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
15935 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
15936 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
15937 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15938 Enable unaligned load optimization for Intel Core i3, i5 and i7
15939 processors.
15940 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
15941 Define.
15942 (index_Fast_Unaligned_Load): Define.
15943 (HAS_FAST_UNALIGNED_LOAD): Define.
15944
07f494a0
MP
159452011-06-23 Marek Polacek <mpolacek@redhat.com>
15946
15947 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
15948
fa3fc0fe
UD
159492011-06-22 Ulrich Drepper <drepper@gmail.com>
15950
15951 [BZ #12907]
15952 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
15953 until it is clear that the information is realy needed.
15954 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
15955
e12df166
AS
159562011-06-22 Andreas Schwab <schwab@redhat.com>
15957
15958 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
15959
852eb34d
UD
159602011-06-22 Ulrich Drepper <drepper@gmail.com>
15961
84e2a551
UD
15962 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
15963 /sys/devices/system/cpu/online if it is usable.
15964
852eb34d
UD
15965 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
15966 reading the information from the /proc filesystem to once a second.
15967
6e502e19
UD
159682011-06-21 Andreas Jaeger <aj@suse.de>
15969
15970 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
15971 NULL after inclusion of kernel headers.
15972
75d39ff2
UD
159732011-06-21 Ulrich Drepper <drepper@gmail.com>
15974
51f9aa6a
UD
15975 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
15976 calls to internal_setent.
15977
c0244a9d
UD
15978 [BZ #12885]
15979 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
15980 addresses using gethostbyname4_r ignore IPv4 addresses.
15981
c5e3c2ae
UD
15982 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
15983 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
15984
75d39ff2
UD
15985 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
15986
42675c6f
DM
159872011-06-20 David S. Miller <davem@davemloft.net>
15988
15989 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
15990 inclusions.
15991 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
15992
15993 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
15994 (elf_irel): Use it.
15995 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
15996 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
15997 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
15998 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
15999 * sysdeps/x86_64/dl-irel.h: Likewise.
16000
16001 * elf/dl-runtime.c: Use elf_ifunc_invoke.
16002 * elf/dl-sym.c: Likewise.
16003
57912a71
UD
160042011-06-15 Ulrich Drepper <drepper@gmail.com>
16005
16006 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
16007 need to dereference resplen2.
16008
ee22793d
AS
160092011-06-14 Andreas Schwab <schwab@redhat.com>
16010
16011 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
16012
a9e836b0
UD
160132011-06-15 Ulrich Drepper <drepper@gmail.com>
16014
77fb9117
UD
16015 * Makeconfig: Define vardbdir and inst_vardbdir.
16016 * nss/Makefile: Add rules to install db-Makefile.
16017
40c1b22c
UD
16018 * nss/nss_db/db-XXX.c: Cleanup.
16019
9f2da732
UD
16020 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
16021 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
16022 GLIBC_PRIVATE.
16023 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
16024 * nss/makedb.c: Implement -g option to specify that value strings
16025 are generated and should not be added to table iterated over for
16026 get*ent calls.
16027 * nss/nss_db/db-initgroups.c: New file.
16028
82e9a1f7
UD
16029 * nss/getent.c: Add support for initgroups lookups through getgrouplist
16030 interface.
16031
c41af17e
UD
16032 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
16033 (internal_getgrouplist): Adjust to name change.
16034 Update use_initgroups_entry if this is not the first call.
16035 * nss/databases.def: Add initgroups entry.
16036
a9e836b0
UD
16037 * nss/makedb.c (compute_tables): Check result of multiple hash table
16038 sizes to minimize maximum chain length.
16039
2666d441
UD
160402011-06-14 Ulrich Drepper <drepper@gmail.com>
16041
16042 * Versions.def: Add entry for libnss_db.
16043 * shlib-versions: Likewise.
16044 * nss/Makefile: Add rules to build libnss_db.
16045 * nss/Versions: Add libnss_db information. Organize libnss_files
16046 entries better.
16047 * nss/db-Makefile: Add gshadow support. Change rules for the new
16048 makedb progra. Some minor improvements to generate smaller files.
16049 * nss/nss_db/nss_db.h: Move NSS database header data structures to
16050 here from...
16051 * nss/makedb.c: ...here.
16052 Improve database format to be smaller and require less memory at
16053 runtime.
16054 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
16055 db anymore.
16056 * nss/nss_db/db-netgrp.c: Likewise.
16057 * nss/nss_db/db-open.c: Likewise.
16058 * nss/nss_files/flies-XXX.x: Adjust comments.
16059 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
16060 * nss/nss_files/files-grp.c: Likewise.
16061 * nss/nss_files/files-hosts.c: Likewise.
16062 * nss/nss_files/files-network.c: Likewise.
16063 * nss/nss_files/files-proto.c: Likewise.
16064 * nss/nss_files/files-pwd.c: Likewise.
16065 * nss/nss_files/files-rpc.c: Likewise.
16066 * nss/nss_files/files-service.c: Likewise.
16067 * nss/nss_files/files-sgrp.c: Likewise.
16068 * nss/nss_files/files-spwd.c: Likewise.
16069 * nss/nss_db/db-alias.c: Removed.
16070 * nss/nss_db/dummy-db.h: Removed.
16071
9ee76b5a
UD
160722011-06-02 Ulrich Drepper <drepper@gmail.com>
16073
16074 * nss/makedb.c: Rewritten to not use database library.
16075 * nss/Makefile: Update to build new makedb program.
16076
c71ca1f8
AJ
160772011-06-14 Andreas Jaeger <aj@suse.de>
16078
16079 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
16080 memset declaration.
16081
3154bfb8
UD
160822011-06-10 Andreas Schwab <schwab@redhat.com>
16083
16084 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
16085 tmpbuf.
16086
b350afab
RM
160872011-06-10 Roland McGrath <roland@hack.frob.com>
16088
decd4e50
RM
16089 * Makerules (shlib.lds): Fail if the linker script comes out empty.
16090 * elf/Makefile ($(objpfx)ld.so): Likewise.
16091
5615eaf2
RM
16092 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
16093 Don't list ld.so twice in dependencies.
16094
16095 * posix/bug-regex31.c: Include <stdlib.h>.
16096
16097 * nscd/hstcache.c (cache_addhst): Remove unused variable.
16098
16099 * nis/nss_compat/compat-spwd.c
16100 (getspent_next_nss_netgr): Remove unused variable.
16101 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
16102
16103 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
16104 nonmembers" output to use the right array.
16105
16106 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
16107
16108 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
16109
16110 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
16111 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
16112 * catgets/gencat.c (read_input_file): Likewise.
16113 * locale/programs/locarchive.c (enlarge_archive): Likewise.
16114
16115 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
16116 variable definition inside #if's controlling its use.
16117
16118 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
16119
16120 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
16121
16122 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
16123
16124 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
16125 unreachable code.
16126
16127 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
16128
b68e08db
RM
16129 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
16130 * configure: Regenerated.
16131
b350afab
RM
16132 * Makerules: Revert last change.
16133 * elf/Makefile: Likewise.
16134
28368601
RM
161352011-06-09 Roland McGrath <roland@hack.frob.com>
16136
16137 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
16138 * elf/Makefile ($(objpfx)librtld.os): Likewise.
16139 (reloc-link): Likewise.
16140
11988f8f
UD
161412011-06-09 Ulrich Drepper <drepper@gmail.com>
16142
16143 * elf/Makefile: Add rules to build pldd.
16144 * elf/pldd.c: New file.
16145 * elf/pldd-xx.c: New file.
16146
e80fab37
UD
161472011-06-07 Ulrich Drepper <drepper@gmail.com>
16148
16149 * version.h: Update for 2.15 development version.
16150
9b849836
DM
161512011-06-07 David S. Miller <davem@davemloft.net>
16152
16153 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
16154 ifuncs.
16155 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
16156 elf_machine_lazy_rel): Likewise.
16157 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
16158 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
16159 elf_machine_lazy_rel): Likewise.
16160 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
16161 dl_hwcap via passed in argument.
16162 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
16163 Likewise.
16164
5a31b283
AK
161652011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16166
16167 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
16168
069e52f8
RM
161692011-06-06 Roland McGrath <roland@hack.frob.com>
16170
16171 [BZ #12849]
16172 * manual/fdl-1.1.texi: New file, verbatim from:
16173 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
16174 * manual/lgpl-2.1.texi: New file, verbatim from:
16175 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
16176 * manual/Makefile (licenses): New variable, list those new file names.
16177 (texis): Use it.
16178 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
16179
16180 * manual/fdl.texi: File removed.
16181 * manual/lesser.texi: File removed.
16182 * manual/libc.texinfo (Copying, Documentation License):
16183 Use new @include file names, put @appendix directive before @include.
16184
f16846a5
JJ
161852011-06-04 Jakub Jelinek <jakub@redhat.com>
16186
16187 [BZ #12841]
16188 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
16189 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
16190 (mq_open): Add __NTH.
16191
3d29045b
L
161922011-06-02 H.J. Lu <hongjiu.lu@intel.com>
16193
16194 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16195 Assume Intel Core i3/i5/i7 processor if AVX is available.
16196
8c297311
UD
161972011-05-31 Ulrich Drepper <drepper@gmail.com>
16198
16199 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
16200 typo.
16201
c8fc0c91
UD
162022011-05-31 Andreas Schwab <schwab@redhat.com>
16203
16204 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
16205 memory. Use alloca_account. Fix memory leak when retrying.
16206
5b27a807
UD
162072011-05-31 Ulrich Drepper <drepper@gmail.com>
16208
356f8bc6
UD
16209 * version.h (RELEASE): Bump for 2.14 release.
16210 * include/features.h (__GLIBC_MINOR__): Bump to 14.
16211
5b27a807
UD
16212 * config.make.in (RANLIB): Remove entry.
16213
01f16ab0
UD
162142011-05-30 Ulrich Drepper <drepper@gmail.com>
16215
41fce8bd
UD
16216 * po/Makefile (po-sed-cmd): Add ksh to extensions.
16217 (libc.pot): Work around missing support for .ksh extension in xgettext.
16218
4769ae77
UD
16219 [BZ #12684]
16220 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
16221 if both request failed.
16222 (send_dg): In case of server errors clear resplen or *resplen2.
16223
6b1e7d19
UD
16224 [BZ #12454]
16225 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
16226 when there are multiple maps.
16227 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
16228 (_dl_fini): Remove test here.
16229
01f16ab0
UD
16230 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
16231
b1ebd700
UD
162322011-05-29 Ulrich Drepper <drepper@gmail.com>
16233
7ae22829
UD
16234 [BZ #12350]
16235 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
16236 bit from old_res_options.
16237 (gaih_inet): Likewise.
16238
553149f6 16239 [BZ #11099]
18a84741 16240 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
16241 as signed.
16242
652ffab1
UD
16243 * resolv/res_init.c (res_setoptions): Make the code more compact.
16244
16985fd0
UD
16245 [BZ #11558]
16246 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
16247 set RES_USEVC.
16248
0464f746
UD
16249 [BZ #11634]
16250 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
16251
7d17596c
UD
16252 * malloc/malloc.h: Mark malloc hook variables as deprecated.
16253
cf6bbbd7
UD
16254 [BZ #11781]
16255 * malloc/malloc.h: Declare malloc hook variables as volatile.
16256
13f1ab36
UD
16257 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
16258 in last patch.
16259
b1ebd700
UD
16260 [BZ #11799]
16261 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 16262 raise in the comment.
80e2212d
UD
16263 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
16264 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
16265 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 16266
ce67228d
UD
162672011-05-28 Ulrich Drepper <drepper@gmail.com>
16268
8887a920
UD
16269 [BZ #12811]
16270 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
16271 grow the buffers more if it already has to be sufficient.
16272 (build_wcs_upper_buffer): Likewise.
16273 * posix/regexec.c (check_matching): Likewise.
16274 (clean_state_log_if_needed): Likewise.
16275 (extend_buffers): Don't enlarge buffers beyond size of the input
16276 buffer.
16277 Patches mostly by Emil Wojak <emil@wojak.eu>.
16278 * posix/bug-regex32.c: New file.
16279 * posix/Makefile (tests): Add bug-regex32.
16280
4f031072
UD
16281 * locale/findlocale.c (_nl_find_locale): Return right away if
16282 _nl_explode_name failed.
16283 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
16284
d0478f0c
UD
16285 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
16286
de81b246
UD
16287 * debug/xtrace.sh: Unify messages.
16288 * malloc/memusage.sh: Likewise.
16289
c738465a
UD
16290 [BZ #12813]
16291 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
16292 time symbol from vDSO. Substitute with vsyscall if not available.
16293 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
16294 __vdso_time.
16295
f1f929d7
UD
16296 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
16297 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
16298 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
16299 Add sendmmsg and internal_sendmmsg.
16300 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
16301 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
16302 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
16303
ce67228d
UD
16304 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
16305 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
16306 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
16307
e57420c6
UD
163082011-05-27 Ulrich Drepper <drepper@gmail.com>
16309
a8509ca5
UD
16310 [BZ #12813]
16311 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
16312 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
16313 available.
16314 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
16315 __vdso_getcpu.
16316
e57420c6
UD
16317 [BZ #12814]
16318 * iconvdata/Makefile (tests): Add bug-iconv9.
16319 * iconvdata/bug-iconv9.c: New file.
16320
4d07db15
AS
163212011-05-27 Andreas Schwab <schwab@redhat.com>
16322
16323 [BZ #12814]
16324 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
16325
ea486f69
JJ
163262011-05-25 Jakub Jelinek <jakub@redhat.com>
16327
16328 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
16329 (struct user_regs_struct): Change intcs field back to cs.
16330
6f038433
UD
163312011-05-25 Ulrich Drepper <drepper@gmail.com>
16332
16333 * po/ja.po: Update from translation team.
16334
67f86a25
UD
163352011-05-23 Ulrich Drepper <drepper@gmail.com>
16336
16337 [BZ #12795]
16338 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
16339 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
16340
def7fbd6
AS
163412011-05-20 Andreas Schwab <schwab@redhat.com>
16342
16343 * stdlib/longlong.h: Update from GCC.
16344
f50ef8f1
AS
163452011-05-23 Andreas Schwab <schwab@redhat.com>
16346
16347 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
16348 parameter name.
16349 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
16350 Add parameter name.
16351 (__sysconf): Pass it down.
16352
de7ce8f1
UD
163532011-05-22 Ulrich Drepper <drepper@gmail.com>
16354
f2962a71
UD
16355 [BZ #12671]
16356 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
16357 some situations.
16358 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
16359 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
16360 add in in __libc_use_alloca calls. Adjust callers.
16361 (glob): Use malloc in some situations.
16362
de7ce8f1
UD
16363 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
16364 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
16365 pltexit.
16366
aec84f53
UD
163672011-05-21 Ulrich Drepper <drepper@gmail.com>
16368
05bb4a68
UD
16369 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
16370 and CLOCK_BOOTTIME_ALARM.
16371
7ea72f99
UD
16372 [BZ #12782]
16373 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
16374 is returned.
16375
7e4afad5
UD
16376 * string/_strerror.c (__strerror_r): Print negative errors as signed
16377 numbers.
16378
8e211fec
UD
16379 [BZ #12777]
16380 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
16381 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
16382 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
16383
f7d82dc9
UD
16384 * configure.in: Fix typo in redirection and correct removal of test
16385 files in two cases.
16386
cc9e536d
UD
16387 [BZ #12788]
16388 * locale/setlocale.c (new_composite_name): Fix test to check for
16389 identical name of all categories.
16390
aec84f53
UD
16391 [BZ #12792]
16392 * libio/filedoalloc.c (local_isatty): New function.
16393 (_IO_file_doallocate): Use local_isatty.
16394 * stdio-common/perror.c (perror): In case a new stream is used
16395 forward the stream error.
16396 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
16397 error flag.
16398
78e64fdc
RT
163992011-05-20 Ulrich Drepper <drepper@gmail.com>
16400
34a9094f
UD
16401 [BZ #11869]
16402 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
16403 alloca.
16404 * include/alloca.h (extend_alloca_account): Define.
16405
78e64fdc
RT
16406 [BZ #11857]
16407 * posix/regex.h: Fix comments with documentation of user-accessible
16408 fields after compilation and describe correct free'ing of pattern
16409 after re_compile_pattern.
16410 Patch by Reuben Thomas <rrt@sc3d.org>.
16411
457bddfc
RA
164122011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
16413
16414 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
16415 and -mno-altivec to prevent the compiler from using Altivec and/or
16416 VSX instructions when the corresponding registers are not available.
16417
a4527b51
AS
164182011-05-19 Andreas Schwab <schwab@redhat.com>
16419
16420 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
16421
ed690b2f
UD
164222011-05-19 Ulrich Drepper <drepper@gmail.com>
16423
16424 * libio/freopen.c (freopen): Use __dup2, not dup2.
16425 * libio/freopen64.c (freopen64): Likewise.
16426
8db73634
L
164272011-05-17 H.J. Lu <hongjiu.lu@intel.com>
16428
16429 [BZ #12775]
16430 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
16431 * math/Makefile (tests): Add test-powl.
16432 (CFLAGS-test-powl.c): Define.
16433 * math/test-powl.c: New file.
16434
0a197a9d
L
164352011-05-16 H.J. Lu <hongjiu.lu@intel.com>
16436
16437 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
16438
ee30c380
UD
164392011-05-17 Ulrich Drepper <drepper@gmail.com>
16440
16441 [BZ #11837]
16442 * iconvdata/gb18030.c: Update to GB18020-2005.
16443
6ce75379
UD
164442011-05-16 Ulrich Drepper <drepper@gmail.com>
16445
a4b89fd8
AR
16446 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
16447 RE_SYNTAX_POSIX_AWK): Update to match recent development.
16448 Patch by Aharon Robbins <arnold@skeeve.com>.
16449
ea389b12
UD
16450 [BZ #11892]
16451 * stdlib/putenv.c (putenv): Don't always create copy of the variable
16452 on the stack.
16453
68a3f91f
UD
16454 [BZ #11895]
16455 * misc/pselect.c (__pselect): Handle timeout value errors hidden
16456 through underflows.
16457
15cc7dd1
UD
16458 [BZ #12766]
16459 * misc/error.c (error_at_line): Ensure file_name and old_file_name
16460 point to strings before performing equality test for error_one_per_line
16461 mode.
16462
f3799213
UD
16463 [BZ #11697]
16464 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
16465
d79a9c94
UD
16466 [BZ #11820]
16467 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
16468 (struct user_fpregs_struct): Avoid __uint*_t types.
16469
56e5eb46
UD
16470 [BZ #6420]
16471 * malloc/mtrace.c (tr_where): Add additional parameter to point to
16472 symbol info. Use it instead of calling _dl_addr locally.
16473 (lock_and_info): New function.
16474 (tr_freehook): Call lock_and_info and pass symbol info as additional
16475 parameter to tr_where.
16476 (tr_mallochook): Likewise.
16477 (tr_reallochook): Likewise.
16478 (tr_memalignhook): Likewise.
16479
6ce75379
UD
16480 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
16481 used and couldn't be at all thread-safe.
16482
f8a3b5bf
UD
164832011-05-15 Ulrich Drepper <drepper@gmail.com>
16484
94b7cc37
UD
16485 * libio/freopen.c (freopen): Don't close old file descriptor
16486 before the new one is opened. Instead dup the new file descriptor
16487 to the old one after the new stream is created.
16488 * libio/freopen64.c (freopen64): Likewise.
16489 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
16490 * libio/fileops.c (_IO_new_file_close_it): Handle new
16491 _IO_FLAGS2_NOCLOSE flag.
16492 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
16493 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
16494 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
16495 _IO_FLAGS2_NOCLOSE flag.
16496 * include/unistd.h: Add hidden_proto for dup3.
16497 Define __have_dup3.
16498 * io/dup3.c: Define hidden symbol.
16499 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
16500
bd25564e
UD
16501 [BZ #7101]
16502 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
16503 when an incomplete long option is used.
16504 * posix/tst-getopt_long1.c: New file.
16505 * posix/Makefile (tests): Add tst-getopt_long1.
16506
c84cfef4
UD
16507 [BZ #10138]
16508 * scripts/config.guess: Update from autoconf-2.68.
16509 * scripts/config.sub: Likewise.
16510
3b85df27
UD
16511 [BZ #10157]
16512 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
16513 tests into ...
16514 (has_cpuclock): ...this. New function.
16515 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
16516 macro here based on has_cpuclock code.
16517
15a856b1
UD
16518 [BZ #10149]
16519 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16520 First byte (not low byte) is now always NUL.
16521 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
16522
05f399e6
UD
16523 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16524 Use non-cancelable interfaces.
16525
10a52685 16526 [BZ #9809]
94ecc67d
UD
16527 * locale/iso-639.def: Add entry for Sorani.
16528
f8a3b5bf
UD
16529 [BZ #11901]
16530 * include/stdlib.h: Move include protection to the right place.
16531 Define abort_msg_s. Declare __abort_msg with it.
16532 * stdlib/abort.c (__abort_msg): Adjust type.
16533 * assert/assert.c (__assert_fail_base): New function. Majority
16534 of code from __assert_fail. Allocate memory for __abort_msg with
16535 mmap.
16536 (__assert_fail): Now call __assert_fail_base.
16537 * assert/assert-perr.c: Remove bulk of implementation. Use
16538 __assert_fail_base.
16539 * include/assert.hL Declare __assert_fail_base.
16540 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
16541 mmap.
16542 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
16543
1af4e298
UD
165442011-05-14 Ulrich Drepper <drepper@gmail.com>
16545
f8a3b5bf 16546 [BZ #11952]
d26dfc60
MG
16547 [BZ #12453]
16548 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
16549 until all modules are registered in the DTV.
16550 * elf/Makefile: Add rules to build and run tst-tls19.
16551 * elf/tst-tls19.c: New file.
16552 * elf/tst-tls19mod1.c: New file.
16553 * elf/tst-tls19mod2.c: New file.
16554 * elf/tst-tls19mod3.c: New file.
16555 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
16556
2fc54d6f
UD
16557 [BZ #12083]
16558 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
16559 correctly.
16560
98d76b46
UD
16561 [BZ #12601]
16562 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
16563 two-byte sequence errors.
16564 * iconvdata/Makefile (tests): Add bug-iconv8.
16565 * iconvdata/bug-iconv8.c: New file.
16566
da3c19ef
UD
16567 [BZ #12626]
16568 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
16569 buf2 definition.
16570
ca408c15
UD
16571 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
16572
d6f67f7d
UD
16573 [BZ #12432]
16574 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
16575 (dummy_getcfa): New function.
16576 (init): Get _Unwind_GetCFA address, use dummy if not found.
16577 (backtrace_helper): In recursion check, also check whether CFA changes.
16578 (__backtrace): Completely initialize arg.
16579
1af4e298 16580 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
16581 storing incomplete byte sequence in state object. Avoid testing for
16582 guaranteed too small input if we know there is enough data available.
1af4e298 16583
da62f81b
AS
165842011-05-11 Andreas Schwab <schwab@redhat.com>
16585
16586 * Makeconfig (+link-pie): Indent.
16587 * Rules (binaries-pie): Define if $(have-fpie) and
16588 $(build-shared).
16589 (binaries-shared): Also filter out $(binaries-pie).
16590 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
16591 * nscd/Makefile (others-pie): Add nscd.
16592 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
16593 ($(objpfx)nscd): Remove command override.
16594 * login/Makefile (others-pie): Add pt_chown.
16595 ($(objpfx)pt_chown): Remove command override.
16596 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
16597 remove command overrides.
16598
fcabc0f8
UD
165992011-05-13 Ulrich Drepper <drepper@gmail.com>
16600
20030ae6
UD
16601 * libio/tst_putwc.c: Fix error messages.
16602
fcabc0f8
UD
16603 [BZ #12724]
16604 * libio/fileops.c (_IO_new_file_close_it): Always flush when
16605 currently writing and seek to current position when not.
16606 * libio/Makefile (tests): Add bug-fclose1.
16607 * libio/bug-fclose1.c: New file.
16608
320a5dc0
PB
166092011-05-12 Ulrich Drepper <drepper@gmail.com>
16610
16611 [BZ #12511]
16612 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
16613 don't set DF_1_NODELETE here.
16614 (do_lookup_x): When entering new entry test for copy relocation
16615 and if necessary set DF_1_NODELETE flag.
16616 * elf/tst-unique4.cc: New file.
16617 * elf/tst-unique4.h: New file.
16618 * elf/tst-unique4lib.cc: New file.
16619 * elf/Makefile: Add rules to build and run tst-unique4.
16620 Patch by Piotr Bury <pbury@goahead.com>.
16621
22836f52
UD
166222011-05-11 Ulrich Drepper <drepper@gmail.com>
16623
f574184a
UD
16624 [BZ #12052]
16625 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
16626
e1fb097f
UD
16627 [BZ #12625]
16628 * misc/mntent_r.c (addmntent): Flush the stream after the output
16629
22836f52
UD
16630 [BZ #12393]
16631 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
16632 (is_trusted_path_normalize): Skip initial colon. Append slash
16633 to empty buffer. Duplicate is_trusted_path code but allow
16634 constructed patch to be prefix.
16635 (is_dst): Allow $ORIGIN followed by /.
16636 (_dl_dst_substitute): Correct clearing of check_for_trusted.
16637 Correct testing of result of is_trusted_path_normalize
16638 (decompose_rpath): Fix warning.
16639
7b3b0b2a
UD
166402011-05-10 Ulrich Drepper <drepper@gmail.com>
16641
16642 [BZ #11257]
16643 * grp/initgroups.c (internal_getgrouplist): When we found the service
16644 list through the initgroups entry in nsswitch.conf do not always
16645 continue on a successful lookup. Don't always use the
eac80ce2 16646 __nss_group_database value if it is set.
7b3b0b2a
UD
16647 * nss/nsswitch.conf (initgroups): Change action for successful db
16648 lookup to continue for compatibility.
16649
2a81eaa5
UD
166502011-05-09 Ulrich Drepper <drepper@gmail.com>
16651
be97a69e
UD
16652 [BZ #11532]
16653 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
16654 and CP774 modules.
16655 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
16656 and CP774 modules.
16657 * iconvdata/tst-tables.sh: Likewise.
16658 * iconvdata/cp770.c: New file.
16659 * iconvdata/cp771.c: New file.
16660 * iconvdata/cp772.c: New file.
16661 * iconvdata/cp773.c: New file.
16662 * iconvdata/cp774.c: New file.
16663 * iconvdata/testdata/CP770: New file.
16664 * iconvdata/testdata/CP770..UTF8: New file.
16665 * iconvdata/testdata/CP771: New file.
16666 * iconvdata/testdata/CP771..UTF8: New file.
16667 * iconvdata/testdata/CP772: New file.
16668 * iconvdata/testdata/CP772..UTF8: New file.
16669 * iconvdata/testdata/CP773: New file.
16670 * iconvdata/testdata/CP773..UTF8: New file.
16671 * iconvdata/testdata/CP774: New file.
16672 * iconvdata/testdata/CP774..UTF8: New file.
16673
16674 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
16675 END CHARMAP line.
16676 * iconvdata/gen-8bit-gap.sh: Likewise.
16677 * iconvdata/gen-8bit.sh: Likewise.
16678
c1e9e399
UD
16679 * locale/iso-639.def: Add ary entry.
16680
24c55fb3 16681 [BZ #11258]
96b4b1b0
UD
16682 * locale/C-translit.h.in: Add U20A1 transliteration.
16683
bdc2f971
KB
16684 [BZ #12178]
16685 * locale/iso-639.def: Add wae entry.
16686 Patch by Kevin Bortis <bortis@translate-wae.ch>.
16687
2952b117
UD
16688 [BZ #12545]
16689 * locale/programs/localedef.c (construct_output_path): Use ssize_t
16690 for n.
16691
2a81eaa5
UD
16692 [BZ #12711]
16693 * locale/C-translit.h.in: Add entry for U20B9.
16694 Patch by pravin.d.s@gmail.com.
16695
28377d1b
UD
166962011-05-08 Ulrich Drepper <drepper@gmail.com>
16697
7fb90fb8
UD
16698 [BZ #12713]
16699 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
16700 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
16701 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
16702 in rtld. Use *stat64.
7fb90fb8 16703 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 16704 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 16705 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
16706 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
16707 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
16708 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
16709 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
16710 __fstatat64 macros.
7fb90fb8
UD
16711 * include/dirent.h: Add libc_hidden_proto for rewinddir.
16712 * dirent/rewinddir.c: Add libc_hidden_def.
16713 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 16714 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 16715
28377d1b
UD
16716 * include/dirent.h (__alloc_dir): Add flags parameter.
16717 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
16718 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
16719 __alloc_dir.
16720 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
16721 from fdopendir if O_CLOEXEC is already set.
16722
66bdbaa4
AM
167232011-03-15 Alan Modra <amodra@gmail.com>
16724
16725 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
16726 l_tls_firstbyte_offset non-zero. Save padding offset in
16727 l_tls_firstbyte_offset for later use.
16728 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
16729 freeing static tls block.
16730
95721191
JN
167312011-03-05 Jonathan Nieder <jrnieder@gmail.com>
16732
16733 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
16734 where #ifdef was intended. The intent is to prevent ARG_MAX from
16735 being defined by the kernel headers.
16736
f87dfb1f
UD
167372011-05-07 Ulrich Drepper <drepper@gmail.com>
16738
16739 [BZ #12734]
16740 * resolv/resolv.h: Define RES_NOTLDQUERY.
16741 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
16742 no-tld-query and set RES_NOTLDQUERY.
16743 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
16744 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
16745 modern BIND to search name as TLD unless forbidden.
16746
47c3cd7a
UD
167472011-05-07 Petr Baudis <pasky@suse.cz>
16748 Ulrich Drepper <drepper@gmail.com>
16749
16750 [BZ #12393]
16751 * elf/dl-load.c (fillin_rpath): Move trusted path check...
16752 (is_trusted_path): ...to here.
c1e9ea35 16753 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 16754 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 16755 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 16756
8a35c912
PP
167572011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
16758
16759 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
16760 __BEGIN/__END_DECLS.
16761
acd41f47
UD
167622011-05-06 Ulrich Drepper <drepper@gmail.com>
16763
16764 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
16765 NSS_STATUS_NOTFOUND if no record was found.
16766
597df647
AS
167672011-05-05 Andreas Schwab <schwab@redhat.com>
16768
16769 * sunrpc/Makefile (headers): Add rpc/netdb.h.
16770 (headers-not-in-tirpc): Remove rpc/netdb.h
16771 * resolv/netdb.h: Revert last change.
16772
b9af1301
PP
167732011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
16774
16775 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
16776 circular dependency between libgcc.a and libc.a.
16777
4e34d5f5
AS
167782011-05-05 Andreas Schwab <schwab@redhat.com>
16779
16780 * resolv/netdb.h: Don't include <rpc/netdb.h>.
16781 * nis/Makefile: Don't install rpcsvc/*.
16782 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
16783 instead of <rpc/types.h>.
16784 (MAXHOSTNAMELEN): Define.
16785
00ee369c
AS
167862011-05-03 Andreas Schwab <schwab@redhat.com>
16787
16788 * elf/ldconfig.c (add_dir): Don't crash on empty path.
16789
0b592a30
MB
167902011-04-28 Maciej Babinski <mbabinski@google.com>
16791
16792 [BZ #12714]
16793 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
16794 gethostbyname4_r when IPv6 results are possible.
16795
6e04cbbe
UD
167962011-05-02 Ulrich Drepper <drepper@gmail.com>
16797
16798 [BZ #12723]
16799 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
16800 _PC_PIPE_BUF handling.
16801
e4ecafe0
BH
168022011-04-30 Bruno Haible <bruno@clisp.org>
16803
16804 [BZ #12717]
16805 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
16806 * resolv/netdb.h (getnameinfo): Change type of flags parameter
16807 to 'int'.
16808 * inet/getnameinfo.c (getnameinfo): Likewise.
16809
125ee683
UD
168102011-04-29 Ulrich Drepper <drepper@gmail.com>
16811
16812 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
16813 to groups setting in database lookup.
16814 * nss/nsswitch.conf: Add initgroups entry.
16815
b722481a
EB
168162011-04-22 Ulrich Drepper <drepper@gmail.com>
16817
16818 [BZ #12685]
16819 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
16820 mode string.
16821 Patch by Eric Blake <eblake@redhat.com>.
16822
4df46dbd
L
168232011-04-20 H.J. Lu <hongjiu.lu@intel.com>
16824
16825 * sunrpc/Makefile (need-export-routines): Add svc_run.
16826 (routines): Remove svc_run.
16827 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
16828 * sunrpc/clnt_perr.c (clnt_perrno): Export.
16829 * sunrpc/svc_run.c (svc_run): Likewise.
16830 * sunrpc/svc_udp.c (svcudp_create): Likewise.
16831
e84142d2
UD
168322011-04-21 Ulrich Drepper <drepper@gmail.com>
16833
16834 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
16835 problem in reallocation in last patch.
16836
877175d8
UD
168372011-04-20 Ulrich Drepper <drepper@gmail.com>
16838
16839 * sunrpc/Makefile: Move inclusion of Rules.
16840
ab8eed78
UD
168412011-04-19 Ulrich Drepper <drepper@gmail.com>
16842
16843 * nss/nss_files/files-initgroups.c: New file.
16844 * nss/Makefile (libnss_files-routines): Add files-initgroups.
16845 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
16846 _nss_files_initgroups_dyn.
16847
e3d8f584
RS
168482011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
16849
16850 * elf/elf.h (R_ARM_IRELATIVE): Define.
16851
af190f45
UD
168522011-04-19 Ulrich Drepper <drepper@gmail.com>
16853
16854 * po/ru.po: Update from translation team.
16855
53cf59ef
UD
168562011-04-17 Ulrich Drepper <drepper@gmail.com>
16857
16858 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
16859 dependencies.
16860
4c559bcd
MF
168612011-02-06 Mike Frysinger <vapier@gentoo.org>
16862
16863 [BZ #12653]
16864 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
16865 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
16866 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
16867 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
16868 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
16869
4420675c
AS
168702011-03-28 Andreas Schwab <schwab@linux-m68k.org>
16871
16872 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
16873 differing bytes.
16874 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
16875 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
16876 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
16877
75ea32ab
UD
168782011-04-17 Ulrich Drepper <drepper@gmail.com>
16879
16880 [BZ #12420]
16881 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
16882 storing it.
16883 * stdlib/bug-getcontext.c: New file.
16884 * stdlib/Makefile: Add rules to build and run bug-getcontext.
16885
27390476
AK
168862011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16887
16888 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
16889 instructions into .machine "z9-109".
16890 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
16891 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
16892
10442705
AK
168932011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16894
16895 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
16896 between environment variables and auxiliary vector.
16897
7b57bfe5
UD
168982011-04-16 Ulrich Drepper <drepper@gmail.com>
16899
16900 * Makefile: Add rules to build linkobj/libc.so.
16901 * include/libc-symbols.h: Define libc_hidden_nolink.
16902 * include/rpc/auth.h: Mark functions which are to be hidden.
16903 * include/rpc/auth_des.h: Likewise.
16904 * include/rpc/auth_unix.h: Likewise.
16905 * include/rpc/clnt.h: Likewise.
16906 * include/rpc/des_crypt.h: Likewise.
16907 * include/rpc/key_prot.h: Likewise.
16908 * include/rpc/pmap_clnt.h: Likewise.
16909 * include/rpc/pmap_prot.h: Likewise.
16910 * include/rpc/pmap_rmt.h: Likewise.
16911 * include/rpc/rpc_msg.h: Likewise.
16912 * include/rpc/svc.h: Likewise.
16913 * include/rpc/svc_auth.h: Likewise.
16914 * include/rpc/xdr.h: Likewise.
16915 * nis/Makefile: Link all DSOs against linkobj/libc.so.
16916 * nss/Makefile: Likewise.
16917 * sunrpc/Makefile: Don't install headers. Build library with normal
16918 entry points. Don't build rpcinfo. Link RPC tests appropriately.
16919 * sunrpc/auth_des.c: Hide exported symbols by default, export some
16920 for the compat linking library. Remove use of INTDEF/INTUSE.
16921 * sunrpc/auth_none.c: Likewise.
16922 * sunrpc/auth_unix.c: Likewise.
16923 * sunrpc/authdes_prot.c: Likewise.
16924 * sunrpc/authuxprot.c: Likewise.
16925 * sunrpc/clnt_gen.c: Likewise.
16926 * sunrpc/clnt_perr.c: Likewise.
16927 * sunrpc/clnt_raw.c: Likewise.
16928 * sunrpc/clnt_simp.c: Likewise.
16929 * sunrpc/clnt_tcp.c: Likewise.
16930 * sunrpc/clnt_udp.c: Likewise.
16931 * sunrpc/clnt_unix.c: Likewise.
16932 * sunrpc/des_crypt.c: Likewise.
16933 * sunrpc/des_soft.c: Likewise.
16934 * sunrpc/get_myaddr.c: Likewise.
16935 * sunrpc/key_call.c: Likewise.
16936 * sunrpc/key_prot.c: Likewise.
16937 * sunrpc/netname.c: Likewise.
16938 * sunrpc/pm_getmaps.c: Likewise.
16939 * sunrpc/pm_getport.c: Likewise.
16940 * sunrpc/pmap_clnt.c: Likewise.
16941 * sunrpc/pmap_prot.c: Likewise.
16942 * sunrpc/pmap_prot2.c: Likewise.
16943 * sunrpc/pmap_rmt.c: Likewise.
16944 * sunrpc/publickey.c: Likewise.
16945 * sunrpc/rpc_cmsg.c: Likewise.
16946 * sunrpc/rpc_common.c: Likewise.
16947 * sunrpc/rpc_dtable.c: Likewise.
16948 * sunrpc/rpc_prot.c: Likewise.
16949 * sunrpc/rpc_thread.c: Likewise.
16950 * sunrpc/rtime.c: Likewise.
16951 * sunrpc/svc.c: Likewise.
16952 * sunrpc/svc_auth.c: Likewise.
16953 * sunrpc/svc_authux.c: Likewise.
16954 * sunrpc/svc_raw.c: Likewise.
16955 * sunrpc/svc_run.c: Likewise.
16956 * sunrpc/svc_simple.c: Likewise.
16957 * sunrpc/svc_tcp.c: Likewise.
16958 * sunrpc/svc_udp.c: Likewise.
16959 * sunrpc/svc_unix.c: Likewise.
16960 * sunrpc/svcauth_des.c: Likewise.
16961 * sunrpc/xcrypt.c: Likewise.
16962 * sunrpc/xdr.c: Likewise.
16963 * sunrpc/xdr_array.c: Likewise.
16964 * sunrpc/xdr_float.c: Likewise.
16965 * sunrpc/xdr_intXX_t.c: Likewise.
16966 * sunrpc/xdr_mem.c: Likewise.
16967 * sunrpc/xdr_rec.c: Likewise.
16968 * sunrpc/xdr_ref.c: Likewise.
16969 * sunrpc/xdr_sizeof.c: Likewise.
16970 * sunrpc/xdr_stdio.c: Likewise.
16971
e6c61494
UD
169722011-04-10 Ulrich Drepper <drepper@gmail.com>
16973
16974 [BZ #12650]
16975 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
16976 * sysdeps/ia64/dl-tls.h: Likewise.
16977 * sysdeps/powerpc/dl-tls.h: Likewise.
16978 * sysdeps/s390/dl-tls.h: Likewise.
16979 * sysdeps/sh/dl-tls.h: Likewise.
16980 * sysdeps/sparc/dl-tls.h: Likewise.
16981 * sysdeps/x86_64/dl-tls.h: Likewise.
16982 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
16983
34fe483e
AS
169842011-03-14 Andreas Schwab <schwab@redhat.com>
16985
16986 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
16987 rpath element also skip the following colon.
16988 (expand_dynamic_string_token): Add is_path parameter and pass
16989 down to DL_DST_REQUIRED and _dl_dst_substitute.
16990 (decompose_rpath): Call expand_dynamic_string_token with
16991 non-zero is_path. Ignore empty rpaths.
16992 (_dl_map_object_from_fd): Call expand_dynamic_string_token
16993 with zero is_path.
16994
f12a32e6
AS
169952011-04-08 Andreas Schwab <schwab@linux-m68k.org>
16996
16997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
16998 Make cancelable.
16999
38a7d692
UD
170002011-04-09 Ulrich Drepper <drepper@gmail.com>
17001
17002 [BZ #12655]
17003 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
17004 Patch by Filipe David Manana <fdmanana@apache.org>.
17005
e451d22b
AS
170062011-04-07 Andreas Schwab <schwab@redhat.com>
17007
17008 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
17009 Maintain aligned stack.
17010 (CHECK_RSP): Remove unused macro.
17011
dedc7c7b
UD
170122011-04-03 Ulrich Drepper <drepper@gmail.com>
17013
17014 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
17015 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
17016
94521213
UD
170172011-04-02 Ulrich Drepper <drepper@gmail.com>
17018
17019 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
17020
8cb700c0 17021 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 17022
0354e355
L
170232011-03-26 H.J. Lu <hongjiu.lu@intel.com>
17024
17025 [BZ #12518]
17026 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
17027 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
17028 * sysdeps/x86_64/memmove.c: New file.
17029 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
17030 (memcpy): Renamed to ...
17031 (__new_memcpy): This.
17032 (memcpy): Provide GLIBC_2_14 memcpy.
17033 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
17034 (memcpy): Provide GLIBC_2_2_5 memcpy.
17035
8593482f
UD
170362011-04-01 Ulrich Drepper <drepper@gmail.com>
17037
17038 [BZ #12631]
17039 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
17040
81a5726b
AS
170412011-03-30 Andreas Schwab <schwab@redhat.com>
17042
17043 * misc/syncfs.c: New file.
17044 * misc/Makefile (routines): Add syncfs.
17045 * posix/unistd.h: Declare syncfs.
17046 * sysdeps/unix/syscalls.list: Add syncfs.
17047
00e5419f
AS
170482011-04-01 Andreas Schwab <schwab@redhat.com>
17049
17050 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
17051 open_by_handle_at.
17052 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
17053 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
17054 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17055 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
17056 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17057 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
17058 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
17059
748876bf
UD
170602011-04-01 Ulrich Drepper <drepper@gmail.com>
17061
658e451d
UD
17062 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
17063 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
17064 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
17065 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17066 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
17067 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17068 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
17069
748876bf
UD
17070 * io/Makefile: Compile fallocate.c, fallocate64.c, and
17071 sync_file_range.c with -fexceptions.
17072 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
17073 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
17074 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
17075 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
17076 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
17077 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
17078 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
17079 sync_file_range as cancellation point
17080 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
17081 now a wrapper around __call_sync_file_range with cancellation handling.
17082 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
17083 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
17084 function name to __call_sync_file_range.
17085 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
17086 Add call_sync_file_range.
748876bf 17087
6e63d5e1
AS
170882011-04-01 Andreas Schwab <schwab@redhat.com>
17089
17090 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 17091 bits/timex.h.
6e63d5e1 17092
46998f74
UD
170932011-04-01 Ulrich Drepper <drepper@gmail.com>
17094
4c1423ed
UD
17095 * iconv/iconv.h: Fix typo in comment.
17096 * io/fcntl.h: Likewise.
17097 * libio/stdio.h: Likewise.
17098 * posix/spawn.h: Likewise.
17099 * posix/unistd.h: Likewise.
17100 * stdlib/stdlib.h: Likewise.
17101 * time/time.h: Likewise.
17102 * wcsmbs/wchar.h: Likewise.
17103
158648c0
UD
17104 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
17105 open_by_handle): Add.
17106 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
17107 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
17108 Augment a few comments.
17109 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
17110 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17111 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
17112 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17113 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
17114 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
17115 open_by_handle.
17116
46998f74
UD
17117 * io/fcntl.h (AT_EMPTY_PATH): Define.
17118
83fe108b
UD
171192011-03-30 Ulrich Drepper <drepper@gmail.com>
17120
17121 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
17122 * sysdeps/unix/sysv/linux/bits/time.h: New file.
17123 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
17124 to...
17125 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
17126 * Versions.def: Add GLIBC_2.14.
17127 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
17128 Export.
83fe108b 17129
bb242059
UD
171302011-03-22 Ulrich Drepper <drepper@gmail.com>
17131
17132 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
17133 round counter.
17134 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
17135
c97a1282
L
171362011-03-20 H.J. Lu <hongjiu.lu@intel.com>
17137
17138 [BZ #12597]
17139 * string/test-strncmp.c (do_page_test): New function.
17140 (check2): Likewise.
17141 (test_main): Call check2.
17142 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
17143
2a115601
UD
171442011-03-20 Ulrich Drepper <drepper@gmail.com>
17145
17146 [BZ #12587]
17147 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
17148 Handle cache information in CPU leaf 4.
17149 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
17150
8126d904
UD
171512011-03-18 Ulrich Drepper <drepper@gmail.com>
17152
042c49c6 17153 [BZ #12583]
8126d904
UD
17154 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
17155 character representation.
17156 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
17157
ccfe366e
RA
171582011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
17159
17160 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
17161 END(__isnan) to END(__isnanf) to match function entry point/label
17162 EALIGN(__isnanf,...).
17163
c6e13027
JJ
171642011-03-10 Jakub Jelinek <jakub@redhat.com>
17165
17166 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
17167
33f85a3f
UD
171682011-03-10 Ulrich Drepper <drepper@gmail.com>
17169
028478fa
UD
17170 [BZ #12510]
17171 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
17172 copy from the symbol referenced in the relocation to initialize the
17173 used variable.
17174 Patch by Piotr Bury <pbury@goahead.com>.
17175 * elf/Makefile: Add rules to build and tst-unique3.
17176 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
17177 * elf/tst-unique3.cc: New file.
17178 * elf/tst-unique3.h: New file.
17179 * elf/tst-unique3lib.cc: New file.
17180 * elf/tst-unique3lib2.cc: New file.
17181
33f85a3f
UD
17182 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
17183
03592fc7
MF
171842011-03-10 Mike Frysinger <vapier@gentoo.org>
17185
17186 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
17187 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
17188 to _start.
03592fc7 17189
6a5ee102
UD
171902011-03-06 Ulrich Drepper <drepper@gmail.com>
17191
17192 * elf/dl-load.c (_dl_map_object): If we are looking for the first
17193 to-be-loaded object along a path to loader is ld.so.
17194
7e4ba49c
HJ
171952011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
17196 Ulrich Drepper <drepper@gmail.com>
17197
17198 * sysdeps/x86_64/memset.S: After aligning destination, code
17199 branches to different locations depending on the value of
17200 misalignment, when multiarch is enabled. Fix this.
17201
172022011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
17203
17204 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
17205 Set _x86_64_preferred_memory_instruction for AMD processsors.
17206 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17207 Set bit_Prefer_SSE_for_memop for AMD processors.
17208
13a804de
UD
172092011-03-04 Ulrich Drepper <drepper@gmail.com>
17210
17211 * libio/fmemopen.c (fmemopen): Optimize a bit.
17212
9d25c392
AS
172132011-03-03 Andreas Schwab <schwab@redhat.com>
17214
17215 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
17216
a5543c6a
RM
172172011-03-03 Roland McGrath <roland@redhat.com>
17218
17219 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
17220
012d35f7
DM
172212011-02-28 Aurelien Jarno <aurelien@aurel32.net>
17222
7e4ba49c 17223 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
17224 __bzero_ultra1 instead of __memset_ultra1.
17225
4bff6e01
AS
172262011-02-23 Andreas Schwab <schwab@redhat.com>
17227 Ulrich Drepper <drepper@gmail.com>
17228
17229 [BZ #12509]
17230 * include/link.h (struct link_map): Add l_orig_initfini.
17231 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
17232 returning unsuccessfully.
17233 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
17234 close of a file loaded at startup, restore the original l_initfini
17235 list.
17236 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
17237 list, store the pointer.
17238 * elf/Makefile ($(objpfx)noload-mem): New rule.
17239 (noload-ENV): Define.
17240 (tests): Add $(objpfx)noload-mem.
17241 * elf/noload.c: Include <memcheck.h>.
17242 (main): Call mtrace. Close all opened handles.
17243
f2092faf
AS
172442011-02-17 Andreas Schwab <schwab@redhat.com>
17245
17246 [BZ #12454]
17247 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
17248 dependencies are missing.
17249
6c8a2e88
ST
172502011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
17251
f2092faf 17252 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
17253 Hurd needs munmap.
17254 * sysdeps/mach/hurd/ifreq.h: New file.
17255
84a42118
PB
172562011-01-27 Petr Baudis <pasky@suse.cz>
17257 Ulrich Drepper <drepper@gmail.com>
17258
071f805e 17259 [BZ 12445]#
84a42118
PB
17260 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
17261 to extend_alloca().
17262 * stdio-common/bug23.c: New file.
17263 * stdio-common/Makefile (tests): Add bug23.
17264
e23fe25b
AS
172652010-09-28 Andreas Schwab <schwab@redhat.com>
17266 Ulrich Drepper <drepper@gmail.com>
17267
17268 [BZ #12489]
17269 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
17270 before performing relro protection. At old place add assertion
17271 to make sure nothing changed.
17272
d3f02e10
NS
172732011-02-17 Nathan Sidwell <nathan@codesourcery.com>
17274 Glauber de Oliveira Costa <glommer@gmail.com>
17275
17276 * elf/elf.h: Add new ARM TLS relocs.
17277
d55fd7a5
RA
172782011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
17279
17280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
17281 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
17282 cast from r3.
17283 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
17284 'tests' variable.
17285 * sysdeps/wordsize-64/tst-writev.c: New file.
17286
2206397e
RA
172872011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
17288
17289 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
17290 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
17291 insns in _dl_start to prevent a TOC reference before relocs are
17292 resolved.
17293
e9433893
UD
172942011-02-15 Ulrich Drepper <drepper@gmail.com>
17295
17296 [BZ #12469]
17297 * Makeconfig: Remove RANLIB definition.
17298 * Makerules: Don't use RANLIB.
17299 * aclocal.m4: Remove ranlib test.
17300 * configure.in: No need to check for ranlib.
17301 * elf/rtld-Rules: Don't use RANLIB.
17302
f75286c6
ST
173032011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
17304
8e31c82d
ST
17305 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
17306 protection macro.
17307 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
17308 inclusion protection macro.
17309
f75286c6
ST
17310 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
17311 SIGRTMIN and SIGRTMAX and print information in that case only when
17312 SIGRTMIN is defined.
17313
c1d0e639
JJ
173142011-02-11 Jakub Jelinek <jakub@redhat.com>
17315
17316 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
17317 arginfo fn returning -1.
17318
17319 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
17320 and thousands string is zero terminated.
17321
edf9294e
AS
173222011-02-03 Andreas Schwab <schwab@redhat.com>
17323
17324 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
17325 sysdeps/unix/sysv/linux/bits/socket.h.
17326
2b7e92df
ST
173272011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
17328
edf9294e
AS
17329 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
17330 (__CPU_COUNT): Remove old macros.
17331 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
17332 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
17333 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
17334 (__sched_cpualloc, __sched_cpufree): Add declarations.
17335
a4c7ea7b
UD
173362011-02-05 Ulrich Drepper <drepper@gmail.com>
17337
17338 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
17339 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
17340 * nscd/aicache.c (addhstaiX): Return timeout of added value.
17341 (readdhstai): Return value of addhstaiX call.
17342 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
17343 (addgrbyX): Return value returned by cache_addgr.
17344 (readdgrbyname): Return value returned by addgrbyX.
17345 (readdgrbygid): Likewise.
17346 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
17347 (addpwbyX): Return value returned by cache_addpw.
17348 (readdpwbyname): Return value returned by addhstbyX.
17349 (readdpwbyuid): Likewise.
17350 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
17351 (addservbyX): Return value returned by cache_addserv.
17352 (readdservbyname): Return value returned by addservbyX:
17353 (readdservbyport): Likewise.
17354 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
17355 (addhstbyX): Return value returned by cache_addhst.
17356 (readdhstbyname): Return value returned by addhstbyX.
17357 (readdhstbyaddr): Likewise.
17358 (readdhstbynamev6): Likewise.
17359 (readdhstbyaddrv6): Likewise.
17360 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
17361 (readdinitgroups): Return value returned by addinitgroupsX.
17362 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
17363 (prune_cache): Keep track of timeout value of re-added entries.
17364 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
17365 * nscd/nscd.h: Adjust prototypes of readd* functions.
17366
a0bf67cc
RM
173672011-02-04 Roland McGrath <roland@redhat.com>
17368
17369 * nis/nis_server.c (nis_servstate): Use the right name for 0.
17370 (nis_stats): Likewise.
17371 * nis/nis_modify.c (nis_modify): Likewise.
17372 * nis/nis_remove.c (nis_remove): Likewise.
17373 * nis/nis_add.c (nis_add): Likewise.
17374
17375 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
17376
17377 * posix/fnmatch_loop.c: Add some consts.
17378
17379 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
17380
435b95eb
L
173812011-02-02 H.J. Lu <hongjiu.lu@intel.com>
17382
17383 [BZ #12460]
17384 * config.make.in (config-cflags-novzeroupper): Define.
17385 * configure.in: Substitute libc_cv_cc_novzeroupper.
17386 * elf/Makefile (AVX-CFLAGS): Define.
17387 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
17388 (CFLAGS-tst-auditmod4a.c): Likewise.
17389 (CFLAGS-tst-auditmod4b.c): Likewise.
17390 (CFLAGS-tst-auditmod6b.c): Likewise.
17391 (CFLAGS-tst-auditmod6c.c): Likewise.
17392 (CFLAGS-tst-auditmod7b.c): Likewise.
17393 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
17394
8517b15e
UD
173952011-02-02 Ulrich Drepper <drepper@gmail.com>
17396
17397 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
17398 function to the callback.
17399 Patch partly by Jiri Olsa <jolsa@redhat.com>.
17400
10a656fe
AS
174012011-02-02 Andreas Schwab <schwab@redhat.com>
17402
17403 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
17404 of errno.
17405
968dad0a
UD
174062011-01-19 Ulrich Drepper <drepper@gmail.com>
17407
9f94d2ea 17408 [BZ #11724]
968dad0a
UD
17409 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
17410 of constructors.
17411 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
17412 of destructors.
17413 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
17414
17415 [BZ #11724]
17416 * elf/Makefile: Add rules to build and run new test.
17417 * elf/tst-initorder.c: New file.
17418 * elf/tst-initorder.exp: New file.
17419 * elf/tst-initordera1.c: New file.
17420 * elf/tst-initordera2.c: New file.
17421 * elf/tst-initordera3.c: New file.
17422 * elf/tst-initordera4.c: New file.
17423 * elf/tst-initorderb1.c: New file.
17424 * elf/tst-initorderb2.c: New file.
17425 * elf/tst-order-a1.c: New file.
17426 * elf/tst-order-a2.c: New file.
17427 * elf/tst-order-a3.c: New file.
17428 * elf/tst-order-a4.c: New file.
17429 * elf/tst-order-b1.c: New file.
17430 * elf/tst-order-b2.c: New file.
17431 * elf/tst-order-main.c: New file.
17432 New test case by George Gensure <werkt0@gmail.com>.
17433
86e92359
UD
174342010-10-01 Andreas Schwab <schwab@redhat.com>
17435
17436 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
17437 decoding ACE if AI_CANONIDN.
17438
5d5732b0
UD
174392011-01-18 Ulrich Drepper <drepper@gmail.com>
17440
17441 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
17442
a77e8cbc
UD
174432011-01-17 Ulrich Drepper <drepper@gmail.com>
17444
6392473f
UD
17445 * version.h (RELEASE): Bump for 2.13 release.
17446 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
17447
620a0529
UD
17448 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
17449
18ba70a5
UD
17450 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
17451 MADV_NOHUGEPAGE.
32465c3e
UD
17452 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
17453 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
17454 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
17455 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
17456 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
17457 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
17458
c0dafcf1
UD
17459 * posix/getconf.c: Update copyright year.
17460 * catgets/gencat.c: Likewise.
17461 * csu/version.c: Likewise.
17462 * debug/catchsegv.sh: Likewise.
17463 * debug/xtrace.sh: Likewise.
17464 * elf/ldconfig.c: Likewise.
17465 * elf/ldd.bash.in: Likewise.
17466 * elf/sprof.c (print_version): Likewise.
17467 * iconv/iconv_prog.c: Likewise.
17468 * iconv/iconvconfig.c: Likewise.
17469 * locale/programs/locale.c: Likewise.
17470 * locale/programs/localedef.c: Likewise.
17471 * malloc/memusage.sh: Likewise.
17472 * malloc/mtrace.pl: Likewise.
17473 * nscd/nscd.c (print_version): Likewise.
17474 * nss/getent.c: Likewise.
17475
a77e8cbc
UD
17476 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
17477 PF_CAIF, and PF_ALG.
17478 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
17479
77e8bddf
AS
174802011-01-16 Andreas Schwab <schwab@linux-m68k.org>
17481
1f20b93a
AS
17482 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
17483 (modules-names): Use them.
17484 (ifunc-test-modules, ifunc-pie-tests): Define.
17485 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
17486 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
17487 (test-extras): Likewise.
17488 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
17489 $(compile-command.c).
17490 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
17491 (all-built-dso): Define.
17492 (check-textrel.out, check-execstack.out): Depend on it.
17493
77e8bddf
AS
17494 * configure.in: Don't override --enable-multi-arch.
17495
bc425b33
UD
174962011-01-15 Ulrich Drepper <drepper@gmail.com>
17497
17498 [BZ #6812]
17499 * nscd/hstcache.c (tryagain): Define.
17500 (cache_addhst): Return tryagain not notfound for temporary errors.
17501 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
17502 failed.
17503
794c3ad3
UD
175042011-01-14 Ulrich Drepper <drepper@gmail.com>
17505
70181fdd
UD
17506 [BZ #10563]
17507 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
17508 to make the syscall.
17509 * sysdeps/unix/sysv/linux/setgroups.c: New file.
17510
794c3ad3
UD
17511 [BZ #12378]
17512 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
17513 and fall back to matching as normal character if the string ends before
17514 the matching ']' is found. This is what POSIX requires.
17515 * posix/testfnm.c: Adjust test result.
17516 * posix/globtest.sh: Adjust test result. Add new test.
17517 * posix/tst-fnmatch.input: Likewise.
17518 * posix/tst-fnmatch2.c: Add new test.
17519
68dc9497
AS
175202010-12-28 Andreas Schwab <schwab@linux-m68k.org>
17521
17522 * elf/Makefile (check-execstack): Revert last change. Depend on
17523 check-execstack.h.
17524 (check-execstack.h): New target.
17525 (generated): Add check-execstack.h.
17526 * elf/check-execstack.c: Include "check-execstack.h".
17527 (main): Revert last change.
17528 (handle_file): Return zero if GNU_STACK is absent and
17529 DEFAULT_STACK_PERMS doesn't include PF_X.
17530
451f001b
UD
175312011-01-13 Ulrich Drepper <drepper@gmail.com>
17532
cfa28e56
UD
17533 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
17534 in child fails because the descriptor is already closed.
8cf8ce17
UD
17535 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
17536 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
17537 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 17538
1086d70d
UD
17539 [BZ #12397]
17540 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
17541 syscall.
17542
451f001b
UD
17543 [BZ #10484]
17544 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
17545 temporary buffer used to handle multi lookups locally.
a85b5cb4 17546 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 17547
08769175
UD
175482011-01-12 Ulrich Drepper <drepper@gmail.com>
17549
17550 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
17551 loader is ld.so.
17552
5e49c52e
UD
175532011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
17554
17555 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
17556 alignment for SSE2.
17557
60522a5f
UD
175582011-01-12 Ulrich Drepper <drepper@gmail.com>
17559
17560 [BZ #12394]
17561 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
17562 characters. When rounding increased number of integer digits recompute
17563 number of groups.
17564 * stdio-common/tst-grouping.c: New file.
17565 * stdio-common/Makefile: Add rules to build and run tst-grouping.
17566
f257bbd7
UD
175672011-01-09 Ulrich Drepper <drepper@gmail.com>
17568
17569 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
17570 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
17571
17572 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
17573 void.
17574 * bits/select.h: Likewise.
17575
fa9c15cb
UD
175762011-01-08 Ulrich Drepper <drepper@gmail.com>
17577
17578 * po/ja.po: Update from translation team.
17579
16c2895f
DM
175802011-01-04 David S. Miller <davem@sunset.davemloft.net>
17581
17582 [BZ #11155]
17583 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
17584 implementation just like for lxstat, fxstatat, et al.
17585
2543fef2
JM
175862010-12-27 Jim Meyering <meyering@redhat.com>
17587
17588 [BZ #12348]
17589 * posix/regexec.c (build_trtable): Return failure indication upon
17590 calloc failure. Otherwise, re_search_internal could infloop on OOM.
17591
98727dbe
UD
175922010-12-25 Ulrich Drepper <drepper@gmail.com>
17593
5bd6dc5c
UD
17594 [BZ #12201]
17595 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
17596 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
17597 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
17598 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
17599
97983464
UD
17600 [BZ #12207]
17601 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
17602
98727dbe
UD
17603 [BZ #12204]
17604 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
17605 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
17606
4a531bb0
L
176072010-12-15 H.J. Lu <hongjiu.lu@intel.com>
17608
17609 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
17610 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
17611 script has SORT_BY_INIT_PRIORITY.
17612 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
17613 NO_CTORS_DTORS_SECTIONS is defined.
17614 * elf/soinit.c: Likewise.
17615 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
17616 NO_CTORS_DTORS_SECTIONS is defined.
17617 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
17618 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
17619 * sysdeps/sh/init-first.c: Likewise.
17620 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
17621
07eb4b71
UD
176222010-12-24 Ulrich Drepper <drepper@gmail.com>
17623
17624 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
17625 always use the slow path.
17626
30950a5f
RA
176272010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
17628
17629 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
17630 similar rule which adds the sysdep directories to the header search in
17631 order to pick up the correct platform stackinfo.h.
17632 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
17633 perform test if it is, otherwise return successfully without testing.
17634 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
17635 DEFAULT_STACK_PERMS define in stackinfo.h.
17636 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
17637 defined in stackinfo.h.
17638 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
17639 DEFAULT_STACK_PERMS defined in stackinfo.h.
17640 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
17641 * sysdeps/ia64/stackinfo.h: Likewise.
17642 * sysdeps/s390/stackinfo.h: Likewise.
17643 * sysdeps/sh/stackinfo.h: Likewise.
17644 * sysdeps/sparc/stackinfo.h: Likewise.
17645 * sysdeps/x86_64/stackinfo.h: Likewise.
17646 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
17647 PF_X for powerpc64. Retain PF_X for powerpc32.
17648
db753e2c
UD
176492010-12-19 Ulrich Drepper <drepper@gmail.com>
17650
14b697f7
UD
17651 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
17652 accurately.
db753e2c
UD
17653 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
17654 GETDENTS_64BIT_ALIGNED.
17655
28300719
UD
176562010-12-14 Ulrich Drepper <dreper@gmail.com>
17657
14b697f7 17658 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 17659
4f197237
AS
176602010-12-10 Andreas Schwab <schwab@redhat.com>
17661
dbb0472f
AS
17662 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
17663 _GNU_SOURCE.
17664
4f197237
AS
17665 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
17666 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
17667 Remove __restrict.
17668 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
17669 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
17670
fb88ac72
UD
176712010-12-09 Ulrich Drepper <drepper@gmail.com>
17672
17673 [BZ #11655]
17674 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
17675 are initialized.
17676
42acbb92
JJ
176772010-12-09 Jakub Jelinek <jakub@redhat.com>
17678
17679 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
17680
c038d98d
UD
176812010-12-03 Ulrich Drepper <drepper@gmail.com>
17682
17683 * po/it.po: Update from translation team.
17684
3a4a2499
L
176852010-12-01 H.J. Lu <hongjiu.lu@intel.com>
17686
17687 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
17688 unused codes.
17689
1e24cf6e
UD
176902010-11-30 Ulrich Drepper <drepper@gmail.com>
17691
17692 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
17693
a7690819
AS
176942010-11-24 Andreas Schwab <schwab@redhat.com>
17695
17696 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
17697 specially.
17698 (gaih_getanswer_slice): Likewise.
17699
3bf8d1b1
JJ
177002010-10-20 Jakub Jelinek <jakub@redhat.com>
17701
17702 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
17703
6db52fbb
PB
177042010-05-31 Petr Baudis <pasky@suse.cz>
17705
17706 [BZ #11149]
17707 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
17708 silently even in the chroot mode.
17709
eaca7569
UD
177102010-11-22 Ulrich Drepper <drepper@gmail.com>
17711
17712 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
17713 last patch a bit. Pretty printing
17714
3056dcdb
UD
177152010-05-31 Petr Baudis <pasky@suse.cz>
17716
17717 [BZ #10085]
17718 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
17719 initialization of skip_initgroups_dyn.
17720
cf7c9078
UD
177212010-11-19 Ulrich Drepper <drepper@gmail.com>
17722
17723 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
17724 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
17725
a1fb5e3e
UD
177262010-11-16 Ulrich Drepper <drepper@gmail.com>
17727
17728 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
17729
3540d66b
AS
177302010-11-11 Andreas Schwab <schwab@redhat.com>
17731
17732 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
17733 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
17734 (tst-fnmatch-ENV): Set MALLOC_TRACE.
17735 ($(objpfx)tst-fnmatch-mem): New rule.
17736 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
17737 * posix/tst-fnmatch.c (main): Call mtrace.
17738
13b69574
L
177392010-11-11 H.J. Lu <hongjiu.lu@intel.com>
17740
17741 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17742 Support Intel processor model 6 and model 0x2c.
17743
da93d214
LM
177442010-11-10 Luis Machado <luisgpm@br.ibm.com>
17745
17746 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
17747 signed comparison.
17748
8ca52c6e
L
177492010-11-09 H.J. Lu <hongjiu.lu@intel.com>
17750
17751 [BZ #12205]
17752 * string/test-strncasecmp.c (check_result): New function.
17753 (do_one_test): Use it.
17754 (check1): New function.
17755 (test_main): Use it.
17756 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
17757 Support strcasecmp and strncasecmp.
17758
69da074d
UD
177592010-11-08 Ulrich Drepper <drepper@gmail.com>
17760
17761 [BZ #12194]
17762 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
17763 * sysdeps/x86_64/bits/byteswap.h: Likewise.
17764
ff02d528
L
177652010-11-07 H.J. Lu <hongjiu.lu@intel.com>
17766
17767 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
17768 IFUNC support.
17769 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17770 memset-x86-64.
17771 * sysdeps/x86_64/multiarch/bzero.S: New file.
17772 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
17773 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
17774 * sysdeps/x86_64/multiarch/memset.S: New file.
17775 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
17776 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17777 Set bit_Prefer_SSE_for_memop for Intel processors.
17778 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
17779 Define.
17780 (index_Prefer_SSE_for_memop): Define.
17781 (HAS_PREFER_SSE_FOR_MEMOP): Define.
17782
344d0b54
LM
177832010-11-04 Luis Machado <luisgpm@br.ibm.com>
17784
17785 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
17786 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
17787
c0dde15b
UD
177882010-11-03 H.J. Lu <hongjiu.lu@intel.com>
17789
17790 [BZ #12191]
17791 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
17792 (__x86_64_raw_data_cache_size_half): Likewise.
17793 (__x86_64_raw_shared_cache_size): Likewise.
17794 (__x86_64_raw_shared_cache_size_half): Likewise.
17795
17796 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
17797 (__x86_64_raw_data_cache_size_half): Likewise.
17798 (__x86_64_raw_shared_cache_size): Likewise.
17799 (__x86_64_raw_shared_cache_size_half): Likewise.
17800 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
17801 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
17802 and __x86_64_raw_shared_cache_size_half. Round
17803 __x86_64_data_cache_size_half, __x86_64_data_cache_size
17804 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
17805 to multiple of 256 bytes.
17806
0e516e0e
MS
178072010-11-03 Ulrich Drepper <drepper@gmail.com>
17808
17809 [BZ #12167]
17810 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
17811 of inacessible symlinks. Verify result of symlink before returning it.
17812 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
17813 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
17814
0e012e87
ER
178152010-10-28 Erich Ritz <erichritz@gmail.com>
17816
17817 * math/math.h (isinf): Fix typo in comment.
17818
de0ff7bc
UD
178192010-11-01 Ulrich Drepper <drepper@gmail.com>
17820
17821 * po/da.po: Update from translation team.
17822
fa41c84d
UD
178232010-10-26 Ulrich Drepper <drepper@gmail.com>
17824
17825 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
17826 is added to the list.
17827
f0967738
AK
178282010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17829 Ulrich Drepper <drepper@gmail.com>
17830
17831 * elf/dl-object.c (_dl_new_object): Don't append the new object to
17832 the global list here. Move code to...
17833 (_dl_add_to_namespace_list): ...here. New function.
17834 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
17835 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
17836 * elf/dl-load.c (lose): Don't remove the element from the list.
17837 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
17838 (_dl_map_object): Likewise.
17839
178402010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
17841
17842 [BZ #12159]
17843 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
17844 into all bytes of SSE register.
17845 Patch by Richard Li <richardpku@gmail.com>.
17846
f0967738 178472010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
17848
17849 [BZ #12140]
17850 * malloc/malloc.c (_int_free): Fill correct number of bytes when
17851 perturbing.
17852
d0b9e94f
MB
178532010-10-20 Michael B. Brutman <brutman@us.ibm.com>
17854
17855 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
17856 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
17857 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
17858 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
17859 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
17860 submachine.
17861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
17862
8e9f92e9
AS
178632010-10-22 Andreas Schwab <schwab@redhat.com>
17864
17865 * include/dlfcn.h (__RTLD_SECURE): Define.
17866 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
17867 mode & __RTLD_SECURE instead.
17868 (open_path): Rename preloaded parameter to secure.
17869 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
17870 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
17871 * elf/dl-deps.c (openaux): Likewise.
17872 * elf/rtld.c (struct map_args): Remove is_preloaded.
17873 (map_doit): Don't use it.
17874 (dl_main): Likewise.
17875 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
17876 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
17877
bc96fbda
AS
178782010-09-09 Andreas Schwab <schwab@redhat.com>
17879
17880 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
17881 (sysd-rules-targets): Remove duplicates.
17882 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
17883 rtld-%.$o dependency.
17884
22cd1c9b
AS
178852010-10-18 Andreas Schwab <schwab@redhat.com>
17886
17887 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
17888 _dl_map_object do it.
17889
18edac48
UD
178902010-10-19 Ulrich Drepper <drepper@gmail.com>
17891
17892 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
17893 fast fma builtins, define the macros in the C99 standard.
17894 (FP_FAST_FMAF): Likewise.
17895 (FP_FAST_FMAL): Likewise.
17896 * sysdeps/x86_64/bits/mathdef.h: Likewise.
17897
17898 * bits/mathdef.h: Update copyright year.
17899 * sysdeps/powerpc/bits/mathdef.h: Likewise.
17900
d2050124
MM
179012010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
17902
17903 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
17904 builtins, define the macros in the C99 standard.
17905 (FP_FAST_FMAF): Likewise.
17906 (FP_FAST_FMAL): Likewise.
17907 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
17908 multiply/add.
17909 (FP_FAST_FMAF): Likewise.
17910
475facd1
JJ
179112010-10-15 Jakub Jelinek <jakub@redhat.com>
17912
17913 [BZ #3268]
17914 * math/libm-test.inc (fma_test): Some new testcases.
17915 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
17916 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
17917 y and infinite z. Do multiplication by C already in long double.
17918 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
17919 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
17920 y and infinite z. Do bitwise or of inexact bit into u.d.
17921 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
17922 * sysdeps/i386/fpu/s_fmaf.S: Removed.
17923 * sysdeps/i386/fpu/s_fma.S: Removed.
17924 * sysdeps/i386/fpu/s_fmal.S: Removed.
17925
7c08a05c
JJ
179262010-10-16 Jakub Jelinek <jakub@redhat.com>
17927
17928 [BZ #3268]
17929 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
17930 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
17931 computation is not scheduled after fetestexcept. Fix value
17932 of minimum denormal long double.
17933
f3f7372d
JJ
179342010-10-14 Jakub Jelinek <jakub@redhat.com>
17935
17936 [BZ #3268]
17937 * math/libm-test.inc (fma_test): Add some more tests.
17938 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
17939 correctly.
17940
14d43591
AS
179412010-10-15 Andreas Schwab <schwab@redhat.com>
17942
17943 * scripts/data/localplt-s390-linux-gnu.data: New file.
17944 * scripts/data/localplt-s390x-linux-gnu.data: New file.
17945
5e908464
JJ
179462010-10-13 Jakub Jelinek <jakub@redhat.com>
17947
17948 [BZ #3268]
17949 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
17950 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
17951 instead of dbl-64.
17952 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
17953 inlines.
17954 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
17955 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
17956 if one of x and y is very large and the other is subnormal.
17957 * sysdeps/s390/fpu/s_fmaf.c: New file.
17958 * sysdeps/s390/fpu/s_fma.c: New file.
17959 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
17960 * sysdeps/powerpc/fpu/s_fma.S: New file.
17961 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
17962 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
17963 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
17964
179652010-10-12 Jakub Jelinek <jakub@redhat.com>
17966
17967 [BZ #3268]
17968 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
17969 fma tests.
17970 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
17971 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
17972 * sysdeps/i386/i686/multiarch/s_fma.c: Include
17973 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
17974 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
17975 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
17976 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
17977
b833d51f
UD
179782010-10-12 Ulrich Drepper <drepper@redhat.com>
17979
17980 [BZ #12078]
17981 * posix/regcomp.c (parse_branch): One more memory leak plugged.
17982 * posix/bug-regex31.input: Add test case.
17983
1751705d
UD
179842010-10-11 Ulrich Drepper <drepper@gmail.com>
17985
e9b9cbf5
UD
17986 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
17987 * posix/bug-regex31.input: New file.
17988
17989 [BZ #12078]
17990 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
17991 (parse_sub_exp): Fix last change, use postorder.
17992
ef06edbe
UD
17993 * posix/bug-regex31.c: New file.
17994 * posix/Makefile: Add rules to build and run bug-regex31.
17995
a129c80d
UD
17996 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
17997
17998 [BZ #12078]
17999 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
18000
b76b818e
UD
18001 [BZ #12108]
18002 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
18003 to have entries in sys_siglist.
18004
1751705d
UD
18005 [BZ #12093]
18006 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
18007 be NULL.
18008
9ff8d36f
JJ
180092010-10-07 Jakub Jelinek <jakub@redhat.com>
18010
18011 [BZ #3268]
18012 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
18013 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
18014 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
18015 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
18016 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
18017 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
18018 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
18019 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
18020 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
18021 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
18022 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
18023 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
18024 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
18025 * math/ftestexcept.c (fetestexcept): Likewise.
18026 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
18027 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
18028 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
18029 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
18030 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
18031 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
18032 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
18033
af325969
UD
180342010-10-11 Ulrich Drepper <drepper@gmail.com>
18035
c579b202 18036 [BZ #12107]
af325969
UD
18037 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
18038 newline.
18039
67a67b95
UD
180402010-10-06 Ulrich Drepper <drepper@gmail.com>
18041
18042 * string/bug-strstr1.c: New file.
18043 * string/Makefile: Add rules to build and run bug-strstr1.
18044
5fb308bc
EB
180452010-10-05 Eric Blake <eblake@redhat.com>
18046
18047 [BZ #12092]
18048 * string/str-two-way.h (two_way_long_needle): Always clear memory
18049 when skipping input due to the shift table.
18050
45db99c7
UD
180512010-10-03 Ulrich Drepper <drepper@gmail.com>
18052
3b111893
UD
18053 [BZ #12005]
18054 * malloc/mcheck.c: Handle large requests.
18055
45db99c7
UD
18056 [BZ #12077]
18057 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
18058 for strncmp and strncasecmp.
18059 * string/stratcliff.c: Add tests for strcmp and strncmp.
18060 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
18061
cf7a1eb8
NI
180622010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
18063
18064 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
18065 __set_fpscr.
18066
6484ba5e
AJ
180672010-09-30 Andreas Jaeger <aj@suse.de>
18068
18069 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
18070 (CGROUP_SUPER_MAGIC): Define.
18071 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
18072 Handle btrfs and cgroup file systems.
18073 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
18074 Likewise.
18075
91c42559
LM
180762010-09-27 Luis Machado <luisgpm@br.ibm.com>
18077
18078 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
18079 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
18080
87a97932
AK
180812010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18082
18083 [BZ #12067]
18084 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
18085 trying to locate the ELF header.
18086
c21cc9bc
AS
180872010-09-27 Andreas Schwab <schwab@redhat.com>
18088
18089 [BZ #11611]
18090 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
18091 Mask out sign-bit copies when constructing f_fsid.
18092
315970f6
PB
180932010-09-24 Petr Baudis <pasky@suse.cz>
18094
18095 * debug/stack_chk_fail_local.c: Add missing licence exception.
18096 * debug/warning-nop.c: Likewise.
18097
1ac7a2c7
JM
180982010-09-15 Joseph Myers <joseph@codesourcery.com>
18099
18100 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
18101 implementing getdents64 using getdents syscall, set d_type if
18102 __ASSUME_GETDENTS32_D_TYPE.
18103
56801c50
AS
181042010-09-16 Andreas Schwab <schwab@redhat.com>
18105
18106 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
18107 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
18108
dda51327
UD
181092010-09-21 Ulrich Drepper <drepper@redhat.com>
18110
18111 [BZ #12037]
18112 * posix/unistd.h: Undo change of feature selection for ftruncate from
18113 2010-01-11.
18114
8ffcee4a
UD
181152010-09-20 Ulrich Drepper <drepper@redhat.com>
18116
a545ecd9 18117 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
18118 detection.
18119
e24f0a8b
AS
181202010-09-20 Andreas Schwab <schwab@redhat.com>
18121
18122 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
18123 fanotify_mark.
18124 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
18125
7291c56f
AS
181262010-09-14 Andreas Schwab <schwab@redhat.com>
18127
18128 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
18129 variables after CHECK_SP call.
18130 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
18131
bc5fb037
AS
181322010-09-13 Andreas Schwab <schwab@redhat.com>
18133 Ulrich Drepper <drepper@redhat.com>
18134
18135 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
18136 re-relocationg ld.so.
18137 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
18138 _dl_init_paths call.
18139 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
18140 here anymore.
18141
e66e7419
UD
181422010-09-14 Ulrich Drepper <drepper@redhat.com>
18143
18144 * resolv/res_init.c (__res_vinit): Count the default server we added.
18145
c044aa75
CLT
181462010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
18147 Ulrich Drepper <drepper@redhat.com>
18148
18149 [BZ #11968]
18150 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
18151 (____longjmp_chk): Use %ebx for saving value across system call.
18152 Add unwind info.
18153
32cf4069
AS
181542010-09-06 Andreas Schwab <schwab@redhat.com>
18155
18156 * manual/Makefile: Don't mix pattern rules with normal rules.
18157
817328ee
AS
181582010-09-05 Andreas Schwab <schwab@linux-m68k.org>
18159
18160 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
18161 operation.
18162 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
18163 * libio/iofopncook.c (_IO_cookie_init): Likewise.
18164 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
18165 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
18166 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18167 Likewise.
18168
29fddf61
UD
181692010-09-04 Ulrich Drepper <drepper@redhat.com>
18170
18171 [BZ #11979]
18172 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
18173 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
18174
0959ffc9
UD
181752010-09-02 Ulrich Drepper <drepper@redhat.com>
18176
18177 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
18178 * sysdeps/x86_64/addmul_1.S: Likewise.
18179 * sysdeps/x86_64/lshift.S: Likewise.
18180 * sysdeps/x86_64/mul_1.S: Likewise.
18181 * sysdeps/x86_64/rshift.S: Likewise.
18182 * sysdeps/x86_64/sub_n.S: Likewise.
18183 * sysdeps/x86_64/submul_1.S: Likewise.
18184
ece29840
ST
181852010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
18186
0959ffc9
UD
18187 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
18188 Define __sched_param instead of SCHED_* and sched_param when
ece29840 18189 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 18190 * bits/sched.h [__need_schedparam]
ece29840 18191 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
18192 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
18193 (__defined_schedparam): Define to 1.
ece29840
ST
18194 (__sched_param): New structure, identical to sched_param.
18195 (__need_schedparam): Undefine.
18196
e53a31fe
MF
181972010-08-31 Mike Frysinger <vapier@gentoo.org>
18198
fdc0c10d
MF
18199 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
18200 (epoll_create1): Declare.
18201
e53a31fe
MF
18202 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
18203
a726d796
AS
182042010-08-31 Andreas Schwab <schwab@redhat.com>
18205
18206 [BZ #7066]
18207 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
18208 shifting retval into place.
18209
2f3e3dc7
UD
182102010-09-01 Ulrich Drepper <drepper@redhat.com>
18211
f2933da9
UD
18212 * nis/rpcsvc/nis.h: Update copyright notice.
18213 * nis/rpcsvc/nis.x: Likewise.
18214 * nis/rpcsvc/nis_callback.h: Likewise.
18215 * nis/rpcsvc/nis_callback.x: Likewise.
18216 * nis/rpcsvc/nis_object.x: Likewise.
18217 * nis/rpcsvc/nis_tags.h: Likewise.
18218 * nis/rpcsvc/yp.h: Likewise.
18219 * nis/rpcsvc/yp.x: Likewise.
18220 * nis/rpcsvc/ypupd.h: Likewise.
18221 * nis/yp_xdr.c: Likewise.
18222 * nis/ypupdate_xdr.c: Likewise.
18223
2f3e3dc7
UD
18224 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
18225 mainly the body of pmap_getport. Add parameters to specify timeouts.
18226 (pmap_getport): Use __libc_rpc_getport.
18227 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
18228 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
18229 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
18230
f3dcc2f9
AS
182312010-08-31 Andreas Schwab <schwab@linux-m68k.org>
18232
18233 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
18234 fanotify_mark.
18235
6d34eb5b
RM
182362010-08-27 Roland McGrath <roland@redhat.com>
18237
18238 * sysdeps/i386/i686/multiarch/Makefile
18239 (CFLAGS-varshift.c): New variable.
18240
9ea3de11
UD
182412010-08-27 Ulrich Drepper <drepper@redhat.com>
18242
c96d23fc
UD
18243 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
18244 * sysdeps/i386/i686/multiarch/varshift.c: New file.
18245
9ea3de11
UD
18246 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
18247
18248 * sysdeps/x86_64/strlen.S: Minimal code improvement.
18249
623aac7f
L
182502010-08-26 H.J. Lu <hongjiu.lu@intel.com>
18251
18252 * sysdeps/x86_64/strlen.S: Unroll the loop.
18253 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18254 strlen-sse2 strlen-sse2-bsf.
18255 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
18256 __strlen_no_bsf if bit_Slow_BSF is set.
18257 (__strlen_sse42): Removed.
18258 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
18259 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
18260
8b2b7715
RM
182612010-08-25 Roland McGrath <roland@redhat.com>
18262
18263 * sysdeps/x86_64/multiarch/varshift.S: File removed.
18264 * sysdeps/x86_64/multiarch/varshift.c: New file.
18265 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
18266 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
18267 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
18268 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
18269
e73015f2
L
182702010-08-25 H.J. Lu <hongjiu.lu@intel.com>
18271
18272 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18273 strlen-sse2 strlen-sse2-bsf.
18274 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
18275 __strlen_sse2_bsf if bit_Slow_BSF is unset.
18276 (__strlen_sse2): Removed.
18277 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
18278 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
18279 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
18280 bit_Slow_BSF for Atom.
18281 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
18282 (index_Slow_BSF): Define.
18283 (HAS_SLOW_BSF): Define.
18284
df24a73e
UD
182852010-08-25 Ulrich Drepper <drepper@redhat.com>
18286
18287 [BZ #10851]
18288 * resolv/res_init.c (__res_vinit): When no server address at all
18289 is given default to loopback.
18290
f2ac4868
RM
182912010-08-24 Roland McGrath <roland@redhat.com>
18292
09055553
RM
18293 * configure.in: Remove config-name.h generation.
18294 * configure: Regenerated.
18295 * config-name.in: File removed.
18296 * scripts/config-uname.sh: New file.
18297 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
18298 ($(objdir)config-name.h): New target.
18299
f2ac4868
RM
18300 * sunrpc/rpc_parse.h: Avoid nested comment.
18301
73f27d5e
RH
183022010-08-24 Richard Henderson <rth@redhat.com>
18303 Ulrich Drepper <drepper@redhat.com>
18304 H.J. Lu <hongjiu.lu@intel.com>
18305
18306 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
18307 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
18308 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
18309 Replace _mm_srli_si128 with __m128i_shift_right. Replace
18310 _mm_alignr_epi8 with _mm_loadu_si128.
18311 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
18312 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
18313 (__m128i_shift_right): Removed.
18314 * sysdeps/i386/i686/multiarch/varshift.h: New file.
18315 * sysdeps/i386/i686/multiarch/varshift.S: New file.
18316 * sysdeps/x86_64/multiarch/varshift.h: New file.
18317 * sysdeps/x86_64/multiarch/varshift.S: New file.
18318
84b9230c
MF
183192010-08-21 Mike Frysinger <vapier@gentoo.org>
18320
18321 * configure.in: Move assembler checks to before sysdep dir checking.
18322
9bbd0ddc
PB
183232010-08-20 Petr Baudis <pasky@suse.cz>
18324
18325 * LICENSES: Sync the sunrpc license.
18326
9da4bb31
UD
183272010-08-19 Ulrich Drepper <drepper@redhat.com>
18328
a7ab6ec8
UD
18329 * sunrpc/auth_des.c: Update copyright notice once again.
18330 * sunrpc/auth_none.c: Likewise.
18331 * sunrpc/auth_unix.c: Likewise.
18332 * sunrpc/authdes_prot.c: Likewise.
18333 * sunrpc/authuxprot.c: Likewise.
18334 * sunrpc/bindrsvprt.c: Likewise.
18335 * sunrpc/clnt_gen.c: Likewise.
18336 * sunrpc/clnt_perr.c: Likewise.
18337 * sunrpc/clnt_raw.c: Likewise.
18338 * sunrpc/clnt_simp.c: Likewise.
18339 * sunrpc/clnt_tcp.c: Likewise.
18340 * sunrpc/clnt_udp.c: Likewise.
18341 * sunrpc/clnt_unix.c: Likewise.
18342 * sunrpc/des_crypt.c: Likewise.
18343 * sunrpc/des_soft.c: Likewise.
18344 * sunrpc/get_myaddr.c: Likewise.
18345 * sunrpc/getrpcport.c: Likewise.
18346 * sunrpc/key_call.c: Likewise.
18347 * sunrpc/key_prot.c: Likewise.
18348 * sunrpc/openchild.c: Likewise.
18349 * sunrpc/pm_getmaps.c: Likewise.
18350 * sunrpc/pm_getport.c: Likewise.
18351 * sunrpc/pmap_clnt.c: Likewise.
18352 * sunrpc/pmap_prot.c: Likewise.
18353 * sunrpc/pmap_prot2.c: Likewise.
18354 * sunrpc/pmap_rmt.c: Likewise.
18355 * sunrpc/rpc/auth.h: Likewise.
18356 * sunrpc/rpc/auth_unix.h: Likewise.
18357 * sunrpc/rpc/clnt.h: Likewise.
18358 * sunrpc/rpc/des_crypt.h: Likewise.
18359 * sunrpc/rpc/key_prot.h: Likewise.
18360 * sunrpc/rpc/netdb.h: Likewise.
18361 * sunrpc/rpc/pmap_clnt.h: Likewise.
18362 * sunrpc/rpc/pmap_prot.h: Likewise.
18363 * sunrpc/rpc/pmap_rmt.h: Likewise.
18364 * sunrpc/rpc/rpc.h: Likewise.
18365 * sunrpc/rpc/rpc_des.h: Likewise.
18366 * sunrpc/rpc/rpc_msg.h: Likewise.
18367 * sunrpc/rpc/svc.h: Likewise.
18368 * sunrpc/rpc/svc_auth.h: Likewise.
18369 * sunrpc/rpc/types.h: Likewise.
18370 * sunrpc/rpc/xdr.h: Likewise.
18371 * sunrpc/rpc_clntout.c: Likewise.
18372 * sunrpc/rpc_cmsg.c: Likewise.
18373 * sunrpc/rpc_common.c: Likewise.
18374 * sunrpc/rpc_cout.c: Likewise.
18375 * sunrpc/rpc_dtable.c: Likewise.
18376 * sunrpc/rpc_hout.c: Likewise.
18377 * sunrpc/rpc_main.c: Likewise.
18378 * sunrpc/rpc_parse.c: Likewise.
18379 * sunrpc/rpc_parse.h: Likewise.
18380 * sunrpc/rpc_prot.c: Likewise.
18381 * sunrpc/rpc_sample.c: Likewise.
18382 * sunrpc/rpc_scan.c: Likewise.
18383 * sunrpc/rpc_scan.h: Likewise.
18384 * sunrpc/rpc_svcout.c: Likewise.
18385 * sunrpc/rpc_tblout.c: Likewise.
18386 * sunrpc/rpc_util.c: Likewise.
18387 * sunrpc/rpc_util.h: Likewise.
18388 * sunrpc/rpcinfo.c: Likewise.
18389 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
18390 * sunrpc/rpcsvc/key_prot.x: Likewise.
18391 * sunrpc/rpcsvc/klm_prot.x: Likewise.
18392 * sunrpc/rpcsvc/mount.x: Likewise.
18393 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
18394 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
18395 * sunrpc/rpcsvc/rex.x: Likewise.
18396 * sunrpc/rpcsvc/rstat.x: Likewise.
18397 * sunrpc/rpcsvc/rusers.x: Likewise.
18398 * sunrpc/rpcsvc/sm_inter.x: Likewise.
18399 * sunrpc/rpcsvc/spray.x: Likewise.
18400 * sunrpc/rpcsvc/yppasswd.x: Likewise.
18401 * sunrpc/rtime.c: Likewise.
18402 * sunrpc/svc.c: Likewise.
18403 * sunrpc/svc_auth.c: Likewise.
18404 * sunrpc/svc_authux.c: Likewise.
18405 * sunrpc/svc_raw.c: Likewise.
18406 * sunrpc/svc_run.c: Likewise.
18407 * sunrpc/svc_simple.c: Likewise.
18408 * sunrpc/svc_tcp.c: Likewise.
18409 * sunrpc/svc_udp.c: Likewise.
18410 * sunrpc/svc_unix.c: Likewise.
18411 * sunrpc/svcauth_des.c: Likewise.
18412 * sunrpc/xcrypt.c: Likewise.
18413 * sunrpc/xdr.c: Likewise.
18414 * sunrpc/xdr_array.c: Likewise.
18415 * sunrpc/xdr_float.c: Likewise.
18416 * sunrpc/xdr_mem.c: Likewise.
18417 * sunrpc/xdr_rec.c: Likewise.
18418 * sunrpc/xdr_ref.c: Likewise.
18419 * sunrpc/xdr_sizeof.c: Likewise.
18420 * sunrpc/xdr_stdio.c: Likewise.
18421
9da4bb31
UD
18422 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
18423 handling.
18424
bdaa77bc
AS
184252010-08-19 Andreas Schwab <schwab@redhat.com>
18426
18427 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
18428
fe2f79db
LM
184292010-08-19 Luis Machado <luisgpm@br.ibm.com>
18430
18431 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
18432 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
18433 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
18434 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
18435 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
18436 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
18437 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
18438 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
18439 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
18440 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
18441 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
18442 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
18443 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
18444 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
18445
b9b42ee0
AB
184462010-07-26 Anton Blanchard <anton@samba.org>
18447
18448 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
18449 * malloc/arena.c (heap_trim): Likewise.
18450
1c06ba31
UD
184512010-08-16 Ulrich Drepper <drepper@redhat.com>
18452
18453 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
18454 here. Not...
18455 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
18456 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
18457
f8392f40
L
184582010-08-12 H.J. Lu <hongjiu.lu@intel.com>
18459
18460 * sysdeps/i386/elf/Makefile: New file.
18461
3162f12e
AS
184622010-08-14 Andreas Schwab <schwab@linux-m68k.org>
18463
18464 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
18465 from fanotify_init.
18466 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
18467 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
18468
28c90b2c
UD
184692010-08-15 Ulrich Drepper <drepper@redhat.com>
18470
18471 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
18472 of strncasecmp_l.
1feccb6c 18473 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 18474
ca6bb004
UD
184752010-08-14 Ulrich Drepper <drepper@redhat.com>
18476
e9f82e0d
UD
18477 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
18478 strncase_l-nonascii.
18479 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
18480 Add strncase_l-ssse3.
18481 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
18482 * sysdeps/x86_64/strcmp.S: Likewise.
18483 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
18484 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
18485 * sysdeps/x86_64/strncase.S: New file.
18486 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
18487 * sysdeps/x86_64/strncase_l.S: New file.
18488 * string/Makefile (strop-tests): Add strncasecmp.
18489 * string/test-strncasecmp.c: New file.
18490
18491 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
18492 warning.
18493
ca6bb004
UD
18494 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
18495 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
18496
052fa7b3
AS
184972010-08-14 Andreas Schwab <schwab@linux-m68k.org>
18498
18499 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
18500
962dba78
UD
185012010-08-12 Ulrich Drepper <drepper@redhat.com>
18502
18503 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
18504 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
18505 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
18506
bebff237
AM
185072010-05-01 Alan Modra <amodra@gmail.com>
18508
18509 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
18510 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
18511 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
18512 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
18513 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
18514 tidying. Don't tail-call __sigjmp_save for static lib.
18515 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
18516 save location.
18517 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
18518 (CALL_MCOUNT): Add eh info, and nop after bl.
18519 (TAIL_CALL_SYSCALL_ERROR): New macro.
18520 (PSEUDO_RET): Use it.
18521 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
18522 Correct save location of integer regs and cr.
18523 (_dl_profile_resolve): Correct cr save location. Delete nops
18524 after bl when SHARED. Reduce cfi size a little by better
18525 placement of cfi directives.
18526 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
18527 make a stack frame. Instead use parm save area as a temp.
18528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
18529 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
18530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
18531 Don't make a stack frame for parent, use parm save area.
18532 Increase child stack frame to 112 bytes. Don't save unused reg,
18533 and adjust reg usage. Set up cfi on error recovery and
18534 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
18535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
18536 (__makecontext): Add dummy nop after jump to exit.
18537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
18538 Use correct parm save area and cr save, reduce stack frame.
18539 Correct cfi for possible PSEUDO_RET frame setup.
18540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
18541 Branch to local label emitted by PSEUDO_RET rather than
18542 __syscall_error.
18543
02637374
AS
185442010-08-12 Andreas Schwab <schwab@redhat.com>
18545
18546 [BZ #11904]
18547 * locale/programs/locale.c (print_assignment): New function.
18548 (show_locale_vars): Use it.
18549
c3e2f19b
UD
185502010-08-11 Ulrich Drepper <drepper@redhat.com>
18551
3cdaa6ad
UD
18552 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
18553 field.
18554 (struct statfs64): Likewise.
18555 (_STATFS_F_FLAGS): Define.
18556 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
18557 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
18558 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
18559 (ST_VALID): Define locally.
18560 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
18561 __statvfs_getflags, use the provided value.
18562 * sysdeps/unix/sysv/linux/kernel-features.h: Define
18563 __ASSUME_STATFS_F_FLAGS.
18564
754f7da3
UD
18565 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
18566
10b3bedc
UD
18567 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
18568 Add sys/fanotify.h.
18569 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
18570 fanotify_mask for GLIBC_2.13.
18571 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
18572 fanotify_init and fanotify_mark.
18573 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
18574 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
18575
c08fb0d7
UD
18576 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
18577 Add prlimit.
18578 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
18579 prlimit64 for GLIBC_2.13.
18580 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
18581 prlimit64.
18582 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
18583 syscall.
18584 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
18585 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
18586 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
18587 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
18588 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
18589 add prlimit alias.
18590 * sysdeps/unix/sysv/linux/prlimit.c: New file.
18591
15bac72b
UD
18592 [BZ #11903]
18593 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
18594 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
18595
c3e2f19b
UD
18596 * nss/Makefile: Add rules to build and run tst-nss-test1.
18597 * shlib-versions: Add entry for libnss_test1.
18598 * nss/nss_test1.c: New file.
18599 * nss/tst-nss-test1.c: New file.
18600
18601 * nss/nsswitch.c (__nss_database_custom): Define new variable.
18602 (__nss_configure_lookup): Set appropriate entry in
18603 __nss_configure_lookup to true.
18604 * nss/nsswitch.h: Define enum with indeces of databases in
18605 databases and __nss_database_custom arrays. Declare
18606 __nss_database_custom.
18607 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
18608 to avoid using nscd when custom rules are installed.
18609 * nss/getXXbyYY_r.c: Likewise.
18610 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
18611
18612 * nss/nss_files/files-parse.c: Whitespace fixes.
18613
f15ce4d8
UD
186142010-08-09 Ulrich Drepper <drepper@redhat.com>
18615
18616 [BZ #11883]
18617 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
18618 * posix/fnmatch_loop.c: Likewise.
18619
d22e4cc9
AK
186202010-07-17 Andi Kleen <ak@linux.intel.com>
18621
18622 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
18623 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
18624 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
18625 * Versions.def [GLIBC_2.13]: Add.
18626
805bc17d
UD
186272010-08-06 Ulrich Drepper <drepper@redhat.com>
18628
18629 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
18630 Also fail if tpwd after pwuid call is NULL.
18631
5a42321d
ST
186322010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
18633
18634 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
18635 when converting to ms.
18636
fd3ebeda
ST
186372010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
18638
18639 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
18640 EOPNOTSUPP errors with ENOTTY.
18641 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
18642 EOPNOTSUPP errors with ENOTTY.
18643
73507d3a
UD
186442010-07-31 Ulrich Drepper <drepper@redhat.com>
18645
18646 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
18647 Add strcasecmp_l-ssse3.
18648 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
18649 strcasecmp.
18650 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
18651 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
18652 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
18653
fe36dd02
UD
186542010-07-30 Ulrich Drepper <drepper@redhat.com>
18655
66f6765a
UD
18656 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
18657
42e08a54
UD
18658 * string/Makefile (strop-tests): Add strcasecmp.
18659 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
18660 strcasecmp_l-nonascii.
18661 (gen-as-const-headers): Add locale-defines.sym.
18662 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
18663 * sysdeps/x86_64/strcasecmp.S: New file.
18664 * sysdeps/x86_64/strcasecmp_l.S: New file.
18665 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
18666 * sysdeps/x86_64/locale-defines.sym: New file.
18667 * string/test-strcasecmp.c: New file.
18668
fe36dd02
UD
18669 * string/test-strcasestr.c: Test both ends of the range of characters.
18670 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
18671
48cbc0d6
RM
186722010-07-29 Roland McGrath <roland@redhat.com>
18673
76e6d6bc 18674 [BZ #11856]
48cbc0d6
RM
18675 * manual/locale.texi (Yes-or-No Questions): Fix example code.
18676
880113d9
UD
186772010-07-27 Ulrich Drepper <drepper@redhat.com>
18678
18679 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
18680 for ld.so.
18681
deb9cabb
AS
186822010-07-27 Andreas Schwab <schwab@redhat.com>
18683
18684 * manual/memory.texi (Malloc Tunable Parameters): Document
18685 M_PERTURB.
18686
1c7570ff
RM
186872010-07-26 Roland McGrath <roland@redhat.com>
18688
18689 [BZ #11840]
18690 * configure.in (-fgnu89-inline check): Set and substitute
18691 gnu89_inline, not libc_cv_gnu89_inline.
18692 * configure: Regenerated.
18693 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
18694
24fb0f88
UD
186952010-07-26 Ulrich Drepper <drepper@redhat.com>
18696
18697 * string/test-strnlen.c: New file.
18698 * string/Makefile (strop-tests): Add strnlen.
18699 * string/tester.c (test_strnlen): Add a few more test cases.
18700 * string/tst-strlen.c: Better error reporting.
18701
18702 * sysdeps/x86_64/strnlen.S: New file.
18703
8e96b93a
UD
187042010-07-24 Ulrich Drepper <drepper@redhat.com>
18705
18706 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
18707 lower-latency instructions.
18708
dbc676d4
UD
187092010-07-23 Ulrich Drepper <drepper@redhat.com>
18710
18711 * string/test-strcasestr.c: New file.
18712 * string/test-strstr.c: New file.
18713 * string/Makefile (strop-tests): Add strstr and strcasestr.
18714 * string/str-two-way.h: Don't undefine MAX.
18715 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
18716
f6a31e0e
AS
187172010-07-21 Andreas Schwab <schwab@redhat.com>
18718
18719 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18720 strcasestr-nonascii.
18721 (CFLAGS-strcasestr-nonascii.c): Define.
18722 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
18723 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
18724 Remove unused attribute.
18725
5dbc3b6c
RM
187262010-07-20 Roland McGrath <roland@redhat.com>
18727
18728 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
18729 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
18730 ld.so.cache was broken. With it, there is no way to disable dsocaps
18731 like LD_HWCAP_MASK can disable hwcaps.
18732
23d101d8
EPM
187332010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
18734
18735 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
18736
cc9f2e47
UD
187372010-07-16 Ulrich Drepper <drepper@redhat.com>
18738
18739 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
18740 call in strcasestr.
18741 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
18742 __strcasestr_sse42_nonascii.
18743 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
18744 strcasestr-nonascii.c.
18745 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
18746
77c1b069
LM
187472010-06-15 Luis Machado <luisgpm@br.ibm.com>
18748
18749 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
18750 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
18751 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
18752 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
18753
440566c3
UD
187542010-07-09 Ulrich Drepper <drepper@redhat.com>
18755
18756 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
18757 fcntl.
18758
5be9d05d
AS
187592010-07-06 Andreas Schwab <schwab@redhat.com>
18760
c30b7ee2 18761 [BZ #11577]
5be9d05d
AS
18762 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
18763 dl_signal_cerror.
18764
8a492a67
UD
187652010-07-06 Ulrich Drepper <drepper@redhat.com>
18766
18767 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
18768 _PC_PIPE_BUF using F_GETPIPE_SZ.
18769
713df3d5
RM
187702010-07-05 Roland McGrath <roland@redhat.com>
18771
18772 * manual/arith.texi (Rounding Functions): Fix rint description
18773 implicit in round description.
18774
702e8f14
UD
187752010-07-02 Ulrich Drepper <drepper@redhat.com>
18776
18777 * elf/Makefile: Fix linking for a few tests to make recent linker
18778 happy.
18779
52ed8be9
AS
187802010-06-30 Andreas Schwab <schwab@redhat.com>
18781
18782 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
18783 $(common-objpfx)libc_nonshared.a.
18784
f47c9a11
LM
187852010-06-21 Luis Machado <luisgpm@br.ibm.com>
18786
18787 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
18788 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
18789 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
18790 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
18791 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
18792 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
18793 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
18794 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
18795 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
18796 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
18797 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
18798 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
18799 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
18800 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
18801 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
18802 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
18803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
18804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
18805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
18806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
18807 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
18808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
18809 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
18810 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
18811 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
18812 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
18813 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
18814 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
18815 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
18816 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
18817 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
18818 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
18819 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
18820 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
18821 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
18822 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
18823 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
18824 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
18825 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
18826 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
18827 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
18828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
18829 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
18830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
18831 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
18832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
18833 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
18834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
18835
6fb8cbcb
L
188362010-06-25 H.J. Lu <hongjiu.lu@intel.com>
18837
18838 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
18839 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
18840 * string/memmove.c (memmove): Renamed to ...
18841 (MEMMOVE): ...this. Default to memmove.
18842 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
18843 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
18844 (END_CHK): Define.
18845 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18846 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
18847 mempcpy-ssse3-back memmove-ssse3-back.
18848 * sysdeps/x86_64/multiarch/bcopy.S: New file .
18849 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
18850 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
18851 * sysdeps/x86_64/multiarch/memcpy.S: New file.
18852 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
18853 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
18854 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
18855 * sysdeps/x86_64/multiarch/memmove.c: New file.
18856 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
18857 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
18858 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
18859 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
18860 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
18861 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
18862 Define.
18863 (index_Fast_Copy_Backward): Define.
18864 (HAS_ARCH_FEATURE): Define.
18865 (HAS_FAST_REP_STRING): Define.
18866 (HAS_FAST_COPY_BACKWARD): Define.
18867
4e733bac 188682010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
18869
18870 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
18871 Restore proper fallback handling.
18872
63c4ed22
UD
188732010-06-19 Ulrich Drepper <drepper@redhat.com>
18874
ac2b484c
UD
18875 [BZ #11701]
18876 * posix/group_member.c (__group_member): Correct checking loop.
18877
63c4ed22
UD
18878 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
18879 OOM in getpwuid_r correctly. Return error number when the caller
18880 should return, otherwise -1.
18881 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
18882 call returning > 0 value.
18883 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
18884
765ade4b
AS
188852010-06-07 Andreas Schwab <schwab@redhat.com>
18886
18887 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
18888 libc_nonshared.a from targets in modules-names.
18889
80da2e09
KS
188902010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
18891
18892 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
18893 requires it.
18894
158db122
LM
188952010-06-10 Luis Machado <luisgpm@br.ibm.com>
18896
18897 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
18898 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
18899 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
18900 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
18901
caa78cf8
AS
189022010-06-02 Andreas Schwab <schwab@redhat.com>
18903
18904 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
18905
b2ef2c01
UD
189062010-06-14 Ulrich Drepper <drepper@redhat.com>
18907
18908 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
18909 and F_GETPIPE_SZ.
18910 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
18911 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
18912 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18913 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18914 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
18915 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
18916
fbd643b6
RM
189172010-06-14 Roland McGrath <roland@redhat.com>
18918
18919 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
18920
f32f2869
JJ
189212010-06-07 Jakub Jelinek <jakub@redhat.com>
18922
18923 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
18924 __REDIRECT followed by __THROW.
18925 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
18926 * posix/getopt.h (getopt): Likewise.
18927
2a50c078
EPM
189282010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
18929
18930 * hurd/lookup-at.c (__file_name_lookup_at): Accept
18931 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
18932 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
18933 in AT_FLAGS.
18934 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
18935 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
18936
eb5ad2eb
LM
189372010-05-28 Luis Machado <luisgpm@br.ibm.com>
18938
18939 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
18940
3c88fe1e
L
189412010-05-26 H.J. Lu <hongjiu.lu@intel.com>
18942
18943 [BZ #11640]
18944 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18945 Properly check family and model.
18946
d2f73151
TY
189472010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
18948
18949 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
18950
ebd2e13d
LM
189512010-05-24 Luis Machado <luisgpm@br.ibm.com>
18952
18953 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
18954
b32b8b45
UD
189552010-05-21 Ulrich Drepper <drepper@redhat.com>
18956
18957 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
18958 symbol reference.
18959
9acbe24d
AS
189602010-05-19 Andreas Schwab <schwab@redhat.com>
18961
18962 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
18963 symbol reference.
18964
f0ccf6ea
AS
189652010-05-21 Andreas Schwab <schwab@redhat.com>
18966
3d04ff3a
AS
18967 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
18968 and internal_recvmmsg.
18969 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
18970 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
18971 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
18972 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
18973
f0ccf6ea
AS
18974 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
18975 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
18976 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
18977
5b08ac57
AS
189782010-05-20 Andreas Schwab <schwab@redhat.com>
18979
18980 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
18981
4828935d
LM
189822010-05-17 Luis Machado <luisgpm@br.ibm.com>
18983
18984 POWER7 optimizations.
18985 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
18986 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
18987
373d545e
UD
189882010-05-19 Ulrich Drepper <drepper@redhat.com>
18989
18990 * version.h: Update for 2.13 development version.
18991
21a2b1ae
AS
189922010-05-12 Andrew Stubbs <ams@codesourcery.com>
18993
18994 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
18995 exceptions. Return 0.
18996
3f7dcb2b
RM
189972010-05-07 Roland McGrath <roland@redhat.com>
18998
18999 * elf/ldconfig.c (main): Add a const.
19000
5f24d53a 190012010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 19002
a160f8d8
UD
19003 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
19004 (args_options): Add no-idn option.
19005 (ahosts_keys_int): Add idn_flags to ai_flags.
19006 (parse_option): Handle 'i' option to clear idn_flags.
19007
5f24d53a
UD
19008 * malloc/malloc.c (_int_free): Possible race in the most recently
19009 added check. Only act on the data if no current modification
19010 happened.
265bb1ce
UD
19011
19012See ChangeLog.17 for earlier changes.