]> sourceware.org Git - glibc.git/blame - ChangeLog
Remove CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH for C code.
[glibc.git] / ChangeLog
CommitLineData
b2c9eff4
JM
12013-02-08 Joseph Myers <joseph@codesourcery.com>
2
3 [BZ #13550]
4 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
5 definitions.
6 (CHECK_BOUNDS_HIGH): Likewise.
7 * string/strcpy.c: Do not include <bp-checks.h>.
8 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
9
f1d70dad
RM
102013-02-07 Roland McGrath <roland@hack.frob.com>
11
12 * nscd/nscd-client.h (__nscd_drop_map_ref):
13 Add __attribute__ ((unused)).
14 * nis/nss-nisplus.h (niserr2nss): Likewise.
15
16 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
17 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
18
19 * csu/libc-tls.c (init_static_tls, init_slotinfo):
20 Remove inline keyword.
21 * include/rounding-mode.h (round_away): Likewise.
22 * libio/wfileops.c (adjust_wide_data): Likewise.
23 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
24 (__m128i_strloadu_tolower): Likewise.
25 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
26 (__m128i_strloadu_tolower): Likewise.
27 * time/mktime.c (ydhms_diff): Likewise.
28 * locale/elem-hash.h (elem_hash): Likewise.
29 * locale/setlocale.c (setdata): Likewise.
30 * posix/regex_internal.h (re_string_char_size_at): Likewise.
31 (re_string_wchar_at): Likewise.
32 (bitset_not, bitset_merge, bitset_mask): Likewise.
33 [!(__GNUC__ > 3)] (inline): Remove macro.
34 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
35 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
36 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
37 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
38 * string/memcmp.c (memcmp_bytes): Likewise.
39 * locale/programs/locarchive.c (compute_hashval): Likewise.
40 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
41 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
42 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
43 * nss/getent.c (print_rpc, print_protocols): Likewise.
44 (print_passwd, print_group, print_aliases): Likewise.
45 * nis/nss-nisplus.h (niserr2nss): Likewise.
46 * nscd/connections.c (restart_p): Likewise.
47 Change return type to bool.
48
eab55bfb
RM
492013-02-05 Roland McGrath <roland@hack.frob.com>
50
7bd642f5
RM
51 * Makeconfig (all-Depend-files): Add existing
52 $(sorted-subdirs:=/Depend) files.
53 (all-subdirs): Remove nss.
54 * sysdeps/unix/inet/Subdirs: Add it here instead.
55 * hesiod/Depend: New file.
56
573c29b2
RM
57 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
58 instead of calling alloca.
59
b2e25af0
RM
60 * io/lseek.c (__lseek): Rename to __libc_lseek.
61 Define __lseek as an alias.
62
eab55bfb
RM
63 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
64
9a0d1941
CD
652013-02-04 Carlos O'Donell <carlos@redhat.com>
66
67 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
68 else clause and remove check for non-standard endianness.
69
b83bbec4
DM
702013-02-04 David S. Miller <davem@davemloft.net>
71
72 * sysdeps/sparc/fpu/libm-test-ulps: Update.
73
6277fdab
JM
742013-02-04 Joseph Myers <joseph@codesourcery.com>
75
76 [BZ #13550]
77 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
78 (__ubp_memchr): Remove prototype.
79 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
80 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
81 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
82 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
83 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
84 Remove alias.
85 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
86 (__ubp_memchr): Likewise.
87 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
88 (__ubp_memchr): Likewise.
89 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
90 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
91 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
92 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
93 CHECK_STRING.
94 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
95 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
96 (__getcwd): Do not use CHECK_STRING.
97 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
98 <bp-checks.h>.
99 (__real_chown): Do not use CHECK_STRING.
100 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
101 <bp-checks.h>.
102 (fchownat): Do not use CHECK_STRING.
103 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
104 CHECK_STRING.
105 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
106 <bp-checks.h>.
107 (__lchown): Do not use CHECK_STRING.
108 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
109 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
110 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
111 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
112 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
113 include <bp-checks.h>.
114 (truncate64): Do not use CHECK_STRING.
115 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
116 <bp-checks.h>.
117 (__real_chown): Do not use CHECK_STRING.
118 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
119 <bp-checks.h>.
120 (__lchown): Do not use CHECK_STRING.
121 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
122 <bp-checks.h>.
123 (__chown): Do not use CHECK_STRING.
124 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
125 <bp-checks.h>.
126 (truncate64): Do not use CHECK_STRING.
127 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
128 Likewise.
129 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
130 (__xmknod): Do not use CHECK_STRING.
131 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
132 <bp-checks.h>.
133 (__xmknodat): Do not use CHECK_STRING.
134 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
135 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
136
903ae060
AS
1372013-02-04 Andreas Schwab <schwab@suse.de>
138
139 [BZ #14142]
140 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
141 * include/netdb.h: Likewise for h_errno.
142 * elf/tst-stackguard1.c: Include <tls.h>.
143
542f9466
JK
1442013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
145
146 * elf/link.h (struct link_map): Extend the l_addr comment.
147 * include/link.h (struct link_map): Likewise.
148
e782a927
JM
1492013-02-01 Joseph Myers <joseph@codesourcery.com>
150
151 [BZ #13550]
152 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
153 (BOUNDED_1): Remove macro.
154 * debug/backtrace.c: Don't include <bp-checks.h>.
155 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
156 (__backtrace): Likewise.
157 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
158 <bp-checks.h>.
159 (__backtrace): Don't use BOUNDED_1.
160 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
161 <bp-checks.h>.
162 (__backtrace): Don't use BOUNDED_1.
163 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
164 (__backtrace): Don't use BOUNDED_1.
165 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
166 (shmat): Don't use BOUNDED_N.
167
8cf28c5e
JM
1682013-01-31 Joseph Myers <joseph@codesourcery.com>
169
3a7ac8a0
JM
170 [BZ #13550]
171 * sysdeps/generic/bp-start.h: Remove file.
172 * csu/libc-start.c: Don't include <bp-start.h>.
173 (LIBC_START_MAIN): Set up __environ directly instead of using
174 INIT_ARGV_and_ENVIRON.
175 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
176 <bp-start.h>.
177
f3499f95
JM
178 [BZ #13550]
179 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
180 definitions.
181 (CHECK_FCNTL): Likewise.
182 (CHECK_N_PAGES): Likewise.
183
32a45bea
JM
184 [BZ #13550]
185 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
186 definitions.
187 (CHECK_SIGSET_NULL_OK): Likewise.
188 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
189 <bp-checks.h>.
190 (sigpending): Don't use CHECK_SIGSET.
191 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
192 <bp-checks.h>.
193 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
194 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
195 <bp-checks.h>.
196 (do_sigsuspend): Don't use CHECK_SIGSET.
197 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
198 use CHECK_SIGSET.
199 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
200 (do_sigwait): Don't use CHECK_SIGSET.
201 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
202 use CHECK_SIGSET.
203 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
204 include <bp-checks.h>.
205 (sigpending): Don't use CHECK_SIGSET.
206 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
207 include <bp-checks.h>.
208 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
209 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
210 <bp-checks.h>.
211 (sigpending): Don't use CHECK_SIGSET.
212 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
213 <bp-checks.h>.
214 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
215
2e8a5c8c
JM
216 [BZ #13550]
217 * sysdeps/generic/bp-semctl.h: Remove file.
218 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
219 <bp-checks.h> and <bp-semctl.h>.
220 (__old_semctl): Don't use CHECK_SEMCTL.
221 (__new_semctl): Likewise.
222 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
223 and <bp-semctl.h>.
224 (__old_semctl): Don't use CHECK_SEMCTL.
225 (__new_semctl): Likewise.
226 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
227 <bp-checks.h> and <bp-semctl.h>.
228 (__old_semctl): Don't use CHECK_SEMCTL.
229 (__new_semctl): Likewise.
230 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
231 <bp-checks.h> and <bp-semctl.h>.
232 (semctl): Don't use CHECK_SEMCTL.
233
c2d54929
JM
234 [BZ #13550]
235 * Makerules (elide-bp-thunks): Remove variable.
236 (elide-routines.oS): Don't use $(elide-bp-thunks).
237 (elide-routines.os): Likewise.
238 (elide-routines.o): Likewise.
239 (elide-routines.op): Likewise.
240 (elide-routines.og): Likewise.
241 (objects): Don't use $(bp-thunks).
242 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
243 include.
244 (common-generated): Do not add s-proto-bp.d.
245 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
246 (int): Likewise.
247 (typ): Likewise.
248 Do not generate makefile rules for bounded-pointer thunks.
249 * sysdeps/generic/bp-thunks.h: Remove file.
250 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
251 * sysdeps/unix/s-proto-bp.S: Likewise.
252
8cf28c5e
JM
253 [BZ #15062]
254 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
255 parts of result separately when argument is not close to line from
256 -i to i and one part of argument is small.
257 * math/k_casinhf.c (__kernel_casinhf): Likewise.
258 * math/k_casinhl.c (__kernel_casinhl): Likewise.
259 * math/libm-test.inc (cacos_test): Add more tests.
260 (casin_test): Likewise.
261 (casinh_test): Likewise.
262 * sysdeps/i386/fpu/libm-test-ulps: Update.
263 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
264
c4e33b8d
DM
2652013-01-31 David S. Miller <davem@davemloft.net>
266
267 * po/de.po: Update from translation team.
268
3b60b421
MK
2692013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
270
271 * time/tzfile.c: Include stdint.h for SIZE_MAX.
272
bb931195
TS
2732013-01-25 Thomas Schwinge <thomas@codesourcery.com>
274
b5a5da23
TS
275 * configure.in (_AC_PROG_CC_C89): New definition.
276 * configure: Regenerate.
277
bb931195
TS
278 * configure.in (AC_PROG_CPP): New definition.
279 * configure: Regenerate.
280
8c53a12c
JM
2812013-01-23 Joseph Myers <joseph@codesourcery.com>
282
283 * debug/tst-backtrace.h: New file.
284 * debug/tst-backtrace2.c: Include tst-backtrace.h.
285 (ret): Remove variable.
286 (x): Likewise.
287 (FAIL): Remove macro.
288 (NO_INLINE): Likewise.
289 (fn1): Use match function instead of strstr.
290 * debug/tst-backtrace3.c: Include tst-backtrace.h.
291 (ret): Remove variable.
292 (x): Likewise.
293 (FAIL): Remove macro.
294 (NO_INLINE): Likewise.
295 (fn): Use match function instead of strstr.
296 * debug/tst-backtrace4.c: Include tst-backtrace.h.
297 (ret): Remove variable.
298 (x): Likewise.
299 (FAIL): Remove macro.
300 (NO_INLINE): Likewise.
301 (handle_signal): Use match function instead of strstr.
302 * debug/tst-backtrace5.c: Include tst-backtrace.h.
303 (ret): Remove variable.
304 (x): Likewise.
305 (FAIL): Remove macro.
306 (NO_INLINE): Likewise.
307 (handle_signal): Use match function instead of strstr.
308
4858fa2a
RM
3092013-01-23 Roland McGrath <roland@hack.frob.com>
310
311 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
312
bae8e7f5
DM
3132013-01-23 David S. Miller <davem@davemloft.net>
314
315 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
316 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
317 argument of CAS if possible.
318 * sysdeps/sparc/sparc64/bits/atomic.h
319 (__arch_compare_and_exchange_val_32_acq): Likewise.
320 (__arch_compare_and_exchange_val_64_acq): Likewise.
321
9cbbc4ae
PT
3222013-01-23 Pino Toscano <toscano.pino@tiscali.it>
323
324 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
325 * sysdeps/posix/ulimit.c: ... this.
92a601b8 326 Include <limits.h>.
67b3f58c 327 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 328
5655a0b5
AC
3292013-01-23 Adam Conrad <adconrad@0c3.net>
330
331 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
332 (LDFLAGS-tst-array5): Likewise.
333
052aff95
JM
3342013-01-23 Joseph Myers <joseph@codesourcery.com>
335
336 [BZ #15036]
337 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
338 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
339 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
340 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
341
7c1e01aa
DM
3422013-01-21 David S. Miller <davem@davemloft.net>
343
344 * sysdeps/sparc/backtrace.c: New file.
345 * sysdeps/sparc/sparc32/backtrace.h: New file.
346 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
347 * sysdeps/sparc/sparc64/backtrace.h: New file.
348 * sysdeps/sparc/sparc64/backtrace.c: Delete.
349 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
350 -funwind-tables.
351
ab087e0a
AS
3522013-01-21 Andreas Schwab <schwab@suse.de>
353
354 [BZ #15020]
355 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
356 closed its stdout.
357
ed689c2f
AS
3582013-01-20 Andreas Schwab <schwab@linux-m68k.org>
359
360 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
361 "mpa2.h".
362 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
363
31d470ac
JM
3642013-01-18 Joseph Myers <joseph@codesourcery.com>
365 Mark Mitchell <mark@codesourcery.com>
366 Tom de Vries <tom@codesourcery.com>
367 Paul Pluzhnikov <ppluzhnikov@google.com>
368
369 * debug/tst-backtrace2.c: New file.
370 * debug/tst-backtrace3.c: Likewise.
371 * debug/tst-backtrace4.c: Likewise.
372 * debug/tst-backtrace5.c: Likewise.
373 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
374 (CFLAGS-tst-backtrace3.c): Likewise.
375 (CFLAGS-tst-backtrace4.c): Likewise.
376 (CFLAGS-tst-backtrace5.c): Likewise.
377 (LDFLAGS-tst-backtrace2): Likewise.
378 (LDFLAGS-tst-backtrace3): Likewise.
379 (LDFLAGS-tst-backtrace4): Likewise.
380 (LDFLAGS-tst-backtrace5): Likewise.
381 (tests): Add new tests tst-backtrace2, tst-backtrace3,
382 tst-backtrace4 and tst-backtrace5.
383
90567f30 3842013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
385 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
386
387 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
388 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
389 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
390 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
391 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
392 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
393 "+r" and remove output regs list as redundant. Add explicit inline
394 asm to specify register of return val to work around compiler codegen
395 bug. Remove (int) cast on return value. Add return type parameter to
396 use in macro so that this macro does not truncate return value for
397 64-bit values.
398 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
399 pass to INTERNAL_VSYSCALL_NCS.
400 (INLINE_VSYSCALL): Add 'long int' as return type to
401 INTERNAL_VSYSCALL_NCS macro invocation.
402 (INTERNAL_VSYSCALL): Add 'long int' as return type to
403 INTERNAL_VSYSCALL_NCS macro invocation.
404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
405
d3b9ea61
SP
4062013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
407
0b57daeb
SP
408 [BZ #14496]
409 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
410 Fix application of SIMD FP exception mask.
411
caa99d06
SP
412 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
413 mp_no from a power of two.
414 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
415 __mpexp_twomm1. Use __pow_mp.
416
d3b9ea61
SP
417 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
418 multiplication.
419
1dbaee3c
DM
4202013-01-17 David S. Miller <davem@davemloft.net>
421
422 * sysdeps/sparc/fpu/libm-test-ulps: Update.
423
728d7b43
JM
4242013-01-17 Joseph Myers <joseph@codesourcery.com>
425
426 [BZ #15023]
427 * include/complex.h: Condition contents on [!_COMPLEX_H].
428 (__kernel_casinhf): New prototype.
429 (__kernel_casinh): Likewise.
430 (__kernel_casinhl): Likewise.
431 * math/Makefile (libm_calls): Add k_casinh.
432 * math/k_casinh.c: New file.
433 * math/k_casinhf.c: Likewise.
434 * math/k_casinhl.c: Likewise.
435 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
436 finite nonzero arguments.
437 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
438 finite nonzero arguments.
439 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
440 finite nonzero arguments.
441 * math/s_casinh.c: Do not include <float.h>.
442 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
443 * math/s_casinhf.c: Do not include <float.h>.
444 (__casinhf): Move code for finite nonzero arguments to
445 k_casinhf.c.
446 * math/s_casinhl.c: Do not include <float.h>.
447 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
448 redefine.
449 (__casinhl): Move code for finite nonzero arguments to
450 k_casinhl.c.
451 * math/libm-test.inc (cacos_test): Add more tests.
452 * sysdeps/i386/fpu/libm-test-ulps: Update.
453 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
454
2a26ef3a
PT
4552013-01-17 Pino Toscano <toscano.pino@tiscali.it>
456
457 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
458 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
459 [!HAVE_MREMAP]: Remove [defined linux] case.
460 * malloc/arena.c: Do not include <malloc-sysdep.h>.
461
a897655d
SP
4622013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
463
464 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
465
881ebe89 4662013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
467
468 * elf/elf.h (R_386_SIZE32): New relocation.
469 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
470 R_386_SIZE32.
471 (elf_machine_rela): Likewise.
472 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
473 R_X86_64_SIZE64 and R_X86_64_SIZE32.
474
59981e9b
JM
4752013-01-17 Joseph Myers <joseph@codesourcery.com>
476
477 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
478 (FP_FAST_FMA): Do not define.
479 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
480 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
481 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
482 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
483 !_SOFT_FLOAT]: Likewise.
484 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
485 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
486 value.
487 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
488 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
489 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
490 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
491 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
492 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
493 file.
494
cfa8054f
AS
4952013-01-16 Andreas Schwab <schwab@suse.de>
496
497 [BZ #14327]
498 * include/stdlib.h (__mktemp): Add declaration.
499 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
500 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
501
dd930cc5
SP
5022013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
503
881ebe89
SP
504 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
505 definitions.
506 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
507 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
508 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
509 definitions here.
510 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
511 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
512 definitions.
513 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
514 and ONE.
515 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
516 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
517 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
518 definitions.
519 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
520 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
521 definitions.
522 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 523
dd930cc5
SP
524 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
525
c19a9f89
DM
5262013-01-15 David S. Miller <davem@davemloft.net>
527
1aa61767
DM
528 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
529 trunc{,f} to libm-sysdep_routes.
530 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
531 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
532 file.
533 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
534 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
535 file.
536 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
537 file.
538 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
539 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
540 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
541 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
542 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
543 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
544 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
545 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
546
c42d5e98
DM
547 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
548 nearbyint{,f} to libm-sysdep_routes.
549 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
550 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
551 New file.
552 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
553 file.
554 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
555 New file.
556 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
557 file.
558 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
559 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
560 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
561 file.
562 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
563 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
564 file.
565 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
566 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
567 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
568
c19a9f89
DM
569 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
570 libc_feholdexcept and libc_fesetenv.
571
357679d2
MF
5722013-01-15 Mike Frysinger <vapier@gentoo.org>
573
574 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
575
65a82e3d
DM
5762013-01-14 David S. Miller <davem@davemloft.net>
577
8b954ab9
DM
578 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
579 (SPARC_ASM_VIS2_IFUNC): Likewise.
580 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
581 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
582 use of 'siam' instruction.
583 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
584 Likewise.
585 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
586 Likewise.
587 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
588 Likewise.
589 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
590 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
591 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
592 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
593 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
594 file.
595 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
596 file.
597 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
598 file.
599 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
600 file.
601 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
602 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
603 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
604 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
605 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
606 new VIS2 routines.
607 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
608 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
609 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
610 Likewise.
611 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
612 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
613 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
614 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
615 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
616 routines to libm-sysdep_routines.
617 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
618
65a82e3d
DM
619 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
620 fdim/fdimf to libm-sysdep_routines.
621 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
622 file.
623 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
624 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
625 file.
626 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
627 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
628 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
629 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
630 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
631 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
632 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
633
e34ab705
SP
6342013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
635
2a91b573
SP
636 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
637 to optimize copies.
638
1066a534
SP
639 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
640 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
641 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
642
e34ab705
SP
643 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
644 local variable MPTWO.
645 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
646 Likewise.
647
aba5e596
MF
6482013-01-13 Mike Frysinger <vapier@gentoo.org>
649
650 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
651 GLOB_NOESCAPE.
652
e557e9e5
MF
6532013-01-13 Mike Frysinger <vapier@gentoo.org>
654
655 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
656
0428cec9
MF
6572013-01-13 Mike Frysinger <vapier@gentoo.org>
658
659 * manual/pattern.texi (glob_t): Document gl_flags.
660 (glob64_t): Likewise.
661
8794a964
DM
6622013-01-11 David S. Miller <davem@davemloft.net>
663
66438c3f
RM
664 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
665 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
666 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
667 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
668 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
669 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
670 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
671 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
672 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
673 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
674 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
675 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
676 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
677
4ae4244d
DM
678 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
679 sparc V9 rather than using V8 code.
680 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
681 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
682
8794a964
DM
683 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
684 Move to...
685 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
686 Here.
687
6270516e
RM
6882013-01-11 Roland McGrath <roland@hack.frob.com>
689
690 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
691 not in the main loop.
692 * configure: Regenerated.
693
6a57d931
JM
6942013-01-11 Joseph Myers <joseph@codesourcery.com>
695
696 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
697 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
698 to just #else.
699 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
700 [!__GLIBC_HAVE_LONG_LONG] case.
701 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
702 condition to just #else.
703 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
704 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
705 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
706 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
707 unconditional.
708 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
709 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
710 #elif condition to just #else.
711 * sysdeps/unix/sysv/linux/sys/sysmacros.h
712 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
713 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
714 #elif condition to just #else.
715
0e8529e9
SE
7162013-01-11 Steve Ellcey <sellcey@mips.com>
717
718 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
719 (EF_MIPS_ARCH_64): Fix value.
720 (EF_MIPS_ARCH_32R2): New.
721 (EF_MIPS_ARCH_64R2): New.
722
740b3dbe
L
7232013-01-11 H.J. Lu <hongjiu.lu@intel.com>
724
725 * Makeconfig (+link-pie-before-libc): New.
726 (+link-pie-after-libc): Likewise.
727 (+link-pie-tests): Likewise.
728 (+link-pie): Rewritten.
729 (link-before-libc): Remove $(config-LDFLAGS).
730 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
731 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
732 (config-LDFLAGS): Renamed to ...
733 (rtld-LDFLAGS): This.
734 (rtld-tests-LDFLAGS): New macro.
735 (link-libc-rpath-link): Likewise.
736 (link-libc-tests-rpath-link): Likewise.
737 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
738 (link-libc): Prepand $(link-libc-rpath-link).
739 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
740 (test-program-prefix): New macro.
741 (test-via-rtld-prefix): Likewise.
742 (test-program-cmd): Likewise.
743 (host-test-program-cmd): Likewise.
744 * Makefile ($(common-objpfx)testrun.sh): Replace
745 $(run-program-prefix) with $(test-program-prefix).
746 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
747 $(rtld-LDFLAGS).
748 ($(common-objpfx)shlib.lds): Likewise.
749 (build-module-helper): Likewise.
750 ($(common-objpfx)format.lds): Likewise.
751 * Rules (binaries-pie-tests): New.
752 (binaries-pie-notests): Likewise.
753 (binaries-pie): Rewritten.
754 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
755 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
756 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
757 (make-test-out): Replace $(host-built-program-cmd) with
758 $(host-test-program-cmd).
759 * config.make.in (build-hardcoded-path-in-tests): New variable.
760 * configure.in (--enable-hardcoded-path-in-tests): New configure
761 option.
762 (hardcoded_path_in_tests): New AC_SUBST.
763 * configure: Regenerated.
764 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
765 $(built-program-cmd) with $(test-program-cmd).
766 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
767 (test_program_cmd): This.
768 * elf/Makefile ($(objpfx)order.out): Run test with
769 $(test-program-prefix).
770 ($(objpfx)order2.out): Likewise.
771 ($(objpfx)tst-initorder.out): Likewise.
772 ($(objpfx)tst-initorder2.out): Likewise.
773 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
774 $(test-program-cmd).
775 ($(objpfx)tst-array1-static.out): Likewise.
776 ($(objpfx)tst-array2.out): Likewise.
777 ($(objpfx)tst-array3.out): Likewise.
778 ($(objpfx)tst-array4.out): Likewise.
779 ($(objpfx)tst-array5.out): Likewise.
780 ($(objpfx)tst-array5-static.out): Likewise.
781 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
782 $(test-program-cmd).
783 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
784 $(run-program-prefix) with $(test-program-prefix).
785 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
786 (test_program_prefix): This.
787 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
788 $(run-program-prefix) with $(test-program-prefix).
789 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
790 (test_program_prefix): This.
791 * iconvdata/tst-tables.sh: Likewise.
792 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
793 $(run-program-prefix) with $(test-program-prefix).
794 ($(objpfx)tst-translit.out): Likewise.
795 ($(objpfx)tst-gettext2.out): Likewise.
796 ($(objpfx)tst-gettext4.out): Likewise.
797 ($(objpfx)tst-gettext6.out): Likewise.
798 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
799 (test_program_prefix): This.
800 * intl/tst-gettext2.sh: Likewise.
801 * intl/tst-gettext4.sh Likewise.
802 * intl/tst-gettext6.sh: Likewise.
803 * intl/tst-translit.sh: Likewise.
804 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
805 with $(test-program-cmd).
806 * libio/Makefile ($(objpfx)test-freopen.out): Replace
807 $(run-program-prefix) with $(test-program-prefix).
808 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
809 (test_program_prefix): This.
810 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
811 $(run-program-prefix) with $(test-program-prefix).
812 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
813 (test_program_prefix): This.
814 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
815 * posix/Makefile ($(objpfx)globtest.out): Replace
816 $(run-via-rtld-prefix) and $(test-wrapper) with
817 $(test-program-prefix) and $(test-via-rtld-prefix).
818 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
819 $(test-program-prefix).
820 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
821 $(host-test-program-cmd).
822 (tst-spawn-ARGS): Likewise.
823 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
824 $(test-program-prefix).
825 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
826 (test_via_rtld_prefix): This.
827 (test_wrapper): Renamed to ...
828 (test_program_prefix): This.
829 (run_program_prefix): Replaced by test_program_prefix.
830 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
831 (test_program_prefix): This.
832 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
833 with $(host-test-program-cmd).
834 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
835 $(run-program-prefix) with $(test-program-prefix).
836 ($(objpfx)tst-printf.out): Likewise.
837 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
838 $(test-program-cmd).
839 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
840 (test_program_prefix): This.
841 * stdio-common/tst-unbputc.sh: Likewise.
842 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
843 $(run-program-prefix) with $(test-program-prefix).
844 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
845 (test_program_prefix): This.
846 * string/Makefile ($(objpfx)tst-svc.out): Replace
847 $(built-program-cmd) with $(test-program-cmd).
848
c6fe55cf
AJ
8492013-01-11 Andreas Jaeger <aj@suse.de>
850
851 [BZ #15003]
852 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
853 value. Sync with Linux 3.7.
854
9e6919c8
DM
8552013-01-10 David S. Miller <davem@davemloft.net>
856
857 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
858 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
859 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
860
1c9f1a02
RM
8612013-01-10 Roland McGrath <roland@hack.frob.com>
862
863 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
864 never set.
865 * configure: Regenerated.
866
b9de2dde
DM
8672013-01-10 David S. Miller <davem@davemloft.net>
868
869 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
870 sparc V9 rather than using V8 code.
871 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
872 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
873
e7f68ef4
RM
8742013-01-10 Roland McGrath <roland@hack.frob.com>
875
876 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
877 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
878 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
879 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
880 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
881 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
882 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
883 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
884 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
885 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
886 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
887 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
888 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
889 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
890 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
891 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
892 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
893 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
894 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
895 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
896 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
897 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
898 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
899 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
900 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
901 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
902 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
903
5a47cc9c
DM
9042013-01-10 David S. Miller <davem@davemloft.net>
905
906 * sysdeps/sparc/fpu/libm-test-ulps: Update.
907
4cf8f209
L
9082013-01-10 H.J. Lu <hongjiu.lu@intel.com>
909
910 * posix/Makefile (tests-static): New variable.
911 (tests): Add $(tests-static).
912 (tst-exec-static-ARGS): New variable.
913 (tst-spawn-static-ARGS): Likewise.
914 * posix/tst-exec-static.c: New file.
915 * posix/tst-spawn-static.c: Likewise.
916 * posix/tst-exec.c: Support run directly.
917 * posix/tst-spawn.c: Likewise.
918
fed0faa1
JM
9192013-01-10 Joseph Myers <joseph@codesourcery.com>
920
828beb13
JM
921 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
922 long.
923 * math/bits/mathcalls.h (llrint): Likewise.
924 (llround): Likewise.
925 * stdlib/stdlib.h (struct drand48_data): Likewise.
926 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
927 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
928 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
929 Likewise.
930 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
931 Likewise.
932 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
933 (elf_greg_t): Likewise.
934 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
935 (__jmp_buf): Likewise.
936 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
937 definitions.
938 (llrint): Likewise, for all definitions.
939 (llrintl): Likewise.
940
fed0faa1
JM
941 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
942 Remove [__GNUC__] condition.
943 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
944 condition to just [__USE_ISOC99].
945 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
946
1a20cb20
L
9472013-01-10 H.J. Lu <hongjiu.lu@intel.com>
948
949 [BZ #14200]
950 * sysdeps/unix/sysv/linux/x86/bits/environments.h
951 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
952 defined.
953 (_POSIX_V6_ILP32_OFF32): Likewise.
954 (_XBS5_ILP32_OFF32): Likewise.
955 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
956 (__ILP32_OFFBIG_LDFLAGS): Likewise.
957
751b85f7
SP
9582013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
959
7490eb81
SP
960 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
961
751b85f7
SP
962 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
963 doubles __mpexp_twomm1. Adjust usage.
964 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
965 Remove.
966
988197f0
AS
9672013-01-10 Andreas Schwab <schwab@suse.de>
968
969 [BZ #14964]
970 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
971 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
972
e83d7298
DM
9732013-01-09 David S. Miller <davem@davemloft.net>
974
034ed64b 975 [BZ #15003]
e83d7298
DM
976 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
977 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
978 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
979 TCP_FASTOPEN): Define.
980 (tcp_repair_opt): New structure.
981 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
982 enum values.
983 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
984 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
985 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
986 (tcp_cookie_transactions): New structure.
987
d5e0b9bd
AB
9882013-01-09 Anton Blanchard <anton@samba.org>
989
990 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
991 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
992 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
993 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
994
0c07e3ea
JM
9952013-01-09 Joseph Myers <joseph@codesourcery.com>
996
997 * include/features.h (__USE_ANSI): Remove.
998
232f7002
RM
9992013-01-09 Roland McGrath <roland@hack.frob.com>
1000
ad98e30c
RM
1001 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
1002
232f7002
RM
1003 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
1004
950c99ca
SP
10052013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
1006
b5792741
SP
1007 * sysdeps/s390/fpu/libm-test-ulps: Update.
1008
47cf2278
SP
1009 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1010
950c99ca
SP
1011 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
1012 (__acr): Likewise.
1013 (__cpy): Likewise.
1014 (norm): Likewise.
1015 (denorm): Likewise.
1016 (__mp_dbl): Likewise.
1017 (__dbl_mp): Likewise.
1018 (add_magnitudes): Likewise.
1019 (sub_magnitudes): Likewise.
1020 (__add): Likewise.
1021 (__sub): Likewise.
1022 (__mul): Likewise.
1023 (__inv): Likewise.
1024 (__dvd): Likewise.
1025 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
1026 (__acr): Likewise.
1027 (__cpy): Likewise.
1028 (norm): Likewise.
1029 (denorm): Likewise.
1030 (__mp_dbl): Likewise.
1031 (__dbl_mp): Likewise.
1032 (add_magnitudes): Likewise.
1033 (sub_magnitudes): Likewise.
1034 (__add): Likewise.
1035 (__sub): Likewise.
1036 (__mul): Likewise.
1037 (__inv): Likewise.
1038 (__dvd): Likewise.
1039 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
1040 (__acr): Likewise.
1041 (__cpy): Likewise.
1042 (norm): Likewise.
1043 (denorm): Likewise.
1044 (__mp_dbl): Likewise.
1045 (__dbl_mp): Likewise.
1046 (add_magnitudes): Likewise.
1047 (sub_magnitudes): Likewise.
1048 (__add): Likewise.
1049 (__sub): Likewise.
1050 (__mul): Likewise.
1051 (__inv): Likewise.
1052 (__dvd): Likewise.
1053
eede9df9
JM
10542013-01-08 Joseph Myers <joseph@codesourcery.com>
1055
1056 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
1057 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
1058 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
1059 2 && __USE_EXTERN_INLINES]: Likewise.
1060
c40ea3d9
AJ
10612013-01-08 Andreas Jaeger <aj@suse.de>
1062
1063 [BZ# 14985]
1064 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
1065 Remove.
1066 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
1067 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
1068
2ccdea26
AB
10692013-01-07 Anton Blanchard <anton@samba.org>
1070
1071 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
1072 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
1073 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
1074 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
1075 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
1076 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
1077 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
1078 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
1079 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
1080 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
1081 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
1082 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
1083 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
1084 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
1085 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
1086 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
1087 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
1088 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
1089 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
1090 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
1091 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
1092 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
1093 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
1094 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
1095 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
1096 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
1097 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
1098 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
1099 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
1100 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
1101 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
1102 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
1103 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
1104 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
1105 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
1106 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
1107 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
1108 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
1109 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
1110 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
1111 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
1112 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
1113 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
1114
a9708fed
JM
11152013-01-07 Joseph Myers <joseph@codesourcery.com>
1116
375607b9
JM
1117 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
1118 (__MALLOC_PMT): Likewise.
1119 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
1120 [__GNUC__], only on [_LIBC].
1121 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
1122 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
1123 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
1124 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
1125 forward declaration.
1126 (realloc_hook_ini): Likewise.
1127 (memalign_hook_ini): Likewise.
1128 (__libc_memalign): Do not use __MALLOC_PMT in variable
1129 declaration.
1130 (__libc_valloc): Likewise.
1131 (__libc_pvalloc): Likewise.
1132 (__libc_calloc): Likewise.
1133 (__posix_memalign): Likewise.
1134
a9708fed
JM
1135 [BZ #14996]
1136 * math/s_casinh.c: Include <float.h>.
1137 (__casinh): Do not do computation with squaring and square root
1138 for large arguments.
1139 * math/s_casinhf.c: Include <float.h>.
1140 (__casinhf): Do not do computation with squaring and square root
1141 for large arguments.
1142 * math/s_casinhl.c: Include <float.h>.
1143 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
1144 (__casinhl): Do not do computation with squaring and square root
1145 for large arguments.
1146 * math/libm-test.inc (casin_test): Add more tests.
1147 (casinh_test): Likewise.
1148 * sysdeps/i386/fpu/libm-test-ulps: Update.
1149 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1150
afec409a
L
11512013-01-04 H.J. Lu <hongjiu.lu@intel.com>
1152
1153 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
1154 (__x86_64_raw_data_cache_size): Likewise.
1155 (__x86_64_data_cache_size_half): Likewise.
1156 (__x86_64_raw_data_cache_size_half): Likewise.
1157 (__x86_64_shared_cache_size): Likewise.
1158 (__x86_64_raw_shared_cache_size): Likewise.
1159 (__x86_64_shared_cache_size_half): Likewise.
1160 (__x86_64_raw_shared_cache_size_half): Likewise.
1161 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
1162 to ...
1163 (__x86_data_cache_size): This.
1164 (__x86_64_raw_data_cache_size): Renamed to ...
1165 (__x86_raw_data_cache_size): This.
1166 (__x86_64_data_cache_size_half): Renamed to ...
1167 (__x86_data_cache_size_half): This.
1168 (__x86_64_raw_data_cache_size_half): Renamed to ...
1169 (__x86_raw_data_cache_size_half): This.
1170 (__x86_64_shared_cache_size): Renamed to ...
1171 (__x86_shared_cache_size): This.
1172 (__x86_64_raw_shared_cache_size): Renamed to ...
1173 (__x86_raw_shared_cache_size): This.
1174 (__x86_64_shared_cache_size_half): Renamed to ...
1175 (__x86_shared_cache_size_half): This.
1176 (__x86_64_raw_shared_cache_size_half): Renamed to ...
1177 (__x86_raw_shared_cache_size_half): This.
1178 * sysdeps/x86_64/memcpy.S: Updated.
1179 * sysdeps/x86_64/memset.S: Likewise.
1180 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
1181 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
1182 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
1183
0b3986d0
DM
11842013-01-04 David S. Miller <davem@davemloft.net>
1185
1186 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1187
e47686e9
AS
11882013-01-04 Andreas Schwab <schwab@linux-m68k.org>
1189
d643bac1
AS
1190 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
1191 1 to avoid redefinition warning.
1192 (__USE_GNU): Don't define.
1193 (init_signaling_nan): Protoize.
1194
e47686e9
AS
1195 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1196
b18decba
SP
11972013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1198
fffb407f
SP
1199 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
1200 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
1201 (__cpymn): Likewise.
1202 (norm): Remove commented code.
1203 (denorm): Likewise.
1204 (__mp_dbl): Likewise.
1205 (__inv): Likewise.
1206 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
1207 (__cpymn): Likewise.
1208 (norm): Remove commented code.
1209 (denorm): Likewise.
1210 (__mp_dbl): Likewise.
1211 (__inv): Likewise.
1212
b18decba
SP
1213 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
1214 mp_no value for 1.0 and 2.0.
1215 (norm): Use RADIXI instead of radixi.d.
1216 (denorm): Likewise.
1217 (__mul): Use 0.0 instead of zero.d.
1218 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
1219 mp_no value for 1.0 and 2.0.
1220 (norm): Use RADIXI instead of radixi.d.
1221 (denorm): Likewise.
1222 (__mul): Use 0.0 instead of zero.d.
1223
cdc1c96f
JM
12242013-01-04 Joseph Myers <joseph@codesourcery.com>
1225
1226 [BZ #14994]
1227 * math/s_casinh.c (__casinh): Reduce finite argument to first
1228 quadrant then set signs of results at the end.
1229 * math/s_casinhf.c (__casinhf): Likewise.
1230 * math/s_casinhl.c (__casinhl): Likewise.
1231 * math/libm-test.inc (casin_test): Add more tests.
1232 (casinh_test): Likewise.
1233 * sysdeps/i386/fpu/libm-test-ulps: Update.
1234 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1235
302913e1
SP
12362013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1237
6420d207
SP
1238 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
1239
a9e48ab4
SP
1240 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
1241
b7837264
SP
1242 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
1243 declarations.
1244 (denorm): Likewise.
1245 (__mp_dbl): Likewise.
1246 (__inv): Likewise.
1247
f8af25d2
SP
1248 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
1249 and adjust the header comment.
1250
302913e1
SP
1251 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
1252 variable name from declaration.
1253
5d7dd1ca
L
12542013-01-03 H.J. Lu <hongjiu.lu@intel.com>
1255
1256 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1257 Initialize COMMON_CPUID_INDEX_7 element.
1258 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
1259 (CPUID_RTM): Likewise.
1260 (HAS_RTM): Likewise.
1261 (COMMON_CPUID_INDEX_7): New enum.
1262
2f5f40f4
AS
12632013-01-03 Andreas Schwab <schwab@linux-m68k.org>
1264
1265 [BZ #14981]
1266 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
1267 size is zero, record memory as freed.
1268
4056f4a0
AJ
12692013-01-03 Andreas Jaeger <aj@suse.de>
1270
1271 * po/ia.po: Add new Interlingua translation.
1272
ab15736f 12732012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
1274
1275 * locale/programs/localedef.c: Fix description of '--posix' flag.
1276
568035b7
JM
12772013-01-02 Joseph Myers <joseph@codesourcery.com>
1278
e6898b8d
JM
1279 * NEWS: Update dates in second copyright notice.
1280 * README: Update copyright dates in example.
1281 * manual/libc.texinfo: Update copyright dates.
1282 * scripts/test-installation.pl: Update copyright date in --version
1283 output.
1284
0e2f9562
JM
1285 * hurd/ctty-input.c: Fix copyright notice formatting.
1286 * hurd/ctty-output.c: Likewise.
1287 * hurd/dtable.c: Likewise.
1288 * hurd/hurd-raise.c: Likewise.
1289 * hurd/hurdprio.c: Likewise.
1290 * hurd/msgportdemux.c: Likewise.
1291 * misc/sys/file.h: Likewise.
1292 * misc/sys/ioctl.h: Likewise.
1293 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
1294 * sysdeps/mach/hurd/chdir.c: Likewise.
1295 * sysdeps/mach/hurd/fchdir.c: Likewise.
1296 * sysdeps/mach/hurd/rename.c: Likewise.
1297 * sysdeps/mach/hurd/rmdir.c: Likewise.
1298 * sysdeps/mach/hurd/seekdir.c: Likewise.
1299 * sysdeps/mach/hurd/setsid.c: Likewise.
1300 * sysdeps/posix/wait3.c: Likewise.
1301
568035b7
JM
1302 * All files with FSF copyright notices: Update copyright dates
1303 using scripts/update-copyrights.
1304 * intl/plural.c: Regenerated.
1305 * locale/programs/charmap-kw.h: Likewise.
1306 * locale/programs/locfile-kw.h: Likewise.
1307
da08f647
SP
13082013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1309
0f5477af
SP
1310 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
1311 four values.
1312
44e0d4c2
SP
1313 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
1314 calculation loop and add branch prediction.
1315
4d55b4e5
SP
1316 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
1317 check access beyond bounds of m1np.
1318
da08f647
SP
1319 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
1320 MPTWO.
1321 (__inv): Remove local variable MPTWO to use the global
1322 constant.
1323 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
1324 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
1325 variable MPTWO.
1326 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
1327 MP3HALFS static const.
1328
8e051029
DM
13292013-01-01 David S. Miller <davem@davemloft.net>
1330
1331 * po/ca.po: Update from translation team.
1332
f4cf5f2d
JM
13332013-01-01 Joseph Myers <joseph@codesourcery.com>
1334
1335 * scripts/update-copyrights: New file.
1336 * Makeconfig: Reformat copyright notice.
1337 * ctype/ctype.h: Likewise.
1338 * debug/swprintf_chk.c: Likewise.
1339 * elf/dl-cache.c: Likewise.
1340 * elf/dl-debug.c: Likewise.
1341 * elf/dl-object.c: Likewise.
1342 * grp/initgroups.c: Likewise.
1343 * hurd/Makefile: Likewise.
1344 * hurd/hurd/signal.h: Likewise.
1345 * hurd/hurdfault.c: Likewise.
1346 * hurd/hurdioctl.c: Likewise.
1347 * hurd/hurdlookup.c: Likewise.
1348 * hurd/intr-msg.c: Likewise.
1349 * iconv/gconv_open.c: Likewise.
1350 * libio/swprintf.c: Likewise.
1351 * locale/lc-ctype.c: Likewise.
1352 * locale/nl_langinfo.c: Likewise.
1353 * mach/Machrules: Likewise.
1354 * mach/Makefile: Likewise.
1355 * malloc/obstack.h: Likewise.
1356 * manual/Makefile: Likewise.
1357 * manual/tsort.awk: Likewise.
1358 * misc/bits/stab.def: Likewise.
1359 * nis/nis_print_group_entry.c: Likewise.
1360 * nis/nis_table.c: Likewise.
1361 * nis/nss_compat/compat-pwd.c: Likewise.
1362 * nis/nss_compat/compat-spwd.c: Likewise.
1363 * po/Makefile: Likewise.
1364 * posix/fnmatch.c: Likewise.
1365 * posix/regex.h: Likewise.
1366 * resolv/Makefile: Likewise.
1367 * resolv/nss_dns/dns-network.c: Likewise.
1368 * resolv/res_hconf.c: Likewise.
1369 * scripts/gen-sorted.awk: Likewise.
1370 * soft-fp/soft-fp.h: Likewise.
1371 * stdio-common/printf.h: Likewise.
1372 * stdlib/monetary.h: Likewise.
1373 * stdlib/random.c: Likewise.
1374 * stdlib/random_r.c: Likewise.
1375 * sysdeps/generic/Makefile: Likewise.
1376 * sysdeps/gnu/Makefile: Likewise.
1377 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
1378 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
1379 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
1380 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
1381 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
1382 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
1383 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
1384 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
1385 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
1386 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
1387 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
1388 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
1389 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
1390 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
1391 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
1392 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
1393 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
1394 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
1395 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
1396 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
1397 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
1398 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
1399 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
1400 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
1401 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
1402 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
1403 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
1404 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
1405 * sysdeps/mach/hurd/errnos.awk: Likewise.
1406 * sysdeps/mach/hurd/fork.c: Likewise.
1407 * sysdeps/mach/hurd/getcwd.c: Likewise.
1408 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
1409 * sysdeps/mach/hurd/mmap.c: Likewise.
1410 * sysdeps/mach/hurd/utimes.c: Likewise.
1411 * sysdeps/mach/hurd/xmknod.c: Likewise.
1412 * sysdeps/posix/profil.c: Likewise.
1413 * sysdeps/posix/readdir_r.c: Likewise.
1414 * sysdeps/powerpc/bits/mathdef.h: Likewise.
1415 * sysdeps/powerpc/bits/setjmp.h: Likewise.
1416 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
1417 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
1418 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
1419 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
1420 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
1421 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
1422 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
1423 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
1424 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
1425 * sysdeps/pthread/lio_listio.c: Likewise.
1426 * sysdeps/sparc/dl-procinfo.h: Likewise.
1427 * sysdeps/unix/i386/sysdep.S: Likewise.
1428 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
1429 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
1430 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
1431 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
1432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
1433 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
1434 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
1435 * sysdeps/unix/sysv/linux/speed.c: Likewise.
1436 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
1437 * sysdeps/wordsize-32/divdi3.c: Likewise.
1438 * time/sys/time.h: Likewise.
1439 * wcsmbs/Makefile: Likewise.
1440
0549fbba
DM
14412013-01-01 David S. Miller <davem@davemloft.net>
1442
a141f1a7
DM
1443 * po/fr.po: Update from translation team.
1444
0549fbba
DM
1445 * catgets/gencat.c: Update copyright year.
1446 * csu/version.c: Likewise.
1447 * debug/catchsegv.sh: Likewise.
1448 * debug/pcprofiledump.c: Likewise.
1449 * debug/xtrace.sh: Likewise.
1450 * elf/ldconfig.c: Likewise.
1451 * elf/ldd.bash.in: Likewise.
1452 * elf/pldd.c: Likewise.
1453 * elf/sotruss.ksh: Likewise.
1454 * elf/sprof.c: Likewise.
1455 * iconv/iconv_prog.c: Likewise.
1456 * iconv/iconvconfig.c: Likewise.
1457 * locale/programs/locale.c: Likewise.
1458 * locale/programs/localedef.c: Likewise.
1459 * login/programs/pt_chown.c: Likewise.
1460 * malloc/memusage.sh: Likewise.
1461 * malloc/memusagestat.c: Likewise.
1462 * malloc/mtrace.pl: Likewise.
1463 * nscd/nscd.c: Likewise.
1464 * nss/getent.c: Likewise.
1465 * nss/makedb.c: Likewise.
1466 * posix/getconf.c: Likewise.
1467
18ea052c
SP
14682012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
1469
1470 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
1471 numbers.
1472
9c89fca6
MF
14732012-12-30 Mike Frysinger <vapier@gentoo.org>
1474
1475 * math/bits/mathcalls.h (modf): Use __nonnull.
1476
085ec079
SP
14772012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1478
1479 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
1480 (split): Use macro CN instead of the bare value.
1481 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
1482 could be used.
1483 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
1484 instead of the bare value.
1485 (power1): Likewise.
1486
6d9f97e1
SP
14872012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1488
d63f73be
SP
1489 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
1490 __ATAN_TWOM.
1491 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
1492
6d9f97e1
SP
1493 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
1494 their values.
1495 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
1496 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
1497 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
1498 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
1499
4c4febf5
AJ
15002012-12-28 Andreas Jaeger <aj@suse.de>
1501
af5843ef
AJ
1502 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
1503 values are from Linux 3.7.
1504
4c4febf5
AJ
1505 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
1506 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
1507
99136f82
SP
15082012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1509
2f216c3c 1510 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
1511 TRUE case.
1512
99136f82
SP
1513 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
1514 (norm): Likewise.
1515 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
1516 variables with preprocessor constants.
1517 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
1518 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
1519 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
1520
7fffbdff
BH
15212012-12-27 Bruno Haible <bruno@clisp.org>
1522
1523 [BZ #14317]
1524 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
1525 only if needed.
1526
b76eb5f0
SP
15272012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1528
31a7fe5c
SP
1529 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
1530 and use variable directly.
1531 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
1532
b76eb5f0
SP
1533 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
1534 MPONE.
1535 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
1536 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
1537 variable MPONE.
1538 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
1539 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
1540 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
1541 include directive. Remove local variable MPONE.
1542 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
1543 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
1544 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
1545
2c8bfe7d
DM
15462012-12-25 David S. Miller <davem@davemloft.net>
1547
1548 * version.h (RELEASE): Set to "development".
1549 (VERSION): Set to "2.17.90".
1550 * NEWS: Add 2.18 section.
1551
147d03b0
DM
15522012-12-21 David S. Miller <davem@davemloft.net>
1553
1554 * po/hr.po: Update from translation team.
1555
a8ebb2b9
AK
15562012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1557
1558 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
1559
95b4f1b6
SE
15602012-12-19 Steve Ellcey <sellcey@mips.com>
1561
b2d94007 1562 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 1563
cedb2a90
MS
15642012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1565
1566 * manual/contrib.texi (Contributors): Spelling correction.
1567
bbf527d6
DM
15682012-12-15 David S. Miller <davem@davemloft.net>
1569
1570 * po/ru.po: Update from translation team.
1571
bc38c906
DM
15722012-12-13 David S. Miller <davem@davemloft.net>
1573
85429b1a
DM
1574 * NEWS: Mention IFUNC testsuite enhancements.
1575
d283e353
DM
1576 * po/pl.po: Update from translation team.
1577 * po/bg.po: Likewise.
1578
bc38c906
DM
1579 * manual/contrib.texi (Contributors): Update entries for Hongjiu
1580 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
1581
a181b0d7
DM
15822012-12-11 David S. Miller <davem@davemloft.net>
1583
4641d57e
DM
1584 * po/sv.po: Update from translation team.
1585
f7bc6495
DM
1586 * po/vi.po: Update from translation team.
1587
6fc9048f
DM
1588 * po/cs.po: Update from translation team.
1589
a181b0d7
DM
1590 * po/de.po: Update from translation team.
1591 * po/eo.po: Likewise.
1592 * po/nl.po: Likewise.
1593
f70bfe80
SP
15942012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1595
3c8b4190
SP
1596 [BZ #14246]
1597 * manual/argp.texi (Argp Helper Functions): Move node to follow
1598 Argp Parsing State.
1599
f70bfe80
SP
1600 [BZ #14872]
1601 * manual/conf.texi (Limits on File System Capacity): Mention if
1602 terminating null is included in the max size.
1603
188f0adf
AJ
16042012-12-10 Andreas Jaeger <aj@suse.de>
1605
1606 * po/cs.po: Update from translation team.
1607
56e7d3ad
SP
16082012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
1609
1610 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
1611 void pointer and cast to uintptr_t.
1612 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
1613 path.
1614 * sysdeps/s390/s390-64/memcpy.S: Likewise.
1615 * sysdeps/s390/s390-64/memset.S: Likewise.
1616
76f2d2ea 16172012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
1618
1619 [BZ #14833]
1620 * menual/message.texi (Message Translation): Fix typos.
1621 (Helper programs for gettext): Likewise.
1622
67cbf9a2
AS
16232012-12-07 Andreas Schwab <schwab@linux-m68k.org>
1624
1625 [BZ #14898]
1626 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
1627 Change to -1.
1628
682d0e9a
DM
16292012-12-07 David S. Miller <davem@davemloft.net>
1630
1631 * po/libc.pot: Update.
1632
573cd484
RH
16332012-12-07 Richard Henderson <rth@redhat.com>
1634
7e9da188 1635 [BZ #10114]
573cd484
RH
1636 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
1637 normal/normal case to before the switch.
1638 (_FP_DIV): Likewise.
1639
e933a943
MF
16402012-12-06 Carlos O'Donell <carlos@systemhalted.org>
1641 Mike Frysinger <vapier@gentoo.org>
1642
1643 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
1644 check for __NR_fadvise64_64.
1645
82123268
CM
16462012-12-06 Chris Metcalf <cmetcalf@tilera.com>
1647
1648 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
1649 0, not just to plain "0" as a statement.
1650 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
1651 with cw.
1652
d9814526
JM
16532012-12-06 Joseph Myers <joseph@codesourcery.com>
1654
1655 * NEWS: Use sourceware.org in Bugzilla URL.
1656
7728c574
SP
16572012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
1658
f16946dd
SP
1659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
1660 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
1661
5704bbcb
SP
1662 * stdio-common/tst-put-error.c (do_test): Add newline to the
1663 padded test to ensure flush.
1664
17aa0516
JL
16652012-12-05 Jeff Law <law@redhat.com>
1666
1667 * sunrpc/etc.rpc (fedfs_admin): Add entry.
1668
363313b5
JM
16692012-12-05 Joseph Myers <joseph@codesourcery.com>
1670
effbd42a
JM
1671 * README: Don't refer to ports add-on as distributed separately.
1672 Mention AArch64 in list of systems supported in the ports add-on.
1673
87600365
JM
1674 * LICENSES: Add more non-FSF copyright and license notices.
1675
a0d7066a
JM
1676 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
1677 ((unused)).
1678
66ca5a5b
JM
1679 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
1680
363313b5
JM
1681 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
1682 10000 as width of padded output.
1683
b37984ad
JM
16842012-12-04 Joseph Myers <joseph@codesourcery.com>
1685
9003570a
JM
1686 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
1687
b37984ad
JM
1688 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
1689 variable LX with __attribute__ ((unused)).
1690 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
1691 Likewise.
1692 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
1693 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
1694 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
1695 with __attribute__ ((unused)).
1696
c8df52ec
DM
16972012-12-04 David S. Miller <davem@abraco.davemloft.net>
1698
1699 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
1700
b3b099af
JM
17012012-12-04 Joseph Myers <joseph@codesourcery.com>
1702
c33aa6e3
JM
1703 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
1704 (CFLAGS-nldbl-acos.c): New variable.
1705 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
1706 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
1707 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
1708 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
1709 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
1710 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
1711 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
1712 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
1713 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
1714 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
1715 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
1716 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
1717 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
1718 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
1719 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
1720 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
1721 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
1722 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
1723 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
1724 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
1725 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
1726 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
1727 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
1728 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
1729 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
1730 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
1731 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
1732 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
1733 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
1734 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
1735 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
1736 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
1737 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
1738 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
1739 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
1740 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
1741 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
1742 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
1743 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
1744 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
1745 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
1746 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
1747 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
1748 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
1749 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
1750 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
1751 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
1752 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
1753 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
1754 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
1755 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
1756 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
1757 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
1758 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
1759 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
1760 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
1761 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
1762 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
1763 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
1764 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
1765 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
1766 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
1767 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
1768 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
1769 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
1770 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
1771 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
1772 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
1773 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
1774 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
1775 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
1776 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
1777 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
1778 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
1779 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
1780 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
1781 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
1782 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
1783 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
1784 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
1785 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
1786 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
1787 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
1788 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
1789 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
1790 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
1791 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
1792 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
1793 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
1794 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
1795 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
1796 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
1797 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
1798 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
1799 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
1800 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
1801 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
1802
20f0018d
JM
1803 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
1804 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
1805
b3b099af
JM
1806 [BZ #14914]
1807 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
1808 whole low double instead of just low 47 bits when splitting values
1809 into two parts.
1810
029264d1
AM
18112012-12-03 Allan McRae <allan@archlinux.org>
1812
1813 * manual/stdio.texi (Predefined Printf Handlers): Remove
1814 @hsep and @vsep usage.
1815
c9d6789e
MF
18162012-12-03 Mike Frysinger <vapier@gentoo.org>
1817
1818 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
1819 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
1820
4b7634a5
JL
18212012-12-03 Jeff Law <law@redhat.com>
1822
1823 * time/sys/time.h (settimeofday): Do not mark TV argument
1824 as __nonnull.
1825
eb6cbd24
MF
18262012-12-01 Mike Frysinger <vapier@gentoo.org>
1827
1828 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
1829 when currently writing and seek to current position when not.
1830 * libio/Makefile (tests): Remove bug-fclose1.
1831 * libio/bug-fclose1.c: Delete.
1832
f638872a
JM
18332012-12-01 Joseph Myers <joseph@codesourcery.com>
1834
1835 * manual/arith.texi (feenableexcept): Fix typo.
1836 (fedisableexcept): Likewise.
1837
48085d14
RM
18382012-11-30 Roland McGrath <roland@hack.frob.com>
1839
1840 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
1841 second, differently-typed declaration, rather than a cast.
1842
1a538b9f
SP
18432012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1844
1845 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
1846 * include/rpc/svc.h: ... here.
1847
d07f2ff1 18482012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
1849
1850 [BZ #13013]
1851 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
1852 depending n and resplen2 to catch cases where answer
1853 equals answerp2.
1854
c93ec1f0
CD
18552012-11-29 Carlos O'Donell <carlos@systemhalted.org>
1856
1857 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
1858 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
1859
37db69de
MF
18602012-11-29 Mike Frysinger <vapier@gentoo.org>
1861
1862 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
1863
e10c4e4f
RM
18642012-11-29 Roland McGrath <roland@hack.frob.com>
1865
1866 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
1867
2af1b328
JL
18682012-11-28 Jeff Law <law@redhat.com>
1869
1870 [BZ #13761]
1871 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
1872 dataset_temporary. Track alloca usage into alloca_used.
1873 If dataset is large allocate and release it via malloc/free.
1874
111db5b1
FW
18752012-06-04 Florian Weimer <fweimer@redhat.com>
1876
f06cc227 1877 [BZ #14197]
111db5b1
FW
1878 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
1879
dd694abd
DM
18802012-11-28 David S. Miller <davem@davemloft.net>
1881
1882 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1883
9984dd01
JM
18842012-11-28 Joseph Myers <joseph@codesourcery.com>
1885
1886 [BZ #14803]
1887 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
1888 of pi/2 rounded to nearest to 64 bits.
1889 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
1890 nearest to 64 bits.
1891 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
1892 bits.
1893
14bc93a9
JL
18942012-11-28 Jeff Law <law@redhat.com>
1895 Martin Osvald <mosvald@redhat.com>
1896
1897 [BZ #14889]
1898 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
1899 * sunrpc/svc.c: Include time.h.
1900 (__svc_accept_failed): New function.
1901 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
1902 any reason other than EINTR, call __svc_accept_failed.
1903 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
1904 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
1905
e3c6aa3a
AS
19062012-11-28 Andreas Schwab <schwab@suse.de>
1907
1908 * scripts/abilist.awk: Also handle indirect functions in .opd
1909 section.
1910
1bead169
JM
19112012-11-28 Joseph Myers <joseph@codesourcery.com>
1912
1913 [BZ #13881]
1914 * sysdeps/x86/fpu/powl_helper.c: New file.
1915 * sysdeps/x86/fpu/Makefile: Likewise.
1916 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
1917 (p3): New object.
1918 (__ieee754_powl): Use __powl_helper for finite arguments except
1919 integer exponents below 8.
1920 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
1921 (p3): New object.
1922 (__ieee754_powl): Use __powl_helper for finite arguments except
1923 integer exponents below 8.
1924 * math/libm-test.inc (pow_test): Add more tests and enable some
1925 previously disabled tests.
1926 * sysdeps/i386/fpu/libm-test-ulps: Update.
1927 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1928
0817d63d
SP
19292012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1930 Carlos O'Donell <carlos_odonell@mentor.com>
1931
1932 * nss/makedb.c (is_prime): Assert that input is odd and greater
1933 than 4. Note that fact in a comment too.
1934 (next_prime): Add 4 to input.
1935
de2fd463
SP
19362012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1937
1938 [BZ #11741]
1939 * libio/Makefile (tests): Add test case tst-fwrite-error.
1940 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
1941 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
1942 * libio/tst-fwrite-error.c: New test case.
1943
c515fb51
L
19442012-11-26 H.J. Lu <hongjiu.lu@intel.com>
1945
1946 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
1947 before casting to void *.
1948 * include/libc-internal.h (__pointer_type): New macro.
1949 (__integer_if_pointer_type_sub): Likewise.
1950 (__integer_if_pointer_type): Likewise.
1951 (cast_to_integer): Likewise.
1952 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
1953 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
1954 before casting to atomic64_t.
1955 (atomic_exchange_acq): Likewise.
1956 (__arch_exchange_and_add_body): Likewise.
1957 (__arch_add_body): Likewise.
1958 (atomic_add_negative): Likewise.
1959 (atomic_add_zero): Likewise.
1960
4cf77aa9
JM
19612012-11-26 Joseph Myers <joseph@codesourcery.com>
1962
1963 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
1964 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
1965 (add_fdes): Likewise.
1966 (linear_search_fdes): Likewise.
1967 (binary_search_unencoded_fdes): Likewise.
1968
d260b3b4
AS
19692012-11-26 Andreas Schwab <schwab@linux-m68k.org>
1970
1971 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
1972
67060746
AC
19732012-11-24 Adam Conrad <adconrad@0c3.net>
1974
1975 * configure.in: Autodetect C++ header directories.
1976 * configure: Regenerated.
1977
800938a1
MF
19782012-11-23 Mike Frysinger <vapier@gentoo.org>
1979
1980 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
1981
4e6e34e6
AS
19822012-11-23 Andreas Schwab <schwab@linux-m68k.org>
1983
1984 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1985
7c7feb47
JM
19862012-11-22 Joseph Myers <joseph@codesourcery.com>
1987
7184dcdf
JM
1988 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
1989 LDBL_MANT_DIG == 106]: Disable some tests.
1990 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
1991 Likewise.
1992 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
1993 Likewise.
1994
0a42601f
JM
1995 [BZ #14871]
1996 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
1997 input for small inputs. Return +/- pi/2 for large inputs.
1998 * math/libm-test.inc (atan_test): Add more tests.
1999
79c9b9fe
JM
2000 * sysdeps/generic/unwind-dw2-fde-glibc.c
2001 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
2002 __attribute__ ((unused)).
2003
c60d3bf2
JM
2004 [BZ #14645]
2005 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
2006 x * y if x and y are nonzero and z is zero.
2007
ef1e0867
JM
2008 [BZ #14811]
2009 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
2010 nonzero exponents with absolute value below 0x1p-117 to +/-
2011 0x1p-117.
2012
1468ded3
JM
2013 [BZ #14869]
2014 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
2015 up arguments below 2**-450, not just those below 2**-500.
2016 * math/libm-test.inc (hypot_test): Add another test.
2017
8e27e3cc
JM
2018 [BZ #14868]
2019 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
2020 Return a+b for ratio over 2**120, not 2**60.
2021 * math/libm-test.inc (hypot_test): Add another test.
2022
c9c0279b
JM
2023 * math/libm-test.inc (clog_test): Use
2024 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
2025 (clog10_test): Likewise.
2026
7c7feb47
JM
2027 [BZ #6778]
2028 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
2029
fff1530e
AS
20302012-11-22 Andreas Schwab <schwab@suse.de>
2031
2032 * sysdeps/i386/fpu/libm-test-ulps: Update.
2033
94558d30
PT
20342012-11-22 Pino Toscano <toscano.pino@tiscali.it>
2035
2036 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
2037 printf output with newline.
2038
7e1be741
L
20392012-11-21 H.J. Lu <hongjiu.lu@intel.com>
2040
6bfea974
L
2041 [BZ #14865]
2042 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
2043 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
2044 -z nodlopen, -z initfirst and -z execstack support.
2045 * configure: Regenerated.
2046
7e1be741
L
2047 * elf/elf.h (DF_1_NODIRECT): New macro.
2048 (DF_1_IGNMULDEF): Likewise.
2049 (DF_1_NOKSYMS): Likewise.
2050 (DF_1_NOHDR): Likewise.
2051 (DF_1_EDITED): Likewise.
2052 (DF_1_NORELOC): Likewise.
2053 (DF_1_SYMINTPOSE): Likewise.
2054 (DF_1_GLOBAUDIT): Likewise.
2055 (DF_1_SINGLETON): Likewise.
2056 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
2057 DT_1_SUPPORTED_MASK bits.
2058 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
2059
105ce2ce
CD
20602012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
2061
2062 * sysdeps/unix/make-syscalls.sh: Document prefixes.
2063
123be9de
TS
20642012-11-20 Thomas Schwinge <thomas@codesourcery.com>
2065
d072f3f7
TS
2066 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
2067 macro.
2068
123be9de
TS
2069 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
2070 (sendmmsg): Move declarations...
2071 * socket/sys/socket.h: ... here.
2072 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
2073 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
2074 include it from...
2075 * socket/recvmmsg.c: ... this new file.
2076 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
2077 (sendmmsg): Rename to __sendmmsg, create weak alias and make
2078 definition of __sendmmsg hidden.
2079 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
2080 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
2081 Move ENOSYS stub into and include it from...
2082 * socket/sendmmsg.c: ... this new file.
2083 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
2084 (sysdep_routines): Move recvmmsg and sendmmsg...
2085 * socket/Makefile (routines): ... here.
2086 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
2087 (GLIBC_PRIVATE): Add __sendmmsg.
2088 * include/sys/socket.h (__sendmmsg): Add declarations.
2089 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
2090 sendmmsg.
2091
cf9a5d18
JM
20922012-11-20 Joseph Myers <joseph@codesourcery.com>
2093
2094 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
2095 variable I1 with __attribute__ ((unused)).
2096 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
2097
ecd4caf9
JM
20982012-11-19 Joseph Myers <joseph@codesourcery.com>
2099
be14d48f
JM
2100 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
2101 DUMMY variables with __attribute__ ((unused)).
2102
ecd4caf9
JM
2103 * bits/byteswap.h: Include <bits/types.h>.
2104 (__bswap_64): Use __uint64_t instead of unsigned long long int.
2105
986cab95
PT
21062012-11-19 Pino Toscano <toscano.pino@tiscali.it>
2107
2108 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
2109 string_t. Do not manually set errno.
2110 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
2111 length with __strnlen. Make sure to both set errno and return it on
2112 failure.
2113
6d33cc9d
DM
21142012-11-19 David S. Miller <davem@davemloft.net>
2115
2116 With help from Joseph Myers.
2117 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
2118 very large arguments properly.
2119 * math/libm-test.inc (atan_test): New tests.
2120 (atan2_test): New tests.
2121 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2122 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2123
ee663277
JM
21242012-11-19 Joseph Myers <joseph@codesourcery.com>
2125
877f2d8e
JM
2126 [BZ #14856]
2127 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
2128 Define to 3.
2129
116fc08a
JM
2130 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
2131 [POSIX] (EADDRNOTAVAIL): Likewise.
2132 [POSIX] (EAFNOSUPPORT): Likewise.
2133 [POSIX] (EALREADY): Likewise.
2134 [POSIX] (ECONNABORTED): Likewise.
2135 [POSIX] (ECONNREFUSED): Likewise.
2136 [POSIX] (ECONNRESET): Likewise.
2137 [POSIX] (EDESTADDRREQ): Likewise.
2138 [POSIX] (EDQUOT): Likewise.
2139 [POSIX] (EHOSTUNREACH): Likewise.
2140 [POSIX] (EIDRM): Likewise.
2141 [POSIX] (EISCONN): Likewise.
2142 [POSIX] (ELOOP): Likewise.
2143 [POSIX] (EMULTIHOP): Likewise.
2144 [POSIX] (ENETDOWN): Likewise.
2145 [POSIX] (ENETUNREACH): Likewise.
2146 [POSIX] (ENOBUFS): Likewise.
2147 [POSIX] (ENODATA): Likewise.
2148 [POSIX] (ENOLINK): Likewise.
2149 [POSIX] (ENOMSG): Likewise.
2150 [POSIX] (ENOPROTOOPT): Likewise.
2151 [POSIX] (ENOSR): Likewise.
2152 [POSIX] (ENOSTR): Likewise.
2153 [POSIX] (ENOTCONN): Likewise.
2154 [POSIX] (ENOTSOCK): Likewise.
2155 [POSIX] (EOPNOTSUPP): Likewise.
2156 [POSIX] (EOVERFLOW): Likewise.
2157 [POSIX] (EPROTO): Likewise.
2158 [POSIX] (EPROTONOSUPPORT): Likewise.
2159 [POSIX] (EPROTOTYPE): Likewise.
2160 [POSIX] (ESTALE): Likewise.
2161 [POSIX] (ETIME): Likewise.
2162 [POSIX] (ETXTBSY): Likewise.
2163 [POSIX] (EWOULDBLOCK): Likewise.
2164 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
2165 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
2166 [POSIX] (SEEK_CUR): Likewise.
2167 [POSIX] (SEEK_END): Likewise.
2168 [POSIX || UNIX98] (mode_t): Do not require.
2169 [POSIX] (off_t): Likewise.
2170 [POSIX] (pid_t): Likewise.
2171 [POSIX] (sys/stat.h): Do not allow header.
2172 [POSIX] (unistd.h): Likewise.
2173 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
2174 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
2175 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
2176 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
2177 require.
2178 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
2179 sigevent): Specify elements.
2180 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
2181 entry.
2182 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
2183 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
2184
a483863f
JM
2185 * conform/data/cpio.h-data [POSIX]: Disable whole file.
2186 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
2187 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
2188 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
2189 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
2190 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
2191 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
2192 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
2193 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
2194 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
2195 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
2196 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
2197 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
2198 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
2199 Likewise.
2200 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
2201 Likewise.
2202 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
2203 Likewise.
2204 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
2205 Likewise.
2206 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
2207 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
2208 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
2209 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
2210 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
2211 Specify lower bound on value.
2212 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
2213 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
2214 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
2215 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
2216 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
2217 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
2218 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
2219 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
2220 value.
2221 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
2222 as optional.
2223 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
2224 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
2225 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
2226 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
2227 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
2228 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
2229 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
2230 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
2231 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
2232 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
2233 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
2234 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
2235 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
2236 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
2237 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
2238 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
2239 entry.
2240 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
2241 optional.
2242 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
2243 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
2244 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
2245 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
2246 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
2247 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
2248 Likewise.
2249 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
2250 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
2251 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
2252 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
2253 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
2254 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
2255 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
2256 as optional.
2257 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
2258 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
2259 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
2260 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
2261 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
2262 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
2263 specify as optional.
2264 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
2265 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
2266 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
2267 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
2268 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
2269 [XPG3] (NL_LANGMAX): Likewise.
2270 [POSIX || XPG3] (NL_MSGMAX): Likewise.
2271 [POSIX || XPG3] (NL_NMAX): Likewise.
2272 [POSIX || XPG3] (NL_SETMAX): Likewise.
2273 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
2274 [XPG3] (NZERO): Likewise.
2275 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
2276 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
2277 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
2278 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
2279 (REG_ERANGE): Expect.
2280 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
2281 optional-constant.
2282 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
2283 Use (void) in prototype.
2284 [POSIX] (*_t): Allow.
2285 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
2286 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
2287 (WRDE_BADVAL): Expect.
2288
5ba924e3
JM
2289 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
2290 expect.
2291 [XPG3 || XPG4] (O_RSYNC): Likewise.
2292 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
2293 Likewise.
2294 [XPG3 || XPG4] (pthread_sigmask): Likewise.
2295 [XPG3 || XPG4] (sigqueue): Likewise.
2296 [XPG3 || XPG4] (sigtimedwait): Likewise.
2297 [XPG3 || XPG4] (sigwaitinfo): Likewise.
2298 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
2299 [XPG3 || XPG4] (vsnprintf): Likewise.
2300 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
2301 Likewise.
2302 [XPG3 || XPG4] (blksize_t): Likewise.
2303 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
2304 Likewise.
2305 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
2306 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
2307 [XPG3 || XPG4] (struct itimerspec): Likewise.
2308 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
2309 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
2310 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
2311 [XPG3 || XPG4] (clockid_t): Likewise.
2312 [XPG3 || XPG4] (timer_t): Likewise.
2313 [XPG3 || XPG4] (clock_getres): Likewise.
2314 [XPG3 || XPG4] (clock_gettime): Likewise.
2315 [XPG3 || XPG4] (clock_settime): Likewise.
2316 [XPG3 || XPG4] (nanosleep): Likewise.
2317 [XPG3 || XPG4] (timer_create): Likewise.
2318 [XPG3 || XPG4] (timer_delete): Likewise.
2319 [XPG3 || XPG4] (timer_gettime): Likewise.
2320 [XPG3 || XPG4] (timer_getoverrun): Likewise.
2321 [XPG3 || XPG4] (timer_settime): Likewise.
2322 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
2323 [XPG3 || XPG4] (getlogin_r): Likewise.
2324 [XPG3 || XPG4] (pread): Likewise.
2325 [XPG3 || XPG4] (pthread_atfork): Likewise.
2326 [XPG3 || XPG4] (pwrite): Likewise.
2327
ee663277
JM
2328 [BZ #14835]
2329 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
2330 <bits/siginfo.h>.
2331
942caa16
PT
23322012-11-19 Pino Toscano <toscano.pino@tiscali.it>
2333
e19af380
PT
2334 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
2335 finalizing MALLSTREAM.
2336
942caa16
PT
2337 * sysdeps/mach/hurd/syncfs.c: New file.
2338
cfde9b46
SP
23392012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2340
2341 [BZ #14719]
2342 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
2343 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
2344 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
2345 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
2346 (_nss_dns_gethostbyname4_r): Likewise.
2347 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
2348 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
2349
f6da27e5
PH
23502012-11-19 Peng Haitao <penght@cn.fujitsu.com>
2351
2352 [BZ #13763]
2353 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
2354
6665d4a2
SM
23552012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
2356
1f51ee92
SM
2357 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
2358 * elf/cache.c (print_entry): Print ",AArch64" for
2359 FLAG_AARCH64_LIB64
2360
6665d4a2
SM
2361 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
2362 * elf/cache.c (print_entry): Print ",hard-float" for
2363 FLAG_ARM_LIBHF.
2364
05b227bd
DM
23652012-11-18 David S. Miller <davem@davemloft.net>
2366
2367 With help from Joseph Myers.
2368 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
2369 cutoff to 2**-13.
2370 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
2371 cutoff to 2**-25.
2372 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
2373 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
2374 small.
2375 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
2376 * math/libm-test.inc (y0_test): New tests.
2377 (y1_test): New tests.
2378 * sysdeps/i386/fpu/libm-test-ulps: Update.
2379 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2380 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2381
786b0b67
AS
23822012-11-18 Andreas Schwab <schwab@linux-m68k.org>
2383
2384 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
2385 64-bit targets.
2386 * configure: Regenerated.
2387
8e18b86d
DM
23882012-11-17 David S. Miller <davem@davemloft.net>
2389
2390 [BZ #14811]
2391 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
2392 nonzero exponents with absolute value below 0x1p-128 to +/-
2393 0x1p-128.
2394
531f1ae0
JM
23952012-11-17 Joseph Myers <joseph@codesourcery.com>
2396
12df29e2
JM
2397 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
2398
150dc1a0
JM
2399 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
2400
531f1ae0
JM
2401 * posix/getconf-speclist.c: New file.
2402 * posix/posix-envs.def: Likewise.
2403 * posix/confstr.c (START_ENV_GROUP): New macro.
2404 (END_ENV_GROUP): Likewise.
2405 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
2406 (KNOWN_PRESENT_ENV_STRING): Likewise.
2407 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
2408 (UNKNOWN_ENVIRONMENT): Likewise.
2409 (confstr): Include posix-envs.def instead of handling
2410 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
2411 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
2412 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
2413 (END_ENV_GROUP): Likewise.
2414 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
2415 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
2416 (UNKNOWN_ENVIRONMENT): Likewise.
2417 (__sysconf): Include posix-envs.def instead of handling associated
2418 cases directly here.
2419 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
2420 preprocessing getconf-speclist.c rather than running getconf or
2421 generating empty file.
2422
a93f9cbc
PT
24232012-11-16 Pino Toscano <toscano.pino@tiscali.it>
2424
2425 * scripts/check-local-headers.sh: Ignore 'mach' headers.
2426
d64d9f87
AL
24272012-11-16 Andrej Lajovic <natrij@gmail.com>
2428
2429 [BZ #14672]
2430 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
2431
447885eb
DM
24322012-11-16 David S. Miller <davem@davemloft.net>
2433
2434 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
2435 smaller than LDBL_EPSILON/2.0L, just return xm1.
2436
bcbf9830
L
24372012-11-16 H.J. Lu <hongjiu.lu@intel.com>
2438
2439 * elf/tst-array1.c (init): Set constructor priority to 1000.
2440 (fini): Set destructor priority to 1000.
2441 * elf/tst-array2dep.c: Likewise.
2442
2b766585
SP
24432012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2444
2445 [BZ #11741]
2446 * libio/fileops.c (_IO_new_file_write): Correctly return error.
2447 (_IO_new_file_xsputn): Also return EOF if none of the input
2448 data was written when overflow failed.
2449 * libio/iopadn.c (_IO_padn): Likewise.
2450 * libio/iowpadn.c (_IO_wpadn): Likewise.
2451 * stdio-common/tst-put-error.c: Add copyright notice.
2452 (do_test): Add case for printing padded string.
2453 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
2454 _IO_padn returned error.
2455 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
2456 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
2457 return EOF.
2458
b1848fde
SP
24592012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2460
2461 * libio/libioP.h: Add comment note that the references to C++
2462 bits are now obsolete.
2463
2fd89785
MS
24642012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2465
2466 * math/libm-test.inc (check_complex): Use asprintf.
2467
e3ea5409
JM
24682012-11-14 Joseph Myers <joseph@codesourcery.com>
2469
2470 * debug/pcprofiledump.c (print_version): Update copyright year.
2471 * malloc/memusagestat.c (print_version): Likewise.
2472
2e64d265
L
24732012-11-14 H.J. Lu <hongjiu.lu@intel.com>
2474
2475 [BZ #14831]
2476 * elf/Makefile (tests): Add tst-audit8.
2477 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
2478 ($(objpfx)tst-audit8.out): New target.
2479 (tst-audit8-ENV): New variable.
2480 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
2481 audit if l_reloc_result is NULL.
2482 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
2483 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
2484 * elf/tst-audit8.c: New file.
2485
c485e4d2
MS
24862012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2487
2488 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
2489 * misc/Makefile (CFLAGS-select.c): Define.
2490 * posix/Makefile (CFLAGS-pause.c): Define.
2491
3a0d900a
DM
24922012-11-13 David S. Miller <davem@davemloft.net>
2493
2494 * crypt/Makefile: Move test targets after toplevel Rules
2495 inclusion. Grab any necessary sysdep routines when linking.
2496 * crypt/md5.c (md5_process_block): Remove define, we will always
2497 name it __md5_process_block.
2498 (md5_finish_ctx): Update md5_process_block call.
2499 (md5_stream): Likewise.
2500 (md5_process_bytes): Likewise.
2501 (md5_process_block): Rename to __md5_process_block and move to ...
2502 * crypt/md5-block.c: ... here.
2503 * crypt/sha256.c (sha256_process_block): Move to ...
2504 * crypt/sha256-block.c: ... here.
2505 * crypt/sha512.c (sha512_process_block): Move to ...
2506 * crypt/sha512-block.c: ... here.
2507 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
2508 path.
2509 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
2510 * sysdeps/sparc/sparc64/multiarch/Makefile
2511 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
2512 crypt subdir.
2513 (localedef-aux): Add md5 crypto assembler when in locale subdir.
2514 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
2515 multiarch changes.
2516 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
2517 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
2518 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
2519 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
2520 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
2521 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
2522 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
2523 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
2524 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
2525 file.
2526 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
2527 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
2528 file.
2529 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
2530
8ca89318
JM
25312012-11-13 Joseph Myers <joseph@codesourcery.com>
2532
e27d476a
JM
2533 * timezone/tzselect.ksh: Update from tzcode git revision
2534 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
2535 * timezone/zdump.c: Likewise.
2536 * timezone/zic.c: Likewise.
2537 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
2538 in TZVERSION setting, not $(PKGVERSION).
2539 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
2540 REPORT_BUGS_TO settings.
2541
8ca89318
JM
2542 [BZ #14838]
2543 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
2544 macro.
2545
47594329
MS
25462012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2547
2548 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
2549 detection to immediately after _FP_ROUND().
2550 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
2551 bits are 0.
2552
640ac3f1
DM
25532012-11-11 David S. Miller <davem@davemloft.net>
2554
2555 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
2556 inttypes.h
2557 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
2558 __close rather than their public counterparts.
2559
3d2577bb
JM
25602012-11-10 Joseph Myers <joseph@codesourcery.com>
2561
2562 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
2563 file.
2564 [UNIX98] (sem_timedwait): Do not expect.
2565 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
2566 [XPG4 || UNIX98] (sockatmark): Do not expect.
2567 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
2568 (clock_getcpuclockid): Do not expect.
2569 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
2570 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
2571 Do not expect.
2572 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
2573 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
2574 [UNIX98] (vwscanf): Likewise.
2575 [UNIX98] (vswscanf): Likewise.
2576
fb1ae1ee
JM
25772012-11-09 Joseph Myers <joseph@codesourcery.com>
2578
9ec6f8bd
JM
2579 * timezone/version.h: Remove file.
2580 * timezone/README: Do not refer to version.h.
2581 * timezone/Makefile ($(objpfx)zic.o): New dependency on
2582 $(objpfx)version.h.
2583 ($(objpfx)zdump.o): Likewise.
c3f81911 2584 ($(objpfx)version.h): New target.
9ec6f8bd 2585
0aa8f8a1
JM
2586 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
2587 2012i.
2588 * timezone/README: Don't mention modification to tzselect.ksh.
2589 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
2590 work on unmodified tzselect.ksh. Substitute version numbers in
2591 tzselect.ksh.
2592
4e87147f
JM
2593 * Makefile (format-me): Remove.
2594 (INSTALL): Adjust indentation. Use commands directly instead of
2595 using $(format-me).
2596
8b748aed
JM
2597 * aclocal.m4 (ACX_PKGVERSION): New macro.
2598 (ACX_BUGURL): Likewise.
2599 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
2600 (PKGVERSION): New AC_DEFINE_UNQUOTED.
2601 (REPORT_BUGS_TO): Likewise.
2602 * configure: Regenerated.
2603 * config.h.in (PKGVERSION): New macro.
2604 (REPORT_BUGS_TO): Likewise.
2605 * config.make.in (PKGVERSION): New variable.
2606 (PKGVERSION_TEXI): Likewise.
2607 (REPORT_BUGS_TO): Likewise.
2608 (REPORT_BUGS_TEXI): Likewise.
2609 * Makefile (format-me): Use -I$(common-objpfx)manual.
2610 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
2611 ($(common-objpfx)manual/%): New target.
2612 (manual/%): Remove target.
2613 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
2614 (print_version): Use PKGVERSION.
2615 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
2616 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
2617 and REPORT_BUGS_TO.
2618 ($(objpfx)xtrace): Likewise.
2619 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
2620 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
2621 (print_version): Use PKGVERSION.
2622 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
2623 (do_version): Use PKGVERSION.
2624 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
2625 REPORT_BUGS_TO.
2626 (common-ldd-rewrite): Likewise.
2627 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
2628 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
2629 (print_version): Use PKGVERSION.
2630 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
2631 * elf/pldd.c (argp_program_bug_address): Remove variable.
2632 (more_help): New function.
2633 (argp): Use more_help.
2634 (print_version): Use PKGVERSION.
2635 * elf/sln.c (main): Use PKGVERSION.
2636 (usage): Use REPORT_BUGS_TO.
2637 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
2638 (top level): Use PKGVERSION.
2639 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
2640 (print_version): Use PKGVERSION.
2641 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
2642 (print_version): Use PKGVERSION.
2643 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
2644 (print_version): Use PKGVERSION.
2645 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
2646 (print_version): Use PKGVERSION.
2647 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
2648 (print_version): Use PKGVERSION.
2649 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
2650 (print_version): Use PKGVERSION.
2651 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
2652 and BUGURL.
2653 ($(objpfx)memusage): Likewise.
2654 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
2655 (do_version): Use PKGVERSION.
2656 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
2657 (print_version): Use PKGVERSION.
2658 * malloc/mtrace.pl ($PACKAGE): Remove variable.
2659 ($PKGVERSION): New variable.
2660 ($REPORT_BUGS_TO): Likewise.
2661 (usage): Use $REPORT_BUGS_TO.
2662 (top level): Use $PKGVERSION.
2663 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
2664 ($(objpfx)pkgvers.texi): New rule.
2665 ($(objpfx)stamp-pkgvers): Likewise.
2666 * manual/install.texi: Include pkgvers.texi.
2667 (--with-pkgversion): Document new configure option.
2668 (--with-bugurl): Likewise.
2669 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
2670 than necessarily for this particular distribution. Use
2671 REPORT_BUGS_TO for where to report bugs.
2672 * INSTALL: Regenerated.
2673 * manual/libc.texinfo: Include pkgvers.texi.
2674 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
2675 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
2676 (print_version): Use PKGVERSION.
2677 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
2678 (print_version): Use PKGVERSION.
2679 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
2680 (print_version): Use PKGVERSION.
2681 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
2682 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
2683 macro.
2684 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
2685 (print_version): Use PKGVERSION.
2686 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
2687 (print_version): Use PKGVERSION.
2688 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
2689 and PKGVERSION.
2690
92e4b6a9
JM
2691 * timezone/checktab.awk: Update from tzcode 2012i.
2692 * timezone/ialloc.c: Likewise.
2693 * timezone/private.h: Likewise.
2694 * timezone/scheck.c: Likewise.
2695 * timezone/tzfile.h: Likewise.
2696 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
2697 (TZVERSION): Hardcode tzcode version number.
2698 * timezone/zdump.c: Update from tzcode 2012i.
2699 * timezone/zic.c: Likewise.
2700 * timezone/version.h: New file.
2701 * timezone/README: Describe version.h. Update upstream location.
2702
9bde902c
JM
2703 [BZ #14824]
2704 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
2705 (mktemp): Enable declaration.
2706 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
2707 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
2708 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
2709 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
2710 Likewise.
2711 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
2712 Likewise.
2713 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
2714 Likewise.
2715 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
2716 Likewise.
2717 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
2718 Likewise.
2719 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
2720 Likewise.
2721
fb1ae1ee
JM
2722 [BZ #14821]
2723 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
2724 offset in buffer as u_int32_t not u_long. Consistently use memcpy
2725 for copies of such integer values.
2726 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
2727 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
2728
2c1adbcb
AJ
27292012-11-09 Andreas Jaeger <aj@suse.de>
2730
2731 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
2732 definitions and declarations that are provided by
2733 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
2734
d0f8457e
AK
27352012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2736
3a235abb 2737 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
2738 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
2739 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
2740 definition.
2741
57241e26
MS
27422012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2743
2744 * elf/elf.h: Update comment before AArch64 relocations.
2745
60e8270d
DM
27462012-11-07 David S. Miller <davem@davemloft.net>
2747
2748 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
2749 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
2750 (__start_context): Declare.
2751 (__makecontext_ret): Delete.
2752 (__makecontext): Hook up __start_context instead of
2753 __makecontext_ret.
2754 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
2755 (sysdep_routines): Add __start_context when in stdlib.
2756
0fbb0fbc
JM
27572012-11-07 Joseph Myers <joseph@codesourcery.com>
2758
2759 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
2760 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
2761 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
2762 hardcoded "nm".
2763 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
2764 (READELF): New variable. Use it instead of hardcoded "readelf".
2765
eb48db7e
L
27662012-11-07 H.J. Lu <hongjiu.lu@intel.com>
2767
2768 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
2769 * sysdeps/x86/Makefile: Here.
2770 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
2771 * sysdeps/x86/tst-xmmymm.sh: This.
2772
05bcf62a
JM
27732012-11-07 Joseph Myers <joseph@codesourcery.com>
2774
c4b6cf53
JM
2775 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
2776 expectations.
2777 [UNIX98] (pthread_barrier_t): Do not expect.
2778 [UNIX98] (pthread_barrierattr_t): Likewise.
2779 [UNIX98] (pthread_spinlock_t): Likewise.
2780 [UNIX98] (pthread_barrier_destroy): Likewise.
2781 [UNIX98] (pthread_barrier_init): Likewise.
2782 [UNIX98] (pthread_barrier_wait): Likewise.
2783 [UNIX98] (pthread_barrierattr_destroy): Likewise.
2784 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
2785 [UNIX98] (pthread_barrierattr_init): Likewise.
2786 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
2787 [UNIX98] (pthread_getcpuclockid): Likewise.
2788 [UNIX98] (pthread_mutex_timedlock): Likewise.
2789 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
2790 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
2791 [UNIX98] (pthread_sigmask): Likewise.
2792 [UNIX98] (pthread_spin_destroy): Likewise.
2793 [UNIX98] (pthread_spin_init): Likewise.
2794 [UNIX98] (pthread_spin_lock): Likewise.
2795 [UNIX98] (pthread_spin_trylock): Likewise.
2796 [UNIX98] (pthread_spin_unlock): Likewise.
2797 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
2798 Do not expect.
2799 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
2800 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
2801 [XPG3 || XPG4] (pthread_cond_t): Likewise.
2802 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
2803 [XPG3 || XPG4] (pthread_key_t): Likewise.
2804 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
2805 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
2806 [XPG3 || XPG4] (pthread_once_t): Likewise.
2807 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
2808 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
2809 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
2810 [XPG3 || XPG4] (pthread_t): Likewise.
2811
cbe6e120
JM
2812 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
2813 not expect.
2814 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
2815
1b126443
JM
2816 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
2817 Change function return type to int.
2818
b961a573
JM
2819 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
2820 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
2821 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
2822 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
2823 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
2824 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
2825 [!POSIX] (posix_madvise): Likewise.
2826 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
2827 && !UNIX98].
2828 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
2829 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
2830 (mode_t): Likewise.
2831 (posix_mem_offset): Likewise.
2832 (posix_typed_mem_get_info): Likewise.
2833 (posix_typed_mem_open): Likewise.
2834
9e188909
JM
2835 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
2836 Change condition to [XOPEN2K8].
2837
05bcf62a
JM
2838 * conform/conformtest.pl: Preprocess allow-header data with -x c
2839 instead of from stdin.
2840 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
2841 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
2842 [C99-based standards] (cerfc): Likewise.
2843 [C99-based standards] (cexp2): Likewise.
2844 [C99-based standards] (cexpm1): Likewise.
2845 [C99-based standards] (clog10): Likewise.
2846 [C99-based standards] (clog1p): Likewise.
2847 [C99-based standards] (clog2): Likewise.
2848 [C99-based standards] (clgamma): Likewise.
2849 [C99-based standards] (ctgamma): Likewise.
2850 [C99-based standards] (cerff): Likewise.
2851 [C99-based standards] (cerfcf): Likewise.
2852 [C99-based standards] (cexp2f): Likewise.
2853 [C99-based standards] (cexpm1f): Likewise.
2854 [C99-based standards] (clog10f): Likewise.
2855 [C99-based standards] (clog1pf): Likewise.
2856 [C99-based standards] (clog2f): Likewise.
2857 [C99-based standards] (clgammaf): Likewise.
2858 [C99-based standards] (ctgammaf): Likewise.
2859 [C99-based standards] (cerfl): Likewise.
2860 [C99-based standards] (cerfcl): Likewise.
2861 [C99-based standards] (cexp2l): Likewise.
2862 [C99-based standards] (cexpm1l): Likewise.
2863 [C99-based standards] (clog10l): Likewise.
2864 [C99-based standards] (clog1pl): Likewise.
2865 [C99-based standards] (clog2l): Likewise.
2866 [C99-based standards] (clgammal): Likewise.
2867 [C99-based standards] (ctgammal): Likewise.
2868 * conform/data/inttypes.h-data [C99-based standards]: Include
2869 stdint.h-data. Remove all expectations for stdint.h contents.
2870 [C99-based standards] (PRI*): Do not allow.
2871 [C99-based standards] (SCN*): Likewise.
2872 [C99-based standards] (*_t): Likewise.
2873 [C99-based-standards] (PRId8): Expect macro.
2874 [C99-based-standards] (PRIi8): Likewise.
2875 [C99-based-standards] (PRIo8): Likewise.
2876 [C99-based-standards] (PRIu8): Likewise.
2877 [C99-based-standards] (PRIx8): Likewise.
2878 [C99-based-standards] (PRIX8): Likewise.
2879 [C99-based-standards] (SCNd8): Likewise.
2880 [C99-based-standards] (SCNi8): Likewise.
2881 [C99-based-standards] (SCNo8): Likewise.
2882 [C99-based-standards] (SCNu8): Likewise.
2883 [C99-based-standards] (SCNx8): Likewise.
2884 [C99-based-standards] (PRIdLEAST8): Likewise.
2885 [C99-based-standards] (PRIiLEAST8): Likewise.
2886 [C99-based-standards] (PRIoLEAST8): Likewise.
2887 [C99-based-standards] (PRIuLEAST8): Likewise.
2888 [C99-based-standards] (PRIxLEAST8): Likewise.
2889 [C99-based-standards] (PRIXLEAST8): Likewise.
2890 [C99-based-standards] (SCNdLEAST8): Likewise.
2891 [C99-based-standards] (SCNiLEAST8): Likewise.
2892 [C99-based-standards] (SCNoLEAST8): Likewise.
2893 [C99-based-standards] (SCNuLEAST8): Likewise.
2894 [C99-based-standards] (SCNxLEAST8): Likewise.
2895 [C99-based-standards] (PRIdFAST8): Likewise.
2896 [C99-based-standards] (PRIiFAST8): Likewise.
2897 [C99-based-standards] (PRIoFAST8): Likewise.
2898 [C99-based-standards] (PRIuFAST8): Likewise.
2899 [C99-based-standards] (PRIxFAST8): Likewise.
2900 [C99-based-standards] (PRIXFAST8): Likewise.
2901 [C99-based-standards] (SCNdFAST8): Likewise.
2902 [C99-based-standards] (SCNiFAST8): Likewise.
2903 [C99-based-standards] (SCNoFAST8): Likewise.
2904 [C99-based-standards] (SCNuFAST8): Likewise.
2905 [C99-based-standards] (SCNxFAST8): Likewise.
2906 [C99-based-standards] (PRId16): Likewise.
2907 [C99-based-standards] (PRIi16): Likewise.
2908 [C99-based-standards] (PRIo16): Likewise.
2909 [C99-based-standards] (PRIu16): Likewise.
2910 [C99-based-standards] (PRIx16): Likewise.
2911 [C99-based-standards] (PRIX16): Likewise.
2912 [C99-based-standards] (SCNd16): Likewise.
2913 [C99-based-standards] (SCNi16): Likewise.
2914 [C99-based-standards] (SCNo16): Likewise.
2915 [C99-based-standards] (SCNu16): Likewise.
2916 [C99-based-standards] (SCNx16): Likewise.
2917 [C99-based-standards] (PRIdLEAST16): Likewise.
2918 [C99-based-standards] (PRIiLEAST16): Likewise.
2919 [C99-based-standards] (PRIoLEAST16): Likewise.
2920 [C99-based-standards] (PRIuLEAST16): Likewise.
2921 [C99-based-standards] (PRIxLEAST16): Likewise.
2922 [C99-based-standards] (PRIXLEAST16): Likewise.
2923 [C99-based-standards] (SCNdLEAST16): Likewise.
2924 [C99-based-standards] (SCNiLEAST16): Likewise.
2925 [C99-based-standards] (SCNoLEAST16): Likewise.
2926 [C99-based-standards] (SCNuLEAST16): Likewise.
2927 [C99-based-standards] (SCNxLEAST16): Likewise.
2928 [C99-based-standards] (PRIdFAST16): Likewise.
2929 [C99-based-standards] (PRIiFAST16): Likewise.
2930 [C99-based-standards] (PRIoFAST16): Likewise.
2931 [C99-based-standards] (PRIuFAST16): Likewise.
2932 [C99-based-standards] (PRIxFAST16): Likewise.
2933 [C99-based-standards] (PRIXFAST16): Likewise.
2934 [C99-based-standards] (SCNdFAST16): Likewise.
2935 [C99-based-standards] (SCNiFAST16): Likewise.
2936 [C99-based-standards] (SCNoFAST16): Likewise.
2937 [C99-based-standards] (SCNuFAST16): Likewise.
2938 [C99-based-standards] (SCNxFAST16): Likewise.
2939 [C99-based-standards] (PRId32): Likewise.
2940 [C99-based-standards] (PRIi32): Likewise.
2941 [C99-based-standards] (PRIo32): Likewise.
2942 [C99-based-standards] (PRIu32): Likewise.
2943 [C99-based-standards] (PRIx32): Likewise.
2944 [C99-based-standards] (PRIX32): Likewise.
2945 [C99-based-standards] (SCNd32): Likewise.
2946 [C99-based-standards] (SCNi32): Likewise.
2947 [C99-based-standards] (SCNo32): Likewise.
2948 [C99-based-standards] (SCNu32): Likewise.
2949 [C99-based-standards] (SCNx32): Likewise.
2950 [C99-based-standards] (PRIdLEAST32): Likewise.
2951 [C99-based-standards] (PRIiLEAST32): Likewise.
2952 [C99-based-standards] (PRIoLEAST32): Likewise.
2953 [C99-based-standards] (PRIuLEAST32): Likewise.
2954 [C99-based-standards] (PRIxLEAST32): Likewise.
2955 [C99-based-standards] (PRIXLEAST32): Likewise.
2956 [C99-based-standards] (SCNdLEAST32): Likewise.
2957 [C99-based-standards] (SCNiLEAST32): Likewise.
2958 [C99-based-standards] (SCNoLEAST32): Likewise.
2959 [C99-based-standards] (SCNuLEAST32): Likewise.
2960 [C99-based-standards] (SCNxLEAST32): Likewise.
2961 [C99-based-standards] (PRIdFAST32): Likewise.
2962 [C99-based-standards] (PRIiFAST32): Likewise.
2963 [C99-based-standards] (PRIoFAST32): Likewise.
2964 [C99-based-standards] (PRIuFAST32): Likewise.
2965 [C99-based-standards] (PRIxFAST32): Likewise.
2966 [C99-based-standards] (PRIXFAST32): Likewise.
2967 [C99-based-standards] (SCNdFAST32): Likewise.
2968 [C99-based-standards] (SCNiFAST32): Likewise.
2969 [C99-based-standards] (SCNoFAST32): Likewise.
2970 [C99-based-standards] (SCNuFAST32): Likewise.
2971 [C99-based-standards] (SCNxFAST32): Likewise.
2972 [C99-based-standards] (PRId64): Likewise.
2973 [C99-based-standards] (PRIi64): Likewise.
2974 [C99-based-standards] (PRIo64): Likewise.
2975 [C99-based-standards] (PRIu64): Likewise.
2976 [C99-based-standards] (PRIx64): Likewise.
2977 [C99-based-standards] (PRIX64): Likewise.
2978 [C99-based-standards] (SCNd64): Likewise.
2979 [C99-based-standards] (SCNi64): Likewise.
2980 [C99-based-standards] (SCNo64): Likewise.
2981 [C99-based-standards] (SCNu64): Likewise.
2982 [C99-based-standards] (SCNx64): Likewise.
2983 [C99-based-standards] (PRIdLEAST64): Likewise.
2984 [C99-based-standards] (PRIiLEAST64): Likewise.
2985 [C99-based-standards] (PRIoLEAST64): Likewise.
2986 [C99-based-standards] (PRIuLEAST64): Likewise.
2987 [C99-based-standards] (PRIxLEAST64): Likewise.
2988 [C99-based-standards] (PRIXLEAST64): Likewise.
2989 [C99-based-standards] (SCNdLEAST64): Likewise.
2990 [C99-based-standards] (SCNiLEAST64): Likewise.
2991 [C99-based-standards] (SCNoLEAST64): Likewise.
2992 [C99-based-standards] (SCNuLEAST64): Likewise.
2993 [C99-based-standards] (SCNxLEAST64): Likewise.
2994 [C99-based-standards] (PRIdFAST64): Likewise.
2995 [C99-based-standards] (PRIiFAST64): Likewise.
2996 [C99-based-standards] (PRIoFAST64): Likewise.
2997 [C99-based-standards] (PRIuFAST64): Likewise.
2998 [C99-based-standards] (PRIxFAST64): Likewise.
2999 [C99-based-standards] (PRIXFAST64): Likewise.
3000 [C99-based-standards] (SCNdFAST64): Likewise.
3001 [C99-based-standards] (SCNiFAST64): Likewise.
3002 [C99-based-standards] (SCNoFAST64): Likewise.
3003 [C99-based-standards] (SCNuFAST64): Likewise.
3004 [C99-based-standards] (SCNxFAST64): Likewise.
3005 [C99-based-standards] (PRIdMAX): Likewise.
3006 [C99-based-standards] (PRIiMAX): Likewise.
3007 [C99-based-standards] (PRIoMAX): Likewise.
3008 [C99-based-standards] (PRIuMAX): Likewise.
3009 [C99-based-standards] (PRIxMAX): Likewise.
3010 [C99-based-standards] (PRIXMAX): Likewise.
3011 [C99-based-standards] (SCNdMAX): Likewise.
3012 [C99-based-standards] (SCNiMAX): Likewise.
3013 [C99-based-standards] (SCNoMAX): Likewise.
3014 [C99-based-standards] (SCNuMAX): Likewise.
3015 [C99-based-standards] (SCNxMAX): Likewise.
3016 [C99-based-standards] (PRIdPTR): Likewise.
3017 [C99-based-standards] (PRIiPTR): Likewise.
3018 [C99-based-standards] (PRIoPTR): Likewise.
3019 [C99-based-standards] (PRIuPTR): Likewise.
3020 [C99-based-standards] (PRIxPTR): Likewise.
3021 [C99-based-standards] (PRIXPTR): Likewise.
3022 [C99-based-standards] (SCNdPTR): Likewise.
3023 [C99-based-standards] (SCNiPTR): Likewise.
3024 [C99-based-standards] (SCNoPTR): Likewise.
3025 [C99-based-standards] (SCNuPTR): Likewise.
3026 [C99-based-standards] (SCNxPTR): Likewise.
3027 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
3028 allow.
3029 * conform/data/stdint.h-data: Update comments to clarify
3030 requirements.
3031 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
3032 type.
3033 [C99-based standards] (INT8_MAX): Likewise.
3034 [C99-based standards] (INT16_MIN): Likewise.
3035 [C99-based standards] (INT16_MAX): Likewise.
3036 [C99-based standards] (INT32_MIN): Likewise.
3037 [C99-based standards] (INT32_MAX): Likewise.
3038 [C99-based standards] (INT64_MIN): Likewise.
3039 [C99-based standards] (INT64_MAX): Likewise.
3040 [C99-based standards] (UINT8_MAX): Likewise.
3041 [C99-based standards] (UINT16_MAX): Likewise.
3042 [C99-based standards] (UINT32_MAX): Likewise.
3043 [C99-based standards] (UINT64_MAX): Likewise.
3044 [C99-based standards] (INT_LEAST8_MIN): Likewise.
3045 [C99-based standards] (INT_LEAST8_MAX): Likewise.
3046 [C99-based standards] (INT_LEAST16_MIN): Likewise.
3047 [C99-based standards] (INT_LEAST16_MAX): Likewise.
3048 [C99-based standards] (INT_LEAST32_MIN): Likewise.
3049 [C99-based standards] (INT_LEAST32_MAX): Likewise.
3050 [C99-based standards] (INT_LEAST64_MIN): Likewise.
3051 [C99-based standards] (INT_LEAST64_MAX): Likewise.
3052 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
3053 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
3054 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
3055 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
3056 [C99-based standards] (INT_FAST8_MIN): Likewise.
3057 [C99-based standards] (INT_FAST8_MAX): Likewise.
3058 [C99-based standards] (INT_FAST16_MIN): Likewise.
3059 [C99-based standards] (INT_FAST16_MAX): Likewise.
3060 [C99-based standards] (INT_FAST32_MIN): Likewise.
3061 [C99-based standards] (INT_FAST32_MAX): Likewise.
3062 [C99-based standards] (INT_FAST64_MIN): Likewise.
3063 [C99-based standards] (INT_FAST64_MAX): Likewise.
3064 [C99-based standards] (UINT_FAST8_MAX): Likewise.
3065 [C99-based standards] (UINT_FAST16_MAX): Likewise.
3066 [C99-based standards] (UINT_FAST32_MAX): Likewise.
3067 [C99-based standards] (UINT_FAST64_MAX): Likewise.
3068 [C99-based standards] (INTPTR_MIN): Likewise.
3069 [C99-based standards] (INTPTR_MAX): Likewise.
3070 [C99-based standards] (UINTPTR_MAX): Likewise.
3071 [C99-based standards] (INTMAX_MIN): Likewise.
3072 [C99-based standards] (INTMAX_MAX): Likewise.
3073 [C99-based standards] (UINTMAX_MAX): Likewise.
3074 [C99-based standards] (PTRDIFF_MIN): Likewise.
3075 [C99-based standards] (PTRDIFF_MAX): Likewise.
3076 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
3077 [C99-based standards] (SIZE_MAX): Likewise.
3078 [C99-based standards] (WCHAR_MAX): Likewise.
3079 [C99-based standards] (WINT_MAX): Likewise.
3080 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
3081 constraint on value.
3082 [C99-based standards] (WCHAR_MIN): Likewise.
3083 [C99-based standards] (WINT_MIN): Likewise.
3084 [C99-based standards] (*_t): Allow.
3085 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
3086 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
3087 Include math.h-data and complex.h-data. Remove all expectations
3088 of math.h and complex.h contents.
3089 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
3090 at end of line.
3091 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
3092 (struct tm): Expect tag.
3093 [C99-based-standards] (wcstof): Expect function.
3094 [C99-based-standards] (wcstold): Likewise.
3095 [C99-based-standards] (wcstoll): Likewise.
3096 [C99-based-standards] (wcstoull): Likewise.
3097 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
3098 macro-int-constant. Specify type.
3099 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
3100 constraint on value.
3101 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
3102 Specify type.
3103 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
3104 Specify value.
3105 [ISO C standards]: Do not allow headers.
3106 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
3107 wcs[abcdefghijklmnopqrstuvwxyz]*.
3108 [ISO C standards] (*_t): Do not allow.
3109 * conform/data/wctype.h-data [C99-based standards] (iswblank):
3110 Expect function.
3111 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
3112 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
3113 Specify type.
3114 [ISO C standards]: Do not allow headers.
3115 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
3116 is[abcdefghijklmnopqrstuvwxyz]*.
3117 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
3118 to[abcdefghijklmnopqrstuvwxyz]*.
3119 [ISO C standards] (*_t): Do not allow.
3120 * conform/data/stdalign.h-data: New file.
3121 * conform/data/stdbool.h-data: Likewise.
3122 * conform/data/stdnoreturn.h-data: Likewise.
3123
7514feb8
RM
31242012-11-07 Roland McGrath <roland@hack.frob.com>
3125
3126 [BZ #14815]
3127 * manual/filesys.texi (Directory Entries): Typo fix.
3128 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
3129
19b2ecfc
MS
31302012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3131
3132 * elf/elf.h (EM_AARCH64): New macro.
3133 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
3134 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
3135 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
3136 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
3137 (R_AARCH64_TLSDESC): Likewise.
3138 (NT_ARM_TLS): Likewise.
3139 (NT_ARM_HW_BREAK): Likewise.
3140 (NT_ARM_HW_WATCH): Likewise.
3141
60e235ee
JM
31422012-11-07 Joseph Myers <joseph@codesourcery.com>
3143
3144 [BZ #14811]
3145 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
3146 (__ieee754_powl): Saturate nonzero exponents with absolute value
3147 below 0x1p-79 to +/- 0x1p-79.
3148 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
3149 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
3150 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
3151 nonzero exponents with absolute value below 0x1p-32 to +/-
3152 0x1p-32.
3153 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
3154 (__ieee754_powl): Saturate nonzero exponents with absolute value
3155 below 0x1p-79 to +/- 0x1p-79.
3156 * math/libm-test.inc (pow_test): Add more tests.
3157
0ab234b7
AK
31582012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3159
3160 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
3161 _dl_s390_cap_flags with kernel. Increase string length.
3162 (_dl_s390_platforms): Add z196 and zEC12.
3163
45832f74
JM
31642012-11-07 Joseph Myers <joseph@codesourcery.com>
3165
3166 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
3167 Change XOPEN21K to XOPEN2K.
3168
19218757
MK
31692012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
3170
3171 * string/memmove.c: Use memcpy when possible.
3172
c5f45721
AJ
31732012-11-06 Andreas Jaeger <aj@suse.de>
3174
3175 * po/eo.po: Update from translation team.
3176
82477c28
JM
31772012-11-06 Joseph Myers <joseph@codesourcery.com>
3178
3179 [BZ #14793]
3180 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
3181 exponent and small x and y exponents, scale x or y up. Increase
3182 by 2 the exponent used in scaling up.
3183 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3184 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3185 * math/libm-test.inc (fma_test): Add more tests.
3186 (fma_test_towardzero): Likewise.
3187 (fma_test_downward): Likewise.
3188 (fma_test_upward): Likewise.
3189
99252c8c
JM
31902012-11-05 Joseph Myers <joseph@codesourcery.com>
3191
acfa885f
JM
3192 [BZ #14805]
3193 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
3194 fenv_t *.
3195
99252c8c
JM
3196 [BZ #14801]
3197 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
3198 namespace for names of struct fields.
3199 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
3200 fenv_t fields.
3201 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
3202 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
3203
d6d98dea
ST
32042012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
3205
3206 [BZ #3665]
3207 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
3208
e10bb107
TS
32092012-11-04 Thomas Schwinge <thomas@codesourcery.com>
3210
3211 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
3212 PTR_DEMANGLE.
3213
3214 [BZ #5246]
3215 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
3216 PTR_DEMANGLE.
3217
a0c2940d
JM
32182012-11-04 Joseph Myers <joseph@codesourcery.com>
3219
3220 [BZ #14797]
3221 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
3222 definitely overflow as x * y not x * y + z.
3223 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3224 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3225 * math/libm-test.inc (fma_test): Add more tests.
3226 (fma_test_towardzero): Likewise.
3227 (fma_test_downward): Likewise.
3228 (fma_test_upward): Likewise.
3229
b830319d
TS
32302012-11-04 Thomas Schwinge <thomas@codesourcery.com>
3231
3232 [BZ #157]
3233
3234 * include/stub-tag.h: Remove file.
3235 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
3236 '#include' of it.
3237 * manual/maint.texi (Porting): Don't reference it.
3238 * Makerules ($(objpfx)stubs): Likewise.
3239 * dirent/closedir.c: Don't include <stub-tag.h>.
3240 * dirent/dirfd.c: Likewise.
3241 * dirent/fdopendir.c: Likewise.
3242 * dirent/getdents.c: Likewise.
3243 * dirent/getdents64.c: Likewise.
3244 * dirent/opendir.c: Likewise.
3245 * dirent/readdir.c: Likewise.
3246 * dirent/readdir64.c: Likewise.
3247 * dirent/readdir64_r.c: Likewise.
3248 * dirent/readdir_r.c: Likewise.
3249 * dirent/rewinddir.c: Likewise.
3250 * dirent/seekdir.c: Likewise.
3251 * dirent/telldir.c: Likewise.
3252 * gmon/profil.c: Likewise.
3253 * grp/setgroups.c: Likewise.
3254 * inet/if_index.c: Likewise.
3255 * io/access.c: Likewise.
3256 * io/chdir.c: Likewise.
3257 * io/chmod.c: Likewise.
3258 * io/chown.c: Likewise.
3259 * io/close.c: Likewise.
3260 * io/dup.c: Likewise.
3261 * io/dup2.c: Likewise.
3262 * io/dup3.c: Likewise.
3263 * io/euidaccess.c: Likewise.
3264 * io/faccessat.c: Likewise.
3265 * io/fchdir.c: Likewise.
3266 * io/fchmod.c: Likewise.
3267 * io/fchmodat.c: Likewise.
3268 * io/fchown.c: Likewise.
3269 * io/fchownat.c: Likewise.
3270 * io/fcntl.c: Likewise.
3271 * io/flock.c: Likewise.
3272 * io/fstatfs.c: Likewise.
3273 * io/fstatfs64.c: Likewise.
3274 * io/fstatvfs.c: Likewise.
3275 * io/fstatvfs64.c: Likewise.
3276 * io/futimens.c: Likewise.
3277 * io/fxstat.c: Likewise.
3278 * io/fxstat64.c: Likewise.
3279 * io/fxstatat.c: Likewise.
3280 * io/fxstatat64.c: Likewise.
3281 * io/getcwd.c: Likewise.
3282 * io/isatty.c: Likewise.
3283 * io/lchmod.c: Likewise.
3284 * io/lchown.c: Likewise.
3285 * io/link.c: Likewise.
3286 * io/linkat.c: Likewise.
3287 * io/lseek.c: Likewise.
3288 * io/lseek64.c: Likewise.
3289 * io/lxstat64.c: Likewise.
3290 * io/mkdir.c: Likewise.
3291 * io/mkdirat.c: Likewise.
3292 * io/mkfifo.c: Likewise.
3293 * io/mkfifoat.c: Likewise.
3294 * io/open.c: Likewise.
3295 * io/open64.c: Likewise.
3296 * io/openat.c: Likewise.
3297 * io/openat64.c: Likewise.
3298 * io/pipe.c: Likewise.
3299 * io/pipe2.c: Likewise.
3300 * io/poll.c: Likewise.
3301 * io/posix_fadvise.c: Likewise.
3302 * io/posix_fadvise64.c: Likewise.
3303 * io/posix_fallocate.c: Likewise.
3304 * io/posix_fallocate64.c: Likewise.
3305 * io/read.c: Likewise.
3306 * io/readlink.c: Likewise.
3307 * io/readlinkat.c: Likewise.
3308 * io/rmdir.c: Likewise.
3309 * io/sendfile.c: Likewise.
3310 * io/sendfile64.c: Likewise.
3311 * io/statfs.c: Likewise.
3312 * io/statfs64.c: Likewise.
3313 * io/statvfs.c: Likewise.
3314 * io/statvfs64.c: Likewise.
3315 * io/symlink.c: Likewise.
3316 * io/symlinkat.c: Likewise.
3317 * io/ttyname.c: Likewise.
3318 * io/ttyname_r.c: Likewise.
3319 * io/umask.c: Likewise.
3320 * io/unlink.c: Likewise.
3321 * io/unlinkat.c: Likewise.
3322 * io/utime.c: Likewise.
3323 * io/utimensat.c: Likewise.
3324 * io/write.c: Likewise.
3325 * io/xmknod.c: Likewise.
3326 * io/xmknodat.c: Likewise.
3327 * io/xstat.c: Likewise.
3328 * io/xstat64.c: Likewise.
3329 * login/getpt.c: Likewise.
3330 * login/grantpt.c: Likewise.
3331 * login/unlockpt.c: Likewise.
3332 * math/e_acoshl.c: Likewise.
3333 * math/e_acosl.c: Likewise.
3334 * math/e_asinl.c: Likewise.
3335 * math/e_atan2l.c: Likewise.
3336 * math/e_atanhl.c: Likewise.
3337 * math/e_coshl.c: Likewise.
3338 * math/e_expl.c: Likewise.
3339 * math/e_fmodl.c: Likewise.
3340 * math/e_gammal_r.c: Likewise.
3341 * math/e_hypotl.c: Likewise.
3342 * math/e_j0l.c: Likewise.
3343 * math/e_j1l.c: Likewise.
3344 * math/e_jnl.c: Likewise.
3345 * math/e_lgammal_r.c: Likewise.
3346 * math/e_log10l.c: Likewise.
3347 * math/e_log2l.c: Likewise.
3348 * math/e_logl.c: Likewise.
3349 * math/e_powl.c: Likewise.
3350 * math/e_rem_pio2l.c: Likewise.
3351 * math/e_sinhl.c: Likewise.
3352 * math/e_sqrtl.c: Likewise.
3353 * math/fclrexcpt.c: Likewise.
3354 * math/fedisblxcpt.c: Likewise.
3355 * math/feenablxcpt.c: Likewise.
3356 * math/fegetenv.c: Likewise.
3357 * math/fegetexcept.c: Likewise.
3358 * math/fegetround.c: Likewise.
3359 * math/feholdexcpt.c: Likewise.
3360 * math/fesetenv.c: Likewise.
3361 * math/fesetround.c: Likewise.
3362 * math/feupdateenv.c: Likewise.
3363 * math/fgetexcptflg.c: Likewise.
3364 * math/fraiseexcpt.c: Likewise.
3365 * math/fsetexcptflg.c: Likewise.
3366 * math/ftestexcept.c: Likewise.
3367 * math/k_cosl.c: Likewise.
3368 * math/k_rem_pio2l.c: Likewise.
3369 * math/k_sinl.c: Likewise.
3370 * math/k_tanl.c: Likewise.
3371 * math/s_asinhl.c: Likewise.
3372 * math/s_atanl.c: Likewise.
3373 * math/s_cbrtl.c: Likewise.
3374 * math/s_erfl.c: Likewise.
3375 * math/s_expm1l.c: Likewise.
3376 * math/s_log1pl.c: Likewise.
3377 * math/s_tanhl.c: Likewise.
3378 * misc/acct.c: Likewise.
3379 * misc/brk.c: Likewise.
3380 * misc/chflags.c: Likewise.
3381 * misc/chroot.c: Likewise.
3382 * misc/fchflags.c: Likewise.
3383 * misc/fgetxattr.c: Likewise.
3384 * misc/flistxattr.c: Likewise.
3385 * misc/fremovexattr.c: Likewise.
3386 * misc/fsetxattr.c: Likewise.
3387 * misc/fsync.c: Likewise.
3388 * misc/ftruncate.c: Likewise.
3389 * misc/futimes.c: Likewise.
3390 * misc/futimesat.c: Likewise.
3391 * misc/getdomain.c: Likewise.
3392 * misc/getdtsz.c: Likewise.
3393 * misc/gethostid.c: Likewise.
3394 * misc/gethostname.c: Likewise.
3395 * misc/getloadavg.c: Likewise.
3396 * misc/getpagesize.c: Likewise.
3397 * misc/getsysstats.c: Likewise.
3398 * misc/getxattr.c: Likewise.
3399 * misc/gtty.c: Likewise.
3400 * misc/ioctl.c: Likewise.
3401 * misc/lgetxattr.c: Likewise.
3402 * misc/listxattr.c: Likewise.
3403 * misc/llistxattr.c: Likewise.
3404 * misc/lremovexattr.c: Likewise.
3405 * misc/lsetxattr.c: Likewise.
3406 * misc/lutimes.c: Likewise.
3407 * misc/madvise.c: Likewise.
3408 * misc/mincore.c: Likewise.
3409 * misc/mlock.c: Likewise.
3410 * misc/mlockall.c: Likewise.
3411 * misc/mmap.c: Likewise.
3412 * misc/mprotect.c: Likewise.
3413 * misc/msync.c: Likewise.
3414 * misc/munlock.c: Likewise.
3415 * misc/munlockall.c: Likewise.
3416 * misc/munmap.c: Likewise.
3417 * misc/preadv.c: Likewise.
3418 * misc/preadv64.c: Likewise.
3419 * misc/ptrace.c: Likewise.
3420 * misc/pwritev.c: Likewise.
3421 * misc/pwritev64.c: Likewise.
3422 * misc/readv.c: Likewise.
3423 * misc/reboot.c: Likewise.
3424 * misc/remap_file_pages.c: Likewise.
3425 * misc/removexattr.c: Likewise.
3426 * misc/revoke.c: Likewise.
3427 * misc/select.c: Likewise.
3428 * misc/setdomain.c: Likewise.
3429 * misc/setegid.c: Likewise.
3430 * misc/seteuid.c: Likewise.
3431 * misc/sethostid.c: Likewise.
3432 * misc/sethostname.c: Likewise.
3433 * misc/setregid.c: Likewise.
3434 * misc/setreuid.c: Likewise.
3435 * misc/setxattr.c: Likewise.
3436 * misc/sstk.c: Likewise.
3437 * misc/stty.c: Likewise.
3438 * misc/swapoff.c: Likewise.
3439 * misc/swapon.c: Likewise.
3440 * misc/sync.c: Likewise.
3441 * misc/syncfs.c: Likewise.
3442 * misc/syscall.c: Likewise.
3443 * misc/truncate.c: Likewise.
3444 * misc/ualarm.c: Likewise.
3445 * misc/usleep.c: Likewise.
3446 * misc/ustat.c: Likewise.
3447 * misc/utimes.c: Likewise.
3448 * misc/vhangup.c: Likewise.
3449 * misc/writev.c: Likewise.
3450 * posix/_exit.c: Likewise.
3451 * posix/alarm.c: Likewise.
3452 * posix/execve.c: Likewise.
3453 * posix/fexecve.c: Likewise.
3454 * posix/fork.c: Likewise.
3455 * posix/fpathconf.c: Likewise.
3456 * posix/getaddrinfo.c: Likewise.
3457 * posix/getegid.c: Likewise.
3458 * posix/geteuid.c: Likewise.
3459 * posix/getgid.c: Likewise.
3460 * posix/getgroups.c: Likewise.
3461 * posix/getlogin.c: Likewise.
3462 * posix/getlogin_r.c: Likewise.
3463 * posix/getpgid.c: Likewise.
3464 * posix/getpid.c: Likewise.
3465 * posix/getppid.c: Likewise.
3466 * posix/getresgid.c: Likewise.
3467 * posix/getresuid.c: Likewise.
3468 * posix/getsid.c: Likewise.
3469 * posix/getuid.c: Likewise.
3470 * posix/glob64.c: Likewise.
3471 * posix/nanosleep.c: Likewise.
3472 * posix/pathconf.c: Likewise.
3473 * posix/pause.c: Likewise.
3474 * posix/posix_madvise.c: Likewise.
3475 * posix/pread.c: Likewise.
3476 * posix/pread64.c: Likewise.
3477 * posix/pwrite.c: Likewise.
3478 * posix/pwrite64.c: Likewise.
3479 * posix/sched_getaffinity.c: Likewise.
3480 * posix/sched_getp.c: Likewise.
3481 * posix/sched_gets.c: Likewise.
3482 * posix/sched_primax.c: Likewise.
3483 * posix/sched_primin.c: Likewise.
3484 * posix/sched_rr_gi.c: Likewise.
3485 * posix/sched_setaffinity.c: Likewise.
3486 * posix/sched_setp.c: Likewise.
3487 * posix/sched_sets.c: Likewise.
3488 * posix/sched_yield.c: Likewise.
3489 * posix/setgid.c: Likewise.
3490 * posix/setlogin.c: Likewise.
3491 * posix/setpgid.c: Likewise.
3492 * posix/setresgid.c: Likewise.
3493 * posix/setresuid.c: Likewise.
3494 * posix/setsid.c: Likewise.
3495 * posix/setuid.c: Likewise.
3496 * posix/sleep.c: Likewise.
3497 * posix/spawni.c: Likewise.
3498 * posix/sysconf.c: Likewise.
3499 * posix/times.c: Likewise.
3500 * posix/wait.c: Likewise.
3501 * posix/wait3.c: Likewise.
3502 * posix/wait4.c: Likewise.
3503 * posix/waitpid.c: Likewise.
3504 * resolv/gai_sigqueue.c: Likewise.
3505 * resource/getpriority.c: Likewise.
3506 * resource/getrlimit.c: Likewise.
3507 * resource/getrusage.c: Likewise.
3508 * resource/nice.c: Likewise.
3509 * resource/setpriority.c: Likewise.
3510 * resource/setrlimit.c: Likewise.
3511 * resource/ulimit.c: Likewise.
3512 * rt/aio_cancel.c: Likewise.
3513 * rt/aio_fsync.c: Likewise.
3514 * rt/aio_read.c: Likewise.
3515 * rt/aio_sigqueue.c: Likewise.
3516 * rt/aio_suspend.c: Likewise.
3517 * rt/aio_write.c: Likewise.
3518 * rt/clock_getres.c: Likewise.
3519 * rt/clock_gettime.c: Likewise.
3520 * rt/clock_nanosleep.c: Likewise.
3521 * rt/clock_settime.c: Likewise.
3522 * rt/lio_listio.c: Likewise.
3523 * rt/mq_close.c: Likewise.
3524 * rt/mq_getattr.c: Likewise.
3525 * rt/mq_notify.c: Likewise.
3526 * rt/mq_open.c: Likewise.
3527 * rt/mq_receive.c: Likewise.
3528 * rt/mq_send.c: Likewise.
3529 * rt/mq_setattr.c: Likewise.
3530 * rt/mq_timedreceive.c: Likewise.
3531 * rt/mq_timedsend.c: Likewise.
3532 * rt/mq_unlink.c: Likewise.
3533 * rt/shm_open.c: Likewise.
3534 * rt/shm_unlink.c: Likewise.
3535 * rt/timer_create.c: Likewise.
3536 * rt/timer_delete.c: Likewise.
3537 * rt/timer_getoverr.c: Likewise.
3538 * rt/timer_gettime.c: Likewise.
3539 * rt/timer_settime.c: Likewise.
3540 * setjmp/__longjmp.c: Likewise.
3541 * setjmp/setjmp.c: Likewise.
3542 * signal/kill.c: Likewise.
3543 * signal/killpg.c: Likewise.
3544 * signal/raise.c: Likewise.
3545 * signal/sigaction.c: Likewise.
3546 * signal/sigaltstack.c: Likewise.
3547 * signal/sigblock.c: Likewise.
3548 * signal/sigignore.c: Likewise.
3549 * signal/sigintr.c: Likewise.
3550 * signal/signal.c: Likewise.
3551 * signal/sigpause.c: Likewise.
3552 * signal/sigpending.c: Likewise.
3553 * signal/sigqueue.c: Likewise.
3554 * signal/sigreturn.c: Likewise.
3555 * signal/sigset.c: Likewise.
3556 * signal/sigsetmask.c: Likewise.
3557 * signal/sigstack.c: Likewise.
3558 * signal/sigsuspend.c: Likewise.
3559 * signal/sigtimedwait.c: Likewise.
3560 * signal/sigvec.c: Likewise.
3561 * signal/sigwait.c: Likewise.
3562 * signal/sigwaitinfo.c: Likewise.
3563 * signal/sysv_signal.c: Likewise.
3564 * socket/accept.c: Likewise.
3565 * socket/accept4.c: Likewise.
3566 * socket/bind.c: Likewise.
3567 * socket/connect.c: Likewise.
3568 * socket/getpeername.c: Likewise.
3569 * socket/getsockname.c: Likewise.
3570 * socket/getsockopt.c: Likewise.
3571 * socket/isfdtype.c: Likewise.
3572 * socket/listen.c: Likewise.
3573 * socket/recv.c: Likewise.
3574 * socket/recvfrom.c: Likewise.
3575 * socket/recvmsg.c: Likewise.
3576 * socket/send.c: Likewise.
3577 * socket/sendmsg.c: Likewise.
3578 * socket/sendto.c: Likewise.
3579 * socket/setsockopt.c: Likewise.
3580 * socket/shutdown.c: Likewise.
3581 * socket/sockatmark.c: Likewise.
3582 * socket/socket.c: Likewise.
3583 * socket/socketpair.c: Likewise.
3584 * stdio-common/ctermid.c: Likewise.
3585 * stdio-common/cuserid.c: Likewise.
3586 * stdio-common/remove.c: Likewise.
3587 * stdio-common/rename.c: Likewise.
3588 * stdio-common/renameat.c: Likewise.
3589 * stdio-common/tempname.c: Likewise.
3590 * stdlib/getcontext.c: Likewise.
3591 * stdlib/makecontext.c: Likewise.
3592 * stdlib/setcontext.c: Likewise.
3593 * stdlib/swapcontext.c: Likewise.
3594 * stdlib/system.c: Likewise.
3595 * streams/fattach.c: Likewise.
3596 * streams/fdetach.c: Likewise.
3597 * streams/getmsg.c: Likewise.
3598 * streams/getpmsg.c: Likewise.
3599 * streams/putmsg.c: Likewise.
3600 * streams/putpmsg.c: Likewise.
3601 * sysdeps/unix/bsd/getpt.c: Likewise.
3602 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
3603 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
3604 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
3605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
3606 Likewise.
3607 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
3608 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
3609 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
3610 * sysvipc/msgctl.c: Likewise.
3611 * sysvipc/msgget.c: Likewise.
3612 * sysvipc/msgrcv.c: Likewise.
3613 * sysvipc/msgsnd.c: Likewise.
3614 * sysvipc/semctl.c: Likewise.
3615 * sysvipc/semget.c: Likewise.
3616 * sysvipc/semop.c: Likewise.
3617 * sysvipc/semtimedop.c: Likewise.
3618 * sysvipc/shmat.c: Likewise.
3619 * sysvipc/shmctl.c: Likewise.
3620 * sysvipc/shmdt.c: Likewise.
3621 * sysvipc/shmget.c: Likewise.
3622 * termios/tcdrain.c: Likewise.
3623 * termios/tcflow.c: Likewise.
3624 * termios/tcflush.c: Likewise.
3625 * termios/tcgetattr.c: Likewise.
3626 * termios/tcgetpgrp.c: Likewise.
3627 * termios/tcsendbrk.c: Likewise.
3628 * termios/tcsetattr.c: Likewise.
3629 * termios/tcsetpgrp.c: Likewise.
3630 * time/adjtime.c: Likewise.
3631 * time/clock.c: Likewise.
3632 * time/getitimer.c: Likewise.
3633 * time/gettimeofday.c: Likewise.
3634 * time/setitimer.c: Likewise.
3635 * time/settimeofday.c: Likewise.
3636 * time/stime.c: Likewise.
3637 * time/time.c: Likewise.
3638
36392012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 3640
a20492cf
PT
3641 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
3642 /usr/old/bin.
3643
72e182e3
PT
3644 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
3645 instead of spaces.
3646 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
3647
fbeafede
JM
36482012-11-03 Joseph Myers <joseph@codesourcery.com>
3649
5b5b04d6
JM
3650 [BZ #14796]
3651 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
3652 FE_TONEAREST before applying Dekker multiplication and Knuth
3653 addition. Clear inexact exceptions and check for exact zero
3654 results afterwards.
3655 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3656 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
3657 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3658 * math/libm-test.inc (fma_test): Add more tests.
3659 (fma_test_towardzero): Likewise.
3660 (fma_test_downward): Likewise.
3661 (fma_test_upward): Likewise.
3662 * sysdeps/generic/math_private.h (default_libc_fesetround): New
3663 function.
3664 (libc_fesetround): New macro.
3665 (libc_fesetroundf): Likewise.
3666 (libc_fesetroundl): Likewise.
3667 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
3668 function.
3669 (libc_fesetround_387): Likewise.
3670 (libc_fesetroundf): New macro.
3671 (libc_fesetround): Likewise.
3672 (libc_fesetroundl): Likewise.
3673 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
3674 function.
3675 (libc_fesetroundf): New macro.
3676 (libc_fesetround): Likewise.
3677 (libc_fesetroundl): Likewise.
3678 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
3679 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
3680 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
3681 libm_hidden_ver.
3682 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
3683 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
3684 libm_hidden_def.
3685 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
3686 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
3687 libm_hidden_ver.
3688 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
3689 libm_hidden_def.
3690
fbeafede
JM
3691 [BZ #3439]
3692 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
3693 integer constant usable in #if and use that to give value to enum
3694 constant.
3695 (FE_DIVBYZERO): Likewise.
3696 (FE_UNDERFLOW): Likewise.
3697 (FE_OVERFLOW): Likewise.
3698 (FE_INVALID): Likewise.
3699 (FE_INVALID_SNAN): Likewise.
3700 (FE_INVALID_ISI): Likewise.
3701 (FE_INVALID_IDI): Likewise.
3702 (FE_INVALID_ZDZ): Likewise.
3703 (FE_INVALID_IMZ): Likewise.
3704 (FE_INVALID_COMPARE): Likewise.
3705 (FE_INVALID_SOFTWARE): Likewise.
3706 (FE_INVALID_SQRT): Likewise.
3707 (FE_INVALID_INTEGER_CONVERSION): Likewise.
3708 (FE_TONEAREST): Likewise.
3709 (FE_TOWARDZERO): Likewise.
3710 (FE_UPWARD): Likewise.
3711 (FE_DOWNWARD): Likewise.
3712 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
3713 (FE_DIVBYZERO): Likewise.
3714 (FE_OVERFLOW): Likewise.
3715 (FE_UNDERFLOW): Likewise.
3716 (FE_INEXACT): Likewise.
3717 (FE_TONEAREST): Likewise.
3718 (FE_DOWNWARD): Likewise.
3719 (FE_UPWARD): Likewise.
3720 (FE_TOWARDZERO): Likewise.
3721 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
3722 (FE_UNDERFLOW): Likewise.
3723 (FE_OVERFLOW): Likewise.
3724 (FE_DIVBYZERO): Likewise.
3725 (FE_INVALID): Likewise.
3726 (FE_TONEAREST): Likewise.
3727 (FE_TOWARDZERO): Likewise.
3728 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
3729 (FE_OVERFLOW): Likewise.
3730 (FE_UNDERFLOW): Likewise.
3731 (FE_DIVBYZERO): Likewise.
3732 (FE_INEXACT): Likewise.
3733 (FE_TONEAREST): Likewise.
3734 (FE_TOWARDZERO): Likewise.
3735 (FE_UPWARD): Likewise.
3736 (FE_DOWNWARD): Likewise.
3737 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
3738 (FE_DIVBYZERO): Likewise.
3739 (FE_OVERFLOW): Likewise.
3740 (FE_UNDERFLOW): Likewise.
3741 (FE_INEXACT): Likewise.
3742 (FE_TONEAREST): Likewise.
3743 (FE_DOWNWARD): Likewise.
3744 (FE_UPWARD): Likewise.
3745 (FE_TOWARDZERO): Likewise.
3746
105ca950
CM
37472012-11-02 Chris Metcalf <cmetcalf@tilera.com>
3748
3749 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
3750
a542b389
AS
37512012-11-03 Andreas Schwab <schwab@linux-m68k.org>
3752
3753 * scripts/cross-test-ssh.sh (command): Use newlines to separate
3754 commands. Quote $PWD.
3755 (blacklist_exports): Don't use remove_newlines. Replace "declare
3756 -x" by "export".
3757 (remove_newlines): Remove.
3758
f62c8abc
L
37592012-11-02 H.J. Lu <hongjiu.lu@intel.com>
3760
3761 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
3762 * stdlib/stdlib.h (atof): Moved to ...
3763 * include/bits/stdlib-float.h: Here. New file.
3764 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
3765 * stdlib/bits/stdlib-float.h: New file.
3766 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
3767 -mno-sse -mno-mmx.
3768 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
3769 <xmmintrin.h>.
3770
0155d5b2
JM
37712012-11-02 Joseph Myers <joseph@codesourcery.com>
3772
a68d0680
JM
3773 * conform/conformtest.pl (@headers): Add fenv.h.
3774 * conform/data/fenv.h-data: New file.
3775 * include/fenv.h [_ISOMAC]: Disable all contents of file except
3776 include of <math/fenv.h>.
3777
caf7f573
JM
3778 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
3779 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
3780 && !UNIX98]. Enables tests for XOPEN2K8.
3781 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
3782 POSIX2008]: Likewise.
3783
6c073ad6
JM
3784 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
3785 (struct rusage): Do not expect type or its members.
3786
0155d5b2
JM
3787 [BZ #3439]
3788 * math/math.h (FP_NAN): Define macro to integer constant usable in
3789 #if and use that to give value to enum constant.
3790 (FP_INFINITE): Likewise.
3791 (FP_ZERO): Likewise.
3792 (FP_SUBNORMAL): Likewise.
3793 (FP_NORMAL): Likewise.
3794
b5dcacb4
AS
37952012-11-02 Andreas Schwab <schwab@linux-m68k.org>
3796
3797 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
3798 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
3799 arguments.
3800
f7934be8
RM
38012012-11-02 Roland McGrath <roland@hack.frob.com>
3802
3803 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
3804 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
3805 autoconf-time if not.
3806 * configure.in: Remove AC_PREREQ.
3807
d7d08bde
TMQMF
38082012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3809
3810 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
3811 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
3812 of the internal implementation.
3813
dcdae19a
JM
38142012-11-02 Joseph Myers <joseph@codesourcery.com>
3815
3816 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
3817 except include of <misc/sys/syslog.h>.
3818
d6cffd3e
AS
38192012-11-01 Andreas Schwab <schwab@linux-m68k.org>
3820
3821 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
3822 function returns with a NULL context exit with zero.
3823
b3563932
TMQMF
38242012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3825
3826 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
3827
b288a93d
L
38282012-11-01 H.J. Lu <hongjiu.lu@intel.com>
3829
3830 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
3831 (run_program_cmd): This.
3832 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
3833 (tst_langinfo): New variable. Use it.
3834
a2421a68
SAS
38352012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
3836
3837 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
3838 floating point opcodes.
3839
6f796e1b
TS
38402012-11-01 Thomas Schwinge <thomas@codesourcery.com>
3841
7402596b
TS
3842 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
3843 variable.
3844
d0d4f868
TS
3845 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
3846
6f796e1b
TS
3847 * sysdeps/mach/hurd/powerpc: Remove directory.
3848 * sysdeps/mach/powerpc: Likewise.
3849
4da224a2
AS
38502012-11-01 Andreas Schwab <schwab@linux-m68k.org>
3851
3852 * scripts/check-local-headers.sh: Ignore c++ headers.
3853
341dd673
TS
38542012-11-01 Thomas Schwinge <thomas@codesourcery.com>
3855
3856 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
3857 __libc_cleanup_region_start argument.
3858
473611b2
JM
38592012-11-01 Joseph Myers <joseph@codesourcery.com>
3860
3861 [BZ #14784]
3862 [BZ #14785]
3863 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
3864 x * y using scaling, not as x * y + z.
3865 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3866 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3867 * math/libm-test.inc (fma_test): Add more tests.
3868 (fma_test_towardzero): Likewise.
3869 (fma_test_downward): Likewise.
3870 (fma_test_upward): Likewise.
3871
4078da3d
TS
38722012-11-01 Thomas Schwinge <thomas@codesourcery.com>
3873
3874 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
3875
903252aa
JM
38762012-10-31 Joseph Myers <joseph@codesourcery.com>
3877
3878 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
3879 New variable.
3880
cbc818d0
TS
38812012-10-31 Thomas Schwinge <thomas@codesourcery.com>
3882
3883 * rt/tst-shm.c (worker): Correct checking for mmap failure.
3884
5a03cb1e
AS
38852012-10-31 Andreas Schwab <schwab@linux-m68k.org>
3886
3887 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3888 Fix sort order.
3889 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3890 Likewise.
3891
90aff2ff
TMQMF
38922012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3893
3894 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3895 Fix the order of the list for glibc 2.17.
3896 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3897 Likewise.
3898
1818fcb7
AS
38992012-10-31 Andreas Schwab <schwab@linux-m68k.org>
3900
3901 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3902
ef82f4da
JM
39032012-10-31 Joseph Myers <joseph@codesourcery.com>
3904
16a0e2ec
JM
3905 [BZ #14610]
3906 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
3907 for low part of x being zero before using __atanl (y).
3908 * math/libm-test.inc (atan2_test): Add another test.
3909
0eb69512
JM
3910 * manual/install.texi (Configuring and compiling): Document
3911 general use of test-wrapper and test-wrapper-env.
3912 * INSTALL: Regenerated.
3913
ef82f4da
JM
3914 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
3915 (__fma): Do not extract and scale down low bits on after-rounding
3916 systems when result rounded to normal precision would have normal
3917 exponent.
3918 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
3919 (__fmal): Do not extract and scale down low bits on after-rounding
3920 systems when result rounded to normal precision would have normal
3921 exponent.
3922 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
3923 (__fmal): Do not extract and scale down low bits on after-rounding
3924 systems when result rounded to normal precision would have normal
3925 exponent.
3926 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
3927 macro.
3928 (fma_test): Add more tests.
3929 (fma_test_towardzero): Likewise.
3930 (fma_test_downward): Likewise.
3931 (fma_test_upward): Likewise.
3932
954ef0d9
L
39332012-10-30 H.J. Lu <hongjiu.lu@intel.com>
3934
3935 * sysdeps/i386/tininess.h: Renamed to ...
3936 * sysdeps/x86/tininess.h: This.
3937 * sysdeps/x86_64/tininess.h: Removed.
3938
df61ffb2
JM
39392012-10-30 Joseph Myers <joseph@codesourcery.com>
3940
3941 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
3942 input. Use $(build-program-cmd).
3943 ($(objpfx)tst-array1-static.out): Likewise.
3944 ($(objpfx)tst-array2.out): Likewise.
3945 ($(objpfx)tst-array3.out): Likewise.
3946 ($(objpfx)tst-array4.out): Likewise.
3947 ($(objpfx)tst-array5.out): Likewise.
3948 ($(objpfx)tst-array5-static.out): Likewise.
3949
01767843
CM
39502012-10-30 Chris Metcalf <cmetcalf@tilera.com>
3951
47cc1490
CM
3952 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
3953 if defined.
3954
01767843
CM
3955 * nss/nsswitch.h (nss_interface_function): Provide new
3956 macro for use with NSS functions.
3957 * grp/initgroups.c: Use new macro.
3958 * nss/getXXbyYY.c: Likewise.
3959 * nss/getXXbyYY_r.c: Likewise.
3960 * nss/getXXent.c: Likewise.
3961 * nss/getXXent_r.c: Likewise.
3962 * sysdeps/posix/getaddrinfo.c: Likewise.
3963
8321aa97
AJ
39642012-10-30 Andreas Jaeger <aj@suse.de>
3965
3966 * po/ru.po: Update Russion translation from translation project.
3967
2a27fd6d
JM
39682012-10-30 Joseph Myers <joseph@codesourcery.com>
3969
8627a232
JM
3970 [BZ #14152]
3971 [BZ #14783]
3972 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
3973 result and shift together with sticky bit instead of replicating
3974 round-to-nearest rounding.
3975 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3976 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3977 * math/libm-test.inc (fma_test): Add more tests. Do not permit
3978 missing underflow exceptions.
3979 (fma_test_towardzero): Add more tests.
3980 (fma_test_downward): Likewise.
3981 (fma_test_upward): Likewise.
3982
2a27fd6d
JM
3983 [BZ #14047]
3984 * sysdeps/generic/tininess.h: New file.
3985 * sysdeps/i386/tininess.h: Likewise.
3986 * sysdeps/sh/tininess.h: Likewise.
3987 * sysdeps/x86_64/tininess.h: Likewise.
3988 * stdlib/tst-strtod-underflow.c: Likewise.
3989 * stdlib/tst-tininess.c: Likewise.
3990 * stdlib/strtod_l.c: Include <tininess.h>.
3991 (round_and_return): Do not set errno for exact underflow cases.
3992 Force an underflow exception when setting errno for underflow.
3993 Determine underflow based on rounding to normal precision if
3994 TININESS_AFTER_ROUNDING.
3995 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
3996 ERANGE for exact underflow cases.
3997 * stdlib/Makefile (tests): Add tst-tininess and
3998 tst-strtod-underflow.
3999 ($(objpfx)tst-tininess): Use $(link-libm).
4000 ($(objpfx)tst-strtod-underflow): Likewise.
4001
e7170363
AJ
40022012-10-30 Andreas Jaeger <aj@suse.de>
4003
e5088dc6
AJ
4004 [BZ#14767]
4005 * elf/Makefile (tests): Remove conditional for have-initfini-array
4006 since this is now always required and the variable does not exist
4007 anymore.
4008 (tests-static): Likewise.
4009 (modules-names): Likewise.
4010
e7170363 4011 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
4012
4013 * elf/tst-array1.c (fini_array): Make writeable so that it can be
4014 merged with constructor/destructor.
4015 (init_array): Likewise.
4016 * elf/tst-array2dep.c (fini_array): Likewise.
4017 (init_array): Likewise.
4018
60457d8a
MF
40192012-10-29 Mike Frysinger <vapier@gentoo.org>
4020
4021 * manual/message.texi: Delete @cartouche tags.
4022
8bece752
PT
40232012-10-29 Pino Toscano <toscano.pino@tiscali.it>
4024
94ce799f
PT
4025 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
4026 EOPNOTSUPP.
4027 * sysdeps/mach/hurd/fsync.c: Likewise.
4028
8bece752
PT
4029 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
4030 [_POSIX_REALTIME_SIGNALS]: Change condition to
4031 [_POSIX_REALTIME_SIGNALS > 0].
4032
86ebe6b1
AJ
40332012-10-27 Andreas Jaeger <aj@suse.de>
4034
4035 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
4036 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
4037 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
4038 [__WORDSIZE != 64]: Likewise.
4039
54399c08
L
40402012-10-26 H.J. Lu <hongjiu.lu@intel.com>
4041
4042 * iconvdata/tst-table.sh: Remove ${SHELL}.
4043 * iconvdata/tst-tables.sh: Likewise.
4044
e2211bed
DM
40452012-10-25 David S. Miller <davem@davemloft.net>
4046
4047 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4048 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
4049 of strtoull.
4050
f303f97c
DM
4051 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
4052 ifunc-impl-list.c
4053 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
4054 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
4055 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
4056 file.
4057
1e9d84cd
RM
40582012-10-25 Roland McGrath <roland@hack.frob.com>
4059
4060 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4061 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
4062 __getdirentries.
4063
df381762
JM
40642012-10-25 Joseph Myers <joseph@codesourcery.com>
4065 Jim Blandy <jimb@codesourcery.com>
4066
4067 * scripts/cross-test-ssh.sh: New file.
4068 * manual/install.texi (Configuring and compiling): Document use of
4069 cross-test-ssh.sh.
4070 * INSTALL: Regenerated.
4071
bff64913
PT
40722012-10-25 Pino Toscano <toscano.pino@tiscali.it>
4073
4074 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
4075 EOPNOTSUPP.
4076
25fe8932
JM
40772012-10-25 Joseph Myers <joseph@codesourcery.com>
4078
4079 * Makeconfig (run-program-prefix): Fix comment.
4080
cc1290d0
JM
40812012-10-24 Joseph Myers <joseph@codesourcery.com>
4082 Jim Blandy <jimb@codesourcery.com>
4083
4084 * Makeconfig (test-wrapper): New variable,
4085 (test-wrapper-env): Likewise.
4086 [$(cross-compiling) = yes && $(test-wrapper) != ""]
4087 (run-built-tests): Define to yes.
4088 (run-program-prefix): Use $(test-wrapper).
4089 (built-program-cmd): Likewise.
4090 * Rules (make-test-out): Use $(test-wrapper-env) and
4091 $(host-built-program-cmd).
4092 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
4093 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
4094 tst-pathopt.sh.
4095 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
4096 $(test-wrapper-env) to tst-rtld-load-self.sh.
4097 ($(objpfx)order2.out): Use $(test-wrapper).
4098 ($(objpfx)tst-initorder.out): Likewise.
4099 ($(objpfx)tst-initorder2.out): Likewise.
4100 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
4101 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
4102 (test_wrapper_env): New variable. Use it to run ld.so.
4103 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
4104 Use it to run ld.so.
4105 (test_wrapper_env): Likewise.
4106 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
4107 $(test-wrapper) to run-iconv-test.sh.
4108 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
4109 (ICONV): Use $test_wrapper.
4110 * posix/Makefile ($(objpfx)globtest.out): Pass
4111 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
4112 globtest.sh, not $(run-program-prefix).
4113 * posix/globtest.sh (run_via_rtld_prefix): New variable.
4114 (test_wrapper): Likewise.
4115 (test_wrapper_env): Likewise. Use it to run globtest with HOME
4116 set together with run_via_rtld_prefix.
4117 (run_program_prefix): Define in terms of test_wrapper and
4118 run_via_rtld_prefix.
4119
6e6249d0
RM
41202012-10-24 Roland McGrath <roland@hack.frob.com>
4121
4122 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
4123 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
4124 Targets removed.
4125
4126 [BZ #14743]
4127 * include/time.h: Remove librt_hidden_proto (clock_gettime).
4128 Declare __clock_getres, __clock_gettime, __clock_settime,
4129 __clock_nanosleep, and __clock_getcpuclockid.
4130 * rt/clock_gettime.c: Define __clock_gettime as an alias.
4131 Remove librt_hidden_def (clock_gettime).
4132 * sysdeps/unix/clock_gettime.c: Likewise.
4133 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
4134 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
4135 * rt/clock_getres.c: Define __clock_getres as an alias.
4136 * sysdeps/posix/clock_getres.c: Likewise.
4137 * rt/clock_settime.c: Define __clock_settime as an alias.
4138 * sysdeps/unix/clock_settime.c: Likewise.
4139 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
4140 * sysdeps/unix/clock_nanosleep.c: Likewise.
4141 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
4142 * rt/clock-compat.c: New file.
4143 * rt/Makefile (librt-routines): Add clock-compat and move
4144 $(clock-routines) to ...
4145 (routines): ... here, new variable.
4146 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
4147 Don't add get_clockfreq here.
4148 * rt/Versions (libc: GLIBC_2.17): New version set.
4149 Add clock_* symbols here.
4150 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
4151 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
4152 (GLIBC_2.17): Add clock_* symbols.
4153 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
4154 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
4155 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
4156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
4157 Likewise.
4158 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4159 Likewise.
4160 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
4161 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
4162 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
4163 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
4164 * NEWS: Mention the move.
4165
4166 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
4167 Use __open, __read, __close rather than their public counterparts.
4168 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4169 (__get_clockfreq_via_cpuinfo): Likewise.
4170 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
4171 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
4172
4173 * config.h.in (HAVE_IFUNC): New #undef.
4174 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
4175 was successful.
4176 * configure: Regenerated.
4177
0cae3f4b
MF
41782012-10-24 Mike Frysinger <vapier@gentoo.org>
4179
4180 * configure.in: Move READELF check to start of file.
4181 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
4182 libc_cv_asm_gnu_indirect_function in the process.
4183 * configure: Regenerated.
4184
8175a253
MF
41852012-10-24 Mike Frysinger <vapier@gentoo.org>
4186
4187 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
4188 send the output to /dev/null.
4189 (libc_cv_cc_with_libunwind): Likewise.
4190 (libc_cv_as_noexecstack): Likewise.
4191 * configure: Regenerate.
4192
0708a7d1
JM
41932012-10-24 Joseph Myers <joseph@codesourcery.com>
4194
10b40d85
JM
4195 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
4196
0708a7d1
JM
4197 * posix/globtest.sh (TMPDIR): Do not set.
4198 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
4199 (testout): Likewise.
4200
9fddec1a
AJ
42012012-10-24 Andreas Jaeger <aj@suse.de>
4202
3a8db22f
AJ
4203 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
4204 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
4205 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
4206 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
4207 posix_fadvise64, posix_fallocate64.
4208
9fddec1a
AJ
4209 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
4210 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
4211 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
4212 Likewise.
4213 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
4214 Likewise.
4215 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
4216
4217 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
4218 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
4219 <bits/fcntl-linux.h>.
4220 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
4221
4222 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
4223 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
4224 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
4225 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
4226 [__WORDSIZE != 64]: Likewise.
4227
ebfd1bbd
JM
42282012-10-23 Joseph Myers <joseph@codesourcery.com>
4229
03ac099f
JM
4230 * Makeconfig (run-built-tests): New variable.
4231 * Rules [$(cross-compiling) = yes]: Change condition to
4232 [$(run-built-tests) = no].
4233 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
4234 to [$(run-built-tests) = yes].
4235 * elf/Makefile [$(cross-compiling) = no]: Likewise
4236 * grp/Makefile [$(cross-compiling) = no]: Likewise.
4237 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
4238 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
4239 * intl/Makefile [$(cross-compiling) = no]: Likewise.
4240 * io/Makefile [$(cross-compiling) = no]: Likewise.
4241 * libio/Makefile [$(cross-compiling) = no]: Likewise.
4242 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
4243 * misc/Makefile [$(cross-compiling) = no]: Likewise.
4244 * posix/Makefile [$(cross-compiling) = no]: Likewise.
4245 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
4246 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
4247 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
4248 * string/Makefile [$(cross-compiling) = no]: Likewise.
4249
ebfd1bbd
JM
4250 * posix/Makefile ($(objpfx)globtest.out): Pass
4251 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
4252 $(rtld-installed-name).
4253 * posix/globtest.sh (elf_objpfx): Remove variable.
4254 (rtld_installed_name): Likewise.
4255 (library_path): Likewise.
4256 (run_program_prefix): New variable. Use for running globtest
4257 binary.
4258
166bca24
JB
42592012-10-23 Jim Blandy <jimb@codesourcery.com>
4260 Joseph Myers <joseph@codesourcery.com>
4261
4262 * Makeconfig (host-built-program-cmd): New variable.
4263 * elf/Makefile (tst-stackguard1-ARGS): Use
4264 $(host-built-program-cmd).
4265 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
4266 (tst-spawn-ARGS): Likewise.
4267 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
4268
88866099
JM
42692012-10-23 Joseph Myers <joseph@codesourcery.com>
4270 Jim Blandy <jimb@codesourcery.com>
4271
4272 * Makeconfig (run-via-rtld-prefix): New variable.
4273 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
4274 (built-program-cmd): Likewise.
4275
b4b4c296
AJ
42762012-10-22 Andreas Jaeger <aj@suse.de>
4277
4278 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
4279 __O_RSYNC if it exists, otherwise to O_SYNC.
4280
6fb54a22
JB
42812012-10-22 Jim Blandy <jimb@codesourcery.com>
4282 Joseph Myers <joseph@codesourcery.com>
4283
4284 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
4285 /dev/null.
4286 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
4287 from /dev/null
4288 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
4289 /dev/null.
4290
481b90b9
AJ
42912012-10-22 Andreas Jaeger <aj@suse.de>
4292
2a0e2669
AJ
4293 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
4294 Define always.
4295 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
4296
76e38f9a
AJ
4297 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4298 bits/fcntl-linux.h.
4299
7cd37b43
AJ
4300 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
4301 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
4302
481b90b9
AJ
4303 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
4304 to __O_LARGEFILE.
4305 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
4306 to __O_LARGEFILE.
4307
aba75984
JB
43082012-10-21 Jim Blandy <jimb@codesourcery.com>
4309 Joseph Myers <joseph@codesourcery.com>
4310
4311 * config.make.in (NM): New variable.
4312
88d4247f
AJ
43132012-10-21 Andreas Jaeger <aj@suse.de>
4314
4315 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
4316 definitions and declarations that are provided by
4317 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
4318
f2eed205
L
43192012-10-20 H.J. Lu <hongjiu.lu@intel.com>
4320
4321 [BZ #14683]
4322 * elf/Makefile (tests-static): Add tst-leaks1-static.
4323 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
4324 ($(objpfx)tst-leaks1-static): New rule.
4325 ($(objpfx)tst-leaks1-static-mem): Likewise.
4326 (tst-leaks1-static-ENV): New macro.
4327 * elf/dl-open.c (dl_open_worker): Check the main application
4328 only if SHARED is defined.
4329 * elf/tst-leaks1-static.c: New file.
4330
335e6931
AJ
43312012-10-20 Andreas Jaeger <aj@suse.de>
4332
4333 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
4334 generic values for Linux.
4335 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
4336 and declarations that are provided by <bits/fcntl-linux.h> and
4337 include <bits/fcntl-linux.h>.
4338 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
4339 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
4340
ac5c94d3
RM
43412012-10-20 Roland McGrath <roland@hack.frob.com>
4342
4343 * io/fcntl.h: Move include of <bits/types.h> to the top and
4344 include it unconditionally.
4345
de54b33a
L
43462012-10-20 H.J. Lu <hongjiu.lu@intel.com>
4347
228cfb01
L
4348 * wcsmbs/Makefile (tests-ifunc): New variable.
4349 (tests): Add $(tests-ifunc).
4350 * wcsmbs/test-wcschr-ifunc.c: New file.
4351 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
4352 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
4353 * wcsmbs/test-wcslen-ifunc.c: Likewise.
4354 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
4355 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
4356
69f07e5f
L
4357 * string/Makefile (tests-ifunc): New variable.
4358 (tests): Add $(tests-ifunc).
4359 * string/test-memccpy.c (TEST_NAME): New macro.
4360 * string/test-memchr.c (TEST_NAME): Likewise.
4361 * string/test-memcmp.c (TEST_NAME): Likewise.
4362 * string/test-memcpy.c (TEST_NAME): Likewise.
4363 * string/test-memmem.c (TEST_NAME): Likewise.
4364 * string/test-memmove.c (TEST_NAME): Likewise.
4365 * string/test-memset.c (TEST_NAME): Likewise.
4366 * string/test-rawmemchr.c (TEST_NAME): Likewise.
4367 * string/test-stpcpy.c (TEST_NAME): Likewise.
4368 * string/test-stpncpy.c (TEST_NAME): Likewise.
4369 * string/test-strcasecmp.c (TEST_NAME): Likewise.
4370 * string/test-strcasestr.c (TEST_NAME): Likewise.
4371 * string/test-strcat.c (TEST_NAME): Likewise.
4372 * string/test-strchr.c (TEST_NAME): Likewise.
4373 * string/test-strcmp.c(TEST_NAME): Likewise.
4374 * string/test-strcpy.c (TEST_NAME): Likewise.
4375 * string/test-strcspn.c (TEST_NAME): Likewise.
4376 * string/test-strlen.c (TEST_NAME): Likewise.
4377 * string/test-strncasecmp.c (TEST_NAME): Likewise.
4378 * string/test-strncmp.c (TEST_NAME): Likewise.
4379 * string/test-strncpy.c (TEST_NAME): Likewise.
4380 * string/test-strnlen.c (TEST_NAME): Likewise.
4381 * string/test-strpbrk.c (TEST_NAME): Likewise.
4382 * string/test-strrchr.c (TEST_NAME): Likewise.
4383 * string/test-strspn.c (TEST_NAME): Likewise.
4384 * string/test-strstr.c (TEST_NAME): Likewise.
4385 * string/test-bcopy-ifunc.c: New file.
4386 * string/test-bzero-ifunc.c: Likewise.
4387 * string/test-memccpy-ifunc.c: Likewise.
4388 * string/test-memchr-ifunc.c: Likewise.
4389 * string/test-memcmp-ifunc.c: Likewise.
4390 * string/test-memcpy-ifunc.c: Likewise.
4391 * string/test-memmem-ifunc.c: Likewise.
4392 * string/test-memmove-ifunc.c: Likewise.
4393 * string/test-mempcpy-ifunc.c: Likewise.
4394 * string/test-memset-ifunc.c: Likewise.
4395 * string/test-rawmemchr-ifunc.c: Likewise.
4396 * string/test-stpcpy-ifunc.c: Likewise.
4397 * string/test-stpncpy-ifunc.c: Likewise.
4398 * string/test-strcasecmp-ifunc.c: Likewise.
4399 * string/test-strcasestr-ifunc.c: Likewise.
4400 * string/test-strcat-ifunc.c: Likewise.
4401 * string/test-strchr-ifunc.c: Likewise.
4402 * string/test-strchrnul-ifunc.c: Likewise.
4403 * string/test-strcmp-ifunc.c: Likewise.
4404 * string/test-strcpy-ifunc.c: Likewise.
4405 * string/test-strcspn-ifunc.c: Likewise.
4406 * string/test-strlen-ifunc.c: Likewise.
4407 * string/test-strncasecmp-ifunc.c: Likewise.
4408 * string/test-strncat-ifunc.c: Likewise.
4409 * string/test-strncmp-ifunc.c: Likewise.
4410 * string/test-strncpy-ifunc.c: Likewise.
4411 * string/test-strnlen-ifunc.c: Likewise.
4412 * string/test-strpbrk-ifunc.c: Likewise.
4413 * string/test-strrchr-ifunc.c: Likewise.
4414 * string/test-strspn-ifunc.c: Likewise.
4415 * string/test-strstr-ifunc.c: Likewise.
4416
de54b33a
L
4417 * debug/Makefile (tests-ifunc): New variable.
4418 (tests): Add $(tests-ifunc).
4419 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
4420 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
4421 * debug/test-stpcpy_chk-ifunc.c: New file.
4422 * debug/test-strcpy_chk-ifunc.c: Likewise.
4423
88481c16
SP
44242012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
4425
4426 [BZ #13601]
4427 * elf/dl-load.c (open_verify): Retry read if the entire ELF
4428 header is not read in.
4429
135948bd
JM
44302012-10-19 Joseph Myers <joseph@codesourcery.com>
4431
89f1c388
JM
4432 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
4433 script to $(SHELL) as $<. Pass $(common-objpfx) to script
4434 directly. Pass built executable to script as
4435 $(built-program-cmd).
4436 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
4437 $testprogram without using LD_LIBRARY_PATH and $ldso.
4438
e40a0d21
JM
4439 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
4440 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
4441 $(rtld-installed-name).
4442 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
4443 (rtld_installed_name): Likewise.
4444 (library_path): Likewise.
4445 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
4446 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
4447 $(run-program-prefix) to tst-tables.sh.
4448 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
4449 it to run tst-table-from and tst-table-to.
4450 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
4451 Pass it to tst-table.sh.
4452 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
4453 $(run-program-prefix) to tst-gettext.sh.
4454 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
4455 tst-translit.sh.
4456 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
4457 tst-gettext2.sh.
4458 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
4459 to run tst-gettext.
4460 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
4461 to run tst-gettext2.
4462 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
4463 to run tst-translit.
4464 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
4465 $(run-program-prefix) to tst-mtrace.sh.
4466 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
4467 to run tst-mtrace.
4468 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
4469 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
4470 $(rtld-installed-name).
4471 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
4472 (rtld_installed_name): Likewise.
4473 (run_program_prefix): New variable. Use it to run wordexp-test.
4474
728e272a
JM
4475 * Makeconfig (ARCH): Remove all definitions.
4476 (machine): Likewise.
4477 [ARCH]: Remove conditional code.
4478 [!objdir]: Give error.
4479 [!objdir] (objpfx): Remove.
4480 [!objdir] (common-objpfx): Likewise.
4481 [!objdir] (common-objdir): Likewise.
4482 * configure.in (config_makefile): Remove. Hardcode Makefile in
4483 AC_CONFIG_FILES call.
4484 * configure: Regenerated.
4485
d528cdcf
JM
4486 [BZ #13888]
4487 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
4488 or TMPDIR.
4489 (testout): Likewise.
4490
135948bd
JM
4491 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
4492 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
4493 $(rtld-installed-name).
4494 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
4495 (rtld_installed_name): Likwise.
4496 (runit): Remove function.
4497 (run_getconf): New variable, Use it for running getconf binary.
4498
38c78296
L
44992012-10-18 H.J. Lu <hongjiu.lu@intel.com>
4500
4501 [BZ #14716]
4502 * string/test-memmem.c (check_result): New function.
4503 (do_one_test): Use it.
4504 (check1): New function.
4505 (test_main): Use it.
4506
d077f65f
MT
45072012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
4508
4509 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
4510
ced52c71
JM
45112012-10-18 Joseph Myers <joseph@codesourcery.com>
4512
4513 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
4514 (_G_LSEEK64): Likewise.
4515 (_G_MMAP64): Likewise.
4516 (_G_FSTAT64): Likewise.
4517 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
4518 (_G_LSEEK64): Likewise.
4519 (_G_MMAP64): Likewise.
4520 (_G_FSTAT64): Likewise.
4521 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
4522 unconditional. Call __mmap64 directly.
4523 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
4524 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
4525 __lseek64 directly.
4526 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
4527 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
4528 __mmap64 directly.
4529 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
4530 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
4531 __lseek64 directly.
4532 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
4533 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
4534 __lseek64 directly.
4535 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
4536 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
4537 __lseek64 directly.
4538 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
4539 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
4540 __fxstat64 directly.
4541 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
4542 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
4543 unconditional.
4544 (freopen64) [!_G_OPEN64]: Remove conditional code.
4545 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
4546 unconditional.
4547 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
4548 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
4549 unconditional.
4550 (ftello64) [!_G_LSEEK64]: Remove conditional code.
4551 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
4552 unconditional.
4553 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
4554 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
4555 unconditional.
4556 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
4557 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
4558 unconditional.
4559 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
4560 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
4561 unconditional.
4562 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
4563 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
4564 unconditional.
4565 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
4566
b741de23
SP
45672012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
4568
4569 [BZ #12140]
4570 * manual/memory.texi (Malloc Tunable Parameters): Add note
4571 about free list pointers overwriting some perturb bytes.
4572 Wording suggested by Roland McGrath.
4573
f9b9d9c9
JM
45742012-10-17 Joseph Myers <joseph@codesourcery.com>
4575
4576 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
4577 (lgamma_test): Likewise.
4578 (tgamma_test): Likewise.
4579
172a631a
FW
45802012-10-16 Florian Weimer <fweimer@redhat.com>
4581
4582 [BZ #14700]
4583 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
4584 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
4585
e9f37252
MK
45862012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
4587
4588 * NEWS: Mention BZ #14716.
4589 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
4590 when removing AVAILABLE1_USES_J macro.
4591
d394eb74
L
45922012-10-12 H.J. Lu <hongjiu.lu@intel.com>
4593
4594 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
4595 (__bswap_64): __uint64_t for unsigned 64-bit int.
4596
ca38dc17
AS
45972012-10-12 Andreas Schwab <schwab@linux-m68k.org>
4598
4599 * include/string.h (memmem): Declare libc hidden alias.
4600 * string/memmem.c (memmem): Define libc hidden alias.
4601 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
4602 __read, __close instead of open, read, close.
4603
9a387d1f
L
46042012-10-11 H.J. Lu <hongjiu.lu@intel.com>
4605
ac49ecaf
L
4606 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
4607 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
4608 global and hidden.
4609 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
4610 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
4611 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
4612 Likewise.
4613 (__rawmemchr_sse2): Likewise.
4614 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
4615 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
4616 (__strchr_sse2): Likewise.
4617 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
4618 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
4619 (__strcasecmp_sse2): Likewise.
4620 (__strncasecmp_sse2): Likewise.
4621 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
4622 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
4623 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
4624 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
4625 (__strrchr_sse2): Likewise.
4626 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
4627 ifunc-impl-list.c.
4628 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
4629 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
4630 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
4631 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
4632 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
4633 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
4634 * sysdeps/x86_64/multiarch/memset.S: Likewise.
4635 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
4636 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
4637 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
4638 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
4639 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
4640 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
4641 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
4642 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
4643 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
4644 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
4645 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
4646 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
4647 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
4648 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
4649 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
4650 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
4651 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
4652 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
4653 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
4654 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
4655 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
4656 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
4657 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
4658
b090e8ea
L
4659 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
4660 global and hidden.
4661 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
4662 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
4663 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
4664 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
4665 Likewise.
4666 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
4667 Likewise.
4668 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
4669 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
4670 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
4671 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
4672 ifunc-impl-list.c.
4673 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
4674 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
4675 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
4676 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
4677 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
4678 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
4679 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
4680 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
4681 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
4682 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
4683 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
4684 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
4685 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
4686 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
4687 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
4688 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
4689 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
4690 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
4691 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
4692 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
4693 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
4694 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
4695 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
4696 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
4697 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
4698 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
4699 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
4700 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
4701 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
4702 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
4703 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
4704 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
4705 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
4706 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
4707 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
4708 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
4709 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
4710 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
4711 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
4712 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
4713 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
4714
11dd4af6
L
4715 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
4716 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
4717 * include/ifunc-impl-list.h: New file.
4718 * misc/ifunc-impl-list.c: Likewise.
4719 * misc/Makefile (routines): Add ifunc-impl-list.
4720 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
4721 * string/test-string.h: Include <ifunc-impl-list.h>.
4722 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
4723 impl_array): New variables.
4724 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
4725 are defined.
4726 (test_init): Call __libc_ifunc_impl_list to initialize
4727 func_list if TEST_IFUNC and TEST_NAME are defined.
4728
9a387d1f
L
4729 * string/Makefile (strop-tests): Add bcopy and bzero.
4730 * string/test-bcopy.c: New file.
4731 * string/test-bzero.c: Likewise.
4732 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
4733 defined.
4734 * string/test-memset.c: Support bzero test if TEST_BZERO is
4735 defined.
4736 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
4737 __libc_memmove.
4738 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
4739 __libc_memset.
4740 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
4741 of memset.
4742
472371b9
JM
47432012-10-10 Joseph Myers <joseph@codesourcery.com>
4744
1e4a9536
JM
4745 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
4746 * configure: Regenerated.
4747
d173d12e
JM
4748 * Makeconfig (+link-static-before-libc): Don't include
4749 $(link-static-libc).
4750
472371b9
JM
4751 * libio/libio.h (_IO_pos_t): Remove.
4752
89a3ad0b
AO
47532012-10-10 Alexandre Oliva <aoliva@redhat.com>
4754
4755 * NEWS: Add note about FIPS mode. Wording suggested by Roland
4756 McGrath.
4757
e7451425
AO
47582012-10-10 Alexandre Oliva <aoliva@redhat.com>
4759
4760 * crypt/crypt-entry.c: Include fips-private.h.
4761 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
4762 * crypt/md5c-test.c (main): Tolerate disabled MD5.
4763 * sysdeps/unix/sysv/linux/fips-private.h: New file.
4764 * sysdeps/generic/fips-private.h: New file, dummy fallback.
4765
4ba74a35
AO
47662012-10-10 Alexandre Oliva <aoliva@redhat.com>
4767
4768 * crypt/crypt-private.h: Include stdbool.h.
4769 (_ufc_setup_salt_r): Return bool.
4770 * crypt/crypt-entry.c: Include errno.h.
4771 (__crypt_r): Return NULL with EINVAL for bad salt.
4772 * crypt/crypt_util.c (bad_for_salt): New.
4773 (_ufc_setup_salt_r): Check that salt is long enough and within
4774 the specified alphabet.
4775 * crypt/badsalttest.c: New file.
4776 * crypt/Makefile (tests): Add it.
4777 ($(objpfx)badsalttest): New.
4778
f96f1242
MK
47792012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
4780
4781 * NEWS: Add entry for BZ #14602.
4782
0e8e0c1c
JM
47832012-10-09 Joseph Myers <joseph@codesourcery.com>
4784
4785 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
4786 type-generic.
4787 * math/libm-test.inc: Update comment listing what functions and
4788 macros are tested.
4789 (isgreater_test): New function.
4790 (isgreaterequal_test): Likewise.
4791 (isless_test): Likewise.
4792 (islessequal_test): Likewise.
4793 (islessgreater_test): Likewise.
4794 (isunordered_test): Likewise.
4795 (main): Call the new functions.
4796
273edc5e
RM
47972012-10-09 Roland McGrath <roland@hack.frob.com>
4798
b8493de0
RM
4799 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
4800 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
4801 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
4802 * sysdeps/i386/configure: Regenerated.
4803 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
4804 * sysdeps/mach/configure: Regenerated.
4805 * sysdeps/mach/hurd/configure: Regenerated.
4806 * sysdeps/powerpc/configure: Regenerated.
4807 * sysdeps/powerpc/powerpc32/configure: Regenerated.
4808 * sysdeps/powerpc/powerpc64/configure: Regenerated.
4809 * sysdeps/s390/s390-32/configure: Regenerated.
4810 * sysdeps/s390/s390-64/configure: Regenerated.
4811 * sysdeps/sh/configure: Regenerated.
4812 * sysdeps/sparc/configure: Regenerated.
4813 * sysdeps/unix/sysv/linux/configure: Regenerated.
4814 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
4815 * sysdeps/x86_64/configure: Regenerated.
4816
273edc5e
RM
4817 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
4818 defined. Don't check if MAP is NULL.
4819
c8450f70
JM
48202012-10-09 Joseph Myers <joseph@codesourcery.com>
4821
4822 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
4823 (_G_stat64): Likewise.
4824 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
4825 (_G_stat64): Likewise.
4826 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
4827 instead of struct _G_stat64.
4828 * libio/fileops.c (mmap_remap_check): Likewise.
4829 (decide_maybe_mmap): Likewise.
4830 (_IO_new_file_seekoff): Likewise.
4831 (_IO_file_stat): Likewise.
4832 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
4833 _G_off64_t.
4834 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
4835 instead of struct _G_stat64.
4836 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
4837
57e605ba
MK
48382012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
4839
4840 [BZ #14602]
4841 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
4842 Replace with ...
4843 (CHECK_EOL): New macro.
4844 (two_way_short_needle): Check beginning of haystack for EOL. Use
4845 CHECK_EOL.
4846 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
4847 Replace with CHECK_EOL.
4848 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
4849 Replace with CHECK_EOL.
4850
ef1bb361
JM
48512012-10-08 Joseph Myers <joseph@codesourcery.com>
4852
4853 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
4854 type-generic.
4855 * math/libm-test.inc: Update comment listing what functions and
4856 macros are tested.
4857 (finite_test): New function.
4858 (isinf_test): Likewise.
4859 (isnan_test): Likewise.
4860 (fpclassify_test): Test subnormal input.
4861 (isfinite_test): Likewise.
4862 (isnormal_test): Likewise.
4863 (main): Call the new functions.
4864
55f11534
JN
48652012-10-08 Jonathan Nieder <jrnieder@gmail.com>
4866
4867 [BZ #14660]
4868 * Makerules (%.dynsym): Force C locale when running
4869 $(OBJDUMP) --dynamic-syms.
4870
1ab29350
AS
48712012-10-08 Andreas Schwab <schwab@linux-m68k.org>
4872
4873 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
4874 <stdint.h>.
4875
f1ecb7ef
DM
48762012-10-06 David S. Miller <davem@davemloft.net>
4877
4878 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
4879 upper 32-bits of the length value in %o2 since we use branch-on-register
4880 tests which consider the entire 64-bit register.
4881
5d41d91a
L
48822012-10-06 H.J. Lu <hongjiu.lu@intel.com>
4883
4884 * string/test-strstr.c (check2): Add a test for page boundary.
4885
3baddb72
DM
48862012-10-05 David S. Miller <davem@davemloft.net>
4887
4888 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
4889 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
4890 file.
4891 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
4892 sysdep_routines.
4893 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
4894 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
4895 and bzero when HWCAP_SPARC_CRYPTO is present.
4896
9cee5585
L
48972012-10-05 H.J. Lu <hongjiu.lu@intel.com>
4898
d7e0dab9
L
4899 [BZ #14602]
4900 * string/test-strstr.c (check2): New function.
4901 (test_main): Call check2.
4902
03759f47
L
4903 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
4904 and bug-strchr1.
4905 * string/bug-strcasestr1.c (do_test): Moved to ...
4906 * string/test-strcasestr.c (check1): Here. New function.
4907 (do_one_test): Break out result checking code into ...
4908 (check_result): This. New function.
4909 (do_one_test): Call check_result.
4910 (test_main): Call check1.
4911 * string/bug-strchr1.c (do_test): Moved to ...
4912 * string/test-strchr.c (check1): Here. New function.
4913 (do_one_test): Break out result checking code into ...
4914 (check_result): This. New function.
4915 (do_one_test): Call check_result.
4916 (test_main): Call check1.
4917 * string/bug-strstr1.c (main): Moved to ...
4918 * string/test-strchr.c (check1): Here. New function.
4919 (do_one_test): Break out result checking code into ...
4920 (check_result): This. New function.
4921 (do_one_test): Call check_result.
4922 (test_main): Call check1.
4923 * string/bug-strcasestr1.c: Removed.
4924 * string/bug-strchr1.c: Likewise.
4925 * string/bug-strstr1.c: Likewise.
4926
53cea63e
L
4927 * elf/Makefile (dl-routines): Add hwcaps.
4928 * elf/dl-support.c (_dl_important_hwcaps): Removed.
4929 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
4930 (_dl_important_hwcaps): Moved to ...
4931 * elf/dl-hwcaps.c: Here. New file.
4932 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
4933
9cee5585 4934 [BZ #14557]
bb859b06
L
4935 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
4936 if IS_IN_rtld isn't defined.
4937
9cee5585
L
4938 * elf/dl-support.c (_dl_sysinfo_map): New.
4939 Include "get-dynamic-info.h" and "setup-vdso.h".
4940 (_dl_non_dynamic_init): Call setup_vdso.
4941 * elf/dynamic-link.h: Don't include <assert.h>.
4942 (elf_get_dynamic_info): Moved to ...
4943 * elf/get-dynamic-info.h: Here. New file.
4944 * elf/dynamic-link.h: Include "get-dynamic-info.h".
4945 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
4946 * elf/setup-vdso.h: Here. New file.
4947 * elf/rtld.c: Include "setup-vdso.h".
4948 (dl_main): Call setup_vdso.
4949
23c31b76
JM
49502012-10-05 Joseph Myers <joseph@codesourcery.com>
4951
28234b07
JM
4952 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
4953 creal in comment listing functions tested. List finite, isinf,
4954 isnan, isless, islessequal, isgreater, isgreaterequal,
4955 islessgreater, isunordered, lgamma_r and pow10 as functions and
4956 macros not tested. Mention which functions not tested are aliases
4957 for other functions. Fix typo. Note that signs of NaNs are not
4958 tested.
4959
23c31b76
JM
4960 * scripts/config.guess: Update from config.git.
4961 * scripts/config.sub: Likewise.
4962
9043e228
RM
49632012-10-04 Roland McGrath <roland@hack.frob.com>
4964
4965 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
4966 * misc/madvise.c (madvise): Renamed to __madvise.
4967 Make madvise a weak alias.
4968 * include/sys/mman.h: Declare __madvise.
4969 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
4970 * sysdeps/unix/syscalls.list
4971 (madvise): Make __madvise the strong name, and madvise a weak alias.
4972 * sysdeps/unix/sysv/linux/syscalls.list
4973 (madvise, mmap): Remove redundant entries.
4974 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
4975 * malloc/malloc.c (mtrim): Likewise.
4976 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
4977
f57f8055
RM
49782012-10-03 Roland McGrath <roland@hack.frob.com>
4979
4980 * sysdeps/mach/hurd/dl-cache.c: File removed.
4981 * config.h.in (USE_LDCONFIG): New #undef.
4982 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
4983 * configure: Regenerated.
4984 * elf/Makefile (dl-routines): Add dl-cache only under
4985 [$(use-ldconfig) = yes].
4986 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
4987 cache on [USE_LDCONFIG].
4988 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
4989 [USE_LDCONFIG].
4990 * elf/rtld.c (dl_main): Likewise.
4991
5bb0c10a
PT
49922012-10-03 Pino Toscano <toscano.pino@tiscali.it>
4993
4994 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
4995 _SC_LEVEL4_CACHE_LINESIZE.
4996
010188c6
RM
49972012-10-03 Roland McGrath <roland@hack.frob.com>
4998
4999 * sysdeps/unix/bsd/confstr.h: File removed.
5000
b6c5ec07
AO
50012012-10-02 Alexandre Oliva <aoliva@redhat.com>
5002
5003 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
5004 sys/sdt-config.h.
5005
408223d4
RM
50062012-10-02 Roland McGrath <roland@hack.frob.com>
5007
5008 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
5009 Make 'mapoff' field ElfW(Off) rather than off_t.
5010
bb9510dc
DL
50112012-10-02 Dmitry V. Levin <ldv@altlinux.org>
5012
fc997c6e
DL
5013 * nscd/Makefile: Remove nscd-cflags and all its users.
5014 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
5015 (CFLAGS-nonlib): Add compiler flags for nscd modules.
5016
bb9510dc
DL
5017 [BZ #10631]
5018 * malloc.c (malloc_printerr): Clarify error message.
5019
05699367
L
50202012-10-02 H.J. Lu <hongjiu.lu@intel.com>
5021
5022 [BZ #14648]
5023 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5024 Set bit_FMA_Usable if FMA is supported.
5025 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
5026 macro.
5027 (bit_FMA4_Usable): Updated.
5028 (index_FMA_Usable): New macro.
5029 (CPUID_FMA): Likewise
5030 (HAS_FMA): Defined with bit_FMA_Usable.
5031
51367701
RM
50322012-10-01 Roland McGrath <roland@hack.frob.com>
5033
5034 * bits/types.h (__swblk_t): Type removed.
5035 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
5036 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
5037 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5038 (__SWBLK_T_TYPE): Likewise.
5039 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
5040 (__SWBLK_T_TYPE): Likewise.
5041 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5042 (__SWBLK_T_TYPE): Likewise.
5043 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5044 (__SWBLK_T_TYPE): Likewise.
5045
4d57bf63 50462012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 5047 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
5048
5049 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
5050 (xdr_mapname): Use YPMAXMAP as maxsize.
5051 (xdr_peername): Use YPMAXPEER as maxsize.
5052 (xdr_keydat): Use YPAXRECORD as maxsize.
5053 (xdr_valdat): Use YPMAXRECORD as maxsize.
5054
93c65d43
RM
50552012-10-01 Roland McGrath <roland@hack.frob.com>
5056
497a03d6
RM
5057 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
5058
93c65d43
RM
5059 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
5060 * csu/init-first.c: ... here.
5061 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
5062 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
5063 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
5064 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
5065 * sysdeps/i386/init-first.c: File removed.
5066 * sysdeps/sh/init-first.c: File removed.
5067
bec749fd
JM
50682012-10-01 Joseph Myers <joseph@codesourcery.com>
5069
5070 [BZ #14645]
5071 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
5072 if x * y might underflow to zero and z is zero.
5073 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5074 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5075 * math/libm-test.inc (min_subnorm_value): New variable.
5076 (fma_test): Add more tests.
5077 (fma_test_towardzero): Likewise.
5078 (fma_test_downward): Likewise
5079 (fma_test_upward): Likewise.
5080 (initialize): Set min_subnorm_value.
5081
8ec5b013
JM
50822012-09-29 Joseph Myers <joseph@codesourcery.com>
5083
5084 [BZ #14638]
5085 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
5086 0 + 0.
5087 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
5088 mode for addition resulting in exact zero.
5089 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
5090 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
5091 exact 0 + 0.
5092 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
5093 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5094 * math/libm-test.inc (fma_test): Add more tests.
5095 (fma_test_towardzero): New function.
5096 (fma_test_downward): Likewise.
5097 (fma_test_upward): Likewise.
5098 (main): Call the new functions.
5099
b1fa802e
DM
51002012-09-28 David S. Miller <davem@davemloft.net>
5101
5102 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
5103
d3b9fd9e
RM
51042012-09-28 Roland McGrath <roland@hack.frob.com>
5105
ea4d37b3
RM
5106 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
5107 instead of SIGALRM.
5108
ac51c949
RM
5109 * sysdeps/gnu/_G_config.h: Moved to ...
5110 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
5111 * sysdeps/mach/hurd/_G_config.h: Moved to ...
5112 * sysdeps/generic/_G_config.h: ... here.
5113
28c195f7
RM
5114 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
5115
848917f9
RM
5116 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
5117
6bacf05b
RM
5118 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
5119 Conditionalize target on [libnss_test1.so-version].
5120
91363dbb
RM
5121 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
5122
cc87f7d8
RM
5123 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
5124 (elfobjdir): Move out of conditionals.
5125
b1c608fe
RM
5126 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
5127 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
5128 (__nss_lookup_function): Conditionalize label remove_from_tree on
5129 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 5130
1d9a6d96
DM
51312012-09-28 David S. Miller <davem@davemloft.net>
5132
5133 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
5134 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
5135 file.
5136 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
5137 sysdep_routines.
5138 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
5139 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
5140 when HWCAP_SPARC_CRYPTO is present.
5141
72581615
PT
51422012-09-28 Pino Toscano <toscano.pino@tiscali.it>
5143
5144 * io/tst-mknodat.c: Create a FIFO instead of a socket.
5145
715a900c
JL
51462012-09-28 Andreas Schwab <schwab@linux-m68k.org>
5147
5148 [BZ #6530]
5149 * stdio-common/vfprintf.c (process_string_arg): Revert
5150 2000-07-22 change.
5151
51522011-09-28 Jonathan Nieder <jrnieder@gmail.com>
5153
5154 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
5155 for testcase.
5156 * stdio-common/tst-sprintf.c: Include <locale.h>
5157 (main): Test sprintf's handling of incomplete multibyte
5158 characters.
5159
9bac1d86
L
51602012-09-28 H.J. Lu <hongjiu.lu@intel.com>
5161
5162 * elf/dl-runtime.c (VERSYMIDX): Removed.
5163 * elf/dl-version.c (VERSYMIDX): Likewise.
5164 * elf/do-rel.h (VERSYMIDX): Likewise.
5165 (VALIDX): Likewise.
5166 * elf/dynamic-link.h (VERSYMIDX): Likewise.
5167 * elf/rtld.c (VALIDX): Likewise.
5168 (ADDRIDX): Likewise.
9bac1d86
L
5169 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
5170 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
5171 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
5172 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
5173 (VALIDX): Likewise.
5174 (ADDRIDX): Likewise.
9bac1d86 5175
b31606c0
PT
51762012-09-28 Pino Toscano <toscano.pino@tiscali.it>
5177
5178 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
5179
11541177
JL
51802012-09-28 Dmitry V. Levin <ldv@altlinux.org>
5181
5182 [BZ #11438]
5183 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
5184 to global scope.
5185 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
5186 addresses are in the same scope as 192.0.2/24.
5187 * posix/gai.conf: Document new scope table defaults.
5188
adb26fae
SP
51892012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5190
5191 [BZ #5298]
5192 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
5193 for ftell. Compute offsets from write pointers instead.
5194 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
5195
4573c6b0
SP
51962012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5197
5198 [BZ #14543]
5199 * libio/Makefile (tests): New test case tst-fseek.
5200 * libio/tst-fseek.c: New test case to verify that fseek/ftell
5201 combination works in wide mode.
5202 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
5203 state when the external buffer state changes.
5204
aa9bbfe6
DM
52052012-09-27 David S. Miller <davem@davemloft.net>
5206
5207 [BZ #14376]
5208 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
5209 pass reloc->r_addend in as the 'high' argument to
5210 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
5211
784421e7
DM
5212 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5213
c39bc8b8
PT
52142012-09-28 Pino Toscano <toscano.pino@tiscali.it>
5215
5216 * rt/tst-aio2.c: Include <pthread.h>.
5217 * rt/tst-aio3.c: Likewise.
5218
1ccc2399
SE
52192012-09-27 Steve Ellcey <sellcey@mips.com>
5220
5221 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
5222
31ed4153
L
52232012-09-27 H.J. Lu <hongjiu.lu@intel.com>
5224
25f5f885
L
5225 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
5226 contents on [SHARED].
31ed4153 5227
b7bfe116
MP
52282012-09-26 Marek Polacek <polacek@redhat.com>
5229
5230 [BZ #14530]
5231 [BZ #13741]
5232 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
5233 for C++ and GCC <4.3 as well as for non GCC compilers.
5234
43c4edba
MT
52352012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
5236
5237 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5238
6a1bf82f
RM
52392012-09-25 Roland McGrath <roland@hack.frob.com>
5240
5241 * Makefile.in (all, install): Declare with .PHONY.
5242 Reported by Michael Hope <michael.hope@linaro.org>.
5243
8ad11b9a
TMQMF
52442012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5245
5246 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
5247 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
5248 system header.
5249 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
5250 Likewise.
5251 (sydep_routines): Add the new and the internal functions.
5252 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
5253 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
5254 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
5255 (GLIBC_2.17): Add the new function.
5256 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
5257 (GLIBC_2.17): Likewise.
5258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
5259 (GLIBC_2.17): Likewise.
5260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
5261 (GLIBC_2.17): Likewise.
5262 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
5263
7e2fca8d
AM
52642012-09-25 Alan Modra <amodra@gmail.com>
5265
5266 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
5267 Add release barrier before setting once_control to say
5268 initialisation is done. Add hints on lwarx. Use macro in
5269 place of isync.
5270 (clear_once_control): Add release barrier.
5271
b87c4b24
JM
52722012-09-25 Joseph Myers <joseph@codesourcery.com>
5273
d032e0d2
JM
5274 [BZ #13629]
5275 * math/s_clog.c (__clog): Handle more values close to |z| = 1
5276 specially.
5277 * math/s_clog10.c (__clog10): Likewise.
5278 * math/s_clog10f.c (__clog10f): Likewise.
5279 * math/s_clog10l.c (__clog10l): Likewise.
5280 * math/s_clogf.c (__clogf): Likewise.
5281 * math/s_clogl.c (__clogl): Likewise.
5282 * math/Makefile (libm-calls): Add x2y2m1.
5283 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
5284 (__x2y2m1): Likewise.
5285 (__x2y2m1l): Likewise.
5286 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
5287 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
5288 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
5289 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
5290 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
5291 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
5292 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
5293 * sysdeps/i386/fpu/libm-test-ulps: Update.
5294 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5295
b87c4b24
JM
5296 [BZ #14621]
5297 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
5298 int as type of variable DEPTH.
5299 (glob): Use size_t instead of int as type of variables NEWCOUNT
5300 and OLD_PATHC.
5301
6d3bf199
LD
53022012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5303
22bf5c17
LD
5304 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
5305 Add s_sincosf-sse2.
5306 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
5307 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
5308 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
5309 macros for using routine as __sincosf_ia32.
5310 Use macro for function declaration and weak_alias.
5311 * sysdeps/i386/fpu/libm-test-ulps: Update.
5312
5313 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
5314 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5315
5316 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
5317 subnormal argument.
5318 * math/s_cexpf.c (__cexpf): Likewise.
5319 * math/s_csinf.c (__csinf): Likewise.
5320 * math/s_csinhf.c (__csinhf): Likewise.
5321 * math/s_ctanf.c (__ctanf): Likewise.
5322 * math/s_ctanhf.c (__ctanhf): Likewise.
5323 * math/s_ccosh.c (__ccoshf): Likewise.
5324 * math/s_cexp.c (__cexpl): Likewise.
5325 * math/s_csin.c (__csin): Likewise.
5326 * math/s_csinh.c (__csinh): Likewise.
5327 * math/s_ctan.c (__ctan): Likewise.
5328 * math/s_ctanh.c (ctanh): Likewise.
5329 * math/s_ccoshl.c (__ccoshl): Likewise.
5330 * math/s_cexpl.c (__cexpl): Likewise.
5331 * math/s_csinl.c (__csinl): Likewise.
5332 * math/s_csinhl.c (__csinhl): Likewise.
5333 * math/s_ctanl.c (__ctanl): Likewise.
5334 * math/s_ctanhl.c (__ctanhl): Likewise.
5335
203e5603
JM
53362012-09-25 Joseph Myers <joseph@codesourcery.com>
5337
5338 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
5339 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
5340 (_IO_off_t): Define to __off_t, not _G_off_t.
5341 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
5342 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
5343 (_IO_wint_t): Define to wint_t, not _G_wint_t.
5344 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
5345 type of __dummy and __dummy2 fields.
5346 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
5347 (_G_ssize_t): Likewise.
5348 (_G_off_t): Likewise.
5349 (_G_pid_t): Likewise.
5350 (_G_uid_t): Likewise.
5351 (_G_wchar_t): Likewise.
5352 (_G_wint_t): Likewise.
5353 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
5354 (_G_ssize_t): Likewise.
5355 (_G_off_t): Likewise.
5356 (_G_pid_t): Likewise.
5357 (_G_uid_t): Likewise.
5358 (_G_wchar_t): Likewise.
5359 (_G_wint_t): Likewise.
5360 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
5361 (_G_ssize_t): Likewise.
5362 (_G_off_t): Likewise.
5363 (_G_pid_t): Likewise.
5364 (_G_uid_t): Likewise.
5365 (_G_wchar_t): Likewise.
5366 (_G_wint_t): Likewise.
5367
9fab36eb
SP
53682012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
5369
5370 * malloc/arena.c: Include malloc-sysdep.h.
5371 (shrink_heap): Use check_may_shrink_heap to decide if madvise
5372 is sufficient to shrink the heap or an unmap is needed.
5373 * sysdeps/generic/malloc-sysdep.h: New file. Define
5374 new function check_may_shrink_heap.
5375 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
5376 new function check_may_shrink_heap.
5377
2b4f00d1
SP
53782012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
5379
5380 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
5381 comments.
5382
9a9028b1
DL
53832012-09-24 Dmitry V. Levin <ldv@altlinux.org>
5384
57c69bef
DL
5385 * catgets/test-gencat.sh: Add "set -e".
5386 * elf/tst-pathopt.sh: Likewise.
5387 * grp/tst_fgetgrent.sh: Likewise.
5388 * iconvdata/run-iconv-test.sh: Likewise.
5389 * intl/tst-gettext.sh: Likewise.
5390 * intl/tst-gettext2.sh: Likewise.
5391 * intl/tst-gettext4.sh: Likewise.
5392 * intl/tst-gettext6.sh: Likewise.
5393 * intl/tst-translit.sh: Likewise.
5394 * io/ftwtest-sh: Likewise.
5395 * libio/test-freopen.sh: Likewise.
5396 * malloc/tst-mtrace.sh: Likewise.
5397 * posix/globtest.sh: Likewise.
5398 * posix/tst-getconf.sh: Likewise.
5399 * posix/wordexp-tst.sh: Likewise.
5400 * stdio-common/tst-printf.sh: Likewise.
5401 * stdio-common/tst-unbputc.sh: Likewise.
5402 * stdlib/tst-fmtmsg.sh: Likewise.
5403 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
5404 * catgets/Makefile: Do not specify -e option when running
5405 testsuite shell scripts.
5406 * elf/Makefile: Likewise.
5407 * grp/Makefile: Likewise.
5408 * iconvdata/Makefile: Likewise.
5409 * intl/Makefile: Likewise.
5410 * io/Makefile: Likewise.
5411 * libio/Makefile: Likewise.
5412 * malloc/Makefile: Likewise.
5413 * posix/Makefile: Likewise.
5414 * stdio-common/Makefile: Likewise.
5415 * stdlib/Makefile: Likewise.
5416 * sysdeps/x86_64/Makefile: Likewise.
5417
9a9028b1
DL
5418 * io/ftwtest-sh: Add copyright header.
5419 * posix/globtest.sh: Likewise.
5420 * posix/tst-getconf.sh: Likewise.
5421 * posix/wordexp-tst.sh: Likewise.
5422 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
5423
ced6f16e
L
54242012-09-24 H.J. Lu <hongjiu.lu@intel.com>
5425
94b32c39
L
5426 [BZ #13679]
5427 * Makeconfig (+link): Defined as $(+link-static) if
5428 $(build-shared) isn't yes.
5429 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
5430 isn't yes.
5431 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
5432
189e935b
L
5433 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
5434
ced6f16e
L
5435 [BZ #14562]
5436 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
5437 new chunk size with MALLOC_ALIGN_MASK.
5438
a9f8e53a
JM
54392012-09-24 Joseph Myers <joseph@codesourcery.com>
5440
5441 [BZ #5044]
5442 * stdio-common/printf_fphex.c: Include <stdbool.h> and
5443 <rounding-mode.h>.
5444 (__printf_fphex): Determine rounding using get_rounding_mode and
5445 round_away.
5446 * stdio-common/tst-printf-round.c (struct hex_test): New
5447 structure.
5448 (hex_tests): New variable.
5449 (test_hex_in_one_mode): New function.
5450 (do_test): Also run tests for hex float output.
5451
43153109
JM
54522012-09-21 Joseph Myers <joseph@codesourcery.com>
5453
5454 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
5455 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
5456 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
5457 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
5458 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
5459 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
5460 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
5461 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
5462
8a26625d
JM
54632012-09-20 Joseph Myers <joseph@codesourcery.com>
5464
5465 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
5466 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
5467 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
5468 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
5469
f3fd569c
DL
54702012-09-19 Dmitry V. Levin <ldv@altlinux.org>
5471
5472 [BZ #14579]
5473 * elf/rtld.c (dl_main): Limit the check for self loading to normal
5474 mode only.
5475 * elf/tst-rtld-load-self.sh: New test.
5476 * elf/Makefile: Run it.
5477
63bbedd4
JM
54782012-09-18 Joseph Myers <joseph@codesourcery.com>
5479
5480 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
5481 (tst-writev-ENV): Remove.
5482 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
5483
626f8b6a
CM
54842012-09-17 Chris Metcalf <cmetcalf@tilera.com>
5485
5486 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
5487
b7aaa4d6
JM
54882012-09-17 Joseph Myers <joseph@codesourcery.com>
5489
5490 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
5491 unconditional.
5492 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
5493 Likewise.
5494 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
5495 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
5496 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
5497 Likewise.
5498
65513990
L
54992012-09-14 H.J. Lu <hongjiu.lu@intel.com>
5500
5501 [BZ #14587]
5502 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
5503 * config.make.in (have-cpp-asm-debuginfo): Removed.
5504 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
5505 * configure: Regenerated.
5506
784761be
JM
55072012-09-14 Joseph Myers <joseph@codesourcery.com>
5508
5509 [BZ #5044]
5510 * stdio-common/printf_fp.c: Include <stdbool.h> and
5511 <rounding-mode.h>.
5512 (___printf_fp): Determine rounding using get_rounding_mode and
5513 round_away.
5514 * stdio-common/tst-printf-round.c: New file.
5515 * stdio-common/Makefile (tests): Add tst-printf-round.
5516 (link-libm): New variable.
5517 ($(objpfx)tst-printf-round): Depend in $(link-libm).
5518
9503345f
L
55192012-09-13 H.J. Lu <hongjiu.lu@intel.com>
5520
5521 [BZ #14576]
5522 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
5523 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
5524 Likewise.
5525 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
5526 Likewise.
5527
ad35fc00
JM
55282012-09-13 Joseph Myers <joseph@codesourcery.com>
5529
5530 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
5531 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
5532 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
5533 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
5534
6c9b0f68
JM
55352012-09-12 Joseph Myers <joseph@codesourcery.com>
5536
5537 [BZ #14518]
5538 * include/rounding-mode.h: New file.
5539 * sysdeps/generic/get-rounding-mode.h: Likewise.
5540 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
5541 * stdlib/strtod_l.c: Include <rounding-mode.h>.
5542 (MAX_VALUE): New macro.
5543 (MIN_VALUE): Likewise.
5544 (overflow_value): New function.
5545 (underflow_value): Likewise.
5546 (round_and_return): Use overflow_value and underflow_value to
5547 determine return values in overflow and underflow cases. Use
5548 round_away to determine rounding depending on rounding mode.
5549 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
5550 determine return values in overflow and underflow cases.
5551 * stdlib/tst-strtod-round.c: Include <fenv.h>.
5552 (struct test_results): New structure.
5553 (struct test): Use struct test_results to store expected results
5554 for all rounding modes.
5555 (TEST): Include expected results for all rounding modes.
5556 (test_in_one_mode): New function.
5557 (do_test): Use test_in_one_mode to compute and check results.
5558 Check results for all rounding modes.
5559 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
5560 $(link-libm).
5561
19fcedd5
AM
55622012-12-09 Allan McRae <allan@archlinux.org>
5563
1e9d84cd 5564 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 5565
8bbfd2f1
JM
55662012-09-11 Joseph Myers <joseph@codesourcery.com>
5567
5568 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
5569 (_G_int32_t): Likewise.
5570 (_G_uint16_t): Likewise.
5571 (_G_uint32_t): Likewise.
5572 (_G_HAVE_BOOL): Likewise.
5573 (_G_HAVE_ATEXIT): Likewise.
5574 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
5575 (_G_HAVE_IO_FILE_OPEN): Likewise.
5576 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
5577 (_G_int32_t): Likewise.
5578 (_G_uint16_t): Likewise.
5579 (_G_uint32_t): Likewise.
5580 (_G_HAVE_BOOL): Likewise.
5581 (_G_HAVE_ATEXIT): Likewise.
5582 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
5583 (_G_HAVE_IO_FILE_OPEN): Likewise.
5584 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
5585 (_G_int32_t): Likewise.
5586 (_G_uint16_t): Likewise.
5587 (_G_uint32_t): Likewise.
5588 (_G_HAVE_BOOL): Likewise.
5589 (_G_HAVE_ATEXIT): Likewise.
5590 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
5591 (_G_HAVE_IO_FILE_OPEN): Likewise.
5592
b1dc5912
L
55932012-09-11 H.J. Lu <hongjiu.lu@intel.com>
5594
5595 * csu/libc-tls.c: Update copyright years.
5596
0e886ef9
JM
55972012-09-10 Joseph Myers <joseph@codesourcery.com>
5598
28361c5e
JM
5599 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
5600 [!_G_USING_THUNKS]: Remove conditional code.
5601 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
5602 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
5603
0e886ef9
JM
5604 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
5605 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
5606 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
5607 (_G_VTABLE_LABEL_PREFIX): Likewise.
5608 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
5609 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
5610 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
5611 (_G_VTABLE_LABEL_PREFIX): Likewise.
5612 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
5613 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
5614 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
5615 (_G_VTABLE_LABEL_PREFIX): Likewise.
5616 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
5617
bcba7aa2
L
56182012-09-10 H.J. Lu <hongjiu.lu@intel.com>
5619
5620 * libio/Makefile: Include ../Makeconfig before tests.
5621 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
5622 only if $(build-shared) is yes.
5623
06585ee8
L
5624 * iconv/gconv_db.c: Update copyright years.
5625
80ccd52c
LD
56262012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5627
5628 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
5629 unwind info if defined PIC. Fix special cases description.
5630 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
5631
5632 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
5633 DP_HI_MASK entry.
5634 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
5635
691bc9c1
L
56362012-09-07 H.J. Lu <hongjiu.lu@intel.com>
5637
3d9b46b3
L
5638 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
5639
de2139a9
L
5640 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
5641 is NULL.
5642
5ca78dd0
L
5643 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
5644 (LDLIBS-tst-chk4): This.
5645 (LDFLAGS-tst-chk5): Renamed to ...
5646 (LDLIBS-tst-chk5): This.
5647 (LDFLAGS-tst-chk6): Renamed to ...
5648 (LDLIBS-tst-chk6): This.
5649 (LDFLAGS-tst-lfschk4): Renamed to ...
5650 (LDLIBS-tst-lfschk4): This.
5651 (LDFLAGS-tst-lfschk5): Renamed to ...
5652 (LDLIBS-tst-lfschk5): This.
5653 (LDFLAGS-tst-lfschk6): Renamed to ...
5654 (LDLIBS-tst-lfschk6): This.
5655
691bc9c1
L
5656 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
5657 on $(common-objpfx)soversions.mk.
5658
65cafb1c
JM
56592012-09-07 Joseph Myers <joseph@codesourcery.com>
5660
5661 [BZ #10014]
5662 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
5663 example host name.
5664
c78ab094
SP
56652012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
5666
5667 * malloc/arena.c (arena_get_retry): New function that gets
5668 another arena for the caller to try its request on.
5669 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
5670 current arena cannot fulfill the request.
5671 (__libc_memalign): Likewise.
5672 (__libc_memalign): Likewise.
5673 (__libc_pvalloc): Likewise.
5674 (__libc_calloc): Likewise.
5675
01f49f59
JT
56762012-09-05 John Tobey <john.tobey@gmail.com>
5677
5678 [BZ #13542]
5679 * manual/arith.texi (Operations on Complex): Fix description
5680 of carg branch cut.
5681
4c23fed5
JM
56822012-09-06 Joseph Myers <joseph@codesourcery.com>
5683
1d3c8572
JM
5684 [BZ #10014]
5685 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
5686 host name.
5687
4c23fed5
JM
5688 [BZ #10038]
5689 * manual/memory.texi (Memory): Make order of menu items match
5690 order of sections.
5691
04570aaa
L
56922012-09-06 H.J. Lu <hongjiu.lu@intel.com>
5693
5694 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
5695 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
5696 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
5697
b80af2f4
L
56982012-09-06 H.J. Lu <hongjiu.lu@intel.com>
5699
5700 * csu/libc-tls.c (static_dtv): Renamed to ...
5701 (_dl_static_dtv): This. Make it global.
5702 (_dl_initial_dtv): Removed.
5703 (__libc_setup_tls): Updated.
5704 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
5705 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
5706 DL_INITIAL_DTV.
5707
2abe9f15
PM
57082012-09-06 Petr Machata <pmachata@redhat.com>
5709
5710 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
5711 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
5712 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
5713 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
5714
0948c3af
L
57152012-09-06 H.J. Lu <hongjiu.lu@intel.com>
5716
5717 [BZ #14545]
5718 * csu/libc-tls.c (_dl_initial_dtv): New variable.
5719 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
5720 freeing dtv[-1].
5721
a5055ad1
L
57222012-09-06 H.J. Lu <hongjiu.lu@intel.com>
5723
5724 [BZ #14544]
5725 * Makeconfig (link-static-before-libc): Replace $(+prector)
5726 with $(+prectorT).
5727 (link-static-after-libc): Replace $(+postctor) with
5728 $(+postctorT).
5729 (link-bounded): Replace $(+prector)/$(+postctor) with
5730 $(+prectorT)/$(+postctorT).
5731 (+prectorT): New macro.
5732 (+postctorT): Likewise.
5733
ed8c2ecd
JM
57342012-09-06 Joseph Myers <joseph@codesourcery.com>
5735
5736 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
5737 (round_str): Handle values above the maximum for IBM long double
5738 as inexact.
5739 * stdlib/tst-strtod-round.c (tests): Regenerated.
5740
14c996c8
AK
57412012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5742
5743 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
5744 assembler flag.
5745 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
5746 zarch_nohighgprs around the zarch optimized routines.
5747 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
5748 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
5749 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
5750 for zarch.
5751
430d6ce6
DM
57522012-09-05 David S. Miller <davem@davemloft.net>
5753
5754 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5755
ff04dda4
DM
5756 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
5757 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
5758 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
5759 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
5760 entries.
5761
24d4e01b
AO
57622012-09-05 Alexandre Oliva <aoliva@redhat.com>
5763
5764 * malloc/arena.c: Fold copyright years.
5765 * malloc/mcheck.c, malloc/memusage.c: Likewise.
5766
61d58174
AO
57672012-09-05 Alexandre Oliva <aoliva@redhat.com>
5768
5769 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
5770
20196a5e
AO
57712012-09-05 Alexandre Oliva <aoliva@redhat.com>
5772
5773 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
5774
5c447383
AO
57752012-09-05 Alexandre Oliva <aoliva@redhat.com>
5776
5777 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
5778 change internal state upon failure.
5779
fad64255
AO
57802012-09-05 Alexandre Oliva <aoliva@redhat.com>
5781
5782 * malloc/mcheck.c (mcheck_check_all): Fix typo.
5783 * malloc/memusage.c (mmap): Likewise.
5784 (mmap64, mremap): Likewise. Adjust name in comment.
5785
1ffb8c90
SP
57862012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
5787
5788 * libio/fileops.c: Fix typos in comments.
5789 * libio/oldfileops.c: Likewise.
5790 * libio/wfileops.c: Likewise.
5791
6ef9cc37
SP
57922012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
5793
5794 [BZ #1349]
5795 * malloc/Makefile (tests): Add tst-malloc-usable test case.
5796 (tst-malloc-usable-ENV): Set environment for test case.
5797 * malloc/hooks.c (malloc_check_get_size): New function to get
5798 requested size.
5799 * malloc/malloc.c (musable): Use malloc_check_get_size.
5800 * malloc/tst-malloc-usable.c: New test case.
5801
4d038ae3
AS
58022012-09-05 Andreas Schwab <schwab@linux-m68k.org>
5803
5804 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
5805
c4e85184
AM
58062012-09-05 Allan McRae <allan@archlinux.org>
5807
b9dafc56 5808 [BZ #13966]
c4e85184
AM
5809 * configure.in (CXX_SYSINCLUDES): Use compiler output to
5810 determine header location.
5811 * configure: Regenerated.
5812
e1343020
AS
58132012-09-05 Andreas Schwab <schwab@linux-m68k.org>
5814
5815 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
5816 float format.
5817 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
5818 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
5819 format.
e1343020
AS
5820 (test): Regenerate.
5821
0a9f1987
DM
58222012-09-04 David S. Miller <davem@davemloft.net>
5823
5824 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
5825 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
5826 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
5827
29237804
FW
58282012-09-04 Florian Weimer <fweimer@redhat.com>
5829
5830 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
5831 failures.
5832
edb3cb88
FW
5833 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
5834
60160d83
JM
58352012-09-04 Joseph Myers <joseph@codesourcery.com>
5836
5837 [BZ #9914]
5838 * libio/iogetdelim.c: Include <limits.h>.
5839 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
5840 + len + 1 would overflow.
5841
bcd6c8dc
AJ
58422012-09-03 Andreas Jaeger <aj@suse.de>
5843
5844 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5845 * sysdeps/i386/fpu/libm-test-ulps: Update.
5846
4ffffbd2
LD
58472012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5848
5849 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
5850 Add s_sinf-sse2, s_conf-sse2.
5851
5852 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
5853 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
5854 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
5855 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
5856
5857 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
5858 for using routine as __sinf_ia32.
5859 Use macro for function declaration and weak_alias.
5860 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
5861 for using routine as __cosf_ia32.
5862 Use macro for function declaration and weak_alias.
5863
5864 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
5865 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
5866
5867 * sysdeps/x86_64/fpu/s_sinf.S: New file.
5868 * sysdeps/x86_64/fpu/s_cosf.S: New file.
5869 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5870
5871 * math/libm-test.inc (cos_test): Add more test cases.
5872 (sin_test): Likewise.
5873 (sincos_test): Likewise.
5874
511fa286
AK
58752012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5876
5877 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
5878 (IFUNC_RESOLVE): Make pointers to the specialized implementations
5879 hidden.
5880 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
5881
5f30cfec
L
58822012-09-02 H.J. Lu <hongjiu.lu@intel.com>
5883
5884 [BZ #14538]
5885 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
5886 first element of the GOT.
5887 (elf_machine_load_address): Return the difference between
5888 the runtime address of _DYNAMIC and elf_machine_dynamic ().
5889
0786794f
AM
58902012-09-01 Allan McRae <allan@archlinux.org>
5891
5f30cfec
L
5892 [BZ #13412]
5893 * configure.in (AWK): Require gawk version 3.0 or later.
5894 * configure: Regenerated.
0786794f 5895
26889eac
JM
58962012-09-01 Joseph Myers <joseph@codesourcery.com>
5897
5898 * sysdeps/unix/sysv/linux/kernel-features.h
5899 (__ASSUME_POSIX_CPU_TIMERS): Remove.
5900 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
5901 [__NR_clock_getres]: Make code unconditional.
5902 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
5903 (clock_getcpuclockid): Remove code left unreachable by removal of
5904 conditionals.
5905 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
5906 code unconditional.
5907 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
5908 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
5909 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
5910 Make code unconditional.
5911 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
5912 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
5913 * sysdeps/unix/sysv/linux/clock_settime.c
5914 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
5915 conditional code.
5916 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
5917 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
5918
d22e28b0
L
59192012-08-29 H.J. Lu <hongjiu.lu@intel.com>
5920
5921 [BZ #14476]
5922 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
5923 scripts/test-installation.pl.
5924
5925 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
5926 and $ld_so_version if it is set.
5927
050af9c4
SP
59282012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
5929
5930 [BZ #14516]
5931 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
5932 failure if reading from procfs failed.
5933 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
5934
ad845c0b
JM
59352012-08-27 Joseph Myers <joseph@codesourcery.com>
5936
5937 * sysdeps/unix/sysv/linux/kernel-features.h
5938 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
5939 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
5940 Remove conditional code.
5941 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5942 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
5943 Remove conditional code.
5944 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5945 * sysdeps/unix/sysv/linux/i386/fxstat.c
5946 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
5947 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5948 * sysdeps/unix/sysv/linux/i386/fxstatat.c
5949 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
5950 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5951 * sysdeps/unix/sysv/linux/i386/lxstat.c
5952 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
5953 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5954 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
5955 Remove conditional code.
5956 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5957 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
5958 Remove conditional code.
5959 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5960 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
5961 <kernel-features.h>.
5962 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
5963 Remove.
5964 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
5965 Remove conditional code.
5966 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5967 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
5968 Remove conditional.
5969
5dbf56af
MF
59702012-08-27 Mike Frysinger <vapier@gentoo.org>
5971
5972 [BZ #5400]
5973 * NEWS: Add fixed bug number.
5974
d6e70f43
JM
59752012-08-27 Joseph Myers <joseph@codesourcery.com>
5976
7efb4737
JM
5977 [BZ #14519]
5978 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
5979 underflowing exponent in case of negative sign.
5980 * stdlib/tst-strtod-round-data: Add more tests.
5981 * stdlib/tst-strtod-round.c (tests): Regenerated.
5982
af92131a
JM
5983 [BZ #3479]
5984 * stdlib/strtod_l.c (NDIG): Remove.
5985 (HEXNDIG): Likewise.
5986 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
5987 smallest representable value.
5988 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
5989 lie within an exact representation of 1/2 ulp of the result.
5990 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
5991 unconditionally.
5992 (TENS_P9_IDX): Define unconditionally.
5993 (TENS_P9_SIZE): Likewise.
5994 (TENS_P10_IDX): Likewise.
5995 (TENS_P10_SIZE): Likewise.
5996 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
5997 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
5998 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
5999 entries for 10^2^13 and 10^2^14.
6000 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
6001 (TENS_P13_IDX): Define.
6002 (TENS_P13_SIZE): Likewise.
6003 (TENS_P14_IDX): Likewise.
6004 (TENS_P14_SIZE): Likewise.
6005 (_fpioconst_pow10): Change array size to
6006 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
6007 unconditional.
6008 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
6009 1024]: Add entries for 10^2^13 and 10^2^14.
6010 [LAST_POW10 > _LAST_POW10]: Remove #error.
6011 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
6012 (_fpioconst_pow10): Change array size to
6013 FPIOCONST_POW10_ARRAY_SIZE.
6014 * stdlib/gen-fpioconst.c: New file.
6015 * stdlib/gen-tst-strtod-round.c: Likewise.
6016 * stdlib/tst-strtod-round-data: Likewise.
6017 * stdlib/tst-strtod-round.c: Likewise.
6018 * stdlib/Makefile (tests): Add tst-strtod-round.
6019
d6e70f43
JM
6020 [BZ #14459]
6021 * stdlib/strtod_l.c: Include <stdint.h>.
6022 (NDEBUG): Do not define.
6023 (round_and_return): Change EXPONENT parameter to type intmax_t.
6024 Rearrange calculations to avoid internal overflow possibilities.
6025 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
6026 Rearrange calculations to avoid internal overflow possibilities.
6027 Assert that number fits inside MPNSIZE limbs.
6028 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
6029 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
6030 calculations and add assertions to avoid internal overflow
6031 possibilities. Add casts to avoid signed/unsigned operations.
6032 * stdlib/tst-strtod-overflow.c: New file.
6033 * stdlib/Makefile (tests): Add tst-strtod-overflow.
6034
1f529f7d
MP
60352012-08-25 Marek Polacek <polacek@redhat.com>
6036
6037 * time/time.h: Fix some typos in comments.
6038
59a629f1
RM
60392012-08-23 Roland McGrath <roland@hack.frob.com>
6040
6041 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
6042 * posix/tst-rfc3484-2.c: Likewise.
6043 * posix/tst-rfc3484-3.c: Likewise.
6044
d3bafbc9
SM
60452012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
6046
6047 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
6048 (EF_ARM_ABI_FLOAT_HARD): Likewise.
6049
4efcc022
JM
60502012-08-23 Joseph Myers <joseph@codesourcery.com>
6051
6052 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
6053 #include of fxstatat64.c.
6054
3cc3ef96
RM
60552012-08-22 Roland McGrath <roland@hack.frob.com>
6056
f04e2132
RM
6057 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
6058 * shadow/getspent_r.c: Likewise.
6059 * shadow/getspnam.c: Likewise.
6060 * shadow/getspnam_r.c: Likewise.
6061 * gshadow/getsgent.c: Likewise.
6062 * gshadow/getsgent_r.c: Likewise.
6063 * gshadow/getsgnam.c: Likewise.
6064 * gshadow/getsgnam_r.c: Likewise.
6065 * inet/getnetbyad.c: Likewise.
6066 * inet/getnetbyad_r.c: Likewise.
6067 * inet/getnetbynm.c: Likewise.
6068 * inet/getnetbynm_r.c: Likewise.
6069 * inet/getnetent.c: Likewise.
6070 * inet/getnetent_r.c: Likewise.
6071 * inet/getproto.c: Likewise.
6072 * inet/getproto_r.c: Likewise.
6073 * inet/getprtent.c: Likewise.
6074 * inet/getprtent_r.c: Likewise.
6075 * inet/getprtname.c: Likewise.
6076 * inet/getprtname_r.c: Likewise.
6077 * inet/getrpcbyname.c: Likewise.
6078 * inet/getrpcbyname_r.c: Likewise.
6079 * inet/getrpcbynumber.c: Likewise.
6080 * inet/getrpcbynumber_r.c: Likewise.
6081 * inet/getrpcent.c: Likewise.
6082 * inet/getrpcent_r.c: Likewise.
6083 * inet/getaliasent.c: Likewise.
6084 * inet/getaliasent_r.c: Likewise.
6085 * inet/getaliasname.c: Likewise.
6086 * inet/getaliasname_r.c: Likewise.
6087 * nscd/getgrgid_r.c: Likewise.
6088 * nscd/getgrnam_r.c: Likewise.
6089 * nscd/gethstbyad_r.c: Likewise.
6090 * nscd/gethstbynm3_r.c: Likewise.
6091 * nscd/getpwnam_r.c: Likewise.
6092 * nscd/getpwuid_r.c: Likewise.
6093 * nscd/getsrvbynm_r.c: Likewise.
6094 * nscd/getsrvbypt_r.c: Likewise.
6095 * nscd/gai.c: Likewise.
6096
c53d909c
RM
6097 * configure.in (build_nscd): New substituted variable, set
6098 by --disable-build-nscd and defaults to $use_nscd.
6099 * configure: Regenerated.
6100 * config.make.in (build-nscd): New substituted variable.
6101 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
6102 Change conditional to require [$(build-nscd) = yes] as well.
6103 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
6104
3cc3ef96
RM
6105 [BZ# 13696]
6106 * configure.in (use_nscd): New substituted variable, set by
6107 --disable-nscd. If enabled, define USE_NSCD.
6108 * configure: Regenerated.
6109 * config.h.in: Add USE_NSCD.
6110 * config.make.in (use-nscd): New substituted variable.
6111 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
6112 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
6113 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
6114 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
6115 (CFLAGS-getgrnam_r.c): Likewise.
6116 (CFLAGS-initgroups.c): Likewise.
6117 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
6118 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
6119 Variables removed.
6120 * inet/getnetgrent_r.c
6121 (nscd_setnetgrent): New function, broken out of ...
6122 (setnetgrent): ... here. Call it.
6123 (innetgr): Conditionalize nscd bits on [USE_NSCD].
6124 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
6125 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
6126 * nscd/Makefile (routines, aux): Move definitions after include of
6127 Makeconfig. Conditionalize on [$(use-nscd) != no].
6128 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
6129 Conditionalize on [USE_NSCD].
6130 (is_nscd, nscd_init_cb): Likewise.
6131 (nss_load_library): Conditionalize init callback on [USE_NSCD].
6132 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
6133 * nss/nss_db/db-init.c: Likewise.
6134 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
6135 [USE_NSCD].
6136 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
6137 (make_request): Use it.
6138 (cache_valid_p): New function.
6139 (__check_pf): Use it.
6140 * NEWS: Add item for --disable-nscd.
6141
07e51550
DL
61422012-08-22 Dmitry V. Levin <ldv@altlinux.org>
6143
6144 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
6145 to support sed >= 4.2.1-20-ga9bf076.
6146 * configure: Regenerated.
6147
35a5b08b
RM
61482012-08-22 Roland McGrath <roland@hack.frob.com>
6149
6150 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
6151 Conditionalize whole body on [IREL].
6152
8479f23a
JL
61532012-08-22 Jeff Law <law@redhat.com>
6154
6155 [BZ #14505]
6156 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
6157 if the family is PF_UNSPEC.
6158
48da0b21
MF
61592012-08-22 Mike Frysinger <vapier@gentoo.org>
6160
6161 * Makerules (lib-version): Rename from V.
6162 (install-lib-nosubdir): Change V to lib-version.
6163
15d0da8c
WS
61642012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
6165
6166 [BZ #14252]
6167 * powerpc32/power6/wcschr.c: New file.
6168 * powerpc32/power6/wcscpy.c: New file.
6169 * powerpc32/power6/wcsrchr.c: New file.
6170 * powerpc64/power6/wcschr.c: New file.
6171 * powerpc64/power6/wcscpy.c: New file.
6172 * powerpc64/power6/wcsrchr.c: New file.
6173
bcca0895
MK
61742012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
6175
6176 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
6177 (two_way_short_needle): Use it.
5a4aaa33
RM
6178 * string/strstr.c (AVAILABLE1_USES_J): Define.
6179 * string/strcasestr.c: Likewise.
99677e57
MK
6180
6181 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
6182 array references.
6183 * string/strcasestr.c (TOLOWER): Make side-effect safe.
6184
400726de
MK
6185 [BZ #11607]
6186 * NEWS: Add an entry.
6187 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
6188 define their defaults.
6189 (two_way_short_needle): Detect end-of-string on-the-fly.
6190 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
6191 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
6192 * string/bug-strcasestr1.c: New test.
6193 * string/Makefile: Run it.
6194
20a71f2c
MK
61952012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
6196
6197 [BZ #11607]
6198 * string/str-two-way.h (two_way_short_needle): Optimize matching of
6199 the first character.
6200
21ad0558
RM
62012012-08-21 Roland McGrath <roland@hack.frob.com>
6202
6203 * csu/elf-init.c (__libc_csu_irel): Function removed.
6204 * csu/libc-start.c (apply_irel): New function.
6205 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
6206
0e1d9911
JM
62072012-08-21 Joseph Myers <joseph@codesourcery.com>
6208
6209 * sysdeps/unix/sysv/linux/kernel-features.h
6210 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
6211 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
6212 <kernel-features.h>.
6213 [__NR_fadvise64_64]: Make code unconditional.
6214 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
6215 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
6216 !__NR_fadvise64_64)]: Likewise.
6217 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
6218 !__NR_fadvise64_64))]: Likewise.
6219 [__NR_fadvise64]: Make code unconditional.
6220 [!__NR_fadvise64]: Remove conditional code.
6221 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
6222 <kernel-features.h>.
6223 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
6224 unconditional.
6225 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
6226 conditional code.
6227 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
6228 not include <kernel-features.h>.
6229 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
6230 unconditional.
6231 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
6232 conditional code.
6233 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
6234 include <kernel-features.h>.
6235 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
6236 unconditional.
6237 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
6238 conditional code.
6239
14a50c9d
WS
62402012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
6241
6242 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
6243 slight instruction rearrangements per scrollpipe analysis.
6244 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
6245
c0f4faf0
RM
62462012-08-20 Roland McGrath <roland@hack.frob.com>
6247
696da859
RM
6248 * manual/syslog.texi (syslog; vsyslog, closelog):
6249 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
6250 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
6251
c0f4faf0
RM
6252 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
6253 DSOCAPS to match condition on defining it.
6254
348363b2
JM
62552012-08-20 Joseph Myers <joseph@codesourcery.com>
6256
a35cbf28
JM
6257 * sysdeps/unix/sysv/linux/kernel-features.h
6258 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
6259 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
6260 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
6261 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
6262 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
6263 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
6264 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
6265 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
6266 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
6267 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
6268
445f7ecd
JM
6269 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
6270 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
6271
348363b2
JM
6272 * sysdeps/unix/sysv/linux/kernel-features.h
6273 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
6274 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
6275 unconditional.
6276 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
6277 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
6278 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
6279 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
6280 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
6281 Make code unconditional.
6282 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
6283 (__mmap64) [!__NR_mmap2]: Likewise.
6284 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
6285 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
6286 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
6287 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
6288 [__NR_mmap2]: Make code unconditional.
6289 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
6290 (__mmap64) [!__NR_mmap2]: Likewise.
6291
bc5bc0e5
AK
62922012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6293
6294 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
6295
88d506de
AJ
62962012-08-18 Andreas Jaeger <aj@suse.de>
6297
6298 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
6299
493387d2
MF
63002012-08-18 Mike Frysinger <vapier@gentoo.org>
6301
6302 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
6303 * include/unistd.h (__have_sock_cloexec): Likewise.
6304 (__have_pipe2): Likewise.
6305 (__have_dup3): Likewise.
6306
a277af22
MF
63072012-08-18 Mike Frysinger <vapier@gentoo.org>
6308
6309 [BZ #9685]
6310 * include/unistd.h (__have_pipe2): Change define into an extern int.
6311 (__have_dup3): Likewise.
6312 * socket/have_sock_cloexec.c: Include fcntl.h.
6313 (__have_pipe2): New variable.
6314 (__have_dup3): Likewise.
6315
fdab8fd3
MF
63162012-08-17 Mike Frysinger <vapier@gentoo.org>
6317
6318 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
6319
31035e80
MP
63202012-08-17 Marek Polacek <polacek@redhat.com>
6321
6322 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
6323 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
6324
3bd9e993
RM
63252012-08-17 Roland McGrath <roland@hack.frob.com>
6326
c91c505f
RM
6327 * configure.in: Add AC_SUBST for sysheaders.
6328 * configure: Regenerated.
6329 * config.make.in (sysheaders): New substituted variable.
6330
7c6f9d53
RM
6331 * sysdeps/unix/mkfifo.c: Moved ...
6332 * sysdeps/posix/mkfifo.c: ... here.
6333 * sysdeps/unix/mkfifoat.c: Moved ...
6334 * sysdeps/posix/mkfifoat.c: ... here.
6335
6336 * sysdeps/unix/utime.c: Moved ...
6337 * sysdeps/posix/utime.c: ... here.
6338
6339 * sysdeps/unix/time.c: Moved ...
6340 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
6341 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
6342 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
6343
6344 * sysdeps/unix/nice.c: Moved ...
6345 * sysdeps/posix/nice.c: ... here.
6346
6347 * sysdeps/unix/alarm.c: Moved ...
6348 * sysdeps/posix/alarm.c: ... here.
6349
3bd9e993
RM
6350 * intl/Makefile ($(codeset_mo)): Depend on the input file.
6351
d1f09384
JL
63522012-08-17 Jeff Law <law@redhat.com>
6353
6354 * intl/Makefile (codeset_mo): New variable.
6355 ($(codeset_mo)): New target.
6356 (tst-codeset.out): Depend on that. Remove explicit rule.
6357 (tst-gettext3.out, tst-gettext5.out): Likewise.
6358 (LOCPATH-ENV, tst-codeset-ENV): New variables.
6359 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
6360 * intl/tst-codeset.sh: Remove.
6361 * intl/tst-gettext3.sh: Likewise.
6362 * intl/tst-gettext5.sh: Likewise.
6363
2ae1ae5c
RM
63642012-08-17 Roland McGrath <roland@hack.frob.com>
6365
c31fdb83
RM
6366 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
6367 * sysdeps/unix/syscalls.list: ... here.
6368
a0844057
RM
6369 * sysdeps/posix/getaddrinfo.c
6370 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
6371 (gaiconf_init, gaiconf_reload): Use them.
6372 [!_STATBUF_ST_NSEC]
6373 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
6374 Define using time_t rather than struct timespec.
6375
750c1f2a
RM
6376 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
6377 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
6378 Macros removed.
6379 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
6380 [!NO_THREADS].
6381 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
6382 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
6383 Likewise.
6384
2ae1ae5c
RM
6385 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
6386 __libc_cleanup_push argument.
6387
e66a42f5
RM
6388 * bits/param.h: New file.
6389 * misc/sys/param.h: New file.
6390 * include/sys/param.h: New file.
6391 * misc/Makefile (headers): Add bits/param.h.
6392 * sysdeps/generic/sys/param.h: File removed.
6393 * sysdeps/unix/sysv/linux/bits/param.h: New file.
6394 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
6395 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 6396 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 6397
b7c08a66
RM
6398 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
6399 last change.
6400
b2e1c562
RM
6401 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
6402 [_IO_MTSAFE_IO].
6403 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
6404 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
6405 New macros.
6406
c75ccd4c
RM
6407 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
6408 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
6409 rather than -D_IO_MTSAFE_IO conditionally.
6410 * stdio-common/Makefile (CPPFLAGS): Likewise.
6411 * wcsmbs/Makefile (CPPFLAGS): Likewise.
6412 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
6413 Use $(libio-mtsafe).
6414 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
6415 of -D_IO_MTSAFE_IO.
6416 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
6417 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
6418 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
6419 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
6420 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
6421 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
6422 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
6423 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
6424 (CFLAGS-fread_u_chk.c): Likewise.
6425 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
6426 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
6427 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
6428 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
6429 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
6430 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
6431 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
6432 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
6433 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
6434
6435 * libio/Makefile: Test [$(libc-reentrant) = yes]
6436 instead of [$(filter %REENTRANT, $(defines)) nonempty].
6437
6438 * Makeconfig
6439 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
6440 * sysdeps/pthread/configure: File removed.
6441 * sysdeps/pthread/Makeconfig: New file.
6442 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
6443 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
6444
d9195db8
GB
64452012-08-16 Gary Benson <gbenson@redhat.com>
6446
6447 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
6448 unmapping the first object in a namespace.
6449
86466cd9
RM
64502012-08-16 Roland McGrath <roland@hack.frob.com>
6451
6452 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
6453 (__internal_setnetgrent): ... this. Add internal_function to
6454 definition. Add libc_hidden_def.
6455 (setnetgrent): Update caller.
6456 (internal_endnetgrent): Renamed to ...
6457 (__internal_endnetgrent): ... this. Add internal_function to
6458 definition. Add libc_hidden_def.
6459 (endnetgrent): Update caller.
6460 (internal_getnetgrent_r): Renamed to ...
6461 (__internal_getnetgrent_r): ... this. Add internal_function to
6462 definition. Add libc_hidden_def.
6463 (__getnetgrent_r): Update caller.
6464 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
6465
c3c8283c
JM
64662012-08-16 Joseph Myers <joseph@codesourcery.com>
6467
6468 * stdlib/longlong.h: Update from GCC.
6469
db1ee0a8
RM
64702012-08-16 Roland McGrath <roland@hack.frob.com>
6471
6472 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
6473 on _QL, which is set by umul_ppmm but never used.
6474 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
6475 variables, which are set by GMP macros but never used.
6476 * stdio-common/_itowa.c (_itowa): Likewise.
6477 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
6478 * stdlib/mod_1.c (mpn_mod_1): Likewise.
6479
30f69637
CD
64802012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
6481
6482 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
6483 struct La_sh_regs is not constant.
6484 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
6485 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
6486 and struct La_sparc64_regs are not constant.
6487
93a78ac4
JM
64882012-08-16 Joseph Myers <joseph@codesourcery.com>
6489
6490 * sysdeps/unix/sysv/linux/kernel-features.h
6491 (__ASSUME_POSIX_TIMERS): Remove.
6492 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
6493 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
6494 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
6495 Make code unconditional.
6496 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
6497 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
6498 Make code unconditional.
6499 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
6500 * sysdeps/unix/sysv/linux/clock_nanosleep.c
6501 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
6502 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
6503 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
6504 Make code unconditional.
6505 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
6506 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
6507 (__libc_missing_posix_timers): Remove.
6508
dd924cd7
RM
65092012-08-15 Roland McGrath <roland@hack.frob.com>
6510
4b4f2771
RM
6511 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
6512 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
6513
601c888b
RM
6514 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
6515
176790a7
RM
6516 * elf/dl-sym.c: Include <stdlib.h>.
6517
329bc018
RM
6518 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
6519 constants, which avoids warnings in 32-bit builds.
6520
e04e272d
RM
6521 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
6522 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
6523
952bf94a
RM
6524 * misc/lseek.c: File moved to ...
6525 * io/lseek.c: ... here.
6526
7c99b50a
RM
6527 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
6528
dd924cd7
RM
6529 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
6530 shifting LEN more than 31 bits at once.
6531
b3f479a8
LD
65322012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6533
6534 [BZ #14195]
8c4ae0d4
RM
6535 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
6536 segmentation fault for a case of two empty input strings.
b3f479a8
LD
6537 * string/test-strncasecmp.c (check1): Renamed to...
6538 (bz12205): ...this.
6539 (bz14195): Add new testcase for two empty input strings and N > 0.
6540 (test_main): Call new testcase, adapt for renamed function.
6541
9c55864e
AJ
65422012-08-15 Andreas Jaeger <aj@suse.de>
6543
6544 [BZ #14090]
6545 * crypt/md5test2.c: New test, based on test supplied by Serge
6546 Belyshev <belyshev@depni.sinp.msu.ru>.
6547 * crypt/Makefile (xtests): Add md5test-giant..
6548 * crypt/Makefile ($(objpfx)md5test-giant): Add.
6549
02dcb6c5
PE
65502012-08-15 Paul Eggert <eggert@cs.ucla.edu>
6551
6552 [BZ #14090]
6553 * crypt/md5.c (md5_process_block): Don't assume the buffer
6554 length is less than 2**32.
6555 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
6556 length is less than 2**64.
6557
a3f95dcc
RM
65582012-08-15 Roland McGrath <roland@hack.frob.com>
6559
be75d758
RM
6560 * string/str-two-way.h: Include <sys/param.h>.
6561 (MAX): Macro removed.
6562
7312ca90
RM
6563 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
6564 Move #define and #undef of memmove to just before and after
6565 including <string.h>.
6566
9a0a5486
RM
6567 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
6568 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
6569 and after including <string.h>. Move declarations of
6570 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
6571 to before #include "string/memmove.c".
6572
67cc348d
RM
6573 * include/dirent.h: Declare __getdirentries.
6574
a3f95dcc
RM
6575 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
6576 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
6577
ca98e171
MF
65782012-08-14 Mike Frysinger <vapier@gentoo.org>
6579
6580 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
6581 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
6582 * sysdeps/i386/configure: Regenerated.
6583 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
6584 STABS_CURRENT_FILE, and STABS_FUN.
6585 (END): Remove call to STABS_FUN_END.
6586 (STABS_CURRENT_FILE1): Delete.
6587 (STABS_CURRENT_FILE): Likewise.
6588 (STABS_FUN): Likewise.
6589 (STABS_FUN_END): Likewise.
6590 (STABS_FUN2): Likewise.
6591 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
6592 * sysdeps/x86_64/configure: Regenerated.
6593
5908bf46
RM
65942012-08-14 Roland McGrath <roland@hack.frob.com>
6595
6596 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 6597 * elf/dl-lookup.c: Likewise.
5908bf46 6598
f2c05b9e
JM
65992012-08-14 Joseph Myers <joseph@codesourcery.com>
6600
6601 * sysdeps/unix/sysv/linux/kernel-features.h
6602 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
6603 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
6604 unconditionally.
6605 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
6606 unconditionally.
6607 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
6608 condition on __ASSUME_CLONE_THREAD_FLAGS.
6609
e11f5155
AJ
66102012-08-14 Andreas Jaeger <aj@suse.de>
6611
6612 * sysdeps/i386/fpu/libm-test-ulps: Update.
6613
51a9ba86
MK
66142012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
6615
2fdd4f78
AJ
6616 * include/atomic.h (atomic_exchange_and_add): Split into ...
6617 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
6618 New atomic macros.
51a9ba86 6619
ba6cba9e
MT
66202012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
6621
6622 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6623
42443a47
JL
66242012-08-13 Jeff Law <law@redhat.com>
6625
6626 * manual/stdio.texi (snprintf): Clarify handling of the trailing
6627 null byte in the output string.
6628
121dce05
JM
66292012-08-10 Joseph Myers <joseph@codesourcery.com>
6630
6631 * sysdeps/unix/sysv/linux/kernel-features.h
6632 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
6633 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
6634 (__ASSUME_ARG_MAX_STACK_BASED): Define.
6635 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
6636 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
6637 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
6638 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
6639
bf51f568
JL
66402012-08-09 Jeff Law <law@redhat.com>
6641
6642 [BZ #13939]
6643 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
6644 When avoid_arena is set, don't retry in the that arena. Pick the
6645 next one, whatever it might be.
6646 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
6647 (arena_lock): Pass in new parameter to arena_get2.
6648 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
6649 arena_get2.
6650 (__libc_malloc): Unify retrying after main arena failure with
6651 __libc_memalign version.
6652 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
6653
f85fa270
L
66542012-08-09 H.J. Lu <hongjiu.lu@intel.com>
6655
6656 [BZ #14166]
6657 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
6658 to __redirect_strstr.
6659 (__strstr_sse42): Use typeof __redirect_strstr.
6660 (__strstr_ia32): Likewise.
6661 (__libc_strstr): New prototype.
6662 (strstr): Renamed to ...
6663 (__libc_strstr): This.
6664 (strstr): New strong alias of __libc_strstr.
6665 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
6666 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
6667 __redirect_time.
6668 Include <time.h>.
6669 (__libc_time): New prototype.
6670 (time_ifunc): Replace time with __libc_time.
6671 (time): New strong alias and hidden definition of __libc_time.
6672 (__GI_time): Remove strong alias.
6673 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
6674 Include <stddef.h>.
6675 (memmove): Redefined to __redirect_memmove.
6676 (__memmove_sse2): Use typeof __redirect_memmove.
6677 (__memmove_ssse3): Likewise.
6678 (__memmove_ssse3_back): Likewise.
6679 (__libc_memmove): New prototype.
6680 (memmove): Renamed to ...
6681 (__libc_memmove): This.
6682 (memmove): New strong alias of __libc_memmove.
6683
33b4a91e
MS
66842012-08-08 Mark Salter <msalter@redhat.com>
6685
6686 * elf/elf.h
6687 (R_MN10300_TLS_GD): Define.
6688 (R_MN10300_TLS_LD): Likewise.
6689 (R_MN10300_TLS_LDO): Likewise.
6690 (R_MN10300_TLS_GOTIE): Likewise.
6691 (R_MN10300_TLS_IE): Likewise.
6692 (R_MN10300_TLS_LE): Likewise.
6693 (R_MN10300_TLS_DTPMOD): Likewise.
6694 (R_MN10300_TLS_DTPOFF): Likewise.
6695 (R_MN10300_TLS_TPOFF): Likewise.
6696 (R_MN10300_SYM_DIFF): Likewise.
6697 (R_MN10300_ALIGN): Likewise.
6698 (R_MN10300_NUM): Update.
6699
b36137f1
JM
67002012-08-08 Joseph Myers <joseph@codesourcery.com>
6701
6702 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
6703 Remove.
6704
cdd915fd
RM
67052012-08-08 Roland McGrath <roland@hack.frob.com>
6706
a2433aac
RM
6707 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
6708
cdd915fd
RM
6709 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
6710 sysdeps/unix -> sysdeps/posix move.
6711 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
6712
bf9b740a
AM
67132012-08-07 Allan McRae <allan@archlinux.org>
6714
6715 [BZ #14303]
6716 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
6717 (SUNOS_CPP): Likewise.
6718 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
6719 not found.
6720 (open_input): Call CPP using execvp.
6721
93df14ee
JM
67222012-08-07 Joseph Myers <joseph@codesourcery.com>
6723
6724 * sysdeps/unix/sysv/linux/kernel-features.h
6725 (__ASSUME_PROT_GROWSUPDOWN): Remove.
6726 (__ASSUME_NO_CLONE_DETACHED): Likewise.
6727 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
6728 (__ASSUME_WAITID_SYSCALL): Likewise.
6729 * sysdeps/unix/sysv/linux/dl-execstack.c
6730 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
6731 code unconditional.
6732 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
6733 conditional code.
6734 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
6735 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
6736 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
6737 code.
6738 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
6739 unconditional.
6740 [__ASSUME_WAITID_SYSCALL]: Likewise.
6741 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
6742
d34689de
RM
67432012-08-07 Roland McGrath <roland@hack.frob.com>
6744
a281decc
RM
6745 * sysdeps/unix/closedir.c: Renamed to ...
6746 * sysdeps/posix/closedir.c: ... here.
6747 * sysdeps/unix/dirfd.c: Renamed to ...
6748 * sysdeps/posix/dirfd.c: ... here.
6749 * sysdeps/unix/dirstream.h: Renamed to ...
6750 * sysdeps/posix/dirstream.h: ... here.
6751 * sysdeps/unix/fdopendir.c: Renamed to ...
6752 * sysdeps/posix/fdopendir.c: ... here.
6753 * sysdeps/unix/opendir.c: Renamed to ...
6754 * sysdeps/posix/opendir.c: ... here.
6755 * sysdeps/unix/readdir.c: Renamed to ...
6756 * sysdeps/posix/readdir.c: ... here.
6757 * sysdeps/unix/readdir_r.c: Renamed to ...
6758 * sysdeps/posix/readdir_r.c: ... here.
6759 * sysdeps/unix/rewinddir.c: Renamed to ...
6760 * sysdeps/posix/rewinddir.c: ... here.
6761 * sysdeps/unix/seekdir.c: Renamed to ...
6762 * sysdeps/posix/seekdir.c: ... here.
6763 * sysdeps/unix/telldir.c: Renamed to ...
6764 * sysdeps/posix/telldir.c: ... here.
6765 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
6766 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
6767 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
6768 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
6769
22895b47
RM
6770 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
6771 * bits/fcntl.h: ... here.
6772
707a53b6
RM
6773 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
6774 not 0.
6775 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
6776 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
6777 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
6778 (struct flock): Move l_start, l_len to the beginning.
6779 Use __pid_t for l_pid.
6780 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
6781 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
6782 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
6783 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
6784 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
6785 [__USE_LARGEFILE64] (struct flock64): New type.
6786 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
6787
f0bd3e25
RM
6788 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
6789 * bits/dirent.h: ... here.
6790
d34689de
RM
6791 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
6792 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
6793
6dad2c06
JM
67942012-08-07 Joseph Myers <joseph@codesourcery.com>
6795
6796 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
6797 Change from 2.6.0 to 2.6.16.
6798 * sysdeps/unix/sysv/linux/configure: Regenerated.
6799 * sysdeps/unix/sysv/linux/kernel-features.h
6800 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
6801 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
6802 version.
6803 (__ASSUME_UTIMES): Likewise.
6804 (__ASSUME_CLONE_STOPPED): Remove.
6805 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
6806 architectures, not kernel version.
6807 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
6808 (__ASSUME_NO_CLONE_DETACHED): Likewise.
6809 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
6810 (__ASSUME_WAITID_SYSCALL): Likewise.
6811 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
6812 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
6813 * README: State 2.6.16 as minimum Linux kernel version. Do not
6814 refer to older versions.
6815
03af9520
RM
68162012-08-06 Roland McGrath <roland@hack.frob.com>
6817
8e49df1d
RM
6818 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
6819 Define alphasort64 as an alias.
6820 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
6821 Define versionsort64 as an alias.
6822 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
6823 Define scandir64 as an alias.
6824 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
6825 Define scandirat64 as an alias.
6826 * dirent/alphasort64.c (alphasort64):
6827 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
6828 * dirent/versionsort64.c: Likewise.
6829 * dirent/scandir64.c: Likewise.
6830 * dirent/scandirat64.c: Likewise.
6831 * sysdeps/wordsize-64/alphasort.c: File removed.
6832 * sysdeps/wordsize-64/alphasort64.c: File removed.
6833 * sysdeps/wordsize-64/scandir.c: File removed.
6834 * sysdeps/wordsize-64/scandir64.c: File removed.
6835 * sysdeps/wordsize-64/scandirat.c: File removed.
6836 * sysdeps/wordsize-64/scandirat64.c: File removed.
6837 * sysdeps/wordsize-64/versionsort.c: File removed.
6838 * sysdeps/wordsize-64/versionsort64.c: File removed.
6839 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
6840 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
6841 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
6842 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
6843 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
6844 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
6845 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
6846 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
6847
6848 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
6849 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
6850 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
6851 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6852 [defined __arch64__ || defined __sparcv9]
6853 (__INO_T_MATCHES_INO64_T): New macro.
6854 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
6855 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
6856 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
6857 * sysdeps/unix/sysv/linux/bits/dirent.h
6858 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
6859 (_DIRENT_MATCHES_DIRENT64): New macro.
6860
03af9520
RM
6861 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
6862 Define lockf64 as an alias.
6863 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
6864 Define fseeko64 as an alias.
6865 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
6866 Define ftello64 as an alias.
6867 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
6868 Define _IO_fgetpos64 and fgetpos64 as aliases.
6869 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
6870 Define _IO_fsetpos64 and fsetpos64 as aliases.
6871 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
6872 Conditionalize body on this.
6873 * libio/fseeko64.c: Likewise.
6874 * libio/ftello64.c: Likewise.
6875 * libio/iofgetpos64.c: Likewise.
6876 * libio/iofsetpos64.c: Likewise.
6877 * sysdeps/wordsize-64/lockf.c: File removed.
6878 * sysdeps/wordsize-64/lockf64.c: File removed.
6879 * sysdeps/wordsize-64/fseeko.c: File removed.
6880 * sysdeps/wordsize-64/fseeko64.c: File removed.
6881 * sysdeps/wordsize-64/ftello.c: File removed.
6882 * sysdeps/wordsize-64/ftello64.c: File removed.
6883 * sysdeps/wordsize-64/iofgetpos.c: File removed.
6884 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
6885 * sysdeps/wordsize-64/iofsetpos.c: File removed.
6886 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
6887 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
6888 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
6889 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
6890 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
6891 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
6892 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
6893 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
6894 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
6895 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
6896 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
6897
6898 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
6899 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
6900 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
6901 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6902 [defined __arch64__ || defined __sparcv9]
6903 (__OFF_T_MATCHES_OFF64_T): New macro.
6904 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
6905 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
6906 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6907 (__OFF_T_MATCHES_OFF64_T): New macro.
6908
c5757acd
L
69092012-08-06 H.J. Lu <hongjiu.lu@intel.com>
6910
6911 * stdlib/secure-getenv.c (__secure_getenv): Replace
6912 GLIBC_2_16 with GLIBC_2_17.
6913
3a31811e
L
69142012-08-06 H.J. Lu <hongjiu.lu@intel.com>
6915
6916 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
6917 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
6918
faa2bccb
DM
69192012-08-03 David S. Miller <davem@davemloft.net>
6920
6921 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6922
85fe1997
JM
69232012-08-03 Joseph Myers <joseph@codesourcery.com>
6924
6925 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
6926 Remove.
6927 (__ASSUME_CORRECT_SI_PID): Likewise.
6928 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
6929 (__ASSUME_TMPFS_NAME): Likewise.
6930 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
6931 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
6932 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
6933 (HAVE_AUX_SECURE): Make definition unconditional.
6934 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
6935 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
6936
4f75b7a0
RM
69372012-08-03 Roland McGrath <roland@hack.frob.com>
6938
6939 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
6940 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
6941 * sysdeps/mach/hurd/eloop-threshold.h: New file.
6942 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
6943 __eloop_threshold instead of SYMLOOP_MAX.
6944
6945 * sysdeps/generic/eloop-threshold.h: New file.
6946 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
6947 of MAXSYMLINKS.
6948 * elf/chroot_canon.c (chroot_canon): Likewise.
6949
7aab07e4
JM
69502012-08-03 Joseph Myers <joseph@codesourcery.com>
6951
6952 [BZ #13717]
6953 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
6954 Change to 2.6.0 everywhere.
6955 * sysdeps/unix/sysv/linux/configure: Regenerated.
6956 * sysdeps/unix/sysv/linux/kernel-features.h
6957 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
6958 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
6959 kernel versions.
6960 (__ASSUME_POSIX_TIMERS): Define unconditionally.
6961 (__ASSUME_FUTEX_REQUEUE): Remove.
6962 (__ASSUME_STATFS64): Define unconditionally.
6963 (__ASSUME_AT_SECURE): Likewise.
6964 (__ASSUME_CORRECT_SI_PID): Likewise.
6965 (__ASSUME_TGKILL): Define without depending on kernel version for
6966 i386.
6967 (__ASSUME_UTIMES): Likewise.
6968 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
6969 kernel version.
6970 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
6971 (__ASSUME_TMPFS_NAME): Likewise.
6972 * README: Update reference to Linux kernel versions.
6973
b67e9372
MP
69742012-08-02 Marek Polacek <polacek@redhat.com>
6975
1f529f7d 6976 [BZ# 14150]
b67e9372
MP
6977 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
6978 libc_cv_asm_type_prefix with %.
6979 * configure: Regenerated.
d2441631
RM
6980 * include/libc-symbols.h: Remove comment about
6981 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
6982 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
6983 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
6984 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
6985 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
6986 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
6987 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
6988 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
6989 * elf/tst-unique2mod1.c: Likewise.
6990 * elf/tst-unique1mod2.c: Likewise.
6991 * elf/tst-unique1mod1.c: Likewise.
6992 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
6993 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
6994 Replace ASM_TYPE_DIRECTIVE with .type.
6995 * sysdeps/s390/s390-64/sysdep.h: Likewise.
6996 * sysdeps/i386/sysdep.h: Likewise.
6997 * sysdeps/x86_64/sysdep.h: Likewise.
6998 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
6999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
7000 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 7001 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
7002 * sysdeps/powerpc/powerpc32/sysdep.h:
7003 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
7004 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
7005 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
7006 * sysdeps/i386/fpu/e_powf.S: Likewise.
7007 * sysdeps/i386/fpu/e_expl.S: Likewise.
7008 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
7009 * sysdeps/i386/fpu/e_acosh.S: Likewise.
7010 * sysdeps/i386/fpu/e_pow.S: Likewise.
7011 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
7012 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
7013 * sysdeps/i386/fpu/s_expm1.S: Likewise.
7014 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
7015 * sysdeps/i386/fpu/e_log2.S: Likewise.
7016 * sysdeps/i386/fpu/e_log2l.S: Likewise.
7017 * sysdeps/i386/fpu/e_scalb.S: Likewise.
7018 * sysdeps/i386/fpu/e_powl.S: Likewise.
7019 * sysdeps/i386/fpu/e_log10f.S: Likewise.
7020 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
7021 * sysdeps/i386/fpu/e_logl.S: Likewise.
7022 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
7023 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
7024 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
7025 * sysdeps/i386/fpu/e_log2f.S: Likewise.
7026 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
7027 * sysdeps/i386/fpu/e_log.S: Likewise.
7028 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
7029 * sysdeps/i386/fpu/e_logf.S: Likewise.
7030 * sysdeps/i386/fpu/e_log10l.S: Likewise.
7031 * sysdeps/i386/fpu/e_atanh.S: Likewise.
7032 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
7033 * sysdeps/i386/fpu/e_log10.S: Likewise.
7034 * sysdeps/i386/fpu/s_frexp.S: Likewise.
7035 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
7036 * sysdeps/i386/fpu/s_asinh.S: Likewise.
7037 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
7038 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
7039 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
7040 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
7041 * sysdeps/i386/i686/strtok.S: Likewise.
7042 * sysdeps/i386/i386-mcount.S: Likewise.
7043 * sysdeps/i386/strtok.S: Likewise.
7044 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
7045 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
7046 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
7047 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
7048 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
7049 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
7050 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
7051 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
7052 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
7053 * sysdeps/x86_64/_mcount.S: Likewise.
7054 * sysdeps/x86_64/strtok.S: Likewise.
7055 * sysdeps/sh/_mcount.S: Likewise.
7056
2747bf9a
RM
70572012-08-01 Roland McGrath <roland@hack.frob.com>
7058
7059 * libio/iofopen.c: Include <fcntl.h>.
7060 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
7061 (_IO_fopen64, fopen64): Define as aliases.
7062 * libio/iofopen64.c: Include <fcntl.h>.
7063 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
7064 Conditionalize body on this.
7065 * sysdeps/wordsize-64/iofopen.c: File removed.
7066 * sysdeps/wordsize-64/iofopen64.c: File removed.
7067
3fb791b8
MP
70682012-08-01 Marek Polacek <polacek@redhat.com>
7069
7070 * libc/Makeconfig: Use elf in place of binfmt-subdir.
7071 Use dlfcn directly instead of a variable.
7072 (binfmt-subdir): Do not define.
7073 (dlfcn): Likewise.
7074
a9f1039f
JM
70752012-08-01 Joseph Myers <joseph@codesourcery.com>
7076
23bddc06
JM
7077 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
7078 Remove all definitions.
7079 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
7080 <kernel-features.h>.
7081 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
7082 (miss_F_GETOWN_EX): Remove all definitions.
7083 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
7084 macro definition.
7085 [!__ASSUME_FCNTL64]: Remove conditional code.
7086 [__ASSUME_FCNTL64]: Make code unconditional.
7087 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
7088 <kernel-features.h>.
7089 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
7090 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
7091 (lockf64) [__NR_fcntl64]: Make code unconditional.
7092 (lockf64) [__ASSUME_FCNTL64]: Likewise.
7093
a9f1039f
JM
7094 * sysdeps/unix/sysv/linux/kernel-features.h
7095 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
7096 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
7097 Make code unconditional.
7098 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
7099 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
7100 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
7101 [__NR_vfork]: Make code unconditional.
7102 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
7103 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
7104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
7105 [__NR_vfork]: Make code unconditional.
7106 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
7107 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
7108
09c0ee5f
RM
71092012-08-01 Roland McGrath <roland@hack.frob.com>
7110
48aec5b9
RM
7111 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
7112 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
7113
cd97c966
RM
7114 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
7115 Define mkstemp64 as an alias.
3f55550c
RM
7116 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
7117 Define mkstemps64 as an alias.
cd97c966
RM
7118 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
7119 Define mkostemp64 as an alias.
b8625cfc
RM
7120 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
7121 Define mkostemps64 as an alias.
cd97c966
RM
7122 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
7123 Conditionalize body on this.
7124 * misc/mkostemp64.c: Likewise.
b8625cfc 7125 * misc/mkostemps64.c: Likewise.
3f55550c 7126 * misc/mkstemps64.c: Likewise.
cd97c966
RM
7127 * sysdeps/wordsize-64/mkstemp64.c: File removed.
7128 * sysdeps/wordsize-64/mkostemp64.c: File removed.
7129 * sysdeps/wordsize-64/mkostemp.c: File removed.
7130 * sysdeps/wordsize-64/mkstemp.c: File removed.
7131 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
7132 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
7133 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
7134 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
7135
09c0ee5f
RM
7136 [BZ #14138]
7137 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
7138 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
7139 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
7140 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
7141
7142 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
7143 compat_symbol macros from <shlib-compat.h> rather than the underlying
7144 default_symbol_version and symbol_version macros, so that DEFAULT
7145 lines in shlib-versions are respected.
7146 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
7147
7e66ee51
FW
71482012-08-01 Florian Weimer <fweimer@redhat.com>
7149
7150 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
7151 Declare with warn_unused_result.
7152 (setgid, setregid, setegid, setresgid): Likewise.
7153 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
7154 Likewise.
7155 * WUR-REPORT: Remove set*id functions.
7156
d2a54255
PT
71572012-07-31 Pino Toscano <toscano.pino@tiscali.it>
7158
7159 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
7160
7ecdb005
RM
71612012-07-31 Roland McGrath <roland@hack.frob.com>
7162
789bd351
RM
7163 * include/sys/socket.h (__libc_accept, __libc_accept4):
7164 Add attribute_hidden.
7165 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
7166
40ce302d
RM
7167 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
7168 use of PTR_MANGLE.
7169 * inet/getnetgrent_r.c (setup): Likewise.
7170
7ecdb005
RM
7171 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
7172
e2eabb2c
DM
71732012-07-31 David S. Miller <davem@davemloft.net>
7174
7175 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7176
d0419dbf
JM
71772012-07-31 Joseph Myers <joseph@codesourcery.com>
7178
7179 [BZ #13629]
7180 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
7181 value between 1.0 and 2.0 and smaller part has absolute value less
7182 than 1.0.
7183 * math/s_clog10.c (__clog10): Likewise.
7184 * math/s_clog10f.c (__clog10f): Likewise.
7185 * math/s_clog10l.c (__clog10l): Likewise.
7186 * math/s_clogf.c (__clogf): Likewise.
7187 * math/s_clogl.c (__clogl): Likewise.
7188 * math/libm-test.inc (clog_test): Add more tests.
7189 (clog10_test): Likewise.
7190 * sysdeps/i386/fpu/libm-test-ulps: Update.
7191 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7192
2bc13872
FW
71932012-07-31 Florian Weimer <fweimer@redhat.com>
7194
7195 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
7196 Exit with zero in case no suitable GID is found, and write a
7197 message to standard error.
7198
bea9b193
RM
71992012-07-30 Roland McGrath <roland@hack.frob.com>
7200
7201 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
7202 rather than to 1.
7203 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
7204 (MAXPATHLEN): Removed.
7205 (NOGROUP, NODEV): New macros.
7206 (setbit, clrbit, isset, isclr): New macros.
7207 (howmany, roundup, powerof2): New macros.
7208 (DEV_BSIZE): New macro.
7209
7210 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
7211 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
7212
7213 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
7214 definition on [!__NO_LONG_DOUBLE_MATH].
7215
7216 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
7217 PTR_MANGLE and PTR_DEMANGLE.
7218
7219 * socket/accept4.c (accept4): Rename to __libc_accept4.
7220 Define accept4 as a weak alias.
7221
7222 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
7223 on [_DIRENT_HAVE_D_TYPE].
7224 * io/ftw.c (ftw_dir): Likewise.
7225
7226 * io/xmknod.c (__xmknod): Don't check PATH for being null.
7227
7228 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
7229
7230 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
7231 Use the BSD numbers rather than the arbitrary ones we had.
7232 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
7233 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
7234 (SIGXCPU, SIGXFSZ): New macros.
7235 (_NSIG): Now 32.
7236
7237 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
7238 initializer on [_LIBC_REENTRANT].
7239
7240 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
7241 definitions inside [_POSIX_MAPPED_FILES].
7242
7243 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
7244
7245 * dirent/opendir.c: Include <fcntl.h>.
7246
7247 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
7248 (__libc_getspecific): Likewise.
7249 (__libc_key_create): Likewise.
7250
7251 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
7252 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
7253 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
7254 (tmpfile64): Define as alias.
7255 * sysdeps/wordsize-64/tmpfile.c: File removed.
7256 * sysdeps/wordsize-64/tmpfile64.c: File removed.
7257 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
7258 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
7259
7260 * stdio-common/vfscanf.c: Include <stdbool.h>.
7261 * nss/makedb.c: Likewise.
7262 * stdio-common/_i18n_number.h: Likewise.
7263 * argp/argp-help.c: Likewise.
7264 * posix/wordexp.c: Likewise.
7265 * sysdeps/posix/spawni.c: Likewise.
7266 * nss/nss_files/files-initgroups.c: Likewise.
7267 * stdio-common/reg-modifier.c: Include <stdlib.h>.
7268 * nss/nss_files/files-initgroups.c: Likewise.
7269 * nss/nss_db/db-netgrp.c: Likewise.
7270 * nss/nss_db/db-initgroups.c: Likewise.
7271 * io/fchmodat.c: Include <sys/stat.h>.
7272
7273 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
7274 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
7275
7276 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
7277 [HAVE_MMAP].
7278
7279 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
7280 Add multiple inclusion protection.
7281
e5abc686
DM
72822012-07-27 David S. Miller <davem@davemloft.net>
7283
7284 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7285
815e6fa3
GB
72862012-07-27 Gary Benson <gbenson@redhat.com>
7287
7288 [BZ #14298]
7289 * elf/rtld.c: Include <stap-probe.h>.
7290 (dl_main): Added static probes "init_start" and "init_complete".
7291 * elf/dl-load.c: Include <stap-probe.h>.
7292 (lose): Take new parameter "nsid".
7293 Added static probe "map_failed".
7294 (_dl_map_object_from_fd): Pass namespace id to lose.
7295 Added static probe "map_start".
7296 (open_verify): Pass namespace id to lose.
7297 * elf/dl-open.c: Include <stap-probe.h>.
7298 (dl_open_worker) Added static probes "map_complete", "reloc_start"
7299 and "reloc_complete".
7300 * elf/dl-close.c: Include <stap-probe.h>.
7301 (_dl_close_worker): Added static probes "unmap_start" and
7302 "unmap_complete".
7303 * elf/rtld-debugger-interface.txt: New file documenting the above.
7304
9f98c16c
RM
73052012-07-26 Roland McGrath <roland@hack.frob.com>
7306
7307 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
7308 rather than a string variable.
7309 * sunrpc/rpc_main.c (h_output): Likewise.
7310 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
7311
f3c22df3
PT
73122012-07-26 Pino Toscano <toscano.pino@tiscali.it>
7313
7314 * inet/check_native.c: New file.
7315
3129cfc6
JM
73162012-07-26 Joseph Myers <joseph@codesourcery.com>
7317
da865e95
JM
7318 [BZ #13629]
7319 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
7320 if larger part has absolute value 1.0.
7321 * math/s_clog10.c (__clog10): Likewise.
7322 * math/s_clog10f.c (__clog10f): Likewise.
7323 * math/s_clog10l.c (__clog10l): Likewise.
7324 * math/s_clogf.c (__clogf): Likewise.
7325 * math/s_clogl.c (__clogl): Likewise.
7326 * math/libm-test.inc (clog_test): Add more tests.
7327 (clog10_test): Likewise.
7328 * sysdeps/i386/fpu/libm-test-ulps: Update.
7329 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7330
3129cfc6
JM
7331 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
7332 (pltexit): Likewise.
7333 (La_regs): Likewise.
7334 (La_retval): Likewise.
7335 (int_retval): Likewise.
7336 Update #error for removed macros to refer only to definitions in
7337 tst-audit.h.
7338 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
7339 macro.
7340 (pltexit): Likewise.
7341 (La_regs): Likewise.
7342 (La_retval): Likewise.
7343 (int_retval): Likewise.
7344 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
7345 macro.
7346 (pltexit): Likewise.
7347 (La_regs): Likewise.
7348 (La_retval): Likewise.
7349 (int_retval): Likewise.
7350 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
7351 macro.
7352 (pltexit): Likewise.
7353 (La_regs): Likewise.
7354 (La_retval): Likewise.
7355 (int_retval): Likewise.
7356 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
7357 macro.
7358 (pltexit): Likewise.
7359 (La_regs): Likewise.
7360 (La_retval): Likewise.
7361 (int_retval): Likewise.
7362 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
7363 macro.
7364 (pltexit): Likewise.
7365 (La_regs): Likewise.
7366 (La_retval): Likewise.
7367 (int_retval): Likewise.
7368 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
7369 macro.
7370 (pltexit): Likewise.
7371 (La_regs): Likewise.
7372 (La_retval): Likewise.
7373 (int_retval): Likewise.
7374 * sysdeps/generic/tst-audit.h: Update comment to refer only to
7375 macro definitions in tst-audit.h.
7376 * sysdeps/i386/tst-audit.h: New file.
7377 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
7378 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
7379 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
7380 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
7381 * sysdeps/sh/tst-audit.h: Likewise.
7382 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
7383 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
7384 * sysdeps/x86_64/tst-audit.h: Likewise.
7385
bfc07087
AJ
73862012-07-26 Andreas Jaeger <aj@suse.de>
7387
b1b2aaf8
AJ
7388 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
7389 ptrace.
7390
7391 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
7392 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
7393 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
7394 PTRACE_O_MASK.
7395 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
7396 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
7397 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
7398
bfc07087
AJ
7399 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
7400 value.
7401
7402 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
7403 _sigsys.
7404 (si_call_addr, si_syscall, si_arch): Define new macro.
7405 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
7406 _sigsys.
7407 (si_call_addr, si_syscall, si_arch): Define new marcro.
7408 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
7409 _sigsys.
7410 (si_call_addr, si_syscall, si_arch): Define new macro.
7411 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
7412 _sigsys.
7413 (si_call_addr, si_syscall, si_arch): Define new macro.
7414
89b4b02f
JM
74152012-07-25 Joseph Myers <joseph@codesourcery.com>
7416
7417 [BZ #13717]
7418 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
7419 Change to 2.4.21 where previously 2.4.1.
7420 * sysdeps/unix/sysv/linux/configure: Regenerated.
7421 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
7422 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
7423 Linux kernel version.
7424 (__ASSUME_STD_AUXV): Remove.
7425 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
7426 kernel version.
7427 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
7428 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
7429 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
7430 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
7431 (__ASSUME_NETLINK_SUPPORT): Likewise.
7432 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
7433 (__no_netlink_support): Remove conditional definition.
7434 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
7435 Remove.
7436 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
7437 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
7438 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
7439 (if_nameindex_ioctl): Remove.
7440 (if_nameindex_netlink): Do not handle __no_netlink_support.
7441 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
7442 code.
7443 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
7444 Remove conditional code.
7445 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
7446 code.
7447 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
7448 unconditional.
7449 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
7450 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
7451 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
7452 Remove.
7453 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
7454 [!__ASSUME_STD_AUXV]: Remove conditional code.
7455 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
7456 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
7457 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
7458 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
7459 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
7460 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
7461 code.
7462 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
7463 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
7464 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
7465 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
7466 conditional code.
7467 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
7468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
7469 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
7470 code.
7471 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
7472 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
7473 conditional code.
7474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
7475 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
7476 code unconditional.
7477 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7478 conditional code.
7479 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
7480 unconditional.
7481 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7482 conditional code.
7483 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
7484 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
7485 unconditional.
7486 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7487 conditional code.
7488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
7489 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
7490 code unconditional.
7491 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7492 conditional code.
7493 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
7494 unconditional.
7495 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7496 conditional code.
7497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
7498 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
7499 code unconditional.
7500 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7501 conditional code.
7502 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
7503 unconditional.
7504 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7505 conditional code.
7506
842a39cd
AS
75072012-07-25 Andreas Schwab <schwab@linux-m68k.org>
7508
7509 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
7510 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
7511 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
7512 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
7513 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
7514 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
7515 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
7516 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
7517 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
7518 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
7519 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
7520 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
7521 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
7522 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
7523 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
7524 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
7525 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
7526 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
7527 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
7528 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
7529 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
7530 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
7531 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
7532
84b3fd84
FW
75332012-07-25 Florian Weimer <fweimer@redhat.com>
7534
7535 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
7536 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
7537 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
7538 Introduce __libc_secure_getenv.
0c7936d5
FW
7539 * stdlib/Versions (2.17): Add secure_getenv
7540 (GLIBC_PRIVATE): Add __libc_secure_getenv.
7541 * stdlib/secure-getenv.c: Rename __secure_getenv to
7542 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
7543 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
7544 * stdlib/tst-secure-getenv.c: New.
7545 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
7546 * manual/startup.texi (Environment Access): Document
7547 secure_getenv.
84b3fd84
FW
7548 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
7549 __libc_secure_getenv.
7550 * inet/ruserpass.c (ruserpass): Likewise.
7551 * malloc/mtrace.c (mtrace): Likewise.
7552 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 7553 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
7554 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
7555 * sysdeps/posix/tempname.c: Likewise. Evaluate
7556 HAVE_SECURE_GETENV.
7557 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 7558 __secure_getenv to __libc_secure_getenv.
84b3fd84 7559 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
7560 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7561 Likewise.
7562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7563 Likewise.
7564 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
7565 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
7566 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
7567 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
7568 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
7569 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
7570 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 7571
56e49b71
JM
75722012-07-25 Joseph Myers <joseph@codesourcery.com>
7573
7574 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
7575 (struct La_i86_retval): Likewise.
7576 (struct La_x86_64_regs): Likewise.
7577 (struct La_x86_64_retval): Likewise.
7578 (struct La_x32_regs): Likewise.
7579 (struct La_x32_retval): Likewise.
7580 (struct La_ppc32_regs): Likewise.
7581 (struct La_ppc32_retval): Likewise.
7582 (struct La_ppc64_regs): Likewise.
7583 (struct La_ppc64_retval): Likewise.
7584 (struct La_sh_regs): Likewise.
7585 (struct La_sh_retval): Likewise.
7586 (struct La_s390_32_regs): Likewise.
7587 (struct La_s390_32_retval): Likewise.
7588 (struct La_s390_64_regs): Likewise.
7589 (struct La_s390_64_retval): Likewise.
7590 (struct La_sparc32_regs): Likewise.
7591 (struct La_sparc32_retval): Likewise.
7592 (struct La_sparc64_regs): Likewise.
7593 (struct La_sparc64_retval): Likewise.
7594 (struct audit_ifaces): Remove architecture-specific pltenter and
7595 pltexit members.
7596 * sysdeps/i386/ldsodefs.h: New file.
7597 * sysdeps/powerpc/ldsodefs.h: Likewise.
7598 * sysdeps/s390/ldsodefs.h: Likewise.
7599 * sysdeps/sh/ldsodefs.h: Likewise.
7600 * sysdeps/sparc/ldsodefs.h: Likewise.
7601 * sysdeps/x86_64/ldsodefs.h: Likewise.
7602
354691b7
MP
76032012-07-25 Marek Polacek <polacek@redhat.com>
7604
7605 [BZ #6808]
7606 * math/libm-test.inc (yn_test): Add another test.
7607 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
7608 to ERANGE when the result is +-Inf.
7609 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
7610 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
7611 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
7612 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
7613
bf9e2071
JM
76142012-07-24 Joseph Myers <joseph@codesourcery.com>
7615
7616 * conform/data/time.h-data (NULL): Use macro-constant. Require
7617 equal to 0.
7618 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
7619 clock_t.
7620 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
7621
57633811
TS
76222012-07-23 Thomas Schwinge <thomas@codesourcery.com>
7623
7624 * configure.in <sysdeps resolving>: Correct printing
7625 Implies_before.
7626 * configure: Regenerate.
7627
c23c33b0
TS
76282012-07-22 Thomas Schwinge <thomas@codesourcery.com>
7629
7630 * math/w_ilogb.c: Include <limits.h>.
7631 * math/w_ilogbl.c: Likewise.
7632
b5982523
JM
76332012-07-20 Joseph Myers <joseph@codesourcery.com>
7634
7635 * manual/lang.texi (__va_copy): Document primarily as ISO C99
7636 va_copy. Document allowing for unavailable va_copy only as
7637 pre-C99 compatibility.
7638 * manual/string.texi (Copying and Concatenation): Use va_copy
7639 instead of __va_copy in concat example.
7640
ac4ea442
PT
76412012-07-20 Pino Toscano <toscano.pino@tiscali.it>
7642
7643 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
7644 (__sendto): Use create_address_port. Initialize APORT and deallocate
7645 it if not null.
7646
f98eafbd
PT
7647 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
7648 with O_NOLINK passed to __file_name_lookup.
7649
898c7aab
PT
7650 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
7651 with O_NOLINK passed to __file_name_lookup.
7652
0ced335a
PT
7653 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
7654 negative N or less than NGIDS.
7655
b3404dbd
PT
7656 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
7657 type to string_t. Set ERANGE as errno and return it if NAME is not big
7658 enough. Use memcpy instead of strncpy.
7659
0f48659e
JM
76602012-07-20 Joseph Myers <joseph@codesourcery.com>
7661
7662 * elf/Makefile (check-data): Remove.
7663 (localplt.data): New vpath directive.
7664 ($(objpfx)check-localplt.out): Use localplt.data from vpath
7665 instead of $(check-data).
7666 * scripts/data/localplt-generic.data: Move to ...
7667 * sysdeps/generic/localplt.data: ... here.
7668 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
7669 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
7670 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
7671 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
7672 ... here.
7673 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
7674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
7675 ... here.
7676 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
7677 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
7678 ... here.
7679 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
7680 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
7681 ... here.
7682 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
7683 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
7684 ... here.
7685 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
7686 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
7687 ... here.
7688
d37cbdaa
AZ
76892012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7690
7691 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
7692 PPC32 and PPC64 files.
7693 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
7694 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
7695
46f85fc2
AK
76962012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7697
7698 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
7699 __makecontext_ret to ...
7700 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
7701 ... here and call exit if uc_link is NULL. New file.
7702 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
7703 __makecontext_ret.S.
7704 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
7705 __makecontext_ret to ...
7706 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
7707 ... here and call exit if uc_link is NULL. New file.
7708 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
7709 __makecontext_ret.S.
7710
08f43f9b
AK
77112012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7712
7713 * elf/elf.h (R_390_IRELATIVE): New definition.
7714 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
7715 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
7716 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
7717 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
7718 (elf_machine_lazy_rel): Likewise.
7719 * sysdeps/s390/dl-irel.h: New file.
7720 * sysdeps/s390/s390-64/memcpy.S: New asm code.
7721 * sysdeps/s390/s390-64/memset.S: New asm code.
7722 * sysdeps/s390/s390-64/memcmp.S: New asm code.
7723 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
7724 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
7725 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
7726 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
7727 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
7728 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
7729 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
7730 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
7731 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
7732 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
7733 * sysdeps/s390/s390-32/memcpy.S: New asm code.
7734 * sysdeps/s390/s390-32/memset.S: New asm code.
7735 * sysdeps/s390/s390-32/memcmp.S: New asm code.
7736
3b05db33
MP
77372012-07-17 Marek Polacek <polacek@redhat.com>
7738
7739 [BZ #14349]
7740 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
7741 * sysdeps/s390/s390-64/configure.in: Likewise.
7742 * sysdeps/sparc/configure.in: Likewise.
7743 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
7744 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
7745 * sysdeps/i386/configure.in: Likewise.
7746 * sysdeps/x86_64/configure.in: Likewise.
7747 * sysdeps/sh/configure.in: Likewise.
7748 * sysdeps/s390/s390-32/configure: Regenerated.
7749 * sysdeps/s390/s390-64/configure: Likewise.
7750 * sysdeps/x86_64/configure: Likewise.
7751 * sysdeps/sh/configure: Likewise.
7752 * sysdeps/powerpc/powerpc64/configure: Likewise.
7753 * sysdeps/powerpc/powerpc32/configure: Likewise.
7754 * sysdeps/sparc/configure: Likwise.
7755 * sysdeps/i386/configure: Likewise.
7756
a66877c6
MP
7757 * elf/dl-open.c: Comment fixes.
7758
cfc82fd8
JM
77592012-07-17 Joseph Myers <joseph@codesourcery.com>
7760
bd29910a
JM
7761 * Makefile [CXX] (check-data): Remove.
7762 [CXX] (c++-types.data): New vpath directive.
7763 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
7764 vpath. Do not allow for C++ type data being missing.
7765 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
7766 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
7767 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
7768 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
7769 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
7770 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
7771 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
7772 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
7773 ... here.
7774 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
7775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
7776 ... here.
7777 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
7778 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
7779 ... here.
7780 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
7781 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
7782 ... here.
7783 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
7784 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
7785 ... here.
7786 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
7787 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
7788 ... here.
7789 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
7790 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
7791 ... here.
7792 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
7793 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
7794
cfc82fd8
JM
7795 * elf/tls-macros.h (TLS_LE): Move architecture-specific
7796 definitions to architecture-specific files.
7797 (TLS_IE): Likewise.
7798 (TLS_LD): Likewise.
7799 (TLS_GD): Likewise.
7800 * sysdeps/i386/tls-macros.h: New file.
7801 * sysdeps/powerpc/tls-macros.h: Likewise.
7802 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
7803 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
7804 * sysdeps/sh/tls-macros.h: Likewise.
7805 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
7806 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
7807 * sysdeps/x86_64/tls-macros.h: Likewise.
7808
f7db3170
TS
78092012-07-17 Thomas Schwinge <thomas@codesourcery.com>
7810
07cbfc23
TS
7811 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
7812 zero value for regular exit case.
7813
f7db3170
TS
7814 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
7815 (__start_context): Preserve zero value for regular exit case.
7816
dc97c227
TS
78172012-07-17 Thomas Schwinge <thomas@codesourcery.com>
7818 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7819
7820 * manual/setjmp.texi (setcontext): Clarify normal process
7821 termination when uc_link is the null pointer.
7822 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
7823 exit call.
7824
d0cd7d02
AS
78252012-07-16 Andreas Schwab <schwab@linux-m68k.org>
7826
7827 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
7828 preprocessor. Test for each exception mask separately.
7829
dd318934
AJ
78302012-07-16 Andreas Jaeger <aj@suse.de>
7831
7832 * po/ru.po: Update from translation team.
7833
8048311a
JM
78342012-07-15 Joseph Myers <joseph@codesourcery.com>
7835
7836 * conform/data/string.h-data (NULL): Use macro-constant. Require
7837 equal to 0.
7838 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
7839 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
7840 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
7841 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
7842 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7843
b637d46e
AJ
78442012-07-13 Andreas Jaeger <aj@suse.de>
7845
7846 * po/fr.po: Update from translation team.
7847
541428fe
MP
78482012-07-12 Marek Polacek <polacek@redhat.com>
7849
7850 [BZ #14173]
7851 * math/libm-test.inc (yn_test): Add test for BZ #14173.
7852 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
7853 loop condition.
7854
ec332e94
JM
78552012-07-12 Joseph Myers <joseph@codesourcery.com>
7856
7857 [BZ #13717]
7858 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
7859 Change to 2.4.1 where previously 2.4.0.
7860 * sysdeps/unix/sysv/linux/configure: Regenerated.
7861 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
7862 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
7863 version.
7864 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
7865 (__ASSUME_AT_CLKTCK): Remove.
7866 (__ASSUME_AT_PAGESIZE): Likewise.
7867 (__ASSUME_AT_XID): Likewise.
7868 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
7869 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
7870 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
7871 unconditionally.
7872 (HAVE_AUX_PAGESIZE): Likewise.
7873 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
7874 [__ASSUME_AT_CLKTCK]: Make code unconditional.
7875 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
7876
7b6e99be
JB
78772012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
7878
7879 [BZ #14307]
7880 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
7881 the temporary buffer used to invoke __gethostbyname2_r,
7882 __gethostbyaddr_r and gethostbyname4_r to make room for struct
7883 host_data / struct gaih_addrtuple.
7884 * resolv/nss_dns/dns-host.c (global scope): Move definition of
7885 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
7886 header file nss/nsswitch.h.
7887 * nss/nsswitch.h (global scope): Add definition of implementation
7888 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
7889 resolv/nss_dns/dns-host.c).
7890
608404eb
AJ
78912012-07-11 Andreas Jaeger <aj@suse.de>
7892
7893 * po/fr.po: Update from translation team.
7894
71220aca
AJ
7895 * po/sv.po: Update from translation team
7896 * po/fr.po: Another update from translation team.
7897
28cfe843
AZ
78982012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7899
7900 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
7901 for subnormals or multiply small sinh result by itself.
7902 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
7903 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7904
6b90f981
DM
79052012-07-11 David S. Miller <davem@davemloft.net>
7906
7907 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7908
c6825772
AS
79092012-07-10 Andreas Schwab <schwab@linux-m68k.org>
7910
7911 [BZ #14347]
7912 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
7913 (INTERNAL_MARK): Shift it here.
7914
7b8e0d49
MP
79152012-07-10 Marek Polacek <polacek@redhat.com>
7916
7917 [BZ #14151]
7918 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
7919 libc_cv_asm_global_directive with .globl.
7920 * configure: Regenerated.
7921 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
7922 with .globl.
7923 * sysdeps/i386/configure: Regenerated.
7924 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
7925 with .globl.
7926 * sysdeps/x86_64/configure: Regenerated.
7927 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
7928 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
7929 * elf/tst-unique2mod2.c: Likewise.
7930 * elf/tst-unique2mod1.c: Likewise.
7931 * elf/tst-unique1mod2.c: Likewise.
7932 * elf/tst-unique1mod1.c: Likewise.
7933 * sysdeps/s390/s390-32/sysdep.h: Likewise.
7934 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
7935 * sysdeps/s390/s390-64/sysdep.h: Likewise.
7936 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
7937 * sysdeps/mach/sysdep.h: Likewise.
7938 * sysdeps/i386/sysdep.h: Likewise.
7939 * sysdeps/i386/i386-mcount.S: Likewise.
7940 * sysdeps/x86_64/_mcount.S: Likewise.
7941 * sysdeps/x86_64/sysdep.h: Likewise.
7942 * sysdeps/sh/_mcount.S: Likewise.
7943 * sysdeps/sh/sysdep.h: Likewise.
7944 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
7945 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
7946 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
7947 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
7948 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
7949 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
7950 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
7951 * locale/localeinfo.h: Likewise.
7952 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
7953 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
7954
6c55cda3
RM
79552012-07-09 Roland McGrath <roland@hack.frob.com>
7956
7957 [BZ #14336]
7958 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
7959 system".
7960 * manual/message.texi (The Uniforum approach): Likewise.
7961 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
7962 (glibc iconv Implementation): Likewise.
7963
638a572e
JM
79642012-07-09 Joseph Myers <joseph@codesourcery.com>
7965
7966 [BZ #14337]
7967 * math/s_clog.c (__clog): Avoid scaling a value down where that
7968 could result in underflow.
7969 * math/s_clog10.c (__clog10): Likewise.
7970 * math/s_clog10f.c (__clog10f): Likewise.
7971 * math/s_clog10l.c (__clog10l): Likewise.
7972 * math/s_clogf.c (__clogf): Likewise.
7973 * math/s_clogl.c (__clogl): Likewise.
7974 * math/libm-test.inc (clog_test): Add more tests.
7975 (clog10_test): Likewise.
7976 * sysdeps/i386/fpu/libm-test-ulps: Update.
7977 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7978
261f4859
AS
79792012-07-06 Andreas Schwab <schwab@linux-m68k.org>
7980
0abaf3e4
AS
7981 [BZ #14283]
7982 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
7983 by 7 not 8 to examine high bit of fractional part.
7984
261f4859
AS
7985 [BZ #14042]
7986 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
7987 for call to __mcount_internal.
7988 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
7989 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
7990 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
7991
f17ac40d
JM
79922012-07-06 Joseph Myers <joseph@codesourcery.com>
7993
9ad63c23
JM
7994 [BZ #14154]
7995 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
7996 approximation for values within 0x1p-13f of an odd multiple of
7997 pi/4.
7998 * math/libm-test.inc (tan_test): Do not allow spurious underflow
7999 exception. Add more tests.
8000 * sysdeps/i386/fpu/libm-test-ulps: Update.
8001
f17ac40d
JM
8002 [BZ #6778]
8003 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
8004 inputs and return -1 for them. Do not check for +Inf in case not
8005 reachable for +Inf.
8006 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
8007 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
8008 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
8009 and return -1 for them. Do not check for +Inf in case not
8010 reachable for +Inf.
8011 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
8012 define.
8013 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
8014 and return -1 for them. Do not check for +Inf in case not
8015 reachable for +Inf.
8016 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
8017 spurious underflow.
8018 * sysdeps/i386/fpu/libm-test-ulps: Update.
8019 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8020
fb21f89b
MF
80212012-07-06 Mike Frysinger <vapier@gentoo.org>
8022
8023 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
8024
cdfe2c5e
JM
80252012-07-05 Joseph Myers <joseph@codesourcery.com>
8026
8027 [BZ #14157]
8028 [BZ #14331]
8029 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
8030 could result in spurious underflow. Scale down values above
8031 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
8032 * math/s_csqrtf.c (__csqrtf): Likewise.
8033 * math/s_csqrtl.c (__csqrtl): Likewise.
8034 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
8035 spurious underflow.
8036 * sysdeps/i386/fpu/libm-test-ulps: Update.
8037 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8038
70d35b67
AS
80392012-07-04 Andreas Schwab <schwab@linux-m68k.org>
8040
704bc459
AS
8041 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
8042 xopen-msg.sed.
8043 * catgets/xopen-msg.awk: New file.
8044 * catgets/xopen-msg.sed: Removed.
8045
70d35b67
AS
8046 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
8047 po2text.sed.
8048 * intl/po2test.awk: New file.
8049 * intl/po2test.sed: Removed.
8050
ca61cf32
JM
80512012-07-04 Joseph Myers <joseph@codesourcery.com>
8052
8053 [BZ #14328]
8054 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
8055 or multiply small sinh result by itself.
8056 * math/s_ctanf.c (__ctanf): Likewise.
8057 * math/s_ctanh.c (__ctanh): Likewise.
8058 * math/s_ctanhf.c (__ctanhf): Likewise.
8059 * math/s_ctanhl.c (__ctanhl): Likewise.
8060 * math/s_ctanl.c (__ctanl): Likewise.
8061 * math/libm-test.inc (ctan_test_tonearest): New function.
8062 (ctan_test_towardzero): Likewise.
8063 (ctan_test_downward): Likewise.
8064 (ctan_test_upward): Likewise.
8065 (ctanh_test_tonearest): Likewise.
8066 (ctanh_test_towardzero): Likewise.
8067 (ctanh_test_downward): Likewise.
8068 (ctanh_test_upward): Likewise.
8069 (main): Call these new functions.
8070 * sysdeps/i386/fpu/libm-test-ulps: Update.
8071 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8072
ca48a46a
MF
80732012-07-03 Mike Frysinger <vapier@gentoo.org>
8074
8075 * .gitignore: Delete /ports entry.
8076
9d63d37d
AJ
80772012-07-03 Andreas Jaeger <aj@suse.de>
8078
8079 * po/bg.po: Update from translation team.
8080 * po/cs.po: Likewise.
8081 * po/de.po: Likewise.
8082 * po/hr.po: Likewise.
8083 * po/nl.pl: Likewise.
8084 * po/pl.po: Likewise.
8085 * po/vi.po: Likewise.
8086
370ca3d2
JM
80872012-07-03 Joseph Myers <joseph@codesourcery.com>
8088
95f5a9a8
JM
8089 * Makeconfig [!+link] (+link-before-libc): New variable.
8090 [!+link] (+link-after-libc): Likewise.
8091 [!+link] (+link-tests): Likewise.
8092 [!+link] (+link): Define in terms of $(+link-before-libc) and
8093 $(+link-after-libc).
8094 [!+link-static] (+link-static-before-libc): New variable.
8095 [!+link-static] (+link-static-after-libc): Likewise.
8096 [!+link-static] (+link-static-tests): Likewise.
8097 [!+link-static] (+link-static): Define in terms of
8098 $(+link-static-before-libc) and $(+link-static-after-libc).
8099 [build-shared] (link-libc-before-gnulib): New variable.
8100 [build-shared] (link-libc-tests): Likewise.
8101 [build-shared] (link-libc): Define in terms of
8102 $(link-libc-before-gnulib).
8103 [!build-shared] (link-libc-tests): New variable.
8104 (link-libc-static-tests): New variable.
8105 [!gnulib] (gnulib-arch): New variable.
8106 [!gnulib] (gnulib-tests): Likewise.
8107 [!gnulib] (static-gnulib-arch): Likewise.
8108 [!gnulib] (static-gnulib-tests): Likewise.
8109 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
8110 Define with "=" instead of ":=".
8111 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
8112 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
8113 * Rules (binaries-all-notests): New variable.
8114 (binaries-all-tests): Likewise.
8115 (binaries-static-notests): Likewise.
8116 (binaries-static-tests): Likewise.
8117 (binaries-all): Define using $(binaries-all-notests) and
8118 $(binaries-all-tests).
8119 (binaries-static): Define using $(binaries-static-notests) and
8120 $(binaries-static-tests).
8121 (binaries-shared-tests): New variable.
8122 (binaries-shared-notests): Likewise.
8123 (binaries-shared): Remove variable.
8124 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
8125 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
8126 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
8127 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
8128 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
8129 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
8130 * elf/Makefile (sln-modules): New variable.
8131 (extra-objs): Add $(sln-modules:=.o).
8132 (ldconfig-modules): Add static-stubs.
8133 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
8134 * elf/static-stubs.c: New file.
8135
7a845b2c
JM
8136 [BZ #14283]
8137 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
8138 by 7 not 8 to examine high bit of fractional part. Use volatile
8139 variables when splitting into final array of floats if
8140 __FLT_EVAL_METHOD__ != 0.
8141 * math/libm-test.inc (cos_test): Add another test.
8142 (sin_test): Likewise.
8143 * sysdeps/i386/fpu/libm-test-ulps: Update.
8144
e2283f38
JM
8145 [BZ #14273]
8146 * math/libm-test.inc (cosh_test): Add more tests.
8147
370ca3d2
JM
8148 * version.h (RELEASE): Set to "development".
8149 (VERSION): Set to "2.16.90".
8150
ee9247c3
CD
81512012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
8152
8153 * NEWS: Update copyright. Remove last-updated date.
8154 Mention math library bug fixes and timezone data changes.
8155 * README: Mention GNU/Hurd, x32, and HPPA support status.
8156
4648c381
TS
81572012-06-28 Thomas Schwinge <thomas@codesourcery.com>
8158
8159 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
8160
aac78a43
AJ
81612012-06-27 Andreas Jaeger <aj@suse.de>
8162
8163 * manual/contrib.texi (Contributors): Add Samuel Thibault.
8164
ed3dbfad
AJ
81652012-06-25 Andreas Jaeger <aj@suse.de>
8166
8167 * sysdeps/s390/fpu/libm-test-ulps: Update.
8168
4d0ee855
AS
81692012-06-23 Andreas Schwab <schwab@linux-m68k.org>
8170 Thomas Schwinge <thomas@codesourcery.com>
8171
8172 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
8173 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
8174 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
8175 fanotify_mark.
8176
af1bce34
TS
81772012-06-23 Thomas Schwinge <thomas@codesourcery.com>
8178
a9fa33ba
TS
8179 * sysdeps/mach/start.c: Remove file.
8180 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
8181 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
8182 * sysdeps/sh/init-first.c: Likewise.
8183
58f902b8
TS
8184 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
8185 registers for frame unwinding purposes, add CFI directives.
8186 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
8187 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
8188 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
8189 Likewise.
8190
1518f58b
TS
8191 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
8192 __fortify_fail returning.
8193 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
8194
db9b5059
TS
8195 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
8196 sysdeps/sh/____longjmp_chk.S.
8197 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
8198 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
8199 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
8200 (gen-as-const-headers): Append sigaltstack-offsets.sym.
8201
967705fe
TS
8202 * sysdeps/sh/abort-instr.h: New file.
8203 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
8204 process in case exit returns.
8205
a9def8c4
TS
8206 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
8207 initialize the GOT register before use.
8208
2a649725
TS
8209 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
8210 calculation of ARGC > 4.
8211
af1bce34
TS
8212 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
8213 meaningful names to some local labels.
8214
d230f50a
KK
82152012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8216 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8217
8218 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
8219 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
8220 (__arch_compare_and_exchange_val_16_acq): Likewise.
8221 (__arch_compare_and_exchange_val_32_acq): Likewise.
8222 (atomic_exchange_and_add): Fix gUSA sequence.
8223 (atomic_add): Likewise.
8224 (atomic_add_negative): Likewise.
8225 (atomic_add_zero): Likewise.
8226 (atomic_bit_test_set): Likewise.
8227
0479b305
AS
82282012-06-22 Andreas Schwab <schwab@redhat.com>
8229
8230 [BZ #13579]
8231 * include/link.h (struct link_map): Add l_free_initfini.
8232 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
8233 l_initfini.
8234 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
8235 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
8236 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
8237 set.
8238
0e3933b9
CD
82392012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
8240
8241 * configure.in: Use AC_LANG_SOURCE.
8242 * configure: Regenerate.
8243
4248b1b1
RM
82442012-06-22 Roland McGrath <roland@hack.frob.com>
8245
8246 * configure.in (libc_cv_localstatedir): New substituted variable.
8247 * configure: Regenerated.
8248 * config.make.in (localstatedir): New variable, substituted from
8249 libc_cv_localstatedir.
8250 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
8251 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
8252 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
8253 * sysdeps/gnu/configure: Regenerated.
8254
006dd861
JL
82552012-06-21 Jeff Law <law@redhat.com>
8256
8257 [BZ #14277]
8258 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
8259 free. Simplify list management for _LIBC case.
8260
79662d42
JM
82612012-06-21 Joseph Myers <joseph@codesourcery.com>
8262
b7abb4bf
JM
8263 [BZ #14273]
8264 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
8265 Clear sign bit of 64-bit integer value before comparing against
8266 overflow value.
8267
79662d42
JM
8268 * sysdeps/mach/configure: Regenerated.
8269
1f150908
L
82702012-06-21 H.J. Lu <hongjiu.lu@intel.com>
8271
8272 [BZ #14278]
8273 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
8274
28363bbf
JL
82752012-06-21 Jeff Law <law@redhat.com>
8276
8277 [BZ #13882]
8278 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
8279 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 8280 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
8281 * elf/dl-open.c (dl_open_worker): Likewise.
8282
09615db4
CD
82832012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
8284
8285 * scripts/list-sources.sh: Scan PORTS for translations.
8286 * po/libc.pot: Regenerated.
8287
2174c6dd
AJ
82882012-06-21 Andreas Jaeger <aj@suse.de>
8289
8290 [BZ #12194]
8291 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
8292 warning.
8293 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
8294 * bits/byteswap-16.h (__bswap_16): Likewise.
8295 * bits/byteswap.h (__bswap_constant_16): Likewise.
8296
3ee947b1
L
82972012-06-18 H.J. Lu <hongjiu.lu@intel.com>
8298
8299 [BZ #14117]
a2f34833
L
8300 * sysdeps/i386/fpu_control.h: Removed.
8301 * sysdeps/x86_64/fpu_control.h: Moved to ...
8302 * sysdeps/x86/fpu_control.h: Here.
8303
3ee947b1
L
8304 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
8305 (_FPU_SETCW): Likewise.
8306
ed1825f8
L
83072012-06-15 H.J. Lu <hongjiu.lu@intel.com>
8308
25f1282a
L
8309 [BZ #14117]
8310 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
8311 * sysdeps/x86/fpu/bits/mathinline.h: This.
8312 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
8313
ed1825f8
L
8314 [BZ #14050]
8315 [BZ #14117]
8316 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
8317 functions if __x86_64__ is defined.
8318
36d54b74
CLT
83192012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
8320
8321 * string/endian.h: Add !__ASSEMBLER__ condition for including
8322 conversion interfaces.
8323
10285c21
JM
83242012-06-15 Joseph Myers <joseph@codesourcery.com>
8325
8326 [BZ #14241]
8327 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
8328 of ABS(x) in calculating zero to negative powers other than odd
8329 integers.
8330 * math/libm-test.inc (pow_test): Add more tests.
8331
06c5abbd
AJ
83322012-06-15 Andreas Jaeger <aj@suse.de>
8333
8334 * manual/contrib.texi (Contributors): Update entry of Liubov
8335 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
8336 Machado Filho.
8337
a3aeac40
CH
83382012-06-15 Cyril Hrubis <metan@ucw.cz>
8339
8340 * string/string.h: Add __wur to GNU version of strerror_r.
8341
49bdf4c1
L
83422012-06-14 H.J. Lu <hongjiu.lu@intel.com>
8343
8344 [BZ #14229]
8345 * string/Makefile (tests): Add tst-strtok_r.
8346 * string/tst-strtok_r.c: New file.
8347 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
8348 RAX_LP/RDX_LP on SAVE_PTR.
8349
834f9b8d
RM
83502012-06-14 Roland McGrath <roland@hack.frob.com>
8351
8352 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
8353
75fa1921
JM
83542012-06-14 Joseph Myers <joseph@codesourcery.com>
8355
8356 * libm_test.inc (csqrt_test): Allow more spurious underflow
8357 exceptions.
8358 (j0_test): Likewise.
8359 (j1_test): Likewise.
8360 (y0_test): Likewise.
8361 (y1_test): Likewise.
8362
771766df
CD
83632012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
8364
8365 * po/Makefile (libc.pot): Use UTF-8 charset.
8366
ceb9e56b
PP
83672012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
8368
8369 [BZ #14210]
8370 Suppress sign-conversion warning from FD_SET.
8371 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
8372 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
8373 not unsigned long int.
8374 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
8375
ddb28975
L
83762012-06-12 H.J. Lu <hongjiu.lu@intel.com>
8377
8378 [BZ #14050]
8379 [BZ #14117]
8380 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
8381 __extern_always_inline instead of __extern_inline.
8382 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
8383 (__signbit): Likewise.
8384 (__signbitl): Support C++ namespace.
8385 (lrintf): New inline function.
8386 (lrint): Likewise.
8387 (llrintf): Likewise.
8388 (llrint): Likewise.
8389 (fmaxf): Likewise.
8390 (fmax): Likewise.
8391 (fminf): Likewise.
8392 (fmin): Likewise.
8393 (rint): Likewise.
8394 (rintf): Likewise.
8395 (ceil): Likewise.
8396 (ceilf): Likewise.
8397 (floor): Likewise.
8398 (floorf): Likewise.
8399 (nearbyint): Likewise.
8400 (nearbyintf): Likewise.
8401
d7b4fb26
TS
84022012-06-12 Thomas Schwinge <thomas@codesourcery.com>
8403
8404 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
8405 non-default versions.
8406
eb55f5c2
RM
84072012-06-11 Roland McGrath <roland@hack.frob.com>
8408
8409 [BZ #14218]
8410 * manual/argp.texi (Argp): Reword argp_parse description slightly.
8411
366af02c
TS
84122012-06-09 Thomas Schwinge <thomas@codesourcery.com>
8413
99ff6e5c
TS
8414 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
8415 (FE_UPWARD, FE_DOWNWARD): Don't define.
8416 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
8417 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
8418
366af02c
TS
8419 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
8420 reading it.
8421 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
8422 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
8423
793ea851
KK
84242012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8425
8426 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
8427 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
8428 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
8429 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
8430
a728a38f
L
84312012-06-06 H.J. Lu <hongjiu.lu@intel.com>
8432
8433 [BZ #14117]
c08010c7
L
8434 * sysdeps/i386/fpu/bits/fenv.h: Removed.
8435 * sysdeps/i386/fpu/Implies: New file.
8436 * sysdeps/x86_64/fpu/Implies: Likewise.
8437 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
8438 * sysdeps/x86/fpu/bits/fenv.h: This.
8439
a728a38f
L
8440 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
8441 __SSE_MATH__.
8442
6e230d11
SP
84432012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
8444
8445 [BZ #14134]
8446 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
8447 character 0xffff that matches the last element of the
8448 conversion table.
8449
1b671feb
AZ
84502012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8451
8452 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
8453 fmodl commit.
8454
6043738b
AZ
84552012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8456
8457 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
8458 values higher than 25.6283.
8459
34ae0b32
AZ
84602012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8461
8462 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
8463 subnormal exponent extraction and add some __builtin_expect.
8464 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
8465 Fix for subnormal mantissa calculation.
8466
1214ec8f
MF
84672012-06-04 Mike Frysinger <vapier@gentoo.org>
8468
8469 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
8470 cpu2 is -1 and errno is not ENOSYS.
8471
f3d1f93c
L
84722012-06-04 H.J. Lu <hongjiu.lu@intel.com>
8473
8474 [BZ #14117]
0e4a3cd7
L
8475 * sysdeps/i386/i486/bits/string.h: Renamed to ...
8476 * sysdeps/x86/bits/string.h: This.
8477 * sysdeps/x86_64/bits/string.h: Removed.
8478
6704c645
L
8479 * sysdeps/i386/i486/bits/string.h: Define inline functions only
8480 if not compiling for x86-64, but compiling for >= i486.
8481
48495318
L
8482 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
8483 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
8484
14adcbfc
L
8485 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
8486 New macro from Linux kernel 3.4.0.
8487 (FP_XSTATE_MAGIC2): Likewise.
8488 (FP_XSTATE_MAGIC2_SIZE): Likewise.
8489 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
8490 (struct _fpx_sw_bytes): New struct.
8491 (struct _xsave_hdr): Likewise.
8492 (struct _ymmh_state): Likewise.
8493 (struct _xstate): Likewise.
8494
68e408ab
L
8495 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
8496 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
8497 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
8498 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
8499 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
8500 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
8501
f3d1f93c
L
8502 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
8503 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
8504 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
8505 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
8506 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
8507 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
8508
d9dc34cd
TMQMF
85092012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8510
8511 [BZ #13743]
8512 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
8513 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
8514 (sysdep_headers): Include sys/platform/ppc.h.
8515 * sysdeps/powerpc/test-gettimebase.c: Test for
8516 __ppc_get_timebase() to catch future ISA opcode/insn changes.
8517 * manual/Makefile (appendices): Include platform.texi.
8518 * manual/contrib.texi (Contributors): Update @node pointers.
8519 * manual/maint.texi (Maintenance): Likewise.
8520 (Platform): New node.
8521 * manual/platform.texi: New file. Document the new features.
8522
4af3879c
SP
85232012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8524 Jakub Jelinek <jakub@redhat.com>
8525
8526 [BZ #14188]
8527 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
8528 where __builtin_expect is unavailable.
8529
2fd6ff13
DM
85302012-06-03 David S. Miller <davem@davemloft.net>
8531
8532 * stdlib/longlong.h: Updated from GCC.
8533
173f7220
AS
85342012-06-02 Andreas Schwab <schwab@linux-m68k.org>
8535
8536 [BZ #14042]
8537 * sysdeps/powerpc/powerpc32/mcount.c: New file.
8538 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
8539 __mcount_internal.
8540 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
8541 (GLIBC_2.16): Likewise.
8542
f34a1c6f
L
85432012-06-01 H.J. Lu <hongjiu.lu@intel.com>
8544
8545 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
8546
88a4576f
JM
85472012-06-01 Joseph Myers <joseph@codesourcery.com>
8548
ea32bcdd
JM
8549 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
8550 (default-abi): New variable.
8551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
8552 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
8553 variable.
8554 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
8555 Likewise.
8556 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
8557 Likewise.
8558 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
8559 Likewise.
8560
88a4576f
JM
8561 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
8562 definition. Document in comment.
8563
402fe938
DM
85642012-06-01 David S. Miller <davem@davemloft.net>
8565
8566 * stdlib/longlong.h: Updated from GCC.
8567
3553723f
L
85682012-06-01 H.J. Lu <hongjiu.lu@intel.com>
8569
8570 [BZ #14117]
3bd872c4
L
8571 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
8572 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
8573 sys/debugreg.h sys/io.h here.
8574 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
8575 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
8576 sys/io.h.
8577 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
8578 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
8579 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
8580 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
8581 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
8582 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
8583
3553723f
L
8584 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
8585 Define only if __x86_64__ is defined.
8586
4842e4fe
JM
85872012-06-01 Joseph Myers <joseph@codesourcery.com>
8588
c5bfe3d5
JM
8589 [BZ #14048]
8590 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
8591 Use int64_t for variable i.
8592 * math/libm-test.inc (fmod_test): Add more tests.
8593
4842e4fe
JM
8594 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
8595 z computation is not scheduled after fetestexcept.
8596 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
8597 Use math_force_eval instead of asm to ensure calculation scheduled
8598 before exception test.
8599 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
8600 Ensure a1 + u.d computation is not scheduled after fetestexcept.
8601
efb73488
AJ
86022012-06-01 Aurelien Jarno <aurelien@aurel32.net>
8603
8604 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
8605 computation is not scheduled after fetestexcept.
8606
29bcce7c
L
86072012-06-01 H.J. Lu <hongjiu.lu@intel.com>
8608
8609 [BZ #14117]
8610 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
8611 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
8612
73a68f94
AZ
86132012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8614
8615 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
8616 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
8617
67b6df78
L
86182012-05-31 H.J. Lu <hongjiu.lu@intel.com>
8619
edf2933a 8620 [BZ #14117]
ebc64a18
L
8621 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
8622 <bits/wordsize.h>.
8623 (__WCHAR_MIN): Support __WORDSIZE == 64.
8624 (__WCHAR_MAX): Likewise.
8625
edf2933a
L
8626 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
8627 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
8628
57c6cf40
L
8629 [BZ #14183]
8630 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
8631 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
8632
67b6df78 8633 [BZ #14117]
8eb6281e
L
8634 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
8635 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
8636
aac639f4
L
8637 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
8638 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
8639
67b6df78
L
8640 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
8641 Defined to 1 if __x86_64__ isn't defined.
8642 (_STAT_VER_LINUX_OLD): New.
8643 (st_atime): Remove duplicate.
8644 (st_mtime): Likewise.
8645 (st_ctime): Likewise.
8646
1c2cfe81
DM
86472012-05-31 David S. Miller <davem@davemloft.net>
8648
8649 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
8650 entries.
8651
5be8418c
AS
86522012-06-01 Andreas Schwab <schwab@linux-m68k.org>
8653
e7725326
AS
8654 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
8655 gen-libm-test.pl.
8656
5be8418c
AS
8657 [BZ #14132]
8658 * elf/dl-reloc.c: Include <_itoa.h>.
8659 (_dl_reloc_bad_type): Remove use of INTUSE.
8660 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
8661 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
8662 * stdio-common/psiginfo.c (psiginfo): Likewise.
8663 * stdio-common/psignal.c (psignal): Likewise.
8664 * string/strsignal.c (strsignal): Likewise.
8665 * include/signal.h (_sys_siglist): Declare hidden proto.
8666 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
8667 INTVARDEF with libc_hidden_data_def.
8668 * stdio-common/itoa-udigits.c: Likewise.
8669 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
8670 (_itoa_lower_digits_internal): Remove declaration.
8671 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
8672 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
8673 (_sys_sigabbrev_internal): Remove aliases.
8674 (_sys_siglist): Define hidden alias.
8675
507352f1
MT
86762012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
8677
8678 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8679 bits/sysctl.h.
8680
42bbb1c3
L
86812012-05-31 H.J. Lu <hongjiu.lu@intel.com>
8682
8683 [BZ #14117]
6bd784b6
L
8684 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
8685 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
8686
8bca20f0
L
8687 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
8688 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
8689 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
8690 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
8691 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
8692 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
8693
f9e890a9
L
8694 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
8695 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
8696 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
8697
471101a1
L
8698 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
8699 with __addr.
8700 (insw): Likewise.
8701 (insl): Likewise.
8702 (outsb): Likewise.
8703 (outsw): Likewise.
8704 (outsl): Likewise.
8705
6451c862
L
8706 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
8707 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
8708 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
8709
a254b8c9
L
8710 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
8711 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
8712 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
8713 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
8714 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
8715 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
8716
b8dfdd92
L
8717 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
8718 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
8719
578cd270
L
8720 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
8721 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
8722
de662f5f
L
8723 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
8724 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
8725 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
8726
25653439
L
8727 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
8728 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
8729 to ...
8730 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
8731
6bad24a0
L
8732 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
8733 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
8734 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
8735
42bbb1c3
L
8736 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
8737 for x86-64.
8738 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
8739
2d10d547
JM
87402012-05-31 Joseph Myers <joseph@codesourcery.com>
8741
8742 * math/math.h (M_El): Use two more decimal places.
8743 (M_LOG2El): Likewise.
8744 (M_LOG10El): Likewise.
8745 (M_LN2l): Likewise.
8746 (M_LN10l): Likewise.
8747 (M_PIl): Likewise.
8748 (M_PI_2l): Likewise.
8749 (M_PI_4l): Likewise.
8750 (M_1_PIl): Likewise.
8751 (M_2_PIl): Likewise.
8752 (M_2_SQRTPIl): Likewise.
8753 (M_SQRT2l): Likewise.
8754 (M_SQRT1_2l): Likewise.
8755
f230c29b
DM
87562012-05-31 David S. Miller <davem@davemloft.net>
8757
8758 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
8759 values between float registers.
8760 * sysdeps/sparc/sparc64/memset.S: Likewise.
8761 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
8762
fed806c3
MF
87632012-05-31 Mike Frysinger <vapier@gentoo.org>
8764
8765 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
8766 -D_FORTIFY_SOURCE=1.
8767 (CPPFLAGS-tst-longjmp_chk.c): Define.
8768 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
8769 (CPPFLAGS-tst-longjmp_chk2.c): Define.
8770 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
8771 CFLAGS-tst-wchar-h.c.
8772
30917259
MP
87732012-05-31 Marek Polacek <polacek@redhat.com>
8774
8775 [BZ #14132]
8776 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
8777 __endmntent_internal): Remove declaration.
8778 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
8779 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
8780 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
8781
1c58d5dc
DM
87822012-05-30 David S. Miller <davem@davemloft.net>
8783
8784 * sysdeps/sparc/sparc32/soft-fp/q_util.c
8785 (___Q_simulate_exceptions): Use real FP ops rather than writing
8786 into the %fsr.
8787 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
8788 Likewise.
8789
7dc00e0d
L
87902012-05-30 H.J. Lu <hongjiu.lu@intel.com>
8791
8792 [BZ #14117]
0bd53985
L
8793 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
8794 * sysdeps/x86/bits/xtitypes.h: This.
8795
3a257e66
L
8796 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
8797 * sysdeps/x86/bits/wordsize.h: This.
8798
62f62904
L
8799 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
8800 * sysdeps/x86/bits/huge_vall.h: This.
8801
404fe9d9
L
8802 * sysdeps/i386/bits/select.h: Removed.
8803 * sysdeps/x86_64/bits/select.h: Renamed to ...
8804 * sysdeps/x86/bits/select.h: This.
8805
d48d0446
L
8806 * sysdeps/i386/bits/setjmp.h: Removed.
8807 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
8808 * sysdeps/x86/bits/setjmp.h: This.
8809
7dc00e0d
L
8810 * sysdeps/i386/bits/mathdef.h: Removed.
8811 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
8812 * sysdeps/x86/bits/mathdef.h: This.
8813
03277f8f
AS
88142012-05-30 Andreas Schwab <schwab@linux-m68k.org>
8815
8816 [BZ #14132]
8817 * include/sys/socket.h (__connect_internal)
8818 (__libc_sa_len_internal): Remove declaration.
8819 (__connect, __libc_sa_len): Declare hidden_proto.
8820 (SA_LEN): Remove use of INTUSE.
8821 * socket/connect.c: Add libc_hidden_def.
8822 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
8823 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
8824 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
8825 alias.
8826 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
8827 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
8828 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
8829 of adding _internal alias.
8830
13764867
L
88312012-05-30 H.J. Lu <hongjiu.lu@intel.com>
8832
8833 [BZ #14117]
6bd97696
L
8834 * sysdeps/i386/bits/link.h: Removed.
8835 * sysdeps/i386/bits/linkmap.h: Likewise.
8836 * sysdeps/x86_64/bits/link.h: Renamed to ...
8837 * sysdeps/x86/bits/link.h: This.
8838 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
8839 * sysdeps/x86/bits/linkmap.h: This.
8840
f726f0bb
L
8841 * sysdeps/i386/bits/endian.h: Removed.
8842 * sysdeps/x86_64/bits/endian.h: Renamed to ...
8843 * sysdeps/x86/bits/endian.h: This.
8844
13764867
L
8845 * sysdeps/i386/bits/byteswap.h: Removed.
8846 * sysdeps/i386/bits/byteswap-16.h: Likewise.
8847 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
8848 * sysdeps/x86/bits/byteswap.h: This.
8849 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
8850 * sysdeps/x86/bits/byteswap-16.h: This.
8851 * sysdeps/i386/Implies: Add x86.
8852 * sysdeps/x86_64/Implies: Likewise.
8853
ae251b0b
DM
88542012-05-30 David S. Miller <davem@davemloft.net>
8855
8856 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
8857 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
8858 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
8859 (FP_TRAPPING_EXCEPTIONS): Define.
8860 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
8861 (FP_TRAPPING_EXCEPTIONS): Define.
8862 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
8863 subnormals only when inexact has been signalled or underflow
8864 exceptions are enabled.
8865 (_FP_PACK_CANONICAL): Likewise.
8866
d5c90867
L
88672012-05-30 H.J. Lu <hongjiu.lu@intel.com>
8868
8869 [BZ #14183]
8870 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
8871 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
8872
63f1549e
RH
88732012-05-30 Richard Henderson <rth@twiddle.net>
8874
8d8f2279
RH
8875 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
8876 with #ifndef NOT_IN_libc.
8877
63f1549e
RH
8878 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
8879 marked to avoid plt entry.
8880
0ab0291b
L
88812012-05-30 H.J. Lu <hongjiu.lu@intel.com>
8882
8883 [BZ #14112]
8884 * Makeconfig (default-abi): New macro.
8885 (abi-includes): Likewise.
8886 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
8887 $(abi-$(default-abi)-lib-soname) for soname if defined.
8888 ($(common-objpfx)gnu/lib-names.stmp): Generate from
8889 abi-variants.
8890 * Makefile (installed-stubs): Likewise.
8891 * include/stubs-biarch.h: Removed.
8892 * scripts/lib-names.awk: Only handle one library at a time.
8893 * scripts/soversions.awk: Remove WORDSIZE support.
8894 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
8895 entries.
8896 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
8897 Removed.
8898 (syscall-list-default-condition): Likewise.
8899 (syscall-list-default-condition): Likewise.
8900 (syscall-list-includes): Likewise.
8901 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
8902 syscall-list-* with abi-*. Handle undefined abi-variants.
8903 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
8904 * sysdeps/unix/sysv/linux/i386/Implies: New file.
8905 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
8906 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
8907 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
8908 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
8909 Removed.
8910 (syscall-list-32-options): Likewise.
8911 (syscall-list-32-condition): Likewise.
8912 (syscall-list-64-options): Likewise.
8913 (syscall-list-64-condition): Likewise.
8914 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
8915 macro.
8916 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
8917 Renamed to ...
8918 (abi-*): This.
8919 (abi-64-ld-soname): New macro.
8920 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
8921 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
8922 Renamed to ...
8923 (abi-*): This.
8924 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
8925 * sysdeps/x86_64/x32/shlib-versions: Likewise.
8926
4da0431d
JM
89272012-05-30 Joseph Myers <joseph@codesourcery.com>
8928
3a85279c
JM
8929 * sysdeps/unix/sysv/linux/kernel-features.h
8930 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
8931 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
8932 include <kernel-features.h>.
8933 [!__NR_ftruncate64]: Remove conditional code.
8934 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8935 [__NR_ftruncate64]: Make code unconditional.
8936 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8937 * sysdeps/unix/sysv/linux/truncate64.c: Do not
8938 include <kernel-features.h>.
8939 [!__NR_ftruncate64]: Remove conditional code.
8940 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8941 [__NR_ftruncate64]: Make code unconditional.
8942 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8943 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
8944 include <kernel-features.h>.
8945 [!__NR_ftruncate64]: Remove conditional code.
8946 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8947 [__NR_ftruncate64]: Make code unconditional.
8948 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8949 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
8950 include <kernel-features.h>.
8951 [!__NR_ftruncate64]: Remove conditional code.
8952 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8953 [__NR_ftruncate64]: Make code unconditional.
8954 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8955
4da0431d
JM
8956 * configure.in (libc_cv_fpie): Weaken to a compile test using
8957 LIBC_TRY_CC_OPTION.
8958 * configure: Regenerated.
8959
11ef492c
AK
89602012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8961
8962 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
8963 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
8964 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
8965 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
8966 Refreshed.
8967 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
8968 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
8969 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
8970 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
8971 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
8972 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
8973 Refreshed.
8974
d66ef399
DM
89752012-05-27 David S. Miller <davem@davemloft.net>
8976
8977 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
8978 (___Q_zero): New.
8979 (__Q_simulate_exceptions): Return void. Change to simulate
8980 exceptions by writing into the %fsr.
8981 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
8982 (__Qp_handle_exceptions): Likewise.
8983 (numbers): Delete.
8984 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
8985 __Qp_handle_exceptions.
8986 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
8987 __Qp_handle_exceptions.
8988 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
8989 as unused and give dummy FP_RND_NEAREST initializer.
8990 (FP_INHIBIT_RESULTS): Define.
8991 (___Q_simulate_exceptions): Update declaration.
8992 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
8993 formatting.
8994 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
8995 as unused and give dummy FP_RND_NEAREST initializer.
8996 (__Qp_handle_exceptions): Update declaration.
8997 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
8998 formatting.
8999
04fb54b5
TS
90002012-05-27 Thomas Schwinge <thomas@codesourcery.com>
9001
9002 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
9003 the temporary FPU control word.
9004 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
9005 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
9006 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
9007 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
9008 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
9009 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
9010 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
9011 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
9012 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
9013 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
9014 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
9015
3f99608f
KK
90162012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9017
9018 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
9019 fields.
9020
65a4de4e
CLT
90212012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
9022
9023 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
9024 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
9025 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
9026 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
9027 Likewise.
9028 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
9029 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
9030 Likewise.
9031
15749d40
UD
90322012-05-27 Ulrich Drepper <drepper@gmail.com>
9033
9034 * po/h.po: Update from translation team.
9035
25dbcb27
AS
90362012-05-26 Andreas Schwab <schwab@linux-m68k.org>
9037
3d3f8e55
AS
9038 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
9039
25dbcb27
AS
9040 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
9041 handling of denormals.
9042 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
9043 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
9044 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
9045 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
9046 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9047 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
9048 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
9049 Likewise.
9050
7ad47a80 90512012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
9052
9053 [BZ #14152]
9054 * math/libm-test.inc (fma_test): Don't always expect underflow
9055 exception.
9056
9c6ea9fa
SP
90572012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9058
9059 [BZ #12416]
9060 * elf/tst-execstack.c: Include stackinfo.h.
9061 (do_test): Adjust test case to ensure that pthread_getattr_np
9062 behaviour remains the same after marking stack executable.
9063
a8239222
JM
90642012-05-25 Joseph Myers <joseph@codesourcery.com>
9065
9066 * sysdeps/unix/sysv/linux/kernel-features.h
9067 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
9068 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
9069 kernel-features.h.
9070 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
9071 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
9072 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
9073 kernel-features.h.
9074 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
9075 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
9076
918b5606
L
90772012-05-25 H.J. Lu <hongjiu.lu@intel.com>
9078
9079 * configure.in: Define the default includes to being none.
9080 * configure: Regenerated.
9081
3a097cc7
RM
90822012-05-25 Roland McGrath <roland@hack.frob.com>
9083
8422c9a5
RM
9084 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
9085 * sysdeps/x86_64/setjmp.S: Likewise.
9086 * sysdeps/i386/bsd-setjmp.S: Likewise.
9087 * sysdeps/i386/bsd-_setjmp.S: Likewise.
9088 * sysdeps/i386/setjmp.S: Likewise.
9089 * sysdeps/i386/__longjmp.S: Likewise.
9090 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
9091 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
9092
3a097cc7
RM
9093 * include/stap-probe.h: New file.
9094 * configure.in: Handle --enable-systemtap.
9095 * configure: Regenerated.
9096 * config.h.in (USE_STAP_PROBE): New #undef.
9097 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
9098 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
9099 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
9100
21708942
JM
91012012-05-25 Joseph Myers <joseph@codesourcery.com>
9102
9103 [BZ #13717]
9104 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
9105 to 2.4.0 where earlier.
9106 * sysdeps/unix/sysv/linux/configure: Regenerated.
9107 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
9108 <kernel-features.h>.
9109 [__ASSUME_32BITUIDS]: Make code unconditional.
9110 [!__ASSUME_32BITUIDS]: Remove conditional code.
9111 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
9112 <kernel-features.h>.
9113 [__ASSUME_32BITUIDS]: Make code unconditional.
9114 [!__ASSUME_32BITUIDS]: Remove conditional code.
9115 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
9116 [__ASSUME_32BITUIDS]: Make code unconditional.
9117 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
9118 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
9119 <kernel-features.h>.
9120 [__ASSUME_32BITUIDS]: Make code unconditional.
9121 [!__ASSUME_32BITUIDS]: Remove conditional code.
9122 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
9123 <kernel-features.h>.
9124 [__ASSUME_32BITUIDS]: Make code unconditional.
9125 [!__ASSUME_32BITUIDS]: Remove conditional code.
9126 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
9127 <kernel-features.h>.
9128 [__ASSUME_32BITUIDS]: Make code unconditional.
9129 [!__ASSUME_32BITUIDS]: Remove conditional code.
9130 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
9131 <kernel-features.h>.
9132 [__ASSUME_32BITUIDS]: Make code unconditional.
9133 [!__ASSUME_32BITUIDS]: Remove conditional code.
9134 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
9135 <kernel-features.h>.
9136 [__ASSUME_32BITUIDS]: Make code unconditional.
9137 [!__ASSUME_32BITUIDS]: Remove conditional code.
9138 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
9139 <kernel-features.h>.
9140 [__ASSUME_32BITUIDS]: Make code unconditional.
9141 [!__ASSUME_32BITUIDS]: Remove conditional code.
9142 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
9143 <kernel-features.h>.
9144 [__ASSUME_32BITUIDS]: Make code unconditional.
9145 [!__ASSUME_32BITUIDS]: Remove conditional code.
9146 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
9147 <kernel-features.h>.
9148 [__ASSUME_32BITUIDS]: Make code unconditional.
9149 [!__ASSUME_32BITUIDS]: Remove conditional code.
9150 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
9151 <kernel-features.h>.
9152 [__ASSUME_32BITUIDS]: Make code unconditional.
9153 [!__ASSUME_32BITUIDS]: Remove conditional code.
9154 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
9155 <kernel-features.h>.
9156 [__ASSUME_32BITUIDS]: Make code unconditional.
9157 [!__ASSUME_32BITUIDS]: Remove conditional code.
9158 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
9159 <kernel-features.h>.
9160 [__NR_setresgid] (__setresgid): Do not declare.
9161 [__ASSUME_32BITUIDS]: Make code unconditional.
9162 [!__ASSUME_32BITUIDS]: Remove conditional code.
9163 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
9164 <kernel-features.h>.
9165 [__NR_setresuid] (__setresuid): Do not declare.
9166 [__ASSUME_32BITUIDS]: Make code unconditional.
9167 [!__ASSUME_32BITUIDS]: Remove conditional code.
9168 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
9169 <kernel-features.h>.
9170 [__ASSUME_32BITUIDS]: Make code unconditional.
9171 [!__ASSUME_32BITUIDS]: Remove conditional code.
9172 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
9173 <kernel-features.h>.
9174 [__ASSUME_32BITUIDS]: Make code unconditional.
9175 [!__ASSUME_32BITUIDS]: Remove conditional code.
9176 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
9177 <kernel-features.h>.
9178 [__ASSUME_32BITUIDS]: Make code unconditional.
9179 [!__ASSUME_32BITUIDS]: Remove conditional code.
9180 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
9181 <kernel-features.h>.
9182 [__ASSUME_32BITUIDS]: Make code unconditional.
9183 [!__ASSUME_32BITUIDS]: Remove conditional code.
9184 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
9185 <kernel-features.h>.
9186 [__ASSUME_32BITUIDS]: Make code unconditional.
9187 [!__ASSUME_32BITUIDS]: Remove conditional code.
9188 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
9189 <kernel-features.h>.
9190 [__ASSUME_32BITUIDS]: Make code unconditional.
9191 [!__ASSUME_32BITUIDS]: Remove conditional code.
9192 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
9193 <kernel-features.h>.
9194 [__ASSUME_32BITUIDS]: Make code unconditional.
9195 [!__ASSUME_32BITUIDS]: Remove conditional code.
9196 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
9197 <kernel-features.h>.
9198 [__ASSUME_32BITUIDS]: Make code unconditional.
9199 [!__ASSUME_32BITUIDS]: Remove conditional code.
9200 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
9201 <kernel-features.h>.
9202 [__ASSUME_32BITUIDS]: Make code unconditional.
9203 [!__ASSUME_32BITUIDS]: Remove conditional code.
9204 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
9205 <kernel-features.h>.
9206 [__ASSUME_32BITUIDS]: Make code unconditional.
9207 [!__ASSUME_32BITUIDS]: Remove conditional code.
9208 * sysdeps/unix/sysv/linux/kernel-features.h
9209 (__ASSUME_SETRESUID_SYSCALL): Remove.
9210 (__ASSUME_SETRESGID_SYSCALL): Likewise.
9211 (__ASSUME_32BITUIDS): Likewise.
9212 (__ASSUME_LDT_WORKS): Likewise.
9213 (__ASSUME_O_DIRECTORY): Likewise.
9214 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
9215 architecture but not kernel version.
9216 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
9217 (__ASSUME_MMAP2_SYSCALL): Likewise.
9218 (__ASSUME_STAT64_SYSCALL): Likewise.
9219 (__ASSUME_IPC64): Likewise.
9220 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
9221 <kernel-features.h>.
9222 [__ASSUME_32BITUIDS]: Make code unconditional.
9223 [!__ASSUME_32BITUIDS]: Remove conditional code.
9224 * sysdeps/unix/sysv/linux/opendir.c: Do not include
9225 <kernel-features.h>.
9226 [__ASSUME_O_DIRECTORY]: Make code unconditional.
9227 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
9228 132096]: Remove conditional code.
9229 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
9230 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
9231 <kernel-features.h>.
9232 [__ASSUME_32BITUIDS]: Make code unconditional.
9233 [!__ASSUME_32BITUIDS]: Remove conditional code.
9234 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
9235 <kernel-features.h>.
9236 [__ASSUME_32BITUIDS]: Make code unconditional.
9237 [!__ASSUME_32BITUIDS]: Remove conditional code.
9238 * sysdeps/unix/sysv/linux/setegid.c: Do not include
9239 <kernel-features.h>.
9240 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
9241 unconditional.
9242 (__setresgid): Do not declare.
9243 [__ASSUME_32BITUIDS]: Make code unconditional.
9244 [!__ASSUME_32BITUIDS]: Remove conditional code.
9245 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
9246 <kernel-features.h>.
9247 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
9248 unconditional.
9249 (__setresuid): Do not declare.
9250 [__ASSUME_32BITUIDS]: Make code unconditional.
9251 [!__ASSUME_32BITUIDS]: Remove conditional code.
9252 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
9253 <kernel-features.h>.
9254 [__ASSUME_32BITUIDS]: Make code unconditional.
9255 [!__ASSUME_32BITUIDS]: Remove conditional code.
9256 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
9257 <kernel-features.h>.
9258 [__ASSUME_32BITUIDS]: Make code unconditional.
9259 [!__ASSUME_32BITUIDS]: Remove conditional code.
9260
a386f1cc
RH
92612012-05-25 Richard Henderson <rth@twiddle.net>
9262
9263 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
9264 dl_hwcap to ifunc resolver.
9265 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
9266 elf_ifunc_invoke.
9267 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
9268 dl_hwcap to ifunc resolver.
9269 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
9270
b6550497
JM
92712012-05-24 Joseph Myers <joseph@codesourcery.com>
9272
9273 [BZ #14153]
9274 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
9275 for |x| <= 2**-26, not 2**-57.
9276 * math/libm-test.inc (acos_test): Do not allow spurious underflow
9277 exception.
9278
b0bc23a1
JL
92792012-05-24 Jeff Law <law@redhat.com>
9280
9281 * stdio-common/Makefile (tests): Add bug25.
9282 * stdio-common/bug25.c: New test.
9283
347c92e9
L
92842012-05-24 H.J. Lu <hongjiu.lu@intel.com>
9285
9286 [BZ #13576]
9287 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
9288 multiple of MALLOC_ALIGNMENT in size.
9289 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
9290
6bcc8b3f
JM
92912012-05-24 Joseph Myers <joseph@codesourcery.com>
9292
9293 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
9294 Require >= 256.
9295 (FILENAME_MAX): Use macro-int-constant.
9296 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
9297 (_IOFBF): Use macro-int-constant.
9298 (_IOLBF): Likewise.
9299 (_IONBF): Likewise.
9300 (SEEK_CUR): Likewise.
9301 (SEEK_END): Likewise.
9302 (SEEK_SET): Likewise.
9303 (TMP_MAX): Likewise.
9304 (EOF): Use macro-int-constant. Require < 0.
9305 (NULL): Use macro-constant. Require == 0.
9306 (stdin): Require type to be FILE *.
9307 (stdout): Likewise.
9308 (stderr): Likewise.
9309 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
9310 macro-int-constant.
9311 (EXIT_SUCCESS): Likewise.
9312 (NULL): Use macro-constant. Require == 0.
9313 (RAND_MAX): Use macro-int-constant.
9314 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
9315 [C99-based standards] (strtof): Require function.
9316 [C99-based standards] (strtold): Likewise.
9317 [C99-based standards] (strtoll): Likewise.
9318 [C99-based standards] (strtoull): Likewise.
9319 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
9320 [ISO || ISO99 || ISO11] (limits.h): Likewise.
9321 [ISO || ISO99 || ISO11] (math.h): Likewise.
9322 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
9323 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
9324 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9325
d18ea0c5
AS
93262012-05-24 Andreas Schwab <schwab@linux-m68k.org>
9327
9328 [BZ #14132]
56d25bb8
AS
9329 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
9330 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
9331 * intl/dgettext.c (DCGETTEXT): Likewise.
9332 * intl/gettext.c (DCGETTEXT): Likewise.
9333 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
9334 * posix/regex_internal.h (gettext): Likewise.
9335 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
9336 Remove declaration.
9337 * include/argz.h (__argz_count_internal)
9338 (__argz_stringify_internal): Remove declaration.
9339 (__argz_count, __argz_stringify): Declare hidden proto.
9340 * intl/dcgettext.c: Remove use of INTDEF.
9341 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
9342 * string/argz-stringify.c: Likewise.
9343 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
9344 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
9345 Declare hidden proto.
d18ea0c5
AS
9346 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
9347 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
9348 Declare hidden proto.
9349 * include/stdio.h (__asprintf_internal): Don't declare.
9350 (__asprintf): Don't define as macro. Declare hidden proto.
9351 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
9352 (__fsetlocking): Declare hidden proto.
9353 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
9354 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
9355 hidden proto.
9356 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
9357 (_IO_setlinebuf): Remove use of INTUSE.
9358 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
9359 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
9360 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
9361 Remove declaration.
9362 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
9363 (_IO_do_flush): Remove use of INTUSE.
9364 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
9365 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
9366 (_IO_adjust_column, _IO_least_wmarker)
9367 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
9368 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
9369 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
9370 (_IO_default_doallocate, _IO_wdefault_doallocate)
9371 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
9372 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
9373 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
9374 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
9375 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
9376 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
9377 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
9378 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
9379 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
9380 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
9381 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
9382 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
9383 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
9384 proto.
9385 (_IO_flush_all_internal, _IO_adjust_column_internal)
9386 (_IO_default_uflow_internal, _IO_default_finish_internal)
9387 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
9388 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
9389 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
9390 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
9391 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
9392 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
9393 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
9394 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
9395 (_IO_file_close_internal, _IO_file_close_it_internal)
9396 (_IO_file_underflow_internal, _IO_file_overflow_internal)
9397 (_IO_file_init_internal, _IO_file_attach_internal)
9398 (_IO_file_fopen_internal, _IO_file_read_internal)
9399 (_IO_file_sync_internal, _IO_file_seek_internal)
9400 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
9401 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
9402 (_IO_str_underflow_internal, _IO_str_overflow_internal)
9403 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
9404 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
9405 (_IO_list_all_internal, _IO_link_in_internal)
9406 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
9407 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
9408 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
9409 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
9410 (_IO_do_write_internal, _IO_padn_internal)
9411 (_IO_getline_info_internal, _IO_getline_internal)
9412 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
9413 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
9414 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
9415 (_IO_vfscanf_internal, _IO_vfprintf_internal)
9416 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
9417 (_IO_init_internal, _IO_un_link_internal): Don't declare.
9418 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
9419 with libc_hidden_ver, remove use of INTUSE.
9420 * libio/genops.c: Likewise.
9421 * libio/freopen.c: Likewise.
9422 * libio/freopen64.c: Likewise.
9423 * libio/iofclose.c: Likewise.
9424 * libio/iofdopen.c: Likewise.
9425 * libio/iofflush.c: Likewise.
9426 * libio/iofflush_u.c: Likewise.
9427 * libio/iofgets.c: Likewise.
9428 * libio/iofgets_u.c: Likewise.
9429 * libio/iofopen.c: Likewise.
9430 * libio/iofopncook.c: Likewise.
9431 * libio/iofread.c: Likewise.
9432 * libio/iofread_u.c: Likewise.
9433 * libio/ioftell.c: Likewise.
9434 * libio/iofwrite.c: Likewise.
9435 * libio/iogetline.c: Likewise.
9436 * libio/iogets.c: Likewise.
9437 * libio/iogetwline.c: Likewise.
9438 * libio/iopadn.c: Likewise.
9439 * libio/iopopen.c: Likewise.
9440 * libio/ioseekoff.c: Likewise.
9441 * libio/ioseekpos.c: Likewise.
9442 * libio/iosetbuffer.c: Likewise.
9443 * libio/iosetvbuf.c: Likewise.
9444 * libio/ioungetc.c: Likewise.
9445 * libio/ioungetwc.c: Likewise.
9446 * libio/iovdprintf.c: Likewise.
9447 * libio/iovsprintf.c: Likewise.
9448 * libio/iovsscanf.c: Likewise.
9449 * libio/memstream.c: Likewise.
9450 * libio/obprintf.c: Likewise.
9451 * libio/oldfileops.c: Likewise.
9452 * libio/oldiofclose.c: Likewise.
9453 * libio/oldiofdopen.c: Likewise.
9454 * libio/oldiofopen.c: Likewise.
9455 * libio/oldiopopen.c: Likewise.
9456 * libio/oldstdfiles.c: Likewise.
9457 * libio/putc.c: Likewise.
9458 * libio/setbuf.c: Likewise.
9459 * libio/setlinebuf.c: Likewise.
9460 * libio/stdfiles.c: Likewise.
9461 * libio/strops.c: Likewise.
9462 * libio/vasprintf.c: Likewise.
9463 * libio/vscanf.c: Likewise.
9464 * libio/vsnprintf.c: Likewise.
9465 * libio/vswprintf.c: Likewise.
9466 * libio/wfiledoalloc.c: Likewise.
9467 * libio/wfileops.c: Likewise.
9468 * libio/wgenops.c: Likewise.
9469 * libio/wmemstream.c: Likewise.
9470 * libio/wstrops.c: Likewise.
9471 * libio/__fpurge.c: Likewise.
9472 * libio/__fsetlocking.c: Likewise.
9473 * assert/assert.c: Likewise.
9474 * debug/fgets_chk.c: Likewise.
9475 * debug/fgets_u_chk.c: Likewise.
9476 * debug/fread_chk.c: Likewise.
9477 * debug/fread_u_chk.c: Likewise.
9478 * debug/gets_chk.c: Likewise.
9479 * debug/obprintf_chk.c: Likewise.
9480 * debug/vasprintf_chk.c: Likewise.
9481 * debug/vdprintf_chk.c: Likewise.
9482 * debug/vsnprintf_chk.c: Likewise.
9483 * debug/vsprintf_chk.c: Likewise.
9484 * malloc/mtrace.c: Likewise.
9485 * misc/error.c: Likewise.
9486 * misc/syslog.c: Likewise.
9487 * stdio-common/asprintf.c: Likewise.
9488 * stdio-common/fxprintf.c: Likewise.
9489 * stdio-common/getw.c: Likewise.
9490 * stdio-common/isoc99_fscanf.c: Likewise.
9491 * stdio-common/isoc99_scanf.c: Likewise.
9492 * stdio-common/isoc99_vfscanf.c: Likewise.
9493 * stdio-common/isoc99_vscanf.c: Likewise.
9494 * stdio-common/isoc99_vsscanf.c: Likewise.
9495 * stdio-common/printf-prs.c: Likewise.
9496 * stdio-common/printf_fp.c: Likewise.
9497 * stdio-common/printf_fphex.c: Likewise.
9498 * stdio-common/printf_size.c: Likewise.
9499 * stdio-common/putw.c: Likewise.
9500 * stdio-common/scanf.c: Likewise.
9501 * stdio-common/sprintf.c: Likewise.
9502 * stdio-common/tmpfile.c: Likewise.
9503 * stdio-common/vfprintf.c: Likewise.
9504 * stdio-common/vfscanf.c: Likewise.
9505 * stdlib/strfmon_l.c: Likewise.
9506 * sunrpc/openchild.c: Likewise.
9507 * sunrpc/xdr_stdio.c: Likewise.
9508 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
9509 * sysdeps/mach/hurd/tmpfile.c: Likewise.
9510
d6c33fda
RM
95112012-05-24 Roland McGrath <roland@hack.frob.com>
9512
c1487492
RM
9513 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
9514
9515 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
9516 in the third column, to generate for the shared library an IFUNC
9517 that uses _dl_vdso_vsym.
9518 * Makerules (COMPILE.c, compile-stdin.c): New variables.
9519 * Makeconfig (object-suffixes-noshared): New variable.
9520
9521 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
9522 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
9523 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
9524 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
9525
d6c33fda
RM
9526 [BZ #14132]
9527 * include/sys/time.h (__gettimeofday): Remove macro.
9528 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
9529 * time/gettimeofday.c (__gettimeofday): Remove #undef.
9530 Remove INTDEF.
9531 (__gettimeofday): Add libc_hidden_def.
9532 (gettimeofday): Add libc_hidden_weak.
9533 * sysdeps/mach/gettimeofday.c: Likewise.
9534 * sysdeps/posix/gettimeofday.c: Likewise.
9535 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
9536 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
9537 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
9538 (__gettimeofday_internal): Remove strong_alias.
9539 (__gettimeofday): Add libc_hidden_def.
9540 (gettimeofday): Add libc_hidden_weak.
9541 * sysdeps/unix/syscalls.list (gettimeofday):
9542 Remove __gettimeofday_internal alias.
9543
b5a2bbe6
L
95442012-05-24 Daniel Jacobowitz <drow@false.org>
9545 H.J. Lu <hongjiu.lu@intel.com>
9546
9547 [BZ #12495]
9548 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
9549 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
9550 (largebin_index_32_big): New.
9551 (largebin_index): Use it for 16-byte alignment.
9552 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
9553 correction with front_misalign.
9554
cfba4fda
L
95552012-05-24 H.J. Lu <hongjiu.lu@intel.com>
9556
7f907421
L
9557 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
9558 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
9559 Likewise.
9560 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
9561 Likewise.
9562 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
9563 Likewise.
9564 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
9565 Likewise.
9566 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
9567 Likewise.
9568 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
9569 Likewise.
9570 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
9571 Likewise.
9572 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
9573 Likewise.
9574 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
9575 Likewise.
9576 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
9577 Likewise.
9578 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
9579 Likewise.
9580 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
9581 Likewise.
9582
cfba4fda
L
9583 * scripts/data/c++-types-x32-linux-gnu.data: New file.
9584 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
9585
80bad0cc
JM
95862012-05-24 Joseph Myers <joseph@codesourcery.com>
9587
7a25eb06
JM
9588 [BZ #10846]
9589 [BZ #14036]
9590 * math/libm-test.inc (exp_test): Add test from bug 14036.
9591 (pow_test): Add test from bug 10846.
9592
795405f9
JM
9593 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
9594 and other flags.
9595 (special_function): Do not include flags in test name.
9596 (parse_args): Likewise.
9597 * sysdeps/i386/fpu/libm-test-ulps: Update.
9598 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9599 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
9600 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
9601 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9602
80bad0cc
JM
9603 * math/gen-libm-test.pl (%beautify): Add entries for underflow
9604 exceptions.
9605 * math/libm-test.inc ("Philosophy"): Update comment about
9606 exception testing.
9607 (UNDERFLOW_EXCEPTION): New macro.
9608 (UNDERFLOW_EXCEPTION_OK): Likewise.
9609 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
9610 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
9611 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
9612 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
9613 (INVALID_EXCEPTION_OK): Update value.
9614 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
9615 (OVERFLOW_EXCEPTION_OK): Likewise.
9616 (IGNORE_ZERO_INF_SIGN): Likewise.
9617 (test_exceptions): Handle underflow exceptions.
9618 (acos_test): Update for underflow exception expectations.
9619 (cexp_test): Likewise.
9620 (clog_test): Likewise.
9621 (clog10_test): Likewise.
9622 (csqrt_test): Likewise.
9623 (ctan_test): Likewise.
9624 (ctanh_test): Likewise.
9625 (exp_test): Likewise.
9626 (exp10_test): Likewise.
9627 (exp2_test): Likewise.
9628 (expm1_test): Likewise.
9629 (fma_test): Likewise.
9630 (j0_test): Likewise.
9631 (jn_test): Likewise.
9632 (nexttoward_test): Likewise.
9633 (pow_test): Likewise.
9634 (scalbn_test): Likewise.
9635 (scalbln_test): Likewise.
9636 (tan_test): Likewise.
9637 (y1_test): Likewise.
9638 * sysdeps/i386/fpu/libm-test-ulps: Update.
9639 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9640
9e0e3d0b
DM
96412012-05-23 David S. Miller <davem@davemloft.net>
9642
9643 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
9644 (__libc_sigaction): Remove unused local variables.
9645
ccd0a08f
L
96462012-05-23 H.J. Lu <hongjiu.lu@intel.com>
9647
9648 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
9649
62bdf9a6
PE
96502012-05-23 Paul Eggert <eggert@cs.ucla.edu>
9651
f8591f80
PE
9652 mktime: avoid signed integer overflow
9653 * time/mktime.c (__mktime_internal): Do not mishandle the case
9654 where diff == INT_MIN.
9655
94c7d826
PE
9656 mktime: simplify computation of average
9657 * time/mktime.c (ranged_convert): Use new time_t_avg function
9658 instead of rolling our own (probably-slower) code.
9659
ce73d683
PE
9660 mktime: do not assume signed right shift propagates sign bit
9661 * time/mktime.c (isdst_differ): New static function.
9662 (__mktime_internal): No need to normalize tm_isdst now.
9663 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
9664 tm_isdst values.
9665
72a22e59
PE
9666 mktime: merge another wrapv change from gnulib
9667 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
9668 from some compilers.
9669
68605433
PE
9670 mktime: remove incorrect attempt at unusual arithmetics
9671 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
9672 The code didn't really work on such machines anyway.
9673 (TYPE_MINIMUM): Assume two's complement.
9674 (twos_complement_arithmetic): Verify that long_int and time_t
9675 are two's complement (or unsigned, in the latter case).
9676
03cf7fe3
PE
9677 mktime: check signed shifts on long_int and time_t, too
9678 * time/mktime.c (SHR): Check that shifts work as desired
9679 on the types long_int and time_t too, as SHR is used on
9680 such types.
9681
f04dfbc2
PE
9682 mktime: do not assume 'long' is wide enough
9683 * time/mktime.c (verify): Move decl up.
9684 (long_int): New type.
9685 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
9686 to remove assumption in the code that 'long' is wide enough to
9687 store year values. This assumption is not true on x32 and on
9688 some non-glibc platforms.
9689
62bdf9a6
PE
9690 mktime: merge wrapv change from gnulib
9691 * time/mktime.c (WRAPV): New macro.
9692 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
9693 (guess_time_tm, __mktime_internal): Do not assume that signed
9694 integer overflow wraps around; modern compilers generate code
9695 where this assumption is no longer valid.
9696
5e292e4f
L
96972012-05-23 H.J. Lu <hongjiu.lu@intel.com>
9698
9699 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
9700 Replace "jmp L(pseudo_end)" with "ret".
9701 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
9702 Likewise.
9703
8caf8c87
AJ
97042012-05-23 Andreas Jaeger <aj@suse.de>
9705
9706 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
9707 * sysdeps/unix/sysv/linux/poll.c: Remove file.
9708
1a09dc56
AJ
97092012-05-23 Andreas Jaeger <aj@suse.de>
9710 Maximilian Attems <max@stro.at>
9711
9712 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
9713 New macros.
9714
1c87aba0
L
97152012-05-23 H.J. Lu <hongjiu.lu@intel.com>
9716
9717 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
9718 code so that pseudo_end is just ret and the stack pointer is
9719 correct also for static library in error case.
9720
40e45bd5
JM
97212012-05-23 Joseph Myers <joseph@codesourcery.com>
9722
c2670533
JM
9723 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
9724 move to syscalls.list.
9725 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
9726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
9727 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
9728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
9729
40e45bd5
JM
9730 * manual/install.texi (Running make install): Do not mention Linux
9731 kernel version for which pt_chown is not needed.
9732 (Linux): Do not mention problems with nscd with 2.0 kernels.
9733 * INSTALL: Regenerated.
9734
be08eda5
AJ
97352012-05-23 Andreas Jaeger <aj@suse.de>
9736
9737 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
9738 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
9739 macro.
9740 * sysdeps/unix/sysv/linux/s390/bits/mman.h
9741 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
9742 * sysdeps/unix/sysv/linux/sh/bits/mman.h
9743 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
9744 * sysdeps/unix/sysv/linux/i386/bits/mman.h
9745 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
9746 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
9747 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
9748 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
9749 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
9750 * sysdeps/unix/sysv/linux/bits/in.h
9751 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
9752
a6a056bb
RM
97532012-05-22 Roland McGrath <roland@hack.frob.com>
9754
9755 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
9756 (PREPARE_VERSION): Just use assert instead, it will be elided
9757 under [NDEBUG] anyway.
9758
c9009328
L
97592012-05-22 H.J. Lu <hongjiu.lu@intel.com>
9760
9761 * sysdeps/unix/sysv/linux/Makefile: Include
9762 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 9763 (sysdep_routines): Remove sysctl.
c9009328
L
9764 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
9765 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
9766 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
9767 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
9768 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
9769
73338355
AJ
97702012-05-22 Andreas Jaeger <aj@suse.de>
9771
9772 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
9773 that pseudo_end is just ret and the stack pointer is correct also
9774 for static library in error case.
9775
d44638b0
PP
97762012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
9777
9778 [BZ #14122]
9779 * nss/nsswitch.c (defconfig_entries): New variable.
9780 (__nss_database_lookup): Don't leak defconfig entries.
9781 (nss_parse_service_list): Don't leak on error paths.
9782 (free_database_entries): New function.
9783 (free_defconfig): New function.
9784 (free_mem): Move common code to free_database_entries.
9785
31a39bd8
L
97862012-05-22 H.J. Lu <hongjiu.lu@intel.com>
9787
da0331a8
L
9788 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
9789 Add arch_prctl.
9790 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
9791
31a39bd8
L
9792 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
9793 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
9794 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
9795 New macro.
9796 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
9797 (INTERNAL_SYSCALL_TYPES): Likewise.
9798 (LOAD_ARGS_TYPES_[1-6]): Likewise.
9799 (LOAD_REGS_TYPES_[1-6]): Likewise.
9800 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
9801 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
9802
45470df3
AZ
98032012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9804
9805 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
9806 copysignl for GLIBC_2_0.
9807 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
9808 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
9809 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
9810 logbl for GLIBC_2_0.
9811 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
9812 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
9813
98a61bcb
L
98142012-05-22 H.J. Lu <hongjiu.lu@intel.com>
9815
a4f6e481
L
9816 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
9817 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
9818
f63d5db6
L
9819 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
9820 Use "neg %eax".
9821
98a61bcb
L
9822 * time/mktime.c: Update copyright years.
9823
95770f14
PE
98242012-05-22 Paul Eggert <eggert@cs.ucla.edu>
9825
6226efbd
PE
9826 mktime: merge comment-quoting-style change from gnulib
9827 * time/mktime.c: Quote 'like this' in comments.
9828 The GNU coding standards suggest that we no longer quote `like this',
9829 as "`" and "'" are typically rendered asymmetrically nowadays.
9830 The typical gnulib style is to quote 'like this' when quoting
9831 code, and "like this" when quoting English.
9832
b99e4f78
PE
9833 * time/mktime.c (compile-command): Add "-I.".
9834
643e01e6
PE
9835 mktime: merge mktime-internal.h change from gnulib
9836 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
9837
2554247d
PE
9838 mktime: merge time_r change from gnulib
9839 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
9840
826dd0ab
PE
9841 mktime: merge DEBUG change from gnulib
9842 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
9843 case system <time.h> has a #define.
9844
bd83aabe
PE
9845 mktime: merge <sys/types.h> change from gnulib
9846 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
9847 since <time.t> is now guaranteed to define time_t.
9848
95770f14
PE
9849 mktime: merge HAVE_CONFIG_H change from gnulib
9850 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
9851
5e1a27a9
L
98522012-05-22 H.J. Lu <hongjiu.lu@intel.com>
9853
0e44a77e
L
9854 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
9855 Use "neg %eax".
9856
5e1a27a9
L
9857 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
9858 __rlim_t cast.
9859 (struct rusage): Use anonymous union to pad each field to
9860 __syscall_slong_t.
9861
46259bec
DM
98622012-05-21 David S. Miller <davem@davemloft.net>
9863
9864 * Makefules (o-iterator): Remove .s cases.
9865 (compile-command.s): Delete.
9866 (COMPILE.s): Delete.
9867 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
9868
59f0c22e
JM
98692012-05-21 Joseph Myers <joseph@codesourcery.com>
9870
9871 * configure.in (libc_cv_predef_stack_protector): Only consider
9872 "foobar" and "__stack_chk_fail" lines in libc_undefs.
9873 * configure: Regenerated.
9874
20c07380
L
98752012-05-21 H.J. Lu <hongjiu.lu@intel.com>
9876
bbb3154b
L
9877 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
9878 New macro. Use R*LP on int and pointer.
9879 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
9880 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
9881 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
9882 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
9883
20c07380
L
9884 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
9885 [__WORDSIZE_TIME64_COMPAT32] instead of
9886 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
9887 (struct utmp): Likewise.
9888 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
9889 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
9890 Renamed to ...
9891 (__WORDSIZE_TIME64_COMPAT32): This.
9892 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
9893 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
9894 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
9895 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
9896 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
9897 (__WORDSIZE_TIME64_COMPAT32): New macro.
9898
d8d1017e
AJ
98992012-05-21 Andreas Jaeger <aj@suse.de>
9900
9901 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
9902 only if [SHARED]. Add prototype for __wcschr_ia32.
9903
6c7fb145
RM
99042012-05-21 Roland McGrath <roland@hack.frob.com>
9905
9906 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
9907 of %rbp unmolested in the jmp_buf while mangling the low bits.
9908 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
9909 unmolested high bits of %rbp while demangling the low bits.
9910 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
9911
66274218
AJ
99122012-05-21 Andreas Jaeger <aj@suse.de>
9913
07c58f8f
AJ
9914 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
9915 * sunrpc/svc_simple.c: Use it for registerrpc.
9916 * sunrpc/xcrypt.c: Use it for passwd2des.
9917
66274218
AJ
9918 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
9919
61f65140
L
99202012-05-21 H.J. Lu <hongjiu.lu@intel.com>
9921
9922 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
9923 Don't define if [__SYSCALL_WORDSIZE != 32].
9924 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
9925 New macro.
9926
5fefb436
AJ
99272012-05-21 Bruno Haible <bruno@clisp.org>
9928 Andreas Jaeger <aj@suse.de>
9929
9930 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
9931 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
9932 inptr and inend for must_buffer_ch.
9933 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
9934 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
9935 * stdio-common/Makefile (tests): Remove bug15.
9936 (bug15-ENV): Remove macro.
9937 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
9938 anymore.
9939
d8e272ab
AJ
99402012-05-19 Andreas Jaeger <aj@suse.de>
9941 Roland McGrath <roland@hack.frob.com>
9942
9943 * manual/contrib.texi: Completely rewritten. It contains now an
9944 alphabetical list of contributors and their contributions.
9945
4a56a162
RH
99462012-05-21 Richard Henderson <rth@twiddle.net>
9947
9948 * misc/getauxval.c (__getauxval): Use unsigned long int.
9949 * misc/sys/auxv.h: Include <sys/cdefs.h>.
9950 (getauxval): Use unsigned long int.
9951
d024d23c
L
99522012-05-21 H.J. Lu <hongjiu.lu@intel.com>
9953
9954 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
9955
cbc00a03
RM
99562012-05-21 Roland McGrath <roland@hack.frob.com>
9957
9958 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
9959 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
9960 __alignof__ (long double).
9961
478143fa
AZ
99622012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9963
9964 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9965
c7683a6d
RH
99662012-05-20 Richard Henderson <rth@twiddle.net>
9967
9968 * misc/getauxval.c: New file.
9969 * misc/sys/auxv.h: New file.
9970 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
9971 (routines): Add getauxval.
9972 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
9973 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
9974 * elf/dl-sysdep.c (_dl_auxv): Remove.
9975 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
9976 * elf/dl-support.c (_dl_auxv): New variable.
9977 (_dl_aux_init): Initialize it.
9978 * manual/startup.texi (Auxiliary Vector): New node.
9979 * sysdeps/generic/bits/hwcap.h: New file.
9980 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
9981 * sysdeps/powerpc/sysdep.h: ... here. Include it.
9982 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
9983 * sysdeps/sparc/sysdep.h: ... here. Include it.
9984 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
9985 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
9986 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9987 Update.
c7683a6d
RH
9988 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
9989 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
9990 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
9991 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
9992 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
9993 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
9994 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
9995 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
9996
a6f1845d
AZ
99972012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9998
9999 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10000
cbcbe830
DM
100012012-05-19 David S. Miller <davem@davemloft.net>
10002
10003 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10004
e0b16cc2
JM
100052012-05-19 Joseph Myers <joseph@codesourcery.com>
10006
10007 [BZ #14123]
10008 * math/s_ccosh.c: Include <float.h>
10009 (__ccosh): Avoid internal overflow calculating sinh and cosh
10010 values before multiplying by sin and cos values.
10011 * math/s_ccoshf.c: Likewise.
10012 * math/s_ccoshl.c: Likewise.
10013 * math/s_csin.c: Likewise.
10014 * math/s_csinf.c: Likewise.
10015 * math/s_csinl.c: Likewise.
10016 * math/s_csinh.c: Likewise.
10017 * math/s_csinhf.c: Likewise.
10018 * math/s_csinhl.c: Likewise.
10019 * math/libm-test.inc (ccos_test): Add more tests.
10020 (ccosh_test): Likewise.
10021 (csin_test): Likewise.
10022 (csinh_test): Likewise.
10023 * sysdeps/i386/fpu/libm-test-ulps: Update.
10024 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10025
6ad13e08
L
100262012-05-19 H.J. Lu <hongjiu.lu@intel.com>
10027
f66f0ce8
L
10028 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
10029 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
10030
6ad13e08
L
10031 * sysdeps/x86_64/x32/_itoa.h: Add comment.
10032
b1d072a7
JM
100332012-05-19 Joseph Myers <joseph@codesourcery.com>
10034
10035 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
10036 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
10037 * sysdeps/powerpc/soft-fp/Versions: Likewise.
10038 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
10039 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
10040 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
10041 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
10042 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
10043 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
10044 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
10045 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
10046 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
10047 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
10048 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
10049 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
10050 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
10051 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
10052 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
10053 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
10054 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
10055 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
10056 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
10057 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
10058 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
10059 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
10060 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
10061 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
10062 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
10063 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
10064 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
10065 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
10066
9eae47cb
AJ
100672012-05-18 Andreas Jaeger <aj@suse.de>
10068
10069 * csu/.gitignore: Delete.
10070
bb07f69f
L
100712012-05-18 H.J. Lu <hongjiu.lu@intel.com>
10072
10073 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
10074 (timex): Use __syscall_slong_t.
10075
e6bdb741
AJ
100762012-05-18 Andreas Jaeger <aj@suse.de>
10077 Carlos O'Donell <carlos_odonell@mentor.com>
10078
10079 * manual/install.texi (Configuring and compiling): Update
10080 description about files modified in the source directory.
d6c33fda 10081 * INSTALL: Regenerated.
e6bdb741 10082
1b74487e
L
100832012-05-18 H.J. Lu <hongjiu.lu@intel.com>
10084
10085 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
10086 value. Use "or" to set return value to -1.
10087 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
10088 negate return value.
10089
a88b64b9
TMQMF
100902012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10091
10092 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
10093 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
10094 failure if the compiler has Graphite support disabled.
10095 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
10096 Likewise.
10097 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
10098 CFLAGS-memmove.c): Likewise.
10099 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
10100 Likewise.
10101
3707636e
L
101022012-05-18 H.J. Lu <hongjiu.lu@intel.com>
10103
610b8622
L
10104 * sysdeps/x86_64/x32/_itoa.h: New file.
10105
7cd195df
L
10106 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
10107 getdents system call only if kernel and user dirents have the
10108 same d_ino and d_off.
10109
94b07d20
L
10110 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
10111 LLONG_MAX != LONG_MAX.
10112 (_itoa_word): Use _ITOA_WORD_TYPE on value.
10113 (_fitoa_word): Likewise.
10114
18298070
L
10115 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
10116 years.
10117 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
10118 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
10119 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
10120
553c7ea4
L
10121 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
10122 include <bits/wordsize.h>. Check __x86_64__ instead of
10123 __WORDSIZE.
10124 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
10125 if __x86_64__ is defined. Use anonymous union on fpstate.
10126
3707636e
L
10127 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
10128 anonymous union.
10129
b53ef01a
AS
101302012-05-18 Andreas Schwab <schwab@linux-m68k.org>
10131
37fb1dc0
AS
10132 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
10133 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
10134 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
10135 Refer to _rtld_local_ro instead of _rtld_global_ro.
10136 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
10137 Likewise.
10138 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
10139 Likewise.
10140 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
10141 Likewise.
10142 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
10143 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
10144 of _rtld_global, and rtld_progname instead of _dl_argv[0].
10145
b53ef01a
AS
10146 * sysdeps/powerpc/powerpc32/dl-machine.c
10147 (__elf_machine_runtime_setup) [PROF]: Don't reference
10148 _dl_prof_resolve.
10149
7a185db2
AJ
101502012-05-18 Andreas Jaeger <aj@suse.de>
10151
10152 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
10153 function only available for GCCs before 3.4 since GCC 3.4
10154 introduced a builtin.
10155 (lrint): Likewise.
10156 (llrintf): Likewise.
10157 (llrint): Likewise.
10158 (fmaxf): Likewise.
10159 (fmax): Likewise.
10160 (fminf): Likewise.
10161 (fmin): Likewise.
10162 (rint): Likewise.
10163 (rintf): Likewise.
10164 (nearbyint): Likewise.
10165 (nearbyintf): Likewise.
10166 (ceil): Likewise.
10167 (ceilf): Likewise.
10168 (floor): Likewise.
10169 (floorf): Likewise.
10170
3e5aef87
L
101712012-05-17 H.J. Lu <hongjiu.lu@intel.com>
10172
428bd707
L
10173 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
10174 on both fields and cast pointer to __syscall_ulong_t.
10175
3e5aef87
L
10176 * bits/types.h (__fsword_t): New type.
10177 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
10178 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
10179 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
10180 (__FSWORD_T_TYPE): Likewise.
10181 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
10182 (__FSWORD_T_TYPE): Likewise.
10183 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10184 (__FSWORD_T_TYPE): Likewise.
10185 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
10186 (__FSWORD_T_TYPE): Likewise.
10187 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
10188 __SWORD_TYPE with __fsword_t.
10189 (statfs64): Likewise.
10190
1ba7c3dc
DM
101912012-05-17 David S. Miller <davem@davemloft.net>
10192
10193 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
10194
59910343
AJ
101952012-05-17 Andreas Jaeger <aj@suse.de>
10196
10197 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
10198 warning.
10199
2e4c1e9e
L
102002012-05-17 H.J. Lu <hongjiu.lu@intel.com>
10201
10202 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
10203
de7f5ce7
AJ
102042012-05-17 Andreas Jaeger <aj@suse.de>
10205
10206 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
10207 when it is used.
10208
286abc3d
CM
102092012-05-17 Chris Metcalf <cmetcalf@tilera.com>
10210
10211 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
10212
477cc68e
L
102132012-05-17 H.J. Lu <hongjiu.lu@intel.com>
10214
10215 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
10216 * sysdeps/x86_64/tst-mallocalign1.c: New file.
10217
1a0994f5
CD
102182012-05-17 Andreas Jaeger <aj@suse.de>
10219 Carlos O'Donell <carlos_odonell@mentor.com>
10220
10221 [BZ #14059]
10222 * sysdeps/x86_64/multiarch/init-arch.h
10223 (bit_YMM_Usable): Rename to...
10224 (bit_AVX_Usable): ... this.
10225 (bit_FMA4_Usable): New macro.
10226 (bit_XMM_state): New macro.
10227 (bit_YMM_state): New macro.
10228 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
10229 [__ASSEMBLER__] (index_AVX_Usable): ... this.
10230 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
10231 (CPUID_OSXSAVE): New macro.
10232 (CPUID_AVX): New macro.
10233 (CPUID_FMA4): New macro.
10234 (index_YMM_Usable): Rename to...
10235 (index_AVX_Usable): ... this.
10236 (HAS_AVX): Use HAS_ARCH_FEATURE.
10237 (HAS_FMA4): Likewise.
10238 (HAS_YMM_USABLE): Remove.
10239 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10240 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
10241 are present.
10242 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
10243 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
10244 * sysdeps/x86_64/multiarch/Makefile: Likewise.
10245 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
10246 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
10247
0af797de
CM
102482012-05-17 Chris Metcalf <cmetcalf@tilera.com>
10249
10250 * math/libm-test.c: Support platforms without multiple rounding modes.
10251 * math/bug-nextafter.c: Support platforms without FP exceptions.
10252 * math/bug-nexttoward.c: Likewise.
10253 * math/test-fenv.c: Likewise.
10254 * math/test-misc.c: Likewise.
10255 * stdlib/bug-getcontext.c: Likewise.
10256
e39745ff
AJ
102572012-05-17 Andreas Jaeger <aj@suse.de>
10258
10259 * manual/examples/search.c (critter_cmp): Change signature to
10260 avoid warnings.
10261 * manual/string.texi (Collation Functions): Likewise.
10262
48970aba
L
102632012-05-16 H.J. Lu <hongjiu.lu@intel.com>
10264
10265 * bits/types.h: Fold copyright years.
10266 * bits/typesizes.h: Likewise.
10267 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
10268 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
10269 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
10270 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
10271 * time/time.h: Likewise.
10272
bedee953
PP
102732012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
10274
10275 [BZ #208]
10276 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
10277 in instead of returning them. Return void.
10278 (__libc_mallinfo): Accumulate over all arenas.
10279 (__malloc_stats): Adjust for change in int_mallinfo interface.
10280
61653dfb
RM
102812012-05-16 Roland McGrath <roland@hack.frob.com>
10282
30b99d79
RM
10283 [BZ #10375]
10284 * configure.in (NM): Add AC_CHECK_TOOL for it.
10285 (libc_extra_cflags): New substituted variable.
10286 Check for -fstack-protector being used implicitly.
10287 * configure: Regenerated.
10288 * config.make.in (config-extra-cflags): New variable,
10289 gets @libc_extra_cflags@.
10290 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
10291
61653dfb
RM
10292 [BZ #10375]
10293 * configure.in: Check for _FORTIFY_SOURCE being predefined.
10294 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
10295 * configure: Regenerated.
10296 * config.make.in (CPPUNDEFS): New substituted variable.
10297 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
10298 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
10299 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
10300
661768bb
L
103012012-05-16 H.J. Lu <hongjiu.lu@intel.com>
10302
10303 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
10304 (mq_attr): Use __syscall_slong_t.
10305
d4261567
L
103062012-05-16 H.J. Lu <hongjiu.lu@intel.com>
10307
10308 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
10309 Check __x86_64__ instead of __WORDSIZE.
10310 (_STAT_VER_LINUX): Likewise.
10311 (stat): Check __x86_64__ instead of __WORDSIZE. Use
10312 __syscall_ulong_t and __syscall_slong_t.
10313 (stat64): Likewise.
10314
cf3ff365
L
103152012-05-16 H.J. Lu <hongjiu.lu@intel.com>
10316
10317 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
10318
76cf3e4d
L
103192012-05-16 H.J. Lu <hongjiu.lu@intel.com>
10320
10321 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
10322
a637753a
L
103232012-05-16 H.J. Lu <hongjiu.lu@intel.com>
10324
10325 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
10326 __syscall_ulong_t.
10327
d5e05119
L
10328 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
10329 include <bits/wordsize.h>. Check __x86_64__ instead of
10330 __WORDSIZE.
10331 (greg_t): Use "__extension__ long long int" if __x86_64__ is
10332 defined.
10333 (mcontext_t): Replace "unsigned long" with "unsigned long long".
10334
f62ee380
L
10335 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
10336 include <bits/wordsize.h>. Check __x86_64__ instead of
10337 __WORDSIZE.
10338 (user_regs_struct): Use "__extension__ unsigned long long"
10339 instead of "unsigned long" if __x86_64__ is defined.
10340 (user): Likewise. Pad after pointer field if __ILP32__ is
10341 defined.
10342
4e124ced
JM
103432012-05-16 Joseph Myers <joseph@codesourcery.com>
10344
6a3951a0
JM
10345 * configure.in (makeinfo): Require version 4.5 or later. Allow
10346 versions 5 to 9.
10347 * configure: Regenerated.
10348 * manual/install.texi (texinfo): Increase version requirement to
10349 4.5 or later.
10350 * INSTALL: Regenerated.
10351
4e124ced
JM
10352 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
10353
953ca31a
L
103542012-05-16 H.J. Lu <hongjiu.lu@intel.com>
10355
10356 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
10357
617aca05
L
10358 * sysdeps/x86_64/x32/ffs.c: New file.
10359
5762f7ae
L
10360 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
10361 __syscall_ulong_t.
10362 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
10363 defined. Use __syscall_ulong_t.
10364 (shminfo): Use __syscall_ulong_t.
10365 (shm_info): Likewise.
10366
a26b6856
L
10367 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
10368 __syscall_ulong_t.
10369
cb2b9ef7
L
10370 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
10371 <bits/wordsize.h>.
10372 (msgqnum_t): Use __syscall_ulong_t.
10373 (msglen_t): Likewise.
10374 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
10375 __syscall_ulong_t.
10376
34683bb0
L
10377 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
10378 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
10379
84a68786
L
10380 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
10381
48baa5f1
L
10382 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
10383 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
10384
180be88b
L
10385 * sysvipc/sys/msg.h (msgbuf): Replace long int with
10386 __syscall_slong_t.
10387
5e90c8ad
L
10388 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
10389 include <bits/wordsize.h>. Check __x86_64__ instead of
10390 __WORDSIZE.
10391
23dfb58b
L
10392 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
10393 "unsigned long long int" if __x86_64__ is defined.
10394 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
10395
ce5d54b0
L
10396 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
10397 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
10398 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
10399
13dc9eac
L
10400 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
10401 <stdint.h>.
10402 (GET_PC): Cast to uintptr_t first.
10403 (GET_FRAME): Likewise.
10404 (GET_STACK): Likewise.
10405
a7895d15
L
10406 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
10407 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
10408 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
10409 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
10410 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
10411 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
10412 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
10413 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
10414 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
10415 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
10416 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
10417 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
10418 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
10419 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
10420 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
10421 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
10422 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
10423 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
10424 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
10425 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
10426 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
10427 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
10428 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
10429 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
10430 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
10431 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
10432 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
10433 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
10434 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
10435
656416c9
AS
104362012-05-16 Andreas Schwab <schwab@linux-m68k.org>
10437
5bd66283
AS
10438 * Makerules (+depfiles): Also collect depfiles from .oS in
10439 $(extra-objs).
10440 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
10441 .oS, $(libnldbl-routines)).
10442
656416c9
AS
10443 * Makerules (native-compile-mkdep-flags): Define.
10444 * sunrpc/Makefile (extra-objs): Add $(addprefix
10445 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
10446 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
10447 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
10448 calling $(make-target-directory).
10449
a46f2169
L
104502012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10451
10452 * bits/types.h (__snseconds_t): Removed.
10453 * time/time.h (struct timespec): Replace __snseconds_t with
10454 __syscall_slong_t.
10455 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
10456 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
10457 Likewise.
10458 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
10459 (__SNSECONDS_T_TYPE): Likewise.
10460 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
10461 (__SNSECONDS_T_TYPE): Likewise.
10462 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10463 (__SNSECONDS_T_TYPE): Likewise.
10464
6af6528b
L
104652012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10466
10467 * sysdeps/mach/hurd/bits/typesizes.h
10468 (__SYSCALL_SLONG_TYPE): New macro.
10469 (__SYSCALL_ULONG_TYPE): Likewise.
10470
de986b56
L
104712012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10472
10473 * bits/types.h (__syscall_slong_t): New type.
10474 (__syscall_ulong_t): Likewise.
10475
10476 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
10477 (__SYSCALL_ULONG_TYPE): Likewise.
10478 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
10479 (__SYSCALL_SLONG_TYPE): Likewise.
10480 (__SYSCALL_ULONG_TYPE): Likewise.
10481 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
10482 (__SYSCALL_SLONG_TYPE): Likewise.
10483 (__SYSCALL_ULONG_TYPE): Likewise.
10484 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10485 (__SYSCALL_SLONG_TYPE): Likewise.
10486 (__SYSCALL_ULONG_TYPE): Likewise.
10487
85736dc7
L
104882012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10489
10490 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
10491 Add sigaltstack-offsets.sym.
10492 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
10493 <sigaltstack-offsets.h>.
10494 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
10495 longjmp_msg pointer.
10496 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
10497 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
10498 signal stack.
10499 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
10500
cc03b296
JM
105012012-05-15 Joseph Myers <joseph@codesourcery.com>
10502
a9538892
JM
10503 * elf/stackguard-macros.h: Remove file.
10504 * sysdeps/generic/stackguard-macros.h: New file.
10505 * sysdeps/i386/stackguard-macros.h: Likewise.
10506 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
10507 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
10508 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
10509 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
10510 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
10511 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
10512 * sysdeps/x86_64/stackguard-macros.h: Likewise.
10513 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
10514 <elf/stackguard-macros.h>.
10515
cc03b296
JM
10516 [BZ #14109]
10517 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
10518 __aligned__ in attribute.
10519 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
10520 (gregset_t): Likewise.
10521
93171016
L
105222012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10523
10524 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
10525 * sysdeps/x86_64/64/Implies-after: Here. New file.
10526 * sysdeps/x86_64/x32/Implies-after: New file.
10527
d86813a0
L
105282012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10529
10530 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
10531 and access return value for _dl_profile_fixup. Use R10_LP to
10532 load frame size.
10533
2953ec75
L
105342012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10535
10536 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
10537
3b550e9e
L
105382012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10539
10540 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
10541 * sysdeps/x86_64/x32/sysdep.h: New file.
10542
eda41706
L
105432012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10544
10545 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
10546 * sysdeps/x86_64/setjmp.S: Likewise.
10547
9ea01d93
AZ
105482012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10549
10550 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
10551 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
10552 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
10553 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
10554 remove unused global constant.
10555
02a91938
CM
105562012-05-15 Chris Metcalf <cmetcalf@tilera.com>
10557
10558 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
10559 include of <not-cancel.h>.
10560
6540185f
RM
105612012-05-15 Roland McGrath <roland@hack.frob.com>
10562
10563 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
10564
509072a0
AJ
105652012-05-15 Jeff Law <law@redhat.com>
10566 Andreas Jaeger <aj@suse.de>
10567
10568 [BZ #13594]
10569 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
10570 out from...
10571 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
10572 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
10573 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
10574 code changing __hst_map_handle.map.
10575
ba75122d
RM
105762012-05-15 Roland McGrath <roland@hack.frob.com>
10577
10578 * configure.in (sysnames): Look for Implies-before and Implies-after
10579 files.
10580 * configure: Regenerated.
10581
890d8bd8
L
105822012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10583
10584 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
10585 8-byte data alignment with LP_SIZE alignment.
10586
f6ee6623
L
105872012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10588
10589 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
10590 into R10_LP.
10591
ea2626f6
L
105922012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10593
10594 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
10595
085f715e
L
105962012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10597
10598 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
10599 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
10600 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
10601 Likewise.
10602 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
10603
be8498fc
L
106042012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10605
10606 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
10607 (stackinfo_sub_sp): Likewise.
10608
70bc83b9
L
106092012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10610
10611 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
10612 RAX_LP.
10613
9bc0b730
L
106142012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10615
10616 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
10617 into R*_LP.
10618
6d2850e7
L
106192012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10620
10621 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
10622 sizes into R*_LP.
10623
3cb84561
L
106242012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10625
10626 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
10627
54e2ed81
L
106282012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10629
10630 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
10631 into R11_LP and load __x86_64_shared_cache_size_half into
10632 R8_LP.
10633
8a17f349
L
106342012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10635
10636 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
10637 R8_LP.
10638
777b1eea
AZ
106392012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10640
10641 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
10642 logb for POWER7.
10643 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
10644 logbf for POWER7.
10645 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
10646 logbl for POWER7.
10647 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
10648 powerpc32/power7/fpu/s_logb.c via #include.
10649 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
10650 powerpc32/power7/fpu/s_logbf.c via #include.
10651 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
10652 powerpc32/power7/fpu/s_logbl.c via #include.
10653
d20d4ac2
JM
106542012-05-15 Joseph Myers <joseph@codesourcery.com>
10655
10656 * README.libm: Remove file.
10657
6cdef1ab
L
106582012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10659
10660 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
10661 count for x32. Use R*_LP and omit operand-size suffix.
10662
0b254d8f
L
106632012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10664
10665 * shlib-versions: Move x86_64-.*-linux.* entries to ...
10666 * sysdeps/x86_64/64/shlib-versions: Here. New file.
10667 * sysdeps/x86_64/x32/shlib-versions: New file.
10668
ceb809dc
RM
106692012-05-14 Roland McGrath <roland@hack.frob.com>
10670
10671 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
10672 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
10673 Use _dl_fatal_printf instead.
10674
37f1abd4
JM
106752012-05-14 Joseph Myers <joseph@codesourcery.com>
10676
10677 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
10678 set if not set by the user. Do not allow for being unset.
10679 * sysdeps/unix/sysv/linux/configure: Regenerated.
10680
11de3a33
L
106812012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10682
10683 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
10684 the `q' suffix from lea and replace .quad with ASM_ADDR.
10685
e02f153a
L
106862012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10687
10688 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
10689 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
10690 instead of $17.
10691 (PTR_DEMANGLE): Likewise.
10692
520ae0fd
L
106932012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10694
10695 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
10696 (LP_OP): Likewise.
10697 (ASM_ADDR): Likewise.
10698 (RAX_LP): Likewise.
10699 (RBP_LP): Likewise.
10700 (RBX_LP): Likewise.
10701 (RCX_LP): Likewise.
10702 (RDI_LP): Likewise.
10703 (RSI_LP): Likewise.
10704 (RSP_LP): Likewise.
10705 (R8_LP): Likewise.
10706 (R9_LP): Likewise.
10707 (R10_LP): Likewise.
10708 (R10_LP): Likewise.
10709 (R11_LP): Likewise.
10710 (R12_LP): Likewise.
10711 (R13_LP): Likewise.
10712 (R14_LP): Likewise.
10713 (R15_LP): Likewise.
10714
b985be81
L
107152012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10716
10717 * sysdeps/x86_64/x32/dl-machine.h: New file.
10718
6a4888ff
AJ
107192012-05-14 Andreas Jaeger <aj@suse.de>
10720
10721 * manual/Makefile (subdir): Remove export of subdir.
10722 (all): Remove target.
10723 (.PHONY): Remove all from list.
10724 (mkinstalldirs): Remove.
10725 (.PHONY): Remove installdirs from list.
10726 ($(inst_infodir)/libc.info): Use make-target-directory.
10727 (installdirs): Remove.
10728 (subdir_%): Remove.
10729 (glibc-targets): Remove.
10730 (lib): Remove.
10731 (stubs): Remove.
10732 ($(objpfx)stubs ../po/manual.pot): Remove.
10733 ($(objpfx)stamp%): Remove.
10734 (make-target-directory): Remove.
10735 (subdir_install): Remove.
10736 (routines): Remove.
10737 (aux): Remove.
10738 (sources): Remove.
10739 (objects): Remove.
10740 (headers): Remove.
10741
10742 [BZ #13750]
10743 * manual/.gitignore: Remove, it's not needed anymore.
10744 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
10745 all files in it.
10746 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
10747 directory.
10748 (texis): Renamed to $(objpfx)texis.
10749 (texis-path): New, contains path to generated files.
10750 (chapters.%): Use texis-path for complete path, add extra argument
10751 libc-texinfo.sh.
10752 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
10753 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
10754 (summary,texi, stamp-summary): Use complete path of
10755 files. Generate files in build dir.
10756 (dir-add.texi): Build in build dir.
10757 (libm-err.texi,stamp-libm-err): Likewise.
10758 (version.texi, stamp-version): Likewise.
10759 (.%c.texi): Likewise.
10760 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
10761 (mostlyclean): Remove target.
10762 (realclean): Remove target.
10763 (generated): Add new variable with contents from mostlyclean and
10764 realclean, remove entries duplicated in common-mostlyclean, add
10765 stamp-libm-err and stamp-version.
10766 (generated-dirs): Add libc directory.
10767 ($(inst_infodir)/libc.info): Install files from build dir.
10768
10769 * manual/install.texi (Configuring and compiling): Adjust since
10770 the info files are not part of the tar ball anymore.
10771
7ac77294
AJ
107722012-05-14 Andreas Jaeger <aj@suse.de>
10773
10774 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
10775 variable.
10776
ffb7875d
JM
107772012-05-14 Joseph Myers <joseph@codesourcery.com>
10778
10779 [BZ #13717]
10780 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
10781 to 2.2.0 where earlier.
10782 * sysdeps/unix/sysv/linux/configure: Regenerated.
10783 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
10784 Remove conditional code.
10785 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
10786 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
10787 Remove conditional code.
10788 [!__NR_lchown]: Likewise.
10789 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
10790 [__NR_lchown]: Likewise.
10791 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
10792 comment referencing __ASSUME_LCHOWN_SYSCALL.
10793 * sysdeps/unix/sysv/linux/i386/sigaction.c
10794 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
10795 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
10796 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
10797 Remove conditional code.
10798 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
10799 (__protocol_available): Remove #if 0 code.
10800 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
10801 conditional code.
10802 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
10803 * sysdeps/unix/sysv/linux/kernel-features.h
10804 (__ASSUME_GETCWD_SYSCALL): Don't define.
10805 (__ASSUME_REALTIME_SIGNALS): Likewise.
10806 (__ASSUME_PREAD_SYSCALL): Likewise.
10807 (__ASSUME_PWRITE_SYSCALL): Likewise.
10808 (__ASSUME_POLL_SYSCALL): Likewise.
10809 (__ASSUME_LCHOWN_SYSCALL): Likewise.
10810 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
10811 non-SPARC.
10812 (__ASSUME_SIOCGIFNAME): Don't define.
10813 (__ASSUME_MSG_NOSIGNAL): Likewise.
10814 (__ASSUME_SENDFILE): Define unconditionally.
10815 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
10816 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
10817 conditional code.
10818 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
10819 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
10820 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
10821 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
10822 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
10823 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
10824 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
10825 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
10826 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
10827 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10828 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
10829 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
10830 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10831 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
10832 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
10833 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10834 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
10835 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
10836 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
10838 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
10839 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
10841 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
10842 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
10844 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
10845 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
10847 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
10848 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10849 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
10850 Remove conditional code.
10851 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10852 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
10853 Remove conditional code.
10854 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10855 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
10856 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
10857 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
10858 Remove conditional code.
10859 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10860 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
10861 Remove conditional code.
10862 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10863 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
10864 Remove conditional code.
10865 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10866 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
10867 Remove conditional code.
10868 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10869 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
10870 Remove conditional code.
10871 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10872 * sysdeps/unix/sysv/linux/sh/pwrite64.c
10873 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
10874 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10875 * sysdeps/unix/sysv/linux/sigaction.c
10876 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
10877 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
10878 * sysdeps/unix/sysv/linux/sigpending.c
10879 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
10880 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
10881 * sysdeps/unix/sysv/linux/sigprocmask.c
10882 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
10883 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
10884 * sysdeps/unix/sysv/linux/sigsuspend.c
10885 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
10886 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
10887 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
10888 (__libc_missing_rt_sigs): Remove.
10889 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
10890 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
10891 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
10892 Remove conditional code.
10893 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
10894 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
10895 return 1.
10896 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
10897 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
10898 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
10899 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
10900
1bfb7291
AJ
109012012-05-14 Andreas Jaeger <aj@suse.de>
10902
caae5a81
AJ
10903 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
10904 it's not used in glibc.
10905 (__coshm1): Likewise.
10906 (__acosh1p): Likewise.
10907 (__sgn): Likewise.
10908
1bfb7291
AJ
10909 * manual/string.texi (Copying and Concatenation): Add missing
10910 variable in concat example.
10911 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
10912
c044d724
L
109132012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10914
144c5467 10915 [BZ #14103]
c044d724
L
10916 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
10917 __builtin_clzl with __builtin_clzll.
10918
2523c62b
L
109192012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10920
10921 [BZ #14104]
10922 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
10923 libc_freeres_ptr.
10924
d7bb4c42
LD
109252012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10926
10927 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
10928 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
10929 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
10930 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
10931
9dc4e1fb
MF
109322012-05-14 Mike Frysinger <vapier@gentoo.org>
10933
10934 * NEWS: Update ia64 info.
10935
c7df0112
AS
109362012-05-12 Andreas Schwab <schwab@linux-m68k.org>
10937
10938 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
10939 used as bcopy.
10940
dc70356c
TS
109412012-05-12 Thomas Schwinge <thomas@codesourcery.com>
10942
10943 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
10944 * sysdeps/unix/syscalls.list (dup3): Likewise.
10945 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
10946 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
10947
9fb1a21f
L
109482012-05-11 H.J. Lu <hongjiu.lu@intel.com>
10949
10950 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
10951 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
10952
4822a2a5
L
109532012-05-11 H.J. Lu <hongjiu.lu@intel.com>
10954
10955 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
10956 thread pointer.
10957 (TLS_IE): Use mov/add instead of movq/addq to load thread
10958 pointer.
10959 (TLS_GD_PREFIX): New.
10960 (TLS_GD): Use it.
10961
842b81d6
DM
109622012-05-11 David S. Miller <davem@davemloft.net>
10963
10964 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
10965 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
10966 (_FPU_SETCW): Likewise.
10967
1cf463cd
L
109682012-05-10 H.J. Lu <hongjiu.lu@intel.com>
10969
10970 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
10971 is 32-byte aligned.
10972
60cc4a18
AS
109732012-05-11 Andreas Schwab <schwab@linux-m68k.org>
10974
10975 [BZ #11837]
10976 * iconvdata/gb18030.c: Update tables.
10977 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
10978 characters specially.
10979 (BODY for TO_LOOP): Add encoding of missing ranges.
10980
febb44a4
TS
109812012-05-11 Thomas Schwinge <thomas@codesourcery.com>
10982
10983 [BZ #13673]
10984 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
10985 * sysdeps/mach/hurd/dup3.c: Likewise.
10986 * sysdeps/mach/hurd/readlinkat.c: Likewise.
10987 * sysdeps/powerpc/memmove.c:: Likewise.
10988
0a10fb9e
L
109892012-05-10 H.J. Lu <hongjiu.lu@intel.com>
10990
10991 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
10992 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
10993
df8a552f
L
109942012-05-10 H.J. Lu <hongjiu.lu@intel.com>
10995
10996 * elf/elf.h (R_X86_64_RELATIVE64): New.
10997 (R_X86_64_NUM): Updated.
10998 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
10999 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
11000 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
11001 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
11002 tst-quad1pie tst-quad2pie
11003 (modules-names): Add tst-quadmod1 tst-quadmod2.
11004 ($(objpfx)tst-quad1): New dependency.
11005 ($(objpfx)tst-quad2): Likewise.
11006 ($(objpfx)tst-quad1pie): Likewise.
11007 ($(objpfx)tst-quad2pie): Likewise.
11008 * sysdeps/x86_64/tst-quad1.c: New file.
11009 * sysdeps/x86_64/tst-quad1pie.c: New file.
11010 * sysdeps/x86_64/tst-quad2.c: Likewise.
11011 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
11012 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
11013 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
11014 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
11015 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
11016
f34d6f84
ST
110172012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11018
f42d41d1
ST
11019 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
11020 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
11021 * streams/stropts.h (t_scalar_t): Define type.
11022
3c3571fc
ST
11023 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
11024 (_PATH_PRESERVE): Set to "/var/lib".
11025 (_PATH_RWHODIR): Set to "/var/spool/rwho".
11026
61f06bd3
ST
11027 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
11028 instead of int.
11029
918d4d71
ST
11030 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
11031 if __dir_mkfile succeeded.
11032
f34d6f84
ST
11033 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
11034 checking for _hurd_dtablesize. Unlock it right after having
11035 finished _hurd_dtable allocation.
11036
10589b4a
TS
110372012-05-10 Thomas Schwinge <thomas@schwinge.name>
11038
674cdbc7
TS
11039 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
11040 * sysdeps/mach/hurd/configure: Regenerated.
11041 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
11042 special-casing to...
11043 * sysdeps/gnu/configure.in: ... this new file.
11044 * sysdeps/unix/sysv/linux/configure: Regenerated.
11045 * sysdeps/gnu/configure: New generated file.
11046
8e41b99f
TS
11047 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
11048 for Linux: use nsec instead of usec, as well as:
11049 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
11050 members of type struct timespec.
11051 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
11052 New macros.
11053 (struct stat64): Likewise.
11054 (_STATBUF_ST_NSEC): New macro.
11055 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
11056
10589b4a
TS
11057 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
11058 __strtoul_internal rather than strtoul.
11059
63643c85
PT
110602012-05-10 Pino Toscano <toscano.pino@tiscali.it>
11061
11062 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
11063 and reject them.
11064
3faebe6a
ST
110652012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11066
11067 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
11068 which preserves existing values.
11069 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
11070
c6474b07
PT
110712012-05-10 Pino Toscano <toscano.pino@tiscali.it>
11072
11073 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
11074 TIMEOUT values. Return EINVAL for NFDS values either negative or
11075 greater than FD_SETSIZE.
11076
1043890b
ST
110772012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11078
11079 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
11080 allocated, call __vm_protect to finish enabling the existing space, and
11081 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
11082 allocate the remainder.
11083
37ed8b9b
PT
110842012-05-10 Pino Toscano <toscano.pino@tiscali.it>
11085
11086 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
11087 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
11088
db653660
ST
110892012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11090
37ed8b9b
PT
11091 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
11092 sysdeps/mach/hurd/readlink.c.
b29d4053 11093
db653660
ST
11094 * posix/tst-sysconf.c (posix_options): Only use
11095 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
11096 _POSIX_SYNCHRONIZED_IO when they are defined
11097 * sysdeps/mach/hurd/bits/posix_opt.h:
11098 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
11099 (_XOPEN_REALTIME): Undefine macro.
11100 (_XOPEN_REALTIME_THREADS): Undefine macro.
11101 (_XOPEN_SHM): Undefine macro.
11102 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
11103 macro to -1.
11104 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
11105 macro to -1.
11106 (_POSIX_ASYNC_IO): Undefine macro.
11107 (_POSIX_PRIORITIZED_IO): Undefine macro.
11108 (_POSIX_SPIN_LOCKS): Define macro to -1.
11109
ee16e894
ST
11110 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
11111 SA_NODEFER, SA_RESETHAND.
11112 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
11113 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
11114 F_DUPFD_CLOEXEC.
11115
6103ae3b
TS
111162012-05-10 Thomas Schwinge <thomas@schwinge.name>
11117
11118 * elf/Makefile (pldd-modules): Define unconditionally.
11119
80b4e5f3
TS
111202012-05-10 Thomas Schwinge <thomas@schwinge.name>
11121
11122 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
11123
edadcbd6
ST
111242012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11125
11126 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
11127 Return ENOENT when name is empty.
11128 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
11129
80694780
TS
111302012-05-10 Thomas Schwinge <thomas@schwinge.name>
11131
1792c087
TS
11132 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
11133
80694780
TS
11134 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
11135
6b645f0d
ST
111362012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11137
80694780
TS
11138 Fix mlock in all cases except non-readable pages.
11139 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
11140 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 11141
6b645f0d
ST
11142 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
11143 (__mkdir): When path is `/', just fail with EEXIST.
11144 * sysdeps/mach/hurd/mkdirat.c: Likewise.
11145
e468f8a3
TS
111462012-05-10 Thomas Schwinge <thomas@schwinge.name>
11147
11148 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
11149 <sys/uio.h> (for writev).
11150 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
11151 and <sys/param.h> (for MIN).
11152
a4186cff
PT
111532012-05-10 Pino Toscano <toscano.pino@tiscali.it>
11154
11155 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
11156 REQUESTED_TIME. Properly set the remaining time and return EINTR
11157 if interrupted.
11158
510bbf14
TS
111592012-05-10 Thomas Schwinge <thomas@schwinge.name>
11160
11161 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
11162 Depend on against $(link-rpcuserlibs).
11163
5d5722e8
ST
111642012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11165
a4186cff
PT
11166 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
11167 (__libc_stack_end): Do not use attribute_relro.
11168 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
11169 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 11170 to libthread-provided value.
a4186cff
PT
11171 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
11172 attribute_relro.
5d5722e8 11173
37233df9
TS
111742012-05-10 Thomas Schwinge <thomas@schwinge.name>
11175
be971a2b
TS
11176 [BZ #3748]
11177 * bits/libc-lock.h (__libc_once_get): New macro.
11178 * sysdeps/mach/bits/libc-lock.h: Likewise.
11179 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
11180 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
11181 instead of using implementation details.
11182
37233df9
TS
11183 * libio/fileops.c: Unconditionally include <kernel-features.h>.
11184 * libio/freopen.c: Likewise.
11185 * libio/freopen64.c: Likewise.
11186 * misc/syslog.c: Likewise.
11187 * nscd/connections.c: Likewise.
11188 * nscd/netgroupcache.c: Likewise.
11189 * sysdeps/posix/getcwd.c: Likewise.
11190
38de94a5
RM
111912012-05-10 Roland McGrath <roland@hack.frob.com>
11192
11193 * math/w_ilogbf.c: Add #include <limits.h>.
11194
67530489
ST
111952012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11196
a4186cff 11197 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
11198 path instead of returning without unlocking.
11199
67530489
ST
11200 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
11201 immediate-write ioctls.
11202 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
11203
5aa3a74a
TS
112042012-05-10 Thomas Schwinge <thomas@schwinge.name>
11205
18bad2ae
TS
11206 * sysdeps/mach/hurd/i386/init-first.c (init): Use
11207 __builtin_frame_address instead of making assumptions about the
11208 location of the return address relative to DATA. Force early load of
11209 the return address.
11210 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
11211 __builtin_frame_address.
11212
5aa3a74a
TS
11213 dup3 for GNU Hurd.
11214 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
11215 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
11216 implement dup3 and do some further code clean-ups.
11217 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
11218 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
11219
ecd0de9a
ST
112202012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11221
cd9fa985
ST
11222 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
11223
a4186cff
PT
11224 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
11225 HURD_CRITICAL_END around holding _hurd_dtable_lock.
11226 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
11227 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
11228 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
11229 d->port.lock.
802ca5a5 11230
a4186cff
PT
11231 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
11232 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
11233 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 11234
bcf55240
TS
112352012-05-10 Thomas Schwinge <thomas@schwinge.name>
11236
6960eb42
TS
11237 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
11238 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
11239 definitions.
11240
eb43375f
TS
11241 accept4 for GNU Hurd.
11242 * include/sys/socket.h (__libc_accept4): New prototype.
11243 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
11244 to implement __libc_accept4.
11245 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
11246 __libc_accept4.
11247 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
11248
bcf55240
TS
11249 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
11250 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
11251 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
11252 signal-defines.sym.
11253
6178c55b
ST
112542012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11255
a4186cff 11256 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 11257
6f080c2f
TS
112582012-05-10 Thomas Schwinge <thomas@schwinge.name>
11259
11260 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
11261 assertion on O_CLOEXEC flag.
11262 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
11263 * hurd/intern-fd.c: Likewise.
11264 * hurd/port2fd.c: Likewise.
11265
bcfe3a54
ST
112662012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11267
11268 [BZ #3906]
11269 * bits/in.h (IPV6_PKTINFO): Define new macro.
11270 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
11271
89c9aa49
AZ
112722012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11273
11274 [BZ #13954]
11275 [BZ #13955]
11276 [BZ #13956]
11277 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
11278 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
11279 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
11280 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
11281 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11282 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
11283 * math/libm-test.inc (logb_test) : Additional logb tests.
11284
021db4be
AJ
112852012-05-09 Andreas Schwab <schwab@linux-m68k.org>
11286 Andreas Jaeger <aj@suse.de>
11287
11288 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
11289 * configure: Regenerated.
11290 * config.h.in (LINK_OBSOLETE_RPC): New macro.
11291 * config.make.in (link-obsolete-rpc): New substituted variable.
11292 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
11293 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
11294 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
11295 (shared-only-routines): Don't set it under [link-obsolete-rpc],
11296 so that libc.a contains the symbols.
11297 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
11298 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
11299 * sunrpc/auth_none.c: Likewise.
11300 * sunrpc/auth_unix.c: Likewise.
11301 * sunrpc/authdes_prot.c: Likewise.
11302 * sunrpc/authuxprot.c: Likewise.
11303 * sunrpc/clnt_gen.c: Likewise.
11304 * sunrpc/clnt_perr.c: Likewise.
11305 * sunrpc/clnt_raw.c: Likewise.
11306 * sunrpc/clnt_simp.c: Likewise.
11307 * sunrpc/clnt_tcp.c: Likewise.
11308 * sunrpc/clnt_udp.c: Likewise.
11309 * sunrpc/clnt_unix.c: Likewise.
11310 * sunrpc/des_crypt.c: Likewise.
11311 * sunrpc/des_soft.c: Likewise.
11312 * sunrpc/get_myaddr.c: Likewise.
11313 * sunrpc/key_call.c: Likewise.
11314 * sunrpc/key_prot.c: Likewise.
11315 * sunrpc/netname.c: Likewise.
11316 * sunrpc/pm_getmaps.c: Likewise.
11317 * sunrpc/pm_getport.c: Likewise.
11318 * sunrpc/pmap_clnt.c: Likewise.
11319 * sunrpc/pmap_prot.c: Likewise.
11320 * sunrpc/pmap_prot2.c: Likewise.
11321 * sunrpc/pmap_rmt.c: Likewise.
11322 * sunrpc/publickey.c: Likewise.
11323 * sunrpc/rpc_cmsg.c: Likewise.
11324 * sunrpc/rpc_common.c: Likewise.
11325 * sunrpc/rpc_dtable.c: Likewise.
11326 * sunrpc/rpc_prot.c: Likewise.
11327 * sunrpc/rpc_thread.c: Likewise.
11328 * sunrpc/rtime.c: Likewise.
11329 * sunrpc/svc.c: Likewise.
11330 * sunrpc/svc_auth.c: Likewise.
11331 * sunrpc/svc_raw.c: Likewise.
11332 * sunrpc/svc_run.c: Likewise.
11333 * sunrpc/svc_tcp.c: Likewise.
11334 * sunrpc/svc_udp.c: Likewise.
11335 * sunrpc/svc_unix.c: Likewise.
11336 * sunrpc/svcauth_des.c: Likewise.
11337 * sunrpc/xcrypt.c: Likewise.
11338 * sunrpc/xdr.c: Likewise.
11339 * sunrpc/xdr_array.c: Likewise.
11340 * sunrpc/xdr_float.c: Likewise.
11341 * sunrpc/xdr_intXX_t.c: Likewise.
11342 * sunrpc/xdr_mem.c: Likewise.
11343 * sunrpc/xdr_rec.c: Likewise.
11344 * sunrpc/xdr_ref.c: Likewise.
11345 * sunrpc/xdr_sizeof.c: Likewise.
11346 * sunrpc/xdr_stdio.c: Likewise.
11347
b5c086a2
RM
113482012-05-10 Roland McGrath <roland@hack.frob.com>
11349
11350 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
11351 change. Update copyright years.
11352
6d74dd09
JM
113532012-05-10 Joseph Myers <joseph@codesourcery.com>
11354
11355 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
11356
28e72501
MK
113572012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
11358 Joseph Myers <joseph@codesourcery.com>
11359 Paul Pluzhnikov <ppluzhnikov@google.com>
11360
11361 [BZ #14012]
11362 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
11363 requiring rpcgen.
11364 [cross-compiling] (extra-libs): Likewise.
11365 [cross-compiling] (extra-libs-others): Likewise.
11366 [cross-compiling] (librpcsvc-routines): Likewise.
11367 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
11368 [cross-compiling] (omit-deps): Likewise.
11369 (sunrpc-CPPFLAGS): New variable.
11370 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
11371 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
11372 (cross-rpcgen-objs): New variable.
11373 (extra-objs): Append $(cross-rpcgen-objs).
11374 ($(cross-rpcgen-objs)): New rule.
11375 ($(objpfx)cross-rpcgen): Likewise.
11376 (rpcgen-cmd): Define to use $(built-program-file). Expand
11377 comment.
11378 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
11379 ($(objpfx)x%.stmp): Likewise.
11380 * sunrpc/proto.h [IS_IN_build] (_): Define.
11381 [IS_IN_build] (_libc_intl_domainname): Likewise.
11382
c8c59454
L
113832012-05-10 H.J. Lu <hongjiu.lu@intel.com>
11384
11385 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
11386 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
11387 and R_X86_64_TPOFF64.
11388
6f27cd16
JM
113892012-05-10 Joseph Myers <joseph@codesourcery.com>
11390
11391 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
11392 sysdeps/unix/sysv/syscalls.list.
11393 (stime): Likewise.
11394 (utime): Likewise.
11395 * sysdeps/unix/sysv/syscalls.list: Remove file.
11396
02467e1c
PE
113972012-05-10 Paul Eggert <eggert@cs.ucla.edu>
11398
11399 [BZ #3440]
11400 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
11401 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
11402 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
11403 (__LC_IDENTIFICATION): Make these macros useful in #if
11404 expressions, as required by C99.
11405
da392631
AS
114062012-05-10 Andreas Schwab <schwab@linux-m68k.org>
11407
11408 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
11409 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
11410 after this.
11411
8115f29b
L
114122012-05-09 H.J. Lu <hongjiu.lu@intel.com>
11413
11414 * stdlib/longlong.h: Updated from GCC.
11415
bdd74070
AJ
114162012-05-09 Andreas Jaeger <aj@suse.de>
11417
edfe0dbe
AJ
11418 * nscd/nscd.c (run_modes): Make named enum, reorder so that
11419 default is first entry.
11420 (run_mode): Set type.
11421 (main): Remove informal message about syslog.
11422 (options): Fix typo.
11423
bcfe3a54
ST
11424 [BZ #14053]
11425 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 11426 to asm.
bcfe3a54
ST
11427 (lrint): Likewise.
11428 (llrintf): Likewise.
11429 (llrint): Likewise.
11430 (rint): Likewise.
11431 (rintf): Likewise.
11432 (nearbyint): Likewise.
11433 (nearbyintf): Likewise.
bdd74070 11434
91d8d69e
AJ
114352012-05-09 Andreas Jaeger <aj@suse.de>
11436 Pedro Alves <palves@redhat.com>
11437
11438 * nscd/nscd.c (run_mode): Use enum.
11439 (main): Cleanup coding style issue.
11440
bb90b80b
AJ
114412012-05-09 Alexandre Oliva <aoliva@redhat.com>
11442 Andreas Jaeger <aj@suse.de>
11443
bcfe3a54
ST
11444 * nscd/nscd.c (go_background): Replaced with...
11445 (run_mode): ... this.
bb90b80b 11446 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
11447 (options): Add -F --foreground.
11448 (main): Implement it.
11449 (parse_opt): Parse it.
bb90b80b 11450
1a4b75a1
AJ
114512012-05-09 Andreas Jaeger <aj@suse.de>
11452
11453 [BZ #14083]
11454 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
11455 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
11456 -Wconversion warning.
11457 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
11458 Likewise.
11459
b1cc2472
JM
114602012-05-09 Joseph Myers <joseph@codesourcery.com>
11461
11462 * conform/data/locale.h-data (NULL): Use macro-constant. Require
11463 == 0.
11464 (LC_ALL): Use macro-int-constant.
11465 (LC_COLLATE): Likewise.
11466 (LC_CTYPE): Likewise.
11467 (LC_MESSAGES): Likewise.
11468 (LC_MONETARY): Likewise.
11469 (LC_NUMERIC): Likewise.
11470 (LC_TIME): Likewise.
11471 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
11472 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
11473 [ISO || ISO99 || ISO11] (*_t): Do not allow.
11474 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
11475 Specify type.
11476 [C99-based standards] (float_t): Expect type.
11477 [C99-based standards] (double_t): Expect type.
11478 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
11479 type.
11480 [C99-based standards] (HUGE_VALL): Likewise.
11481 [C99-based standards] (INFINITY): Likewise.
11482 [C99-based standards] (NAN): Likewise.
11483 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
11484 [C99-based standards] (FP_NAN): Likewise.
11485 [C99-based standards] (FP_NORMAL): Likewise.
11486 [C99-based standards] (FP_SUBNORMAL): Likewise.
11487 [C99-based standards] (FP_ZERO): Likewise.
11488 [C99-based standards] (FP_FAST_FMA): Use
11489 optional-macro-int-constant. Specify type. Require == 1.
11490 [C99-based standards] (FP_FAST_FMAF): Likewise.
11491 [C99-based standards] (FP_FAST_FMAL): Likewise.
11492 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
11493 [C99-based standards] (FP_ILOGBNAN): Likewise.
11494 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
11495 Specify type.
11496 [C99-based standards] (MATH_ERREXCEPT): Likewise.
11497 [C99-based standards] (math_errhandling): Specify type.
11498 [ISO99 || ISO11] (signgam): Do not allow.
11499 [non-C99-based standards] (copysignf): Do not allow.
11500 [non-C99-based standards] (exp2f): Likewise.
11501 [non-C99-based standards] (log2f): Likewise.
11502 [non-C99-based standards] (modff): Allow.
11503 [non-C99-based standards] (erff): Do not allow.
11504 [non-C99-based standards] (erfcf): Likewise.
11505 [non-C99-based standards] (gammaf): Likewise.
11506 [non-C99-based standards] (hypotf): Likewise.
11507 [non-C99-based standards] (j0f): Likewise.
11508 [non-C99-based standards] (j1f): Likewise.
11509 [non-C99-based standards] (jnf): Likewise.
11510 [non-C99-based standards] (lgammaf): Likewise.
11511 [non-C99-based standards] (tgammaf): Likewise.
11512 [non-C99-based standards] (y0f): Likewise.
11513 [non-C99-based standards] (y1f): Likewise.
11514 [non-C99-based standards] (ynf): Likewise.
11515 [non-C99-based standards] (isnanf): Likewise.
11516 [non-C99-based standards] (acoshf): Likewise.
11517 [non-C99-based standards] (asinhf): Likewise.
11518 [non-C99-based standards] (atanhf): Likewise.
11519 [non-C99-based standards] (cbrtf): Likewise.
11520 [non-C99-based standards] (expm1f): Likewise.
11521 [non-C99-based standards] (ilogbf): Likewise.
11522 [non-C99-based standards] (log1pf): Likewise.
11523 [non-C99-based standards] (logbf): Likewise.
11524 [non-C99-based standards] (nextafterf): Likewise.
11525 [non-C99-based standards] (remainderf): Likewise.
11526 [non-C99-based standards] (rintf): Likewise.
11527 [non-C99-based standards] (scalbf): Likewise.
11528 [non-C99-based standards] (copysignl): Likewise.
11529 [non-C99-based standards] (exp2l): Likewise.
11530 [non-C99-based standards] (log2l): Likewise.
11531 [non-C99-based standards] (modfl): Allow.
11532 [non-C99-based standards] (erfl): Do not allow.
11533 [non-C99-based standards] (erfcl): Likewise.
11534 [non-C99-based standards] (gammal): Likewise.
11535 [non-C99-based standards] (hypotl): Likewise.
11536 [non-C99-based standards] (j0l): Likewise.
11537 [non-C99-based standards] (j1l): Likewise.
11538 [non-C99-based standards] (jnl): Likewise.
11539 [non-C99-based standards] (lgammal): Likewise.
11540 [non-C99-based standards] (tgammal): Likewise.
11541 [non-C99-based standards] (y0l): Likewise.
11542 [non-C99-based standards] (y1l): Likewise.
11543 [non-C99-based standards] (ynl): Likewise.
11544 [non-C99-based standards] (isnanl): Likewise.
11545 [non-C99-based standards] (acoshl): Likewise.
11546 [non-C99-based standards] (asinhl): Likewise.
11547 [non-C99-based standards] (atanhl): Likewise.
11548 [non-C99-based standards] (cbrtl): Likewise.
11549 [non-C99-based standards] (expm1l): Likewise.
11550 [non-C99-based standards] (ilogbl): Likewise.
11551 [non-C99-based standards] (log1pl): Likewise.
11552 [non-C99-based standards] (logbl): Likewise.
11553 [non-C99-based standards] (nextafterl): Likewise.
11554 [non-C99-based standards] (remainderl): Likewise.
11555 [non-C99-based standards] (rintl): Likewise.
11556 [non-C99-based standards] (scalbl): Likewise.
11557 [ISO || ISO99 || ISO11] (*_t): Do not allow.
11558 [non-C99-based standards] (FP_*): Do not allow.
11559 [C99-based standards] (FP_*): Change to
11560 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
11561 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
11562 allow.
11563 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
11564 (SIG_ERR): Likewise.
11565 [X/Open-based standards] (SIG_HOLD): Likewise.
11566 (SIG_IGN): Likewise.
11567 (SIGABRT): Use macro-int-constant. Specify type. Require
11568 positive value.
11569 (SIGFPE): Likewise.
11570 (SIGILL): Likewise.
11571 (SIGINT): Likewise.
11572 (SIGSEGV): Likewise.
11573 (SIGTER): Likewise.
11574 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
11575 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
11576 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
11577 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
11578 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
11579 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
11580 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
11581 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
11582 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
11583 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
11584 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
11585 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
11586 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
11587 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
11588 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
11589 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
11590 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
11591 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
11592 [X/Open-based standards] (SIGTRAP): Likewise.
11593 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
11594 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
11595 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
11596 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
11597 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
11598 allow.
11599
b9f1922d
IW
116002012-05-08 Ian Wienand <ianw@vmware.com>
11601
11602 [BZ #14080]
11603 * time/tzset.c (__tzset_parse_tz): Update default rules for
11604 daylight time changes in the Energy Policy Act of 2005.
11605
1db86e88
AJ
116062012-05-09 Andreas Jaeger <aj@suse.de>
11607
11608 [BZ #13983]
11609 * elf/ldconfig.c (parse_conf): Change string to make clear that
11610 ldconfig only issued a warning if ld.so.conf does not exist.
11611
dee4a4e3
DM
116122012-05-08 David S. Miller <davem@davemloft.net>
11613
ee0db190
DM
11614 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
11615 movxtod instead of popping the value on the stack.
11616
dee4a4e3
DM
11617 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11618
6a43ec98
CD
116192012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
11620
11621 * config.h.in: Add HAVE_ARM_PCS_VFP.
11622
05c2c961
RMG
116232012-05-08 Roland Mc Grath <roland@hack.frob.com>
11624
bcfe3a54
ST
11625 [BZ #13979]
11626 * include/features.h: Warn if user requests __FORTIFY_SOURCE
11627 checking but the checks are disabled for any reason.
05c2c961 11628
4b30f61a
L
116292012-05-08 H.J. Lu <hongjiu.lu@intel.com>
11630
11631 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
11632 and ELF64_R_TYPE with ELFW(R_TYPE).
11633
eee2bc67
JM
116342012-05-08 Joseph Myers <joseph@codesourcery.com>
11635
7ea5391a
JM
11636 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
11637 (ulimit): Likewise.
11638
eee2bc67
JM
11639 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
11640 (settimeofday): Likewise.
11641
abb66a67
MF
116422012-05-08 Mike Frysinger <vapier@gentoo.org>
11643
11644 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
11645 a struct th_u2 inside the union, and move tu_block/tu_code into
11646 a new th_u3 union of tu_block/tu_code inside of that. Move
11647 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
11648 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
11649 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
11650 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
11651 (th_stuff): Change to th_u1.tu_stuff.
11652 (th_data): Define.
11653 (th_msg): Change to th_u1.th_u2.tu_data.
11654
7f18b530
DM
116552012-05-07 David S. Miller <davem@davemloft.net>
11656
05760585
DM
11657 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11658
7f18b530
DM
11659 [BZ #14074]
11660 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
11661 (SETUP_PIC_REG): Use it.
11662 (SETUP_PIC_REG_LEAF): Use it.
11663
495fd99f
JM
116642012-05-07 Joseph Myers <joseph@codesourcery.com>
11665
11666 [BZ #13885]
11667 [BZ #13923]
11668 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
11669 USE_AS_EXPM1L.
11670 (EXPL_FINITE): Likewise.
11671 (FLDLOG): Likewise.
11672 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
11673 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
11674 e_expl.S.
11675 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
11676 USE_AS_EXPM1L.
11677 (EXPL_FINITE): Likewise.
11678 (FLDLOG): Likewise.
11679 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
11680 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
11681 e_expl.S.
11682 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
11683 test of -max_value argument for long double.
11684 * sysdeps/i386/fpu/libm-test-ulps: Update.
11685 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11686
6693d694
DM
116872012-05-06 David S. Miller <davem@davemloft.net>
11688
11689 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
11690 quad soft-float symbols whose references which are compiler
11691 generated.
11692 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
11693
6c23e11c
JM
116942012-05-06 Joseph Myers <joseph@codesourcery.com>
11695
d8b82cad
JM
11696 [BZ #13884]
11697 [BZ #13914]
11698 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
11699 USE_AS_EXP10L.
11700 (EXPL_FINITE): Likewise.
11701 (FLDLOG): Likewise.
11702 (c0): Likewise.
11703 (c1): Likewise.
11704 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
11705 Adjust comments for base varying.
11706 (__expl_finite): Change alias to EXPL_FINITE.
11707 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
11708 e_expl.S.
11709 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
11710 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
11711 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
11712 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
11713 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
11714 USE_AS_EXP10L.
11715 (EXPL_FINITE): Likewise.
11716 (FLDLOG): Likewise.
11717 (c0): Likewise.
11718 (c1): Likewise.
11719 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
11720 Adjust comments for base varying.
11721 (__expl_finite): Change alias to EXPL_FINITE.
11722 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
11723 tests for bugs.
11724 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11725
6c23e11c
JM
11726 [BZ #14064]
11727 * math/libm-test.inc (check_float_internal): Correct ulp
11728 calculation for subnormal expected results.
11729
29ba805c
AJ
117302012-05-06 Andreas Jaeger <aj@suse.de>
11731
11732 * Makeconfig (+math-flags): New, set to -frounding-math.
11733 (+cflags): Add +math-flags so that all of glibc gets compiled with
11734 it.
11735
11736 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
11737
7b17aeda
JM
117382012-05-05 Joseph Myers <joseph@codesourcery.com>
11739
5779f134
JM
11740 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
11741 Disable one test.
11742
41498f4d
JM
11743 [BZ #13787]
11744 [BZ #13922]
11745 [BZ #14036]
11746 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
11747 (__ieee754_expl): Allow for and saturate large arguments.
11748 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
11749 (u_threshold): Likewise.
11750 (__exp): Call __ieee754_exp before checking for overflow and
11751 underflow.
11752 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
11753 (u_threshold): Likewise.
11754 (__expf): Call __ieee754_expf before checking for overflow and
11755 underflow.
11756 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
11757 (u_threshold): Likewise.
11758 (__expl): Call __ieee754_expl before checking for overflow and
11759 underflow.
11760 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
11761 (__ieee754_expl): Allow for and saturate large arguments.
11762 * math/libm-test.inc (exp_test): Add another test. Do not allow
11763 missing overflow exception on overflow.
11764 (expm1_test): Do not allow missing overflow exception on overflow.
11765
6698b8bf
JM
11766 * sysdeps/i386/fpu/e_expl.c: Move to ...
11767 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
11768 rather than using inline asm.
11769 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
11770 * sysdeps/x86_64/fpu/e_expl.S: Copy from
11771 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
11772
7b17aeda
JM
11773 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
11774 (nice): Likewise.
11775 (poll): Likewise.
11776 (signal): Likewise.
11777 (time): Likewise.
11778 (times): Likewise.
11779
f7c85819
JM
117802012-05-04 Joseph Myers <joseph@codesourcery.com>
11781
11782 * sysdeps/unix/syscalls.list (adjtime): Add entry from
11783 sysdeps/unix/common/syscalls.list.
11784 (fchmod): Likewise.
11785 (fchown): Likewise.
11786 (ftruncate): Likewise.
11787 (getrusage): Likewise.
11788 (gettimeofday): Likewise.
11789 (setpgid): Likewise.
11790 (setregid): Likewise.
11791 (setreuid): Likewise.
11792 (sigaction): Likewise.
11793 (truncate): Likewise.
11794 (vhangup): Likewise.
11795 * sysdeps/unix/common/syscalls.list: Remove file.
11796 * sysdeps/unix/bsd/Implies: Don't include unix/common.
11797 * sysdeps/unix/sysv/linux/Implies: Likewise.
11798
336270d0
L
117992012-05-04 H.J. Lu <hongjiu.lu@intel.com>
11800
11801 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
11802 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
11803 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
11804 Moved to ...
11805 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
11806 Here.
11807 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
11808 to ...
11809 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
11810 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
11811 to ...
11812 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
11813 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
11814 to ...
11815 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
11816 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
11817 to ...
11818 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
11819 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
11820 to ...
11821 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
11822 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
11823 to ...
11824 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
11825 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
11826 to ...
11827 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
11828 Here.
11829 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
11830 to ...
11831 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
11832 Here.
11833 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
11834 to ...
11835 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
11836 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
11837 Moved to ...
11838 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
11839 Here.
11840 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
11841 to ...
11842 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
11843
d128e450
JM
118442012-05-04 Joseph Myers <joseph@codesourcery.com>
11845
fa8ee516
JM
11846 * sysdeps/unix/common/bits/dirent.h: Remove file.
11847 * sysdeps/unix/common/bits/fcntl.h: Likewise.
11848
d128e450
JM
11849 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
11850 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
11851 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
11852 * sysdeps/unix/bsd/isatty.c: Likewise.
11853 * sysdeps/unix/bsd/tcdrain.c: Likewise.
11854 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
11855 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
11856
ff8faaf0 118572012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 11858
62881be4 11859 [BZ #13563]
31dc8730
AZ
11860 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
11861 long double comparison inaccuracies.
11862 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
11863 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11864
6fef930c
AS
118652012-05-04 Andreas Schwab <schwab@linux-m68k.org>
11866
11867 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
11868 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
11869
8f203e6c
JM
118702012-05-04 Joseph Myers <joseph@codesourcery.com>
11871
11872 [BZ #14049]
11873 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
11874 nonzero digits before rounding a hex value.
11875 * stdlib/tst-strtod.c (tests): Add another test.
11876
5197d9c2
AK
118772012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11878
11879 * sysdeps/s390/fpu/libm-test-ulps: Update.
11880
f0c1dedf
AJ
118812012-05-03 Andreas Jaeger <aj@suse.de>
11882
11883 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
11884 does not get optimized out.
11885 (malloc_opt_barrier): New.
11886
a65ef2ae 118872012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 11888 Roland McGrath <roland@hack.frob.com>
a65ef2ae 11889
2b942cb7 11890 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 11891 intermediate file deletion.
2b942cb7 11892 (generated): Add .symlist files.
a65ef2ae 11893
54b71e02
JM
118942012-05-03 Joseph Myers <joseph@codesourcery.com>
11895
11896 [BZ #13775]
11897 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
11898 Redirect under this condition.
11899 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
11900 [__USE_GNU] (__dprintf_chk): Not under this condition.
11901 [__USE_GNU] (__vdprintf_chk): Likewise.
11902 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
11903 under this condition.
11904 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
11905 [__USE_XOPEN2K8] (dprintf): Define under this condition.
11906 [__USE_XOPEN2K8] (vdprintf): Likewise.
11907 [__USE_GNU] (__dprintf_chk): Not under this condition.
11908 [__USE_GNU] (__vdprintf_chk): Likewise.
11909 [__USE_GNU] (dprintf): Likewise.
11910 [__USE_GNU] (vdprintf): Likewise.
11911
d3dfcc41
RM
119122012-05-03 Roland McGrath <roland@hack.frob.com>
11913
11914 * elf/Makefile (common-generated): Set this instead of generated for
11915 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
11916 $(all-built-dso)-derived lists.
11917
7ac30cc5
AJ
119182012-05-03 Andreas Jaeger <aj@suse.de>
11919
0c51e550
AJ
11920 * sysdeps/i386/fpu/libm-test-ulps: Update.
11921
7ac30cc5
AJ
11922 * FAQ: Removed.
11923 * FAQ.in: Likewise.
11924 * scripts/gen-FAQ.pl: Likewise.
11925 * manual/install.texi (Installation): Point to online location of
11926 FAQ.
11927 * Makefile (files-for-dist): Remove FAQ.
11928 (FAQ): Remove.
11929
d4c2917f
AM
119302012-05-02 Allan McRae <allan@archlinux.org>
11931
11932 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
11933 (LDFLAGS-reldepmod5.so): Likewise.
11934 (LDFLAGS-reldep6mod1.so): Likewise.
11935 (LDFLAGS-reldep6mod4.so): Likewise.
11936 (LDFLAGS-reldep8mod3.so): Likewise.
11937 (LDFLAGS-unload4mod1.so): Likewise.
11938 (LDFLAGS-unload4mod2.so): Likewise.
11939 (LDFLAGS-tst-initorder): Likewise.
11940 (LDFLAGS-tst-initordera2.so): Likewise.
11941 (LDFLAGS-tst-initordera3.so): Likewise.
11942 (LDFLAGS-tst-initordera4.so): Likewise.
11943 (LDFLAGS-tst-initorderb2.so): Likewise.
11944 (LDFLAGS-noload): Likewise.
11945 (LDFLAGS-next): Likewise.
11946 (LDFLAGS-order2mod1.so): Likewise.
11947 (LDFLAGS-order2mod2.so): Likewise.
11948 (LDFLAGS-tst-initorder2): Likewise.
11949 (LDFLAGS-tst-initorder2a.so): Likewise.
11950 (LDFLAGS-tst-initorder2b.so): Likewise.
11951 (LDFLAGS-tst-initorder2c.so): Likewise.
11952 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
11953
d77f993f
DM
119542012-05-02 David S. Miller <davem@davemloft.net>
11955
11956 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11957
171a70b4
PP
119582012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
11959
11960 [BZ #14055]
11961 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
11962
0be196ad
AJ
119632012-05-02 Andreas Jaeger <aj@suse.de>
11964
11965 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
11966 since we manipulate rounding mode.
11967 (CPPFLAGS-test-idouble.c): Likewise.
11968 (CPPFLAGS-test-ifloat.c): Likewise.
11969 (CFLAGS-test-ldouble.c): Likewise.
11970 (CFLAGS-test-double.c): Likewise.
11971 (CFLAGS-test-float.c): Likewise.
11972 (CFLAGS-test-misc.c): Likewise.
11973 (CFLAGS-test-test-fenv.c): Likewise.
11974
4f9d04aa
AZ
119752012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11976
2b942cb7
RM
11977 [BZ #2550]
11978 [BZ #2570]
11979 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
11980 comparisons to determine direction to adjust input.
4f9d04aa 11981
82a79e7d
RM
119822012-05-01 Roland McGrath <roland@hack.frob.com>
11983
f5a01ca9
RM
11984 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
11985 output to the target.
11986
90fe4186
RM
11987 * scripts/localplt.awk: New file.
11988 * elf/Makefile ($(objpfx)check-localplt): Target removed.
11989 (check-localplt-CFLAGS): Variable removed.
11990 ($(all-built-dso:=.jmprel)): New static pattern rule.
11991 (generated): Add those targets.
11992 (localplt-built-dso): New variable.
11993 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
11994
11995 * elf/check-localplt.c: File removed.
11996
82397ed6
RM
11997 * scripts/check-execstack.awk: New file.
11998 * elf/Makefile ($(objpfx)check-execstack): Target removed.
11999 (check-execstack-CFLAGS): Variable removed.
12000 ($(objpfx)check-execstack.h): Target removed.
12001 ($(objpfx)execstack-default): New target.
12002 (generated): Add that instead of check-execstack.h.
12003 ($(all-built-dso:=.phdr)): New static pattern rule.
12004 (generated): Add those targets.
12005 * elf/check-execstack.c: File removed.
12006
82a79e7d
RM
12007 * scripts/check-textrel.awk: New file.
12008 * elf/Makefile ($(objpfx)check-textrel): Target removed.
12009 (check-textrel-CFLAGS): Variable removed.
12010 (all-built-dso): Use := to define.o
12011 ($(all-built-dso:=.dyn)): New static pattern rule.
12012 (generated): Add those targets.
12013 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
12014 * config.make.in (READELF): New substituted variable.
12015 * elf/check-textrel.c: File removed.
12016
62fde54f 120172012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 12018
615605c9
JM
12019 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
12020 allow.
12021 * conform/data/ctype.h-data [C99-based standards] (isblank):
12022 Expect function.
12023 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
12024 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
12025 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12026 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
12027 Specify type. Require positive value.
12028 (EILSEQ): Likewise.
12029 (ERANGE): Likewise.
12030 [ISO || POSIX] (EILSEQ): Do not expect.
12031 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
12032 Specify type. Require positive value.
12033 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
12034 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
12035 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
12036 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
12037 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
12038 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
12039 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
12040 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
12041 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
12042 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
12043 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
12044 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
12045 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
12046 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
12047 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
12048 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
12049 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
12050 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
12051 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
12052 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
12053 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
12054 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
12055 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
12056 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
12057 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
12058 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
12059 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
12060 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
12061 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
12062 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
12063 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
12064 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
12065 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
12066 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
12067 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
12068 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
12069 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
12070 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
12071 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
12072 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
12073 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
12074 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
12075 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
12076 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
12077 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
12078 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
12079 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
12080 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
12081 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
12082 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
12083 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
12084 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
12085 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
12086 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
12087 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
12088 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
12089 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
12090 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
12091 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
12092 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
12093 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
12094 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
12095 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
12096 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
12097 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
12098 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
12099 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
12100 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
12101 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
12102 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
12103 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
12104 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
12105 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
12106 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
12107 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
12108 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
12109 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
12110 Require >= 2.
12111 (FLT_ROUNDS): Expect as macro, not constant.
12112 (FLT_MANT_DIG): Use macro-int-constant.
12113 (DBL_MANT_DIG): Likewise.
12114 (LDBL_MANT_DIG): Likewise.
12115 (FLT_DIG): Likewise.
12116 (DBL_DIG): Likewise.
12117 (LDBL_DIG): Likewise.
12118 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
12119 (DBL_MIN_EXP): Likewise.
12120 (LDBL_MIN_EXP): Likewise.
12121 (FLT_MAX_EXP): Use macro-int-constant.
12122 (DBL_MAX_EXP): Likewise.
12123 (LDBL_MAX_EXP): Likewise.
12124 (FLT_MAX_10_EXP): Likewise.
12125 (DBL_MAX_10_EXP): Likewise.
12126 (LDBL_MAX_10_EXP): Likewise.
12127 (FLT_MAX): Use macro-constant.
12128 (DBL_MAX): Likewise.
12129 (LDBL_MAX): Likewise.
12130 (FLT_EPSILON): Use macro-constant. Give upper bound.
12131 (DBL_EPSILON): Likewise.
12132 (LDBL_EPSILON): Likewise.
12133 (FLT_MIN): Likewise.
12134 (DBL_MIN): Likewise.
12135 (LDBL_MIN): Likewise.
12136 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
12137 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
12138 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
12139 [ISO11] (FLT_HAS_SUBNORM): Likewise.
12140 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
12141 [ISO11] (DBL_DECIMAL_DIG): Likewise.
12142 [ISO11] (FLT_DECIMAL_DIG): Likewise.
12143 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
12144 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
12145 [ISO11] (FLT_TRUE_MIN): Likewise.
12146 [ISO11] (LDBL_TRUE_MIN): Likewise.
12147 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12148 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
12149 (SCHAR_MIN): Use macro-int-constant. Specify type.
12150 (SCHAR_MAX): Likewise.
12151 (UCHAR_MAX): Likewise.
12152 (CHAR_MIN): Likewise.
12153 (CHAR_MAX): Likewise.
12154 (MB_LEN_MAX): Use macro-int-constant.
12155 (SHRT_MIN): Use macro-int-constant. Specify type.
12156 (SHRT_MAX): Likewise.
12157 (USHRT_MAX): Likewise.
12158 (INT_MAX): Likewise.
12159 (INT_MIN): Use macro-int-constant. Specify type. Make upper
12160 bound negative.
12161 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
12162 bound with "U".
12163 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
12164 bound with "L".
12165 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
12166 bound negative. Suffix upper bound with "L".
12167 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
12168 bound with "UL".
12169 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
12170 Specify type.
12171 [C99-based standards] (LLONG_MAX): Likewise.
12172 [C99-based standards] (ULLONG_MAX): Likewise.
12173 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
12174 == 0.
12175 [ISO11] (max_align_t): Require type.
12176 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12177
c9140a62
JM
12178 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
12179 from $CFLAGS, without defining away __attribute__ calls.
12180 (checknamespace): Use $CFLAGS_namespace.
12181
9af0bf29
JM
12182 * conform/conformtest.pl (@keywords): Only include C99 keywords
12183 for standards based on C99 or C11.
12184
343222a2
JM
12185 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
12186 Disable tests.
12187 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
12188 UNIX98]: Likewise.
12189
661f8cf0
JM
12190 * conform/conformtest.pl: Handle "macro-int-constant" and test for
12191 usability of symbols in #if.
12192
ee74b9cb
JM
12193 * conform/conformtest.pl: If macro or constant types start
12194 "promoted:", expect the symbol to be of the following type
12195 promoted by the integer promotions.
62fde54f 12196
aafc49b3
JM
12197 * conform/conformtest.pl: Parse all "constant" and "macro" lines
12198 in one place. Also handle "macro-constant".
12199
fefdf574
JM
12200 * conform/conformtest.pl: Only accept expected macro values with
12201 "==". Parse all "macro" lines in one place.
12202 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
12203
f2d922fe
JM
12204 * conform/conformtest.pl: Handle braced types on "constant" lines
12205 instead of handling "typed-constant".
12206 * conform/data/signal.h-data: Use "constant" instead of
12207 "typed-constant".
12208
d22956c9
JM
12209 * conform/conformtest.pl: Handle "optional-" at start of lines in
12210 one place rather than duplicating several cases. Handle each
12211 format of "macro" line with initial "optional-".
12212
028e2e38
JM
12213 * conform/conformtest.pl: Only accept expected constant or
12214 optional-constant values with "==". Parse all "constant" lines in
12215 one place. Parse all "optional-constant" lines in one place.
12216 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
12217 * conform/data/fmtmsg.h-data: Likewise.
12218 * conform/data/netinet/in.h-data: Likewise.
12219 * conform/data/tar.h-data: Likewise.
12220 * conform/data/limits.h-data: Use "==" form on "constant" and
12221 "optional-constant" lines.
12222
1b8f2850
JM
12223 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
12224 Use -std=c99 for XOPEN2K.
12225 (@knownproblems): Remove.
12226 (newtoken): Don't check %isknown.
12227
a05a144b
JM
12228 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
12229 Do not expect macro.
12230 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
12231 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
12232 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
12233 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
12234 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
12235 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
12236 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
12237 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
12238 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
12239 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
12240 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
12241 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
12242 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
12243 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
12244 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
12245 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
12246 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
12247 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
12248 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
12249 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
12250 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
12251 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
12252 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
12253 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
12254 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
12255 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
12256 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
12257 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
12258 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
12259 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
12260 [XPG3] (acosh): Likewise.
12261 [XPG3] (asinh): Likewise.
12262 [XPG3] (atanh): Likewise.
12263 [XPG3] (cbrt): Likewise.
12264 [XPG3] (expm1): Likewise.
12265 [XPG3] (ilogb): Likewise.
12266 [XPG3] (log1p): Likewise.
12267 [XPG3] (logb): Likewise.
12268 [XPG3] (nextafter): Likewise.
12269 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
12270 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
12271 [XPG3] (remainder): Likewise.
12272 [XPG3] (rint): Likewise.
12273 [XPG3 || XPG4 || UNIX98] (round): Likewise.
12274 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
12275 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
12276 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
12277 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
12278 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
12279 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
12280 [UNIX98 || XOPEN2K] (scalb): Expect.
12281 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
12282 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
12283 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
12284 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
12285 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
12286 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
12287 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
12288 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
12289 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
12290 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
12291 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
12292 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
12293 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
12294 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
12295 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
12296 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
12297 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
12298 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
12299 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
12300 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
12301 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
12302 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
12303 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
12304 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
12305 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
12306 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
12307 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
12308 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
12309 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
12310 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
12311 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
12312 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
12313 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
12314 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
12315 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
12316 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
12317 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
12318 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
12319 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
12320 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
12321 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
12322 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
12323 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
12324 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
12325 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
12326 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
12327 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
12328 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
12329 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
12330 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
12331 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
12332 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
12333 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
12334 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
12335 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
12336 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
12337 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
12338 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
12339 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
12340 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
12341 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
12342 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
12343 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
12344 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
12345 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
12346 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
12347 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
12348 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
12349 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
12350 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
12351 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
12352 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
12353 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
12354 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
12355 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
12356 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
12357 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
12358 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
12359 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
12360 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
12361 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
12362 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
12363 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
12364 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
12365 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
12366 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
12367 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
12368 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
12369 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
12370 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
12371 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
12372 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
12373 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
12374 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
12375 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
12376 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
12377 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
12378 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
12379 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
12380 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
12381 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
12382 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
12383 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
12384 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
12385 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
12386 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
12387 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
12388 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
12389 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
12390 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
12391 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
12392 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
12393 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
12394 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
12395 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
12396 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
12397 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
12398 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
12399 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
12400 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
12401 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
12402 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
12403 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
12404 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
12405 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
12406 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
12407 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
12408 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
12409 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
12410 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
12411 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
12412 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
12413 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
12414 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
12415 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
12416 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
12417 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
12418
73c5ebe3
JM
12419 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
12420 _XOPEN_SOURCE_EXTENDED for XPG4.
12421
39c33b6c
JM
12422 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
12423
62fde54f
JM
12424 * Makeconfig (localtime): Remove variable.
12425 (inst_localtime-file): Likewise.
12426
0741d64c
AS
124272012-05-01 Andreas Schwab <schwab@linux-m68k.org>
12428
12429 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
12430 Update.
12431 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12432 Update.
12433 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
12434 Update.
12435 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
12436 Update.
12437 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
12438 Update.
12439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
12440 Update.
12441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12442 Update.
12443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
12444 Update.
12445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
12446 Update.
12447
7cb029ee
JM
124482012-05-01 Joseph Myers <joseph@codesourcery.com>
12449
12450 [BZ #2550]
12451 [BZ #2570]
12452 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
12453 comparisons to determine direction to adjust input.
12454 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
12455 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
12456 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
12457 Likewise.
12458 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
12459 Likewise.
12460 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
12461 Likewise.
12462 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
12463 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
12464 Likewise.
12465 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
12466 Likewise.
12467 * math/libm-test.inc (nexttoward_test): Add more tests.
12468
412bd966
AS
124692012-05-01 Andreas Schwab <schwab@linux-m68k.org>
12470
12471 [BZ #14040]
12472 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
12473 in version GLIBC_2.1, not GLIBC_2.0.
12474 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
12475 Likewise.
12476
9568c0c2
JM
124772012-04-30 Joseph Myers <joseph@codesourcery.com>
12478
adfbc8ac
JM
12479 [BZ #13942]
12480 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
12481 (1 - x) * (1 + x).
12482 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
12483 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
12484 * math/libm-test.inc (acos_test): Add more tests.
12485 (asin_test): Likewise.
12486 * sysdeps/i386/fpu/libm-test-ulps: Update.
12487 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12488
5ba3cc69
JM
12489 [BZ #14034]
12490 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
12491 of square root.
12492 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
12493 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
12494 * math/libm-test.inc (acos_test_tonearest): New function.
12495 (acos_test_towardzero): Likewise.
12496 (acos_test_downward): Likewise.
12497 (acos_test_upward): Likewise.
12498 (asin_test_tonearest): Likewise.
12499 (asin_test_towardzero): Likewise.
12500 (asin_test_downward): Likewise.
12501 (asin_test_upward): Likewise.
12502 (main): Call the new functions.
12503 * sysdeps/i386/fpu/libm-test-ulps: Update.
12504 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12505
9568c0c2
JM
12506 [BZ #13884]
12507 [BZ #13924]
12508 * math/e_exp10.c: Include <float.h>.
12509 (__ieee754_exp10): Handle underflow here rather than multiplying
12510 large negative argument by M_LN10.
12511 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
12512 of __ieee754_expf.
12513 * math/e_exp10l.c: Include <float.h>.
12514 (__ieee754_exp10l): Handle underflow here rather than multiplying
12515 large negative argument by M_LN10l.
12516 * math/libm-test.inc (exp10_test): Add another test. Do not allow
12517 spurious overflow exception on underflow.
12518
5ac3ea17
MP
125192012-04-29 Marek Polacek <polacek@redhat.com>
12520
12521 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
12522 (__fortify_function): New macro.
12523 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
12524 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
12525 __extern_always_inline.
12526 * libio/bits/stdio2.h: Likewise.
12527 * libio/bits/stdio.h: Likewise.
12528 * string/string.h: Likewise.
12529 * string/bits/string3.h: Likewise.
12530 * include/stdio.h: Likewise.
12531 * stdlib/bits/stdlib.h: Likewise.
12532 * stdlib/stdlib.h: Likewise.
12533 * rt/bits/mqueue2.h: Likewise.
12534 * rt/mqueue.h: Likewise.
12535 * posix/bits/unistd.h: Likewise.
12536 * posix/unistd.h: Likewise.
12537 * io/bits/poll2.h: Likewise.
12538 * io/bits/fcntl2.h: Likewise.
12539 * io/fcntl.h: Likewise.
12540 * io/sys/poll.h: Likewise.
12541 * misc/bits/syslog.h: Likewise.
12542 * misc/bits/syslog-ldbl.h: Likewise.
12543 * misc/sys/syslog.h: Likewise.
12544 * socket/bits/socket2.h: Likewise.
12545 * socket/sys/socket.h: Likewise.
12546 * debug/tst-chk1.c: Likewise.
12547 * wcsmbs/bits/wchar2.h: Likewise.
12548 * wcsmbs/bits/wchar-ldbl.h: Likewise.
12549 * wcsmbs/wchar.h: Likewise.
12550
ecf0ebfb
AJ
125512012-04-29 Andreas Jaeger <aj@suse.de>
12552
12553 * Makerules (tests): Remove enable-check-abi protection.
12554 (check-abi-warn): Remove.
12555 (check-abi-%): Remove check-abi-warn usage.
12556
12557 * configure.in: Remove check-abi configure option.
12558 * configure: Regenerated.
12559 * config.make.in (enable-check-abi): Remove.
12560
6d5c57fa
AS
125612012-04-28 Andreas Schwab <schwab@linux-m68k.org>
12562
24c5d07e 12563 [BZ #14033]
ded5180a
AS
12564 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
12565 double functions to double *_finite functions.
12566
7e0d315d
AS
12567 [BZ #13941]
12568 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
12569 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
12570 LDBL_MIN_EXP.
12571 * stdio-common/Makefile (tests): Add tst-sprintf3.
12572 * stdio-common/tst-sprintf3.c: New file.
12573
6d5c57fa
AS
12574 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
12575 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
12576
0749ff8b
JM
125772012-04-28 Joseph Myers <joseph@codesourcery.com>
12578
12579 * conform/conformtest.pl: Remove duplicate typed-constant
12580 handling.
12581
8dbd5d7b
DM
125822012-04-28 David S. Miller <davem@davemloft.net>
12583
12584 * Makerules (%.abilist): Add vpath on sysdep_dirs.
12585 (check-abi-%): Remove AWK script prerequisite and explicit
12586 abilist directory.
12587 (check-abi): Rewrite to just diff the symlist with the abilist.
12588 (config-tls, config-abi-config): Delete, no longer used.
12589 (update-abi-%): Remove AWK script and explicit abilist directory.
12590 (update-abi): Rewrite to simply compare and conditionally copy the
12591 symlist and the sysdep abilist file. Remove update-abi-config
12592 checks.
12593 * abilist/ld.abilist: Remove.
12594 * abilist/libBrokenLocale.abilist: Remove.
12595 * abilist/libanl.abilist: Remove.
12596 * abilist/libcrypt.abilist: Remove.
12597 * abilist/libdl.abilist: Remove.
12598 * abilist/librt.abilist: Remove.
12599 * abilist/libthread_db.abilist: Remove.
12600 * abilist/libutil.abilist: Remove.
12601 * scripts/extract-abilist.awk: Remove.
12602 * scripts/merge-abilist.awk: Remove.
12603 * sysdeps/generic/libcidn.abilist: New file.
12604 * sysdeps/generic/libnss_compat.abilist: New file.
12605 * sysdeps/generic/libnss_db.abilist: New file.
12606 * sysdeps/generic/libnss_dns.abilist: New file.
12607 * sysdeps/generic/libnss_files.abilist: New file.
12608 * sysdeps/generic/libnss_hesiod.abilist: New file.
12609 * sysdeps/generic/libnss_nis.abilist: New file.
12610 * sysdeps/generic/libnss_nisplus.abilist: New file.
12611 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
12612 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
12613 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
12614 file.
12615 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
12616 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
12617 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
12618 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
12619 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
12620 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
12621 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
12622 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
12623 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
12624 file.
12625 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
12626 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
12627 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
12628 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
12629 file.
12630 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
12631 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
12632 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
12633 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
12634 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
12635 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
12636 file.
12637 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
12638 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
12639 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
12640 file.
12641 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
12642 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
12643 New file.
12644 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
12645 New file.
12646 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
12647 New file.
12648 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
12649 New file.
12650 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
12651 New file.
12652 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
12653 New file.
12654 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
12655 New file.
12656 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
12657 New file.
12658 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
12659 New file.
12660 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
12661 New file.
12662 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
12663 New file.
12664 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
12665 New file.
12666 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
12667 New file.
12668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
12669 file.
12670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
12671 New file.
12672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
12673 New file.
12674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
12675 file.
12676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
12677 New file.
12678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
12679 New file.
12680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
12681 file.
12682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
12683 New file.
12684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
12685 New file.
12686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
12687 New file.
12688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
12689 New file.
12690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
12691 New file.
12692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
12693 New file.
12694 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
12695 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
12696 file.
12697 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
12698 New file.
12699 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
12700 file.
12701 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
12702 file.
12703 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
12704 file.
12705 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
12706 file.
12707 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
12708 file.
12709 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
12710 New file.
12711 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
12712 file.
12713 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
12714 file.
12715 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
12716 New file.
12717 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
12718 file.
12719 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
12720 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
12721 file.
12722 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
12723 New file.
12724 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
12725 file.
12726 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
12727 file.
12728 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
12729 file.
12730 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
12731 file.
12732 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
12733 file.
12734 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
12735 New file.
12736 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
12737 file.
12738 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
12739 file.
12740 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
12741 New file.
12742 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
12743 file.
12744 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
12745 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
12746 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
12747 file.
12748 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
12749 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
12750 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
12751 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
12752 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
12753 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
12754 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
12755 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
12756 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
12757 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
12758 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
12759 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
12760 file.
12761 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
12762 New file.
12763 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
12764 file.
12765 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
12766 file.
12767 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
12768 file.
12769 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
12770 file.
12771 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
12772 file.
12773 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
12774 New file.
12775 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
12776 New file.
12777 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
12778 file.
12779 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
12780 New file.
12781 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
12782 file.
12783 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
12784 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
12785 file.
12786 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
12787 New file.
12788 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
12789 file.
12790 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
12791 file.
12792 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
12793 file.
12794 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
12795 file.
12796 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
12797 file.
12798 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
12799 New file.
12800 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
12801 New file.
12802 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
12803 file.
12804 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
12805 New file.
12806 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
12807 file.
12808
41d73a1b
JM
128092012-04-28 Joseph Myers <joseph@codesourcery.com>
12810
12811 * conform/conformtest.pl: Fix typo in handling typed-constant from
12812 allow-header.
12813
28aeeda4
JM
128142012-04-27 Joseph Myers <joseph@codesourcery.com>
12815
adae8f5e
JM
12816 * README: Cut down references to pre-2.6 Linux kernels and
12817 Linuxthreads. Update lists of configurations in libc and ports
12818 and sort alphabetically. Say "or newer" with Linux kernel version
12819 requirements.
12820
28aeeda4
JM
12821 * config.h.in [IS_IN_build]: Allow compiling without optimization.
12822
a462cb63
RA
128232012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12824
12825 [BZ #887]
12826 * math/libm-test.inc (logb_test_downward): New test to expose
12827 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
12828 rounding mode.
12829
6ad3493e
JM
128302012-04-27 Joseph Myers <joseph@codesourcery.com>
12831
12832 [BZ #14027]
12833 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
12834 to be done.
12835 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
12836 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
12837
2ce4f015
JM
128382012-04-26 Joseph Myers <joseph@codesourcery.com>
12839
5aeb141a
JM
12840 * sysdeps/unix/i386/brk.S: Remove file.
12841 * sysdeps/unix/i386/dl-brk.S: Likewise.
12842 * sysdeps/unix/i386/pipe.S: Likewise.
12843 * sysdeps/unix/i386/sigreturn.S: Likewise.
12844 * sysdeps/unix/i386/syscall.S: Likewise.
12845 * sysdeps/unix/i386/vfork.S: Likewise.
12846 * sysdeps/unix/i386/wait.S: Likewise.
12847
7143acae
JM
12848 * sysdeps/unix/common/tcsendbrk.c: Move to ...
12849 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
12850
2ce4f015
JM
12851 * configure.in (arm*-none*): Do not allow without
12852 --enable-hacker-mode.
12853 (netbsd*): Remove case setting base_os.
12854 (386bsd*): Likewise.
12855 (freebsd*): Likewise.
12856 (bsdi*): Likewise.
12857 (osf*): Likewise.
12858 (sunos*): Likewise.
12859 (ultrix*): Likewise.
12860 (newsos*): Likewise.
12861 (dynix*): Likewise.
12862 (*bsd*): Likewise.
12863 (sysv*): Likewise.
12864 (isc*): Likewise.
12865 (esix*): Likewise.
12866 (sco*): Likewise.
12867 (minix*): Likewise.
12868 (irix4*): Likewise.
12869 (irix6*): Likewise.
12870 (solaris[2-9]*): Likewise.
12871 (none): Likewise.
12872 * configure: Regenerated.
12873
0ac229c8
AZ
128742012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12875
12876 [BZ #11521]
12877 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
12878 overflow or cancellation in calculating denominator.
12879 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
12880 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
12881 down expression to avoid unexpected rounding in newer GCCs.
12882 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
12883
33f244f4
DM
128842012-04-26 David S. Miller <davem@davemloft.net>
12885
12886 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
12887 long-double compat symbols.
12888 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
12889 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
12890 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
12891 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
12892 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
12893 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
12894 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
12895 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
12896 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
12897 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
12898 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
12899 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
12900 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
12901
cfa1f3e8
DM
129022012-04-25 David S. Miller <davem@davemloft.net>
12903
12904 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
12905 HWCAP_* values only after the memory barriers have been defined.
12906 (atomic_full_barrier): Define.
12907 (atomic_read_barrier): Define.
12908 (atomic_write_barrier): Define.
12909
6e236b92
SP
129102012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12911
12912 * shlib-versions: Add libgcc_s version information.
12913 * sysdeps/generic/libgcc_s.h: Remove.
12914 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
12915 libgcc_s.h.
12916 * sysdeps/gnu/unwind-resume.c: Likewise.
12917 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
12918
aab39a09
DM
129192012-04-25 David S. Miller <davem@davemloft.net>
12920
12921 * sysdeps/unix/sparc/brk.S: Delete.
12922 * sysdeps/unix/sparc/dl-brk.S: Delete.
12923 * sysdeps/unix/sparc/pipe.S: Delete.
12924 * sysdeps/unix/sparc/sysdep.S: Delete.
12925 * sysdeps/unix/sparc/sysdep.h: Delete.
12926 * sysdeps/unix/sparc/vfork.S: Delete.
12927 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
12928 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
12929 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
12930 ret_ERRVAL, r0, r1, MOVE): Define.
12931 (JUMPTARGET): Remove.
12932 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
12933 sysdeps/unix/sparc/sysdep.h
12934 (ENTRY, END): Remove.
12935 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12936
a3cc4f48
JM
129372012-04-25 Joseph Myers <joseph@codesourcery.com>
12938
2ed8cda2
JM
12939 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
12940 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
12941 -DIS_IN_build.
12942
35d76d59
JM
12943 * timezone/README: Update upstream location and email address for
12944 tzcode and tzdata.
12945 * timezone/zdump.c: Update from tzcode 2012b.
12946 * timezone/zic.c: Likewise.
12947
a3cc4f48
JM
12948 * configure.in (libc_cv_as_needed): Remove test.
12949 * configure: Regenerated.
12950 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
12951 conditional definition.
12952 [$(have-as-needed) != yes] (no-as-needed): Likewise.
12953 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
12954 * config.make.in (have-as-needed): Remove variable.
12955
ceab42c3
SP
129562012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12957 Paul Pluzhnikov <ppluzhnikov@google.com>
12958
12959 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
12960 strings correctly.
12961
3ce2865f
CLT
129622012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
12963
12964 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
12965 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
12966 * sysdeps/sh/strlen.S: Likewise.
12967
f37e0d68
JM
129682012-04-24 Joseph Myers <joseph@codesourcery.com>
12969
ae186e9a
JM
12970 * sysdeps/unix/fork.S: Remove file.
12971 * sysdeps/unix/i386/fork.S: Likewise.
12972 * sysdeps/unix/sparc/fork.S: Likewise.
12973
b96914af
JM
12974 * sysdeps/unix/system.c: Remove file.
12975 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
12976
f37e0d68
JM
12977 * sysdeps/unix/getegid.S: Remove file.
12978 * sysdeps/unix/geteuid.S: Likewise.
12979
87ef29ca
RM
129802012-04-24 Roland McGrath <roland@hack.frob.com>
12981
83bcd236
RM
12982 * scripts/check-localplt.awk: New file.
12983 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
12984 of diff.
12985 * scripts/data/localplt-generic.data: Add a comment.
12986
87ef29ca
RM
12987 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
12988 NODE when __dir_mkfile failed.
12989 * sysdeps/mach/hurd/symlinkat.c: Likewise.
12990 Reported by Ludovic Courtès <ludo@gnu.org>.
12991
e5a6e567
AJ
129922012-04-24 Andreas Jaeger <aj@suse.de>
12993
12994 * Makerules (common-clean): Also remove gen-as-const-headers
12995 files.
12996
c1820385
JM
129972012-04-24 Joseph Myers <joseph@codesourcery.com>
12998
12999 * Makerules (native-compile): Do not change working directory for
13000 build. Use $(OUTPUT_OPTION) in command.
13001 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
13002
94e02fc4
AZ
130032012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13004
13005 [BZ #13886]
13006 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
13007 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
13008 * math/libm-test.inc (floor_test): Add more tests.
13009 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
13010
3a533ca3
JM
130112012-04-24 Joseph Myers <joseph@codesourcery.com>
13012
940ab4b3
JM
13013 * sysdeps/unix/getdents.c: Remove file.
13014 * sysdeps/unix/sysv/getdents.c: Likewise.
13015 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
13016
90e037bd
JM
13017 * sysdeps/unix/syscalls.list (madvise): Add syscall from
13018 sysdeps/unix/mman/syscalls.list.
13019 (mmap): Likewise.
13020 (mprotect): Likewise.
13021 (msync): Likewise.
13022 (munmap): Likewise.
13023 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
13024 * sysdeps/unix/mman/syscalls.list: Remove.
13025 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
13026
3a533ca3
JM
13027 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
13028 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
13029 * configure: Regenerated.
13030 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
13031 $(libgcc_s_suffix).
13032 * config.make.in (libgcc_s_suffix): Remove variable.
13033
1ad743de
JM
130342012-04-23 Joseph Myers <joseph@codesourcery.com>
13035
4ad451e2
JM
13036 * sysdeps/unix/sysv/gethostname.c: Move to ...
13037 * sysdeps/posix/gethostname.c: ... here.
13038
5e37ce39
JM
13039 * sysdeps/unix/execve.S: Remove file.
13040
1ad743de
JM
13041 * sysdeps/unix/_exit.S: Remove file.
13042
4e681b5b
AJ
130432012-04-23 Andreas Jaeger <aj@suse.de>
13044
13045 [BZ #13739]
13046 * manual/Makefile: Remove make dist support, there's no
13047 need for a stand-alone documentation tar ball.
13048 (TEXI2DVI): Define always, it's not in Makeconfig.
13049 (dist): Removed.
13050 (tar-it): Removed.
13051 (edition): Removed.
13052 (glibc-doc-$(edition).tar): Removed
13053 (%.Z): Removed.
13054 (%.gz): Removed.
13055 (%.uu): Removed.
13056 (ETAGS): Remove, it's in Makeconfig.
13057 (move-if-change): Remove, it's in Makeconfig.
13058
38686a03 130592012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
13060
13061 [BZ #13970]
13062 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
13063 (strtod, strtof, strtold, strtol, strtoul, strtoq)
13064 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
13065 (strtod_l, strtof_l, strtold_l): Remove __wur.
13066 It is not necessarily an error to ignore strtol's return value.
13067 One can reliably look at the stored endptr to decide whether
13068 the number had valid syntax.
13069
7c0616fa
AJ
130702012-04-21 Andreas Jaeger <aj@suse.de>
13071
803cb6b7 13072 [BZ #13739]
7c0616fa
AJ
13073 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
13074
b0fe253f
JM
130752012-04-21 Joseph Myers <joseph@codesourcery.com>
13076
13077 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
13078 * sysdeps/unix/sysv/Versions: Remove file.
13079
8280f22d
MT
130802012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
13081
13082 [BZ #13927]
13083 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13084
75ce411f 130852012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
13086
13087 [BZ #7064]
13088 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
13089 version from __vm86.
13090
097d59fa
JM
130912012-04-20 Joseph Myers <joseph@codesourcery.com>
13092
a90f3bcb
JM
13093 * sysdeps/unix/common/lxstat.c: Remove file.
13094 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
13095
edc7ea78
JM
13096 * sysdeps/unix/sysv/Makefile: Remove file.
13097
cb78c221
JM
13098 * sysdeps/unix/sysv/direct.h: Remove file.
13099
efa6a45f
JM
13100 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
13101 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
13102 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
13103 * sysdeps/unix/sysv/bits/signum.h: Likewise.
13104 * sysdeps/unix/sysv/bits/stat.h: Likewise.
13105 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
13106 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
13107
9c9f2d0c
JM
13108 * sysdeps/unix/sysv/setrlimit.c: Remove file.
13109
4541c83b
JM
13110 * sysdeps/unix/xmknod.c: Remove file.
13111 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
13112
f5d153a0
JM
13113 * sysdeps/unix/sysv/settimeofday.c: Remove file.
13114
aa746595
JM
13115 * sysdeps/unix/sysv/i386/time.S: Remove file.
13116
cce5905e
JM
13117 * sysdeps/unix/fxstat.c: Remove file.
13118 * sysdeps/unix/xstat.c: Likewise.
13119 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
13120
37fa3841
JM
13121 * sysdeps/unix/sysv/sigaction.c: Remove file.
13122
ff1962a3
JM
13123 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
13124 (sysdep_headers): Remove variable.
13125 [termio.h not in sysdep_headers] (generated): Likewise.
13126 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
13127 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
13128 * sysdeps/unix/sysv/tcdrain.c: Likewise.
13129 * sysdeps/unix/sysv/tcflow.c: Likewise.
13130 * sysdeps/unix/sysv/tcflush.c: Likewise.
13131 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
13132 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
13133 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
13134 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
13135 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
13136
e7740d31
JM
13137 * sysdeps/unix/siglist.c: Remove file.
13138
ee06f18b
JM
13139 * sysdeps/unix/getppid.S: Remove file.
13140
097d59fa
JM
13141 * sysdeps/unix/mkdir.c: Remove file.
13142 * sysdeps/unix/rmdir.c: Likewise.
13143
ff3d51ec
AS
131442012-04-19 Andreas Schwab <schwab@linux-m68k.org>
13145
13146 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
13147 ERR_MAX value.
13148 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
13149 errlist-compat value.
13150
50f81fd7
DM
131512012-04-18 David S. Miller <davem@davemloft.net>
13152
13153 * sysdeps/generic/memcopy.h (reg_char): Delete.
13154 * debug/strcat_chk.c: Use char, not reg_char.
13155 * debug/strcpy_chk.c: Likewise.
13156 * debug/strncat_chk.c: Likewise.
13157 * debug/strncpy_chk.c: Likewise.
13158 * string/memchr.c: Likewise.
13159 * string/memrchr.c: Likewise.
13160 * string/rawmemchr.c: Likewise.
13161 * string/strcat.c: Likewise.
13162 * string/strchr.c: Likewise.
13163 * string/strchrnul.c: Likewise.
13164 * string/strcmp.c: Likewise.
13165 * string/strcpy.c: Likewise.
13166 * string/strncat.c: Likewise.
13167 * string/strncmp.c: Likewise.
13168 * string/strncpy.c: Likewise.
13169
8ff41c46
WS
131702012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
13171
13172 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
13173 __builtin_memcopy is called when src and dest ranges are known to not
13174 overlap.
13175
6b652f46
WS
131762012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
13177
13178 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
13179 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
13180 fwd_align_merge macro call.
13181 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
13182 bwd_align_merge macro call.
13183 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
13184
b282631e
WS
131852012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
13186
13187 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
13188 bwd_align_merge macros.
13189 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
13190 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
13191 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
13192
95aa737c
DM
131932012-04-18 David S. Miller <davem@davemloft.net>
13194
13195 * sysdeps/sparc/sparc64/memcopy.h: Delete.
13196
7a99a614
AJ
131972012-04-18 Andreas Jaeger <aj@suse.de>
13198
13199 [BZ# 6794]
13200 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
13201 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
13202 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
13203
13204 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
13205 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
13206 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
13207
13208 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
13209 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
13210 Adjust for changed ldbl-128 files.
13211
13212 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
13213 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
13214 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
13215
e5270c23
DM
132162012-04-17 David S. Miller <davem@davemloft.net>
13217
13218 * sysdeps/sparc/sparc32/memcopy.h: Delete.
13219
fb5e92c9
AS
132202012-04-17 Andreas Schwab <schwab@linux-m68k.org>
13221
13222 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
13223 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
13224 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
13225 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
13226 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
13227 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
13228
76da7265
AZ
132292012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13230
13231 [BZ #6794]
13232 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
13233 * math/libm-test.inc: Add ilogb errno and exception tests.
13234 * math/w_ilogb.c: New file: ilogb wrapper.
13235 * math/w_ilogbf.c: New file: ilogbf wrapper.
13236 * math/w_ilogbl.c: New file: ilogbl wrapper.
13237 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
13238 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
13239 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
13240 exception being thrown with 0.0 as argument.
13241 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
13242 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
13243 exception being thrown with 0.0 as argument.
13244 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
13245 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
13246 exception being thrown with 0.0 as argument.
13247 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
13248 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
13249 exception being thrown with 0.0 as argument.
13250 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
13251 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 13252 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
13253 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
13254 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
13255 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
13256 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
13257 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
13258 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
13259
0396e69d
PB
132602012-04-17 Petr Baudis <pasky@ucw.cz>
13261
13262 * include/sys/uio.h: Change __vector to __iovec to avoid clash
13263 with altivec.
13264
750b5926
MP
132652012-04-16 Marek Polacek <polacek@redhat.com>
13266
13267 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
13268
751728a1
MP
132692012-04-16 Marek Polacek <polacek@redhat.com>
13270
13271 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
13272 operands of fdivp instruction.
13273
34a27407
L
132742012-04-13 H.J. Lu <hongjiu.lu@intel.com>
13275
13276 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
13277 * elf/tst-auditmod3b.c: Likewise.
13278 * elf/tst-auditmod4b.c: Likewise.
13279 * elf/tst-auditmod5b.c: Likewise.
13280 * elf/tst-auditmod6b.c: Likewise.
13281 * elf/tst-auditmod6c.c: Likewise.
13282 * elf/tst-auditmod7b.c: Likewise.
13283 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
13284 * sysdeps/x86_64/preconfigure.in: Likewise.
13285 * sysdeps/x86_64/preconfigure: Regenerated.
13286
7e73e17d
L
132872012-04-13 H.J. Lu <hongjiu.lu@intel.com>
13288
13289 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
13290 __ILP32__.
13291
c7a6ab72
AB
132922012-04-13 Antoine Balestrat <merkil33@gmail.com>
13293
13294 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
13295 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
13296
a9e8e0e0
CL
132972012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
13298
13299 [BZ #13973]
13300 * locale/iso-639.def: Fix gl language name. Spotted by
13301 Yaron Shahrabani.
13302
ec98af7d
RM
133032012-04-12 Roland McGrath <roland@hack.frob.com>
13304
13305 [BZ #2074]
13306 * libio/libio.h (__io_write_fn): Update comment.
13307
247c3ede
PB
133082012-04-12 Petr Baudis <pasky@ucw.cz>
13309
13310 [BZ #2074]
13311 * stdio.texi (Hook Functions): The user provided writer function
13312 is not allowed to return -1.
13313
55939d6d
DM
133142012-04-11 David S. Miller <davem@davemloft.net>
13315
13316 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13317
90020f5a
MF
133182012-04-11 Mike Frysinger <vapier@gentoo.org>
13319
13320 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
13321 Add a leading slash to rtkaio.
13322
288f9098
JM
133232012-04-11 Jim Meyering <meyering@redhat.com>
13324
90020f5a
MF
13325 [BZ #11959]
13326 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
13327 It is not necessarily an error to ignore fwrite's return
13328 value. One can reliably use ferror to test for errors after
13329 the fact.
288f9098 13330
4be2b570
L
133312012-04-10 H.J. Lu <hongjiu.lu@intel.com>
13332
13333 * bits/types.h (__snseconds_t): New type.
13334 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
13335
13336 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
13337 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13338 (__SNSECONDS_T_TYPE): Likewise.
13339 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13340 (__SNSECONDS_T_TYPE): Likewise.
13341 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13342 (__SNSECONDS_T_TYPE): Likewise.
13343
288f9098 133442012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
13345
13346 [BZ #2636]
13347 * manual/time.texi (Processor Time): Return type of times is
13348 elapsed real time since an arbitrary point in the past.
13349 (CPU Time): Move CLK_TCK from here...
13350 (Processor Time): ...to here. Correct description.
13351 * manual/conf.texi (Constants for Sysconf): Correct description of
13352 _SC_CLK_TCK.
13353
d7dd4413
DM
133542012-04-10 David S. Miller <davem@davemloft.net>
13355
13356 [BZ #13967]
13357 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
13358 where the is a gap between DT_REL(A) and DT_JMPREL.
13359
b46068fc
L
133602012-04-10 H.J. Lu <hongjiu.lu@intel.com>
13361
13362 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
13363 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
13364 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
13365
73d65cc3
SP
133662012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
13367
13368 * elf/dl-support.c (_dl_inhibit_cache): New variable.
13369 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
13370 (dl_main): Handle --inhibit-cache.
13371 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
13372 _dl_inhibit_cache.
13373 * elf/dl-load.c (_dl_map_object): Use it.
13374 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
13375
bcc8d661
JM
133762012-04-09 Joseph Myers <joseph@codesourcery.com>
13377
8f9a2fae
JM
13378 [BZ #13872]
13379 * sysdeps/i386/fpu/e_powl.S (p78): New object.
13380 (__ieee754_powl): Saturate large exponents rather than testing for
13381 overflow of y*log2(x).
13382 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
13383 * math/libm-test.inc (pow_test): Do not permit spurious overflow
13384 exceptions.
13385
bcc8d661
JM
13386 [BZ #11521]
13387 * math/s_ctan.c: Include <float.h>.
13388 (__ctan): Avoid internal overflow or cancellation in calculating
13389 denominator.
13390 * math/s_ctanf.c: Likewise.
13391 * math/s_ctanl.c: Likewise.
13392 * math/s_ctanh.c: Likewise.
13393 * math/s_ctanhf.c: Likewise.
13394 * math/s_ctanhl.c: Likewise.
13395 * math/libm-test.inc (ctan_test): Add more tests.
13396 (ctanh_test): Likewise.
13397 * sysdeps/i386/fpu/libm-test-ulps: Update.
13398 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13399
823fbbb4
AJ
134002012-04-09 Andreas Jaeger <aj@suse.de>
13401
03879793
AJ
13402 [BZ #6894]
13403 * manual/filesys.texi (Directory Entries): Mention that d_namlen
13404 is an optional BSD extension.
13405
823fbbb4
AJ
13406 [BZ #10254]
13407 * manual/stdio.texi (Opening Streams): Document additional fopen
13408 parameters.
13409
8de131cb
RM
134102012-04-09 Roland McGrath <roland@hack.frob.com>
13411
13412 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
13413 %eax without telling the compiler.
13414
c0ed9d7d
CD
134152012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
13416
13417 [BZ # 13963]
13418 * manual/install.texi: Use sourceware.org.
13419
c483f6b4
JM
134202012-04-09 Joseph Myers <joseph@codesourcery.com>
13421
d7dd9453
JM
13422 [BZ #13873]
13423 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
13424 (__ieee754_pow): Generate overflow and underflow using huge*huge
13425 and tiny*tiny rather than just returning constant infinity or zero
13426 for large exponents.
13427 * math/libm-test.inc (pow_test): Require overflow exceptions for
13428 applicable cases of large exponents.
13429
c483f6b4
JM
13430 [BZ #706]
13431 * sysdeps/i386/fpu/e_pow.S (p10): New object.
13432 (__ieee754_pow): Use iterative multiplication algorithm only for
13433 integer exponents with absolute value below 1024. Check for odd
13434 integer exponents when using algorithm for real exponents.
13435 * math/libm-test.inc (pow_test): Add more tests.
13436 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13437
d2de7579
JM
134382012-04-08 Joseph Myers <joseph@codesourcery.com>
13439
13440 [BZ #13705]
13441 * math/libm-test.inc (exp_test): Do not allow overflow exception
13442 on underflow test.
13443
f77f1232
AJ
134442012-04-08 Aurelien Jarno <aurelien@aurel32.net>
13445
13446 [BZ #13705]
13447 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
13448 instead of __kernel_standard_f.
13449
3884932b
MF
134502012-04-08 Mike Frysinger <vapier@gentoo.org>
13451
13452 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
13453 * sysdeps/x86_64/memset_chk.S: Likewise.
13454
54472e9c
AJ
134552012-04-08 Andreas Jaeger <aj@suse.de>
13456
6ab0fbfc
AJ
13457 [BZ #10153]
13458 * manual/startup.texi (Environment Access): Describe return value
13459 for putenv and setenv.
13460
61efba8c
AJ
13461 [BZ #6895]
13462 * manual/filesys.texi (Directory Entries): Add description for
13463 DT_LNK.
13464
95c3f29a
AJ
13465 [BZ #6890]
13466 * manual/filesys.texi (Directory Entries): Clarify that it's file
13467 system not operating system in the description of DT_UNKNOWN.
13468
54472e9c
AJ
13469 [BZ #6578]
13470 * manual/syslog.texi (closelog): Fix reference, it's openlog.
13471
624254b1
SC
134722012-04-08 Stephen Compall <s11@member.fsf.org>
13473
13474 [BZ #6649]
13475 * manual/llio.texi (Opening and Closing Files): Add cross
13476 reference to explain mode argument.
13477
1e4920e0
MF
134782012-04-07 Mike Frysinger <vapier@gentoo.org>
13479
13480 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
13481 * sysdeps/x86_64/memset_chk.S: Likewise.
13482
5ed848f3
DM
134832012-04-07 David S. Miller <davem@davemloft.net>
13484
13485 * elf/elf.h (R_SPARC_WDISP10): Define.
13486 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
13487 R_SPARC_SIZE32.
13488 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
13489 R_SPARC_SIZE64 and R_SPARC_H34.
13490
96154cd8
CD
134912012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
13492
13493 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
13494 conditions and remove no longer applicable assertion.
13495
9904dc47
L
134962012-04-06 H.J. Lu <hongjiu.lu@intel.com>
13497
13498 * bits/byteswap.h: Include <features.h>.
13499 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
13500 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
13501
f8887d0a
L
135022012-04-06 H.J. Lu <hongjiu.lu@intel.com>
13503
13504 * bits/byteswap.h (__bswap_16): Removed.
13505 Include <bits/byteswap-16.h> to get __bswap_16.
13506 * sysdeps/i386/bits/byteswap.h: Likewise.
13507 * sysdeps/s390/bits/byteswap.h: Likewise.
13508 * sysdeps/x86_64/bits/byteswap.h: Likewise.
13509 * bits/byteswap-16.h: New file.
13510 * sysdeps/i386/bits/byteswap-16.h: Likewise.
13511 * sysdeps/s390/bits/byteswap-16.h: Likewise.
13512 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
13513 * string/Makefile (headers): Add bits/byteswap-16.h.
13514
62470f60
PP
135152012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
13516
13517 [BZ #13895]
13518 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
13519 extra indirection.
13520 * nss/Makefile (tests-static, tests): Add tst-nss-static.
13521 * nss/tst-nss-static.c: New.
13522
4dad7bab
RM
135232012-04-06 Robert Millan <rmh@gnu.org>
13524
13525 [BZ #6486]
13526 * manual/llio.texi (File Position Primitive): lseek
13527 refers to WHENCE when it really means OFFSET.
13528
e9142a17
AJ
135292012-04-06 Andreas Jaeger <aj@suse.de>
13530
2c040eff
AJ
13531 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
13532 strncmp declarations.
13533
e9142a17
AJ
13534 * abilist/libc.abilist: Add __poll and __ppoll.
13535
ff9f1c5f
DM
135362012-04-05 David S. Miller <davem@davemloft.net>
13537
dcd2ae90
DM
13538 * scripts/check-local-headers.sh: Accept a host triplet in the
13539 path matched by the exclude regexp.
13540
993eb054
DM
13541 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
13542 definition.
13543 * sysdeps/powerpc/powerpc32/dl-machine.h
13544 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
13545 * sysdeps/s390/s390-32/dl-machine.h
13546 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
13547 * sysdeps/sparc/sparc32/dl-machine.h
13548 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
13549 * sysdeps/sparc/sparc64/dl-machine.h
13550 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
13551
ff9f1c5f
DM
13552 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
13553 lazy binding.
48e2e132 13554 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
13555 undefined symbol errors.
13556
48e2e132 13557 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
13558 DT_NEEDED entries.
13559
e80d6f94
MM
135602012-04-05 Michael Matz <matz@suse.de>
13561
13562 [BZ #13592]
13563 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
13564
349fa79f
AJ
135652012-04-05 Andreas Jaeger <aj@suse.de>
13566
13567 [BZ #13908]
13568 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
13569 comment.
13570
f402708f
KK
135712012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
13572
13573 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
13574 which ROUND is no valid rounding mode.
13575
2ecccfc9
KK
135762012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
13577
13578 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
13579 read again.
13580 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
13581
8a53f50f
KK
135822012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
13583
13584 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
13585 an exception using FPU order intentionally.
13586
135872012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
13588
13589 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
13590 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
13591 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
13592 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
13593
d653abb7
SJ
135942012-04-05 Simon Josefsson <simon@josefsson.org>
13595
13596 [BZ #12340]
13597 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
13598 EINVAL when BUFLEN is too smal.
13599
c3b1bf7d
TS
136002012-04-05 Thomas Schwinge <thomas@codesourcery.com>
13601
13602 [BZ #13553]
13603 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
13604 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
13605
b1aa60f3
AJ
136062012-04-03 Andreas Jaeger <aj@suse.de>
13607
c3b1bf7d 13608 [BZ #13938]
67f60a26
AJ
13609 * manual/setjmp.texi (System V contexts): Fix sentence.
13610
b1aa60f3
AJ
13611 [BZ #13926]
13612 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
13613 New macro for this case.
13614 [!__GNUC__] (__bswap_64): New inline function for this case.
13615 * sysdeps/x86_64/bits/byteswap.h: Likewise.
13616 * bits/byteswap.h: Likewise.
13617 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
13618 ull, guard with __GLIBC_HAVE_LONG_LONG.
13619
13620 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
13621 __GLIBC_HAVE_LONG_LONG.
13622
13623 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
13624 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
13625
39c59c35
TMQMF
136262012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13627
13628 [BZ #13691]
13629 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
13630 inptr and inend, rather than using last_ch.
13631
135ffda8
DM
136322012-04-02 David S. Miller <davem@davemloft.net>
13633
13634 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
13635 * stdio-common/printf-parse.h (read_int): Change return type to
13636 'int', return -1 on INT_MAX overflow.
13637 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
13638 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
13639 overflows INT_MAX. Check for overflow of in-format-string precision
13640 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
13641 SIZE_MAX not INT_MAX for integer overflow test.
13642 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
13643 skip the construct in the format string but do not record anything.
13644 * stdio-common/bug22.c: Adjust to test both width/prevision
13645 INT_MAX overflow as well as total length INT_MAX overflow. Check
13646 explicitly for proper errno values.
13647
228c019e
TS
136482012-04-02 Thomas Schwinge <thomas@codesourcery.com>
13649
302cadd3
TS
13650 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
13651 CHAR_MAX.
13652 * string/test-strcmp.c [! WIDE]: Likewise.
13653 * time/tst-mktime2.c: Likewise for INT_MAX.
13654 * string/test-string.h: #include <sys/param.h> for MIN.
13655
228c019e
TS
13656 * csu/init-first.c (__libc_init_first): Call __ctype_init.
13657 * sysdeps/i386/init-first.c (init): Likewise.
13658 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
13659 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
13660 * sysdeps/sh/init-first.c (init): Likewise.
13661
cfa633f5
UD
136622012-04-01 Ulrich Drepper <drepper@gmail.com>
13663
13664 * po/ru.po: Update from translation team.
d1635ef8 13665 * po/vi.po: Likewise.
cfa633f5 13666
6cd0a5ea
SP
136672012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
13668
13669 * resolv/nss_dns/dns-host.c: Merge copyright years.
13670
4b43400f
LD
136712012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13672
13673 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
13674 Optimize memcpy with prefetch if
13675 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
13676 src, dst pointers have unequal 16 byte alignments.
13677
48c41d04
SP
136782012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
13679
13680 [BZ #13928]
13681 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
13682 from a CNAME entry and return the minimum ttl for the query.
13683 (gaih_getanswer_slice): Likewise.
13684
b8dc394d
JL
136852012-03-30 Jeff Law <law@redhat.com>
13686
13687 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
13688 due to long keys.
13689 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
13690 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
13691
2f5a5ed0
JL
13692 * resolv/nss_dns/dns-host.c: Update copyright year.
13693
1d39e359
UD
136942012-03-30 Ulrich Drepper <drepper@gmail.com>
13695
c030f70c 13696 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 13697 requests to save a system call. Fix check that all bytes are sent.
c030f70c 13698
1d39e359
UD
13699 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
13700 comments for sendmmsg.
13701
137022012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
13703
13704 [BZ #13691]
13705 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
13706 with only 1 character between 0x0041 and 0x01b0.
13707 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
13708 * wcsmbs/tst-mbsnrtowcs.c: New file.
13709
20fde227
DM
137102012-03-29 David S. Miller <davem@davemloft.net>
13711
13712 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
13713 small copies by hand.
13714
984a4237
JL
137152012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13716
13717 [BZ #13761]
13718 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
13719 _nss_compat_initgroups_dyn): Fall back to malloc/free
13720 for large group memberships.
13721
18c9d62b
DM
137222012-03-28 David S. Miller <davem@davemloft.net>
13723
88d85d4f
DM
13724 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
13725 that branches into memcpy.
13726 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
13727 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
13728 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
13729 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
13730 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
13731 bits.
13732 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
13733 implementation too.
13734 * sysdeps/sparc/mempcpy.S: New file.
13735
e5aa83e1
DM
13736 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
13737 the IFUNC routine in the libc case.
13738 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
13739
88570753
DM
13740 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
13741 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
13742 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
13743 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
13744 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
13745 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
13746 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
13747 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
13748
249d7567
DM
13749 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
13750 loop to 256 bytes instead of 64 bytes and fix test signedness.
13751
18c9d62b
DM
13752 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
13753 * sysdeps/sparc/sparc32/Makefile: rather than here...
13754 * sysdeps/sparc/sparc64/Makefile: and here.
13755
05f3d1f6
UD
137562012-03-28 Ulrich Drepper <drepper@gmail.com>
13757
13758 * malloc/mallocbug.c: Avoid warnings about unused variables.
13759
86ae07a8
JL
137602012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
13761
13762 [BZ #13760]
13763 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
13764 in the right place. Discard and retry query if response is
13765 larger than input buffer size.
13766
41bf21a1
JM
137672012-03-28 Joseph Myers <joseph@codesourcery.com>
13768
d6270972
JM
13769 [BZ #369]
13770 [BZ #2678]
13771 [BZ #3866]
13772 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
13773 x for large integer exponent.
13774 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
13775 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
13776 sign of result as needed afterwards.
13777 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
13778 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
13779 result for underflowing pow the same as for overflow.
13780 (__kernel_standard_l): Handle powl overflow and underflow here
13781 rather than calling __kernel_standard.
13782 * math/libm-test.inc (pow_test): Add more tests.
13783
414fca03 13784 [BZ #3868]
41bf21a1
JM
13785 [BZ #13879]
13786 [BZ #13910]
13787 [BZ #13911]
13788 [BZ #13912]
13789 [BZ #13913]
13790 [BZ #13915]
13791 [BZ #13916]
13792 [BZ #13917]
13793 [BZ #13918]
13794 [BZ #13919]
13795 [BZ #13920]
13796 [BZ #13921]
13797 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
13798 * sysdeps/ieee754/k_standard.c: Include <float.h>.
13799 (__kernel_standard_l): New function.
13800 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
13801 __kernel_standard.
13802 * math/w_acosl.c (__acosl): Likewise.
13803 * math/w_asinl.c (__asinl): Likewise.
13804 * math/w_atan2l.c (__atan2l): Likewise.
13805 * math/w_atanhl.c (__atanhl): Likewise.
13806 * math/w_coshl.c (__coshl): Likewise.
13807 * math/w_exp10l.c (__exp10l): Likewise.
13808 * math/w_exp2l.c (__exp2l): Likewise.
13809 * math/w_fmodl.c (__fmodl): Likewise.
13810 * math/w_hypotl.c (__hypotl): Likewise.
13811 * math/w_j0l.c (__j0l, __y0l): Likewise.
13812 * math/w_j1l.c (__j1l, __y1l): Likewise.
13813 * math/w_jnl.c (__jnl, __ynl): Likewise.
13814 * math/w_lgammal.c (__lgammal): Likewise.
13815 * math/w_log10l.c (__log10l): Likewise.
13816 * math/w_log2l.c (__log2l): Likewise.
13817 * math/w_logl.c (__logl): Likewise.
13818 * math/w_powl.c (__powl): Likewise.
13819 * math/w_remainderl.c (__remainderl): Likewise.
13820 * math/w_scalbl.c (sysv_scalbl): Likewise.
13821 * math/w_sinhl.c (__sinhl): Likewise.
13822 * math/w_sqrtl.c (__sqrtl): Likewise.
13823 * math/w_tgammal.c (__tgammal): Likewise.
13824 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
13825 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
13826 * math/libm-test.inc (acos_test): Add more tests.
13827 (acosh_test): Likewise.
13828 (asin_test): Likewise.
13829 (atanh_test): Likewise.
13830 (exp_test): Likewise.
13831 (exp10_test): Likewise.
13832 (exp2_test): Likewise.
13833 (expm1_test): Likewise.
13834 (lgamma_test): Likewise.
13835 (log_test): Likewise.
13836 (log10_test): Likewise.
13837 (log1p_test): Likewise.
13838 (log2_test): Likewise.
13839 (pow_test): Do not allow some spurious overflow exceptions.
13840 (sqrt_test): Add more tests.
13841 (tgamma_test): Likewise.
13842 (y0_test): Likewise.
13843 (y1_test): Likewise.
13844 (yn_test): Likewise.
13845
dd62fda6
AB
138462012-03-27 Anton Blanchard <anton@samba.org>
13847
13848 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
13849 MAP_HUGETLB.
13850 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
13851 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
13852 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
13853
1e3cdfda
AJ
138542012-03-27 David S. Miller <davem@davemloft.net>
13855
b855ab85
DM
13856 * conform/Makefile: Run run-conformtest.sh using $(BASH).
13857
1e3cdfda
AJ
13858 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
13859 have-as-vis3 check.
13860
138612012-03-27 Andreas Jaeger <aj@suse.de>
13862
13863 * sysdeps/x86_64/elf/configure.in: Moved to ...
13864 * sysdeps/x86_64/configure.in: ... here.
13865 * sysdeps/x86_64/elf/start.S: Moved to ...
13866 * sysdeps/x86_64/start.S: ... here.
13867 * sysdeps/x86_64/elf/configure: Delete.
13868
13869 * sysdeps/x86_64/configure.in: Merge contents from
13870 sysdeps/i386/configure.in (without i686 check).
13871
13872 * sysdeps/i386/elf/Versions: Merge into ...
13873 * sysdeps/i386/Versions: ... this.
13874 * sysdeps/i386/elf/Versions: Delete file.
13875 * sysdeps/i386/elf/start.S: Moved to ...
13876 * sysdeps/i386/start.S: ...here.
13877 * sysdeps/i386/elf/configure.in: Merge into...
13878 * sysdeps/i386/configure.in: ...here.
13879 * sysdeps/i386/elf/configure.in: Delete file.
13880 * sysdeps/i386/elf/configure: Delete file.
13881
13882 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
13883 * debug/backtracesyms.c: ... here.
13884 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
13885 * debug/backtracesymsfd.c: ... here.
13886 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
13887 * sysdeps/generic/ifunc-sel.h: ... here.
13888
13889 * sysdeps/unix/i386/start.c: Delete file.
13890 * sysdeps/unix/sparc/start.c: Delete file.
13891 * sysdeps/unix/start.c: Delete file.
13892
13893 * sysdeps/sh/elf/configure.in: Moved to ...
13894 * sysdeps/sh/configure.in: ... here.
13895 * sysdeps/sh/elf/start.S: Moved to ...
13896 * sysdeps/sh/start.S: ... here.
13897 * sysdeps/sh/elf/configure: Delete file.
13898
13899 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
13900 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
13901 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
13902 * sysdeps/powerpc/powerpc64/entry.h: ... here.
13903 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
13904 * sysdeps/powerpc/powerpc64/start.S: here.
13905 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
13906 * sysdeps/powerpc/powerpc64/Makefile: ... this.
13907 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
13908 * sysdeps/powerpc/powerpc64/configure.in: ... this.
13909 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
13910
13911 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
13912 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
13913 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
13914 * sysdeps/powerpc/powerpc32/start.S: ... here.
13915 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
13916 * sysdeps/powerpc/powerpc32/configure.in: ... this.
13917 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
13918
13919 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
13920 * sysdeps/powerpc/ifunc-sel.h: ... here.
13921 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
13922 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
13923
13924 * sysdeps/sparc/elf/configure.in: Moved to ...
13925 * sysdeps/sparc/configure.in: ... here.
13926 * sysdeps/sparc/elf/configure: Delete file.
13927 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
13928 * sysdeps/sparc/sparc32/start.S: ... here.
13929 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
13930 * sysdeps/sparc/sparc64/start.S: ... here.
13931 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
13932 * sysdeps/sparc/sparc32/Makefile: ... this.
13933 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
13934 * sysdeps/sparc/sparc64/Makefile: ... this.
13935
13936 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
13937 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
13938 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
13939 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
13940 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
13941 * sysdeps/s390/s390-32/setjmp.S: ... here.
13942 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
13943 * sysdeps/s390/s390-32/configure.in: ... here.
13944 * sysdeps/s390/s390-32/elf/configure: Delete file.
13945 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
13946 * sysdeps/s390/s390-32/start.S: ... here.
13947
13948 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
13949 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
13950 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
13951 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
13952 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
13953 * sysdeps/s390/s390-64/setjmp.S: ... here.
13954 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
13955 * sysdeps/s390/s390-64/configure.in: ... here
13956 * sysdeps/s390/s390-64/elf/configure: Delete file.
13957 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
13958 * sysdeps/s390/s390-64/start.S: ... here.
13959 * sysdeps/s390/s390-64/elf/configure: Delete.
13960
13961 * configure.in: Remove support for elf directories in sysdeps.
13962
13963 * configure: Regenerated.
13964 * sysdeps/i386/configure: Regenerated.
13965 * sysdeps/powerpc/powerpc32/configure: Regenerated.
13966 * sysdeps/powerpc/powerpc64/configure: Regenerated.
13967 * sysdeps/s390/s390-32/configure: Regenerated.
13968 * sysdeps/s390/s390-64/configure: Regenerated.
13969 * sysdeps/sh/configure: Regenerated.
13970 * sysdeps/sparc/configure: Regenerated.
13971 * sysdeps/x86_64/configure: Regenerated.
13972
a3f61311
AS
139732012-03-26 Andreas Schwab <schwab@linux-m68k.org>
13974
c876e002
AS
13975 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13976
a3f61311
AS
13977 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
13978 denormal result into account.
13979
ac4c54f0
RM
139802012-03-25 Roland McGrath <roland@hack.frob.com>
13981
13982 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
13983 Reported by Allan McRae <allan@archlinux.org>.
13984
6a9b9c02
JL
139852012-03-23 Jeff Law <law@redhat.com>
13986
13987 * nss/getnssent.c (__nss_getent): Fix typo.
13988
4c42a0c1
DM
139892012-03-23 David S. Miller <davem@davemloft.net>
13990
13991 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13992
1532c7ac
L
139932012-03-23 H.J. Lu <hongjiu.lu@intel.com>
13994
13995 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
13996 to pad to uint64_t for each field.
13997 (dl_tls_index): Replace unsigned long with uint64_t.
13998
3ff42526
PP
139992012-03-23 Daniel Jacobowitz <dmj@google.com>
14000 Paul Pluzhnikov <ppluzhnikov@google.com>
14001
14002 [BZ #6528]
14003 * grp/Makefile (otherlibs): Don't set it.
14004 * inet/Makefile (otherlibs): Likewise.
14005 * login/Makefile (otherlibs): Likewise.
14006 * nscd/Makefile (otherlibs): Likewise.
14007 * posix/Makefile (otherlibs): Likewise.
14008 * pwd/Makefile (otherlibs): Likewise.
14009 * rt/Makefile (otherlibs): Likewise.
14010 * sunrpc/Makefile (otherlibs): Likewise.
14011 * nss/Makefile (otherlibs): Likewise.
14012 Add libnss_files to routines and static-only-routines.
14013 ($(objpfx)getent): Remove rule.
14014 * resolv/Makefile: Add libnss_dns and libresolv to routines and
14015 static-only-routines.
14016
7c69cd14
JM
140172012-03-22 Joseph Myers <joseph@codesourcery.com>
14018
14019 [BZ #13892]
14020 * math/s_cexp.c: Include <float.h>.
14021 (__cexp): Handle exp result overflowing not necessarily
14022 overflowing both real and imaginary parts of result.
14023 * math/s_cexpf.c: Likewise.
14024 * math/s_cexpl.c: Likewise.
14025 * math/libm-test.inc (cexp_test): Add more tests.
14026 * sysdeps/i386/fpu/libm-test-ulps: Update.
14027 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14028
81b035fe
L
140292012-03-22 H.J. Lu <hongjiu.lu@intel.com>
14030
14031 * include/link.h (ELFW): New macro.
14032 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
14033 Replace ELF64_R_TYPE with ELFW(R_TYPE).
14034
1da7940c
L
140352012-03-22 H.J. Lu <hongjiu.lu@intel.com>
14036
14037 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
14038 with uint64_t.
14039
b749dbb9
L
140402012-03-22 H.J. Lu <hongjiu.lu@intel.com>
14041
14042 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
14043 declaration.
14044 (struct La_x32_retval): Likewise.
14045
2ff87f3f
L
140462012-03-22 H.J. Lu <hongjiu.lu@intel.com>
14047
14048 * sysdeps/x86_64/preconfigure.in: New file.
14049 * sysdeps/x86_64/preconfigure: New generated file.
14050
c0df8e69
JM
140512012-03-22 Joseph Myers <joseph@codesourcery.com>
14052
48e44791
JM
14053 [BZ #13824]
14054 * math/e_exp2l.c: Include <float.h>.
14055 (__ieee754_exp2l): Handle overflow and underflow cases
14056 separately. Only pass fractional part of argument to
14057 __ieee754_expl.
14058 * math/libm-test.inc (exp2_test): Add more tests.
14059
c0df8e69
JM
14060 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
14061 negating x to take absolute value.
14062 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
14063 Likewise.
14064 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
14065 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
14066 Likewise.
14067 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
14068 computing low part if x was negated.
14069 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
14070
c8e43ba7
L
140712012-03-21 H.J. Lu <hongjiu.lu@intel.com>
14072
14073 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
14074 la_x32_gnu_pltexit.
14075 (pltexit): Cast int_retval to ptrdiff_t.
14076 * elf/tst-auditmod3b.c: Likewise.
14077 * elf/tst-auditmod4b.c: Likewise.
14078 * elf/tst-auditmod5b.c: Likewise.
14079 * elf/tst-auditmod6b.c: Likewise.
14080 * elf/tst-auditmod6c.c: Likewise.
14081 * elf/tst-auditmod7b.c: Likewise.
14082
14083 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
14084 and x32_gnu_pltexit.
14085
14086 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
14087 __ELF_NATIVE_CLASS.
14088 (La_x32_regs): New macro.
14089 (La_x32_retval): Likewise.
14090 (la_x32_gnu_pltenter): New function prototype.
14091 (la_x32_gnu_pltexit): Likewise.
14092
7998fa78
AS
140932012-03-21 Andreas Schwab <schwab@linux-m68k.org>
14094
dcb33988
AS
14095 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
14096 exponent.
14097
233fc563
AS
14098 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14099
7998fa78
AS
14100 * configure.in (libc_cv_cc_nofma): Check for option to disable
14101 generation of FMA instructions.
14102 * configure: Regenerate.
14103 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
14104 * sysdeps/ieee754/dbl-64/Makefile: New file.
14105 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
14106 Remove brandred-fma4.
14107 (CFLAGS-brandred-fma4.c): Remove.
14108 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
14109 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
14110 define.
14111 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
14112 define.
14113
8e95c99a
L
141142012-03-21 H.J. Lu <hongjiu.lu@intel.com>
14115
14116 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
14117 LLONG_MAX != LONG_MAX.
14118 (_itoa_word): Use _ITOA_WORD_TYPE on value.
14119 (_fitoa_word): Likewise.
14120 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
14121 LLONG_MAX != LONG_MAX.
14122 * stdio-common/_itowa.h: Include <_itoa.h>.
14123 (_itowa_word): Use _ITOA_WORD_TYPE on value.
14124 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
14125 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
14126 only if not defined.
14127 (_ITOA_WORD_TYPE): Likewise.
14128 (_itoa_word): Use _ITOA_WORD_TYPE on value.
14129 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
14130
6f4db457
DM
141312012-03-21 David S. Miller <davem@davemloft.net>
14132
14133 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14134
7785fe5a
L
141352012-03-21 H.J. Lu <hongjiu.lu@intel.com>
14136
14137 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
14138 of x86_64 when setting libc_cv_slibdir, libdir and
14139 libc_cv_localedir.
14140 * sysdeps/unix/sysv/linux/configure: Regenerated.
14141
4535cd55
JM
141422012-03-21 Joseph Myers <joseph@codesourcery.com>
14143
14144 * manual/lang.texi (Old Varargs): Remove section.
14145 (How Variadic): Update menu.
14146 (va_start): Do not mention varargs.h.
14147
17228132
TS
141482012-03-21 Thomas Schwinge <thomas@codesourcery.com>
14149 Joseph Myers <joseph@codesourcery.com>
14150
14151 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
14152 link test.
14153 * configure: Regenerated.
14154
8149f976
TS
141552012-03-21 Thomas Schwinge <thomas@codesourcery.com>
14156
05f3d1f6
UD
14157 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
14158 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
14159 conformtest.pl
8149f976 14160
1a4ac776
JM
141612012-03-21 Joseph Myers <joseph@codesourcery.com>
14162
be22ce65
JM
14163 * NOTES: Remove.
14164 * Makefile (files-for-dist): Remove NOTES.
14165 (NOTES): Remove rule.
14166 * README: Don't refer to NOTES.
14167 * manual/creature.texi: Don't include macros.texi.
14168 * manual/intro.texi (creature.texi): Remove comment referring to
14169 NOTES.
14170
40b601fb
JM
14171 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
14172 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
14173 * configure: Regenerated.
14174 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
14175 LIBC_TRY_CC_OPTION.
14176 (libc_cv_as_i686): Likewise.
14177 (libc_cv_cc_avx): Likewise.
14178 (libc_cv_cc_sse2avx): Likewise.
14179 (libc_cv_cc_fma4): Likewise.
14180 (libc_cv_cc_novzeroupper): Likewise.
14181 * sysdeps/i386/configure: Regenerated.
14182
1a4ac776
JM
14183 [BZ #13883]
14184 * sysdeps/i386/fpu/s_cexp.S: Remove.
14185 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
14186 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
14187 * math/libm-test.inc (cexp_test): Add more tests.
14188 * sysdeps/i386/fpu/libm-test-ulps: Update.
14189 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14190
a458e7fe
AM
141912012-03-21 Allan McRae <allan@archlinux.org>
14192
14193 * timezone/Makefile: Do not install iso3166.tab and zone.tab
14194
0cb7efc5
JM
141952012-03-21 Joseph Myers <joseph@codesourcery.com>
14196
14197 [BZ #13871]
14198 * math/w_exp2.c: Do not include <float.h>.
14199 (o_threshold, u_threshold): Remove.
14200 (__exp2): Calculate result before checking finiteness and calling
14201 __kernel_standard.
14202 * math/w_exp2f.c: Likewise.
14203 * math/w_exp2l.c: Likewise.
14204 * math/libm-test.inc (exp2_test): Require overflow exception for
14205 1e6 input.
2460d3aa
JM
14206
14207 [BZ #3866]
14208 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
14209 range of signed 64-bit integers before using fistpll. Remove
14210 checks for whether integers fit in mantissa bits.
14211 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
14212 the range of signed 32-bit integers before using fistpl. Remove
14213 checks for whether integers fit in mantissa bits.
14214 * sysdeps/i386/fpu/e_powl.S (p64): New object.
14215 (__ieee754_powl): Test for y outside the range of signed 64-bit
14216 integers before using fistpll. Reduce 64-bit values to 63-bit
14217 ones as needed.
14218 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
14219 divide-by-zero is raised for zero to large negative powers.
14220 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
14221 (__ieee754_powl): Test for y outside the range of signed 64-bit
14222 integers before using fistpll. Reduce 64-bit values to 63-bit
14223 ones as needed.
14224 * math/libm-test.inc (pow_test): Add more tests.
14225
eb96ffb0
L
142262012-03-20 H.J. Lu <hongjiu.lu@intel.com>
14227
14228 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
14229 <stdio-common/_itoa.h>.
14230 * debug/segfault.c: Likewise.
14231 * elf/dl-cache.c: Likewise.
14232 * elf/dl-minimal.c: Likewise.
14233 * elf/dl-misc.c: Likewise.
14234 * elf/dl-sysdep.c: Likewise.
14235 * elf/dl-version.c: Likewise.
14236 * elf/rtld.c: Likewise.
14237 * hurd/hurdsock.c: Likewise.
14238 * hurd/lookup-retry.c: Likewise.
14239 * malloc/malloc.c: Likewise.
14240 * malloc/mtrace.c: Likewise.
14241 * nscd/nscd_getgr_r.c: Likewise.
14242 * nscd/nscd_getpw_r.c: Likewise.
14243 * nscd/nscd_getserv_r.c: Likewise.
14244 * posix/getopt_init.c: Likewise.
14245 * posix/wordexp.c: Likewise.
14246 * stdio-common/_itoa.c: Likewise.
14247 * stdio-common/printf_fphex.c: Likewise.
14248 * stdio-common/vfprintf.c: Likewise.
14249 * string/_strerror.c: Likewise.
14250 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
14251 * sysdeps/i386/i686/hp-timing.h: Likewise.
14252 * sysdeps/mach/_strerror.c: Likewise.
14253 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
14254 * sysdeps/mach/hurd/sethostid.c: Likewise.
14255 * sysdeps/mach/hurd/xmknodat.c: Likewise.
14256 * sysdeps/mach/xpg-strerror.c: Likewise.
14257 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
14258 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
14259 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
14260 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
14261 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
14262 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
14263 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
14264 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
14265 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
14266 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
14267 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
14268 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
14269 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
14270 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
14271 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
14272 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
14273 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
14274 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
14275 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
14276 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
14277 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
14278
14279 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
14280
14281 * stdio-common/_itoa.h: Moved to ...
14282 * sysdeps/generic/_itoa.h: Here.
14283
14284 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
14285
14286 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
14287 instead of "_itoa.h" and "_itowa.h".
14288 * stdio-common/vfprintf.: Likewise.
14289
d1af992d
L
142902012-03-20 H.J. Lu <hongjiu.lu@intel.com>
14291
14292 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
14293 <bits/wordsize.h>.
14294 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
14295 (__signbit): Likwise.
14296 (llrintf): Likwise.
14297 (llrint): Likwise.
14298
114883e0
L
142992012-03-20 H.J. Lu <hongjiu.lu@intel.com>
14300
14301 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
14302 __WORDSIZE != 64.
14303
c135cc1b
JM
143042012-03-20 Joseph Myers <joseph@codesourcery.com>
14305
14306 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
14307 OVERFLOW_EXCEPTION_OK.
14308 * math/libm-test.inc ("Philosophy"): Update comment about
14309 exception testing.
14310 (OVERFLOW_EXCEPTION): Define.
14311 (OVERFLOW_EXCEPTION_OK): Likewise.
14312 (INVALID_EXCEPTION_OK): Renumber.
14313 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
14314 (IGNORE_ZERO_INF_SIGN): Likewise.
14315 (test_exceptions): Handle FE_OVERFLOW.
14316 (exp10_test): Expect overflow exceptions.
14317 (exp2_test): Likewise.
14318 (expm1_test): Likewise.
14319 (nextafter_test): Likewise.
14320 (pow_test): Likewise.
14321 (scalbn_test): Likewise.
14322 (scalbln_test): Likewise.
14323
95443d88
L
143242012-03-19 H.J. Lu <hongjiu.lu@intel.com>
14325
14326 * sysdeps/x86_64/bits/atomic.h
14327 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
14328 64bit integer.
14329 (atomic_exchange_acq): Likewise.
14330 (__arch_exchange_and_add_body): Likewise.
14331 (__arch_add_body): Likewise.
14332 (atomic_add_negative): Likewise.
14333 (atomic_add_zero): Likewise.
14334
490df6c4
L
143352012-03-19 H.J. Lu <hongjiu.lu@intel.com>
14336
c2722551 14337 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
14338 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
14339
5e52b189
L
143402012-03-19 H.J. Lu <hongjiu.lu@intel.com>
14341
14342 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
14343 Check __x86_64__ instead of __WORDSIZE.
14344
a9879d4c
L
143452012-03-19 H.J. Lu <hongjiu.lu@intel.com>
14346
14347 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
14348
5df98260
DM
143492012-03-19 David S. Miller <davem@davemloft.net>
14350
e1497744
DM
14351 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14352
5df98260
DM
14353 * sysdeps/sparc/fpu/fenv_private.h: New file.
14354 * sysdeps/sparc/fpu/math_private.h: Use it.
14355 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
14356 Remove.
14357 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
14358 (libc_feholdexcept_setroundl): Remove.
14359 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
14360 Remove.
14361 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
14362 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
14363
b4c35121
L
143642012-03-19 H.J. Lu <hongjiu.lu@intel.com>
14365
14366 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
14367 int64_t instead of long int.
14368 (INSERT_WORDS64): Likwise.
14369
56965fd7
L
143702012-03-19 H.J. Lu <hongjiu.lu@intel.com>
14371
14372 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
14373 _Unwind_GetCFA return to _Unwind_Ptr first.
14374
83d1aec8
JM
143752012-03-19 Joseph Myers <joseph@codesourcery.com>
14376
1897ad44
JM
14377 [BZ #13629]
14378 * math/s_clog.c: Include <float.h>.
14379 (__clog): Scale large or subnormal inputs.
14380 * math/s_clogf.c: Likewise.
14381 * math/s_clogl.c: Likewise.
14382 * math/s_clog10.c: Include <float.h>.
14383 (M_LOG10_2): Define.
14384 (__clog10): Scale large or subnormal inputs.
14385 * math/s_clog10f.c: Likewise.
14386 * math/s_clog10l.c: Likewise.
14387 * math/libm-test.inc (clog_test): Add more tests.
14388 (clog10_test): Likewise.
14389 * sysdeps/i386/fpu/libm-test-ulps: Update.
14390 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14391
7726d6a9
JM
14392 [BZ #11451]
14393 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
14394 x and y.
14395 * math/libm-test.inc (atan2_test): Add another test.
14396
83d1aec8
JM
14397 * Makerules (common-objdir-compile): Remove.
14398 * sysdeps/unix/Makefile (config-generated): Do not add
14399 $(unix-generated) to variable.
14400 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
14401 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
14402 Remove rule.
14403 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
14404 Likewise.
14405 [generic bits/local_lim.h] (before-compile): Do not append to
14406 variable.
14407 [generic bits/local_lim.h] (common-generated): Likewise.
14408 [generic sys/param.h] (before-compile): Do not append to variable.
14409 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
14410 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
14411 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
14412 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
14413 include.
14414 [generic sys/param.h] (sys/param.h-includes): Remove variable.
14415 [generic sys/param.h] (sys/param.h-includes): Remove rule.
14416 [generic sys/param.h] ($(addprefix
14417 $(common-objpfx),$(sys/param.h-includes))): Likewise.
14418 [generic sys/param.h] (common-generated): Do not append to
14419 variable.
14420 [generic sys/param.h] (sysdep_headers): Likewise.
14421 [generic bits/errno.h] (before-compile): Do not append to
14422 variable.
14423 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
14424 rule.
14425 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
14426 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
14427 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
14428 [generic bits/errno.h] (common-generated): Do not append to
14429 variable.
14430 [generic bits/ioctls.h] (before-compile): Do not append to
14431 variable.
14432 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
14433 rule.
14434 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
14435 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
14436 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
14437 rule.
14438 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
14439 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
14440 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
14441 [generic bits/ioctls.h] (common-generated): Do not append to
14442 variable.
14443 [generic sys/syscall.h] (syscall.h): Remove variable.
14444 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
14445 rule.
14446 [generic sys/syscall.h] (before-compile): Do not append to
14447 variable.
14448 [generic sys/syscall.h] (common-generated): Likewise.
14449 * sysdeps/unix/errnos-tmpl.c: Remove file.
14450 * sysdeps/unix/errnos.awk: Likewise.
14451 * sysdeps/unix/ioctls-tmpl.c: Likewise.
14452 * sysdeps/unix/ioctls.awk: Likewise.
14453 * sysdeps/unix/mk-local_lim.c: Likewise.
14454 * sysdeps/unix/snarf-ioctls: Likewise.
14455
4851a949
RH
144562012-03-19 Richard Henderson <rth@twiddle.net>
14457
bd37f2ee
RH
14458 * sysdeps/i386/fpu/fenv_private.h: New file.
14459 * sysdeps/i386/fpu/math_private.h: Use it.
14460 (math_opt_barrier, math_force_eval): Remove.
14461 (libc_feholdexcept_setround_53bit): Remove.
14462 (libc_feupdateenv_53bit): Remove.
14463 * sysdeps/x86_64/fpu/math_private.h: Likewise.
14464 (math_opt_barrier, math_force_eval): Remove.
14465 (libc_feholdexcept): Remove.
14466 (libc_feholdexcept_setround): Remove.
14467 (libc_fetestexcept, libc_fesetenv): Remove.
14468 (libc_feupdateenv_test): Remove.
14469 (libc_feupdateenv, libc_feholdsetround): Remove.
14470 (libc_feresetround): Remove.
14471
d0adc922
RH
14472 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
14473 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
14474
0fe0f1f8
RH
14475 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
14476 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
14477 (libc_feupdateenv_testl): New.
14478 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
14479 (libc_feupdateenv_testf): New.
14480 (libc_feupdateenv): Use libc_feupdateenv_test.
14481 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
14482 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
14483
eb92c487
RH
14484 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
14485 (libc_feholdsetroundf, libc_feholdsetroundl): New.
14486 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
14487 (libc_feresetround_noex): New.
14488 (libc_feresetround_noexf): New.
14489 (libc_feresetround_noexl): New.
14490 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
14491 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
14492 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
14493 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
14494 SET_RESTORE_ROUND.
14495 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
14496 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
14497 (__cos): Likewise.
14498 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
14499 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
14500 SET_RESTORE_ROUND_NOEX.
14501 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
14502 SET_RESTORE_ROUND_NOEXF.
14503 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
14504 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
14505 (libc_feholdsetroundf): New.
14506 (libc_feresetround, libc_feresetroundf): New.
14507
7d2e8012
RH
14508 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
14509 (libc_feholdexcept_setround_53bit): Convert from macro to function.
14510 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
14511
b4dabbb4
RH
14512 * sysdeps/generic/math_private.h: Include <fenv.h>.
14513 (default_libc_feholdexcept): New.
14514 (default_libc_feholdexcept_setround): New.
14515 (default_libc_fesetenv, default_libc_feupdateenv): New.
14516 (libc_feholdexcept): Only define if undefined.
14517 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
14518 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
14519 (libc_feholdexcept_setroundl): Likewise.
14520 (libc_feholdexcept_setround_53bit): Likewise.
14521 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
14522 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
14523 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
14524 (libc_feupdateenv_53bit): Likewise.
14525 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
14526 (libc_feholdexcept): Convert from macro to inline function.
14527 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
14528 (libc_fesetenv, libc_feupdateenv): Likewise.
14529
4851a949
RH
14530 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
14531 not previously defined.
14532 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
14533 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
14534 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
14535 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
14536 * sysdeps/ieee754/flt-32/math_private.h: New file.
14537 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
14538 math_private.h below SET_FLOAT_WORD.
14539 (__isnan, __isinf_ns, __finite): Remove.
14540 (__isnanf, __isinf_nsf, __finitef): Remove.
14541
e79d442e
AS
145422012-03-18 Andreas Schwab <schwab@linux-m68k.org>
14543
14544 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14545
90b80344
DM
145462012-03-17 David S. Miller <davem@davemloft.net>
14547
14548 [BZ #6471]
14549 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
14550 for 2.16.
14551
edc21804
DM
145522012-03-16 David S. Miller <davem@davemloft.net>
14553
77e927af
DM
14554 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
14555 warnings.
14556
374976dd
DM
14557 [BZ #6471]
14558 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
14559 properly.
14560 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
14561 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
14562 sysdep_routines when subdir is sysvipc.
14563 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
14564 __getshmlba helper.
14565
edc21804
DM
14566 * sysdeps/sparc/fpu/libm-test/ulps: Update.
14567
473c3ef3
L
145682012-03-16 H.J. Lu <hongjiu.lu@intel.com>
14569
14570 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
14571 [__LP64__].
14572
eb0f39b6
L
145732012-03-16 H.J. Lu <hongjiu.lu@intel.com>
14574
14575 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
14576 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
14577 (__lround): Renamed to ...
14578 (__llround): This. Replace long int with long long int.
14579 Define lround functions as aliases of llround functions.
14580 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
14581
6b6cd74b
L
145822012-03-16 H.J. Lu <hongjiu.lu@intel.com>
14583
14584 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
14585 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
14586 adresses to uintptr_t. Replace "long int" and "unsigned long
14587 int" with "greg_t" on va_arg.
14588
f1a77b01
L
145892012-03-16 H.J. Lu <hongjiu.lu@intel.com>
14590
14591 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
14592 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
14593
14594 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
14595 Move e_machine check before EI_CLASS check. Handle x32
14596 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
14597 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
14598 SKIP_EM_IA_64 and include
14599 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
14600
14601 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
14602 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
14603 (add_system_dir): New macro.
14604
14605 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
14606 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
14607
11b90b9f
JM
146082012-03-16 Joseph Myers <joseph@codesourcery.com>
14609
c36e1d23
JM
14610 [BZ #2551]
14611 [BZ #2552]
14612 [BZ #2553]
14613 [BZ #2554]
14614 [BZ #2562]
14615 [BZ #2563]
14616 [BZ #2565]
14617 [BZ #2566]
14618 [BZ #2576]
14619 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
14620 (y0): Likewise.
14621 * math/w_j0f.c (j0f): Likewise.
14622 (y0f): Likewise.
14623 * math/w_j0l.c (__j0l): Likewise.
14624 (__y0l): Likewise.
14625 * math/w_j1.c (j1): Likewise.
14626 (y1): Likewise.
14627 * math/w_j1f.c (j1f): Likewise.
14628 (y1f): Likewise.
14629 * math/w_j1l.c (__j1l): Likewise.
14630 (__y1l): Likewise.
14631 * math/w_jn.c (jn): Likewise.
14632 (yn): Likewise.
14633 * math/w_jnf.c (jnf): Likewise.
14634 (ynf): Likewise.
14635 * math/w_jnl.c (__jnl): Likewise.
14636 (__ynl): Likewise.
14637 * math/libm-test.inc (j0_test): Add more tests.
14638 (j1_test): Likewise.
14639 (jn_test): Likewise. Add trailing semicolon to existing test.
14640 (y0_test): Likewise.
14641 (y1_test): Likewise.
14642 * sysdeps/i386/fpu/libm-test-ulps: Update.
14643 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14644
11b90b9f
JM
14645 [BZ #13851]
14646 [BZ #13854]
14647 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
14648 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
14649 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
14650 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
14651 (__tanl): Set errno for infinite argument.
14652 * sysdeps/i386/fpu/mptan.c: Remove.
14653 * sysdeps/i386/fpu/s_tan.S: Likewise.
14654 * sysdeps/i386/fpu/s_tanl.S: Likewise.
14655 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
14656 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
14657 * math/libm-test.inc (tan_test): Add more tests and enable more
14658 tests for double and long double.
14659 * sysdeps/i386/fpu/libm-test-ulps: Update.
14660 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14661
6a1bd2a1
JK
146622012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
14663
14664 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
14665 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
14666
10a803e0
RM
146672012-03-16 Roland McGrath <roland@hack.frob.com>
14668
14669 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
14670 * configure.in: Use it for both main tree and add-ons.
14671 * configure: Regenerated.
14672
f196c7f7
L
146732012-03-16 H.J. Lu <hongjiu.lu@intel.com>
14674
14675 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
14676
8848d99d
JM
146772012-03-16 Joseph Myers <joseph@codesourcery.com>
14678
96cbe7f4
JM
14679 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
14680 in comment.
14681
8848d99d
JM
14682 [BZ #13851]
14683 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
14684 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
14685 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
14686 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
14687 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
14688 infinite argument.
14689 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
14690 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
14691 != 0 for prec == 2.
14692 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
14693 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
14694 * sysdeps/i386/fpu/s_cosl.S: Likewise.
14695 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
14696 * sysdeps/i386/fpu/s_sinl.S: Likewise.
14697 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
14698 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
14699 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
14700 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
14701 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
14702 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
14703 * math/libm-test.inc (cos_test): Add more tests and enable more
14704 tests for long double.
14705 (sin_test): Likewise.
14706 (sincos_test): Likewise.
14707 * sysdeps/i386/fpu/libm-test-ulps: Update.
14708 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14709
dd7f4703
DM
147102012-03-16 David S. Miller <davem@davemloft.net>
14711
14712 * sysdeps/sparc/fpu/math_private.h: New file.
14713
006f1daa
DM
147142012-03-15 David S. Miller <davem@davemloft.net>
14715
c0c83bc8
DM
14716 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
14717 file.
e6a62e18 14718 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
14719 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
14720 file.
e6a62e18
DM
14721 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
14722 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
14723 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
14724 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
14725 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
14726 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
14727 sysdep routines.
14728 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
14729
88cb87d9
DM
14730 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
14731 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
14732
006f1daa 14733 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
14734 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
14735 sparc-ifunc.h
006f1daa 14736 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
14737 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
14738 Likewise.
14739 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
14740 Likewise.
006f1daa
DM
14741 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
14742 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
14743 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
14744 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
14745 Likewise.
006f1daa
DM
14746 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
14747 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
14748 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
14749 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
14750 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
14751 Likewise.
14752 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
14753 Likewise.
006f1daa
DM
14754 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
14755 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
14756 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
14757 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
14758 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
14759 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
14760 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
14761 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
14762 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
14763 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
14764 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
14765 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
14766 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
14767 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
14768 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
14769 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
14770 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
14771 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
14772 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
14773 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
14774 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
14775 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
14776 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
14777 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
14778
11e0098e
AS
147792012-03-15 Andreas Schwab <schwab@linux-m68k.org>
14780
14781 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
14782 scaling.
14783 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14784
e85b09d0
AJ
147852012-03-15 Andreas Jaeger <aj@suse.de>
14786
14787 [BZ #13852]
14788 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
14789 ieee754/flt-32 implementation for sin, cos and sincos.
14790 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
14791 * sysdeps/i386/fpu/s_cosf.S: Likewise.
14792 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
14793 * sysdeps/i386/fpu/s_sinf.S: Likewise.
14794 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
14795 ieee754/flt-32 implementation for tan.
14796
14797 * math/libm-test.inc (cos_test): Enable some large input tests for
14798 float as well
14799 (sin_test): Likewise.
14800 (sincos_test): Likewise.
14801 (tan_test): Add tests for large input.
14802
14803 * sysdeps/i386/fpu/libm-test-ulps: Update.
14804
81c64153
AJ
148052012-03-15 Andreas Jaeger <aj@suse.de>
14806
14807 [BZ #13658]
14808 * math/libm-test.inc (cos_test): Add more test cases.
14809 (sin_test): Likewise.
14810 (sincos_test): Likewise.
14811
7bbfa5c6
AJ
148122012-03-15 Andreas Jaeger <aj@suse.de>
14813
14814 [BZ #13837]
14815 * math/libm-test.inc (cos_test): Add a test case for large input
14816 value.
14817 (sin_test): Likewise.
14818 (sincos_test): Likewise.
14819
148202012-03-15 Andreas Jaeger <aj@suse.de>,
14821 Joseph Myers <joseph@codesourcery.com>
14822
14823 [BZ #13658]
0671f479 14824 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
14825 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
14826 * sysdeps/i386/fpu/branred.c: Likewise.
14827 * sysdeps/i386/fpu/dosincos.c: Likewise.
14828 * sysdeps/i386/fpu/mpa.c: Likewise.
14829 * sysdeps/i386/fpu/s_cos.S: Likewise.
14830 * sysdeps/i386/fpu/s_sin.S: Likewise.
14831 * sysdeps/i386/fpu/s_sincos.S: Likewise.
14832 * sysdeps/i386/fpu/sincos32.c: Likewise.
14833
14834 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
14835 Define.
14836 (libc_feupdateenv_53bit): Define.
14837 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
14838 Define.
14839 (libc_feupdateenv_53bit): Define.
14840
14841 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
14842 53 bit (without extend i386 double precision).
14843
14844 * math/libm-test.inc (sincos_test): Add tests for large input.
14845 (sin): Likewise.
14846 (cos): Likewise.
14847
14848 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
14849
9cad04ea
AS
148502012-03-15 Andreas Schwab <schwab@linux-m68k.org>
14851
14852 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14853
f7062b9a
DM
148542012-03-15 David S. Miller <davem@davemloft.net>
14855
14856 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
14857 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
14858 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
14859 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
14860 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
14861 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
14862 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
14863 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
14864 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
14865 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
14866 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
14867 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
14868 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
14869 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
14870 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
14871 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
14872 file.
f7062b9a 14873 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
14874 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
14875 file.
f7062b9a 14876 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
14877 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
14878 file.
f7062b9a 14879 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
14880 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
14881 file.
f7062b9a
DM
14882 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
14883 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
14884 fmin/fmax sysdep routines.
14885 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
14886
7bd951ff
DM
148872012-03-14 David S. Miller <davem@davemloft.net>
14888
559398ab
DM
14889 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
14890 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
14891 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
14892 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
14893 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
14894 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
14895 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
14896 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
14897 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
14898 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
14899 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
14900 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
14901 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
14902 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
14903 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
14904 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
14905 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
14906 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
14907 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
14908 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
14909 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
14910 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
14911 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
14912 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
14913 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
14914 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
14915 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
14916 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
14917 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
14918 routines.
14919 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
14920 file.
559398ab 14921 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
14922 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
14923 file.
559398ab 14924 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
14925 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
14926 file.
559398ab 14927 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
14928 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
14929 file.
559398ab 14930 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
14931 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
14932 file.
559398ab 14933 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
14934 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
14935 file.
14936 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
14937 file.
14938 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
14939 file.
14940 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
14941 file.
14942 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
14943 New file.
14944 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
14945 file.
14946 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
14947 file.
559398ab 14948 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
14949 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
14950 file.
559398ab 14951 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
14952 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
14953 file.
559398ab 14954 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
14955 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
14956 file.
559398ab 14957 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
14958 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
14959 VIS3 routines.
559398ab
DM
14960
14961 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
14962 New file.
14963
5a1c1e32
DM
14964 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14965
eae47a36
DM
14966 * sysdeps/sparc/configure.in: New file.
14967 * sysdeps/sparc/configure: Generate.
14968 * configure.in (libc_cv_sparc_as_vis3): Substitute.
14969 * configure: Regenerate.
14970 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
14971 * config.make.in (have-as-vis3): New.
14972 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
14973 available use -Av9d instead of -Av9a.
14974 * sysdeps/sparc/sparc64/Makefile: Likewise.
14975 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
14976 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
14977 New file.
14978 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
14979 file.
14980 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
14981 New file.
14982 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
14983 file.
eae47a36
DM
14984 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
14985 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
14986 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
14987 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
14988 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
14989
c0c83bc8
DM
14990 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
14991 fzeros/fnegs to load 0x80000000 into a float register instead of
14992 using the stack.
7bd951ff
DM
14993 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
14994
bd951ccb
JM
149952012-03-14 Joseph Myers <joseph@codesourcery.com>
14996
14997 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14998 bits/syscall.h.
14999 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
15000 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
15001 ($(inst_includedir)/bits/syscall.h): Remove rule.
15002 ($(objpfx)bits/syscall.d): Include instead of
15003 $(objpfx)syscall-list.d.
15004 (generated): Change syscall-list.h and syscall-list.d to
15005 bits/syscall.h and bits/syscall.d.
15006
bb4e6db2
RM
150072012-03-14 Roland McGrath <roland@hack.frob.com>
15008
15009 [BZ #13846]
15010 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
15011
aa4a2ae1
JM
150122012-03-14 Joseph Myers <joseph@codesourcery.com>
15013
e456826d
JM
15014 [BZ #13841]
15015 * math/s_csqrt.c: Include <float.h>.
15016 (__csqrt): Scale large or subnormal inputs.
15017 * math/s_csqrtf.c: Likewise.
15018 * math/s_csqrtl.c: Likewise.
15019 * math/libm-test.inc (csqrt_test): Add more tests.
15020 * sysdeps/i386/fpu/libm-test-ulps: Update.
15021 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15022
aa4a2ae1
JM
15023 [BZ #13840]
15024 * math/libm-test.inc (hypot_test): Add more tests.
15025
7c10fd35
DM
150262012-03-13 David S. Miller <davem@davemloft.net>
15027
15028 [BZ #13840]
15029 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
15030 double-precision for the calculation instead of scaling.
15031
f453b98b
JM
150322012-03-13 Joseph Myers <joseph@codesourcery.com>
15033
15034 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
15035 manipulate bits before adding and subtracting TWO52[sx].
15036 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
15037 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
15038 Likewise.
15039 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
15040
09a3453f
DM
150412012-03-13 David S. Miller <davem@davemloft.net>
15042
8e59da90
DM
15043 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
15044 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
15045 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
15046 rtld-global-offsets.h
15047 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
15048
2a8ab7f2
DM
15049 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
15050 large parameters.
15051
10f62770
DM
15052 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
15053
5f0bdb18
DM
15054 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
15055 'err' in the ifdef scope in which it is actually used.
15056
09a3453f
DM
15057 * nss/nss_db/db-init.c: Include string.h
15058
b4b2eb5e
DM
150592012-03-12 David S. Miller <davem@davemloft.net>
15060
98bb2f1c
DM
15061 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
15062 masking out of the most significant byte of random value used.
15063 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
15064 Fix coding style in previous change.
15065
b4b2eb5e
DM
15066 * sysdeps/unix/sysv/linux/kernel-features.h
15067 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
15068 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
15069 expression.
15070 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
15071 later.
15072
6e226b09
DM
150732012-03-11 David S. Miller <davem@davemloft.net>
15074
a1bcbd40
DM
15075 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
15076 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
15077 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
15078 for 'resultvar' otherwise things get truncated on 64-bit.
15079
cb9d6174
DM
15080 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
15081 Fix masking out of the most significant byte of random value used.
15082
6e226b09
DM
15083 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15084
058c132d
AS
150852012-03-10 Andreas Schwab <schwab@linux-m68k.org>
15086
15087 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15088
2d2cd515
DM
150892012-03-09 David S. Miller <davem@davemloft.net>
15090
15091 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
15092 variables with appropriate CPP guards.
15093 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
15094 frame pointer, not the stack pointer. Correct layout comments. Fix test
15095 on resulting framesize and the management of the outregs buffer for pltexit.
15096 Preserve floating point return values across _dl_call_pltexit call.
15097 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
15098 framesize and the management of the outregs buffer for pltexit.
15099 Preserve floating point return values across _dl_call_pltexit
15100 call.
15101 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
15102 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
15103 (print_exit): Fix format string for return register value.
15104
9a07f9d0
JM
151052012-03-10 Joseph Myers <joseph@codesourcery.com>
15106
15107 * sunrpc/Makefile (others): Add rpcgen.
15108 ($(objpfx)rpcgen): Remove special build rule and dependency on
15109 libc.
15110 * sunrpc/rpcgen.c: New file.
15111
547b5e30
PE
151122012-03-09 Paul Eggert <eggert@cs.ucla.edu>
15113
c524201a
PE
15114 [BZ #13673]
15115 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
15116 * stdio-common/bug-vfprintf-nargs.c: Likewise.
15117 * sysdeps/i386/crti.S: Likewise.
15118 * sysdeps/i386/crtn.S: Likewise.
15119 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
15120 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
15121 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
15122 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
15123 * sysdeps/sh/crti.S: Likewise.
15124 * sysdeps/sh/crtn.S: Likewise.
15125 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
15126
7b6235f2
PE
15127 [BZ #13673]
15128 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
15129 with URL.
15130 * locale/programs/locfile-kw.gperf: Likewise.
15131 * locale/programs/charmap-kw.h: Regenerated.
15132 * locale/programs/locfile-kw.h: Likewise.
15133
547b5e30
PE
15134 [BZ #13673]
15135 * intl/plural.y: Replace FSF snail mail address with URL.
15136 * intl/plural.c: Regenerated.
15137
5f0a5dae
RH
151382012-03-09 Richard Henderson <rth@twiddle.net>
15139
15140 * include/math_private.h: Remove file.
15141 * math/math_private.h: Move file ...
15142 * sysdeps/generic/math_private.h: ... here.
15143
b8c03620
RH
15144 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
15145 * sysdeps/powerpc/fpu/math_private.h: Likewise.
15146 * sysdeps/x86_64/fpu/math_private.h: Likewise.
15147
4e234f5d 15148 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
15149 and <math_private.h>.
15150 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
15151 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
15152 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
15153 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
15154 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
15155 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
15156 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
15157 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15158 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
15159 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
15160 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15161 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
15162 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
15163 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
15164 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
15165 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
15166 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
15167 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15168 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
15169 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
15170 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15171 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
15172 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
15173 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15174 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
15175 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
15176 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
15177 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15178 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15179 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15180 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
15181 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15182 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
15183 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
15184 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
15185 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15186 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
15187 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
15188 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
15189 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
15190 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
15191 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
15192 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
15193 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
15194 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
15195 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
15196 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
15197 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
15198 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
15199 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
15200 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
15201 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
15202 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
15203 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
15204 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
15205 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
15206 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
15207 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
15208 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
15209 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
15210 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15211 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
15212 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15213 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
15214 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
15215 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
15216 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
15217 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
15218 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
15219 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
15220 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
15221 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
15222 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
15223 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
15224 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
15225 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
15226 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
15227 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
15228 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
15229 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
15230 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
15231 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
15232 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
15233 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
15234 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
15235 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
15236 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
15237 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
15238 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
15239 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
15240 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
15241 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
15242 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
15243 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
15244 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
15245 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
15246 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
15247 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
15248 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
15249 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
15250 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
15251 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
15252 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
15253 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
15254 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
15255 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
15256 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
15257 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
15258 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
15259 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
15260 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
15261 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
15262 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
15263 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
15264 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
15265 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
15266 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
15267 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
15268 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
15269 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
15270 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
15271 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
15272 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
15273 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
15274 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
15275 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
15276 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
15277 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
15278 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
15279 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
15280 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
15281 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
15282 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
15283 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
15284 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
15285 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
15286 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
15287 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
15288 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
15289 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
15290 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
15291 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
15292 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
15293 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
15294 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
15295 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
15296 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
15297 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
15298 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
15299 * sysdeps/ieee754/k_standard.c: Likewise.
15300 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
15301 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
15302 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
15303 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
15304 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
15305 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
15306 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
15307 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
15308 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
15309 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
15310 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
15311 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
15312 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
15313 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
15314 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
15315 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
15316 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
15317 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
15318 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
15319 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
15320 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
15321 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
15322 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
15323 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
15324 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
15325 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
15326 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
15327 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
15328 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
15329 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
15330 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
15331 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
15332 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
15333 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
15334 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
15335 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
15336 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
15337 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
15338 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
15339 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
15340 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
15341 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
15342 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
15343 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
15344 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
15345 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
15346 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
15347 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
15348 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
15349 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
15350 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
15351 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
15352 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
15353 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
15354 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
15355 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
15356 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
15357 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
15358 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
15359 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
15360 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
15361 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
15362 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
15363 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
15364 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
15365 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
15366 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
15367 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
15368 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
15369 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
15370 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
15371 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
15372 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
15373 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
15374 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
15375 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
15376 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
15377 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
15378 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
15379 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
15380 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
15381 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
15382 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
15383 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
15384 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
15385 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
15386 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
15387 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
15388 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
15389 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
15390 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
15391 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
15392 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
15393 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
15394 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
15395 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
15396 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
15397 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
15398 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
15399 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
15400 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
15401 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
15402 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
15403 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
15404 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
15405 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
15406 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
15407 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
15408 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
15409 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
15410 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
15411 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
15412 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
15413 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
15414 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
15415 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
15416 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
15417 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
15418 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
15419 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
15420 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
15421 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
15422 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
15423 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
15424 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
15425 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
15426 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
15427 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
15428 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
15429 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
15430 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
15431 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
15432 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
15433 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
15434 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
15435 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
15436 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
15437 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
15438 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
15439 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
15440 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
15441 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
15442 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
15443 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
15444 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
15445 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
15446 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
15447 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
15448 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
15449 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
15450 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
15451 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
15452 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
15453 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
15454 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
15455 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
15456 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
15457 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
15458 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
15459 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
15460 * sysdeps/ieee754/s_lib_version.c: Likewise.
15461 * sysdeps/ieee754/s_matherr.c: Likewise.
15462 * sysdeps/ieee754/s_signgam.c: Likewise.
15463 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
15464 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
15465 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
15466 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
15467 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
15468 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
15469 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
15470 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
15471 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
15472 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
15473 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
15474 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
15475 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
15476 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
15477 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
15478 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
15479 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
15480 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
15481 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
15482 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
15483 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 15484
1991fa03
JM
154852012-03-09 Joseph Myers <joseph@codesourcery.com>
15486
15487 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
15488 * sunrpc/rpc_main.c: Likewise.
15489 * sunrpc/rpc_svcout.c: Likewise.
15490
60d6f5a6
DM
154912012-03-09 David S. Miller <davem@davemloft.net>
15492
15493 * include/math_private.h: New file.
15494
4962050e
JM
154952012-03-09 Joseph Myers <joseph@codesourcery.com>
15496
02a6f887
JM
15497 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
15498 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
15499 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
15500 from <bits/socket_type.h>.
15501 (enum __socket_type): Don't define here.
15502 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
15503 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15504 bits/socket_type.h.
15505
c6e013c1
JM
15506 [BZ #13566]
15507 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
15508 checking __USE_GNU.
15509
4962050e
JM
15510 * Makerules ($(inst_includedir)/%.h): New rule.
15511 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
15512 (install-others): Remove variable setting.
15513 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
15514
38842f45
RH
155152012-03-08 Richard Henderson <rth@twiddle.net>
15516
67bb6da6
RH
15517 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
15518 from macro to inline function; merge with the
15519 !__LIBC_INTERNAL_MATH_INLINES version.
15520 (__ieee754_sqrtf): Likewise.
15521
15194b4b
RH
15522 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
15523 to inline function.
15524 (__rintf, __floor, __floorf): Likewise.
15525
64e21ede
RH
15526 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
15527 macro to inline function.
15528 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
15529
38842f45
RH
15530 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
15531 not <math/math_private.h>.
15532
c64bf5fe
DM
155332012-03-08 David S. Miller <davem@davemloft.net>
15534
15535 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
15536 copyright year.
15537 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
15538
82d86f28
TS
155392012-03-08 Thomas Schwinge <thomas@codesourcery.com>
15540
15541 * resolv/gai_misc.c (handle_requests): Fix struct timespec
15542 normalization.
15543 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
15544 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
15545
aea5d727
UD
155462012-03-08 Ulrich Drepper <drepper@gmail.com>
15547
15548 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
15549 be defined individually, they must be defined as a block. Define
15550 S for printing a string instead of hidint the different by using a
15551 macro for adding the 'l'.
15552 * stdio-common/tst-fphex-wide.c: Adjust.
15553
70bca0a3
MP
155542012-03-07 Marek Polacek <polacek@redhat.com>
15555
15556 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
15557
65b81130
MP
155582012-03-08 Marek Polacek <polacek@redhat.com>
15559
15560 [BZ #13806]
15561 * stdio-common/Makefile (tests): Add tst-fphex-wide.
15562 * stdio-common/tst-fphex.c: Define a few macros to make the
15563 test reusable. Use them.
15564 * stdio-common/tst-fphex-wide.c: New file.
15565
07037eeb
JM
155662012-03-08 Joseph Myers <joseph@codesourcery.com>
15567
a7a93d50
JM
15568 [BZ #6911]
15569 * manual/macros.texi (gnusystems): New macro.
15570 (nongnusystems): Likewise.
15571 (gnulinuxhurdsystems): Likewise.
15572 (gnuhurdsystems): Likewise..
15573 (gnulinuxsystems): Likewise.
15574 * manual/charset.texi: Use new macros or @theglibc{} to refer to
15575 variants of the GNU system, not "GNU system".
15576 * manual/conf.texi: Likewise.
15577 * manual/errno.texi: Likewise. Update example of errno macro
15578 expansion.
15579 * manual/filesys.texi: Likewise.
15580 (getumask): Document as specific to GNU/Hurd.
15581 * manual/install.texi: Likewise. Reword some references to
15582 GNU/Linux.
15583 * manual/intro.texi: Likewise.
15584 * manual/io.texi: Likewise.
15585 (File Name Portability): Detail which constraints are inapplicable
15586 to all GNU systems and which are only inapplicable to GNU/Hurd.
15587 * manual/job.texi: Likewise.
15588 * manual/llio.texi: Likewise.
15589 (O_NOCTTY): Document as present on GNU/Linux.
15590 * manual/maint.texi: Likewise.
15591 * manual/memory.texi: Likewise.
15592 * manual/pattern.texi: Likewise.
15593 * manual/pipe.texi: Likewise.
15594 * manual/process.texi: Likewise.
15595 * manual/resource.texi: Likewise.
15596 (RUSAGE_CHILDREN): Remove statement about specifying a particular
15597 child on GNU/Hurd.
15598 * manual/setjmp.texi: Likewise.
15599 * manual/signal.texi: Likewise.
15600 * manual/startup.texi: Likewise.
15601 * manual/stdio.texi: Likewise.
15602 * manual/terminal.texi: Likewise.
15603 (ONLCR): Document as POSIX.
15604 (OXTABS): Document availability on GNU/Linux as XTABS.
15605 (ONOEOT): Document availability separately from other bits.
15606 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
15607 * manual/time.texi: Likewise.
15608 * manual/users.texi: Likewise.
15609 * INSTALL: Regenerated.
15610 * sysdeps/gnu/errlist.c: Regenerated.
15611
07037eeb
JM
15612 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
15613 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
15614 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
15615 puts.
15616 * configure: Regenerated.
15617
d1d3431a
JM
156182012-03-07 Joseph Myers <joseph@codesourcery.com>
15619
af6a1e37
JM
15620 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
15621 default includes instead of AC_HEADER_CHECK.
15622 * sysdeps/i386/configure: Regenerated.
15623
d1d3431a
JM
15624 [BZ #10716]
15625 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
15626 * math/s_cacoshf.c (__cacoshf): Likewise.
15627 * math/s_cacoshl.c (__cacoshl): Likewise.
15628 * math/s_casinh.c (__casinh): Set signs of result from argument.
15629 * math/s_casinhf.c (__casinhf): Likewise.
15630 * math/s_casinhl.c (__casinhl): Likewise.
15631 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
15632 (casinh_test): Add more tests.
15633 * sysdeps/i386/fpu/libm-test-ulps: Update.
15634 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15635
482ff4da
UD
156362012-03-07 Ulrich Drepper <drepper@gmail.com>
15637
872fda05
UD
15638 * po/zh_TW.po: Update from translation team.
15639
a4300c7a
UD
15640 * login/Makefile (distribute): Remove variable.
15641 * catgets/Makefile: Likewise.
15642 * mach/Makefile: Likewise.
15643 * malloc/Makefile: Likewise.
15644 * misc/Makefile: Likewise.
15645 * iconv/Makefile: Likewise.
15646 * nscd/Makefile: Likewise.
15647 * hurd/Makefile: Likewise.
15648 * manual/Makefile: Likewise.
15649 * locale/Makefile: Likewise.
15650 * intl/Makefile: Likewise.
15651 * conform/Makefile: Likewise.
15652 * nss/Makefile: Likewise.
15653 * time/Makefile: Likewise.
15654 * soft-fp/Makefile: Likewise.
15655 * dirent/Makefile: Likewise.
15656 * gmon/Makefile: Likewise.
15657 * po/Makefile: Likewise.
15658 * rt/Makefile: Likewise.
15659 * socket/Makefile: Likewise.
15660 * math/Makefile: Likewise.
15661 * signal/Makefile: Likewise.
15662 * debug/Makefile: Likewise.
15663 * elf/Makefile: Likewise.
15664 * timezone/Makefile: Likewise.
15665 * stdlib/Makefile: Likewise.
15666 * iconvdata/Makefile: Likewise.
15667 * sunrpc/Makefile: Likewise.
15668 * io/Makefile: Likewise.
15669 * argp/Makefile: Likewise.
15670 * inet/Makefile: Likewise.
15671 * hesiod/Makefile: Likewise.
15672 * grp/Makefile: Likewise.
15673 * csu/Makefile: Likewise.
15674 * wctype/Makefile: Likewise.
15675 * crypt/Makefile: Likewise.
15676 * libio/Makefile: Likewise.
15677 * string/Makefile: Likewise.
15678 * nis/Makefile: Likewise.
15679 * resolv/Makefile: Likewise.
15680 * stdio-common/Makefile: Likewise.
15681 * wcsmbs/Makefile: Likewise.
15682 * dlfcn/Makefile: Likewise.
15683 * posix/Makefile: Likewise.
15684
3b7c4e74 15685 [BZ #6959]
482ff4da
UD
15686 * timezone/Makefile: Don't install timezone files, just the programs
15687 and scripts.
15688
f72ed77d
UD
156892012-03-06 Ulrich Drepper <drepper@gmail.com>
15690
a000466f
UD
15691 * nss/databases.def: Add missing gshadow entry.
15692
f72ed77d
UD
15693 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
15694
a53b7a4e
MP
156952012-03-06 Marek Polacek <polacek@redhat.com>
15696
15697 [BZ #13726]
15698 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
15699 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
15700 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
15701 * stdio-common/tst-long-dbl-fphex.c: New file.
15702
e9258400
DM
157032012-03-06 David S. Miller <davem@davemloft.net>
15704
15705 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
15706 (set_obp_int): New function.
15707 (get_obp_int): New function.
15708 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
15709 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
15710 Avoid unused variable warnings on 'val' and use builtin_expect.
15711 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
15712 __builtin_expect.
e9258400
DM
15713 (INLINE_CLONE_SYSCALL): Likewise.
15714
3bd2c723
DM
157152012-03-05 David S. Miller <davem@davemloft.net>
15716
15717 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15718
bbb78d03
AS
157192012-03-05 Andreas Schwab <schwab@linux-m68k.org>
15720
884c5db4
AS
15721 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15722
bbb78d03
AS
15723 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
15724 only for |x| >= 40.
15725 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
15726
1c9f702a 157272012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
15728
15729 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
15730 Replace gettimeofday with __vdso_gettimeofday.
15731
7be16f82
RM
15732 * sysdeps/unix/sysv/linux/x86_64/init-first.c
15733 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
15734 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
15735
15736 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
15737 time with __vdso_time.
15738
ed58a00f
JM
157392012-03-05 Joseph Myers <joseph@codesourcery.com>
15740
15741 * manual/lang.texi (size_t): Note types to which size_t may be
15742 equivalent with the GNU C Library, but do not describe when
15743 differences between them are significant.
15744
30ee4ced
AJ
157452012-03-05 Andreas Jaeger <aj@suse.de>
15746
15747 * sysdeps/i386/fpu/libm-test-ulps: Update.
15748
b7cd39e8
JM
157492012-03-05 Joseph Myers <joseph@codesourcery.com>
15750
15751 [BZ #3976]
15752 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
15753 (__ieee754_pow): Save and restore rounding mode and use
15754 round-to-nearest for main computations.
15755 * math/libm-test.inc (pow_test_tonearest): New function.
15756 (pow_test_towardzero): Likewise.
15757 (pow_test_downward): Likewise.
15758 (pow_test_upward): Likewise.
15759 (main): Call the new functions.
15760 * sysdeps/i386/fpu/libm-test-ulps: Update.
15761 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
15762
15763 [BZ #3976]
15764 * math/libm-test.inc (cosh_test_tonearest): New function.
15765 (cosh_test_towardzero): Likewise.
15766 (cosh_test_downward): Likewise.
15767 (cosh_test_upward): Likewise.
15768 (sinh_test_tonearest): Likewise.
15769 (sinh_test_towardzero): Likewise.
15770 (sinh_test_downward): Likewise.
15771 (sinh_test_upward): Likewise.
15772 (main): Call the new functions.
15773 * sysdeps/i386/fpu/libm-test-ulps: Update.
15774 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15775
6c6a98c9
TV
157762012-03-05 Tom de Vries <tom@codesourcery.com>
15777
15778 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
15779 default stack guard is set in last bytes.
15780 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
15781
21bb2d2e 157822012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 15783
21bb2d2e 15784 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 15785
21bb2d2e
AJ
15786 [BZ #13656]
15787 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
15788 possibly allocate from heap instead of stack.
15789 * stdio-common/bug-vfprintf-nargs.c: New file.
15790 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 15791
c6922934
AS
157922012-03-03 Andreas Schwab <schwab@linux-m68k.org>
15793
15794 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15795
bc957d53
MP
157962012-03-03 Marek Polacek <polacek@redhat.com>
15797
15798 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
15799 * math/math_private.h: Likewise.
15800 * stdlib/tst-strtod.c: Likewise.
15801 * sysdeps/i386/i486/bits/atomic.h: Likewise.
15802 * sysdeps/x86_64/bits/atomic.h: Likewise.
15803
6358490d
DM
158042012-03-02 David S. Miller <davem@davemloft.net>
15805
15806 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
15807 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
15808 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
15809 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
15810 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
15811 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
15812 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
15813 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
15814
01ae168d
RM
158152012-03-02 Roland McGrath <roland@hack.frob.com>
15816
d9a17c07
RM
15817 [BZ #13792]
15818 * manual/examples/README: New file, says the example source files
15819 can be used under GPL>=2.
15820 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
15821 line containing just "*/".
15822 * manual/examples/add.c: Add copyright header (GPL>=2).
15823 * manual/examples/argp-ex1.c: Likewise.
15824 * manual/examples/argp-ex2.c: Likewise.
15825 * manual/examples/argp-ex3.c: Likewise.
15826 * manual/examples/argp-ex4.c: Likewise.
15827 * manual/examples/atexit.c: Likewise.
15828 * manual/examples/db.c: Likewise.
15829 * manual/examples/dir.c: Likewise.
15830 * manual/examples/dir2.c: Likewise.
15831 * manual/examples/execinfo.c: Likewise.
15832 * manual/examples/filecli.c: Likewise.
15833 * manual/examples/filesrv.c: Likewise.
15834 * manual/examples/fmtmsgexpl.c: Likewise.
15835 * manual/examples/genpass.c: Likewise.
15836 * manual/examples/inetcli.c: Likewise.
15837 * manual/examples/inetsrv.c: Likewise.
15838 * manual/examples/isockad.c: Likewise.
15839 * manual/examples/longopt.c: Likewise.
15840 * manual/examples/memopen.c: Likewise.
15841 * manual/examples/memstrm.c: Likewise.
15842 * manual/examples/mkfsock.c: Likewise.
15843 * manual/examples/mkisock.c: Likewise.
15844 * manual/examples/mygetpass.c: Likewise.
15845 * manual/examples/pipe.c: Likewise.
15846 * manual/examples/popen.c: Likewise.
15847 * manual/examples/rprintf.c: Likewise.
15848 * manual/examples/search.c: Likewise.
15849 * manual/examples/select.c: Likewise.
15850 * manual/examples/setjmp.c: Likewise.
15851 * manual/examples/sigh1.c: Likewise.
15852 * manual/examples/sigusr.c: Likewise.
15853 * manual/examples/stpcpy.c: Likewise.
15854 * manual/examples/strdupa.c: Likewise.
15855 * manual/examples/strftim.c: Likewise.
15856 * manual/examples/strncat.c: Likewise.
15857 * manual/examples/subopt.c: Likewise.
15858 * manual/examples/swapcontext.c: Likewise.
15859 * manual/examples/termios.c: Likewise.
15860 * manual/examples/testopt.c: Likewise.
15861 * manual/examples/testpass.c: Likewise.
15862 * manual/examples/timeval_subtract.c: Likewise.
15863
01ae168d
RM
15864 [BZ #13792]
15865 * manual/time.texi (Elapsed Time): Move timeval_subtract example
15866 function to ...
15867 * manual/timeval_subtract.c.texi: ... here, new file.
15868
49efa33d
DM
158692012-03-02 David S. Miller <davem@davemloft.net>
15870
15871 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
15872
28afd92d
JM
158732012-03-02 Joseph Myers <joseph@codesourcery.com>
15874
804360ed
JM
15875 [BZ #3976]
15876 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
15877 (__sin): Save and restore rounding mode and use round-to-nearest
15878 for all computations.
15879 (__cos): Save and restore rounding mode and use round-to-nearest
15880 for all computations.
15881 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
15882 <fenv.h>.
15883 (tan): Save and restore rounding mode and use round-to-nearest for
15884 all computations.
15885 * math/libm-test.inc (cos_test_tonearest): New function.
15886 (cos_test_towardzero): Likewise.
15887 (cos_test_downward): Likewise.
15888 (cos_test_upward): Likewise.
15889 (sin_test_tonearest): Likewise.
15890 (sin_test_towardzero): Likewise.
15891 (sin_test_downward): Likewise.
15892 (sin_test_upward): Likewise.
15893 (tan_test_tonearest): Likewise.
15894 (tan_test_towardzero): Likewise.
15895 (tan_test_downward): Likewise.
15896 (tan_test_upward): Likewise.
15897 (main): Call the new functions.
15898 * sysdeps/i386/fpu/libm-test-ulps: Update.
15899 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15900
a6d06d7b
JM
15901 [BZ #10135]
15902 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
15903 small n, then large n, before computing and testing k+n.
15904 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
15905 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
15906 Likewise.
15907 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
15908 Likewise.
15909 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
15910 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
15911 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
15912 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
15913 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
15914 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
15915 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
15916 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
15917 * math/libm-test.inc (scalbn_test): Add more tests.
15918 (scalbln_test): Likewise.
15919
07e12bb3
JM
15920 * manual/filesys.texi (mode_t): Describe constraints on size and
15921 signedness, not exact equivalence to a particular type.
15922 (ino_t): Likewise.
15923 (ino64_t): Likewise.
15924 (dev_t): Likewise.
15925 (nlink_t): Likewise.
15926 (blkcnt_t): Likewise.
15927 (blkcnt64_t): Likewise.
15928 * manual/llio.texi (off_t): Likewise.
15929
28afd92d
JM
15930 [BZ #3976]
15931 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
15932 (__ieee754_exp): Save and restore rounding mode and use
15933 round-to-nearest for all computations.
15934 * math/libm-test.inc (exp_test_tonearest): New function.
15935 (exp_test_towardzero): Likewise.
15936 (exp_test_downward): Likewise.
15937 (exp_test_upward): Likewise.
15938 (main): Call the new functions.
15939 * sysdeps/i386/fpu/libm-test-ulps: Update.
15940 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15941
b1eeb65d
CD
159422012-03-01 Chris Demetriou <cgd@google.com>
15943
15944 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
15945 have predictable order.
15946
53362a4b
DM
159472012-03-01 David S. Miller <davem@davemloft.net>
15948
3c969083
DM
15949 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
15950
759707de
DM
15951 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
15952 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
15953 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
15954 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
15955
dfdb8ff2
DM
15956 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
15957 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
15958 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
15959 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
15960 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
15961 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
15962 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
15963 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
15964 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
15965
ead89f96
DM
15966 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15967
7f66bd07
DM
15968 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
15969 * sysdeps/sparc/fpu/libm-test-ulps: to here.
15970 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
15971
53362a4b
DM
15972 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
15973 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
15974 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
15975 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
15976 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
15977 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
15978 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
15979 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
15980 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
15981 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
15982 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
15983 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
15984 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
15985 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
15986 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
15987 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15988 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
15989 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
15990 * sysdeps/sparc/elf/configure: Regenerated.
15991
7b1902cb
JM
159922012-03-01 Joseph Myers <joseph@codesourcery.com>
15993
bec039bc
JM
15994 * configure.in (AS, LD): Require binutils 2.20 or later.
15995 * configure: Regenerated.
15996 * manual/install.texi (Tools for Compilation): Give binutils 2.20
15997 as required minimum version.
15998 * INSTALL: Regenerated.
15999
7b1902cb
JM
16000 [BZ #2541]
16001 [BZ #4108]
16002 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
16003 before squaring exponent.
16004 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
16005 bottom long double and 27 bits of top long double before squaring
16006 exponent.
16007 * math/libm-test.inc (erfc_test): Add more tests.
16008 * sysdeps/i386/fpu/libm-test-ulps: Update.
16009 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16010 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16011
f775c276
KT
160122012-03-01 Kai Tietz <ktietz@redhat.com>
16013
16014 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
16015 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
16016 containing bit-fields.
16017 * soft-fp/extended.h (_FP_UNION_E): Likewise.
16018 * soft-fp/single.h (_FP_UNION_S): Likewise.
16019 * soft-fp/double.h (_FP_UNION_D): Likewise.
16020
5b8a4d4a
JM
160212012-02-29 Joseph Myers <joseph@codesourcery.com>
16022
0bab47b6
JM
16023 [BZ #13786]
16024 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
16025 not include ../strcmp.S.
16026 [USE_AS_STRNCASECMP_L]: Likewise.
16027 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
16028 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
16029 * sysdeps/i386/i686/multiarch/strncase_l-c.c
16030 (__strncasecmp_l_ia32): Define as alias to
16031 __strncasecmp_l_nonascii.
16032
0fcad3e2
JM
16033 [BZ #5794]
16034 * math/libm-test.inc (expm1_test): Add test for bug 5794.
16035 * sysdeps/i386/fpu/libm-test-ulps: Update.
16036 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16037
5b8a4d4a
JM
16038 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
16039 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16040
8fdceb2e
JL
160412012-02-29 Jeff Law <law@redhat.com>
16042
16043 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
16044 out of bounds read.
16045
1f393a11
MP
160462012-02-29 Marek Polacek <polacek@redhat.com>
16047
16048 [BZ #13706]
16049 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
16050 * elf/Makefile: Add rules to run tst-unused-dep.out.
16051
8847f037
DM
160522012-02-28 David S. Miller <davem@davemloft.net>
16053
16054 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
16055 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
16056 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
16057 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
16058 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
16059 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
16060
169d7f11
JM
160612012-02-29 Joseph Myers <joseph@codesourcery.com>
16062
16063 * math/libm-test.inc (llround_test): Move one test from
16064 lround_test. Use TEST_f_L in moved test.
16065 (lround_test): Move misplaced test to llround_test. Add testcase
16066 from bug 2561.
16067
39adf059
UD
160682012-02-28 Ulrich Drepper <drepper@gmail.com>
16069
16070 * sysdeps/x86_64/fpu/e_expf.S: New file.
16071 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
16072
71b5d1c5
SB
160732012-02-28 Stanislav Brabec <sbrabec@suse.cz>
16074
16075 [BZ #13637]
16076 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
16077 of remain_len that may cause incomplete multi-byte character and
16078 false match.
16079 * posix/bug-regex33.c: New file.
16080 * posix/Makefile (tests): Add bug-regex33.
16081
1f77f049
JM
160822012-02-28 Joseph Myers <joseph@codesourcery.com>
16083
16084 * manual/macros.texi: New file.
16085 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
16086 * manual/libc.texinfo: Include macros.texi.
16087 * manual/creatute.texi: Likewise.
16088 * manual/install.texi: Likewise.
16089 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
16090 @glibcadj{} in references to the GNU C Library.
16091 * manual/charset.texi: Likewise.
16092 * manual/conf.texi: Likewise.
16093 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
16094 when not using those macros.
16095 * manual/creature.texi: Likewise.
16096 * manual/crypt.texi: Likewise.
16097 * manual/errno.texi: Likewise.
16098 * manual/filesys.texi: Likewise.
16099 * manual/header.texi: Likewise.
16100 * manual/install.texi: Likewise.
16101 * manual/intro.texi: Likewise.
16102 * manual/io.texi: Likewise.
16103 * manual/job.texi: Likewise.
16104 * manual/lang.texi: Likewise.
16105 * manual/libc.texiinfo: Likewise.
16106 * manual/llio.texi: Likewise.
16107 * manual/locale.texi: Likewise.
16108 * manual/maint.texi: Likewise.
16109 * manual/math.texi: Likewise.
16110 * manual/memory.texi: Likewise.
16111 * manual/message.texi: Likewise.
16112 * manual/nss.texi: Likewise.
16113 * manual/pattern.texi: Likewise.
16114 * manual/process.texi: Likewise.
16115 * manual/resource.texi: Likewise.
16116 * manual/search.texi: Likewise.
16117 * manual/setjmp.texi: Likewise.
16118 * manual/signal.texi: Likewise.
16119 * manual/socket.texi: Likewise.
16120 * manual/startup.texi: Likewise.
16121 * manual/stdio.texi: Likewise.
16122 * manual/string.texi: Likewise.
16123 * manual/sysinfo.texi: Likewise.
16124 * manual/syslog.texi: Likewise.
16125 * manual/terminal.texi: Likewise.
16126 * manual/time.texi: Likewise.
16127 * manual/users.texi: Likewise.
16128 * INSTALL: Regenerated.
16129 * NOTES: Regenerated.
d40c5d54 16130 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 16131
450bf206
AS
161322012-02-28 Andreas Schwab <schwab@linux-m68k.org>
16133
16134 * include/dirent.h: Include <dirstream.h> before
16135 <dirent/dirent.h>.
16136
741a235b
DM
161372012-02-28 David S. Miller <davem@davemloft.net>
16138
16139 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
16140 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
16141 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
16142 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
16143
d6b5aa58
DM
161442012-02-27 David S. Miller <davem@davemloft.net>
16145
1aff59a3
DM
16146 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
16147 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
16148 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
16149 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
16150
d6b5aa58
DM
16151 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
16152 frame pointer instead of stack pointer relative arg slot.
16153 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
16154 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
16155 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
16156
433f48bf
CD
161572012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
16158
16159 [BZ #3992]
16160 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
16161
d674b76d
DM
161622012-02-27 David S. Miller <davem@davemloft.net>
16163
16164 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
16165 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
16166 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
16167 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
16168 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
16169 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
16170 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
16171 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
16172
0e7727f7
JM
161732012-02-27 Joseph Myers <joseph@codesourcery.com>
16174
16175 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
16176 later. Allow versions 5-9.
43be4ca2 16177 * configure: Regenerated.
0e7727f7
JM
16178 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
16179 required minimum version and 4.6 as recommended version. Do not
16180 mention bugs in GCC 2.7 and 2.8.
43be4ca2 16181 * INSTALL: Regenerated.
0e7727f7 16182
a78bc654
DM
161832012-02-27 David S. Miller <davem@davemloft.net>
16184
428d5830
DM
16185 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
16186 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
16187 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
16188 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
16189 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
16190 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
16191 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
16192 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
16193
a78bc654
DM
16194 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
16195 manipulate bits before adding and subtracting TWO112[sx].
16196 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
16197
4579f81c
RM
161982012-02-27 Roland McGrath <roland@hack.frob.com>
16199
36c8acb4
RM
16200 [BZ #13775]
16201 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
16202 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
16203 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
16204 being in POSIX, because they are in 1003.1-2008.
16205
84ad622b
RM
16206 * rt/tst-aio.c: Include <fcntl.h>.
16207 * rt/tst-aio7.c: Likewise.
16208 * rt/tst-aio64.c: Likewise.
16209
4579f81c
RM
16210 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
16211
abd923db
JM
162122012-02-27 Joseph Myers <joseph@codesourcery.com>
16213
16214 * manual/install.texi (--with-headers): Describe headers as
16215 interface headers, not private headers.
16216 (Specific advice for GNU/Linux systems): Describe use of headers
16217 from "make headers_install", not private headers from older
16218 kernels.
43be4ca2 16219 * INSTALL: Regenerated.
abd923db
JM
16220 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
16221 Change to 2.6.19.
16222 * sysdeps/unix/sysv/linux/configure: Regenerated.
16223
6664049b
JM
16224 * manual/llio.texi (fclean): Remove documentation.
16225
bb8b6697
JM
16226 * manual/Makefile (libc-texi-generated): New variable. Include
16227 version.texi.
16228 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
16229 $(libc-texi-generated), not duplicated list of files.
16230 (version.texi, stamp-version): New rules.
16231 (realclean): Remove $(libc-texi-generated), not individual files
16232 from that list. Do not remove dir-add.texinfo.
16233 * manual/libc.texinfo: Comment out uses of edition numbers and
16234 references to printed manual. Remove last-updated dates.
16235 (EDITION): Comment out.
16236 (ISBN): Likewise.
16237 (VERSION, UPDATED): Remove.
16238 (version.texi): Include.
16239
12e5c3b9
AS
162402012-02-27 Andreas Schwab <schwab@linux-m68k.org>
16241
16242 * sysdeps/posix/spawni.c: Include <signal.h>.
16243 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
16244 * sysdeps/pthread/aio_fsync.c: Likewise.
16245
4efeffc1 162462012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 16247
ba63ba08
UD
16248 * conform/Makefile (tests): Run only when not cross-compiling and
16249 when fast-check is not defined.
16250
d94a4670
UD
16251 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
16252 * conform/data/limits.h-data: Fixes for POSIX2008.
16253 * conform/run-conformtest.sh: Run all tests.
16254 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
16255 headers.
16256 * include/bits/dlfcn.h: Likewise.
16257 * include/langinfo.h: Likewise.
16258 * include/monetary.h: Likewise.
16259 * include/sys/poll.h: Likewise.
16260
16261 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
16262 for __USE_GNU.
16263 * posix/spawn.h: Define __need_sigset_t.
16264 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
16265 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
16266 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
16267 to get sigevent_t only.
16268 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
16269 only for __USE_GNU.
16270 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
16271 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
16272 process_vm_writev only for __USE_GNU.
16273 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
16274
16275 * conform/Makefile: For now ignore errors from run-conformtest.
16276 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
16277 POSIX to avoid namespace pollution. Don't prepend headers.
16278 * conform/data/aio.h-data: Fixes for POSIX testing.
16279 * conform/data/fcntl.h-data: Likewise.
16280 * conform/data/glob.h-data: Likewise.
16281 * conform/data/grp.h-data: Likewise.
16282 * conform/data/pthread.h-data: Likewise.
16283 * conform/data/pwd.h-data: Likewise.
16284 * conform/data/signal.h-data: Likewise.
16285 * conform/data/spawn.h-data: Likewise.
16286 * conform/data/stdio.h-data: Likewise.
16287 * conform/data/stdlib.h-data: Likewise.
16288 * conform/data/stropts.h-data: Likewise.
16289 * conform/data/sys/mman.h-data: Likewise.
16290 * conform/data/sys/stat.h-data: Likewise.
16291 * conform/data/sys/types.h-data: Likewise.
16292 * conform/data/sys/wait.h-data: Likewise.
16293 * conform/data/time.h-data: Likewise.
16294 * conform/data/unistd.h-data: Likewise.
16295 * conform/data/utime.h-data: Likewise.
16296
16297 * io/sys/stat.h: fchmod was always in POSIX.
16298 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
16299 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
16300 * rt/aio.h: Define __need_timespec before including <time.h>.
16301 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
16302 struct. Add forward declaration of pthread_attr_t and use it in
16303 sigevent.
16304 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
16305 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
16306 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
16307 always remove CLK_TCK definition.
16308
c20105c3
AS
163092012-02-26 Andreas Schwab <schwab@linux-m68k.org>
16310
16311 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
16312
7a270350
UD
163132012-02-25 Ulrich Drepper <drepper@gmail.com>
16314
31341567
UD
16315 * conform/run-conformtest.sh: New file.
16316 * conform/Makefile: Run run-conformtest for tests.
16317 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
16318 support.
16319
16320 * conform/data/uchar.h-data: New file.
16321 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
16322 * conform/data/arpa/inet.h-data: Likewise.
16323 * conform/data/assert.h-data: Likewise.
16324 * conform/data/complex.h-data: Likewise.
16325 * conform/data/cpio.h-data: Likewise.
16326 * conform/data/ctype.h-data: Likewise.
16327 * conform/data/dirent.h-data: Likewise.
16328 * conform/data/dlfcn.h-data: Likewise.
16329 * conform/data/errno.h-data: Likewise.
16330 * conform/data/fcntl.h-data: Likewise.
16331 * conform/data/float.h-data: Likewise.
16332 * conform/data/fmtmsg.h-data: Likewise.
16333 * conform/data/fnmatch.h-data: Likewise.
16334 * conform/data/ftw.h-data: Likewise.
16335 * conform/data/glob.h-data: Likewise.
16336 * conform/data/grp.h-data: Likewise.
16337 * conform/data/iconv.h-data: Likewise.
16338 * conform/data/inttypes.h-data: Likewise.
16339 * conform/data/langinfo.h-data: Likewise.
16340 * conform/data/libgen.h-data: Likewise.
16341 * conform/data/limits.h-data: Likewise.
16342 * conform/data/locale.h-data: Likewise.
16343 * conform/data/math.h-data: Likewise.
16344 * conform/data/monetary.h-data: Likewise.
16345 * conform/data/mqueue.h-data: Likewise.
16346 * conform/data/ndbm.h-data: Likewise.
16347 * conform/data/net/if.h-data: Likewise.
16348 * conform/data/netdb.h-data: Likewise.
16349 * conform/data/netinet/in.h-data: Likewise.
16350 * conform/data/nl_types.h-data: Likewise.
16351 * conform/data/poll.h-data: Likewise.
16352 * conform/data/pthread.h-data: Likewise.
16353 * conform/data/pwd.h-data: Likewise.
16354 * conform/data/regex.h-data: Likewise.
16355 * conform/data/sched.h-data: Likewise.
16356 * conform/data/search.h-data: Likewise.
16357 * conform/data/semaphore.h-data: Likewise.
16358 * conform/data/setjmp.h-data: Likewise.
16359 * conform/data/signal.h-data: Likewise.
16360 * conform/data/spawn.h-data: Likewise.
16361 * conform/data/stdarg.h-data: Likewise.
16362 * conform/data/stdio.h-data: Likewise.
16363 * conform/data/stdlib.h-data: Likewise.
16364 * conform/data/string.h-data: Likewise.
16365 * conform/data/strings.h-data: Likewise.
16366 * conform/data/stropts.h-data: Likewise.
16367 * conform/data/sys/ipc.h-data: Likewise.
16368 * conform/data/sys/mman.h-data: Likewise.
16369 * conform/data/sys/msg.h-data: Likewise.
16370 * conform/data/sys/resource.h-data: Likewise.
16371 * conform/data/sys/select.h-data: Likewise.
16372 * conform/data/sys/sem.h-data: Likewise.
16373 * conform/data/sys/shm.h-data: Likewise.
16374 * conform/data/sys/socket.h-data: Likewise.
16375 * conform/data/sys/stat.h-data: Likewise.
16376 * conform/data/sys/statvfs.h-data: Likewise.
16377 * conform/data/sys/time.h-data: Likewise.
16378 * conform/data/sys/timeb.h-data: Likewise.
16379 * conform/data/sys/times.h-data: Likewise.
16380 * conform/data/sys/types.h-data: Likewise.
16381 * conform/data/sys/uio.h-data: Likewise.
16382 * conform/data/sys/un.h-data: Likewise.
16383 * conform/data/sys/utsname.h-data: Likewise.
16384 * conform/data/sys/wait.h-data: Likewise.
16385 * conform/data/syslog.h-data: Likewise.
16386 * conform/data/tar.h-data: Likewise.
16387 * conform/data/termios.h-data: Likewise.
16388 * conform/data/utime.h-data: Likewise.
16389 * conform/data/utmpx.h-data: Likewise.
16390 * conform/data/varargs.h-data: Likewise.
16391 * conform/data/wchar.h-data: Likewise.
16392 * conform/data/wctype.h-data: Likewise.
16393 * conform/data/wordexp.h-data: Likewise.
16394
16395 * include/stropts.h: New file.
16396 * include/uchar.h: New file.
16397 * include/aio.h: Changes to allow conformtest.pl to use the headers.
16398 * include/assert.h: Likewise.
16399 * include/ctype.h: Likewise.
16400 * include/dirent.h: Likewise.
16401 * include/dlfcn.h: Likewise.
16402 * include/fcntl.h: Likewise.
16403 * include/fnmatch.h: Likewise.
16404 * include/glob.h: Likewise.
16405 * include/grp.h: Likewise.
16406 * include/libio.h: Likewise.
16407 * include/locale.h: Likewise.
16408 * include/math.h: Likewise.
16409 * include/net/if.h: Likewise.
16410 * include/netdb.h: Likewise.
16411 * include/netinet/in.h: Likewise.
16412 * include/pthread.h: Likewise.
16413 * include/pwd.h: Likewise.
16414 * include/regex.h: Likewise.
16415 * include/sched.h: Likewise.
16416 * include/search.h: Likewise.
16417 * include/setjmp.h: Likewise.
16418 * include/signal.h: Likewise.
16419 * include/stdio.h: Likewise.
16420 * include/stdlib.h: Likewise.
16421 * include/string.h: Likewise.
16422 * include/sys/cdefs.h: Likewise.
16423 * include/sys/mman.h: Likewise.
16424 * include/sys/msg.h: Likewise.
16425 * include/sys/resource.h: Likewise.
16426 * include/sys/select.h: Likewise.
16427 * include/sys/socket.h: Likewise.
16428 * include/sys/stat.h: Likewise.
16429 * include/sys/statvfs.h: Likewise.
16430 * include/sys/time.h: Likewise.
16431 * include/sys/times.h: Likewise.
16432 * include/sys/uio.h: Likewise.
16433 * include/sys/utsname.h: Likewise.
16434 * include/sys/wait.h: Likewise.
16435 * include/termios.h: Likewise.
16436 * include/time.h: Likewise.
16437 * include/ulimit.h: Likewise.
16438 * include/unistd.h: Likewise.
16439 * include/utime.h: Likewise.
16440 * include/wchar.h: Likewise.
16441 * include/wctype.h: Likewise.
16442 * include/wordexp.h: Likewise.
16443
16444 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
16445
7a270350
UD
16446 * time/time.h: TIME_UTC must be a macro.
16447 Make timespec_get available for ISO C11 only as well.
16448
7724defc
UD
164492012-02-24 Ulrich Drepper <drepper@gmail.com>
16450
16451 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
16452 Reported by Peng Haitao <penght@cn.fujitsu.com>.
16453
6b1d1d46
JM
164542012-02-24 Joseph Myers <joseph@codesourcery.com>
16455
16456 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 16457
0f8bbd69
JM
164582012-02-24 Joseph Myers <joseph@codesourcery.com>
16459
16460 * manual/texinfo.tex: Update to version 2012-01-19.16.
16461
66ab80bc
JM
164622012-02-24 Joseph Myers <joseph@codesourcery.com>
16463
16464 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
16465
74981cc5
RM
164662012-02-24 Roland McGrath <roland@hack.frob.com>
16467
ee968201
RM
16468 [BZ #13738]
16469 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
16470 * manual/fdl-1.3.texi: New file.
16471 * manual/fdl-1.1.texi: File removed.
16472
74981cc5
RM
16473 [BZ #13738]
16474 * manual/libc.texinfo (FDL_VERSION): New @set.
16475 Use it for mention of FDL in cover text.
16476 (Documentation License): Use it in @include file name.
16477
7bb764bc
JM
164782012-02-22 Joseph Myers <joseph@codesourcery.com>
16479 Roland McGrath <roland@hack.frob.com>
16480
16481 [BZ #5461]
16482 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
16483 not LONG_LONG_MAX and LONG_LONG_MIN.
16484 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
16485 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
16486 name.
16487 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
16488
6cbeae47
JM
164892012-02-22 Joseph Myers <joseph@codesourcery.com>
16490
16491 [BZ #2547]
16492 [BZ #11365]
16493 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
16494 manipulate bits before adding and subtracting TWO23[sx].
16495 * math/libm-test.inc (nearbyint_test): Add more tests.
16496
fe45ce09
JM
164972012-02-22 Joseph Myers <joseph@codesourcery.com>
16498
16499 [BZ #2548]
16500 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
16501 bits before adding and subtracting TWO23[sx].
16502 * math/libm-test.inc (rint_test): Add more tests.
16503 (rint_test_tonearest): Likewise.
16504 (rint_test_towardzero): Likewise.
16505 (rint_test_downward): Likewise.
16506 (rint_test_upward: Likewise.
16507
ff3b3d82
JM
165082012-02-22 Joseph Myers <joseph@codesourcery.com>
16509
16510 [BZ #10110]
16511 * include/stdc-predef.h: New file. Extracted from features.h.
16512 * include/features.h: Include stdc-predef.h.
16513 * Makefile (headers): Add stdc-predef.h.
16514 * CONFORMANCE (Compiler limitations): Update.
16515
ef0aab35
JM
165162012-02-22 Joseph Myers <joseph@codesourcery.com>
16517
16518 * manual/libc.texinfo (VERSION, UPDATED): Revert.
16519
58639409
DM
165202012-02-21 David S. Miller <davem@davemloft.net>
16521
16522 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
16523 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
16524
c0e70b25
DM
165252012-02-20 David S. Miller <davem@davemloft.net>
16526
16527 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
16528 using a normal save/restore sequence, rather than allocating a
16529 dummy stack frame just to store a frame pointer and restore.
16530 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
16531
fb06851d
JM
165322012-02-21 Joseph Myers <joseph@codesourcery.com>
16533
16534 * manual/install.texi: Fix stray word in line-wrapped comment.
16535
7a8b71c3
DM
165362012-02-20 David S. Miller <davem@davemloft.net>
16537
d510c123
DM
16538 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
16539 both binutils and gcc support GOTDATA.
16540
0722d7c2
DM
16541 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
16542 "rd %pc" in the PIC register setup sequences.
16543
3d2b3019
DM
16544 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
16545 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
16546 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
16547 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
16548 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
16549 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
16550 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
16551 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
16552 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
16553 (SYSCALL_ERROR_HANDLER): Likewise.
16554 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
16555 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
16556 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
16557 (SYSCALL_ERROR_HANDLER): Likewise.
16558
c80098a9
DM
16559 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
16560 (HAVE_GCC_GOTDATA): New.
16561 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
16562 relocation support in both binutils and gcc.
16563 * sysdeps/sparc/elf/configure: Regenerate.
16564
3a2545a0
DM
16565 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
16566 * sysdeps/sparc/sparc32/elf/configure: Delete.
16567 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
16568 * sysdeps/sparc/sparc64/elf/configure: Delete.
16569 * sysdeps/sparc/elf/configure.in: New file.
16570 * sysdeps/sparc/elf/configure: Generate.
16571
7a8b71c3
DM
16572 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
16573 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
16574 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
16575 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
16576 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
16577
f1e86fca
JM
165782012-02-21 Joseph Myers <joseph@codesourcery.com>
16579
16580 * manual/install.texi: Do not mention specific glibc version
16581 numbers.
16582 * manual/libc.texinfo (VERSION, UPDATED): Update.
16583 (@copying): Use @copyright{} and range of years.
16584
0e7dfaef
JM
165852012-02-21 Joseph Myers <joseph@codesourcery.com>
16586
16587 [BZ #13695]
16588 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
16589 [crti.S not in sysdirs] (generated): Do not append.
16590 [crti.S not in sysdirs] (omit-deps): Likewise.
16591 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
16592 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
16593 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
16594 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
16595 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
16596 Likewise.
16597 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
16598 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
16599 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
16600 * csu/defs.awk: Remove file.
16601 * sysdeps/generic/initfini.c: Likewise.
16602 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
16603 variable.
16604 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
16605 Likewise.
16606
599af3ca
JM
166072012-02-20 Joseph Myers <joseph@codesourcery.com>
16608
16609 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
16610 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
16611 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
16612 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
16613 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
16614 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
16615 <bits/epoll.h>.
16616 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
16617 (__EPOLL_PACKED): Define to empty if not defined by
16618 <bits/epoll.h>.
16619 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
16620 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16621 bits/epoll.h.
16622
0e499750
JM
166232012-02-20 Joseph Myers <joseph@codesourcery.com>
16624
16625 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
16626 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
16627 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
16628 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
16629 <bits/timerfd.h>.
16630 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
16631 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16632 bits/timerfd.h.
16633
5ad91f6e
JM
166342012-02-20 Joseph Myers <joseph@codesourcery.com>
16635
16636 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
16637 in C locale.
16638 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16639 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
16640 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
16641 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16642
06b99b02
AJ
166432012-02-20 Aurelien Jarno <aurelien@aurel32.net>
16644
16645 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
16646 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
16647
7638c0fd
AS
166482012-02-19 Andreas Schwab <schwab@linux-m68k.org>
16649
16650 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
16651 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
16652 defined.
16653 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
16654 Likewise.
16655 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
16656 entry for 2.16.
16657
92221550
AJ
166582012-02-19 Aurelien Jarno <aurelien@aurel32.net>
16659
16660 * math/w_acos.c: Use non-signaling floating-point comparisons.
16661 * math/w_acosf.c: Likewise.
16662 * math/w_acosh.c: Likewise.
16663 * math/w_acoshf.c: Likewise.
16664 * math/w_acoshl.c: Likewise.
16665 * math/w_acosl.c: Likewise.
16666 * math/w_asin.c: Likewise.
16667 * math/w_asinf.c: Likewise.
16668 * math/w_asinl.c: Likewise.
16669 * math/w_atanh.c: Likewise.
16670 * math/w_atanhf.c: Likewise.
16671 * math/w_atanhl.c: Likewise.
16672 * math/w_exp2.c: Likewise.
16673 * math/w_exp2f.c: Likewise.
16674 * math/w_exp2l.c: Likewise.
16675 * math/w_j0.c: Likewise.
16676 * math/w_j0f.c: Likewise.
16677 * math/w_j0l.c: Likewise.
16678 * math/w_j1.c: Likewise.
16679 * math/w_j1f.c: Likewise.
16680 * math/w_j1l.c: Likewise.
16681 * math/w_jn.c: Likewise.
16682 * math/w_jnf.c: Likewise.
16683 * math/w_log.c: Likewise.
16684 * math/w_log10.c: Likewise.
16685 * math/w_log10f.c: Likewise.
16686 * math/w_log10l.c: Likewise.
16687 * math/w_log2.c: Likewise.
16688 * math/w_log2f.c: Likewise.
16689 * math/w_log2l.c: Likewise.
16690 * math/w_logf.c: Likewise.
16691 * math/w_logl.c: Likewise.
16692 * math/w_sqrt.c: Likewise.
16693 * math/w_sqrtf.c: Likewise.
16694 * math/w_sqrtl.c: Likewise.
16695 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
16696 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
16697 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
16698 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
16699 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
16700
ebaf36eb
JM
167012012-02-19 Joseph Myers <joseph@codesourcery.com>
16702
16703 [BZ #9739]
16704 * manual/string.texi (strnlen): Use correct parameter name in
16705 equivalent expression.
16706
71c254a6
JM
167072012-02-19 Joseph Myers <joseph@codesourcery.com>
16708
16709 [BZ #11174]
16710 * manual/users.texi (seteuid): Consistently use neweuid for
16711 argument name.
16712
16d2c631
JM
167132012-02-19 Joseph Myers <joseph@codesourcery.com>
16714
16715 [BZ #13704]
16716 * manual/nss.texi (Services in the NSS configuration): Correct
16717 list of services in example configuration file.
16718
cd837b09
NB
167192012-02-19 Nick Bowler <nbowler@draconx.ca>
16720
16721 [BZ #11322]
16722 * manual/arith.texi: Remove statements about negative zero
16723 behaving identically to zero.
16724
02c4bbad
JM
167252012-02-18 Joseph Myers <joseph@codesourcery.com>
16726
16727 [BZ #5993]
16728 * manual/install.texi: Do not document upgrading from libc5.
16729
366842e7
JM
167302012-02-18 Joseph Myers <joseph@codesourcery.com>
16731
16732 [BZ #4596]
16733 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
16734
dd54084d
DM
167352012-02-18 David S. Miller <davem@davemloft.net>
16736
16737 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
16738 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
16739 %o7 across the call.
16740 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
16741 instead.
16742 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
16743 SETUP_PIC_REG_LEAF.
16744 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
16745 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
16746 * sysdeps/sparc/crtn.S: Likewise.
16747
2bcc53a3
UD
167482012-02-17 Ulrich Drepper <drepper@gmail.com>
16749
16750 * aout/Makefile: Remove.
16751
09c093b5
RK
167522012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
16753
16754 [BZ #13058]
16755 * manual/examples/argp-ex1.c (main): Format definition in GNU
16756 style.
16757 * manual/examples/argp-ex2.c (main): Likewise.
16758 * manual/examples/argp-ex3.c (main): Likewise.
16759 * manual/examples/argp-ex4.c (main): Likewise.
16760 * manual/examples/longopt.c (main): Use new-style prototype
16761 definition.
16762 * manual/examples/strncat.c (main): Specify return type and use
16763 (void) for arguments.
16764 * manual/examples/subopt.c (main): Use char **argv argument.
16765
2ee633a2
JM
167662012-02-17 Joseph Myers <joseph@codesourcery.com>
16767
16768 [BZ #5077]
16769 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
16770 rounding modes.
16771
0520adde
FB
167722012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
16773
16774 [BZ #6907]
16775 * manual/string.texi (strchr): Change when strchrnul is
16776 recommended.
16777
3f4081cd
DGM
167782012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
16779
16780 [BZ #174]
16781 * manual/locale.texi (setlocale): Document LOCPATH.
16782
d1b10e78
JM
167832012-02-17 Joseph Myers <joseph@codesourcery.com>
16784
16785 [BZ #10210]
16786 * manual/process.texi (execle): Move @dots{} before last argument.
16787
79c6869c
PB
167882012-02-17 Paul Bolle <pebolle@tiscali.nl>
16789
16790 [BZ #12047]
16791 * manual/charset.texi (Generic Charset Conversion): Fix typo
16792 (LC_TYPE -> LC_CTYPE).
16793
cc6e48bc
NB
167942012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
16795
16796 [BZ #5805]
16797 * manual/arith.texi (scalbn): Use @var{} on parameter names.
16798 (scalbnf): Likewise.
16799 (scalbnl): Likewise.
16800 (scalbln): Likewise.
16801 (scalblnf): Likewise.
16802 (scalblnl): Likewise.
16803 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
16804 (vwarnx): Likewise.
16805 (verr): Likewise.
16806 (verrx): Likewise.
16807 * manual/filesys.texi (telldir): Use braces around return type.
16808 * manual/llio.texi (mmap): Add space after comma.
16809 (mmap64): Likewise.
16810 * manual/math.texi (jn): Use @var{} on parameter names.
16811 (jnf): Likewise.
16812 (jnl): Likewise.
16813 (yn): Likewise.
16814 (ynf): Likewise.
16815 (ynl): Likewise.
16816 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
16817 line.
16818 * manual/resource.texi (ulimit): Use @dots{} instead of literal
16819 "...".
16820 (sched_get_priority_min): Remove semicolon on @deftypefun line.
16821 (sched_get_priority_max): Likewise.
16822 * manual/signal.texi (sigvec): Add space after comma.
16823 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
16824 names.
16825 (if_indextoname): Likewise.
16826 (if_freenameindex): Likewise.
16827 (sendto): Use ',' instead of '.' in prototype.
16828 * manual/startup.texi (syscall): Use @dots{} instead of literal
16829 "...".
16830 * manual/stdio.texi (__fpending): Separate initial words of
16831 paragraph from @deftypefun line.
16832 * manual/syslog.texi (syslog): Use @dots{} instead of literal
16833 "...".
16834 (vsyslog): Use @var{} on parameter names.
16835 * manual/terminal.texi (stty): Use @var{} on parameter names.
16836 * manual/users.texi (getutmp): Use @var{} on parameter names.
16837 (getutmpx): Likewise.
16838
5b23062f
JM
168392012-02-17 Joseph Myers <joseph@codesourcery.com>
16840
16841 [BZ #6884]
16842 * manual/stdio.texi (fopen): Fix typos in description of
16843 ",ccs=STRING".
16844
8dee4833
AJ
168452012-02-17 Aurelien Jarno <aurelien@aurel32.net>
16846
16847 [BZ #4026]
16848 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
16849 get clock_id definition.
16850
9078ce93
TS
168512012-02-17 Thomas Schwinge <thomas@schwinge.name>
16852
16853 [BZ #4822]
16854 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
16855 (madvise): Cast every argument to void on its own.
16856
3835c55f
JM
168572012-02-17 Joseph Myers <joseph@codesourcery.com>
16858
16859 [BZ #9902]
16860 * manual/startup.texi (Exit Status): Fix typo.
16861
35c47e37
JM
168622012-02-17 Joseph Myers <joseph@codesourcery.com>
16863
16864 [BZ #10140]
16865 * manual/examples/argp-ex1.c: Include <stdlib.h>.
16866 * manual/examples/argp-ex2.c: Likewise.
16867 * manual/examples/argp-ex3.c: Likewise.
16868
e3b69ca7
RH
168692012-02-16 Richard Henderson <rth@redhat.com>
16870
16871 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
16872 * sysdeps/s390/s390-32/initfini.c: Remove.
16873 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
16874 * sysdeps/s390/s390-64/initfini.c: Remove.
16875
df83af67
KK
168762012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16877
16878 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
16879 compiler output for sysdeps/generic/initfini.c.
16880 * sysdeps/sh/elf/initfini.c: Remove file.
16881
f63f3380
DM
168822012-02-16 David S. Miller <davem@davemloft.net>
16883
fb59b3a4
DM
16884 [BZ #11494]
16885 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
16886
f63f3380
DM
16887 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
16888 * sysdeps/sparc/crti.S: New file.
16889 * sysdeps/sparc/crtn.S: New file.
16890 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
16891 * sysdeps/sparc/sparc64/Makefile: Likewise.
16892
df6a4a4a
MF
168932012-02-15 Mike Frysinger <vapier@gentoo.org>
16894
6dd8f3dc 16895 [BZ #3335]
df6a4a4a
MF
16896 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
16897
1cac7236
RM
168982012-02-15 Roland McGrath <roland@hack.frob.com>
16899
d2c736f8
RM
16900 [BZ #4822]
16901 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
16902
1cac7236
RM
16903 * mach/devstream.c (cookie_io_functions_t): Macro removed.
16904 (write, read, close): Likewise.
16905 Patch by Aurelien Jarno <aurelien@aurel32.net>.
16906
8e475601
JM
169072012-02-15 Joseph Myers <joseph@codesourcery.com>
16908
16909 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
16910 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
16911 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
16912 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
16913 <bits/signalfd.h>.
16914 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
16915 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16916 bits/signalfd.h.
16917
ed656b40
MP
169182012-02-14 Marek Polacek <polacek@redhat.com>
16919
16920 * sysdeps/x86_64/crti.S: New file.
16921 * sysdeps/x86_64/crtn.S: New file.
16922 * sysdeps/x86_64/elf/initfini.c: Remove file.
16923
2a979d3a
JM
169242012-02-13 Joseph Myers <joseph@codesourcery.com>
16925
16926 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
16927 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
16928 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
16929 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
16930 <bits/inotify.h>.
16931 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
16932 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16933 bits/inotify.h.
16934
2a418ac3
JM
169352012-02-13 Joseph Myers <joseph@codesourcery.com>
16936
16937 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
16938 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
16939 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
16940 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
16941 <bits/eventfd.h>.
16942 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
16943 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16944 bits/eventfd.h.
16945
fb779be7
TS
169462012-02-10 Thomas Schwinge <thomas@codesourcery.com>
16947
e19e83c5
RM
16948 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
16949 __feraiseexcept instead of feraiseexcept.
7c35ffed 16950
fb779be7
TS
16951 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
16952 nanosleep invocations.
16953 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
16954 strings, and add error checking for a nanosleep invocations.
16955
59ba27a6
PE
169562012-02-09 Paul Eggert <eggert@cs.ucla.edu>
16957
16958 Replace FSF snail mail address with URLs, as per GNU coding standards.
16959 Most of the snail mail addresses were wrong anyway, and omitting
16960 them makes the source code easier to maintain. Almost all of the
16961 changes are to license notices and to locale LC_IDENTIFICATION
16962 addresses, except for this one:
16963 * manual/libc.texinfo: In "Published by", give the FSF's URL,
16964 not its snail mail address.
16965
57b957eb
RH
169662012-02-09 Richard Henderson <rth@twiddle.net>
16967
af850b1c
RH
16968 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
16969 of kernel-features.h.
16970
57b957eb
RH
16971 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
16972
6b73181a
MP
169732012-02-08 Marek Polacek <polacek@redhat.com>
16974
16975 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
16976 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
16977 * sysdeps/gnu/_G_config.h: Likewise.
16978 * sysdeps/generic/_G_config.h: Likewise.
16979
26ecc33a
AS
169802012-02-08 Andreas Schwab <schwab@linux-m68k.org>
16981
6c6dbc63
AS
16982 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
16983 tests.
16984 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16985
e216c012
AS
16986 * sysdeps/powerpc/powerpc32/crti.S: New file.
16987 * sysdeps/powerpc/powerpc32/crtn.S: New file.
16988 * sysdeps/powerpc/powerpc64/crti.S: New file.
16989 * sysdeps/powerpc/powerpc64/crtn.S: New file.
16990
26ecc33a
AS
16991 * Makeconfig (have-initfini): Don't set.
16992 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
16993 * configure.in (nopic_initfini): Don't substitute.
16994 * config.h.in (HAVE_INITFINI): Don't #undef.
16995 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
16996 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
16997
3add8e13
JM
169982012-02-08 Joseph Myers <joseph@codesourcery.com>
16999
17000 Support crti.S and crtn.S provided directly by architectures.
17001 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
17002 [crti.S in sysdirs] (omit-deps): Likewise.
17003 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
17004 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
17005 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
17006 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
17007 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
17008 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
17009 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
17010 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
17011 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
17012 compiler output for sysdeps/generic/initfini.c.
17013 * sysdeps/i386/elf/Makefile: Remove file.
17014 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
17015
a22f12b4
MP
170162012-02-07 Marek Polacek <polacek@redhat.com>
17017
17018 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
17019 * sysdeps/gnu/_G_config.h: Likewise.
17020 * sysdeps/mach/hurd/_G_config.h: Likewise.
17021
148cf100
MP
170222012-02-07 Marek Polacek <polacek@redhat.com>
17023
17024 * math/Makefile (tests): Add tst-CMPLX2.
17025 * math/tst-CMPLX2.c: New file.
17026
cfdc0dd7
AS
170272012-02-07 Andreas Schwab <schwab@linux-m68k.org>
17028
84ba42c4
AS
17029 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
17030
cfdc0dd7
AS
17031 * math/libm-test.inc (jn_test): Add missing L suffix.
17032
622c86f4
MP
170332012-02-06 Marek Polacek <polacek@redhat.com>
17034
17035 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
17036 * sysdeps/i386/fpu/e_powf.S: Likewise.
17037 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
17038 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
17039 * sysdeps/i386/fpu/e_acosh.S: Likewise.
17040 * sysdeps/i386/fpu/e_pow.S: Likewise.
17041 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
17042 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
17043 * sysdeps/i386/fpu/s_expm1.S: Likewise.
17044 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
17045 * sysdeps/i386/fpu/e_log2.S: Likewise.
17046 * sysdeps/i386/fpu/e_log2l.S: Likewise.
17047 * sysdeps/i386/fpu/e_scalb.S: Likewise.
17048 * sysdeps/i386/fpu/e_powl.S: Likewise.
17049 * sysdeps/i386/fpu/s_log1p.S: Likewise.
17050 * sysdeps/i386/fpu/e_log10f.S: Likewise.
17051 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
17052 * sysdeps/i386/fpu/e_logl.S: Likewise.
17053 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
17054 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
17055 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
17056 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
17057 * sysdeps/i386/fpu/e_log2f.S: Likewise.
17058 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
17059 * sysdeps/i386/fpu/e_log.S: Likewise.
17060 * sysdeps/i386/fpu/s_cexp.S: Likewise.
17061 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
17062 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
17063 * sysdeps/i386/fpu/e_logf.S: Likewise.
17064 * sysdeps/i386/fpu/e_log10l.S: Likewise.
17065 * sysdeps/i386/fpu/e_atanh.S: Likewise.
17066 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
17067 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
17068 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
17069 * sysdeps/i386/fpu/e_log10.S: Likewise.
17070 * sysdeps/i386/fpu/s_frexp.S: Likewise.
17071 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
17072 * sysdeps/i386/fpu/s_asinh.S: Likewise.
17073 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
17074 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
17075 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
17076 * sysdeps/i386/asm-syntax.h: Likewise.
17077 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
17078 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
17079 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
17080 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
17081 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
17082 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
17083 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
17084 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
17085 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
17086 * sysdeps/powerpc/sysdep.h: Likewise.
17087 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
17088 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
17089
d4a54ac6
JM
170902012-02-06 Joseph Myers <joseph@codesourcery.com>
17091
17092 [BZ #411]
17093 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
17094
314054ea
JM
170952012-02-06 Joseph Myers <joseph@codesourcery.com>
17096
17097 * sysdeps/i386/sysdep.h: Include <features.h>.
17098 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
17099 version.
17100
d8e0ca50
JM
171012012-02-05 Joseph Myers <joseph@codesourcery.com>
17102
17103 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
17104 Define.
17105 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
17106 LOAD_PIC_REG_STR.
17107
b1da7dd9
JM
171082012-02-03 Joseph Myers <joseph@codesourcery.com>
17109
17110 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
17111 (SETUP_PIC_REG): Use GET_PC_THUNK.
17112 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
17113 macro.
17114
9a1d9254
JM
171152012-02-03 Joseph Myers <joseph@codesourcery.com>
17116
17117 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
17118 for non-PIC compilation.
17119 (SETUP_PIC_REG): Add .p2align directive.
17120 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
17121 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
17122 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
17123 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
17124 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
17125 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
17126 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
17127 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
17128 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
17129 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
17130 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
17131 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
17132 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
17133 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
17134 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
17135 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
17136 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
17137 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
17138 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
17139 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
17140 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
17141 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
17142 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
17143 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
17144 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
17145 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
17146 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
17147 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
17148 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
17149 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
17150 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
17151 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
17152 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
17153 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
17154 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
17155 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
17156 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
17157 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
17158 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
17159 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
17160 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
17161
65dc3b75
JM
171622012-02-03 Joseph Myers <joseph@codesourcery.com>
17163
17164 * math/tst-CMPLX.c: Include <stdio.h>.
17165
d55bf177
JM
171662012-01-31 Joseph Myers <joseph@codesourcery.com>
17167
17168 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
17169 float.
17170 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
17171 * sysdeps/sparc/bits/mathdef.h: Likewise.
17172
69db4f8f
MP
171732012-01-31 Marek Polacek <polacek@redhat.com>
17174
17175 * libio/libio.h: Don't define _PARAMS.
17176 * locale/programs/config.h: Don't define PARAMS.
17177 * stdlib/strtol_l.c: Likewise.
17178 (__strtol_l): Remove PARAMS from the prototype.
17179
41b81892
UD
171802012-01-31 Ulrich Drepper <drepper@gmail.com>
17181
3b49edc0
UD
17182 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
17183 names. Just use the correct names. Remove unnecessary wrapper
17184 functions.
17185 * malloc/arena.c: Likewise.
17186 * malloc/hooks.c: Likewise.
17187
41b81892
UD
17188 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
17189 ARENA_TEST says not to. Simplify test for creation of a new arena.
17190 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
17191
27a25b6e
UD
171922012-01-30 Ulrich Drepper <drepper@gmail.com>
17193
17194 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
17195 into tail calls.
17196 (update_get_addr): New function.
17197 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
17198 GET_ADDR_MODULE parameter.
17199
c8a89e7d
JM
172002012-01-30 Joseph Myers <joseph@codesourcery.com>
17201
17202 * crypt/cert.c: Remove __STDC__ conditionals.
17203 * crypt/crypt-entry.c: Likewise.
17204 * crypt/crypt_util.c: Likewise.
17205 * libio/filedoalloc.c: Likewise.
17206 * libio/fileops.c: Likewise.
17207 * libio/genops.c: Likewise.
17208 * libio/iofclose.c: Likewise.
17209 * libio/iofdopen.c: Likewise.
17210 * libio/iofopen.c: Likewise.
17211 * libio/iofopen64.c: Likewise.
17212 * libio/iogetdelim.c: Likewise.
17213 * libio/iopopen.c: Likewise.
17214 * libio/obprintf.c: Likewise.
17215 * libio/oldfileops.c: Likewise.
17216 * libio/oldiofclose.c: Likewise.
17217 * libio/oldiofdopen.c: Likewise.
17218 * libio/oldiofopen.c: Likewise.
17219 * libio/oldiopopen.c: Likewise.
17220 * libio/wfiledoalloc.c: Likewise.
17221 * libio/wgenops.c: Likewise.
17222 * locale/programs/xmalloc.c: Likewise.
17223 * misc/syslog.c: Likewise.
17224 * stdio-common/xbug.c: Likewise.
17225 * string/memchr.c: Likewise.
17226 * string/memcmp.c: Likewise.
17227 * string/memrchr.c: Likewise.
17228 * string/rawmemchr.c: Likewise.
17229 * sysdeps/posix/getcwd.c: Likewise.
17230 * time/strftime_l.c: Likewise.
17231
3b100462
JM
172322012-01-30 Joseph Myers <joseph@codesourcery.com>
17233
17234 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
17235 * config.make.in (config-cflags-sse2avx): Define.
17236 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
17237 Fix typo.
17238
607998af
CM
172392012-01-29 Chris Metcalf <cmetcalf@tilera.com>
17240
17241 * scripts/config.guess: Update from upstream config git repository.
17242 * scripts/config.sub: Likewise.
17243
3601428f
CM
172442012-01-28 Chris Metcalf <cmetcalf@tilera.com>
17245
3ac8b282
CM
17246 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
17247 (EM_NUM): Update.
17248 (R_TILEPRO_*, R_TILEGX_*): New macros.
17249
e034841e
CM
17250 * scripts/firstversions.awk: Fix bug in version range handling.
17251
540d7568
CM
17252 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
17253
3601428f
CM
17254 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
17255
463de862
CM
17256 * include/sys/epoll.h: New file.
17257 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
17258 libc_hidden_def.
17259
73139a76
UD
172602012-01-28 Ulrich Drepper <drepper@gmail.com>
17261
96bc5b45
UD
17262 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
17263 Avoid unnecessary __WORDSIZE == 64 test.
17264 (fmaxf): Use VEX format if possible.
17265 (fmax): Likewise.
17266 (fminf): Likewise.
17267 (fmin): Likewise.
17268
56f6f6a2
UD
17269 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
17270 * math/math_private.h: Remove libc_fegetround* and
17271 libc_fesetround*.
17272 * sysdeps/i386/configure.in: Check for -msse2avx.
17273 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
17274 also if SSE2AVX is defined.
17275 Remove libc_fegetround* and libc_fesetround*.
17276 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
17277 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
17278 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
17279 of HAS_YMM_USABLE.
17280 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
17281 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
17282 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
17283 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
17284 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
17285
73139a76
UD
17286 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
17287
d73f93a4
AZ
172882012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17289
17290 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
17291 size is not set.
17292 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
17293
6ee65ed6
UD
172942012-01-27 Ulrich Drepper <drepper@gmail.com>
17295
17296 [BZ #13618]
17297 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
17298 relocation.
17299 * Makeconfig (libm): Define.
17300 * elf/Makefile: Add rules to build and run tst-relsort1.
17301 * elf/tst-relsort1.c: New file.
17302 * elf/tst-relsort1mod1.c: New file.
17303 * elf/tst-relsort1mod2.c: New file.
17304
8db21882
JM
173052012-01-27 Joseph Myers <joseph@codesourcery.com>
17306
17307 * math/s_ldexp.c: Remove __STDC__ conditionals.
17308 * math/s_ldexpf.c: Likewise.
17309 * math/s_ldexpl.c: Likewise.
17310 * math/s_nextafter.c: Likewise.
17311 * math/s_nexttowardf.c: Likewise.
17312 * math/s_significand.c: Likewise.
17313 * math/s_significandf.c: Likewise.
17314 * math/s_significandl.c: Likewise.
17315 * math/w_jnl.c: Likewise.
17316 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
17317 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
17318 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
17319 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
17320 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
17321 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
17322 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
17323 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
17324 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
17325 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
17326 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
17327 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17328 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
17329 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
17330 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
17331 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
17332 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
17333 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
17334 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
17335 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
17336 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
17337 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
17338 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
17339 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
17340 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
17341 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
17342 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
17343 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
17344 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
17345 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
17346 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
17347 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
17348 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
17349 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
17350 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
17351 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
17352 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
17353 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
17354 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
17355 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
17356 * sysdeps/ieee754/k_standard.c: Likewise.
17357 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
17358 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
17359 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
17360 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
17361 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
17362 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
17363 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
17364 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
17365 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
17366 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
17367 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
17368 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
17369 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
17370 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
17371 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
17372 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
17373 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
17374 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
17375 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
17376 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
17377 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
17378 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
17379 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
17380 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
17381 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
17382 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
17383 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
17384 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
17385 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
17386 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
17387 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
17388 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
17389 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
17390 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
17391 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
17392 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
17393 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
17394 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
17395 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
17396 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
17397 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
17398 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
17399 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
17400 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
17401 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
17402 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
17403 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
17404 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
17405 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
17406 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
17407 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
17408 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
17409 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
17410 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
17411 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
17412 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
17413 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
17414 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
17415 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
17416 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
17417 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
17418 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
17419 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
17420 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
17421 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
17422 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
17423 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
17424 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
17425 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
17426 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
17427 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
17428 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
17429 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
17430 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
17431 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
17432 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
17433 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
17434 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
17435 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
17436 * sysdeps/ieee754/s_matherr.c: Likewise.
17437 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
17438 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
17439 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
17440 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
17441
965a54a4
JM
174422012-01-26 Joseph Myers <joseph@codesourcery.com>
17443
17444 * crypt/md5.h: Remove __STDC__ conditionals.
17445 * libio/libioP.h: Likewise.
17446 * locale/programs/config.h: Likewise.
17447 * sysdeps/generic/sysdep.h: Likewise.
17448 * sysdeps/i386/asm-syntax.h: Likewise.
17449 * sysdeps/s390/asm-syntax.h: Likewise.
17450 * sysdeps/unix/sysdep.h: Likewise.
17451 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
17452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
17453
7071ad79
JM
174542012-01-26 Joseph Myers <joseph@codesourcery.com>
17455
17456 * libio/libio.h: Remove __STDC__ conditionals.
17457 * malloc/obstack.h: Likewise.
17458 * math/complex.h: Likewise.
17459 * math/math.h: Likewise.
17460 * sysdeps/generic/_G_config.h: Likewise.
17461 * sysdeps/gnu/_G_config.h: Likewise.
17462 * sysdeps/mach/hurd/_G_config.h: Likewise.
17463 * sysdeps/powerpc/bits/mathdef.h: Likewise.
17464 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
17465 * sysdeps/sparc/bits/mathdef.h: Likewise.
17466
afc5ed09
UD
174672012-01-26 Ulrich Drepper <drepper@gmail.com>
17468
17469 [BZ #13583]
17470 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 17471 Clean up HAS_* macros.
afc5ed09 17472 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
17473 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
17474 possible.
17475 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
17476 HAS_AVX.
17477 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
17478 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
17479 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
17480 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
17481 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 17482
bdb6de1d
JM
174832012-01-25 Joseph Myers <joseph@codesourcery.com>
17484
17485 * elf/tst-unique3.cc (gets): Remove declaration.
17486 * elf/tst-unique3lib.cc (gets): Likewise.
17487 * elf/tst-unique3lib2.cc (gets): Likewise.
17488 * elf/tst-unique4.cc (gets): Likewise.
17489
b15549e6
UD
174902012-01-24 Ulrich Drepper <drepper@gmail.com>
17491
17492 * include/stdio.h: Add C++ protection. Add gets declarations and
17493 definitions.
17494 * debug/tst-chk1.c: Don't declare gets here.
17495 * stdio-common/tst-gets.c: Likewise.
17496
a037381f
JM
174972012-01-24 Joseph Myers <joseph@codesourcery.com>
17498
17499 * posix/glob: Remove directory.
17500
f1d4aa75
JM
175012012-01-24 Joseph Myers <joseph@codesourcery.com>
17502
17503 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
17504
81c0c964
PT
175052012-01-22 Pino Toscano <toscano.pino@tiscali.it>
17506
17507 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
17508 of the non-standard EPFNOSUPPORT.
17509
0ea698ae
ST
175102011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
17511
17512 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
17513 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
17514 ANYWHERE set to 1 only on KERN_NO_SPACE error.
17515
d220b117
UD
175162012-01-21 Ulrich Drepper <drepper@gmail.com>
17517
17518 * wcsmbs/uchar.h: Test __STDC_VERSION__.
17519
3e1aa84e
UD
175202012-01-20 Ulrich Drepper <drepper@gmail.com>
17521
17522 * nscd/aicache.c (addhstaiX): Do not cache negative results of
17523 transient errors.
17524 * nscd/grpcache.c (cache_addgr): Likewise.
17525 * nscd/hstcache.c (cache_addhst): Likewise.
17526 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17527 * nscd/pwdcache.c (cache_addpw): Likewise.
17528 * nscd/servicescache.c (cache_addserv): Likewise.
17529
400aa020
UD
175302012-01-16 Ulrich Drepper <drepper@gmail.com>
17531
d77e7869
UD
17532 * malloc/malloc.c: Various cleanups.
17533 * malloc/hooks.c: Likewise.
17534
400aa020
UD
17535 * stdlib/Makefile (tests): Add bug-fmtmsg1.
17536 * stdlib/bug-fmtmsg1.c: New file.
17537
17538 * stdlib/fmtmsg.c (init): Add missing unlock.
17539 Patch by Peng Haitao <penght@cn.fujitsu.com>.
17540
e0a309cf
MP
175412012-01-12 Marek Polacek <polacek@redhat.com>
17542
17543 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
17544 and _GNU_SOURCE.
17545
929d11c7
WS
175462012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
17547
17548 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
17549 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
17550 macro to ensure uniqueness of label name.
17551 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
17552 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
17553
41d0e869
UD
175542012-01-11 Ulrich Drepper <drepper@gmail.com>
17555
0cc5ed3b
UD
17556 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
17557
41d0e869
UD
17558 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
17559 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
17560 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
17561 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
17562
a47a831a
UD
175632012-01-10 Ulrich Drepper <drepper@gmail.com>
17564
daa891c0
UD
17565 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
17566
17567 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
17568 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
17569 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
17570
e58ef0f2
UD
17571 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
17572
a47a831a 17573 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
17574 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
17575 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 17576 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
17577
17578 * math/bits/math-finite.h: Add ldexp support.
17579
a0bfc9c7
MP
175802012-01-10 Marek Polacek <polacek@redhat.com>
17581
17582 * locale/programs/localedef.h (show_archive_content): Add noreturn
17583 attribute.
17584
d6e97a1d
UD
175852012-01-09 Ulrich Drepper <drepper@gmail.com>
17586
17587 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
17588
d5835c26
UD
175892012-01-08 Ulrich Drepper <drepper@gmail.com>
17590
e5f484c6
UD
17591 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
17592
d5835c26
UD
17593 * io/Makefile (headers): Add bits/poll2.h.
17594
d1f741e9
WS
175952011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
17596
17597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
17598 typo #include statement.
17599
ec09c1c4
UD
176002012-01-08 Ulrich Drepper <drepper@gmail.com>
17601
17602 * include/sys/cdefs.h: Define __attribute_alloc_size.
17603 * catgets/gencat.c: Add alloc_size attribute and apply consistently
17604 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
17605 * elf/pldd.c: Likewise.
17606 * iconv/iconv_charmap.c: Likewise.
17607 * iconv/iconvconfig.c: Likewise.
17608 * iconv/strtab.c: Likewise.
17609 * locale/programs/locale.c: Likewise.
17610 * locale/programs/localedef.h: Likewise.
17611 * locale/programs/simple-hash.c: Likewise.
17612 * nscd/nscd.h: Likewise.
17613 * nss/makedb.c: Likewise.
17614 * sysdeps/generic/ldconfig.h: Likewise.
17615 * locale/programs/localedef.c: Remove xmalloc prototype.
17616 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
17617
20b38e03
PP
176182012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
17619
17620 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
17621 appropriate.
17622
a0da5fe1
UD
176232012-01-08 Ulrich Drepper <drepper@gmail.com>
17624
1d5a644a 17625 * math/Makefile (tests): Add tst-CMPLX.
669704fd 17626 * math/tst-CMPLX.c: New file.
1d5a644a 17627
8784a6db
UD
17628 * math/complex.h (CMPLXL): Fix typo.
17629
d9a216c0
UD
17630 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
17631 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
17632 GLIBC_2.16.
17633 * debug/tst-chk1.c: Add poll and ppoll tests.
17634 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
17635 * include/sys/poll.h: Add hidden proto for ppoll.
17636 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
17637 * sysdeps/mach/hurd/ppoll.c: Likewise.
17638 * io/ppoll.c: Likewise.
17639 * debug/poll_chk.c: New file.
17640 * debug/ppoll_chk.c: New file.
17641 * include/bits/poll2.h: New file.
17642 * io/bits/poll2.h: New file.
17643
ac097f5c
UD
17644 [BZ #1350]
17645 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
17646
2119dcfa
UD
17647 * configure.in: static is always set to yes. Remove.
17648 * config.make.in: Don't set build-static.
17649 * Makeconfig: Remove use of build-static.
17650 * dlfcn/Makefile: Likewise.
17651 * elf/Makefile: Likewise.
17652 * math/Makefile: Likewise.
17653 * misc/Makefile: Likewise.
17654 * nptl/Makefile: Likewise.
17655 * sysdeps/mach/hurd/Makefile: Likewise.
17656
121766a9
UD
17657 * configure.in: PWD_P is not used anymore.
17658 * config.make.in: Remove PWD_P entry.
17659
51a1d39c 17660 * configure.in: Remove last remnants of RANLIB.
8720d066 17661 No need to check for signed size_t anymore.
215f4bdc
UD
17662 Don't set libc_commonpagesize and libc_relro_required here for Alpha
17663 and IA-64.
3857022a 17664 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
17665 * aclocal.m4: Likewise.
17666
d3ed7225
UD
17667 * wcsmbs/mbrtoc16.c: Implement using towc function.
17668 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
17669 * wcsmbs/wcsmbsload.c: Likewise.
17670 * iconv/gconv_simple.c: Likewise.
17671 * iconv/gconv_int.h: Likewise.
17672 * iconv/gconv_builtin.h: Likewise.
17673 * iconv/iconv_prog.c: Remove CHAR16 handling.
17674
17675 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
17676
17677 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
17678
a0da5fe1
UD
17679 * configure.in: Remove --with-elf and --enable-bounded options.
17680 Dont set base_machine for ia64. More non-ELF conditions removed.
17681 Remove testing and setting of leading underscore information.
17682 * config.make.in (build-bounded): Set to no.
17683 * config.h.in: Remove NO_UNDERSCORES entry.
17684 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
17685 them.
17686 * csu/start.c: Remove !NO_UNDERSCORE code.
17687 * locale/localeinfo.h: Likewise.
17688 * sysdeps/generic/machine-gmon.h: Likewise.
17689 * sysdeps/generic/sysdep.h: Likewise.
17690 * sysdeps/i386/sysdep.h: Likewise.
17691 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
17692 * sysdeps/mach/sysdep.h: Likewise.
17693 * sysdeps/s390/s390-32/sysdep.h: Likewise.
17694 * sysdeps/s390/s390-64/sysdep.h: Likewise.
17695 * sysdeps/sh/sysdep.h: Likewise.
17696 * sysdeps/sparc/sparc32/alloca.S: Likewise.
17697 * sysdeps/unix/i386/sysdep.S: Likewise.
17698 * sysdeps/unix/sparc/start.c: Likewise.
17699 * sysdeps/unix/sparc/sysdep.S: Likewise.
17700 * sysdeps/unix/sparc/sysdep.h: Likewise.
17701 * sysdeps/unix/start.c: Likewise.
17702 * sysdeps/unix/x86_64/sysdep.S: Likewise.
17703 * sysdeps/x86_64/sysdep.h: Likewise.
17704
df78418a
UD
177052012-01-07 Ulrich Drepper <drepper@gmail.com>
17706
a784e502
UD
17707 [BZ #13553]
17708 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
17709 for non-gcc.
17710 * argp/argp-fmtstream.h: Use const instead __const.
17711 * argp/argp.h: Likewise.
17712 * assert/assert.h: Likewise.
17713 * bits/fenv.h: Likewise.
17714 * bits/sched.h: Likewise.
17715 * bits/sigset.h: Likewise.
17716 * bits/sigthread.h: Likewise.
17717 * catgets/nl_types.h: Likewise.
17718 * conform/data/pthread.h-data: Likewise.
17719 * crypt/crypt-private.h: Likewise.
17720 * crypt/crypt.h: Likewise.
17721 * crypt/crypt_util.c: Likewise.
17722 * ctype/ctype.h: Likewise.
17723 * debug/execinfo.h: Likewise.
17724 * debug/mbsnrtowcs_chk.c: Likewise.
17725 * debug/mbsrtowcs_chk.c: Likewise.
17726 * debug/wcsnrtombs_chk.c: Likewise.
17727 * debug/wcsrtombs_chk.c: Likewise.
17728 * debug/wcstombs_chk.c: Likewise.
17729 * dirent/dirent.h: Likewise.
17730 * dlfcn/dlfcn.h: Likewise.
17731 * elf/neededtest4.c: Likewise.
17732 * grp/grp.h: Likewise.
17733 * gshadow/gshadow.h: Likewise.
17734 * iconv/gconv.h: Likewise.
17735 * iconv/gconv_int.h: Likewise.
17736 * iconv/gconv_simple.c: Likewise.
17737 * iconv/iconv.h: Likewise.
17738 * iconv/loop.c: Likewise.
17739 * iconv/skeleton.c: Likewise.
17740 * include/aio.h: Likewise.
17741 * include/aliases.h: Likewise.
17742 * include/argz.h: Likewise.
17743 * include/arpa/inet.h: Likewise.
17744 * include/assert.h: Likewise.
17745 * include/dirent.h: Likewise.
17746 * include/dlfcn.h: Likewise.
17747 * include/execinfo.h: Likewise.
17748 * include/fcntl.h: Likewise.
17749 * include/fenv.h: Likewise.
17750 * include/glob.h: Likewise.
17751 * include/grp.h: Likewise.
17752 * include/libintl.h: Likewise.
17753 * include/mntent.h: Likewise.
17754 * include/netdb.h: Likewise.
17755 * include/pwd.h: Likewise.
17756 * include/rpc/netdb.h: Likewise.
17757 * include/sched.h: Likewise.
17758 * include/search.h: Likewise.
17759 * include/shadow.h: Likewise.
17760 * include/signal.h: Likewise.
17761 * include/stdio.h: Likewise.
17762 * include/stdlib.h: Likewise.
17763 * include/string.h: Likewise.
17764 * include/sys/socket.h: Likewise.
17765 * include/sys/stat.h: Likewise.
17766 * include/sys/statfs.h: Likewise.
17767 * include/sys/statvfs.h: Likewise.
17768 * include/sys/syslog.h: Likewise.
17769 * include/sys/time.h: Likewise.
17770 * include/sys/uio.h: Likewise.
17771 * include/time.h: Likewise.
17772 * include/unistd.h: Likewise.
17773 * include/utmp.h: Likewise.
17774 * include/wchar.h: Likewise.
17775 * include/wctype.h: Likewise.
17776 * inet/aliases.h: Likewise.
17777 * inet/arpa/inet.h: Likewise.
17778 * inet/netinet/ether.h: Likewise.
17779 * inet/netinet/in.h: Likewise.
17780 * intl/libintl.h: Likewise.
17781 * io/bits/fcntl2.h: Likewise.
17782 * io/fcntl.h: Likewise.
17783 * io/ftw.h: Likewise.
17784 * io/sys/poll.h: Likewise.
17785 * io/sys/stat.h: Likewise.
17786 * io/sys/statfs.h: Likewise.
17787 * io/sys/statvfs.h: Likewise.
17788 * io/utime.h: Likewise.
17789 * libio/bits/stdio.h: Likewise.
17790 * libio/bits/stdio2.h: Likewise.
17791 * libio/libio.h: Likewise.
17792 * libio/libioP.h: Likewise.
17793 * libio/stdio.h: Likewise.
17794 * locale/lc-ctype.c: Likewise.
17795 * locale/locale.h: Likewise.
17796 * login/utmp.h: Likewise.
17797 * malloc/arena.c: Likewise.
17798 * malloc/malloc.c: Likewise.
17799 * malloc/malloc.h: Likewise.
17800 * malloc/mcheck.c: Likewise.
17801 * malloc/mtrace.c: Likewise.
17802 * math/bits/mathcalls.h: Likewise.
17803 * math/fenv.h: Likewise.
17804 * math/math_private.h: Likewise.
17805 * misc/bits/error.h: Likewise.
17806 * misc/bits/syslog.h: Likewise.
17807 * misc/err.h: Likewise.
17808 * misc/error.h: Likewise.
17809 * misc/fstab.h: Likewise.
17810 * misc/mntent.h: Likewise.
17811 * misc/regexp.h: Likewise.
17812 * misc/search.h: Likewise.
17813 * misc/sgtty.h: Likewise.
17814 * misc/sys/mman.h: Likewise.
17815 * misc/sys/syslog.h: Likewise.
17816 * misc/sys/uio.h: Likewise.
17817 * misc/sys/xattr.h: Likewise.
17818 * misc/ttyent.h: Likewise.
17819 * nis/rpcsvc/ypclnt.h: Likewise.
17820 * nss/nss.h: Likewise.
17821 * posix/bits/unistd.h: Likewise.
17822 * posix/fnmatch.h: Likewise.
17823 * posix/glob.h: Likewise.
17824 * posix/sched.h: Likewise.
17825 * posix/spawn.h: Likewise.
17826 * posix/sys/wait.h: Likewise.
17827 * posix/unistd.h: Likewise.
17828 * posix/wordexp.h: Likewise.
17829 * pwd/pwd.h: Likewise.
17830 * resolv/netdb.h: Likewise.
17831 * resource/sys/resource.h: Likewise.
17832 * rt/aio.h: Likewise.
17833 * rt/bits/mqueue2.h: Likewise.
17834 * rt/mqueue.h: Likewise.
17835 * shadow/shadow.h: Likewise.
17836 * signal/signal.h: Likewise.
17837 * socket/send.c: Likewise.
17838 * socket/sendto.c: Likewise.
17839 * socket/sys/socket.h: Likewise.
17840 * stdio-common/printf.h: Likewise.
17841 * stdlib/bits/stdlib.h: Likewise.
17842 * stdlib/fmtmsg.h: Likewise.
17843 * stdlib/monetary.h: Likewise.
17844 * stdlib/stdlib.h: Likewise.
17845 * stdlib/ucontext.h: Likewise.
17846 * streams/stropts.h: Likewise.
17847 * string/argz.h: Likewise.
17848 * string/bits/string2.h: Likewise.
17849 * string/string.h: Likewise.
17850 * string/strings.h: Likewise.
17851 * sunrpc/rpc/auth.h: Likewise.
17852 * sunrpc/rpc/auth_des.h: Likewise.
17853 * sunrpc/rpc/clnt.h: Likewise.
17854 * sunrpc/rpc/netdb.h: Likewise.
17855 * sunrpc/rpc/pmap_clnt.h: Likewise.
17856 * sunrpc/rpc/xdr.h: Likewise.
17857 * sysdeps/generic/inttypes.h: Likewise.
17858 * sysdeps/generic/net/if.h: Likewise.
17859 * sysdeps/generic/sys/swap.h: Likewise.
17860 * sysdeps/gnu/net/if.h: Likewise.
17861 * sysdeps/gnu/utmpx.h: Likewise.
17862 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
17863 * sysdeps/i386/i486/bits/string.h: Likewise.
17864 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
17865 * sysdeps/s390/bits/string.h: Likewise.
17866 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
17867 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
17868 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
17869 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
17870 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
17871 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
17872 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
17873 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
17874 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
17875 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
17876 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
17877 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
17878 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
17879 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
17880 * sysdeps/unix/sysv/linux/readv.c: Likewise.
17881 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
17882 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
17883 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
17884 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
17885 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
17886 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
17887 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
17888 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
17889 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
17890 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
17891 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
17892 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
17893 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
17894 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
17895 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
17896 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
17897 * sysvipc/sys/ipc.h: Likewise.
17898 * sysvipc/sys/msg.h: Likewise.
17899 * sysvipc/sys/sem.h: Likewise.
17900 * sysvipc/sys/shm.h: Likewise.
17901 * termios/termios.h: Likewise.
17902 * time/sys/time.h: Likewise.
17903 * time/time.h: Likewise.
17904 * wcsmbs/bits/wchar2.h: Likewise.
17905 * wcsmbs/uchar.h: Likewise.
17906 * wcsmbs/wchar.h: Likewise.
17907 * wctype/wctype.h: Likewise.
17908
0269750c
UD
17909 [BZ #13551]
17910 * Makeconfig: Remove all but ELF support including AIX support.
17911 * Makerules: Likewise.
17912 * config.h.in: Likewise.
17913 * config.make.in: Likewise.
17914 * configure: Likewise.
17915 * configure.in: Likewise.
17916 * csu/Makefile: Likewise.
17917 * csu/version.c: Likewise.
17918 * debug/Makefile: Likewise.
17919 * dlfcn/Makefile: Likewise.
17920 * elf/Makefile: Likewise.
17921 * extra-lib.mk: Likewise.
17922 * iconv/Makefile: Likewise.
17923 * include/libc-symbols.h: Likewise.
17924 * include/shlib-compat.h: Likewise.
17925 * resolv/Makefile: Likewise.
17926 * resolv/res_libc.c: Likewise.
17927 * rt/Makefile: Likewise.
17928 * sysdeps/i386/asm-syntax.h: Likewise.
17929 * sysdeps/i386/sysdep.h: Likewise.
17930 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
17931 * sysdeps/mach/sysdep.h: Likewise.
17932 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
17933 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
17934 * sysdeps/s390/asm-syntax.h: Likewise.
17935 * sysdeps/s390/s390-32/sysdep.h: Likewise.
17936 * sysdeps/s390/s390-64/sysdep.h: Likewise.
17937 * sysdeps/sh/sysdep.h: Likewise.
17938 * sysdeps/unix/sparc/sysdep.h: Likewise.
17939 * sysdeps/wordsize-32/divdi3.c: Likewise.
17940 * sysdeps/x86_64/sysdep.h: Likewise.
17941
00bbd29b
UD
17942 * argp/Versions: Remove _argp_unlock_xxx.
17943
17944 [BZ #13559]
17945 * abilist/ld.abilist: Update. Adjust for removal of tls option.
17946 * abilist/libBrokenLocale.abilist: Likewise.
17947 * abilist/libanl.abilist: Likewise.
17948 * abilist/libc.abilist: Likewise.
17949 * abilist/libcrypt.abilist: Likewise.
17950 * abilist/libdl.abilist: Likewise.
17951 * abilist/libm.abilist: Likewise.
17952 * abilist/libnsl.abilist: Likewise.
17953 * abilist/libpthread.abilist: Likewise.
17954 * abilist/libresolv.abilist: Likewise.
17955 * abilist/librt.abilist: Likewise.
17956 * abilist/libthread_db.abilist: Likewise.
17957 * abilist/libutil.abilist: Likewise.
17958 * abilist/libnss_db.abilist: New file.
17959
17960 * scripts/abilist.awk: Add support for indirect functions.
17961
a2693a0e
UD
17962 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
17963
3f05895f
UD
17964 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
17965
ecb6fb48
UD
17966 * shlib-versions: Remove entries for ports architectures.
17967
664f8cb9
UD
17968 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
17969 files in ports.
17970 * elf/stackguard-macros.h: Remove support for IA-64.
17971 * elf/tst-auditmod1.c: Likewise.
17972 * sysdeps/generic/ldsodefs.h: Likewise.
17973
7ae81d88
UD
17974 * sysdeps/unix/sysv/linux/configure.in: Ports should define
17975 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
17976 configure files.
17977
bdeba135
UD
17978 [BZ #13552]
17979 * configure.in: Remove --enable-omitfp support.
17980 * FAQ.in: Adjust.
17981 * config.make.in: Likewise.
17982 * Makeconfig: Likewise.
17983 * manual/install.texi: Likewise.
17984
d75a0a62
UD
17985 In case anyone cares, the IA-64 architecture could move to ports.
17986 * sysdeps/ia64/*: Removed.
17987 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 17988 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 17989
dcc9756b
UD
17990 [BZ #13555]
17991 * configure.in: Remove entries for unsupported architectures.
17992
d3761ebc 17993 [BZ #13533]
9954432e
UD
17994 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
17995 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
17996 routines.
17997 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
17998 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
17999 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
18000 fall back to using wcrtomb.
18001 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
18002 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
18003 renaming.
18004 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
18005 * wcsmbs/tst-c16c32-1.c: New file.
18006
18007 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
18008 local variable.
18009
c3a87236
UD
18010 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
18011
28926a1b
UD
18012 * elf/tst-unique3.cc: Add explicit declaration of gets.
18013 * elf/tst-unique3lib.cc: Likewise.
18014 * elf/tst-unique3lib2.cc: Likewise.
18015 * elf/tst-unique4.cc: Likewise.
18016
df78418a
UD
18017 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
18018
8ecd6b2a
JM
180192012-01-06 Joseph Myers <joseph@codesourcery.com>
18020
18021 [BZ #13566]
18022 * assert/assert.h (static_assert): Don't define for C++.
18023 * libio/stdio.h (gets): Do declare for C++ <= C++11.
18024 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
18025
9f115170
UD
180262012-01-03 Ulrich Drepper <drepper@gmail.com>
18027
5e0d0300
UD
18028 * iconv/loop.c (single loop): Fix assertion in storing of
18029 remaining bytes.
18030
9f115170
UD
18031 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
18032
81fb02b0
UD
180332012-01-01 Ulrich Drepper <drepper@gmail.com>
18034
18035 * posix/getconf.c: Update copyright year.
18036 * nss/getent.c: Likewise.
a316c1f6 18037 * nss/makedb.c: Likewise.
81fb02b0
UD
18038 * iconv/iconvconfig.c: Likewise.
18039 * iconv/iconv_prog.c: Likewise.
18040 * elf/ldconfig.c: Likewise.
a316c1f6
UD
18041 * elf/pldd.c: Likewise.
18042 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
18043 * catgets/gencat.c: Likewise.
18044 * csu/version.c: Likewise.
18045 * elf/ldd.bash.in: Likewise.
18046 * elf/sprof.c (print_version): Likewise.
18047 * locale/programs/locale.c: Likewise.
18048 * locale/programs/localedef.c: Likewise.
a316c1f6 18049 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
18050 * nscd/nscd.c (print_version): Likewise.
18051 * debug/xtrace.sh: Likewise.
18052 * malloc/memusage.sh: Likewise.
18053 * malloc/mtrace.pl: Likewise.
18054 * debug/catchsegv.sh: Likewise.
18055
2ba92745
JJ
180562011-12-30 Jakub Jelinek <jakub@redhat.com>
18057
18058 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
18059 pure attribute.
18060
dadebdae
UD
180612011-12-24 Ulrich Drepper <drepper@gmail.com>
18062
d3761ebc 18063 [BZ #13533]
db6af3eb
UD
18064 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
18065 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
18066 transformations.
18067 * iconv/gconv_int.h: Likewise.
18068 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
18069 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
18070 from libc for GLIBC_2.16.
18071 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
18072 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
18073 * wcsmbs/uchar.h: Really define mbstate_t.
18074 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
18075 * wcsmbs/c16rtomb.c: New file.
18076 * wcsmbs/mbrtoc16.c: New file.
18077 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
18078 for C/POSIX locale.
18079 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
18080 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
18081
dadebdae
UD
18082 * wcsmbs/wchar.h: Add missing __restrict.
18083
67371b56
UD
180842011-12-23 Ulrich Drepper <drepper@gmail.com>
18085
74033a25
UD
18086 [BZ #13532]
18087 * time/Makefile (routines): Add timespec_get.
18088 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
18089 * time/time.h: Define TIME_UTC and declare timespec_get. Define
18090 timespec for ISO C11.
18091 * time/timespec_get.c: New file.
18092 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
18093 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
18094
380d7e87
UD
18095 [BZ #13531]
18096 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
18097 * stdlib/stdlib.h: Declare aligned_alloc.
18098 * Versions.def: Add GLIBC_2.16 for libc.
18099 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
18100
4e9e7a35
UD
18101 [BZ 13527]
18102 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
18103 ISO C11.
18104
380d7e87 18105 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
18106 code.
18107
03a71829
UD
18108 [BZ #13528]
18109 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
18110
839e283e
UD
18111 [BZ #13529]
18112 * assert/assert.h (static_assert): Define.
18113
ce5294e2 18114 * version.h: Update for 2.16 development version.
90fa7312 18115
8d44e150 18116 [BZ #13526]
d7809905
UD
18117 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
18118 _ISOC11_SOURCE.
18119
c0da14cd
UD
18120 * version.h (RELEASE): Bump for 2.15 release.
18121 * include/features.h (__GLIBC_MINOR__): Bump to 15.
18122
530a3249
MP
18123 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
18124 Patch by Marek Polacek <mpolacek@redhat.com>.
18125
67371b56
UD
18126 * bits/byteswap.h: Protect long long constants with __extension__.
18127 * sysdeps/i386/bits/byteswap.h: Likewise.
18128 * sysdeps/ia64/bits/byteswap.h: Likewise.
18129 * sysdeps/s390/bits/byteswap.h: Likewise.
18130 * sysdeps/x86_64/bits/byteswap.h: Likewise.
18131
15db4de1
LD
181322011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18133
18134 [BZ #13540]
bbe315ea
LD
18135 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
18136 destination buffer.
15db4de1
LD
18137 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
18138
2b2596b1
MP
181392011-12-23 Marek Polacek <polacek@redhat.com>
18140
18141 * elf/dl-addr.c (determine_info): Add inline keyword.
18142 * elf/tst-auditmod4b.c (check_avx): Likewise.
18143 * elf/tst-auditmod6b.c (check_avx): Likewise.
18144 * elf/tst-auditmod6c.c (check_avx): Likewise.
18145 * elf/tst-auditmod7b.c (check_avx): Likewise.
18146
70c6c246
UD
181472011-12-23 Ulrich Drepper <drepper@gmail.com>
18148
18149 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
18150 !__SSE_MATH__.
18151
c044cf14
LD
181522011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18153
15db4de1 18154 [BZ #13540]
c044cf14
LD
18155 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
18156 processing for last bytes.
18157
6b13d9d9
BH
181582011-08-06 Bruno Haible <bruno@clisp.org>
18159
d455f537
BH
18160 [BZ #13061]
18161 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
18162 U+0385, not to U+1FEE.
18163
6b13d9d9
BH
18164 [BZ #13062]
18165 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
18166 entry for U+00A5 U+0301.
18167
db910efd
UD
181682011-12-22 Ulrich Drepper <drepper@gmail.com>
18169
27deeafc
UD
18170 [BZ #13166]
18171 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
18172 buffer for the output is too small.
18173
aed9d171
UD
18174 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
18175 optimization.
18176
db910efd
UD
18177 [BZ #13185]
18178 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
18179 SSE flags if possible.
18180
2bd779ae
LD
181812011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18182
e7f9dac3 18183 [BZ #13540]
2bd779ae
LD
18184 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
18185 processing for last bytes.
18186
154bfc16
JM
181872011-12-22 Joseph Myers <joseph@codesourcery.com>
18188
18189 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
18190 (syscall-list-default-options, syscall-list-default-condition)
18191 (syscall-list-includes): Define.
18192 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
18193 list of ABIs and options and #if conditions for each ABI. Do not
18194 handle common syscalls between ABIs specially.
18195 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
18196 Remove.
18197 (syscall-list-variants, syscall-list-32bit-options)
18198 (syscall-list-32bit-condition, syscall-list-64bit-options)
18199 (syscall-list-64bit-condition): Define.
18200 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
18201 (syscall-list-variants, syscall-list-32bit-options)
18202 (syscall-list-32bit-condition, syscall-list-64bit-options)
18203 (syscall-list-64bit-condition): Define.
18204 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
18205 Remove.
18206 (syscall-list-variants, syscall-list-32bit-options)
18207 (syscall-list-32bit-condition, syscall-list-64bit-options)
18208 (syscall-list-64bit-condition): Define.
18209 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
18210 Remove.
18211 (syscall-list-variants, syscall-list-32bit-options)
18212 (syscall-list-32bit-condition, syscall-list-64bit-options)
18213 (syscall-list-64bit-condition): Define.
18214
21eaf3a5
UD
182152011-12-22 Ulrich Drepper <drepper@gmail.com>
18216
16c6f992
UD
18217 * locale/iso-639.def: Add brx entry.
18218
41043168
UD
18219 [BZ #13328]
18220 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
18221 Proposed by Mariusz_Cukr <marcukr@op.pl>.
18222
21eaf3a5
UD
18223 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
18224 __feraiseexcept_renamed.
18225
e3a851a2
UD
182262011-12-21 Ulrich Drepper <drepper@gmail.com>
18227
4920765e
UD
18228 [BZ #13538]
18229 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
18230 EPOLLET with unsigned values.
18231 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
18232 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
18233
e3a851a2
UD
18234 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
18235 to large cancellation.
18236 * math/s_cacoshf.c: Likewise.
18237 * math/s_cacoshl.c: Likewise.
18238
b27e24b8
RK
182392011-11-18 Richard B. Kreckel <kreckel@ginac.de>
18240
18241 [BZ #13305]
aebefeee 18242 [BZ #12786]
b27e24b8
RK
18243 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
18244 * math/s_cacoshf.c: Likewise.
18245 * math/s_cacoshl.c: Likewise.
18246
ee190f67
UD
182472011-12-21 Ulrich Drepper <drepper@gmail.com>
18248
18249 [BZ #13439]
18250 * iconv/gconv.h: Define __GCONV_SWAP.
18251 * iconvdata/unicode.c: The swap bit must be stored in __flags.
18252 * iconvdata/utf-16.c: Likewise.
18253 * iconvdata/utf-32.c: Likewise.
18254
707f25df
AS
182552011-12-21 Andreas Schwab <schwab@linux-m68k.org>
18256
18257 [BZ #13524]
18258 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
18259 numerator after shifting it by one limb.
18260
d2daaa1e
RÁE
182612011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
18262
18263 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
18264 under [__USE_EXTERN_INLINES].
18265
a4647e72
UD
182662011-12-17 Ulrich Drepper <drepper@gmail.com>
18267
18268 [BZ #13446]
18269 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
18270
f0b264f1
AZ
182712011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18272
18273 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
18274 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
18275 optimized code.
18276 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
18277 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
18278 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
18279 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
18280 for strncasecmp/strncasecmp_l compilation.
18281 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
18282 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
18283
8ef4f244
MP
182842011-12-08 Marek Polacek <mpolacek@redhat.com>
18285
18286 [BZ #13484]
18287 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
18288 of __asm__.
18289
97ac2654
UD
182902011-12-17 Ulrich Drepper <drepper@gmail.com>
18291
18292 [BZ #13506]
18293 * time/tzfile.c (__tzfile_read): Check values from file header.
18294
91d2a845
WS
182952011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
18296
18297 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
18298 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
18299 * powerpc/powerpc32/dl-start.S: Likewise.
18300 * powerpc/powerpc32/elf/start.S: Likewise.
18301 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
18302 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
18303 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
18304 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
18305 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
18306 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
18307 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
18308 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
18309 * powerpc/powerpc32/fpu/s_round.S: Likewise.
18310 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
18311 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
18312 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
18313 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
18314 * powerpc/powerpc32/memset.S: Likewise.
18315 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
18316 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
18317 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
18318 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
18319 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
18320 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
18321 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
18322 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
18323 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
18324 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
18325 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
18326 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
18327 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
18328
a1267ba1
AZ
183292011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18330
18331 * math/libm-test.inc: Added more nearbyint tests.
18332 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
18333 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
18334 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
18335 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
18336
ad8ac1bd
RL
183372011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
18338
18339 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
18340 FD_CLOEXEC.
18341
1d3e4b61
UD
183422011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18343
18344 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
18345 Add wcscpy-ssse3 wcscpy-c.
18346 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
18347 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
18348 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
18349 * sysdeps/x86_64/wcschr.S: New file.
18350 * sysdeps/x86_64/wcsrchr.S: New file.
18351 * string/test-strcmp.c: Remove checking of wcscmp function for
18352 wrong alignments.
18353 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
18354 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
18355 wcsrchr-sse2 wcsrchr-c.
18356 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
18357 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
18358 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
18359 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
18360 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
18361 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
18362 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
18363 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
18364 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
18365 * wcsmbc/wcschr.c (WCSCHR): New macro.
18366
5b330a2d
UD
183672011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18368
18369 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
18370 * wcsmbs/test-wcsrchr.c: New file.
18371 * string/test-strrchr.c: Add wcsrchr support.
18372 (WIDE): New macro.
18373 * wcsmbs/test-wcscpy.c: New file.
18374 * string/test-strcpy.c: Add wcscpy support.
18375 (WIDE): New macro.
26428b7c 18376
f039c043
UD
183772011-12-10 Ulrich Drepper <drepper@gmail.com>
18378
18379 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
18380 the inner loop.
18381
850fb039
AS
183822011-12-06 Andreas Schwab <schwab@linux-m68k.org>
18383
18384 [BZ #13472]
18385 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
18386
4efbd5cb
UD
183872011-12-04 Ulrich Drepper <drepper@gmail.com>
18388
52ff5dd0 18389 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 18390 Minor optimizations.
52ff5dd0 18391
4efbd5cb
UD
18392 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
18393 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
18394 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
18395
8a426e12
UD
183962011-12-03 Ulrich Drepper <drepper@gmail.com>
18397
aff2453d
UD
18398 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
18399 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
18400 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
18401 for gcc to avoid warnings.
18402 * inet/Makefile (tests): Add tst-checks.
18403 * inet/tst-checks.c: New file.
18404
18405 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
18406 warning.
18407
18408 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
18409 __wmemcmp_sse2.
18410
18411 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
18412 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
18413
8a426e12
UD
18414 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
18415
9bea3473
UD
184162011-12-02 Ulrich Drepper <drepper@gmail.com>
18417
3a965496
UD
18418 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
18419 problem.
18420
9bea3473
UD
18421 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
18422
f101631b
UD
184232011-11-29 Joseph Myers <joseph@codesourcery.com>
18424
18425 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
18426 conditional on GCC version.
18427 (__arch_compare_and_exchange_val_8_acq)
18428 (__arch_compare_and_exchange_val_16_acq)
18429 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
18430 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
18431 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
18432
a98275aa
UD
184332011-12-02 Joseph Myers <joseph@codesourcery.com>
18434
18435 * sysdeps/sh/backtrace.c: New file.
18436
d4cc29a2
AS
184372011-12-02 Andreas Schwab <schwab@redhat.com>
18438
18439 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
18440 parenthesis.
18441
6257af2d
AS
184422011-12-01 Andreas Schwab <schwab@redhat.com>
18443
18444 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
18445 falling back to utime.
18446
b5f44c1a
AS
184472011-11-30 Andreas Schwab <schwab@redhat.com>
18448
18449 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
18450 expectations for float.
18451
f3a6cc0a
AS
184522011-11-29 Andreas Schwab <schwab@redhat.com>
18453
18454 * locale/weight.h (findidx): Add parameter len.
18455 * locale/weightwc.h (findidx): Likewise.
18456 * posix/fnmatch_loop.c (FCT): Adjust caller.
18457 * posix/regcomp.c (build_equiv_class): Likewise.
18458 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
18459 * posix/regexec.c (check_node_accept_bytes): Likewise.
18460 * string/strcoll_l.c (STRCOLL): Likewise.
18461 * string/strxfrm_l.c (STRXFRM): Likewise.
18462
9d65ea3a
UD
184632011-11-17 Ulrich Drepper <drepper@gmail.com>
18464
18465 * Makefile.in: Remove CVSOPT handling.
18466 * configure.in: Remove use of AC_REVISION.
18467 * iconvdata/Makefile (distribute): No need to filter out CVS.
18468 * scripts/list-sources.sh: Remove CVS, subversion and monotone
18469 handling.
18470
5583a086
AS
184712011-11-16 Andreas Schwab <schwab@redhat.com>
18472
18473 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
18474 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
18475 [USE_AS_STRNCASECMP_L]: Likewise.
18476 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
18477 NO_TLS_DIRECT_SEG_REFS.
18478 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
18479 Fix argument offsets for non-PIC.
18480 [USE_AS_STRNCASECMP_L]: Likewise.
18481 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
18482 NO_TLS_DIRECT_SEG_REFS.
18483
d62a8200
UD
184842011-11-15 Ulrich Drepper <drepper@gmail.com>
18485
9d65ea3a 18486 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
18487 O_CLOEXEC.
18488 * locale/loadlocale.c (_nl_load_locale): Likewise.
18489
09f93bd3
AS
184902011-11-15 Andreas Schwab <schwab@redhat.com>
18491
446514f9
AS
18492 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
18493 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
18494 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
18495 (SYSCALL_GETTIME): Set errno on error.
18496
09f93bd3
AS
18497 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
18498 count references to noai6ai_cached.
18499
312be3f9
UD
185002011-11-15 Ulrich Drepper <drepper@gmail.com>
18501
18502 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
18503
18504 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
18505 FD_CLOEXEC for /proc/self/maps.
18506
18507 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
18508 FD_CLOEXEC for /proc/meminfo.
18509
18510 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
18511 gai.conf.
18512
18513 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
18514 FD_CLOEXEC for given file.
18515
18516 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
18517
18518 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
18519 FD_CLOEXEC for /etc/hosts.
18520 (_gethtent): Likewise.
18521
18522 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
18523
18524 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
18525 cancellation and set FD_CLOEXEC for /etc/netgroup.
18526
18527 * nss/nss_files/files-key.c (search): Don't allow cancellation when
18528 reading /etc/publickey.
18529
18530 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
18531 allow cancellation when reading /etc/group.
18532
18533 * nss/nss_files/files-alias.c (internal_setent): Don't allow
18534 cancellation.
18535 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
18536
18537 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
18538 when using data file.
18539
18540 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
18541
18542 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
18543 (write_nis_obj): Use "c" and "e" in fopen.
18544
18545 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
18546
18547 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
18548
18549 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
18550
18551 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
18552
18553 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
18554 locale.alias.
18555
18556 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
18557
18558 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
18559
18560 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
18561
18562 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
18563 file parsing and set FD_CLOEXEC.
18564
82af0fa8
UD
185652011-11-14 Ulrich Drepper <drepper@gmail.com>
18566
18567 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
18568
a5fb313c
AS
185692011-11-14 Andreas Schwab <schwab@redhat.com>
18570
18571 * malloc/arena.c (arena_get2): Don't call reused_arena when
18572 _int_new_arena failed.
18573
6abf3465
UD
185742011-11-14 Ulrich Drepper <drepper@gmail.com>
18575
18576 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
18577 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
18578 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
18579 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
18580 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
18581 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
18582 to compile strcasecmp and strncasecmp.
18583 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
18584 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
18585
18586 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
18587
76e3966e
UD
185882011-11-13 Ulrich Drepper <drepper@gmail.com>
18589
18590 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
18591 locale-defines.sym to gen-as-const-headers.
18592 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
18593 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
18594 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
18595 to compile strcasecmp and strncasecmp.
18596 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
18597 strcasecmp_l and strncasecmp_l.
18598 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
18599 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
18600 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
18601 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
18602 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
18603 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
18604 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
18605 * sysdeps/i386/i686/multiarch/strncase.S: New file.
18606 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
18607 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
18608 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
18609
ab26144e
UD
186102011-11-12 Ulrich Drepper <drepper@gmail.com>
18611
7edb22ef
UD
18612 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
18613 result of SYSDEP_GETTIME_CPU to retval.
18614 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
18615 parameter list to macro. Remove trailing semicolon. Adjust users.
18616
9694fc44
UD
18617 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
18618 variable.
18619
8ad89ef8
UD
18620 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
18621 mantissa words.
18622 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
18623
0c822ef9
UD
18624 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
18625 from unused variable.
18626
874e0564
UD
18627 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
18628 DWARF definitions.
18629 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
18630 for assembling.
18631
3a2edc79
UD
18632 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
18633 over namespaces.
18634
f3c2577f
UD
18635 * sunrpc/rpc_prot.c (rejected): Fix case value.
18636
294ce126
UD
18637 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
18638 unsigned long long int to avoid warnings in shift.
18639
5e2b63c6
UD
18640 * posix/regex_internal.c (re_string_reconstruct): Actually use result
18641 of use of trans.
18642 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
18643 variable tmp.
18644
e7f4b08e
UD
18645 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
18646 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
18647 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
18648
ab26144e
UD
18649 * nis/nis_table.c (nis_list): Use variable of correct type for
18650 result of __follow_path call.
18651
8a6d5255
AZ
186522011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18653
18654 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
18655 of math functions ceil, trunc, floor, round, and sqrt, when
18656 avaliable on the platform.
18657 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
18658 name clash.
18659 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
18660 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
18661 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
18662
aaddc98c
MP
186632011-10-30 Marek Polacek <mpolacek@redhat.com>
18664
18665 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
18666 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
18667
95b7042b
RM
186682011-11-11 Roland McGrath <roland@hack.frob.com>
18669
18670 * include/unistd.h: Fix __readlink return type.
18671 Reported by Chris Metcalf <cmetcalf@tilera.com>.
18672
57769839
UD
186732011-11-11 Ulrich Drepper <drepper@gmail.com>
18674
18675 * stdlib/ucontext.h: Undo last change for makecontext.
18676
edc5984d
AS
186772011-11-11 Andreas Schwab <schwab@redhat.com>
18678
98591e58
AS
18679 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
18680
edc5984d
AS
18681 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
18682 * setjmp/setjmp.h: Mark functions as non-leaf.
18683 * setjmp/bits/setjmp2.h: Likewise.
18684 * stdlib/ucontext.h: Likewise.
18685
77cdc054
AS
186862011-11-10 Andreas Schwab <schwab@redhat.com>
18687
18688 * malloc/arena.c (_int_new_arena): Don't increment narenas.
18689 (reused_arena): Don't check arena limit.
18690 (arena_get2): Atomically check arena limit.
18691
fe72eebd
UD
186922011-11-08 Ulrich Drepper <drepper@gmail.com>
18693
5f078c32
UD
18694 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
18695 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
18696
fe72eebd
UD
18697 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
18698 instructions.
18699
ae1bc2fa
AS
187002011-11-07 Andreas Schwab <schwab@redhat.com>
18701
7583a88d
AS
18702 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
18703 handler when locking.
18704
ae1bc2fa
AS
18705 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
18706 Fix size of allocated buffer.
18707
10fb0bfa
AS
187082011-11-04 Andreas Schwab <schwab@redhat.com>
18709
998832a4
AS
18710 [BZ #10103]
18711 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
18712 declarations for long double functions.
18713 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
18714
10fb0bfa
AS
18715 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
18716
3d7ba52b
AS
187172011-11-03 Andreas Schwab <schwab@redhat.com>
18718
a9ae54a1
AS
18719 * nscd/nscd.c (main): Don't start AVC thread until credentials are
18720 installed.
18721
3d7ba52b
AS
18722 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
18723 is disabled.
18724
bc8db248
ST
187252011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
18726
18727 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
18728
45b96dd6
AS
187292011-11-01 Andreas Schwab <schwab@linux-m68k.org>
18730
647776f6
AS
18731 * include/alloca.h (stackinfo_alloca_round): Define.
18732 (extend_alloca): Use it.
18733 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
18734 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
18735 here.
18736
d91a8b93
AS
18737 * scripts/check-local-headers.sh: Ignore libaudit.h.
18738
45b96dd6
AS
18739 * nscd/Makefile (extra-objs): Make recursively expanded.
18740
432d41ce
UD
187412011-11-01 Ulrich Drepper <drepper@gmail.com>
18742
34372fc6
UD
18743 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
18744 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
18745
fadb59f8
UD
18746 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
18747 * posix/tst-rfc3484-2.c: Likewise.
18748 * posix/tst-rfc3484-3.c: Likewise.
18749
78239589
UD
18750 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
18751 process_vm_writev.
18752 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
18753 process_vm_writev.
18754 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
18755 process_vm_writev from libc using GLIBC_2.15 version.
18756
432d41ce
UD
18757 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
18758
02f9c6cf
PP
187592011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
18760
18761 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
18762 stack usage.
18763
3a2c0242
UD
187642011-10-31 Ulrich Drepper <drepper@gmail.com>
18765
f4ec4833
UD
18766 [BZ #13367]
18767 * nss/getent.c (initgroups_keys): Show error message in case no group
18768 names are given.
18769
3a2c0242
UD
18770 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
18771 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
18772 __bump_nl_timestamp.
18773 * nscd/connections (nscd_init): When host database is served open
18774 netlink socket and request notification about configuration changes.
18775 (main_loop_poll): Track netlink file descriptor and bump timestamp
18776 in case data becomes available.
18777 (main_loop_epoll): Likewise.
18778 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
18779 (database_pers_head): Add extra_data fileds.
18780 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
18781 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
18782 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
18783 Adjust caller.
18784 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
18785 in6ai data, call __free_in6ai.
18786 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
18787 Add -DHAVE_NETLINK.
18788 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
18789 interface information. Reuse previous data if netlink timestamp
18790 is not changed.
18791 (__bump_nl_timestamp): New function.
18792 (__free_in6ai): New function.
18793
636064eb
UD
187942011-10-30 Ulrich Drepper <drepper@gmail.com>
18795
18796 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
18797 close_not_cancel_no_status here.
18798 (__check_pf): Reorganize code a bit to not call close twice if OOM.
18799
9beb2334
UD
188002011-10-29 Ulrich Drepper <drepper@gmail.com>
18801
6ef76f3b
UD
18802 [BZ #13276]
18803 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
18804 return value.
18805
0ffc4f3e 18806 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
18807 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
18808 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
18809
cb95113e
UD
188102011-07-03 Andreas Jaeger <aj@suse.de>
18811
18812 [BZ #10709]
18813 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
18814 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
18815 * math/libm-test.inc (sin_test): Add test case.
18816
a1b560ff
UD
188172011-10-29 Ulrich Drepper <drepper@gmail.com>
18818
c9aaface
UD
18819 [BZ #13337]
18820 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
18821 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
18822
d272e7f1
UD
18823 * elf/chroot_canon.c (chroot_canon): Cleanups.
18824
1bc33071
UD
18825 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
18826
1760874d
TJ
18827 [BZ #13335]
18828 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
18829 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
18830
51d91b18
UD
18831 * string/test-strchr.c: Make usable for strchrnul testing.
18832 * string/test-strchrnul.c: New file.
18833 * string/Makefile (strop-tests): Add strchrnul.
18834
a1b560ff 18835 * po/it.po: Update from translation team.
b611fb81 18836 * po/es.po: Likewise.
a1b560ff 18837
a5b81e1f
UD
188382011-10-28 Ulrich Drepper <drepper@gmail.com>
18839
fd52bc6d
UD
18840 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
18841 the three constants needed as parameters. Drop the others.
18842 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
18843 __m128i_strloadu_tolower.
52e4b9eb
UD
18844 Create and initialize variable zero and use it in all the places
18845 where _mm_setzero_si128 was used.
fd52bc6d 18846
a5b81e1f
UD
18847 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
18848 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
18849 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
18850 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
18851 anymore.
18852 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
18853 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
18854 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
18855 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
18856 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
18857 __mpranred, __mptan.
18858 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
18859 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
18860 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
18861 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
18862 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
18863 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
18864 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
18865 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
18866 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
18867
b4343346
AS
188682011-10-28 Andreas Schwab <schwab@redhat.com>
18869
0c92d8a8
AS
18870 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
18871 redefine if SHARED.
18872 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
18873
b4343346
AS
18874 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
18875 wide char related routines to wcsmbs subdir.
18876
3871f58f
AS
188772011-10-27 Andreas Schwab <schwab@redhat.com>
18878
18879 [BZ #13344]
18880 * misc/sys/cdefs.h (__THROWNL): Define.
18881 * posix/unistd.h: Use __THREADNL instead of __THREAD
18882 for memory synchronization functions.
18883
94d44d9f
RM
188842011-10-26 Roland McGrath <roland@hack.frob.com>
18885
21b64b15 18886 [BZ #13349]
94d44d9f
RM
18887 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
18888 doesn't exist.
18889 * manual/stdio.texi (Obstack Streams): Node removed.
18890
f6ce9294
AS
188912011-10-26 Andreas Schwab <schwab@redhat.com>
18892
80479147
AS
18893 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
18894 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
18895 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
18896
f6ce9294
AS
18897 * math/math_private.h (math_force_eval): Allow non-addressable
18898 arguments.
18899 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
18900
618280a1
UD
189012011-10-25 Ulrich Drepper <drepper@gmail.com>
18902
e0016b11
UD
18903 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
18904 file is not needed.
18905
18906 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
18907 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
18908 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
18909 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
18910 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
18911 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
18912 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
18913 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
18914 Add AVX variants.
18915 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
18916 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
18917 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
18918 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
18919 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
18920 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
18921 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
18922 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
18923 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
18924 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
18925 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
18926 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
18927 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
18928 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
18929 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
18930 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
18931 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
18932 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
18933 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
18934
18935 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
18936 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
18937
618280a1
UD
18938 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
18939 place. Use VEX encoding when compiling for AVX.
18940
37822576
AS
189412011-10-25 Andreas Schwab <schwab@redhat.com>
18942
1f1e1947
AS
18943 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
18944 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
18945
37822576
AS
18946 * string/test-strchr.c (do_test): Don't generate NUL bytes.
18947
31ea014d
UD
189482011-10-25 Ulrich Drepper <drepper@gmail.com>
18949
d7826aa1 18950 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 18951 useless if() expression.
d7826aa1
UD
18952 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
18953 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
18954 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
18955 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
18956 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
18957 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
18958 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
18959 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
18960 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
18961 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
18962 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
18963 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
18964 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
18965 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
18966 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
18967 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
18968 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
18969 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
18970 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
18971
31ea014d
UD
18972 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
18973
16437fec
AS
189742011-10-25 Andreas Schwab <schwab@redhat.com>
18975
18976 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
18977 condition.
18978 * elf/dl-fini.c (_dl_sort_fini): Likewise.
18979
31d3cc00
UD
189802011-10-25 Ulrich Drepper <drepper@gmail.com>
18981
18982 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
18983 .text section. Avoid duplicate constants.
18984 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
18985 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18986 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
18987 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18988 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
18989 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18990 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18991 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18992 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
18993 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
18994 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
18995 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
18996 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
18997 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
18998 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
18999 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
19000 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
19001 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
19002 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
19003 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19004 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
19005 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
19006 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
19007 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
19008 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
19009 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
19010 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
19011 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
19012 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
19013 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
19014 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
19015 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
19016 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
19017 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
19018 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
19019 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
19020 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
19021 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
19022 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
19023 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
19024 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
19025 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
19026 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
19027 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
19028 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
19029
58985aa9
UD
190302011-10-24 Ulrich Drepper <drepper@gmail.com>
19031
202c9deb
UD
19032 * sysdeps/x86_64/dla.h: Move to ...
19033 * sysdeps/x86_64/fpu/dla.h: ...here.
19034 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
19035 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 19036
af968f62
UD
19037 * config.make.in: Add have-mfma4 entry.
19038 * configure.in: Substitute libc_cv_cc_fma4.
19039 * math/Makefile (dbl-only-routines): Add sincostab.
19040 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
19041 Use __sincostab not sincos.
19042 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
19043 name is a macro.
19044 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
19045 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19046 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19047 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
19048 using __copysign.
19049 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
19050 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
19051 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
19052 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
19053 and __inv.
19054 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
19055 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
19056 __copysign.
19057 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
19058 define aliases when function name is a macro.
19059 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
19060 sysdeps/ieee754/dbl-64/sincos.tbl.
19061 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
19062 fma4-enabled routines.
19063 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
19064 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
19065 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
19066 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
19067 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
19068 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
19069 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
19070 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
19071 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
19072 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
19073 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
19074 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
19075 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
19076 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
19077 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
19078 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
19079 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
19080 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
19081 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
19082 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
19083 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
19084 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
19085 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
19086 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
19087 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
19088 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
19089 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
19090 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
19091 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
19092 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
19093
58985aa9
UD
19094 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
19095 rename.
19096 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19097 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19098 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19099 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19100 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19101 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19102 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19103 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19104
a201fbcf
AS
191052011-10-24 Andreas Schwab <schwab@redhat.com>
19106
19107 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
19108
fc2ee42a
LD
191092011-10-23 Ulrich Drepper <drepper@gmail.com>
19110
bb3129bd
UD
19111 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
19112
0275fff8
UD
19113 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
19114 prediction.
19115 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
19116
2fa2ae85
UD
19117 * string/strnlen.c: Don't define STRNLEN, reverse logic.
19118 Remove unused variable magic_bits.
19119 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
19120
fc2ee42a
LD
19121 * string/strnlen.c: Define and use STRNLEN macro.
19122 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
19123 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
19124 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
19125 * wcsmbs/wcslen.c: Define and use WCSLEN.
19126 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
19127 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
19128 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
19129 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
19130 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
19131 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
19132 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
19133
ce7dd29f
LD
191342011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19135
19136 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19137 strnlen-sse2-no-bsf.
19138 Rename strlen-no-bsf to strlen-sse2-no-bsf.
19139 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
19140 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
19141 Add strnlen support.
19142 (USE_AS_STRNLEN): New macro.
19143 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
19144 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
19145 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
19146 * sysdeps/x86_64/wcslen.S: New file.
19147
979c70a3
MZ
191482011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
19149
19150 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
19151 XMM-moves are used for copying on small sizes.
19152
2d09f82f
LD
191532011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19154
19155 * wcsmbs/Makefile (strop-tests): Add wcschr.
19156 * wcsmbs/test-wcschr.c: New file.
19157 * string/test-strchr.c: Update.
19158 Add wcschr support.
19159 (WIDE): New macro.
19160
619fccca
LD
191612011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19162
2d09f82f 19163 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
19164 * wcsmbs/test-wcslen.c: New file.
19165 * string/test-strlen.c: Update.
19166 Add wcslen support.
19167 (WIDE): New macro.
19168
09f699ea
UD
191692011-10-23 Ulrich Drepper <drepper@gmail.com>
19170
19171 * po/it.po: Update from translation team.
19172
95584d3b
LD
191732011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19174
19175 * sysdeps/x86_64/wcscmp.S: Update.
19176 Fix wrong comparison semantics.
19177 wcscmp shall use signed comparison not unsigned.
19178 Don't use substraction to avoid overflow bug.
19179 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
19180 * wcsmbc/wcscmp.c: Likewise.
19181 * string/test-strcmp.c: Likewise.
19182 Add new tests to check cases with negative values.
19183
c8b3296b
UD
191842011-10-23 Ulrich Drepper <drepper@gmail.com>
19185
19186 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
19187 * sysdeps/x86_64/dla.h: ...here. New file.
19188 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
19189 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19190 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19191 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19192 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19193 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
19194 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19195 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19196 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19197
246ad57a
AS
191982011-10-23 Andreas Schwab <schwab@linux-m68k.org>
19199
19200 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
19201 __ynl_finite aliases.
19202
a1a87169
UD
192032011-10-22 Ulrich Drepper <drepper@gmail.com>
19204
0d355eb7
UD
19205 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19206
a1a87169
UD
19207 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
19208 define DLA_FMA.
19209 [DLA_FMA] (EMULV): Use DLA_FMA.
19210 [DLA_FMA] (MUL12): Use EMULV.
19211 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
19212 that are not needed.
19213 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19214 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19215 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19216 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19217 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19218 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19219 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19220
ee2aafe0
AS
192212011-10-22 Andreas Schwab <schwab@linux-m68k.org>
19222
19223 * math/s_nan.c: Undef __nan.
19224 * math/s_nanf.c: Undef __nanf.
19225 * math/s_nanl.c: Undef __nanl.
19226 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
19227 "math_private.h".
19228
bc62c2fb
UD
192292011-10-22 Ulrich Drepper <drepper@gmail.com>
19230
77425c63
UD
19231 * math/s_catan.c: Add branch predictions.
19232 * math/s_catanf.c: Likewise.
19233 * math/s_catanh.c: Likewise.
19234 * math/s_catanhf.c: Likewise.
19235 * math/s_catanhl.c: Likewise.
19236 * math/s_catanl.c: Likewise.
19237 * math/s_cexp.c: Likewise.
19238 * math/s_cexpf.c: Likewise.
19239 * math/s_cexpl.c: Likewise.
19240 * math/s_clog.c: Likewise.
19241 * math/s_clog10.c: Likewise.
19242 * math/s_clog10f.c: Likewise.
19243 * math/s_clog10l.c: Likewise.
19244 * math/s_clogf.c: Likewise.
19245 * math/s_clogl.c: Likewise.
19246 * math/s_csqrt.c: Likewise.
19247 * math/s_csqrtf.c: Likewise.
19248 * math/s_csqrtl.c: Likewise.
19249 * math/s_ctanf.c: Likewise.
19250 * math/s_ctanh.c: Likewise.
19251 * math/s_ctanhf.c: Likewise.
19252 * math/s_ctanhl.c: Likewise.
19253 * math/s_ctanl.c: Likewise.
19254
bc62c2fb
UD
19255 * math/math_private.h: Define __nan, __nanf, __nanl.
19256 * math/s_cacosh.c: Include <math_private.h>.
19257 * math/s_cacoshl.c: Likewise.
19258 * math/s_casinh.c: Likewise.
19259 * math/s_casinhf.c: Likewise.
19260 * math/s_casinhl.c: Likewise.
19261 * math/s_ccos.c: Rely entire on ccosh.
19262 * math/s_ccosf.c: Rely entire on ccoshf.
19263 * math/s_ccosl.c: Rely entirely on ccoshl.
19264 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
19265 Remove tests for FE_INVALID.
19266 * math/s_ccoshf.c: Likewise.
19267 * math/s_ccoshl.c: Likewise.
19268 * math/s_csin.c: Likewise.
19269 * math/s_csinf.c: Likewise.
19270 * math/s_csinh.c Likewise.
19271 * math/s_csinhf.c: Likewise.
19272 * math/s_csinhl.c: Likewise.
19273 * math/s_csinl.c: Likewise.
19274 * math/s_ctan.c: Likewise.
19275 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
19276 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
19277 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
19278
8ec250a4
UD
192792011-10-21 Ulrich Drepper <drepper@gmail.com>
19280
c196fed8
UD
19281 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
19282 compilation problems.
19283
8ec250a4
UD
19284 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
19285 __builtin_expect.
19286
8d4f46c6
UD
192872011-10-20 Ulrich Drepper <drepper@gmail.com>
19288
ed72b654
UD
19289 * sysdeps/i386/configure.in: Test for -mfma4 option.
19290 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
19291 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
19292 COMMON_CPUID_INDEX_80000001.
19293 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
19294 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
19295 use it if FMA3 is not supported.
19296 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
19297
8d4f46c6
UD
19298 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
19299 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
19300
d45c60c2
AS
193012011-10-20 Andreas Schwab <schwab@redhat.com>
19302
19303 [BZ #12892]
19304 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
19305 it would create a cycle with a link time dependency.
19306
d9a4d2ab
UD
193072011-10-19 Ulrich Drepper <drepper@gmail.com>
19308
855d1560
UD
19309 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
19310 instruction.
19311 * string/Makefile (strop-tests): Add rawmemchr.
19312 * string/test-rawmemchr.c: New file.
19313
d9a4d2ab
UD
19314 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
19315 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
19316 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
19317 when compiling str{,n}casecmp and when AVX is available. Hook up
19318 new optimized code in initializers.
19319
8f3b1ffe
AS
193202011-10-19 Andreas Schwab <schwab@redhat.com>
19321
19322 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
19323 __feraiseexcept instead of feraiseexcept.
19324
d38f1dba
UD
193252011-10-18 Ulrich Drepper <drepper@gmail.com>
19326
d9a8d0ab
UD
19327 * math/math_private.h: Define defaults for libc_fetestexcept and
19328 libc_feupdateenv.
19329 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
19330 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
19331 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
19332 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
19333 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
19334 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
19335 libc_fetestexcept and libc_feupdateenv.
19336
4855e3dd
UD
19337 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
19338 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
19339 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
19340 * sysdeps/x86_64/fpu/math_private.h: Define special version of
19341 libc_feholdexcept_setround.
19342
581d30e3
UD
19343 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
19344 Add s_nearbyint-c and s_nearbyintf-c.
19345 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
19346 nearbyintf inlines.
19347 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
19348 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
19349 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
19350 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
19351
d38f1dba
UD
19352 * math/math_private.h: Define defaults for libc_fegetround,
19353 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
19354 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
19355 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
19356 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
19357 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
19358 standard functions.
19359 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
19360 Remove comments and hacks for old compiler versions.
19361 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
19362 libc_fegetround, libc_fesetround, libc_feholdexcept, and
19363 libc_feholdexceptl.
19364
caa6c9d8
AS
193652011-10-18 Andreas Schwab <schwab@redhat.com>
19366
19367 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
19368 (__feraiseexcept_renamed): Add __NTH.
19369 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
19370 namespace violations.
19371
97c066e6
UD
193722011-10-17 Ulrich Drepper <drepper@gmail.com>
19373
99ce7b04
UD
19374 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
19375
1004d182
UD
19376 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
19377
228a984d
UD
19378 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
19379 recently added interfaces.
19380 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
19381
c8553a6a
UD
19382 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
19383 about macro parameter expansion.
19384
ed22dcf6
UD
19385 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
19386 __NO_MATH_INLINES is defined. Cleanups.
19387
19388 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
19389 and __floorf is target has SSE4.1.
19390 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
19391 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
19392 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
19393 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
19394
b171c137
UD
19395 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
19396 name.
19397 (floorf): Likewise.
19398
97c066e6
UD
19399 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
19400
629f62ef
AS
194012011-10-17 Andreas Schwab <schwab@redhat.com>
19402
49a43d80
AS
19403 * misc/sys/cdefs.h: Fix last change.
19404
629f62ef
AS
19405 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
19406 database lookup.
19407
e453f6cd
UD
194082011-10-16 Ulrich Drepper <drepper@gmail.com>
19409
aa78043a
UD
19410 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
19411
ad0f5cad
UD
19412 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
19413 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
19414 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
19415 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
19416 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
19417 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
19418 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
19419 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
19420 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
19421 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
19422 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
19423 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
19424 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
19425 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
19426 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
19427 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
19428 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
19429 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
19430 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
19431 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
19432 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
19433 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
19434
19435 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
19436 ceil, ceilf, floor, floorf.
19437
19438 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
19439 Perform IRELATIVE relocations last.
19440
e453f6cd
UD
19441 * elf/do-rel.h: Add another parameter nrelative, replacing the
19442 local variable with the same name. Change name of the function
19443 to end in Rel or Rela (uppercase).
19444 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
19445 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
19446 elf_dynamic_do_##reloc function.
19447
fd5bdc09
UD
194482011-10-15 Ulrich Drepper <drepper@gmail.com>
19449
79b195b5
UD
19450 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
19451 is sufficient, at least on modern CPUs.
19452
d4a28569
UD
19453 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
19454
b61099b5
UD
19455 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
19456 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
19457
bcf01e6d
UD
19458 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
19459 __expl_finite.
19460 * math/bits/math-finite.h: Add entries for exp.
19461 * math/e_expl.c: Add __*_finite alias.
19462 * sysdeps/i386/fpu/e_exp.S: Likewise.
19463 * sysdeps/i386/fpu/e_expf.S: Likewise.
19464 * sysdeps/i386/fpu/e_expl.c: Likewise.
19465 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
19466 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
19467 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
19468 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
19469 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
19470 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
19471 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
19472
ba1a0d59
UD
19473 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
19474 is sufficient, at least on modern CPUs.
19475
fd5bdc09
UD
19476 * ctype/ctype-info.c (__ctype_init): Define.
19477 * include/ctype.h (__ctype_init): Declare.
19478 (__ctype_b_loc): The variable is always initialized.
19479 (__ctype_toupper_loc): Likewise.
19480 (__ctype_tolower_loc): Likewise.
19481 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
19482 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
19483
7872cfb0
AS
194842011-10-15 Andreas Schwab <schwab@linux-m68k.org>
19485
b468825a
AS
19486 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
19487
7872cfb0
AS
19488 * configure.in: Also look in $cxxmachine/include for C++ system
19489 headers.
19490
be13f7bf
LD
194912011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19492
19493 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
19494 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
19495 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
19496 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
19497 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
19498 (USE_AS_WMEMCMP): New macro.
19499 Fixing indents.
19500 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
19501 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
19502 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
19503 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
19504 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19505 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
19506 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
19507 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
19508 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
19509 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
19510 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
19511 (USE_AS_WMEMCMP): New macro.
19512 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
19513 * sysdeps/string/test-memcmp.c: Update.
19514 Fix simple_wmemcmp.
19515 Add new tests.
19516 * wcsmbs/wmemcmp.c: Update.
19517 (WMEMCMP): New macro.
19518 Fix overflow bug.
19519
556a2007
AJ
195202011-10-12 Andreas Jaeger <aj@suse.de>
19521
19522 [BZ #13268]
19523 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
19524
538faaa7
UD
195252011-10-15 Ulrich Drepper <drepper@gmail.com>
19526
ab6737ff
UD
19527 * libio/iofwide.c (do_length): Avoid warning.
19528
538faaa7
UD
19529 * ctype/ctype.h (__isctype_f): Add missing __THROW.
19530
396a21b1
UD
195312011-10-14 Ulrich Drepper <drepper@gmail.com>
19532
cdf2901f
UD
19533 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
19534
38ad40ce
UD
19535 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
19536 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
19537 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
19538 * sysdeps/i386/i686/fpu/e_log.S: New file.
19539 * sysdeps/i386/i686/fpu/e_logf.S: New file.
19540 * sysdeps/i386/i686/fpu/e_logl.S: New file.
19541
396a21b1
UD
19542 * ctype/ctype.h: Add support for inlined isXXX functions when
19543 compiling C++ code.
19544
6b1f68c9
AS
195452011-10-14 Andreas Schwab <schwab@redhat.com>
19546
349290c0
AS
19547 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19548
6b1f68c9
AS
19549 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
19550
f2282d42
RM
195512011-10-13 Roland McGrath <roland@hack.frob.com>
19552
19553 [BZ #13291]
19554 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
19555
5298ffa8
AS
195562011-10-13 Andreas Schwab <schwab@redhat.com>
19557
714fad23
AS
19558 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
19559 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
19560 feraiseexcept.
19561
81dcc7fb
AS
19562 * sysdeps/x86_64/memrchr.S: Check for zero size.
19563
5298ffa8
AS
19564 * string/stratcliff.c: Add memrchr tests.
19565
951fbcec
LD
195662011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19567
19568 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19569 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
19570 rawmemchr-sse2 rawmemchr-sse2-bsf.
19571 * sysdeps/i386/i686/multiarch/memchr.S: New file.
19572 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
19573 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
19574 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
19575 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
19576 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
19577 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
19578 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
19579 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
19580 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
19581 * string/memrchr.c (MEMRCHR): New macro.
19582
0ac5ae23
UD
195832011-10-12 Ulrich Drepper <drepper@gmail.com>
19584
19585 Add integration with gcc's -ffinite-math-only and optimize wrapper
19586 functions in libm.
19587 * Versions.def: Define GLIBC_2.15 version for libm.
19588 * math/Makefile (headers): Add bits/math-finite.h.
19589 * math/bits/math-finite.h: New file.
19590 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
19591 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
19592 * math/e_acoshl.c: Add __*_finite alias.
19593 * math/e_acosl.c: Likewise.
19594 * math/e_asinl.c: Likewise.
19595 * math/e_atan2l.c: Likewise.
19596 * math/e_atanhl.c: Likewise.
19597 * math/e_coshl.c: Likewise.
19598 * math/e_exp10.c: Likewise.
19599 * math/e_exp10f.c: Likewise.
19600 * math/e_exp10l.c: Likewise.
19601 * math/e_exp2l.c: Likewise.
19602 * math/e_fmodl.c: Likewise.
19603 * math/e_gammal_r.c: Likewise.
19604 * math/e_hypotl.c: Likewise.
19605 * math/e_j0l.c: Likewise.
19606 * math/e_j1l.c: Likewise.
19607 * math/e_jnl.c: Likewise.
19608 * math/e_lgammal_r.c: Likewise.
19609 * math/e_log10l.c: Likewise.
19610 * math/e_log2l.c: Likewise.
19611 * math/e_logl.c: Likewise.
19612 * math/e_powl.c: Likewise.
19613 * math/e_sinhl.c: Likewise.
19614 * math/e_sqrtl.c: Likewise.
19615 * math/e_scalb.c: Completely rewritten and optimized.
19616 * math/e_scalbf.c: Likewise.
19617 * math/e_scalbl.c: Likewise.
19618 * math/w_acos.c: Likewise.
19619 * math/w_acosf.c: Likewise.
19620 * math/w_acosl.c: Likewise.
19621 * math/w_acosh.c: Likewise.
19622 * math/w_acoshf.c: Likewise.
19623 * math/w_acoshl.c: Likewise.
19624 * math/w_asin.c: Likewise.
19625 * math/w_asinf.c: Likewise.
19626 * math/w_asinl.c: Likewise.
19627 * math/w_atan2.c: Likewise.
19628 * math/w_atan2f.c: Likewise.
19629 * math/w_atan2l.c: Likewise.
19630 * math/w_atanh.c: Likewise.
19631 * math/w_atanhf.c: Likewise.
19632 * math/w_atanhl.c: Likewise.
19633 * math/w_exp10.c: Likewise.
19634 * math/w_exp10f.c: Likewise.
19635 * math/w_exp10l.c: Likewise.
19636 * math/w_fmod.c: Likewise.
19637 * math/w_fmodf.c: Likewise.
19638 * math/w_fmodl.c: Likewise.
19639 * math/w_j0.c: Likewise.
19640 * math/w_j0f.c: Likewise.
19641 * math/w_j0l.c: Likewise.
19642 * math/w_j1.c: Likewise.
19643 * math/w_j1f.c: Likewise.
19644 * math/w_j1l.c: Likewise.
19645 * math/w_jn.c: Likewise.
19646 * math/w_jnf.c: Likewise.
19647 * math/w_log.c: Likewise.
19648 * math/w_logf.c: Likewise.
19649 * math/w_logl.c: Likewise.
19650 * math/w_log10.c: Likewise.
19651 * math/w_log10f.c: Likewise.
19652 * math/w_log10l.c: Likewise.
19653 * math/w_log2.c: Likewise.
19654 * math/w_log2f.c: Likewise.
19655 * math/w_log2l.c: Likewise.
19656 * math/w_pow.c: Likewise.
19657 * math/w_powf.c: Likewise.
19658 * math/w_powl.c: Likewise.
19659 * math/w_remainder.c: Likewise.
19660 * math/w_remainderf.c: Likewise.
19661 * math/w_remainderl.c: Likewise.
19662 * math/w_scalb.c: Likewise.
19663 * math/w_scalbf.c: Likewise.
19664 * math/w_scalbl.c: Likewise.
19665 * math/w_sqrt.c: Likewise.
19666 * math/w_sqrtf.c: Likewise.
19667 * math/w_sqrtl.c: Likewise.
19668 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
19669 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
19670 used.
19671 * math/math_private.h: Declare __kernel_standard_f.
19672 * math/w_cosh.c: Remove cruft and optimize a bit.
19673 * math/w_coshf.c: Likewise.
19674 * math/w_coshl.c: Likewise.
19675 * math/w_exp2.c: Likewise.
19676 * math/w_exp2f.c: Likewise.
19677 * math/w_exp2l.c: Likewise.
19678 * math/w_hypot.c: Likewise.
19679 * math/w_hypotf.c: Likewise.
19680 * math/w_hypotl.c: Likewise.
19681 * math/w_lgamma.c: Likewise.
19682 * math/w_lgamma_r.c: Likewise.
19683 * math/w_lgammaf.c: Likewise.
19684 * math/w_lgammaf_r.c: Likewise.
19685 * math/w_lgammal.c: Likewise.
19686 * math/w_lgammal_r.c: Likewise.
19687 * math/w_sinh.c: Likewise.
19688 * math/w_sinhf.c: Likewise.
19689 * math/w_sinhl.c: Likewise.
19690 * math/w_tgamma.c: Likewise.
19691 * math/w_tgammaf.c: Likewise.
19692 * math/w_tgammal.c: Likewise.
19693 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
19694 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
19695 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
19696 Minor optimizations. Pretty printing. Remove cruft.
19697 * sysdeps/i386/fpu/e_acosf.S: Likewise.
19698 * sysdeps/i386/fpu/e_acosh.S: Likewise.
19699 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
19700 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
19701 * sysdeps/i386/fpu/e_acosl.c: Likewise.
19702 * sysdeps/i386/fpu/e_asin.S: Likewise.
19703 * sysdeps/i386/fpu/e_asinf.S: Likewise.
19704 * sysdeps/i386/fpu/e_atan2.S: Likewise.
19705 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
19706 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
19707 * sysdeps/i386/fpu/e_atanh.S: Likewise.
19708 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
19709 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
19710 * sysdeps/i386/fpu/e_exp10.S: Likewise.
19711 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
19712 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
19713 * sysdeps/i386/fpu/e_exp2.S: Likewise.
19714 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
19715 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
19716 * sysdeps/i386/fpu/e_fmod.S: Likewise.
19717 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
19718 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
19719 * sysdeps/i386/fpu/e_hypot.S: Likewise.
19720 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
19721 * sysdeps/i386/fpu/e_log.S: Likewise.
19722 * sysdeps/i386/fpu/e_log10.S: Likewise.
19723 * sysdeps/i386/fpu/e_log10f.S: Likewise.
19724 * sysdeps/i386/fpu/e_log10l.S: Likewise.
19725 * sysdeps/i386/fpu/e_log2.S: Likewise.
19726 * sysdeps/i386/fpu/e_log2f.S: Likewise.
19727 * sysdeps/i386/fpu/e_log2l.S: Likewise.
19728 * sysdeps/i386/fpu/e_logf.S: Likewise.
19729 * sysdeps/i386/fpu/e_logl.S: Likewise.
19730 * sysdeps/i386/fpu/e_pow.S: Likewise.
19731 * sysdeps/i386/fpu/e_powf.S: Likewise.
19732 * sysdeps/i386/fpu/e_powl.S: Likewise.
19733 * sysdeps/i386/fpu/e_remainder.S: Likewise.
19734 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
19735 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
19736 * sysdeps/i386/fpu/e_scalb.S: Likewise.
19737 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
19738 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
19739 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
19740 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
19741 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
19742 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
19743 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
19744 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19745 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
19746 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
19747 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
19748 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
19749 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
19750 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
19751 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
19752 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
19753 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
19754 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19755 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
19756 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
19757 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19758 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
19759 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
19760 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
19761 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19762 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
19763 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
19764 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
19765 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
19766 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
19767 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
19768 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
19769 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
19770 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
19771 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
19772 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
19773 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
19774 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
19775 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
19776 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
19777 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
19778 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
19779 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
19780 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
19781 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
19782 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
19783 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
19784 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
19785 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
19786 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
19787 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
19788 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
19789 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
19790 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
19791 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
19792 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
19793 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
19794 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
19795 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
19796 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
19797 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
19798 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
19799 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
19800 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
19801 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
19802 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
19803 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
19804 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
19805 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
19806 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
19807 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
19808 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
19809 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
19810 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
19811 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
19812 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
19813 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
19814 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
19815 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
19816 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
19817 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
19818 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
19819 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
19820 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
19821 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
19822 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
19823 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
19824 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
19825 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
19826 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
19827 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
19828 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
19829 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
19830 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
19831 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
19832 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
19833 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
19834 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
19835 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
19836 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
19837 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
19838 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
19839 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
19840 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
19841 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
19842 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
19843 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
19844 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
19845 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
19846 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
19847 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
19848 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
19849 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
19850 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
19851 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
19852 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
19853 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
19854 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
19855 (__isnanf): Likewise.
19856 (__isinf_ns): Likewise.
19857 (__isinf_nsf): Likewise.
19858 (__finite): Likewise.
19859 (__finitef): Likewise.
19860 (__ieee754_sqrt): Define as macro.
19861 (__ieee754_sqrtf): Define as macro.
19862 (__ieee754_sqrtl): Define as macro.
19863 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
19864 inlined copy.
19865 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
19866 __FINITE_MATH_ONLY__ consistent.
19867 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
19868
12cc2fcd
AS
198692011-10-10 Andreas Schwab <schwab@linux-m68k.org>
19870
a843a204
AS
19871 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
19872 of rawmemchr.
19873
12cc2fcd
AS
19874 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
19875
c853acd5
UD
198762011-10-09 Ulrich Drepper <drepper@gmail.com>
19877
19878 * po/ja.po: Update from translation team.
19879
c658d255
RM
198802011-10-08 Roland McGrath <roland@hack.frob.com>
19881
110946e4
RM
19882 * locale/programs/locarchive.c (prepare_address_space): New function.
19883 (create_archive, enlarge_archive, open_archive): Use it.
19884
50604220
RM
19885 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
19886 inside [SHARED], where it is used.
19887
c658d255
RM
19888 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
19889
19890 * nss/getent.c (netgroup_keys): Remove unused variable.
19891 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
19892
6a621eb7
UD
198932011-10-08 Ulrich Drepper <drepper@gmail.com>
19894
7edb55ce
UD
19895 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
19896 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
19897 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
19898 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
19899 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
19900 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
19901 * math/Makefile (libm-calls): Add s_isinf_ns.
19902 * math/divtc3.c: Use __isinf_nsl instead of isinf.
19903 * math/multc3.c: Likewise.
19904 * math/s_casin.c: Likewise.
19905 * math/s_casinf.c: Likewise.
19906 * math/s_casinl.c: Likewise.
19907 * math/s_ccos.c: Likewise.
19908 * math/s_ccosf.c: Likewise.
19909 * math/s_ccosl.c: Likewise.
19910 * math/s_ctan.c: Likewise.
19911 * math/s_ctanf.c: Likewise.
19912 * math/s_ctanh.c: Likewise.
19913 * math/s_ctanhf.c: Likewise.
19914 * math/s_ctanhl.c: Likewise.
19915 * math/s_ctanl.c: Likewise.
19916 * math/w_fmod.c: Likewise.
19917 * math/w_fmodf.c: Likewise.
19918 * math/w_fmodl.c: Likewise.
19919 * math/w_remainder.c: Likewise.
19920 * math/w_remainderf.c: Likewise.
19921 * math/w_remainderl.c: Likewise.
19922 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
19923 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
19924 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
19925 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
19926 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
19927 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
19928 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
19929 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
19930
187da0ae
UD
19931 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
19932 of the number.
19933 * stdio-common/printf_fphex.c: Likewise.
19934 * stdio-common/printf_size.c: Likewise.
19935
9277c064
UD
19936 * math/e_exp10.c: Include math_private.h using <...> not "...".
19937 * math/e_exp10f.c: Likewise.
19938 * math/e_exp10l.c: Likewise.
19939 * math/e_exp2l.c: Likewise.
19940 * math/e_j0l.c: Likewise.
19941 * math/e_j1l.c: Likewise.
19942 * math/e_jnl.c: Likewise.
19943 * math/e_lgammal_r.c: Likewise.
19944 * math/e_rem_pio2l.c: Likewise.
19945 * math/e_scalb.c: Likewise.
19946 * math/e_scalbf.c: Likewise.
19947 * math/e_scalbl.c: Likewise.
19948 * math/k_cosl.c: Likewise.
19949 * math/k_sinl.c: Likewise.
19950 * math/k_tanl.c: Likewise.
19951 * math/s_cacoshf.c: Likewise.
19952 * math/s_catan.c: Likewise.
19953 * math/s_catanf.c: Likewise.
19954 * math/s_catanh.c: Likewise.
19955 * math/s_catanhf.c: Likewise.
19956 * math/s_catanhl.c: Likewise.
19957 * math/s_catanl.c: Likewise.
19958 * math/s_ccosh.c: Likewise.
19959 * math/s_ccoshf.c: Likewise.
19960 * math/s_ccoshl.c: Likewise.
19961 * math/s_cexp.c: Likewise.
19962 * math/s_cexpf.c: Likewise.
19963 * math/s_cexpl.c: Likewise.
19964 * math/s_clog.c: Likewise.
19965 * math/s_clog10.c: Likewise.
19966 * math/s_clog10f.c: Likewise.
19967 * math/s_clog10l.c: Likewise.
19968 * math/s_clogf.c: Likewise.
19969 * math/s_clogl.c: Likewise.
19970 * math/s_csin.c: Likewise.
19971 * math/s_csinf.c: Likewise.
19972 * math/s_csinh.c: Likewise.
19973 * math/s_csinhf.c: Likewise.
19974 * math/s_csinhl.c: Likewise.
19975 * math/s_csinl.c: Likewise.
19976 * math/s_csqrt.c: Likewise.
19977 * math/s_csqrtf.c: Likewise.
19978 * math/s_csqrtl.c: Likewise.
19979 * math/s_ctan.c: Likewise.
19980 * math/s_ctanf.c: Likewise.
19981 * math/s_ctanh.c: Likewise.
19982 * math/s_ctanhf.c: Likewise.
19983 * math/s_ctanhl.c: Likewise.
19984 * math/s_ctanl.c: Likewise.
19985 * math/s_ldexp.c: Likewise.
19986 * math/s_ldexpf.c: Likewise.
19987 * math/s_ldexpl.c: Likewise.
19988 * math/s_significand.c: Likewise.
19989 * math/s_significandf.c: Likewise.
19990 * math/s_significandl.c: Likewise.
19991 * math/w_acos.c: Likewise.
19992 * math/w_acosf.c: Likewise.
19993 * math/w_acosh.c: Likewise.
19994 * math/w_acoshf.c: Likewise.
19995 * math/w_acoshl.c: Likewise.
19996 * math/w_acosl.c: Likewise.
19997 * math/w_asin.c: Likewise.
19998 * math/w_asinf.c: Likewise.
19999 * math/w_asinl.c: Likewise.
20000 * math/w_atan2.c: Likewise.
20001 * math/w_atan2f.c: Likewise.
20002 * math/w_atan2l.c: Likewise.
20003 * math/w_atanh.c: Likewise.
20004 * math/w_atanhf.c: Likewise.
20005 * math/w_atanhl.c: Likewise.
20006 * math/w_cosh.c: Likewise.
20007 * math/w_coshf.c: Likewise.
20008 * math/w_coshl.c: Likewise.
20009 * math/w_dremf.c: Likewise.
20010 * math/w_exp10.c: Likewise.
20011 * math/w_exp10f.c: Likewise.
20012 * math/w_exp10l.c: Likewise.
20013 * math/w_exp2.c: Likewise.
20014 * math/w_exp2f.c: Likewise.
20015 * math/w_fmod.c: Likewise.
20016 * math/w_fmodf.c: Likewise.
20017 * math/w_fmodl.c: Likewise.
20018 * math/w_hypot.c: Likewise.
20019 * math/w_hypotf.c: Likewise.
20020 * math/w_hypotl.c: Likewise.
20021 * math/w_j0.c: Likewise.
20022 * math/w_j0f.c: Likewise.
20023 * math/w_j0l.c: Likewise.
20024 * math/w_j1.c: Likewise.
20025 * math/w_j1f.c: Likewise.
20026 * math/w_j1l.c: Likewise.
20027 * math/w_jn.c: Likewise.
20028 * math/w_jnf.c: Likewise.
20029 * math/w_jnl.c: Likewise.
20030 * math/w_lgamma.c: Likewise.
20031 * math/w_lgamma_r.c: Likewise.
20032 * math/w_lgammaf.c: Likewise.
20033 * math/w_lgammaf_r.c: Likewise.
20034 * math/w_lgammal.c: Likewise.
20035 * math/w_lgammal_r.c: Likewise.
20036 * math/w_log.c: Likewise.
20037 * math/w_log10.c: Likewise.
20038 * math/w_log10f.c: Likewise.
20039 * math/w_log10l.c: Likewise.
20040 * math/w_log2.c: Likewise.
20041 * math/w_log2f.c: Likewise.
20042 * math/w_log2l.c: Likewise.
20043 * math/w_logf.c: Likewise.
20044 * math/w_logl.c: Likewise.
20045 * math/w_pow.c: Likewise.
20046 * math/w_powf.c: Likewise.
20047 * math/w_powl.c: Likewise.
20048 * math/w_remainder.c: Likewise.
20049 * math/w_remainderf.c: Likewise.
20050 * math/w_remainderl.c: Likewise.
20051 * math/w_scalb.c: Likewise.
20052 * math/w_scalbf.c: Likewise.
20053 * math/w_scalbl.c: Likewise.
20054 * math/w_sinh.c: Likewise.
20055 * math/w_sinhf.c: Likewise.
20056 * math/w_sinhl.c: Likewise.
20057 * math/w_sqrt.c: Likewise.
20058 * math/w_sqrtf.c: Likewise.
20059 * math/w_sqrtl.c: Likewise.
20060 * math/w_tgamma.c: Likewise.
20061 * math/w_tgammaf.c: Likewise.
20062 * math/w_tgammal.c: Likewise.
20063
6a621eb7
UD
20064 * po/ja.po: Update from translation team.
20065
bf582445
AJ
200662011-09-29 Andreas Jaeger <aj@suse.de>
20067
f9efbf3a
AJ
20068 [BZ #13179]
20069 * sunrpc/netname.c (netname2host): Fix logic.
20070
bf582445
AJ
20071 [BZ #6779]
20072 [BZ #6783]
20073 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
20074 correctly.
20075 * math/w_remainder.c (__remainder): Likewise.
20076 * math/w_remainderf.c (__remainderf): Likewise.
20077 * math/libm-test.inc (remainder_test): Add test cases.
20078
48693bea
AK
200792011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20080
20081 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
20082 sdiv_qrnnd.
20083
42622229
LD
200842011-10-07 Ulrich Drepper <drepper@gmail.com>
20085
20086 * string/test-memcmp.c: Avoid unncessary #defines.
20087 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
20088
093ecf92
LD
200892011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20090
20091 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
20092 Use new sse2 version for core i3 - i7 as it's faster
20093 than sse42 version.
20094 (bit_Prefer_PMINUB_for_stringop): New.
20095 * sysdeps/x86_64/rawmemchr.S: Update.
20096 Replace with faster SSE2 version.
20097 * sysdeps/x86_64/memrchr.S: New file.
20098 * sysdeps/x86_64/memchr.S: Update.
20099 Replace with faster SSE2 version.
20100
fde56e5c
MP
201012011-09-12 Marek Polacek <mpolacek@redhat.com>
20102
20103 * elf/dl-load.c (lose): Add cast to avoid warning.
20104
21fd49a9
UD
201052011-10-07 Ulrich Drepper <drepper@gmail.com>
20106
5a06e643
UD
20107 * po/ca.po: Update from translation team.
20108
684ae515
UD
20109 * inet/getnetgrent_r.c: Hook up nscd.
20110 * nscd/Makefile (routines): Add nscd_netgroup.
20111 (nscd-modules): Add netgroupcache.
20112 (CFLAGS-netgroupcache.c): Define.
20113 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
20114 (cache_search): Add const to second parameter.
20115 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
20116 INNETGR.
20117 (dbs): Add netgrdb entry.
20118 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
20119 (verify_persistent_db): Handle netgrdb.
20120 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
20121 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
20122 GETFDNETGR.
20123 (netgroup_response_header): Define.
20124 (innetgroup_response_header): Define.
20125 (datahead): Add netgroup_response_header and innetgroup_response_header
20126 elements.
20127 * nscd/nscd.conf: Add entries for netgroup cache.
20128 * nscd/nscd.h (dbtype): Add netgrdb.
20129 (_PATH_NSCD_NETGROUP_DB): Define.
20130 (netgroup_iov_disabled): Declare.
20131 (xmalloc, xcalloc, xrealloc): Move declarations here.
20132 (cache_search): Adjust prototype.
20133 Add netgroup-related prototypes.
20134 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
20135 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
20136 (__nscd_innetgr): Declare.
20137 * nscd/selinux.c (perms): Use access_vector_t as element type and
20138 add netgroup-related initializers.
20139 * nscd/netgroupcache.c: New file.
20140 * nscd/nscd_netgroup.c: New file.
20141 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
20142 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
20143 For four parameters use innetgr.
20144 * nss/nss_files/files-init.c: Add definition and callback for netgr.
20145 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
20146 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
20147 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
20148
21fd49a9
UD
20149 * nscd/connections.c (register_traced_file): Don't register file
20150 for disabled databases.
20151
054c0457
UD
201522011-10-06 Ulrich Drepper <drepper@gmail.com>
20153
32b63198
UD
20154 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
20155
054c0457
UD
20156 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
20157 from tree and freeing node.
20158
64031225
JO
201592011-09-25 Jiri Olsa <jolsa@redhat.com>
20160
20161 * nss/nsswitch.c (__nss_database_lookup): Handle
20162 nss_parse_service_list out of memory case.
20163
0490345c
JO
201642011-09-15 Jiri Olsa <jolsa@redhat.com>
20165
20166 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
20167 out of memory case.
20168
3a62d00d
AS
201692011-10-04 Andreas Schwab <schwab@redhat.com>
20170
20171 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
20172 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
20173 pass it down.
20174 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
20175 elf_machine_rela, elf_machine_lazy_rel.
20176 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
20177 (ELF_DYNAMIC_DO_REL): Likewise.
20178 (ELF_DYNAMIC_DO_RELA): Likewise.
20179 (ELF_DYNAMIC_RELOCATE): Likewise.
20180 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
20181 to ELF_DYNAMIC_DO_REL.
20182 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
20183 (dl_main): In trace mode always set __RTLD_NOIFUNC.
20184 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
20185 elf_machine_rela.
20186 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
20187 skip_ifunc, don't call ifunc function if non-zero.
20188 (elf_machine_rela): Likewise.
20189 (elf_machine_lazy_rel): Likewise.
20190 (elf_machine_lazy_rela): Likewise.
20191 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
20192 (elf_machine_lazy_rel): Likewise.
20193 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
20194 Likewise.
20195 (elf_machine_lazy_rel): Likewise.
20196 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
20197 Likewise.
20198 (elf_machine_lazy_rel): Likewise.
20199 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
20200 (elf_machine_lazy_rel): Likewise.
20201 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
20202 (elf_machine_lazy_rel): Likewise.
20203 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
20204 (elf_machine_lazy_rel): Likewise.
20205 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
20206 (elf_machine_lazy_rel): Likewise.
20207 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
20208 (elf_machine_lazy_rel): Likewise.
20209 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
20210 (elf_machine_lazy_rel): Likewise.
20211
68577918
UD
202122011-09-28 Ulrich Drepper <drepper@gmail.com>
20213
20214 * nss/nss_files/files-init.c (_nss_files_init): Use static
20215 initialization for all the *_traced_file variables.
20216
68822d74
AS
202172011-09-28 Andreas Schwab <schwab@redhat.com>
20218
20219 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
20220
2056100b
RM
202212011-09-27 Roland McGrath <roland@hack.frob.com>
20222
20223 [BZ #13226]
20224 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
20225
32c76b63
AS
202262011-09-27 Andreas Schwab <schwab@redhat.com>
20227
20228 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
20229 Reread the line before reparsing it.
20230
bf972c9d
AS
202312011-09-26 Andreas Schwab <schwab@redhat.com>
20232
20233 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
20234
e057a1b5
JM
202352011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
20236 Maxim Kuvyrkov <maxim@codesourcery.com>
20237 Joseph Myers <joseph@codesourcery.com>
20238
20239 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
20240 if needed for __stack_chk_guard.
20241
bc7e1c36
RM
202422011-09-19 Roland McGrath <roland@hack.frob.com>
20243
ecb1482f
RM
20244 * sysdeps/posix/spawni.c (script_execute): Always define it.
20245 It will be optimized away if unused.
20246 (maybe_script_execute): New function.
20247 (__spawni): Call it.
20248
bc7e1c36
RM
20249 * Makerules: Don't include tls.make.
20250 (config-tls): Always set to thread.
20251 * tls.make.c: File removed.
20252
1c3b002b
MF
202532011-09-19 Mike Frysinger <vapier@gentoo.org>
20254
20255 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
20256 * config.make.in (CPPFLAGS-config): New substituted variable.
20257
2840865d
UD
202582011-09-15 Ulrich Drepper <drepper@gmail.com>
20259
88738eb6
UD
20260 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
20261
cbf645a6 20262 [BZ #13192]
2840865d
UD
20263 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
20264 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
20265
b402e91a
RM
202662011-09-15 Roland McGrath <roland@hack.frob.com>
20267
20268 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
20269 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
20270 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
20271 (CALL_FAIL): Likewise.
20272 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
20273 (CALL_FAIL): Macro removed.
20274 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
20275
4c1a1f71
UD
202762011-09-15 Ulrich Drepper <drepper@gmail.com>
20277
20278 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
20279 for __FINITE_MATH_ONLY__ == 1.
20280
edc121be
AS
202812011-09-15 Andreas Schwab <schwab@redhat.com>
20282
20283 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
20284 __ieee754_sqrt instead of sqrt.
20285 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
20286 __ieee754_sqrtf instead of sqrtf.
20287 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
20288 __floorf instead of floorf.
20289 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
20290 __floorf, __truncf instead of floorf, truncf.
20291
cd205654
UD
202922011-09-14 Ulrich Drepper <drepper@gmail.com>
20293
ee4d0315
UD
20294 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
20295
cd205654
UD
20296 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
20297 __extern_always_inline.
20298 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
20299 32-bit.
20300
48b67d71
AS
203012011-09-14 Andreas Schwab <schwab@redhat.com>
20302
20303 * elf/rtld.c (dl_main): Also relocate in dependency order when
20304 doing symbol dependency testing.
20305
1ae12c75
AS
203062011-09-13 Andreas Schwab <schwab@linux-m68k.org>
20307
20308 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
20309 Always define `refsym'.
20310
995a80df
AS
203112011-09-13 Andreas Schwab <schwab@redhat.com>
20312
e529793b
AS
20313 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
20314 (__FD_ELT): Renamed from __FDELT.
20315 * misc/bits/select2.h (__FD_ELT): Likewise.
20316 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
20317 __FD_MASK instead of __FDELT, __FDMASK.
20318 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
20319 Likewise.
20320 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
20321 Likewise.
20322
52d4fef8
AS
20323 * elf/Makefile (gen-ldd): Fix pattern.
20324
995a80df
AS
20325 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
20326 (init_tls): Likewise.
20327
8682f8b0
UD
203282011-09-12 Ulrich Drepper <drepper@gmail.com>
20329
20330 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
20331
de82006d
AS
203322011-09-12 Andreas Schwab <schwab@redhat.com>
20333
a7c8e6a1
AS
20334 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
20335 `struct cmsghdr *' instead of `void *'.
20336 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
20337 Likewise.
20338
0f31fe77
AS
203392011-09-11 Andreas Schwab <schwab@linux-m68k.org>
20340
20341 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
20342 if non-absolute.
20343 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
20344 ldd_rewrite_script.
0f31fe77 20345
32b4c839
UD
203462011-09-11 Ulrich Drepper <drepper@gmail.com>
20347
83cd1420
UD
20348 * configure.in: Remove --with-tls option.
20349 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
20350 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
20351 out in case it is missing.
20352 * sysdeps/ia64/elf/configure.in: Likewise.
20353 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
20354 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
20355 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
20356 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
20357 * sysdeps/sh/elf/configure.in: Likewise.
20358 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
20359 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
20360 * sysdeps/x86_64/elf/configure.in: Likewise.
20361 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
20362 * sysdeps/mach/hurd/tls.h: Likewise.
20363
633f745d
UD
20364 [BZ #13067]
20365 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
20366
f318beb8
UD
20367 [BZ #13090]
20368 * configure.in: Fix use of AC_INIT.
20369
32b4c839
UD
20370 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
20371
3ce1f295
UD
203722011-09-10 Ulrich Drepper <drepper@gmail.com>
20373
bb016596
UD
20374 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
20375 __set_errno.
8e58439c
UD
20376 * malloc/hooks.c: Likewise.
20377
aebae053 20378 [BZ #11929]
02d46fc4
UD
20379 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
20380 variables statically.
20381 (narenas): Initialize.
20382 (list_lock): Initialize.
bb016596
UD
20383 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
20384 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
20385 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
20386 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
20387 Add initializers to main_arena and mp_.
20388 (malloc_state): Remove pagesize member. Change all users to use
20389 GLRO(dl_pagesize).
20390
20391 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
20392 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
20393 is always initialized.
20394
22a89187
UD
20395 * malloc/malloc.c: Removed unused configurations and dead code.
20396 * malloc/arena.c: Likewise.
20397 * malloc/hooks.c: Likewise.
02d46fc4 20398 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 20399
d063d164
UD
20400 * include/tls.h: Removed. USE___THREAD must always be defined.
20401 * bits/libc-tsd.h: Don't handle !USE___THREAD.
20402 * elf/dl-libc.c: Likewise.
20403 * elf/dl-tsd.c: Likewise.
20404 * include/errno.h: Likewise.
20405 * include/netdb.h: Likewise.
20406 * include/resolv.h: Likewise.
20407 * inet/herrno-loc.c: Likewise.
20408 * inet/herrno.c: Likewise.
20409 * malloc/arena.c: Likewise.
20410 * malloc/hooks.c: Likewise.
20411 * malloc/malloc.c: Likewise.
20412 * resolv/res-state.c: Likewise.
20413 * resolv/res_libc.c: Likewise.
20414 * sysdeps/i386/dl-machine.h: Likewise.
20415 * sysdeps/ia64/dl-machine.h: Likewise.
20416 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
20417 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
20418 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
20419 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
20420 * sysdeps/sh/dl-machine.h: Likewise.
20421 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
20422 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
20423 * sysdeps/unix/i386/sysdep.S: Likewise.
20424 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
20425 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
20426 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
20427 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
20428 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
20429 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
20430 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
20431 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
20432 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
20433 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
20434 * sysdeps/unix/x86_64/sysdep.S: Likewise.
20435 * sysdeps/x86_64/dl-machine.h: Likewise.
20436 * tls.make.c: Likewise.
20437
3ce1f295
UD
20438 * configure.in: Remove --with-__thread option. Make tests for
20439 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
20440 tls_model attribute fail if no support is available. Remove
20441 USE_IN_LIBIO.
20442 * Makeconfig: Adjust for dropped configure option. All features are
20443 now mandatory.
20444 * Makerules: Likewise.
20445 * Versions.def: Likewise.
20446 * argp/argp-fmtstream.c: Likewise.
20447 * argp/argp-fmtstream.h: Likewise.
20448 * argp/argp-help.c: Likewise.
20449 * assert/assert.c: Likewise.
20450 * config.h.in: Likewise.
20451 * config.make.in: Likewise.
20452 * configure: Likewise.
20453 * configure.in: Likewise.
20454 * csu/Versions: Likewise.
20455 * csu/init.c: Likewise.
20456 * elf/tst-audit2.c: Likewise.
20457 * elf/tst-tls10.c: Likewise.
20458 * elf/tst-tls10.h: Likewise.
20459 * elf/tst-tls11.c: Likewise.
20460 * elf/tst-tls12.c: Likewise.
20461 * elf/tst-tls14.c: Likewise.
20462 * elf/tst-tlsmod11.c: Likewise.
20463 * elf/tst-tlsmod12.c: Likewise.
20464 * elf/tst-tlsmod13.c: Likewise.
20465 * elf/tst-tlsmod13a.c: Likewise.
20466 * elf/tst-tlsmod14a.c: Likewise.
20467 * elf/tst-tlsmod15b.c: Likewise.
20468 * elf/tst-tlsmod16a.c: Likewise.
20469 * elf/tst-tlsmod16b.c: Likewise.
20470 * elf/tst-tlsmod7.c: Likewise.
20471 * elf/tst-tlsmod8.c: Likewise.
20472 * elf/tst-tlsmod9.c: Likewise.
20473 * gmon/gmon.c: Likewise.
20474 * grp/fgetgrent_r.c: Likewise.
20475 * grp/putgrent.c: Likewise.
20476 * hurd/fopenport.c: Likewise.
20477 * include/libc-symbols.h: Likewise.
20478 * include/tls.h: Likewise.
20479 * intl/gettextP.h: Likewise.
20480 * intl/loadinfo.h: Likewise.
20481 * locale/global-locale.c: Likewise.
20482 * locale/localeinfo.h: Likewise.
20483 * mach/devstream.c: Likewise.
20484 * malloc/arena.c: Likewise.
20485 * malloc/set-freeres.c: Likewise.
20486 * misc/err.c: Likewise.
20487 * misc/getttyent.c: Likewise.
20488 * misc/mntent_r.c: Likewise.
20489 * posix/getopt.c: Likewise.
20490 * posix/wordexp.c: Likewise.
20491 * pwd/fgetpwent_r.c: Likewise.
20492 * resolv/Versions: Likewise.
20493 * resolv/res_hconf.c: Likewise.
20494 * shadow/fgetspent_r.c: Likewise.
20495 * shadow/putspent.c: Likewise.
20496 * stdio-common/printf_fphex.c: Likewise.
20497 * stdio-common/tmpfile.c: Likewise.
20498 * stdlib/abort.c: Likewise.
20499 * stdlib/fmtmsg.c: Likewise.
20500 * sunrpc/auth_unix.c: Likewise.
20501 * sunrpc/clnt_perr.c: Likewise.
20502 * sunrpc/clnt_tcp.c: Likewise.
20503 * sunrpc/clnt_udp.c: Likewise.
20504 * sunrpc/clnt_unix.c: Likewise.
20505 * sunrpc/openchild.c: Likewise.
20506 * sunrpc/svc_simple.c: Likewise.
20507 * sunrpc/svc_tcp.c: Likewise.
20508 * sunrpc/svc_udp.c: Likewise.
20509 * sunrpc/svc_unix.c: Likewise.
20510 * sunrpc/xdr.c: Likewise.
20511 * sunrpc/xdr_array.c: Likewise.
20512 * sunrpc/xdr_rec.c: Likewise.
20513 * sunrpc/xdr_ref.c: Likewise.
20514 * sunrpc/xdr_stdio.c: Likewise.
20515
1248c1c4
PB
205162011-09-09 Ulrich Drepper <drepper@gmail.com>
20517
20518 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
20519
205202011-07-03 Andreas Jaeger <aj@suse.de>
20521
20522 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
20523 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
20524 regenerate with gen-libm-tests.pl.
20525
205262010-05-12 Petr Baudis <pasky@suse.cz>
20527
20528 [BZ #11589]
20529 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
20530 around j0() zero points by switching to j1().
20531 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
20532 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
20533 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
20534 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
20535
f22e1074
UD
205362011-09-09 Ulrich Drepper <drepper@gmail.com>
20537
f19009c1
UD
20538 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
20539 instead of 0.
20540 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 20541 instead of 0.
f19009c1
UD
20542 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
20543 Patch in part by Pavel Roskin <proski@gnu.org>.
20544
3f8cc204
UD
20545 [BZ #13138]
20546 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
20547 realloc.
20548 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
20549 Free memory block if necessary.
20550
f22e1074
UD
20551 [BZ #12847]
20552 * libio/genops.c (INTDEF): For string streams the _lock pointer can
20553 be NULL. Don't lock in this case.
20554
0a2349f9
RM
205552011-09-09 Roland McGrath <roland@hack.frob.com>
20556
20557 * elf/elf.h (ELFOSABI_GNU): New macro.
20558 (ELFOSABI_LINUX): Define to that.
20559
f3cdd467
DZ
205602011-07-29 Denis Zaitceff <zaitceff@gmail.com>
20561
20562 * string/strncat.c (strncat): Undef the symbol in case it has been
20563 defined in bits/string.h.
20564
74718d13
UD
205652011-09-09 Ulrich Drepper <drepper@gmail.com>
20566
633e9e0f
UD
20567 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
20568
0a2349f9 20569 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
20570 link map.
20571
f9924780
AJ
205722011-08-17 Andreas Jaeger <aj@suse.de>
20573
20574 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
20575
7f5517aa
PP
205762011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
20577 Ian Lance Taylor <iant@google.com>
20578
20579 * math/libm-test.inc (lround_test): New testcase.
20580 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
20581
762011fe
UD
205822011-09-08 Ulrich Drepper <drepper@gmail.com>
20583
92963737
UD
20584 * Makefile: Remove support for automatic cvs check-ins.
20585 * Makerules: Likewise.
20586 * config.make.in: Likewise.
20587 * configure.in: Likewise.
20588 * intl/Makefile: Likewise.
20589 * locale/Makefile: Likewise.
20590 * po/Makefile: Likewise.
20591 * posix/Makefile: Likewise.
20592 * sysdeps/gnu/Makefile: Likewise.
20593 * sysdeps/mach/hurd/Makefile: Likewise.
20594 * sysdeps/sparc/sparc32/Makefile: Likewise.
20595
b0727fd8
JS
20596 [BZ #13118]
20597 * posix/Makefile (bug-regex32-ENV): Define.
20598 Patch by John Stanley <jpsinthemix@verizon.net>.
20599
a0f33f99
UD
20600 * misc/Makefile (headers): Add bits/select2.h.
20601 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
20602 * misc/bits/select2.h: New file.
20603 * include/bits/select2.h: New file.
20604 * debug/Makefile (routines): Add fdelt_chk.
20605 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
20606 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
20607 FD_ISSET.
20608 * debug/fdelt_chk.c: New file.
20609
762011fe
UD
20610 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
20611 * wcsmbs/test-wmemcmp.c: Likewise.
20612 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 20613 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
20614
206152011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20616
20617 * string/Makefile (strop-tests): Add memcmp.
20618 * string/test-wmemcmp.c: New file.
20619 * string/test-memcmp.c: Add wmemcmp support.
20620
7f513ec8
RM
206212011-09-08 Roland McGrath <roland@hack.frob.com>
20622
0442afb4
RM
20623 [BZ #13153]
20624 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
20625 2011-07-19 change.
20626
7f513ec8
RM
20627 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
20628 garbage value in a __mach_port_mod_refs call in the cases of the
20629 task-self and thread-self ports.
20630
a12b2239
ST
206312011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
20632
20633 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
20634
610f9ab4
AS
206352011-09-08 Andreas Schwab <schwab@redhat.com>
20636
7f513ec8 20637 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 20638
48882a1a
LD
206392011-09-07 Ulrich Drepper <drepper@gmail.com>
20640
b49865be
UD
20641 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
20642
fdc86bc9
UD
20643 * elf/dl-libc.c (dlerror_run): Pass back error code from
20644 dl_catch_error.
20645
c966526a
UD
20646 [BZ #13123]
20647 * elf/dl-load.c (lose): Free l_origin if it is valid.
20648
48882a1a
LD
20649 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
20650 names.
20651 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
20652 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
20653 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
20654 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
20655 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
20656 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
20657
77a2a8b4
AZ
206582011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20659
20660 * sysdeps/powerpc/fpu/e_hypot.c: New file.
20661 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
20662 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
20663 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
20664 * sysdeps/powerpc/fpu/k_cosf.c: New file.
20665 * sysdeps/powerpc/fpu/k_sinf.c: New file.
20666 * sysdeps/powerpc/fpu/s_cosf.c: New file.
20667 * sysdeps/powerpc/fpu/s_sinf.c: New file.
20668 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
20669 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
20670
24f579d8
AM
206712011-08-15 Alan Modra <amodra@gmail.com>
20672
20673 [BZ #13092]
20674 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
20675 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
20676 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
20677 ppc_mcount to static-only-routines.
20678 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
20679 __mcount_internal.
20680 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
20681 __mcount_internal with usual JUMPTARGET. Remove useless nop.
20682
3d4837df
UD
206832011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
20684
20685 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
20686 for finite and infinity parameters.
20687
22700377
WS
206882011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
20689
20690 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
20691 and add nop instructions for throughput optimization.
20692 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
20693
5025581e
WS
206942011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
20695
20696 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
20697 aligned copy for power7 with vector-scalar instructions.
20698 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
20699
08a300c9
L
207002011-07-24 H.J. Lu <hongjiu.lu@intel.com>
20701
20702 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
20703 AVX check.
20704
59178ef9
AS
207052011-09-07 Andreas Schwab <schwab@redhat.com>
20706
20707 [BZ #13144]
20708 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
20709 last change.
20710
e38ba7ab
UD
207112011-09-07 Ulrich Drepper <drepper@gmail.com>
20712
20713 * sysdeps/unix/sysv/linux/x86_64/init-first.c
20714 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
20715 syscall wrapper around clock_gettime in __vdso_clock_gettime.
20716 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
20717 clock_gettime.
20718
d53a73ac
UD
207192011-09-06 Ulrich Drepper <drepper@gmail.com>
20720
fc8bffcc
UD
20721 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
20722 Forgot to demangle the pointer.
20723
ceaa0c5d
UD
20724 * sysdeps/i386/sysdep.h: Define atom_text_section.
20725 * sysdeps/x86_64/sysdep.h: Likewise.
20726 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
20727 section with atom_text_section.
20728 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
20729 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
20730 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
20731 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
20732 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
20733
a77d3c17
UD
20734 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
20735 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
20736 already be defined. Change to take two parameters and don't assign
20737 result to variable. Adjust all users.
20738 Define INTERNAL_GETTIME if not already defined.
20739 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
20740 call.
20741 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
20742 HAVE_CLOCK_GETTIME_VSYSCALL.
20743 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
20744
d53a73ac
UD
20745 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
20746 gettimeofday vsyscall, just use time.
20747
a8f84144
AS
207482011-09-06 Andreas Schwab <schwab@redhat.com>
20749
20750 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
20751 <errno.h>.
20752
ef606249
UD
207532011-09-06 Ulrich Drepper <drepper@gmail.com>
20754
20755 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
20756 syscall on x86-64.
20757 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
20758 syscall.
20759 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
20760 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
20761 syscall if possible.
20762
6585cb60
UD
207632011-09-05 Ulrich Drepper <drepper@gmail.com>
20764
20765 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
20766 e_ident. Don't pass to find_mapsXX.
20767 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
20768
a5f524e4
LD
207692011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20770
20771 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20772 strchr-sse2-no-bsf strrchr-sse2-no-bsf
20773 * sysdeps/x86_64/multiarch/strchr.S: Update.
20774 Check bit_slow_BSF bit.
20775 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
20776 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
20777 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
20778
554881ef
UD
207792011-09-05 Ulrich Drepper <drepper@gmail.com>
20780
d96de963
UD
20781 [BZ #13134]
20782 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
20783 before glibc 2.15.
20784 (tryshell): Define.
20785 (__spawni): Change last parameter to be flag. Test
20786 SPAWN_XFLAGS_USE_PATH flag to use path or not.
20787 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
20788 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
20789 * posix/spawni.c: Likewise.
20790 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
20791 * posix/spawnp.c: Likewise. Change normal version to use
20792 SPAWN_XFLAGS_USE_PATH.
20793 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
20794 SPAWN_XFLAGS_TRY_SHELL.
20795
d48e5868
UD
20796 [BZ #13150]
20797 * posix/glob.h: Remove gcc 1.x support.
20798
554881ef
UD
20799 [BZ #13068]
20800 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
20801
693fb948
LD
208022011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20803
20804 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20805 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
20806 strrchr-sse2-bsf
20807 * sysdeps/i386/i686/multiarch/strchr.S: New file.
20808 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
20809 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
20810 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
20811 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
20812 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
20813
1b48c537
UD
208142011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20815
49d42c37
UD
20816 * sysdeps/x86_64/wcscmp.S: New file.
20817
1b48c537
UD
20818 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
20819 wcscmp-c wcscmp-sse2
20820 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
20821 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
20822 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
20823 * wcsmbs/wcscmp.c: Allow renaming.
20824
15c95c5d
DM
208252011-09-05 David S. Miller <davem@davemloft.net>
20826
20827 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
20828 stack slot, rather than the struct return pointer slot.
20829 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
20830 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
20831 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
20832 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
20833
2f0ad8f3
UD
208342011-09-05 Ulrich Drepper <drepper@gmail.com>
20835
d88ae418
UD
20836 * po/ja.po: Update from translation team.
20837
2f0ad8f3
UD
20838 [BZ #13144]
20839 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
20840 kernel in 64-bit binaries.
20841
5f4318d1
DM
208422011-09-01 David S. Miller <davem@davemloft.net>
20843
20844 * elf/elf.h (HWCAP_SPARC_*): Move to..
20845 * sysdeps/sparc/sysdep.h: this new file and add new values.
20846 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
20847 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
20848 _DL_HWCAP_COUNT to 24.
20849 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
20850 entries.
20851 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
20852 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
20853 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
20854 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
20855 instead of magic constants.
20856 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
20857
3ba57516
DM
208582011-08-31 David S. Miller <davem@davemloft.net>
20859
20860 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
20861 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
20862 Reimplement to do errno handling inline.
20863 (SYSCALL_ERROR_HANDLER): New macro.
20864 (__SYSCALL_STRING): Do not do errno handling in asm.
20865 (__CLONE_SYSCALL_STRING): Delete.
20866 (__INTERNAL_SYSCALL_STRING): Delete.
20867 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
20868 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
20869 (PSEUDO): Reimplement to do errno handling inline.
20870 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
20871 (SYSCALL_ERROR_HANDLER): New macro.
20872 (__SYSCALL_STRING): Do not do errno handling in asm.
20873 (__CLONE_SYSCALL_STRING): Delete.
20874 (__INTERNAL_SYSCALL_STRING): Delete.
20875 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
20876 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
20877 i386.
20878 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
20879 (inline_syscall*): Add 'err' argument.
20880 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
20881 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
20882 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
20883 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
20884
20885 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
20886 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
20887
2bc17433
AS
208882011-08-30 Andreas Schwab <schwab@redhat.com>
20889
20890 * elf/rtld.c (dl_main): Relocate objects in dependency order.
20891
fbeb5f4d
JO
208922011-08-29 Jiri Olsa <jolsa@redhat.com>
20893
20894 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
20895 directive.
20896
ad69cc26
DM
208972011-08-24 David S. Miller <davem@davemloft.net>
20898
20899 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
20900
39dd69df
AS
209012011-08-24 Andreas Schwab <schwab@redhat.com>
20902
20903 * elf/Makefile: Add rules to build and run unload8 test.
20904 * elf/unload8.c: New file.
20905 * elf/unload8mod1.c: New file.
20906 * elf/unload8mod1x.c: New file.
20907 * elf/unload8mod2.c: New file.
20908 * elf/unload8mod3.c: New file.
20909
20910 * elf/dl-close.c (_dl_close_worker): Reset private search list if
20911 it wasn't used.
20912
2c0b250a
DM
209132011-08-23 David S. Miller <davem@davemloft.net>
20914
20915 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
20916 subtract stack bias.
20917 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
20918 %sp not %fp in calculations.
20919 (_JMPBUF_UNWINDS_ADJ): Likewise.
20920
22044b48
DM
20921 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
20922 (aio_suspend): Call it to force an exception region around the
20923 AIO_MISC_WAIT() invocation.
20924
2cae4995
AS
209252011-08-23 Andreas Schwab <schwab@redhat.com>
20926
20927 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
20928 backslash.
20929
873a772e
AJ
209302011-07-04 Aurelien Jarno <aurelien@aurel32.net>
20931
20932 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
20933 protection macro.
20934 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
20935 and <dl-machine.h>.
20936 (Elf64_FuncDesc): Remove.
20937
25ad0df1
DM
209382011-08-22 David S. Miller <davem@davemloft.net>
20939
20940 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
20941 sigaltstack check, add missing cfi directives.
20942 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
20943 missing cfi directives, and sigaltstack handling.
20944
e888bcbe
AS
209452011-08-16 Andreas Schwab <schwab@redhat.com>
20946
20947 [BZ #11724]
20948 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
20949 object is seen twice.
20950 * elf/dl-fini.c (_dl_sort_fini): Likewise.
20951
20952 * elf/Makefile (distribute): Add tst-initorder2.c.
20953 (tests): Add tst-initorder2.
20954 (modules-names): Add tst-initorder2a tst-initorder2b
20955 tst-initorder2c tst-initorder2d. Add rules to build them.
20956 ($(objpfx)tst-initorder2.out): New rule.
20957 * elf/tst-initorder2.c: New file.
20958 * elf/tst-initorder2.exp: New file.
20959
87162f46
AS
209602011-08-22 Andreas Schwab <schwab@redhat.com>
20961
70538b7f
AS
20962 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
20963
f55ffe58
AS
20964 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
20965 dependencies back to end of function.
20966
87162f46
AS
20967 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
20968 $(elfobjdir)/ld.so.
20969
91b392a4
UD
209702011-08-21 Ulrich Drepper <drepper@gmail.com>
20971
20972 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
20973 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
20974 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
20975 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
20976 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
20977 of __vdso_gettimeofday.
20978 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
20979 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
20980 attribute_hidden.
20981 (_libc_vdso_platform_setup): Remove initialization of
20982 __vdso_gettimeofday and __vdso_time.
20983
5c43483f
UD
209842011-08-20 Ulrich Drepper <drepper@gmail.com>
20985
775a77e7
UD
20986 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
20987 and fgetc_unlocked.
20988 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
20989 getc_unlocked.
89f447ed 20990
49c74ba9
UD
20991 * elf/dl-open.c (add_to_global): Report additions to the global scope
20992 for LD_DEBUG=scopes.
20993 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 20994 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 20995
5c43483f
UD
20996 [BZ #13114]
20997 * stdio-common/Makefile (tests): Add bug24.
20998 * stdio-common/bug24.c: New file.
20999
a101b025
AJ
210002011-08-19 Andreas Jaeger <aj@suse.de>
21001
21002 [BZ #13114]
21003 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
21004 non-existant file when using close-on-exec mode.
21005
c88f1766
UD
210062011-08-20 Ulrich Drepper <drepper@gmail.com>
21007
0276a718
UD
21008 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
21009 the very first instruction.
21010
c88f1766
UD
21011 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
21012 the CFI state in the end.
21013 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
21014 inclusion of dl-trampoline.h.
21015 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
21016
51ccffa0
AS
210172011-08-19 Andreas Schwab <schwab@redhat.com>
21018
94d7165f
AS
21019 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
21020 expectations for long double.
21021
51ccffa0
AS
21022 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
21023 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
21024
fd708658 210252011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
21026
21027 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
21028 artificual limit depends upon the system page size.
21029
44f0a71e
UD
210302011-08-17 Ulrich Drepper <drepper@gmail.com>
21031
21032 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
21033 * resolv/Makefile: Define CFLAGS-libresolv.
21034
8de79a24
AS
210352011-08-17 Andreas Schwab <schwab@redhat.com>
21036
21037 * nss/makedb.c (compute_tables): Make variables used in nested
21038 function static.
21039
27724598
UD
210402011-08-17 Ulrich Drepper <drepper@gmail.com>
21041
c5305d88
UD
21042 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
21043 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
21044 if buffer was too small.
21045
27724598
UD
21046 * elf/pldd.c (main): Attach to all threads in the process.
21047 Rewrite /proc handling to use *at functions.
21048
076fe015
UD
210492011-08-16 Ulrich Drepper <drepper@gmail.com>
21050
174baab3
UD
21051 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
21052 specifies first scope to show.
21053 (dl_open_worker): Update callers. Move printing scope of new
21054 object to before the relocation.
44f0a71e 21055 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
21056 * sysdeps/generic/ldsodefs.h: Update declaration.
21057
076fe015
UD
21058 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
21059 string for the scope number.
21060
a60df2c3
UD
210612011-08-14 Ulrich Drepper <drepper@gmail.com>
21062
21063 * nscd/servicescache.c (cache_addserv): Make sure written is always
21064 initialized.
21065
5e4287d1
RM
210662011-08-14 Roland McGrath <roland@hack.frob.com>
21067
85ae0589
RM
21068 * sysdeps/i386/i486/bits/atomic.h
21069 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
21070 statement expression, so as to suppress "set but not used" warning.
21071 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
21072
69f63097
RM
21073 * string/strncat.c (STRNCAT): Use prototype definition.
21074
675456ef
RM
21075 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
21076 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
21077 -Iprograms here.
21078 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
21079 (localedef-modules): Add localedef.
21080 (locale-modules): Add locale.
21081
5e4287d1
RM
21082 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
21083 * elf/rtld.c (dl_main): Invert order of assignment in last change,
21084 to avoid a warning.
21085
9c96ff23
DM
210862011-08-14 David S. Miller <davem@davemloft.net>
21087
21088 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
21089 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
21090
f9ddf089
UD
210912011-08-13 Ulrich Drepper <drepper@gmail.com>
21092
44f0a71e 21093 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
21094 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
21095 * elf/rtld.c (dl_main): Set l_name of vDSO.
21096 Call _dl_show_scope when DL_DEBUG_SCOPES.
21097 (process_dl_debug): Recognize scopes flag and also set it for all.
21098 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
21099 Declare _dl_show_scope.
21100
1dc27704
UD
21101 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
21102 (do_dlopen): Pass caller_dlopen to dl_open.
21103 (__libc_dlopen_mode): Initialize caller_dlopen.
21104
f9ddf089
UD
21105 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
21106 of libc. Make tolower call locale-independent. Optimize a bit by
21107 using isdigit instead of isalnum.
21108 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
21109
9ac533d3
UD
211102011-08-12 Ulrich Drepper <drepper@gmail.com>
21111
21112 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
21113 was a dependency or dynamically loaded.
21114
89edf2e9
UD
211152011-08-11 Ulrich Drepper <drepper@gmail.com>
21116
8e999d29
UD
21117 * intl/l10nflist.c: Allow architecture-specific pop function.
21118 * sysdeps/x86_64/l10nflist.c: New file.
21119
89edf2e9
UD
21120 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
21121 classification.
21122
14d96785
AS
211232011-08-10 Andreas Schwab <schwab@redhat.com>
21124
21125 * include/dirent.h: Add libc_hidden_proto for scandirat and
21126 scandirat64. Don't declare __scandirat64.
21127 * dirent/scandirat.c: Add libc_hidden_def.
21128 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
21129 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
21130
6761ac04
DM
211312011-08-10 David S. Miller <davem@davemloft.net>
21132
21133 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
21134 enum.
21135 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
21136 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
21137 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
21138
c55fbd1e
UD
211392011-08-09 Ulrich Drepper <drepper@gmail.com>
21140
21141 * Versions.def [libc]: Add GLIBC_2.15.
21142 * dirent/Makefile (routines): Add scandirat and scandirat64.
21143 * dirent/Versions [libc]: Export scandirat and scandirat64 for
21144 GLIBC_2.15.
21145 * dirent/dirent.h: Declare scandirat and scandirat64.
21146 * dirent/scandirat.c: New file.
21147 * dirent/scandirat64.c: New file.
21148 * sysdeps/wordsize-64/scandirat.c: New file.
21149 * sysdeps/wordsize-64/scandirat64.c: New file.
21150 * dirent/opendir.c: Define opendirat.
21151 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
21152 using scandirat.
21153 * dirent/scandir64.c: Adjust for scandir.c change.
21154 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
21155 __scandirat64, and __scandir_cancel_handler.
21156 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
21157 additional parameter and use openat instead of open (outside of ld.so).
21158 Add new __opendir as wrapper around __opendirat.
21159 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
21160 here without requiring old scandirat implementation.
21161
879165f2
UD
211622011-08-08 Ulrich Drepper <drepper@gmail.com>
21163
21164 * dirent/scandir.c (cancel_handler): Renamed to
21165 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
21166 defined. Adjust users.
21167 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
21168 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
21169
cb7e923b
UD
211702011-08-04 Ulrich Drepper <drepper@gmail.com>
21171
16292edd
UD
21172 * string/test-string.h (IMPL): Use __STRING to expand name and then
21173 stringify it.
21174
cb7e923b
UD
21175 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
21176 of cleanups.
21177
cff82933
LD
211782011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21179
21180 * string/Makefile: Update.
21181 (strop-tests): Append strncat.
21182 * string/test-wcscmp.c: New file.
21183 New comprehensive test for wcscmp.
21184 * string/test-strcmp.c: Update.
21185 (WIDE): New define.
21186
9be9bfcc
AS
211872011-07-22 Andreas Schwab <schwab@redhat.com>
21188
21189 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
21190 line.
21191
2e96f1c7
AS
211922011-07-26 Andreas Schwab <schwab@redhat.com>
21193
21194 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
21195 encoding to ACE if AI_IDN.
21196
85188888
JJ
211972011-08-01 Jakub Jelinek <jakub@redhat.com>
21198
21199 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
21200 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
21201
5fa16e9b
LD
212022011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21203
21204 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
21205 Fix overflow bug in strncat.
21206 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
21207
21208 * string/test-strncat.c: Update.
21209 Add new tests for checking overflow bugs.
21210
212112011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21212
21213 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21214 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
21215 * sysdeps/i386/i686/multiarch/strcat.S: New file.
21216 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
21217 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
21218 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
21219 * sysdeps/i386/i686/multiarch/strncat.S: New file.
21220 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
21221 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
21222
21223 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
21224 (USE_AS_STRCAT): Define.
21225 Add strcat and strncat support.
21226 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
21227
8c1a459f
AS
212282011-07-25 Andreas Schwab <schwab@redhat.com>
21229
21230 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
21231 __n bigger than INT_MAX+1.
21232 (__strncmp_g): Likewise.
21233
bba33c28
UD
212342011-07-23 Ulrich Drepper <drepper@gmail.com>
21235
798be72d
UD
21236 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
21237 * libio/stido.h: Likewise.
21238
8accd4dc
UD
21239 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
21240 (AF_NFC): Define.
21241 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
21242 (AF_NFC): Define.
21243
cbff0d96
UD
21244 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
21245 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
21246 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
21247 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
21248 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
21249
9191c04a
UD
21250 [BZ #13021]
21251 * scripts/test-installation.pl: Don't expect libnss_test1 to be
21252 installed.
21253
bba33c28
UD
21254 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
21255 typo.
21256 (_dl_x86_64_save_sse): Likewise.
21257
90f139dd
UD
212582011-07-22 Ulrich Drepper <drepper@gmail.com>
21259
1aae088a
UD
21260 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
21261 OSXSAVE.
21262 (_dl_x86_64_save_sse): Likewise.
21263
8e2045f5
UD
21264 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
21265
90f139dd
UD
21266 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
21267
1d002f25
AS
212682011-07-21 Andreas Schwab <schwab@redhat.com>
21269
21270 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
21271 change.
21272 (_dl_x86_64_save_sse): Use correct AVX check.
21273
21137f89
UD
212742011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21275
21276 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
21277 bug in strncpy/strncat.
21278 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
21279
a65c0b7a
UD
212802011-07-21 Ulrich Drepper <drepper@gmail.com>
21281
21282 * string/tester.c (test_strcat): Add tests for different alignments
21283 of source and destination.
21284 (test_strncat): Likewise.
21285
6986b98a
UD
212862011-07-20 Ulrich Drepper <drepper@gmail.com>
21287
90bb2039
UD
21288 [BZ #12852]
21289 * posix/glob.c (glob): Check passed in values before using them in
21290 expressions to avoid some overflows.
21291 (glob_in_dir): Likewise.
21292
5644ef54
UD
21293 [BZ #13007]
21294 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
21295 check for AVX enablement so that we don't crash with old kernels and
21296 new hardware.
21297 * elf/tst-audit4.c: Add same checks here.
21298 * elf/tst-audit6.c: Likewise.
21299
21300 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 21301
bfc9dc9b
AS
213022011-07-09 Andreas Schwab <schwab@linux-m68k.org>
21303
21304 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
21305
702e64bb
UD
213062011-07-20 Ulrich Drepper <drepper@gmail.com>
21307
21308 * po/cs.po: Update from translation team.
21309 * po/bg.po: Likewise.
21310
295e904f
MP
213112011-07-12 Marek Polacek <mpolacek@redhat.com>
21312
21313 * misc/sys/cdefs.h: Add support for const attribute.
21314 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
21315 to gnu_dev_{major,minor,makedev} functions.
21316
3ff94596
MP
213172011-07-20 Marek Polacek <mpolacek@redhat.com>
21318
21319 * intl/dcigettext.c (get_output_charset): Add missing bracket.
21320
28b59fca
AS
213212011-07-20 Andreas Schwab <schwab@redhat.com>
21322
21323 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
21324 strlen results.
21325
19df733e
AK
213262011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21327
21328 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
21329 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
21330 register in order to avoid conflicts with the soft frame pointer
21331 being held in r11 when necessary.
21332 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
21333 (INTERNAL_VSYSCALL_NCS): Likewise.
21334
c8835729
MP
213352011-07-14 Marek Polacek <mpolacek@redhat.com>
21336
21337 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
21338 * elf/dl-fini.c (_dl_fini): Adjust caller.
21339 * elf/dl-close.c (_dl_close_worker): Likewise.
21340 * sysdeps/generic/ldsodefs.h: Adjust declaration.
21341
b902330c
MP
213422011-07-15 Marek Polacek <mpolacek@redhat.com>
21343
8991e135
MP
21344 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
21345 "aux_cache->nlibs < 0".
21346
b902330c
MP
21347 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
21348 in the reload-count case.
21349
99710781
LD
213502011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21351
21352 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21353 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
21354 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
21355 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
21356 * sysdeps/x86_64/multiarch/strcat.S: New file.
21357 * sysdeps/x86_64/multiarch/strncat.S: New file.
21358 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
21359 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
21360 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
21361 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
21362 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
21363 (USE_AS_STRCAT): Define.
21364 Add strcat and strncat support.
21365 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
21366 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
21367 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
21368 * string/strncat.c: Update.
21369 (USE_AS_STRNCAT): Define.
21370 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21371 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
21372 and i7.
21373 * sysdeps/x86_64/multiarch/init-arch.h
21374 (bit_Prefer_PMINUB_for_stringop): New.
21375 (index_Prefer_PMINUB_for_stringop): Likewise.
21376 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
21377 bit_Prefer_PMINUB_for_stringop.
21378
7dc6bd90
UD
213792011-07-19 Ulrich Drepper <drepper@gmail.com>
21380
21381 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
21382 buffer64.
21383 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
21384 of casting of buffer.
21385 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
21386 buffer32 and buffer64.
21387 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
21388 writes instead of casting of buffer.
21389 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
21390 buffer32.
21391 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
21392 casting of buffer.
21393
e0e72284
AS
213942011-07-19 Andreas Schwab <schwab@redhat.com>
21395
21396 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
21397
feb1eb0b
UD
213982011-07-19 Ulrich Drepper <drepper@gmail.com>
21399
21400 * nscd/nscd.c (termination_handler): Don't do anything for a database
21401 if it has not yet been initialized.
21402
298711ff
UD
214032011-07-18 Ulrich Drepper <drepper@gmail.com>
21404
21405 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
21406
214072011-07-15 Marek Polacek <mpolacek@redhat.com>
21408
21409 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
21410
f9d68389
UD
214112011-07-18 Ulrich Drepper <drepper@gmail.com>
21412
21413 * po/nl.po: Update from translation team.
21414 * po/sv.po: Likewise.
21415
db290cf5
RM
214162011-07-16 Roland McGrath <roland@hack.frob.com>
21417
21418 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
21419 now disallowed by GCC.
5c550700 21420
fd5e21c7
RM
21421 * configure.in (use-default-link): Default to yes if a test -shared
21422 link meets our qualifications.
21423 * configure: Regenerated.
21424
5c550700
RM
21425 * config.make.in (output-format): New variable.
21426 * configure.in: Check for ld --print-output-format support.
21427 * configure: Regenerated.
21428 * Makerules ($(common-objpfx)format.lds)
21429 [$(output-format) != unknown]: Just use $(output-format),
21430 instead of the linker-script munging.
21431
9fa2c032
RM
214322011-07-14 Roland McGrath <roland@hack.frob.com>
21433
a6928d51
RM
21434 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
21435 of $(common-objpfx)shlib.lds.
21436 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
21437
661607b3
RM
21438 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
21439 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
21440
9fa2c032
RM
21441 * configure.in (-z relro check): Adjust test code to add a large
21442 writable data section after it.
21443 * configure: Regenerated.
21444
defe9061
RM
214452011-07-11 Roland McGrath <roland@hack.frob.com>
21446
21447 * configure.in (-z relro check): Fix test code to make the variable
21448 truly const.
21449 * configure: Regenerated.
21450
319b9ad4
UD
214512011-07-11 Ulrich Drepper <drepper@gmail.com>
21452
21453 * nscd/nscd.h (struct traced_file): Define.
21454 (struct database_dyn): Remove inotify_descr, reset_res, and filename
21455 elements. Add traced_files.
21456 (inotify_fd): Declare.
21457 (register_traced_file): Declare.
21458 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
21459 (inotify_fd): Export.
21460 (resolv_conf_descr): Remove.
21461 (nscd_init): Move inotify descriptor creation to main.
21462 Don't register files for notification here.
21463 (register_traced_file): New function.
21464 (invalidate_cache): Don't use reset_res to determine whether to call
21465 res_init, go through the list of registered files.
21466 (main_loop_poll): The inotify descriptors are now stored in the
21467 structures for the traced files.
21468 (main_loop_epoll): Likewise
21469 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
21470 to __nss_disable_nscd.
21471 * nscd/cache.c (prune_cache): There is no single inotify descriptor
21472 for a database anymore. Check the records for all the registered
21473 files instead.
21474 * nss/Makefile (libnss_files-routines): Add files-init.
21475 (libnss_db-routines): Add db-init.
21476 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
21477 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
21478 * nss/nss_db/db-init.c: New file.
21479 * nss/nss_files/files-init.c: New file.
21480 * nss/nsswitch.c (nss_load_library): New function. Broken out of
21481 __nss_lookup_function.
21482 (__nss_lookup_function): Call nss_load_library.
21483 (nss_load_all_libraries): New function.
21484 (__nss_disable_nscd): Take parameter with callback function for files
21485 to register. Set is_nscd. Load all the DSOs for the NSS modules
21486 used for the cached services.
21487 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
21488 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
21489 options for features to all the files in nscd.
21490
21491 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
21492
23bee3e8
RM
214932011-07-10 Roland McGrath <roland@hack.frob.com>
21494
21495 * csu/elf-init.c (__libc_csu_init): Comment typo.
21496
46a5b7f0
UD
214972011-07-09 Ulrich Drepper <drepper@gmail.com>
21498
21499 * po/pl.po: Update from translation team.
21500 * po/ja.po: Likewise.
21501 * po/ru.po: Likewise.
21502 * po/ko.po: Likewise.
21503 * po/fr.po: Likewise.
21504
d30cf5bb
RM
215052011-07-09 Roland McGrath <roland@hack.frob.com>
21506
113ddea4
RM
21507 * configure.in (.ctors/.dtors header and trailer check):
21508 Use an empirical test on a built program.
21509 * configure: Regenerated.
21510
574920b4
RM
21511 * configure.in (-z relro check): Use an empirical test on a built DSO.
21512 Detect, but do not require, on ia64.
21513 * configure: Regenerated.
21514
d30cf5bb
RM
21515 * configure.in (READELF): Find it with AC_CHECK_TOOL.
21516 Update tests that use readelf to use $READELF instead.
21517 * configure: Regenerated.
21518
8538fdb3
UD
215192011-07-08 Ulrich Drepper <drepper@gmail.com>
21520
21521 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
21522 if the result is not used.
21523
04d08991
AJ
215242011-07-05 Andreas Jaeger <aj@suse.de>
21525
21526 [BZ#9696]
21527 * stdlib/tst-strtod.c: Add testcase.
21528
de283087
AD
215292011-07-07 Ulrich Drepper <drepper@gmail.com>
21530
4e5f31c8 21531 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 21532 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
21533 The latter has a higher limit. Take additional parameter to pass to
21534 the new function.
21535 (__pathconf): Pass file to __statfs_link_max.
21536 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
21537 __statfs_link_max.
21538 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
21539 __statfs_link_max.
21540
de283087
AD
21541 [BZ #12868]
21542 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
21543 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
21544 Handle Lustre.
21545 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
21546 (__statfs_filesize_max): Likewise.
21547 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
21548
c75fa153
AJ
215492011-07-05 Andreas Jaeger <aj@suse.de>
21550
21551 * resolv/res_comp.c (dn_skipname): Remove unused variable.
21552
1a544854
UD
215532011-07-06 Marek Polacek <mpolacek@redhat.com>
21554
21555 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
21556 `status' variable.
21557 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
21558 Likewise.
21559
6f0eec67
UD
215602011-07-04 H.J. Lu <hongjiu.lu@intel.com>
21561
21562 * Makefile (strop-tests): Add strncat.
21563 * string/test-strncat.c: New file.
21564
aae30307
UD
215652011-06-30 Marek Polacek <mpolacek@redhat.com>
21566
21567 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
21568
c0cfb5eb
UD
215692011-06-21 Andreas Jaeger <aj@suse.de>
21570
21571 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
21572 Copy rule from iconvdata/Makefile.
21573
01636b21
UD
215742011-07-06 Ulrich Drepper <drepper@gmail.com>
21575
21576 [BZ #12922]
21577 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
21578 but no long options are defined, just return 'W'.
21579
9895c8bc
UD
215802011-06-22 Marek Polacek <mpolacek@redhat.com>
21581
21582 [BZ #9696]
21583 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
21584
5d4cf042
UD
215852011-07-06 Ulrich Drepper <drepper@gmail.com>
21586
21587 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
21588 netgroups to read.
960e5535 21589 (innetgr): Likewise.
5d4cf042 21590
751eb97e
RM
215912011-07-05 Roland McGrath <roland@hack.frob.com>
21592
21593 * config.make.in (install_root): Default to $(DESTDIR).
21594
f15f1e45
UD
215952011-07-05 Ulrich Drepper <drepper@gmail.com>
21596
21597 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
21598
4e34ac6a
RM
215992011-07-02 Roland McGrath <roland@hack.frob.com>
21600
5e9b6af4
RM
21601 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
21602
84f9ea0f
RM
21603 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
21604 containing directory rather than embedding absolute directory names.
21605
ea5ee9f7
RM
21606 * scripts/check-local-headers.sh: Rewritten using awk.
21607 Match by word, not by line. Print error messages for matches.
21608 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
21609
1b74661a
RM
21610 * Makerules [shlib-lds-flags empty]:
21611 ($(common-objpfx)libc_pic.opts): New target.
21612 ($(common-objpfx)libc_pic.os.clean): New target.
21613 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
21614
21615 * config.make.in (OBJCOPY): New variable.
21616 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
21617 * configure: Regenerated.
21618
f781ef40
RM
21619 * config.make.in (use-default-link): New variable.
21620 * configure.in (use_default_link): Grok --with-default-link to set it.
21621 * configure: Regenerated.
21622 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
21623 (shlib-lds, shlib-lds-flags): Define to empty.
21624
2d4fa81e
RM
21625 * Makerules (shlib-lds): New variable.
21626 (shlib-lds-flags): New variable.
21627 (build-shlib, build-moduile, build-module-asneeded): Use it.
21628 ($(common-objpfx)libc.so): Use $(shlib-lds).
21629 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
21630 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
21631
31fffa6b
RM
21632 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
21633 DT_FLAGS/DT_FLAGS_1 with zero flags.
21634
4e34ac6a
RM
21635 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
21636 linker script munging.
21637
fcfc776b
UD
216382011-07-02 Ulrich Drepper <drepper@gmail.com>
21639
21640 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
21641 as 128-bit value.
21642 * crypt/sha512.c (sha512_process_block): Perform total addition using
21643 128-bit if possible.
21644 (__sha512_finish_ctx): Likewise.
21645 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
21646 as 64-bit value.
21647 * crypt/sha256.c (SWAP64): Define.
21648 (sha256_process_block): Perform total addition using 64-bit if
21649 possible.
21650 (__sha256_finish_ctx): Likewise.
21651
99231d9a
UD
216522011-07-01 Ulrich Drepper <drepper@gmail.com>
21653
21654 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
21655 * nscd/initgrcache.c (addinitgroupsX): Likewise.
21656 * nscd/hstcache.c (cache_addhst): Likewise.
21657 * nscd/grpcache.c (cache_addgr): Likewise.
21658 * nscd/aicache.c (addhstaiX): Likewise
21659 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
21660
445b4a53
TK
216612011-07-01 Thorsten Kukuk <kukuk@suse.de>
21662
21663 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
21664 * nscd/initgrcache.c (addinitgroupsX): Likewise.
21665 * nscd/hstcache.c (cache_addhst): Likewise.
21666 * nscd/grpcache.c (cache_addgr): Likewise.
21667 * nscd/aicache.c (addhstaiX): Likewise
21668
6d4d8e8e
AS
216692011-07-01 Andreas Schwab <schwab@redhat.com>
21670
21671 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
21672 domain only when needed.
21673
89f654c5
AS
216742011-06-30 Andreas Schwab <schwab@redhat.com>
21675
21676 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
21677 is always restored.
21678
cf3b23ff
UD
216792011-06-29 Ulrich Drepper <drepper@gmail.com>
21680
21681 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
21682 are re-adding the entry.
21683 * nscd/servicescache.c (cache_addserv): Likewise.
21684
751626f9
AJ
216852011-06-30 Aurelien Jarno <aurelien@aurel32.net>
21686
21687 * sysdeps/generic/dl-irel.h: fix protection against multiple
21688 inclusions.
21689 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
21690
9113ea1f
UD
216912011-06-28 Ulrich Drepper <drepper@gmail.com>
21692
5c0b8d90
UD
21693 [BZ #12935]
21694 * malloc/memusage.sh: Fix quoting in message.
21695 * debug/xtrace.sh: Likewise.
21696
9113ea1f
UD
21697 * configure.in: Remove support for --experimental-malloc option, make
21698 it the default.
21699 * config.make.in: Likewise.
21700 * malloc/Makefile: Likewise.
21701
a4172181
AS
217022011-06-27 Andreas Schwab <schwab@redhat.com>
21703
21704 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
21705 two-byte characters.
21706
78a7eee7
RM
217072011-06-27 Roland McGrath <roland@hack.frob.com>
21708
62bede13
RM
21709 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
21710 AC_CACHE_CHECK invocation.
21711 * configure: Regenerated.
21712
78a7eee7
RM
21713 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
21714
5ce33a62
UD
217152011-06-27 Ulrich Drepper <drepper@gmail.com>
21716
034807a9
UD
21717 [BZ #12350]
21718 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
21719 bit from old_res_options.
21720
4902da17
UD
21721 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
21722
5ce33a62
UD
21723 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
21724 value type for setfct.
21725
c2344f56
L
217262011-06-23 H.J. Lu <hongjiu.lu@intel.com>
21727
21728 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
21729 __gettimeofday instead of gettimeofday.
21730
68468076
UD
217312011-06-26 Ulrich Drepper <drepper@gmail.com>
21732
21733 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
21734
acb0d739
L
217352011-06-24 H.J. Lu <hongjiu.lu@intel.com>
21736
21737 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
21738
21739 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
21740 info.
21741
8912479f
L
217422011-06-22 H.J. Lu <hongjiu.lu@intel.com>
21743
21744 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21745 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
21746 strcpy-sse2-unaligned strncpy-sse2-unaligned
21747 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
21748 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
21749 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
21750 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
21751 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
21752 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
21753 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
21754 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
21755 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
21756 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
21757 (STRCPY): Support SSE2 and SSSE3 versions.
21758
d5495a11
UD
217592011-06-24 Ulrich Drepper <drepper@gmail.com>
21760
21761 [BZ #12874]
21762 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
21763 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
21764 kernels which artificially limit size of requests.
21765
0b1cbaae
L
217662011-06-22 H.J. Lu <hongjiu.lu@intel.com>
21767
21768 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21769 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
21770 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
21771 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
21772 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
21773 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
21774 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
21775 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
21776 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
21777 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
21778 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
21779 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
21780 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
21781 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
21782 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
21783 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21784 Enable unaligned load optimization for Intel Core i3, i5 and i7
21785 processors.
21786 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
21787 Define.
21788 (index_Fast_Unaligned_Load): Define.
21789 (HAS_FAST_UNALIGNED_LOAD): Define.
21790
07f494a0
MP
217912011-06-23 Marek Polacek <mpolacek@redhat.com>
21792
21793 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
21794
fa3fc0fe
UD
217952011-06-22 Ulrich Drepper <drepper@gmail.com>
21796
21797 [BZ #12907]
21798 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
21799 until it is clear that the information is realy needed.
21800 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
21801
e12df166
AS
218022011-06-22 Andreas Schwab <schwab@redhat.com>
21803
21804 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
21805
852eb34d
UD
218062011-06-22 Ulrich Drepper <drepper@gmail.com>
21807
84e2a551
UD
21808 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
21809 /sys/devices/system/cpu/online if it is usable.
21810
852eb34d
UD
21811 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
21812 reading the information from the /proc filesystem to once a second.
21813
6e502e19
UD
218142011-06-21 Andreas Jaeger <aj@suse.de>
21815
21816 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
21817 NULL after inclusion of kernel headers.
21818
75d39ff2
UD
218192011-06-21 Ulrich Drepper <drepper@gmail.com>
21820
51f9aa6a
UD
21821 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
21822 calls to internal_setent.
21823
c0244a9d
UD
21824 [BZ #12885]
21825 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
21826 addresses using gethostbyname4_r ignore IPv4 addresses.
21827
c5e3c2ae
UD
21828 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
21829 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
21830
75d39ff2
UD
21831 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
21832
42675c6f
DM
218332011-06-20 David S. Miller <davem@davemloft.net>
21834
21835 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
21836 inclusions.
21837 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
21838
21839 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
21840 (elf_irel): Use it.
21841 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
21842 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
21843 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
21844 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
21845 * sysdeps/x86_64/dl-irel.h: Likewise.
21846
21847 * elf/dl-runtime.c: Use elf_ifunc_invoke.
21848 * elf/dl-sym.c: Likewise.
21849
57912a71
UD
218502011-06-15 Ulrich Drepper <drepper@gmail.com>
21851
21852 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
21853 need to dereference resplen2.
21854
ee22793d
AS
218552011-06-14 Andreas Schwab <schwab@redhat.com>
21856
21857 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
21858
a9e836b0
UD
218592011-06-15 Ulrich Drepper <drepper@gmail.com>
21860
77fb9117
UD
21861 * Makeconfig: Define vardbdir and inst_vardbdir.
21862 * nss/Makefile: Add rules to install db-Makefile.
21863
40c1b22c
UD
21864 * nss/nss_db/db-XXX.c: Cleanup.
21865
9f2da732
UD
21866 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
21867 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
21868 GLIBC_PRIVATE.
21869 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
21870 * nss/makedb.c: Implement -g option to specify that value strings
21871 are generated and should not be added to table iterated over for
21872 get*ent calls.
21873 * nss/nss_db/db-initgroups.c: New file.
21874
82e9a1f7
UD
21875 * nss/getent.c: Add support for initgroups lookups through getgrouplist
21876 interface.
21877
c41af17e
UD
21878 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
21879 (internal_getgrouplist): Adjust to name change.
21880 Update use_initgroups_entry if this is not the first call.
21881 * nss/databases.def: Add initgroups entry.
21882
a9e836b0
UD
21883 * nss/makedb.c (compute_tables): Check result of multiple hash table
21884 sizes to minimize maximum chain length.
21885
2666d441
UD
218862011-06-14 Ulrich Drepper <drepper@gmail.com>
21887
21888 * Versions.def: Add entry for libnss_db.
21889 * shlib-versions: Likewise.
21890 * nss/Makefile: Add rules to build libnss_db.
21891 * nss/Versions: Add libnss_db information. Organize libnss_files
21892 entries better.
21893 * nss/db-Makefile: Add gshadow support. Change rules for the new
21894 makedb progra. Some minor improvements to generate smaller files.
21895 * nss/nss_db/nss_db.h: Move NSS database header data structures to
21896 here from...
21897 * nss/makedb.c: ...here.
21898 Improve database format to be smaller and require less memory at
21899 runtime.
21900 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
21901 db anymore.
21902 * nss/nss_db/db-netgrp.c: Likewise.
21903 * nss/nss_db/db-open.c: Likewise.
21904 * nss/nss_files/flies-XXX.x: Adjust comments.
21905 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
21906 * nss/nss_files/files-grp.c: Likewise.
21907 * nss/nss_files/files-hosts.c: Likewise.
21908 * nss/nss_files/files-network.c: Likewise.
21909 * nss/nss_files/files-proto.c: Likewise.
21910 * nss/nss_files/files-pwd.c: Likewise.
21911 * nss/nss_files/files-rpc.c: Likewise.
21912 * nss/nss_files/files-service.c: Likewise.
21913 * nss/nss_files/files-sgrp.c: Likewise.
21914 * nss/nss_files/files-spwd.c: Likewise.
21915 * nss/nss_db/db-alias.c: Removed.
21916 * nss/nss_db/dummy-db.h: Removed.
21917
9ee76b5a
UD
219182011-06-02 Ulrich Drepper <drepper@gmail.com>
21919
21920 * nss/makedb.c: Rewritten to not use database library.
21921 * nss/Makefile: Update to build new makedb program.
21922
c71ca1f8
AJ
219232011-06-14 Andreas Jaeger <aj@suse.de>
21924
21925 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
21926 memset declaration.
21927
3154bfb8
UD
219282011-06-10 Andreas Schwab <schwab@redhat.com>
21929
21930 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
21931 tmpbuf.
21932
b350afab
RM
219332011-06-10 Roland McGrath <roland@hack.frob.com>
21934
decd4e50
RM
21935 * Makerules (shlib.lds): Fail if the linker script comes out empty.
21936 * elf/Makefile ($(objpfx)ld.so): Likewise.
21937
5615eaf2
RM
21938 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
21939 Don't list ld.so twice in dependencies.
21940
21941 * posix/bug-regex31.c: Include <stdlib.h>.
21942
21943 * nscd/hstcache.c (cache_addhst): Remove unused variable.
21944
21945 * nis/nss_compat/compat-spwd.c
21946 (getspent_next_nss_netgr): Remove unused variable.
21947 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
21948
21949 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
21950 nonmembers" output to use the right array.
21951
21952 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
21953
21954 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
21955
21956 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
21957 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
21958 * catgets/gencat.c (read_input_file): Likewise.
21959 * locale/programs/locarchive.c (enlarge_archive): Likewise.
21960
21961 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
21962 variable definition inside #if's controlling its use.
21963
21964 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
21965
21966 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
21967
21968 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
21969
21970 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
21971 unreachable code.
21972
21973 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
21974
b68e08db
RM
21975 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
21976 * configure: Regenerated.
21977
b350afab
RM
21978 * Makerules: Revert last change.
21979 * elf/Makefile: Likewise.
21980
28368601
RM
219812011-06-09 Roland McGrath <roland@hack.frob.com>
21982
21983 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
21984 * elf/Makefile ($(objpfx)librtld.os): Likewise.
21985 (reloc-link): Likewise.
21986
11988f8f
UD
219872011-06-09 Ulrich Drepper <drepper@gmail.com>
21988
21989 * elf/Makefile: Add rules to build pldd.
21990 * elf/pldd.c: New file.
21991 * elf/pldd-xx.c: New file.
21992
e80fab37
UD
219932011-06-07 Ulrich Drepper <drepper@gmail.com>
21994
21995 * version.h: Update for 2.15 development version.
21996
9b849836
DM
219972011-06-07 David S. Miller <davem@davemloft.net>
21998
21999 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
22000 ifuncs.
22001 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
22002 elf_machine_lazy_rel): Likewise.
22003 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
22004 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
22005 elf_machine_lazy_rel): Likewise.
22006 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
22007 dl_hwcap via passed in argument.
22008 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
22009 Likewise.
22010
5a31b283
AK
220112011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22012
22013 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
22014
069e52f8
RM
220152011-06-06 Roland McGrath <roland@hack.frob.com>
22016
22017 [BZ #12849]
22018 * manual/fdl-1.1.texi: New file, verbatim from:
22019 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
22020 * manual/lgpl-2.1.texi: New file, verbatim from:
22021 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
22022 * manual/Makefile (licenses): New variable, list those new file names.
22023 (texis): Use it.
22024 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
22025
22026 * manual/fdl.texi: File removed.
22027 * manual/lesser.texi: File removed.
22028 * manual/libc.texinfo (Copying, Documentation License):
22029 Use new @include file names, put @appendix directive before @include.
22030
f16846a5
JJ
220312011-06-04 Jakub Jelinek <jakub@redhat.com>
22032
22033 [BZ #12841]
22034 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
22035 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
22036 (mq_open): Add __NTH.
22037
3d29045b
L
220382011-06-02 H.J. Lu <hongjiu.lu@intel.com>
22039
22040 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22041 Assume Intel Core i3/i5/i7 processor if AVX is available.
22042
8c297311
UD
220432011-05-31 Ulrich Drepper <drepper@gmail.com>
22044
22045 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
22046 typo.
22047
c8fc0c91
UD
220482011-05-31 Andreas Schwab <schwab@redhat.com>
22049
22050 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
22051 memory. Use alloca_account. Fix memory leak when retrying.
22052
5b27a807
UD
220532011-05-31 Ulrich Drepper <drepper@gmail.com>
22054
356f8bc6
UD
22055 * version.h (RELEASE): Bump for 2.14 release.
22056 * include/features.h (__GLIBC_MINOR__): Bump to 14.
22057
5b27a807
UD
22058 * config.make.in (RANLIB): Remove entry.
22059
01f16ab0
UD
220602011-05-30 Ulrich Drepper <drepper@gmail.com>
22061
41fce8bd
UD
22062 * po/Makefile (po-sed-cmd): Add ksh to extensions.
22063 (libc.pot): Work around missing support for .ksh extension in xgettext.
22064
4769ae77
UD
22065 [BZ #12684]
22066 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
22067 if both request failed.
22068 (send_dg): In case of server errors clear resplen or *resplen2.
22069
6b1e7d19
UD
22070 [BZ #12454]
22071 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
22072 when there are multiple maps.
22073 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
22074 (_dl_fini): Remove test here.
22075
01f16ab0
UD
22076 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
22077
b1ebd700
UD
220782011-05-29 Ulrich Drepper <drepper@gmail.com>
22079
7ae22829
UD
22080 [BZ #12350]
22081 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
22082 bit from old_res_options.
22083 (gaih_inet): Likewise.
22084
553149f6 22085 [BZ #11099]
18a84741 22086 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
22087 as signed.
22088
652ffab1
UD
22089 * resolv/res_init.c (res_setoptions): Make the code more compact.
22090
16985fd0
UD
22091 [BZ #11558]
22092 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
22093 set RES_USEVC.
22094
0464f746
UD
22095 [BZ #11634]
22096 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
22097
7d17596c
UD
22098 * malloc/malloc.h: Mark malloc hook variables as deprecated.
22099
cf6bbbd7
UD
22100 [BZ #11781]
22101 * malloc/malloc.h: Declare malloc hook variables as volatile.
22102
13f1ab36
UD
22103 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
22104 in last patch.
22105
b1ebd700
UD
22106 [BZ #11799]
22107 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 22108 raise in the comment.
80e2212d
UD
22109 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
22110 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
22111 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 22112
ce67228d
UD
221132011-05-28 Ulrich Drepper <drepper@gmail.com>
22114
8887a920
UD
22115 [BZ #12811]
22116 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
22117 grow the buffers more if it already has to be sufficient.
22118 (build_wcs_upper_buffer): Likewise.
22119 * posix/regexec.c (check_matching): Likewise.
22120 (clean_state_log_if_needed): Likewise.
22121 (extend_buffers): Don't enlarge buffers beyond size of the input
22122 buffer.
22123 Patches mostly by Emil Wojak <emil@wojak.eu>.
22124 * posix/bug-regex32.c: New file.
22125 * posix/Makefile (tests): Add bug-regex32.
22126
4f031072
UD
22127 * locale/findlocale.c (_nl_find_locale): Return right away if
22128 _nl_explode_name failed.
22129 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
22130
d0478f0c
UD
22131 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
22132
de81b246
UD
22133 * debug/xtrace.sh: Unify messages.
22134 * malloc/memusage.sh: Likewise.
22135
c738465a
UD
22136 [BZ #12813]
22137 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
22138 time symbol from vDSO. Substitute with vsyscall if not available.
22139 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
22140 __vdso_time.
22141
f1f929d7
UD
22142 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
22143 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
22144 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
22145 Add sendmmsg and internal_sendmmsg.
22146 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
22147 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
22148 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
22149
ce67228d
UD
22150 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
22151 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
22152 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
22153
e57420c6
UD
221542011-05-27 Ulrich Drepper <drepper@gmail.com>
22155
a8509ca5
UD
22156 [BZ #12813]
22157 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
22158 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
22159 available.
22160 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
22161 __vdso_getcpu.
22162
e57420c6
UD
22163 [BZ #12814]
22164 * iconvdata/Makefile (tests): Add bug-iconv9.
22165 * iconvdata/bug-iconv9.c: New file.
22166
4d07db15
AS
221672011-05-27 Andreas Schwab <schwab@redhat.com>
22168
22169 [BZ #12814]
22170 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
22171
ea486f69
JJ
221722011-05-25 Jakub Jelinek <jakub@redhat.com>
22173
22174 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
22175 (struct user_regs_struct): Change intcs field back to cs.
22176
6f038433
UD
221772011-05-25 Ulrich Drepper <drepper@gmail.com>
22178
22179 * po/ja.po: Update from translation team.
22180
67f86a25
UD
221812011-05-23 Ulrich Drepper <drepper@gmail.com>
22182
22183 [BZ #12795]
22184 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
22185 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
22186
def7fbd6
AS
221872011-05-20 Andreas Schwab <schwab@redhat.com>
22188
22189 * stdlib/longlong.h: Update from GCC.
22190
f50ef8f1
AS
221912011-05-23 Andreas Schwab <schwab@redhat.com>
22192
22193 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
22194 parameter name.
22195 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
22196 Add parameter name.
22197 (__sysconf): Pass it down.
22198
de7ce8f1
UD
221992011-05-22 Ulrich Drepper <drepper@gmail.com>
22200
f2962a71
UD
22201 [BZ #12671]
22202 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
22203 some situations.
22204 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
22205 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
22206 add in in __libc_use_alloca calls. Adjust callers.
22207 (glob): Use malloc in some situations.
22208
de7ce8f1
UD
22209 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
22210 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
22211 pltexit.
22212
aec84f53
UD
222132011-05-21 Ulrich Drepper <drepper@gmail.com>
22214
05bb4a68
UD
22215 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
22216 and CLOCK_BOOTTIME_ALARM.
22217
7ea72f99
UD
22218 [BZ #12782]
22219 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
22220 is returned.
22221
7e4afad5
UD
22222 * string/_strerror.c (__strerror_r): Print negative errors as signed
22223 numbers.
22224
8e211fec
UD
22225 [BZ #12777]
22226 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
22227 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
22228 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
22229
f7d82dc9
UD
22230 * configure.in: Fix typo in redirection and correct removal of test
22231 files in two cases.
22232
cc9e536d
UD
22233 [BZ #12788]
22234 * locale/setlocale.c (new_composite_name): Fix test to check for
22235 identical name of all categories.
22236
aec84f53
UD
22237 [BZ #12792]
22238 * libio/filedoalloc.c (local_isatty): New function.
22239 (_IO_file_doallocate): Use local_isatty.
22240 * stdio-common/perror.c (perror): In case a new stream is used
22241 forward the stream error.
22242 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
22243 error flag.
22244
78e64fdc
RT
222452011-05-20 Ulrich Drepper <drepper@gmail.com>
22246
34a9094f
UD
22247 [BZ #11869]
22248 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
22249 alloca.
22250 * include/alloca.h (extend_alloca_account): Define.
22251
78e64fdc
RT
22252 [BZ #11857]
22253 * posix/regex.h: Fix comments with documentation of user-accessible
22254 fields after compilation and describe correct free'ing of pattern
22255 after re_compile_pattern.
22256 Patch by Reuben Thomas <rrt@sc3d.org>.
22257
457bddfc
RA
222582011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
22259
22260 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
22261 and -mno-altivec to prevent the compiler from using Altivec and/or
22262 VSX instructions when the corresponding registers are not available.
22263
a4527b51
AS
222642011-05-19 Andreas Schwab <schwab@redhat.com>
22265
22266 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
22267
ed690b2f
UD
222682011-05-19 Ulrich Drepper <drepper@gmail.com>
22269
22270 * libio/freopen.c (freopen): Use __dup2, not dup2.
22271 * libio/freopen64.c (freopen64): Likewise.
22272
8db73634
L
222732011-05-17 H.J. Lu <hongjiu.lu@intel.com>
22274
22275 [BZ #12775]
22276 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
22277 * math/Makefile (tests): Add test-powl.
22278 (CFLAGS-test-powl.c): Define.
22279 * math/test-powl.c: New file.
22280
0a197a9d
L
222812011-05-16 H.J. Lu <hongjiu.lu@intel.com>
22282
22283 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
22284
ee30c380
UD
222852011-05-17 Ulrich Drepper <drepper@gmail.com>
22286
22287 [BZ #11837]
22288 * iconvdata/gb18030.c: Update to GB18020-2005.
22289
6ce75379
UD
222902011-05-16 Ulrich Drepper <drepper@gmail.com>
22291
a4b89fd8
AR
22292 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
22293 RE_SYNTAX_POSIX_AWK): Update to match recent development.
22294 Patch by Aharon Robbins <arnold@skeeve.com>.
22295
ea389b12
UD
22296 [BZ #11892]
22297 * stdlib/putenv.c (putenv): Don't always create copy of the variable
22298 on the stack.
22299
68a3f91f
UD
22300 [BZ #11895]
22301 * misc/pselect.c (__pselect): Handle timeout value errors hidden
22302 through underflows.
22303
15cc7dd1
UD
22304 [BZ #12766]
22305 * misc/error.c (error_at_line): Ensure file_name and old_file_name
22306 point to strings before performing equality test for error_one_per_line
22307 mode.
22308
f3799213
UD
22309 [BZ #11697]
22310 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
22311
d79a9c94
UD
22312 [BZ #11820]
22313 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
22314 (struct user_fpregs_struct): Avoid __uint*_t types.
22315
56e5eb46
UD
22316 [BZ #6420]
22317 * malloc/mtrace.c (tr_where): Add additional parameter to point to
22318 symbol info. Use it instead of calling _dl_addr locally.
22319 (lock_and_info): New function.
22320 (tr_freehook): Call lock_and_info and pass symbol info as additional
22321 parameter to tr_where.
22322 (tr_mallochook): Likewise.
22323 (tr_reallochook): Likewise.
22324 (tr_memalignhook): Likewise.
22325
6ce75379
UD
22326 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
22327 used and couldn't be at all thread-safe.
22328
f8a3b5bf
UD
223292011-05-15 Ulrich Drepper <drepper@gmail.com>
22330
94b7cc37
UD
22331 * libio/freopen.c (freopen): Don't close old file descriptor
22332 before the new one is opened. Instead dup the new file descriptor
22333 to the old one after the new stream is created.
22334 * libio/freopen64.c (freopen64): Likewise.
22335 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
22336 * libio/fileops.c (_IO_new_file_close_it): Handle new
22337 _IO_FLAGS2_NOCLOSE flag.
22338 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
22339 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
22340 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
22341 _IO_FLAGS2_NOCLOSE flag.
22342 * include/unistd.h: Add hidden_proto for dup3.
22343 Define __have_dup3.
22344 * io/dup3.c: Define hidden symbol.
22345 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
22346
bd25564e
UD
22347 [BZ #7101]
22348 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
22349 when an incomplete long option is used.
22350 * posix/tst-getopt_long1.c: New file.
22351 * posix/Makefile (tests): Add tst-getopt_long1.
22352
c84cfef4
UD
22353 [BZ #10138]
22354 * scripts/config.guess: Update from autoconf-2.68.
22355 * scripts/config.sub: Likewise.
22356
3b85df27
UD
22357 [BZ #10157]
22358 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
22359 tests into ...
22360 (has_cpuclock): ...this. New function.
22361 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
22362 macro here based on has_cpuclock code.
22363
15a856b1
UD
22364 [BZ #10149]
22365 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
22366 First byte (not low byte) is now always NUL.
22367 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
22368
05f399e6
UD
22369 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
22370 Use non-cancelable interfaces.
22371
10a52685 22372 [BZ #9809]
94ecc67d
UD
22373 * locale/iso-639.def: Add entry for Sorani.
22374
f8a3b5bf
UD
22375 [BZ #11901]
22376 * include/stdlib.h: Move include protection to the right place.
22377 Define abort_msg_s. Declare __abort_msg with it.
22378 * stdlib/abort.c (__abort_msg): Adjust type.
22379 * assert/assert.c (__assert_fail_base): New function. Majority
22380 of code from __assert_fail. Allocate memory for __abort_msg with
22381 mmap.
22382 (__assert_fail): Now call __assert_fail_base.
22383 * assert/assert-perr.c: Remove bulk of implementation. Use
22384 __assert_fail_base.
22385 * include/assert.hL Declare __assert_fail_base.
22386 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
22387 mmap.
22388 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
22389
1af4e298
UD
223902011-05-14 Ulrich Drepper <drepper@gmail.com>
22391
f8a3b5bf 22392 [BZ #11952]
d26dfc60
MG
22393 [BZ #12453]
22394 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
22395 until all modules are registered in the DTV.
22396 * elf/Makefile: Add rules to build and run tst-tls19.
22397 * elf/tst-tls19.c: New file.
22398 * elf/tst-tls19mod1.c: New file.
22399 * elf/tst-tls19mod2.c: New file.
22400 * elf/tst-tls19mod3.c: New file.
22401 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
22402
2fc54d6f
UD
22403 [BZ #12083]
22404 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
22405 correctly.
22406
98d76b46
UD
22407 [BZ #12601]
22408 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
22409 two-byte sequence errors.
22410 * iconvdata/Makefile (tests): Add bug-iconv8.
22411 * iconvdata/bug-iconv8.c: New file.
22412
da3c19ef
UD
22413 [BZ #12626]
22414 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
22415 buf2 definition.
22416
ca408c15
UD
22417 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
22418
d6f67f7d
UD
22419 [BZ #12432]
22420 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
22421 (dummy_getcfa): New function.
22422 (init): Get _Unwind_GetCFA address, use dummy if not found.
22423 (backtrace_helper): In recursion check, also check whether CFA changes.
22424 (__backtrace): Completely initialize arg.
22425
1af4e298 22426 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
22427 storing incomplete byte sequence in state object. Avoid testing for
22428 guaranteed too small input if we know there is enough data available.
1af4e298 22429
da62f81b
AS
224302011-05-11 Andreas Schwab <schwab@redhat.com>
22431
22432 * Makeconfig (+link-pie): Indent.
22433 * Rules (binaries-pie): Define if $(have-fpie) and
22434 $(build-shared).
22435 (binaries-shared): Also filter out $(binaries-pie).
22436 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
22437 * nscd/Makefile (others-pie): Add nscd.
22438 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
22439 ($(objpfx)nscd): Remove command override.
22440 * login/Makefile (others-pie): Add pt_chown.
22441 ($(objpfx)pt_chown): Remove command override.
22442 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
22443 remove command overrides.
22444
fcabc0f8
UD
224452011-05-13 Ulrich Drepper <drepper@gmail.com>
22446
20030ae6
UD
22447 * libio/tst_putwc.c: Fix error messages.
22448
fcabc0f8
UD
22449 [BZ #12724]
22450 * libio/fileops.c (_IO_new_file_close_it): Always flush when
22451 currently writing and seek to current position when not.
22452 * libio/Makefile (tests): Add bug-fclose1.
22453 * libio/bug-fclose1.c: New file.
22454
320a5dc0
PB
224552011-05-12 Ulrich Drepper <drepper@gmail.com>
22456
22457 [BZ #12511]
22458 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
22459 don't set DF_1_NODELETE here.
22460 (do_lookup_x): When entering new entry test for copy relocation
22461 and if necessary set DF_1_NODELETE flag.
22462 * elf/tst-unique4.cc: New file.
22463 * elf/tst-unique4.h: New file.
22464 * elf/tst-unique4lib.cc: New file.
22465 * elf/Makefile: Add rules to build and run tst-unique4.
22466 Patch by Piotr Bury <pbury@goahead.com>.
22467
22836f52
UD
224682011-05-11 Ulrich Drepper <drepper@gmail.com>
22469
f574184a
UD
22470 [BZ #12052]
22471 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
22472
e1fb097f
UD
22473 [BZ #12625]
22474 * misc/mntent_r.c (addmntent): Flush the stream after the output
22475
22836f52
UD
22476 [BZ #12393]
22477 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
22478 (is_trusted_path_normalize): Skip initial colon. Append slash
22479 to empty buffer. Duplicate is_trusted_path code but allow
22480 constructed patch to be prefix.
22481 (is_dst): Allow $ORIGIN followed by /.
22482 (_dl_dst_substitute): Correct clearing of check_for_trusted.
22483 Correct testing of result of is_trusted_path_normalize
22484 (decompose_rpath): Fix warning.
22485
7b3b0b2a
UD
224862011-05-10 Ulrich Drepper <drepper@gmail.com>
22487
22488 [BZ #11257]
22489 * grp/initgroups.c (internal_getgrouplist): When we found the service
22490 list through the initgroups entry in nsswitch.conf do not always
22491 continue on a successful lookup. Don't always use the
eac80ce2 22492 __nss_group_database value if it is set.
7b3b0b2a
UD
22493 * nss/nsswitch.conf (initgroups): Change action for successful db
22494 lookup to continue for compatibility.
22495
2a81eaa5
UD
224962011-05-09 Ulrich Drepper <drepper@gmail.com>
22497
be97a69e
UD
22498 [BZ #11532]
22499 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
22500 and CP774 modules.
22501 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
22502 and CP774 modules.
22503 * iconvdata/tst-tables.sh: Likewise.
22504 * iconvdata/cp770.c: New file.
22505 * iconvdata/cp771.c: New file.
22506 * iconvdata/cp772.c: New file.
22507 * iconvdata/cp773.c: New file.
22508 * iconvdata/cp774.c: New file.
22509 * iconvdata/testdata/CP770: New file.
22510 * iconvdata/testdata/CP770..UTF8: New file.
22511 * iconvdata/testdata/CP771: New file.
22512 * iconvdata/testdata/CP771..UTF8: New file.
22513 * iconvdata/testdata/CP772: New file.
22514 * iconvdata/testdata/CP772..UTF8: New file.
22515 * iconvdata/testdata/CP773: New file.
22516 * iconvdata/testdata/CP773..UTF8: New file.
22517 * iconvdata/testdata/CP774: New file.
22518 * iconvdata/testdata/CP774..UTF8: New file.
22519
22520 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
22521 END CHARMAP line.
22522 * iconvdata/gen-8bit-gap.sh: Likewise.
22523 * iconvdata/gen-8bit.sh: Likewise.
22524
c1e9e399
UD
22525 * locale/iso-639.def: Add ary entry.
22526
24c55fb3 22527 [BZ #11258]
96b4b1b0
UD
22528 * locale/C-translit.h.in: Add U20A1 transliteration.
22529
bdc2f971
KB
22530 [BZ #12178]
22531 * locale/iso-639.def: Add wae entry.
22532 Patch by Kevin Bortis <bortis@translate-wae.ch>.
22533
2952b117
UD
22534 [BZ #12545]
22535 * locale/programs/localedef.c (construct_output_path): Use ssize_t
22536 for n.
22537
2a81eaa5
UD
22538 [BZ #12711]
22539 * locale/C-translit.h.in: Add entry for U20B9.
22540 Patch by pravin.d.s@gmail.com.
22541
28377d1b
UD
225422011-05-08 Ulrich Drepper <drepper@gmail.com>
22543
7fb90fb8
UD
22544 [BZ #12713]
22545 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
22546 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
22547 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
22548 in rtld. Use *stat64.
7fb90fb8 22549 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 22550 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 22551 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
22552 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
22553 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
22554 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
22555 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
22556 __fstatat64 macros.
7fb90fb8
UD
22557 * include/dirent.h: Add libc_hidden_proto for rewinddir.
22558 * dirent/rewinddir.c: Add libc_hidden_def.
22559 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 22560 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 22561
28377d1b
UD
22562 * include/dirent.h (__alloc_dir): Add flags parameter.
22563 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
22564 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
22565 __alloc_dir.
22566 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
22567 from fdopendir if O_CLOEXEC is already set.
22568
66bdbaa4
AM
225692011-03-15 Alan Modra <amodra@gmail.com>
22570
22571 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
22572 l_tls_firstbyte_offset non-zero. Save padding offset in
22573 l_tls_firstbyte_offset for later use.
22574 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
22575 freeing static tls block.
22576
95721191
JN
225772011-03-05 Jonathan Nieder <jrnieder@gmail.com>
22578
22579 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
22580 where #ifdef was intended. The intent is to prevent ARG_MAX from
22581 being defined by the kernel headers.
22582
f87dfb1f
UD
225832011-05-07 Ulrich Drepper <drepper@gmail.com>
22584
22585 [BZ #12734]
22586 * resolv/resolv.h: Define RES_NOTLDQUERY.
22587 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
22588 no-tld-query and set RES_NOTLDQUERY.
22589 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
22590 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
22591 modern BIND to search name as TLD unless forbidden.
22592
47c3cd7a
UD
225932011-05-07 Petr Baudis <pasky@suse.cz>
22594 Ulrich Drepper <drepper@gmail.com>
22595
22596 [BZ #12393]
22597 * elf/dl-load.c (fillin_rpath): Move trusted path check...
22598 (is_trusted_path): ...to here.
c1e9ea35 22599 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 22600 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 22601 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 22602
8a35c912
PP
226032011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
22604
22605 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
22606 __BEGIN/__END_DECLS.
22607
acd41f47
UD
226082011-05-06 Ulrich Drepper <drepper@gmail.com>
22609
22610 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
22611 NSS_STATUS_NOTFOUND if no record was found.
22612
597df647
AS
226132011-05-05 Andreas Schwab <schwab@redhat.com>
22614
22615 * sunrpc/Makefile (headers): Add rpc/netdb.h.
22616 (headers-not-in-tirpc): Remove rpc/netdb.h
22617 * resolv/netdb.h: Revert last change.
22618
b9af1301
PP
226192011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
22620
22621 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
22622 circular dependency between libgcc.a and libc.a.
22623
4e34d5f5
AS
226242011-05-05 Andreas Schwab <schwab@redhat.com>
22625
22626 * resolv/netdb.h: Don't include <rpc/netdb.h>.
22627 * nis/Makefile: Don't install rpcsvc/*.
22628 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
22629 instead of <rpc/types.h>.
22630 (MAXHOSTNAMELEN): Define.
22631
00ee369c
AS
226322011-05-03 Andreas Schwab <schwab@redhat.com>
22633
22634 * elf/ldconfig.c (add_dir): Don't crash on empty path.
22635
0b592a30
MB
226362011-04-28 Maciej Babinski <mbabinski@google.com>
22637
22638 [BZ #12714]
22639 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
22640 gethostbyname4_r when IPv6 results are possible.
22641
6e04cbbe
UD
226422011-05-02 Ulrich Drepper <drepper@gmail.com>
22643
22644 [BZ #12723]
22645 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
22646 _PC_PIPE_BUF handling.
22647
e4ecafe0
BH
226482011-04-30 Bruno Haible <bruno@clisp.org>
22649
22650 [BZ #12717]
22651 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
22652 * resolv/netdb.h (getnameinfo): Change type of flags parameter
22653 to 'int'.
22654 * inet/getnameinfo.c (getnameinfo): Likewise.
22655
125ee683
UD
226562011-04-29 Ulrich Drepper <drepper@gmail.com>
22657
22658 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
22659 to groups setting in database lookup.
22660 * nss/nsswitch.conf: Add initgroups entry.
22661
b722481a
EB
226622011-04-22 Ulrich Drepper <drepper@gmail.com>
22663
22664 [BZ #12685]
22665 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
22666 mode string.
22667 Patch by Eric Blake <eblake@redhat.com>.
22668
4df46dbd
L
226692011-04-20 H.J. Lu <hongjiu.lu@intel.com>
22670
22671 * sunrpc/Makefile (need-export-routines): Add svc_run.
22672 (routines): Remove svc_run.
22673 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
22674 * sunrpc/clnt_perr.c (clnt_perrno): Export.
22675 * sunrpc/svc_run.c (svc_run): Likewise.
22676 * sunrpc/svc_udp.c (svcudp_create): Likewise.
22677
e84142d2
UD
226782011-04-21 Ulrich Drepper <drepper@gmail.com>
22679
22680 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
22681 problem in reallocation in last patch.
22682
877175d8
UD
226832011-04-20 Ulrich Drepper <drepper@gmail.com>
22684
22685 * sunrpc/Makefile: Move inclusion of Rules.
22686
ab8eed78
UD
226872011-04-19 Ulrich Drepper <drepper@gmail.com>
22688
22689 * nss/nss_files/files-initgroups.c: New file.
22690 * nss/Makefile (libnss_files-routines): Add files-initgroups.
22691 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
22692 _nss_files_initgroups_dyn.
22693
e3d8f584
RS
226942011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
22695
22696 * elf/elf.h (R_ARM_IRELATIVE): Define.
22697
af190f45
UD
226982011-04-19 Ulrich Drepper <drepper@gmail.com>
22699
22700 * po/ru.po: Update from translation team.
22701
53cf59ef
UD
227022011-04-17 Ulrich Drepper <drepper@gmail.com>
22703
22704 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
22705 dependencies.
22706
4c559bcd
MF
227072011-02-06 Mike Frysinger <vapier@gentoo.org>
22708
22709 [BZ #12653]
22710 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
22711 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
22712 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
22713 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
22714 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
22715
4420675c
AS
227162011-03-28 Andreas Schwab <schwab@linux-m68k.org>
22717
22718 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
22719 differing bytes.
22720 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
22721 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
22722 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
22723
75ea32ab
UD
227242011-04-17 Ulrich Drepper <drepper@gmail.com>
22725
22726 [BZ #12420]
22727 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
22728 storing it.
22729 * stdlib/bug-getcontext.c: New file.
22730 * stdlib/Makefile: Add rules to build and run bug-getcontext.
22731
27390476
AK
227322011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22733
22734 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
22735 instructions into .machine "z9-109".
22736 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
22737 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
22738
10442705
AK
227392011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22740
22741 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
22742 between environment variables and auxiliary vector.
22743
7b57bfe5
UD
227442011-04-16 Ulrich Drepper <drepper@gmail.com>
22745
22746 * Makefile: Add rules to build linkobj/libc.so.
22747 * include/libc-symbols.h: Define libc_hidden_nolink.
22748 * include/rpc/auth.h: Mark functions which are to be hidden.
22749 * include/rpc/auth_des.h: Likewise.
22750 * include/rpc/auth_unix.h: Likewise.
22751 * include/rpc/clnt.h: Likewise.
22752 * include/rpc/des_crypt.h: Likewise.
22753 * include/rpc/key_prot.h: Likewise.
22754 * include/rpc/pmap_clnt.h: Likewise.
22755 * include/rpc/pmap_prot.h: Likewise.
22756 * include/rpc/pmap_rmt.h: Likewise.
22757 * include/rpc/rpc_msg.h: Likewise.
22758 * include/rpc/svc.h: Likewise.
22759 * include/rpc/svc_auth.h: Likewise.
22760 * include/rpc/xdr.h: Likewise.
22761 * nis/Makefile: Link all DSOs against linkobj/libc.so.
22762 * nss/Makefile: Likewise.
22763 * sunrpc/Makefile: Don't install headers. Build library with normal
22764 entry points. Don't build rpcinfo. Link RPC tests appropriately.
22765 * sunrpc/auth_des.c: Hide exported symbols by default, export some
22766 for the compat linking library. Remove use of INTDEF/INTUSE.
22767 * sunrpc/auth_none.c: Likewise.
22768 * sunrpc/auth_unix.c: Likewise.
22769 * sunrpc/authdes_prot.c: Likewise.
22770 * sunrpc/authuxprot.c: Likewise.
22771 * sunrpc/clnt_gen.c: Likewise.
22772 * sunrpc/clnt_perr.c: Likewise.
22773 * sunrpc/clnt_raw.c: Likewise.
22774 * sunrpc/clnt_simp.c: Likewise.
22775 * sunrpc/clnt_tcp.c: Likewise.
22776 * sunrpc/clnt_udp.c: Likewise.
22777 * sunrpc/clnt_unix.c: Likewise.
22778 * sunrpc/des_crypt.c: Likewise.
22779 * sunrpc/des_soft.c: Likewise.
22780 * sunrpc/get_myaddr.c: Likewise.
22781 * sunrpc/key_call.c: Likewise.
22782 * sunrpc/key_prot.c: Likewise.
22783 * sunrpc/netname.c: Likewise.
22784 * sunrpc/pm_getmaps.c: Likewise.
22785 * sunrpc/pm_getport.c: Likewise.
22786 * sunrpc/pmap_clnt.c: Likewise.
22787 * sunrpc/pmap_prot.c: Likewise.
22788 * sunrpc/pmap_prot2.c: Likewise.
22789 * sunrpc/pmap_rmt.c: Likewise.
22790 * sunrpc/publickey.c: Likewise.
22791 * sunrpc/rpc_cmsg.c: Likewise.
22792 * sunrpc/rpc_common.c: Likewise.
22793 * sunrpc/rpc_dtable.c: Likewise.
22794 * sunrpc/rpc_prot.c: Likewise.
22795 * sunrpc/rpc_thread.c: Likewise.
22796 * sunrpc/rtime.c: Likewise.
22797 * sunrpc/svc.c: Likewise.
22798 * sunrpc/svc_auth.c: Likewise.
22799 * sunrpc/svc_authux.c: Likewise.
22800 * sunrpc/svc_raw.c: Likewise.
22801 * sunrpc/svc_run.c: Likewise.
22802 * sunrpc/svc_simple.c: Likewise.
22803 * sunrpc/svc_tcp.c: Likewise.
22804 * sunrpc/svc_udp.c: Likewise.
22805 * sunrpc/svc_unix.c: Likewise.
22806 * sunrpc/svcauth_des.c: Likewise.
22807 * sunrpc/xcrypt.c: Likewise.
22808 * sunrpc/xdr.c: Likewise.
22809 * sunrpc/xdr_array.c: Likewise.
22810 * sunrpc/xdr_float.c: Likewise.
22811 * sunrpc/xdr_intXX_t.c: Likewise.
22812 * sunrpc/xdr_mem.c: Likewise.
22813 * sunrpc/xdr_rec.c: Likewise.
22814 * sunrpc/xdr_ref.c: Likewise.
22815 * sunrpc/xdr_sizeof.c: Likewise.
22816 * sunrpc/xdr_stdio.c: Likewise.
22817
e6c61494
UD
228182011-04-10 Ulrich Drepper <drepper@gmail.com>
22819
22820 [BZ #12650]
22821 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
22822 * sysdeps/ia64/dl-tls.h: Likewise.
22823 * sysdeps/powerpc/dl-tls.h: Likewise.
22824 * sysdeps/s390/dl-tls.h: Likewise.
22825 * sysdeps/sh/dl-tls.h: Likewise.
22826 * sysdeps/sparc/dl-tls.h: Likewise.
22827 * sysdeps/x86_64/dl-tls.h: Likewise.
22828 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
22829
34fe483e
AS
228302011-03-14 Andreas Schwab <schwab@redhat.com>
22831
22832 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
22833 rpath element also skip the following colon.
22834 (expand_dynamic_string_token): Add is_path parameter and pass
22835 down to DL_DST_REQUIRED and _dl_dst_substitute.
22836 (decompose_rpath): Call expand_dynamic_string_token with
22837 non-zero is_path. Ignore empty rpaths.
22838 (_dl_map_object_from_fd): Call expand_dynamic_string_token
22839 with zero is_path.
22840
f12a32e6
AS
228412011-04-08 Andreas Schwab <schwab@linux-m68k.org>
22842
22843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
22844 Make cancelable.
22845
38a7d692
UD
228462011-04-09 Ulrich Drepper <drepper@gmail.com>
22847
22848 [BZ #12655]
22849 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
22850 Patch by Filipe David Manana <fdmanana@apache.org>.
22851
e451d22b
AS
228522011-04-07 Andreas Schwab <schwab@redhat.com>
22853
22854 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
22855 Maintain aligned stack.
22856 (CHECK_RSP): Remove unused macro.
22857
dedc7c7b
UD
228582011-04-03 Ulrich Drepper <drepper@gmail.com>
22859
22860 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
22861 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
22862
94521213
UD
228632011-04-02 Ulrich Drepper <drepper@gmail.com>
22864
22865 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
22866
8cb700c0 22867 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 22868
0354e355
L
228692011-03-26 H.J. Lu <hongjiu.lu@intel.com>
22870
22871 [BZ #12518]
22872 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
22873 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
22874 * sysdeps/x86_64/memmove.c: New file.
22875 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
22876 (memcpy): Renamed to ...
22877 (__new_memcpy): This.
22878 (memcpy): Provide GLIBC_2_14 memcpy.
22879 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
22880 (memcpy): Provide GLIBC_2_2_5 memcpy.
22881
8593482f
UD
228822011-04-01 Ulrich Drepper <drepper@gmail.com>
22883
22884 [BZ #12631]
22885 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
22886
81a5726b
AS
228872011-03-30 Andreas Schwab <schwab@redhat.com>
22888
22889 * misc/syncfs.c: New file.
22890 * misc/Makefile (routines): Add syncfs.
22891 * posix/unistd.h: Declare syncfs.
22892 * sysdeps/unix/syscalls.list: Add syncfs.
22893
00e5419f
AS
228942011-04-01 Andreas Schwab <schwab@redhat.com>
22895
22896 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
22897 open_by_handle_at.
22898 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
22899 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
22900 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22901 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
22902 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22903 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
22904 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
22905
748876bf
UD
229062011-04-01 Ulrich Drepper <drepper@gmail.com>
22907
658e451d
UD
22908 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
22909 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
22910 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
22911 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22912 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
22913 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22914 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
22915
748876bf
UD
22916 * io/Makefile: Compile fallocate.c, fallocate64.c, and
22917 sync_file_range.c with -fexceptions.
22918 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
22919 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
22920 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
22921 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
22922 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
22923 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
22924 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
22925 sync_file_range as cancellation point
22926 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
22927 now a wrapper around __call_sync_file_range with cancellation handling.
22928 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
22929 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
22930 function name to __call_sync_file_range.
22931 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
22932 Add call_sync_file_range.
748876bf 22933
6e63d5e1
AS
229342011-04-01 Andreas Schwab <schwab@redhat.com>
22935
22936 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 22937 bits/timex.h.
6e63d5e1 22938
46998f74
UD
229392011-04-01 Ulrich Drepper <drepper@gmail.com>
22940
4c1423ed
UD
22941 * iconv/iconv.h: Fix typo in comment.
22942 * io/fcntl.h: Likewise.
22943 * libio/stdio.h: Likewise.
22944 * posix/spawn.h: Likewise.
22945 * posix/unistd.h: Likewise.
22946 * stdlib/stdlib.h: Likewise.
22947 * time/time.h: Likewise.
22948 * wcsmbs/wchar.h: Likewise.
22949
158648c0
UD
22950 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
22951 open_by_handle): Add.
22952 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
22953 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
22954 Augment a few comments.
22955 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
22956 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22957 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
22958 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22959 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
22960 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
22961 open_by_handle.
22962
46998f74
UD
22963 * io/fcntl.h (AT_EMPTY_PATH): Define.
22964
83fe108b
UD
229652011-03-30 Ulrich Drepper <drepper@gmail.com>
22966
22967 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
22968 * sysdeps/unix/sysv/linux/bits/time.h: New file.
22969 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
22970 to...
22971 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
22972 * Versions.def: Add GLIBC_2.14.
22973 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
22974 Export.
83fe108b 22975
bb242059
UD
229762011-03-22 Ulrich Drepper <drepper@gmail.com>
22977
22978 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
22979 round counter.
22980 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
22981
c97a1282
L
229822011-03-20 H.J. Lu <hongjiu.lu@intel.com>
22983
22984 [BZ #12597]
22985 * string/test-strncmp.c (do_page_test): New function.
22986 (check2): Likewise.
22987 (test_main): Call check2.
22988 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
22989
2a115601
UD
229902011-03-20 Ulrich Drepper <drepper@gmail.com>
22991
22992 [BZ #12587]
22993 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
22994 Handle cache information in CPU leaf 4.
22995 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
22996
8126d904
UD
229972011-03-18 Ulrich Drepper <drepper@gmail.com>
22998
042c49c6 22999 [BZ #12583]
8126d904
UD
23000 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
23001 character representation.
23002 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
23003
ccfe366e
RA
230042011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
23005
23006 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
23007 END(__isnan) to END(__isnanf) to match function entry point/label
23008 EALIGN(__isnanf,...).
23009
c6e13027
JJ
230102011-03-10 Jakub Jelinek <jakub@redhat.com>
23011
23012 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
23013
33f85a3f
UD
230142011-03-10 Ulrich Drepper <drepper@gmail.com>
23015
028478fa
UD
23016 [BZ #12510]
23017 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
23018 copy from the symbol referenced in the relocation to initialize the
23019 used variable.
23020 Patch by Piotr Bury <pbury@goahead.com>.
23021 * elf/Makefile: Add rules to build and tst-unique3.
23022 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
23023 * elf/tst-unique3.cc: New file.
23024 * elf/tst-unique3.h: New file.
23025 * elf/tst-unique3lib.cc: New file.
23026 * elf/tst-unique3lib2.cc: New file.
23027
33f85a3f
UD
23028 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
23029
03592fc7
MF
230302011-03-10 Mike Frysinger <vapier@gentoo.org>
23031
23032 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
23033 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
23034 to _start.
03592fc7 23035
6a5ee102
UD
230362011-03-06 Ulrich Drepper <drepper@gmail.com>
23037
23038 * elf/dl-load.c (_dl_map_object): If we are looking for the first
23039 to-be-loaded object along a path to loader is ld.so.
23040
7e4ba49c
HJ
230412011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
23042 Ulrich Drepper <drepper@gmail.com>
23043
23044 * sysdeps/x86_64/memset.S: After aligning destination, code
23045 branches to different locations depending on the value of
23046 misalignment, when multiarch is enabled. Fix this.
23047
230482011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
23049
23050 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
23051 Set _x86_64_preferred_memory_instruction for AMD processsors.
23052 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23053 Set bit_Prefer_SSE_for_memop for AMD processors.
23054
13a804de
UD
230552011-03-04 Ulrich Drepper <drepper@gmail.com>
23056
23057 * libio/fmemopen.c (fmemopen): Optimize a bit.
23058
9d25c392
AS
230592011-03-03 Andreas Schwab <schwab@redhat.com>
23060
23061 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
23062
a5543c6a
RM
230632011-03-03 Roland McGrath <roland@redhat.com>
23064
23065 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
23066
012d35f7
DM
230672011-02-28 Aurelien Jarno <aurelien@aurel32.net>
23068
7e4ba49c 23069 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
23070 __bzero_ultra1 instead of __memset_ultra1.
23071
4bff6e01
AS
230722011-02-23 Andreas Schwab <schwab@redhat.com>
23073 Ulrich Drepper <drepper@gmail.com>
23074
23075 [BZ #12509]
23076 * include/link.h (struct link_map): Add l_orig_initfini.
23077 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
23078 returning unsuccessfully.
23079 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
23080 close of a file loaded at startup, restore the original l_initfini
23081 list.
23082 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
23083 list, store the pointer.
23084 * elf/Makefile ($(objpfx)noload-mem): New rule.
23085 (noload-ENV): Define.
23086 (tests): Add $(objpfx)noload-mem.
23087 * elf/noload.c: Include <memcheck.h>.
23088 (main): Call mtrace. Close all opened handles.
23089
f2092faf
AS
230902011-02-17 Andreas Schwab <schwab@redhat.com>
23091
23092 [BZ #12454]
23093 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
23094 dependencies are missing.
23095
6c8a2e88
ST
230962011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
23097
f2092faf 23098 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
23099 Hurd needs munmap.
23100 * sysdeps/mach/hurd/ifreq.h: New file.
23101
84a42118
PB
231022011-01-27 Petr Baudis <pasky@suse.cz>
23103 Ulrich Drepper <drepper@gmail.com>
23104
071f805e 23105 [BZ 12445]#
84a42118
PB
23106 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
23107 to extend_alloca().
23108 * stdio-common/bug23.c: New file.
23109 * stdio-common/Makefile (tests): Add bug23.
23110
e23fe25b
AS
231112010-09-28 Andreas Schwab <schwab@redhat.com>
23112 Ulrich Drepper <drepper@gmail.com>
23113
23114 [BZ #12489]
23115 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
23116 before performing relro protection. At old place add assertion
23117 to make sure nothing changed.
23118
d3f02e10
NS
231192011-02-17 Nathan Sidwell <nathan@codesourcery.com>
23120 Glauber de Oliveira Costa <glommer@gmail.com>
23121
23122 * elf/elf.h: Add new ARM TLS relocs.
23123
d55fd7a5
RA
231242011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
23125
23126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
23127 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
23128 cast from r3.
23129 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
23130 'tests' variable.
23131 * sysdeps/wordsize-64/tst-writev.c: New file.
23132
2206397e
RA
231332011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
23134
23135 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
23136 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
23137 insns in _dl_start to prevent a TOC reference before relocs are
23138 resolved.
23139
e9433893
UD
231402011-02-15 Ulrich Drepper <drepper@gmail.com>
23141
23142 [BZ #12469]
23143 * Makeconfig: Remove RANLIB definition.
23144 * Makerules: Don't use RANLIB.
23145 * aclocal.m4: Remove ranlib test.
23146 * configure.in: No need to check for ranlib.
23147 * elf/rtld-Rules: Don't use RANLIB.
23148
f75286c6
ST
231492011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
23150
8e31c82d
ST
23151 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
23152 protection macro.
23153 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
23154 inclusion protection macro.
23155
f75286c6
ST
23156 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
23157 SIGRTMIN and SIGRTMAX and print information in that case only when
23158 SIGRTMIN is defined.
23159
c1d0e639
JJ
231602011-02-11 Jakub Jelinek <jakub@redhat.com>
23161
23162 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
23163 arginfo fn returning -1.
23164
23165 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
23166 and thousands string is zero terminated.
23167
edf9294e
AS
231682011-02-03 Andreas Schwab <schwab@redhat.com>
23169
23170 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
23171 sysdeps/unix/sysv/linux/bits/socket.h.
23172
2b7e92df
ST
231732011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
23174
edf9294e
AS
23175 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
23176 (__CPU_COUNT): Remove old macros.
23177 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
23178 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
23179 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
23180 (__sched_cpualloc, __sched_cpufree): Add declarations.
23181
a4c7ea7b
UD
231822011-02-05 Ulrich Drepper <drepper@gmail.com>
23183
23184 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
23185 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
23186 * nscd/aicache.c (addhstaiX): Return timeout of added value.
23187 (readdhstai): Return value of addhstaiX call.
23188 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
23189 (addgrbyX): Return value returned by cache_addgr.
23190 (readdgrbyname): Return value returned by addgrbyX.
23191 (readdgrbygid): Likewise.
23192 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
23193 (addpwbyX): Return value returned by cache_addpw.
23194 (readdpwbyname): Return value returned by addhstbyX.
23195 (readdpwbyuid): Likewise.
23196 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
23197 (addservbyX): Return value returned by cache_addserv.
23198 (readdservbyname): Return value returned by addservbyX:
23199 (readdservbyport): Likewise.
23200 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
23201 (addhstbyX): Return value returned by cache_addhst.
23202 (readdhstbyname): Return value returned by addhstbyX.
23203 (readdhstbyaddr): Likewise.
23204 (readdhstbynamev6): Likewise.
23205 (readdhstbyaddrv6): Likewise.
23206 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
23207 (readdinitgroups): Return value returned by addinitgroupsX.
23208 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
23209 (prune_cache): Keep track of timeout value of re-added entries.
23210 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
23211 * nscd/nscd.h: Adjust prototypes of readd* functions.
23212
a0bf67cc
RM
232132011-02-04 Roland McGrath <roland@redhat.com>
23214
23215 * nis/nis_server.c (nis_servstate): Use the right name for 0.
23216 (nis_stats): Likewise.
23217 * nis/nis_modify.c (nis_modify): Likewise.
23218 * nis/nis_remove.c (nis_remove): Likewise.
23219 * nis/nis_add.c (nis_add): Likewise.
23220
23221 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
23222
23223 * posix/fnmatch_loop.c: Add some consts.
23224
23225 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
23226
435b95eb
L
232272011-02-02 H.J. Lu <hongjiu.lu@intel.com>
23228
23229 [BZ #12460]
23230 * config.make.in (config-cflags-novzeroupper): Define.
23231 * configure.in: Substitute libc_cv_cc_novzeroupper.
23232 * elf/Makefile (AVX-CFLAGS): Define.
23233 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
23234 (CFLAGS-tst-auditmod4a.c): Likewise.
23235 (CFLAGS-tst-auditmod4b.c): Likewise.
23236 (CFLAGS-tst-auditmod6b.c): Likewise.
23237 (CFLAGS-tst-auditmod6c.c): Likewise.
23238 (CFLAGS-tst-auditmod7b.c): Likewise.
23239 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
23240
8517b15e
UD
232412011-02-02 Ulrich Drepper <drepper@gmail.com>
23242
23243 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
23244 function to the callback.
23245 Patch partly by Jiri Olsa <jolsa@redhat.com>.
23246
10a656fe
AS
232472011-02-02 Andreas Schwab <schwab@redhat.com>
23248
23249 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
23250 of errno.
23251
968dad0a
UD
232522011-01-19 Ulrich Drepper <drepper@gmail.com>
23253
9f94d2ea 23254 [BZ #11724]
968dad0a
UD
23255 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
23256 of constructors.
23257 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
23258 of destructors.
23259 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
23260
23261 [BZ #11724]
23262 * elf/Makefile: Add rules to build and run new test.
23263 * elf/tst-initorder.c: New file.
23264 * elf/tst-initorder.exp: New file.
23265 * elf/tst-initordera1.c: New file.
23266 * elf/tst-initordera2.c: New file.
23267 * elf/tst-initordera3.c: New file.
23268 * elf/tst-initordera4.c: New file.
23269 * elf/tst-initorderb1.c: New file.
23270 * elf/tst-initorderb2.c: New file.
23271 * elf/tst-order-a1.c: New file.
23272 * elf/tst-order-a2.c: New file.
23273 * elf/tst-order-a3.c: New file.
23274 * elf/tst-order-a4.c: New file.
23275 * elf/tst-order-b1.c: New file.
23276 * elf/tst-order-b2.c: New file.
23277 * elf/tst-order-main.c: New file.
23278 New test case by George Gensure <werkt0@gmail.com>.
23279
86e92359
UD
232802010-10-01 Andreas Schwab <schwab@redhat.com>
23281
23282 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
23283 decoding ACE if AI_CANONIDN.
23284
5d5732b0
UD
232852011-01-18 Ulrich Drepper <drepper@gmail.com>
23286
23287 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
23288
a77e8cbc
UD
232892011-01-17 Ulrich Drepper <drepper@gmail.com>
23290
6392473f
UD
23291 * version.h (RELEASE): Bump for 2.13 release.
23292 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
23293
620a0529
UD
23294 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
23295
18ba70a5
UD
23296 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
23297 MADV_NOHUGEPAGE.
32465c3e
UD
23298 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
23299 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
23300 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
23301 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
23302 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
23303 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
23304
c0dafcf1
UD
23305 * posix/getconf.c: Update copyright year.
23306 * catgets/gencat.c: Likewise.
23307 * csu/version.c: Likewise.
23308 * debug/catchsegv.sh: Likewise.
23309 * debug/xtrace.sh: Likewise.
23310 * elf/ldconfig.c: Likewise.
23311 * elf/ldd.bash.in: Likewise.
23312 * elf/sprof.c (print_version): Likewise.
23313 * iconv/iconv_prog.c: Likewise.
23314 * iconv/iconvconfig.c: Likewise.
23315 * locale/programs/locale.c: Likewise.
23316 * locale/programs/localedef.c: Likewise.
23317 * malloc/memusage.sh: Likewise.
23318 * malloc/mtrace.pl: Likewise.
23319 * nscd/nscd.c (print_version): Likewise.
23320 * nss/getent.c: Likewise.
23321
a77e8cbc
UD
23322 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
23323 PF_CAIF, and PF_ALG.
23324 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
23325
77e8bddf
AS
233262011-01-16 Andreas Schwab <schwab@linux-m68k.org>
23327
1f20b93a
AS
23328 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
23329 (modules-names): Use them.
23330 (ifunc-test-modules, ifunc-pie-tests): Define.
23331 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
23332 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
23333 (test-extras): Likewise.
23334 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
23335 $(compile-command.c).
23336 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
23337 (all-built-dso): Define.
23338 (check-textrel.out, check-execstack.out): Depend on it.
23339
77e8bddf
AS
23340 * configure.in: Don't override --enable-multi-arch.
23341
bc425b33
UD
233422011-01-15 Ulrich Drepper <drepper@gmail.com>
23343
23344 [BZ #6812]
23345 * nscd/hstcache.c (tryagain): Define.
23346 (cache_addhst): Return tryagain not notfound for temporary errors.
23347 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
23348 failed.
23349
794c3ad3
UD
233502011-01-14 Ulrich Drepper <drepper@gmail.com>
23351
70181fdd
UD
23352 [BZ #10563]
23353 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
23354 to make the syscall.
23355 * sysdeps/unix/sysv/linux/setgroups.c: New file.
23356
794c3ad3
UD
23357 [BZ #12378]
23358 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
23359 and fall back to matching as normal character if the string ends before
23360 the matching ']' is found. This is what POSIX requires.
23361 * posix/testfnm.c: Adjust test result.
23362 * posix/globtest.sh: Adjust test result. Add new test.
23363 * posix/tst-fnmatch.input: Likewise.
23364 * posix/tst-fnmatch2.c: Add new test.
23365
68dc9497
AS
233662010-12-28 Andreas Schwab <schwab@linux-m68k.org>
23367
23368 * elf/Makefile (check-execstack): Revert last change. Depend on
23369 check-execstack.h.
23370 (check-execstack.h): New target.
23371 (generated): Add check-execstack.h.
23372 * elf/check-execstack.c: Include "check-execstack.h".
23373 (main): Revert last change.
23374 (handle_file): Return zero if GNU_STACK is absent and
23375 DEFAULT_STACK_PERMS doesn't include PF_X.
23376
451f001b
UD
233772011-01-13 Ulrich Drepper <drepper@gmail.com>
23378
cfa28e56
UD
23379 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
23380 in child fails because the descriptor is already closed.
8cf8ce17
UD
23381 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
23382 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
23383 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 23384
1086d70d
UD
23385 [BZ #12397]
23386 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
23387 syscall.
23388
451f001b
UD
23389 [BZ #10484]
23390 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
23391 temporary buffer used to handle multi lookups locally.
a85b5cb4 23392 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 23393
08769175
UD
233942011-01-12 Ulrich Drepper <drepper@gmail.com>
23395
23396 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
23397 loader is ld.so.
23398
5e49c52e
UD
233992011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
23400
23401 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
23402 alignment for SSE2.
23403
60522a5f
UD
234042011-01-12 Ulrich Drepper <drepper@gmail.com>
23405
23406 [BZ #12394]
23407 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
23408 characters. When rounding increased number of integer digits recompute
23409 number of groups.
23410 * stdio-common/tst-grouping.c: New file.
23411 * stdio-common/Makefile: Add rules to build and run tst-grouping.
23412
f257bbd7
UD
234132011-01-09 Ulrich Drepper <drepper@gmail.com>
23414
23415 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
23416 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
23417
23418 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
23419 void.
23420 * bits/select.h: Likewise.
23421
fa9c15cb
UD
234222011-01-08 Ulrich Drepper <drepper@gmail.com>
23423
23424 * po/ja.po: Update from translation team.
23425
16c2895f
DM
234262011-01-04 David S. Miller <davem@sunset.davemloft.net>
23427
23428 [BZ #11155]
23429 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
23430 implementation just like for lxstat, fxstatat, et al.
23431
2543fef2
JM
234322010-12-27 Jim Meyering <meyering@redhat.com>
23433
23434 [BZ #12348]
23435 * posix/regexec.c (build_trtable): Return failure indication upon
23436 calloc failure. Otherwise, re_search_internal could infloop on OOM.
23437
98727dbe
UD
234382010-12-25 Ulrich Drepper <drepper@gmail.com>
23439
5bd6dc5c
UD
23440 [BZ #12201]
23441 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
23442 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
23443 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
23444 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
23445
97983464
UD
23446 [BZ #12207]
23447 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
23448
98727dbe
UD
23449 [BZ #12204]
23450 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
23451 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
23452
4a531bb0
L
234532010-12-15 H.J. Lu <hongjiu.lu@intel.com>
23454
23455 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
23456 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
23457 script has SORT_BY_INIT_PRIORITY.
23458 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
23459 NO_CTORS_DTORS_SECTIONS is defined.
23460 * elf/soinit.c: Likewise.
23461 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
23462 NO_CTORS_DTORS_SECTIONS is defined.
23463 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
23464 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
23465 * sysdeps/sh/init-first.c: Likewise.
23466 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
23467
07eb4b71
UD
234682010-12-24 Ulrich Drepper <drepper@gmail.com>
23469
23470 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
23471 always use the slow path.
23472
30950a5f
RA
234732010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
23474
23475 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
23476 similar rule which adds the sysdep directories to the header search in
23477 order to pick up the correct platform stackinfo.h.
23478 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
23479 perform test if it is, otherwise return successfully without testing.
23480 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
23481 DEFAULT_STACK_PERMS define in stackinfo.h.
23482 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
23483 defined in stackinfo.h.
23484 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
23485 DEFAULT_STACK_PERMS defined in stackinfo.h.
23486 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
23487 * sysdeps/ia64/stackinfo.h: Likewise.
23488 * sysdeps/s390/stackinfo.h: Likewise.
23489 * sysdeps/sh/stackinfo.h: Likewise.
23490 * sysdeps/sparc/stackinfo.h: Likewise.
23491 * sysdeps/x86_64/stackinfo.h: Likewise.
23492 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
23493 PF_X for powerpc64. Retain PF_X for powerpc32.
23494
db753e2c
UD
234952010-12-19 Ulrich Drepper <drepper@gmail.com>
23496
14b697f7
UD
23497 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
23498 accurately.
db753e2c
UD
23499 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
23500 GETDENTS_64BIT_ALIGNED.
23501
28300719
UD
235022010-12-14 Ulrich Drepper <dreper@gmail.com>
23503
14b697f7 23504 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 23505
4f197237
AS
235062010-12-10 Andreas Schwab <schwab@redhat.com>
23507
dbb0472f
AS
23508 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
23509 _GNU_SOURCE.
23510
4f197237
AS
23511 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
23512 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
23513 Remove __restrict.
23514 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
23515 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
23516
fb88ac72
UD
235172010-12-09 Ulrich Drepper <drepper@gmail.com>
23518
23519 [BZ #11655]
23520 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
23521 are initialized.
23522
42acbb92
JJ
235232010-12-09 Jakub Jelinek <jakub@redhat.com>
23524
23525 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
23526
c038d98d
UD
235272010-12-03 Ulrich Drepper <drepper@gmail.com>
23528
23529 * po/it.po: Update from translation team.
23530
3a4a2499
L
235312010-12-01 H.J. Lu <hongjiu.lu@intel.com>
23532
23533 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
23534 unused codes.
23535
1e24cf6e
UD
235362010-11-30 Ulrich Drepper <drepper@gmail.com>
23537
23538 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
23539
a7690819
AS
235402010-11-24 Andreas Schwab <schwab@redhat.com>
23541
23542 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
23543 specially.
23544 (gaih_getanswer_slice): Likewise.
23545
3bf8d1b1
JJ
235462010-10-20 Jakub Jelinek <jakub@redhat.com>
23547
23548 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
23549
6db52fbb
PB
235502010-05-31 Petr Baudis <pasky@suse.cz>
23551
23552 [BZ #11149]
23553 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
23554 silently even in the chroot mode.
23555
eaca7569
UD
235562010-11-22 Ulrich Drepper <drepper@gmail.com>
23557
23558 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
23559 last patch a bit. Pretty printing
23560
3056dcdb
UD
235612010-05-31 Petr Baudis <pasky@suse.cz>
23562
23563 [BZ #10085]
23564 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
23565 initialization of skip_initgroups_dyn.
23566
cf7c9078
UD
235672010-11-19 Ulrich Drepper <drepper@gmail.com>
23568
23569 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
23570 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
23571
a1fb5e3e
UD
235722010-11-16 Ulrich Drepper <drepper@gmail.com>
23573
23574 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
23575
3540d66b
AS
235762010-11-11 Andreas Schwab <schwab@redhat.com>
23577
23578 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
23579 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
23580 (tst-fnmatch-ENV): Set MALLOC_TRACE.
23581 ($(objpfx)tst-fnmatch-mem): New rule.
23582 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
23583 * posix/tst-fnmatch.c (main): Call mtrace.
23584
13b69574
L
235852010-11-11 H.J. Lu <hongjiu.lu@intel.com>
23586
23587 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23588 Support Intel processor model 6 and model 0x2c.
23589
da93d214
LM
235902010-11-10 Luis Machado <luisgpm@br.ibm.com>
23591
23592 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
23593 signed comparison.
23594
8ca52c6e
L
235952010-11-09 H.J. Lu <hongjiu.lu@intel.com>
23596
23597 [BZ #12205]
23598 * string/test-strncasecmp.c (check_result): New function.
23599 (do_one_test): Use it.
23600 (check1): New function.
23601 (test_main): Use it.
23602 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
23603 Support strcasecmp and strncasecmp.
23604
69da074d
UD
236052010-11-08 Ulrich Drepper <drepper@gmail.com>
23606
23607 [BZ #12194]
23608 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
23609 * sysdeps/x86_64/bits/byteswap.h: Likewise.
23610
ff02d528
L
236112010-11-07 H.J. Lu <hongjiu.lu@intel.com>
23612
23613 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
23614 IFUNC support.
23615 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23616 memset-x86-64.
23617 * sysdeps/x86_64/multiarch/bzero.S: New file.
23618 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
23619 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
23620 * sysdeps/x86_64/multiarch/memset.S: New file.
23621 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
23622 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23623 Set bit_Prefer_SSE_for_memop for Intel processors.
23624 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
23625 Define.
23626 (index_Prefer_SSE_for_memop): Define.
23627 (HAS_PREFER_SSE_FOR_MEMOP): Define.
23628
344d0b54
LM
236292010-11-04 Luis Machado <luisgpm@br.ibm.com>
23630
23631 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
23632 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
23633
c0dde15b
UD
236342010-11-03 H.J. Lu <hongjiu.lu@intel.com>
23635
23636 [BZ #12191]
23637 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
23638 (__x86_64_raw_data_cache_size_half): Likewise.
23639 (__x86_64_raw_shared_cache_size): Likewise.
23640 (__x86_64_raw_shared_cache_size_half): Likewise.
23641
23642 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
23643 (__x86_64_raw_data_cache_size_half): Likewise.
23644 (__x86_64_raw_shared_cache_size): Likewise.
23645 (__x86_64_raw_shared_cache_size_half): Likewise.
23646 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
23647 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
23648 and __x86_64_raw_shared_cache_size_half. Round
23649 __x86_64_data_cache_size_half, __x86_64_data_cache_size
23650 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
23651 to multiple of 256 bytes.
23652
0e516e0e
MS
236532010-11-03 Ulrich Drepper <drepper@gmail.com>
23654
23655 [BZ #12167]
23656 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
23657 of inacessible symlinks. Verify result of symlink before returning it.
23658 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
23659 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
23660
0e012e87
ER
236612010-10-28 Erich Ritz <erichritz@gmail.com>
23662
23663 * math/math.h (isinf): Fix typo in comment.
23664
de0ff7bc
UD
236652010-11-01 Ulrich Drepper <drepper@gmail.com>
23666
23667 * po/da.po: Update from translation team.
23668
fa41c84d
UD
236692010-10-26 Ulrich Drepper <drepper@gmail.com>
23670
23671 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
23672 is added to the list.
23673
f0967738
AK
236742010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23675 Ulrich Drepper <drepper@gmail.com>
23676
23677 * elf/dl-object.c (_dl_new_object): Don't append the new object to
23678 the global list here. Move code to...
23679 (_dl_add_to_namespace_list): ...here. New function.
23680 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
23681 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
23682 * elf/dl-load.c (lose): Don't remove the element from the list.
23683 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
23684 (_dl_map_object): Likewise.
23685
236862010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
23687
23688 [BZ #12159]
23689 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
23690 into all bytes of SSE register.
23691 Patch by Richard Li <richardpku@gmail.com>.
23692
f0967738 236932010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
23694
23695 [BZ #12140]
23696 * malloc/malloc.c (_int_free): Fill correct number of bytes when
23697 perturbing.
23698
d0b9e94f
MB
236992010-10-20 Michael B. Brutman <brutman@us.ibm.com>
23700
23701 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
23702 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
23703 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
23704 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
23705 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
23706 submachine.
23707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
23708
8e9f92e9
AS
237092010-10-22 Andreas Schwab <schwab@redhat.com>
23710
23711 * include/dlfcn.h (__RTLD_SECURE): Define.
23712 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
23713 mode & __RTLD_SECURE instead.
23714 (open_path): Rename preloaded parameter to secure.
23715 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
23716 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
23717 * elf/dl-deps.c (openaux): Likewise.
23718 * elf/rtld.c (struct map_args): Remove is_preloaded.
23719 (map_doit): Don't use it.
23720 (dl_main): Likewise.
23721 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
23722 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
23723
bc96fbda
AS
237242010-09-09 Andreas Schwab <schwab@redhat.com>
23725
23726 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
23727 (sysd-rules-targets): Remove duplicates.
23728 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
23729 rtld-%.$o dependency.
23730
22cd1c9b
AS
237312010-10-18 Andreas Schwab <schwab@redhat.com>
23732
23733 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
23734 _dl_map_object do it.
23735
18edac48
UD
237362010-10-19 Ulrich Drepper <drepper@gmail.com>
23737
23738 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
23739 fast fma builtins, define the macros in the C99 standard.
23740 (FP_FAST_FMAF): Likewise.
23741 (FP_FAST_FMAL): Likewise.
23742 * sysdeps/x86_64/bits/mathdef.h: Likewise.
23743
23744 * bits/mathdef.h: Update copyright year.
23745 * sysdeps/powerpc/bits/mathdef.h: Likewise.
23746
d2050124
MM
237472010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
23748
23749 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
23750 builtins, define the macros in the C99 standard.
23751 (FP_FAST_FMAF): Likewise.
23752 (FP_FAST_FMAL): Likewise.
23753 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
23754 multiply/add.
23755 (FP_FAST_FMAF): Likewise.
23756
475facd1
JJ
237572010-10-15 Jakub Jelinek <jakub@redhat.com>
23758
23759 [BZ #3268]
23760 * math/libm-test.inc (fma_test): Some new testcases.
23761 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
23762 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
23763 y and infinite z. Do multiplication by C already in long double.
23764 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
23765 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
23766 y and infinite z. Do bitwise or of inexact bit into u.d.
23767 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
23768 * sysdeps/i386/fpu/s_fmaf.S: Removed.
23769 * sysdeps/i386/fpu/s_fma.S: Removed.
23770 * sysdeps/i386/fpu/s_fmal.S: Removed.
23771
7c08a05c
JJ
237722010-10-16 Jakub Jelinek <jakub@redhat.com>
23773
23774 [BZ #3268]
23775 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
23776 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
23777 computation is not scheduled after fetestexcept. Fix value
23778 of minimum denormal long double.
23779
f3f7372d
JJ
237802010-10-14 Jakub Jelinek <jakub@redhat.com>
23781
23782 [BZ #3268]
23783 * math/libm-test.inc (fma_test): Add some more tests.
23784 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
23785 correctly.
23786
14d43591
AS
237872010-10-15 Andreas Schwab <schwab@redhat.com>
23788
23789 * scripts/data/localplt-s390-linux-gnu.data: New file.
23790 * scripts/data/localplt-s390x-linux-gnu.data: New file.
23791
5e908464
JJ
237922010-10-13 Jakub Jelinek <jakub@redhat.com>
23793
23794 [BZ #3268]
23795 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
23796 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
23797 instead of dbl-64.
23798 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
23799 inlines.
23800 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
23801 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
23802 if one of x and y is very large and the other is subnormal.
23803 * sysdeps/s390/fpu/s_fmaf.c: New file.
23804 * sysdeps/s390/fpu/s_fma.c: New file.
23805 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
23806 * sysdeps/powerpc/fpu/s_fma.S: New file.
23807 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
23808 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
23809 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
23810
238112010-10-12 Jakub Jelinek <jakub@redhat.com>
23812
23813 [BZ #3268]
23814 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
23815 fma tests.
23816 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
23817 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
23818 * sysdeps/i386/i686/multiarch/s_fma.c: Include
23819 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
23820 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
23821 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
23822 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
23823
b833d51f
UD
238242010-10-12 Ulrich Drepper <drepper@redhat.com>
23825
23826 [BZ #12078]
23827 * posix/regcomp.c (parse_branch): One more memory leak plugged.
23828 * posix/bug-regex31.input: Add test case.
23829
1751705d
UD
238302010-10-11 Ulrich Drepper <drepper@gmail.com>
23831
e9b9cbf5
UD
23832 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
23833 * posix/bug-regex31.input: New file.
23834
23835 [BZ #12078]
23836 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
23837 (parse_sub_exp): Fix last change, use postorder.
23838
ef06edbe
UD
23839 * posix/bug-regex31.c: New file.
23840 * posix/Makefile: Add rules to build and run bug-regex31.
23841
a129c80d
UD
23842 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
23843
23844 [BZ #12078]
23845 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
23846
b76b818e
UD
23847 [BZ #12108]
23848 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
23849 to have entries in sys_siglist.
23850
1751705d
UD
23851 [BZ #12093]
23852 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
23853 be NULL.
23854
9ff8d36f
JJ
238552010-10-07 Jakub Jelinek <jakub@redhat.com>
23856
23857 [BZ #3268]
23858 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
23859 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
23860 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
23861 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
23862 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
23863 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
23864 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
23865 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
23866 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
23867 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
23868 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
23869 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
23870 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
23871 * math/ftestexcept.c (fetestexcept): Likewise.
23872 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
23873 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
23874 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
23875 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
23876 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
23877 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
23878 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
23879
af325969
UD
238802010-10-11 Ulrich Drepper <drepper@gmail.com>
23881
c579b202 23882 [BZ #12107]
af325969
UD
23883 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
23884 newline.
23885
67a67b95
UD
238862010-10-06 Ulrich Drepper <drepper@gmail.com>
23887
23888 * string/bug-strstr1.c: New file.
23889 * string/Makefile: Add rules to build and run bug-strstr1.
23890
5fb308bc
EB
238912010-10-05 Eric Blake <eblake@redhat.com>
23892
23893 [BZ #12092]
23894 * string/str-two-way.h (two_way_long_needle): Always clear memory
23895 when skipping input due to the shift table.
23896
45db99c7
UD
238972010-10-03 Ulrich Drepper <drepper@gmail.com>
23898
3b111893
UD
23899 [BZ #12005]
23900 * malloc/mcheck.c: Handle large requests.
23901
45db99c7
UD
23902 [BZ #12077]
23903 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
23904 for strncmp and strncasecmp.
23905 * string/stratcliff.c: Add tests for strcmp and strncmp.
23906 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
23907
cf7a1eb8
NI
239082010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
23909
23910 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
23911 __set_fpscr.
23912
6484ba5e
AJ
239132010-09-30 Andreas Jaeger <aj@suse.de>
23914
23915 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
23916 (CGROUP_SUPER_MAGIC): Define.
23917 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
23918 Handle btrfs and cgroup file systems.
23919 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
23920 Likewise.
23921
91c42559
LM
239222010-09-27 Luis Machado <luisgpm@br.ibm.com>
23923
23924 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
23925 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
23926
87a97932
AK
239272010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23928
23929 [BZ #12067]
23930 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
23931 trying to locate the ELF header.
23932
c21cc9bc
AS
239332010-09-27 Andreas Schwab <schwab@redhat.com>
23934
23935 [BZ #11611]
23936 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
23937 Mask out sign-bit copies when constructing f_fsid.
23938
315970f6
PB
239392010-09-24 Petr Baudis <pasky@suse.cz>
23940
23941 * debug/stack_chk_fail_local.c: Add missing licence exception.
23942 * debug/warning-nop.c: Likewise.
23943
1ac7a2c7
JM
239442010-09-15 Joseph Myers <joseph@codesourcery.com>
23945
23946 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
23947 implementing getdents64 using getdents syscall, set d_type if
23948 __ASSUME_GETDENTS32_D_TYPE.
23949
56801c50
AS
239502010-09-16 Andreas Schwab <schwab@redhat.com>
23951
23952 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
23953 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
23954
dda51327
UD
239552010-09-21 Ulrich Drepper <drepper@redhat.com>
23956
23957 [BZ #12037]
23958 * posix/unistd.h: Undo change of feature selection for ftruncate from
23959 2010-01-11.
23960
8ffcee4a
UD
239612010-09-20 Ulrich Drepper <drepper@redhat.com>
23962
a545ecd9 23963 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
23964 detection.
23965
e24f0a8b
AS
239662010-09-20 Andreas Schwab <schwab@redhat.com>
23967
23968 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
23969 fanotify_mark.
23970 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
23971
7291c56f
AS
239722010-09-14 Andreas Schwab <schwab@redhat.com>
23973
23974 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
23975 variables after CHECK_SP call.
23976 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
23977
bc5fb037
AS
239782010-09-13 Andreas Schwab <schwab@redhat.com>
23979 Ulrich Drepper <drepper@redhat.com>
23980
23981 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
23982 re-relocationg ld.so.
23983 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
23984 _dl_init_paths call.
23985 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
23986 here anymore.
23987
e66e7419
UD
239882010-09-14 Ulrich Drepper <drepper@redhat.com>
23989
23990 * resolv/res_init.c (__res_vinit): Count the default server we added.
23991
c044aa75
CLT
239922010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
23993 Ulrich Drepper <drepper@redhat.com>
23994
23995 [BZ #11968]
23996 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
23997 (____longjmp_chk): Use %ebx for saving value across system call.
23998 Add unwind info.
23999
32cf4069
AS
240002010-09-06 Andreas Schwab <schwab@redhat.com>
24001
24002 * manual/Makefile: Don't mix pattern rules with normal rules.
24003
817328ee
AS
240042010-09-05 Andreas Schwab <schwab@linux-m68k.org>
24005
24006 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
24007 operation.
24008 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
24009 * libio/iofopncook.c (_IO_cookie_init): Likewise.
24010 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
24011 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
24012 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
24013 Likewise.
24014
29fddf61
UD
240152010-09-04 Ulrich Drepper <drepper@redhat.com>
24016
24017 [BZ #11979]
24018 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
24019 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
24020
0959ffc9
UD
240212010-09-02 Ulrich Drepper <drepper@redhat.com>
24022
24023 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
24024 * sysdeps/x86_64/addmul_1.S: Likewise.
24025 * sysdeps/x86_64/lshift.S: Likewise.
24026 * sysdeps/x86_64/mul_1.S: Likewise.
24027 * sysdeps/x86_64/rshift.S: Likewise.
24028 * sysdeps/x86_64/sub_n.S: Likewise.
24029 * sysdeps/x86_64/submul_1.S: Likewise.
24030
ece29840
ST
240312010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
24032
0959ffc9
UD
24033 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
24034 Define __sched_param instead of SCHED_* and sched_param when
ece29840 24035 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 24036 * bits/sched.h [__need_schedparam]
ece29840 24037 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
24038 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
24039 (__defined_schedparam): Define to 1.
ece29840
ST
24040 (__sched_param): New structure, identical to sched_param.
24041 (__need_schedparam): Undefine.
24042
e53a31fe
MF
240432010-08-31 Mike Frysinger <vapier@gentoo.org>
24044
fdc0c10d
MF
24045 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
24046 (epoll_create1): Declare.
24047
e53a31fe
MF
24048 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
24049
a726d796
AS
240502010-08-31 Andreas Schwab <schwab@redhat.com>
24051
24052 [BZ #7066]
24053 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
24054 shifting retval into place.
24055
2f3e3dc7
UD
240562010-09-01 Ulrich Drepper <drepper@redhat.com>
24057
f2933da9
UD
24058 * nis/rpcsvc/nis.h: Update copyright notice.
24059 * nis/rpcsvc/nis.x: Likewise.
24060 * nis/rpcsvc/nis_callback.h: Likewise.
24061 * nis/rpcsvc/nis_callback.x: Likewise.
24062 * nis/rpcsvc/nis_object.x: Likewise.
24063 * nis/rpcsvc/nis_tags.h: Likewise.
24064 * nis/rpcsvc/yp.h: Likewise.
24065 * nis/rpcsvc/yp.x: Likewise.
24066 * nis/rpcsvc/ypupd.h: Likewise.
24067 * nis/yp_xdr.c: Likewise.
24068 * nis/ypupdate_xdr.c: Likewise.
24069
2f3e3dc7
UD
24070 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
24071 mainly the body of pmap_getport. Add parameters to specify timeouts.
24072 (pmap_getport): Use __libc_rpc_getport.
24073 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
24074 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
24075 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
24076
f3dcc2f9
AS
240772010-08-31 Andreas Schwab <schwab@linux-m68k.org>
24078
24079 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
24080 fanotify_mark.
24081
6d34eb5b
RM
240822010-08-27 Roland McGrath <roland@redhat.com>
24083
24084 * sysdeps/i386/i686/multiarch/Makefile
24085 (CFLAGS-varshift.c): New variable.
24086
9ea3de11
UD
240872010-08-27 Ulrich Drepper <drepper@redhat.com>
24088
c96d23fc
UD
24089 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
24090 * sysdeps/i386/i686/multiarch/varshift.c: New file.
24091
9ea3de11
UD
24092 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
24093
24094 * sysdeps/x86_64/strlen.S: Minimal code improvement.
24095
623aac7f
L
240962010-08-26 H.J. Lu <hongjiu.lu@intel.com>
24097
24098 * sysdeps/x86_64/strlen.S: Unroll the loop.
24099 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24100 strlen-sse2 strlen-sse2-bsf.
24101 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
24102 __strlen_no_bsf if bit_Slow_BSF is set.
24103 (__strlen_sse42): Removed.
24104 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
24105 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
24106
8b2b7715
RM
241072010-08-25 Roland McGrath <roland@redhat.com>
24108
24109 * sysdeps/x86_64/multiarch/varshift.S: File removed.
24110 * sysdeps/x86_64/multiarch/varshift.c: New file.
24111 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
24112 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
24113 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
24114 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
24115
e73015f2
L
241162010-08-25 H.J. Lu <hongjiu.lu@intel.com>
24117
24118 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24119 strlen-sse2 strlen-sse2-bsf.
24120 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
24121 __strlen_sse2_bsf if bit_Slow_BSF is unset.
24122 (__strlen_sse2): Removed.
24123 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
24124 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
24125 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
24126 bit_Slow_BSF for Atom.
24127 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
24128 (index_Slow_BSF): Define.
24129 (HAS_SLOW_BSF): Define.
24130
df24a73e
UD
241312010-08-25 Ulrich Drepper <drepper@redhat.com>
24132
24133 [BZ #10851]
24134 * resolv/res_init.c (__res_vinit): When no server address at all
24135 is given default to loopback.
24136
f2ac4868
RM
241372010-08-24 Roland McGrath <roland@redhat.com>
24138
09055553
RM
24139 * configure.in: Remove config-name.h generation.
24140 * configure: Regenerated.
24141 * config-name.in: File removed.
24142 * scripts/config-uname.sh: New file.
24143 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
24144 ($(objdir)config-name.h): New target.
24145
f2ac4868
RM
24146 * sunrpc/rpc_parse.h: Avoid nested comment.
24147
73f27d5e
RH
241482010-08-24 Richard Henderson <rth@redhat.com>
24149 Ulrich Drepper <drepper@redhat.com>
24150 H.J. Lu <hongjiu.lu@intel.com>
24151
24152 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
24153 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
24154 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
24155 Replace _mm_srli_si128 with __m128i_shift_right. Replace
24156 _mm_alignr_epi8 with _mm_loadu_si128.
24157 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
24158 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
24159 (__m128i_shift_right): Removed.
24160 * sysdeps/i386/i686/multiarch/varshift.h: New file.
24161 * sysdeps/i386/i686/multiarch/varshift.S: New file.
24162 * sysdeps/x86_64/multiarch/varshift.h: New file.
24163 * sysdeps/x86_64/multiarch/varshift.S: New file.
24164
84b9230c
MF
241652010-08-21 Mike Frysinger <vapier@gentoo.org>
24166
24167 * configure.in: Move assembler checks to before sysdep dir checking.
24168
9bbd0ddc
PB
241692010-08-20 Petr Baudis <pasky@suse.cz>
24170
24171 * LICENSES: Sync the sunrpc license.
24172
9da4bb31
UD
241732010-08-19 Ulrich Drepper <drepper@redhat.com>
24174
a7ab6ec8
UD
24175 * sunrpc/auth_des.c: Update copyright notice once again.
24176 * sunrpc/auth_none.c: Likewise.
24177 * sunrpc/auth_unix.c: Likewise.
24178 * sunrpc/authdes_prot.c: Likewise.
24179 * sunrpc/authuxprot.c: Likewise.
24180 * sunrpc/bindrsvprt.c: Likewise.
24181 * sunrpc/clnt_gen.c: Likewise.
24182 * sunrpc/clnt_perr.c: Likewise.
24183 * sunrpc/clnt_raw.c: Likewise.
24184 * sunrpc/clnt_simp.c: Likewise.
24185 * sunrpc/clnt_tcp.c: Likewise.
24186 * sunrpc/clnt_udp.c: Likewise.
24187 * sunrpc/clnt_unix.c: Likewise.
24188 * sunrpc/des_crypt.c: Likewise.
24189 * sunrpc/des_soft.c: Likewise.
24190 * sunrpc/get_myaddr.c: Likewise.
24191 * sunrpc/getrpcport.c: Likewise.
24192 * sunrpc/key_call.c: Likewise.
24193 * sunrpc/key_prot.c: Likewise.
24194 * sunrpc/openchild.c: Likewise.
24195 * sunrpc/pm_getmaps.c: Likewise.
24196 * sunrpc/pm_getport.c: Likewise.
24197 * sunrpc/pmap_clnt.c: Likewise.
24198 * sunrpc/pmap_prot.c: Likewise.
24199 * sunrpc/pmap_prot2.c: Likewise.
24200 * sunrpc/pmap_rmt.c: Likewise.
24201 * sunrpc/rpc/auth.h: Likewise.
24202 * sunrpc/rpc/auth_unix.h: Likewise.
24203 * sunrpc/rpc/clnt.h: Likewise.
24204 * sunrpc/rpc/des_crypt.h: Likewise.
24205 * sunrpc/rpc/key_prot.h: Likewise.
24206 * sunrpc/rpc/netdb.h: Likewise.
24207 * sunrpc/rpc/pmap_clnt.h: Likewise.
24208 * sunrpc/rpc/pmap_prot.h: Likewise.
24209 * sunrpc/rpc/pmap_rmt.h: Likewise.
24210 * sunrpc/rpc/rpc.h: Likewise.
24211 * sunrpc/rpc/rpc_des.h: Likewise.
24212 * sunrpc/rpc/rpc_msg.h: Likewise.
24213 * sunrpc/rpc/svc.h: Likewise.
24214 * sunrpc/rpc/svc_auth.h: Likewise.
24215 * sunrpc/rpc/types.h: Likewise.
24216 * sunrpc/rpc/xdr.h: Likewise.
24217 * sunrpc/rpc_clntout.c: Likewise.
24218 * sunrpc/rpc_cmsg.c: Likewise.
24219 * sunrpc/rpc_common.c: Likewise.
24220 * sunrpc/rpc_cout.c: Likewise.
24221 * sunrpc/rpc_dtable.c: Likewise.
24222 * sunrpc/rpc_hout.c: Likewise.
24223 * sunrpc/rpc_main.c: Likewise.
24224 * sunrpc/rpc_parse.c: Likewise.
24225 * sunrpc/rpc_parse.h: Likewise.
24226 * sunrpc/rpc_prot.c: Likewise.
24227 * sunrpc/rpc_sample.c: Likewise.
24228 * sunrpc/rpc_scan.c: Likewise.
24229 * sunrpc/rpc_scan.h: Likewise.
24230 * sunrpc/rpc_svcout.c: Likewise.
24231 * sunrpc/rpc_tblout.c: Likewise.
24232 * sunrpc/rpc_util.c: Likewise.
24233 * sunrpc/rpc_util.h: Likewise.
24234 * sunrpc/rpcinfo.c: Likewise.
24235 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
24236 * sunrpc/rpcsvc/key_prot.x: Likewise.
24237 * sunrpc/rpcsvc/klm_prot.x: Likewise.
24238 * sunrpc/rpcsvc/mount.x: Likewise.
24239 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
24240 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
24241 * sunrpc/rpcsvc/rex.x: Likewise.
24242 * sunrpc/rpcsvc/rstat.x: Likewise.
24243 * sunrpc/rpcsvc/rusers.x: Likewise.
24244 * sunrpc/rpcsvc/sm_inter.x: Likewise.
24245 * sunrpc/rpcsvc/spray.x: Likewise.
24246 * sunrpc/rpcsvc/yppasswd.x: Likewise.
24247 * sunrpc/rtime.c: Likewise.
24248 * sunrpc/svc.c: Likewise.
24249 * sunrpc/svc_auth.c: Likewise.
24250 * sunrpc/svc_authux.c: Likewise.
24251 * sunrpc/svc_raw.c: Likewise.
24252 * sunrpc/svc_run.c: Likewise.
24253 * sunrpc/svc_simple.c: Likewise.
24254 * sunrpc/svc_tcp.c: Likewise.
24255 * sunrpc/svc_udp.c: Likewise.
24256 * sunrpc/svc_unix.c: Likewise.
24257 * sunrpc/svcauth_des.c: Likewise.
24258 * sunrpc/xcrypt.c: Likewise.
24259 * sunrpc/xdr.c: Likewise.
24260 * sunrpc/xdr_array.c: Likewise.
24261 * sunrpc/xdr_float.c: Likewise.
24262 * sunrpc/xdr_mem.c: Likewise.
24263 * sunrpc/xdr_rec.c: Likewise.
24264 * sunrpc/xdr_ref.c: Likewise.
24265 * sunrpc/xdr_sizeof.c: Likewise.
24266 * sunrpc/xdr_stdio.c: Likewise.
24267
9da4bb31
UD
24268 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
24269 handling.
24270
bdaa77bc
AS
242712010-08-19 Andreas Schwab <schwab@redhat.com>
24272
24273 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
24274
fe2f79db
LM
242752010-08-19 Luis Machado <luisgpm@br.ibm.com>
24276
24277 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
24278 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
24279 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
24280 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
24281 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
24282 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
24283 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
24284 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
24285 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
24286 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
24287 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
24288 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
24289 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
24290 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
24291
b9b42ee0
AB
242922010-07-26 Anton Blanchard <anton@samba.org>
24293
24294 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
24295 * malloc/arena.c (heap_trim): Likewise.
24296
1c06ba31
UD
242972010-08-16 Ulrich Drepper <drepper@redhat.com>
24298
24299 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
24300 here. Not...
24301 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
24302 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
24303
f8392f40
L
243042010-08-12 H.J. Lu <hongjiu.lu@intel.com>
24305
24306 * sysdeps/i386/elf/Makefile: New file.
24307
3162f12e
AS
243082010-08-14 Andreas Schwab <schwab@linux-m68k.org>
24309
24310 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
24311 from fanotify_init.
24312 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
24313 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
24314
28c90b2c
UD
243152010-08-15 Ulrich Drepper <drepper@redhat.com>
24316
24317 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
24318 of strncasecmp_l.
1feccb6c 24319 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 24320
ca6bb004
UD
243212010-08-14 Ulrich Drepper <drepper@redhat.com>
24322
e9f82e0d
UD
24323 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
24324 strncase_l-nonascii.
24325 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
24326 Add strncase_l-ssse3.
24327 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
24328 * sysdeps/x86_64/strcmp.S: Likewise.
24329 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
24330 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
24331 * sysdeps/x86_64/strncase.S: New file.
24332 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
24333 * sysdeps/x86_64/strncase_l.S: New file.
24334 * string/Makefile (strop-tests): Add strncasecmp.
24335 * string/test-strncasecmp.c: New file.
24336
24337 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
24338 warning.
24339
ca6bb004
UD
24340 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
24341 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
24342
052fa7b3
AS
243432010-08-14 Andreas Schwab <schwab@linux-m68k.org>
24344
24345 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
24346
962dba78
UD
243472010-08-12 Ulrich Drepper <drepper@redhat.com>
24348
24349 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
24350 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
24351 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
24352
bebff237
AM
243532010-05-01 Alan Modra <amodra@gmail.com>
24354
24355 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
24356 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
24357 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
24358 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
24359 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
24360 tidying. Don't tail-call __sigjmp_save for static lib.
24361 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
24362 save location.
24363 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
24364 (CALL_MCOUNT): Add eh info, and nop after bl.
24365 (TAIL_CALL_SYSCALL_ERROR): New macro.
24366 (PSEUDO_RET): Use it.
24367 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
24368 Correct save location of integer regs and cr.
24369 (_dl_profile_resolve): Correct cr save location. Delete nops
24370 after bl when SHARED. Reduce cfi size a little by better
24371 placement of cfi directives.
24372 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
24373 make a stack frame. Instead use parm save area as a temp.
24374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
24375 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
24376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
24377 Don't make a stack frame for parent, use parm save area.
24378 Increase child stack frame to 112 bytes. Don't save unused reg,
24379 and adjust reg usage. Set up cfi on error recovery and
24380 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
24381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
24382 (__makecontext): Add dummy nop after jump to exit.
24383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
24384 Use correct parm save area and cr save, reduce stack frame.
24385 Correct cfi for possible PSEUDO_RET frame setup.
24386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
24387 Branch to local label emitted by PSEUDO_RET rather than
24388 __syscall_error.
24389
02637374
AS
243902010-08-12 Andreas Schwab <schwab@redhat.com>
24391
24392 [BZ #11904]
24393 * locale/programs/locale.c (print_assignment): New function.
24394 (show_locale_vars): Use it.
24395
c3e2f19b
UD
243962010-08-11 Ulrich Drepper <drepper@redhat.com>
24397
3cdaa6ad
UD
24398 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
24399 field.
24400 (struct statfs64): Likewise.
24401 (_STATFS_F_FLAGS): Define.
24402 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
24403 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
24404 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
24405 (ST_VALID): Define locally.
24406 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
24407 __statvfs_getflags, use the provided value.
24408 * sysdeps/unix/sysv/linux/kernel-features.h: Define
24409 __ASSUME_STATFS_F_FLAGS.
24410
754f7da3
UD
24411 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
24412
10b3bedc
UD
24413 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
24414 Add sys/fanotify.h.
24415 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
24416 fanotify_mask for GLIBC_2.13.
24417 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
24418 fanotify_init and fanotify_mark.
24419 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
24420 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
24421
c08fb0d7
UD
24422 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
24423 Add prlimit.
24424 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
24425 prlimit64 for GLIBC_2.13.
24426 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
24427 prlimit64.
24428 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
24429 syscall.
24430 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
24431 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
24432 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
24433 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
24434 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
24435 add prlimit alias.
24436 * sysdeps/unix/sysv/linux/prlimit.c: New file.
24437
15bac72b
UD
24438 [BZ #11903]
24439 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
24440 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
24441
c3e2f19b
UD
24442 * nss/Makefile: Add rules to build and run tst-nss-test1.
24443 * shlib-versions: Add entry for libnss_test1.
24444 * nss/nss_test1.c: New file.
24445 * nss/tst-nss-test1.c: New file.
24446
24447 * nss/nsswitch.c (__nss_database_custom): Define new variable.
24448 (__nss_configure_lookup): Set appropriate entry in
24449 __nss_configure_lookup to true.
24450 * nss/nsswitch.h: Define enum with indeces of databases in
24451 databases and __nss_database_custom arrays. Declare
24452 __nss_database_custom.
24453 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
24454 to avoid using nscd when custom rules are installed.
24455 * nss/getXXbyYY_r.c: Likewise.
24456 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
24457
24458 * nss/nss_files/files-parse.c: Whitespace fixes.
24459
f15ce4d8
UD
244602010-08-09 Ulrich Drepper <drepper@redhat.com>
24461
24462 [BZ #11883]
24463 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
24464 * posix/fnmatch_loop.c: Likewise.
24465
d22e4cc9
AK
244662010-07-17 Andi Kleen <ak@linux.intel.com>
24467
24468 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
24469 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
24470 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
24471 * Versions.def [GLIBC_2.13]: Add.
24472
805bc17d
UD
244732010-08-06 Ulrich Drepper <drepper@redhat.com>
24474
24475 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
24476 Also fail if tpwd after pwuid call is NULL.
24477
5a42321d
ST
244782010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
24479
24480 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
24481 when converting to ms.
24482
fd3ebeda
ST
244832010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
24484
24485 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
24486 EOPNOTSUPP errors with ENOTTY.
24487 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
24488 EOPNOTSUPP errors with ENOTTY.
24489
73507d3a
UD
244902010-07-31 Ulrich Drepper <drepper@redhat.com>
24491
24492 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
24493 Add strcasecmp_l-ssse3.
24494 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
24495 strcasecmp.
24496 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
24497 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
24498 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
24499
fe36dd02
UD
245002010-07-30 Ulrich Drepper <drepper@redhat.com>
24501
66f6765a
UD
24502 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
24503
42e08a54
UD
24504 * string/Makefile (strop-tests): Add strcasecmp.
24505 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
24506 strcasecmp_l-nonascii.
24507 (gen-as-const-headers): Add locale-defines.sym.
24508 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
24509 * sysdeps/x86_64/strcasecmp.S: New file.
24510 * sysdeps/x86_64/strcasecmp_l.S: New file.
24511 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
24512 * sysdeps/x86_64/locale-defines.sym: New file.
24513 * string/test-strcasecmp.c: New file.
24514
fe36dd02
UD
24515 * string/test-strcasestr.c: Test both ends of the range of characters.
24516 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
24517
48cbc0d6
RM
245182010-07-29 Roland McGrath <roland@redhat.com>
24519
76e6d6bc 24520 [BZ #11856]
48cbc0d6
RM
24521 * manual/locale.texi (Yes-or-No Questions): Fix example code.
24522
880113d9
UD
245232010-07-27 Ulrich Drepper <drepper@redhat.com>
24524
24525 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
24526 for ld.so.
24527
deb9cabb
AS
245282010-07-27 Andreas Schwab <schwab@redhat.com>
24529
24530 * manual/memory.texi (Malloc Tunable Parameters): Document
24531 M_PERTURB.
24532
1c7570ff
RM
245332010-07-26 Roland McGrath <roland@redhat.com>
24534
24535 [BZ #11840]
24536 * configure.in (-fgnu89-inline check): Set and substitute
24537 gnu89_inline, not libc_cv_gnu89_inline.
24538 * configure: Regenerated.
24539 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
24540
24fb0f88
UD
245412010-07-26 Ulrich Drepper <drepper@redhat.com>
24542
24543 * string/test-strnlen.c: New file.
24544 * string/Makefile (strop-tests): Add strnlen.
24545 * string/tester.c (test_strnlen): Add a few more test cases.
24546 * string/tst-strlen.c: Better error reporting.
24547
24548 * sysdeps/x86_64/strnlen.S: New file.
24549
8e96b93a
UD
245502010-07-24 Ulrich Drepper <drepper@redhat.com>
24551
24552 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
24553 lower-latency instructions.
24554
dbc676d4
UD
245552010-07-23 Ulrich Drepper <drepper@redhat.com>
24556
24557 * string/test-strcasestr.c: New file.
24558 * string/test-strstr.c: New file.
24559 * string/Makefile (strop-tests): Add strstr and strcasestr.
24560 * string/str-two-way.h: Don't undefine MAX.
24561 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
24562
f6a31e0e
AS
245632010-07-21 Andreas Schwab <schwab@redhat.com>
24564
24565 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24566 strcasestr-nonascii.
24567 (CFLAGS-strcasestr-nonascii.c): Define.
24568 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
24569 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
24570 Remove unused attribute.
24571
5dbc3b6c
RM
245722010-07-20 Roland McGrath <roland@redhat.com>
24573
24574 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
24575 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
24576 ld.so.cache was broken. With it, there is no way to disable dsocaps
24577 like LD_HWCAP_MASK can disable hwcaps.
24578
23d101d8
EPM
245792010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
24580
24581 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
24582
cc9f2e47
UD
245832010-07-16 Ulrich Drepper <drepper@redhat.com>
24584
24585 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
24586 call in strcasestr.
24587 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
24588 __strcasestr_sse42_nonascii.
24589 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
24590 strcasestr-nonascii.c.
24591 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
24592
77c1b069
LM
245932010-06-15 Luis Machado <luisgpm@br.ibm.com>
24594
24595 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
24596 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
24597 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
24598 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
24599
440566c3
UD
246002010-07-09 Ulrich Drepper <drepper@redhat.com>
24601
24602 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
24603 fcntl.
24604
5be9d05d
AS
246052010-07-06 Andreas Schwab <schwab@redhat.com>
24606
c30b7ee2 24607 [BZ #11577]
5be9d05d
AS
24608 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
24609 dl_signal_cerror.
24610
8a492a67
UD
246112010-07-06 Ulrich Drepper <drepper@redhat.com>
24612
24613 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
24614 _PC_PIPE_BUF using F_GETPIPE_SZ.
24615
713df3d5
RM
246162010-07-05 Roland McGrath <roland@redhat.com>
24617
24618 * manual/arith.texi (Rounding Functions): Fix rint description
24619 implicit in round description.
24620
702e8f14
UD
246212010-07-02 Ulrich Drepper <drepper@redhat.com>
24622
24623 * elf/Makefile: Fix linking for a few tests to make recent linker
24624 happy.
24625
52ed8be9
AS
246262010-06-30 Andreas Schwab <schwab@redhat.com>
24627
24628 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
24629 $(common-objpfx)libc_nonshared.a.
24630
f47c9a11
LM
246312010-06-21 Luis Machado <luisgpm@br.ibm.com>
24632
24633 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
24634 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
24635 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
24636 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
24637 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
24638 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
24639 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
24640 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
24641 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
24642 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
24643 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
24644 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
24645 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
24646 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
24647 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
24648 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
24649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
24650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
24651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
24652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
24653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
24654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
24655 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
24656 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
24657 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
24658 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
24659 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
24660 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
24661 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
24662 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
24663 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
24664 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
24665 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
24666 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
24667 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
24668 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
24669 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
24670 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
24671 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
24672 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
24673 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
24674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
24675 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
24676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
24677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
24678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
24679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
24680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
24681
6fb8cbcb
L
246822010-06-25 H.J. Lu <hongjiu.lu@intel.com>
24683
24684 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
24685 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
24686 * string/memmove.c (memmove): Renamed to ...
24687 (MEMMOVE): ...this. Default to memmove.
24688 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
24689 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
24690 (END_CHK): Define.
24691 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24692 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
24693 mempcpy-ssse3-back memmove-ssse3-back.
24694 * sysdeps/x86_64/multiarch/bcopy.S: New file .
24695 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
24696 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
24697 * sysdeps/x86_64/multiarch/memcpy.S: New file.
24698 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
24699 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
24700 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
24701 * sysdeps/x86_64/multiarch/memmove.c: New file.
24702 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
24703 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
24704 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
24705 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
24706 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
24707 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
24708 Define.
24709 (index_Fast_Copy_Backward): Define.
24710 (HAS_ARCH_FEATURE): Define.
24711 (HAS_FAST_REP_STRING): Define.
24712 (HAS_FAST_COPY_BACKWARD): Define.
24713
4e733bac 247142010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
24715
24716 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
24717 Restore proper fallback handling.
24718
63c4ed22
UD
247192010-06-19 Ulrich Drepper <drepper@redhat.com>
24720
ac2b484c
UD
24721 [BZ #11701]
24722 * posix/group_member.c (__group_member): Correct checking loop.
24723
63c4ed22
UD
24724 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
24725 OOM in getpwuid_r correctly. Return error number when the caller
24726 should return, otherwise -1.
24727 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
24728 call returning > 0 value.
24729 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
24730
765ade4b
AS
247312010-06-07 Andreas Schwab <schwab@redhat.com>
24732
24733 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
24734 libc_nonshared.a from targets in modules-names.
24735
80da2e09
KS
247362010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
24737
24738 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
24739 requires it.
24740
158db122
LM
247412010-06-10 Luis Machado <luisgpm@br.ibm.com>
24742
24743 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
24744 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
24745 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
24746 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
24747
caa78cf8
AS
247482010-06-02 Andreas Schwab <schwab@redhat.com>
24749
24750 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
24751
b2ef2c01
UD
247522010-06-14 Ulrich Drepper <drepper@redhat.com>
24753
24754 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
24755 and F_GETPIPE_SZ.
24756 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
24757 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
24758 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
24759 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24760 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
24761 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
24762
fbd643b6
RM
247632010-06-14 Roland McGrath <roland@redhat.com>
24764
24765 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
24766
f32f2869
JJ
247672010-06-07 Jakub Jelinek <jakub@redhat.com>
24768
24769 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
24770 __REDIRECT followed by __THROW.
24771 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
24772 * posix/getopt.h (getopt): Likewise.
24773
2a50c078
EPM
247742010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
24775
24776 * hurd/lookup-at.c (__file_name_lookup_at): Accept
24777 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
24778 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
24779 in AT_FLAGS.
24780 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
24781 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
24782
eb5ad2eb
LM
247832010-05-28 Luis Machado <luisgpm@br.ibm.com>
24784
24785 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
24786
3c88fe1e
L
247872010-05-26 H.J. Lu <hongjiu.lu@intel.com>
24788
24789 [BZ #11640]
24790 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24791 Properly check family and model.
24792
d2f73151
TY
247932010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
24794
24795 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
24796
ebd2e13d
LM
247972010-05-24 Luis Machado <luisgpm@br.ibm.com>
24798
24799 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
24800
b32b8b45
UD
248012010-05-21 Ulrich Drepper <drepper@redhat.com>
24802
24803 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
24804 symbol reference.
24805
9acbe24d
AS
248062010-05-19 Andreas Schwab <schwab@redhat.com>
24807
24808 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
24809 symbol reference.
24810
f0ccf6ea
AS
248112010-05-21 Andreas Schwab <schwab@redhat.com>
24812
3d04ff3a
AS
24813 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
24814 and internal_recvmmsg.
24815 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
24816 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
24817 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
24818 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
24819
f0ccf6ea
AS
24820 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
24821 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
24822 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
24823
5b08ac57
AS
248242010-05-20 Andreas Schwab <schwab@redhat.com>
24825
24826 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
24827
4828935d
LM
248282010-05-17 Luis Machado <luisgpm@br.ibm.com>
24829
24830 POWER7 optimizations.
24831 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
24832 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
24833
373d545e
UD
248342010-05-19 Ulrich Drepper <drepper@redhat.com>
24835
24836 * version.h: Update for 2.13 development version.
24837
21a2b1ae
AS
248382010-05-12 Andrew Stubbs <ams@codesourcery.com>
24839
24840 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
24841 exceptions. Return 0.
24842
3f7dcb2b
RM
248432010-05-07 Roland McGrath <roland@redhat.com>
24844
24845 * elf/ldconfig.c (main): Add a const.
24846
5f24d53a 248472010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 24848
a160f8d8
UD
24849 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
24850 (args_options): Add no-idn option.
24851 (ahosts_keys_int): Add idn_flags to ai_flags.
24852 (parse_option): Handle 'i' option to clear idn_flags.
24853
5f24d53a
UD
24854 * malloc/malloc.c (_int_free): Possible race in the most recently
24855 added check. Only act on the data if no current modification
24856 happened.
265bb1ce
UD
24857
24858See ChangeLog.17 for earlier changes.
This page took 3.079403 seconds and 5 git commands to generate.