]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Add more comments to _dl_load_cache_lookup().
[thirdparty/glibc.git] / ChangeLog
CommitLineData
b2d3c3be
CD
12013-02-08 Carlos O'Donell <carlos@redhat.com>
2
3 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
4 loaded if not already and that a failure is permanent.
5
b39949d2
CD
62013-02-08 Carlos O'Donell <carlos@redhat.com>
7
ddacd1db 8 [BZ #15006]
b39949d2
CD
9 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
10 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
11
b2c9eff4
JM
122013-02-08 Joseph Myers <joseph@codesourcery.com>
13
f3aae3f3
JM
14 [BZ #13550]
15 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
16 (CHECK_1_NULL_OK): Likewise.
17 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
18 (__fxstat): Do not use CHECK_1.
19 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
20 <bp-checks.h>.
21 (___fxstat64): Do not use CHECK_1.
22 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
23 <bp-checks.h>.
24 (__fxstatat): Do not use CHECK_1.
25 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
26 <bp-checks.h>.
27 (__fxstatat64): Do not use CHECK_1.
28 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
29 <bp-checks.h>.
30 (__fxstat): Do not use CHECK_1.
31 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
32 <bp-checks.h>.
33 (__fxstatat): Do not use CHECK_1.
34 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
35 <bp-checks.h>.
36 (__getresgid): Do not use CHECK_1.
37 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
38 <bp-checks.h>.
39 (__getresuid): Do not use CHECK_1.
40 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
41 <bp-checks.h>.
42 (__lxstat): Do not use CHECK_1.
43 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
44 <bp-checks.h>.
45 (__old_msgctl): Do not use CHECK_1.
46 (__new_msgctl): Likewise.
47 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
48 <bp-checks.h>.
49 (__new_setrlimit): Do not use CHECK_1.
50 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
51 <bp-checks.h>.
52 (__old_shmctl): Do not use CHECK_1.
53 (__new_shmctl): Likewise.
54 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
55 <bp-checks.h>.
56 (__xstat): Do not use CHECK_1.
57 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
58 (__lxstat): Do not use CHECK_1.
59 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
60 <bp-checks.h>.
61 (___lxstat64): Do not use CHECK_1.
62 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
63 (__old_msgctl): Do not use CHECK_1.
64 (__new_msgctl): Likewise.
65 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
66 <bp-checks.h>.
67 (__gettimeofday): Do not use CHECK_1.
68 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
69 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
70 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
71 <bp-checks.h>.
72 (__gettimeofday): Do not use CHECK_1.
73 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
74 (__old_shmctl): Do not use CHECK_1_NULL_OK.
75 (__new_shmctl): Do not use CHECK_1.
76 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
77 <bp-checks.h>.
78 (do_sigtimedwait): Do not use CHECK_1.
79 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
80 <bp-checks.h>.
81 (do_sigwaitinfo): Do not use CHECK_1.
82 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
83 <bp-checks.h>.
84 (msgctl): Do not use CHECK_1.
85 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
86 <bp-checks.h>.
87 (shmctl): Do not use CHECK_1.
88 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
89 (ustat): Do not use CHECK_1.
90 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
91 <bp-checks.h>.
92 (__fxstat): Do not use CHECK_1.
93 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
94 <bp-checks.h>.
95 (__fxstatat): Do not use CHECK_1.
96 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
97 <bp-checks.h>.
98 (__lxstat): Do not use CHECK_1.
99 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
100 <bp-checks.h>.
101 (__xstat): Do not use CHECK_1.
102 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
103 (__xstat): Do not use CHECK_1.
104 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
105 (___xstat64): Do not use CHECK_1.
106
b2c9eff4
JM
107 [BZ #13550]
108 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
109 definitions.
110 (CHECK_BOUNDS_HIGH): Likewise.
111 * string/strcpy.c: Do not include <bp-checks.h>.
112 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
113
f1d70dad
RM
1142013-02-07 Roland McGrath <roland@hack.frob.com>
115
116 * nscd/nscd-client.h (__nscd_drop_map_ref):
117 Add __attribute__ ((unused)).
118 * nis/nss-nisplus.h (niserr2nss): Likewise.
119
120 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
121 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
122
123 * csu/libc-tls.c (init_static_tls, init_slotinfo):
124 Remove inline keyword.
125 * include/rounding-mode.h (round_away): Likewise.
126 * libio/wfileops.c (adjust_wide_data): Likewise.
127 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
128 (__m128i_strloadu_tolower): Likewise.
129 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
130 (__m128i_strloadu_tolower): Likewise.
131 * time/mktime.c (ydhms_diff): Likewise.
132 * locale/elem-hash.h (elem_hash): Likewise.
133 * locale/setlocale.c (setdata): Likewise.
134 * posix/regex_internal.h (re_string_char_size_at): Likewise.
135 (re_string_wchar_at): Likewise.
136 (bitset_not, bitset_merge, bitset_mask): Likewise.
137 [!(__GNUC__ > 3)] (inline): Remove macro.
138 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
139 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
140 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
141 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
142 * string/memcmp.c (memcmp_bytes): Likewise.
143 * locale/programs/locarchive.c (compute_hashval): Likewise.
144 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
145 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
146 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
147 * nss/getent.c (print_rpc, print_protocols): Likewise.
148 (print_passwd, print_group, print_aliases): Likewise.
149 * nis/nss-nisplus.h (niserr2nss): Likewise.
150 * nscd/connections.c (restart_p): Likewise.
151 Change return type to bool.
152
eab55bfb
RM
1532013-02-05 Roland McGrath <roland@hack.frob.com>
154
7bd642f5
RM
155 * Makeconfig (all-Depend-files): Add existing
156 $(sorted-subdirs:=/Depend) files.
157 (all-subdirs): Remove nss.
158 * sysdeps/unix/inet/Subdirs: Add it here instead.
159 * hesiod/Depend: New file.
160
573c29b2
RM
161 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
162 instead of calling alloca.
163
b2e25af0
RM
164 * io/lseek.c (__lseek): Rename to __libc_lseek.
165 Define __lseek as an alias.
166
eab55bfb
RM
167 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
168
9a0d1941
CD
1692013-02-04 Carlos O'Donell <carlos@redhat.com>
170
171 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
172 else clause and remove check for non-standard endianness.
173
b83bbec4
DM
1742013-02-04 David S. Miller <davem@davemloft.net>
175
176 * sysdeps/sparc/fpu/libm-test-ulps: Update.
177
6277fdab
JM
1782013-02-04 Joseph Myers <joseph@codesourcery.com>
179
180 [BZ #13550]
181 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
182 (__ubp_memchr): Remove prototype.
183 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
184 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
185 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
186 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
187 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
188 Remove alias.
189 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
190 (__ubp_memchr): Likewise.
191 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
192 (__ubp_memchr): Likewise.
193 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
194 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
195 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
196 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
197 CHECK_STRING.
198 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
199 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
200 (__getcwd): Do not use CHECK_STRING.
201 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
202 <bp-checks.h>.
203 (__real_chown): Do not use CHECK_STRING.
204 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
205 <bp-checks.h>.
206 (fchownat): Do not use CHECK_STRING.
207 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
208 CHECK_STRING.
209 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
210 <bp-checks.h>.
211 (__lchown): Do not use CHECK_STRING.
212 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
213 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
214 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
215 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
216 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
217 include <bp-checks.h>.
218 (truncate64): Do not use CHECK_STRING.
219 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
220 <bp-checks.h>.
221 (__real_chown): Do not use CHECK_STRING.
222 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
223 <bp-checks.h>.
224 (__lchown): Do not use CHECK_STRING.
225 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
226 <bp-checks.h>.
227 (__chown): Do not use CHECK_STRING.
228 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
229 <bp-checks.h>.
230 (truncate64): Do not use CHECK_STRING.
231 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
232 Likewise.
233 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
234 (__xmknod): Do not use CHECK_STRING.
235 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
236 <bp-checks.h>.
237 (__xmknodat): Do not use CHECK_STRING.
238 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
239 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
240
903ae060
AS
2412013-02-04 Andreas Schwab <schwab@suse.de>
242
243 [BZ #14142]
244 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
245 * include/netdb.h: Likewise for h_errno.
246 * elf/tst-stackguard1.c: Include <tls.h>.
247
542f9466
JK
2482013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
249
250 * elf/link.h (struct link_map): Extend the l_addr comment.
251 * include/link.h (struct link_map): Likewise.
252
e782a927
JM
2532013-02-01 Joseph Myers <joseph@codesourcery.com>
254
255 [BZ #13550]
256 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
257 (BOUNDED_1): Remove macro.
258 * debug/backtrace.c: Don't include <bp-checks.h>.
259 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
260 (__backtrace): Likewise.
261 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
262 <bp-checks.h>.
263 (__backtrace): Don't use BOUNDED_1.
264 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
265 <bp-checks.h>.
266 (__backtrace): Don't use BOUNDED_1.
267 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
268 (__backtrace): Don't use BOUNDED_1.
269 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
270 (shmat): Don't use BOUNDED_N.
271
8cf28c5e
JM
2722013-01-31 Joseph Myers <joseph@codesourcery.com>
273
3a7ac8a0
JM
274 [BZ #13550]
275 * sysdeps/generic/bp-start.h: Remove file.
276 * csu/libc-start.c: Don't include <bp-start.h>.
277 (LIBC_START_MAIN): Set up __environ directly instead of using
278 INIT_ARGV_and_ENVIRON.
279 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
280 <bp-start.h>.
281
f3499f95
JM
282 [BZ #13550]
283 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
284 definitions.
285 (CHECK_FCNTL): Likewise.
286 (CHECK_N_PAGES): Likewise.
287
32a45bea
JM
288 [BZ #13550]
289 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
290 definitions.
291 (CHECK_SIGSET_NULL_OK): Likewise.
292 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
293 <bp-checks.h>.
294 (sigpending): Don't use CHECK_SIGSET.
295 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
296 <bp-checks.h>.
297 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
298 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
299 <bp-checks.h>.
300 (do_sigsuspend): Don't use CHECK_SIGSET.
301 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
302 use CHECK_SIGSET.
303 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
304 (do_sigwait): Don't use CHECK_SIGSET.
305 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
306 use CHECK_SIGSET.
307 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
308 include <bp-checks.h>.
309 (sigpending): Don't use CHECK_SIGSET.
310 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
311 include <bp-checks.h>.
312 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
313 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
314 <bp-checks.h>.
315 (sigpending): Don't use CHECK_SIGSET.
316 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
317 <bp-checks.h>.
318 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
319
2e8a5c8c
JM
320 [BZ #13550]
321 * sysdeps/generic/bp-semctl.h: Remove file.
322 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
323 <bp-checks.h> and <bp-semctl.h>.
324 (__old_semctl): Don't use CHECK_SEMCTL.
325 (__new_semctl): Likewise.
326 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
327 and <bp-semctl.h>.
328 (__old_semctl): Don't use CHECK_SEMCTL.
329 (__new_semctl): Likewise.
330 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
331 <bp-checks.h> and <bp-semctl.h>.
332 (__old_semctl): Don't use CHECK_SEMCTL.
333 (__new_semctl): Likewise.
334 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
335 <bp-checks.h> and <bp-semctl.h>.
336 (semctl): Don't use CHECK_SEMCTL.
337
c2d54929
JM
338 [BZ #13550]
339 * Makerules (elide-bp-thunks): Remove variable.
340 (elide-routines.oS): Don't use $(elide-bp-thunks).
341 (elide-routines.os): Likewise.
342 (elide-routines.o): Likewise.
343 (elide-routines.op): Likewise.
344 (elide-routines.og): Likewise.
345 (objects): Don't use $(bp-thunks).
346 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
347 include.
348 (common-generated): Do not add s-proto-bp.d.
349 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
350 (int): Likewise.
351 (typ): Likewise.
352 Do not generate makefile rules for bounded-pointer thunks.
353 * sysdeps/generic/bp-thunks.h: Remove file.
354 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
355 * sysdeps/unix/s-proto-bp.S: Likewise.
356
8cf28c5e
JM
357 [BZ #15062]
358 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
359 parts of result separately when argument is not close to line from
360 -i to i and one part of argument is small.
361 * math/k_casinhf.c (__kernel_casinhf): Likewise.
362 * math/k_casinhl.c (__kernel_casinhl): Likewise.
363 * math/libm-test.inc (cacos_test): Add more tests.
364 (casin_test): Likewise.
365 (casinh_test): Likewise.
366 * sysdeps/i386/fpu/libm-test-ulps: Update.
367 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
368
c4e33b8d
DM
3692013-01-31 David S. Miller <davem@davemloft.net>
370
371 * po/de.po: Update from translation team.
372
3b60b421
MK
3732013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
374
375 * time/tzfile.c: Include stdint.h for SIZE_MAX.
376
bb931195
TS
3772013-01-25 Thomas Schwinge <thomas@codesourcery.com>
378
b5a5da23
TS
379 * configure.in (_AC_PROG_CC_C89): New definition.
380 * configure: Regenerate.
381
bb931195
TS
382 * configure.in (AC_PROG_CPP): New definition.
383 * configure: Regenerate.
384
8c53a12c
JM
3852013-01-23 Joseph Myers <joseph@codesourcery.com>
386
387 * debug/tst-backtrace.h: New file.
388 * debug/tst-backtrace2.c: Include tst-backtrace.h.
389 (ret): Remove variable.
390 (x): Likewise.
391 (FAIL): Remove macro.
392 (NO_INLINE): Likewise.
393 (fn1): Use match function instead of strstr.
394 * debug/tst-backtrace3.c: Include tst-backtrace.h.
395 (ret): Remove variable.
396 (x): Likewise.
397 (FAIL): Remove macro.
398 (NO_INLINE): Likewise.
399 (fn): Use match function instead of strstr.
400 * debug/tst-backtrace4.c: Include tst-backtrace.h.
401 (ret): Remove variable.
402 (x): Likewise.
403 (FAIL): Remove macro.
404 (NO_INLINE): Likewise.
405 (handle_signal): Use match function instead of strstr.
406 * debug/tst-backtrace5.c: Include tst-backtrace.h.
407 (ret): Remove variable.
408 (x): Likewise.
409 (FAIL): Remove macro.
410 (NO_INLINE): Likewise.
411 (handle_signal): Use match function instead of strstr.
412
4858fa2a
RM
4132013-01-23 Roland McGrath <roland@hack.frob.com>
414
415 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
416
bae8e7f5
DM
4172013-01-23 David S. Miller <davem@davemloft.net>
418
419 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
420 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
421 argument of CAS if possible.
422 * sysdeps/sparc/sparc64/bits/atomic.h
423 (__arch_compare_and_exchange_val_32_acq): Likewise.
424 (__arch_compare_and_exchange_val_64_acq): Likewise.
425
9cbbc4ae
PT
4262013-01-23 Pino Toscano <toscano.pino@tiscali.it>
427
428 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
429 * sysdeps/posix/ulimit.c: ... this.
92a601b8 430 Include <limits.h>.
67b3f58c 431 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 432
5655a0b5
AC
4332013-01-23 Adam Conrad <adconrad@0c3.net>
434
435 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
436 (LDFLAGS-tst-array5): Likewise.
437
052aff95
JM
4382013-01-23 Joseph Myers <joseph@codesourcery.com>
439
440 [BZ #15036]
441 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
442 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
443 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
444 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
445
7c1e01aa
DM
4462013-01-21 David S. Miller <davem@davemloft.net>
447
448 * sysdeps/sparc/backtrace.c: New file.
449 * sysdeps/sparc/sparc32/backtrace.h: New file.
450 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
451 * sysdeps/sparc/sparc64/backtrace.h: New file.
452 * sysdeps/sparc/sparc64/backtrace.c: Delete.
453 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
454 -funwind-tables.
455
ab087e0a
AS
4562013-01-21 Andreas Schwab <schwab@suse.de>
457
458 [BZ #15020]
459 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
460 closed its stdout.
461
ed689c2f
AS
4622013-01-20 Andreas Schwab <schwab@linux-m68k.org>
463
464 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
465 "mpa2.h".
466 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
467
31d470ac
JM
4682013-01-18 Joseph Myers <joseph@codesourcery.com>
469 Mark Mitchell <mark@codesourcery.com>
470 Tom de Vries <tom@codesourcery.com>
471 Paul Pluzhnikov <ppluzhnikov@google.com>
472
473 * debug/tst-backtrace2.c: New file.
474 * debug/tst-backtrace3.c: Likewise.
475 * debug/tst-backtrace4.c: Likewise.
476 * debug/tst-backtrace5.c: Likewise.
477 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
478 (CFLAGS-tst-backtrace3.c): Likewise.
479 (CFLAGS-tst-backtrace4.c): Likewise.
480 (CFLAGS-tst-backtrace5.c): Likewise.
481 (LDFLAGS-tst-backtrace2): Likewise.
482 (LDFLAGS-tst-backtrace3): Likewise.
483 (LDFLAGS-tst-backtrace4): Likewise.
484 (LDFLAGS-tst-backtrace5): Likewise.
485 (tests): Add new tests tst-backtrace2, tst-backtrace3,
486 tst-backtrace4 and tst-backtrace5.
487
90567f30 4882013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
489 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
490
491 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
492 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
493 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
494 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
495 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
496 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
497 "+r" and remove output regs list as redundant. Add explicit inline
498 asm to specify register of return val to work around compiler codegen
499 bug. Remove (int) cast on return value. Add return type parameter to
500 use in macro so that this macro does not truncate return value for
501 64-bit values.
502 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
503 pass to INTERNAL_VSYSCALL_NCS.
504 (INLINE_VSYSCALL): Add 'long int' as return type to
505 INTERNAL_VSYSCALL_NCS macro invocation.
506 (INTERNAL_VSYSCALL): Add 'long int' as return type to
507 INTERNAL_VSYSCALL_NCS macro invocation.
508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
509
d3b9ea61
SP
5102013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
511
0b57daeb
SP
512 [BZ #14496]
513 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
514 Fix application of SIMD FP exception mask.
515
caa99d06
SP
516 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
517 mp_no from a power of two.
518 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
519 __mpexp_twomm1. Use __pow_mp.
520
d3b9ea61
SP
521 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
522 multiplication.
523
1dbaee3c
DM
5242013-01-17 David S. Miller <davem@davemloft.net>
525
526 * sysdeps/sparc/fpu/libm-test-ulps: Update.
527
728d7b43
JM
5282013-01-17 Joseph Myers <joseph@codesourcery.com>
529
530 [BZ #15023]
531 * include/complex.h: Condition contents on [!_COMPLEX_H].
532 (__kernel_casinhf): New prototype.
533 (__kernel_casinh): Likewise.
534 (__kernel_casinhl): Likewise.
535 * math/Makefile (libm_calls): Add k_casinh.
536 * math/k_casinh.c: New file.
537 * math/k_casinhf.c: Likewise.
538 * math/k_casinhl.c: Likewise.
539 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
540 finite nonzero arguments.
541 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
542 finite nonzero arguments.
543 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
544 finite nonzero arguments.
545 * math/s_casinh.c: Do not include <float.h>.
546 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
547 * math/s_casinhf.c: Do not include <float.h>.
548 (__casinhf): Move code for finite nonzero arguments to
549 k_casinhf.c.
550 * math/s_casinhl.c: Do not include <float.h>.
551 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
552 redefine.
553 (__casinhl): Move code for finite nonzero arguments to
554 k_casinhl.c.
555 * math/libm-test.inc (cacos_test): Add more tests.
556 * sysdeps/i386/fpu/libm-test-ulps: Update.
557 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
558
2a26ef3a
PT
5592013-01-17 Pino Toscano <toscano.pino@tiscali.it>
560
561 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
562 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
563 [!HAVE_MREMAP]: Remove [defined linux] case.
564 * malloc/arena.c: Do not include <malloc-sysdep.h>.
565
a897655d
SP
5662013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
567
568 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
569
881ebe89 5702013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
571
572 * elf/elf.h (R_386_SIZE32): New relocation.
573 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
574 R_386_SIZE32.
575 (elf_machine_rela): Likewise.
576 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
577 R_X86_64_SIZE64 and R_X86_64_SIZE32.
578
59981e9b
JM
5792013-01-17 Joseph Myers <joseph@codesourcery.com>
580
581 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
582 (FP_FAST_FMA): Do not define.
583 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
584 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
585 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
586 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
587 !_SOFT_FLOAT]: Likewise.
588 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
589 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
590 value.
591 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
592 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
593 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
594 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
595 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
596 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
597 file.
598
cfa8054f
AS
5992013-01-16 Andreas Schwab <schwab@suse.de>
600
601 [BZ #14327]
602 * include/stdlib.h (__mktemp): Add declaration.
603 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
604 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
605
dd930cc5
SP
6062013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
607
881ebe89
SP
608 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
609 definitions.
610 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
611 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
612 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
613 definitions here.
614 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
615 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
616 definitions.
617 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
618 and ONE.
619 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
620 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
621 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
622 definitions.
623 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
624 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
625 definitions.
626 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 627
dd930cc5
SP
628 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
629
c19a9f89
DM
6302013-01-15 David S. Miller <davem@davemloft.net>
631
1aa61767
DM
632 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
633 trunc{,f} to libm-sysdep_routes.
634 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
635 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
636 file.
637 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
638 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
639 file.
640 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
641 file.
642 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
643 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
644 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
645 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
646 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
647 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
648 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
649 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
650
c42d5e98
DM
651 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
652 nearbyint{,f} to libm-sysdep_routes.
653 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
654 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
655 New file.
656 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
657 file.
658 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
659 New file.
660 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
661 file.
662 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
663 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
664 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
665 file.
666 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
667 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
668 file.
669 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
670 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
671 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
672
c19a9f89
DM
673 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
674 libc_feholdexcept and libc_fesetenv.
675
357679d2
MF
6762013-01-15 Mike Frysinger <vapier@gentoo.org>
677
678 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
679
65a82e3d
DM
6802013-01-14 David S. Miller <davem@davemloft.net>
681
8b954ab9
DM
682 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
683 (SPARC_ASM_VIS2_IFUNC): Likewise.
684 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
685 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
686 use of 'siam' instruction.
687 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
688 Likewise.
689 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
690 Likewise.
691 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
692 Likewise.
693 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
694 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
695 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
696 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
697 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
698 file.
699 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
700 file.
701 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
702 file.
703 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
704 file.
705 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
706 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
707 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
708 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
709 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
710 new VIS2 routines.
711 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
712 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
713 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
714 Likewise.
715 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
716 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
717 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
718 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
719 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
720 routines to libm-sysdep_routines.
721 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
722
65a82e3d
DM
723 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
724 fdim/fdimf to libm-sysdep_routines.
725 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
726 file.
727 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
728 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
729 file.
730 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
731 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
732 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
733 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
734 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
735 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
736 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
737
e34ab705
SP
7382013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
739
2a91b573
SP
740 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
741 to optimize copies.
742
1066a534
SP
743 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
744 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
745 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
746
e34ab705
SP
747 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
748 local variable MPTWO.
749 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
750 Likewise.
751
aba5e596
MF
7522013-01-13 Mike Frysinger <vapier@gentoo.org>
753
754 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
755 GLOB_NOESCAPE.
756
e557e9e5
MF
7572013-01-13 Mike Frysinger <vapier@gentoo.org>
758
759 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
760
0428cec9
MF
7612013-01-13 Mike Frysinger <vapier@gentoo.org>
762
763 * manual/pattern.texi (glob_t): Document gl_flags.
764 (glob64_t): Likewise.
765
8794a964
DM
7662013-01-11 David S. Miller <davem@davemloft.net>
767
66438c3f
RM
768 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
769 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
770 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
771 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
772 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
773 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
774 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
775 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
776 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
777 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
778 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
779 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
780 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
781
4ae4244d
DM
782 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
783 sparc V9 rather than using V8 code.
784 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
785 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
786
8794a964
DM
787 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
788 Move to...
789 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
790 Here.
791
6270516e
RM
7922013-01-11 Roland McGrath <roland@hack.frob.com>
793
794 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
795 not in the main loop.
796 * configure: Regenerated.
797
6a57d931
JM
7982013-01-11 Joseph Myers <joseph@codesourcery.com>
799
800 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
801 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
802 to just #else.
803 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
804 [!__GLIBC_HAVE_LONG_LONG] case.
805 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
806 condition to just #else.
807 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
808 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
809 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
810 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
811 unconditional.
812 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
813 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
814 #elif condition to just #else.
815 * sysdeps/unix/sysv/linux/sys/sysmacros.h
816 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
817 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
818 #elif condition to just #else.
819
0e8529e9
SE
8202013-01-11 Steve Ellcey <sellcey@mips.com>
821
822 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
823 (EF_MIPS_ARCH_64): Fix value.
824 (EF_MIPS_ARCH_32R2): New.
825 (EF_MIPS_ARCH_64R2): New.
826
740b3dbe
L
8272013-01-11 H.J. Lu <hongjiu.lu@intel.com>
828
829 * Makeconfig (+link-pie-before-libc): New.
830 (+link-pie-after-libc): Likewise.
831 (+link-pie-tests): Likewise.
832 (+link-pie): Rewritten.
833 (link-before-libc): Remove $(config-LDFLAGS).
834 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
835 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
836 (config-LDFLAGS): Renamed to ...
837 (rtld-LDFLAGS): This.
838 (rtld-tests-LDFLAGS): New macro.
839 (link-libc-rpath-link): Likewise.
840 (link-libc-tests-rpath-link): Likewise.
841 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
842 (link-libc): Prepand $(link-libc-rpath-link).
843 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
844 (test-program-prefix): New macro.
845 (test-via-rtld-prefix): Likewise.
846 (test-program-cmd): Likewise.
847 (host-test-program-cmd): Likewise.
848 * Makefile ($(common-objpfx)testrun.sh): Replace
849 $(run-program-prefix) with $(test-program-prefix).
850 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
851 $(rtld-LDFLAGS).
852 ($(common-objpfx)shlib.lds): Likewise.
853 (build-module-helper): Likewise.
854 ($(common-objpfx)format.lds): Likewise.
855 * Rules (binaries-pie-tests): New.
856 (binaries-pie-notests): Likewise.
857 (binaries-pie): Rewritten.
858 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
859 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
860 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
861 (make-test-out): Replace $(host-built-program-cmd) with
862 $(host-test-program-cmd).
863 * config.make.in (build-hardcoded-path-in-tests): New variable.
864 * configure.in (--enable-hardcoded-path-in-tests): New configure
865 option.
866 (hardcoded_path_in_tests): New AC_SUBST.
867 * configure: Regenerated.
868 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
869 $(built-program-cmd) with $(test-program-cmd).
870 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
871 (test_program_cmd): This.
872 * elf/Makefile ($(objpfx)order.out): Run test with
873 $(test-program-prefix).
874 ($(objpfx)order2.out): Likewise.
875 ($(objpfx)tst-initorder.out): Likewise.
876 ($(objpfx)tst-initorder2.out): Likewise.
877 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
878 $(test-program-cmd).
879 ($(objpfx)tst-array1-static.out): Likewise.
880 ($(objpfx)tst-array2.out): Likewise.
881 ($(objpfx)tst-array3.out): Likewise.
882 ($(objpfx)tst-array4.out): Likewise.
883 ($(objpfx)tst-array5.out): Likewise.
884 ($(objpfx)tst-array5-static.out): Likewise.
885 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
886 $(test-program-cmd).
887 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
888 $(run-program-prefix) with $(test-program-prefix).
889 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
890 (test_program_prefix): This.
891 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
892 $(run-program-prefix) with $(test-program-prefix).
893 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
894 (test_program_prefix): This.
895 * iconvdata/tst-tables.sh: Likewise.
896 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
897 $(run-program-prefix) with $(test-program-prefix).
898 ($(objpfx)tst-translit.out): Likewise.
899 ($(objpfx)tst-gettext2.out): Likewise.
900 ($(objpfx)tst-gettext4.out): Likewise.
901 ($(objpfx)tst-gettext6.out): Likewise.
902 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
903 (test_program_prefix): This.
904 * intl/tst-gettext2.sh: Likewise.
905 * intl/tst-gettext4.sh Likewise.
906 * intl/tst-gettext6.sh: Likewise.
907 * intl/tst-translit.sh: Likewise.
908 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
909 with $(test-program-cmd).
910 * libio/Makefile ($(objpfx)test-freopen.out): Replace
911 $(run-program-prefix) with $(test-program-prefix).
912 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
913 (test_program_prefix): This.
914 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
915 $(run-program-prefix) with $(test-program-prefix).
916 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
917 (test_program_prefix): This.
918 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
919 * posix/Makefile ($(objpfx)globtest.out): Replace
920 $(run-via-rtld-prefix) and $(test-wrapper) with
921 $(test-program-prefix) and $(test-via-rtld-prefix).
922 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
923 $(test-program-prefix).
924 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
925 $(host-test-program-cmd).
926 (tst-spawn-ARGS): Likewise.
927 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
928 $(test-program-prefix).
929 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
930 (test_via_rtld_prefix): This.
931 (test_wrapper): Renamed to ...
932 (test_program_prefix): This.
933 (run_program_prefix): Replaced by test_program_prefix.
934 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
935 (test_program_prefix): This.
936 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
937 with $(host-test-program-cmd).
938 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
939 $(run-program-prefix) with $(test-program-prefix).
940 ($(objpfx)tst-printf.out): Likewise.
941 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
942 $(test-program-cmd).
943 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
944 (test_program_prefix): This.
945 * stdio-common/tst-unbputc.sh: Likewise.
946 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
947 $(run-program-prefix) with $(test-program-prefix).
948 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
949 (test_program_prefix): This.
950 * string/Makefile ($(objpfx)tst-svc.out): Replace
951 $(built-program-cmd) with $(test-program-cmd).
952
c6fe55cf
AJ
9532013-01-11 Andreas Jaeger <aj@suse.de>
954
955 [BZ #15003]
956 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
957 value. Sync with Linux 3.7.
958
9e6919c8
DM
9592013-01-10 David S. Miller <davem@davemloft.net>
960
961 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
962 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
963 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
964
1c9f1a02
RM
9652013-01-10 Roland McGrath <roland@hack.frob.com>
966
967 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
968 never set.
969 * configure: Regenerated.
970
b9de2dde
DM
9712013-01-10 David S. Miller <davem@davemloft.net>
972
973 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
974 sparc V9 rather than using V8 code.
975 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
976 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
977
e7f68ef4
RM
9782013-01-10 Roland McGrath <roland@hack.frob.com>
979
980 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
981 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
982 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
983 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
984 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
985 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
986 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
987 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
988 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
989 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
990 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
991 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
992 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
993 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
994 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
995 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
996 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
997 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
998 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
999 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
1000 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
1001 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
1002 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
1003 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
1004 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
1005 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
1006 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
1007
5a47cc9c
DM
10082013-01-10 David S. Miller <davem@davemloft.net>
1009
1010 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1011
4cf8f209
L
10122013-01-10 H.J. Lu <hongjiu.lu@intel.com>
1013
1014 * posix/Makefile (tests-static): New variable.
1015 (tests): Add $(tests-static).
1016 (tst-exec-static-ARGS): New variable.
1017 (tst-spawn-static-ARGS): Likewise.
1018 * posix/tst-exec-static.c: New file.
1019 * posix/tst-spawn-static.c: Likewise.
1020 * posix/tst-exec.c: Support run directly.
1021 * posix/tst-spawn.c: Likewise.
1022
fed0faa1
JM
10232013-01-10 Joseph Myers <joseph@codesourcery.com>
1024
828beb13
JM
1025 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
1026 long.
1027 * math/bits/mathcalls.h (llrint): Likewise.
1028 (llround): Likewise.
1029 * stdlib/stdlib.h (struct drand48_data): Likewise.
1030 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
1031 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
1032 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
1033 Likewise.
1034 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
1035 Likewise.
1036 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
1037 (elf_greg_t): Likewise.
1038 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
1039 (__jmp_buf): Likewise.
1040 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
1041 definitions.
1042 (llrint): Likewise, for all definitions.
1043 (llrintl): Likewise.
1044
fed0faa1
JM
1045 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
1046 Remove [__GNUC__] condition.
1047 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
1048 condition to just [__USE_ISOC99].
1049 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
1050
1a20cb20
L
10512013-01-10 H.J. Lu <hongjiu.lu@intel.com>
1052
1053 [BZ #14200]
1054 * sysdeps/unix/sysv/linux/x86/bits/environments.h
1055 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
1056 defined.
1057 (_POSIX_V6_ILP32_OFF32): Likewise.
1058 (_XBS5_ILP32_OFF32): Likewise.
1059 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
1060 (__ILP32_OFFBIG_LDFLAGS): Likewise.
1061
751b85f7
SP
10622013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1063
7490eb81
SP
1064 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
1065
751b85f7
SP
1066 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
1067 doubles __mpexp_twomm1. Adjust usage.
1068 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
1069 Remove.
1070
988197f0
AS
10712013-01-10 Andreas Schwab <schwab@suse.de>
1072
1073 [BZ #14964]
1074 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
1075 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
1076
e83d7298
DM
10772013-01-09 David S. Miller <davem@davemloft.net>
1078
034ed64b 1079 [BZ #15003]
e83d7298
DM
1080 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
1081 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
1082 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
1083 TCP_FASTOPEN): Define.
1084 (tcp_repair_opt): New structure.
1085 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
1086 enum values.
1087 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
1088 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
1089 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
1090 (tcp_cookie_transactions): New structure.
1091
d5e0b9bd
AB
10922013-01-09 Anton Blanchard <anton@samba.org>
1093
1094 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
1095 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
1096 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
1097 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
1098
0c07e3ea
JM
10992013-01-09 Joseph Myers <joseph@codesourcery.com>
1100
1101 * include/features.h (__USE_ANSI): Remove.
1102
232f7002
RM
11032013-01-09 Roland McGrath <roland@hack.frob.com>
1104
ad98e30c
RM
1105 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
1106
232f7002
RM
1107 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
1108
950c99ca
SP
11092013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
1110
b5792741
SP
1111 * sysdeps/s390/fpu/libm-test-ulps: Update.
1112
47cf2278
SP
1113 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1114
950c99ca
SP
1115 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
1116 (__acr): Likewise.
1117 (__cpy): Likewise.
1118 (norm): Likewise.
1119 (denorm): Likewise.
1120 (__mp_dbl): Likewise.
1121 (__dbl_mp): Likewise.
1122 (add_magnitudes): Likewise.
1123 (sub_magnitudes): Likewise.
1124 (__add): Likewise.
1125 (__sub): Likewise.
1126 (__mul): Likewise.
1127 (__inv): Likewise.
1128 (__dvd): Likewise.
1129 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
1130 (__acr): Likewise.
1131 (__cpy): Likewise.
1132 (norm): Likewise.
1133 (denorm): Likewise.
1134 (__mp_dbl): Likewise.
1135 (__dbl_mp): Likewise.
1136 (add_magnitudes): Likewise.
1137 (sub_magnitudes): Likewise.
1138 (__add): Likewise.
1139 (__sub): Likewise.
1140 (__mul): Likewise.
1141 (__inv): Likewise.
1142 (__dvd): Likewise.
1143 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
1144 (__acr): Likewise.
1145 (__cpy): Likewise.
1146 (norm): Likewise.
1147 (denorm): Likewise.
1148 (__mp_dbl): Likewise.
1149 (__dbl_mp): Likewise.
1150 (add_magnitudes): Likewise.
1151 (sub_magnitudes): Likewise.
1152 (__add): Likewise.
1153 (__sub): Likewise.
1154 (__mul): Likewise.
1155 (__inv): Likewise.
1156 (__dvd): Likewise.
1157
eede9df9
JM
11582013-01-08 Joseph Myers <joseph@codesourcery.com>
1159
1160 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
1161 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
1162 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
1163 2 && __USE_EXTERN_INLINES]: Likewise.
1164
c40ea3d9
AJ
11652013-01-08 Andreas Jaeger <aj@suse.de>
1166
1167 [BZ# 14985]
1168 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
1169 Remove.
1170 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
1171 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
1172
2ccdea26
AB
11732013-01-07 Anton Blanchard <anton@samba.org>
1174
1175 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
1176 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
1177 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
1178 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
1179 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
1180 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
1181 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
1182 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
1183 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
1184 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
1185 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
1186 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
1187 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
1188 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
1189 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
1190 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
1191 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
1192 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
1193 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
1194 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
1195 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
1196 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
1197 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
1198 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
1199 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
1200 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
1201 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
1202 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
1203 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
1204 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
1205 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
1206 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
1207 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
1208 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
1209 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
1210 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
1211 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
1212 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
1213 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
1214 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
1215 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
1216 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
1217 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
1218
a9708fed
JM
12192013-01-07 Joseph Myers <joseph@codesourcery.com>
1220
375607b9
JM
1221 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
1222 (__MALLOC_PMT): Likewise.
1223 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
1224 [__GNUC__], only on [_LIBC].
1225 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
1226 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
1227 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
1228 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
1229 forward declaration.
1230 (realloc_hook_ini): Likewise.
1231 (memalign_hook_ini): Likewise.
1232 (__libc_memalign): Do not use __MALLOC_PMT in variable
1233 declaration.
1234 (__libc_valloc): Likewise.
1235 (__libc_pvalloc): Likewise.
1236 (__libc_calloc): Likewise.
1237 (__posix_memalign): Likewise.
1238
a9708fed
JM
1239 [BZ #14996]
1240 * math/s_casinh.c: Include <float.h>.
1241 (__casinh): Do not do computation with squaring and square root
1242 for large arguments.
1243 * math/s_casinhf.c: Include <float.h>.
1244 (__casinhf): Do not do computation with squaring and square root
1245 for large arguments.
1246 * math/s_casinhl.c: Include <float.h>.
1247 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
1248 (__casinhl): Do not do computation with squaring and square root
1249 for large arguments.
1250 * math/libm-test.inc (casin_test): Add more tests.
1251 (casinh_test): Likewise.
1252 * sysdeps/i386/fpu/libm-test-ulps: Update.
1253 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1254
afec409a
L
12552013-01-04 H.J. Lu <hongjiu.lu@intel.com>
1256
1257 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
1258 (__x86_64_raw_data_cache_size): Likewise.
1259 (__x86_64_data_cache_size_half): Likewise.
1260 (__x86_64_raw_data_cache_size_half): Likewise.
1261 (__x86_64_shared_cache_size): Likewise.
1262 (__x86_64_raw_shared_cache_size): Likewise.
1263 (__x86_64_shared_cache_size_half): Likewise.
1264 (__x86_64_raw_shared_cache_size_half): Likewise.
1265 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
1266 to ...
1267 (__x86_data_cache_size): This.
1268 (__x86_64_raw_data_cache_size): Renamed to ...
1269 (__x86_raw_data_cache_size): This.
1270 (__x86_64_data_cache_size_half): Renamed to ...
1271 (__x86_data_cache_size_half): This.
1272 (__x86_64_raw_data_cache_size_half): Renamed to ...
1273 (__x86_raw_data_cache_size_half): This.
1274 (__x86_64_shared_cache_size): Renamed to ...
1275 (__x86_shared_cache_size): This.
1276 (__x86_64_raw_shared_cache_size): Renamed to ...
1277 (__x86_raw_shared_cache_size): This.
1278 (__x86_64_shared_cache_size_half): Renamed to ...
1279 (__x86_shared_cache_size_half): This.
1280 (__x86_64_raw_shared_cache_size_half): Renamed to ...
1281 (__x86_raw_shared_cache_size_half): This.
1282 * sysdeps/x86_64/memcpy.S: Updated.
1283 * sysdeps/x86_64/memset.S: Likewise.
1284 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
1285 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
1286 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
1287
0b3986d0
DM
12882013-01-04 David S. Miller <davem@davemloft.net>
1289
1290 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1291
e47686e9
AS
12922013-01-04 Andreas Schwab <schwab@linux-m68k.org>
1293
d643bac1
AS
1294 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
1295 1 to avoid redefinition warning.
1296 (__USE_GNU): Don't define.
1297 (init_signaling_nan): Protoize.
1298
e47686e9
AS
1299 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1300
b18decba
SP
13012013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1302
fffb407f
SP
1303 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
1304 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
1305 (__cpymn): Likewise.
1306 (norm): Remove commented code.
1307 (denorm): Likewise.
1308 (__mp_dbl): Likewise.
1309 (__inv): Likewise.
1310 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
1311 (__cpymn): Likewise.
1312 (norm): Remove commented code.
1313 (denorm): Likewise.
1314 (__mp_dbl): Likewise.
1315 (__inv): Likewise.
1316
b18decba
SP
1317 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
1318 mp_no value for 1.0 and 2.0.
1319 (norm): Use RADIXI instead of radixi.d.
1320 (denorm): Likewise.
1321 (__mul): Use 0.0 instead of zero.d.
1322 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
1323 mp_no value for 1.0 and 2.0.
1324 (norm): Use RADIXI instead of radixi.d.
1325 (denorm): Likewise.
1326 (__mul): Use 0.0 instead of zero.d.
1327
cdc1c96f
JM
13282013-01-04 Joseph Myers <joseph@codesourcery.com>
1329
1330 [BZ #14994]
1331 * math/s_casinh.c (__casinh): Reduce finite argument to first
1332 quadrant then set signs of results at the end.
1333 * math/s_casinhf.c (__casinhf): Likewise.
1334 * math/s_casinhl.c (__casinhl): Likewise.
1335 * math/libm-test.inc (casin_test): Add more tests.
1336 (casinh_test): Likewise.
1337 * sysdeps/i386/fpu/libm-test-ulps: Update.
1338 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1339
302913e1
SP
13402013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1341
6420d207
SP
1342 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
1343
a9e48ab4
SP
1344 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
1345
b7837264
SP
1346 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
1347 declarations.
1348 (denorm): Likewise.
1349 (__mp_dbl): Likewise.
1350 (__inv): Likewise.
1351
f8af25d2
SP
1352 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
1353 and adjust the header comment.
1354
302913e1
SP
1355 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
1356 variable name from declaration.
1357
5d7dd1ca
L
13582013-01-03 H.J. Lu <hongjiu.lu@intel.com>
1359
1360 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1361 Initialize COMMON_CPUID_INDEX_7 element.
1362 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
1363 (CPUID_RTM): Likewise.
1364 (HAS_RTM): Likewise.
1365 (COMMON_CPUID_INDEX_7): New enum.
1366
2f5f40f4
AS
13672013-01-03 Andreas Schwab <schwab@linux-m68k.org>
1368
1369 [BZ #14981]
1370 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
1371 size is zero, record memory as freed.
1372
4056f4a0
AJ
13732013-01-03 Andreas Jaeger <aj@suse.de>
1374
1375 * po/ia.po: Add new Interlingua translation.
1376
ab15736f 13772012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
1378
1379 * locale/programs/localedef.c: Fix description of '--posix' flag.
1380
568035b7
JM
13812013-01-02 Joseph Myers <joseph@codesourcery.com>
1382
e6898b8d
JM
1383 * NEWS: Update dates in second copyright notice.
1384 * README: Update copyright dates in example.
1385 * manual/libc.texinfo: Update copyright dates.
1386 * scripts/test-installation.pl: Update copyright date in --version
1387 output.
1388
0e2f9562
JM
1389 * hurd/ctty-input.c: Fix copyright notice formatting.
1390 * hurd/ctty-output.c: Likewise.
1391 * hurd/dtable.c: Likewise.
1392 * hurd/hurd-raise.c: Likewise.
1393 * hurd/hurdprio.c: Likewise.
1394 * hurd/msgportdemux.c: Likewise.
1395 * misc/sys/file.h: Likewise.
1396 * misc/sys/ioctl.h: Likewise.
1397 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
1398 * sysdeps/mach/hurd/chdir.c: Likewise.
1399 * sysdeps/mach/hurd/fchdir.c: Likewise.
1400 * sysdeps/mach/hurd/rename.c: Likewise.
1401 * sysdeps/mach/hurd/rmdir.c: Likewise.
1402 * sysdeps/mach/hurd/seekdir.c: Likewise.
1403 * sysdeps/mach/hurd/setsid.c: Likewise.
1404 * sysdeps/posix/wait3.c: Likewise.
1405
568035b7
JM
1406 * All files with FSF copyright notices: Update copyright dates
1407 using scripts/update-copyrights.
1408 * intl/plural.c: Regenerated.
1409 * locale/programs/charmap-kw.h: Likewise.
1410 * locale/programs/locfile-kw.h: Likewise.
1411
da08f647
SP
14122013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1413
0f5477af
SP
1414 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
1415 four values.
1416
44e0d4c2
SP
1417 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
1418 calculation loop and add branch prediction.
1419
4d55b4e5
SP
1420 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
1421 check access beyond bounds of m1np.
1422
da08f647
SP
1423 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
1424 MPTWO.
1425 (__inv): Remove local variable MPTWO to use the global
1426 constant.
1427 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
1428 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
1429 variable MPTWO.
1430 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
1431 MP3HALFS static const.
1432
8e051029
DM
14332013-01-01 David S. Miller <davem@davemloft.net>
1434
1435 * po/ca.po: Update from translation team.
1436
f4cf5f2d
JM
14372013-01-01 Joseph Myers <joseph@codesourcery.com>
1438
1439 * scripts/update-copyrights: New file.
1440 * Makeconfig: Reformat copyright notice.
1441 * ctype/ctype.h: Likewise.
1442 * debug/swprintf_chk.c: Likewise.
1443 * elf/dl-cache.c: Likewise.
1444 * elf/dl-debug.c: Likewise.
1445 * elf/dl-object.c: Likewise.
1446 * grp/initgroups.c: Likewise.
1447 * hurd/Makefile: Likewise.
1448 * hurd/hurd/signal.h: Likewise.
1449 * hurd/hurdfault.c: Likewise.
1450 * hurd/hurdioctl.c: Likewise.
1451 * hurd/hurdlookup.c: Likewise.
1452 * hurd/intr-msg.c: Likewise.
1453 * iconv/gconv_open.c: Likewise.
1454 * libio/swprintf.c: Likewise.
1455 * locale/lc-ctype.c: Likewise.
1456 * locale/nl_langinfo.c: Likewise.
1457 * mach/Machrules: Likewise.
1458 * mach/Makefile: Likewise.
1459 * malloc/obstack.h: Likewise.
1460 * manual/Makefile: Likewise.
1461 * manual/tsort.awk: Likewise.
1462 * misc/bits/stab.def: Likewise.
1463 * nis/nis_print_group_entry.c: Likewise.
1464 * nis/nis_table.c: Likewise.
1465 * nis/nss_compat/compat-pwd.c: Likewise.
1466 * nis/nss_compat/compat-spwd.c: Likewise.
1467 * po/Makefile: Likewise.
1468 * posix/fnmatch.c: Likewise.
1469 * posix/regex.h: Likewise.
1470 * resolv/Makefile: Likewise.
1471 * resolv/nss_dns/dns-network.c: Likewise.
1472 * resolv/res_hconf.c: Likewise.
1473 * scripts/gen-sorted.awk: Likewise.
1474 * soft-fp/soft-fp.h: Likewise.
1475 * stdio-common/printf.h: Likewise.
1476 * stdlib/monetary.h: Likewise.
1477 * stdlib/random.c: Likewise.
1478 * stdlib/random_r.c: Likewise.
1479 * sysdeps/generic/Makefile: Likewise.
1480 * sysdeps/gnu/Makefile: Likewise.
1481 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
1482 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
1483 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
1484 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
1485 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
1486 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
1487 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
1488 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
1489 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
1490 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
1491 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
1492 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
1493 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
1494 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
1495 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
1496 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
1497 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
1498 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
1499 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
1500 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
1501 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
1502 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
1503 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
1504 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
1505 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
1506 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
1507 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
1508 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
1509 * sysdeps/mach/hurd/errnos.awk: Likewise.
1510 * sysdeps/mach/hurd/fork.c: Likewise.
1511 * sysdeps/mach/hurd/getcwd.c: Likewise.
1512 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
1513 * sysdeps/mach/hurd/mmap.c: Likewise.
1514 * sysdeps/mach/hurd/utimes.c: Likewise.
1515 * sysdeps/mach/hurd/xmknod.c: Likewise.
1516 * sysdeps/posix/profil.c: Likewise.
1517 * sysdeps/posix/readdir_r.c: Likewise.
1518 * sysdeps/powerpc/bits/mathdef.h: Likewise.
1519 * sysdeps/powerpc/bits/setjmp.h: Likewise.
1520 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
1521 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
1522 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
1523 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
1524 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
1525 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
1526 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
1527 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
1528 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
1529 * sysdeps/pthread/lio_listio.c: Likewise.
1530 * sysdeps/sparc/dl-procinfo.h: Likewise.
1531 * sysdeps/unix/i386/sysdep.S: Likewise.
1532 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
1533 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
1534 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
1535 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
1536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
1537 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
1538 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
1539 * sysdeps/unix/sysv/linux/speed.c: Likewise.
1540 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
1541 * sysdeps/wordsize-32/divdi3.c: Likewise.
1542 * time/sys/time.h: Likewise.
1543 * wcsmbs/Makefile: Likewise.
1544
0549fbba
DM
15452013-01-01 David S. Miller <davem@davemloft.net>
1546
a141f1a7
DM
1547 * po/fr.po: Update from translation team.
1548
0549fbba
DM
1549 * catgets/gencat.c: Update copyright year.
1550 * csu/version.c: Likewise.
1551 * debug/catchsegv.sh: Likewise.
1552 * debug/pcprofiledump.c: Likewise.
1553 * debug/xtrace.sh: Likewise.
1554 * elf/ldconfig.c: Likewise.
1555 * elf/ldd.bash.in: Likewise.
1556 * elf/pldd.c: Likewise.
1557 * elf/sotruss.ksh: Likewise.
1558 * elf/sprof.c: Likewise.
1559 * iconv/iconv_prog.c: Likewise.
1560 * iconv/iconvconfig.c: Likewise.
1561 * locale/programs/locale.c: Likewise.
1562 * locale/programs/localedef.c: Likewise.
1563 * login/programs/pt_chown.c: Likewise.
1564 * malloc/memusage.sh: Likewise.
1565 * malloc/memusagestat.c: Likewise.
1566 * malloc/mtrace.pl: Likewise.
1567 * nscd/nscd.c: Likewise.
1568 * nss/getent.c: Likewise.
1569 * nss/makedb.c: Likewise.
1570 * posix/getconf.c: Likewise.
1571
18ea052c
SP
15722012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
1573
1574 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
1575 numbers.
1576
9c89fca6
MF
15772012-12-30 Mike Frysinger <vapier@gentoo.org>
1578
1579 * math/bits/mathcalls.h (modf): Use __nonnull.
1580
085ec079
SP
15812012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1582
1583 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
1584 (split): Use macro CN instead of the bare value.
1585 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
1586 could be used.
1587 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
1588 instead of the bare value.
1589 (power1): Likewise.
1590
6d9f97e1
SP
15912012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1592
d63f73be
SP
1593 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
1594 __ATAN_TWOM.
1595 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
1596
6d9f97e1
SP
1597 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
1598 their values.
1599 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
1600 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
1601 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
1602 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
1603
4c4febf5
AJ
16042012-12-28 Andreas Jaeger <aj@suse.de>
1605
af5843ef
AJ
1606 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
1607 values are from Linux 3.7.
1608
4c4febf5
AJ
1609 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
1610 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
1611
99136f82
SP
16122012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1613
2f216c3c 1614 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
1615 TRUE case.
1616
99136f82
SP
1617 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
1618 (norm): Likewise.
1619 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
1620 variables with preprocessor constants.
1621 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
1622 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
1623 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
1624
7fffbdff
BH
16252012-12-27 Bruno Haible <bruno@clisp.org>
1626
1627 [BZ #14317]
1628 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
1629 only if needed.
1630
b76eb5f0
SP
16312012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1632
31a7fe5c
SP
1633 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
1634 and use variable directly.
1635 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
1636
b76eb5f0
SP
1637 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
1638 MPONE.
1639 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
1640 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
1641 variable MPONE.
1642 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
1643 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
1644 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
1645 include directive. Remove local variable MPONE.
1646 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
1647 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
1648 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
1649
2c8bfe7d
DM
16502012-12-25 David S. Miller <davem@davemloft.net>
1651
1652 * version.h (RELEASE): Set to "development".
1653 (VERSION): Set to "2.17.90".
1654 * NEWS: Add 2.18 section.
1655
147d03b0
DM
16562012-12-21 David S. Miller <davem@davemloft.net>
1657
1658 * po/hr.po: Update from translation team.
1659
a8ebb2b9
AK
16602012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1661
1662 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
1663
95b4f1b6
SE
16642012-12-19 Steve Ellcey <sellcey@mips.com>
1665
b2d94007 1666 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 1667
cedb2a90
MS
16682012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1669
1670 * manual/contrib.texi (Contributors): Spelling correction.
1671
bbf527d6
DM
16722012-12-15 David S. Miller <davem@davemloft.net>
1673
1674 * po/ru.po: Update from translation team.
1675
bc38c906
DM
16762012-12-13 David S. Miller <davem@davemloft.net>
1677
85429b1a
DM
1678 * NEWS: Mention IFUNC testsuite enhancements.
1679
d283e353
DM
1680 * po/pl.po: Update from translation team.
1681 * po/bg.po: Likewise.
1682
bc38c906
DM
1683 * manual/contrib.texi (Contributors): Update entries for Hongjiu
1684 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
1685
a181b0d7
DM
16862012-12-11 David S. Miller <davem@davemloft.net>
1687
4641d57e
DM
1688 * po/sv.po: Update from translation team.
1689
f7bc6495
DM
1690 * po/vi.po: Update from translation team.
1691
6fc9048f
DM
1692 * po/cs.po: Update from translation team.
1693
a181b0d7
DM
1694 * po/de.po: Update from translation team.
1695 * po/eo.po: Likewise.
1696 * po/nl.po: Likewise.
1697
f70bfe80
SP
16982012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1699
3c8b4190
SP
1700 [BZ #14246]
1701 * manual/argp.texi (Argp Helper Functions): Move node to follow
1702 Argp Parsing State.
1703
f70bfe80
SP
1704 [BZ #14872]
1705 * manual/conf.texi (Limits on File System Capacity): Mention if
1706 terminating null is included in the max size.
1707
188f0adf
AJ
17082012-12-10 Andreas Jaeger <aj@suse.de>
1709
1710 * po/cs.po: Update from translation team.
1711
56e7d3ad
SP
17122012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
1713
1714 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
1715 void pointer and cast to uintptr_t.
1716 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
1717 path.
1718 * sysdeps/s390/s390-64/memcpy.S: Likewise.
1719 * sysdeps/s390/s390-64/memset.S: Likewise.
1720
76f2d2ea 17212012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
1722
1723 [BZ #14833]
1724 * menual/message.texi (Message Translation): Fix typos.
1725 (Helper programs for gettext): Likewise.
1726
67cbf9a2
AS
17272012-12-07 Andreas Schwab <schwab@linux-m68k.org>
1728
1729 [BZ #14898]
1730 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
1731 Change to -1.
1732
682d0e9a
DM
17332012-12-07 David S. Miller <davem@davemloft.net>
1734
1735 * po/libc.pot: Update.
1736
573cd484
RH
17372012-12-07 Richard Henderson <rth@redhat.com>
1738
7e9da188 1739 [BZ #10114]
573cd484
RH
1740 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
1741 normal/normal case to before the switch.
1742 (_FP_DIV): Likewise.
1743
e933a943
MF
17442012-12-06 Carlos O'Donell <carlos@systemhalted.org>
1745 Mike Frysinger <vapier@gentoo.org>
1746
1747 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
1748 check for __NR_fadvise64_64.
1749
82123268
CM
17502012-12-06 Chris Metcalf <cmetcalf@tilera.com>
1751
1752 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
1753 0, not just to plain "0" as a statement.
1754 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
1755 with cw.
1756
d9814526
JM
17572012-12-06 Joseph Myers <joseph@codesourcery.com>
1758
1759 * NEWS: Use sourceware.org in Bugzilla URL.
1760
7728c574
SP
17612012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
1762
f16946dd
SP
1763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
1764 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
1765
5704bbcb
SP
1766 * stdio-common/tst-put-error.c (do_test): Add newline to the
1767 padded test to ensure flush.
1768
17aa0516
JL
17692012-12-05 Jeff Law <law@redhat.com>
1770
1771 * sunrpc/etc.rpc (fedfs_admin): Add entry.
1772
363313b5
JM
17732012-12-05 Joseph Myers <joseph@codesourcery.com>
1774
effbd42a
JM
1775 * README: Don't refer to ports add-on as distributed separately.
1776 Mention AArch64 in list of systems supported in the ports add-on.
1777
87600365
JM
1778 * LICENSES: Add more non-FSF copyright and license notices.
1779
a0d7066a
JM
1780 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
1781 ((unused)).
1782
66ca5a5b
JM
1783 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
1784
363313b5
JM
1785 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
1786 10000 as width of padded output.
1787
b37984ad
JM
17882012-12-04 Joseph Myers <joseph@codesourcery.com>
1789
9003570a
JM
1790 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
1791
b37984ad
JM
1792 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
1793 variable LX with __attribute__ ((unused)).
1794 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
1795 Likewise.
1796 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
1797 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
1798 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
1799 with __attribute__ ((unused)).
1800
c8df52ec
DM
18012012-12-04 David S. Miller <davem@abraco.davemloft.net>
1802
1803 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
1804
b3b099af
JM
18052012-12-04 Joseph Myers <joseph@codesourcery.com>
1806
c33aa6e3
JM
1807 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
1808 (CFLAGS-nldbl-acos.c): New variable.
1809 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
1810 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
1811 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
1812 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
1813 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
1814 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
1815 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
1816 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
1817 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
1818 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
1819 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
1820 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
1821 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
1822 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
1823 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
1824 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
1825 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
1826 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
1827 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
1828 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
1829 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
1830 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
1831 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
1832 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
1833 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
1834 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
1835 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
1836 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
1837 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
1838 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
1839 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
1840 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
1841 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
1842 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
1843 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
1844 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
1845 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
1846 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
1847 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
1848 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
1849 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
1850 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
1851 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
1852 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
1853 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
1854 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
1855 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
1856 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
1857 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
1858 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
1859 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
1860 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
1861 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
1862 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
1863 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
1864 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
1865 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
1866 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
1867 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
1868 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
1869 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
1870 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
1871 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
1872 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
1873 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
1874 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
1875 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
1876 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
1877 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
1878 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
1879 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
1880 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
1881 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
1882 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
1883 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
1884 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
1885 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
1886 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
1887 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
1888 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
1889 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
1890 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
1891 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
1892 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
1893 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
1894 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
1895 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
1896 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
1897 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
1898 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
1899 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
1900 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
1901 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
1902 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
1903 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
1904 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
1905 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
1906
20f0018d
JM
1907 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
1908 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
1909
b3b099af
JM
1910 [BZ #14914]
1911 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
1912 whole low double instead of just low 47 bits when splitting values
1913 into two parts.
1914
029264d1
AM
19152012-12-03 Allan McRae <allan@archlinux.org>
1916
1917 * manual/stdio.texi (Predefined Printf Handlers): Remove
1918 @hsep and @vsep usage.
1919
c9d6789e
MF
19202012-12-03 Mike Frysinger <vapier@gentoo.org>
1921
1922 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
1923 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
1924
4b7634a5
JL
19252012-12-03 Jeff Law <law@redhat.com>
1926
1927 * time/sys/time.h (settimeofday): Do not mark TV argument
1928 as __nonnull.
1929
eb6cbd24
MF
19302012-12-01 Mike Frysinger <vapier@gentoo.org>
1931
1932 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
1933 when currently writing and seek to current position when not.
1934 * libio/Makefile (tests): Remove bug-fclose1.
1935 * libio/bug-fclose1.c: Delete.
1936
f638872a
JM
19372012-12-01 Joseph Myers <joseph@codesourcery.com>
1938
1939 * manual/arith.texi (feenableexcept): Fix typo.
1940 (fedisableexcept): Likewise.
1941
48085d14
RM
19422012-11-30 Roland McGrath <roland@hack.frob.com>
1943
1944 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
1945 second, differently-typed declaration, rather than a cast.
1946
1a538b9f
SP
19472012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1948
1949 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
1950 * include/rpc/svc.h: ... here.
1951
d07f2ff1 19522012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
1953
1954 [BZ #13013]
1955 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
1956 depending n and resplen2 to catch cases where answer
1957 equals answerp2.
1958
c93ec1f0
CD
19592012-11-29 Carlos O'Donell <carlos@systemhalted.org>
1960
1961 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
1962 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
1963
37db69de
MF
19642012-11-29 Mike Frysinger <vapier@gentoo.org>
1965
1966 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
1967
e10c4e4f
RM
19682012-11-29 Roland McGrath <roland@hack.frob.com>
1969
1970 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
1971
2af1b328
JL
19722012-11-28 Jeff Law <law@redhat.com>
1973
1974 [BZ #13761]
1975 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
1976 dataset_temporary. Track alloca usage into alloca_used.
1977 If dataset is large allocate and release it via malloc/free.
1978
111db5b1
FW
19792012-06-04 Florian Weimer <fweimer@redhat.com>
1980
f06cc227 1981 [BZ #14197]
111db5b1
FW
1982 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
1983
dd694abd
DM
19842012-11-28 David S. Miller <davem@davemloft.net>
1985
1986 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1987
9984dd01
JM
19882012-11-28 Joseph Myers <joseph@codesourcery.com>
1989
1990 [BZ #14803]
1991 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
1992 of pi/2 rounded to nearest to 64 bits.
1993 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
1994 nearest to 64 bits.
1995 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
1996 bits.
1997
14bc93a9
JL
19982012-11-28 Jeff Law <law@redhat.com>
1999 Martin Osvald <mosvald@redhat.com>
2000
2001 [BZ #14889]
2002 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
2003 * sunrpc/svc.c: Include time.h.
2004 (__svc_accept_failed): New function.
2005 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
2006 any reason other than EINTR, call __svc_accept_failed.
2007 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
2008 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
2009
e3c6aa3a
AS
20102012-11-28 Andreas Schwab <schwab@suse.de>
2011
2012 * scripts/abilist.awk: Also handle indirect functions in .opd
2013 section.
2014
1bead169
JM
20152012-11-28 Joseph Myers <joseph@codesourcery.com>
2016
2017 [BZ #13881]
2018 * sysdeps/x86/fpu/powl_helper.c: New file.
2019 * sysdeps/x86/fpu/Makefile: Likewise.
2020 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
2021 (p3): New object.
2022 (__ieee754_powl): Use __powl_helper for finite arguments except
2023 integer exponents below 8.
2024 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
2025 (p3): New object.
2026 (__ieee754_powl): Use __powl_helper for finite arguments except
2027 integer exponents below 8.
2028 * math/libm-test.inc (pow_test): Add more tests and enable some
2029 previously disabled tests.
2030 * sysdeps/i386/fpu/libm-test-ulps: Update.
2031 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2032
0817d63d
SP
20332012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2034 Carlos O'Donell <carlos_odonell@mentor.com>
2035
2036 * nss/makedb.c (is_prime): Assert that input is odd and greater
2037 than 4. Note that fact in a comment too.
2038 (next_prime): Add 4 to input.
2039
de2fd463
SP
20402012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2041
2042 [BZ #11741]
2043 * libio/Makefile (tests): Add test case tst-fwrite-error.
2044 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
2045 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
2046 * libio/tst-fwrite-error.c: New test case.
2047
c515fb51
L
20482012-11-26 H.J. Lu <hongjiu.lu@intel.com>
2049
2050 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
2051 before casting to void *.
2052 * include/libc-internal.h (__pointer_type): New macro.
2053 (__integer_if_pointer_type_sub): Likewise.
2054 (__integer_if_pointer_type): Likewise.
2055 (cast_to_integer): Likewise.
2056 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
2057 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
2058 before casting to atomic64_t.
2059 (atomic_exchange_acq): Likewise.
2060 (__arch_exchange_and_add_body): Likewise.
2061 (__arch_add_body): Likewise.
2062 (atomic_add_negative): Likewise.
2063 (atomic_add_zero): Likewise.
2064
4cf77aa9
JM
20652012-11-26 Joseph Myers <joseph@codesourcery.com>
2066
2067 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
2068 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
2069 (add_fdes): Likewise.
2070 (linear_search_fdes): Likewise.
2071 (binary_search_unencoded_fdes): Likewise.
2072
d260b3b4
AS
20732012-11-26 Andreas Schwab <schwab@linux-m68k.org>
2074
2075 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
2076
67060746
AC
20772012-11-24 Adam Conrad <adconrad@0c3.net>
2078
2079 * configure.in: Autodetect C++ header directories.
2080 * configure: Regenerated.
2081
800938a1
MF
20822012-11-23 Mike Frysinger <vapier@gentoo.org>
2083
2084 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
2085
4e6e34e6
AS
20862012-11-23 Andreas Schwab <schwab@linux-m68k.org>
2087
2088 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2089
7c7feb47
JM
20902012-11-22 Joseph Myers <joseph@codesourcery.com>
2091
7184dcdf
JM
2092 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
2093 LDBL_MANT_DIG == 106]: Disable some tests.
2094 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
2095 Likewise.
2096 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
2097 Likewise.
2098
0a42601f
JM
2099 [BZ #14871]
2100 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
2101 input for small inputs. Return +/- pi/2 for large inputs.
2102 * math/libm-test.inc (atan_test): Add more tests.
2103
79c9b9fe
JM
2104 * sysdeps/generic/unwind-dw2-fde-glibc.c
2105 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
2106 __attribute__ ((unused)).
2107
c60d3bf2
JM
2108 [BZ #14645]
2109 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
2110 x * y if x and y are nonzero and z is zero.
2111
ef1e0867
JM
2112 [BZ #14811]
2113 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
2114 nonzero exponents with absolute value below 0x1p-117 to +/-
2115 0x1p-117.
2116
1468ded3
JM
2117 [BZ #14869]
2118 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
2119 up arguments below 2**-450, not just those below 2**-500.
2120 * math/libm-test.inc (hypot_test): Add another test.
2121
8e27e3cc
JM
2122 [BZ #14868]
2123 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
2124 Return a+b for ratio over 2**120, not 2**60.
2125 * math/libm-test.inc (hypot_test): Add another test.
2126
c9c0279b
JM
2127 * math/libm-test.inc (clog_test): Use
2128 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
2129 (clog10_test): Likewise.
2130
7c7feb47
JM
2131 [BZ #6778]
2132 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
2133
fff1530e
AS
21342012-11-22 Andreas Schwab <schwab@suse.de>
2135
2136 * sysdeps/i386/fpu/libm-test-ulps: Update.
2137
94558d30
PT
21382012-11-22 Pino Toscano <toscano.pino@tiscali.it>
2139
2140 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
2141 printf output with newline.
2142
7e1be741
L
21432012-11-21 H.J. Lu <hongjiu.lu@intel.com>
2144
6bfea974
L
2145 [BZ #14865]
2146 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
2147 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
2148 -z nodlopen, -z initfirst and -z execstack support.
2149 * configure: Regenerated.
2150
7e1be741
L
2151 * elf/elf.h (DF_1_NODIRECT): New macro.
2152 (DF_1_IGNMULDEF): Likewise.
2153 (DF_1_NOKSYMS): Likewise.
2154 (DF_1_NOHDR): Likewise.
2155 (DF_1_EDITED): Likewise.
2156 (DF_1_NORELOC): Likewise.
2157 (DF_1_SYMINTPOSE): Likewise.
2158 (DF_1_GLOBAUDIT): Likewise.
2159 (DF_1_SINGLETON): Likewise.
2160 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
2161 DT_1_SUPPORTED_MASK bits.
2162 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
2163
105ce2ce
CD
21642012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
2165
2166 * sysdeps/unix/make-syscalls.sh: Document prefixes.
2167
123be9de
TS
21682012-11-20 Thomas Schwinge <thomas@codesourcery.com>
2169
d072f3f7
TS
2170 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
2171 macro.
2172
123be9de
TS
2173 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
2174 (sendmmsg): Move declarations...
2175 * socket/sys/socket.h: ... here.
2176 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
2177 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
2178 include it from...
2179 * socket/recvmmsg.c: ... this new file.
2180 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
2181 (sendmmsg): Rename to __sendmmsg, create weak alias and make
2182 definition of __sendmmsg hidden.
2183 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
2184 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
2185 Move ENOSYS stub into and include it from...
2186 * socket/sendmmsg.c: ... this new file.
2187 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
2188 (sysdep_routines): Move recvmmsg and sendmmsg...
2189 * socket/Makefile (routines): ... here.
2190 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
2191 (GLIBC_PRIVATE): Add __sendmmsg.
2192 * include/sys/socket.h (__sendmmsg): Add declarations.
2193 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
2194 sendmmsg.
2195
cf9a5d18
JM
21962012-11-20 Joseph Myers <joseph@codesourcery.com>
2197
2198 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
2199 variable I1 with __attribute__ ((unused)).
2200 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
2201
ecd4caf9
JM
22022012-11-19 Joseph Myers <joseph@codesourcery.com>
2203
be14d48f
JM
2204 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
2205 DUMMY variables with __attribute__ ((unused)).
2206
ecd4caf9
JM
2207 * bits/byteswap.h: Include <bits/types.h>.
2208 (__bswap_64): Use __uint64_t instead of unsigned long long int.
2209
986cab95
PT
22102012-11-19 Pino Toscano <toscano.pino@tiscali.it>
2211
2212 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
2213 string_t. Do not manually set errno.
2214 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
2215 length with __strnlen. Make sure to both set errno and return it on
2216 failure.
2217
6d33cc9d
DM
22182012-11-19 David S. Miller <davem@davemloft.net>
2219
2220 With help from Joseph Myers.
2221 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
2222 very large arguments properly.
2223 * math/libm-test.inc (atan_test): New tests.
2224 (atan2_test): New tests.
2225 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2226 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2227
ee663277
JM
22282012-11-19 Joseph Myers <joseph@codesourcery.com>
2229
877f2d8e
JM
2230 [BZ #14856]
2231 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
2232 Define to 3.
2233
116fc08a
JM
2234 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
2235 [POSIX] (EADDRNOTAVAIL): Likewise.
2236 [POSIX] (EAFNOSUPPORT): Likewise.
2237 [POSIX] (EALREADY): Likewise.
2238 [POSIX] (ECONNABORTED): Likewise.
2239 [POSIX] (ECONNREFUSED): Likewise.
2240 [POSIX] (ECONNRESET): Likewise.
2241 [POSIX] (EDESTADDRREQ): Likewise.
2242 [POSIX] (EDQUOT): Likewise.
2243 [POSIX] (EHOSTUNREACH): Likewise.
2244 [POSIX] (EIDRM): Likewise.
2245 [POSIX] (EISCONN): Likewise.
2246 [POSIX] (ELOOP): Likewise.
2247 [POSIX] (EMULTIHOP): Likewise.
2248 [POSIX] (ENETDOWN): Likewise.
2249 [POSIX] (ENETUNREACH): Likewise.
2250 [POSIX] (ENOBUFS): Likewise.
2251 [POSIX] (ENODATA): Likewise.
2252 [POSIX] (ENOLINK): Likewise.
2253 [POSIX] (ENOMSG): Likewise.
2254 [POSIX] (ENOPROTOOPT): Likewise.
2255 [POSIX] (ENOSR): Likewise.
2256 [POSIX] (ENOSTR): Likewise.
2257 [POSIX] (ENOTCONN): Likewise.
2258 [POSIX] (ENOTSOCK): Likewise.
2259 [POSIX] (EOPNOTSUPP): Likewise.
2260 [POSIX] (EOVERFLOW): Likewise.
2261 [POSIX] (EPROTO): Likewise.
2262 [POSIX] (EPROTONOSUPPORT): Likewise.
2263 [POSIX] (EPROTOTYPE): Likewise.
2264 [POSIX] (ESTALE): Likewise.
2265 [POSIX] (ETIME): Likewise.
2266 [POSIX] (ETXTBSY): Likewise.
2267 [POSIX] (EWOULDBLOCK): Likewise.
2268 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
2269 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
2270 [POSIX] (SEEK_CUR): Likewise.
2271 [POSIX] (SEEK_END): Likewise.
2272 [POSIX || UNIX98] (mode_t): Do not require.
2273 [POSIX] (off_t): Likewise.
2274 [POSIX] (pid_t): Likewise.
2275 [POSIX] (sys/stat.h): Do not allow header.
2276 [POSIX] (unistd.h): Likewise.
2277 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
2278 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
2279 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
2280 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
2281 require.
2282 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
2283 sigevent): Specify elements.
2284 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
2285 entry.
2286 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
2287 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
2288
a483863f
JM
2289 * conform/data/cpio.h-data [POSIX]: Disable whole file.
2290 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
2291 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
2292 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
2293 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
2294 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
2295 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
2296 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
2297 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
2298 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
2299 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
2300 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
2301 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
2302 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
2303 Likewise.
2304 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
2305 Likewise.
2306 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
2307 Likewise.
2308 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
2309 Likewise.
2310 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
2311 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
2312 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
2313 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
2314 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
2315 Specify lower bound on value.
2316 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
2317 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
2318 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
2319 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
2320 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
2321 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
2322 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
2323 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
2324 value.
2325 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
2326 as optional.
2327 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
2328 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
2329 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
2330 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
2331 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
2332 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
2333 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
2334 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
2335 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
2336 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
2337 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
2338 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
2339 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
2340 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
2341 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
2342 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
2343 entry.
2344 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
2345 optional.
2346 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
2347 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
2348 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
2349 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
2350 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
2351 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
2352 Likewise.
2353 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
2354 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
2355 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
2356 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
2357 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
2358 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
2359 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
2360 as optional.
2361 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
2362 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
2363 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
2364 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
2365 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
2366 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
2367 specify as optional.
2368 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
2369 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
2370 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
2371 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
2372 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
2373 [XPG3] (NL_LANGMAX): Likewise.
2374 [POSIX || XPG3] (NL_MSGMAX): Likewise.
2375 [POSIX || XPG3] (NL_NMAX): Likewise.
2376 [POSIX || XPG3] (NL_SETMAX): Likewise.
2377 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
2378 [XPG3] (NZERO): Likewise.
2379 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
2380 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
2381 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
2382 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
2383 (REG_ERANGE): Expect.
2384 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
2385 optional-constant.
2386 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
2387 Use (void) in prototype.
2388 [POSIX] (*_t): Allow.
2389 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
2390 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
2391 (WRDE_BADVAL): Expect.
2392
5ba924e3
JM
2393 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
2394 expect.
2395 [XPG3 || XPG4] (O_RSYNC): Likewise.
2396 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
2397 Likewise.
2398 [XPG3 || XPG4] (pthread_sigmask): Likewise.
2399 [XPG3 || XPG4] (sigqueue): Likewise.
2400 [XPG3 || XPG4] (sigtimedwait): Likewise.
2401 [XPG3 || XPG4] (sigwaitinfo): Likewise.
2402 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
2403 [XPG3 || XPG4] (vsnprintf): Likewise.
2404 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
2405 Likewise.
2406 [XPG3 || XPG4] (blksize_t): Likewise.
2407 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
2408 Likewise.
2409 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
2410 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
2411 [XPG3 || XPG4] (struct itimerspec): Likewise.
2412 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
2413 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
2414 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
2415 [XPG3 || XPG4] (clockid_t): Likewise.
2416 [XPG3 || XPG4] (timer_t): Likewise.
2417 [XPG3 || XPG4] (clock_getres): Likewise.
2418 [XPG3 || XPG4] (clock_gettime): Likewise.
2419 [XPG3 || XPG4] (clock_settime): Likewise.
2420 [XPG3 || XPG4] (nanosleep): Likewise.
2421 [XPG3 || XPG4] (timer_create): Likewise.
2422 [XPG3 || XPG4] (timer_delete): Likewise.
2423 [XPG3 || XPG4] (timer_gettime): Likewise.
2424 [XPG3 || XPG4] (timer_getoverrun): Likewise.
2425 [XPG3 || XPG4] (timer_settime): Likewise.
2426 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
2427 [XPG3 || XPG4] (getlogin_r): Likewise.
2428 [XPG3 || XPG4] (pread): Likewise.
2429 [XPG3 || XPG4] (pthread_atfork): Likewise.
2430 [XPG3 || XPG4] (pwrite): Likewise.
2431
ee663277
JM
2432 [BZ #14835]
2433 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
2434 <bits/siginfo.h>.
2435
942caa16
PT
24362012-11-19 Pino Toscano <toscano.pino@tiscali.it>
2437
e19af380
PT
2438 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
2439 finalizing MALLSTREAM.
2440
942caa16
PT
2441 * sysdeps/mach/hurd/syncfs.c: New file.
2442
cfde9b46
SP
24432012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2444
2445 [BZ #14719]
2446 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
2447 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
2448 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
2449 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
2450 (_nss_dns_gethostbyname4_r): Likewise.
2451 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
2452 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
2453
f6da27e5
PH
24542012-11-19 Peng Haitao <penght@cn.fujitsu.com>
2455
2456 [BZ #13763]
2457 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
2458
6665d4a2
SM
24592012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
2460
1f51ee92
SM
2461 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
2462 * elf/cache.c (print_entry): Print ",AArch64" for
2463 FLAG_AARCH64_LIB64
2464
6665d4a2
SM
2465 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
2466 * elf/cache.c (print_entry): Print ",hard-float" for
2467 FLAG_ARM_LIBHF.
2468
05b227bd
DM
24692012-11-18 David S. Miller <davem@davemloft.net>
2470
2471 With help from Joseph Myers.
2472 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
2473 cutoff to 2**-13.
2474 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
2475 cutoff to 2**-25.
2476 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
2477 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
2478 small.
2479 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
2480 * math/libm-test.inc (y0_test): New tests.
2481 (y1_test): New tests.
2482 * sysdeps/i386/fpu/libm-test-ulps: Update.
2483 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2484 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2485
786b0b67
AS
24862012-11-18 Andreas Schwab <schwab@linux-m68k.org>
2487
2488 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
2489 64-bit targets.
2490 * configure: Regenerated.
2491
8e18b86d
DM
24922012-11-17 David S. Miller <davem@davemloft.net>
2493
2494 [BZ #14811]
2495 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
2496 nonzero exponents with absolute value below 0x1p-128 to +/-
2497 0x1p-128.
2498
531f1ae0
JM
24992012-11-17 Joseph Myers <joseph@codesourcery.com>
2500
12df29e2
JM
2501 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
2502
150dc1a0
JM
2503 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
2504
531f1ae0
JM
2505 * posix/getconf-speclist.c: New file.
2506 * posix/posix-envs.def: Likewise.
2507 * posix/confstr.c (START_ENV_GROUP): New macro.
2508 (END_ENV_GROUP): Likewise.
2509 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
2510 (KNOWN_PRESENT_ENV_STRING): Likewise.
2511 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
2512 (UNKNOWN_ENVIRONMENT): Likewise.
2513 (confstr): Include posix-envs.def instead of handling
2514 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
2515 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
2516 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
2517 (END_ENV_GROUP): Likewise.
2518 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
2519 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
2520 (UNKNOWN_ENVIRONMENT): Likewise.
2521 (__sysconf): Include posix-envs.def instead of handling associated
2522 cases directly here.
2523 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
2524 preprocessing getconf-speclist.c rather than running getconf or
2525 generating empty file.
2526
a93f9cbc
PT
25272012-11-16 Pino Toscano <toscano.pino@tiscali.it>
2528
2529 * scripts/check-local-headers.sh: Ignore 'mach' headers.
2530
d64d9f87
AL
25312012-11-16 Andrej Lajovic <natrij@gmail.com>
2532
2533 [BZ #14672]
2534 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
2535
447885eb
DM
25362012-11-16 David S. Miller <davem@davemloft.net>
2537
2538 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
2539 smaller than LDBL_EPSILON/2.0L, just return xm1.
2540
bcbf9830
L
25412012-11-16 H.J. Lu <hongjiu.lu@intel.com>
2542
2543 * elf/tst-array1.c (init): Set constructor priority to 1000.
2544 (fini): Set destructor priority to 1000.
2545 * elf/tst-array2dep.c: Likewise.
2546
2b766585
SP
25472012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2548
2549 [BZ #11741]
2550 * libio/fileops.c (_IO_new_file_write): Correctly return error.
2551 (_IO_new_file_xsputn): Also return EOF if none of the input
2552 data was written when overflow failed.
2553 * libio/iopadn.c (_IO_padn): Likewise.
2554 * libio/iowpadn.c (_IO_wpadn): Likewise.
2555 * stdio-common/tst-put-error.c: Add copyright notice.
2556 (do_test): Add case for printing padded string.
2557 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
2558 _IO_padn returned error.
2559 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
2560 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
2561 return EOF.
2562
b1848fde
SP
25632012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2564
2565 * libio/libioP.h: Add comment note that the references to C++
2566 bits are now obsolete.
2567
2fd89785
MS
25682012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2569
2570 * math/libm-test.inc (check_complex): Use asprintf.
2571
e3ea5409
JM
25722012-11-14 Joseph Myers <joseph@codesourcery.com>
2573
2574 * debug/pcprofiledump.c (print_version): Update copyright year.
2575 * malloc/memusagestat.c (print_version): Likewise.
2576
2e64d265
L
25772012-11-14 H.J. Lu <hongjiu.lu@intel.com>
2578
2579 [BZ #14831]
2580 * elf/Makefile (tests): Add tst-audit8.
2581 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
2582 ($(objpfx)tst-audit8.out): New target.
2583 (tst-audit8-ENV): New variable.
2584 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
2585 audit if l_reloc_result is NULL.
2586 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
2587 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
2588 * elf/tst-audit8.c: New file.
2589
c485e4d2
MS
25902012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2591
2592 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
2593 * misc/Makefile (CFLAGS-select.c): Define.
2594 * posix/Makefile (CFLAGS-pause.c): Define.
2595
3a0d900a
DM
25962012-11-13 David S. Miller <davem@davemloft.net>
2597
2598 * crypt/Makefile: Move test targets after toplevel Rules
2599 inclusion. Grab any necessary sysdep routines when linking.
2600 * crypt/md5.c (md5_process_block): Remove define, we will always
2601 name it __md5_process_block.
2602 (md5_finish_ctx): Update md5_process_block call.
2603 (md5_stream): Likewise.
2604 (md5_process_bytes): Likewise.
2605 (md5_process_block): Rename to __md5_process_block and move to ...
2606 * crypt/md5-block.c: ... here.
2607 * crypt/sha256.c (sha256_process_block): Move to ...
2608 * crypt/sha256-block.c: ... here.
2609 * crypt/sha512.c (sha512_process_block): Move to ...
2610 * crypt/sha512-block.c: ... here.
2611 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
2612 path.
2613 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
2614 * sysdeps/sparc/sparc64/multiarch/Makefile
2615 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
2616 crypt subdir.
2617 (localedef-aux): Add md5 crypto assembler when in locale subdir.
2618 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
2619 multiarch changes.
2620 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
2621 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
2622 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
2623 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
2624 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
2625 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
2626 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
2627 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
2628 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
2629 file.
2630 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
2631 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
2632 file.
2633 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
2634
8ca89318
JM
26352012-11-13 Joseph Myers <joseph@codesourcery.com>
2636
e27d476a
JM
2637 * timezone/tzselect.ksh: Update from tzcode git revision
2638 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
2639 * timezone/zdump.c: Likewise.
2640 * timezone/zic.c: Likewise.
2641 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
2642 in TZVERSION setting, not $(PKGVERSION).
2643 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
2644 REPORT_BUGS_TO settings.
2645
8ca89318
JM
2646 [BZ #14838]
2647 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
2648 macro.
2649
47594329
MS
26502012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2651
2652 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
2653 detection to immediately after _FP_ROUND().
2654 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
2655 bits are 0.
2656
640ac3f1
DM
26572012-11-11 David S. Miller <davem@davemloft.net>
2658
2659 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
2660 inttypes.h
2661 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
2662 __close rather than their public counterparts.
2663
3d2577bb
JM
26642012-11-10 Joseph Myers <joseph@codesourcery.com>
2665
2666 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
2667 file.
2668 [UNIX98] (sem_timedwait): Do not expect.
2669 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
2670 [XPG4 || UNIX98] (sockatmark): Do not expect.
2671 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
2672 (clock_getcpuclockid): Do not expect.
2673 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
2674 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
2675 Do not expect.
2676 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
2677 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
2678 [UNIX98] (vwscanf): Likewise.
2679 [UNIX98] (vswscanf): Likewise.
2680
fb1ae1ee
JM
26812012-11-09 Joseph Myers <joseph@codesourcery.com>
2682
9ec6f8bd
JM
2683 * timezone/version.h: Remove file.
2684 * timezone/README: Do not refer to version.h.
2685 * timezone/Makefile ($(objpfx)zic.o): New dependency on
2686 $(objpfx)version.h.
2687 ($(objpfx)zdump.o): Likewise.
c3f81911 2688 ($(objpfx)version.h): New target.
9ec6f8bd 2689
0aa8f8a1
JM
2690 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
2691 2012i.
2692 * timezone/README: Don't mention modification to tzselect.ksh.
2693 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
2694 work on unmodified tzselect.ksh. Substitute version numbers in
2695 tzselect.ksh.
2696
4e87147f
JM
2697 * Makefile (format-me): Remove.
2698 (INSTALL): Adjust indentation. Use commands directly instead of
2699 using $(format-me).
2700
8b748aed
JM
2701 * aclocal.m4 (ACX_PKGVERSION): New macro.
2702 (ACX_BUGURL): Likewise.
2703 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
2704 (PKGVERSION): New AC_DEFINE_UNQUOTED.
2705 (REPORT_BUGS_TO): Likewise.
2706 * configure: Regenerated.
2707 * config.h.in (PKGVERSION): New macro.
2708 (REPORT_BUGS_TO): Likewise.
2709 * config.make.in (PKGVERSION): New variable.
2710 (PKGVERSION_TEXI): Likewise.
2711 (REPORT_BUGS_TO): Likewise.
2712 (REPORT_BUGS_TEXI): Likewise.
2713 * Makefile (format-me): Use -I$(common-objpfx)manual.
2714 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
2715 ($(common-objpfx)manual/%): New target.
2716 (manual/%): Remove target.
2717 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
2718 (print_version): Use PKGVERSION.
2719 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
2720 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
2721 and REPORT_BUGS_TO.
2722 ($(objpfx)xtrace): Likewise.
2723 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
2724 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
2725 (print_version): Use PKGVERSION.
2726 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
2727 (do_version): Use PKGVERSION.
2728 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
2729 REPORT_BUGS_TO.
2730 (common-ldd-rewrite): Likewise.
2731 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
2732 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
2733 (print_version): Use PKGVERSION.
2734 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
2735 * elf/pldd.c (argp_program_bug_address): Remove variable.
2736 (more_help): New function.
2737 (argp): Use more_help.
2738 (print_version): Use PKGVERSION.
2739 * elf/sln.c (main): Use PKGVERSION.
2740 (usage): Use REPORT_BUGS_TO.
2741 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
2742 (top level): Use PKGVERSION.
2743 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
2744 (print_version): Use PKGVERSION.
2745 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
2746 (print_version): Use PKGVERSION.
2747 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
2748 (print_version): Use PKGVERSION.
2749 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
2750 (print_version): Use PKGVERSION.
2751 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
2752 (print_version): Use PKGVERSION.
2753 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
2754 (print_version): Use PKGVERSION.
2755 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
2756 and BUGURL.
2757 ($(objpfx)memusage): Likewise.
2758 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
2759 (do_version): Use PKGVERSION.
2760 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
2761 (print_version): Use PKGVERSION.
2762 * malloc/mtrace.pl ($PACKAGE): Remove variable.
2763 ($PKGVERSION): New variable.
2764 ($REPORT_BUGS_TO): Likewise.
2765 (usage): Use $REPORT_BUGS_TO.
2766 (top level): Use $PKGVERSION.
2767 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
2768 ($(objpfx)pkgvers.texi): New rule.
2769 ($(objpfx)stamp-pkgvers): Likewise.
2770 * manual/install.texi: Include pkgvers.texi.
2771 (--with-pkgversion): Document new configure option.
2772 (--with-bugurl): Likewise.
2773 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
2774 than necessarily for this particular distribution. Use
2775 REPORT_BUGS_TO for where to report bugs.
2776 * INSTALL: Regenerated.
2777 * manual/libc.texinfo: Include pkgvers.texi.
2778 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
2779 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
2780 (print_version): Use PKGVERSION.
2781 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
2782 (print_version): Use PKGVERSION.
2783 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
2784 (print_version): Use PKGVERSION.
2785 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
2786 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
2787 macro.
2788 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
2789 (print_version): Use PKGVERSION.
2790 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
2791 (print_version): Use PKGVERSION.
2792 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
2793 and PKGVERSION.
2794
92e4b6a9
JM
2795 * timezone/checktab.awk: Update from tzcode 2012i.
2796 * timezone/ialloc.c: Likewise.
2797 * timezone/private.h: Likewise.
2798 * timezone/scheck.c: Likewise.
2799 * timezone/tzfile.h: Likewise.
2800 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
2801 (TZVERSION): Hardcode tzcode version number.
2802 * timezone/zdump.c: Update from tzcode 2012i.
2803 * timezone/zic.c: Likewise.
2804 * timezone/version.h: New file.
2805 * timezone/README: Describe version.h. Update upstream location.
2806
9bde902c
JM
2807 [BZ #14824]
2808 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
2809 (mktemp): Enable declaration.
2810 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
2811 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
2812 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
2813 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
2814 Likewise.
2815 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
2816 Likewise.
2817 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
2818 Likewise.
2819 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
2820 Likewise.
2821 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
2822 Likewise.
2823 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
2824 Likewise.
2825
fb1ae1ee
JM
2826 [BZ #14821]
2827 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
2828 offset in buffer as u_int32_t not u_long. Consistently use memcpy
2829 for copies of such integer values.
2830 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
2831 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
2832
2c1adbcb
AJ
28332012-11-09 Andreas Jaeger <aj@suse.de>
2834
2835 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
2836 definitions and declarations that are provided by
2837 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
2838
d0f8457e
AK
28392012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2840
3a235abb 2841 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
2842 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
2843 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
2844 definition.
2845
57241e26
MS
28462012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2847
2848 * elf/elf.h: Update comment before AArch64 relocations.
2849
60e8270d
DM
28502012-11-07 David S. Miller <davem@davemloft.net>
2851
2852 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
2853 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
2854 (__start_context): Declare.
2855 (__makecontext_ret): Delete.
2856 (__makecontext): Hook up __start_context instead of
2857 __makecontext_ret.
2858 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
2859 (sysdep_routines): Add __start_context when in stdlib.
2860
0fbb0fbc
JM
28612012-11-07 Joseph Myers <joseph@codesourcery.com>
2862
2863 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
2864 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
2865 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
2866 hardcoded "nm".
2867 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
2868 (READELF): New variable. Use it instead of hardcoded "readelf".
2869
eb48db7e
L
28702012-11-07 H.J. Lu <hongjiu.lu@intel.com>
2871
2872 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
2873 * sysdeps/x86/Makefile: Here.
2874 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
2875 * sysdeps/x86/tst-xmmymm.sh: This.
2876
05bcf62a
JM
28772012-11-07 Joseph Myers <joseph@codesourcery.com>
2878
c4b6cf53
JM
2879 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
2880 expectations.
2881 [UNIX98] (pthread_barrier_t): Do not expect.
2882 [UNIX98] (pthread_barrierattr_t): Likewise.
2883 [UNIX98] (pthread_spinlock_t): Likewise.
2884 [UNIX98] (pthread_barrier_destroy): Likewise.
2885 [UNIX98] (pthread_barrier_init): Likewise.
2886 [UNIX98] (pthread_barrier_wait): Likewise.
2887 [UNIX98] (pthread_barrierattr_destroy): Likewise.
2888 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
2889 [UNIX98] (pthread_barrierattr_init): Likewise.
2890 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
2891 [UNIX98] (pthread_getcpuclockid): Likewise.
2892 [UNIX98] (pthread_mutex_timedlock): Likewise.
2893 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
2894 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
2895 [UNIX98] (pthread_sigmask): Likewise.
2896 [UNIX98] (pthread_spin_destroy): Likewise.
2897 [UNIX98] (pthread_spin_init): Likewise.
2898 [UNIX98] (pthread_spin_lock): Likewise.
2899 [UNIX98] (pthread_spin_trylock): Likewise.
2900 [UNIX98] (pthread_spin_unlock): Likewise.
2901 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
2902 Do not expect.
2903 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
2904 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
2905 [XPG3 || XPG4] (pthread_cond_t): Likewise.
2906 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
2907 [XPG3 || XPG4] (pthread_key_t): Likewise.
2908 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
2909 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
2910 [XPG3 || XPG4] (pthread_once_t): Likewise.
2911 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
2912 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
2913 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
2914 [XPG3 || XPG4] (pthread_t): Likewise.
2915
cbe6e120
JM
2916 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
2917 not expect.
2918 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
2919
1b126443
JM
2920 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
2921 Change function return type to int.
2922
b961a573
JM
2923 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
2924 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
2925 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
2926 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
2927 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
2928 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
2929 [!POSIX] (posix_madvise): Likewise.
2930 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
2931 && !UNIX98].
2932 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
2933 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
2934 (mode_t): Likewise.
2935 (posix_mem_offset): Likewise.
2936 (posix_typed_mem_get_info): Likewise.
2937 (posix_typed_mem_open): Likewise.
2938
9e188909
JM
2939 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
2940 Change condition to [XOPEN2K8].
2941
05bcf62a
JM
2942 * conform/conformtest.pl: Preprocess allow-header data with -x c
2943 instead of from stdin.
2944 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
2945 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
2946 [C99-based standards] (cerfc): Likewise.
2947 [C99-based standards] (cexp2): Likewise.
2948 [C99-based standards] (cexpm1): Likewise.
2949 [C99-based standards] (clog10): Likewise.
2950 [C99-based standards] (clog1p): Likewise.
2951 [C99-based standards] (clog2): Likewise.
2952 [C99-based standards] (clgamma): Likewise.
2953 [C99-based standards] (ctgamma): Likewise.
2954 [C99-based standards] (cerff): Likewise.
2955 [C99-based standards] (cerfcf): Likewise.
2956 [C99-based standards] (cexp2f): Likewise.
2957 [C99-based standards] (cexpm1f): Likewise.
2958 [C99-based standards] (clog10f): Likewise.
2959 [C99-based standards] (clog1pf): Likewise.
2960 [C99-based standards] (clog2f): Likewise.
2961 [C99-based standards] (clgammaf): Likewise.
2962 [C99-based standards] (ctgammaf): Likewise.
2963 [C99-based standards] (cerfl): Likewise.
2964 [C99-based standards] (cerfcl): Likewise.
2965 [C99-based standards] (cexp2l): Likewise.
2966 [C99-based standards] (cexpm1l): Likewise.
2967 [C99-based standards] (clog10l): Likewise.
2968 [C99-based standards] (clog1pl): Likewise.
2969 [C99-based standards] (clog2l): Likewise.
2970 [C99-based standards] (clgammal): Likewise.
2971 [C99-based standards] (ctgammal): Likewise.
2972 * conform/data/inttypes.h-data [C99-based standards]: Include
2973 stdint.h-data. Remove all expectations for stdint.h contents.
2974 [C99-based standards] (PRI*): Do not allow.
2975 [C99-based standards] (SCN*): Likewise.
2976 [C99-based standards] (*_t): Likewise.
2977 [C99-based-standards] (PRId8): Expect macro.
2978 [C99-based-standards] (PRIi8): Likewise.
2979 [C99-based-standards] (PRIo8): Likewise.
2980 [C99-based-standards] (PRIu8): Likewise.
2981 [C99-based-standards] (PRIx8): Likewise.
2982 [C99-based-standards] (PRIX8): Likewise.
2983 [C99-based-standards] (SCNd8): Likewise.
2984 [C99-based-standards] (SCNi8): Likewise.
2985 [C99-based-standards] (SCNo8): Likewise.
2986 [C99-based-standards] (SCNu8): Likewise.
2987 [C99-based-standards] (SCNx8): Likewise.
2988 [C99-based-standards] (PRIdLEAST8): Likewise.
2989 [C99-based-standards] (PRIiLEAST8): Likewise.
2990 [C99-based-standards] (PRIoLEAST8): Likewise.
2991 [C99-based-standards] (PRIuLEAST8): Likewise.
2992 [C99-based-standards] (PRIxLEAST8): Likewise.
2993 [C99-based-standards] (PRIXLEAST8): Likewise.
2994 [C99-based-standards] (SCNdLEAST8): Likewise.
2995 [C99-based-standards] (SCNiLEAST8): Likewise.
2996 [C99-based-standards] (SCNoLEAST8): Likewise.
2997 [C99-based-standards] (SCNuLEAST8): Likewise.
2998 [C99-based-standards] (SCNxLEAST8): Likewise.
2999 [C99-based-standards] (PRIdFAST8): Likewise.
3000 [C99-based-standards] (PRIiFAST8): Likewise.
3001 [C99-based-standards] (PRIoFAST8): Likewise.
3002 [C99-based-standards] (PRIuFAST8): Likewise.
3003 [C99-based-standards] (PRIxFAST8): Likewise.
3004 [C99-based-standards] (PRIXFAST8): Likewise.
3005 [C99-based-standards] (SCNdFAST8): Likewise.
3006 [C99-based-standards] (SCNiFAST8): Likewise.
3007 [C99-based-standards] (SCNoFAST8): Likewise.
3008 [C99-based-standards] (SCNuFAST8): Likewise.
3009 [C99-based-standards] (SCNxFAST8): Likewise.
3010 [C99-based-standards] (PRId16): Likewise.
3011 [C99-based-standards] (PRIi16): Likewise.
3012 [C99-based-standards] (PRIo16): Likewise.
3013 [C99-based-standards] (PRIu16): Likewise.
3014 [C99-based-standards] (PRIx16): Likewise.
3015 [C99-based-standards] (PRIX16): Likewise.
3016 [C99-based-standards] (SCNd16): Likewise.
3017 [C99-based-standards] (SCNi16): Likewise.
3018 [C99-based-standards] (SCNo16): Likewise.
3019 [C99-based-standards] (SCNu16): Likewise.
3020 [C99-based-standards] (SCNx16): Likewise.
3021 [C99-based-standards] (PRIdLEAST16): Likewise.
3022 [C99-based-standards] (PRIiLEAST16): Likewise.
3023 [C99-based-standards] (PRIoLEAST16): Likewise.
3024 [C99-based-standards] (PRIuLEAST16): Likewise.
3025 [C99-based-standards] (PRIxLEAST16): Likewise.
3026 [C99-based-standards] (PRIXLEAST16): Likewise.
3027 [C99-based-standards] (SCNdLEAST16): Likewise.
3028 [C99-based-standards] (SCNiLEAST16): Likewise.
3029 [C99-based-standards] (SCNoLEAST16): Likewise.
3030 [C99-based-standards] (SCNuLEAST16): Likewise.
3031 [C99-based-standards] (SCNxLEAST16): Likewise.
3032 [C99-based-standards] (PRIdFAST16): Likewise.
3033 [C99-based-standards] (PRIiFAST16): Likewise.
3034 [C99-based-standards] (PRIoFAST16): Likewise.
3035 [C99-based-standards] (PRIuFAST16): Likewise.
3036 [C99-based-standards] (PRIxFAST16): Likewise.
3037 [C99-based-standards] (PRIXFAST16): Likewise.
3038 [C99-based-standards] (SCNdFAST16): Likewise.
3039 [C99-based-standards] (SCNiFAST16): Likewise.
3040 [C99-based-standards] (SCNoFAST16): Likewise.
3041 [C99-based-standards] (SCNuFAST16): Likewise.
3042 [C99-based-standards] (SCNxFAST16): Likewise.
3043 [C99-based-standards] (PRId32): Likewise.
3044 [C99-based-standards] (PRIi32): Likewise.
3045 [C99-based-standards] (PRIo32): Likewise.
3046 [C99-based-standards] (PRIu32): Likewise.
3047 [C99-based-standards] (PRIx32): Likewise.
3048 [C99-based-standards] (PRIX32): Likewise.
3049 [C99-based-standards] (SCNd32): Likewise.
3050 [C99-based-standards] (SCNi32): Likewise.
3051 [C99-based-standards] (SCNo32): Likewise.
3052 [C99-based-standards] (SCNu32): Likewise.
3053 [C99-based-standards] (SCNx32): Likewise.
3054 [C99-based-standards] (PRIdLEAST32): Likewise.
3055 [C99-based-standards] (PRIiLEAST32): Likewise.
3056 [C99-based-standards] (PRIoLEAST32): Likewise.
3057 [C99-based-standards] (PRIuLEAST32): Likewise.
3058 [C99-based-standards] (PRIxLEAST32): Likewise.
3059 [C99-based-standards] (PRIXLEAST32): Likewise.
3060 [C99-based-standards] (SCNdLEAST32): Likewise.
3061 [C99-based-standards] (SCNiLEAST32): Likewise.
3062 [C99-based-standards] (SCNoLEAST32): Likewise.
3063 [C99-based-standards] (SCNuLEAST32): Likewise.
3064 [C99-based-standards] (SCNxLEAST32): Likewise.
3065 [C99-based-standards] (PRIdFAST32): Likewise.
3066 [C99-based-standards] (PRIiFAST32): Likewise.
3067 [C99-based-standards] (PRIoFAST32): Likewise.
3068 [C99-based-standards] (PRIuFAST32): Likewise.
3069 [C99-based-standards] (PRIxFAST32): Likewise.
3070 [C99-based-standards] (PRIXFAST32): Likewise.
3071 [C99-based-standards] (SCNdFAST32): Likewise.
3072 [C99-based-standards] (SCNiFAST32): Likewise.
3073 [C99-based-standards] (SCNoFAST32): Likewise.
3074 [C99-based-standards] (SCNuFAST32): Likewise.
3075 [C99-based-standards] (SCNxFAST32): Likewise.
3076 [C99-based-standards] (PRId64): Likewise.
3077 [C99-based-standards] (PRIi64): Likewise.
3078 [C99-based-standards] (PRIo64): Likewise.
3079 [C99-based-standards] (PRIu64): Likewise.
3080 [C99-based-standards] (PRIx64): Likewise.
3081 [C99-based-standards] (PRIX64): Likewise.
3082 [C99-based-standards] (SCNd64): Likewise.
3083 [C99-based-standards] (SCNi64): Likewise.
3084 [C99-based-standards] (SCNo64): Likewise.
3085 [C99-based-standards] (SCNu64): Likewise.
3086 [C99-based-standards] (SCNx64): Likewise.
3087 [C99-based-standards] (PRIdLEAST64): Likewise.
3088 [C99-based-standards] (PRIiLEAST64): Likewise.
3089 [C99-based-standards] (PRIoLEAST64): Likewise.
3090 [C99-based-standards] (PRIuLEAST64): Likewise.
3091 [C99-based-standards] (PRIxLEAST64): Likewise.
3092 [C99-based-standards] (PRIXLEAST64): Likewise.
3093 [C99-based-standards] (SCNdLEAST64): Likewise.
3094 [C99-based-standards] (SCNiLEAST64): Likewise.
3095 [C99-based-standards] (SCNoLEAST64): Likewise.
3096 [C99-based-standards] (SCNuLEAST64): Likewise.
3097 [C99-based-standards] (SCNxLEAST64): Likewise.
3098 [C99-based-standards] (PRIdFAST64): Likewise.
3099 [C99-based-standards] (PRIiFAST64): Likewise.
3100 [C99-based-standards] (PRIoFAST64): Likewise.
3101 [C99-based-standards] (PRIuFAST64): Likewise.
3102 [C99-based-standards] (PRIxFAST64): Likewise.
3103 [C99-based-standards] (PRIXFAST64): Likewise.
3104 [C99-based-standards] (SCNdFAST64): Likewise.
3105 [C99-based-standards] (SCNiFAST64): Likewise.
3106 [C99-based-standards] (SCNoFAST64): Likewise.
3107 [C99-based-standards] (SCNuFAST64): Likewise.
3108 [C99-based-standards] (SCNxFAST64): Likewise.
3109 [C99-based-standards] (PRIdMAX): Likewise.
3110 [C99-based-standards] (PRIiMAX): Likewise.
3111 [C99-based-standards] (PRIoMAX): Likewise.
3112 [C99-based-standards] (PRIuMAX): Likewise.
3113 [C99-based-standards] (PRIxMAX): Likewise.
3114 [C99-based-standards] (PRIXMAX): Likewise.
3115 [C99-based-standards] (SCNdMAX): Likewise.
3116 [C99-based-standards] (SCNiMAX): Likewise.
3117 [C99-based-standards] (SCNoMAX): Likewise.
3118 [C99-based-standards] (SCNuMAX): Likewise.
3119 [C99-based-standards] (SCNxMAX): Likewise.
3120 [C99-based-standards] (PRIdPTR): Likewise.
3121 [C99-based-standards] (PRIiPTR): Likewise.
3122 [C99-based-standards] (PRIoPTR): Likewise.
3123 [C99-based-standards] (PRIuPTR): Likewise.
3124 [C99-based-standards] (PRIxPTR): Likewise.
3125 [C99-based-standards] (PRIXPTR): Likewise.
3126 [C99-based-standards] (SCNdPTR): Likewise.
3127 [C99-based-standards] (SCNiPTR): Likewise.
3128 [C99-based-standards] (SCNoPTR): Likewise.
3129 [C99-based-standards] (SCNuPTR): Likewise.
3130 [C99-based-standards] (SCNxPTR): Likewise.
3131 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
3132 allow.
3133 * conform/data/stdint.h-data: Update comments to clarify
3134 requirements.
3135 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
3136 type.
3137 [C99-based standards] (INT8_MAX): Likewise.
3138 [C99-based standards] (INT16_MIN): Likewise.
3139 [C99-based standards] (INT16_MAX): Likewise.
3140 [C99-based standards] (INT32_MIN): Likewise.
3141 [C99-based standards] (INT32_MAX): Likewise.
3142 [C99-based standards] (INT64_MIN): Likewise.
3143 [C99-based standards] (INT64_MAX): Likewise.
3144 [C99-based standards] (UINT8_MAX): Likewise.
3145 [C99-based standards] (UINT16_MAX): Likewise.
3146 [C99-based standards] (UINT32_MAX): Likewise.
3147 [C99-based standards] (UINT64_MAX): Likewise.
3148 [C99-based standards] (INT_LEAST8_MIN): Likewise.
3149 [C99-based standards] (INT_LEAST8_MAX): Likewise.
3150 [C99-based standards] (INT_LEAST16_MIN): Likewise.
3151 [C99-based standards] (INT_LEAST16_MAX): Likewise.
3152 [C99-based standards] (INT_LEAST32_MIN): Likewise.
3153 [C99-based standards] (INT_LEAST32_MAX): Likewise.
3154 [C99-based standards] (INT_LEAST64_MIN): Likewise.
3155 [C99-based standards] (INT_LEAST64_MAX): Likewise.
3156 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
3157 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
3158 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
3159 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
3160 [C99-based standards] (INT_FAST8_MIN): Likewise.
3161 [C99-based standards] (INT_FAST8_MAX): Likewise.
3162 [C99-based standards] (INT_FAST16_MIN): Likewise.
3163 [C99-based standards] (INT_FAST16_MAX): Likewise.
3164 [C99-based standards] (INT_FAST32_MIN): Likewise.
3165 [C99-based standards] (INT_FAST32_MAX): Likewise.
3166 [C99-based standards] (INT_FAST64_MIN): Likewise.
3167 [C99-based standards] (INT_FAST64_MAX): Likewise.
3168 [C99-based standards] (UINT_FAST8_MAX): Likewise.
3169 [C99-based standards] (UINT_FAST16_MAX): Likewise.
3170 [C99-based standards] (UINT_FAST32_MAX): Likewise.
3171 [C99-based standards] (UINT_FAST64_MAX): Likewise.
3172 [C99-based standards] (INTPTR_MIN): Likewise.
3173 [C99-based standards] (INTPTR_MAX): Likewise.
3174 [C99-based standards] (UINTPTR_MAX): Likewise.
3175 [C99-based standards] (INTMAX_MIN): Likewise.
3176 [C99-based standards] (INTMAX_MAX): Likewise.
3177 [C99-based standards] (UINTMAX_MAX): Likewise.
3178 [C99-based standards] (PTRDIFF_MIN): Likewise.
3179 [C99-based standards] (PTRDIFF_MAX): Likewise.
3180 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
3181 [C99-based standards] (SIZE_MAX): Likewise.
3182 [C99-based standards] (WCHAR_MAX): Likewise.
3183 [C99-based standards] (WINT_MAX): Likewise.
3184 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
3185 constraint on value.
3186 [C99-based standards] (WCHAR_MIN): Likewise.
3187 [C99-based standards] (WINT_MIN): Likewise.
3188 [C99-based standards] (*_t): Allow.
3189 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
3190 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
3191 Include math.h-data and complex.h-data. Remove all expectations
3192 of math.h and complex.h contents.
3193 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
3194 at end of line.
3195 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
3196 (struct tm): Expect tag.
3197 [C99-based-standards] (wcstof): Expect function.
3198 [C99-based-standards] (wcstold): Likewise.
3199 [C99-based-standards] (wcstoll): Likewise.
3200 [C99-based-standards] (wcstoull): Likewise.
3201 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
3202 macro-int-constant. Specify type.
3203 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
3204 constraint on value.
3205 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
3206 Specify type.
3207 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
3208 Specify value.
3209 [ISO C standards]: Do not allow headers.
3210 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
3211 wcs[abcdefghijklmnopqrstuvwxyz]*.
3212 [ISO C standards] (*_t): Do not allow.
3213 * conform/data/wctype.h-data [C99-based standards] (iswblank):
3214 Expect function.
3215 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
3216 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
3217 Specify type.
3218 [ISO C standards]: Do not allow headers.
3219 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
3220 is[abcdefghijklmnopqrstuvwxyz]*.
3221 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
3222 to[abcdefghijklmnopqrstuvwxyz]*.
3223 [ISO C standards] (*_t): Do not allow.
3224 * conform/data/stdalign.h-data: New file.
3225 * conform/data/stdbool.h-data: Likewise.
3226 * conform/data/stdnoreturn.h-data: Likewise.
3227
7514feb8
RM
32282012-11-07 Roland McGrath <roland@hack.frob.com>
3229
3230 [BZ #14815]
3231 * manual/filesys.texi (Directory Entries): Typo fix.
3232 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
3233
19b2ecfc
MS
32342012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3235
3236 * elf/elf.h (EM_AARCH64): New macro.
3237 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
3238 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
3239 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
3240 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
3241 (R_AARCH64_TLSDESC): Likewise.
3242 (NT_ARM_TLS): Likewise.
3243 (NT_ARM_HW_BREAK): Likewise.
3244 (NT_ARM_HW_WATCH): Likewise.
3245
60e235ee
JM
32462012-11-07 Joseph Myers <joseph@codesourcery.com>
3247
3248 [BZ #14811]
3249 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
3250 (__ieee754_powl): Saturate nonzero exponents with absolute value
3251 below 0x1p-79 to +/- 0x1p-79.
3252 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
3253 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
3254 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
3255 nonzero exponents with absolute value below 0x1p-32 to +/-
3256 0x1p-32.
3257 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
3258 (__ieee754_powl): Saturate nonzero exponents with absolute value
3259 below 0x1p-79 to +/- 0x1p-79.
3260 * math/libm-test.inc (pow_test): Add more tests.
3261
0ab234b7
AK
32622012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3263
3264 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
3265 _dl_s390_cap_flags with kernel. Increase string length.
3266 (_dl_s390_platforms): Add z196 and zEC12.
3267
45832f74
JM
32682012-11-07 Joseph Myers <joseph@codesourcery.com>
3269
3270 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
3271 Change XOPEN21K to XOPEN2K.
3272
19218757
MK
32732012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
3274
3275 * string/memmove.c: Use memcpy when possible.
3276
c5f45721
AJ
32772012-11-06 Andreas Jaeger <aj@suse.de>
3278
3279 * po/eo.po: Update from translation team.
3280
82477c28
JM
32812012-11-06 Joseph Myers <joseph@codesourcery.com>
3282
3283 [BZ #14793]
3284 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
3285 exponent and small x and y exponents, scale x or y up. Increase
3286 by 2 the exponent used in scaling up.
3287 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3288 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3289 * math/libm-test.inc (fma_test): Add more tests.
3290 (fma_test_towardzero): Likewise.
3291 (fma_test_downward): Likewise.
3292 (fma_test_upward): Likewise.
3293
99252c8c
JM
32942012-11-05 Joseph Myers <joseph@codesourcery.com>
3295
acfa885f
JM
3296 [BZ #14805]
3297 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
3298 fenv_t *.
3299
99252c8c
JM
3300 [BZ #14801]
3301 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
3302 namespace for names of struct fields.
3303 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
3304 fenv_t fields.
3305 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
3306 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
3307
d6d98dea
ST
33082012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
3309
3310 [BZ #3665]
3311 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
3312
e10bb107
TS
33132012-11-04 Thomas Schwinge <thomas@codesourcery.com>
3314
3315 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
3316 PTR_DEMANGLE.
3317
3318 [BZ #5246]
3319 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
3320 PTR_DEMANGLE.
3321
a0c2940d
JM
33222012-11-04 Joseph Myers <joseph@codesourcery.com>
3323
3324 [BZ #14797]
3325 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
3326 definitely overflow as x * y not x * y + z.
3327 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3328 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3329 * math/libm-test.inc (fma_test): Add more tests.
3330 (fma_test_towardzero): Likewise.
3331 (fma_test_downward): Likewise.
3332 (fma_test_upward): Likewise.
3333
b830319d
TS
33342012-11-04 Thomas Schwinge <thomas@codesourcery.com>
3335
3336 [BZ #157]
3337
3338 * include/stub-tag.h: Remove file.
3339 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
3340 '#include' of it.
3341 * manual/maint.texi (Porting): Don't reference it.
3342 * Makerules ($(objpfx)stubs): Likewise.
3343 * dirent/closedir.c: Don't include <stub-tag.h>.
3344 * dirent/dirfd.c: Likewise.
3345 * dirent/fdopendir.c: Likewise.
3346 * dirent/getdents.c: Likewise.
3347 * dirent/getdents64.c: Likewise.
3348 * dirent/opendir.c: Likewise.
3349 * dirent/readdir.c: Likewise.
3350 * dirent/readdir64.c: Likewise.
3351 * dirent/readdir64_r.c: Likewise.
3352 * dirent/readdir_r.c: Likewise.
3353 * dirent/rewinddir.c: Likewise.
3354 * dirent/seekdir.c: Likewise.
3355 * dirent/telldir.c: Likewise.
3356 * gmon/profil.c: Likewise.
3357 * grp/setgroups.c: Likewise.
3358 * inet/if_index.c: Likewise.
3359 * io/access.c: Likewise.
3360 * io/chdir.c: Likewise.
3361 * io/chmod.c: Likewise.
3362 * io/chown.c: Likewise.
3363 * io/close.c: Likewise.
3364 * io/dup.c: Likewise.
3365 * io/dup2.c: Likewise.
3366 * io/dup3.c: Likewise.
3367 * io/euidaccess.c: Likewise.
3368 * io/faccessat.c: Likewise.
3369 * io/fchdir.c: Likewise.
3370 * io/fchmod.c: Likewise.
3371 * io/fchmodat.c: Likewise.
3372 * io/fchown.c: Likewise.
3373 * io/fchownat.c: Likewise.
3374 * io/fcntl.c: Likewise.
3375 * io/flock.c: Likewise.
3376 * io/fstatfs.c: Likewise.
3377 * io/fstatfs64.c: Likewise.
3378 * io/fstatvfs.c: Likewise.
3379 * io/fstatvfs64.c: Likewise.
3380 * io/futimens.c: Likewise.
3381 * io/fxstat.c: Likewise.
3382 * io/fxstat64.c: Likewise.
3383 * io/fxstatat.c: Likewise.
3384 * io/fxstatat64.c: Likewise.
3385 * io/getcwd.c: Likewise.
3386 * io/isatty.c: Likewise.
3387 * io/lchmod.c: Likewise.
3388 * io/lchown.c: Likewise.
3389 * io/link.c: Likewise.
3390 * io/linkat.c: Likewise.
3391 * io/lseek.c: Likewise.
3392 * io/lseek64.c: Likewise.
3393 * io/lxstat64.c: Likewise.
3394 * io/mkdir.c: Likewise.
3395 * io/mkdirat.c: Likewise.
3396 * io/mkfifo.c: Likewise.
3397 * io/mkfifoat.c: Likewise.
3398 * io/open.c: Likewise.
3399 * io/open64.c: Likewise.
3400 * io/openat.c: Likewise.
3401 * io/openat64.c: Likewise.
3402 * io/pipe.c: Likewise.
3403 * io/pipe2.c: Likewise.
3404 * io/poll.c: Likewise.
3405 * io/posix_fadvise.c: Likewise.
3406 * io/posix_fadvise64.c: Likewise.
3407 * io/posix_fallocate.c: Likewise.
3408 * io/posix_fallocate64.c: Likewise.
3409 * io/read.c: Likewise.
3410 * io/readlink.c: Likewise.
3411 * io/readlinkat.c: Likewise.
3412 * io/rmdir.c: Likewise.
3413 * io/sendfile.c: Likewise.
3414 * io/sendfile64.c: Likewise.
3415 * io/statfs.c: Likewise.
3416 * io/statfs64.c: Likewise.
3417 * io/statvfs.c: Likewise.
3418 * io/statvfs64.c: Likewise.
3419 * io/symlink.c: Likewise.
3420 * io/symlinkat.c: Likewise.
3421 * io/ttyname.c: Likewise.
3422 * io/ttyname_r.c: Likewise.
3423 * io/umask.c: Likewise.
3424 * io/unlink.c: Likewise.
3425 * io/unlinkat.c: Likewise.
3426 * io/utime.c: Likewise.
3427 * io/utimensat.c: Likewise.
3428 * io/write.c: Likewise.
3429 * io/xmknod.c: Likewise.
3430 * io/xmknodat.c: Likewise.
3431 * io/xstat.c: Likewise.
3432 * io/xstat64.c: Likewise.
3433 * login/getpt.c: Likewise.
3434 * login/grantpt.c: Likewise.
3435 * login/unlockpt.c: Likewise.
3436 * math/e_acoshl.c: Likewise.
3437 * math/e_acosl.c: Likewise.
3438 * math/e_asinl.c: Likewise.
3439 * math/e_atan2l.c: Likewise.
3440 * math/e_atanhl.c: Likewise.
3441 * math/e_coshl.c: Likewise.
3442 * math/e_expl.c: Likewise.
3443 * math/e_fmodl.c: Likewise.
3444 * math/e_gammal_r.c: Likewise.
3445 * math/e_hypotl.c: Likewise.
3446 * math/e_j0l.c: Likewise.
3447 * math/e_j1l.c: Likewise.
3448 * math/e_jnl.c: Likewise.
3449 * math/e_lgammal_r.c: Likewise.
3450 * math/e_log10l.c: Likewise.
3451 * math/e_log2l.c: Likewise.
3452 * math/e_logl.c: Likewise.
3453 * math/e_powl.c: Likewise.
3454 * math/e_rem_pio2l.c: Likewise.
3455 * math/e_sinhl.c: Likewise.
3456 * math/e_sqrtl.c: Likewise.
3457 * math/fclrexcpt.c: Likewise.
3458 * math/fedisblxcpt.c: Likewise.
3459 * math/feenablxcpt.c: Likewise.
3460 * math/fegetenv.c: Likewise.
3461 * math/fegetexcept.c: Likewise.
3462 * math/fegetround.c: Likewise.
3463 * math/feholdexcpt.c: Likewise.
3464 * math/fesetenv.c: Likewise.
3465 * math/fesetround.c: Likewise.
3466 * math/feupdateenv.c: Likewise.
3467 * math/fgetexcptflg.c: Likewise.
3468 * math/fraiseexcpt.c: Likewise.
3469 * math/fsetexcptflg.c: Likewise.
3470 * math/ftestexcept.c: Likewise.
3471 * math/k_cosl.c: Likewise.
3472 * math/k_rem_pio2l.c: Likewise.
3473 * math/k_sinl.c: Likewise.
3474 * math/k_tanl.c: Likewise.
3475 * math/s_asinhl.c: Likewise.
3476 * math/s_atanl.c: Likewise.
3477 * math/s_cbrtl.c: Likewise.
3478 * math/s_erfl.c: Likewise.
3479 * math/s_expm1l.c: Likewise.
3480 * math/s_log1pl.c: Likewise.
3481 * math/s_tanhl.c: Likewise.
3482 * misc/acct.c: Likewise.
3483 * misc/brk.c: Likewise.
3484 * misc/chflags.c: Likewise.
3485 * misc/chroot.c: Likewise.
3486 * misc/fchflags.c: Likewise.
3487 * misc/fgetxattr.c: Likewise.
3488 * misc/flistxattr.c: Likewise.
3489 * misc/fremovexattr.c: Likewise.
3490 * misc/fsetxattr.c: Likewise.
3491 * misc/fsync.c: Likewise.
3492 * misc/ftruncate.c: Likewise.
3493 * misc/futimes.c: Likewise.
3494 * misc/futimesat.c: Likewise.
3495 * misc/getdomain.c: Likewise.
3496 * misc/getdtsz.c: Likewise.
3497 * misc/gethostid.c: Likewise.
3498 * misc/gethostname.c: Likewise.
3499 * misc/getloadavg.c: Likewise.
3500 * misc/getpagesize.c: Likewise.
3501 * misc/getsysstats.c: Likewise.
3502 * misc/getxattr.c: Likewise.
3503 * misc/gtty.c: Likewise.
3504 * misc/ioctl.c: Likewise.
3505 * misc/lgetxattr.c: Likewise.
3506 * misc/listxattr.c: Likewise.
3507 * misc/llistxattr.c: Likewise.
3508 * misc/lremovexattr.c: Likewise.
3509 * misc/lsetxattr.c: Likewise.
3510 * misc/lutimes.c: Likewise.
3511 * misc/madvise.c: Likewise.
3512 * misc/mincore.c: Likewise.
3513 * misc/mlock.c: Likewise.
3514 * misc/mlockall.c: Likewise.
3515 * misc/mmap.c: Likewise.
3516 * misc/mprotect.c: Likewise.
3517 * misc/msync.c: Likewise.
3518 * misc/munlock.c: Likewise.
3519 * misc/munlockall.c: Likewise.
3520 * misc/munmap.c: Likewise.
3521 * misc/preadv.c: Likewise.
3522 * misc/preadv64.c: Likewise.
3523 * misc/ptrace.c: Likewise.
3524 * misc/pwritev.c: Likewise.
3525 * misc/pwritev64.c: Likewise.
3526 * misc/readv.c: Likewise.
3527 * misc/reboot.c: Likewise.
3528 * misc/remap_file_pages.c: Likewise.
3529 * misc/removexattr.c: Likewise.
3530 * misc/revoke.c: Likewise.
3531 * misc/select.c: Likewise.
3532 * misc/setdomain.c: Likewise.
3533 * misc/setegid.c: Likewise.
3534 * misc/seteuid.c: Likewise.
3535 * misc/sethostid.c: Likewise.
3536 * misc/sethostname.c: Likewise.
3537 * misc/setregid.c: Likewise.
3538 * misc/setreuid.c: Likewise.
3539 * misc/setxattr.c: Likewise.
3540 * misc/sstk.c: Likewise.
3541 * misc/stty.c: Likewise.
3542 * misc/swapoff.c: Likewise.
3543 * misc/swapon.c: Likewise.
3544 * misc/sync.c: Likewise.
3545 * misc/syncfs.c: Likewise.
3546 * misc/syscall.c: Likewise.
3547 * misc/truncate.c: Likewise.
3548 * misc/ualarm.c: Likewise.
3549 * misc/usleep.c: Likewise.
3550 * misc/ustat.c: Likewise.
3551 * misc/utimes.c: Likewise.
3552 * misc/vhangup.c: Likewise.
3553 * misc/writev.c: Likewise.
3554 * posix/_exit.c: Likewise.
3555 * posix/alarm.c: Likewise.
3556 * posix/execve.c: Likewise.
3557 * posix/fexecve.c: Likewise.
3558 * posix/fork.c: Likewise.
3559 * posix/fpathconf.c: Likewise.
3560 * posix/getaddrinfo.c: Likewise.
3561 * posix/getegid.c: Likewise.
3562 * posix/geteuid.c: Likewise.
3563 * posix/getgid.c: Likewise.
3564 * posix/getgroups.c: Likewise.
3565 * posix/getlogin.c: Likewise.
3566 * posix/getlogin_r.c: Likewise.
3567 * posix/getpgid.c: Likewise.
3568 * posix/getpid.c: Likewise.
3569 * posix/getppid.c: Likewise.
3570 * posix/getresgid.c: Likewise.
3571 * posix/getresuid.c: Likewise.
3572 * posix/getsid.c: Likewise.
3573 * posix/getuid.c: Likewise.
3574 * posix/glob64.c: Likewise.
3575 * posix/nanosleep.c: Likewise.
3576 * posix/pathconf.c: Likewise.
3577 * posix/pause.c: Likewise.
3578 * posix/posix_madvise.c: Likewise.
3579 * posix/pread.c: Likewise.
3580 * posix/pread64.c: Likewise.
3581 * posix/pwrite.c: Likewise.
3582 * posix/pwrite64.c: Likewise.
3583 * posix/sched_getaffinity.c: Likewise.
3584 * posix/sched_getp.c: Likewise.
3585 * posix/sched_gets.c: Likewise.
3586 * posix/sched_primax.c: Likewise.
3587 * posix/sched_primin.c: Likewise.
3588 * posix/sched_rr_gi.c: Likewise.
3589 * posix/sched_setaffinity.c: Likewise.
3590 * posix/sched_setp.c: Likewise.
3591 * posix/sched_sets.c: Likewise.
3592 * posix/sched_yield.c: Likewise.
3593 * posix/setgid.c: Likewise.
3594 * posix/setlogin.c: Likewise.
3595 * posix/setpgid.c: Likewise.
3596 * posix/setresgid.c: Likewise.
3597 * posix/setresuid.c: Likewise.
3598 * posix/setsid.c: Likewise.
3599 * posix/setuid.c: Likewise.
3600 * posix/sleep.c: Likewise.
3601 * posix/spawni.c: Likewise.
3602 * posix/sysconf.c: Likewise.
3603 * posix/times.c: Likewise.
3604 * posix/wait.c: Likewise.
3605 * posix/wait3.c: Likewise.
3606 * posix/wait4.c: Likewise.
3607 * posix/waitpid.c: Likewise.
3608 * resolv/gai_sigqueue.c: Likewise.
3609 * resource/getpriority.c: Likewise.
3610 * resource/getrlimit.c: Likewise.
3611 * resource/getrusage.c: Likewise.
3612 * resource/nice.c: Likewise.
3613 * resource/setpriority.c: Likewise.
3614 * resource/setrlimit.c: Likewise.
3615 * resource/ulimit.c: Likewise.
3616 * rt/aio_cancel.c: Likewise.
3617 * rt/aio_fsync.c: Likewise.
3618 * rt/aio_read.c: Likewise.
3619 * rt/aio_sigqueue.c: Likewise.
3620 * rt/aio_suspend.c: Likewise.
3621 * rt/aio_write.c: Likewise.
3622 * rt/clock_getres.c: Likewise.
3623 * rt/clock_gettime.c: Likewise.
3624 * rt/clock_nanosleep.c: Likewise.
3625 * rt/clock_settime.c: Likewise.
3626 * rt/lio_listio.c: Likewise.
3627 * rt/mq_close.c: Likewise.
3628 * rt/mq_getattr.c: Likewise.
3629 * rt/mq_notify.c: Likewise.
3630 * rt/mq_open.c: Likewise.
3631 * rt/mq_receive.c: Likewise.
3632 * rt/mq_send.c: Likewise.
3633 * rt/mq_setattr.c: Likewise.
3634 * rt/mq_timedreceive.c: Likewise.
3635 * rt/mq_timedsend.c: Likewise.
3636 * rt/mq_unlink.c: Likewise.
3637 * rt/shm_open.c: Likewise.
3638 * rt/shm_unlink.c: Likewise.
3639 * rt/timer_create.c: Likewise.
3640 * rt/timer_delete.c: Likewise.
3641 * rt/timer_getoverr.c: Likewise.
3642 * rt/timer_gettime.c: Likewise.
3643 * rt/timer_settime.c: Likewise.
3644 * setjmp/__longjmp.c: Likewise.
3645 * setjmp/setjmp.c: Likewise.
3646 * signal/kill.c: Likewise.
3647 * signal/killpg.c: Likewise.
3648 * signal/raise.c: Likewise.
3649 * signal/sigaction.c: Likewise.
3650 * signal/sigaltstack.c: Likewise.
3651 * signal/sigblock.c: Likewise.
3652 * signal/sigignore.c: Likewise.
3653 * signal/sigintr.c: Likewise.
3654 * signal/signal.c: Likewise.
3655 * signal/sigpause.c: Likewise.
3656 * signal/sigpending.c: Likewise.
3657 * signal/sigqueue.c: Likewise.
3658 * signal/sigreturn.c: Likewise.
3659 * signal/sigset.c: Likewise.
3660 * signal/sigsetmask.c: Likewise.
3661 * signal/sigstack.c: Likewise.
3662 * signal/sigsuspend.c: Likewise.
3663 * signal/sigtimedwait.c: Likewise.
3664 * signal/sigvec.c: Likewise.
3665 * signal/sigwait.c: Likewise.
3666 * signal/sigwaitinfo.c: Likewise.
3667 * signal/sysv_signal.c: Likewise.
3668 * socket/accept.c: Likewise.
3669 * socket/accept4.c: Likewise.
3670 * socket/bind.c: Likewise.
3671 * socket/connect.c: Likewise.
3672 * socket/getpeername.c: Likewise.
3673 * socket/getsockname.c: Likewise.
3674 * socket/getsockopt.c: Likewise.
3675 * socket/isfdtype.c: Likewise.
3676 * socket/listen.c: Likewise.
3677 * socket/recv.c: Likewise.
3678 * socket/recvfrom.c: Likewise.
3679 * socket/recvmsg.c: Likewise.
3680 * socket/send.c: Likewise.
3681 * socket/sendmsg.c: Likewise.
3682 * socket/sendto.c: Likewise.
3683 * socket/setsockopt.c: Likewise.
3684 * socket/shutdown.c: Likewise.
3685 * socket/sockatmark.c: Likewise.
3686 * socket/socket.c: Likewise.
3687 * socket/socketpair.c: Likewise.
3688 * stdio-common/ctermid.c: Likewise.
3689 * stdio-common/cuserid.c: Likewise.
3690 * stdio-common/remove.c: Likewise.
3691 * stdio-common/rename.c: Likewise.
3692 * stdio-common/renameat.c: Likewise.
3693 * stdio-common/tempname.c: Likewise.
3694 * stdlib/getcontext.c: Likewise.
3695 * stdlib/makecontext.c: Likewise.
3696 * stdlib/setcontext.c: Likewise.
3697 * stdlib/swapcontext.c: Likewise.
3698 * stdlib/system.c: Likewise.
3699 * streams/fattach.c: Likewise.
3700 * streams/fdetach.c: Likewise.
3701 * streams/getmsg.c: Likewise.
3702 * streams/getpmsg.c: Likewise.
3703 * streams/putmsg.c: Likewise.
3704 * streams/putpmsg.c: Likewise.
3705 * sysdeps/unix/bsd/getpt.c: Likewise.
3706 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
3707 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
3708 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
3709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
3710 Likewise.
3711 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
3712 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
3713 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
3714 * sysvipc/msgctl.c: Likewise.
3715 * sysvipc/msgget.c: Likewise.
3716 * sysvipc/msgrcv.c: Likewise.
3717 * sysvipc/msgsnd.c: Likewise.
3718 * sysvipc/semctl.c: Likewise.
3719 * sysvipc/semget.c: Likewise.
3720 * sysvipc/semop.c: Likewise.
3721 * sysvipc/semtimedop.c: Likewise.
3722 * sysvipc/shmat.c: Likewise.
3723 * sysvipc/shmctl.c: Likewise.
3724 * sysvipc/shmdt.c: Likewise.
3725 * sysvipc/shmget.c: Likewise.
3726 * termios/tcdrain.c: Likewise.
3727 * termios/tcflow.c: Likewise.
3728 * termios/tcflush.c: Likewise.
3729 * termios/tcgetattr.c: Likewise.
3730 * termios/tcgetpgrp.c: Likewise.
3731 * termios/tcsendbrk.c: Likewise.
3732 * termios/tcsetattr.c: Likewise.
3733 * termios/tcsetpgrp.c: Likewise.
3734 * time/adjtime.c: Likewise.
3735 * time/clock.c: Likewise.
3736 * time/getitimer.c: Likewise.
3737 * time/gettimeofday.c: Likewise.
3738 * time/setitimer.c: Likewise.
3739 * time/settimeofday.c: Likewise.
3740 * time/stime.c: Likewise.
3741 * time/time.c: Likewise.
3742
37432012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 3744
a20492cf
PT
3745 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
3746 /usr/old/bin.
3747
72e182e3
PT
3748 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
3749 instead of spaces.
3750 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
3751
fbeafede
JM
37522012-11-03 Joseph Myers <joseph@codesourcery.com>
3753
5b5b04d6
JM
3754 [BZ #14796]
3755 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
3756 FE_TONEAREST before applying Dekker multiplication and Knuth
3757 addition. Clear inexact exceptions and check for exact zero
3758 results afterwards.
3759 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3760 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
3761 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3762 * math/libm-test.inc (fma_test): Add more tests.
3763 (fma_test_towardzero): Likewise.
3764 (fma_test_downward): Likewise.
3765 (fma_test_upward): Likewise.
3766 * sysdeps/generic/math_private.h (default_libc_fesetround): New
3767 function.
3768 (libc_fesetround): New macro.
3769 (libc_fesetroundf): Likewise.
3770 (libc_fesetroundl): Likewise.
3771 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
3772 function.
3773 (libc_fesetround_387): Likewise.
3774 (libc_fesetroundf): New macro.
3775 (libc_fesetround): Likewise.
3776 (libc_fesetroundl): Likewise.
3777 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
3778 function.
3779 (libc_fesetroundf): New macro.
3780 (libc_fesetround): Likewise.
3781 (libc_fesetroundl): Likewise.
3782 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
3783 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
3784 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
3785 libm_hidden_ver.
3786 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
3787 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
3788 libm_hidden_def.
3789 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
3790 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
3791 libm_hidden_ver.
3792 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
3793 libm_hidden_def.
3794
fbeafede
JM
3795 [BZ #3439]
3796 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
3797 integer constant usable in #if and use that to give value to enum
3798 constant.
3799 (FE_DIVBYZERO): Likewise.
3800 (FE_UNDERFLOW): Likewise.
3801 (FE_OVERFLOW): Likewise.
3802 (FE_INVALID): Likewise.
3803 (FE_INVALID_SNAN): Likewise.
3804 (FE_INVALID_ISI): Likewise.
3805 (FE_INVALID_IDI): Likewise.
3806 (FE_INVALID_ZDZ): Likewise.
3807 (FE_INVALID_IMZ): Likewise.
3808 (FE_INVALID_COMPARE): Likewise.
3809 (FE_INVALID_SOFTWARE): Likewise.
3810 (FE_INVALID_SQRT): Likewise.
3811 (FE_INVALID_INTEGER_CONVERSION): Likewise.
3812 (FE_TONEAREST): Likewise.
3813 (FE_TOWARDZERO): Likewise.
3814 (FE_UPWARD): Likewise.
3815 (FE_DOWNWARD): Likewise.
3816 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
3817 (FE_DIVBYZERO): Likewise.
3818 (FE_OVERFLOW): Likewise.
3819 (FE_UNDERFLOW): Likewise.
3820 (FE_INEXACT): Likewise.
3821 (FE_TONEAREST): Likewise.
3822 (FE_DOWNWARD): Likewise.
3823 (FE_UPWARD): Likewise.
3824 (FE_TOWARDZERO): Likewise.
3825 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
3826 (FE_UNDERFLOW): Likewise.
3827 (FE_OVERFLOW): Likewise.
3828 (FE_DIVBYZERO): Likewise.
3829 (FE_INVALID): Likewise.
3830 (FE_TONEAREST): Likewise.
3831 (FE_TOWARDZERO): Likewise.
3832 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
3833 (FE_OVERFLOW): Likewise.
3834 (FE_UNDERFLOW): Likewise.
3835 (FE_DIVBYZERO): Likewise.
3836 (FE_INEXACT): Likewise.
3837 (FE_TONEAREST): Likewise.
3838 (FE_TOWARDZERO): Likewise.
3839 (FE_UPWARD): Likewise.
3840 (FE_DOWNWARD): Likewise.
3841 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
3842 (FE_DIVBYZERO): Likewise.
3843 (FE_OVERFLOW): Likewise.
3844 (FE_UNDERFLOW): Likewise.
3845 (FE_INEXACT): Likewise.
3846 (FE_TONEAREST): Likewise.
3847 (FE_DOWNWARD): Likewise.
3848 (FE_UPWARD): Likewise.
3849 (FE_TOWARDZERO): Likewise.
3850
105ca950
CM
38512012-11-02 Chris Metcalf <cmetcalf@tilera.com>
3852
3853 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
3854
a542b389
AS
38552012-11-03 Andreas Schwab <schwab@linux-m68k.org>
3856
3857 * scripts/cross-test-ssh.sh (command): Use newlines to separate
3858 commands. Quote $PWD.
3859 (blacklist_exports): Don't use remove_newlines. Replace "declare
3860 -x" by "export".
3861 (remove_newlines): Remove.
3862
f62c8abc
L
38632012-11-02 H.J. Lu <hongjiu.lu@intel.com>
3864
3865 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
3866 * stdlib/stdlib.h (atof): Moved to ...
3867 * include/bits/stdlib-float.h: Here. New file.
3868 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
3869 * stdlib/bits/stdlib-float.h: New file.
3870 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
3871 -mno-sse -mno-mmx.
3872 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
3873 <xmmintrin.h>.
3874
0155d5b2
JM
38752012-11-02 Joseph Myers <joseph@codesourcery.com>
3876
a68d0680
JM
3877 * conform/conformtest.pl (@headers): Add fenv.h.
3878 * conform/data/fenv.h-data: New file.
3879 * include/fenv.h [_ISOMAC]: Disable all contents of file except
3880 include of <math/fenv.h>.
3881
caf7f573
JM
3882 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
3883 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
3884 && !UNIX98]. Enables tests for XOPEN2K8.
3885 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
3886 POSIX2008]: Likewise.
3887
6c073ad6
JM
3888 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
3889 (struct rusage): Do not expect type or its members.
3890
0155d5b2
JM
3891 [BZ #3439]
3892 * math/math.h (FP_NAN): Define macro to integer constant usable in
3893 #if and use that to give value to enum constant.
3894 (FP_INFINITE): Likewise.
3895 (FP_ZERO): Likewise.
3896 (FP_SUBNORMAL): Likewise.
3897 (FP_NORMAL): Likewise.
3898
b5dcacb4
AS
38992012-11-02 Andreas Schwab <schwab@linux-m68k.org>
3900
3901 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
3902 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
3903 arguments.
3904
f7934be8
RM
39052012-11-02 Roland McGrath <roland@hack.frob.com>
3906
3907 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
3908 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
3909 autoconf-time if not.
3910 * configure.in: Remove AC_PREREQ.
3911
d7d08bde
TMQMF
39122012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3913
3914 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
3915 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
3916 of the internal implementation.
3917
dcdae19a
JM
39182012-11-02 Joseph Myers <joseph@codesourcery.com>
3919
3920 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
3921 except include of <misc/sys/syslog.h>.
3922
d6cffd3e
AS
39232012-11-01 Andreas Schwab <schwab@linux-m68k.org>
3924
3925 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
3926 function returns with a NULL context exit with zero.
3927
b3563932
TMQMF
39282012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3929
3930 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
3931
b288a93d
L
39322012-11-01 H.J. Lu <hongjiu.lu@intel.com>
3933
3934 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
3935 (run_program_cmd): This.
3936 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
3937 (tst_langinfo): New variable. Use it.
3938
a2421a68
SAS
39392012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
3940
3941 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
3942 floating point opcodes.
3943
6f796e1b
TS
39442012-11-01 Thomas Schwinge <thomas@codesourcery.com>
3945
7402596b
TS
3946 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
3947 variable.
3948
d0d4f868
TS
3949 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
3950
6f796e1b
TS
3951 * sysdeps/mach/hurd/powerpc: Remove directory.
3952 * sysdeps/mach/powerpc: Likewise.
3953
4da224a2
AS
39542012-11-01 Andreas Schwab <schwab@linux-m68k.org>
3955
3956 * scripts/check-local-headers.sh: Ignore c++ headers.
3957
341dd673
TS
39582012-11-01 Thomas Schwinge <thomas@codesourcery.com>
3959
3960 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
3961 __libc_cleanup_region_start argument.
3962
473611b2
JM
39632012-11-01 Joseph Myers <joseph@codesourcery.com>
3964
3965 [BZ #14784]
3966 [BZ #14785]
3967 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
3968 x * y using scaling, not as x * y + z.
3969 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3970 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3971 * math/libm-test.inc (fma_test): Add more tests.
3972 (fma_test_towardzero): Likewise.
3973 (fma_test_downward): Likewise.
3974 (fma_test_upward): Likewise.
3975
4078da3d
TS
39762012-11-01 Thomas Schwinge <thomas@codesourcery.com>
3977
3978 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
3979
903252aa
JM
39802012-10-31 Joseph Myers <joseph@codesourcery.com>
3981
3982 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
3983 New variable.
3984
cbc818d0
TS
39852012-10-31 Thomas Schwinge <thomas@codesourcery.com>
3986
3987 * rt/tst-shm.c (worker): Correct checking for mmap failure.
3988
5a03cb1e
AS
39892012-10-31 Andreas Schwab <schwab@linux-m68k.org>
3990
3991 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3992 Fix sort order.
3993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3994 Likewise.
3995
90aff2ff
TMQMF
39962012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3997
3998 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3999 Fix the order of the list for glibc 2.17.
4000 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
4001 Likewise.
4002
1818fcb7
AS
40032012-10-31 Andreas Schwab <schwab@linux-m68k.org>
4004
4005 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4006
ef82f4da
JM
40072012-10-31 Joseph Myers <joseph@codesourcery.com>
4008
16a0e2ec
JM
4009 [BZ #14610]
4010 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
4011 for low part of x being zero before using __atanl (y).
4012 * math/libm-test.inc (atan2_test): Add another test.
4013
0eb69512
JM
4014 * manual/install.texi (Configuring and compiling): Document
4015 general use of test-wrapper and test-wrapper-env.
4016 * INSTALL: Regenerated.
4017
ef82f4da
JM
4018 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
4019 (__fma): Do not extract and scale down low bits on after-rounding
4020 systems when result rounded to normal precision would have normal
4021 exponent.
4022 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
4023 (__fmal): Do not extract and scale down low bits on after-rounding
4024 systems when result rounded to normal precision would have normal
4025 exponent.
4026 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
4027 (__fmal): Do not extract and scale down low bits on after-rounding
4028 systems when result rounded to normal precision would have normal
4029 exponent.
4030 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
4031 macro.
4032 (fma_test): Add more tests.
4033 (fma_test_towardzero): Likewise.
4034 (fma_test_downward): Likewise.
4035 (fma_test_upward): Likewise.
4036
954ef0d9
L
40372012-10-30 H.J. Lu <hongjiu.lu@intel.com>
4038
4039 * sysdeps/i386/tininess.h: Renamed to ...
4040 * sysdeps/x86/tininess.h: This.
4041 * sysdeps/x86_64/tininess.h: Removed.
4042
df61ffb2
JM
40432012-10-30 Joseph Myers <joseph@codesourcery.com>
4044
4045 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
4046 input. Use $(build-program-cmd).
4047 ($(objpfx)tst-array1-static.out): Likewise.
4048 ($(objpfx)tst-array2.out): Likewise.
4049 ($(objpfx)tst-array3.out): Likewise.
4050 ($(objpfx)tst-array4.out): Likewise.
4051 ($(objpfx)tst-array5.out): Likewise.
4052 ($(objpfx)tst-array5-static.out): Likewise.
4053
01767843
CM
40542012-10-30 Chris Metcalf <cmetcalf@tilera.com>
4055
47cc1490
CM
4056 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
4057 if defined.
4058
01767843
CM
4059 * nss/nsswitch.h (nss_interface_function): Provide new
4060 macro for use with NSS functions.
4061 * grp/initgroups.c: Use new macro.
4062 * nss/getXXbyYY.c: Likewise.
4063 * nss/getXXbyYY_r.c: Likewise.
4064 * nss/getXXent.c: Likewise.
4065 * nss/getXXent_r.c: Likewise.
4066 * sysdeps/posix/getaddrinfo.c: Likewise.
4067
8321aa97
AJ
40682012-10-30 Andreas Jaeger <aj@suse.de>
4069
4070 * po/ru.po: Update Russion translation from translation project.
4071
2a27fd6d
JM
40722012-10-30 Joseph Myers <joseph@codesourcery.com>
4073
8627a232
JM
4074 [BZ #14152]
4075 [BZ #14783]
4076 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
4077 result and shift together with sticky bit instead of replicating
4078 round-to-nearest rounding.
4079 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4080 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4081 * math/libm-test.inc (fma_test): Add more tests. Do not permit
4082 missing underflow exceptions.
4083 (fma_test_towardzero): Add more tests.
4084 (fma_test_downward): Likewise.
4085 (fma_test_upward): Likewise.
4086
2a27fd6d
JM
4087 [BZ #14047]
4088 * sysdeps/generic/tininess.h: New file.
4089 * sysdeps/i386/tininess.h: Likewise.
4090 * sysdeps/sh/tininess.h: Likewise.
4091 * sysdeps/x86_64/tininess.h: Likewise.
4092 * stdlib/tst-strtod-underflow.c: Likewise.
4093 * stdlib/tst-tininess.c: Likewise.
4094 * stdlib/strtod_l.c: Include <tininess.h>.
4095 (round_and_return): Do not set errno for exact underflow cases.
4096 Force an underflow exception when setting errno for underflow.
4097 Determine underflow based on rounding to normal precision if
4098 TININESS_AFTER_ROUNDING.
4099 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
4100 ERANGE for exact underflow cases.
4101 * stdlib/Makefile (tests): Add tst-tininess and
4102 tst-strtod-underflow.
4103 ($(objpfx)tst-tininess): Use $(link-libm).
4104 ($(objpfx)tst-strtod-underflow): Likewise.
4105
e7170363
AJ
41062012-10-30 Andreas Jaeger <aj@suse.de>
4107
e5088dc6
AJ
4108 [BZ#14767]
4109 * elf/Makefile (tests): Remove conditional for have-initfini-array
4110 since this is now always required and the variable does not exist
4111 anymore.
4112 (tests-static): Likewise.
4113 (modules-names): Likewise.
4114
e7170363 4115 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
4116
4117 * elf/tst-array1.c (fini_array): Make writeable so that it can be
4118 merged with constructor/destructor.
4119 (init_array): Likewise.
4120 * elf/tst-array2dep.c (fini_array): Likewise.
4121 (init_array): Likewise.
4122
60457d8a
MF
41232012-10-29 Mike Frysinger <vapier@gentoo.org>
4124
4125 * manual/message.texi: Delete @cartouche tags.
4126
8bece752
PT
41272012-10-29 Pino Toscano <toscano.pino@tiscali.it>
4128
94ce799f
PT
4129 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
4130 EOPNOTSUPP.
4131 * sysdeps/mach/hurd/fsync.c: Likewise.
4132
8bece752
PT
4133 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
4134 [_POSIX_REALTIME_SIGNALS]: Change condition to
4135 [_POSIX_REALTIME_SIGNALS > 0].
4136
86ebe6b1
AJ
41372012-10-27 Andreas Jaeger <aj@suse.de>
4138
4139 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
4140 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
4141 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
4142 [__WORDSIZE != 64]: Likewise.
4143
54399c08
L
41442012-10-26 H.J. Lu <hongjiu.lu@intel.com>
4145
4146 * iconvdata/tst-table.sh: Remove ${SHELL}.
4147 * iconvdata/tst-tables.sh: Likewise.
4148
e2211bed
DM
41492012-10-25 David S. Miller <davem@davemloft.net>
4150
4151 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4152 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
4153 of strtoull.
4154
f303f97c
DM
4155 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
4156 ifunc-impl-list.c
4157 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
4158 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
4159 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
4160 file.
4161
1e9d84cd
RM
41622012-10-25 Roland McGrath <roland@hack.frob.com>
4163
4164 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4165 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
4166 __getdirentries.
4167
df381762
JM
41682012-10-25 Joseph Myers <joseph@codesourcery.com>
4169 Jim Blandy <jimb@codesourcery.com>
4170
4171 * scripts/cross-test-ssh.sh: New file.
4172 * manual/install.texi (Configuring and compiling): Document use of
4173 cross-test-ssh.sh.
4174 * INSTALL: Regenerated.
4175
bff64913
PT
41762012-10-25 Pino Toscano <toscano.pino@tiscali.it>
4177
4178 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
4179 EOPNOTSUPP.
4180
25fe8932
JM
41812012-10-25 Joseph Myers <joseph@codesourcery.com>
4182
4183 * Makeconfig (run-program-prefix): Fix comment.
4184
cc1290d0
JM
41852012-10-24 Joseph Myers <joseph@codesourcery.com>
4186 Jim Blandy <jimb@codesourcery.com>
4187
4188 * Makeconfig (test-wrapper): New variable,
4189 (test-wrapper-env): Likewise.
4190 [$(cross-compiling) = yes && $(test-wrapper) != ""]
4191 (run-built-tests): Define to yes.
4192 (run-program-prefix): Use $(test-wrapper).
4193 (built-program-cmd): Likewise.
4194 * Rules (make-test-out): Use $(test-wrapper-env) and
4195 $(host-built-program-cmd).
4196 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
4197 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
4198 tst-pathopt.sh.
4199 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
4200 $(test-wrapper-env) to tst-rtld-load-self.sh.
4201 ($(objpfx)order2.out): Use $(test-wrapper).
4202 ($(objpfx)tst-initorder.out): Likewise.
4203 ($(objpfx)tst-initorder2.out): Likewise.
4204 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
4205 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
4206 (test_wrapper_env): New variable. Use it to run ld.so.
4207 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
4208 Use it to run ld.so.
4209 (test_wrapper_env): Likewise.
4210 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
4211 $(test-wrapper) to run-iconv-test.sh.
4212 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
4213 (ICONV): Use $test_wrapper.
4214 * posix/Makefile ($(objpfx)globtest.out): Pass
4215 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
4216 globtest.sh, not $(run-program-prefix).
4217 * posix/globtest.sh (run_via_rtld_prefix): New variable.
4218 (test_wrapper): Likewise.
4219 (test_wrapper_env): Likewise. Use it to run globtest with HOME
4220 set together with run_via_rtld_prefix.
4221 (run_program_prefix): Define in terms of test_wrapper and
4222 run_via_rtld_prefix.
4223
6e6249d0
RM
42242012-10-24 Roland McGrath <roland@hack.frob.com>
4225
4226 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
4227 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
4228 Targets removed.
4229
4230 [BZ #14743]
4231 * include/time.h: Remove librt_hidden_proto (clock_gettime).
4232 Declare __clock_getres, __clock_gettime, __clock_settime,
4233 __clock_nanosleep, and __clock_getcpuclockid.
4234 * rt/clock_gettime.c: Define __clock_gettime as an alias.
4235 Remove librt_hidden_def (clock_gettime).
4236 * sysdeps/unix/clock_gettime.c: Likewise.
4237 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
4238 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
4239 * rt/clock_getres.c: Define __clock_getres as an alias.
4240 * sysdeps/posix/clock_getres.c: Likewise.
4241 * rt/clock_settime.c: Define __clock_settime as an alias.
4242 * sysdeps/unix/clock_settime.c: Likewise.
4243 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
4244 * sysdeps/unix/clock_nanosleep.c: Likewise.
4245 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
4246 * rt/clock-compat.c: New file.
4247 * rt/Makefile (librt-routines): Add clock-compat and move
4248 $(clock-routines) to ...
4249 (routines): ... here, new variable.
4250 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
4251 Don't add get_clockfreq here.
4252 * rt/Versions (libc: GLIBC_2.17): New version set.
4253 Add clock_* symbols here.
4254 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
4255 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
4256 (GLIBC_2.17): Add clock_* symbols.
4257 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
4258 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
4259 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
4260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
4261 Likewise.
4262 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4263 Likewise.
4264 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
4265 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
4266 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
4267 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
4268 * NEWS: Mention the move.
4269
4270 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
4271 Use __open, __read, __close rather than their public counterparts.
4272 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4273 (__get_clockfreq_via_cpuinfo): Likewise.
4274 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
4275 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
4276
4277 * config.h.in (HAVE_IFUNC): New #undef.
4278 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
4279 was successful.
4280 * configure: Regenerated.
4281
0cae3f4b
MF
42822012-10-24 Mike Frysinger <vapier@gentoo.org>
4283
4284 * configure.in: Move READELF check to start of file.
4285 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
4286 libc_cv_asm_gnu_indirect_function in the process.
4287 * configure: Regenerated.
4288
8175a253
MF
42892012-10-24 Mike Frysinger <vapier@gentoo.org>
4290
4291 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
4292 send the output to /dev/null.
4293 (libc_cv_cc_with_libunwind): Likewise.
4294 (libc_cv_as_noexecstack): Likewise.
4295 * configure: Regenerate.
4296
0708a7d1
JM
42972012-10-24 Joseph Myers <joseph@codesourcery.com>
4298
10b40d85
JM
4299 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
4300
0708a7d1
JM
4301 * posix/globtest.sh (TMPDIR): Do not set.
4302 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
4303 (testout): Likewise.
4304
9fddec1a
AJ
43052012-10-24 Andreas Jaeger <aj@suse.de>
4306
3a8db22f
AJ
4307 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
4308 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
4309 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
4310 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
4311 posix_fadvise64, posix_fallocate64.
4312
9fddec1a
AJ
4313 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
4314 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
4315 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
4316 Likewise.
4317 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
4318 Likewise.
4319 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
4320
4321 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
4322 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
4323 <bits/fcntl-linux.h>.
4324 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
4325
4326 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
4327 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
4328 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
4329 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
4330 [__WORDSIZE != 64]: Likewise.
4331
ebfd1bbd
JM
43322012-10-23 Joseph Myers <joseph@codesourcery.com>
4333
03ac099f
JM
4334 * Makeconfig (run-built-tests): New variable.
4335 * Rules [$(cross-compiling) = yes]: Change condition to
4336 [$(run-built-tests) = no].
4337 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
4338 to [$(run-built-tests) = yes].
4339 * elf/Makefile [$(cross-compiling) = no]: Likewise
4340 * grp/Makefile [$(cross-compiling) = no]: Likewise.
4341 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
4342 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
4343 * intl/Makefile [$(cross-compiling) = no]: Likewise.
4344 * io/Makefile [$(cross-compiling) = no]: Likewise.
4345 * libio/Makefile [$(cross-compiling) = no]: Likewise.
4346 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
4347 * misc/Makefile [$(cross-compiling) = no]: Likewise.
4348 * posix/Makefile [$(cross-compiling) = no]: Likewise.
4349 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
4350 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
4351 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
4352 * string/Makefile [$(cross-compiling) = no]: Likewise.
4353
ebfd1bbd
JM
4354 * posix/Makefile ($(objpfx)globtest.out): Pass
4355 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
4356 $(rtld-installed-name).
4357 * posix/globtest.sh (elf_objpfx): Remove variable.
4358 (rtld_installed_name): Likewise.
4359 (library_path): Likewise.
4360 (run_program_prefix): New variable. Use for running globtest
4361 binary.
4362
166bca24
JB
43632012-10-23 Jim Blandy <jimb@codesourcery.com>
4364 Joseph Myers <joseph@codesourcery.com>
4365
4366 * Makeconfig (host-built-program-cmd): New variable.
4367 * elf/Makefile (tst-stackguard1-ARGS): Use
4368 $(host-built-program-cmd).
4369 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
4370 (tst-spawn-ARGS): Likewise.
4371 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
4372
88866099
JM
43732012-10-23 Joseph Myers <joseph@codesourcery.com>
4374 Jim Blandy <jimb@codesourcery.com>
4375
4376 * Makeconfig (run-via-rtld-prefix): New variable.
4377 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
4378 (built-program-cmd): Likewise.
4379
b4b4c296
AJ
43802012-10-22 Andreas Jaeger <aj@suse.de>
4381
4382 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
4383 __O_RSYNC if it exists, otherwise to O_SYNC.
4384
6fb54a22
JB
43852012-10-22 Jim Blandy <jimb@codesourcery.com>
4386 Joseph Myers <joseph@codesourcery.com>
4387
4388 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
4389 /dev/null.
4390 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
4391 from /dev/null
4392 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
4393 /dev/null.
4394
481b90b9
AJ
43952012-10-22 Andreas Jaeger <aj@suse.de>
4396
2a0e2669
AJ
4397 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
4398 Define always.
4399 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
4400
76e38f9a
AJ
4401 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4402 bits/fcntl-linux.h.
4403
7cd37b43
AJ
4404 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
4405 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
4406
481b90b9
AJ
4407 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
4408 to __O_LARGEFILE.
4409 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
4410 to __O_LARGEFILE.
4411
aba75984
JB
44122012-10-21 Jim Blandy <jimb@codesourcery.com>
4413 Joseph Myers <joseph@codesourcery.com>
4414
4415 * config.make.in (NM): New variable.
4416
88d4247f
AJ
44172012-10-21 Andreas Jaeger <aj@suse.de>
4418
4419 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
4420 definitions and declarations that are provided by
4421 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
4422
f2eed205
L
44232012-10-20 H.J. Lu <hongjiu.lu@intel.com>
4424
4425 [BZ #14683]
4426 * elf/Makefile (tests-static): Add tst-leaks1-static.
4427 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
4428 ($(objpfx)tst-leaks1-static): New rule.
4429 ($(objpfx)tst-leaks1-static-mem): Likewise.
4430 (tst-leaks1-static-ENV): New macro.
4431 * elf/dl-open.c (dl_open_worker): Check the main application
4432 only if SHARED is defined.
4433 * elf/tst-leaks1-static.c: New file.
4434
335e6931
AJ
44352012-10-20 Andreas Jaeger <aj@suse.de>
4436
4437 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
4438 generic values for Linux.
4439 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
4440 and declarations that are provided by <bits/fcntl-linux.h> and
4441 include <bits/fcntl-linux.h>.
4442 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
4443 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
4444
ac5c94d3
RM
44452012-10-20 Roland McGrath <roland@hack.frob.com>
4446
4447 * io/fcntl.h: Move include of <bits/types.h> to the top and
4448 include it unconditionally.
4449
de54b33a
L
44502012-10-20 H.J. Lu <hongjiu.lu@intel.com>
4451
228cfb01
L
4452 * wcsmbs/Makefile (tests-ifunc): New variable.
4453 (tests): Add $(tests-ifunc).
4454 * wcsmbs/test-wcschr-ifunc.c: New file.
4455 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
4456 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
4457 * wcsmbs/test-wcslen-ifunc.c: Likewise.
4458 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
4459 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
4460
69f07e5f
L
4461 * string/Makefile (tests-ifunc): New variable.
4462 (tests): Add $(tests-ifunc).
4463 * string/test-memccpy.c (TEST_NAME): New macro.
4464 * string/test-memchr.c (TEST_NAME): Likewise.
4465 * string/test-memcmp.c (TEST_NAME): Likewise.
4466 * string/test-memcpy.c (TEST_NAME): Likewise.
4467 * string/test-memmem.c (TEST_NAME): Likewise.
4468 * string/test-memmove.c (TEST_NAME): Likewise.
4469 * string/test-memset.c (TEST_NAME): Likewise.
4470 * string/test-rawmemchr.c (TEST_NAME): Likewise.
4471 * string/test-stpcpy.c (TEST_NAME): Likewise.
4472 * string/test-stpncpy.c (TEST_NAME): Likewise.
4473 * string/test-strcasecmp.c (TEST_NAME): Likewise.
4474 * string/test-strcasestr.c (TEST_NAME): Likewise.
4475 * string/test-strcat.c (TEST_NAME): Likewise.
4476 * string/test-strchr.c (TEST_NAME): Likewise.
4477 * string/test-strcmp.c(TEST_NAME): Likewise.
4478 * string/test-strcpy.c (TEST_NAME): Likewise.
4479 * string/test-strcspn.c (TEST_NAME): Likewise.
4480 * string/test-strlen.c (TEST_NAME): Likewise.
4481 * string/test-strncasecmp.c (TEST_NAME): Likewise.
4482 * string/test-strncmp.c (TEST_NAME): Likewise.
4483 * string/test-strncpy.c (TEST_NAME): Likewise.
4484 * string/test-strnlen.c (TEST_NAME): Likewise.
4485 * string/test-strpbrk.c (TEST_NAME): Likewise.
4486 * string/test-strrchr.c (TEST_NAME): Likewise.
4487 * string/test-strspn.c (TEST_NAME): Likewise.
4488 * string/test-strstr.c (TEST_NAME): Likewise.
4489 * string/test-bcopy-ifunc.c: New file.
4490 * string/test-bzero-ifunc.c: Likewise.
4491 * string/test-memccpy-ifunc.c: Likewise.
4492 * string/test-memchr-ifunc.c: Likewise.
4493 * string/test-memcmp-ifunc.c: Likewise.
4494 * string/test-memcpy-ifunc.c: Likewise.
4495 * string/test-memmem-ifunc.c: Likewise.
4496 * string/test-memmove-ifunc.c: Likewise.
4497 * string/test-mempcpy-ifunc.c: Likewise.
4498 * string/test-memset-ifunc.c: Likewise.
4499 * string/test-rawmemchr-ifunc.c: Likewise.
4500 * string/test-stpcpy-ifunc.c: Likewise.
4501 * string/test-stpncpy-ifunc.c: Likewise.
4502 * string/test-strcasecmp-ifunc.c: Likewise.
4503 * string/test-strcasestr-ifunc.c: Likewise.
4504 * string/test-strcat-ifunc.c: Likewise.
4505 * string/test-strchr-ifunc.c: Likewise.
4506 * string/test-strchrnul-ifunc.c: Likewise.
4507 * string/test-strcmp-ifunc.c: Likewise.
4508 * string/test-strcpy-ifunc.c: Likewise.
4509 * string/test-strcspn-ifunc.c: Likewise.
4510 * string/test-strlen-ifunc.c: Likewise.
4511 * string/test-strncasecmp-ifunc.c: Likewise.
4512 * string/test-strncat-ifunc.c: Likewise.
4513 * string/test-strncmp-ifunc.c: Likewise.
4514 * string/test-strncpy-ifunc.c: Likewise.
4515 * string/test-strnlen-ifunc.c: Likewise.
4516 * string/test-strpbrk-ifunc.c: Likewise.
4517 * string/test-strrchr-ifunc.c: Likewise.
4518 * string/test-strspn-ifunc.c: Likewise.
4519 * string/test-strstr-ifunc.c: Likewise.
4520
de54b33a
L
4521 * debug/Makefile (tests-ifunc): New variable.
4522 (tests): Add $(tests-ifunc).
4523 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
4524 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
4525 * debug/test-stpcpy_chk-ifunc.c: New file.
4526 * debug/test-strcpy_chk-ifunc.c: Likewise.
4527
88481c16
SP
45282012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
4529
4530 [BZ #13601]
4531 * elf/dl-load.c (open_verify): Retry read if the entire ELF
4532 header is not read in.
4533
135948bd
JM
45342012-10-19 Joseph Myers <joseph@codesourcery.com>
4535
89f1c388
JM
4536 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
4537 script to $(SHELL) as $<. Pass $(common-objpfx) to script
4538 directly. Pass built executable to script as
4539 $(built-program-cmd).
4540 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
4541 $testprogram without using LD_LIBRARY_PATH and $ldso.
4542
e40a0d21
JM
4543 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
4544 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
4545 $(rtld-installed-name).
4546 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
4547 (rtld_installed_name): Likewise.
4548 (library_path): Likewise.
4549 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
4550 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
4551 $(run-program-prefix) to tst-tables.sh.
4552 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
4553 it to run tst-table-from and tst-table-to.
4554 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
4555 Pass it to tst-table.sh.
4556 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
4557 $(run-program-prefix) to tst-gettext.sh.
4558 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
4559 tst-translit.sh.
4560 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
4561 tst-gettext2.sh.
4562 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
4563 to run tst-gettext.
4564 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
4565 to run tst-gettext2.
4566 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
4567 to run tst-translit.
4568 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
4569 $(run-program-prefix) to tst-mtrace.sh.
4570 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
4571 to run tst-mtrace.
4572 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
4573 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
4574 $(rtld-installed-name).
4575 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
4576 (rtld_installed_name): Likewise.
4577 (run_program_prefix): New variable. Use it to run wordexp-test.
4578
728e272a
JM
4579 * Makeconfig (ARCH): Remove all definitions.
4580 (machine): Likewise.
4581 [ARCH]: Remove conditional code.
4582 [!objdir]: Give error.
4583 [!objdir] (objpfx): Remove.
4584 [!objdir] (common-objpfx): Likewise.
4585 [!objdir] (common-objdir): Likewise.
4586 * configure.in (config_makefile): Remove. Hardcode Makefile in
4587 AC_CONFIG_FILES call.
4588 * configure: Regenerated.
4589
d528cdcf
JM
4590 [BZ #13888]
4591 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
4592 or TMPDIR.
4593 (testout): Likewise.
4594
135948bd
JM
4595 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
4596 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
4597 $(rtld-installed-name).
4598 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
4599 (rtld_installed_name): Likwise.
4600 (runit): Remove function.
4601 (run_getconf): New variable, Use it for running getconf binary.
4602
38c78296
L
46032012-10-18 H.J. Lu <hongjiu.lu@intel.com>
4604
4605 [BZ #14716]
4606 * string/test-memmem.c (check_result): New function.
4607 (do_one_test): Use it.
4608 (check1): New function.
4609 (test_main): Use it.
4610
d077f65f
MT
46112012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
4612
4613 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
4614
ced52c71
JM
46152012-10-18 Joseph Myers <joseph@codesourcery.com>
4616
4617 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
4618 (_G_LSEEK64): Likewise.
4619 (_G_MMAP64): Likewise.
4620 (_G_FSTAT64): Likewise.
4621 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
4622 (_G_LSEEK64): Likewise.
4623 (_G_MMAP64): Likewise.
4624 (_G_FSTAT64): Likewise.
4625 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
4626 unconditional. Call __mmap64 directly.
4627 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
4628 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
4629 __lseek64 directly.
4630 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
4631 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
4632 __mmap64 directly.
4633 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
4634 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
4635 __lseek64 directly.
4636 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
4637 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
4638 __lseek64 directly.
4639 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
4640 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
4641 __lseek64 directly.
4642 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
4643 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
4644 __fxstat64 directly.
4645 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
4646 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
4647 unconditional.
4648 (freopen64) [!_G_OPEN64]: Remove conditional code.
4649 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
4650 unconditional.
4651 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
4652 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
4653 unconditional.
4654 (ftello64) [!_G_LSEEK64]: Remove conditional code.
4655 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
4656 unconditional.
4657 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
4658 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
4659 unconditional.
4660 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
4661 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
4662 unconditional.
4663 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
4664 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
4665 unconditional.
4666 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
4667 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
4668 unconditional.
4669 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
4670
b741de23
SP
46712012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
4672
4673 [BZ #12140]
4674 * manual/memory.texi (Malloc Tunable Parameters): Add note
4675 about free list pointers overwriting some perturb bytes.
4676 Wording suggested by Roland McGrath.
4677
f9b9d9c9
JM
46782012-10-17 Joseph Myers <joseph@codesourcery.com>
4679
4680 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
4681 (lgamma_test): Likewise.
4682 (tgamma_test): Likewise.
4683
172a631a
FW
46842012-10-16 Florian Weimer <fweimer@redhat.com>
4685
4686 [BZ #14700]
4687 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
4688 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
4689
e9f37252
MK
46902012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
4691
4692 * NEWS: Mention BZ #14716.
4693 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
4694 when removing AVAILABLE1_USES_J macro.
4695
d394eb74
L
46962012-10-12 H.J. Lu <hongjiu.lu@intel.com>
4697
4698 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
4699 (__bswap_64): __uint64_t for unsigned 64-bit int.
4700
ca38dc17
AS
47012012-10-12 Andreas Schwab <schwab@linux-m68k.org>
4702
4703 * include/string.h (memmem): Declare libc hidden alias.
4704 * string/memmem.c (memmem): Define libc hidden alias.
4705 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
4706 __read, __close instead of open, read, close.
4707
9a387d1f
L
47082012-10-11 H.J. Lu <hongjiu.lu@intel.com>
4709
ac49ecaf
L
4710 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
4711 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
4712 global and hidden.
4713 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
4714 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
4715 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
4716 Likewise.
4717 (__rawmemchr_sse2): Likewise.
4718 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
4719 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
4720 (__strchr_sse2): Likewise.
4721 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
4722 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
4723 (__strcasecmp_sse2): Likewise.
4724 (__strncasecmp_sse2): Likewise.
4725 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
4726 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
4727 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
4728 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
4729 (__strrchr_sse2): Likewise.
4730 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
4731 ifunc-impl-list.c.
4732 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
4733 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
4734 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
4735 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
4736 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
4737 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
4738 * sysdeps/x86_64/multiarch/memset.S: Likewise.
4739 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
4740 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
4741 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
4742 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
4743 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
4744 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
4745 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
4746 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
4747 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
4748 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
4749 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
4750 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
4751 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
4752 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
4753 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
4754 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
4755 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
4756 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
4757 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
4758 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
4759 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
4760 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
4761 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
4762
b090e8ea
L
4763 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
4764 global and hidden.
4765 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
4766 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
4767 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
4768 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
4769 Likewise.
4770 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
4771 Likewise.
4772 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
4773 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
4774 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
4775 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
4776 ifunc-impl-list.c.
4777 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
4778 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
4779 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
4780 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
4781 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
4782 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
4783 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
4784 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
4785 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
4786 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
4787 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
4788 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
4789 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
4790 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
4791 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
4792 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
4793 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
4794 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
4795 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
4796 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
4797 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
4798 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
4799 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
4800 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
4801 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
4802 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
4803 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
4804 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
4805 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
4806 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
4807 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
4808 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
4809 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
4810 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
4811 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
4812 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
4813 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
4814 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
4815 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
4816 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
4817 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
4818
11dd4af6
L
4819 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
4820 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
4821 * include/ifunc-impl-list.h: New file.
4822 * misc/ifunc-impl-list.c: Likewise.
4823 * misc/Makefile (routines): Add ifunc-impl-list.
4824 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
4825 * string/test-string.h: Include <ifunc-impl-list.h>.
4826 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
4827 impl_array): New variables.
4828 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
4829 are defined.
4830 (test_init): Call __libc_ifunc_impl_list to initialize
4831 func_list if TEST_IFUNC and TEST_NAME are defined.
4832
9a387d1f
L
4833 * string/Makefile (strop-tests): Add bcopy and bzero.
4834 * string/test-bcopy.c: New file.
4835 * string/test-bzero.c: Likewise.
4836 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
4837 defined.
4838 * string/test-memset.c: Support bzero test if TEST_BZERO is
4839 defined.
4840 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
4841 __libc_memmove.
4842 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
4843 __libc_memset.
4844 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
4845 of memset.
4846
472371b9
JM
48472012-10-10 Joseph Myers <joseph@codesourcery.com>
4848
1e4a9536
JM
4849 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
4850 * configure: Regenerated.
4851
d173d12e
JM
4852 * Makeconfig (+link-static-before-libc): Don't include
4853 $(link-static-libc).
4854
472371b9
JM
4855 * libio/libio.h (_IO_pos_t): Remove.
4856
89a3ad0b
AO
48572012-10-10 Alexandre Oliva <aoliva@redhat.com>
4858
4859 * NEWS: Add note about FIPS mode. Wording suggested by Roland
4860 McGrath.
4861
e7451425
AO
48622012-10-10 Alexandre Oliva <aoliva@redhat.com>
4863
4864 * crypt/crypt-entry.c: Include fips-private.h.
4865 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
4866 * crypt/md5c-test.c (main): Tolerate disabled MD5.
4867 * sysdeps/unix/sysv/linux/fips-private.h: New file.
4868 * sysdeps/generic/fips-private.h: New file, dummy fallback.
4869
4ba74a35
AO
48702012-10-10 Alexandre Oliva <aoliva@redhat.com>
4871
4872 * crypt/crypt-private.h: Include stdbool.h.
4873 (_ufc_setup_salt_r): Return bool.
4874 * crypt/crypt-entry.c: Include errno.h.
4875 (__crypt_r): Return NULL with EINVAL for bad salt.
4876 * crypt/crypt_util.c (bad_for_salt): New.
4877 (_ufc_setup_salt_r): Check that salt is long enough and within
4878 the specified alphabet.
4879 * crypt/badsalttest.c: New file.
4880 * crypt/Makefile (tests): Add it.
4881 ($(objpfx)badsalttest): New.
4882
f96f1242
MK
48832012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
4884
4885 * NEWS: Add entry for BZ #14602.
4886
0e8e0c1c
JM
48872012-10-09 Joseph Myers <joseph@codesourcery.com>
4888
4889 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
4890 type-generic.
4891 * math/libm-test.inc: Update comment listing what functions and
4892 macros are tested.
4893 (isgreater_test): New function.
4894 (isgreaterequal_test): Likewise.
4895 (isless_test): Likewise.
4896 (islessequal_test): Likewise.
4897 (islessgreater_test): Likewise.
4898 (isunordered_test): Likewise.
4899 (main): Call the new functions.
4900
273edc5e
RM
49012012-10-09 Roland McGrath <roland@hack.frob.com>
4902
b8493de0
RM
4903 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
4904 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
4905 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
4906 * sysdeps/i386/configure: Regenerated.
4907 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
4908 * sysdeps/mach/configure: Regenerated.
4909 * sysdeps/mach/hurd/configure: Regenerated.
4910 * sysdeps/powerpc/configure: Regenerated.
4911 * sysdeps/powerpc/powerpc32/configure: Regenerated.
4912 * sysdeps/powerpc/powerpc64/configure: Regenerated.
4913 * sysdeps/s390/s390-32/configure: Regenerated.
4914 * sysdeps/s390/s390-64/configure: Regenerated.
4915 * sysdeps/sh/configure: Regenerated.
4916 * sysdeps/sparc/configure: Regenerated.
4917 * sysdeps/unix/sysv/linux/configure: Regenerated.
4918 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
4919 * sysdeps/x86_64/configure: Regenerated.
4920
273edc5e
RM
4921 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
4922 defined. Don't check if MAP is NULL.
4923
c8450f70
JM
49242012-10-09 Joseph Myers <joseph@codesourcery.com>
4925
4926 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
4927 (_G_stat64): Likewise.
4928 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
4929 (_G_stat64): Likewise.
4930 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
4931 instead of struct _G_stat64.
4932 * libio/fileops.c (mmap_remap_check): Likewise.
4933 (decide_maybe_mmap): Likewise.
4934 (_IO_new_file_seekoff): Likewise.
4935 (_IO_file_stat): Likewise.
4936 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
4937 _G_off64_t.
4938 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
4939 instead of struct _G_stat64.
4940 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
4941
57e605ba
MK
49422012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
4943
4944 [BZ #14602]
4945 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
4946 Replace with ...
4947 (CHECK_EOL): New macro.
4948 (two_way_short_needle): Check beginning of haystack for EOL. Use
4949 CHECK_EOL.
4950 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
4951 Replace with CHECK_EOL.
4952 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
4953 Replace with CHECK_EOL.
4954
ef1bb361
JM
49552012-10-08 Joseph Myers <joseph@codesourcery.com>
4956
4957 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
4958 type-generic.
4959 * math/libm-test.inc: Update comment listing what functions and
4960 macros are tested.
4961 (finite_test): New function.
4962 (isinf_test): Likewise.
4963 (isnan_test): Likewise.
4964 (fpclassify_test): Test subnormal input.
4965 (isfinite_test): Likewise.
4966 (isnormal_test): Likewise.
4967 (main): Call the new functions.
4968
55f11534
JN
49692012-10-08 Jonathan Nieder <jrnieder@gmail.com>
4970
4971 [BZ #14660]
4972 * Makerules (%.dynsym): Force C locale when running
4973 $(OBJDUMP) --dynamic-syms.
4974
1ab29350
AS
49752012-10-08 Andreas Schwab <schwab@linux-m68k.org>
4976
4977 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
4978 <stdint.h>.
4979
f1ecb7ef
DM
49802012-10-06 David S. Miller <davem@davemloft.net>
4981
4982 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
4983 upper 32-bits of the length value in %o2 since we use branch-on-register
4984 tests which consider the entire 64-bit register.
4985
5d41d91a
L
49862012-10-06 H.J. Lu <hongjiu.lu@intel.com>
4987
4988 * string/test-strstr.c (check2): Add a test for page boundary.
4989
3baddb72
DM
49902012-10-05 David S. Miller <davem@davemloft.net>
4991
4992 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
4993 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
4994 file.
4995 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
4996 sysdep_routines.
4997 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
4998 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
4999 and bzero when HWCAP_SPARC_CRYPTO is present.
5000
9cee5585
L
50012012-10-05 H.J. Lu <hongjiu.lu@intel.com>
5002
d7e0dab9
L
5003 [BZ #14602]
5004 * string/test-strstr.c (check2): New function.
5005 (test_main): Call check2.
5006
03759f47
L
5007 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
5008 and bug-strchr1.
5009 * string/bug-strcasestr1.c (do_test): Moved to ...
5010 * string/test-strcasestr.c (check1): Here. New function.
5011 (do_one_test): Break out result checking code into ...
5012 (check_result): This. New function.
5013 (do_one_test): Call check_result.
5014 (test_main): Call check1.
5015 * string/bug-strchr1.c (do_test): Moved to ...
5016 * string/test-strchr.c (check1): Here. New function.
5017 (do_one_test): Break out result checking code into ...
5018 (check_result): This. New function.
5019 (do_one_test): Call check_result.
5020 (test_main): Call check1.
5021 * string/bug-strstr1.c (main): Moved to ...
5022 * string/test-strchr.c (check1): Here. New function.
5023 (do_one_test): Break out result checking code into ...
5024 (check_result): This. New function.
5025 (do_one_test): Call check_result.
5026 (test_main): Call check1.
5027 * string/bug-strcasestr1.c: Removed.
5028 * string/bug-strchr1.c: Likewise.
5029 * string/bug-strstr1.c: Likewise.
5030
53cea63e
L
5031 * elf/Makefile (dl-routines): Add hwcaps.
5032 * elf/dl-support.c (_dl_important_hwcaps): Removed.
5033 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
5034 (_dl_important_hwcaps): Moved to ...
5035 * elf/dl-hwcaps.c: Here. New file.
5036 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
5037
9cee5585 5038 [BZ #14557]
bb859b06
L
5039 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
5040 if IS_IN_rtld isn't defined.
5041
9cee5585
L
5042 * elf/dl-support.c (_dl_sysinfo_map): New.
5043 Include "get-dynamic-info.h" and "setup-vdso.h".
5044 (_dl_non_dynamic_init): Call setup_vdso.
5045 * elf/dynamic-link.h: Don't include <assert.h>.
5046 (elf_get_dynamic_info): Moved to ...
5047 * elf/get-dynamic-info.h: Here. New file.
5048 * elf/dynamic-link.h: Include "get-dynamic-info.h".
5049 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
5050 * elf/setup-vdso.h: Here. New file.
5051 * elf/rtld.c: Include "setup-vdso.h".
5052 (dl_main): Call setup_vdso.
5053
23c31b76
JM
50542012-10-05 Joseph Myers <joseph@codesourcery.com>
5055
28234b07
JM
5056 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
5057 creal in comment listing functions tested. List finite, isinf,
5058 isnan, isless, islessequal, isgreater, isgreaterequal,
5059 islessgreater, isunordered, lgamma_r and pow10 as functions and
5060 macros not tested. Mention which functions not tested are aliases
5061 for other functions. Fix typo. Note that signs of NaNs are not
5062 tested.
5063
23c31b76
JM
5064 * scripts/config.guess: Update from config.git.
5065 * scripts/config.sub: Likewise.
5066
9043e228
RM
50672012-10-04 Roland McGrath <roland@hack.frob.com>
5068
5069 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
5070 * misc/madvise.c (madvise): Renamed to __madvise.
5071 Make madvise a weak alias.
5072 * include/sys/mman.h: Declare __madvise.
5073 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
5074 * sysdeps/unix/syscalls.list
5075 (madvise): Make __madvise the strong name, and madvise a weak alias.
5076 * sysdeps/unix/sysv/linux/syscalls.list
5077 (madvise, mmap): Remove redundant entries.
5078 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
5079 * malloc/malloc.c (mtrim): Likewise.
5080 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
5081
f57f8055
RM
50822012-10-03 Roland McGrath <roland@hack.frob.com>
5083
5084 * sysdeps/mach/hurd/dl-cache.c: File removed.
5085 * config.h.in (USE_LDCONFIG): New #undef.
5086 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
5087 * configure: Regenerated.
5088 * elf/Makefile (dl-routines): Add dl-cache only under
5089 [$(use-ldconfig) = yes].
5090 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
5091 cache on [USE_LDCONFIG].
5092 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
5093 [USE_LDCONFIG].
5094 * elf/rtld.c (dl_main): Likewise.
5095
5bb0c10a
PT
50962012-10-03 Pino Toscano <toscano.pino@tiscali.it>
5097
5098 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
5099 _SC_LEVEL4_CACHE_LINESIZE.
5100
010188c6
RM
51012012-10-03 Roland McGrath <roland@hack.frob.com>
5102
5103 * sysdeps/unix/bsd/confstr.h: File removed.
5104
b6c5ec07
AO
51052012-10-02 Alexandre Oliva <aoliva@redhat.com>
5106
5107 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
5108 sys/sdt-config.h.
5109
408223d4
RM
51102012-10-02 Roland McGrath <roland@hack.frob.com>
5111
5112 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
5113 Make 'mapoff' field ElfW(Off) rather than off_t.
5114
bb9510dc
DL
51152012-10-02 Dmitry V. Levin <ldv@altlinux.org>
5116
fc997c6e
DL
5117 * nscd/Makefile: Remove nscd-cflags and all its users.
5118 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
5119 (CFLAGS-nonlib): Add compiler flags for nscd modules.
5120
bb9510dc
DL
5121 [BZ #10631]
5122 * malloc.c (malloc_printerr): Clarify error message.
5123
05699367
L
51242012-10-02 H.J. Lu <hongjiu.lu@intel.com>
5125
5126 [BZ #14648]
5127 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5128 Set bit_FMA_Usable if FMA is supported.
5129 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
5130 macro.
5131 (bit_FMA4_Usable): Updated.
5132 (index_FMA_Usable): New macro.
5133 (CPUID_FMA): Likewise
5134 (HAS_FMA): Defined with bit_FMA_Usable.
5135
51367701
RM
51362012-10-01 Roland McGrath <roland@hack.frob.com>
5137
5138 * bits/types.h (__swblk_t): Type removed.
5139 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
5140 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
5141 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5142 (__SWBLK_T_TYPE): Likewise.
5143 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
5144 (__SWBLK_T_TYPE): Likewise.
5145 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5146 (__SWBLK_T_TYPE): Likewise.
5147 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5148 (__SWBLK_T_TYPE): Likewise.
5149
4d57bf63 51502012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 5151 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
5152
5153 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
5154 (xdr_mapname): Use YPMAXMAP as maxsize.
5155 (xdr_peername): Use YPMAXPEER as maxsize.
5156 (xdr_keydat): Use YPAXRECORD as maxsize.
5157 (xdr_valdat): Use YPMAXRECORD as maxsize.
5158
93c65d43
RM
51592012-10-01 Roland McGrath <roland@hack.frob.com>
5160
497a03d6
RM
5161 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
5162
93c65d43
RM
5163 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
5164 * csu/init-first.c: ... here.
5165 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
5166 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
5167 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
5168 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
5169 * sysdeps/i386/init-first.c: File removed.
5170 * sysdeps/sh/init-first.c: File removed.
5171
bec749fd
JM
51722012-10-01 Joseph Myers <joseph@codesourcery.com>
5173
5174 [BZ #14645]
5175 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
5176 if x * y might underflow to zero and z is zero.
5177 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5178 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5179 * math/libm-test.inc (min_subnorm_value): New variable.
5180 (fma_test): Add more tests.
5181 (fma_test_towardzero): Likewise.
5182 (fma_test_downward): Likewise
5183 (fma_test_upward): Likewise.
5184 (initialize): Set min_subnorm_value.
5185
8ec5b013
JM
51862012-09-29 Joseph Myers <joseph@codesourcery.com>
5187
5188 [BZ #14638]
5189 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
5190 0 + 0.
5191 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
5192 mode for addition resulting in exact zero.
5193 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
5194 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
5195 exact 0 + 0.
5196 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
5197 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5198 * math/libm-test.inc (fma_test): Add more tests.
5199 (fma_test_towardzero): New function.
5200 (fma_test_downward): Likewise.
5201 (fma_test_upward): Likewise.
5202 (main): Call the new functions.
5203
b1fa802e
DM
52042012-09-28 David S. Miller <davem@davemloft.net>
5205
5206 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
5207
d3b9fd9e
RM
52082012-09-28 Roland McGrath <roland@hack.frob.com>
5209
ea4d37b3
RM
5210 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
5211 instead of SIGALRM.
5212
ac51c949
RM
5213 * sysdeps/gnu/_G_config.h: Moved to ...
5214 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
5215 * sysdeps/mach/hurd/_G_config.h: Moved to ...
5216 * sysdeps/generic/_G_config.h: ... here.
5217
28c195f7
RM
5218 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
5219
848917f9
RM
5220 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
5221
6bacf05b
RM
5222 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
5223 Conditionalize target on [libnss_test1.so-version].
5224
91363dbb
RM
5225 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
5226
cc87f7d8
RM
5227 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
5228 (elfobjdir): Move out of conditionals.
5229
b1c608fe
RM
5230 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
5231 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
5232 (__nss_lookup_function): Conditionalize label remove_from_tree on
5233 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 5234
1d9a6d96
DM
52352012-09-28 David S. Miller <davem@davemloft.net>
5236
5237 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
5238 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
5239 file.
5240 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
5241 sysdep_routines.
5242 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
5243 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
5244 when HWCAP_SPARC_CRYPTO is present.
5245
72581615
PT
52462012-09-28 Pino Toscano <toscano.pino@tiscali.it>
5247
5248 * io/tst-mknodat.c: Create a FIFO instead of a socket.
5249
715a900c
JL
52502012-09-28 Andreas Schwab <schwab@linux-m68k.org>
5251
5252 [BZ #6530]
5253 * stdio-common/vfprintf.c (process_string_arg): Revert
5254 2000-07-22 change.
5255
52562011-09-28 Jonathan Nieder <jrnieder@gmail.com>
5257
5258 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
5259 for testcase.
5260 * stdio-common/tst-sprintf.c: Include <locale.h>
5261 (main): Test sprintf's handling of incomplete multibyte
5262 characters.
5263
9bac1d86
L
52642012-09-28 H.J. Lu <hongjiu.lu@intel.com>
5265
5266 * elf/dl-runtime.c (VERSYMIDX): Removed.
5267 * elf/dl-version.c (VERSYMIDX): Likewise.
5268 * elf/do-rel.h (VERSYMIDX): Likewise.
5269 (VALIDX): Likewise.
5270 * elf/dynamic-link.h (VERSYMIDX): Likewise.
5271 * elf/rtld.c (VALIDX): Likewise.
5272 (ADDRIDX): Likewise.
9bac1d86
L
5273 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
5274 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
5275 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
5276 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
5277 (VALIDX): Likewise.
5278 (ADDRIDX): Likewise.
9bac1d86 5279
b31606c0
PT
52802012-09-28 Pino Toscano <toscano.pino@tiscali.it>
5281
5282 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
5283
11541177
JL
52842012-09-28 Dmitry V. Levin <ldv@altlinux.org>
5285
5286 [BZ #11438]
5287 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
5288 to global scope.
5289 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
5290 addresses are in the same scope as 192.0.2/24.
5291 * posix/gai.conf: Document new scope table defaults.
5292
adb26fae
SP
52932012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5294
5295 [BZ #5298]
5296 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
5297 for ftell. Compute offsets from write pointers instead.
5298 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
5299
4573c6b0
SP
53002012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5301
5302 [BZ #14543]
5303 * libio/Makefile (tests): New test case tst-fseek.
5304 * libio/tst-fseek.c: New test case to verify that fseek/ftell
5305 combination works in wide mode.
5306 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
5307 state when the external buffer state changes.
5308
aa9bbfe6
DM
53092012-09-27 David S. Miller <davem@davemloft.net>
5310
5311 [BZ #14376]
5312 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
5313 pass reloc->r_addend in as the 'high' argument to
5314 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
5315
784421e7
DM
5316 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5317
c39bc8b8
PT
53182012-09-28 Pino Toscano <toscano.pino@tiscali.it>
5319
5320 * rt/tst-aio2.c: Include <pthread.h>.
5321 * rt/tst-aio3.c: Likewise.
5322
1ccc2399
SE
53232012-09-27 Steve Ellcey <sellcey@mips.com>
5324
5325 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
5326
31ed4153
L
53272012-09-27 H.J. Lu <hongjiu.lu@intel.com>
5328
25f5f885
L
5329 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
5330 contents on [SHARED].
31ed4153 5331
b7bfe116
MP
53322012-09-26 Marek Polacek <polacek@redhat.com>
5333
5334 [BZ #14530]
5335 [BZ #13741]
5336 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
5337 for C++ and GCC <4.3 as well as for non GCC compilers.
5338
43c4edba
MT
53392012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
5340
5341 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5342
6a1bf82f
RM
53432012-09-25 Roland McGrath <roland@hack.frob.com>
5344
5345 * Makefile.in (all, install): Declare with .PHONY.
5346 Reported by Michael Hope <michael.hope@linaro.org>.
5347
8ad11b9a
TMQMF
53482012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5349
5350 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
5351 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
5352 system header.
5353 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
5354 Likewise.
5355 (sydep_routines): Add the new and the internal functions.
5356 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
5357 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
5358 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
5359 (GLIBC_2.17): Add the new function.
5360 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
5361 (GLIBC_2.17): Likewise.
5362 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
5363 (GLIBC_2.17): Likewise.
5364 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
5365 (GLIBC_2.17): Likewise.
5366 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
5367
7e2fca8d
AM
53682012-09-25 Alan Modra <amodra@gmail.com>
5369
5370 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
5371 Add release barrier before setting once_control to say
5372 initialisation is done. Add hints on lwarx. Use macro in
5373 place of isync.
5374 (clear_once_control): Add release barrier.
5375
b87c4b24
JM
53762012-09-25 Joseph Myers <joseph@codesourcery.com>
5377
d032e0d2
JM
5378 [BZ #13629]
5379 * math/s_clog.c (__clog): Handle more values close to |z| = 1
5380 specially.
5381 * math/s_clog10.c (__clog10): Likewise.
5382 * math/s_clog10f.c (__clog10f): Likewise.
5383 * math/s_clog10l.c (__clog10l): Likewise.
5384 * math/s_clogf.c (__clogf): Likewise.
5385 * math/s_clogl.c (__clogl): Likewise.
5386 * math/Makefile (libm-calls): Add x2y2m1.
5387 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
5388 (__x2y2m1): Likewise.
5389 (__x2y2m1l): Likewise.
5390 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
5391 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
5392 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
5393 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
5394 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
5395 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
5396 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
5397 * sysdeps/i386/fpu/libm-test-ulps: Update.
5398 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5399
b87c4b24
JM
5400 [BZ #14621]
5401 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
5402 int as type of variable DEPTH.
5403 (glob): Use size_t instead of int as type of variables NEWCOUNT
5404 and OLD_PATHC.
5405
6d3bf199
LD
54062012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5407
22bf5c17
LD
5408 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
5409 Add s_sincosf-sse2.
5410 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
5411 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
5412 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
5413 macros for using routine as __sincosf_ia32.
5414 Use macro for function declaration and weak_alias.
5415 * sysdeps/i386/fpu/libm-test-ulps: Update.
5416
5417 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
5418 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5419
5420 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
5421 subnormal argument.
5422 * math/s_cexpf.c (__cexpf): Likewise.
5423 * math/s_csinf.c (__csinf): Likewise.
5424 * math/s_csinhf.c (__csinhf): Likewise.
5425 * math/s_ctanf.c (__ctanf): Likewise.
5426 * math/s_ctanhf.c (__ctanhf): Likewise.
5427 * math/s_ccosh.c (__ccoshf): Likewise.
5428 * math/s_cexp.c (__cexpl): Likewise.
5429 * math/s_csin.c (__csin): Likewise.
5430 * math/s_csinh.c (__csinh): Likewise.
5431 * math/s_ctan.c (__ctan): Likewise.
5432 * math/s_ctanh.c (ctanh): Likewise.
5433 * math/s_ccoshl.c (__ccoshl): Likewise.
5434 * math/s_cexpl.c (__cexpl): Likewise.
5435 * math/s_csinl.c (__csinl): Likewise.
5436 * math/s_csinhl.c (__csinhl): Likewise.
5437 * math/s_ctanl.c (__ctanl): Likewise.
5438 * math/s_ctanhl.c (__ctanhl): Likewise.
5439
203e5603
JM
54402012-09-25 Joseph Myers <joseph@codesourcery.com>
5441
5442 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
5443 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
5444 (_IO_off_t): Define to __off_t, not _G_off_t.
5445 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
5446 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
5447 (_IO_wint_t): Define to wint_t, not _G_wint_t.
5448 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
5449 type of __dummy and __dummy2 fields.
5450 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
5451 (_G_ssize_t): Likewise.
5452 (_G_off_t): Likewise.
5453 (_G_pid_t): Likewise.
5454 (_G_uid_t): Likewise.
5455 (_G_wchar_t): Likewise.
5456 (_G_wint_t): Likewise.
5457 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
5458 (_G_ssize_t): Likewise.
5459 (_G_off_t): Likewise.
5460 (_G_pid_t): Likewise.
5461 (_G_uid_t): Likewise.
5462 (_G_wchar_t): Likewise.
5463 (_G_wint_t): Likewise.
5464 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
5465 (_G_ssize_t): Likewise.
5466 (_G_off_t): Likewise.
5467 (_G_pid_t): Likewise.
5468 (_G_uid_t): Likewise.
5469 (_G_wchar_t): Likewise.
5470 (_G_wint_t): Likewise.
5471
9fab36eb
SP
54722012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
5473
5474 * malloc/arena.c: Include malloc-sysdep.h.
5475 (shrink_heap): Use check_may_shrink_heap to decide if madvise
5476 is sufficient to shrink the heap or an unmap is needed.
5477 * sysdeps/generic/malloc-sysdep.h: New file. Define
5478 new function check_may_shrink_heap.
5479 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
5480 new function check_may_shrink_heap.
5481
2b4f00d1
SP
54822012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
5483
5484 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
5485 comments.
5486
9a9028b1
DL
54872012-09-24 Dmitry V. Levin <ldv@altlinux.org>
5488
57c69bef
DL
5489 * catgets/test-gencat.sh: Add "set -e".
5490 * elf/tst-pathopt.sh: Likewise.
5491 * grp/tst_fgetgrent.sh: Likewise.
5492 * iconvdata/run-iconv-test.sh: Likewise.
5493 * intl/tst-gettext.sh: Likewise.
5494 * intl/tst-gettext2.sh: Likewise.
5495 * intl/tst-gettext4.sh: Likewise.
5496 * intl/tst-gettext6.sh: Likewise.
5497 * intl/tst-translit.sh: Likewise.
5498 * io/ftwtest-sh: Likewise.
5499 * libio/test-freopen.sh: Likewise.
5500 * malloc/tst-mtrace.sh: Likewise.
5501 * posix/globtest.sh: Likewise.
5502 * posix/tst-getconf.sh: Likewise.
5503 * posix/wordexp-tst.sh: Likewise.
5504 * stdio-common/tst-printf.sh: Likewise.
5505 * stdio-common/tst-unbputc.sh: Likewise.
5506 * stdlib/tst-fmtmsg.sh: Likewise.
5507 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
5508 * catgets/Makefile: Do not specify -e option when running
5509 testsuite shell scripts.
5510 * elf/Makefile: Likewise.
5511 * grp/Makefile: Likewise.
5512 * iconvdata/Makefile: Likewise.
5513 * intl/Makefile: Likewise.
5514 * io/Makefile: Likewise.
5515 * libio/Makefile: Likewise.
5516 * malloc/Makefile: Likewise.
5517 * posix/Makefile: Likewise.
5518 * stdio-common/Makefile: Likewise.
5519 * stdlib/Makefile: Likewise.
5520 * sysdeps/x86_64/Makefile: Likewise.
5521
9a9028b1
DL
5522 * io/ftwtest-sh: Add copyright header.
5523 * posix/globtest.sh: Likewise.
5524 * posix/tst-getconf.sh: Likewise.
5525 * posix/wordexp-tst.sh: Likewise.
5526 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
5527
ced6f16e
L
55282012-09-24 H.J. Lu <hongjiu.lu@intel.com>
5529
94b32c39
L
5530 [BZ #13679]
5531 * Makeconfig (+link): Defined as $(+link-static) if
5532 $(build-shared) isn't yes.
5533 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
5534 isn't yes.
5535 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
5536
189e935b
L
5537 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
5538
ced6f16e
L
5539 [BZ #14562]
5540 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
5541 new chunk size with MALLOC_ALIGN_MASK.
5542
a9f8e53a
JM
55432012-09-24 Joseph Myers <joseph@codesourcery.com>
5544
5545 [BZ #5044]
5546 * stdio-common/printf_fphex.c: Include <stdbool.h> and
5547 <rounding-mode.h>.
5548 (__printf_fphex): Determine rounding using get_rounding_mode and
5549 round_away.
5550 * stdio-common/tst-printf-round.c (struct hex_test): New
5551 structure.
5552 (hex_tests): New variable.
5553 (test_hex_in_one_mode): New function.
5554 (do_test): Also run tests for hex float output.
5555
43153109
JM
55562012-09-21 Joseph Myers <joseph@codesourcery.com>
5557
5558 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
5559 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
5560 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
5561 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
5562 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
5563 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
5564 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
5565 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
5566
8a26625d
JM
55672012-09-20 Joseph Myers <joseph@codesourcery.com>
5568
5569 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
5570 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
5571 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
5572 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
5573
f3fd569c
DL
55742012-09-19 Dmitry V. Levin <ldv@altlinux.org>
5575
5576 [BZ #14579]
5577 * elf/rtld.c (dl_main): Limit the check for self loading to normal
5578 mode only.
5579 * elf/tst-rtld-load-self.sh: New test.
5580 * elf/Makefile: Run it.
5581
63bbedd4
JM
55822012-09-18 Joseph Myers <joseph@codesourcery.com>
5583
5584 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
5585 (tst-writev-ENV): Remove.
5586 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
5587
626f8b6a
CM
55882012-09-17 Chris Metcalf <cmetcalf@tilera.com>
5589
5590 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
5591
b7aaa4d6
JM
55922012-09-17 Joseph Myers <joseph@codesourcery.com>
5593
5594 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
5595 unconditional.
5596 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
5597 Likewise.
5598 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
5599 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
5600 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
5601 Likewise.
5602
65513990
L
56032012-09-14 H.J. Lu <hongjiu.lu@intel.com>
5604
5605 [BZ #14587]
5606 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
5607 * config.make.in (have-cpp-asm-debuginfo): Removed.
5608 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
5609 * configure: Regenerated.
5610
784761be
JM
56112012-09-14 Joseph Myers <joseph@codesourcery.com>
5612
5613 [BZ #5044]
5614 * stdio-common/printf_fp.c: Include <stdbool.h> and
5615 <rounding-mode.h>.
5616 (___printf_fp): Determine rounding using get_rounding_mode and
5617 round_away.
5618 * stdio-common/tst-printf-round.c: New file.
5619 * stdio-common/Makefile (tests): Add tst-printf-round.
5620 (link-libm): New variable.
5621 ($(objpfx)tst-printf-round): Depend in $(link-libm).
5622
9503345f
L
56232012-09-13 H.J. Lu <hongjiu.lu@intel.com>
5624
5625 [BZ #14576]
5626 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
5627 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
5628 Likewise.
5629 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
5630 Likewise.
5631
ad35fc00
JM
56322012-09-13 Joseph Myers <joseph@codesourcery.com>
5633
5634 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
5635 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
5636 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
5637 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
5638
6c9b0f68
JM
56392012-09-12 Joseph Myers <joseph@codesourcery.com>
5640
5641 [BZ #14518]
5642 * include/rounding-mode.h: New file.
5643 * sysdeps/generic/get-rounding-mode.h: Likewise.
5644 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
5645 * stdlib/strtod_l.c: Include <rounding-mode.h>.
5646 (MAX_VALUE): New macro.
5647 (MIN_VALUE): Likewise.
5648 (overflow_value): New function.
5649 (underflow_value): Likewise.
5650 (round_and_return): Use overflow_value and underflow_value to
5651 determine return values in overflow and underflow cases. Use
5652 round_away to determine rounding depending on rounding mode.
5653 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
5654 determine return values in overflow and underflow cases.
5655 * stdlib/tst-strtod-round.c: Include <fenv.h>.
5656 (struct test_results): New structure.
5657 (struct test): Use struct test_results to store expected results
5658 for all rounding modes.
5659 (TEST): Include expected results for all rounding modes.
5660 (test_in_one_mode): New function.
5661 (do_test): Use test_in_one_mode to compute and check results.
5662 Check results for all rounding modes.
5663 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
5664 $(link-libm).
5665
19fcedd5
AM
56662012-12-09 Allan McRae <allan@archlinux.org>
5667
1e9d84cd 5668 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 5669
8bbfd2f1
JM
56702012-09-11 Joseph Myers <joseph@codesourcery.com>
5671
5672 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
5673 (_G_int32_t): Likewise.
5674 (_G_uint16_t): Likewise.
5675 (_G_uint32_t): Likewise.
5676 (_G_HAVE_BOOL): Likewise.
5677 (_G_HAVE_ATEXIT): Likewise.
5678 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
5679 (_G_HAVE_IO_FILE_OPEN): Likewise.
5680 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
5681 (_G_int32_t): Likewise.
5682 (_G_uint16_t): Likewise.
5683 (_G_uint32_t): Likewise.
5684 (_G_HAVE_BOOL): Likewise.
5685 (_G_HAVE_ATEXIT): Likewise.
5686 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
5687 (_G_HAVE_IO_FILE_OPEN): Likewise.
5688 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
5689 (_G_int32_t): Likewise.
5690 (_G_uint16_t): Likewise.
5691 (_G_uint32_t): Likewise.
5692 (_G_HAVE_BOOL): Likewise.
5693 (_G_HAVE_ATEXIT): Likewise.
5694 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
5695 (_G_HAVE_IO_FILE_OPEN): Likewise.
5696
b1dc5912
L
56972012-09-11 H.J. Lu <hongjiu.lu@intel.com>
5698
5699 * csu/libc-tls.c: Update copyright years.
5700
0e886ef9
JM
57012012-09-10 Joseph Myers <joseph@codesourcery.com>
5702
28361c5e
JM
5703 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
5704 [!_G_USING_THUNKS]: Remove conditional code.
5705 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
5706 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
5707
0e886ef9
JM
5708 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
5709 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
5710 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
5711 (_G_VTABLE_LABEL_PREFIX): Likewise.
5712 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
5713 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
5714 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
5715 (_G_VTABLE_LABEL_PREFIX): Likewise.
5716 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
5717 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
5718 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
5719 (_G_VTABLE_LABEL_PREFIX): Likewise.
5720 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
5721
bcba7aa2
L
57222012-09-10 H.J. Lu <hongjiu.lu@intel.com>
5723
5724 * libio/Makefile: Include ../Makeconfig before tests.
5725 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
5726 only if $(build-shared) is yes.
5727
06585ee8
L
5728 * iconv/gconv_db.c: Update copyright years.
5729
80ccd52c
LD
57302012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5731
5732 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
5733 unwind info if defined PIC. Fix special cases description.
5734 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
5735
5736 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
5737 DP_HI_MASK entry.
5738 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
5739
691bc9c1
L
57402012-09-07 H.J. Lu <hongjiu.lu@intel.com>
5741
3d9b46b3
L
5742 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
5743
de2139a9
L
5744 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
5745 is NULL.
5746
5ca78dd0
L
5747 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
5748 (LDLIBS-tst-chk4): This.
5749 (LDFLAGS-tst-chk5): Renamed to ...
5750 (LDLIBS-tst-chk5): This.
5751 (LDFLAGS-tst-chk6): Renamed to ...
5752 (LDLIBS-tst-chk6): This.
5753 (LDFLAGS-tst-lfschk4): Renamed to ...
5754 (LDLIBS-tst-lfschk4): This.
5755 (LDFLAGS-tst-lfschk5): Renamed to ...
5756 (LDLIBS-tst-lfschk5): This.
5757 (LDFLAGS-tst-lfschk6): Renamed to ...
5758 (LDLIBS-tst-lfschk6): This.
5759
691bc9c1
L
5760 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
5761 on $(common-objpfx)soversions.mk.
5762
65cafb1c
JM
57632012-09-07 Joseph Myers <joseph@codesourcery.com>
5764
5765 [BZ #10014]
5766 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
5767 example host name.
5768
c78ab094
SP
57692012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
5770
5771 * malloc/arena.c (arena_get_retry): New function that gets
5772 another arena for the caller to try its request on.
5773 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
5774 current arena cannot fulfill the request.
5775 (__libc_memalign): Likewise.
5776 (__libc_memalign): Likewise.
5777 (__libc_pvalloc): Likewise.
5778 (__libc_calloc): Likewise.
5779
01f49f59
JT
57802012-09-05 John Tobey <john.tobey@gmail.com>
5781
5782 [BZ #13542]
5783 * manual/arith.texi (Operations on Complex): Fix description
5784 of carg branch cut.
5785
4c23fed5
JM
57862012-09-06 Joseph Myers <joseph@codesourcery.com>
5787
1d3c8572
JM
5788 [BZ #10014]
5789 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
5790 host name.
5791
4c23fed5
JM
5792 [BZ #10038]
5793 * manual/memory.texi (Memory): Make order of menu items match
5794 order of sections.
5795
04570aaa
L
57962012-09-06 H.J. Lu <hongjiu.lu@intel.com>
5797
5798 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
5799 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
5800 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
5801
b80af2f4
L
58022012-09-06 H.J. Lu <hongjiu.lu@intel.com>
5803
5804 * csu/libc-tls.c (static_dtv): Renamed to ...
5805 (_dl_static_dtv): This. Make it global.
5806 (_dl_initial_dtv): Removed.
5807 (__libc_setup_tls): Updated.
5808 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
5809 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
5810 DL_INITIAL_DTV.
5811
2abe9f15
PM
58122012-09-06 Petr Machata <pmachata@redhat.com>
5813
5814 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
5815 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
5816 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
5817 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
5818
0948c3af
L
58192012-09-06 H.J. Lu <hongjiu.lu@intel.com>
5820
5821 [BZ #14545]
5822 * csu/libc-tls.c (_dl_initial_dtv): New variable.
5823 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
5824 freeing dtv[-1].
5825
a5055ad1
L
58262012-09-06 H.J. Lu <hongjiu.lu@intel.com>
5827
5828 [BZ #14544]
5829 * Makeconfig (link-static-before-libc): Replace $(+prector)
5830 with $(+prectorT).
5831 (link-static-after-libc): Replace $(+postctor) with
5832 $(+postctorT).
5833 (link-bounded): Replace $(+prector)/$(+postctor) with
5834 $(+prectorT)/$(+postctorT).
5835 (+prectorT): New macro.
5836 (+postctorT): Likewise.
5837
ed8c2ecd
JM
58382012-09-06 Joseph Myers <joseph@codesourcery.com>
5839
5840 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
5841 (round_str): Handle values above the maximum for IBM long double
5842 as inexact.
5843 * stdlib/tst-strtod-round.c (tests): Regenerated.
5844
14c996c8
AK
58452012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5846
5847 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
5848 assembler flag.
5849 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
5850 zarch_nohighgprs around the zarch optimized routines.
5851 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
5852 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
5853 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
5854 for zarch.
5855
430d6ce6
DM
58562012-09-05 David S. Miller <davem@davemloft.net>
5857
5858 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5859
ff04dda4
DM
5860 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
5861 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
5862 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
5863 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
5864 entries.
5865
24d4e01b
AO
58662012-09-05 Alexandre Oliva <aoliva@redhat.com>
5867
5868 * malloc/arena.c: Fold copyright years.
5869 * malloc/mcheck.c, malloc/memusage.c: Likewise.
5870
61d58174
AO
58712012-09-05 Alexandre Oliva <aoliva@redhat.com>
5872
5873 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
5874
20196a5e
AO
58752012-09-05 Alexandre Oliva <aoliva@redhat.com>
5876
5877 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
5878
5c447383
AO
58792012-09-05 Alexandre Oliva <aoliva@redhat.com>
5880
5881 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
5882 change internal state upon failure.
5883
fad64255
AO
58842012-09-05 Alexandre Oliva <aoliva@redhat.com>
5885
5886 * malloc/mcheck.c (mcheck_check_all): Fix typo.
5887 * malloc/memusage.c (mmap): Likewise.
5888 (mmap64, mremap): Likewise. Adjust name in comment.
5889
1ffb8c90
SP
58902012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
5891
5892 * libio/fileops.c: Fix typos in comments.
5893 * libio/oldfileops.c: Likewise.
5894 * libio/wfileops.c: Likewise.
5895
6ef9cc37
SP
58962012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
5897
5898 [BZ #1349]
5899 * malloc/Makefile (tests): Add tst-malloc-usable test case.
5900 (tst-malloc-usable-ENV): Set environment for test case.
5901 * malloc/hooks.c (malloc_check_get_size): New function to get
5902 requested size.
5903 * malloc/malloc.c (musable): Use malloc_check_get_size.
5904 * malloc/tst-malloc-usable.c: New test case.
5905
4d038ae3
AS
59062012-09-05 Andreas Schwab <schwab@linux-m68k.org>
5907
5908 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
5909
c4e85184
AM
59102012-09-05 Allan McRae <allan@archlinux.org>
5911
b9dafc56 5912 [BZ #13966]
c4e85184
AM
5913 * configure.in (CXX_SYSINCLUDES): Use compiler output to
5914 determine header location.
5915 * configure: Regenerated.
5916
e1343020
AS
59172012-09-05 Andreas Schwab <schwab@linux-m68k.org>
5918
5919 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
5920 float format.
5921 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
5922 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
5923 format.
e1343020
AS
5924 (test): Regenerate.
5925
0a9f1987
DM
59262012-09-04 David S. Miller <davem@davemloft.net>
5927
5928 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
5929 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
5930 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
5931
29237804
FW
59322012-09-04 Florian Weimer <fweimer@redhat.com>
5933
5934 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
5935 failures.
5936
edb3cb88
FW
5937 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
5938
60160d83
JM
59392012-09-04 Joseph Myers <joseph@codesourcery.com>
5940
5941 [BZ #9914]
5942 * libio/iogetdelim.c: Include <limits.h>.
5943 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
5944 + len + 1 would overflow.
5945
bcd6c8dc
AJ
59462012-09-03 Andreas Jaeger <aj@suse.de>
5947
5948 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5949 * sysdeps/i386/fpu/libm-test-ulps: Update.
5950
4ffffbd2
LD
59512012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5952
5953 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
5954 Add s_sinf-sse2, s_conf-sse2.
5955
5956 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
5957 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
5958 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
5959 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
5960
5961 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
5962 for using routine as __sinf_ia32.
5963 Use macro for function declaration and weak_alias.
5964 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
5965 for using routine as __cosf_ia32.
5966 Use macro for function declaration and weak_alias.
5967
5968 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
5969 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
5970
5971 * sysdeps/x86_64/fpu/s_sinf.S: New file.
5972 * sysdeps/x86_64/fpu/s_cosf.S: New file.
5973 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5974
5975 * math/libm-test.inc (cos_test): Add more test cases.
5976 (sin_test): Likewise.
5977 (sincos_test): Likewise.
5978
511fa286
AK
59792012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5980
5981 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
5982 (IFUNC_RESOLVE): Make pointers to the specialized implementations
5983 hidden.
5984 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
5985
5f30cfec
L
59862012-09-02 H.J. Lu <hongjiu.lu@intel.com>
5987
5988 [BZ #14538]
5989 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
5990 first element of the GOT.
5991 (elf_machine_load_address): Return the difference between
5992 the runtime address of _DYNAMIC and elf_machine_dynamic ().
5993
0786794f
AM
59942012-09-01 Allan McRae <allan@archlinux.org>
5995
5f30cfec
L
5996 [BZ #13412]
5997 * configure.in (AWK): Require gawk version 3.0 or later.
5998 * configure: Regenerated.
0786794f 5999
26889eac
JM
60002012-09-01 Joseph Myers <joseph@codesourcery.com>
6001
6002 * sysdeps/unix/sysv/linux/kernel-features.h
6003 (__ASSUME_POSIX_CPU_TIMERS): Remove.
6004 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
6005 [__NR_clock_getres]: Make code unconditional.
6006 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
6007 (clock_getcpuclockid): Remove code left unreachable by removal of
6008 conditionals.
6009 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
6010 code unconditional.
6011 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
6012 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
6013 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
6014 Make code unconditional.
6015 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
6016 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
6017 * sysdeps/unix/sysv/linux/clock_settime.c
6018 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
6019 conditional code.
6020 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
6021 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
6022
d22e28b0
L
60232012-08-29 H.J. Lu <hongjiu.lu@intel.com>
6024
6025 [BZ #14476]
6026 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
6027 scripts/test-installation.pl.
6028
6029 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
6030 and $ld_so_version if it is set.
6031
050af9c4
SP
60322012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
6033
6034 [BZ #14516]
6035 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
6036 failure if reading from procfs failed.
6037 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
6038
ad845c0b
JM
60392012-08-27 Joseph Myers <joseph@codesourcery.com>
6040
6041 * sysdeps/unix/sysv/linux/kernel-features.h
6042 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
6043 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
6044 Remove conditional code.
6045 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6046 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
6047 Remove conditional code.
6048 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6049 * sysdeps/unix/sysv/linux/i386/fxstat.c
6050 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
6051 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6052 * sysdeps/unix/sysv/linux/i386/fxstatat.c
6053 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
6054 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6055 * sysdeps/unix/sysv/linux/i386/lxstat.c
6056 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
6057 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6058 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
6059 Remove conditional code.
6060 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6061 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
6062 Remove conditional code.
6063 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6064 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
6065 <kernel-features.h>.
6066 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
6067 Remove.
6068 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
6069 Remove conditional code.
6070 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6071 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
6072 Remove conditional.
6073
5dbf56af
MF
60742012-08-27 Mike Frysinger <vapier@gentoo.org>
6075
6076 [BZ #5400]
6077 * NEWS: Add fixed bug number.
6078
d6e70f43
JM
60792012-08-27 Joseph Myers <joseph@codesourcery.com>
6080
7efb4737
JM
6081 [BZ #14519]
6082 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
6083 underflowing exponent in case of negative sign.
6084 * stdlib/tst-strtod-round-data: Add more tests.
6085 * stdlib/tst-strtod-round.c (tests): Regenerated.
6086
af92131a
JM
6087 [BZ #3479]
6088 * stdlib/strtod_l.c (NDIG): Remove.
6089 (HEXNDIG): Likewise.
6090 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
6091 smallest representable value.
6092 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
6093 lie within an exact representation of 1/2 ulp of the result.
6094 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
6095 unconditionally.
6096 (TENS_P9_IDX): Define unconditionally.
6097 (TENS_P9_SIZE): Likewise.
6098 (TENS_P10_IDX): Likewise.
6099 (TENS_P10_SIZE): Likewise.
6100 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
6101 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
6102 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
6103 entries for 10^2^13 and 10^2^14.
6104 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
6105 (TENS_P13_IDX): Define.
6106 (TENS_P13_SIZE): Likewise.
6107 (TENS_P14_IDX): Likewise.
6108 (TENS_P14_SIZE): Likewise.
6109 (_fpioconst_pow10): Change array size to
6110 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
6111 unconditional.
6112 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
6113 1024]: Add entries for 10^2^13 and 10^2^14.
6114 [LAST_POW10 > _LAST_POW10]: Remove #error.
6115 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
6116 (_fpioconst_pow10): Change array size to
6117 FPIOCONST_POW10_ARRAY_SIZE.
6118 * stdlib/gen-fpioconst.c: New file.
6119 * stdlib/gen-tst-strtod-round.c: Likewise.
6120 * stdlib/tst-strtod-round-data: Likewise.
6121 * stdlib/tst-strtod-round.c: Likewise.
6122 * stdlib/Makefile (tests): Add tst-strtod-round.
6123
d6e70f43
JM
6124 [BZ #14459]
6125 * stdlib/strtod_l.c: Include <stdint.h>.
6126 (NDEBUG): Do not define.
6127 (round_and_return): Change EXPONENT parameter to type intmax_t.
6128 Rearrange calculations to avoid internal overflow possibilities.
6129 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
6130 Rearrange calculations to avoid internal overflow possibilities.
6131 Assert that number fits inside MPNSIZE limbs.
6132 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
6133 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
6134 calculations and add assertions to avoid internal overflow
6135 possibilities. Add casts to avoid signed/unsigned operations.
6136 * stdlib/tst-strtod-overflow.c: New file.
6137 * stdlib/Makefile (tests): Add tst-strtod-overflow.
6138
1f529f7d
MP
61392012-08-25 Marek Polacek <polacek@redhat.com>
6140
6141 * time/time.h: Fix some typos in comments.
6142
59a629f1
RM
61432012-08-23 Roland McGrath <roland@hack.frob.com>
6144
6145 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
6146 * posix/tst-rfc3484-2.c: Likewise.
6147 * posix/tst-rfc3484-3.c: Likewise.
6148
d3bafbc9
SM
61492012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
6150
6151 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
6152 (EF_ARM_ABI_FLOAT_HARD): Likewise.
6153
4efcc022
JM
61542012-08-23 Joseph Myers <joseph@codesourcery.com>
6155
6156 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
6157 #include of fxstatat64.c.
6158
3cc3ef96
RM
61592012-08-22 Roland McGrath <roland@hack.frob.com>
6160
f04e2132
RM
6161 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
6162 * shadow/getspent_r.c: Likewise.
6163 * shadow/getspnam.c: Likewise.
6164 * shadow/getspnam_r.c: Likewise.
6165 * gshadow/getsgent.c: Likewise.
6166 * gshadow/getsgent_r.c: Likewise.
6167 * gshadow/getsgnam.c: Likewise.
6168 * gshadow/getsgnam_r.c: Likewise.
6169 * inet/getnetbyad.c: Likewise.
6170 * inet/getnetbyad_r.c: Likewise.
6171 * inet/getnetbynm.c: Likewise.
6172 * inet/getnetbynm_r.c: Likewise.
6173 * inet/getnetent.c: Likewise.
6174 * inet/getnetent_r.c: Likewise.
6175 * inet/getproto.c: Likewise.
6176 * inet/getproto_r.c: Likewise.
6177 * inet/getprtent.c: Likewise.
6178 * inet/getprtent_r.c: Likewise.
6179 * inet/getprtname.c: Likewise.
6180 * inet/getprtname_r.c: Likewise.
6181 * inet/getrpcbyname.c: Likewise.
6182 * inet/getrpcbyname_r.c: Likewise.
6183 * inet/getrpcbynumber.c: Likewise.
6184 * inet/getrpcbynumber_r.c: Likewise.
6185 * inet/getrpcent.c: Likewise.
6186 * inet/getrpcent_r.c: Likewise.
6187 * inet/getaliasent.c: Likewise.
6188 * inet/getaliasent_r.c: Likewise.
6189 * inet/getaliasname.c: Likewise.
6190 * inet/getaliasname_r.c: Likewise.
6191 * nscd/getgrgid_r.c: Likewise.
6192 * nscd/getgrnam_r.c: Likewise.
6193 * nscd/gethstbyad_r.c: Likewise.
6194 * nscd/gethstbynm3_r.c: Likewise.
6195 * nscd/getpwnam_r.c: Likewise.
6196 * nscd/getpwuid_r.c: Likewise.
6197 * nscd/getsrvbynm_r.c: Likewise.
6198 * nscd/getsrvbypt_r.c: Likewise.
6199 * nscd/gai.c: Likewise.
6200
c53d909c
RM
6201 * configure.in (build_nscd): New substituted variable, set
6202 by --disable-build-nscd and defaults to $use_nscd.
6203 * configure: Regenerated.
6204 * config.make.in (build-nscd): New substituted variable.
6205 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
6206 Change conditional to require [$(build-nscd) = yes] as well.
6207 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
6208
3cc3ef96
RM
6209 [BZ# 13696]
6210 * configure.in (use_nscd): New substituted variable, set by
6211 --disable-nscd. If enabled, define USE_NSCD.
6212 * configure: Regenerated.
6213 * config.h.in: Add USE_NSCD.
6214 * config.make.in (use-nscd): New substituted variable.
6215 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
6216 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
6217 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
6218 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
6219 (CFLAGS-getgrnam_r.c): Likewise.
6220 (CFLAGS-initgroups.c): Likewise.
6221 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
6222 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
6223 Variables removed.
6224 * inet/getnetgrent_r.c
6225 (nscd_setnetgrent): New function, broken out of ...
6226 (setnetgrent): ... here. Call it.
6227 (innetgr): Conditionalize nscd bits on [USE_NSCD].
6228 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
6229 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
6230 * nscd/Makefile (routines, aux): Move definitions after include of
6231 Makeconfig. Conditionalize on [$(use-nscd) != no].
6232 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
6233 Conditionalize on [USE_NSCD].
6234 (is_nscd, nscd_init_cb): Likewise.
6235 (nss_load_library): Conditionalize init callback on [USE_NSCD].
6236 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
6237 * nss/nss_db/db-init.c: Likewise.
6238 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
6239 [USE_NSCD].
6240 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
6241 (make_request): Use it.
6242 (cache_valid_p): New function.
6243 (__check_pf): Use it.
6244 * NEWS: Add item for --disable-nscd.
6245
07e51550
DL
62462012-08-22 Dmitry V. Levin <ldv@altlinux.org>
6247
6248 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
6249 to support sed >= 4.2.1-20-ga9bf076.
6250 * configure: Regenerated.
6251
35a5b08b
RM
62522012-08-22 Roland McGrath <roland@hack.frob.com>
6253
6254 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
6255 Conditionalize whole body on [IREL].
6256
8479f23a
JL
62572012-08-22 Jeff Law <law@redhat.com>
6258
6259 [BZ #14505]
6260 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
6261 if the family is PF_UNSPEC.
6262
48da0b21
MF
62632012-08-22 Mike Frysinger <vapier@gentoo.org>
6264
6265 * Makerules (lib-version): Rename from V.
6266 (install-lib-nosubdir): Change V to lib-version.
6267
15d0da8c
WS
62682012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
6269
6270 [BZ #14252]
6271 * powerpc32/power6/wcschr.c: New file.
6272 * powerpc32/power6/wcscpy.c: New file.
6273 * powerpc32/power6/wcsrchr.c: New file.
6274 * powerpc64/power6/wcschr.c: New file.
6275 * powerpc64/power6/wcscpy.c: New file.
6276 * powerpc64/power6/wcsrchr.c: New file.
6277
bcca0895
MK
62782012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
6279
6280 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
6281 (two_way_short_needle): Use it.
5a4aaa33
RM
6282 * string/strstr.c (AVAILABLE1_USES_J): Define.
6283 * string/strcasestr.c: Likewise.
99677e57
MK
6284
6285 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
6286 array references.
6287 * string/strcasestr.c (TOLOWER): Make side-effect safe.
6288
400726de
MK
6289 [BZ #11607]
6290 * NEWS: Add an entry.
6291 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
6292 define their defaults.
6293 (two_way_short_needle): Detect end-of-string on-the-fly.
6294 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
6295 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
6296 * string/bug-strcasestr1.c: New test.
6297 * string/Makefile: Run it.
6298
20a71f2c
MK
62992012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
6300
6301 [BZ #11607]
6302 * string/str-two-way.h (two_way_short_needle): Optimize matching of
6303 the first character.
6304
21ad0558
RM
63052012-08-21 Roland McGrath <roland@hack.frob.com>
6306
6307 * csu/elf-init.c (__libc_csu_irel): Function removed.
6308 * csu/libc-start.c (apply_irel): New function.
6309 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
6310
0e1d9911
JM
63112012-08-21 Joseph Myers <joseph@codesourcery.com>
6312
6313 * sysdeps/unix/sysv/linux/kernel-features.h
6314 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
6315 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
6316 <kernel-features.h>.
6317 [__NR_fadvise64_64]: Make code unconditional.
6318 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
6319 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
6320 !__NR_fadvise64_64)]: Likewise.
6321 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
6322 !__NR_fadvise64_64))]: Likewise.
6323 [__NR_fadvise64]: Make code unconditional.
6324 [!__NR_fadvise64]: Remove conditional code.
6325 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
6326 <kernel-features.h>.
6327 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
6328 unconditional.
6329 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
6330 conditional code.
6331 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
6332 not include <kernel-features.h>.
6333 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
6334 unconditional.
6335 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
6336 conditional code.
6337 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
6338 include <kernel-features.h>.
6339 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
6340 unconditional.
6341 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
6342 conditional code.
6343
14a50c9d
WS
63442012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
6345
6346 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
6347 slight instruction rearrangements per scrollpipe analysis.
6348 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
6349
c0f4faf0
RM
63502012-08-20 Roland McGrath <roland@hack.frob.com>
6351
696da859
RM
6352 * manual/syslog.texi (syslog; vsyslog, closelog):
6353 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
6354 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
6355
c0f4faf0
RM
6356 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
6357 DSOCAPS to match condition on defining it.
6358
348363b2
JM
63592012-08-20 Joseph Myers <joseph@codesourcery.com>
6360
a35cbf28
JM
6361 * sysdeps/unix/sysv/linux/kernel-features.h
6362 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
6363 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
6364 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
6365 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
6366 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
6367 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
6368 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
6369 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
6370 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
6371 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
6372
445f7ecd
JM
6373 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
6374 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
6375
348363b2
JM
6376 * sysdeps/unix/sysv/linux/kernel-features.h
6377 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
6378 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
6379 unconditional.
6380 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
6381 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
6382 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
6383 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
6384 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
6385 Make code unconditional.
6386 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
6387 (__mmap64) [!__NR_mmap2]: Likewise.
6388 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
6389 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
6390 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
6391 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
6392 [__NR_mmap2]: Make code unconditional.
6393 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
6394 (__mmap64) [!__NR_mmap2]: Likewise.
6395
bc5bc0e5
AK
63962012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6397
6398 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
6399
88d506de
AJ
64002012-08-18 Andreas Jaeger <aj@suse.de>
6401
6402 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
6403
493387d2
MF
64042012-08-18 Mike Frysinger <vapier@gentoo.org>
6405
6406 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
6407 * include/unistd.h (__have_sock_cloexec): Likewise.
6408 (__have_pipe2): Likewise.
6409 (__have_dup3): Likewise.
6410
a277af22
MF
64112012-08-18 Mike Frysinger <vapier@gentoo.org>
6412
6413 [BZ #9685]
6414 * include/unistd.h (__have_pipe2): Change define into an extern int.
6415 (__have_dup3): Likewise.
6416 * socket/have_sock_cloexec.c: Include fcntl.h.
6417 (__have_pipe2): New variable.
6418 (__have_dup3): Likewise.
6419
fdab8fd3
MF
64202012-08-17 Mike Frysinger <vapier@gentoo.org>
6421
6422 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
6423
31035e80
MP
64242012-08-17 Marek Polacek <polacek@redhat.com>
6425
6426 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
6427 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
6428
3bd9e993
RM
64292012-08-17 Roland McGrath <roland@hack.frob.com>
6430
c91c505f
RM
6431 * configure.in: Add AC_SUBST for sysheaders.
6432 * configure: Regenerated.
6433 * config.make.in (sysheaders): New substituted variable.
6434
7c6f9d53
RM
6435 * sysdeps/unix/mkfifo.c: Moved ...
6436 * sysdeps/posix/mkfifo.c: ... here.
6437 * sysdeps/unix/mkfifoat.c: Moved ...
6438 * sysdeps/posix/mkfifoat.c: ... here.
6439
6440 * sysdeps/unix/utime.c: Moved ...
6441 * sysdeps/posix/utime.c: ... here.
6442
6443 * sysdeps/unix/time.c: Moved ...
6444 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
6445 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
6446 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
6447
6448 * sysdeps/unix/nice.c: Moved ...
6449 * sysdeps/posix/nice.c: ... here.
6450
6451 * sysdeps/unix/alarm.c: Moved ...
6452 * sysdeps/posix/alarm.c: ... here.
6453
3bd9e993
RM
6454 * intl/Makefile ($(codeset_mo)): Depend on the input file.
6455
d1f09384
JL
64562012-08-17 Jeff Law <law@redhat.com>
6457
6458 * intl/Makefile (codeset_mo): New variable.
6459 ($(codeset_mo)): New target.
6460 (tst-codeset.out): Depend on that. Remove explicit rule.
6461 (tst-gettext3.out, tst-gettext5.out): Likewise.
6462 (LOCPATH-ENV, tst-codeset-ENV): New variables.
6463 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
6464 * intl/tst-codeset.sh: Remove.
6465 * intl/tst-gettext3.sh: Likewise.
6466 * intl/tst-gettext5.sh: Likewise.
6467
2ae1ae5c
RM
64682012-08-17 Roland McGrath <roland@hack.frob.com>
6469
c31fdb83
RM
6470 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
6471 * sysdeps/unix/syscalls.list: ... here.
6472
a0844057
RM
6473 * sysdeps/posix/getaddrinfo.c
6474 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
6475 (gaiconf_init, gaiconf_reload): Use them.
6476 [!_STATBUF_ST_NSEC]
6477 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
6478 Define using time_t rather than struct timespec.
6479
750c1f2a
RM
6480 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
6481 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
6482 Macros removed.
6483 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
6484 [!NO_THREADS].
6485 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
6486 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
6487 Likewise.
6488
2ae1ae5c
RM
6489 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
6490 __libc_cleanup_push argument.
6491
e66a42f5
RM
6492 * bits/param.h: New file.
6493 * misc/sys/param.h: New file.
6494 * include/sys/param.h: New file.
6495 * misc/Makefile (headers): Add bits/param.h.
6496 * sysdeps/generic/sys/param.h: File removed.
6497 * sysdeps/unix/sysv/linux/bits/param.h: New file.
6498 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
6499 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 6500 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 6501
b7c08a66
RM
6502 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
6503 last change.
6504
b2e1c562
RM
6505 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
6506 [_IO_MTSAFE_IO].
6507 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
6508 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
6509 New macros.
6510
c75ccd4c
RM
6511 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
6512 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
6513 rather than -D_IO_MTSAFE_IO conditionally.
6514 * stdio-common/Makefile (CPPFLAGS): Likewise.
6515 * wcsmbs/Makefile (CPPFLAGS): Likewise.
6516 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
6517 Use $(libio-mtsafe).
6518 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
6519 of -D_IO_MTSAFE_IO.
6520 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
6521 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
6522 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
6523 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
6524 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
6525 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
6526 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
6527 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
6528 (CFLAGS-fread_u_chk.c): Likewise.
6529 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
6530 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
6531 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
6532 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
6533 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
6534 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
6535 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
6536 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
6537 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
6538
6539 * libio/Makefile: Test [$(libc-reentrant) = yes]
6540 instead of [$(filter %REENTRANT, $(defines)) nonempty].
6541
6542 * Makeconfig
6543 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
6544 * sysdeps/pthread/configure: File removed.
6545 * sysdeps/pthread/Makeconfig: New file.
6546 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
6547 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
6548
d9195db8
GB
65492012-08-16 Gary Benson <gbenson@redhat.com>
6550
6551 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
6552 unmapping the first object in a namespace.
6553
86466cd9
RM
65542012-08-16 Roland McGrath <roland@hack.frob.com>
6555
6556 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
6557 (__internal_setnetgrent): ... this. Add internal_function to
6558 definition. Add libc_hidden_def.
6559 (setnetgrent): Update caller.
6560 (internal_endnetgrent): Renamed to ...
6561 (__internal_endnetgrent): ... this. Add internal_function to
6562 definition. Add libc_hidden_def.
6563 (endnetgrent): Update caller.
6564 (internal_getnetgrent_r): Renamed to ...
6565 (__internal_getnetgrent_r): ... this. Add internal_function to
6566 definition. Add libc_hidden_def.
6567 (__getnetgrent_r): Update caller.
6568 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
6569
c3c8283c
JM
65702012-08-16 Joseph Myers <joseph@codesourcery.com>
6571
6572 * stdlib/longlong.h: Update from GCC.
6573
db1ee0a8
RM
65742012-08-16 Roland McGrath <roland@hack.frob.com>
6575
6576 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
6577 on _QL, which is set by umul_ppmm but never used.
6578 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
6579 variables, which are set by GMP macros but never used.
6580 * stdio-common/_itowa.c (_itowa): Likewise.
6581 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
6582 * stdlib/mod_1.c (mpn_mod_1): Likewise.
6583
30f69637
CD
65842012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
6585
6586 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
6587 struct La_sh_regs is not constant.
6588 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
6589 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
6590 and struct La_sparc64_regs are not constant.
6591
93a78ac4
JM
65922012-08-16 Joseph Myers <joseph@codesourcery.com>
6593
6594 * sysdeps/unix/sysv/linux/kernel-features.h
6595 (__ASSUME_POSIX_TIMERS): Remove.
6596 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
6597 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
6598 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
6599 Make code unconditional.
6600 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
6601 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
6602 Make code unconditional.
6603 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
6604 * sysdeps/unix/sysv/linux/clock_nanosleep.c
6605 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
6606 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
6607 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
6608 Make code unconditional.
6609 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
6610 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
6611 (__libc_missing_posix_timers): Remove.
6612
dd924cd7
RM
66132012-08-15 Roland McGrath <roland@hack.frob.com>
6614
4b4f2771
RM
6615 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
6616 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
6617
601c888b
RM
6618 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
6619
176790a7
RM
6620 * elf/dl-sym.c: Include <stdlib.h>.
6621
329bc018
RM
6622 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
6623 constants, which avoids warnings in 32-bit builds.
6624
e04e272d
RM
6625 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
6626 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
6627
952bf94a
RM
6628 * misc/lseek.c: File moved to ...
6629 * io/lseek.c: ... here.
6630
7c99b50a
RM
6631 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
6632
dd924cd7
RM
6633 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
6634 shifting LEN more than 31 bits at once.
6635
b3f479a8
LD
66362012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6637
6638 [BZ #14195]
8c4ae0d4
RM
6639 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
6640 segmentation fault for a case of two empty input strings.
b3f479a8
LD
6641 * string/test-strncasecmp.c (check1): Renamed to...
6642 (bz12205): ...this.
6643 (bz14195): Add new testcase for two empty input strings and N > 0.
6644 (test_main): Call new testcase, adapt for renamed function.
6645
9c55864e
AJ
66462012-08-15 Andreas Jaeger <aj@suse.de>
6647
6648 [BZ #14090]
6649 * crypt/md5test2.c: New test, based on test supplied by Serge
6650 Belyshev <belyshev@depni.sinp.msu.ru>.
6651 * crypt/Makefile (xtests): Add md5test-giant..
6652 * crypt/Makefile ($(objpfx)md5test-giant): Add.
6653
02dcb6c5
PE
66542012-08-15 Paul Eggert <eggert@cs.ucla.edu>
6655
6656 [BZ #14090]
6657 * crypt/md5.c (md5_process_block): Don't assume the buffer
6658 length is less than 2**32.
6659 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
6660 length is less than 2**64.
6661
a3f95dcc
RM
66622012-08-15 Roland McGrath <roland@hack.frob.com>
6663
be75d758
RM
6664 * string/str-two-way.h: Include <sys/param.h>.
6665 (MAX): Macro removed.
6666
7312ca90
RM
6667 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
6668 Move #define and #undef of memmove to just before and after
6669 including <string.h>.
6670
9a0a5486
RM
6671 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
6672 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
6673 and after including <string.h>. Move declarations of
6674 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
6675 to before #include "string/memmove.c".
6676
67cc348d
RM
6677 * include/dirent.h: Declare __getdirentries.
6678
a3f95dcc
RM
6679 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
6680 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
6681
ca98e171
MF
66822012-08-14 Mike Frysinger <vapier@gentoo.org>
6683
6684 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
6685 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
6686 * sysdeps/i386/configure: Regenerated.
6687 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
6688 STABS_CURRENT_FILE, and STABS_FUN.
6689 (END): Remove call to STABS_FUN_END.
6690 (STABS_CURRENT_FILE1): Delete.
6691 (STABS_CURRENT_FILE): Likewise.
6692 (STABS_FUN): Likewise.
6693 (STABS_FUN_END): Likewise.
6694 (STABS_FUN2): Likewise.
6695 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
6696 * sysdeps/x86_64/configure: Regenerated.
6697
5908bf46
RM
66982012-08-14 Roland McGrath <roland@hack.frob.com>
6699
6700 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 6701 * elf/dl-lookup.c: Likewise.
5908bf46 6702
f2c05b9e
JM
67032012-08-14 Joseph Myers <joseph@codesourcery.com>
6704
6705 * sysdeps/unix/sysv/linux/kernel-features.h
6706 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
6707 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
6708 unconditionally.
6709 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
6710 unconditionally.
6711 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
6712 condition on __ASSUME_CLONE_THREAD_FLAGS.
6713
e11f5155
AJ
67142012-08-14 Andreas Jaeger <aj@suse.de>
6715
6716 * sysdeps/i386/fpu/libm-test-ulps: Update.
6717
51a9ba86
MK
67182012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
6719
2fdd4f78
AJ
6720 * include/atomic.h (atomic_exchange_and_add): Split into ...
6721 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
6722 New atomic macros.
51a9ba86 6723
ba6cba9e
MT
67242012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
6725
6726 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6727
42443a47
JL
67282012-08-13 Jeff Law <law@redhat.com>
6729
6730 * manual/stdio.texi (snprintf): Clarify handling of the trailing
6731 null byte in the output string.
6732
121dce05
JM
67332012-08-10 Joseph Myers <joseph@codesourcery.com>
6734
6735 * sysdeps/unix/sysv/linux/kernel-features.h
6736 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
6737 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
6738 (__ASSUME_ARG_MAX_STACK_BASED): Define.
6739 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
6740 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
6741 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
6742 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
6743
bf51f568
JL
67442012-08-09 Jeff Law <law@redhat.com>
6745
6746 [BZ #13939]
6747 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
6748 When avoid_arena is set, don't retry in the that arena. Pick the
6749 next one, whatever it might be.
6750 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
6751 (arena_lock): Pass in new parameter to arena_get2.
6752 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
6753 arena_get2.
6754 (__libc_malloc): Unify retrying after main arena failure with
6755 __libc_memalign version.
6756 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
6757
f85fa270
L
67582012-08-09 H.J. Lu <hongjiu.lu@intel.com>
6759
6760 [BZ #14166]
6761 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
6762 to __redirect_strstr.
6763 (__strstr_sse42): Use typeof __redirect_strstr.
6764 (__strstr_ia32): Likewise.
6765 (__libc_strstr): New prototype.
6766 (strstr): Renamed to ...
6767 (__libc_strstr): This.
6768 (strstr): New strong alias of __libc_strstr.
6769 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
6770 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
6771 __redirect_time.
6772 Include <time.h>.
6773 (__libc_time): New prototype.
6774 (time_ifunc): Replace time with __libc_time.
6775 (time): New strong alias and hidden definition of __libc_time.
6776 (__GI_time): Remove strong alias.
6777 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
6778 Include <stddef.h>.
6779 (memmove): Redefined to __redirect_memmove.
6780 (__memmove_sse2): Use typeof __redirect_memmove.
6781 (__memmove_ssse3): Likewise.
6782 (__memmove_ssse3_back): Likewise.
6783 (__libc_memmove): New prototype.
6784 (memmove): Renamed to ...
6785 (__libc_memmove): This.
6786 (memmove): New strong alias of __libc_memmove.
6787
33b4a91e
MS
67882012-08-08 Mark Salter <msalter@redhat.com>
6789
6790 * elf/elf.h
6791 (R_MN10300_TLS_GD): Define.
6792 (R_MN10300_TLS_LD): Likewise.
6793 (R_MN10300_TLS_LDO): Likewise.
6794 (R_MN10300_TLS_GOTIE): Likewise.
6795 (R_MN10300_TLS_IE): Likewise.
6796 (R_MN10300_TLS_LE): Likewise.
6797 (R_MN10300_TLS_DTPMOD): Likewise.
6798 (R_MN10300_TLS_DTPOFF): Likewise.
6799 (R_MN10300_TLS_TPOFF): Likewise.
6800 (R_MN10300_SYM_DIFF): Likewise.
6801 (R_MN10300_ALIGN): Likewise.
6802 (R_MN10300_NUM): Update.
6803
b36137f1
JM
68042012-08-08 Joseph Myers <joseph@codesourcery.com>
6805
6806 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
6807 Remove.
6808
cdd915fd
RM
68092012-08-08 Roland McGrath <roland@hack.frob.com>
6810
a2433aac
RM
6811 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
6812
cdd915fd
RM
6813 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
6814 sysdeps/unix -> sysdeps/posix move.
6815 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
6816
bf9b740a
AM
68172012-08-07 Allan McRae <allan@archlinux.org>
6818
6819 [BZ #14303]
6820 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
6821 (SUNOS_CPP): Likewise.
6822 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
6823 not found.
6824 (open_input): Call CPP using execvp.
6825
93df14ee
JM
68262012-08-07 Joseph Myers <joseph@codesourcery.com>
6827
6828 * sysdeps/unix/sysv/linux/kernel-features.h
6829 (__ASSUME_PROT_GROWSUPDOWN): Remove.
6830 (__ASSUME_NO_CLONE_DETACHED): Likewise.
6831 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
6832 (__ASSUME_WAITID_SYSCALL): Likewise.
6833 * sysdeps/unix/sysv/linux/dl-execstack.c
6834 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
6835 code unconditional.
6836 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
6837 conditional code.
6838 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
6839 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
6840 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
6841 code.
6842 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
6843 unconditional.
6844 [__ASSUME_WAITID_SYSCALL]: Likewise.
6845 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
6846
d34689de
RM
68472012-08-07 Roland McGrath <roland@hack.frob.com>
6848
a281decc
RM
6849 * sysdeps/unix/closedir.c: Renamed to ...
6850 * sysdeps/posix/closedir.c: ... here.
6851 * sysdeps/unix/dirfd.c: Renamed to ...
6852 * sysdeps/posix/dirfd.c: ... here.
6853 * sysdeps/unix/dirstream.h: Renamed to ...
6854 * sysdeps/posix/dirstream.h: ... here.
6855 * sysdeps/unix/fdopendir.c: Renamed to ...
6856 * sysdeps/posix/fdopendir.c: ... here.
6857 * sysdeps/unix/opendir.c: Renamed to ...
6858 * sysdeps/posix/opendir.c: ... here.
6859 * sysdeps/unix/readdir.c: Renamed to ...
6860 * sysdeps/posix/readdir.c: ... here.
6861 * sysdeps/unix/readdir_r.c: Renamed to ...
6862 * sysdeps/posix/readdir_r.c: ... here.
6863 * sysdeps/unix/rewinddir.c: Renamed to ...
6864 * sysdeps/posix/rewinddir.c: ... here.
6865 * sysdeps/unix/seekdir.c: Renamed to ...
6866 * sysdeps/posix/seekdir.c: ... here.
6867 * sysdeps/unix/telldir.c: Renamed to ...
6868 * sysdeps/posix/telldir.c: ... here.
6869 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
6870 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
6871 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
6872 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
6873
22895b47
RM
6874 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
6875 * bits/fcntl.h: ... here.
6876
707a53b6
RM
6877 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
6878 not 0.
6879 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
6880 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
6881 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
6882 (struct flock): Move l_start, l_len to the beginning.
6883 Use __pid_t for l_pid.
6884 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
6885 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
6886 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
6887 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
6888 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
6889 [__USE_LARGEFILE64] (struct flock64): New type.
6890 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
6891
f0bd3e25
RM
6892 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
6893 * bits/dirent.h: ... here.
6894
d34689de
RM
6895 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
6896 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
6897
6dad2c06
JM
68982012-08-07 Joseph Myers <joseph@codesourcery.com>
6899
6900 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
6901 Change from 2.6.0 to 2.6.16.
6902 * sysdeps/unix/sysv/linux/configure: Regenerated.
6903 * sysdeps/unix/sysv/linux/kernel-features.h
6904 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
6905 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
6906 version.
6907 (__ASSUME_UTIMES): Likewise.
6908 (__ASSUME_CLONE_STOPPED): Remove.
6909 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
6910 architectures, not kernel version.
6911 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
6912 (__ASSUME_NO_CLONE_DETACHED): Likewise.
6913 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
6914 (__ASSUME_WAITID_SYSCALL): Likewise.
6915 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
6916 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
6917 * README: State 2.6.16 as minimum Linux kernel version. Do not
6918 refer to older versions.
6919
03af9520
RM
69202012-08-06 Roland McGrath <roland@hack.frob.com>
6921
8e49df1d
RM
6922 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
6923 Define alphasort64 as an alias.
6924 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
6925 Define versionsort64 as an alias.
6926 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
6927 Define scandir64 as an alias.
6928 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
6929 Define scandirat64 as an alias.
6930 * dirent/alphasort64.c (alphasort64):
6931 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
6932 * dirent/versionsort64.c: Likewise.
6933 * dirent/scandir64.c: Likewise.
6934 * dirent/scandirat64.c: Likewise.
6935 * sysdeps/wordsize-64/alphasort.c: File removed.
6936 * sysdeps/wordsize-64/alphasort64.c: File removed.
6937 * sysdeps/wordsize-64/scandir.c: File removed.
6938 * sysdeps/wordsize-64/scandir64.c: File removed.
6939 * sysdeps/wordsize-64/scandirat.c: File removed.
6940 * sysdeps/wordsize-64/scandirat64.c: File removed.
6941 * sysdeps/wordsize-64/versionsort.c: File removed.
6942 * sysdeps/wordsize-64/versionsort64.c: File removed.
6943 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
6944 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
6945 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
6946 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
6947 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
6948 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
6949 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
6950 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
6951
6952 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
6953 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
6954 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
6955 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6956 [defined __arch64__ || defined __sparcv9]
6957 (__INO_T_MATCHES_INO64_T): New macro.
6958 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
6959 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
6960 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
6961 * sysdeps/unix/sysv/linux/bits/dirent.h
6962 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
6963 (_DIRENT_MATCHES_DIRENT64): New macro.
6964
03af9520
RM
6965 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
6966 Define lockf64 as an alias.
6967 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
6968 Define fseeko64 as an alias.
6969 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
6970 Define ftello64 as an alias.
6971 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
6972 Define _IO_fgetpos64 and fgetpos64 as aliases.
6973 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
6974 Define _IO_fsetpos64 and fsetpos64 as aliases.
6975 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
6976 Conditionalize body on this.
6977 * libio/fseeko64.c: Likewise.
6978 * libio/ftello64.c: Likewise.
6979 * libio/iofgetpos64.c: Likewise.
6980 * libio/iofsetpos64.c: Likewise.
6981 * sysdeps/wordsize-64/lockf.c: File removed.
6982 * sysdeps/wordsize-64/lockf64.c: File removed.
6983 * sysdeps/wordsize-64/fseeko.c: File removed.
6984 * sysdeps/wordsize-64/fseeko64.c: File removed.
6985 * sysdeps/wordsize-64/ftello.c: File removed.
6986 * sysdeps/wordsize-64/ftello64.c: File removed.
6987 * sysdeps/wordsize-64/iofgetpos.c: File removed.
6988 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
6989 * sysdeps/wordsize-64/iofsetpos.c: File removed.
6990 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
6991 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
6992 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
6993 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
6994 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
6995 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
6996 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
6997 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
6998 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
6999 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
7000 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
7001
7002 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
7003 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
7004 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
7005 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7006 [defined __arch64__ || defined __sparcv9]
7007 (__OFF_T_MATCHES_OFF64_T): New macro.
7008 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
7009 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
7010 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
7011 (__OFF_T_MATCHES_OFF64_T): New macro.
7012
c5757acd
L
70132012-08-06 H.J. Lu <hongjiu.lu@intel.com>
7014
7015 * stdlib/secure-getenv.c (__secure_getenv): Replace
7016 GLIBC_2_16 with GLIBC_2_17.
7017
3a31811e
L
70182012-08-06 H.J. Lu <hongjiu.lu@intel.com>
7019
7020 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
7021 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
7022
faa2bccb
DM
70232012-08-03 David S. Miller <davem@davemloft.net>
7024
7025 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7026
85fe1997
JM
70272012-08-03 Joseph Myers <joseph@codesourcery.com>
7028
7029 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
7030 Remove.
7031 (__ASSUME_CORRECT_SI_PID): Likewise.
7032 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
7033 (__ASSUME_TMPFS_NAME): Likewise.
7034 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
7035 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
7036 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
7037 (HAVE_AUX_SECURE): Make definition unconditional.
7038 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
7039 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
7040
4f75b7a0
RM
70412012-08-03 Roland McGrath <roland@hack.frob.com>
7042
7043 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
7044 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
7045 * sysdeps/mach/hurd/eloop-threshold.h: New file.
7046 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
7047 __eloop_threshold instead of SYMLOOP_MAX.
7048
7049 * sysdeps/generic/eloop-threshold.h: New file.
7050 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
7051 of MAXSYMLINKS.
7052 * elf/chroot_canon.c (chroot_canon): Likewise.
7053
7aab07e4
JM
70542012-08-03 Joseph Myers <joseph@codesourcery.com>
7055
7056 [BZ #13717]
7057 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
7058 Change to 2.6.0 everywhere.
7059 * sysdeps/unix/sysv/linux/configure: Regenerated.
7060 * sysdeps/unix/sysv/linux/kernel-features.h
7061 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
7062 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
7063 kernel versions.
7064 (__ASSUME_POSIX_TIMERS): Define unconditionally.
7065 (__ASSUME_FUTEX_REQUEUE): Remove.
7066 (__ASSUME_STATFS64): Define unconditionally.
7067 (__ASSUME_AT_SECURE): Likewise.
7068 (__ASSUME_CORRECT_SI_PID): Likewise.
7069 (__ASSUME_TGKILL): Define without depending on kernel version for
7070 i386.
7071 (__ASSUME_UTIMES): Likewise.
7072 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
7073 kernel version.
7074 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
7075 (__ASSUME_TMPFS_NAME): Likewise.
7076 * README: Update reference to Linux kernel versions.
7077
b67e9372
MP
70782012-08-02 Marek Polacek <polacek@redhat.com>
7079
1f529f7d 7080 [BZ# 14150]
b67e9372
MP
7081 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
7082 libc_cv_asm_type_prefix with %.
7083 * configure: Regenerated.
d2441631
RM
7084 * include/libc-symbols.h: Remove comment about
7085 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
7086 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
7087 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
7088 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
7089 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
7090 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
7091 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
7092 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
7093 * elf/tst-unique2mod1.c: Likewise.
7094 * elf/tst-unique1mod2.c: Likewise.
7095 * elf/tst-unique1mod1.c: Likewise.
7096 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
7097 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
7098 Replace ASM_TYPE_DIRECTIVE with .type.
7099 * sysdeps/s390/s390-64/sysdep.h: Likewise.
7100 * sysdeps/i386/sysdep.h: Likewise.
7101 * sysdeps/x86_64/sysdep.h: Likewise.
7102 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
7103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
7104 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 7105 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
7106 * sysdeps/powerpc/powerpc32/sysdep.h:
7107 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
7108 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
7109 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
7110 * sysdeps/i386/fpu/e_powf.S: Likewise.
7111 * sysdeps/i386/fpu/e_expl.S: Likewise.
7112 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
7113 * sysdeps/i386/fpu/e_acosh.S: Likewise.
7114 * sysdeps/i386/fpu/e_pow.S: Likewise.
7115 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
7116 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
7117 * sysdeps/i386/fpu/s_expm1.S: Likewise.
7118 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
7119 * sysdeps/i386/fpu/e_log2.S: Likewise.
7120 * sysdeps/i386/fpu/e_log2l.S: Likewise.
7121 * sysdeps/i386/fpu/e_scalb.S: Likewise.
7122 * sysdeps/i386/fpu/e_powl.S: Likewise.
7123 * sysdeps/i386/fpu/e_log10f.S: Likewise.
7124 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
7125 * sysdeps/i386/fpu/e_logl.S: Likewise.
7126 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
7127 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
7128 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
7129 * sysdeps/i386/fpu/e_log2f.S: Likewise.
7130 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
7131 * sysdeps/i386/fpu/e_log.S: Likewise.
7132 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
7133 * sysdeps/i386/fpu/e_logf.S: Likewise.
7134 * sysdeps/i386/fpu/e_log10l.S: Likewise.
7135 * sysdeps/i386/fpu/e_atanh.S: Likewise.
7136 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
7137 * sysdeps/i386/fpu/e_log10.S: Likewise.
7138 * sysdeps/i386/fpu/s_frexp.S: Likewise.
7139 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
7140 * sysdeps/i386/fpu/s_asinh.S: Likewise.
7141 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
7142 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
7143 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
7144 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
7145 * sysdeps/i386/i686/strtok.S: Likewise.
7146 * sysdeps/i386/i386-mcount.S: Likewise.
7147 * sysdeps/i386/strtok.S: Likewise.
7148 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
7149 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
7150 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
7151 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
7152 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
7153 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
7154 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
7155 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
7156 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
7157 * sysdeps/x86_64/_mcount.S: Likewise.
7158 * sysdeps/x86_64/strtok.S: Likewise.
7159 * sysdeps/sh/_mcount.S: Likewise.
7160
2747bf9a
RM
71612012-08-01 Roland McGrath <roland@hack.frob.com>
7162
7163 * libio/iofopen.c: Include <fcntl.h>.
7164 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
7165 (_IO_fopen64, fopen64): Define as aliases.
7166 * libio/iofopen64.c: Include <fcntl.h>.
7167 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
7168 Conditionalize body on this.
7169 * sysdeps/wordsize-64/iofopen.c: File removed.
7170 * sysdeps/wordsize-64/iofopen64.c: File removed.
7171
3fb791b8
MP
71722012-08-01 Marek Polacek <polacek@redhat.com>
7173
7174 * libc/Makeconfig: Use elf in place of binfmt-subdir.
7175 Use dlfcn directly instead of a variable.
7176 (binfmt-subdir): Do not define.
7177 (dlfcn): Likewise.
7178
a9f1039f
JM
71792012-08-01 Joseph Myers <joseph@codesourcery.com>
7180
23bddc06
JM
7181 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
7182 Remove all definitions.
7183 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
7184 <kernel-features.h>.
7185 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
7186 (miss_F_GETOWN_EX): Remove all definitions.
7187 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
7188 macro definition.
7189 [!__ASSUME_FCNTL64]: Remove conditional code.
7190 [__ASSUME_FCNTL64]: Make code unconditional.
7191 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
7192 <kernel-features.h>.
7193 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
7194 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
7195 (lockf64) [__NR_fcntl64]: Make code unconditional.
7196 (lockf64) [__ASSUME_FCNTL64]: Likewise.
7197
a9f1039f
JM
7198 * sysdeps/unix/sysv/linux/kernel-features.h
7199 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
7200 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
7201 Make code unconditional.
7202 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
7203 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
7204 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
7205 [__NR_vfork]: Make code unconditional.
7206 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
7207 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
7208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
7209 [__NR_vfork]: Make code unconditional.
7210 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
7211 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
7212
09c0ee5f
RM
72132012-08-01 Roland McGrath <roland@hack.frob.com>
7214
48aec5b9
RM
7215 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
7216 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
7217
cd97c966
RM
7218 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
7219 Define mkstemp64 as an alias.
3f55550c
RM
7220 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
7221 Define mkstemps64 as an alias.
cd97c966
RM
7222 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
7223 Define mkostemp64 as an alias.
b8625cfc
RM
7224 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
7225 Define mkostemps64 as an alias.
cd97c966
RM
7226 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
7227 Conditionalize body on this.
7228 * misc/mkostemp64.c: Likewise.
b8625cfc 7229 * misc/mkostemps64.c: Likewise.
3f55550c 7230 * misc/mkstemps64.c: Likewise.
cd97c966
RM
7231 * sysdeps/wordsize-64/mkstemp64.c: File removed.
7232 * sysdeps/wordsize-64/mkostemp64.c: File removed.
7233 * sysdeps/wordsize-64/mkostemp.c: File removed.
7234 * sysdeps/wordsize-64/mkstemp.c: File removed.
7235 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
7236 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
7237 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
7238 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
7239
09c0ee5f
RM
7240 [BZ #14138]
7241 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
7242 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
7243 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
7244 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
7245
7246 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
7247 compat_symbol macros from <shlib-compat.h> rather than the underlying
7248 default_symbol_version and symbol_version macros, so that DEFAULT
7249 lines in shlib-versions are respected.
7250 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
7251
7e66ee51
FW
72522012-08-01 Florian Weimer <fweimer@redhat.com>
7253
7254 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
7255 Declare with warn_unused_result.
7256 (setgid, setregid, setegid, setresgid): Likewise.
7257 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
7258 Likewise.
7259 * WUR-REPORT: Remove set*id functions.
7260
d2a54255
PT
72612012-07-31 Pino Toscano <toscano.pino@tiscali.it>
7262
7263 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
7264
7ecdb005
RM
72652012-07-31 Roland McGrath <roland@hack.frob.com>
7266
789bd351
RM
7267 * include/sys/socket.h (__libc_accept, __libc_accept4):
7268 Add attribute_hidden.
7269 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
7270
40ce302d
RM
7271 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
7272 use of PTR_MANGLE.
7273 * inet/getnetgrent_r.c (setup): Likewise.
7274
7ecdb005
RM
7275 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
7276
e2eabb2c
DM
72772012-07-31 David S. Miller <davem@davemloft.net>
7278
7279 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7280
d0419dbf
JM
72812012-07-31 Joseph Myers <joseph@codesourcery.com>
7282
7283 [BZ #13629]
7284 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
7285 value between 1.0 and 2.0 and smaller part has absolute value less
7286 than 1.0.
7287 * math/s_clog10.c (__clog10): Likewise.
7288 * math/s_clog10f.c (__clog10f): Likewise.
7289 * math/s_clog10l.c (__clog10l): Likewise.
7290 * math/s_clogf.c (__clogf): Likewise.
7291 * math/s_clogl.c (__clogl): Likewise.
7292 * math/libm-test.inc (clog_test): Add more tests.
7293 (clog10_test): Likewise.
7294 * sysdeps/i386/fpu/libm-test-ulps: Update.
7295 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7296
2bc13872
FW
72972012-07-31 Florian Weimer <fweimer@redhat.com>
7298
7299 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
7300 Exit with zero in case no suitable GID is found, and write a
7301 message to standard error.
7302
bea9b193
RM
73032012-07-30 Roland McGrath <roland@hack.frob.com>
7304
7305 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
7306 rather than to 1.
7307 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
7308 (MAXPATHLEN): Removed.
7309 (NOGROUP, NODEV): New macros.
7310 (setbit, clrbit, isset, isclr): New macros.
7311 (howmany, roundup, powerof2): New macros.
7312 (DEV_BSIZE): New macro.
7313
7314 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
7315 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
7316
7317 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
7318 definition on [!__NO_LONG_DOUBLE_MATH].
7319
7320 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
7321 PTR_MANGLE and PTR_DEMANGLE.
7322
7323 * socket/accept4.c (accept4): Rename to __libc_accept4.
7324 Define accept4 as a weak alias.
7325
7326 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
7327 on [_DIRENT_HAVE_D_TYPE].
7328 * io/ftw.c (ftw_dir): Likewise.
7329
7330 * io/xmknod.c (__xmknod): Don't check PATH for being null.
7331
7332 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
7333
7334 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
7335 Use the BSD numbers rather than the arbitrary ones we had.
7336 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
7337 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
7338 (SIGXCPU, SIGXFSZ): New macros.
7339 (_NSIG): Now 32.
7340
7341 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
7342 initializer on [_LIBC_REENTRANT].
7343
7344 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
7345 definitions inside [_POSIX_MAPPED_FILES].
7346
7347 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
7348
7349 * dirent/opendir.c: Include <fcntl.h>.
7350
7351 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
7352 (__libc_getspecific): Likewise.
7353 (__libc_key_create): Likewise.
7354
7355 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
7356 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
7357 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
7358 (tmpfile64): Define as alias.
7359 * sysdeps/wordsize-64/tmpfile.c: File removed.
7360 * sysdeps/wordsize-64/tmpfile64.c: File removed.
7361 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
7362 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
7363
7364 * stdio-common/vfscanf.c: Include <stdbool.h>.
7365 * nss/makedb.c: Likewise.
7366 * stdio-common/_i18n_number.h: Likewise.
7367 * argp/argp-help.c: Likewise.
7368 * posix/wordexp.c: Likewise.
7369 * sysdeps/posix/spawni.c: Likewise.
7370 * nss/nss_files/files-initgroups.c: Likewise.
7371 * stdio-common/reg-modifier.c: Include <stdlib.h>.
7372 * nss/nss_files/files-initgroups.c: Likewise.
7373 * nss/nss_db/db-netgrp.c: Likewise.
7374 * nss/nss_db/db-initgroups.c: Likewise.
7375 * io/fchmodat.c: Include <sys/stat.h>.
7376
7377 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
7378 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
7379
7380 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
7381 [HAVE_MMAP].
7382
7383 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
7384 Add multiple inclusion protection.
7385
e5abc686
DM
73862012-07-27 David S. Miller <davem@davemloft.net>
7387
7388 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7389
815e6fa3
GB
73902012-07-27 Gary Benson <gbenson@redhat.com>
7391
7392 [BZ #14298]
7393 * elf/rtld.c: Include <stap-probe.h>.
7394 (dl_main): Added static probes "init_start" and "init_complete".
7395 * elf/dl-load.c: Include <stap-probe.h>.
7396 (lose): Take new parameter "nsid".
7397 Added static probe "map_failed".
7398 (_dl_map_object_from_fd): Pass namespace id to lose.
7399 Added static probe "map_start".
7400 (open_verify): Pass namespace id to lose.
7401 * elf/dl-open.c: Include <stap-probe.h>.
7402 (dl_open_worker) Added static probes "map_complete", "reloc_start"
7403 and "reloc_complete".
7404 * elf/dl-close.c: Include <stap-probe.h>.
7405 (_dl_close_worker): Added static probes "unmap_start" and
7406 "unmap_complete".
7407 * elf/rtld-debugger-interface.txt: New file documenting the above.
7408
9f98c16c
RM
74092012-07-26 Roland McGrath <roland@hack.frob.com>
7410
7411 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
7412 rather than a string variable.
7413 * sunrpc/rpc_main.c (h_output): Likewise.
7414 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
7415
f3c22df3
PT
74162012-07-26 Pino Toscano <toscano.pino@tiscali.it>
7417
7418 * inet/check_native.c: New file.
7419
3129cfc6
JM
74202012-07-26 Joseph Myers <joseph@codesourcery.com>
7421
da865e95
JM
7422 [BZ #13629]
7423 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
7424 if larger part has absolute value 1.0.
7425 * math/s_clog10.c (__clog10): Likewise.
7426 * math/s_clog10f.c (__clog10f): Likewise.
7427 * math/s_clog10l.c (__clog10l): Likewise.
7428 * math/s_clogf.c (__clogf): Likewise.
7429 * math/s_clogl.c (__clogl): Likewise.
7430 * math/libm-test.inc (clog_test): Add more tests.
7431 (clog10_test): Likewise.
7432 * sysdeps/i386/fpu/libm-test-ulps: Update.
7433 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7434
3129cfc6
JM
7435 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
7436 (pltexit): Likewise.
7437 (La_regs): Likewise.
7438 (La_retval): Likewise.
7439 (int_retval): Likewise.
7440 Update #error for removed macros to refer only to definitions in
7441 tst-audit.h.
7442 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
7443 macro.
7444 (pltexit): Likewise.
7445 (La_regs): Likewise.
7446 (La_retval): Likewise.
7447 (int_retval): Likewise.
7448 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
7449 macro.
7450 (pltexit): Likewise.
7451 (La_regs): Likewise.
7452 (La_retval): Likewise.
7453 (int_retval): Likewise.
7454 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
7455 macro.
7456 (pltexit): Likewise.
7457 (La_regs): Likewise.
7458 (La_retval): Likewise.
7459 (int_retval): Likewise.
7460 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
7461 macro.
7462 (pltexit): Likewise.
7463 (La_regs): Likewise.
7464 (La_retval): Likewise.
7465 (int_retval): Likewise.
7466 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
7467 macro.
7468 (pltexit): Likewise.
7469 (La_regs): Likewise.
7470 (La_retval): Likewise.
7471 (int_retval): Likewise.
7472 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
7473 macro.
7474 (pltexit): Likewise.
7475 (La_regs): Likewise.
7476 (La_retval): Likewise.
7477 (int_retval): Likewise.
7478 * sysdeps/generic/tst-audit.h: Update comment to refer only to
7479 macro definitions in tst-audit.h.
7480 * sysdeps/i386/tst-audit.h: New file.
7481 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
7482 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
7483 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
7484 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
7485 * sysdeps/sh/tst-audit.h: Likewise.
7486 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
7487 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
7488 * sysdeps/x86_64/tst-audit.h: Likewise.
7489
bfc07087
AJ
74902012-07-26 Andreas Jaeger <aj@suse.de>
7491
b1b2aaf8
AJ
7492 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
7493 ptrace.
7494
7495 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
7496 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
7497 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
7498 PTRACE_O_MASK.
7499 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
7500 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
7501 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
7502
bfc07087
AJ
7503 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
7504 value.
7505
7506 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
7507 _sigsys.
7508 (si_call_addr, si_syscall, si_arch): Define new macro.
7509 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
7510 _sigsys.
7511 (si_call_addr, si_syscall, si_arch): Define new marcro.
7512 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
7513 _sigsys.
7514 (si_call_addr, si_syscall, si_arch): Define new macro.
7515 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
7516 _sigsys.
7517 (si_call_addr, si_syscall, si_arch): Define new macro.
7518
89b4b02f
JM
75192012-07-25 Joseph Myers <joseph@codesourcery.com>
7520
7521 [BZ #13717]
7522 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
7523 Change to 2.4.21 where previously 2.4.1.
7524 * sysdeps/unix/sysv/linux/configure: Regenerated.
7525 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
7526 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
7527 Linux kernel version.
7528 (__ASSUME_STD_AUXV): Remove.
7529 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
7530 kernel version.
7531 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
7532 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
7533 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
7534 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
7535 (__ASSUME_NETLINK_SUPPORT): Likewise.
7536 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
7537 (__no_netlink_support): Remove conditional definition.
7538 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
7539 Remove.
7540 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
7541 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
7542 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
7543 (if_nameindex_ioctl): Remove.
7544 (if_nameindex_netlink): Do not handle __no_netlink_support.
7545 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
7546 code.
7547 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
7548 Remove conditional code.
7549 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
7550 code.
7551 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
7552 unconditional.
7553 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
7554 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
7555 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
7556 Remove.
7557 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
7558 [!__ASSUME_STD_AUXV]: Remove conditional code.
7559 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
7560 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
7561 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
7562 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
7563 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
7564 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
7565 code.
7566 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
7567 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
7568 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
7569 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
7570 conditional code.
7571 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
7572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
7573 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
7574 code.
7575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
7576 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
7577 conditional code.
7578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
7579 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
7580 code unconditional.
7581 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7582 conditional code.
7583 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
7584 unconditional.
7585 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7586 conditional code.
7587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
7588 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
7589 unconditional.
7590 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7591 conditional code.
7592 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
7593 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
7594 code unconditional.
7595 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7596 conditional code.
7597 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
7598 unconditional.
7599 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7600 conditional code.
7601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
7602 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
7603 code unconditional.
7604 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7605 conditional code.
7606 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
7607 unconditional.
7608 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7609 conditional code.
7610
842a39cd
AS
76112012-07-25 Andreas Schwab <schwab@linux-m68k.org>
7612
7613 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
7614 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
7615 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
7616 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
7617 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
7618 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
7619 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
7620 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
7621 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
7622 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
7623 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
7624 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
7625 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
7626 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
7627 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
7628 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
7629 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
7630 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
7631 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
7632 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
7633 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
7634 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
7635 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
7636
84b3fd84
FW
76372012-07-25 Florian Weimer <fweimer@redhat.com>
7638
7639 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
7640 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
7641 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
7642 Introduce __libc_secure_getenv.
0c7936d5
FW
7643 * stdlib/Versions (2.17): Add secure_getenv
7644 (GLIBC_PRIVATE): Add __libc_secure_getenv.
7645 * stdlib/secure-getenv.c: Rename __secure_getenv to
7646 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
7647 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
7648 * stdlib/tst-secure-getenv.c: New.
7649 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
7650 * manual/startup.texi (Environment Access): Document
7651 secure_getenv.
84b3fd84
FW
7652 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
7653 __libc_secure_getenv.
7654 * inet/ruserpass.c (ruserpass): Likewise.
7655 * malloc/mtrace.c (mtrace): Likewise.
7656 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 7657 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
7658 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
7659 * sysdeps/posix/tempname.c: Likewise. Evaluate
7660 HAVE_SECURE_GETENV.
7661 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 7662 __secure_getenv to __libc_secure_getenv.
84b3fd84 7663 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
7664 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7665 Likewise.
7666 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7667 Likewise.
7668 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
7669 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
7670 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
7671 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
7672 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
7673 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
7674 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 7675
56e49b71
JM
76762012-07-25 Joseph Myers <joseph@codesourcery.com>
7677
7678 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
7679 (struct La_i86_retval): Likewise.
7680 (struct La_x86_64_regs): Likewise.
7681 (struct La_x86_64_retval): Likewise.
7682 (struct La_x32_regs): Likewise.
7683 (struct La_x32_retval): Likewise.
7684 (struct La_ppc32_regs): Likewise.
7685 (struct La_ppc32_retval): Likewise.
7686 (struct La_ppc64_regs): Likewise.
7687 (struct La_ppc64_retval): Likewise.
7688 (struct La_sh_regs): Likewise.
7689 (struct La_sh_retval): Likewise.
7690 (struct La_s390_32_regs): Likewise.
7691 (struct La_s390_32_retval): Likewise.
7692 (struct La_s390_64_regs): Likewise.
7693 (struct La_s390_64_retval): Likewise.
7694 (struct La_sparc32_regs): Likewise.
7695 (struct La_sparc32_retval): Likewise.
7696 (struct La_sparc64_regs): Likewise.
7697 (struct La_sparc64_retval): Likewise.
7698 (struct audit_ifaces): Remove architecture-specific pltenter and
7699 pltexit members.
7700 * sysdeps/i386/ldsodefs.h: New file.
7701 * sysdeps/powerpc/ldsodefs.h: Likewise.
7702 * sysdeps/s390/ldsodefs.h: Likewise.
7703 * sysdeps/sh/ldsodefs.h: Likewise.
7704 * sysdeps/sparc/ldsodefs.h: Likewise.
7705 * sysdeps/x86_64/ldsodefs.h: Likewise.
7706
354691b7
MP
77072012-07-25 Marek Polacek <polacek@redhat.com>
7708
7709 [BZ #6808]
7710 * math/libm-test.inc (yn_test): Add another test.
7711 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
7712 to ERANGE when the result is +-Inf.
7713 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
7714 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
7715 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
7716 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
7717
bf9e2071
JM
77182012-07-24 Joseph Myers <joseph@codesourcery.com>
7719
7720 * conform/data/time.h-data (NULL): Use macro-constant. Require
7721 equal to 0.
7722 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
7723 clock_t.
7724 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
7725
57633811
TS
77262012-07-23 Thomas Schwinge <thomas@codesourcery.com>
7727
7728 * configure.in <sysdeps resolving>: Correct printing
7729 Implies_before.
7730 * configure: Regenerate.
7731
c23c33b0
TS
77322012-07-22 Thomas Schwinge <thomas@codesourcery.com>
7733
7734 * math/w_ilogb.c: Include <limits.h>.
7735 * math/w_ilogbl.c: Likewise.
7736
b5982523
JM
77372012-07-20 Joseph Myers <joseph@codesourcery.com>
7738
7739 * manual/lang.texi (__va_copy): Document primarily as ISO C99
7740 va_copy. Document allowing for unavailable va_copy only as
7741 pre-C99 compatibility.
7742 * manual/string.texi (Copying and Concatenation): Use va_copy
7743 instead of __va_copy in concat example.
7744
ac4ea442
PT
77452012-07-20 Pino Toscano <toscano.pino@tiscali.it>
7746
7747 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
7748 (__sendto): Use create_address_port. Initialize APORT and deallocate
7749 it if not null.
7750
f98eafbd
PT
7751 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
7752 with O_NOLINK passed to __file_name_lookup.
7753
898c7aab
PT
7754 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
7755 with O_NOLINK passed to __file_name_lookup.
7756
0ced335a
PT
7757 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
7758 negative N or less than NGIDS.
7759
b3404dbd
PT
7760 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
7761 type to string_t. Set ERANGE as errno and return it if NAME is not big
7762 enough. Use memcpy instead of strncpy.
7763
0f48659e
JM
77642012-07-20 Joseph Myers <joseph@codesourcery.com>
7765
7766 * elf/Makefile (check-data): Remove.
7767 (localplt.data): New vpath directive.
7768 ($(objpfx)check-localplt.out): Use localplt.data from vpath
7769 instead of $(check-data).
7770 * scripts/data/localplt-generic.data: Move to ...
7771 * sysdeps/generic/localplt.data: ... here.
7772 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
7773 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
7774 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
7775 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
7776 ... here.
7777 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
7778 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
7779 ... here.
7780 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
7781 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
7782 ... here.
7783 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
7784 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
7785 ... here.
7786 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
7787 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
7788 ... here.
7789 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
7790 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
7791 ... here.
7792
d37cbdaa
AZ
77932012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7794
7795 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
7796 PPC32 and PPC64 files.
7797 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
7798 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
7799
46f85fc2
AK
78002012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7801
7802 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
7803 __makecontext_ret to ...
7804 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
7805 ... here and call exit if uc_link is NULL. New file.
7806 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
7807 __makecontext_ret.S.
7808 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
7809 __makecontext_ret to ...
7810 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
7811 ... here and call exit if uc_link is NULL. New file.
7812 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
7813 __makecontext_ret.S.
7814
08f43f9b
AK
78152012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7816
7817 * elf/elf.h (R_390_IRELATIVE): New definition.
7818 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
7819 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
7820 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
7821 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
7822 (elf_machine_lazy_rel): Likewise.
7823 * sysdeps/s390/dl-irel.h: New file.
7824 * sysdeps/s390/s390-64/memcpy.S: New asm code.
7825 * sysdeps/s390/s390-64/memset.S: New asm code.
7826 * sysdeps/s390/s390-64/memcmp.S: New asm code.
7827 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
7828 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
7829 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
7830 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
7831 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
7832 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
7833 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
7834 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
7835 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
7836 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
7837 * sysdeps/s390/s390-32/memcpy.S: New asm code.
7838 * sysdeps/s390/s390-32/memset.S: New asm code.
7839 * sysdeps/s390/s390-32/memcmp.S: New asm code.
7840
3b05db33
MP
78412012-07-17 Marek Polacek <polacek@redhat.com>
7842
7843 [BZ #14349]
7844 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
7845 * sysdeps/s390/s390-64/configure.in: Likewise.
7846 * sysdeps/sparc/configure.in: Likewise.
7847 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
7848 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
7849 * sysdeps/i386/configure.in: Likewise.
7850 * sysdeps/x86_64/configure.in: Likewise.
7851 * sysdeps/sh/configure.in: Likewise.
7852 * sysdeps/s390/s390-32/configure: Regenerated.
7853 * sysdeps/s390/s390-64/configure: Likewise.
7854 * sysdeps/x86_64/configure: Likewise.
7855 * sysdeps/sh/configure: Likewise.
7856 * sysdeps/powerpc/powerpc64/configure: Likewise.
7857 * sysdeps/powerpc/powerpc32/configure: Likewise.
7858 * sysdeps/sparc/configure: Likwise.
7859 * sysdeps/i386/configure: Likewise.
7860
a66877c6
MP
7861 * elf/dl-open.c: Comment fixes.
7862
cfc82fd8
JM
78632012-07-17 Joseph Myers <joseph@codesourcery.com>
7864
bd29910a
JM
7865 * Makefile [CXX] (check-data): Remove.
7866 [CXX] (c++-types.data): New vpath directive.
7867 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
7868 vpath. Do not allow for C++ type data being missing.
7869 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
7870 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
7871 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
7872 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
7873 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
7874 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
7875 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
7876 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
7877 ... here.
7878 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
7879 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
7880 ... here.
7881 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
7882 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
7883 ... here.
7884 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
7885 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
7886 ... here.
7887 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
7888 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
7889 ... here.
7890 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
7891 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
7892 ... here.
7893 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
7894 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
7895 ... here.
7896 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
7897 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
7898
cfc82fd8
JM
7899 * elf/tls-macros.h (TLS_LE): Move architecture-specific
7900 definitions to architecture-specific files.
7901 (TLS_IE): Likewise.
7902 (TLS_LD): Likewise.
7903 (TLS_GD): Likewise.
7904 * sysdeps/i386/tls-macros.h: New file.
7905 * sysdeps/powerpc/tls-macros.h: Likewise.
7906 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
7907 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
7908 * sysdeps/sh/tls-macros.h: Likewise.
7909 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
7910 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
7911 * sysdeps/x86_64/tls-macros.h: Likewise.
7912
f7db3170
TS
79132012-07-17 Thomas Schwinge <thomas@codesourcery.com>
7914
07cbfc23
TS
7915 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
7916 zero value for regular exit case.
7917
f7db3170
TS
7918 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
7919 (__start_context): Preserve zero value for regular exit case.
7920
dc97c227
TS
79212012-07-17 Thomas Schwinge <thomas@codesourcery.com>
7922 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7923
7924 * manual/setjmp.texi (setcontext): Clarify normal process
7925 termination when uc_link is the null pointer.
7926 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
7927 exit call.
7928
d0cd7d02
AS
79292012-07-16 Andreas Schwab <schwab@linux-m68k.org>
7930
7931 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
7932 preprocessor. Test for each exception mask separately.
7933
dd318934
AJ
79342012-07-16 Andreas Jaeger <aj@suse.de>
7935
7936 * po/ru.po: Update from translation team.
7937
8048311a
JM
79382012-07-15 Joseph Myers <joseph@codesourcery.com>
7939
7940 * conform/data/string.h-data (NULL): Use macro-constant. Require
7941 equal to 0.
7942 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
7943 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
7944 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
7945 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
7946 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7947
b637d46e
AJ
79482012-07-13 Andreas Jaeger <aj@suse.de>
7949
7950 * po/fr.po: Update from translation team.
7951
541428fe
MP
79522012-07-12 Marek Polacek <polacek@redhat.com>
7953
7954 [BZ #14173]
7955 * math/libm-test.inc (yn_test): Add test for BZ #14173.
7956 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
7957 loop condition.
7958
ec332e94
JM
79592012-07-12 Joseph Myers <joseph@codesourcery.com>
7960
7961 [BZ #13717]
7962 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
7963 Change to 2.4.1 where previously 2.4.0.
7964 * sysdeps/unix/sysv/linux/configure: Regenerated.
7965 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
7966 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
7967 version.
7968 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
7969 (__ASSUME_AT_CLKTCK): Remove.
7970 (__ASSUME_AT_PAGESIZE): Likewise.
7971 (__ASSUME_AT_XID): Likewise.
7972 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
7973 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
7974 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
7975 unconditionally.
7976 (HAVE_AUX_PAGESIZE): Likewise.
7977 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
7978 [__ASSUME_AT_CLKTCK]: Make code unconditional.
7979 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
7980
7b6e99be
JB
79812012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
7982
7983 [BZ #14307]
7984 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
7985 the temporary buffer used to invoke __gethostbyname2_r,
7986 __gethostbyaddr_r and gethostbyname4_r to make room for struct
7987 host_data / struct gaih_addrtuple.
7988 * resolv/nss_dns/dns-host.c (global scope): Move definition of
7989 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
7990 header file nss/nsswitch.h.
7991 * nss/nsswitch.h (global scope): Add definition of implementation
7992 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
7993 resolv/nss_dns/dns-host.c).
7994
608404eb
AJ
79952012-07-11 Andreas Jaeger <aj@suse.de>
7996
7997 * po/fr.po: Update from translation team.
7998
71220aca
AJ
7999 * po/sv.po: Update from translation team
8000 * po/fr.po: Another update from translation team.
8001
28cfe843
AZ
80022012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8003
8004 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
8005 for subnormals or multiply small sinh result by itself.
8006 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
8007 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8008
6b90f981
DM
80092012-07-11 David S. Miller <davem@davemloft.net>
8010
8011 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8012
c6825772
AS
80132012-07-10 Andreas Schwab <schwab@linux-m68k.org>
8014
8015 [BZ #14347]
8016 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
8017 (INTERNAL_MARK): Shift it here.
8018
7b8e0d49
MP
80192012-07-10 Marek Polacek <polacek@redhat.com>
8020
8021 [BZ #14151]
8022 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
8023 libc_cv_asm_global_directive with .globl.
8024 * configure: Regenerated.
8025 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
8026 with .globl.
8027 * sysdeps/i386/configure: Regenerated.
8028 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
8029 with .globl.
8030 * sysdeps/x86_64/configure: Regenerated.
8031 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
8032 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
8033 * elf/tst-unique2mod2.c: Likewise.
8034 * elf/tst-unique2mod1.c: Likewise.
8035 * elf/tst-unique1mod2.c: Likewise.
8036 * elf/tst-unique1mod1.c: Likewise.
8037 * sysdeps/s390/s390-32/sysdep.h: Likewise.
8038 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
8039 * sysdeps/s390/s390-64/sysdep.h: Likewise.
8040 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
8041 * sysdeps/mach/sysdep.h: Likewise.
8042 * sysdeps/i386/sysdep.h: Likewise.
8043 * sysdeps/i386/i386-mcount.S: Likewise.
8044 * sysdeps/x86_64/_mcount.S: Likewise.
8045 * sysdeps/x86_64/sysdep.h: Likewise.
8046 * sysdeps/sh/_mcount.S: Likewise.
8047 * sysdeps/sh/sysdep.h: Likewise.
8048 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
8049 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
8050 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
8051 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
8052 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
8053 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
8054 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
8055 * locale/localeinfo.h: Likewise.
8056 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
8057 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
8058
6c55cda3
RM
80592012-07-09 Roland McGrath <roland@hack.frob.com>
8060
8061 [BZ #14336]
8062 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
8063 system".
8064 * manual/message.texi (The Uniforum approach): Likewise.
8065 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
8066 (glibc iconv Implementation): Likewise.
8067
638a572e
JM
80682012-07-09 Joseph Myers <joseph@codesourcery.com>
8069
8070 [BZ #14337]
8071 * math/s_clog.c (__clog): Avoid scaling a value down where that
8072 could result in underflow.
8073 * math/s_clog10.c (__clog10): Likewise.
8074 * math/s_clog10f.c (__clog10f): Likewise.
8075 * math/s_clog10l.c (__clog10l): Likewise.
8076 * math/s_clogf.c (__clogf): Likewise.
8077 * math/s_clogl.c (__clogl): Likewise.
8078 * math/libm-test.inc (clog_test): Add more tests.
8079 (clog10_test): Likewise.
8080 * sysdeps/i386/fpu/libm-test-ulps: Update.
8081 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8082
261f4859
AS
80832012-07-06 Andreas Schwab <schwab@linux-m68k.org>
8084
0abaf3e4
AS
8085 [BZ #14283]
8086 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
8087 by 7 not 8 to examine high bit of fractional part.
8088
261f4859
AS
8089 [BZ #14042]
8090 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
8091 for call to __mcount_internal.
8092 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
8093 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
8094 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
8095
f17ac40d
JM
80962012-07-06 Joseph Myers <joseph@codesourcery.com>
8097
9ad63c23
JM
8098 [BZ #14154]
8099 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
8100 approximation for values within 0x1p-13f of an odd multiple of
8101 pi/4.
8102 * math/libm-test.inc (tan_test): Do not allow spurious underflow
8103 exception. Add more tests.
8104 * sysdeps/i386/fpu/libm-test-ulps: Update.
8105
f17ac40d
JM
8106 [BZ #6778]
8107 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
8108 inputs and return -1 for them. Do not check for +Inf in case not
8109 reachable for +Inf.
8110 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
8111 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
8112 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
8113 and return -1 for them. Do not check for +Inf in case not
8114 reachable for +Inf.
8115 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
8116 define.
8117 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
8118 and return -1 for them. Do not check for +Inf in case not
8119 reachable for +Inf.
8120 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
8121 spurious underflow.
8122 * sysdeps/i386/fpu/libm-test-ulps: Update.
8123 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8124
fb21f89b
MF
81252012-07-06 Mike Frysinger <vapier@gentoo.org>
8126
8127 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
8128
cdfe2c5e
JM
81292012-07-05 Joseph Myers <joseph@codesourcery.com>
8130
8131 [BZ #14157]
8132 [BZ #14331]
8133 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
8134 could result in spurious underflow. Scale down values above
8135 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
8136 * math/s_csqrtf.c (__csqrtf): Likewise.
8137 * math/s_csqrtl.c (__csqrtl): Likewise.
8138 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
8139 spurious underflow.
8140 * sysdeps/i386/fpu/libm-test-ulps: Update.
8141 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8142
70d35b67
AS
81432012-07-04 Andreas Schwab <schwab@linux-m68k.org>
8144
704bc459
AS
8145 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
8146 xopen-msg.sed.
8147 * catgets/xopen-msg.awk: New file.
8148 * catgets/xopen-msg.sed: Removed.
8149
70d35b67
AS
8150 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
8151 po2text.sed.
8152 * intl/po2test.awk: New file.
8153 * intl/po2test.sed: Removed.
8154
ca61cf32
JM
81552012-07-04 Joseph Myers <joseph@codesourcery.com>
8156
8157 [BZ #14328]
8158 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
8159 or multiply small sinh result by itself.
8160 * math/s_ctanf.c (__ctanf): Likewise.
8161 * math/s_ctanh.c (__ctanh): Likewise.
8162 * math/s_ctanhf.c (__ctanhf): Likewise.
8163 * math/s_ctanhl.c (__ctanhl): Likewise.
8164 * math/s_ctanl.c (__ctanl): Likewise.
8165 * math/libm-test.inc (ctan_test_tonearest): New function.
8166 (ctan_test_towardzero): Likewise.
8167 (ctan_test_downward): Likewise.
8168 (ctan_test_upward): Likewise.
8169 (ctanh_test_tonearest): Likewise.
8170 (ctanh_test_towardzero): Likewise.
8171 (ctanh_test_downward): Likewise.
8172 (ctanh_test_upward): Likewise.
8173 (main): Call these new functions.
8174 * sysdeps/i386/fpu/libm-test-ulps: Update.
8175 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8176
ca48a46a
MF
81772012-07-03 Mike Frysinger <vapier@gentoo.org>
8178
8179 * .gitignore: Delete /ports entry.
8180
9d63d37d
AJ
81812012-07-03 Andreas Jaeger <aj@suse.de>
8182
8183 * po/bg.po: Update from translation team.
8184 * po/cs.po: Likewise.
8185 * po/de.po: Likewise.
8186 * po/hr.po: Likewise.
8187 * po/nl.pl: Likewise.
8188 * po/pl.po: Likewise.
8189 * po/vi.po: Likewise.
8190
370ca3d2
JM
81912012-07-03 Joseph Myers <joseph@codesourcery.com>
8192
95f5a9a8
JM
8193 * Makeconfig [!+link] (+link-before-libc): New variable.
8194 [!+link] (+link-after-libc): Likewise.
8195 [!+link] (+link-tests): Likewise.
8196 [!+link] (+link): Define in terms of $(+link-before-libc) and
8197 $(+link-after-libc).
8198 [!+link-static] (+link-static-before-libc): New variable.
8199 [!+link-static] (+link-static-after-libc): Likewise.
8200 [!+link-static] (+link-static-tests): Likewise.
8201 [!+link-static] (+link-static): Define in terms of
8202 $(+link-static-before-libc) and $(+link-static-after-libc).
8203 [build-shared] (link-libc-before-gnulib): New variable.
8204 [build-shared] (link-libc-tests): Likewise.
8205 [build-shared] (link-libc): Define in terms of
8206 $(link-libc-before-gnulib).
8207 [!build-shared] (link-libc-tests): New variable.
8208 (link-libc-static-tests): New variable.
8209 [!gnulib] (gnulib-arch): New variable.
8210 [!gnulib] (gnulib-tests): Likewise.
8211 [!gnulib] (static-gnulib-arch): Likewise.
8212 [!gnulib] (static-gnulib-tests): Likewise.
8213 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
8214 Define with "=" instead of ":=".
8215 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
8216 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
8217 * Rules (binaries-all-notests): New variable.
8218 (binaries-all-tests): Likewise.
8219 (binaries-static-notests): Likewise.
8220 (binaries-static-tests): Likewise.
8221 (binaries-all): Define using $(binaries-all-notests) and
8222 $(binaries-all-tests).
8223 (binaries-static): Define using $(binaries-static-notests) and
8224 $(binaries-static-tests).
8225 (binaries-shared-tests): New variable.
8226 (binaries-shared-notests): Likewise.
8227 (binaries-shared): Remove variable.
8228 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
8229 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
8230 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
8231 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
8232 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
8233 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
8234 * elf/Makefile (sln-modules): New variable.
8235 (extra-objs): Add $(sln-modules:=.o).
8236 (ldconfig-modules): Add static-stubs.
8237 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
8238 * elf/static-stubs.c: New file.
8239
7a845b2c
JM
8240 [BZ #14283]
8241 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
8242 by 7 not 8 to examine high bit of fractional part. Use volatile
8243 variables when splitting into final array of floats if
8244 __FLT_EVAL_METHOD__ != 0.
8245 * math/libm-test.inc (cos_test): Add another test.
8246 (sin_test): Likewise.
8247 * sysdeps/i386/fpu/libm-test-ulps: Update.
8248
e2283f38
JM
8249 [BZ #14273]
8250 * math/libm-test.inc (cosh_test): Add more tests.
8251
370ca3d2
JM
8252 * version.h (RELEASE): Set to "development".
8253 (VERSION): Set to "2.16.90".
8254
ee9247c3
CD
82552012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
8256
8257 * NEWS: Update copyright. Remove last-updated date.
8258 Mention math library bug fixes and timezone data changes.
8259 * README: Mention GNU/Hurd, x32, and HPPA support status.
8260
4648c381
TS
82612012-06-28 Thomas Schwinge <thomas@codesourcery.com>
8262
8263 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
8264
aac78a43
AJ
82652012-06-27 Andreas Jaeger <aj@suse.de>
8266
8267 * manual/contrib.texi (Contributors): Add Samuel Thibault.
8268
ed3dbfad
AJ
82692012-06-25 Andreas Jaeger <aj@suse.de>
8270
8271 * sysdeps/s390/fpu/libm-test-ulps: Update.
8272
4d0ee855
AS
82732012-06-23 Andreas Schwab <schwab@linux-m68k.org>
8274 Thomas Schwinge <thomas@codesourcery.com>
8275
8276 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
8277 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
8278 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
8279 fanotify_mark.
8280
af1bce34
TS
82812012-06-23 Thomas Schwinge <thomas@codesourcery.com>
8282
a9fa33ba
TS
8283 * sysdeps/mach/start.c: Remove file.
8284 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
8285 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
8286 * sysdeps/sh/init-first.c: Likewise.
8287
58f902b8
TS
8288 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
8289 registers for frame unwinding purposes, add CFI directives.
8290 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
8291 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
8292 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
8293 Likewise.
8294
1518f58b
TS
8295 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
8296 __fortify_fail returning.
8297 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
8298
db9b5059
TS
8299 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
8300 sysdeps/sh/____longjmp_chk.S.
8301 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
8302 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
8303 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
8304 (gen-as-const-headers): Append sigaltstack-offsets.sym.
8305
967705fe
TS
8306 * sysdeps/sh/abort-instr.h: New file.
8307 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
8308 process in case exit returns.
8309
a9def8c4
TS
8310 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
8311 initialize the GOT register before use.
8312
2a649725
TS
8313 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
8314 calculation of ARGC > 4.
8315
af1bce34
TS
8316 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
8317 meaningful names to some local labels.
8318
d230f50a
KK
83192012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8320 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8321
8322 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
8323 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
8324 (__arch_compare_and_exchange_val_16_acq): Likewise.
8325 (__arch_compare_and_exchange_val_32_acq): Likewise.
8326 (atomic_exchange_and_add): Fix gUSA sequence.
8327 (atomic_add): Likewise.
8328 (atomic_add_negative): Likewise.
8329 (atomic_add_zero): Likewise.
8330 (atomic_bit_test_set): Likewise.
8331
0479b305
AS
83322012-06-22 Andreas Schwab <schwab@redhat.com>
8333
8334 [BZ #13579]
8335 * include/link.h (struct link_map): Add l_free_initfini.
8336 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
8337 l_initfini.
8338 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
8339 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
8340 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
8341 set.
8342
0e3933b9
CD
83432012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
8344
8345 * configure.in: Use AC_LANG_SOURCE.
8346 * configure: Regenerate.
8347
4248b1b1
RM
83482012-06-22 Roland McGrath <roland@hack.frob.com>
8349
8350 * configure.in (libc_cv_localstatedir): New substituted variable.
8351 * configure: Regenerated.
8352 * config.make.in (localstatedir): New variable, substituted from
8353 libc_cv_localstatedir.
8354 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
8355 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
8356 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
8357 * sysdeps/gnu/configure: Regenerated.
8358
006dd861
JL
83592012-06-21 Jeff Law <law@redhat.com>
8360
8361 [BZ #14277]
8362 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
8363 free. Simplify list management for _LIBC case.
8364
79662d42
JM
83652012-06-21 Joseph Myers <joseph@codesourcery.com>
8366
b7abb4bf
JM
8367 [BZ #14273]
8368 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
8369 Clear sign bit of 64-bit integer value before comparing against
8370 overflow value.
8371
79662d42
JM
8372 * sysdeps/mach/configure: Regenerated.
8373
1f150908
L
83742012-06-21 H.J. Lu <hongjiu.lu@intel.com>
8375
8376 [BZ #14278]
8377 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
8378
28363bbf
JL
83792012-06-21 Jeff Law <law@redhat.com>
8380
8381 [BZ #13882]
8382 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
8383 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 8384 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
8385 * elf/dl-open.c (dl_open_worker): Likewise.
8386
09615db4
CD
83872012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
8388
8389 * scripts/list-sources.sh: Scan PORTS for translations.
8390 * po/libc.pot: Regenerated.
8391
2174c6dd
AJ
83922012-06-21 Andreas Jaeger <aj@suse.de>
8393
8394 [BZ #12194]
8395 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
8396 warning.
8397 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
8398 * bits/byteswap-16.h (__bswap_16): Likewise.
8399 * bits/byteswap.h (__bswap_constant_16): Likewise.
8400
3ee947b1
L
84012012-06-18 H.J. Lu <hongjiu.lu@intel.com>
8402
8403 [BZ #14117]
a2f34833
L
8404 * sysdeps/i386/fpu_control.h: Removed.
8405 * sysdeps/x86_64/fpu_control.h: Moved to ...
8406 * sysdeps/x86/fpu_control.h: Here.
8407
3ee947b1
L
8408 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
8409 (_FPU_SETCW): Likewise.
8410
ed1825f8
L
84112012-06-15 H.J. Lu <hongjiu.lu@intel.com>
8412
25f1282a
L
8413 [BZ #14117]
8414 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
8415 * sysdeps/x86/fpu/bits/mathinline.h: This.
8416 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
8417
ed1825f8
L
8418 [BZ #14050]
8419 [BZ #14117]
8420 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
8421 functions if __x86_64__ is defined.
8422
36d54b74
CLT
84232012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
8424
8425 * string/endian.h: Add !__ASSEMBLER__ condition for including
8426 conversion interfaces.
8427
10285c21
JM
84282012-06-15 Joseph Myers <joseph@codesourcery.com>
8429
8430 [BZ #14241]
8431 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
8432 of ABS(x) in calculating zero to negative powers other than odd
8433 integers.
8434 * math/libm-test.inc (pow_test): Add more tests.
8435
06c5abbd
AJ
84362012-06-15 Andreas Jaeger <aj@suse.de>
8437
8438 * manual/contrib.texi (Contributors): Update entry of Liubov
8439 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
8440 Machado Filho.
8441
a3aeac40
CH
84422012-06-15 Cyril Hrubis <metan@ucw.cz>
8443
8444 * string/string.h: Add __wur to GNU version of strerror_r.
8445
49bdf4c1
L
84462012-06-14 H.J. Lu <hongjiu.lu@intel.com>
8447
8448 [BZ #14229]
8449 * string/Makefile (tests): Add tst-strtok_r.
8450 * string/tst-strtok_r.c: New file.
8451 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
8452 RAX_LP/RDX_LP on SAVE_PTR.
8453
834f9b8d
RM
84542012-06-14 Roland McGrath <roland@hack.frob.com>
8455
8456 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
8457
75fa1921
JM
84582012-06-14 Joseph Myers <joseph@codesourcery.com>
8459
8460 * libm_test.inc (csqrt_test): Allow more spurious underflow
8461 exceptions.
8462 (j0_test): Likewise.
8463 (j1_test): Likewise.
8464 (y0_test): Likewise.
8465 (y1_test): Likewise.
8466
771766df
CD
84672012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
8468
8469 * po/Makefile (libc.pot): Use UTF-8 charset.
8470
ceb9e56b
PP
84712012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
8472
8473 [BZ #14210]
8474 Suppress sign-conversion warning from FD_SET.
8475 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
8476 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
8477 not unsigned long int.
8478 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
8479
ddb28975
L
84802012-06-12 H.J. Lu <hongjiu.lu@intel.com>
8481
8482 [BZ #14050]
8483 [BZ #14117]
8484 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
8485 __extern_always_inline instead of __extern_inline.
8486 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
8487 (__signbit): Likewise.
8488 (__signbitl): Support C++ namespace.
8489 (lrintf): New inline function.
8490 (lrint): Likewise.
8491 (llrintf): Likewise.
8492 (llrint): Likewise.
8493 (fmaxf): Likewise.
8494 (fmax): Likewise.
8495 (fminf): Likewise.
8496 (fmin): Likewise.
8497 (rint): Likewise.
8498 (rintf): Likewise.
8499 (ceil): Likewise.
8500 (ceilf): Likewise.
8501 (floor): Likewise.
8502 (floorf): Likewise.
8503 (nearbyint): Likewise.
8504 (nearbyintf): Likewise.
8505
d7b4fb26
TS
85062012-06-12 Thomas Schwinge <thomas@codesourcery.com>
8507
8508 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
8509 non-default versions.
8510
eb55f5c2
RM
85112012-06-11 Roland McGrath <roland@hack.frob.com>
8512
8513 [BZ #14218]
8514 * manual/argp.texi (Argp): Reword argp_parse description slightly.
8515
366af02c
TS
85162012-06-09 Thomas Schwinge <thomas@codesourcery.com>
8517
99ff6e5c
TS
8518 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
8519 (FE_UPWARD, FE_DOWNWARD): Don't define.
8520 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
8521 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
8522
366af02c
TS
8523 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
8524 reading it.
8525 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
8526 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
8527
793ea851
KK
85282012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8529
8530 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
8531 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
8532 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
8533 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
8534
a728a38f
L
85352012-06-06 H.J. Lu <hongjiu.lu@intel.com>
8536
8537 [BZ #14117]
c08010c7
L
8538 * sysdeps/i386/fpu/bits/fenv.h: Removed.
8539 * sysdeps/i386/fpu/Implies: New file.
8540 * sysdeps/x86_64/fpu/Implies: Likewise.
8541 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
8542 * sysdeps/x86/fpu/bits/fenv.h: This.
8543
a728a38f
L
8544 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
8545 __SSE_MATH__.
8546
6e230d11
SP
85472012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
8548
8549 [BZ #14134]
8550 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
8551 character 0xffff that matches the last element of the
8552 conversion table.
8553
1b671feb
AZ
85542012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8555
8556 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
8557 fmodl commit.
8558
6043738b
AZ
85592012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8560
8561 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
8562 values higher than 25.6283.
8563
34ae0b32
AZ
85642012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8565
8566 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
8567 subnormal exponent extraction and add some __builtin_expect.
8568 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
8569 Fix for subnormal mantissa calculation.
8570
1214ec8f
MF
85712012-06-04 Mike Frysinger <vapier@gentoo.org>
8572
8573 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
8574 cpu2 is -1 and errno is not ENOSYS.
8575
f3d1f93c
L
85762012-06-04 H.J. Lu <hongjiu.lu@intel.com>
8577
8578 [BZ #14117]
0e4a3cd7
L
8579 * sysdeps/i386/i486/bits/string.h: Renamed to ...
8580 * sysdeps/x86/bits/string.h: This.
8581 * sysdeps/x86_64/bits/string.h: Removed.
8582
6704c645
L
8583 * sysdeps/i386/i486/bits/string.h: Define inline functions only
8584 if not compiling for x86-64, but compiling for >= i486.
8585
48495318
L
8586 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
8587 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
8588
14adcbfc
L
8589 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
8590 New macro from Linux kernel 3.4.0.
8591 (FP_XSTATE_MAGIC2): Likewise.
8592 (FP_XSTATE_MAGIC2_SIZE): Likewise.
8593 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
8594 (struct _fpx_sw_bytes): New struct.
8595 (struct _xsave_hdr): Likewise.
8596 (struct _ymmh_state): Likewise.
8597 (struct _xstate): Likewise.
8598
68e408ab
L
8599 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
8600 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
8601 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
8602 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
8603 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
8604 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
8605
f3d1f93c
L
8606 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
8607 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
8608 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
8609 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
8610 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
8611 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
8612
d9dc34cd
TMQMF
86132012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8614
8615 [BZ #13743]
8616 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
8617 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
8618 (sysdep_headers): Include sys/platform/ppc.h.
8619 * sysdeps/powerpc/test-gettimebase.c: Test for
8620 __ppc_get_timebase() to catch future ISA opcode/insn changes.
8621 * manual/Makefile (appendices): Include platform.texi.
8622 * manual/contrib.texi (Contributors): Update @node pointers.
8623 * manual/maint.texi (Maintenance): Likewise.
8624 (Platform): New node.
8625 * manual/platform.texi: New file. Document the new features.
8626
4af3879c
SP
86272012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8628 Jakub Jelinek <jakub@redhat.com>
8629
8630 [BZ #14188]
8631 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
8632 where __builtin_expect is unavailable.
8633
2fd6ff13
DM
86342012-06-03 David S. Miller <davem@davemloft.net>
8635
8636 * stdlib/longlong.h: Updated from GCC.
8637
173f7220
AS
86382012-06-02 Andreas Schwab <schwab@linux-m68k.org>
8639
8640 [BZ #14042]
8641 * sysdeps/powerpc/powerpc32/mcount.c: New file.
8642 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
8643 __mcount_internal.
8644 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
8645 (GLIBC_2.16): Likewise.
8646
f34a1c6f
L
86472012-06-01 H.J. Lu <hongjiu.lu@intel.com>
8648
8649 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
8650
88a4576f
JM
86512012-06-01 Joseph Myers <joseph@codesourcery.com>
8652
ea32bcdd
JM
8653 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
8654 (default-abi): New variable.
8655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
8656 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
8657 variable.
8658 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
8659 Likewise.
8660 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
8661 Likewise.
8662 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
8663 Likewise.
8664
88a4576f
JM
8665 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
8666 definition. Document in comment.
8667
402fe938
DM
86682012-06-01 David S. Miller <davem@davemloft.net>
8669
8670 * stdlib/longlong.h: Updated from GCC.
8671
3553723f
L
86722012-06-01 H.J. Lu <hongjiu.lu@intel.com>
8673
8674 [BZ #14117]
3bd872c4
L
8675 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
8676 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
8677 sys/debugreg.h sys/io.h here.
8678 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
8679 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
8680 sys/io.h.
8681 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
8682 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
8683 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
8684 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
8685 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
8686 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
8687
3553723f
L
8688 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
8689 Define only if __x86_64__ is defined.
8690
4842e4fe
JM
86912012-06-01 Joseph Myers <joseph@codesourcery.com>
8692
c5bfe3d5
JM
8693 [BZ #14048]
8694 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
8695 Use int64_t for variable i.
8696 * math/libm-test.inc (fmod_test): Add more tests.
8697
4842e4fe
JM
8698 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
8699 z computation is not scheduled after fetestexcept.
8700 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
8701 Use math_force_eval instead of asm to ensure calculation scheduled
8702 before exception test.
8703 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
8704 Ensure a1 + u.d computation is not scheduled after fetestexcept.
8705
efb73488
AJ
87062012-06-01 Aurelien Jarno <aurelien@aurel32.net>
8707
8708 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
8709 computation is not scheduled after fetestexcept.
8710
29bcce7c
L
87112012-06-01 H.J. Lu <hongjiu.lu@intel.com>
8712
8713 [BZ #14117]
8714 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
8715 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
8716
73a68f94
AZ
87172012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8718
8719 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
8720 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
8721
67b6df78
L
87222012-05-31 H.J. Lu <hongjiu.lu@intel.com>
8723
edf2933a 8724 [BZ #14117]
ebc64a18
L
8725 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
8726 <bits/wordsize.h>.
8727 (__WCHAR_MIN): Support __WORDSIZE == 64.
8728 (__WCHAR_MAX): Likewise.
8729
edf2933a
L
8730 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
8731 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
8732
57c6cf40
L
8733 [BZ #14183]
8734 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
8735 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
8736
67b6df78 8737 [BZ #14117]
8eb6281e
L
8738 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
8739 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
8740
aac639f4
L
8741 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
8742 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
8743
67b6df78
L
8744 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
8745 Defined to 1 if __x86_64__ isn't defined.
8746 (_STAT_VER_LINUX_OLD): New.
8747 (st_atime): Remove duplicate.
8748 (st_mtime): Likewise.
8749 (st_ctime): Likewise.
8750
1c2cfe81
DM
87512012-05-31 David S. Miller <davem@davemloft.net>
8752
8753 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
8754 entries.
8755
5be8418c
AS
87562012-06-01 Andreas Schwab <schwab@linux-m68k.org>
8757
e7725326
AS
8758 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
8759 gen-libm-test.pl.
8760
5be8418c
AS
8761 [BZ #14132]
8762 * elf/dl-reloc.c: Include <_itoa.h>.
8763 (_dl_reloc_bad_type): Remove use of INTUSE.
8764 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
8765 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
8766 * stdio-common/psiginfo.c (psiginfo): Likewise.
8767 * stdio-common/psignal.c (psignal): Likewise.
8768 * string/strsignal.c (strsignal): Likewise.
8769 * include/signal.h (_sys_siglist): Declare hidden proto.
8770 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
8771 INTVARDEF with libc_hidden_data_def.
8772 * stdio-common/itoa-udigits.c: Likewise.
8773 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
8774 (_itoa_lower_digits_internal): Remove declaration.
8775 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
8776 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
8777 (_sys_sigabbrev_internal): Remove aliases.
8778 (_sys_siglist): Define hidden alias.
8779
507352f1
MT
87802012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
8781
8782 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8783 bits/sysctl.h.
8784
42bbb1c3
L
87852012-05-31 H.J. Lu <hongjiu.lu@intel.com>
8786
8787 [BZ #14117]
6bd784b6
L
8788 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
8789 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
8790
8bca20f0
L
8791 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
8792 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
8793 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
8794 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
8795 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
8796 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
8797
f9e890a9
L
8798 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
8799 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
8800 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
8801
471101a1
L
8802 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
8803 with __addr.
8804 (insw): Likewise.
8805 (insl): Likewise.
8806 (outsb): Likewise.
8807 (outsw): Likewise.
8808 (outsl): Likewise.
8809
6451c862
L
8810 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
8811 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
8812 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
8813
a254b8c9
L
8814 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
8815 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
8816 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
8817 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
8818 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
8819 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
8820
b8dfdd92
L
8821 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
8822 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
8823
578cd270
L
8824 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
8825 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
8826
de662f5f
L
8827 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
8828 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
8829 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
8830
25653439
L
8831 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
8832 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
8833 to ...
8834 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
8835
6bad24a0
L
8836 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
8837 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
8838 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
8839
42bbb1c3
L
8840 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
8841 for x86-64.
8842 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
8843
2d10d547
JM
88442012-05-31 Joseph Myers <joseph@codesourcery.com>
8845
8846 * math/math.h (M_El): Use two more decimal places.
8847 (M_LOG2El): Likewise.
8848 (M_LOG10El): Likewise.
8849 (M_LN2l): Likewise.
8850 (M_LN10l): Likewise.
8851 (M_PIl): Likewise.
8852 (M_PI_2l): Likewise.
8853 (M_PI_4l): Likewise.
8854 (M_1_PIl): Likewise.
8855 (M_2_PIl): Likewise.
8856 (M_2_SQRTPIl): Likewise.
8857 (M_SQRT2l): Likewise.
8858 (M_SQRT1_2l): Likewise.
8859
f230c29b
DM
88602012-05-31 David S. Miller <davem@davemloft.net>
8861
8862 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
8863 values between float registers.
8864 * sysdeps/sparc/sparc64/memset.S: Likewise.
8865 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
8866
fed806c3
MF
88672012-05-31 Mike Frysinger <vapier@gentoo.org>
8868
8869 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
8870 -D_FORTIFY_SOURCE=1.
8871 (CPPFLAGS-tst-longjmp_chk.c): Define.
8872 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
8873 (CPPFLAGS-tst-longjmp_chk2.c): Define.
8874 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
8875 CFLAGS-tst-wchar-h.c.
8876
30917259
MP
88772012-05-31 Marek Polacek <polacek@redhat.com>
8878
8879 [BZ #14132]
8880 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
8881 __endmntent_internal): Remove declaration.
8882 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
8883 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
8884 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
8885
1c58d5dc
DM
88862012-05-30 David S. Miller <davem@davemloft.net>
8887
8888 * sysdeps/sparc/sparc32/soft-fp/q_util.c
8889 (___Q_simulate_exceptions): Use real FP ops rather than writing
8890 into the %fsr.
8891 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
8892 Likewise.
8893
7dc00e0d
L
88942012-05-30 H.J. Lu <hongjiu.lu@intel.com>
8895
8896 [BZ #14117]
0bd53985
L
8897 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
8898 * sysdeps/x86/bits/xtitypes.h: This.
8899
3a257e66
L
8900 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
8901 * sysdeps/x86/bits/wordsize.h: This.
8902
62f62904
L
8903 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
8904 * sysdeps/x86/bits/huge_vall.h: This.
8905
404fe9d9
L
8906 * sysdeps/i386/bits/select.h: Removed.
8907 * sysdeps/x86_64/bits/select.h: Renamed to ...
8908 * sysdeps/x86/bits/select.h: This.
8909
d48d0446
L
8910 * sysdeps/i386/bits/setjmp.h: Removed.
8911 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
8912 * sysdeps/x86/bits/setjmp.h: This.
8913
7dc00e0d
L
8914 * sysdeps/i386/bits/mathdef.h: Removed.
8915 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
8916 * sysdeps/x86/bits/mathdef.h: This.
8917
03277f8f
AS
89182012-05-30 Andreas Schwab <schwab@linux-m68k.org>
8919
8920 [BZ #14132]
8921 * include/sys/socket.h (__connect_internal)
8922 (__libc_sa_len_internal): Remove declaration.
8923 (__connect, __libc_sa_len): Declare hidden_proto.
8924 (SA_LEN): Remove use of INTUSE.
8925 * socket/connect.c: Add libc_hidden_def.
8926 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
8927 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
8928 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
8929 alias.
8930 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
8931 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
8932 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
8933 of adding _internal alias.
8934
13764867
L
89352012-05-30 H.J. Lu <hongjiu.lu@intel.com>
8936
8937 [BZ #14117]
6bd97696
L
8938 * sysdeps/i386/bits/link.h: Removed.
8939 * sysdeps/i386/bits/linkmap.h: Likewise.
8940 * sysdeps/x86_64/bits/link.h: Renamed to ...
8941 * sysdeps/x86/bits/link.h: This.
8942 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
8943 * sysdeps/x86/bits/linkmap.h: This.
8944
f726f0bb
L
8945 * sysdeps/i386/bits/endian.h: Removed.
8946 * sysdeps/x86_64/bits/endian.h: Renamed to ...
8947 * sysdeps/x86/bits/endian.h: This.
8948
13764867
L
8949 * sysdeps/i386/bits/byteswap.h: Removed.
8950 * sysdeps/i386/bits/byteswap-16.h: Likewise.
8951 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
8952 * sysdeps/x86/bits/byteswap.h: This.
8953 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
8954 * sysdeps/x86/bits/byteswap-16.h: This.
8955 * sysdeps/i386/Implies: Add x86.
8956 * sysdeps/x86_64/Implies: Likewise.
8957
ae251b0b
DM
89582012-05-30 David S. Miller <davem@davemloft.net>
8959
8960 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
8961 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
8962 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
8963 (FP_TRAPPING_EXCEPTIONS): Define.
8964 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
8965 (FP_TRAPPING_EXCEPTIONS): Define.
8966 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
8967 subnormals only when inexact has been signalled or underflow
8968 exceptions are enabled.
8969 (_FP_PACK_CANONICAL): Likewise.
8970
d5c90867
L
89712012-05-30 H.J. Lu <hongjiu.lu@intel.com>
8972
8973 [BZ #14183]
8974 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
8975 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
8976
63f1549e
RH
89772012-05-30 Richard Henderson <rth@twiddle.net>
8978
8d8f2279
RH
8979 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
8980 with #ifndef NOT_IN_libc.
8981
63f1549e
RH
8982 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
8983 marked to avoid plt entry.
8984
0ab0291b
L
89852012-05-30 H.J. Lu <hongjiu.lu@intel.com>
8986
8987 [BZ #14112]
8988 * Makeconfig (default-abi): New macro.
8989 (abi-includes): Likewise.
8990 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
8991 $(abi-$(default-abi)-lib-soname) for soname if defined.
8992 ($(common-objpfx)gnu/lib-names.stmp): Generate from
8993 abi-variants.
8994 * Makefile (installed-stubs): Likewise.
8995 * include/stubs-biarch.h: Removed.
8996 * scripts/lib-names.awk: Only handle one library at a time.
8997 * scripts/soversions.awk: Remove WORDSIZE support.
8998 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
8999 entries.
9000 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
9001 Removed.
9002 (syscall-list-default-condition): Likewise.
9003 (syscall-list-default-condition): Likewise.
9004 (syscall-list-includes): Likewise.
9005 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
9006 syscall-list-* with abi-*. Handle undefined abi-variants.
9007 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
9008 * sysdeps/unix/sysv/linux/i386/Implies: New file.
9009 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
9010 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
9011 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
9012 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
9013 Removed.
9014 (syscall-list-32-options): Likewise.
9015 (syscall-list-32-condition): Likewise.
9016 (syscall-list-64-options): Likewise.
9017 (syscall-list-64-condition): Likewise.
9018 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
9019 macro.
9020 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
9021 Renamed to ...
9022 (abi-*): This.
9023 (abi-64-ld-soname): New macro.
9024 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
9025 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
9026 Renamed to ...
9027 (abi-*): This.
9028 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
9029 * sysdeps/x86_64/x32/shlib-versions: Likewise.
9030
4da0431d
JM
90312012-05-30 Joseph Myers <joseph@codesourcery.com>
9032
3a85279c
JM
9033 * sysdeps/unix/sysv/linux/kernel-features.h
9034 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
9035 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
9036 include <kernel-features.h>.
9037 [!__NR_ftruncate64]: Remove conditional code.
9038 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9039 [__NR_ftruncate64]: Make code unconditional.
9040 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9041 * sysdeps/unix/sysv/linux/truncate64.c: Do not
9042 include <kernel-features.h>.
9043 [!__NR_ftruncate64]: Remove conditional code.
9044 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9045 [__NR_ftruncate64]: Make code unconditional.
9046 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9047 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
9048 include <kernel-features.h>.
9049 [!__NR_ftruncate64]: Remove conditional code.
9050 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9051 [__NR_ftruncate64]: Make code unconditional.
9052 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9053 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
9054 include <kernel-features.h>.
9055 [!__NR_ftruncate64]: Remove conditional code.
9056 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9057 [__NR_ftruncate64]: Make code unconditional.
9058 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9059
4da0431d
JM
9060 * configure.in (libc_cv_fpie): Weaken to a compile test using
9061 LIBC_TRY_CC_OPTION.
9062 * configure: Regenerated.
9063
11ef492c
AK
90642012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9065
9066 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
9067 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
9068 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
9069 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
9070 Refreshed.
9071 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
9072 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
9073 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
9074 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
9075 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
9076 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
9077 Refreshed.
9078
d66ef399
DM
90792012-05-27 David S. Miller <davem@davemloft.net>
9080
9081 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
9082 (___Q_zero): New.
9083 (__Q_simulate_exceptions): Return void. Change to simulate
9084 exceptions by writing into the %fsr.
9085 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
9086 (__Qp_handle_exceptions): Likewise.
9087 (numbers): Delete.
9088 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
9089 __Qp_handle_exceptions.
9090 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
9091 __Qp_handle_exceptions.
9092 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
9093 as unused and give dummy FP_RND_NEAREST initializer.
9094 (FP_INHIBIT_RESULTS): Define.
9095 (___Q_simulate_exceptions): Update declaration.
9096 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
9097 formatting.
9098 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
9099 as unused and give dummy FP_RND_NEAREST initializer.
9100 (__Qp_handle_exceptions): Update declaration.
9101 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
9102 formatting.
9103
04fb54b5
TS
91042012-05-27 Thomas Schwinge <thomas@codesourcery.com>
9105
9106 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
9107 the temporary FPU control word.
9108 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
9109 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
9110 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
9111 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
9112 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
9113 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
9114 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
9115 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
9116 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
9117 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
9118 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
9119
3f99608f
KK
91202012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9121
9122 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
9123 fields.
9124
65a4de4e
CLT
91252012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
9126
9127 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
9128 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
9129 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
9130 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
9131 Likewise.
9132 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
9133 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
9134 Likewise.
9135
15749d40
UD
91362012-05-27 Ulrich Drepper <drepper@gmail.com>
9137
9138 * po/h.po: Update from translation team.
9139
25dbcb27
AS
91402012-05-26 Andreas Schwab <schwab@linux-m68k.org>
9141
3d3f8e55
AS
9142 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
9143
25dbcb27
AS
9144 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
9145 handling of denormals.
9146 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
9147 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
9148 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
9149 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
9150 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9151 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
9152 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
9153 Likewise.
9154
7ad47a80 91552012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
9156
9157 [BZ #14152]
9158 * math/libm-test.inc (fma_test): Don't always expect underflow
9159 exception.
9160
9c6ea9fa
SP
91612012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9162
9163 [BZ #12416]
9164 * elf/tst-execstack.c: Include stackinfo.h.
9165 (do_test): Adjust test case to ensure that pthread_getattr_np
9166 behaviour remains the same after marking stack executable.
9167
a8239222
JM
91682012-05-25 Joseph Myers <joseph@codesourcery.com>
9169
9170 * sysdeps/unix/sysv/linux/kernel-features.h
9171 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
9172 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
9173 kernel-features.h.
9174 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
9175 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
9176 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
9177 kernel-features.h.
9178 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
9179 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
9180
918b5606
L
91812012-05-25 H.J. Lu <hongjiu.lu@intel.com>
9182
9183 * configure.in: Define the default includes to being none.
9184 * configure: Regenerated.
9185
3a097cc7
RM
91862012-05-25 Roland McGrath <roland@hack.frob.com>
9187
8422c9a5
RM
9188 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
9189 * sysdeps/x86_64/setjmp.S: Likewise.
9190 * sysdeps/i386/bsd-setjmp.S: Likewise.
9191 * sysdeps/i386/bsd-_setjmp.S: Likewise.
9192 * sysdeps/i386/setjmp.S: Likewise.
9193 * sysdeps/i386/__longjmp.S: Likewise.
9194 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
9195 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
9196
3a097cc7
RM
9197 * include/stap-probe.h: New file.
9198 * configure.in: Handle --enable-systemtap.
9199 * configure: Regenerated.
9200 * config.h.in (USE_STAP_PROBE): New #undef.
9201 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
9202 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
9203 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
9204
21708942
JM
92052012-05-25 Joseph Myers <joseph@codesourcery.com>
9206
9207 [BZ #13717]
9208 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
9209 to 2.4.0 where earlier.
9210 * sysdeps/unix/sysv/linux/configure: Regenerated.
9211 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
9212 <kernel-features.h>.
9213 [__ASSUME_32BITUIDS]: Make code unconditional.
9214 [!__ASSUME_32BITUIDS]: Remove conditional code.
9215 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
9216 <kernel-features.h>.
9217 [__ASSUME_32BITUIDS]: Make code unconditional.
9218 [!__ASSUME_32BITUIDS]: Remove conditional code.
9219 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
9220 [__ASSUME_32BITUIDS]: Make code unconditional.
9221 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
9222 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
9223 <kernel-features.h>.
9224 [__ASSUME_32BITUIDS]: Make code unconditional.
9225 [!__ASSUME_32BITUIDS]: Remove conditional code.
9226 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
9227 <kernel-features.h>.
9228 [__ASSUME_32BITUIDS]: Make code unconditional.
9229 [!__ASSUME_32BITUIDS]: Remove conditional code.
9230 * sysdeps/unix/sysv/linux/i386/getgid.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/i386/getgroups.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/i386/getresgid.c: Do not include
9239 <kernel-features.h>.
9240 [__ASSUME_32BITUIDS]: Make code unconditional.
9241 [!__ASSUME_32BITUIDS]: Remove conditional code.
9242 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
9243 <kernel-features.h>.
9244 [__ASSUME_32BITUIDS]: Make code unconditional.
9245 [!__ASSUME_32BITUIDS]: Remove conditional code.
9246 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
9247 <kernel-features.h>.
9248 [__ASSUME_32BITUIDS]: Make code unconditional.
9249 [!__ASSUME_32BITUIDS]: Remove conditional code.
9250 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
9251 <kernel-features.h>.
9252 [__ASSUME_32BITUIDS]: Make code unconditional.
9253 [!__ASSUME_32BITUIDS]: Remove conditional code.
9254 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
9255 <kernel-features.h>.
9256 [__ASSUME_32BITUIDS]: Make code unconditional.
9257 [!__ASSUME_32BITUIDS]: Remove conditional code.
9258 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
9259 <kernel-features.h>.
9260 [__ASSUME_32BITUIDS]: Make code unconditional.
9261 [!__ASSUME_32BITUIDS]: Remove conditional code.
9262 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
9263 <kernel-features.h>.
9264 [__NR_setresgid] (__setresgid): Do not declare.
9265 [__ASSUME_32BITUIDS]: Make code unconditional.
9266 [!__ASSUME_32BITUIDS]: Remove conditional code.
9267 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
9268 <kernel-features.h>.
9269 [__NR_setresuid] (__setresuid): Do not declare.
9270 [__ASSUME_32BITUIDS]: Make code unconditional.
9271 [!__ASSUME_32BITUIDS]: Remove conditional code.
9272 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
9273 <kernel-features.h>.
9274 [__ASSUME_32BITUIDS]: Make code unconditional.
9275 [!__ASSUME_32BITUIDS]: Remove conditional code.
9276 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
9277 <kernel-features.h>.
9278 [__ASSUME_32BITUIDS]: Make code unconditional.
9279 [!__ASSUME_32BITUIDS]: Remove conditional code.
9280 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
9281 <kernel-features.h>.
9282 [__ASSUME_32BITUIDS]: Make code unconditional.
9283 [!__ASSUME_32BITUIDS]: Remove conditional code.
9284 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
9285 <kernel-features.h>.
9286 [__ASSUME_32BITUIDS]: Make code unconditional.
9287 [!__ASSUME_32BITUIDS]: Remove conditional code.
9288 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
9289 <kernel-features.h>.
9290 [__ASSUME_32BITUIDS]: Make code unconditional.
9291 [!__ASSUME_32BITUIDS]: Remove conditional code.
9292 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
9293 <kernel-features.h>.
9294 [__ASSUME_32BITUIDS]: Make code unconditional.
9295 [!__ASSUME_32BITUIDS]: Remove conditional code.
9296 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
9297 <kernel-features.h>.
9298 [__ASSUME_32BITUIDS]: Make code unconditional.
9299 [!__ASSUME_32BITUIDS]: Remove conditional code.
9300 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
9301 <kernel-features.h>.
9302 [__ASSUME_32BITUIDS]: Make code unconditional.
9303 [!__ASSUME_32BITUIDS]: Remove conditional code.
9304 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
9305 <kernel-features.h>.
9306 [__ASSUME_32BITUIDS]: Make code unconditional.
9307 [!__ASSUME_32BITUIDS]: Remove conditional code.
9308 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
9309 <kernel-features.h>.
9310 [__ASSUME_32BITUIDS]: Make code unconditional.
9311 [!__ASSUME_32BITUIDS]: Remove conditional code.
9312 * sysdeps/unix/sysv/linux/kernel-features.h
9313 (__ASSUME_SETRESUID_SYSCALL): Remove.
9314 (__ASSUME_SETRESGID_SYSCALL): Likewise.
9315 (__ASSUME_32BITUIDS): Likewise.
9316 (__ASSUME_LDT_WORKS): Likewise.
9317 (__ASSUME_O_DIRECTORY): Likewise.
9318 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
9319 architecture but not kernel version.
9320 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
9321 (__ASSUME_MMAP2_SYSCALL): Likewise.
9322 (__ASSUME_STAT64_SYSCALL): Likewise.
9323 (__ASSUME_IPC64): Likewise.
9324 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
9325 <kernel-features.h>.
9326 [__ASSUME_32BITUIDS]: Make code unconditional.
9327 [!__ASSUME_32BITUIDS]: Remove conditional code.
9328 * sysdeps/unix/sysv/linux/opendir.c: Do not include
9329 <kernel-features.h>.
9330 [__ASSUME_O_DIRECTORY]: Make code unconditional.
9331 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
9332 132096]: Remove conditional code.
9333 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
9334 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
9335 <kernel-features.h>.
9336 [__ASSUME_32BITUIDS]: Make code unconditional.
9337 [!__ASSUME_32BITUIDS]: Remove conditional code.
9338 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
9339 <kernel-features.h>.
9340 [__ASSUME_32BITUIDS]: Make code unconditional.
9341 [!__ASSUME_32BITUIDS]: Remove conditional code.
9342 * sysdeps/unix/sysv/linux/setegid.c: Do not include
9343 <kernel-features.h>.
9344 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
9345 unconditional.
9346 (__setresgid): Do not declare.
9347 [__ASSUME_32BITUIDS]: Make code unconditional.
9348 [!__ASSUME_32BITUIDS]: Remove conditional code.
9349 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
9350 <kernel-features.h>.
9351 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
9352 unconditional.
9353 (__setresuid): Do not declare.
9354 [__ASSUME_32BITUIDS]: Make code unconditional.
9355 [!__ASSUME_32BITUIDS]: Remove conditional code.
9356 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
9357 <kernel-features.h>.
9358 [__ASSUME_32BITUIDS]: Make code unconditional.
9359 [!__ASSUME_32BITUIDS]: Remove conditional code.
9360 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
9361 <kernel-features.h>.
9362 [__ASSUME_32BITUIDS]: Make code unconditional.
9363 [!__ASSUME_32BITUIDS]: Remove conditional code.
9364
a386f1cc
RH
93652012-05-25 Richard Henderson <rth@twiddle.net>
9366
9367 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
9368 dl_hwcap to ifunc resolver.
9369 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
9370 elf_ifunc_invoke.
9371 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
9372 dl_hwcap to ifunc resolver.
9373 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
9374
b6550497
JM
93752012-05-24 Joseph Myers <joseph@codesourcery.com>
9376
9377 [BZ #14153]
9378 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
9379 for |x| <= 2**-26, not 2**-57.
9380 * math/libm-test.inc (acos_test): Do not allow spurious underflow
9381 exception.
9382
b0bc23a1
JL
93832012-05-24 Jeff Law <law@redhat.com>
9384
9385 * stdio-common/Makefile (tests): Add bug25.
9386 * stdio-common/bug25.c: New test.
9387
347c92e9
L
93882012-05-24 H.J. Lu <hongjiu.lu@intel.com>
9389
9390 [BZ #13576]
9391 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
9392 multiple of MALLOC_ALIGNMENT in size.
9393 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
9394
6bcc8b3f
JM
93952012-05-24 Joseph Myers <joseph@codesourcery.com>
9396
9397 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
9398 Require >= 256.
9399 (FILENAME_MAX): Use macro-int-constant.
9400 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
9401 (_IOFBF): Use macro-int-constant.
9402 (_IOLBF): Likewise.
9403 (_IONBF): Likewise.
9404 (SEEK_CUR): Likewise.
9405 (SEEK_END): Likewise.
9406 (SEEK_SET): Likewise.
9407 (TMP_MAX): Likewise.
9408 (EOF): Use macro-int-constant. Require < 0.
9409 (NULL): Use macro-constant. Require == 0.
9410 (stdin): Require type to be FILE *.
9411 (stdout): Likewise.
9412 (stderr): Likewise.
9413 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
9414 macro-int-constant.
9415 (EXIT_SUCCESS): Likewise.
9416 (NULL): Use macro-constant. Require == 0.
9417 (RAND_MAX): Use macro-int-constant.
9418 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
9419 [C99-based standards] (strtof): Require function.
9420 [C99-based standards] (strtold): Likewise.
9421 [C99-based standards] (strtoll): Likewise.
9422 [C99-based standards] (strtoull): Likewise.
9423 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
9424 [ISO || ISO99 || ISO11] (limits.h): Likewise.
9425 [ISO || ISO99 || ISO11] (math.h): Likewise.
9426 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
9427 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
9428 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9429
d18ea0c5
AS
94302012-05-24 Andreas Schwab <schwab@linux-m68k.org>
9431
9432 [BZ #14132]
56d25bb8
AS
9433 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
9434 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
9435 * intl/dgettext.c (DCGETTEXT): Likewise.
9436 * intl/gettext.c (DCGETTEXT): Likewise.
9437 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
9438 * posix/regex_internal.h (gettext): Likewise.
9439 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
9440 Remove declaration.
9441 * include/argz.h (__argz_count_internal)
9442 (__argz_stringify_internal): Remove declaration.
9443 (__argz_count, __argz_stringify): Declare hidden proto.
9444 * intl/dcgettext.c: Remove use of INTDEF.
9445 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
9446 * string/argz-stringify.c: Likewise.
9447 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
9448 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
9449 Declare hidden proto.
d18ea0c5
AS
9450 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
9451 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
9452 Declare hidden proto.
9453 * include/stdio.h (__asprintf_internal): Don't declare.
9454 (__asprintf): Don't define as macro. Declare hidden proto.
9455 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
9456 (__fsetlocking): Declare hidden proto.
9457 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
9458 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
9459 hidden proto.
9460 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
9461 (_IO_setlinebuf): Remove use of INTUSE.
9462 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
9463 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
9464 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
9465 Remove declaration.
9466 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
9467 (_IO_do_flush): Remove use of INTUSE.
9468 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
9469 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
9470 (_IO_adjust_column, _IO_least_wmarker)
9471 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
9472 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
9473 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
9474 (_IO_default_doallocate, _IO_wdefault_doallocate)
9475 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
9476 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
9477 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
9478 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
9479 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
9480 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
9481 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
9482 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
9483 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
9484 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
9485 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
9486 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
9487 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
9488 proto.
9489 (_IO_flush_all_internal, _IO_adjust_column_internal)
9490 (_IO_default_uflow_internal, _IO_default_finish_internal)
9491 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
9492 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
9493 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
9494 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
9495 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
9496 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
9497 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
9498 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
9499 (_IO_file_close_internal, _IO_file_close_it_internal)
9500 (_IO_file_underflow_internal, _IO_file_overflow_internal)
9501 (_IO_file_init_internal, _IO_file_attach_internal)
9502 (_IO_file_fopen_internal, _IO_file_read_internal)
9503 (_IO_file_sync_internal, _IO_file_seek_internal)
9504 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
9505 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
9506 (_IO_str_underflow_internal, _IO_str_overflow_internal)
9507 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
9508 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
9509 (_IO_list_all_internal, _IO_link_in_internal)
9510 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
9511 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
9512 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
9513 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
9514 (_IO_do_write_internal, _IO_padn_internal)
9515 (_IO_getline_info_internal, _IO_getline_internal)
9516 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
9517 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
9518 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
9519 (_IO_vfscanf_internal, _IO_vfprintf_internal)
9520 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
9521 (_IO_init_internal, _IO_un_link_internal): Don't declare.
9522 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
9523 with libc_hidden_ver, remove use of INTUSE.
9524 * libio/genops.c: Likewise.
9525 * libio/freopen.c: Likewise.
9526 * libio/freopen64.c: Likewise.
9527 * libio/iofclose.c: Likewise.
9528 * libio/iofdopen.c: Likewise.
9529 * libio/iofflush.c: Likewise.
9530 * libio/iofflush_u.c: Likewise.
9531 * libio/iofgets.c: Likewise.
9532 * libio/iofgets_u.c: Likewise.
9533 * libio/iofopen.c: Likewise.
9534 * libio/iofopncook.c: Likewise.
9535 * libio/iofread.c: Likewise.
9536 * libio/iofread_u.c: Likewise.
9537 * libio/ioftell.c: Likewise.
9538 * libio/iofwrite.c: Likewise.
9539 * libio/iogetline.c: Likewise.
9540 * libio/iogets.c: Likewise.
9541 * libio/iogetwline.c: Likewise.
9542 * libio/iopadn.c: Likewise.
9543 * libio/iopopen.c: Likewise.
9544 * libio/ioseekoff.c: Likewise.
9545 * libio/ioseekpos.c: Likewise.
9546 * libio/iosetbuffer.c: Likewise.
9547 * libio/iosetvbuf.c: Likewise.
9548 * libio/ioungetc.c: Likewise.
9549 * libio/ioungetwc.c: Likewise.
9550 * libio/iovdprintf.c: Likewise.
9551 * libio/iovsprintf.c: Likewise.
9552 * libio/iovsscanf.c: Likewise.
9553 * libio/memstream.c: Likewise.
9554 * libio/obprintf.c: Likewise.
9555 * libio/oldfileops.c: Likewise.
9556 * libio/oldiofclose.c: Likewise.
9557 * libio/oldiofdopen.c: Likewise.
9558 * libio/oldiofopen.c: Likewise.
9559 * libio/oldiopopen.c: Likewise.
9560 * libio/oldstdfiles.c: Likewise.
9561 * libio/putc.c: Likewise.
9562 * libio/setbuf.c: Likewise.
9563 * libio/setlinebuf.c: Likewise.
9564 * libio/stdfiles.c: Likewise.
9565 * libio/strops.c: Likewise.
9566 * libio/vasprintf.c: Likewise.
9567 * libio/vscanf.c: Likewise.
9568 * libio/vsnprintf.c: Likewise.
9569 * libio/vswprintf.c: Likewise.
9570 * libio/wfiledoalloc.c: Likewise.
9571 * libio/wfileops.c: Likewise.
9572 * libio/wgenops.c: Likewise.
9573 * libio/wmemstream.c: Likewise.
9574 * libio/wstrops.c: Likewise.
9575 * libio/__fpurge.c: Likewise.
9576 * libio/__fsetlocking.c: Likewise.
9577 * assert/assert.c: Likewise.
9578 * debug/fgets_chk.c: Likewise.
9579 * debug/fgets_u_chk.c: Likewise.
9580 * debug/fread_chk.c: Likewise.
9581 * debug/fread_u_chk.c: Likewise.
9582 * debug/gets_chk.c: Likewise.
9583 * debug/obprintf_chk.c: Likewise.
9584 * debug/vasprintf_chk.c: Likewise.
9585 * debug/vdprintf_chk.c: Likewise.
9586 * debug/vsnprintf_chk.c: Likewise.
9587 * debug/vsprintf_chk.c: Likewise.
9588 * malloc/mtrace.c: Likewise.
9589 * misc/error.c: Likewise.
9590 * misc/syslog.c: Likewise.
9591 * stdio-common/asprintf.c: Likewise.
9592 * stdio-common/fxprintf.c: Likewise.
9593 * stdio-common/getw.c: Likewise.
9594 * stdio-common/isoc99_fscanf.c: Likewise.
9595 * stdio-common/isoc99_scanf.c: Likewise.
9596 * stdio-common/isoc99_vfscanf.c: Likewise.
9597 * stdio-common/isoc99_vscanf.c: Likewise.
9598 * stdio-common/isoc99_vsscanf.c: Likewise.
9599 * stdio-common/printf-prs.c: Likewise.
9600 * stdio-common/printf_fp.c: Likewise.
9601 * stdio-common/printf_fphex.c: Likewise.
9602 * stdio-common/printf_size.c: Likewise.
9603 * stdio-common/putw.c: Likewise.
9604 * stdio-common/scanf.c: Likewise.
9605 * stdio-common/sprintf.c: Likewise.
9606 * stdio-common/tmpfile.c: Likewise.
9607 * stdio-common/vfprintf.c: Likewise.
9608 * stdio-common/vfscanf.c: Likewise.
9609 * stdlib/strfmon_l.c: Likewise.
9610 * sunrpc/openchild.c: Likewise.
9611 * sunrpc/xdr_stdio.c: Likewise.
9612 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
9613 * sysdeps/mach/hurd/tmpfile.c: Likewise.
9614
d6c33fda
RM
96152012-05-24 Roland McGrath <roland@hack.frob.com>
9616
c1487492
RM
9617 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
9618
9619 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
9620 in the third column, to generate for the shared library an IFUNC
9621 that uses _dl_vdso_vsym.
9622 * Makerules (COMPILE.c, compile-stdin.c): New variables.
9623 * Makeconfig (object-suffixes-noshared): New variable.
9624
9625 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
9626 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
9627 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
9628 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
9629
d6c33fda
RM
9630 [BZ #14132]
9631 * include/sys/time.h (__gettimeofday): Remove macro.
9632 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
9633 * time/gettimeofday.c (__gettimeofday): Remove #undef.
9634 Remove INTDEF.
9635 (__gettimeofday): Add libc_hidden_def.
9636 (gettimeofday): Add libc_hidden_weak.
9637 * sysdeps/mach/gettimeofday.c: Likewise.
9638 * sysdeps/posix/gettimeofday.c: Likewise.
9639 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
9640 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
9641 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
9642 (__gettimeofday_internal): Remove strong_alias.
9643 (__gettimeofday): Add libc_hidden_def.
9644 (gettimeofday): Add libc_hidden_weak.
9645 * sysdeps/unix/syscalls.list (gettimeofday):
9646 Remove __gettimeofday_internal alias.
9647
b5a2bbe6
L
96482012-05-24 Daniel Jacobowitz <drow@false.org>
9649 H.J. Lu <hongjiu.lu@intel.com>
9650
9651 [BZ #12495]
9652 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
9653 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
9654 (largebin_index_32_big): New.
9655 (largebin_index): Use it for 16-byte alignment.
9656 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
9657 correction with front_misalign.
9658
cfba4fda
L
96592012-05-24 H.J. Lu <hongjiu.lu@intel.com>
9660
7f907421
L
9661 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
9662 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
9663 Likewise.
9664 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
9665 Likewise.
9666 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
9667 Likewise.
9668 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
9669 Likewise.
9670 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
9671 Likewise.
9672 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
9673 Likewise.
9674 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
9675 Likewise.
9676 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
9677 Likewise.
9678 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
9679 Likewise.
9680 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
9681 Likewise.
9682 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
9683 Likewise.
9684 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
9685 Likewise.
9686
cfba4fda
L
9687 * scripts/data/c++-types-x32-linux-gnu.data: New file.
9688 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
9689
80bad0cc
JM
96902012-05-24 Joseph Myers <joseph@codesourcery.com>
9691
7a25eb06
JM
9692 [BZ #10846]
9693 [BZ #14036]
9694 * math/libm-test.inc (exp_test): Add test from bug 14036.
9695 (pow_test): Add test from bug 10846.
9696
795405f9
JM
9697 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
9698 and other flags.
9699 (special_function): Do not include flags in test name.
9700 (parse_args): Likewise.
9701 * sysdeps/i386/fpu/libm-test-ulps: Update.
9702 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9703 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
9704 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
9705 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9706
80bad0cc
JM
9707 * math/gen-libm-test.pl (%beautify): Add entries for underflow
9708 exceptions.
9709 * math/libm-test.inc ("Philosophy"): Update comment about
9710 exception testing.
9711 (UNDERFLOW_EXCEPTION): New macro.
9712 (UNDERFLOW_EXCEPTION_OK): Likewise.
9713 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
9714 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
9715 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
9716 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
9717 (INVALID_EXCEPTION_OK): Update value.
9718 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
9719 (OVERFLOW_EXCEPTION_OK): Likewise.
9720 (IGNORE_ZERO_INF_SIGN): Likewise.
9721 (test_exceptions): Handle underflow exceptions.
9722 (acos_test): Update for underflow exception expectations.
9723 (cexp_test): Likewise.
9724 (clog_test): Likewise.
9725 (clog10_test): Likewise.
9726 (csqrt_test): Likewise.
9727 (ctan_test): Likewise.
9728 (ctanh_test): Likewise.
9729 (exp_test): Likewise.
9730 (exp10_test): Likewise.
9731 (exp2_test): Likewise.
9732 (expm1_test): Likewise.
9733 (fma_test): Likewise.
9734 (j0_test): Likewise.
9735 (jn_test): Likewise.
9736 (nexttoward_test): Likewise.
9737 (pow_test): Likewise.
9738 (scalbn_test): Likewise.
9739 (scalbln_test): Likewise.
9740 (tan_test): Likewise.
9741 (y1_test): Likewise.
9742 * sysdeps/i386/fpu/libm-test-ulps: Update.
9743 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9744
9e0e3d0b
DM
97452012-05-23 David S. Miller <davem@davemloft.net>
9746
9747 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
9748 (__libc_sigaction): Remove unused local variables.
9749
ccd0a08f
L
97502012-05-23 H.J. Lu <hongjiu.lu@intel.com>
9751
9752 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
9753
62bdf9a6
PE
97542012-05-23 Paul Eggert <eggert@cs.ucla.edu>
9755
f8591f80
PE
9756 mktime: avoid signed integer overflow
9757 * time/mktime.c (__mktime_internal): Do not mishandle the case
9758 where diff == INT_MIN.
9759
94c7d826
PE
9760 mktime: simplify computation of average
9761 * time/mktime.c (ranged_convert): Use new time_t_avg function
9762 instead of rolling our own (probably-slower) code.
9763
ce73d683
PE
9764 mktime: do not assume signed right shift propagates sign bit
9765 * time/mktime.c (isdst_differ): New static function.
9766 (__mktime_internal): No need to normalize tm_isdst now.
9767 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
9768 tm_isdst values.
9769
72a22e59
PE
9770 mktime: merge another wrapv change from gnulib
9771 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
9772 from some compilers.
9773
68605433
PE
9774 mktime: remove incorrect attempt at unusual arithmetics
9775 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
9776 The code didn't really work on such machines anyway.
9777 (TYPE_MINIMUM): Assume two's complement.
9778 (twos_complement_arithmetic): Verify that long_int and time_t
9779 are two's complement (or unsigned, in the latter case).
9780
03cf7fe3
PE
9781 mktime: check signed shifts on long_int and time_t, too
9782 * time/mktime.c (SHR): Check that shifts work as desired
9783 on the types long_int and time_t too, as SHR is used on
9784 such types.
9785
f04dfbc2
PE
9786 mktime: do not assume 'long' is wide enough
9787 * time/mktime.c (verify): Move decl up.
9788 (long_int): New type.
9789 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
9790 to remove assumption in the code that 'long' is wide enough to
9791 store year values. This assumption is not true on x32 and on
9792 some non-glibc platforms.
9793
62bdf9a6
PE
9794 mktime: merge wrapv change from gnulib
9795 * time/mktime.c (WRAPV): New macro.
9796 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
9797 (guess_time_tm, __mktime_internal): Do not assume that signed
9798 integer overflow wraps around; modern compilers generate code
9799 where this assumption is no longer valid.
9800
5e292e4f
L
98012012-05-23 H.J. Lu <hongjiu.lu@intel.com>
9802
9803 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
9804 Replace "jmp L(pseudo_end)" with "ret".
9805 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
9806 Likewise.
9807
8caf8c87
AJ
98082012-05-23 Andreas Jaeger <aj@suse.de>
9809
9810 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
9811 * sysdeps/unix/sysv/linux/poll.c: Remove file.
9812
1a09dc56
AJ
98132012-05-23 Andreas Jaeger <aj@suse.de>
9814 Maximilian Attems <max@stro.at>
9815
9816 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
9817 New macros.
9818
1c87aba0
L
98192012-05-23 H.J. Lu <hongjiu.lu@intel.com>
9820
9821 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
9822 code so that pseudo_end is just ret and the stack pointer is
9823 correct also for static library in error case.
9824
40e45bd5
JM
98252012-05-23 Joseph Myers <joseph@codesourcery.com>
9826
c2670533
JM
9827 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
9828 move to syscalls.list.
9829 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
9830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
9831 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
9832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
9833
40e45bd5
JM
9834 * manual/install.texi (Running make install): Do not mention Linux
9835 kernel version for which pt_chown is not needed.
9836 (Linux): Do not mention problems with nscd with 2.0 kernels.
9837 * INSTALL: Regenerated.
9838
be08eda5
AJ
98392012-05-23 Andreas Jaeger <aj@suse.de>
9840
9841 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
9842 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
9843 macro.
9844 * sysdeps/unix/sysv/linux/s390/bits/mman.h
9845 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
9846 * sysdeps/unix/sysv/linux/sh/bits/mman.h
9847 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
9848 * sysdeps/unix/sysv/linux/i386/bits/mman.h
9849 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
9850 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
9851 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
9852 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
9853 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
9854 * sysdeps/unix/sysv/linux/bits/in.h
9855 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
9856
a6a056bb
RM
98572012-05-22 Roland McGrath <roland@hack.frob.com>
9858
9859 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
9860 (PREPARE_VERSION): Just use assert instead, it will be elided
9861 under [NDEBUG] anyway.
9862
c9009328
L
98632012-05-22 H.J. Lu <hongjiu.lu@intel.com>
9864
9865 * sysdeps/unix/sysv/linux/Makefile: Include
9866 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 9867 (sysdep_routines): Remove sysctl.
c9009328
L
9868 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
9869 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
9870 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
9871 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
9872 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
9873
73338355
AJ
98742012-05-22 Andreas Jaeger <aj@suse.de>
9875
9876 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
9877 that pseudo_end is just ret and the stack pointer is correct also
9878 for static library in error case.
9879
d44638b0
PP
98802012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
9881
9882 [BZ #14122]
9883 * nss/nsswitch.c (defconfig_entries): New variable.
9884 (__nss_database_lookup): Don't leak defconfig entries.
9885 (nss_parse_service_list): Don't leak on error paths.
9886 (free_database_entries): New function.
9887 (free_defconfig): New function.
9888 (free_mem): Move common code to free_database_entries.
9889
31a39bd8
L
98902012-05-22 H.J. Lu <hongjiu.lu@intel.com>
9891
da0331a8
L
9892 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
9893 Add arch_prctl.
9894 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
9895
31a39bd8
L
9896 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
9897 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
9898 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
9899 New macro.
9900 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
9901 (INTERNAL_SYSCALL_TYPES): Likewise.
9902 (LOAD_ARGS_TYPES_[1-6]): Likewise.
9903 (LOAD_REGS_TYPES_[1-6]): Likewise.
9904 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
9905 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
9906
45470df3
AZ
99072012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9908
9909 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
9910 copysignl for GLIBC_2_0.
9911 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
9912 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
9913 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
9914 logbl for GLIBC_2_0.
9915 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
9916 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
9917
98a61bcb
L
99182012-05-22 H.J. Lu <hongjiu.lu@intel.com>
9919
a4f6e481
L
9920 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
9921 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
9922
f63d5db6
L
9923 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
9924 Use "neg %eax".
9925
98a61bcb
L
9926 * time/mktime.c: Update copyright years.
9927
95770f14
PE
99282012-05-22 Paul Eggert <eggert@cs.ucla.edu>
9929
6226efbd
PE
9930 mktime: merge comment-quoting-style change from gnulib
9931 * time/mktime.c: Quote 'like this' in comments.
9932 The GNU coding standards suggest that we no longer quote `like this',
9933 as "`" and "'" are typically rendered asymmetrically nowadays.
9934 The typical gnulib style is to quote 'like this' when quoting
9935 code, and "like this" when quoting English.
9936
b99e4f78
PE
9937 * time/mktime.c (compile-command): Add "-I.".
9938
643e01e6
PE
9939 mktime: merge mktime-internal.h change from gnulib
9940 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
9941
2554247d
PE
9942 mktime: merge time_r change from gnulib
9943 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
9944
826dd0ab
PE
9945 mktime: merge DEBUG change from gnulib
9946 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
9947 case system <time.h> has a #define.
9948
bd83aabe
PE
9949 mktime: merge <sys/types.h> change from gnulib
9950 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
9951 since <time.t> is now guaranteed to define time_t.
9952
95770f14
PE
9953 mktime: merge HAVE_CONFIG_H change from gnulib
9954 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
9955
5e1a27a9
L
99562012-05-22 H.J. Lu <hongjiu.lu@intel.com>
9957
0e44a77e
L
9958 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
9959 Use "neg %eax".
9960
5e1a27a9
L
9961 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
9962 __rlim_t cast.
9963 (struct rusage): Use anonymous union to pad each field to
9964 __syscall_slong_t.
9965
46259bec
DM
99662012-05-21 David S. Miller <davem@davemloft.net>
9967
9968 * Makefules (o-iterator): Remove .s cases.
9969 (compile-command.s): Delete.
9970 (COMPILE.s): Delete.
9971 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
9972
59f0c22e
JM
99732012-05-21 Joseph Myers <joseph@codesourcery.com>
9974
9975 * configure.in (libc_cv_predef_stack_protector): Only consider
9976 "foobar" and "__stack_chk_fail" lines in libc_undefs.
9977 * configure: Regenerated.
9978
20c07380
L
99792012-05-21 H.J. Lu <hongjiu.lu@intel.com>
9980
bbb3154b
L
9981 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
9982 New macro. Use R*LP on int and pointer.
9983 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
9984 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
9985 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
9986 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
9987
20c07380
L
9988 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
9989 [__WORDSIZE_TIME64_COMPAT32] instead of
9990 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
9991 (struct utmp): Likewise.
9992 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
9993 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
9994 Renamed to ...
9995 (__WORDSIZE_TIME64_COMPAT32): This.
9996 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
9997 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
9998 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
9999 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
10000 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
10001 (__WORDSIZE_TIME64_COMPAT32): New macro.
10002
d8d1017e
AJ
100032012-05-21 Andreas Jaeger <aj@suse.de>
10004
10005 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
10006 only if [SHARED]. Add prototype for __wcschr_ia32.
10007
6c7fb145
RM
100082012-05-21 Roland McGrath <roland@hack.frob.com>
10009
10010 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
10011 of %rbp unmolested in the jmp_buf while mangling the low bits.
10012 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
10013 unmolested high bits of %rbp while demangling the low bits.
10014 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
10015
66274218
AJ
100162012-05-21 Andreas Jaeger <aj@suse.de>
10017
07c58f8f
AJ
10018 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
10019 * sunrpc/svc_simple.c: Use it for registerrpc.
10020 * sunrpc/xcrypt.c: Use it for passwd2des.
10021
66274218
AJ
10022 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
10023
61f65140
L
100242012-05-21 H.J. Lu <hongjiu.lu@intel.com>
10025
10026 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
10027 Don't define if [__SYSCALL_WORDSIZE != 32].
10028 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
10029 New macro.
10030
5fefb436
AJ
100312012-05-21 Bruno Haible <bruno@clisp.org>
10032 Andreas Jaeger <aj@suse.de>
10033
10034 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
10035 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
10036 inptr and inend for must_buffer_ch.
10037 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
10038 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
10039 * stdio-common/Makefile (tests): Remove bug15.
10040 (bug15-ENV): Remove macro.
10041 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
10042 anymore.
10043
d8e272ab
AJ
100442012-05-19 Andreas Jaeger <aj@suse.de>
10045 Roland McGrath <roland@hack.frob.com>
10046
10047 * manual/contrib.texi: Completely rewritten. It contains now an
10048 alphabetical list of contributors and their contributions.
10049
4a56a162
RH
100502012-05-21 Richard Henderson <rth@twiddle.net>
10051
10052 * misc/getauxval.c (__getauxval): Use unsigned long int.
10053 * misc/sys/auxv.h: Include <sys/cdefs.h>.
10054 (getauxval): Use unsigned long int.
10055
d024d23c
L
100562012-05-21 H.J. Lu <hongjiu.lu@intel.com>
10057
10058 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
10059
cbc00a03
RM
100602012-05-21 Roland McGrath <roland@hack.frob.com>
10061
10062 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
10063 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
10064 __alignof__ (long double).
10065
478143fa
AZ
100662012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10067
10068 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10069
c7683a6d
RH
100702012-05-20 Richard Henderson <rth@twiddle.net>
10071
10072 * misc/getauxval.c: New file.
10073 * misc/sys/auxv.h: New file.
10074 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
10075 (routines): Add getauxval.
10076 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
10077 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
10078 * elf/dl-sysdep.c (_dl_auxv): Remove.
10079 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
10080 * elf/dl-support.c (_dl_auxv): New variable.
10081 (_dl_aux_init): Initialize it.
10082 * manual/startup.texi (Auxiliary Vector): New node.
10083 * sysdeps/generic/bits/hwcap.h: New file.
10084 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
10085 * sysdeps/powerpc/sysdep.h: ... here. Include it.
10086 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
10087 * sysdeps/sparc/sysdep.h: ... here. Include it.
10088 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
10089 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
10090 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10091 Update.
c7683a6d
RH
10092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
10093 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
10094 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
10095 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
10096 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
10097 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
10098 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
10099 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
10100
a6f1845d
AZ
101012012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10102
10103 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10104
cbcbe830
DM
101052012-05-19 David S. Miller <davem@davemloft.net>
10106
10107 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10108
e0b16cc2
JM
101092012-05-19 Joseph Myers <joseph@codesourcery.com>
10110
10111 [BZ #14123]
10112 * math/s_ccosh.c: Include <float.h>
10113 (__ccosh): Avoid internal overflow calculating sinh and cosh
10114 values before multiplying by sin and cos values.
10115 * math/s_ccoshf.c: Likewise.
10116 * math/s_ccoshl.c: Likewise.
10117 * math/s_csin.c: Likewise.
10118 * math/s_csinf.c: Likewise.
10119 * math/s_csinl.c: Likewise.
10120 * math/s_csinh.c: Likewise.
10121 * math/s_csinhf.c: Likewise.
10122 * math/s_csinhl.c: Likewise.
10123 * math/libm-test.inc (ccos_test): Add more tests.
10124 (ccosh_test): Likewise.
10125 (csin_test): Likewise.
10126 (csinh_test): Likewise.
10127 * sysdeps/i386/fpu/libm-test-ulps: Update.
10128 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10129
6ad13e08
L
101302012-05-19 H.J. Lu <hongjiu.lu@intel.com>
10131
f66f0ce8
L
10132 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
10133 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
10134
6ad13e08
L
10135 * sysdeps/x86_64/x32/_itoa.h: Add comment.
10136
b1d072a7
JM
101372012-05-19 Joseph Myers <joseph@codesourcery.com>
10138
10139 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
10140 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
10141 * sysdeps/powerpc/soft-fp/Versions: Likewise.
10142 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
10143 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
10144 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
10145 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
10146 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
10147 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
10148 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
10149 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
10150 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
10151 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
10152 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
10153 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
10154 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
10155 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
10156 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
10157 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
10158 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
10159 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
10160 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
10161 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
10162 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
10163 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
10164 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
10165 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
10166 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
10167 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
10168 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
10169 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
10170
9eae47cb
AJ
101712012-05-18 Andreas Jaeger <aj@suse.de>
10172
10173 * csu/.gitignore: Delete.
10174
bb07f69f
L
101752012-05-18 H.J. Lu <hongjiu.lu@intel.com>
10176
10177 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
10178 (timex): Use __syscall_slong_t.
10179
e6bdb741
AJ
101802012-05-18 Andreas Jaeger <aj@suse.de>
10181 Carlos O'Donell <carlos_odonell@mentor.com>
10182
10183 * manual/install.texi (Configuring and compiling): Update
10184 description about files modified in the source directory.
d6c33fda 10185 * INSTALL: Regenerated.
e6bdb741 10186
1b74487e
L
101872012-05-18 H.J. Lu <hongjiu.lu@intel.com>
10188
10189 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
10190 value. Use "or" to set return value to -1.
10191 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
10192 negate return value.
10193
a88b64b9
TMQMF
101942012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10195
10196 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
10197 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
10198 failure if the compiler has Graphite support disabled.
10199 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
10200 Likewise.
10201 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
10202 CFLAGS-memmove.c): Likewise.
10203 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
10204 Likewise.
10205
3707636e
L
102062012-05-18 H.J. Lu <hongjiu.lu@intel.com>
10207
610b8622
L
10208 * sysdeps/x86_64/x32/_itoa.h: New file.
10209
7cd195df
L
10210 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
10211 getdents system call only if kernel and user dirents have the
10212 same d_ino and d_off.
10213
94b07d20
L
10214 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
10215 LLONG_MAX != LONG_MAX.
10216 (_itoa_word): Use _ITOA_WORD_TYPE on value.
10217 (_fitoa_word): Likewise.
10218
18298070
L
10219 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
10220 years.
10221 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
10222 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
10223 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
10224
553c7ea4
L
10225 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
10226 include <bits/wordsize.h>. Check __x86_64__ instead of
10227 __WORDSIZE.
10228 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
10229 if __x86_64__ is defined. Use anonymous union on fpstate.
10230
3707636e
L
10231 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
10232 anonymous union.
10233
b53ef01a
AS
102342012-05-18 Andreas Schwab <schwab@linux-m68k.org>
10235
37fb1dc0
AS
10236 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
10237 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
10238 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
10239 Refer to _rtld_local_ro instead of _rtld_global_ro.
10240 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
10241 Likewise.
10242 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
10243 Likewise.
10244 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
10245 Likewise.
10246 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
10247 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
10248 of _rtld_global, and rtld_progname instead of _dl_argv[0].
10249
b53ef01a
AS
10250 * sysdeps/powerpc/powerpc32/dl-machine.c
10251 (__elf_machine_runtime_setup) [PROF]: Don't reference
10252 _dl_prof_resolve.
10253
7a185db2
AJ
102542012-05-18 Andreas Jaeger <aj@suse.de>
10255
10256 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
10257 function only available for GCCs before 3.4 since GCC 3.4
10258 introduced a builtin.
10259 (lrint): Likewise.
10260 (llrintf): Likewise.
10261 (llrint): Likewise.
10262 (fmaxf): Likewise.
10263 (fmax): Likewise.
10264 (fminf): Likewise.
10265 (fmin): Likewise.
10266 (rint): Likewise.
10267 (rintf): Likewise.
10268 (nearbyint): Likewise.
10269 (nearbyintf): Likewise.
10270 (ceil): Likewise.
10271 (ceilf): Likewise.
10272 (floor): Likewise.
10273 (floorf): Likewise.
10274
3e5aef87
L
102752012-05-17 H.J. Lu <hongjiu.lu@intel.com>
10276
428bd707
L
10277 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
10278 on both fields and cast pointer to __syscall_ulong_t.
10279
3e5aef87
L
10280 * bits/types.h (__fsword_t): New type.
10281 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
10282 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
10283 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
10284 (__FSWORD_T_TYPE): Likewise.
10285 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
10286 (__FSWORD_T_TYPE): Likewise.
10287 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10288 (__FSWORD_T_TYPE): Likewise.
10289 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
10290 (__FSWORD_T_TYPE): Likewise.
10291 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
10292 __SWORD_TYPE with __fsword_t.
10293 (statfs64): Likewise.
10294
1ba7c3dc
DM
102952012-05-17 David S. Miller <davem@davemloft.net>
10296
10297 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
10298
59910343
AJ
102992012-05-17 Andreas Jaeger <aj@suse.de>
10300
10301 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
10302 warning.
10303
2e4c1e9e
L
103042012-05-17 H.J. Lu <hongjiu.lu@intel.com>
10305
10306 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
10307
de7f5ce7
AJ
103082012-05-17 Andreas Jaeger <aj@suse.de>
10309
10310 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
10311 when it is used.
10312
286abc3d
CM
103132012-05-17 Chris Metcalf <cmetcalf@tilera.com>
10314
10315 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
10316
477cc68e
L
103172012-05-17 H.J. Lu <hongjiu.lu@intel.com>
10318
10319 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
10320 * sysdeps/x86_64/tst-mallocalign1.c: New file.
10321
1a0994f5
CD
103222012-05-17 Andreas Jaeger <aj@suse.de>
10323 Carlos O'Donell <carlos_odonell@mentor.com>
10324
10325 [BZ #14059]
10326 * sysdeps/x86_64/multiarch/init-arch.h
10327 (bit_YMM_Usable): Rename to...
10328 (bit_AVX_Usable): ... this.
10329 (bit_FMA4_Usable): New macro.
10330 (bit_XMM_state): New macro.
10331 (bit_YMM_state): New macro.
10332 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
10333 [__ASSEMBLER__] (index_AVX_Usable): ... this.
10334 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
10335 (CPUID_OSXSAVE): New macro.
10336 (CPUID_AVX): New macro.
10337 (CPUID_FMA4): New macro.
10338 (index_YMM_Usable): Rename to...
10339 (index_AVX_Usable): ... this.
10340 (HAS_AVX): Use HAS_ARCH_FEATURE.
10341 (HAS_FMA4): Likewise.
10342 (HAS_YMM_USABLE): Remove.
10343 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10344 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
10345 are present.
10346 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
10347 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
10348 * sysdeps/x86_64/multiarch/Makefile: Likewise.
10349 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
10350 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
10351
0af797de
CM
103522012-05-17 Chris Metcalf <cmetcalf@tilera.com>
10353
10354 * math/libm-test.c: Support platforms without multiple rounding modes.
10355 * math/bug-nextafter.c: Support platforms without FP exceptions.
10356 * math/bug-nexttoward.c: Likewise.
10357 * math/test-fenv.c: Likewise.
10358 * math/test-misc.c: Likewise.
10359 * stdlib/bug-getcontext.c: Likewise.
10360
e39745ff
AJ
103612012-05-17 Andreas Jaeger <aj@suse.de>
10362
10363 * manual/examples/search.c (critter_cmp): Change signature to
10364 avoid warnings.
10365 * manual/string.texi (Collation Functions): Likewise.
10366
48970aba
L
103672012-05-16 H.J. Lu <hongjiu.lu@intel.com>
10368
10369 * bits/types.h: Fold copyright years.
10370 * bits/typesizes.h: Likewise.
10371 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
10372 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
10373 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
10374 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
10375 * time/time.h: Likewise.
10376
bedee953
PP
103772012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
10378
10379 [BZ #208]
10380 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
10381 in instead of returning them. Return void.
10382 (__libc_mallinfo): Accumulate over all arenas.
10383 (__malloc_stats): Adjust for change in int_mallinfo interface.
10384
61653dfb
RM
103852012-05-16 Roland McGrath <roland@hack.frob.com>
10386
30b99d79
RM
10387 [BZ #10375]
10388 * configure.in (NM): Add AC_CHECK_TOOL for it.
10389 (libc_extra_cflags): New substituted variable.
10390 Check for -fstack-protector being used implicitly.
10391 * configure: Regenerated.
10392 * config.make.in (config-extra-cflags): New variable,
10393 gets @libc_extra_cflags@.
10394 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
10395
61653dfb
RM
10396 [BZ #10375]
10397 * configure.in: Check for _FORTIFY_SOURCE being predefined.
10398 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
10399 * configure: Regenerated.
10400 * config.make.in (CPPUNDEFS): New substituted variable.
10401 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
10402 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
10403 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
10404
661768bb
L
104052012-05-16 H.J. Lu <hongjiu.lu@intel.com>
10406
10407 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
10408 (mq_attr): Use __syscall_slong_t.
10409
d4261567
L
104102012-05-16 H.J. Lu <hongjiu.lu@intel.com>
10411
10412 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
10413 Check __x86_64__ instead of __WORDSIZE.
10414 (_STAT_VER_LINUX): Likewise.
10415 (stat): Check __x86_64__ instead of __WORDSIZE. Use
10416 __syscall_ulong_t and __syscall_slong_t.
10417 (stat64): Likewise.
10418
cf3ff365
L
104192012-05-16 H.J. Lu <hongjiu.lu@intel.com>
10420
10421 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
10422
76cf3e4d
L
104232012-05-16 H.J. Lu <hongjiu.lu@intel.com>
10424
10425 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
10426
a637753a
L
104272012-05-16 H.J. Lu <hongjiu.lu@intel.com>
10428
10429 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
10430 __syscall_ulong_t.
10431
d5e05119
L
10432 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
10433 include <bits/wordsize.h>. Check __x86_64__ instead of
10434 __WORDSIZE.
10435 (greg_t): Use "__extension__ long long int" if __x86_64__ is
10436 defined.
10437 (mcontext_t): Replace "unsigned long" with "unsigned long long".
10438
f62ee380
L
10439 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
10440 include <bits/wordsize.h>. Check __x86_64__ instead of
10441 __WORDSIZE.
10442 (user_regs_struct): Use "__extension__ unsigned long long"
10443 instead of "unsigned long" if __x86_64__ is defined.
10444 (user): Likewise. Pad after pointer field if __ILP32__ is
10445 defined.
10446
4e124ced
JM
104472012-05-16 Joseph Myers <joseph@codesourcery.com>
10448
6a3951a0
JM
10449 * configure.in (makeinfo): Require version 4.5 or later. Allow
10450 versions 5 to 9.
10451 * configure: Regenerated.
10452 * manual/install.texi (texinfo): Increase version requirement to
10453 4.5 or later.
10454 * INSTALL: Regenerated.
10455
4e124ced
JM
10456 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
10457
953ca31a
L
104582012-05-16 H.J. Lu <hongjiu.lu@intel.com>
10459
10460 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
10461
617aca05
L
10462 * sysdeps/x86_64/x32/ffs.c: New file.
10463
5762f7ae
L
10464 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
10465 __syscall_ulong_t.
10466 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
10467 defined. Use __syscall_ulong_t.
10468 (shminfo): Use __syscall_ulong_t.
10469 (shm_info): Likewise.
10470
a26b6856
L
10471 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
10472 __syscall_ulong_t.
10473
cb2b9ef7
L
10474 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
10475 <bits/wordsize.h>.
10476 (msgqnum_t): Use __syscall_ulong_t.
10477 (msglen_t): Likewise.
10478 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
10479 __syscall_ulong_t.
10480
34683bb0
L
10481 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
10482 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
10483
84a68786
L
10484 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
10485
48baa5f1
L
10486 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
10487 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
10488
180be88b
L
10489 * sysvipc/sys/msg.h (msgbuf): Replace long int with
10490 __syscall_slong_t.
10491
5e90c8ad
L
10492 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
10493 include <bits/wordsize.h>. Check __x86_64__ instead of
10494 __WORDSIZE.
10495
23dfb58b
L
10496 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
10497 "unsigned long long int" if __x86_64__ is defined.
10498 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
10499
ce5d54b0
L
10500 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
10501 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
10502 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
10503
13dc9eac
L
10504 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
10505 <stdint.h>.
10506 (GET_PC): Cast to uintptr_t first.
10507 (GET_FRAME): Likewise.
10508 (GET_STACK): Likewise.
10509
a7895d15
L
10510 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
10511 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
10512 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
10513 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
10514 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
10515 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
10516 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
10517 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
10518 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
10519 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
10520 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
10521 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
10522 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
10523 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
10524 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
10525 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
10526 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
10527 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
10528 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
10529 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
10530 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
10531 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
10532 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
10533 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
10534 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
10535 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
10536 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
10537 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
10538 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
10539
656416c9
AS
105402012-05-16 Andreas Schwab <schwab@linux-m68k.org>
10541
5bd66283
AS
10542 * Makerules (+depfiles): Also collect depfiles from .oS in
10543 $(extra-objs).
10544 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
10545 .oS, $(libnldbl-routines)).
10546
656416c9
AS
10547 * Makerules (native-compile-mkdep-flags): Define.
10548 * sunrpc/Makefile (extra-objs): Add $(addprefix
10549 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
10550 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
10551 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
10552 calling $(make-target-directory).
10553
a46f2169
L
105542012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10555
10556 * bits/types.h (__snseconds_t): Removed.
10557 * time/time.h (struct timespec): Replace __snseconds_t with
10558 __syscall_slong_t.
10559 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
10560 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
10561 Likewise.
10562 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
10563 (__SNSECONDS_T_TYPE): Likewise.
10564 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
10565 (__SNSECONDS_T_TYPE): Likewise.
10566 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10567 (__SNSECONDS_T_TYPE): Likewise.
10568
6af6528b
L
105692012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10570
10571 * sysdeps/mach/hurd/bits/typesizes.h
10572 (__SYSCALL_SLONG_TYPE): New macro.
10573 (__SYSCALL_ULONG_TYPE): Likewise.
10574
de986b56
L
105752012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10576
10577 * bits/types.h (__syscall_slong_t): New type.
10578 (__syscall_ulong_t): Likewise.
10579
10580 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
10581 (__SYSCALL_ULONG_TYPE): Likewise.
10582 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
10583 (__SYSCALL_SLONG_TYPE): Likewise.
10584 (__SYSCALL_ULONG_TYPE): Likewise.
10585 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
10586 (__SYSCALL_SLONG_TYPE): Likewise.
10587 (__SYSCALL_ULONG_TYPE): Likewise.
10588 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10589 (__SYSCALL_SLONG_TYPE): Likewise.
10590 (__SYSCALL_ULONG_TYPE): Likewise.
10591
85736dc7
L
105922012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10593
10594 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
10595 Add sigaltstack-offsets.sym.
10596 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
10597 <sigaltstack-offsets.h>.
10598 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
10599 longjmp_msg pointer.
10600 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
10601 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
10602 signal stack.
10603 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
10604
cc03b296
JM
106052012-05-15 Joseph Myers <joseph@codesourcery.com>
10606
a9538892
JM
10607 * elf/stackguard-macros.h: Remove file.
10608 * sysdeps/generic/stackguard-macros.h: New file.
10609 * sysdeps/i386/stackguard-macros.h: Likewise.
10610 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
10611 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
10612 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
10613 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
10614 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
10615 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
10616 * sysdeps/x86_64/stackguard-macros.h: Likewise.
10617 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
10618 <elf/stackguard-macros.h>.
10619
cc03b296
JM
10620 [BZ #14109]
10621 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
10622 __aligned__ in attribute.
10623 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
10624 (gregset_t): Likewise.
10625
93171016
L
106262012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10627
10628 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
10629 * sysdeps/x86_64/64/Implies-after: Here. New file.
10630 * sysdeps/x86_64/x32/Implies-after: New file.
10631
d86813a0
L
106322012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10633
10634 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
10635 and access return value for _dl_profile_fixup. Use R10_LP to
10636 load frame size.
10637
2953ec75
L
106382012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10639
10640 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
10641
3b550e9e
L
106422012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10643
10644 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
10645 * sysdeps/x86_64/x32/sysdep.h: New file.
10646
eda41706
L
106472012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10648
10649 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
10650 * sysdeps/x86_64/setjmp.S: Likewise.
10651
9ea01d93
AZ
106522012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10653
10654 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
10655 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
10656 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
10657 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
10658 remove unused global constant.
10659
02a91938
CM
106602012-05-15 Chris Metcalf <cmetcalf@tilera.com>
10661
10662 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
10663 include of <not-cancel.h>.
10664
6540185f
RM
106652012-05-15 Roland McGrath <roland@hack.frob.com>
10666
10667 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
10668
509072a0
AJ
106692012-05-15 Jeff Law <law@redhat.com>
10670 Andreas Jaeger <aj@suse.de>
10671
10672 [BZ #13594]
10673 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
10674 out from...
10675 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
10676 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
10677 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
10678 code changing __hst_map_handle.map.
10679
ba75122d
RM
106802012-05-15 Roland McGrath <roland@hack.frob.com>
10681
10682 * configure.in (sysnames): Look for Implies-before and Implies-after
10683 files.
10684 * configure: Regenerated.
10685
890d8bd8
L
106862012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10687
10688 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
10689 8-byte data alignment with LP_SIZE alignment.
10690
f6ee6623
L
106912012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10692
10693 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
10694 into R10_LP.
10695
ea2626f6
L
106962012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10697
10698 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
10699
085f715e
L
107002012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10701
10702 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
10703 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
10704 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
10705 Likewise.
10706 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
10707
be8498fc
L
107082012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10709
10710 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
10711 (stackinfo_sub_sp): Likewise.
10712
70bc83b9
L
107132012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10714
10715 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
10716 RAX_LP.
10717
9bc0b730
L
107182012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10719
10720 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
10721 into R*_LP.
10722
6d2850e7
L
107232012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10724
10725 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
10726 sizes into R*_LP.
10727
3cb84561
L
107282012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10729
10730 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
10731
54e2ed81
L
107322012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10733
10734 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
10735 into R11_LP and load __x86_64_shared_cache_size_half into
10736 R8_LP.
10737
8a17f349
L
107382012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10739
10740 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
10741 R8_LP.
10742
777b1eea
AZ
107432012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10744
10745 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
10746 logb for POWER7.
10747 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
10748 logbf for POWER7.
10749 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
10750 logbl for POWER7.
10751 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
10752 powerpc32/power7/fpu/s_logb.c via #include.
10753 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
10754 powerpc32/power7/fpu/s_logbf.c via #include.
10755 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
10756 powerpc32/power7/fpu/s_logbl.c via #include.
10757
d20d4ac2
JM
107582012-05-15 Joseph Myers <joseph@codesourcery.com>
10759
10760 * README.libm: Remove file.
10761
6cdef1ab
L
107622012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10763
10764 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
10765 count for x32. Use R*_LP and omit operand-size suffix.
10766
0b254d8f
L
107672012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10768
10769 * shlib-versions: Move x86_64-.*-linux.* entries to ...
10770 * sysdeps/x86_64/64/shlib-versions: Here. New file.
10771 * sysdeps/x86_64/x32/shlib-versions: New file.
10772
ceb809dc
RM
107732012-05-14 Roland McGrath <roland@hack.frob.com>
10774
10775 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
10776 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
10777 Use _dl_fatal_printf instead.
10778
37f1abd4
JM
107792012-05-14 Joseph Myers <joseph@codesourcery.com>
10780
10781 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
10782 set if not set by the user. Do not allow for being unset.
10783 * sysdeps/unix/sysv/linux/configure: Regenerated.
10784
11de3a33
L
107852012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10786
10787 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
10788 the `q' suffix from lea and replace .quad with ASM_ADDR.
10789
e02f153a
L
107902012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10791
10792 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
10793 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
10794 instead of $17.
10795 (PTR_DEMANGLE): Likewise.
10796
520ae0fd
L
107972012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10798
10799 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
10800 (LP_OP): Likewise.
10801 (ASM_ADDR): Likewise.
10802 (RAX_LP): Likewise.
10803 (RBP_LP): Likewise.
10804 (RBX_LP): Likewise.
10805 (RCX_LP): Likewise.
10806 (RDI_LP): Likewise.
10807 (RSI_LP): Likewise.
10808 (RSP_LP): Likewise.
10809 (R8_LP): Likewise.
10810 (R9_LP): Likewise.
10811 (R10_LP): Likewise.
10812 (R10_LP): Likewise.
10813 (R11_LP): Likewise.
10814 (R12_LP): Likewise.
10815 (R13_LP): Likewise.
10816 (R14_LP): Likewise.
10817 (R15_LP): Likewise.
10818
b985be81
L
108192012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10820
10821 * sysdeps/x86_64/x32/dl-machine.h: New file.
10822
6a4888ff
AJ
108232012-05-14 Andreas Jaeger <aj@suse.de>
10824
10825 * manual/Makefile (subdir): Remove export of subdir.
10826 (all): Remove target.
10827 (.PHONY): Remove all from list.
10828 (mkinstalldirs): Remove.
10829 (.PHONY): Remove installdirs from list.
10830 ($(inst_infodir)/libc.info): Use make-target-directory.
10831 (installdirs): Remove.
10832 (subdir_%): Remove.
10833 (glibc-targets): Remove.
10834 (lib): Remove.
10835 (stubs): Remove.
10836 ($(objpfx)stubs ../po/manual.pot): Remove.
10837 ($(objpfx)stamp%): Remove.
10838 (make-target-directory): Remove.
10839 (subdir_install): Remove.
10840 (routines): Remove.
10841 (aux): Remove.
10842 (sources): Remove.
10843 (objects): Remove.
10844 (headers): Remove.
10845
10846 [BZ #13750]
10847 * manual/.gitignore: Remove, it's not needed anymore.
10848 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
10849 all files in it.
10850 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
10851 directory.
10852 (texis): Renamed to $(objpfx)texis.
10853 (texis-path): New, contains path to generated files.
10854 (chapters.%): Use texis-path for complete path, add extra argument
10855 libc-texinfo.sh.
10856 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
10857 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
10858 (summary,texi, stamp-summary): Use complete path of
10859 files. Generate files in build dir.
10860 (dir-add.texi): Build in build dir.
10861 (libm-err.texi,stamp-libm-err): Likewise.
10862 (version.texi, stamp-version): Likewise.
10863 (.%c.texi): Likewise.
10864 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
10865 (mostlyclean): Remove target.
10866 (realclean): Remove target.
10867 (generated): Add new variable with contents from mostlyclean and
10868 realclean, remove entries duplicated in common-mostlyclean, add
10869 stamp-libm-err and stamp-version.
10870 (generated-dirs): Add libc directory.
10871 ($(inst_infodir)/libc.info): Install files from build dir.
10872
10873 * manual/install.texi (Configuring and compiling): Adjust since
10874 the info files are not part of the tar ball anymore.
10875
7ac77294
AJ
108762012-05-14 Andreas Jaeger <aj@suse.de>
10877
10878 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
10879 variable.
10880
ffb7875d
JM
108812012-05-14 Joseph Myers <joseph@codesourcery.com>
10882
10883 [BZ #13717]
10884 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
10885 to 2.2.0 where earlier.
10886 * sysdeps/unix/sysv/linux/configure: Regenerated.
10887 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
10888 Remove conditional code.
10889 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
10890 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
10891 Remove conditional code.
10892 [!__NR_lchown]: Likewise.
10893 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
10894 [__NR_lchown]: Likewise.
10895 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
10896 comment referencing __ASSUME_LCHOWN_SYSCALL.
10897 * sysdeps/unix/sysv/linux/i386/sigaction.c
10898 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
10899 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
10900 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
10901 Remove conditional code.
10902 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
10903 (__protocol_available): Remove #if 0 code.
10904 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
10905 conditional code.
10906 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
10907 * sysdeps/unix/sysv/linux/kernel-features.h
10908 (__ASSUME_GETCWD_SYSCALL): Don't define.
10909 (__ASSUME_REALTIME_SIGNALS): Likewise.
10910 (__ASSUME_PREAD_SYSCALL): Likewise.
10911 (__ASSUME_PWRITE_SYSCALL): Likewise.
10912 (__ASSUME_POLL_SYSCALL): Likewise.
10913 (__ASSUME_LCHOWN_SYSCALL): Likewise.
10914 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
10915 non-SPARC.
10916 (__ASSUME_SIOCGIFNAME): Don't define.
10917 (__ASSUME_MSG_NOSIGNAL): Likewise.
10918 (__ASSUME_SENDFILE): Define unconditionally.
10919 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
10920 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
10921 conditional code.
10922 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
10923 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
10924 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
10925 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
10926 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
10927 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
10928 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
10929 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
10930 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
10931 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10932 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
10933 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
10934 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10935 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
10936 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
10937 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10938 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
10939 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
10940 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
10942 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
10943 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10944 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
10945 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
10946 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10947 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
10948 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
10949 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
10951 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
10952 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10953 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
10954 Remove conditional code.
10955 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10956 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
10957 Remove conditional code.
10958 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10959 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
10960 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
10961 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
10962 Remove conditional code.
10963 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10964 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
10965 Remove conditional code.
10966 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10967 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
10968 Remove conditional code.
10969 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10970 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
10971 Remove conditional code.
10972 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10973 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
10974 Remove conditional code.
10975 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10976 * sysdeps/unix/sysv/linux/sh/pwrite64.c
10977 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
10978 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10979 * sysdeps/unix/sysv/linux/sigaction.c
10980 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
10981 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
10982 * sysdeps/unix/sysv/linux/sigpending.c
10983 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
10984 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
10985 * sysdeps/unix/sysv/linux/sigprocmask.c
10986 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
10987 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
10988 * sysdeps/unix/sysv/linux/sigsuspend.c
10989 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
10990 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
10991 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
10992 (__libc_missing_rt_sigs): Remove.
10993 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
10994 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
10995 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
10996 Remove conditional code.
10997 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
10998 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
10999 return 1.
11000 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
11001 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
11002 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
11003 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
11004
1bfb7291
AJ
110052012-05-14 Andreas Jaeger <aj@suse.de>
11006
caae5a81
AJ
11007 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
11008 it's not used in glibc.
11009 (__coshm1): Likewise.
11010 (__acosh1p): Likewise.
11011 (__sgn): Likewise.
11012
1bfb7291
AJ
11013 * manual/string.texi (Copying and Concatenation): Add missing
11014 variable in concat example.
11015 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
11016
c044d724
L
110172012-05-14 H.J. Lu <hongjiu.lu@intel.com>
11018
144c5467 11019 [BZ #14103]
c044d724
L
11020 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
11021 __builtin_clzl with __builtin_clzll.
11022
2523c62b
L
110232012-05-14 H.J. Lu <hongjiu.lu@intel.com>
11024
11025 [BZ #14104]
11026 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
11027 libc_freeres_ptr.
11028
d7bb4c42
LD
110292012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11030
11031 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
11032 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
11033 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
11034 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
11035
9dc4e1fb
MF
110362012-05-14 Mike Frysinger <vapier@gentoo.org>
11037
11038 * NEWS: Update ia64 info.
11039
c7df0112
AS
110402012-05-12 Andreas Schwab <schwab@linux-m68k.org>
11041
11042 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
11043 used as bcopy.
11044
dc70356c
TS
110452012-05-12 Thomas Schwinge <thomas@codesourcery.com>
11046
11047 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
11048 * sysdeps/unix/syscalls.list (dup3): Likewise.
11049 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
11050 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
11051
9fb1a21f
L
110522012-05-11 H.J. Lu <hongjiu.lu@intel.com>
11053
11054 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
11055 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
11056
4822a2a5
L
110572012-05-11 H.J. Lu <hongjiu.lu@intel.com>
11058
11059 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
11060 thread pointer.
11061 (TLS_IE): Use mov/add instead of movq/addq to load thread
11062 pointer.
11063 (TLS_GD_PREFIX): New.
11064 (TLS_GD): Use it.
11065
842b81d6
DM
110662012-05-11 David S. Miller <davem@davemloft.net>
11067
11068 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
11069 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
11070 (_FPU_SETCW): Likewise.
11071
1cf463cd
L
110722012-05-10 H.J. Lu <hongjiu.lu@intel.com>
11073
11074 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
11075 is 32-byte aligned.
11076
60cc4a18
AS
110772012-05-11 Andreas Schwab <schwab@linux-m68k.org>
11078
11079 [BZ #11837]
11080 * iconvdata/gb18030.c: Update tables.
11081 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
11082 characters specially.
11083 (BODY for TO_LOOP): Add encoding of missing ranges.
11084
febb44a4
TS
110852012-05-11 Thomas Schwinge <thomas@codesourcery.com>
11086
11087 [BZ #13673]
11088 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
11089 * sysdeps/mach/hurd/dup3.c: Likewise.
11090 * sysdeps/mach/hurd/readlinkat.c: Likewise.
11091 * sysdeps/powerpc/memmove.c:: Likewise.
11092
0a10fb9e
L
110932012-05-10 H.J. Lu <hongjiu.lu@intel.com>
11094
11095 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
11096 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
11097
df8a552f
L
110982012-05-10 H.J. Lu <hongjiu.lu@intel.com>
11099
11100 * elf/elf.h (R_X86_64_RELATIVE64): New.
11101 (R_X86_64_NUM): Updated.
11102 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
11103 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
11104 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
11105 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
11106 tst-quad1pie tst-quad2pie
11107 (modules-names): Add tst-quadmod1 tst-quadmod2.
11108 ($(objpfx)tst-quad1): New dependency.
11109 ($(objpfx)tst-quad2): Likewise.
11110 ($(objpfx)tst-quad1pie): Likewise.
11111 ($(objpfx)tst-quad2pie): Likewise.
11112 * sysdeps/x86_64/tst-quad1.c: New file.
11113 * sysdeps/x86_64/tst-quad1pie.c: New file.
11114 * sysdeps/x86_64/tst-quad2.c: Likewise.
11115 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
11116 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
11117 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
11118 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
11119 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
11120
f34d6f84
ST
111212012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11122
f42d41d1
ST
11123 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
11124 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
11125 * streams/stropts.h (t_scalar_t): Define type.
11126
3c3571fc
ST
11127 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
11128 (_PATH_PRESERVE): Set to "/var/lib".
11129 (_PATH_RWHODIR): Set to "/var/spool/rwho".
11130
61f06bd3
ST
11131 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
11132 instead of int.
11133
918d4d71
ST
11134 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
11135 if __dir_mkfile succeeded.
11136
f34d6f84
ST
11137 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
11138 checking for _hurd_dtablesize. Unlock it right after having
11139 finished _hurd_dtable allocation.
11140
10589b4a
TS
111412012-05-10 Thomas Schwinge <thomas@schwinge.name>
11142
674cdbc7
TS
11143 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
11144 * sysdeps/mach/hurd/configure: Regenerated.
11145 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
11146 special-casing to...
11147 * sysdeps/gnu/configure.in: ... this new file.
11148 * sysdeps/unix/sysv/linux/configure: Regenerated.
11149 * sysdeps/gnu/configure: New generated file.
11150
8e41b99f
TS
11151 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
11152 for Linux: use nsec instead of usec, as well as:
11153 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
11154 members of type struct timespec.
11155 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
11156 New macros.
11157 (struct stat64): Likewise.
11158 (_STATBUF_ST_NSEC): New macro.
11159 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
11160
10589b4a
TS
11161 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
11162 __strtoul_internal rather than strtoul.
11163
63643c85
PT
111642012-05-10 Pino Toscano <toscano.pino@tiscali.it>
11165
11166 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
11167 and reject them.
11168
3faebe6a
ST
111692012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11170
11171 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
11172 which preserves existing values.
11173 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
11174
c6474b07
PT
111752012-05-10 Pino Toscano <toscano.pino@tiscali.it>
11176
11177 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
11178 TIMEOUT values. Return EINVAL for NFDS values either negative or
11179 greater than FD_SETSIZE.
11180
1043890b
ST
111812012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11182
11183 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
11184 allocated, call __vm_protect to finish enabling the existing space, and
11185 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
11186 allocate the remainder.
11187
37ed8b9b
PT
111882012-05-10 Pino Toscano <toscano.pino@tiscali.it>
11189
11190 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
11191 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
11192
db653660
ST
111932012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11194
37ed8b9b
PT
11195 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
11196 sysdeps/mach/hurd/readlink.c.
b29d4053 11197
db653660
ST
11198 * posix/tst-sysconf.c (posix_options): Only use
11199 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
11200 _POSIX_SYNCHRONIZED_IO when they are defined
11201 * sysdeps/mach/hurd/bits/posix_opt.h:
11202 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
11203 (_XOPEN_REALTIME): Undefine macro.
11204 (_XOPEN_REALTIME_THREADS): Undefine macro.
11205 (_XOPEN_SHM): Undefine macro.
11206 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
11207 macro to -1.
11208 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
11209 macro to -1.
11210 (_POSIX_ASYNC_IO): Undefine macro.
11211 (_POSIX_PRIORITIZED_IO): Undefine macro.
11212 (_POSIX_SPIN_LOCKS): Define macro to -1.
11213
ee16e894
ST
11214 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
11215 SA_NODEFER, SA_RESETHAND.
11216 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
11217 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
11218 F_DUPFD_CLOEXEC.
11219
6103ae3b
TS
112202012-05-10 Thomas Schwinge <thomas@schwinge.name>
11221
11222 * elf/Makefile (pldd-modules): Define unconditionally.
11223
80b4e5f3
TS
112242012-05-10 Thomas Schwinge <thomas@schwinge.name>
11225
11226 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
11227
edadcbd6
ST
112282012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11229
11230 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
11231 Return ENOENT when name is empty.
11232 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
11233
80694780
TS
112342012-05-10 Thomas Schwinge <thomas@schwinge.name>
11235
1792c087
TS
11236 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
11237
80694780
TS
11238 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
11239
6b645f0d
ST
112402012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11241
80694780
TS
11242 Fix mlock in all cases except non-readable pages.
11243 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
11244 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 11245
6b645f0d
ST
11246 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
11247 (__mkdir): When path is `/', just fail with EEXIST.
11248 * sysdeps/mach/hurd/mkdirat.c: Likewise.
11249
e468f8a3
TS
112502012-05-10 Thomas Schwinge <thomas@schwinge.name>
11251
11252 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
11253 <sys/uio.h> (for writev).
11254 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
11255 and <sys/param.h> (for MIN).
11256
a4186cff
PT
112572012-05-10 Pino Toscano <toscano.pino@tiscali.it>
11258
11259 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
11260 REQUESTED_TIME. Properly set the remaining time and return EINTR
11261 if interrupted.
11262
510bbf14
TS
112632012-05-10 Thomas Schwinge <thomas@schwinge.name>
11264
11265 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
11266 Depend on against $(link-rpcuserlibs).
11267
5d5722e8
ST
112682012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11269
a4186cff
PT
11270 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
11271 (__libc_stack_end): Do not use attribute_relro.
11272 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
11273 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 11274 to libthread-provided value.
a4186cff
PT
11275 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
11276 attribute_relro.
5d5722e8 11277
37233df9
TS
112782012-05-10 Thomas Schwinge <thomas@schwinge.name>
11279
be971a2b
TS
11280 [BZ #3748]
11281 * bits/libc-lock.h (__libc_once_get): New macro.
11282 * sysdeps/mach/bits/libc-lock.h: Likewise.
11283 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
11284 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
11285 instead of using implementation details.
11286
37233df9
TS
11287 * libio/fileops.c: Unconditionally include <kernel-features.h>.
11288 * libio/freopen.c: Likewise.
11289 * libio/freopen64.c: Likewise.
11290 * misc/syslog.c: Likewise.
11291 * nscd/connections.c: Likewise.
11292 * nscd/netgroupcache.c: Likewise.
11293 * sysdeps/posix/getcwd.c: Likewise.
11294
38de94a5
RM
112952012-05-10 Roland McGrath <roland@hack.frob.com>
11296
11297 * math/w_ilogbf.c: Add #include <limits.h>.
11298
67530489
ST
112992012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11300
a4186cff 11301 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
11302 path instead of returning without unlocking.
11303
67530489
ST
11304 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
11305 immediate-write ioctls.
11306 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
11307
5aa3a74a
TS
113082012-05-10 Thomas Schwinge <thomas@schwinge.name>
11309
18bad2ae
TS
11310 * sysdeps/mach/hurd/i386/init-first.c (init): Use
11311 __builtin_frame_address instead of making assumptions about the
11312 location of the return address relative to DATA. Force early load of
11313 the return address.
11314 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
11315 __builtin_frame_address.
11316
5aa3a74a
TS
11317 dup3 for GNU Hurd.
11318 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
11319 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
11320 implement dup3 and do some further code clean-ups.
11321 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
11322 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
11323
ecd0de9a
ST
113242012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11325
cd9fa985
ST
11326 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
11327
a4186cff
PT
11328 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
11329 HURD_CRITICAL_END around holding _hurd_dtable_lock.
11330 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
11331 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
11332 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
11333 d->port.lock.
802ca5a5 11334
a4186cff
PT
11335 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
11336 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
11337 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 11338
bcf55240
TS
113392012-05-10 Thomas Schwinge <thomas@schwinge.name>
11340
6960eb42
TS
11341 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
11342 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
11343 definitions.
11344
eb43375f
TS
11345 accept4 for GNU Hurd.
11346 * include/sys/socket.h (__libc_accept4): New prototype.
11347 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
11348 to implement __libc_accept4.
11349 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
11350 __libc_accept4.
11351 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
11352
bcf55240
TS
11353 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
11354 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
11355 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
11356 signal-defines.sym.
11357
6178c55b
ST
113582012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11359
a4186cff 11360 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 11361
6f080c2f
TS
113622012-05-10 Thomas Schwinge <thomas@schwinge.name>
11363
11364 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
11365 assertion on O_CLOEXEC flag.
11366 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
11367 * hurd/intern-fd.c: Likewise.
11368 * hurd/port2fd.c: Likewise.
11369
bcfe3a54
ST
113702012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11371
11372 [BZ #3906]
11373 * bits/in.h (IPV6_PKTINFO): Define new macro.
11374 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
11375
89c9aa49
AZ
113762012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11377
11378 [BZ #13954]
11379 [BZ #13955]
11380 [BZ #13956]
11381 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
11382 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
11383 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
11384 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
11385 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11386 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
11387 * math/libm-test.inc (logb_test) : Additional logb tests.
11388
021db4be
AJ
113892012-05-09 Andreas Schwab <schwab@linux-m68k.org>
11390 Andreas Jaeger <aj@suse.de>
11391
11392 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
11393 * configure: Regenerated.
11394 * config.h.in (LINK_OBSOLETE_RPC): New macro.
11395 * config.make.in (link-obsolete-rpc): New substituted variable.
11396 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
11397 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
11398 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
11399 (shared-only-routines): Don't set it under [link-obsolete-rpc],
11400 so that libc.a contains the symbols.
11401 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
11402 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
11403 * sunrpc/auth_none.c: Likewise.
11404 * sunrpc/auth_unix.c: Likewise.
11405 * sunrpc/authdes_prot.c: Likewise.
11406 * sunrpc/authuxprot.c: Likewise.
11407 * sunrpc/clnt_gen.c: Likewise.
11408 * sunrpc/clnt_perr.c: Likewise.
11409 * sunrpc/clnt_raw.c: Likewise.
11410 * sunrpc/clnt_simp.c: Likewise.
11411 * sunrpc/clnt_tcp.c: Likewise.
11412 * sunrpc/clnt_udp.c: Likewise.
11413 * sunrpc/clnt_unix.c: Likewise.
11414 * sunrpc/des_crypt.c: Likewise.
11415 * sunrpc/des_soft.c: Likewise.
11416 * sunrpc/get_myaddr.c: Likewise.
11417 * sunrpc/key_call.c: Likewise.
11418 * sunrpc/key_prot.c: Likewise.
11419 * sunrpc/netname.c: Likewise.
11420 * sunrpc/pm_getmaps.c: Likewise.
11421 * sunrpc/pm_getport.c: Likewise.
11422 * sunrpc/pmap_clnt.c: Likewise.
11423 * sunrpc/pmap_prot.c: Likewise.
11424 * sunrpc/pmap_prot2.c: Likewise.
11425 * sunrpc/pmap_rmt.c: Likewise.
11426 * sunrpc/publickey.c: Likewise.
11427 * sunrpc/rpc_cmsg.c: Likewise.
11428 * sunrpc/rpc_common.c: Likewise.
11429 * sunrpc/rpc_dtable.c: Likewise.
11430 * sunrpc/rpc_prot.c: Likewise.
11431 * sunrpc/rpc_thread.c: Likewise.
11432 * sunrpc/rtime.c: Likewise.
11433 * sunrpc/svc.c: Likewise.
11434 * sunrpc/svc_auth.c: Likewise.
11435 * sunrpc/svc_raw.c: Likewise.
11436 * sunrpc/svc_run.c: Likewise.
11437 * sunrpc/svc_tcp.c: Likewise.
11438 * sunrpc/svc_udp.c: Likewise.
11439 * sunrpc/svc_unix.c: Likewise.
11440 * sunrpc/svcauth_des.c: Likewise.
11441 * sunrpc/xcrypt.c: Likewise.
11442 * sunrpc/xdr.c: Likewise.
11443 * sunrpc/xdr_array.c: Likewise.
11444 * sunrpc/xdr_float.c: Likewise.
11445 * sunrpc/xdr_intXX_t.c: Likewise.
11446 * sunrpc/xdr_mem.c: Likewise.
11447 * sunrpc/xdr_rec.c: Likewise.
11448 * sunrpc/xdr_ref.c: Likewise.
11449 * sunrpc/xdr_sizeof.c: Likewise.
11450 * sunrpc/xdr_stdio.c: Likewise.
11451
b5c086a2
RM
114522012-05-10 Roland McGrath <roland@hack.frob.com>
11453
11454 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
11455 change. Update copyright years.
11456
6d74dd09
JM
114572012-05-10 Joseph Myers <joseph@codesourcery.com>
11458
11459 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
11460
28e72501
MK
114612012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
11462 Joseph Myers <joseph@codesourcery.com>
11463 Paul Pluzhnikov <ppluzhnikov@google.com>
11464
11465 [BZ #14012]
11466 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
11467 requiring rpcgen.
11468 [cross-compiling] (extra-libs): Likewise.
11469 [cross-compiling] (extra-libs-others): Likewise.
11470 [cross-compiling] (librpcsvc-routines): Likewise.
11471 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
11472 [cross-compiling] (omit-deps): Likewise.
11473 (sunrpc-CPPFLAGS): New variable.
11474 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
11475 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
11476 (cross-rpcgen-objs): New variable.
11477 (extra-objs): Append $(cross-rpcgen-objs).
11478 ($(cross-rpcgen-objs)): New rule.
11479 ($(objpfx)cross-rpcgen): Likewise.
11480 (rpcgen-cmd): Define to use $(built-program-file). Expand
11481 comment.
11482 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
11483 ($(objpfx)x%.stmp): Likewise.
11484 * sunrpc/proto.h [IS_IN_build] (_): Define.
11485 [IS_IN_build] (_libc_intl_domainname): Likewise.
11486
c8c59454
L
114872012-05-10 H.J. Lu <hongjiu.lu@intel.com>
11488
11489 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
11490 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
11491 and R_X86_64_TPOFF64.
11492
6f27cd16
JM
114932012-05-10 Joseph Myers <joseph@codesourcery.com>
11494
11495 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
11496 sysdeps/unix/sysv/syscalls.list.
11497 (stime): Likewise.
11498 (utime): Likewise.
11499 * sysdeps/unix/sysv/syscalls.list: Remove file.
11500
02467e1c
PE
115012012-05-10 Paul Eggert <eggert@cs.ucla.edu>
11502
11503 [BZ #3440]
11504 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
11505 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
11506 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
11507 (__LC_IDENTIFICATION): Make these macros useful in #if
11508 expressions, as required by C99.
11509
da392631
AS
115102012-05-10 Andreas Schwab <schwab@linux-m68k.org>
11511
11512 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
11513 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
11514 after this.
11515
8115f29b
L
115162012-05-09 H.J. Lu <hongjiu.lu@intel.com>
11517
11518 * stdlib/longlong.h: Updated from GCC.
11519
bdd74070
AJ
115202012-05-09 Andreas Jaeger <aj@suse.de>
11521
edfe0dbe
AJ
11522 * nscd/nscd.c (run_modes): Make named enum, reorder so that
11523 default is first entry.
11524 (run_mode): Set type.
11525 (main): Remove informal message about syslog.
11526 (options): Fix typo.
11527
bcfe3a54
ST
11528 [BZ #14053]
11529 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 11530 to asm.
bcfe3a54
ST
11531 (lrint): Likewise.
11532 (llrintf): Likewise.
11533 (llrint): Likewise.
11534 (rint): Likewise.
11535 (rintf): Likewise.
11536 (nearbyint): Likewise.
11537 (nearbyintf): Likewise.
bdd74070 11538
91d8d69e
AJ
115392012-05-09 Andreas Jaeger <aj@suse.de>
11540 Pedro Alves <palves@redhat.com>
11541
11542 * nscd/nscd.c (run_mode): Use enum.
11543 (main): Cleanup coding style issue.
11544
bb90b80b
AJ
115452012-05-09 Alexandre Oliva <aoliva@redhat.com>
11546 Andreas Jaeger <aj@suse.de>
11547
bcfe3a54
ST
11548 * nscd/nscd.c (go_background): Replaced with...
11549 (run_mode): ... this.
bb90b80b 11550 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
11551 (options): Add -F --foreground.
11552 (main): Implement it.
11553 (parse_opt): Parse it.
bb90b80b 11554
1a4b75a1
AJ
115552012-05-09 Andreas Jaeger <aj@suse.de>
11556
11557 [BZ #14083]
11558 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
11559 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
11560 -Wconversion warning.
11561 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
11562 Likewise.
11563
b1cc2472
JM
115642012-05-09 Joseph Myers <joseph@codesourcery.com>
11565
11566 * conform/data/locale.h-data (NULL): Use macro-constant. Require
11567 == 0.
11568 (LC_ALL): Use macro-int-constant.
11569 (LC_COLLATE): Likewise.
11570 (LC_CTYPE): Likewise.
11571 (LC_MESSAGES): Likewise.
11572 (LC_MONETARY): Likewise.
11573 (LC_NUMERIC): Likewise.
11574 (LC_TIME): Likewise.
11575 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
11576 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
11577 [ISO || ISO99 || ISO11] (*_t): Do not allow.
11578 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
11579 Specify type.
11580 [C99-based standards] (float_t): Expect type.
11581 [C99-based standards] (double_t): Expect type.
11582 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
11583 type.
11584 [C99-based standards] (HUGE_VALL): Likewise.
11585 [C99-based standards] (INFINITY): Likewise.
11586 [C99-based standards] (NAN): Likewise.
11587 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
11588 [C99-based standards] (FP_NAN): Likewise.
11589 [C99-based standards] (FP_NORMAL): Likewise.
11590 [C99-based standards] (FP_SUBNORMAL): Likewise.
11591 [C99-based standards] (FP_ZERO): Likewise.
11592 [C99-based standards] (FP_FAST_FMA): Use
11593 optional-macro-int-constant. Specify type. Require == 1.
11594 [C99-based standards] (FP_FAST_FMAF): Likewise.
11595 [C99-based standards] (FP_FAST_FMAL): Likewise.
11596 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
11597 [C99-based standards] (FP_ILOGBNAN): Likewise.
11598 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
11599 Specify type.
11600 [C99-based standards] (MATH_ERREXCEPT): Likewise.
11601 [C99-based standards] (math_errhandling): Specify type.
11602 [ISO99 || ISO11] (signgam): Do not allow.
11603 [non-C99-based standards] (copysignf): Do not allow.
11604 [non-C99-based standards] (exp2f): Likewise.
11605 [non-C99-based standards] (log2f): Likewise.
11606 [non-C99-based standards] (modff): Allow.
11607 [non-C99-based standards] (erff): Do not allow.
11608 [non-C99-based standards] (erfcf): Likewise.
11609 [non-C99-based standards] (gammaf): Likewise.
11610 [non-C99-based standards] (hypotf): Likewise.
11611 [non-C99-based standards] (j0f): Likewise.
11612 [non-C99-based standards] (j1f): Likewise.
11613 [non-C99-based standards] (jnf): Likewise.
11614 [non-C99-based standards] (lgammaf): Likewise.
11615 [non-C99-based standards] (tgammaf): Likewise.
11616 [non-C99-based standards] (y0f): Likewise.
11617 [non-C99-based standards] (y1f): Likewise.
11618 [non-C99-based standards] (ynf): Likewise.
11619 [non-C99-based standards] (isnanf): Likewise.
11620 [non-C99-based standards] (acoshf): Likewise.
11621 [non-C99-based standards] (asinhf): Likewise.
11622 [non-C99-based standards] (atanhf): Likewise.
11623 [non-C99-based standards] (cbrtf): Likewise.
11624 [non-C99-based standards] (expm1f): Likewise.
11625 [non-C99-based standards] (ilogbf): Likewise.
11626 [non-C99-based standards] (log1pf): Likewise.
11627 [non-C99-based standards] (logbf): Likewise.
11628 [non-C99-based standards] (nextafterf): Likewise.
11629 [non-C99-based standards] (remainderf): Likewise.
11630 [non-C99-based standards] (rintf): Likewise.
11631 [non-C99-based standards] (scalbf): Likewise.
11632 [non-C99-based standards] (copysignl): Likewise.
11633 [non-C99-based standards] (exp2l): Likewise.
11634 [non-C99-based standards] (log2l): Likewise.
11635 [non-C99-based standards] (modfl): Allow.
11636 [non-C99-based standards] (erfl): Do not allow.
11637 [non-C99-based standards] (erfcl): Likewise.
11638 [non-C99-based standards] (gammal): Likewise.
11639 [non-C99-based standards] (hypotl): Likewise.
11640 [non-C99-based standards] (j0l): Likewise.
11641 [non-C99-based standards] (j1l): Likewise.
11642 [non-C99-based standards] (jnl): Likewise.
11643 [non-C99-based standards] (lgammal): Likewise.
11644 [non-C99-based standards] (tgammal): Likewise.
11645 [non-C99-based standards] (y0l): Likewise.
11646 [non-C99-based standards] (y1l): Likewise.
11647 [non-C99-based standards] (ynl): Likewise.
11648 [non-C99-based standards] (isnanl): Likewise.
11649 [non-C99-based standards] (acoshl): Likewise.
11650 [non-C99-based standards] (asinhl): Likewise.
11651 [non-C99-based standards] (atanhl): Likewise.
11652 [non-C99-based standards] (cbrtl): Likewise.
11653 [non-C99-based standards] (expm1l): Likewise.
11654 [non-C99-based standards] (ilogbl): Likewise.
11655 [non-C99-based standards] (log1pl): Likewise.
11656 [non-C99-based standards] (logbl): Likewise.
11657 [non-C99-based standards] (nextafterl): Likewise.
11658 [non-C99-based standards] (remainderl): Likewise.
11659 [non-C99-based standards] (rintl): Likewise.
11660 [non-C99-based standards] (scalbl): Likewise.
11661 [ISO || ISO99 || ISO11] (*_t): Do not allow.
11662 [non-C99-based standards] (FP_*): Do not allow.
11663 [C99-based standards] (FP_*): Change to
11664 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
11665 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
11666 allow.
11667 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
11668 (SIG_ERR): Likewise.
11669 [X/Open-based standards] (SIG_HOLD): Likewise.
11670 (SIG_IGN): Likewise.
11671 (SIGABRT): Use macro-int-constant. Specify type. Require
11672 positive value.
11673 (SIGFPE): Likewise.
11674 (SIGILL): Likewise.
11675 (SIGINT): Likewise.
11676 (SIGSEGV): Likewise.
11677 (SIGTER): Likewise.
11678 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
11679 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
11680 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
11681 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
11682 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
11683 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
11684 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
11685 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
11686 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
11687 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
11688 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
11689 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
11690 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
11691 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
11692 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
11693 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
11694 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
11695 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
11696 [X/Open-based standards] (SIGTRAP): Likewise.
11697 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
11698 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
11699 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
11700 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
11701 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
11702 allow.
11703
b9f1922d
IW
117042012-05-08 Ian Wienand <ianw@vmware.com>
11705
11706 [BZ #14080]
11707 * time/tzset.c (__tzset_parse_tz): Update default rules for
11708 daylight time changes in the Energy Policy Act of 2005.
11709
1db86e88
AJ
117102012-05-09 Andreas Jaeger <aj@suse.de>
11711
11712 [BZ #13983]
11713 * elf/ldconfig.c (parse_conf): Change string to make clear that
11714 ldconfig only issued a warning if ld.so.conf does not exist.
11715
dee4a4e3
DM
117162012-05-08 David S. Miller <davem@davemloft.net>
11717
ee0db190
DM
11718 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
11719 movxtod instead of popping the value on the stack.
11720
dee4a4e3
DM
11721 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11722
6a43ec98
CD
117232012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
11724
11725 * config.h.in: Add HAVE_ARM_PCS_VFP.
11726
05c2c961
RMG
117272012-05-08 Roland Mc Grath <roland@hack.frob.com>
11728
bcfe3a54
ST
11729 [BZ #13979]
11730 * include/features.h: Warn if user requests __FORTIFY_SOURCE
11731 checking but the checks are disabled for any reason.
05c2c961 11732
4b30f61a
L
117332012-05-08 H.J. Lu <hongjiu.lu@intel.com>
11734
11735 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
11736 and ELF64_R_TYPE with ELFW(R_TYPE).
11737
eee2bc67
JM
117382012-05-08 Joseph Myers <joseph@codesourcery.com>
11739
7ea5391a
JM
11740 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
11741 (ulimit): Likewise.
11742
eee2bc67
JM
11743 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
11744 (settimeofday): Likewise.
11745
abb66a67
MF
117462012-05-08 Mike Frysinger <vapier@gentoo.org>
11747
11748 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
11749 a struct th_u2 inside the union, and move tu_block/tu_code into
11750 a new th_u3 union of tu_block/tu_code inside of that. Move
11751 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
11752 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
11753 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
11754 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
11755 (th_stuff): Change to th_u1.tu_stuff.
11756 (th_data): Define.
11757 (th_msg): Change to th_u1.th_u2.tu_data.
11758
7f18b530
DM
117592012-05-07 David S. Miller <davem@davemloft.net>
11760
05760585
DM
11761 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11762
7f18b530
DM
11763 [BZ #14074]
11764 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
11765 (SETUP_PIC_REG): Use it.
11766 (SETUP_PIC_REG_LEAF): Use it.
11767
495fd99f
JM
117682012-05-07 Joseph Myers <joseph@codesourcery.com>
11769
11770 [BZ #13885]
11771 [BZ #13923]
11772 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
11773 USE_AS_EXPM1L.
11774 (EXPL_FINITE): Likewise.
11775 (FLDLOG): Likewise.
11776 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
11777 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
11778 e_expl.S.
11779 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
11780 USE_AS_EXPM1L.
11781 (EXPL_FINITE): Likewise.
11782 (FLDLOG): Likewise.
11783 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
11784 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
11785 e_expl.S.
11786 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
11787 test of -max_value argument for long double.
11788 * sysdeps/i386/fpu/libm-test-ulps: Update.
11789 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11790
6693d694
DM
117912012-05-06 David S. Miller <davem@davemloft.net>
11792
11793 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
11794 quad soft-float symbols whose references which are compiler
11795 generated.
11796 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
11797
6c23e11c
JM
117982012-05-06 Joseph Myers <joseph@codesourcery.com>
11799
d8b82cad
JM
11800 [BZ #13884]
11801 [BZ #13914]
11802 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
11803 USE_AS_EXP10L.
11804 (EXPL_FINITE): Likewise.
11805 (FLDLOG): Likewise.
11806 (c0): Likewise.
11807 (c1): Likewise.
11808 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
11809 Adjust comments for base varying.
11810 (__expl_finite): Change alias to EXPL_FINITE.
11811 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
11812 e_expl.S.
11813 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
11814 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
11815 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
11816 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
11817 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
11818 USE_AS_EXP10L.
11819 (EXPL_FINITE): Likewise.
11820 (FLDLOG): Likewise.
11821 (c0): Likewise.
11822 (c1): Likewise.
11823 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
11824 Adjust comments for base varying.
11825 (__expl_finite): Change alias to EXPL_FINITE.
11826 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
11827 tests for bugs.
11828 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11829
6c23e11c
JM
11830 [BZ #14064]
11831 * math/libm-test.inc (check_float_internal): Correct ulp
11832 calculation for subnormal expected results.
11833
29ba805c
AJ
118342012-05-06 Andreas Jaeger <aj@suse.de>
11835
11836 * Makeconfig (+math-flags): New, set to -frounding-math.
11837 (+cflags): Add +math-flags so that all of glibc gets compiled with
11838 it.
11839
11840 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
11841
7b17aeda
JM
118422012-05-05 Joseph Myers <joseph@codesourcery.com>
11843
5779f134
JM
11844 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
11845 Disable one test.
11846
41498f4d
JM
11847 [BZ #13787]
11848 [BZ #13922]
11849 [BZ #14036]
11850 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
11851 (__ieee754_expl): Allow for and saturate large arguments.
11852 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
11853 (u_threshold): Likewise.
11854 (__exp): Call __ieee754_exp before checking for overflow and
11855 underflow.
11856 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
11857 (u_threshold): Likewise.
11858 (__expf): Call __ieee754_expf before checking for overflow and
11859 underflow.
11860 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
11861 (u_threshold): Likewise.
11862 (__expl): Call __ieee754_expl before checking for overflow and
11863 underflow.
11864 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
11865 (__ieee754_expl): Allow for and saturate large arguments.
11866 * math/libm-test.inc (exp_test): Add another test. Do not allow
11867 missing overflow exception on overflow.
11868 (expm1_test): Do not allow missing overflow exception on overflow.
11869
6698b8bf
JM
11870 * sysdeps/i386/fpu/e_expl.c: Move to ...
11871 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
11872 rather than using inline asm.
11873 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
11874 * sysdeps/x86_64/fpu/e_expl.S: Copy from
11875 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
11876
7b17aeda
JM
11877 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
11878 (nice): Likewise.
11879 (poll): Likewise.
11880 (signal): Likewise.
11881 (time): Likewise.
11882 (times): Likewise.
11883
f7c85819
JM
118842012-05-04 Joseph Myers <joseph@codesourcery.com>
11885
11886 * sysdeps/unix/syscalls.list (adjtime): Add entry from
11887 sysdeps/unix/common/syscalls.list.
11888 (fchmod): Likewise.
11889 (fchown): Likewise.
11890 (ftruncate): Likewise.
11891 (getrusage): Likewise.
11892 (gettimeofday): Likewise.
11893 (setpgid): Likewise.
11894 (setregid): Likewise.
11895 (setreuid): Likewise.
11896 (sigaction): Likewise.
11897 (truncate): Likewise.
11898 (vhangup): Likewise.
11899 * sysdeps/unix/common/syscalls.list: Remove file.
11900 * sysdeps/unix/bsd/Implies: Don't include unix/common.
11901 * sysdeps/unix/sysv/linux/Implies: Likewise.
11902
336270d0
L
119032012-05-04 H.J. Lu <hongjiu.lu@intel.com>
11904
11905 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
11906 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
11907 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
11908 Moved to ...
11909 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
11910 Here.
11911 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
11912 to ...
11913 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
11914 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
11915 to ...
11916 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
11917 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
11918 to ...
11919 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
11920 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
11921 to ...
11922 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
11923 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
11924 to ...
11925 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
11926 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
11927 to ...
11928 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
11929 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
11930 to ...
11931 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
11932 Here.
11933 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
11934 to ...
11935 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
11936 Here.
11937 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
11938 to ...
11939 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
11940 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
11941 Moved to ...
11942 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
11943 Here.
11944 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
11945 to ...
11946 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
11947
d128e450
JM
119482012-05-04 Joseph Myers <joseph@codesourcery.com>
11949
fa8ee516
JM
11950 * sysdeps/unix/common/bits/dirent.h: Remove file.
11951 * sysdeps/unix/common/bits/fcntl.h: Likewise.
11952
d128e450
JM
11953 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
11954 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
11955 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
11956 * sysdeps/unix/bsd/isatty.c: Likewise.
11957 * sysdeps/unix/bsd/tcdrain.c: Likewise.
11958 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
11959 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
11960
ff8faaf0 119612012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 11962
62881be4 11963 [BZ #13563]
31dc8730
AZ
11964 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
11965 long double comparison inaccuracies.
11966 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
11967 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11968
6fef930c
AS
119692012-05-04 Andreas Schwab <schwab@linux-m68k.org>
11970
11971 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
11972 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
11973
8f203e6c
JM
119742012-05-04 Joseph Myers <joseph@codesourcery.com>
11975
11976 [BZ #14049]
11977 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
11978 nonzero digits before rounding a hex value.
11979 * stdlib/tst-strtod.c (tests): Add another test.
11980
5197d9c2
AK
119812012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11982
11983 * sysdeps/s390/fpu/libm-test-ulps: Update.
11984
f0c1dedf
AJ
119852012-05-03 Andreas Jaeger <aj@suse.de>
11986
11987 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
11988 does not get optimized out.
11989 (malloc_opt_barrier): New.
11990
a65ef2ae 119912012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 11992 Roland McGrath <roland@hack.frob.com>
a65ef2ae 11993
2b942cb7 11994 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 11995 intermediate file deletion.
2b942cb7 11996 (generated): Add .symlist files.
a65ef2ae 11997
54b71e02
JM
119982012-05-03 Joseph Myers <joseph@codesourcery.com>
11999
12000 [BZ #13775]
12001 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
12002 Redirect under this condition.
12003 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
12004 [__USE_GNU] (__dprintf_chk): Not under this condition.
12005 [__USE_GNU] (__vdprintf_chk): Likewise.
12006 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
12007 under this condition.
12008 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
12009 [__USE_XOPEN2K8] (dprintf): Define under this condition.
12010 [__USE_XOPEN2K8] (vdprintf): Likewise.
12011 [__USE_GNU] (__dprintf_chk): Not under this condition.
12012 [__USE_GNU] (__vdprintf_chk): Likewise.
12013 [__USE_GNU] (dprintf): Likewise.
12014 [__USE_GNU] (vdprintf): Likewise.
12015
d3dfcc41
RM
120162012-05-03 Roland McGrath <roland@hack.frob.com>
12017
12018 * elf/Makefile (common-generated): Set this instead of generated for
12019 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
12020 $(all-built-dso)-derived lists.
12021
7ac30cc5
AJ
120222012-05-03 Andreas Jaeger <aj@suse.de>
12023
0c51e550
AJ
12024 * sysdeps/i386/fpu/libm-test-ulps: Update.
12025
7ac30cc5
AJ
12026 * FAQ: Removed.
12027 * FAQ.in: Likewise.
12028 * scripts/gen-FAQ.pl: Likewise.
12029 * manual/install.texi (Installation): Point to online location of
12030 FAQ.
12031 * Makefile (files-for-dist): Remove FAQ.
12032 (FAQ): Remove.
12033
d4c2917f
AM
120342012-05-02 Allan McRae <allan@archlinux.org>
12035
12036 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
12037 (LDFLAGS-reldepmod5.so): Likewise.
12038 (LDFLAGS-reldep6mod1.so): Likewise.
12039 (LDFLAGS-reldep6mod4.so): Likewise.
12040 (LDFLAGS-reldep8mod3.so): Likewise.
12041 (LDFLAGS-unload4mod1.so): Likewise.
12042 (LDFLAGS-unload4mod2.so): Likewise.
12043 (LDFLAGS-tst-initorder): Likewise.
12044 (LDFLAGS-tst-initordera2.so): Likewise.
12045 (LDFLAGS-tst-initordera3.so): Likewise.
12046 (LDFLAGS-tst-initordera4.so): Likewise.
12047 (LDFLAGS-tst-initorderb2.so): Likewise.
12048 (LDFLAGS-noload): Likewise.
12049 (LDFLAGS-next): Likewise.
12050 (LDFLAGS-order2mod1.so): Likewise.
12051 (LDFLAGS-order2mod2.so): Likewise.
12052 (LDFLAGS-tst-initorder2): Likewise.
12053 (LDFLAGS-tst-initorder2a.so): Likewise.
12054 (LDFLAGS-tst-initorder2b.so): Likewise.
12055 (LDFLAGS-tst-initorder2c.so): Likewise.
12056 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
12057
d77f993f
DM
120582012-05-02 David S. Miller <davem@davemloft.net>
12059
12060 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12061
171a70b4
PP
120622012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
12063
12064 [BZ #14055]
12065 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
12066
0be196ad
AJ
120672012-05-02 Andreas Jaeger <aj@suse.de>
12068
12069 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
12070 since we manipulate rounding mode.
12071 (CPPFLAGS-test-idouble.c): Likewise.
12072 (CPPFLAGS-test-ifloat.c): Likewise.
12073 (CFLAGS-test-ldouble.c): Likewise.
12074 (CFLAGS-test-double.c): Likewise.
12075 (CFLAGS-test-float.c): Likewise.
12076 (CFLAGS-test-misc.c): Likewise.
12077 (CFLAGS-test-test-fenv.c): Likewise.
12078
4f9d04aa
AZ
120792012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12080
2b942cb7
RM
12081 [BZ #2550]
12082 [BZ #2570]
12083 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
12084 comparisons to determine direction to adjust input.
4f9d04aa 12085
82a79e7d
RM
120862012-05-01 Roland McGrath <roland@hack.frob.com>
12087
f5a01ca9
RM
12088 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
12089 output to the target.
12090
90fe4186
RM
12091 * scripts/localplt.awk: New file.
12092 * elf/Makefile ($(objpfx)check-localplt): Target removed.
12093 (check-localplt-CFLAGS): Variable removed.
12094 ($(all-built-dso:=.jmprel)): New static pattern rule.
12095 (generated): Add those targets.
12096 (localplt-built-dso): New variable.
12097 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
12098
12099 * elf/check-localplt.c: File removed.
12100
82397ed6
RM
12101 * scripts/check-execstack.awk: New file.
12102 * elf/Makefile ($(objpfx)check-execstack): Target removed.
12103 (check-execstack-CFLAGS): Variable removed.
12104 ($(objpfx)check-execstack.h): Target removed.
12105 ($(objpfx)execstack-default): New target.
12106 (generated): Add that instead of check-execstack.h.
12107 ($(all-built-dso:=.phdr)): New static pattern rule.
12108 (generated): Add those targets.
12109 * elf/check-execstack.c: File removed.
12110
82a79e7d
RM
12111 * scripts/check-textrel.awk: New file.
12112 * elf/Makefile ($(objpfx)check-textrel): Target removed.
12113 (check-textrel-CFLAGS): Variable removed.
12114 (all-built-dso): Use := to define.o
12115 ($(all-built-dso:=.dyn)): New static pattern rule.
12116 (generated): Add those targets.
12117 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
12118 * config.make.in (READELF): New substituted variable.
12119 * elf/check-textrel.c: File removed.
12120
62fde54f 121212012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 12122
615605c9
JM
12123 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
12124 allow.
12125 * conform/data/ctype.h-data [C99-based standards] (isblank):
12126 Expect function.
12127 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
12128 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
12129 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12130 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
12131 Specify type. Require positive value.
12132 (EILSEQ): Likewise.
12133 (ERANGE): Likewise.
12134 [ISO || POSIX] (EILSEQ): Do not expect.
12135 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
12136 Specify type. Require positive value.
12137 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
12138 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
12139 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
12140 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
12141 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
12142 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
12143 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
12144 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
12145 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
12146 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
12147 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
12148 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
12149 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
12150 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
12151 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
12152 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
12153 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
12154 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
12155 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
12156 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
12157 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
12158 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
12159 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
12160 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
12161 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
12162 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
12163 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
12164 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
12165 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
12166 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
12167 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
12168 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
12169 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
12170 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
12171 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
12172 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
12173 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
12174 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
12175 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
12176 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
12177 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
12178 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
12179 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
12180 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
12181 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
12182 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
12183 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
12184 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
12185 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
12186 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
12187 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
12188 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
12189 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
12190 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
12191 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
12192 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
12193 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
12194 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
12195 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
12196 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
12197 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
12198 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
12199 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
12200 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
12201 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
12202 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
12203 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
12204 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
12205 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
12206 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
12207 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
12208 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
12209 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
12210 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
12211 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
12212 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
12213 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
12214 Require >= 2.
12215 (FLT_ROUNDS): Expect as macro, not constant.
12216 (FLT_MANT_DIG): Use macro-int-constant.
12217 (DBL_MANT_DIG): Likewise.
12218 (LDBL_MANT_DIG): Likewise.
12219 (FLT_DIG): Likewise.
12220 (DBL_DIG): Likewise.
12221 (LDBL_DIG): Likewise.
12222 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
12223 (DBL_MIN_EXP): Likewise.
12224 (LDBL_MIN_EXP): Likewise.
12225 (FLT_MAX_EXP): Use macro-int-constant.
12226 (DBL_MAX_EXP): Likewise.
12227 (LDBL_MAX_EXP): Likewise.
12228 (FLT_MAX_10_EXP): Likewise.
12229 (DBL_MAX_10_EXP): Likewise.
12230 (LDBL_MAX_10_EXP): Likewise.
12231 (FLT_MAX): Use macro-constant.
12232 (DBL_MAX): Likewise.
12233 (LDBL_MAX): Likewise.
12234 (FLT_EPSILON): Use macro-constant. Give upper bound.
12235 (DBL_EPSILON): Likewise.
12236 (LDBL_EPSILON): Likewise.
12237 (FLT_MIN): Likewise.
12238 (DBL_MIN): Likewise.
12239 (LDBL_MIN): Likewise.
12240 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
12241 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
12242 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
12243 [ISO11] (FLT_HAS_SUBNORM): Likewise.
12244 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
12245 [ISO11] (DBL_DECIMAL_DIG): Likewise.
12246 [ISO11] (FLT_DECIMAL_DIG): Likewise.
12247 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
12248 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
12249 [ISO11] (FLT_TRUE_MIN): Likewise.
12250 [ISO11] (LDBL_TRUE_MIN): Likewise.
12251 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12252 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
12253 (SCHAR_MIN): Use macro-int-constant. Specify type.
12254 (SCHAR_MAX): Likewise.
12255 (UCHAR_MAX): Likewise.
12256 (CHAR_MIN): Likewise.
12257 (CHAR_MAX): Likewise.
12258 (MB_LEN_MAX): Use macro-int-constant.
12259 (SHRT_MIN): Use macro-int-constant. Specify type.
12260 (SHRT_MAX): Likewise.
12261 (USHRT_MAX): Likewise.
12262 (INT_MAX): Likewise.
12263 (INT_MIN): Use macro-int-constant. Specify type. Make upper
12264 bound negative.
12265 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
12266 bound with "U".
12267 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
12268 bound with "L".
12269 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
12270 bound negative. Suffix upper bound with "L".
12271 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
12272 bound with "UL".
12273 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
12274 Specify type.
12275 [C99-based standards] (LLONG_MAX): Likewise.
12276 [C99-based standards] (ULLONG_MAX): Likewise.
12277 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
12278 == 0.
12279 [ISO11] (max_align_t): Require type.
12280 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12281
c9140a62
JM
12282 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
12283 from $CFLAGS, without defining away __attribute__ calls.
12284 (checknamespace): Use $CFLAGS_namespace.
12285
9af0bf29
JM
12286 * conform/conformtest.pl (@keywords): Only include C99 keywords
12287 for standards based on C99 or C11.
12288
343222a2
JM
12289 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
12290 Disable tests.
12291 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
12292 UNIX98]: Likewise.
12293
661f8cf0
JM
12294 * conform/conformtest.pl: Handle "macro-int-constant" and test for
12295 usability of symbols in #if.
12296
ee74b9cb
JM
12297 * conform/conformtest.pl: If macro or constant types start
12298 "promoted:", expect the symbol to be of the following type
12299 promoted by the integer promotions.
62fde54f 12300
aafc49b3
JM
12301 * conform/conformtest.pl: Parse all "constant" and "macro" lines
12302 in one place. Also handle "macro-constant".
12303
fefdf574
JM
12304 * conform/conformtest.pl: Only accept expected macro values with
12305 "==". Parse all "macro" lines in one place.
12306 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
12307
f2d922fe
JM
12308 * conform/conformtest.pl: Handle braced types on "constant" lines
12309 instead of handling "typed-constant".
12310 * conform/data/signal.h-data: Use "constant" instead of
12311 "typed-constant".
12312
d22956c9
JM
12313 * conform/conformtest.pl: Handle "optional-" at start of lines in
12314 one place rather than duplicating several cases. Handle each
12315 format of "macro" line with initial "optional-".
12316
028e2e38
JM
12317 * conform/conformtest.pl: Only accept expected constant or
12318 optional-constant values with "==". Parse all "constant" lines in
12319 one place. Parse all "optional-constant" lines in one place.
12320 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
12321 * conform/data/fmtmsg.h-data: Likewise.
12322 * conform/data/netinet/in.h-data: Likewise.
12323 * conform/data/tar.h-data: Likewise.
12324 * conform/data/limits.h-data: Use "==" form on "constant" and
12325 "optional-constant" lines.
12326
1b8f2850
JM
12327 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
12328 Use -std=c99 for XOPEN2K.
12329 (@knownproblems): Remove.
12330 (newtoken): Don't check %isknown.
12331
a05a144b
JM
12332 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
12333 Do not expect macro.
12334 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
12335 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
12336 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
12337 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
12338 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
12339 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
12340 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
12341 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
12342 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
12343 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
12344 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
12345 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
12346 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
12347 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
12348 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
12349 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
12350 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
12351 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
12352 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
12353 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
12354 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
12355 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
12356 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
12357 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
12358 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
12359 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
12360 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
12361 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
12362 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
12363 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
12364 [XPG3] (acosh): Likewise.
12365 [XPG3] (asinh): Likewise.
12366 [XPG3] (atanh): Likewise.
12367 [XPG3] (cbrt): Likewise.
12368 [XPG3] (expm1): Likewise.
12369 [XPG3] (ilogb): Likewise.
12370 [XPG3] (log1p): Likewise.
12371 [XPG3] (logb): Likewise.
12372 [XPG3] (nextafter): Likewise.
12373 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
12374 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
12375 [XPG3] (remainder): Likewise.
12376 [XPG3] (rint): Likewise.
12377 [XPG3 || XPG4 || UNIX98] (round): Likewise.
12378 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
12379 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
12380 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
12381 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
12382 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
12383 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
12384 [UNIX98 || XOPEN2K] (scalb): Expect.
12385 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
12386 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
12387 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
12388 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
12389 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
12390 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
12391 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
12392 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
12393 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
12394 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
12395 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
12396 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
12397 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
12398 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
12399 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
12400 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
12401 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
12402 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
12403 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
12404 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
12405 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
12406 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
12407 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
12408 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
12409 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
12410 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
12411 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
12412 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
12413 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
12414 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
12415 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
12416 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
12417 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
12418 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
12419 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
12420 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
12421 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
12422 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
12423 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
12424 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
12425 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
12426 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
12427 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
12428 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
12429 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
12430 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
12431 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
12432 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
12433 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
12434 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
12435 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
12436 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
12437 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
12438 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
12439 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
12440 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
12441 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
12442 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
12443 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
12444 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
12445 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
12446 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
12447 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
12448 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
12449 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
12450 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
12451 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
12452 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
12453 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
12454 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
12455 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
12456 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
12457 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
12458 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
12459 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
12460 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
12461 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
12462 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
12463 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
12464 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
12465 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
12466 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
12467 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
12468 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
12469 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
12470 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
12471 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
12472 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
12473 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
12474 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
12475 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
12476 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
12477 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
12478 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
12479 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
12480 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
12481 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
12482 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
12483 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
12484 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
12485 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
12486 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
12487 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
12488 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
12489 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
12490 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
12491 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
12492 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
12493 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
12494 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
12495 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
12496 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
12497 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
12498 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
12499 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
12500 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
12501 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
12502 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
12503 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
12504 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
12505 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
12506 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
12507 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
12508 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
12509 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
12510 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
12511 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
12512 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
12513 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
12514 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
12515 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
12516 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
12517 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
12518 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
12519 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
12520 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
12521 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
12522
73c5ebe3
JM
12523 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
12524 _XOPEN_SOURCE_EXTENDED for XPG4.
12525
39c33b6c
JM
12526 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
12527
62fde54f
JM
12528 * Makeconfig (localtime): Remove variable.
12529 (inst_localtime-file): Likewise.
12530
0741d64c
AS
125312012-05-01 Andreas Schwab <schwab@linux-m68k.org>
12532
12533 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
12534 Update.
12535 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12536 Update.
12537 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
12538 Update.
12539 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
12540 Update.
12541 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
12542 Update.
12543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
12544 Update.
12545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12546 Update.
12547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
12548 Update.
12549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
12550 Update.
12551
7cb029ee
JM
125522012-05-01 Joseph Myers <joseph@codesourcery.com>
12553
12554 [BZ #2550]
12555 [BZ #2570]
12556 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
12557 comparisons to determine direction to adjust input.
12558 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
12559 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
12560 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
12561 Likewise.
12562 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
12563 Likewise.
12564 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
12565 Likewise.
12566 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
12567 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
12568 Likewise.
12569 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
12570 Likewise.
12571 * math/libm-test.inc (nexttoward_test): Add more tests.
12572
412bd966
AS
125732012-05-01 Andreas Schwab <schwab@linux-m68k.org>
12574
12575 [BZ #14040]
12576 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
12577 in version GLIBC_2.1, not GLIBC_2.0.
12578 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
12579 Likewise.
12580
9568c0c2
JM
125812012-04-30 Joseph Myers <joseph@codesourcery.com>
12582
adfbc8ac
JM
12583 [BZ #13942]
12584 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
12585 (1 - x) * (1 + x).
12586 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
12587 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
12588 * math/libm-test.inc (acos_test): Add more tests.
12589 (asin_test): Likewise.
12590 * sysdeps/i386/fpu/libm-test-ulps: Update.
12591 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12592
5ba3cc69
JM
12593 [BZ #14034]
12594 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
12595 of square root.
12596 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
12597 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
12598 * math/libm-test.inc (acos_test_tonearest): New function.
12599 (acos_test_towardzero): Likewise.
12600 (acos_test_downward): Likewise.
12601 (acos_test_upward): Likewise.
12602 (asin_test_tonearest): Likewise.
12603 (asin_test_towardzero): Likewise.
12604 (asin_test_downward): Likewise.
12605 (asin_test_upward): Likewise.
12606 (main): Call the new functions.
12607 * sysdeps/i386/fpu/libm-test-ulps: Update.
12608 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12609
9568c0c2
JM
12610 [BZ #13884]
12611 [BZ #13924]
12612 * math/e_exp10.c: Include <float.h>.
12613 (__ieee754_exp10): Handle underflow here rather than multiplying
12614 large negative argument by M_LN10.
12615 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
12616 of __ieee754_expf.
12617 * math/e_exp10l.c: Include <float.h>.
12618 (__ieee754_exp10l): Handle underflow here rather than multiplying
12619 large negative argument by M_LN10l.
12620 * math/libm-test.inc (exp10_test): Add another test. Do not allow
12621 spurious overflow exception on underflow.
12622
5ac3ea17
MP
126232012-04-29 Marek Polacek <polacek@redhat.com>
12624
12625 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
12626 (__fortify_function): New macro.
12627 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
12628 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
12629 __extern_always_inline.
12630 * libio/bits/stdio2.h: Likewise.
12631 * libio/bits/stdio.h: Likewise.
12632 * string/string.h: Likewise.
12633 * string/bits/string3.h: Likewise.
12634 * include/stdio.h: Likewise.
12635 * stdlib/bits/stdlib.h: Likewise.
12636 * stdlib/stdlib.h: Likewise.
12637 * rt/bits/mqueue2.h: Likewise.
12638 * rt/mqueue.h: Likewise.
12639 * posix/bits/unistd.h: Likewise.
12640 * posix/unistd.h: Likewise.
12641 * io/bits/poll2.h: Likewise.
12642 * io/bits/fcntl2.h: Likewise.
12643 * io/fcntl.h: Likewise.
12644 * io/sys/poll.h: Likewise.
12645 * misc/bits/syslog.h: Likewise.
12646 * misc/bits/syslog-ldbl.h: Likewise.
12647 * misc/sys/syslog.h: Likewise.
12648 * socket/bits/socket2.h: Likewise.
12649 * socket/sys/socket.h: Likewise.
12650 * debug/tst-chk1.c: Likewise.
12651 * wcsmbs/bits/wchar2.h: Likewise.
12652 * wcsmbs/bits/wchar-ldbl.h: Likewise.
12653 * wcsmbs/wchar.h: Likewise.
12654
ecf0ebfb
AJ
126552012-04-29 Andreas Jaeger <aj@suse.de>
12656
12657 * Makerules (tests): Remove enable-check-abi protection.
12658 (check-abi-warn): Remove.
12659 (check-abi-%): Remove check-abi-warn usage.
12660
12661 * configure.in: Remove check-abi configure option.
12662 * configure: Regenerated.
12663 * config.make.in (enable-check-abi): Remove.
12664
6d5c57fa
AS
126652012-04-28 Andreas Schwab <schwab@linux-m68k.org>
12666
24c5d07e 12667 [BZ #14033]
ded5180a
AS
12668 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
12669 double functions to double *_finite functions.
12670
7e0d315d
AS
12671 [BZ #13941]
12672 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
12673 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
12674 LDBL_MIN_EXP.
12675 * stdio-common/Makefile (tests): Add tst-sprintf3.
12676 * stdio-common/tst-sprintf3.c: New file.
12677
6d5c57fa
AS
12678 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
12679 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
12680
0749ff8b
JM
126812012-04-28 Joseph Myers <joseph@codesourcery.com>
12682
12683 * conform/conformtest.pl: Remove duplicate typed-constant
12684 handling.
12685
8dbd5d7b
DM
126862012-04-28 David S. Miller <davem@davemloft.net>
12687
12688 * Makerules (%.abilist): Add vpath on sysdep_dirs.
12689 (check-abi-%): Remove AWK script prerequisite and explicit
12690 abilist directory.
12691 (check-abi): Rewrite to just diff the symlist with the abilist.
12692 (config-tls, config-abi-config): Delete, no longer used.
12693 (update-abi-%): Remove AWK script and explicit abilist directory.
12694 (update-abi): Rewrite to simply compare and conditionally copy the
12695 symlist and the sysdep abilist file. Remove update-abi-config
12696 checks.
12697 * abilist/ld.abilist: Remove.
12698 * abilist/libBrokenLocale.abilist: Remove.
12699 * abilist/libanl.abilist: Remove.
12700 * abilist/libcrypt.abilist: Remove.
12701 * abilist/libdl.abilist: Remove.
12702 * abilist/librt.abilist: Remove.
12703 * abilist/libthread_db.abilist: Remove.
12704 * abilist/libutil.abilist: Remove.
12705 * scripts/extract-abilist.awk: Remove.
12706 * scripts/merge-abilist.awk: Remove.
12707 * sysdeps/generic/libcidn.abilist: New file.
12708 * sysdeps/generic/libnss_compat.abilist: New file.
12709 * sysdeps/generic/libnss_db.abilist: New file.
12710 * sysdeps/generic/libnss_dns.abilist: New file.
12711 * sysdeps/generic/libnss_files.abilist: New file.
12712 * sysdeps/generic/libnss_hesiod.abilist: New file.
12713 * sysdeps/generic/libnss_nis.abilist: New file.
12714 * sysdeps/generic/libnss_nisplus.abilist: New file.
12715 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
12716 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
12717 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
12718 file.
12719 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
12720 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
12721 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
12722 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
12723 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
12724 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
12725 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
12726 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
12727 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
12728 file.
12729 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
12730 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
12731 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
12732 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
12733 file.
12734 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
12735 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
12736 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
12737 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
12738 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
12739 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
12740 file.
12741 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
12742 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
12743 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
12744 file.
12745 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
12746 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
12747 New file.
12748 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
12749 New file.
12750 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
12751 New file.
12752 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
12753 New file.
12754 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
12755 New file.
12756 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
12757 New file.
12758 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
12759 New file.
12760 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
12761 New file.
12762 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
12763 New file.
12764 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
12765 New file.
12766 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
12767 New file.
12768 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
12769 New file.
12770 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
12771 New file.
12772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
12773 file.
12774 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
12775 New file.
12776 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
12777 New file.
12778 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
12779 file.
12780 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
12781 New file.
12782 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
12783 New file.
12784 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
12785 file.
12786 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
12787 New file.
12788 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
12789 New file.
12790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
12791 New file.
12792 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
12793 New file.
12794 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
12795 New file.
12796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
12797 New file.
12798 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
12799 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
12800 file.
12801 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
12802 New file.
12803 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
12804 file.
12805 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
12806 file.
12807 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
12808 file.
12809 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
12810 file.
12811 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
12812 file.
12813 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
12814 New file.
12815 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
12816 file.
12817 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
12818 file.
12819 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
12820 New file.
12821 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
12822 file.
12823 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
12824 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
12825 file.
12826 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
12827 New file.
12828 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
12829 file.
12830 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
12831 file.
12832 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
12833 file.
12834 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
12835 file.
12836 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
12837 file.
12838 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
12839 New file.
12840 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
12841 file.
12842 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
12843 file.
12844 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
12845 New file.
12846 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
12847 file.
12848 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
12849 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
12850 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
12851 file.
12852 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
12853 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
12854 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
12855 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
12856 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
12857 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
12858 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
12859 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
12860 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
12861 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
12862 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
12863 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
12864 file.
12865 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
12866 New file.
12867 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
12868 file.
12869 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
12870 file.
12871 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
12872 file.
12873 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
12874 file.
12875 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
12876 file.
12877 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
12878 New file.
12879 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
12880 New file.
12881 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
12882 file.
12883 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
12884 New file.
12885 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
12886 file.
12887 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
12888 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
12889 file.
12890 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
12891 New file.
12892 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
12893 file.
12894 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
12895 file.
12896 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
12897 file.
12898 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
12899 file.
12900 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
12901 file.
12902 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
12903 New file.
12904 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
12905 New file.
12906 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
12907 file.
12908 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
12909 New file.
12910 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
12911 file.
12912
41d73a1b
JM
129132012-04-28 Joseph Myers <joseph@codesourcery.com>
12914
12915 * conform/conformtest.pl: Fix typo in handling typed-constant from
12916 allow-header.
12917
28aeeda4
JM
129182012-04-27 Joseph Myers <joseph@codesourcery.com>
12919
adae8f5e
JM
12920 * README: Cut down references to pre-2.6 Linux kernels and
12921 Linuxthreads. Update lists of configurations in libc and ports
12922 and sort alphabetically. Say "or newer" with Linux kernel version
12923 requirements.
12924
28aeeda4
JM
12925 * config.h.in [IS_IN_build]: Allow compiling without optimization.
12926
a462cb63
RA
129272012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12928
12929 [BZ #887]
12930 * math/libm-test.inc (logb_test_downward): New test to expose
12931 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
12932 rounding mode.
12933
6ad3493e
JM
129342012-04-27 Joseph Myers <joseph@codesourcery.com>
12935
12936 [BZ #14027]
12937 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
12938 to be done.
12939 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
12940 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
12941
2ce4f015
JM
129422012-04-26 Joseph Myers <joseph@codesourcery.com>
12943
5aeb141a
JM
12944 * sysdeps/unix/i386/brk.S: Remove file.
12945 * sysdeps/unix/i386/dl-brk.S: Likewise.
12946 * sysdeps/unix/i386/pipe.S: Likewise.
12947 * sysdeps/unix/i386/sigreturn.S: Likewise.
12948 * sysdeps/unix/i386/syscall.S: Likewise.
12949 * sysdeps/unix/i386/vfork.S: Likewise.
12950 * sysdeps/unix/i386/wait.S: Likewise.
12951
7143acae
JM
12952 * sysdeps/unix/common/tcsendbrk.c: Move to ...
12953 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
12954
2ce4f015
JM
12955 * configure.in (arm*-none*): Do not allow without
12956 --enable-hacker-mode.
12957 (netbsd*): Remove case setting base_os.
12958 (386bsd*): Likewise.
12959 (freebsd*): Likewise.
12960 (bsdi*): Likewise.
12961 (osf*): Likewise.
12962 (sunos*): Likewise.
12963 (ultrix*): Likewise.
12964 (newsos*): Likewise.
12965 (dynix*): Likewise.
12966 (*bsd*): Likewise.
12967 (sysv*): Likewise.
12968 (isc*): Likewise.
12969 (esix*): Likewise.
12970 (sco*): Likewise.
12971 (minix*): Likewise.
12972 (irix4*): Likewise.
12973 (irix6*): Likewise.
12974 (solaris[2-9]*): Likewise.
12975 (none): Likewise.
12976 * configure: Regenerated.
12977
0ac229c8
AZ
129782012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12979
12980 [BZ #11521]
12981 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
12982 overflow or cancellation in calculating denominator.
12983 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
12984 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
12985 down expression to avoid unexpected rounding in newer GCCs.
12986 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
12987
33f244f4
DM
129882012-04-26 David S. Miller <davem@davemloft.net>
12989
12990 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
12991 long-double compat symbols.
12992 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
12993 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
12994 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
12995 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
12996 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
12997 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
12998 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
12999 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
13000 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
13001 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
13002 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
13003 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
13004 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
13005
cfa1f3e8
DM
130062012-04-25 David S. Miller <davem@davemloft.net>
13007
13008 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
13009 HWCAP_* values only after the memory barriers have been defined.
13010 (atomic_full_barrier): Define.
13011 (atomic_read_barrier): Define.
13012 (atomic_write_barrier): Define.
13013
6e236b92
SP
130142012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13015
13016 * shlib-versions: Add libgcc_s version information.
13017 * sysdeps/generic/libgcc_s.h: Remove.
13018 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
13019 libgcc_s.h.
13020 * sysdeps/gnu/unwind-resume.c: Likewise.
13021 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
13022
aab39a09
DM
130232012-04-25 David S. Miller <davem@davemloft.net>
13024
13025 * sysdeps/unix/sparc/brk.S: Delete.
13026 * sysdeps/unix/sparc/dl-brk.S: Delete.
13027 * sysdeps/unix/sparc/pipe.S: Delete.
13028 * sysdeps/unix/sparc/sysdep.S: Delete.
13029 * sysdeps/unix/sparc/sysdep.h: Delete.
13030 * sysdeps/unix/sparc/vfork.S: Delete.
13031 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
13032 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
13033 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
13034 ret_ERRVAL, r0, r1, MOVE): Define.
13035 (JUMPTARGET): Remove.
13036 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
13037 sysdeps/unix/sparc/sysdep.h
13038 (ENTRY, END): Remove.
13039 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
13040
a3cc4f48
JM
130412012-04-25 Joseph Myers <joseph@codesourcery.com>
13042
2ed8cda2
JM
13043 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
13044 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
13045 -DIS_IN_build.
13046
35d76d59
JM
13047 * timezone/README: Update upstream location and email address for
13048 tzcode and tzdata.
13049 * timezone/zdump.c: Update from tzcode 2012b.
13050 * timezone/zic.c: Likewise.
13051
a3cc4f48
JM
13052 * configure.in (libc_cv_as_needed): Remove test.
13053 * configure: Regenerated.
13054 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
13055 conditional definition.
13056 [$(have-as-needed) != yes] (no-as-needed): Likewise.
13057 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
13058 * config.make.in (have-as-needed): Remove variable.
13059
ceab42c3
SP
130602012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
13061 Paul Pluzhnikov <ppluzhnikov@google.com>
13062
13063 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
13064 strings correctly.
13065
3ce2865f
CLT
130662012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
13067
13068 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
13069 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
13070 * sysdeps/sh/strlen.S: Likewise.
13071
f37e0d68
JM
130722012-04-24 Joseph Myers <joseph@codesourcery.com>
13073
ae186e9a
JM
13074 * sysdeps/unix/fork.S: Remove file.
13075 * sysdeps/unix/i386/fork.S: Likewise.
13076 * sysdeps/unix/sparc/fork.S: Likewise.
13077
b96914af
JM
13078 * sysdeps/unix/system.c: Remove file.
13079 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
13080
f37e0d68
JM
13081 * sysdeps/unix/getegid.S: Remove file.
13082 * sysdeps/unix/geteuid.S: Likewise.
13083
87ef29ca
RM
130842012-04-24 Roland McGrath <roland@hack.frob.com>
13085
83bcd236
RM
13086 * scripts/check-localplt.awk: New file.
13087 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
13088 of diff.
13089 * scripts/data/localplt-generic.data: Add a comment.
13090
87ef29ca
RM
13091 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
13092 NODE when __dir_mkfile failed.
13093 * sysdeps/mach/hurd/symlinkat.c: Likewise.
13094 Reported by Ludovic Courtès <ludo@gnu.org>.
13095
e5a6e567
AJ
130962012-04-24 Andreas Jaeger <aj@suse.de>
13097
13098 * Makerules (common-clean): Also remove gen-as-const-headers
13099 files.
13100
c1820385
JM
131012012-04-24 Joseph Myers <joseph@codesourcery.com>
13102
13103 * Makerules (native-compile): Do not change working directory for
13104 build. Use $(OUTPUT_OPTION) in command.
13105 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
13106
94e02fc4
AZ
131072012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13108
13109 [BZ #13886]
13110 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
13111 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
13112 * math/libm-test.inc (floor_test): Add more tests.
13113 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
13114
3a533ca3
JM
131152012-04-24 Joseph Myers <joseph@codesourcery.com>
13116
940ab4b3
JM
13117 * sysdeps/unix/getdents.c: Remove file.
13118 * sysdeps/unix/sysv/getdents.c: Likewise.
13119 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
13120
90e037bd
JM
13121 * sysdeps/unix/syscalls.list (madvise): Add syscall from
13122 sysdeps/unix/mman/syscalls.list.
13123 (mmap): Likewise.
13124 (mprotect): Likewise.
13125 (msync): Likewise.
13126 (munmap): Likewise.
13127 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
13128 * sysdeps/unix/mman/syscalls.list: Remove.
13129 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
13130
3a533ca3
JM
13131 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
13132 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
13133 * configure: Regenerated.
13134 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
13135 $(libgcc_s_suffix).
13136 * config.make.in (libgcc_s_suffix): Remove variable.
13137
1ad743de
JM
131382012-04-23 Joseph Myers <joseph@codesourcery.com>
13139
4ad451e2
JM
13140 * sysdeps/unix/sysv/gethostname.c: Move to ...
13141 * sysdeps/posix/gethostname.c: ... here.
13142
5e37ce39
JM
13143 * sysdeps/unix/execve.S: Remove file.
13144
1ad743de
JM
13145 * sysdeps/unix/_exit.S: Remove file.
13146
4e681b5b
AJ
131472012-04-23 Andreas Jaeger <aj@suse.de>
13148
13149 [BZ #13739]
13150 * manual/Makefile: Remove make dist support, there's no
13151 need for a stand-alone documentation tar ball.
13152 (TEXI2DVI): Define always, it's not in Makeconfig.
13153 (dist): Removed.
13154 (tar-it): Removed.
13155 (edition): Removed.
13156 (glibc-doc-$(edition).tar): Removed
13157 (%.Z): Removed.
13158 (%.gz): Removed.
13159 (%.uu): Removed.
13160 (ETAGS): Remove, it's in Makeconfig.
13161 (move-if-change): Remove, it's in Makeconfig.
13162
38686a03 131632012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
13164
13165 [BZ #13970]
13166 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
13167 (strtod, strtof, strtold, strtol, strtoul, strtoq)
13168 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
13169 (strtod_l, strtof_l, strtold_l): Remove __wur.
13170 It is not necessarily an error to ignore strtol's return value.
13171 One can reliably look at the stored endptr to decide whether
13172 the number had valid syntax.
13173
7c0616fa
AJ
131742012-04-21 Andreas Jaeger <aj@suse.de>
13175
803cb6b7 13176 [BZ #13739]
7c0616fa
AJ
13177 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
13178
b0fe253f
JM
131792012-04-21 Joseph Myers <joseph@codesourcery.com>
13180
13181 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
13182 * sysdeps/unix/sysv/Versions: Remove file.
13183
8280f22d
MT
131842012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
13185
13186 [BZ #13927]
13187 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13188
75ce411f 131892012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
13190
13191 [BZ #7064]
13192 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
13193 version from __vm86.
13194
097d59fa
JM
131952012-04-20 Joseph Myers <joseph@codesourcery.com>
13196
a90f3bcb
JM
13197 * sysdeps/unix/common/lxstat.c: Remove file.
13198 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
13199
edc7ea78
JM
13200 * sysdeps/unix/sysv/Makefile: Remove file.
13201
cb78c221
JM
13202 * sysdeps/unix/sysv/direct.h: Remove file.
13203
efa6a45f
JM
13204 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
13205 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
13206 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
13207 * sysdeps/unix/sysv/bits/signum.h: Likewise.
13208 * sysdeps/unix/sysv/bits/stat.h: Likewise.
13209 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
13210 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
13211
9c9f2d0c
JM
13212 * sysdeps/unix/sysv/setrlimit.c: Remove file.
13213
4541c83b
JM
13214 * sysdeps/unix/xmknod.c: Remove file.
13215 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
13216
f5d153a0
JM
13217 * sysdeps/unix/sysv/settimeofday.c: Remove file.
13218
aa746595
JM
13219 * sysdeps/unix/sysv/i386/time.S: Remove file.
13220
cce5905e
JM
13221 * sysdeps/unix/fxstat.c: Remove file.
13222 * sysdeps/unix/xstat.c: Likewise.
13223 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
13224
37fa3841
JM
13225 * sysdeps/unix/sysv/sigaction.c: Remove file.
13226
ff1962a3
JM
13227 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
13228 (sysdep_headers): Remove variable.
13229 [termio.h not in sysdep_headers] (generated): Likewise.
13230 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
13231 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
13232 * sysdeps/unix/sysv/tcdrain.c: Likewise.
13233 * sysdeps/unix/sysv/tcflow.c: Likewise.
13234 * sysdeps/unix/sysv/tcflush.c: Likewise.
13235 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
13236 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
13237 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
13238 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
13239 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
13240
e7740d31
JM
13241 * sysdeps/unix/siglist.c: Remove file.
13242
ee06f18b
JM
13243 * sysdeps/unix/getppid.S: Remove file.
13244
097d59fa
JM
13245 * sysdeps/unix/mkdir.c: Remove file.
13246 * sysdeps/unix/rmdir.c: Likewise.
13247
ff3d51ec
AS
132482012-04-19 Andreas Schwab <schwab@linux-m68k.org>
13249
13250 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
13251 ERR_MAX value.
13252 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
13253 errlist-compat value.
13254
50f81fd7
DM
132552012-04-18 David S. Miller <davem@davemloft.net>
13256
13257 * sysdeps/generic/memcopy.h (reg_char): Delete.
13258 * debug/strcat_chk.c: Use char, not reg_char.
13259 * debug/strcpy_chk.c: Likewise.
13260 * debug/strncat_chk.c: Likewise.
13261 * debug/strncpy_chk.c: Likewise.
13262 * string/memchr.c: Likewise.
13263 * string/memrchr.c: Likewise.
13264 * string/rawmemchr.c: Likewise.
13265 * string/strcat.c: Likewise.
13266 * string/strchr.c: Likewise.
13267 * string/strchrnul.c: Likewise.
13268 * string/strcmp.c: Likewise.
13269 * string/strcpy.c: Likewise.
13270 * string/strncat.c: Likewise.
13271 * string/strncmp.c: Likewise.
13272 * string/strncpy.c: Likewise.
13273
8ff41c46
WS
132742012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
13275
13276 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
13277 __builtin_memcopy is called when src and dest ranges are known to not
13278 overlap.
13279
6b652f46
WS
132802012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
13281
13282 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
13283 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
13284 fwd_align_merge macro call.
13285 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
13286 bwd_align_merge macro call.
13287 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
13288
b282631e
WS
132892012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
13290
13291 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
13292 bwd_align_merge macros.
13293 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
13294 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
13295 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
13296
95aa737c
DM
132972012-04-18 David S. Miller <davem@davemloft.net>
13298
13299 * sysdeps/sparc/sparc64/memcopy.h: Delete.
13300
7a99a614
AJ
133012012-04-18 Andreas Jaeger <aj@suse.de>
13302
13303 [BZ# 6794]
13304 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
13305 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
13306 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
13307
13308 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
13309 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
13310 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
13311
13312 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
13313 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
13314 Adjust for changed ldbl-128 files.
13315
13316 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
13317 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
13318 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
13319
e5270c23
DM
133202012-04-17 David S. Miller <davem@davemloft.net>
13321
13322 * sysdeps/sparc/sparc32/memcopy.h: Delete.
13323
fb5e92c9
AS
133242012-04-17 Andreas Schwab <schwab@linux-m68k.org>
13325
13326 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
13327 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
13328 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
13329 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
13330 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
13331 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
13332
76da7265
AZ
133332012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13334
13335 [BZ #6794]
13336 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
13337 * math/libm-test.inc: Add ilogb errno and exception tests.
13338 * math/w_ilogb.c: New file: ilogb wrapper.
13339 * math/w_ilogbf.c: New file: ilogbf wrapper.
13340 * math/w_ilogbl.c: New file: ilogbl wrapper.
13341 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
13342 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
13343 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
13344 exception being thrown with 0.0 as argument.
13345 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
13346 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
13347 exception being thrown with 0.0 as argument.
13348 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
13349 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
13350 exception being thrown with 0.0 as argument.
13351 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
13352 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
13353 exception being thrown with 0.0 as argument.
13354 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
13355 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 13356 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
13357 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
13358 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
13359 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
13360 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
13361 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
13362 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
13363
0396e69d
PB
133642012-04-17 Petr Baudis <pasky@ucw.cz>
13365
13366 * include/sys/uio.h: Change __vector to __iovec to avoid clash
13367 with altivec.
13368
750b5926
MP
133692012-04-16 Marek Polacek <polacek@redhat.com>
13370
13371 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
13372
751728a1
MP
133732012-04-16 Marek Polacek <polacek@redhat.com>
13374
13375 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
13376 operands of fdivp instruction.
13377
34a27407
L
133782012-04-13 H.J. Lu <hongjiu.lu@intel.com>
13379
13380 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
13381 * elf/tst-auditmod3b.c: Likewise.
13382 * elf/tst-auditmod4b.c: Likewise.
13383 * elf/tst-auditmod5b.c: Likewise.
13384 * elf/tst-auditmod6b.c: Likewise.
13385 * elf/tst-auditmod6c.c: Likewise.
13386 * elf/tst-auditmod7b.c: Likewise.
13387 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
13388 * sysdeps/x86_64/preconfigure.in: Likewise.
13389 * sysdeps/x86_64/preconfigure: Regenerated.
13390
7e73e17d
L
133912012-04-13 H.J. Lu <hongjiu.lu@intel.com>
13392
13393 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
13394 __ILP32__.
13395
c7a6ab72
AB
133962012-04-13 Antoine Balestrat <merkil33@gmail.com>
13397
13398 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
13399 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
13400
a9e8e0e0
CL
134012012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
13402
13403 [BZ #13973]
13404 * locale/iso-639.def: Fix gl language name. Spotted by
13405 Yaron Shahrabani.
13406
ec98af7d
RM
134072012-04-12 Roland McGrath <roland@hack.frob.com>
13408
13409 [BZ #2074]
13410 * libio/libio.h (__io_write_fn): Update comment.
13411
247c3ede
PB
134122012-04-12 Petr Baudis <pasky@ucw.cz>
13413
13414 [BZ #2074]
13415 * stdio.texi (Hook Functions): The user provided writer function
13416 is not allowed to return -1.
13417
55939d6d
DM
134182012-04-11 David S. Miller <davem@davemloft.net>
13419
13420 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13421
90020f5a
MF
134222012-04-11 Mike Frysinger <vapier@gentoo.org>
13423
13424 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
13425 Add a leading slash to rtkaio.
13426
288f9098
JM
134272012-04-11 Jim Meyering <meyering@redhat.com>
13428
90020f5a
MF
13429 [BZ #11959]
13430 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
13431 It is not necessarily an error to ignore fwrite's return
13432 value. One can reliably use ferror to test for errors after
13433 the fact.
288f9098 13434
4be2b570
L
134352012-04-10 H.J. Lu <hongjiu.lu@intel.com>
13436
13437 * bits/types.h (__snseconds_t): New type.
13438 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
13439
13440 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
13441 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13442 (__SNSECONDS_T_TYPE): Likewise.
13443 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13444 (__SNSECONDS_T_TYPE): Likewise.
13445 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13446 (__SNSECONDS_T_TYPE): Likewise.
13447
288f9098 134482012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
13449
13450 [BZ #2636]
13451 * manual/time.texi (Processor Time): Return type of times is
13452 elapsed real time since an arbitrary point in the past.
13453 (CPU Time): Move CLK_TCK from here...
13454 (Processor Time): ...to here. Correct description.
13455 * manual/conf.texi (Constants for Sysconf): Correct description of
13456 _SC_CLK_TCK.
13457
d7dd4413
DM
134582012-04-10 David S. Miller <davem@davemloft.net>
13459
13460 [BZ #13967]
13461 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
13462 where the is a gap between DT_REL(A) and DT_JMPREL.
13463
b46068fc
L
134642012-04-10 H.J. Lu <hongjiu.lu@intel.com>
13465
13466 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
13467 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
13468 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
13469
73d65cc3
SP
134702012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
13471
13472 * elf/dl-support.c (_dl_inhibit_cache): New variable.
13473 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
13474 (dl_main): Handle --inhibit-cache.
13475 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
13476 _dl_inhibit_cache.
13477 * elf/dl-load.c (_dl_map_object): Use it.
13478 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
13479
bcc8d661
JM
134802012-04-09 Joseph Myers <joseph@codesourcery.com>
13481
8f9a2fae
JM
13482 [BZ #13872]
13483 * sysdeps/i386/fpu/e_powl.S (p78): New object.
13484 (__ieee754_powl): Saturate large exponents rather than testing for
13485 overflow of y*log2(x).
13486 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
13487 * math/libm-test.inc (pow_test): Do not permit spurious overflow
13488 exceptions.
13489
bcc8d661
JM
13490 [BZ #11521]
13491 * math/s_ctan.c: Include <float.h>.
13492 (__ctan): Avoid internal overflow or cancellation in calculating
13493 denominator.
13494 * math/s_ctanf.c: Likewise.
13495 * math/s_ctanl.c: Likewise.
13496 * math/s_ctanh.c: Likewise.
13497 * math/s_ctanhf.c: Likewise.
13498 * math/s_ctanhl.c: Likewise.
13499 * math/libm-test.inc (ctan_test): Add more tests.
13500 (ctanh_test): Likewise.
13501 * sysdeps/i386/fpu/libm-test-ulps: Update.
13502 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13503
823fbbb4
AJ
135042012-04-09 Andreas Jaeger <aj@suse.de>
13505
03879793
AJ
13506 [BZ #6894]
13507 * manual/filesys.texi (Directory Entries): Mention that d_namlen
13508 is an optional BSD extension.
13509
823fbbb4
AJ
13510 [BZ #10254]
13511 * manual/stdio.texi (Opening Streams): Document additional fopen
13512 parameters.
13513
8de131cb
RM
135142012-04-09 Roland McGrath <roland@hack.frob.com>
13515
13516 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
13517 %eax without telling the compiler.
13518
c0ed9d7d
CD
135192012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
13520
13521 [BZ # 13963]
13522 * manual/install.texi: Use sourceware.org.
13523
c483f6b4
JM
135242012-04-09 Joseph Myers <joseph@codesourcery.com>
13525
d7dd9453
JM
13526 [BZ #13873]
13527 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
13528 (__ieee754_pow): Generate overflow and underflow using huge*huge
13529 and tiny*tiny rather than just returning constant infinity or zero
13530 for large exponents.
13531 * math/libm-test.inc (pow_test): Require overflow exceptions for
13532 applicable cases of large exponents.
13533
c483f6b4
JM
13534 [BZ #706]
13535 * sysdeps/i386/fpu/e_pow.S (p10): New object.
13536 (__ieee754_pow): Use iterative multiplication algorithm only for
13537 integer exponents with absolute value below 1024. Check for odd
13538 integer exponents when using algorithm for real exponents.
13539 * math/libm-test.inc (pow_test): Add more tests.
13540 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13541
d2de7579
JM
135422012-04-08 Joseph Myers <joseph@codesourcery.com>
13543
13544 [BZ #13705]
13545 * math/libm-test.inc (exp_test): Do not allow overflow exception
13546 on underflow test.
13547
f77f1232
AJ
135482012-04-08 Aurelien Jarno <aurelien@aurel32.net>
13549
13550 [BZ #13705]
13551 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
13552 instead of __kernel_standard_f.
13553
3884932b
MF
135542012-04-08 Mike Frysinger <vapier@gentoo.org>
13555
13556 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
13557 * sysdeps/x86_64/memset_chk.S: Likewise.
13558
54472e9c
AJ
135592012-04-08 Andreas Jaeger <aj@suse.de>
13560
6ab0fbfc
AJ
13561 [BZ #10153]
13562 * manual/startup.texi (Environment Access): Describe return value
13563 for putenv and setenv.
13564
61efba8c
AJ
13565 [BZ #6895]
13566 * manual/filesys.texi (Directory Entries): Add description for
13567 DT_LNK.
13568
95c3f29a
AJ
13569 [BZ #6890]
13570 * manual/filesys.texi (Directory Entries): Clarify that it's file
13571 system not operating system in the description of DT_UNKNOWN.
13572
54472e9c
AJ
13573 [BZ #6578]
13574 * manual/syslog.texi (closelog): Fix reference, it's openlog.
13575
624254b1
SC
135762012-04-08 Stephen Compall <s11@member.fsf.org>
13577
13578 [BZ #6649]
13579 * manual/llio.texi (Opening and Closing Files): Add cross
13580 reference to explain mode argument.
13581
1e4920e0
MF
135822012-04-07 Mike Frysinger <vapier@gentoo.org>
13583
13584 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
13585 * sysdeps/x86_64/memset_chk.S: Likewise.
13586
5ed848f3
DM
135872012-04-07 David S. Miller <davem@davemloft.net>
13588
13589 * elf/elf.h (R_SPARC_WDISP10): Define.
13590 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
13591 R_SPARC_SIZE32.
13592 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
13593 R_SPARC_SIZE64 and R_SPARC_H34.
13594
96154cd8
CD
135952012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
13596
13597 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
13598 conditions and remove no longer applicable assertion.
13599
9904dc47
L
136002012-04-06 H.J. Lu <hongjiu.lu@intel.com>
13601
13602 * bits/byteswap.h: Include <features.h>.
13603 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
13604 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
13605
f8887d0a
L
136062012-04-06 H.J. Lu <hongjiu.lu@intel.com>
13607
13608 * bits/byteswap.h (__bswap_16): Removed.
13609 Include <bits/byteswap-16.h> to get __bswap_16.
13610 * sysdeps/i386/bits/byteswap.h: Likewise.
13611 * sysdeps/s390/bits/byteswap.h: Likewise.
13612 * sysdeps/x86_64/bits/byteswap.h: Likewise.
13613 * bits/byteswap-16.h: New file.
13614 * sysdeps/i386/bits/byteswap-16.h: Likewise.
13615 * sysdeps/s390/bits/byteswap-16.h: Likewise.
13616 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
13617 * string/Makefile (headers): Add bits/byteswap-16.h.
13618
62470f60
PP
136192012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
13620
13621 [BZ #13895]
13622 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
13623 extra indirection.
13624 * nss/Makefile (tests-static, tests): Add tst-nss-static.
13625 * nss/tst-nss-static.c: New.
13626
4dad7bab
RM
136272012-04-06 Robert Millan <rmh@gnu.org>
13628
13629 [BZ #6486]
13630 * manual/llio.texi (File Position Primitive): lseek
13631 refers to WHENCE when it really means OFFSET.
13632
e9142a17
AJ
136332012-04-06 Andreas Jaeger <aj@suse.de>
13634
2c040eff
AJ
13635 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
13636 strncmp declarations.
13637
e9142a17
AJ
13638 * abilist/libc.abilist: Add __poll and __ppoll.
13639
ff9f1c5f
DM
136402012-04-05 David S. Miller <davem@davemloft.net>
13641
dcd2ae90
DM
13642 * scripts/check-local-headers.sh: Accept a host triplet in the
13643 path matched by the exclude regexp.
13644
993eb054
DM
13645 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
13646 definition.
13647 * sysdeps/powerpc/powerpc32/dl-machine.h
13648 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
13649 * sysdeps/s390/s390-32/dl-machine.h
13650 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
13651 * sysdeps/sparc/sparc32/dl-machine.h
13652 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
13653 * sysdeps/sparc/sparc64/dl-machine.h
13654 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
13655
ff9f1c5f
DM
13656 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
13657 lazy binding.
48e2e132 13658 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
13659 undefined symbol errors.
13660
48e2e132 13661 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
13662 DT_NEEDED entries.
13663
e80d6f94
MM
136642012-04-05 Michael Matz <matz@suse.de>
13665
13666 [BZ #13592]
13667 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
13668
349fa79f
AJ
136692012-04-05 Andreas Jaeger <aj@suse.de>
13670
13671 [BZ #13908]
13672 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
13673 comment.
13674
f402708f
KK
136752012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
13676
13677 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
13678 which ROUND is no valid rounding mode.
13679
2ecccfc9
KK
136802012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
13681
13682 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
13683 read again.
13684 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
13685
8a53f50f
KK
136862012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
13687
13688 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
13689 an exception using FPU order intentionally.
13690
136912012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
13692
13693 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
13694 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
13695 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
13696 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
13697
d653abb7
SJ
136982012-04-05 Simon Josefsson <simon@josefsson.org>
13699
13700 [BZ #12340]
13701 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
13702 EINVAL when BUFLEN is too smal.
13703
c3b1bf7d
TS
137042012-04-05 Thomas Schwinge <thomas@codesourcery.com>
13705
13706 [BZ #13553]
13707 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
13708 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
13709
b1aa60f3
AJ
137102012-04-03 Andreas Jaeger <aj@suse.de>
13711
c3b1bf7d 13712 [BZ #13938]
67f60a26
AJ
13713 * manual/setjmp.texi (System V contexts): Fix sentence.
13714
b1aa60f3
AJ
13715 [BZ #13926]
13716 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
13717 New macro for this case.
13718 [!__GNUC__] (__bswap_64): New inline function for this case.
13719 * sysdeps/x86_64/bits/byteswap.h: Likewise.
13720 * bits/byteswap.h: Likewise.
13721 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
13722 ull, guard with __GLIBC_HAVE_LONG_LONG.
13723
13724 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
13725 __GLIBC_HAVE_LONG_LONG.
13726
13727 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
13728 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
13729
39c59c35
TMQMF
137302012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13731
13732 [BZ #13691]
13733 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
13734 inptr and inend, rather than using last_ch.
13735
135ffda8
DM
137362012-04-02 David S. Miller <davem@davemloft.net>
13737
13738 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
13739 * stdio-common/printf-parse.h (read_int): Change return type to
13740 'int', return -1 on INT_MAX overflow.
13741 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
13742 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
13743 overflows INT_MAX. Check for overflow of in-format-string precision
13744 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
13745 SIZE_MAX not INT_MAX for integer overflow test.
13746 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
13747 skip the construct in the format string but do not record anything.
13748 * stdio-common/bug22.c: Adjust to test both width/prevision
13749 INT_MAX overflow as well as total length INT_MAX overflow. Check
13750 explicitly for proper errno values.
13751
228c019e
TS
137522012-04-02 Thomas Schwinge <thomas@codesourcery.com>
13753
302cadd3
TS
13754 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
13755 CHAR_MAX.
13756 * string/test-strcmp.c [! WIDE]: Likewise.
13757 * time/tst-mktime2.c: Likewise for INT_MAX.
13758 * string/test-string.h: #include <sys/param.h> for MIN.
13759
228c019e
TS
13760 * csu/init-first.c (__libc_init_first): Call __ctype_init.
13761 * sysdeps/i386/init-first.c (init): Likewise.
13762 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
13763 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
13764 * sysdeps/sh/init-first.c (init): Likewise.
13765
cfa633f5
UD
137662012-04-01 Ulrich Drepper <drepper@gmail.com>
13767
13768 * po/ru.po: Update from translation team.
d1635ef8 13769 * po/vi.po: Likewise.
cfa633f5 13770
6cd0a5ea
SP
137712012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
13772
13773 * resolv/nss_dns/dns-host.c: Merge copyright years.
13774
4b43400f
LD
137752012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13776
13777 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
13778 Optimize memcpy with prefetch if
13779 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
13780 src, dst pointers have unequal 16 byte alignments.
13781
48c41d04
SP
137822012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
13783
13784 [BZ #13928]
13785 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
13786 from a CNAME entry and return the minimum ttl for the query.
13787 (gaih_getanswer_slice): Likewise.
13788
b8dc394d
JL
137892012-03-30 Jeff Law <law@redhat.com>
13790
13791 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
13792 due to long keys.
13793 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
13794 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
13795
2f5a5ed0
JL
13796 * resolv/nss_dns/dns-host.c: Update copyright year.
13797
1d39e359
UD
137982012-03-30 Ulrich Drepper <drepper@gmail.com>
13799
c030f70c 13800 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 13801 requests to save a system call. Fix check that all bytes are sent.
c030f70c 13802
1d39e359
UD
13803 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
13804 comments for sendmmsg.
13805
138062012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
13807
13808 [BZ #13691]
13809 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
13810 with only 1 character between 0x0041 and 0x01b0.
13811 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
13812 * wcsmbs/tst-mbsnrtowcs.c: New file.
13813
20fde227
DM
138142012-03-29 David S. Miller <davem@davemloft.net>
13815
13816 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
13817 small copies by hand.
13818
984a4237
JL
138192012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13820
13821 [BZ #13761]
13822 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
13823 _nss_compat_initgroups_dyn): Fall back to malloc/free
13824 for large group memberships.
13825
18c9d62b
DM
138262012-03-28 David S. Miller <davem@davemloft.net>
13827
88d85d4f
DM
13828 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
13829 that branches into memcpy.
13830 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
13831 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
13832 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
13833 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
13834 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
13835 bits.
13836 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
13837 implementation too.
13838 * sysdeps/sparc/mempcpy.S: New file.
13839
e5aa83e1
DM
13840 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
13841 the IFUNC routine in the libc case.
13842 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
13843
88570753
DM
13844 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
13845 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
13846 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
13847 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
13848 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
13849 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
13850 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
13851 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
13852
249d7567
DM
13853 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
13854 loop to 256 bytes instead of 64 bytes and fix test signedness.
13855
18c9d62b
DM
13856 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
13857 * sysdeps/sparc/sparc32/Makefile: rather than here...
13858 * sysdeps/sparc/sparc64/Makefile: and here.
13859
05f3d1f6
UD
138602012-03-28 Ulrich Drepper <drepper@gmail.com>
13861
13862 * malloc/mallocbug.c: Avoid warnings about unused variables.
13863
86ae07a8
JL
138642012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
13865
13866 [BZ #13760]
13867 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
13868 in the right place. Discard and retry query if response is
13869 larger than input buffer size.
13870
41bf21a1
JM
138712012-03-28 Joseph Myers <joseph@codesourcery.com>
13872
d6270972
JM
13873 [BZ #369]
13874 [BZ #2678]
13875 [BZ #3866]
13876 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
13877 x for large integer exponent.
13878 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
13879 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
13880 sign of result as needed afterwards.
13881 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
13882 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
13883 result for underflowing pow the same as for overflow.
13884 (__kernel_standard_l): Handle powl overflow and underflow here
13885 rather than calling __kernel_standard.
13886 * math/libm-test.inc (pow_test): Add more tests.
13887
414fca03 13888 [BZ #3868]
41bf21a1
JM
13889 [BZ #13879]
13890 [BZ #13910]
13891 [BZ #13911]
13892 [BZ #13912]
13893 [BZ #13913]
13894 [BZ #13915]
13895 [BZ #13916]
13896 [BZ #13917]
13897 [BZ #13918]
13898 [BZ #13919]
13899 [BZ #13920]
13900 [BZ #13921]
13901 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
13902 * sysdeps/ieee754/k_standard.c: Include <float.h>.
13903 (__kernel_standard_l): New function.
13904 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
13905 __kernel_standard.
13906 * math/w_acosl.c (__acosl): Likewise.
13907 * math/w_asinl.c (__asinl): Likewise.
13908 * math/w_atan2l.c (__atan2l): Likewise.
13909 * math/w_atanhl.c (__atanhl): Likewise.
13910 * math/w_coshl.c (__coshl): Likewise.
13911 * math/w_exp10l.c (__exp10l): Likewise.
13912 * math/w_exp2l.c (__exp2l): Likewise.
13913 * math/w_fmodl.c (__fmodl): Likewise.
13914 * math/w_hypotl.c (__hypotl): Likewise.
13915 * math/w_j0l.c (__j0l, __y0l): Likewise.
13916 * math/w_j1l.c (__j1l, __y1l): Likewise.
13917 * math/w_jnl.c (__jnl, __ynl): Likewise.
13918 * math/w_lgammal.c (__lgammal): Likewise.
13919 * math/w_log10l.c (__log10l): Likewise.
13920 * math/w_log2l.c (__log2l): Likewise.
13921 * math/w_logl.c (__logl): Likewise.
13922 * math/w_powl.c (__powl): Likewise.
13923 * math/w_remainderl.c (__remainderl): Likewise.
13924 * math/w_scalbl.c (sysv_scalbl): Likewise.
13925 * math/w_sinhl.c (__sinhl): Likewise.
13926 * math/w_sqrtl.c (__sqrtl): Likewise.
13927 * math/w_tgammal.c (__tgammal): Likewise.
13928 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
13929 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
13930 * math/libm-test.inc (acos_test): Add more tests.
13931 (acosh_test): Likewise.
13932 (asin_test): Likewise.
13933 (atanh_test): Likewise.
13934 (exp_test): Likewise.
13935 (exp10_test): Likewise.
13936 (exp2_test): Likewise.
13937 (expm1_test): Likewise.
13938 (lgamma_test): Likewise.
13939 (log_test): Likewise.
13940 (log10_test): Likewise.
13941 (log1p_test): Likewise.
13942 (log2_test): Likewise.
13943 (pow_test): Do not allow some spurious overflow exceptions.
13944 (sqrt_test): Add more tests.
13945 (tgamma_test): Likewise.
13946 (y0_test): Likewise.
13947 (y1_test): Likewise.
13948 (yn_test): Likewise.
13949
dd62fda6
AB
139502012-03-27 Anton Blanchard <anton@samba.org>
13951
13952 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
13953 MAP_HUGETLB.
13954 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
13955 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
13956 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
13957
1e3cdfda
AJ
139582012-03-27 David S. Miller <davem@davemloft.net>
13959
b855ab85
DM
13960 * conform/Makefile: Run run-conformtest.sh using $(BASH).
13961
1e3cdfda
AJ
13962 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
13963 have-as-vis3 check.
13964
139652012-03-27 Andreas Jaeger <aj@suse.de>
13966
13967 * sysdeps/x86_64/elf/configure.in: Moved to ...
13968 * sysdeps/x86_64/configure.in: ... here.
13969 * sysdeps/x86_64/elf/start.S: Moved to ...
13970 * sysdeps/x86_64/start.S: ... here.
13971 * sysdeps/x86_64/elf/configure: Delete.
13972
13973 * sysdeps/x86_64/configure.in: Merge contents from
13974 sysdeps/i386/configure.in (without i686 check).
13975
13976 * sysdeps/i386/elf/Versions: Merge into ...
13977 * sysdeps/i386/Versions: ... this.
13978 * sysdeps/i386/elf/Versions: Delete file.
13979 * sysdeps/i386/elf/start.S: Moved to ...
13980 * sysdeps/i386/start.S: ...here.
13981 * sysdeps/i386/elf/configure.in: Merge into...
13982 * sysdeps/i386/configure.in: ...here.
13983 * sysdeps/i386/elf/configure.in: Delete file.
13984 * sysdeps/i386/elf/configure: Delete file.
13985
13986 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
13987 * debug/backtracesyms.c: ... here.
13988 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
13989 * debug/backtracesymsfd.c: ... here.
13990 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
13991 * sysdeps/generic/ifunc-sel.h: ... here.
13992
13993 * sysdeps/unix/i386/start.c: Delete file.
13994 * sysdeps/unix/sparc/start.c: Delete file.
13995 * sysdeps/unix/start.c: Delete file.
13996
13997 * sysdeps/sh/elf/configure.in: Moved to ...
13998 * sysdeps/sh/configure.in: ... here.
13999 * sysdeps/sh/elf/start.S: Moved to ...
14000 * sysdeps/sh/start.S: ... here.
14001 * sysdeps/sh/elf/configure: Delete file.
14002
14003 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
14004 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
14005 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
14006 * sysdeps/powerpc/powerpc64/entry.h: ... here.
14007 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
14008 * sysdeps/powerpc/powerpc64/start.S: here.
14009 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
14010 * sysdeps/powerpc/powerpc64/Makefile: ... this.
14011 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
14012 * sysdeps/powerpc/powerpc64/configure.in: ... this.
14013 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
14014
14015 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
14016 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
14017 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
14018 * sysdeps/powerpc/powerpc32/start.S: ... here.
14019 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
14020 * sysdeps/powerpc/powerpc32/configure.in: ... this.
14021 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
14022
14023 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
14024 * sysdeps/powerpc/ifunc-sel.h: ... here.
14025 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
14026 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
14027
14028 * sysdeps/sparc/elf/configure.in: Moved to ...
14029 * sysdeps/sparc/configure.in: ... here.
14030 * sysdeps/sparc/elf/configure: Delete file.
14031 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
14032 * sysdeps/sparc/sparc32/start.S: ... here.
14033 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
14034 * sysdeps/sparc/sparc64/start.S: ... here.
14035 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
14036 * sysdeps/sparc/sparc32/Makefile: ... this.
14037 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
14038 * sysdeps/sparc/sparc64/Makefile: ... this.
14039
14040 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
14041 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
14042 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
14043 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
14044 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
14045 * sysdeps/s390/s390-32/setjmp.S: ... here.
14046 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
14047 * sysdeps/s390/s390-32/configure.in: ... here.
14048 * sysdeps/s390/s390-32/elf/configure: Delete file.
14049 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
14050 * sysdeps/s390/s390-32/start.S: ... here.
14051
14052 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
14053 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
14054 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
14055 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
14056 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
14057 * sysdeps/s390/s390-64/setjmp.S: ... here.
14058 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
14059 * sysdeps/s390/s390-64/configure.in: ... here
14060 * sysdeps/s390/s390-64/elf/configure: Delete file.
14061 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
14062 * sysdeps/s390/s390-64/start.S: ... here.
14063 * sysdeps/s390/s390-64/elf/configure: Delete.
14064
14065 * configure.in: Remove support for elf directories in sysdeps.
14066
14067 * configure: Regenerated.
14068 * sysdeps/i386/configure: Regenerated.
14069 * sysdeps/powerpc/powerpc32/configure: Regenerated.
14070 * sysdeps/powerpc/powerpc64/configure: Regenerated.
14071 * sysdeps/s390/s390-32/configure: Regenerated.
14072 * sysdeps/s390/s390-64/configure: Regenerated.
14073 * sysdeps/sh/configure: Regenerated.
14074 * sysdeps/sparc/configure: Regenerated.
14075 * sysdeps/x86_64/configure: Regenerated.
14076
a3f61311
AS
140772012-03-26 Andreas Schwab <schwab@linux-m68k.org>
14078
c876e002
AS
14079 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14080
a3f61311
AS
14081 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
14082 denormal result into account.
14083
ac4c54f0
RM
140842012-03-25 Roland McGrath <roland@hack.frob.com>
14085
14086 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
14087 Reported by Allan McRae <allan@archlinux.org>.
14088
6a9b9c02
JL
140892012-03-23 Jeff Law <law@redhat.com>
14090
14091 * nss/getnssent.c (__nss_getent): Fix typo.
14092
4c42a0c1
DM
140932012-03-23 David S. Miller <davem@davemloft.net>
14094
14095 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14096
1532c7ac
L
140972012-03-23 H.J. Lu <hongjiu.lu@intel.com>
14098
14099 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
14100 to pad to uint64_t for each field.
14101 (dl_tls_index): Replace unsigned long with uint64_t.
14102
3ff42526
PP
141032012-03-23 Daniel Jacobowitz <dmj@google.com>
14104 Paul Pluzhnikov <ppluzhnikov@google.com>
14105
14106 [BZ #6528]
14107 * grp/Makefile (otherlibs): Don't set it.
14108 * inet/Makefile (otherlibs): Likewise.
14109 * login/Makefile (otherlibs): Likewise.
14110 * nscd/Makefile (otherlibs): Likewise.
14111 * posix/Makefile (otherlibs): Likewise.
14112 * pwd/Makefile (otherlibs): Likewise.
14113 * rt/Makefile (otherlibs): Likewise.
14114 * sunrpc/Makefile (otherlibs): Likewise.
14115 * nss/Makefile (otherlibs): Likewise.
14116 Add libnss_files to routines and static-only-routines.
14117 ($(objpfx)getent): Remove rule.
14118 * resolv/Makefile: Add libnss_dns and libresolv to routines and
14119 static-only-routines.
14120
7c69cd14
JM
141212012-03-22 Joseph Myers <joseph@codesourcery.com>
14122
14123 [BZ #13892]
14124 * math/s_cexp.c: Include <float.h>.
14125 (__cexp): Handle exp result overflowing not necessarily
14126 overflowing both real and imaginary parts of result.
14127 * math/s_cexpf.c: Likewise.
14128 * math/s_cexpl.c: Likewise.
14129 * math/libm-test.inc (cexp_test): Add more tests.
14130 * sysdeps/i386/fpu/libm-test-ulps: Update.
14131 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14132
81b035fe
L
141332012-03-22 H.J. Lu <hongjiu.lu@intel.com>
14134
14135 * include/link.h (ELFW): New macro.
14136 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
14137 Replace ELF64_R_TYPE with ELFW(R_TYPE).
14138
1da7940c
L
141392012-03-22 H.J. Lu <hongjiu.lu@intel.com>
14140
14141 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
14142 with uint64_t.
14143
b749dbb9
L
141442012-03-22 H.J. Lu <hongjiu.lu@intel.com>
14145
14146 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
14147 declaration.
14148 (struct La_x32_retval): Likewise.
14149
2ff87f3f
L
141502012-03-22 H.J. Lu <hongjiu.lu@intel.com>
14151
14152 * sysdeps/x86_64/preconfigure.in: New file.
14153 * sysdeps/x86_64/preconfigure: New generated file.
14154
c0df8e69
JM
141552012-03-22 Joseph Myers <joseph@codesourcery.com>
14156
48e44791
JM
14157 [BZ #13824]
14158 * math/e_exp2l.c: Include <float.h>.
14159 (__ieee754_exp2l): Handle overflow and underflow cases
14160 separately. Only pass fractional part of argument to
14161 __ieee754_expl.
14162 * math/libm-test.inc (exp2_test): Add more tests.
14163
c0df8e69
JM
14164 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
14165 negating x to take absolute value.
14166 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
14167 Likewise.
14168 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
14169 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
14170 Likewise.
14171 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
14172 computing low part if x was negated.
14173 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
14174
c8e43ba7
L
141752012-03-21 H.J. Lu <hongjiu.lu@intel.com>
14176
14177 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
14178 la_x32_gnu_pltexit.
14179 (pltexit): Cast int_retval to ptrdiff_t.
14180 * elf/tst-auditmod3b.c: Likewise.
14181 * elf/tst-auditmod4b.c: Likewise.
14182 * elf/tst-auditmod5b.c: Likewise.
14183 * elf/tst-auditmod6b.c: Likewise.
14184 * elf/tst-auditmod6c.c: Likewise.
14185 * elf/tst-auditmod7b.c: Likewise.
14186
14187 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
14188 and x32_gnu_pltexit.
14189
14190 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
14191 __ELF_NATIVE_CLASS.
14192 (La_x32_regs): New macro.
14193 (La_x32_retval): Likewise.
14194 (la_x32_gnu_pltenter): New function prototype.
14195 (la_x32_gnu_pltexit): Likewise.
14196
7998fa78
AS
141972012-03-21 Andreas Schwab <schwab@linux-m68k.org>
14198
dcb33988
AS
14199 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
14200 exponent.
14201
233fc563
AS
14202 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14203
7998fa78
AS
14204 * configure.in (libc_cv_cc_nofma): Check for option to disable
14205 generation of FMA instructions.
14206 * configure: Regenerate.
14207 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
14208 * sysdeps/ieee754/dbl-64/Makefile: New file.
14209 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
14210 Remove brandred-fma4.
14211 (CFLAGS-brandred-fma4.c): Remove.
14212 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
14213 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
14214 define.
14215 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
14216 define.
14217
8e95c99a
L
142182012-03-21 H.J. Lu <hongjiu.lu@intel.com>
14219
14220 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
14221 LLONG_MAX != LONG_MAX.
14222 (_itoa_word): Use _ITOA_WORD_TYPE on value.
14223 (_fitoa_word): Likewise.
14224 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
14225 LLONG_MAX != LONG_MAX.
14226 * stdio-common/_itowa.h: Include <_itoa.h>.
14227 (_itowa_word): Use _ITOA_WORD_TYPE on value.
14228 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
14229 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
14230 only if not defined.
14231 (_ITOA_WORD_TYPE): Likewise.
14232 (_itoa_word): Use _ITOA_WORD_TYPE on value.
14233 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
14234
6f4db457
DM
142352012-03-21 David S. Miller <davem@davemloft.net>
14236
14237 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14238
7785fe5a
L
142392012-03-21 H.J. Lu <hongjiu.lu@intel.com>
14240
14241 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
14242 of x86_64 when setting libc_cv_slibdir, libdir and
14243 libc_cv_localedir.
14244 * sysdeps/unix/sysv/linux/configure: Regenerated.
14245
4535cd55
JM
142462012-03-21 Joseph Myers <joseph@codesourcery.com>
14247
14248 * manual/lang.texi (Old Varargs): Remove section.
14249 (How Variadic): Update menu.
14250 (va_start): Do not mention varargs.h.
14251
17228132
TS
142522012-03-21 Thomas Schwinge <thomas@codesourcery.com>
14253 Joseph Myers <joseph@codesourcery.com>
14254
14255 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
14256 link test.
14257 * configure: Regenerated.
14258
8149f976
TS
142592012-03-21 Thomas Schwinge <thomas@codesourcery.com>
14260
05f3d1f6
UD
14261 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
14262 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
14263 conformtest.pl
8149f976 14264
1a4ac776
JM
142652012-03-21 Joseph Myers <joseph@codesourcery.com>
14266
be22ce65
JM
14267 * NOTES: Remove.
14268 * Makefile (files-for-dist): Remove NOTES.
14269 (NOTES): Remove rule.
14270 * README: Don't refer to NOTES.
14271 * manual/creature.texi: Don't include macros.texi.
14272 * manual/intro.texi (creature.texi): Remove comment referring to
14273 NOTES.
14274
40b601fb
JM
14275 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
14276 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
14277 * configure: Regenerated.
14278 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
14279 LIBC_TRY_CC_OPTION.
14280 (libc_cv_as_i686): Likewise.
14281 (libc_cv_cc_avx): Likewise.
14282 (libc_cv_cc_sse2avx): Likewise.
14283 (libc_cv_cc_fma4): Likewise.
14284 (libc_cv_cc_novzeroupper): Likewise.
14285 * sysdeps/i386/configure: Regenerated.
14286
1a4ac776
JM
14287 [BZ #13883]
14288 * sysdeps/i386/fpu/s_cexp.S: Remove.
14289 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
14290 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
14291 * math/libm-test.inc (cexp_test): Add more tests.
14292 * sysdeps/i386/fpu/libm-test-ulps: Update.
14293 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14294
a458e7fe
AM
142952012-03-21 Allan McRae <allan@archlinux.org>
14296
14297 * timezone/Makefile: Do not install iso3166.tab and zone.tab
14298
0cb7efc5
JM
142992012-03-21 Joseph Myers <joseph@codesourcery.com>
14300
14301 [BZ #13871]
14302 * math/w_exp2.c: Do not include <float.h>.
14303 (o_threshold, u_threshold): Remove.
14304 (__exp2): Calculate result before checking finiteness and calling
14305 __kernel_standard.
14306 * math/w_exp2f.c: Likewise.
14307 * math/w_exp2l.c: Likewise.
14308 * math/libm-test.inc (exp2_test): Require overflow exception for
14309 1e6 input.
2460d3aa
JM
14310
14311 [BZ #3866]
14312 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
14313 range of signed 64-bit integers before using fistpll. Remove
14314 checks for whether integers fit in mantissa bits.
14315 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
14316 the range of signed 32-bit integers before using fistpl. Remove
14317 checks for whether integers fit in mantissa bits.
14318 * sysdeps/i386/fpu/e_powl.S (p64): New object.
14319 (__ieee754_powl): Test for y outside the range of signed 64-bit
14320 integers before using fistpll. Reduce 64-bit values to 63-bit
14321 ones as needed.
14322 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
14323 divide-by-zero is raised for zero to large negative powers.
14324 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
14325 (__ieee754_powl): Test for y outside the range of signed 64-bit
14326 integers before using fistpll. Reduce 64-bit values to 63-bit
14327 ones as needed.
14328 * math/libm-test.inc (pow_test): Add more tests.
14329
eb96ffb0
L
143302012-03-20 H.J. Lu <hongjiu.lu@intel.com>
14331
14332 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
14333 <stdio-common/_itoa.h>.
14334 * debug/segfault.c: Likewise.
14335 * elf/dl-cache.c: Likewise.
14336 * elf/dl-minimal.c: Likewise.
14337 * elf/dl-misc.c: Likewise.
14338 * elf/dl-sysdep.c: Likewise.
14339 * elf/dl-version.c: Likewise.
14340 * elf/rtld.c: Likewise.
14341 * hurd/hurdsock.c: Likewise.
14342 * hurd/lookup-retry.c: Likewise.
14343 * malloc/malloc.c: Likewise.
14344 * malloc/mtrace.c: Likewise.
14345 * nscd/nscd_getgr_r.c: Likewise.
14346 * nscd/nscd_getpw_r.c: Likewise.
14347 * nscd/nscd_getserv_r.c: Likewise.
14348 * posix/getopt_init.c: Likewise.
14349 * posix/wordexp.c: Likewise.
14350 * stdio-common/_itoa.c: Likewise.
14351 * stdio-common/printf_fphex.c: Likewise.
14352 * stdio-common/vfprintf.c: Likewise.
14353 * string/_strerror.c: Likewise.
14354 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
14355 * sysdeps/i386/i686/hp-timing.h: Likewise.
14356 * sysdeps/mach/_strerror.c: Likewise.
14357 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
14358 * sysdeps/mach/hurd/sethostid.c: Likewise.
14359 * sysdeps/mach/hurd/xmknodat.c: Likewise.
14360 * sysdeps/mach/xpg-strerror.c: Likewise.
14361 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
14362 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
14363 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
14364 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
14365 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
14366 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
14367 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
14368 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
14369 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
14370 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
14371 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
14372 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
14373 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
14374 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
14375 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
14376 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
14377 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
14378 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
14379 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
14380 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
14381 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
14382
14383 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
14384
14385 * stdio-common/_itoa.h: Moved to ...
14386 * sysdeps/generic/_itoa.h: Here.
14387
14388 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
14389
14390 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
14391 instead of "_itoa.h" and "_itowa.h".
14392 * stdio-common/vfprintf.: Likewise.
14393
d1af992d
L
143942012-03-20 H.J. Lu <hongjiu.lu@intel.com>
14395
14396 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
14397 <bits/wordsize.h>.
14398 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
14399 (__signbit): Likwise.
14400 (llrintf): Likwise.
14401 (llrint): Likwise.
14402
114883e0
L
144032012-03-20 H.J. Lu <hongjiu.lu@intel.com>
14404
14405 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
14406 __WORDSIZE != 64.
14407
c135cc1b
JM
144082012-03-20 Joseph Myers <joseph@codesourcery.com>
14409
14410 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
14411 OVERFLOW_EXCEPTION_OK.
14412 * math/libm-test.inc ("Philosophy"): Update comment about
14413 exception testing.
14414 (OVERFLOW_EXCEPTION): Define.
14415 (OVERFLOW_EXCEPTION_OK): Likewise.
14416 (INVALID_EXCEPTION_OK): Renumber.
14417 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
14418 (IGNORE_ZERO_INF_SIGN): Likewise.
14419 (test_exceptions): Handle FE_OVERFLOW.
14420 (exp10_test): Expect overflow exceptions.
14421 (exp2_test): Likewise.
14422 (expm1_test): Likewise.
14423 (nextafter_test): Likewise.
14424 (pow_test): Likewise.
14425 (scalbn_test): Likewise.
14426 (scalbln_test): Likewise.
14427
95443d88
L
144282012-03-19 H.J. Lu <hongjiu.lu@intel.com>
14429
14430 * sysdeps/x86_64/bits/atomic.h
14431 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
14432 64bit integer.
14433 (atomic_exchange_acq): Likewise.
14434 (__arch_exchange_and_add_body): Likewise.
14435 (__arch_add_body): Likewise.
14436 (atomic_add_negative): Likewise.
14437 (atomic_add_zero): Likewise.
14438
490df6c4
L
144392012-03-19 H.J. Lu <hongjiu.lu@intel.com>
14440
c2722551 14441 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
14442 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
14443
5e52b189
L
144442012-03-19 H.J. Lu <hongjiu.lu@intel.com>
14445
14446 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
14447 Check __x86_64__ instead of __WORDSIZE.
14448
a9879d4c
L
144492012-03-19 H.J. Lu <hongjiu.lu@intel.com>
14450
14451 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
14452
5df98260
DM
144532012-03-19 David S. Miller <davem@davemloft.net>
14454
e1497744
DM
14455 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14456
5df98260
DM
14457 * sysdeps/sparc/fpu/fenv_private.h: New file.
14458 * sysdeps/sparc/fpu/math_private.h: Use it.
14459 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
14460 Remove.
14461 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
14462 (libc_feholdexcept_setroundl): Remove.
14463 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
14464 Remove.
14465 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
14466 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
14467
b4c35121
L
144682012-03-19 H.J. Lu <hongjiu.lu@intel.com>
14469
14470 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
14471 int64_t instead of long int.
14472 (INSERT_WORDS64): Likwise.
14473
56965fd7
L
144742012-03-19 H.J. Lu <hongjiu.lu@intel.com>
14475
14476 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
14477 _Unwind_GetCFA return to _Unwind_Ptr first.
14478
83d1aec8
JM
144792012-03-19 Joseph Myers <joseph@codesourcery.com>
14480
1897ad44
JM
14481 [BZ #13629]
14482 * math/s_clog.c: Include <float.h>.
14483 (__clog): Scale large or subnormal inputs.
14484 * math/s_clogf.c: Likewise.
14485 * math/s_clogl.c: Likewise.
14486 * math/s_clog10.c: Include <float.h>.
14487 (M_LOG10_2): Define.
14488 (__clog10): Scale large or subnormal inputs.
14489 * math/s_clog10f.c: Likewise.
14490 * math/s_clog10l.c: Likewise.
14491 * math/libm-test.inc (clog_test): Add more tests.
14492 (clog10_test): Likewise.
14493 * sysdeps/i386/fpu/libm-test-ulps: Update.
14494 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14495
7726d6a9
JM
14496 [BZ #11451]
14497 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
14498 x and y.
14499 * math/libm-test.inc (atan2_test): Add another test.
14500
83d1aec8
JM
14501 * Makerules (common-objdir-compile): Remove.
14502 * sysdeps/unix/Makefile (config-generated): Do not add
14503 $(unix-generated) to variable.
14504 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
14505 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
14506 Remove rule.
14507 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
14508 Likewise.
14509 [generic bits/local_lim.h] (before-compile): Do not append to
14510 variable.
14511 [generic bits/local_lim.h] (common-generated): Likewise.
14512 [generic sys/param.h] (before-compile): Do not append to variable.
14513 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
14514 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
14515 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
14516 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
14517 include.
14518 [generic sys/param.h] (sys/param.h-includes): Remove variable.
14519 [generic sys/param.h] (sys/param.h-includes): Remove rule.
14520 [generic sys/param.h] ($(addprefix
14521 $(common-objpfx),$(sys/param.h-includes))): Likewise.
14522 [generic sys/param.h] (common-generated): Do not append to
14523 variable.
14524 [generic sys/param.h] (sysdep_headers): Likewise.
14525 [generic bits/errno.h] (before-compile): Do not append to
14526 variable.
14527 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
14528 rule.
14529 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
14530 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
14531 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
14532 [generic bits/errno.h] (common-generated): Do not append to
14533 variable.
14534 [generic bits/ioctls.h] (before-compile): Do not append to
14535 variable.
14536 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
14537 rule.
14538 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
14539 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
14540 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
14541 rule.
14542 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
14543 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
14544 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
14545 [generic bits/ioctls.h] (common-generated): Do not append to
14546 variable.
14547 [generic sys/syscall.h] (syscall.h): Remove variable.
14548 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
14549 rule.
14550 [generic sys/syscall.h] (before-compile): Do not append to
14551 variable.
14552 [generic sys/syscall.h] (common-generated): Likewise.
14553 * sysdeps/unix/errnos-tmpl.c: Remove file.
14554 * sysdeps/unix/errnos.awk: Likewise.
14555 * sysdeps/unix/ioctls-tmpl.c: Likewise.
14556 * sysdeps/unix/ioctls.awk: Likewise.
14557 * sysdeps/unix/mk-local_lim.c: Likewise.
14558 * sysdeps/unix/snarf-ioctls: Likewise.
14559
4851a949
RH
145602012-03-19 Richard Henderson <rth@twiddle.net>
14561
bd37f2ee
RH
14562 * sysdeps/i386/fpu/fenv_private.h: New file.
14563 * sysdeps/i386/fpu/math_private.h: Use it.
14564 (math_opt_barrier, math_force_eval): Remove.
14565 (libc_feholdexcept_setround_53bit): Remove.
14566 (libc_feupdateenv_53bit): Remove.
14567 * sysdeps/x86_64/fpu/math_private.h: Likewise.
14568 (math_opt_barrier, math_force_eval): Remove.
14569 (libc_feholdexcept): Remove.
14570 (libc_feholdexcept_setround): Remove.
14571 (libc_fetestexcept, libc_fesetenv): Remove.
14572 (libc_feupdateenv_test): Remove.
14573 (libc_feupdateenv, libc_feholdsetround): Remove.
14574 (libc_feresetround): Remove.
14575
d0adc922
RH
14576 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
14577 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
14578
0fe0f1f8
RH
14579 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
14580 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
14581 (libc_feupdateenv_testl): New.
14582 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
14583 (libc_feupdateenv_testf): New.
14584 (libc_feupdateenv): Use libc_feupdateenv_test.
14585 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
14586 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
14587
eb92c487
RH
14588 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
14589 (libc_feholdsetroundf, libc_feholdsetroundl): New.
14590 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
14591 (libc_feresetround_noex): New.
14592 (libc_feresetround_noexf): New.
14593 (libc_feresetround_noexl): New.
14594 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
14595 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
14596 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
14597 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
14598 SET_RESTORE_ROUND.
14599 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
14600 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
14601 (__cos): Likewise.
14602 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
14603 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
14604 SET_RESTORE_ROUND_NOEX.
14605 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
14606 SET_RESTORE_ROUND_NOEXF.
14607 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
14608 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
14609 (libc_feholdsetroundf): New.
14610 (libc_feresetround, libc_feresetroundf): New.
14611
7d2e8012
RH
14612 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
14613 (libc_feholdexcept_setround_53bit): Convert from macro to function.
14614 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
14615
b4dabbb4
RH
14616 * sysdeps/generic/math_private.h: Include <fenv.h>.
14617 (default_libc_feholdexcept): New.
14618 (default_libc_feholdexcept_setround): New.
14619 (default_libc_fesetenv, default_libc_feupdateenv): New.
14620 (libc_feholdexcept): Only define if undefined.
14621 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
14622 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
14623 (libc_feholdexcept_setroundl): Likewise.
14624 (libc_feholdexcept_setround_53bit): Likewise.
14625 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
14626 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
14627 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
14628 (libc_feupdateenv_53bit): Likewise.
14629 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
14630 (libc_feholdexcept): Convert from macro to inline function.
14631 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
14632 (libc_fesetenv, libc_feupdateenv): Likewise.
14633
4851a949
RH
14634 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
14635 not previously defined.
14636 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
14637 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
14638 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
14639 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
14640 * sysdeps/ieee754/flt-32/math_private.h: New file.
14641 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
14642 math_private.h below SET_FLOAT_WORD.
14643 (__isnan, __isinf_ns, __finite): Remove.
14644 (__isnanf, __isinf_nsf, __finitef): Remove.
14645
e79d442e
AS
146462012-03-18 Andreas Schwab <schwab@linux-m68k.org>
14647
14648 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14649
90b80344
DM
146502012-03-17 David S. Miller <davem@davemloft.net>
14651
14652 [BZ #6471]
14653 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
14654 for 2.16.
14655
edc21804
DM
146562012-03-16 David S. Miller <davem@davemloft.net>
14657
77e927af
DM
14658 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
14659 warnings.
14660
374976dd
DM
14661 [BZ #6471]
14662 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
14663 properly.
14664 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
14665 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
14666 sysdep_routines when subdir is sysvipc.
14667 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
14668 __getshmlba helper.
14669
edc21804
DM
14670 * sysdeps/sparc/fpu/libm-test/ulps: Update.
14671
473c3ef3
L
146722012-03-16 H.J. Lu <hongjiu.lu@intel.com>
14673
14674 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
14675 [__LP64__].
14676
eb0f39b6
L
146772012-03-16 H.J. Lu <hongjiu.lu@intel.com>
14678
14679 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
14680 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
14681 (__lround): Renamed to ...
14682 (__llround): This. Replace long int with long long int.
14683 Define lround functions as aliases of llround functions.
14684 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
14685
6b6cd74b
L
146862012-03-16 H.J. Lu <hongjiu.lu@intel.com>
14687
14688 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
14689 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
14690 adresses to uintptr_t. Replace "long int" and "unsigned long
14691 int" with "greg_t" on va_arg.
14692
f1a77b01
L
146932012-03-16 H.J. Lu <hongjiu.lu@intel.com>
14694
14695 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
14696 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
14697
14698 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
14699 Move e_machine check before EI_CLASS check. Handle x32
14700 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
14701 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
14702 SKIP_EM_IA_64 and include
14703 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
14704
14705 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
14706 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
14707 (add_system_dir): New macro.
14708
14709 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
14710 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
14711
11b90b9f
JM
147122012-03-16 Joseph Myers <joseph@codesourcery.com>
14713
c36e1d23
JM
14714 [BZ #2551]
14715 [BZ #2552]
14716 [BZ #2553]
14717 [BZ #2554]
14718 [BZ #2562]
14719 [BZ #2563]
14720 [BZ #2565]
14721 [BZ #2566]
14722 [BZ #2576]
14723 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
14724 (y0): Likewise.
14725 * math/w_j0f.c (j0f): Likewise.
14726 (y0f): Likewise.
14727 * math/w_j0l.c (__j0l): Likewise.
14728 (__y0l): Likewise.
14729 * math/w_j1.c (j1): Likewise.
14730 (y1): Likewise.
14731 * math/w_j1f.c (j1f): Likewise.
14732 (y1f): Likewise.
14733 * math/w_j1l.c (__j1l): Likewise.
14734 (__y1l): Likewise.
14735 * math/w_jn.c (jn): Likewise.
14736 (yn): Likewise.
14737 * math/w_jnf.c (jnf): Likewise.
14738 (ynf): Likewise.
14739 * math/w_jnl.c (__jnl): Likewise.
14740 (__ynl): Likewise.
14741 * math/libm-test.inc (j0_test): Add more tests.
14742 (j1_test): Likewise.
14743 (jn_test): Likewise. Add trailing semicolon to existing test.
14744 (y0_test): Likewise.
14745 (y1_test): Likewise.
14746 * sysdeps/i386/fpu/libm-test-ulps: Update.
14747 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14748
11b90b9f
JM
14749 [BZ #13851]
14750 [BZ #13854]
14751 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
14752 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
14753 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
14754 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
14755 (__tanl): Set errno for infinite argument.
14756 * sysdeps/i386/fpu/mptan.c: Remove.
14757 * sysdeps/i386/fpu/s_tan.S: Likewise.
14758 * sysdeps/i386/fpu/s_tanl.S: Likewise.
14759 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
14760 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
14761 * math/libm-test.inc (tan_test): Add more tests and enable more
14762 tests for double and long double.
14763 * sysdeps/i386/fpu/libm-test-ulps: Update.
14764 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14765
6a1bd2a1
JK
147662012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
14767
14768 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
14769 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
14770
10a803e0
RM
147712012-03-16 Roland McGrath <roland@hack.frob.com>
14772
14773 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
14774 * configure.in: Use it for both main tree and add-ons.
14775 * configure: Regenerated.
14776
f196c7f7
L
147772012-03-16 H.J. Lu <hongjiu.lu@intel.com>
14778
14779 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
14780
8848d99d
JM
147812012-03-16 Joseph Myers <joseph@codesourcery.com>
14782
96cbe7f4
JM
14783 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
14784 in comment.
14785
8848d99d
JM
14786 [BZ #13851]
14787 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
14788 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
14789 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
14790 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
14791 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
14792 infinite argument.
14793 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
14794 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
14795 != 0 for prec == 2.
14796 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
14797 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
14798 * sysdeps/i386/fpu/s_cosl.S: Likewise.
14799 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
14800 * sysdeps/i386/fpu/s_sinl.S: Likewise.
14801 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
14802 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
14803 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
14804 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
14805 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
14806 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
14807 * math/libm-test.inc (cos_test): Add more tests and enable more
14808 tests for long double.
14809 (sin_test): Likewise.
14810 (sincos_test): Likewise.
14811 * sysdeps/i386/fpu/libm-test-ulps: Update.
14812 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14813
dd7f4703
DM
148142012-03-16 David S. Miller <davem@davemloft.net>
14815
14816 * sysdeps/sparc/fpu/math_private.h: New file.
14817
006f1daa
DM
148182012-03-15 David S. Miller <davem@davemloft.net>
14819
c0c83bc8
DM
14820 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
14821 file.
e6a62e18 14822 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
14823 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
14824 file.
e6a62e18
DM
14825 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
14826 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
14827 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
14828 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
14829 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
14830 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
14831 sysdep routines.
14832 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
14833
88cb87d9
DM
14834 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
14835 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
14836
006f1daa 14837 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
14838 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
14839 sparc-ifunc.h
006f1daa 14840 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
14841 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
14842 Likewise.
14843 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
14844 Likewise.
006f1daa
DM
14845 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
14846 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
14847 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
14848 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
14849 Likewise.
006f1daa
DM
14850 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
14851 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
14852 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
14853 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
14854 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
14855 Likewise.
14856 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
14857 Likewise.
006f1daa
DM
14858 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
14859 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
14860 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
14861 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
14862 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
14863 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
14864 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
14865 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
14866 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
14867 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
14868 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
14869 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
14870 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
14871 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
14872 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
14873 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
14874 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
14875 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
14876 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
14877 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
14878 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
14879 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
14880 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
14881 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
14882
11e0098e
AS
148832012-03-15 Andreas Schwab <schwab@linux-m68k.org>
14884
14885 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
14886 scaling.
14887 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14888
e85b09d0
AJ
148892012-03-15 Andreas Jaeger <aj@suse.de>
14890
14891 [BZ #13852]
14892 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
14893 ieee754/flt-32 implementation for sin, cos and sincos.
14894 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
14895 * sysdeps/i386/fpu/s_cosf.S: Likewise.
14896 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
14897 * sysdeps/i386/fpu/s_sinf.S: Likewise.
14898 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
14899 ieee754/flt-32 implementation for tan.
14900
14901 * math/libm-test.inc (cos_test): Enable some large input tests for
14902 float as well
14903 (sin_test): Likewise.
14904 (sincos_test): Likewise.
14905 (tan_test): Add tests for large input.
14906
14907 * sysdeps/i386/fpu/libm-test-ulps: Update.
14908
81c64153
AJ
149092012-03-15 Andreas Jaeger <aj@suse.de>
14910
14911 [BZ #13658]
14912 * math/libm-test.inc (cos_test): Add more test cases.
14913 (sin_test): Likewise.
14914 (sincos_test): Likewise.
14915
7bbfa5c6
AJ
149162012-03-15 Andreas Jaeger <aj@suse.de>
14917
14918 [BZ #13837]
14919 * math/libm-test.inc (cos_test): Add a test case for large input
14920 value.
14921 (sin_test): Likewise.
14922 (sincos_test): Likewise.
14923
149242012-03-15 Andreas Jaeger <aj@suse.de>,
14925 Joseph Myers <joseph@codesourcery.com>
14926
14927 [BZ #13658]
0671f479 14928 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
14929 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
14930 * sysdeps/i386/fpu/branred.c: Likewise.
14931 * sysdeps/i386/fpu/dosincos.c: Likewise.
14932 * sysdeps/i386/fpu/mpa.c: Likewise.
14933 * sysdeps/i386/fpu/s_cos.S: Likewise.
14934 * sysdeps/i386/fpu/s_sin.S: Likewise.
14935 * sysdeps/i386/fpu/s_sincos.S: Likewise.
14936 * sysdeps/i386/fpu/sincos32.c: Likewise.
14937
14938 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
14939 Define.
14940 (libc_feupdateenv_53bit): Define.
14941 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
14942 Define.
14943 (libc_feupdateenv_53bit): Define.
14944
14945 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
14946 53 bit (without extend i386 double precision).
14947
14948 * math/libm-test.inc (sincos_test): Add tests for large input.
14949 (sin): Likewise.
14950 (cos): Likewise.
14951
14952 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
14953
9cad04ea
AS
149542012-03-15 Andreas Schwab <schwab@linux-m68k.org>
14955
14956 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14957
f7062b9a
DM
149582012-03-15 David S. Miller <davem@davemloft.net>
14959
14960 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
14961 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
14962 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
14963 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
14964 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
14965 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
14966 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
14967 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
14968 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
14969 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
14970 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
14971 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
14972 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
14973 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
14974 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
14975 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
14976 file.
f7062b9a 14977 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
14978 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
14979 file.
f7062b9a 14980 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
14981 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
14982 file.
f7062b9a 14983 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
14984 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
14985 file.
f7062b9a
DM
14986 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
14987 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
14988 fmin/fmax sysdep routines.
14989 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
14990
7bd951ff
DM
149912012-03-14 David S. Miller <davem@davemloft.net>
14992
559398ab
DM
14993 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
14994 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
14995 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
14996 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
14997 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
14998 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
14999 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
15000 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
15001 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
15002 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
15003 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
15004 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
15005 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
15006 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
15007 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
15008 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
15009 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
15010 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
15011 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
15012 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
15013 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
15014 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
15015 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
15016 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
15017 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
15018 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
15019 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
15020 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
15021 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
15022 routines.
15023 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
15024 file.
559398ab 15025 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
15026 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
15027 file.
559398ab 15028 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
15029 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
15030 file.
559398ab 15031 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
15032 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
15033 file.
559398ab 15034 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
15035 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
15036 file.
559398ab 15037 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
15038 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
15039 file.
15040 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
15041 file.
15042 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
15043 file.
15044 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
15045 file.
15046 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
15047 New file.
15048 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
15049 file.
15050 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
15051 file.
559398ab 15052 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
15053 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
15054 file.
559398ab 15055 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
15056 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
15057 file.
559398ab 15058 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
15059 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
15060 file.
559398ab 15061 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
15062 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
15063 VIS3 routines.
559398ab
DM
15064
15065 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
15066 New file.
15067
5a1c1e32
DM
15068 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15069
eae47a36
DM
15070 * sysdeps/sparc/configure.in: New file.
15071 * sysdeps/sparc/configure: Generate.
15072 * configure.in (libc_cv_sparc_as_vis3): Substitute.
15073 * configure: Regenerate.
15074 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
15075 * config.make.in (have-as-vis3): New.
15076 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
15077 available use -Av9d instead of -Av9a.
15078 * sysdeps/sparc/sparc64/Makefile: Likewise.
15079 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
15080 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
15081 New file.
15082 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
15083 file.
15084 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
15085 New file.
15086 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
15087 file.
eae47a36
DM
15088 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
15089 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
15090 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
15091 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
15092 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
15093
c0c83bc8
DM
15094 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
15095 fzeros/fnegs to load 0x80000000 into a float register instead of
15096 using the stack.
7bd951ff
DM
15097 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
15098
bd951ccb
JM
150992012-03-14 Joseph Myers <joseph@codesourcery.com>
15100
15101 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15102 bits/syscall.h.
15103 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
15104 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
15105 ($(inst_includedir)/bits/syscall.h): Remove rule.
15106 ($(objpfx)bits/syscall.d): Include instead of
15107 $(objpfx)syscall-list.d.
15108 (generated): Change syscall-list.h and syscall-list.d to
15109 bits/syscall.h and bits/syscall.d.
15110
bb4e6db2
RM
151112012-03-14 Roland McGrath <roland@hack.frob.com>
15112
15113 [BZ #13846]
15114 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
15115
aa4a2ae1
JM
151162012-03-14 Joseph Myers <joseph@codesourcery.com>
15117
e456826d
JM
15118 [BZ #13841]
15119 * math/s_csqrt.c: Include <float.h>.
15120 (__csqrt): Scale large or subnormal inputs.
15121 * math/s_csqrtf.c: Likewise.
15122 * math/s_csqrtl.c: Likewise.
15123 * math/libm-test.inc (csqrt_test): Add more tests.
15124 * sysdeps/i386/fpu/libm-test-ulps: Update.
15125 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15126
aa4a2ae1
JM
15127 [BZ #13840]
15128 * math/libm-test.inc (hypot_test): Add more tests.
15129
7c10fd35
DM
151302012-03-13 David S. Miller <davem@davemloft.net>
15131
15132 [BZ #13840]
15133 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
15134 double-precision for the calculation instead of scaling.
15135
f453b98b
JM
151362012-03-13 Joseph Myers <joseph@codesourcery.com>
15137
15138 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
15139 manipulate bits before adding and subtracting TWO52[sx].
15140 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
15141 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
15142 Likewise.
15143 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
15144
09a3453f
DM
151452012-03-13 David S. Miller <davem@davemloft.net>
15146
8e59da90
DM
15147 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
15148 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
15149 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
15150 rtld-global-offsets.h
15151 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
15152
2a8ab7f2
DM
15153 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
15154 large parameters.
15155
10f62770
DM
15156 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
15157
5f0bdb18
DM
15158 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
15159 'err' in the ifdef scope in which it is actually used.
15160
09a3453f
DM
15161 * nss/nss_db/db-init.c: Include string.h
15162
b4b2eb5e
DM
151632012-03-12 David S. Miller <davem@davemloft.net>
15164
98bb2f1c
DM
15165 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
15166 masking out of the most significant byte of random value used.
15167 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
15168 Fix coding style in previous change.
15169
b4b2eb5e
DM
15170 * sysdeps/unix/sysv/linux/kernel-features.h
15171 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
15172 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
15173 expression.
15174 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
15175 later.
15176
6e226b09
DM
151772012-03-11 David S. Miller <davem@davemloft.net>
15178
a1bcbd40
DM
15179 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
15180 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
15181 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
15182 for 'resultvar' otherwise things get truncated on 64-bit.
15183
cb9d6174
DM
15184 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
15185 Fix masking out of the most significant byte of random value used.
15186
6e226b09
DM
15187 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15188
058c132d
AS
151892012-03-10 Andreas Schwab <schwab@linux-m68k.org>
15190
15191 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15192
2d2cd515
DM
151932012-03-09 David S. Miller <davem@davemloft.net>
15194
15195 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
15196 variables with appropriate CPP guards.
15197 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
15198 frame pointer, not the stack pointer. Correct layout comments. Fix test
15199 on resulting framesize and the management of the outregs buffer for pltexit.
15200 Preserve floating point return values across _dl_call_pltexit call.
15201 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
15202 framesize and the management of the outregs buffer for pltexit.
15203 Preserve floating point return values across _dl_call_pltexit
15204 call.
15205 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
15206 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
15207 (print_exit): Fix format string for return register value.
15208
9a07f9d0
JM
152092012-03-10 Joseph Myers <joseph@codesourcery.com>
15210
15211 * sunrpc/Makefile (others): Add rpcgen.
15212 ($(objpfx)rpcgen): Remove special build rule and dependency on
15213 libc.
15214 * sunrpc/rpcgen.c: New file.
15215
547b5e30
PE
152162012-03-09 Paul Eggert <eggert@cs.ucla.edu>
15217
c524201a
PE
15218 [BZ #13673]
15219 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
15220 * stdio-common/bug-vfprintf-nargs.c: Likewise.
15221 * sysdeps/i386/crti.S: Likewise.
15222 * sysdeps/i386/crtn.S: Likewise.
15223 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
15224 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
15225 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
15226 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
15227 * sysdeps/sh/crti.S: Likewise.
15228 * sysdeps/sh/crtn.S: Likewise.
15229 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
15230
7b6235f2
PE
15231 [BZ #13673]
15232 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
15233 with URL.
15234 * locale/programs/locfile-kw.gperf: Likewise.
15235 * locale/programs/charmap-kw.h: Regenerated.
15236 * locale/programs/locfile-kw.h: Likewise.
15237
547b5e30
PE
15238 [BZ #13673]
15239 * intl/plural.y: Replace FSF snail mail address with URL.
15240 * intl/plural.c: Regenerated.
15241
5f0a5dae
RH
152422012-03-09 Richard Henderson <rth@twiddle.net>
15243
15244 * include/math_private.h: Remove file.
15245 * math/math_private.h: Move file ...
15246 * sysdeps/generic/math_private.h: ... here.
15247
b8c03620
RH
15248 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
15249 * sysdeps/powerpc/fpu/math_private.h: Likewise.
15250 * sysdeps/x86_64/fpu/math_private.h: Likewise.
15251
4e234f5d 15252 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
15253 and <math_private.h>.
15254 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
15255 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
15256 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
15257 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
15258 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
15259 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
15260 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
15261 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15262 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
15263 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
15264 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15265 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
15266 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
15267 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
15268 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
15269 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
15270 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
15271 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15272 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
15273 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
15274 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15275 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
15276 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
15277 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15278 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
15279 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
15280 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
15281 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15282 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15283 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15284 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
15285 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15286 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
15287 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
15288 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
15289 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15290 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
15291 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
15292 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
15293 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
15294 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
15295 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
15296 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
15297 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
15298 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
15299 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
15300 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
15301 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
15302 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
15303 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
15304 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
15305 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
15306 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
15307 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
15308 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
15309 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
15310 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
15311 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
15312 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
15313 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
15314 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15315 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
15316 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15317 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
15318 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
15319 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
15320 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
15321 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
15322 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
15323 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
15324 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
15325 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
15326 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
15327 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
15328 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
15329 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
15330 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
15331 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
15332 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
15333 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
15334 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
15335 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
15336 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
15337 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
15338 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
15339 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
15340 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
15341 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
15342 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
15343 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
15344 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
15345 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
15346 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
15347 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
15348 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
15349 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
15350 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
15351 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
15352 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
15353 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
15354 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
15355 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
15356 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
15357 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
15358 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
15359 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
15360 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
15361 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
15362 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
15363 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
15364 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
15365 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
15366 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
15367 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
15368 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
15369 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
15370 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
15371 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
15372 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
15373 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
15374 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
15375 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
15376 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
15377 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
15378 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
15379 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
15380 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
15381 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
15382 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
15383 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
15384 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
15385 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
15386 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
15387 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
15388 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
15389 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
15390 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
15391 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
15392 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
15393 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
15394 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
15395 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
15396 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
15397 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
15398 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
15399 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
15400 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
15401 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
15402 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
15403 * sysdeps/ieee754/k_standard.c: Likewise.
15404 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
15405 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
15406 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
15407 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
15408 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
15409 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
15410 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
15411 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
15412 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
15413 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
15414 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
15415 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
15416 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
15417 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
15418 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
15419 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
15420 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
15421 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
15422 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
15423 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
15424 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
15425 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
15426 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
15427 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
15428 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
15429 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
15430 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
15431 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
15432 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
15433 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
15434 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
15435 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
15436 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
15437 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
15438 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
15439 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
15440 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
15441 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
15442 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
15443 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
15444 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
15445 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
15446 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
15447 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
15448 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
15449 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
15450 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
15451 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
15452 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
15453 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
15454 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
15455 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
15456 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
15457 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
15458 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
15459 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
15460 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
15461 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
15462 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
15463 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
15464 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
15465 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
15466 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
15467 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
15468 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
15469 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
15470 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
15471 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
15472 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
15473 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
15474 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
15475 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
15476 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
15477 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
15478 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
15479 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
15480 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
15481 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
15482 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
15483 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
15484 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
15485 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
15486 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
15487 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
15488 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
15489 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
15490 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
15491 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
15492 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
15493 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
15494 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
15495 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
15496 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
15497 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
15498 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
15499 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
15500 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
15501 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
15502 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
15503 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
15504 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
15505 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
15506 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
15507 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
15508 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
15509 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
15510 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
15511 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
15512 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
15513 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
15514 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
15515 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
15516 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
15517 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
15518 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
15519 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
15520 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
15521 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
15522 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
15523 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
15524 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
15525 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
15526 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
15527 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
15528 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
15529 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
15530 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
15531 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
15532 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
15533 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
15534 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
15535 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
15536 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
15537 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
15538 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
15539 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
15540 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
15541 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
15542 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
15543 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
15544 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
15545 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
15546 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
15547 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
15548 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
15549 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
15550 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
15551 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
15552 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
15553 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
15554 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
15555 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
15556 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
15557 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
15558 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
15559 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
15560 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
15561 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
15562 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
15563 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
15564 * sysdeps/ieee754/s_lib_version.c: Likewise.
15565 * sysdeps/ieee754/s_matherr.c: Likewise.
15566 * sysdeps/ieee754/s_signgam.c: Likewise.
15567 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
15568 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
15569 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
15570 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
15571 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
15572 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
15573 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
15574 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
15575 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
15576 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
15577 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
15578 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
15579 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
15580 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
15581 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
15582 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
15583 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
15584 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
15585 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
15586 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
15587 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 15588
1991fa03
JM
155892012-03-09 Joseph Myers <joseph@codesourcery.com>
15590
15591 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
15592 * sunrpc/rpc_main.c: Likewise.
15593 * sunrpc/rpc_svcout.c: Likewise.
15594
60d6f5a6
DM
155952012-03-09 David S. Miller <davem@davemloft.net>
15596
15597 * include/math_private.h: New file.
15598
4962050e
JM
155992012-03-09 Joseph Myers <joseph@codesourcery.com>
15600
02a6f887
JM
15601 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
15602 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
15603 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
15604 from <bits/socket_type.h>.
15605 (enum __socket_type): Don't define here.
15606 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
15607 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15608 bits/socket_type.h.
15609
c6e013c1
JM
15610 [BZ #13566]
15611 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
15612 checking __USE_GNU.
15613
4962050e
JM
15614 * Makerules ($(inst_includedir)/%.h): New rule.
15615 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
15616 (install-others): Remove variable setting.
15617 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
15618
38842f45
RH
156192012-03-08 Richard Henderson <rth@twiddle.net>
15620
67bb6da6
RH
15621 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
15622 from macro to inline function; merge with the
15623 !__LIBC_INTERNAL_MATH_INLINES version.
15624 (__ieee754_sqrtf): Likewise.
15625
15194b4b
RH
15626 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
15627 to inline function.
15628 (__rintf, __floor, __floorf): Likewise.
15629
64e21ede
RH
15630 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
15631 macro to inline function.
15632 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
15633
38842f45
RH
15634 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
15635 not <math/math_private.h>.
15636
c64bf5fe
DM
156372012-03-08 David S. Miller <davem@davemloft.net>
15638
15639 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
15640 copyright year.
15641 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
15642
82d86f28
TS
156432012-03-08 Thomas Schwinge <thomas@codesourcery.com>
15644
15645 * resolv/gai_misc.c (handle_requests): Fix struct timespec
15646 normalization.
15647 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
15648 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
15649
aea5d727
UD
156502012-03-08 Ulrich Drepper <drepper@gmail.com>
15651
15652 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
15653 be defined individually, they must be defined as a block. Define
15654 S for printing a string instead of hidint the different by using a
15655 macro for adding the 'l'.
15656 * stdio-common/tst-fphex-wide.c: Adjust.
15657
70bca0a3
MP
156582012-03-07 Marek Polacek <polacek@redhat.com>
15659
15660 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
15661
65b81130
MP
156622012-03-08 Marek Polacek <polacek@redhat.com>
15663
15664 [BZ #13806]
15665 * stdio-common/Makefile (tests): Add tst-fphex-wide.
15666 * stdio-common/tst-fphex.c: Define a few macros to make the
15667 test reusable. Use them.
15668 * stdio-common/tst-fphex-wide.c: New file.
15669
07037eeb
JM
156702012-03-08 Joseph Myers <joseph@codesourcery.com>
15671
a7a93d50
JM
15672 [BZ #6911]
15673 * manual/macros.texi (gnusystems): New macro.
15674 (nongnusystems): Likewise.
15675 (gnulinuxhurdsystems): Likewise.
15676 (gnuhurdsystems): Likewise..
15677 (gnulinuxsystems): Likewise.
15678 * manual/charset.texi: Use new macros or @theglibc{} to refer to
15679 variants of the GNU system, not "GNU system".
15680 * manual/conf.texi: Likewise.
15681 * manual/errno.texi: Likewise. Update example of errno macro
15682 expansion.
15683 * manual/filesys.texi: Likewise.
15684 (getumask): Document as specific to GNU/Hurd.
15685 * manual/install.texi: Likewise. Reword some references to
15686 GNU/Linux.
15687 * manual/intro.texi: Likewise.
15688 * manual/io.texi: Likewise.
15689 (File Name Portability): Detail which constraints are inapplicable
15690 to all GNU systems and which are only inapplicable to GNU/Hurd.
15691 * manual/job.texi: Likewise.
15692 * manual/llio.texi: Likewise.
15693 (O_NOCTTY): Document as present on GNU/Linux.
15694 * manual/maint.texi: Likewise.
15695 * manual/memory.texi: Likewise.
15696 * manual/pattern.texi: Likewise.
15697 * manual/pipe.texi: Likewise.
15698 * manual/process.texi: Likewise.
15699 * manual/resource.texi: Likewise.
15700 (RUSAGE_CHILDREN): Remove statement about specifying a particular
15701 child on GNU/Hurd.
15702 * manual/setjmp.texi: Likewise.
15703 * manual/signal.texi: Likewise.
15704 * manual/startup.texi: Likewise.
15705 * manual/stdio.texi: Likewise.
15706 * manual/terminal.texi: Likewise.
15707 (ONLCR): Document as POSIX.
15708 (OXTABS): Document availability on GNU/Linux as XTABS.
15709 (ONOEOT): Document availability separately from other bits.
15710 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
15711 * manual/time.texi: Likewise.
15712 * manual/users.texi: Likewise.
15713 * INSTALL: Regenerated.
15714 * sysdeps/gnu/errlist.c: Regenerated.
15715
07037eeb
JM
15716 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
15717 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
15718 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
15719 puts.
15720 * configure: Regenerated.
15721
d1d3431a
JM
157222012-03-07 Joseph Myers <joseph@codesourcery.com>
15723
af6a1e37
JM
15724 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
15725 default includes instead of AC_HEADER_CHECK.
15726 * sysdeps/i386/configure: Regenerated.
15727
d1d3431a
JM
15728 [BZ #10716]
15729 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
15730 * math/s_cacoshf.c (__cacoshf): Likewise.
15731 * math/s_cacoshl.c (__cacoshl): Likewise.
15732 * math/s_casinh.c (__casinh): Set signs of result from argument.
15733 * math/s_casinhf.c (__casinhf): Likewise.
15734 * math/s_casinhl.c (__casinhl): Likewise.
15735 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
15736 (casinh_test): Add more tests.
15737 * sysdeps/i386/fpu/libm-test-ulps: Update.
15738 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15739
482ff4da
UD
157402012-03-07 Ulrich Drepper <drepper@gmail.com>
15741
872fda05
UD
15742 * po/zh_TW.po: Update from translation team.
15743
a4300c7a
UD
15744 * login/Makefile (distribute): Remove variable.
15745 * catgets/Makefile: Likewise.
15746 * mach/Makefile: Likewise.
15747 * malloc/Makefile: Likewise.
15748 * misc/Makefile: Likewise.
15749 * iconv/Makefile: Likewise.
15750 * nscd/Makefile: Likewise.
15751 * hurd/Makefile: Likewise.
15752 * manual/Makefile: Likewise.
15753 * locale/Makefile: Likewise.
15754 * intl/Makefile: Likewise.
15755 * conform/Makefile: Likewise.
15756 * nss/Makefile: Likewise.
15757 * time/Makefile: Likewise.
15758 * soft-fp/Makefile: Likewise.
15759 * dirent/Makefile: Likewise.
15760 * gmon/Makefile: Likewise.
15761 * po/Makefile: Likewise.
15762 * rt/Makefile: Likewise.
15763 * socket/Makefile: Likewise.
15764 * math/Makefile: Likewise.
15765 * signal/Makefile: Likewise.
15766 * debug/Makefile: Likewise.
15767 * elf/Makefile: Likewise.
15768 * timezone/Makefile: Likewise.
15769 * stdlib/Makefile: Likewise.
15770 * iconvdata/Makefile: Likewise.
15771 * sunrpc/Makefile: Likewise.
15772 * io/Makefile: Likewise.
15773 * argp/Makefile: Likewise.
15774 * inet/Makefile: Likewise.
15775 * hesiod/Makefile: Likewise.
15776 * grp/Makefile: Likewise.
15777 * csu/Makefile: Likewise.
15778 * wctype/Makefile: Likewise.
15779 * crypt/Makefile: Likewise.
15780 * libio/Makefile: Likewise.
15781 * string/Makefile: Likewise.
15782 * nis/Makefile: Likewise.
15783 * resolv/Makefile: Likewise.
15784 * stdio-common/Makefile: Likewise.
15785 * wcsmbs/Makefile: Likewise.
15786 * dlfcn/Makefile: Likewise.
15787 * posix/Makefile: Likewise.
15788
3b7c4e74 15789 [BZ #6959]
482ff4da
UD
15790 * timezone/Makefile: Don't install timezone files, just the programs
15791 and scripts.
15792
f72ed77d
UD
157932012-03-06 Ulrich Drepper <drepper@gmail.com>
15794
a000466f
UD
15795 * nss/databases.def: Add missing gshadow entry.
15796
f72ed77d
UD
15797 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
15798
a53b7a4e
MP
157992012-03-06 Marek Polacek <polacek@redhat.com>
15800
15801 [BZ #13726]
15802 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
15803 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
15804 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
15805 * stdio-common/tst-long-dbl-fphex.c: New file.
15806
e9258400
DM
158072012-03-06 David S. Miller <davem@davemloft.net>
15808
15809 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
15810 (set_obp_int): New function.
15811 (get_obp_int): New function.
15812 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
15813 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
15814 Avoid unused variable warnings on 'val' and use builtin_expect.
15815 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
15816 __builtin_expect.
e9258400
DM
15817 (INLINE_CLONE_SYSCALL): Likewise.
15818
3bd2c723
DM
158192012-03-05 David S. Miller <davem@davemloft.net>
15820
15821 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15822
bbb78d03
AS
158232012-03-05 Andreas Schwab <schwab@linux-m68k.org>
15824
884c5db4
AS
15825 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15826
bbb78d03
AS
15827 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
15828 only for |x| >= 40.
15829 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
15830
1c9f702a 158312012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
15832
15833 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
15834 Replace gettimeofday with __vdso_gettimeofday.
15835
7be16f82
RM
15836 * sysdeps/unix/sysv/linux/x86_64/init-first.c
15837 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
15838 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
15839
15840 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
15841 time with __vdso_time.
15842
ed58a00f
JM
158432012-03-05 Joseph Myers <joseph@codesourcery.com>
15844
15845 * manual/lang.texi (size_t): Note types to which size_t may be
15846 equivalent with the GNU C Library, but do not describe when
15847 differences between them are significant.
15848
30ee4ced
AJ
158492012-03-05 Andreas Jaeger <aj@suse.de>
15850
15851 * sysdeps/i386/fpu/libm-test-ulps: Update.
15852
b7cd39e8
JM
158532012-03-05 Joseph Myers <joseph@codesourcery.com>
15854
15855 [BZ #3976]
15856 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
15857 (__ieee754_pow): Save and restore rounding mode and use
15858 round-to-nearest for main computations.
15859 * math/libm-test.inc (pow_test_tonearest): New function.
15860 (pow_test_towardzero): Likewise.
15861 (pow_test_downward): Likewise.
15862 (pow_test_upward): Likewise.
15863 (main): Call the new functions.
15864 * sysdeps/i386/fpu/libm-test-ulps: Update.
15865 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
15866
15867 [BZ #3976]
15868 * math/libm-test.inc (cosh_test_tonearest): New function.
15869 (cosh_test_towardzero): Likewise.
15870 (cosh_test_downward): Likewise.
15871 (cosh_test_upward): Likewise.
15872 (sinh_test_tonearest): Likewise.
15873 (sinh_test_towardzero): Likewise.
15874 (sinh_test_downward): Likewise.
15875 (sinh_test_upward): Likewise.
15876 (main): Call the new functions.
15877 * sysdeps/i386/fpu/libm-test-ulps: Update.
15878 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15879
6c6a98c9
TV
158802012-03-05 Tom de Vries <tom@codesourcery.com>
15881
15882 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
15883 default stack guard is set in last bytes.
15884 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
15885
21bb2d2e 158862012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 15887
21bb2d2e 15888 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 15889
21bb2d2e
AJ
15890 [BZ #13656]
15891 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
15892 possibly allocate from heap instead of stack.
15893 * stdio-common/bug-vfprintf-nargs.c: New file.
15894 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 15895
c6922934
AS
158962012-03-03 Andreas Schwab <schwab@linux-m68k.org>
15897
15898 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15899
bc957d53
MP
159002012-03-03 Marek Polacek <polacek@redhat.com>
15901
15902 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
15903 * math/math_private.h: Likewise.
15904 * stdlib/tst-strtod.c: Likewise.
15905 * sysdeps/i386/i486/bits/atomic.h: Likewise.
15906 * sysdeps/x86_64/bits/atomic.h: Likewise.
15907
6358490d
DM
159082012-03-02 David S. Miller <davem@davemloft.net>
15909
15910 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
15911 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
15912 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
15913 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
15914 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
15915 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
15916 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
15917 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
15918
01ae168d
RM
159192012-03-02 Roland McGrath <roland@hack.frob.com>
15920
d9a17c07
RM
15921 [BZ #13792]
15922 * manual/examples/README: New file, says the example source files
15923 can be used under GPL>=2.
15924 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
15925 line containing just "*/".
15926 * manual/examples/add.c: Add copyright header (GPL>=2).
15927 * manual/examples/argp-ex1.c: Likewise.
15928 * manual/examples/argp-ex2.c: Likewise.
15929 * manual/examples/argp-ex3.c: Likewise.
15930 * manual/examples/argp-ex4.c: Likewise.
15931 * manual/examples/atexit.c: Likewise.
15932 * manual/examples/db.c: Likewise.
15933 * manual/examples/dir.c: Likewise.
15934 * manual/examples/dir2.c: Likewise.
15935 * manual/examples/execinfo.c: Likewise.
15936 * manual/examples/filecli.c: Likewise.
15937 * manual/examples/filesrv.c: Likewise.
15938 * manual/examples/fmtmsgexpl.c: Likewise.
15939 * manual/examples/genpass.c: Likewise.
15940 * manual/examples/inetcli.c: Likewise.
15941 * manual/examples/inetsrv.c: Likewise.
15942 * manual/examples/isockad.c: Likewise.
15943 * manual/examples/longopt.c: Likewise.
15944 * manual/examples/memopen.c: Likewise.
15945 * manual/examples/memstrm.c: Likewise.
15946 * manual/examples/mkfsock.c: Likewise.
15947 * manual/examples/mkisock.c: Likewise.
15948 * manual/examples/mygetpass.c: Likewise.
15949 * manual/examples/pipe.c: Likewise.
15950 * manual/examples/popen.c: Likewise.
15951 * manual/examples/rprintf.c: Likewise.
15952 * manual/examples/search.c: Likewise.
15953 * manual/examples/select.c: Likewise.
15954 * manual/examples/setjmp.c: Likewise.
15955 * manual/examples/sigh1.c: Likewise.
15956 * manual/examples/sigusr.c: Likewise.
15957 * manual/examples/stpcpy.c: Likewise.
15958 * manual/examples/strdupa.c: Likewise.
15959 * manual/examples/strftim.c: Likewise.
15960 * manual/examples/strncat.c: Likewise.
15961 * manual/examples/subopt.c: Likewise.
15962 * manual/examples/swapcontext.c: Likewise.
15963 * manual/examples/termios.c: Likewise.
15964 * manual/examples/testopt.c: Likewise.
15965 * manual/examples/testpass.c: Likewise.
15966 * manual/examples/timeval_subtract.c: Likewise.
15967
01ae168d
RM
15968 [BZ #13792]
15969 * manual/time.texi (Elapsed Time): Move timeval_subtract example
15970 function to ...
15971 * manual/timeval_subtract.c.texi: ... here, new file.
15972
49efa33d
DM
159732012-03-02 David S. Miller <davem@davemloft.net>
15974
15975 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
15976
28afd92d
JM
159772012-03-02 Joseph Myers <joseph@codesourcery.com>
15978
804360ed
JM
15979 [BZ #3976]
15980 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
15981 (__sin): Save and restore rounding mode and use round-to-nearest
15982 for all computations.
15983 (__cos): Save and restore rounding mode and use round-to-nearest
15984 for all computations.
15985 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
15986 <fenv.h>.
15987 (tan): Save and restore rounding mode and use round-to-nearest for
15988 all computations.
15989 * math/libm-test.inc (cos_test_tonearest): New function.
15990 (cos_test_towardzero): Likewise.
15991 (cos_test_downward): Likewise.
15992 (cos_test_upward): Likewise.
15993 (sin_test_tonearest): Likewise.
15994 (sin_test_towardzero): Likewise.
15995 (sin_test_downward): Likewise.
15996 (sin_test_upward): Likewise.
15997 (tan_test_tonearest): Likewise.
15998 (tan_test_towardzero): Likewise.
15999 (tan_test_downward): Likewise.
16000 (tan_test_upward): Likewise.
16001 (main): Call the new functions.
16002 * sysdeps/i386/fpu/libm-test-ulps: Update.
16003 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16004
a6d06d7b
JM
16005 [BZ #10135]
16006 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
16007 small n, then large n, before computing and testing k+n.
16008 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
16009 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
16010 Likewise.
16011 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
16012 Likewise.
16013 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
16014 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
16015 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
16016 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
16017 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
16018 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
16019 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
16020 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
16021 * math/libm-test.inc (scalbn_test): Add more tests.
16022 (scalbln_test): Likewise.
16023
07e12bb3
JM
16024 * manual/filesys.texi (mode_t): Describe constraints on size and
16025 signedness, not exact equivalence to a particular type.
16026 (ino_t): Likewise.
16027 (ino64_t): Likewise.
16028 (dev_t): Likewise.
16029 (nlink_t): Likewise.
16030 (blkcnt_t): Likewise.
16031 (blkcnt64_t): Likewise.
16032 * manual/llio.texi (off_t): Likewise.
16033
28afd92d
JM
16034 [BZ #3976]
16035 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
16036 (__ieee754_exp): Save and restore rounding mode and use
16037 round-to-nearest for all computations.
16038 * math/libm-test.inc (exp_test_tonearest): New function.
16039 (exp_test_towardzero): Likewise.
16040 (exp_test_downward): Likewise.
16041 (exp_test_upward): Likewise.
16042 (main): Call the new functions.
16043 * sysdeps/i386/fpu/libm-test-ulps: Update.
16044 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16045
b1eeb65d
CD
160462012-03-01 Chris Demetriou <cgd@google.com>
16047
16048 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
16049 have predictable order.
16050
53362a4b
DM
160512012-03-01 David S. Miller <davem@davemloft.net>
16052
3c969083
DM
16053 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
16054
759707de
DM
16055 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
16056 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
16057 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
16058 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
16059
dfdb8ff2
DM
16060 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
16061 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
16062 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
16063 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
16064 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
16065 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
16066 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
16067 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
16068 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
16069
ead89f96
DM
16070 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16071
7f66bd07
DM
16072 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
16073 * sysdeps/sparc/fpu/libm-test-ulps: to here.
16074 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
16075
53362a4b
DM
16076 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
16077 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
16078 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
16079 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
16080 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
16081 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
16082 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
16083 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
16084 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
16085 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
16086 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
16087 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
16088 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
16089 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
16090 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
16091 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
16092 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
16093 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
16094 * sysdeps/sparc/elf/configure: Regenerated.
16095
7b1902cb
JM
160962012-03-01 Joseph Myers <joseph@codesourcery.com>
16097
bec039bc
JM
16098 * configure.in (AS, LD): Require binutils 2.20 or later.
16099 * configure: Regenerated.
16100 * manual/install.texi (Tools for Compilation): Give binutils 2.20
16101 as required minimum version.
16102 * INSTALL: Regenerated.
16103
7b1902cb
JM
16104 [BZ #2541]
16105 [BZ #4108]
16106 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
16107 before squaring exponent.
16108 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
16109 bottom long double and 27 bits of top long double before squaring
16110 exponent.
16111 * math/libm-test.inc (erfc_test): Add more tests.
16112 * sysdeps/i386/fpu/libm-test-ulps: Update.
16113 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16114 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16115
f775c276
KT
161162012-03-01 Kai Tietz <ktietz@redhat.com>
16117
16118 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
16119 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
16120 containing bit-fields.
16121 * soft-fp/extended.h (_FP_UNION_E): Likewise.
16122 * soft-fp/single.h (_FP_UNION_S): Likewise.
16123 * soft-fp/double.h (_FP_UNION_D): Likewise.
16124
5b8a4d4a
JM
161252012-02-29 Joseph Myers <joseph@codesourcery.com>
16126
0bab47b6
JM
16127 [BZ #13786]
16128 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
16129 not include ../strcmp.S.
16130 [USE_AS_STRNCASECMP_L]: Likewise.
16131 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
16132 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
16133 * sysdeps/i386/i686/multiarch/strncase_l-c.c
16134 (__strncasecmp_l_ia32): Define as alias to
16135 __strncasecmp_l_nonascii.
16136
0fcad3e2
JM
16137 [BZ #5794]
16138 * math/libm-test.inc (expm1_test): Add test for bug 5794.
16139 * sysdeps/i386/fpu/libm-test-ulps: Update.
16140 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16141
5b8a4d4a
JM
16142 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
16143 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16144
8fdceb2e
JL
161452012-02-29 Jeff Law <law@redhat.com>
16146
16147 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
16148 out of bounds read.
16149
1f393a11
MP
161502012-02-29 Marek Polacek <polacek@redhat.com>
16151
16152 [BZ #13706]
16153 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
16154 * elf/Makefile: Add rules to run tst-unused-dep.out.
16155
8847f037
DM
161562012-02-28 David S. Miller <davem@davemloft.net>
16157
16158 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
16159 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
16160 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
16161 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
16162 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
16163 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
16164
169d7f11
JM
161652012-02-29 Joseph Myers <joseph@codesourcery.com>
16166
16167 * math/libm-test.inc (llround_test): Move one test from
16168 lround_test. Use TEST_f_L in moved test.
16169 (lround_test): Move misplaced test to llround_test. Add testcase
16170 from bug 2561.
16171
39adf059
UD
161722012-02-28 Ulrich Drepper <drepper@gmail.com>
16173
16174 * sysdeps/x86_64/fpu/e_expf.S: New file.
16175 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
16176
71b5d1c5
SB
161772012-02-28 Stanislav Brabec <sbrabec@suse.cz>
16178
16179 [BZ #13637]
16180 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
16181 of remain_len that may cause incomplete multi-byte character and
16182 false match.
16183 * posix/bug-regex33.c: New file.
16184 * posix/Makefile (tests): Add bug-regex33.
16185
1f77f049
JM
161862012-02-28 Joseph Myers <joseph@codesourcery.com>
16187
16188 * manual/macros.texi: New file.
16189 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
16190 * manual/libc.texinfo: Include macros.texi.
16191 * manual/creatute.texi: Likewise.
16192 * manual/install.texi: Likewise.
16193 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
16194 @glibcadj{} in references to the GNU C Library.
16195 * manual/charset.texi: Likewise.
16196 * manual/conf.texi: Likewise.
16197 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
16198 when not using those macros.
16199 * manual/creature.texi: Likewise.
16200 * manual/crypt.texi: Likewise.
16201 * manual/errno.texi: Likewise.
16202 * manual/filesys.texi: Likewise.
16203 * manual/header.texi: Likewise.
16204 * manual/install.texi: Likewise.
16205 * manual/intro.texi: Likewise.
16206 * manual/io.texi: Likewise.
16207 * manual/job.texi: Likewise.
16208 * manual/lang.texi: Likewise.
16209 * manual/libc.texiinfo: Likewise.
16210 * manual/llio.texi: Likewise.
16211 * manual/locale.texi: Likewise.
16212 * manual/maint.texi: Likewise.
16213 * manual/math.texi: Likewise.
16214 * manual/memory.texi: Likewise.
16215 * manual/message.texi: Likewise.
16216 * manual/nss.texi: Likewise.
16217 * manual/pattern.texi: Likewise.
16218 * manual/process.texi: Likewise.
16219 * manual/resource.texi: Likewise.
16220 * manual/search.texi: Likewise.
16221 * manual/setjmp.texi: Likewise.
16222 * manual/signal.texi: Likewise.
16223 * manual/socket.texi: Likewise.
16224 * manual/startup.texi: Likewise.
16225 * manual/stdio.texi: Likewise.
16226 * manual/string.texi: Likewise.
16227 * manual/sysinfo.texi: Likewise.
16228 * manual/syslog.texi: Likewise.
16229 * manual/terminal.texi: Likewise.
16230 * manual/time.texi: Likewise.
16231 * manual/users.texi: Likewise.
16232 * INSTALL: Regenerated.
16233 * NOTES: Regenerated.
d40c5d54 16234 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 16235
450bf206
AS
162362012-02-28 Andreas Schwab <schwab@linux-m68k.org>
16237
16238 * include/dirent.h: Include <dirstream.h> before
16239 <dirent/dirent.h>.
16240
741a235b
DM
162412012-02-28 David S. Miller <davem@davemloft.net>
16242
16243 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
16244 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
16245 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
16246 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
16247
d6b5aa58
DM
162482012-02-27 David S. Miller <davem@davemloft.net>
16249
1aff59a3
DM
16250 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
16251 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
16252 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
16253 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
16254
d6b5aa58
DM
16255 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
16256 frame pointer instead of stack pointer relative arg slot.
16257 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
16258 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
16259 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
16260
433f48bf
CD
162612012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
16262
16263 [BZ #3992]
16264 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
16265
d674b76d
DM
162662012-02-27 David S. Miller <davem@davemloft.net>
16267
16268 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
16269 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
16270 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
16271 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
16272 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
16273 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
16274 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
16275 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
16276
0e7727f7
JM
162772012-02-27 Joseph Myers <joseph@codesourcery.com>
16278
16279 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
16280 later. Allow versions 5-9.
43be4ca2 16281 * configure: Regenerated.
0e7727f7
JM
16282 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
16283 required minimum version and 4.6 as recommended version. Do not
16284 mention bugs in GCC 2.7 and 2.8.
43be4ca2 16285 * INSTALL: Regenerated.
0e7727f7 16286
a78bc654
DM
162872012-02-27 David S. Miller <davem@davemloft.net>
16288
428d5830
DM
16289 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
16290 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
16291 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
16292 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
16293 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
16294 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
16295 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
16296 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
16297
a78bc654
DM
16298 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
16299 manipulate bits before adding and subtracting TWO112[sx].
16300 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
16301
4579f81c
RM
163022012-02-27 Roland McGrath <roland@hack.frob.com>
16303
36c8acb4
RM
16304 [BZ #13775]
16305 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
16306 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
16307 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
16308 being in POSIX, because they are in 1003.1-2008.
16309
84ad622b
RM
16310 * rt/tst-aio.c: Include <fcntl.h>.
16311 * rt/tst-aio7.c: Likewise.
16312 * rt/tst-aio64.c: Likewise.
16313
4579f81c
RM
16314 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
16315
abd923db
JM
163162012-02-27 Joseph Myers <joseph@codesourcery.com>
16317
16318 * manual/install.texi (--with-headers): Describe headers as
16319 interface headers, not private headers.
16320 (Specific advice for GNU/Linux systems): Describe use of headers
16321 from "make headers_install", not private headers from older
16322 kernels.
43be4ca2 16323 * INSTALL: Regenerated.
abd923db
JM
16324 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
16325 Change to 2.6.19.
16326 * sysdeps/unix/sysv/linux/configure: Regenerated.
16327
6664049b
JM
16328 * manual/llio.texi (fclean): Remove documentation.
16329
bb8b6697
JM
16330 * manual/Makefile (libc-texi-generated): New variable. Include
16331 version.texi.
16332 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
16333 $(libc-texi-generated), not duplicated list of files.
16334 (version.texi, stamp-version): New rules.
16335 (realclean): Remove $(libc-texi-generated), not individual files
16336 from that list. Do not remove dir-add.texinfo.
16337 * manual/libc.texinfo: Comment out uses of edition numbers and
16338 references to printed manual. Remove last-updated dates.
16339 (EDITION): Comment out.
16340 (ISBN): Likewise.
16341 (VERSION, UPDATED): Remove.
16342 (version.texi): Include.
16343
12e5c3b9
AS
163442012-02-27 Andreas Schwab <schwab@linux-m68k.org>
16345
16346 * sysdeps/posix/spawni.c: Include <signal.h>.
16347 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
16348 * sysdeps/pthread/aio_fsync.c: Likewise.
16349
4efeffc1 163502012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 16351
ba63ba08
UD
16352 * conform/Makefile (tests): Run only when not cross-compiling and
16353 when fast-check is not defined.
16354
d94a4670
UD
16355 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
16356 * conform/data/limits.h-data: Fixes for POSIX2008.
16357 * conform/run-conformtest.sh: Run all tests.
16358 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
16359 headers.
16360 * include/bits/dlfcn.h: Likewise.
16361 * include/langinfo.h: Likewise.
16362 * include/monetary.h: Likewise.
16363 * include/sys/poll.h: Likewise.
16364
16365 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
16366 for __USE_GNU.
16367 * posix/spawn.h: Define __need_sigset_t.
16368 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
16369 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
16370 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
16371 to get sigevent_t only.
16372 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
16373 only for __USE_GNU.
16374 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
16375 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
16376 process_vm_writev only for __USE_GNU.
16377 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
16378
16379 * conform/Makefile: For now ignore errors from run-conformtest.
16380 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
16381 POSIX to avoid namespace pollution. Don't prepend headers.
16382 * conform/data/aio.h-data: Fixes for POSIX testing.
16383 * conform/data/fcntl.h-data: Likewise.
16384 * conform/data/glob.h-data: Likewise.
16385 * conform/data/grp.h-data: Likewise.
16386 * conform/data/pthread.h-data: Likewise.
16387 * conform/data/pwd.h-data: Likewise.
16388 * conform/data/signal.h-data: Likewise.
16389 * conform/data/spawn.h-data: Likewise.
16390 * conform/data/stdio.h-data: Likewise.
16391 * conform/data/stdlib.h-data: Likewise.
16392 * conform/data/stropts.h-data: Likewise.
16393 * conform/data/sys/mman.h-data: Likewise.
16394 * conform/data/sys/stat.h-data: Likewise.
16395 * conform/data/sys/types.h-data: Likewise.
16396 * conform/data/sys/wait.h-data: Likewise.
16397 * conform/data/time.h-data: Likewise.
16398 * conform/data/unistd.h-data: Likewise.
16399 * conform/data/utime.h-data: Likewise.
16400
16401 * io/sys/stat.h: fchmod was always in POSIX.
16402 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
16403 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
16404 * rt/aio.h: Define __need_timespec before including <time.h>.
16405 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
16406 struct. Add forward declaration of pthread_attr_t and use it in
16407 sigevent.
16408 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
16409 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
16410 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
16411 always remove CLK_TCK definition.
16412
c20105c3
AS
164132012-02-26 Andreas Schwab <schwab@linux-m68k.org>
16414
16415 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
16416
7a270350
UD
164172012-02-25 Ulrich Drepper <drepper@gmail.com>
16418
31341567
UD
16419 * conform/run-conformtest.sh: New file.
16420 * conform/Makefile: Run run-conformtest for tests.
16421 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
16422 support.
16423
16424 * conform/data/uchar.h-data: New file.
16425 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
16426 * conform/data/arpa/inet.h-data: Likewise.
16427 * conform/data/assert.h-data: Likewise.
16428 * conform/data/complex.h-data: Likewise.
16429 * conform/data/cpio.h-data: Likewise.
16430 * conform/data/ctype.h-data: Likewise.
16431 * conform/data/dirent.h-data: Likewise.
16432 * conform/data/dlfcn.h-data: Likewise.
16433 * conform/data/errno.h-data: Likewise.
16434 * conform/data/fcntl.h-data: Likewise.
16435 * conform/data/float.h-data: Likewise.
16436 * conform/data/fmtmsg.h-data: Likewise.
16437 * conform/data/fnmatch.h-data: Likewise.
16438 * conform/data/ftw.h-data: Likewise.
16439 * conform/data/glob.h-data: Likewise.
16440 * conform/data/grp.h-data: Likewise.
16441 * conform/data/iconv.h-data: Likewise.
16442 * conform/data/inttypes.h-data: Likewise.
16443 * conform/data/langinfo.h-data: Likewise.
16444 * conform/data/libgen.h-data: Likewise.
16445 * conform/data/limits.h-data: Likewise.
16446 * conform/data/locale.h-data: Likewise.
16447 * conform/data/math.h-data: Likewise.
16448 * conform/data/monetary.h-data: Likewise.
16449 * conform/data/mqueue.h-data: Likewise.
16450 * conform/data/ndbm.h-data: Likewise.
16451 * conform/data/net/if.h-data: Likewise.
16452 * conform/data/netdb.h-data: Likewise.
16453 * conform/data/netinet/in.h-data: Likewise.
16454 * conform/data/nl_types.h-data: Likewise.
16455 * conform/data/poll.h-data: Likewise.
16456 * conform/data/pthread.h-data: Likewise.
16457 * conform/data/pwd.h-data: Likewise.
16458 * conform/data/regex.h-data: Likewise.
16459 * conform/data/sched.h-data: Likewise.
16460 * conform/data/search.h-data: Likewise.
16461 * conform/data/semaphore.h-data: Likewise.
16462 * conform/data/setjmp.h-data: Likewise.
16463 * conform/data/signal.h-data: Likewise.
16464 * conform/data/spawn.h-data: Likewise.
16465 * conform/data/stdarg.h-data: Likewise.
16466 * conform/data/stdio.h-data: Likewise.
16467 * conform/data/stdlib.h-data: Likewise.
16468 * conform/data/string.h-data: Likewise.
16469 * conform/data/strings.h-data: Likewise.
16470 * conform/data/stropts.h-data: Likewise.
16471 * conform/data/sys/ipc.h-data: Likewise.
16472 * conform/data/sys/mman.h-data: Likewise.
16473 * conform/data/sys/msg.h-data: Likewise.
16474 * conform/data/sys/resource.h-data: Likewise.
16475 * conform/data/sys/select.h-data: Likewise.
16476 * conform/data/sys/sem.h-data: Likewise.
16477 * conform/data/sys/shm.h-data: Likewise.
16478 * conform/data/sys/socket.h-data: Likewise.
16479 * conform/data/sys/stat.h-data: Likewise.
16480 * conform/data/sys/statvfs.h-data: Likewise.
16481 * conform/data/sys/time.h-data: Likewise.
16482 * conform/data/sys/timeb.h-data: Likewise.
16483 * conform/data/sys/times.h-data: Likewise.
16484 * conform/data/sys/types.h-data: Likewise.
16485 * conform/data/sys/uio.h-data: Likewise.
16486 * conform/data/sys/un.h-data: Likewise.
16487 * conform/data/sys/utsname.h-data: Likewise.
16488 * conform/data/sys/wait.h-data: Likewise.
16489 * conform/data/syslog.h-data: Likewise.
16490 * conform/data/tar.h-data: Likewise.
16491 * conform/data/termios.h-data: Likewise.
16492 * conform/data/utime.h-data: Likewise.
16493 * conform/data/utmpx.h-data: Likewise.
16494 * conform/data/varargs.h-data: Likewise.
16495 * conform/data/wchar.h-data: Likewise.
16496 * conform/data/wctype.h-data: Likewise.
16497 * conform/data/wordexp.h-data: Likewise.
16498
16499 * include/stropts.h: New file.
16500 * include/uchar.h: New file.
16501 * include/aio.h: Changes to allow conformtest.pl to use the headers.
16502 * include/assert.h: Likewise.
16503 * include/ctype.h: Likewise.
16504 * include/dirent.h: Likewise.
16505 * include/dlfcn.h: Likewise.
16506 * include/fcntl.h: Likewise.
16507 * include/fnmatch.h: Likewise.
16508 * include/glob.h: Likewise.
16509 * include/grp.h: Likewise.
16510 * include/libio.h: Likewise.
16511 * include/locale.h: Likewise.
16512 * include/math.h: Likewise.
16513 * include/net/if.h: Likewise.
16514 * include/netdb.h: Likewise.
16515 * include/netinet/in.h: Likewise.
16516 * include/pthread.h: Likewise.
16517 * include/pwd.h: Likewise.
16518 * include/regex.h: Likewise.
16519 * include/sched.h: Likewise.
16520 * include/search.h: Likewise.
16521 * include/setjmp.h: Likewise.
16522 * include/signal.h: Likewise.
16523 * include/stdio.h: Likewise.
16524 * include/stdlib.h: Likewise.
16525 * include/string.h: Likewise.
16526 * include/sys/cdefs.h: Likewise.
16527 * include/sys/mman.h: Likewise.
16528 * include/sys/msg.h: Likewise.
16529 * include/sys/resource.h: Likewise.
16530 * include/sys/select.h: Likewise.
16531 * include/sys/socket.h: Likewise.
16532 * include/sys/stat.h: Likewise.
16533 * include/sys/statvfs.h: Likewise.
16534 * include/sys/time.h: Likewise.
16535 * include/sys/times.h: Likewise.
16536 * include/sys/uio.h: Likewise.
16537 * include/sys/utsname.h: Likewise.
16538 * include/sys/wait.h: Likewise.
16539 * include/termios.h: Likewise.
16540 * include/time.h: Likewise.
16541 * include/ulimit.h: Likewise.
16542 * include/unistd.h: Likewise.
16543 * include/utime.h: Likewise.
16544 * include/wchar.h: Likewise.
16545 * include/wctype.h: Likewise.
16546 * include/wordexp.h: Likewise.
16547
16548 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
16549
7a270350
UD
16550 * time/time.h: TIME_UTC must be a macro.
16551 Make timespec_get available for ISO C11 only as well.
16552
7724defc
UD
165532012-02-24 Ulrich Drepper <drepper@gmail.com>
16554
16555 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
16556 Reported by Peng Haitao <penght@cn.fujitsu.com>.
16557
6b1d1d46
JM
165582012-02-24 Joseph Myers <joseph@codesourcery.com>
16559
16560 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 16561
0f8bbd69
JM
165622012-02-24 Joseph Myers <joseph@codesourcery.com>
16563
16564 * manual/texinfo.tex: Update to version 2012-01-19.16.
16565
66ab80bc
JM
165662012-02-24 Joseph Myers <joseph@codesourcery.com>
16567
16568 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
16569
74981cc5
RM
165702012-02-24 Roland McGrath <roland@hack.frob.com>
16571
ee968201
RM
16572 [BZ #13738]
16573 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
16574 * manual/fdl-1.3.texi: New file.
16575 * manual/fdl-1.1.texi: File removed.
16576
74981cc5
RM
16577 [BZ #13738]
16578 * manual/libc.texinfo (FDL_VERSION): New @set.
16579 Use it for mention of FDL in cover text.
16580 (Documentation License): Use it in @include file name.
16581
7bb764bc
JM
165822012-02-22 Joseph Myers <joseph@codesourcery.com>
16583 Roland McGrath <roland@hack.frob.com>
16584
16585 [BZ #5461]
16586 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
16587 not LONG_LONG_MAX and LONG_LONG_MIN.
16588 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
16589 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
16590 name.
16591 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
16592
6cbeae47
JM
165932012-02-22 Joseph Myers <joseph@codesourcery.com>
16594
16595 [BZ #2547]
16596 [BZ #11365]
16597 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
16598 manipulate bits before adding and subtracting TWO23[sx].
16599 * math/libm-test.inc (nearbyint_test): Add more tests.
16600
fe45ce09
JM
166012012-02-22 Joseph Myers <joseph@codesourcery.com>
16602
16603 [BZ #2548]
16604 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
16605 bits before adding and subtracting TWO23[sx].
16606 * math/libm-test.inc (rint_test): Add more tests.
16607 (rint_test_tonearest): Likewise.
16608 (rint_test_towardzero): Likewise.
16609 (rint_test_downward): Likewise.
16610 (rint_test_upward: Likewise.
16611
ff3b3d82
JM
166122012-02-22 Joseph Myers <joseph@codesourcery.com>
16613
16614 [BZ #10110]
16615 * include/stdc-predef.h: New file. Extracted from features.h.
16616 * include/features.h: Include stdc-predef.h.
16617 * Makefile (headers): Add stdc-predef.h.
16618 * CONFORMANCE (Compiler limitations): Update.
16619
ef0aab35
JM
166202012-02-22 Joseph Myers <joseph@codesourcery.com>
16621
16622 * manual/libc.texinfo (VERSION, UPDATED): Revert.
16623
58639409
DM
166242012-02-21 David S. Miller <davem@davemloft.net>
16625
16626 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
16627 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
16628
c0e70b25
DM
166292012-02-20 David S. Miller <davem@davemloft.net>
16630
16631 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
16632 using a normal save/restore sequence, rather than allocating a
16633 dummy stack frame just to store a frame pointer and restore.
16634 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
16635
fb06851d
JM
166362012-02-21 Joseph Myers <joseph@codesourcery.com>
16637
16638 * manual/install.texi: Fix stray word in line-wrapped comment.
16639
7a8b71c3
DM
166402012-02-20 David S. Miller <davem@davemloft.net>
16641
d510c123
DM
16642 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
16643 both binutils and gcc support GOTDATA.
16644
0722d7c2
DM
16645 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
16646 "rd %pc" in the PIC register setup sequences.
16647
3d2b3019
DM
16648 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
16649 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
16650 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
16651 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
16652 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
16653 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
16654 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
16655 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
16656 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
16657 (SYSCALL_ERROR_HANDLER): Likewise.
16658 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
16659 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
16660 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
16661 (SYSCALL_ERROR_HANDLER): Likewise.
16662
c80098a9
DM
16663 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
16664 (HAVE_GCC_GOTDATA): New.
16665 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
16666 relocation support in both binutils and gcc.
16667 * sysdeps/sparc/elf/configure: Regenerate.
16668
3a2545a0
DM
16669 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
16670 * sysdeps/sparc/sparc32/elf/configure: Delete.
16671 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
16672 * sysdeps/sparc/sparc64/elf/configure: Delete.
16673 * sysdeps/sparc/elf/configure.in: New file.
16674 * sysdeps/sparc/elf/configure: Generate.
16675
7a8b71c3
DM
16676 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
16677 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
16678 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
16679 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
16680 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
16681
f1e86fca
JM
166822012-02-21 Joseph Myers <joseph@codesourcery.com>
16683
16684 * manual/install.texi: Do not mention specific glibc version
16685 numbers.
16686 * manual/libc.texinfo (VERSION, UPDATED): Update.
16687 (@copying): Use @copyright{} and range of years.
16688
0e7dfaef
JM
166892012-02-21 Joseph Myers <joseph@codesourcery.com>
16690
16691 [BZ #13695]
16692 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
16693 [crti.S not in sysdirs] (generated): Do not append.
16694 [crti.S not in sysdirs] (omit-deps): Likewise.
16695 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
16696 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
16697 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
16698 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
16699 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
16700 Likewise.
16701 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
16702 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
16703 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
16704 * csu/defs.awk: Remove file.
16705 * sysdeps/generic/initfini.c: Likewise.
16706 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
16707 variable.
16708 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
16709 Likewise.
16710
599af3ca
JM
167112012-02-20 Joseph Myers <joseph@codesourcery.com>
16712
16713 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
16714 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
16715 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
16716 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
16717 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
16718 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
16719 <bits/epoll.h>.
16720 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
16721 (__EPOLL_PACKED): Define to empty if not defined by
16722 <bits/epoll.h>.
16723 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
16724 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16725 bits/epoll.h.
16726
0e499750
JM
167272012-02-20 Joseph Myers <joseph@codesourcery.com>
16728
16729 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
16730 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
16731 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
16732 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
16733 <bits/timerfd.h>.
16734 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
16735 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16736 bits/timerfd.h.
16737
5ad91f6e
JM
167382012-02-20 Joseph Myers <joseph@codesourcery.com>
16739
16740 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
16741 in C locale.
16742 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16743 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
16744 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
16745 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16746
06b99b02
AJ
167472012-02-20 Aurelien Jarno <aurelien@aurel32.net>
16748
16749 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
16750 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
16751
7638c0fd
AS
167522012-02-19 Andreas Schwab <schwab@linux-m68k.org>
16753
16754 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
16755 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
16756 defined.
16757 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
16758 Likewise.
16759 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
16760 entry for 2.16.
16761
92221550
AJ
167622012-02-19 Aurelien Jarno <aurelien@aurel32.net>
16763
16764 * math/w_acos.c: Use non-signaling floating-point comparisons.
16765 * math/w_acosf.c: Likewise.
16766 * math/w_acosh.c: Likewise.
16767 * math/w_acoshf.c: Likewise.
16768 * math/w_acoshl.c: Likewise.
16769 * math/w_acosl.c: Likewise.
16770 * math/w_asin.c: Likewise.
16771 * math/w_asinf.c: Likewise.
16772 * math/w_asinl.c: Likewise.
16773 * math/w_atanh.c: Likewise.
16774 * math/w_atanhf.c: Likewise.
16775 * math/w_atanhl.c: Likewise.
16776 * math/w_exp2.c: Likewise.
16777 * math/w_exp2f.c: Likewise.
16778 * math/w_exp2l.c: Likewise.
16779 * math/w_j0.c: Likewise.
16780 * math/w_j0f.c: Likewise.
16781 * math/w_j0l.c: Likewise.
16782 * math/w_j1.c: Likewise.
16783 * math/w_j1f.c: Likewise.
16784 * math/w_j1l.c: Likewise.
16785 * math/w_jn.c: Likewise.
16786 * math/w_jnf.c: Likewise.
16787 * math/w_log.c: Likewise.
16788 * math/w_log10.c: Likewise.
16789 * math/w_log10f.c: Likewise.
16790 * math/w_log10l.c: Likewise.
16791 * math/w_log2.c: Likewise.
16792 * math/w_log2f.c: Likewise.
16793 * math/w_log2l.c: Likewise.
16794 * math/w_logf.c: Likewise.
16795 * math/w_logl.c: Likewise.
16796 * math/w_sqrt.c: Likewise.
16797 * math/w_sqrtf.c: Likewise.
16798 * math/w_sqrtl.c: Likewise.
16799 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
16800 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
16801 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
16802 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
16803 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
16804
ebaf36eb
JM
168052012-02-19 Joseph Myers <joseph@codesourcery.com>
16806
16807 [BZ #9739]
16808 * manual/string.texi (strnlen): Use correct parameter name in
16809 equivalent expression.
16810
71c254a6
JM
168112012-02-19 Joseph Myers <joseph@codesourcery.com>
16812
16813 [BZ #11174]
16814 * manual/users.texi (seteuid): Consistently use neweuid for
16815 argument name.
16816
16d2c631
JM
168172012-02-19 Joseph Myers <joseph@codesourcery.com>
16818
16819 [BZ #13704]
16820 * manual/nss.texi (Services in the NSS configuration): Correct
16821 list of services in example configuration file.
16822
cd837b09
NB
168232012-02-19 Nick Bowler <nbowler@draconx.ca>
16824
16825 [BZ #11322]
16826 * manual/arith.texi: Remove statements about negative zero
16827 behaving identically to zero.
16828
02c4bbad
JM
168292012-02-18 Joseph Myers <joseph@codesourcery.com>
16830
16831 [BZ #5993]
16832 * manual/install.texi: Do not document upgrading from libc5.
16833
366842e7
JM
168342012-02-18 Joseph Myers <joseph@codesourcery.com>
16835
16836 [BZ #4596]
16837 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
16838
dd54084d
DM
168392012-02-18 David S. Miller <davem@davemloft.net>
16840
16841 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
16842 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
16843 %o7 across the call.
16844 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
16845 instead.
16846 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
16847 SETUP_PIC_REG_LEAF.
16848 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
16849 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
16850 * sysdeps/sparc/crtn.S: Likewise.
16851
2bcc53a3
UD
168522012-02-17 Ulrich Drepper <drepper@gmail.com>
16853
16854 * aout/Makefile: Remove.
16855
09c093b5
RK
168562012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
16857
16858 [BZ #13058]
16859 * manual/examples/argp-ex1.c (main): Format definition in GNU
16860 style.
16861 * manual/examples/argp-ex2.c (main): Likewise.
16862 * manual/examples/argp-ex3.c (main): Likewise.
16863 * manual/examples/argp-ex4.c (main): Likewise.
16864 * manual/examples/longopt.c (main): Use new-style prototype
16865 definition.
16866 * manual/examples/strncat.c (main): Specify return type and use
16867 (void) for arguments.
16868 * manual/examples/subopt.c (main): Use char **argv argument.
16869
2ee633a2
JM
168702012-02-17 Joseph Myers <joseph@codesourcery.com>
16871
16872 [BZ #5077]
16873 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
16874 rounding modes.
16875
0520adde
FB
168762012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
16877
16878 [BZ #6907]
16879 * manual/string.texi (strchr): Change when strchrnul is
16880 recommended.
16881
3f4081cd
DGM
168822012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
16883
16884 [BZ #174]
16885 * manual/locale.texi (setlocale): Document LOCPATH.
16886
d1b10e78
JM
168872012-02-17 Joseph Myers <joseph@codesourcery.com>
16888
16889 [BZ #10210]
16890 * manual/process.texi (execle): Move @dots{} before last argument.
16891
79c6869c
PB
168922012-02-17 Paul Bolle <pebolle@tiscali.nl>
16893
16894 [BZ #12047]
16895 * manual/charset.texi (Generic Charset Conversion): Fix typo
16896 (LC_TYPE -> LC_CTYPE).
16897
cc6e48bc
NB
168982012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
16899
16900 [BZ #5805]
16901 * manual/arith.texi (scalbn): Use @var{} on parameter names.
16902 (scalbnf): Likewise.
16903 (scalbnl): Likewise.
16904 (scalbln): Likewise.
16905 (scalblnf): Likewise.
16906 (scalblnl): Likewise.
16907 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
16908 (vwarnx): Likewise.
16909 (verr): Likewise.
16910 (verrx): Likewise.
16911 * manual/filesys.texi (telldir): Use braces around return type.
16912 * manual/llio.texi (mmap): Add space after comma.
16913 (mmap64): Likewise.
16914 * manual/math.texi (jn): Use @var{} on parameter names.
16915 (jnf): Likewise.
16916 (jnl): Likewise.
16917 (yn): Likewise.
16918 (ynf): Likewise.
16919 (ynl): Likewise.
16920 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
16921 line.
16922 * manual/resource.texi (ulimit): Use @dots{} instead of literal
16923 "...".
16924 (sched_get_priority_min): Remove semicolon on @deftypefun line.
16925 (sched_get_priority_max): Likewise.
16926 * manual/signal.texi (sigvec): Add space after comma.
16927 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
16928 names.
16929 (if_indextoname): Likewise.
16930 (if_freenameindex): Likewise.
16931 (sendto): Use ',' instead of '.' in prototype.
16932 * manual/startup.texi (syscall): Use @dots{} instead of literal
16933 "...".
16934 * manual/stdio.texi (__fpending): Separate initial words of
16935 paragraph from @deftypefun line.
16936 * manual/syslog.texi (syslog): Use @dots{} instead of literal
16937 "...".
16938 (vsyslog): Use @var{} on parameter names.
16939 * manual/terminal.texi (stty): Use @var{} on parameter names.
16940 * manual/users.texi (getutmp): Use @var{} on parameter names.
16941 (getutmpx): Likewise.
16942
5b23062f
JM
169432012-02-17 Joseph Myers <joseph@codesourcery.com>
16944
16945 [BZ #6884]
16946 * manual/stdio.texi (fopen): Fix typos in description of
16947 ",ccs=STRING".
16948
8dee4833
AJ
169492012-02-17 Aurelien Jarno <aurelien@aurel32.net>
16950
16951 [BZ #4026]
16952 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
16953 get clock_id definition.
16954
9078ce93
TS
169552012-02-17 Thomas Schwinge <thomas@schwinge.name>
16956
16957 [BZ #4822]
16958 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
16959 (madvise): Cast every argument to void on its own.
16960
3835c55f
JM
169612012-02-17 Joseph Myers <joseph@codesourcery.com>
16962
16963 [BZ #9902]
16964 * manual/startup.texi (Exit Status): Fix typo.
16965
35c47e37
JM
169662012-02-17 Joseph Myers <joseph@codesourcery.com>
16967
16968 [BZ #10140]
16969 * manual/examples/argp-ex1.c: Include <stdlib.h>.
16970 * manual/examples/argp-ex2.c: Likewise.
16971 * manual/examples/argp-ex3.c: Likewise.
16972
e3b69ca7
RH
169732012-02-16 Richard Henderson <rth@redhat.com>
16974
16975 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
16976 * sysdeps/s390/s390-32/initfini.c: Remove.
16977 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
16978 * sysdeps/s390/s390-64/initfini.c: Remove.
16979
df83af67
KK
169802012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16981
16982 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
16983 compiler output for sysdeps/generic/initfini.c.
16984 * sysdeps/sh/elf/initfini.c: Remove file.
16985
f63f3380
DM
169862012-02-16 David S. Miller <davem@davemloft.net>
16987
fb59b3a4
DM
16988 [BZ #11494]
16989 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
16990
f63f3380
DM
16991 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
16992 * sysdeps/sparc/crti.S: New file.
16993 * sysdeps/sparc/crtn.S: New file.
16994 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
16995 * sysdeps/sparc/sparc64/Makefile: Likewise.
16996
df6a4a4a
MF
169972012-02-15 Mike Frysinger <vapier@gentoo.org>
16998
6dd8f3dc 16999 [BZ #3335]
df6a4a4a
MF
17000 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
17001
1cac7236
RM
170022012-02-15 Roland McGrath <roland@hack.frob.com>
17003
d2c736f8
RM
17004 [BZ #4822]
17005 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
17006
1cac7236
RM
17007 * mach/devstream.c (cookie_io_functions_t): Macro removed.
17008 (write, read, close): Likewise.
17009 Patch by Aurelien Jarno <aurelien@aurel32.net>.
17010
8e475601
JM
170112012-02-15 Joseph Myers <joseph@codesourcery.com>
17012
17013 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
17014 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
17015 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
17016 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
17017 <bits/signalfd.h>.
17018 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
17019 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17020 bits/signalfd.h.
17021
ed656b40
MP
170222012-02-14 Marek Polacek <polacek@redhat.com>
17023
17024 * sysdeps/x86_64/crti.S: New file.
17025 * sysdeps/x86_64/crtn.S: New file.
17026 * sysdeps/x86_64/elf/initfini.c: Remove file.
17027
2a979d3a
JM
170282012-02-13 Joseph Myers <joseph@codesourcery.com>
17029
17030 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
17031 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
17032 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
17033 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
17034 <bits/inotify.h>.
17035 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
17036 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17037 bits/inotify.h.
17038
2a418ac3
JM
170392012-02-13 Joseph Myers <joseph@codesourcery.com>
17040
17041 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
17042 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
17043 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
17044 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
17045 <bits/eventfd.h>.
17046 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
17047 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17048 bits/eventfd.h.
17049
fb779be7
TS
170502012-02-10 Thomas Schwinge <thomas@codesourcery.com>
17051
e19e83c5
RM
17052 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
17053 __feraiseexcept instead of feraiseexcept.
7c35ffed 17054
fb779be7
TS
17055 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
17056 nanosleep invocations.
17057 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
17058 strings, and add error checking for a nanosleep invocations.
17059
59ba27a6
PE
170602012-02-09 Paul Eggert <eggert@cs.ucla.edu>
17061
17062 Replace FSF snail mail address with URLs, as per GNU coding standards.
17063 Most of the snail mail addresses were wrong anyway, and omitting
17064 them makes the source code easier to maintain. Almost all of the
17065 changes are to license notices and to locale LC_IDENTIFICATION
17066 addresses, except for this one:
17067 * manual/libc.texinfo: In "Published by", give the FSF's URL,
17068 not its snail mail address.
17069
57b957eb
RH
170702012-02-09 Richard Henderson <rth@twiddle.net>
17071
af850b1c
RH
17072 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
17073 of kernel-features.h.
17074
57b957eb
RH
17075 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
17076
6b73181a
MP
170772012-02-08 Marek Polacek <polacek@redhat.com>
17078
17079 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
17080 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
17081 * sysdeps/gnu/_G_config.h: Likewise.
17082 * sysdeps/generic/_G_config.h: Likewise.
17083
26ecc33a
AS
170842012-02-08 Andreas Schwab <schwab@linux-m68k.org>
17085
6c6dbc63
AS
17086 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
17087 tests.
17088 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17089
e216c012
AS
17090 * sysdeps/powerpc/powerpc32/crti.S: New file.
17091 * sysdeps/powerpc/powerpc32/crtn.S: New file.
17092 * sysdeps/powerpc/powerpc64/crti.S: New file.
17093 * sysdeps/powerpc/powerpc64/crtn.S: New file.
17094
26ecc33a
AS
17095 * Makeconfig (have-initfini): Don't set.
17096 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
17097 * configure.in (nopic_initfini): Don't substitute.
17098 * config.h.in (HAVE_INITFINI): Don't #undef.
17099 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
17100 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
17101
3add8e13
JM
171022012-02-08 Joseph Myers <joseph@codesourcery.com>
17103
17104 Support crti.S and crtn.S provided directly by architectures.
17105 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
17106 [crti.S in sysdirs] (omit-deps): Likewise.
17107 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
17108 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
17109 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
17110 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
17111 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
17112 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
17113 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
17114 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
17115 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
17116 compiler output for sysdeps/generic/initfini.c.
17117 * sysdeps/i386/elf/Makefile: Remove file.
17118 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
17119
a22f12b4
MP
171202012-02-07 Marek Polacek <polacek@redhat.com>
17121
17122 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
17123 * sysdeps/gnu/_G_config.h: Likewise.
17124 * sysdeps/mach/hurd/_G_config.h: Likewise.
17125
148cf100
MP
171262012-02-07 Marek Polacek <polacek@redhat.com>
17127
17128 * math/Makefile (tests): Add tst-CMPLX2.
17129 * math/tst-CMPLX2.c: New file.
17130
cfdc0dd7
AS
171312012-02-07 Andreas Schwab <schwab@linux-m68k.org>
17132
84ba42c4
AS
17133 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
17134
cfdc0dd7
AS
17135 * math/libm-test.inc (jn_test): Add missing L suffix.
17136
622c86f4
MP
171372012-02-06 Marek Polacek <polacek@redhat.com>
17138
17139 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
17140 * sysdeps/i386/fpu/e_powf.S: Likewise.
17141 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
17142 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
17143 * sysdeps/i386/fpu/e_acosh.S: Likewise.
17144 * sysdeps/i386/fpu/e_pow.S: Likewise.
17145 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
17146 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
17147 * sysdeps/i386/fpu/s_expm1.S: Likewise.
17148 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
17149 * sysdeps/i386/fpu/e_log2.S: Likewise.
17150 * sysdeps/i386/fpu/e_log2l.S: Likewise.
17151 * sysdeps/i386/fpu/e_scalb.S: Likewise.
17152 * sysdeps/i386/fpu/e_powl.S: Likewise.
17153 * sysdeps/i386/fpu/s_log1p.S: Likewise.
17154 * sysdeps/i386/fpu/e_log10f.S: Likewise.
17155 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
17156 * sysdeps/i386/fpu/e_logl.S: Likewise.
17157 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
17158 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
17159 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
17160 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
17161 * sysdeps/i386/fpu/e_log2f.S: Likewise.
17162 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
17163 * sysdeps/i386/fpu/e_log.S: Likewise.
17164 * sysdeps/i386/fpu/s_cexp.S: Likewise.
17165 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
17166 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
17167 * sysdeps/i386/fpu/e_logf.S: Likewise.
17168 * sysdeps/i386/fpu/e_log10l.S: Likewise.
17169 * sysdeps/i386/fpu/e_atanh.S: Likewise.
17170 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
17171 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
17172 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
17173 * sysdeps/i386/fpu/e_log10.S: Likewise.
17174 * sysdeps/i386/fpu/s_frexp.S: Likewise.
17175 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
17176 * sysdeps/i386/fpu/s_asinh.S: Likewise.
17177 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
17178 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
17179 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
17180 * sysdeps/i386/asm-syntax.h: Likewise.
17181 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
17182 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
17183 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
17184 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
17185 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
17186 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
17187 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
17188 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
17189 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
17190 * sysdeps/powerpc/sysdep.h: Likewise.
17191 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
17192 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
17193
d4a54ac6
JM
171942012-02-06 Joseph Myers <joseph@codesourcery.com>
17195
17196 [BZ #411]
17197 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
17198
314054ea
JM
171992012-02-06 Joseph Myers <joseph@codesourcery.com>
17200
17201 * sysdeps/i386/sysdep.h: Include <features.h>.
17202 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
17203 version.
17204
d8e0ca50
JM
172052012-02-05 Joseph Myers <joseph@codesourcery.com>
17206
17207 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
17208 Define.
17209 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
17210 LOAD_PIC_REG_STR.
17211
b1da7dd9
JM
172122012-02-03 Joseph Myers <joseph@codesourcery.com>
17213
17214 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
17215 (SETUP_PIC_REG): Use GET_PC_THUNK.
17216 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
17217 macro.
17218
9a1d9254
JM
172192012-02-03 Joseph Myers <joseph@codesourcery.com>
17220
17221 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
17222 for non-PIC compilation.
17223 (SETUP_PIC_REG): Add .p2align directive.
17224 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
17225 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
17226 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
17227 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
17228 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
17229 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
17230 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
17231 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
17232 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
17233 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
17234 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
17235 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
17236 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
17237 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
17238 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
17239 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
17240 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
17241 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
17242 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
17243 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
17244 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
17245 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
17246 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
17247 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
17248 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
17249 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
17250 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
17251 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
17252 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
17253 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
17254 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
17255 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
17256 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
17257 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
17258 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
17259 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
17260 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
17261 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
17262 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
17263 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
17264 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
17265
65dc3b75
JM
172662012-02-03 Joseph Myers <joseph@codesourcery.com>
17267
17268 * math/tst-CMPLX.c: Include <stdio.h>.
17269
d55bf177
JM
172702012-01-31 Joseph Myers <joseph@codesourcery.com>
17271
17272 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
17273 float.
17274 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
17275 * sysdeps/sparc/bits/mathdef.h: Likewise.
17276
69db4f8f
MP
172772012-01-31 Marek Polacek <polacek@redhat.com>
17278
17279 * libio/libio.h: Don't define _PARAMS.
17280 * locale/programs/config.h: Don't define PARAMS.
17281 * stdlib/strtol_l.c: Likewise.
17282 (__strtol_l): Remove PARAMS from the prototype.
17283
41b81892
UD
172842012-01-31 Ulrich Drepper <drepper@gmail.com>
17285
3b49edc0
UD
17286 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
17287 names. Just use the correct names. Remove unnecessary wrapper
17288 functions.
17289 * malloc/arena.c: Likewise.
17290 * malloc/hooks.c: Likewise.
17291
41b81892
UD
17292 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
17293 ARENA_TEST says not to. Simplify test for creation of a new arena.
17294 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
17295
27a25b6e
UD
172962012-01-30 Ulrich Drepper <drepper@gmail.com>
17297
17298 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
17299 into tail calls.
17300 (update_get_addr): New function.
17301 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
17302 GET_ADDR_MODULE parameter.
17303
c8a89e7d
JM
173042012-01-30 Joseph Myers <joseph@codesourcery.com>
17305
17306 * crypt/cert.c: Remove __STDC__ conditionals.
17307 * crypt/crypt-entry.c: Likewise.
17308 * crypt/crypt_util.c: Likewise.
17309 * libio/filedoalloc.c: Likewise.
17310 * libio/fileops.c: Likewise.
17311 * libio/genops.c: Likewise.
17312 * libio/iofclose.c: Likewise.
17313 * libio/iofdopen.c: Likewise.
17314 * libio/iofopen.c: Likewise.
17315 * libio/iofopen64.c: Likewise.
17316 * libio/iogetdelim.c: Likewise.
17317 * libio/iopopen.c: Likewise.
17318 * libio/obprintf.c: Likewise.
17319 * libio/oldfileops.c: Likewise.
17320 * libio/oldiofclose.c: Likewise.
17321 * libio/oldiofdopen.c: Likewise.
17322 * libio/oldiofopen.c: Likewise.
17323 * libio/oldiopopen.c: Likewise.
17324 * libio/wfiledoalloc.c: Likewise.
17325 * libio/wgenops.c: Likewise.
17326 * locale/programs/xmalloc.c: Likewise.
17327 * misc/syslog.c: Likewise.
17328 * stdio-common/xbug.c: Likewise.
17329 * string/memchr.c: Likewise.
17330 * string/memcmp.c: Likewise.
17331 * string/memrchr.c: Likewise.
17332 * string/rawmemchr.c: Likewise.
17333 * sysdeps/posix/getcwd.c: Likewise.
17334 * time/strftime_l.c: Likewise.
17335
3b100462
JM
173362012-01-30 Joseph Myers <joseph@codesourcery.com>
17337
17338 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
17339 * config.make.in (config-cflags-sse2avx): Define.
17340 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
17341 Fix typo.
17342
607998af
CM
173432012-01-29 Chris Metcalf <cmetcalf@tilera.com>
17344
17345 * scripts/config.guess: Update from upstream config git repository.
17346 * scripts/config.sub: Likewise.
17347
3601428f
CM
173482012-01-28 Chris Metcalf <cmetcalf@tilera.com>
17349
3ac8b282
CM
17350 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
17351 (EM_NUM): Update.
17352 (R_TILEPRO_*, R_TILEGX_*): New macros.
17353
e034841e
CM
17354 * scripts/firstversions.awk: Fix bug in version range handling.
17355
540d7568
CM
17356 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
17357
3601428f
CM
17358 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
17359
463de862
CM
17360 * include/sys/epoll.h: New file.
17361 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
17362 libc_hidden_def.
17363
73139a76
UD
173642012-01-28 Ulrich Drepper <drepper@gmail.com>
17365
96bc5b45
UD
17366 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
17367 Avoid unnecessary __WORDSIZE == 64 test.
17368 (fmaxf): Use VEX format if possible.
17369 (fmax): Likewise.
17370 (fminf): Likewise.
17371 (fmin): Likewise.
17372
56f6f6a2
UD
17373 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
17374 * math/math_private.h: Remove libc_fegetround* and
17375 libc_fesetround*.
17376 * sysdeps/i386/configure.in: Check for -msse2avx.
17377 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
17378 also if SSE2AVX is defined.
17379 Remove libc_fegetround* and libc_fesetround*.
17380 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
17381 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
17382 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
17383 of HAS_YMM_USABLE.
17384 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
17385 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
17386 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
17387 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
17388 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
17389
73139a76
UD
17390 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
17391
d73f93a4
AZ
173922012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17393
17394 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
17395 size is not set.
17396 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
17397
6ee65ed6
UD
173982012-01-27 Ulrich Drepper <drepper@gmail.com>
17399
17400 [BZ #13618]
17401 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
17402 relocation.
17403 * Makeconfig (libm): Define.
17404 * elf/Makefile: Add rules to build and run tst-relsort1.
17405 * elf/tst-relsort1.c: New file.
17406 * elf/tst-relsort1mod1.c: New file.
17407 * elf/tst-relsort1mod2.c: New file.
17408
8db21882
JM
174092012-01-27 Joseph Myers <joseph@codesourcery.com>
17410
17411 * math/s_ldexp.c: Remove __STDC__ conditionals.
17412 * math/s_ldexpf.c: Likewise.
17413 * math/s_ldexpl.c: Likewise.
17414 * math/s_nextafter.c: Likewise.
17415 * math/s_nexttowardf.c: Likewise.
17416 * math/s_significand.c: Likewise.
17417 * math/s_significandf.c: Likewise.
17418 * math/s_significandl.c: Likewise.
17419 * math/w_jnl.c: Likewise.
17420 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
17421 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
17422 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
17423 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
17424 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
17425 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
17426 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
17427 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
17428 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
17429 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
17430 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
17431 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17432 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
17433 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
17434 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
17435 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
17436 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
17437 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
17438 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
17439 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
17440 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
17441 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
17442 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
17443 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
17444 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
17445 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
17446 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
17447 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
17448 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
17449 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
17450 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
17451 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
17452 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
17453 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
17454 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
17455 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
17456 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
17457 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
17458 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
17459 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
17460 * sysdeps/ieee754/k_standard.c: Likewise.
17461 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
17462 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
17463 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
17464 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
17465 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
17466 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
17467 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
17468 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
17469 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
17470 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
17471 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
17472 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
17473 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
17474 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
17475 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
17476 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
17477 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
17478 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
17479 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
17480 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
17481 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
17482 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
17483 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
17484 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
17485 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
17486 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
17487 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
17488 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
17489 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
17490 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
17491 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
17492 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
17493 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
17494 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
17495 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
17496 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
17497 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
17498 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
17499 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
17500 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
17501 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
17502 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
17503 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
17504 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
17505 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
17506 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
17507 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
17508 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
17509 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
17510 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
17511 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
17512 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
17513 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
17514 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
17515 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
17516 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
17517 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
17518 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
17519 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
17520 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
17521 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
17522 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
17523 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
17524 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
17525 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
17526 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
17527 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
17528 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
17529 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
17530 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
17531 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
17532 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
17533 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
17534 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
17535 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
17536 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
17537 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
17538 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
17539 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
17540 * sysdeps/ieee754/s_matherr.c: Likewise.
17541 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
17542 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
17543 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
17544 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
17545
965a54a4
JM
175462012-01-26 Joseph Myers <joseph@codesourcery.com>
17547
17548 * crypt/md5.h: Remove __STDC__ conditionals.
17549 * libio/libioP.h: Likewise.
17550 * locale/programs/config.h: Likewise.
17551 * sysdeps/generic/sysdep.h: Likewise.
17552 * sysdeps/i386/asm-syntax.h: Likewise.
17553 * sysdeps/s390/asm-syntax.h: Likewise.
17554 * sysdeps/unix/sysdep.h: Likewise.
17555 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
17556 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
17557
7071ad79
JM
175582012-01-26 Joseph Myers <joseph@codesourcery.com>
17559
17560 * libio/libio.h: Remove __STDC__ conditionals.
17561 * malloc/obstack.h: Likewise.
17562 * math/complex.h: Likewise.
17563 * math/math.h: Likewise.
17564 * sysdeps/generic/_G_config.h: Likewise.
17565 * sysdeps/gnu/_G_config.h: Likewise.
17566 * sysdeps/mach/hurd/_G_config.h: Likewise.
17567 * sysdeps/powerpc/bits/mathdef.h: Likewise.
17568 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
17569 * sysdeps/sparc/bits/mathdef.h: Likewise.
17570
afc5ed09
UD
175712012-01-26 Ulrich Drepper <drepper@gmail.com>
17572
17573 [BZ #13583]
17574 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 17575 Clean up HAS_* macros.
afc5ed09 17576 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
17577 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
17578 possible.
17579 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
17580 HAS_AVX.
17581 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
17582 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
17583 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
17584 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
17585 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 17586
bdb6de1d
JM
175872012-01-25 Joseph Myers <joseph@codesourcery.com>
17588
17589 * elf/tst-unique3.cc (gets): Remove declaration.
17590 * elf/tst-unique3lib.cc (gets): Likewise.
17591 * elf/tst-unique3lib2.cc (gets): Likewise.
17592 * elf/tst-unique4.cc (gets): Likewise.
17593
b15549e6
UD
175942012-01-24 Ulrich Drepper <drepper@gmail.com>
17595
17596 * include/stdio.h: Add C++ protection. Add gets declarations and
17597 definitions.
17598 * debug/tst-chk1.c: Don't declare gets here.
17599 * stdio-common/tst-gets.c: Likewise.
17600
a037381f
JM
176012012-01-24 Joseph Myers <joseph@codesourcery.com>
17602
17603 * posix/glob: Remove directory.
17604
f1d4aa75
JM
176052012-01-24 Joseph Myers <joseph@codesourcery.com>
17606
17607 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
17608
81c0c964
PT
176092012-01-22 Pino Toscano <toscano.pino@tiscali.it>
17610
17611 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
17612 of the non-standard EPFNOSUPPORT.
17613
0ea698ae
ST
176142011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
17615
17616 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
17617 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
17618 ANYWHERE set to 1 only on KERN_NO_SPACE error.
17619
d220b117
UD
176202012-01-21 Ulrich Drepper <drepper@gmail.com>
17621
17622 * wcsmbs/uchar.h: Test __STDC_VERSION__.
17623
3e1aa84e
UD
176242012-01-20 Ulrich Drepper <drepper@gmail.com>
17625
17626 * nscd/aicache.c (addhstaiX): Do not cache negative results of
17627 transient errors.
17628 * nscd/grpcache.c (cache_addgr): Likewise.
17629 * nscd/hstcache.c (cache_addhst): Likewise.
17630 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17631 * nscd/pwdcache.c (cache_addpw): Likewise.
17632 * nscd/servicescache.c (cache_addserv): Likewise.
17633
400aa020
UD
176342012-01-16 Ulrich Drepper <drepper@gmail.com>
17635
d77e7869
UD
17636 * malloc/malloc.c: Various cleanups.
17637 * malloc/hooks.c: Likewise.
17638
400aa020
UD
17639 * stdlib/Makefile (tests): Add bug-fmtmsg1.
17640 * stdlib/bug-fmtmsg1.c: New file.
17641
17642 * stdlib/fmtmsg.c (init): Add missing unlock.
17643 Patch by Peng Haitao <penght@cn.fujitsu.com>.
17644
e0a309cf
MP
176452012-01-12 Marek Polacek <polacek@redhat.com>
17646
17647 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
17648 and _GNU_SOURCE.
17649
929d11c7
WS
176502012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
17651
17652 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
17653 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
17654 macro to ensure uniqueness of label name.
17655 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
17656 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
17657
41d0e869
UD
176582012-01-11 Ulrich Drepper <drepper@gmail.com>
17659
0cc5ed3b
UD
17660 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
17661
41d0e869
UD
17662 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
17663 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
17664 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
17665 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
17666
a47a831a
UD
176672012-01-10 Ulrich Drepper <drepper@gmail.com>
17668
daa891c0
UD
17669 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
17670
17671 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
17672 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
17673 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
17674
e58ef0f2
UD
17675 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
17676
a47a831a 17677 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
17678 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
17679 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 17680 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
17681
17682 * math/bits/math-finite.h: Add ldexp support.
17683
a0bfc9c7
MP
176842012-01-10 Marek Polacek <polacek@redhat.com>
17685
17686 * locale/programs/localedef.h (show_archive_content): Add noreturn
17687 attribute.
17688
d6e97a1d
UD
176892012-01-09 Ulrich Drepper <drepper@gmail.com>
17690
17691 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
17692
d5835c26
UD
176932012-01-08 Ulrich Drepper <drepper@gmail.com>
17694
e5f484c6
UD
17695 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
17696
d5835c26
UD
17697 * io/Makefile (headers): Add bits/poll2.h.
17698
d1f741e9
WS
176992011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
17700
17701 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
17702 typo #include statement.
17703
ec09c1c4
UD
177042012-01-08 Ulrich Drepper <drepper@gmail.com>
17705
17706 * include/sys/cdefs.h: Define __attribute_alloc_size.
17707 * catgets/gencat.c: Add alloc_size attribute and apply consistently
17708 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
17709 * elf/pldd.c: Likewise.
17710 * iconv/iconv_charmap.c: Likewise.
17711 * iconv/iconvconfig.c: Likewise.
17712 * iconv/strtab.c: Likewise.
17713 * locale/programs/locale.c: Likewise.
17714 * locale/programs/localedef.h: Likewise.
17715 * locale/programs/simple-hash.c: Likewise.
17716 * nscd/nscd.h: Likewise.
17717 * nss/makedb.c: Likewise.
17718 * sysdeps/generic/ldconfig.h: Likewise.
17719 * locale/programs/localedef.c: Remove xmalloc prototype.
17720 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
17721
20b38e03
PP
177222012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
17723
17724 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
17725 appropriate.
17726
a0da5fe1
UD
177272012-01-08 Ulrich Drepper <drepper@gmail.com>
17728
1d5a644a 17729 * math/Makefile (tests): Add tst-CMPLX.
669704fd 17730 * math/tst-CMPLX.c: New file.
1d5a644a 17731
8784a6db
UD
17732 * math/complex.h (CMPLXL): Fix typo.
17733
d9a216c0
UD
17734 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
17735 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
17736 GLIBC_2.16.
17737 * debug/tst-chk1.c: Add poll and ppoll tests.
17738 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
17739 * include/sys/poll.h: Add hidden proto for ppoll.
17740 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
17741 * sysdeps/mach/hurd/ppoll.c: Likewise.
17742 * io/ppoll.c: Likewise.
17743 * debug/poll_chk.c: New file.
17744 * debug/ppoll_chk.c: New file.
17745 * include/bits/poll2.h: New file.
17746 * io/bits/poll2.h: New file.
17747
ac097f5c
UD
17748 [BZ #1350]
17749 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
17750
2119dcfa
UD
17751 * configure.in: static is always set to yes. Remove.
17752 * config.make.in: Don't set build-static.
17753 * Makeconfig: Remove use of build-static.
17754 * dlfcn/Makefile: Likewise.
17755 * elf/Makefile: Likewise.
17756 * math/Makefile: Likewise.
17757 * misc/Makefile: Likewise.
17758 * nptl/Makefile: Likewise.
17759 * sysdeps/mach/hurd/Makefile: Likewise.
17760
121766a9
UD
17761 * configure.in: PWD_P is not used anymore.
17762 * config.make.in: Remove PWD_P entry.
17763
51a1d39c 17764 * configure.in: Remove last remnants of RANLIB.
8720d066 17765 No need to check for signed size_t anymore.
215f4bdc
UD
17766 Don't set libc_commonpagesize and libc_relro_required here for Alpha
17767 and IA-64.
3857022a 17768 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
17769 * aclocal.m4: Likewise.
17770
d3ed7225
UD
17771 * wcsmbs/mbrtoc16.c: Implement using towc function.
17772 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
17773 * wcsmbs/wcsmbsload.c: Likewise.
17774 * iconv/gconv_simple.c: Likewise.
17775 * iconv/gconv_int.h: Likewise.
17776 * iconv/gconv_builtin.h: Likewise.
17777 * iconv/iconv_prog.c: Remove CHAR16 handling.
17778
17779 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
17780
17781 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
17782
a0da5fe1
UD
17783 * configure.in: Remove --with-elf and --enable-bounded options.
17784 Dont set base_machine for ia64. More non-ELF conditions removed.
17785 Remove testing and setting of leading underscore information.
17786 * config.make.in (build-bounded): Set to no.
17787 * config.h.in: Remove NO_UNDERSCORES entry.
17788 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
17789 them.
17790 * csu/start.c: Remove !NO_UNDERSCORE code.
17791 * locale/localeinfo.h: Likewise.
17792 * sysdeps/generic/machine-gmon.h: Likewise.
17793 * sysdeps/generic/sysdep.h: Likewise.
17794 * sysdeps/i386/sysdep.h: Likewise.
17795 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
17796 * sysdeps/mach/sysdep.h: Likewise.
17797 * sysdeps/s390/s390-32/sysdep.h: Likewise.
17798 * sysdeps/s390/s390-64/sysdep.h: Likewise.
17799 * sysdeps/sh/sysdep.h: Likewise.
17800 * sysdeps/sparc/sparc32/alloca.S: Likewise.
17801 * sysdeps/unix/i386/sysdep.S: Likewise.
17802 * sysdeps/unix/sparc/start.c: Likewise.
17803 * sysdeps/unix/sparc/sysdep.S: Likewise.
17804 * sysdeps/unix/sparc/sysdep.h: Likewise.
17805 * sysdeps/unix/start.c: Likewise.
17806 * sysdeps/unix/x86_64/sysdep.S: Likewise.
17807 * sysdeps/x86_64/sysdep.h: Likewise.
17808
df78418a
UD
178092012-01-07 Ulrich Drepper <drepper@gmail.com>
17810
a784e502
UD
17811 [BZ #13553]
17812 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
17813 for non-gcc.
17814 * argp/argp-fmtstream.h: Use const instead __const.
17815 * argp/argp.h: Likewise.
17816 * assert/assert.h: Likewise.
17817 * bits/fenv.h: Likewise.
17818 * bits/sched.h: Likewise.
17819 * bits/sigset.h: Likewise.
17820 * bits/sigthread.h: Likewise.
17821 * catgets/nl_types.h: Likewise.
17822 * conform/data/pthread.h-data: Likewise.
17823 * crypt/crypt-private.h: Likewise.
17824 * crypt/crypt.h: Likewise.
17825 * crypt/crypt_util.c: Likewise.
17826 * ctype/ctype.h: Likewise.
17827 * debug/execinfo.h: Likewise.
17828 * debug/mbsnrtowcs_chk.c: Likewise.
17829 * debug/mbsrtowcs_chk.c: Likewise.
17830 * debug/wcsnrtombs_chk.c: Likewise.
17831 * debug/wcsrtombs_chk.c: Likewise.
17832 * debug/wcstombs_chk.c: Likewise.
17833 * dirent/dirent.h: Likewise.
17834 * dlfcn/dlfcn.h: Likewise.
17835 * elf/neededtest4.c: Likewise.
17836 * grp/grp.h: Likewise.
17837 * gshadow/gshadow.h: Likewise.
17838 * iconv/gconv.h: Likewise.
17839 * iconv/gconv_int.h: Likewise.
17840 * iconv/gconv_simple.c: Likewise.
17841 * iconv/iconv.h: Likewise.
17842 * iconv/loop.c: Likewise.
17843 * iconv/skeleton.c: Likewise.
17844 * include/aio.h: Likewise.
17845 * include/aliases.h: Likewise.
17846 * include/argz.h: Likewise.
17847 * include/arpa/inet.h: Likewise.
17848 * include/assert.h: Likewise.
17849 * include/dirent.h: Likewise.
17850 * include/dlfcn.h: Likewise.
17851 * include/execinfo.h: Likewise.
17852 * include/fcntl.h: Likewise.
17853 * include/fenv.h: Likewise.
17854 * include/glob.h: Likewise.
17855 * include/grp.h: Likewise.
17856 * include/libintl.h: Likewise.
17857 * include/mntent.h: Likewise.
17858 * include/netdb.h: Likewise.
17859 * include/pwd.h: Likewise.
17860 * include/rpc/netdb.h: Likewise.
17861 * include/sched.h: Likewise.
17862 * include/search.h: Likewise.
17863 * include/shadow.h: Likewise.
17864 * include/signal.h: Likewise.
17865 * include/stdio.h: Likewise.
17866 * include/stdlib.h: Likewise.
17867 * include/string.h: Likewise.
17868 * include/sys/socket.h: Likewise.
17869 * include/sys/stat.h: Likewise.
17870 * include/sys/statfs.h: Likewise.
17871 * include/sys/statvfs.h: Likewise.
17872 * include/sys/syslog.h: Likewise.
17873 * include/sys/time.h: Likewise.
17874 * include/sys/uio.h: Likewise.
17875 * include/time.h: Likewise.
17876 * include/unistd.h: Likewise.
17877 * include/utmp.h: Likewise.
17878 * include/wchar.h: Likewise.
17879 * include/wctype.h: Likewise.
17880 * inet/aliases.h: Likewise.
17881 * inet/arpa/inet.h: Likewise.
17882 * inet/netinet/ether.h: Likewise.
17883 * inet/netinet/in.h: Likewise.
17884 * intl/libintl.h: Likewise.
17885 * io/bits/fcntl2.h: Likewise.
17886 * io/fcntl.h: Likewise.
17887 * io/ftw.h: Likewise.
17888 * io/sys/poll.h: Likewise.
17889 * io/sys/stat.h: Likewise.
17890 * io/sys/statfs.h: Likewise.
17891 * io/sys/statvfs.h: Likewise.
17892 * io/utime.h: Likewise.
17893 * libio/bits/stdio.h: Likewise.
17894 * libio/bits/stdio2.h: Likewise.
17895 * libio/libio.h: Likewise.
17896 * libio/libioP.h: Likewise.
17897 * libio/stdio.h: Likewise.
17898 * locale/lc-ctype.c: Likewise.
17899 * locale/locale.h: Likewise.
17900 * login/utmp.h: Likewise.
17901 * malloc/arena.c: Likewise.
17902 * malloc/malloc.c: Likewise.
17903 * malloc/malloc.h: Likewise.
17904 * malloc/mcheck.c: Likewise.
17905 * malloc/mtrace.c: Likewise.
17906 * math/bits/mathcalls.h: Likewise.
17907 * math/fenv.h: Likewise.
17908 * math/math_private.h: Likewise.
17909 * misc/bits/error.h: Likewise.
17910 * misc/bits/syslog.h: Likewise.
17911 * misc/err.h: Likewise.
17912 * misc/error.h: Likewise.
17913 * misc/fstab.h: Likewise.
17914 * misc/mntent.h: Likewise.
17915 * misc/regexp.h: Likewise.
17916 * misc/search.h: Likewise.
17917 * misc/sgtty.h: Likewise.
17918 * misc/sys/mman.h: Likewise.
17919 * misc/sys/syslog.h: Likewise.
17920 * misc/sys/uio.h: Likewise.
17921 * misc/sys/xattr.h: Likewise.
17922 * misc/ttyent.h: Likewise.
17923 * nis/rpcsvc/ypclnt.h: Likewise.
17924 * nss/nss.h: Likewise.
17925 * posix/bits/unistd.h: Likewise.
17926 * posix/fnmatch.h: Likewise.
17927 * posix/glob.h: Likewise.
17928 * posix/sched.h: Likewise.
17929 * posix/spawn.h: Likewise.
17930 * posix/sys/wait.h: Likewise.
17931 * posix/unistd.h: Likewise.
17932 * posix/wordexp.h: Likewise.
17933 * pwd/pwd.h: Likewise.
17934 * resolv/netdb.h: Likewise.
17935 * resource/sys/resource.h: Likewise.
17936 * rt/aio.h: Likewise.
17937 * rt/bits/mqueue2.h: Likewise.
17938 * rt/mqueue.h: Likewise.
17939 * shadow/shadow.h: Likewise.
17940 * signal/signal.h: Likewise.
17941 * socket/send.c: Likewise.
17942 * socket/sendto.c: Likewise.
17943 * socket/sys/socket.h: Likewise.
17944 * stdio-common/printf.h: Likewise.
17945 * stdlib/bits/stdlib.h: Likewise.
17946 * stdlib/fmtmsg.h: Likewise.
17947 * stdlib/monetary.h: Likewise.
17948 * stdlib/stdlib.h: Likewise.
17949 * stdlib/ucontext.h: Likewise.
17950 * streams/stropts.h: Likewise.
17951 * string/argz.h: Likewise.
17952 * string/bits/string2.h: Likewise.
17953 * string/string.h: Likewise.
17954 * string/strings.h: Likewise.
17955 * sunrpc/rpc/auth.h: Likewise.
17956 * sunrpc/rpc/auth_des.h: Likewise.
17957 * sunrpc/rpc/clnt.h: Likewise.
17958 * sunrpc/rpc/netdb.h: Likewise.
17959 * sunrpc/rpc/pmap_clnt.h: Likewise.
17960 * sunrpc/rpc/xdr.h: Likewise.
17961 * sysdeps/generic/inttypes.h: Likewise.
17962 * sysdeps/generic/net/if.h: Likewise.
17963 * sysdeps/generic/sys/swap.h: Likewise.
17964 * sysdeps/gnu/net/if.h: Likewise.
17965 * sysdeps/gnu/utmpx.h: Likewise.
17966 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
17967 * sysdeps/i386/i486/bits/string.h: Likewise.
17968 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
17969 * sysdeps/s390/bits/string.h: Likewise.
17970 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
17971 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
17972 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
17973 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
17974 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
17975 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
17976 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
17977 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
17978 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
17979 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
17980 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
17981 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
17982 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
17983 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
17984 * sysdeps/unix/sysv/linux/readv.c: Likewise.
17985 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
17986 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
17987 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
17988 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
17989 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
17990 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
17991 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
17992 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
17993 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
17994 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
17995 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
17996 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
17997 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
17998 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
17999 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
18000 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
18001 * sysvipc/sys/ipc.h: Likewise.
18002 * sysvipc/sys/msg.h: Likewise.
18003 * sysvipc/sys/sem.h: Likewise.
18004 * sysvipc/sys/shm.h: Likewise.
18005 * termios/termios.h: Likewise.
18006 * time/sys/time.h: Likewise.
18007 * time/time.h: Likewise.
18008 * wcsmbs/bits/wchar2.h: Likewise.
18009 * wcsmbs/uchar.h: Likewise.
18010 * wcsmbs/wchar.h: Likewise.
18011 * wctype/wctype.h: Likewise.
18012
0269750c
UD
18013 [BZ #13551]
18014 * Makeconfig: Remove all but ELF support including AIX support.
18015 * Makerules: Likewise.
18016 * config.h.in: Likewise.
18017 * config.make.in: Likewise.
18018 * configure: Likewise.
18019 * configure.in: Likewise.
18020 * csu/Makefile: Likewise.
18021 * csu/version.c: Likewise.
18022 * debug/Makefile: Likewise.
18023 * dlfcn/Makefile: Likewise.
18024 * elf/Makefile: Likewise.
18025 * extra-lib.mk: Likewise.
18026 * iconv/Makefile: Likewise.
18027 * include/libc-symbols.h: Likewise.
18028 * include/shlib-compat.h: Likewise.
18029 * resolv/Makefile: Likewise.
18030 * resolv/res_libc.c: Likewise.
18031 * rt/Makefile: Likewise.
18032 * sysdeps/i386/asm-syntax.h: Likewise.
18033 * sysdeps/i386/sysdep.h: Likewise.
18034 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
18035 * sysdeps/mach/sysdep.h: Likewise.
18036 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
18037 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
18038 * sysdeps/s390/asm-syntax.h: Likewise.
18039 * sysdeps/s390/s390-32/sysdep.h: Likewise.
18040 * sysdeps/s390/s390-64/sysdep.h: Likewise.
18041 * sysdeps/sh/sysdep.h: Likewise.
18042 * sysdeps/unix/sparc/sysdep.h: Likewise.
18043 * sysdeps/wordsize-32/divdi3.c: Likewise.
18044 * sysdeps/x86_64/sysdep.h: Likewise.
18045
00bbd29b
UD
18046 * argp/Versions: Remove _argp_unlock_xxx.
18047
18048 [BZ #13559]
18049 * abilist/ld.abilist: Update. Adjust for removal of tls option.
18050 * abilist/libBrokenLocale.abilist: Likewise.
18051 * abilist/libanl.abilist: Likewise.
18052 * abilist/libc.abilist: Likewise.
18053 * abilist/libcrypt.abilist: Likewise.
18054 * abilist/libdl.abilist: Likewise.
18055 * abilist/libm.abilist: Likewise.
18056 * abilist/libnsl.abilist: Likewise.
18057 * abilist/libpthread.abilist: Likewise.
18058 * abilist/libresolv.abilist: Likewise.
18059 * abilist/librt.abilist: Likewise.
18060 * abilist/libthread_db.abilist: Likewise.
18061 * abilist/libutil.abilist: Likewise.
18062 * abilist/libnss_db.abilist: New file.
18063
18064 * scripts/abilist.awk: Add support for indirect functions.
18065
a2693a0e
UD
18066 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
18067
3f05895f
UD
18068 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
18069
ecb6fb48
UD
18070 * shlib-versions: Remove entries for ports architectures.
18071
664f8cb9
UD
18072 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
18073 files in ports.
18074 * elf/stackguard-macros.h: Remove support for IA-64.
18075 * elf/tst-auditmod1.c: Likewise.
18076 * sysdeps/generic/ldsodefs.h: Likewise.
18077
7ae81d88
UD
18078 * sysdeps/unix/sysv/linux/configure.in: Ports should define
18079 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
18080 configure files.
18081
bdeba135
UD
18082 [BZ #13552]
18083 * configure.in: Remove --enable-omitfp support.
18084 * FAQ.in: Adjust.
18085 * config.make.in: Likewise.
18086 * Makeconfig: Likewise.
18087 * manual/install.texi: Likewise.
18088
d75a0a62
UD
18089 In case anyone cares, the IA-64 architecture could move to ports.
18090 * sysdeps/ia64/*: Removed.
18091 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 18092 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 18093
dcc9756b
UD
18094 [BZ #13555]
18095 * configure.in: Remove entries for unsupported architectures.
18096
d3761ebc 18097 [BZ #13533]
9954432e
UD
18098 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
18099 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
18100 routines.
18101 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
18102 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
18103 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
18104 fall back to using wcrtomb.
18105 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
18106 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
18107 renaming.
18108 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
18109 * wcsmbs/tst-c16c32-1.c: New file.
18110
18111 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
18112 local variable.
18113
c3a87236
UD
18114 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
18115
28926a1b
UD
18116 * elf/tst-unique3.cc: Add explicit declaration of gets.
18117 * elf/tst-unique3lib.cc: Likewise.
18118 * elf/tst-unique3lib2.cc: Likewise.
18119 * elf/tst-unique4.cc: Likewise.
18120
df78418a
UD
18121 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
18122
8ecd6b2a
JM
181232012-01-06 Joseph Myers <joseph@codesourcery.com>
18124
18125 [BZ #13566]
18126 * assert/assert.h (static_assert): Don't define for C++.
18127 * libio/stdio.h (gets): Do declare for C++ <= C++11.
18128 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
18129
9f115170
UD
181302012-01-03 Ulrich Drepper <drepper@gmail.com>
18131
5e0d0300
UD
18132 * iconv/loop.c (single loop): Fix assertion in storing of
18133 remaining bytes.
18134
9f115170
UD
18135 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
18136
81fb02b0
UD
181372012-01-01 Ulrich Drepper <drepper@gmail.com>
18138
18139 * posix/getconf.c: Update copyright year.
18140 * nss/getent.c: Likewise.
a316c1f6 18141 * nss/makedb.c: Likewise.
81fb02b0
UD
18142 * iconv/iconvconfig.c: Likewise.
18143 * iconv/iconv_prog.c: Likewise.
18144 * elf/ldconfig.c: Likewise.
a316c1f6
UD
18145 * elf/pldd.c: Likewise.
18146 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
18147 * catgets/gencat.c: Likewise.
18148 * csu/version.c: Likewise.
18149 * elf/ldd.bash.in: Likewise.
18150 * elf/sprof.c (print_version): Likewise.
18151 * locale/programs/locale.c: Likewise.
18152 * locale/programs/localedef.c: Likewise.
a316c1f6 18153 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
18154 * nscd/nscd.c (print_version): Likewise.
18155 * debug/xtrace.sh: Likewise.
18156 * malloc/memusage.sh: Likewise.
18157 * malloc/mtrace.pl: Likewise.
18158 * debug/catchsegv.sh: Likewise.
18159
2ba92745
JJ
181602011-12-30 Jakub Jelinek <jakub@redhat.com>
18161
18162 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
18163 pure attribute.
18164
dadebdae
UD
181652011-12-24 Ulrich Drepper <drepper@gmail.com>
18166
d3761ebc 18167 [BZ #13533]
db6af3eb
UD
18168 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
18169 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
18170 transformations.
18171 * iconv/gconv_int.h: Likewise.
18172 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
18173 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
18174 from libc for GLIBC_2.16.
18175 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
18176 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
18177 * wcsmbs/uchar.h: Really define mbstate_t.
18178 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
18179 * wcsmbs/c16rtomb.c: New file.
18180 * wcsmbs/mbrtoc16.c: New file.
18181 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
18182 for C/POSIX locale.
18183 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
18184 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
18185
dadebdae
UD
18186 * wcsmbs/wchar.h: Add missing __restrict.
18187
67371b56
UD
181882011-12-23 Ulrich Drepper <drepper@gmail.com>
18189
74033a25
UD
18190 [BZ #13532]
18191 * time/Makefile (routines): Add timespec_get.
18192 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
18193 * time/time.h: Define TIME_UTC and declare timespec_get. Define
18194 timespec for ISO C11.
18195 * time/timespec_get.c: New file.
18196 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
18197 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
18198
380d7e87
UD
18199 [BZ #13531]
18200 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
18201 * stdlib/stdlib.h: Declare aligned_alloc.
18202 * Versions.def: Add GLIBC_2.16 for libc.
18203 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
18204
4e9e7a35
UD
18205 [BZ 13527]
18206 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
18207 ISO C11.
18208
380d7e87 18209 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
18210 code.
18211
03a71829
UD
18212 [BZ #13528]
18213 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
18214
839e283e
UD
18215 [BZ #13529]
18216 * assert/assert.h (static_assert): Define.
18217
ce5294e2 18218 * version.h: Update for 2.16 development version.
90fa7312 18219
8d44e150 18220 [BZ #13526]
d7809905
UD
18221 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
18222 _ISOC11_SOURCE.
18223
c0da14cd
UD
18224 * version.h (RELEASE): Bump for 2.15 release.
18225 * include/features.h (__GLIBC_MINOR__): Bump to 15.
18226
530a3249
MP
18227 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
18228 Patch by Marek Polacek <mpolacek@redhat.com>.
18229
67371b56
UD
18230 * bits/byteswap.h: Protect long long constants with __extension__.
18231 * sysdeps/i386/bits/byteswap.h: Likewise.
18232 * sysdeps/ia64/bits/byteswap.h: Likewise.
18233 * sysdeps/s390/bits/byteswap.h: Likewise.
18234 * sysdeps/x86_64/bits/byteswap.h: Likewise.
18235
15db4de1
LD
182362011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18237
18238 [BZ #13540]
bbe315ea
LD
18239 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
18240 destination buffer.
15db4de1
LD
18241 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
18242
2b2596b1
MP
182432011-12-23 Marek Polacek <polacek@redhat.com>
18244
18245 * elf/dl-addr.c (determine_info): Add inline keyword.
18246 * elf/tst-auditmod4b.c (check_avx): Likewise.
18247 * elf/tst-auditmod6b.c (check_avx): Likewise.
18248 * elf/tst-auditmod6c.c (check_avx): Likewise.
18249 * elf/tst-auditmod7b.c (check_avx): Likewise.
18250
70c6c246
UD
182512011-12-23 Ulrich Drepper <drepper@gmail.com>
18252
18253 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
18254 !__SSE_MATH__.
18255
c044cf14
LD
182562011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18257
15db4de1 18258 [BZ #13540]
c044cf14
LD
18259 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
18260 processing for last bytes.
18261
6b13d9d9
BH
182622011-08-06 Bruno Haible <bruno@clisp.org>
18263
d455f537
BH
18264 [BZ #13061]
18265 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
18266 U+0385, not to U+1FEE.
18267
6b13d9d9
BH
18268 [BZ #13062]
18269 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
18270 entry for U+00A5 U+0301.
18271
db910efd
UD
182722011-12-22 Ulrich Drepper <drepper@gmail.com>
18273
27deeafc
UD
18274 [BZ #13166]
18275 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
18276 buffer for the output is too small.
18277
aed9d171
UD
18278 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
18279 optimization.
18280
db910efd
UD
18281 [BZ #13185]
18282 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
18283 SSE flags if possible.
18284
2bd779ae
LD
182852011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18286
e7f9dac3 18287 [BZ #13540]
2bd779ae
LD
18288 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
18289 processing for last bytes.
18290
154bfc16
JM
182912011-12-22 Joseph Myers <joseph@codesourcery.com>
18292
18293 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
18294 (syscall-list-default-options, syscall-list-default-condition)
18295 (syscall-list-includes): Define.
18296 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
18297 list of ABIs and options and #if conditions for each ABI. Do not
18298 handle common syscalls between ABIs specially.
18299 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
18300 Remove.
18301 (syscall-list-variants, syscall-list-32bit-options)
18302 (syscall-list-32bit-condition, syscall-list-64bit-options)
18303 (syscall-list-64bit-condition): Define.
18304 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
18305 (syscall-list-variants, syscall-list-32bit-options)
18306 (syscall-list-32bit-condition, syscall-list-64bit-options)
18307 (syscall-list-64bit-condition): Define.
18308 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
18309 Remove.
18310 (syscall-list-variants, syscall-list-32bit-options)
18311 (syscall-list-32bit-condition, syscall-list-64bit-options)
18312 (syscall-list-64bit-condition): Define.
18313 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
18314 Remove.
18315 (syscall-list-variants, syscall-list-32bit-options)
18316 (syscall-list-32bit-condition, syscall-list-64bit-options)
18317 (syscall-list-64bit-condition): Define.
18318
21eaf3a5
UD
183192011-12-22 Ulrich Drepper <drepper@gmail.com>
18320
16c6f992
UD
18321 * locale/iso-639.def: Add brx entry.
18322
41043168
UD
18323 [BZ #13328]
18324 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
18325 Proposed by Mariusz_Cukr <marcukr@op.pl>.
18326
21eaf3a5
UD
18327 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
18328 __feraiseexcept_renamed.
18329
e3a851a2
UD
183302011-12-21 Ulrich Drepper <drepper@gmail.com>
18331
4920765e
UD
18332 [BZ #13538]
18333 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
18334 EPOLLET with unsigned values.
18335 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
18336 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
18337
e3a851a2
UD
18338 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
18339 to large cancellation.
18340 * math/s_cacoshf.c: Likewise.
18341 * math/s_cacoshl.c: Likewise.
18342
b27e24b8
RK
183432011-11-18 Richard B. Kreckel <kreckel@ginac.de>
18344
18345 [BZ #13305]
aebefeee 18346 [BZ #12786]
b27e24b8
RK
18347 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
18348 * math/s_cacoshf.c: Likewise.
18349 * math/s_cacoshl.c: Likewise.
18350
ee190f67
UD
183512011-12-21 Ulrich Drepper <drepper@gmail.com>
18352
18353 [BZ #13439]
18354 * iconv/gconv.h: Define __GCONV_SWAP.
18355 * iconvdata/unicode.c: The swap bit must be stored in __flags.
18356 * iconvdata/utf-16.c: Likewise.
18357 * iconvdata/utf-32.c: Likewise.
18358
707f25df
AS
183592011-12-21 Andreas Schwab <schwab@linux-m68k.org>
18360
18361 [BZ #13524]
18362 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
18363 numerator after shifting it by one limb.
18364
d2daaa1e
RÁE
183652011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
18366
18367 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
18368 under [__USE_EXTERN_INLINES].
18369
a4647e72
UD
183702011-12-17 Ulrich Drepper <drepper@gmail.com>
18371
18372 [BZ #13446]
18373 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
18374
f0b264f1
AZ
183752011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18376
18377 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
18378 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
18379 optimized code.
18380 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
18381 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
18382 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
18383 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
18384 for strncasecmp/strncasecmp_l compilation.
18385 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
18386 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
18387
8ef4f244
MP
183882011-12-08 Marek Polacek <mpolacek@redhat.com>
18389
18390 [BZ #13484]
18391 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
18392 of __asm__.
18393
97ac2654
UD
183942011-12-17 Ulrich Drepper <drepper@gmail.com>
18395
18396 [BZ #13506]
18397 * time/tzfile.c (__tzfile_read): Check values from file header.
18398
91d2a845
WS
183992011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
18400
18401 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
18402 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
18403 * powerpc/powerpc32/dl-start.S: Likewise.
18404 * powerpc/powerpc32/elf/start.S: Likewise.
18405 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
18406 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
18407 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
18408 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
18409 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
18410 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
18411 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
18412 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
18413 * powerpc/powerpc32/fpu/s_round.S: Likewise.
18414 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
18415 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
18416 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
18417 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
18418 * powerpc/powerpc32/memset.S: Likewise.
18419 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
18420 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
18421 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
18422 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
18423 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
18424 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
18425 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
18426 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
18427 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
18428 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
18429 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
18430 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
18431 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
18432
a1267ba1
AZ
184332011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18434
18435 * math/libm-test.inc: Added more nearbyint tests.
18436 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
18437 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
18438 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
18439 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
18440
ad8ac1bd
RL
184412011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
18442
18443 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
18444 FD_CLOEXEC.
18445
1d3e4b61
UD
184462011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18447
18448 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
18449 Add wcscpy-ssse3 wcscpy-c.
18450 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
18451 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
18452 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
18453 * sysdeps/x86_64/wcschr.S: New file.
18454 * sysdeps/x86_64/wcsrchr.S: New file.
18455 * string/test-strcmp.c: Remove checking of wcscmp function for
18456 wrong alignments.
18457 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
18458 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
18459 wcsrchr-sse2 wcsrchr-c.
18460 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
18461 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
18462 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
18463 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
18464 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
18465 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
18466 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
18467 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
18468 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
18469 * wcsmbc/wcschr.c (WCSCHR): New macro.
18470
5b330a2d
UD
184712011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18472
18473 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
18474 * wcsmbs/test-wcsrchr.c: New file.
18475 * string/test-strrchr.c: Add wcsrchr support.
18476 (WIDE): New macro.
18477 * wcsmbs/test-wcscpy.c: New file.
18478 * string/test-strcpy.c: Add wcscpy support.
18479 (WIDE): New macro.
26428b7c 18480
f039c043
UD
184812011-12-10 Ulrich Drepper <drepper@gmail.com>
18482
18483 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
18484 the inner loop.
18485
850fb039
AS
184862011-12-06 Andreas Schwab <schwab@linux-m68k.org>
18487
18488 [BZ #13472]
18489 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
18490
4efbd5cb
UD
184912011-12-04 Ulrich Drepper <drepper@gmail.com>
18492
52ff5dd0 18493 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 18494 Minor optimizations.
52ff5dd0 18495
4efbd5cb
UD
18496 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
18497 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
18498 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
18499
8a426e12
UD
185002011-12-03 Ulrich Drepper <drepper@gmail.com>
18501
aff2453d
UD
18502 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
18503 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
18504 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
18505 for gcc to avoid warnings.
18506 * inet/Makefile (tests): Add tst-checks.
18507 * inet/tst-checks.c: New file.
18508
18509 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
18510 warning.
18511
18512 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
18513 __wmemcmp_sse2.
18514
18515 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
18516 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
18517
8a426e12
UD
18518 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
18519
9bea3473
UD
185202011-12-02 Ulrich Drepper <drepper@gmail.com>
18521
3a965496
UD
18522 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
18523 problem.
18524
9bea3473
UD
18525 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
18526
f101631b
UD
185272011-11-29 Joseph Myers <joseph@codesourcery.com>
18528
18529 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
18530 conditional on GCC version.
18531 (__arch_compare_and_exchange_val_8_acq)
18532 (__arch_compare_and_exchange_val_16_acq)
18533 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
18534 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
18535 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
18536
a98275aa
UD
185372011-12-02 Joseph Myers <joseph@codesourcery.com>
18538
18539 * sysdeps/sh/backtrace.c: New file.
18540
d4cc29a2
AS
185412011-12-02 Andreas Schwab <schwab@redhat.com>
18542
18543 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
18544 parenthesis.
18545
6257af2d
AS
185462011-12-01 Andreas Schwab <schwab@redhat.com>
18547
18548 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
18549 falling back to utime.
18550
b5f44c1a
AS
185512011-11-30 Andreas Schwab <schwab@redhat.com>
18552
18553 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
18554 expectations for float.
18555
f3a6cc0a
AS
185562011-11-29 Andreas Schwab <schwab@redhat.com>
18557
18558 * locale/weight.h (findidx): Add parameter len.
18559 * locale/weightwc.h (findidx): Likewise.
18560 * posix/fnmatch_loop.c (FCT): Adjust caller.
18561 * posix/regcomp.c (build_equiv_class): Likewise.
18562 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
18563 * posix/regexec.c (check_node_accept_bytes): Likewise.
18564 * string/strcoll_l.c (STRCOLL): Likewise.
18565 * string/strxfrm_l.c (STRXFRM): Likewise.
18566
9d65ea3a
UD
185672011-11-17 Ulrich Drepper <drepper@gmail.com>
18568
18569 * Makefile.in: Remove CVSOPT handling.
18570 * configure.in: Remove use of AC_REVISION.
18571 * iconvdata/Makefile (distribute): No need to filter out CVS.
18572 * scripts/list-sources.sh: Remove CVS, subversion and monotone
18573 handling.
18574
5583a086
AS
185752011-11-16 Andreas Schwab <schwab@redhat.com>
18576
18577 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
18578 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
18579 [USE_AS_STRNCASECMP_L]: Likewise.
18580 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
18581 NO_TLS_DIRECT_SEG_REFS.
18582 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
18583 Fix argument offsets for non-PIC.
18584 [USE_AS_STRNCASECMP_L]: Likewise.
18585 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
18586 NO_TLS_DIRECT_SEG_REFS.
18587
d62a8200
UD
185882011-11-15 Ulrich Drepper <drepper@gmail.com>
18589
9d65ea3a 18590 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
18591 O_CLOEXEC.
18592 * locale/loadlocale.c (_nl_load_locale): Likewise.
18593
09f93bd3
AS
185942011-11-15 Andreas Schwab <schwab@redhat.com>
18595
446514f9
AS
18596 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
18597 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
18598 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
18599 (SYSCALL_GETTIME): Set errno on error.
18600
09f93bd3
AS
18601 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
18602 count references to noai6ai_cached.
18603
312be3f9
UD
186042011-11-15 Ulrich Drepper <drepper@gmail.com>
18605
18606 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
18607
18608 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
18609 FD_CLOEXEC for /proc/self/maps.
18610
18611 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
18612 FD_CLOEXEC for /proc/meminfo.
18613
18614 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
18615 gai.conf.
18616
18617 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
18618 FD_CLOEXEC for given file.
18619
18620 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
18621
18622 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
18623 FD_CLOEXEC for /etc/hosts.
18624 (_gethtent): Likewise.
18625
18626 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
18627
18628 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
18629 cancellation and set FD_CLOEXEC for /etc/netgroup.
18630
18631 * nss/nss_files/files-key.c (search): Don't allow cancellation when
18632 reading /etc/publickey.
18633
18634 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
18635 allow cancellation when reading /etc/group.
18636
18637 * nss/nss_files/files-alias.c (internal_setent): Don't allow
18638 cancellation.
18639 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
18640
18641 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
18642 when using data file.
18643
18644 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
18645
18646 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
18647 (write_nis_obj): Use "c" and "e" in fopen.
18648
18649 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
18650
18651 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
18652
18653 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
18654
18655 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
18656
18657 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
18658 locale.alias.
18659
18660 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
18661
18662 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
18663
18664 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
18665
18666 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
18667 file parsing and set FD_CLOEXEC.
18668
82af0fa8
UD
186692011-11-14 Ulrich Drepper <drepper@gmail.com>
18670
18671 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
18672
a5fb313c
AS
186732011-11-14 Andreas Schwab <schwab@redhat.com>
18674
18675 * malloc/arena.c (arena_get2): Don't call reused_arena when
18676 _int_new_arena failed.
18677
6abf3465
UD
186782011-11-14 Ulrich Drepper <drepper@gmail.com>
18679
18680 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
18681 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
18682 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
18683 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
18684 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
18685 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
18686 to compile strcasecmp and strncasecmp.
18687 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
18688 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
18689
18690 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
18691
76e3966e
UD
186922011-11-13 Ulrich Drepper <drepper@gmail.com>
18693
18694 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
18695 locale-defines.sym to gen-as-const-headers.
18696 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
18697 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
18698 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
18699 to compile strcasecmp and strncasecmp.
18700 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
18701 strcasecmp_l and strncasecmp_l.
18702 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
18703 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
18704 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
18705 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
18706 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
18707 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
18708 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
18709 * sysdeps/i386/i686/multiarch/strncase.S: New file.
18710 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
18711 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
18712 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
18713
ab26144e
UD
187142011-11-12 Ulrich Drepper <drepper@gmail.com>
18715
7edb22ef
UD
18716 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
18717 result of SYSDEP_GETTIME_CPU to retval.
18718 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
18719 parameter list to macro. Remove trailing semicolon. Adjust users.
18720
9694fc44
UD
18721 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
18722 variable.
18723
8ad89ef8
UD
18724 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
18725 mantissa words.
18726 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
18727
0c822ef9
UD
18728 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
18729 from unused variable.
18730
874e0564
UD
18731 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
18732 DWARF definitions.
18733 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
18734 for assembling.
18735
3a2edc79
UD
18736 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
18737 over namespaces.
18738
f3c2577f
UD
18739 * sunrpc/rpc_prot.c (rejected): Fix case value.
18740
294ce126
UD
18741 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
18742 unsigned long long int to avoid warnings in shift.
18743
5e2b63c6
UD
18744 * posix/regex_internal.c (re_string_reconstruct): Actually use result
18745 of use of trans.
18746 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
18747 variable tmp.
18748
e7f4b08e
UD
18749 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
18750 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
18751 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
18752
ab26144e
UD
18753 * nis/nis_table.c (nis_list): Use variable of correct type for
18754 result of __follow_path call.
18755
8a6d5255
AZ
187562011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18757
18758 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
18759 of math functions ceil, trunc, floor, round, and sqrt, when
18760 avaliable on the platform.
18761 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
18762 name clash.
18763 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
18764 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
18765 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
18766
aaddc98c
MP
187672011-10-30 Marek Polacek <mpolacek@redhat.com>
18768
18769 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
18770 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
18771
95b7042b
RM
187722011-11-11 Roland McGrath <roland@hack.frob.com>
18773
18774 * include/unistd.h: Fix __readlink return type.
18775 Reported by Chris Metcalf <cmetcalf@tilera.com>.
18776
57769839
UD
187772011-11-11 Ulrich Drepper <drepper@gmail.com>
18778
18779 * stdlib/ucontext.h: Undo last change for makecontext.
18780
edc5984d
AS
187812011-11-11 Andreas Schwab <schwab@redhat.com>
18782
98591e58
AS
18783 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
18784
edc5984d
AS
18785 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
18786 * setjmp/setjmp.h: Mark functions as non-leaf.
18787 * setjmp/bits/setjmp2.h: Likewise.
18788 * stdlib/ucontext.h: Likewise.
18789
77cdc054
AS
187902011-11-10 Andreas Schwab <schwab@redhat.com>
18791
18792 * malloc/arena.c (_int_new_arena): Don't increment narenas.
18793 (reused_arena): Don't check arena limit.
18794 (arena_get2): Atomically check arena limit.
18795
fe72eebd
UD
187962011-11-08 Ulrich Drepper <drepper@gmail.com>
18797
5f078c32
UD
18798 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
18799 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
18800
fe72eebd
UD
18801 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
18802 instructions.
18803
ae1bc2fa
AS
188042011-11-07 Andreas Schwab <schwab@redhat.com>
18805
7583a88d
AS
18806 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
18807 handler when locking.
18808
ae1bc2fa
AS
18809 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
18810 Fix size of allocated buffer.
18811
10fb0bfa
AS
188122011-11-04 Andreas Schwab <schwab@redhat.com>
18813
998832a4
AS
18814 [BZ #10103]
18815 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
18816 declarations for long double functions.
18817 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
18818
10fb0bfa
AS
18819 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
18820
3d7ba52b
AS
188212011-11-03 Andreas Schwab <schwab@redhat.com>
18822
a9ae54a1
AS
18823 * nscd/nscd.c (main): Don't start AVC thread until credentials are
18824 installed.
18825
3d7ba52b
AS
18826 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
18827 is disabled.
18828
bc8db248
ST
188292011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
18830
18831 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
18832
45b96dd6
AS
188332011-11-01 Andreas Schwab <schwab@linux-m68k.org>
18834
647776f6
AS
18835 * include/alloca.h (stackinfo_alloca_round): Define.
18836 (extend_alloca): Use it.
18837 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
18838 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
18839 here.
18840
d91a8b93
AS
18841 * scripts/check-local-headers.sh: Ignore libaudit.h.
18842
45b96dd6
AS
18843 * nscd/Makefile (extra-objs): Make recursively expanded.
18844
432d41ce
UD
188452011-11-01 Ulrich Drepper <drepper@gmail.com>
18846
34372fc6
UD
18847 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
18848 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
18849
fadb59f8
UD
18850 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
18851 * posix/tst-rfc3484-2.c: Likewise.
18852 * posix/tst-rfc3484-3.c: Likewise.
18853
78239589
UD
18854 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
18855 process_vm_writev.
18856 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
18857 process_vm_writev.
18858 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
18859 process_vm_writev from libc using GLIBC_2.15 version.
18860
432d41ce
UD
18861 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
18862
02f9c6cf
PP
188632011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
18864
18865 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
18866 stack usage.
18867
3a2c0242
UD
188682011-10-31 Ulrich Drepper <drepper@gmail.com>
18869
f4ec4833
UD
18870 [BZ #13367]
18871 * nss/getent.c (initgroups_keys): Show error message in case no group
18872 names are given.
18873
3a2c0242
UD
18874 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
18875 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
18876 __bump_nl_timestamp.
18877 * nscd/connections (nscd_init): When host database is served open
18878 netlink socket and request notification about configuration changes.
18879 (main_loop_poll): Track netlink file descriptor and bump timestamp
18880 in case data becomes available.
18881 (main_loop_epoll): Likewise.
18882 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
18883 (database_pers_head): Add extra_data fileds.
18884 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
18885 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
18886 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
18887 Adjust caller.
18888 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
18889 in6ai data, call __free_in6ai.
18890 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
18891 Add -DHAVE_NETLINK.
18892 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
18893 interface information. Reuse previous data if netlink timestamp
18894 is not changed.
18895 (__bump_nl_timestamp): New function.
18896 (__free_in6ai): New function.
18897
636064eb
UD
188982011-10-30 Ulrich Drepper <drepper@gmail.com>
18899
18900 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
18901 close_not_cancel_no_status here.
18902 (__check_pf): Reorganize code a bit to not call close twice if OOM.
18903
9beb2334
UD
189042011-10-29 Ulrich Drepper <drepper@gmail.com>
18905
6ef76f3b
UD
18906 [BZ #13276]
18907 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
18908 return value.
18909
0ffc4f3e 18910 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
18911 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
18912 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
18913
cb95113e
UD
189142011-07-03 Andreas Jaeger <aj@suse.de>
18915
18916 [BZ #10709]
18917 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
18918 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
18919 * math/libm-test.inc (sin_test): Add test case.
18920
a1b560ff
UD
189212011-10-29 Ulrich Drepper <drepper@gmail.com>
18922
c9aaface
UD
18923 [BZ #13337]
18924 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
18925 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
18926
d272e7f1
UD
18927 * elf/chroot_canon.c (chroot_canon): Cleanups.
18928
1bc33071
UD
18929 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
18930
1760874d
TJ
18931 [BZ #13335]
18932 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
18933 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
18934
51d91b18
UD
18935 * string/test-strchr.c: Make usable for strchrnul testing.
18936 * string/test-strchrnul.c: New file.
18937 * string/Makefile (strop-tests): Add strchrnul.
18938
a1b560ff 18939 * po/it.po: Update from translation team.
b611fb81 18940 * po/es.po: Likewise.
a1b560ff 18941
a5b81e1f
UD
189422011-10-28 Ulrich Drepper <drepper@gmail.com>
18943
fd52bc6d
UD
18944 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
18945 the three constants needed as parameters. Drop the others.
18946 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
18947 __m128i_strloadu_tolower.
52e4b9eb
UD
18948 Create and initialize variable zero and use it in all the places
18949 where _mm_setzero_si128 was used.
fd52bc6d 18950
a5b81e1f
UD
18951 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
18952 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
18953 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
18954 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
18955 anymore.
18956 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
18957 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
18958 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
18959 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
18960 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
18961 __mpranred, __mptan.
18962 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
18963 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
18964 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
18965 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
18966 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
18967 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
18968 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
18969 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
18970 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
18971
b4343346
AS
189722011-10-28 Andreas Schwab <schwab@redhat.com>
18973
0c92d8a8
AS
18974 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
18975 redefine if SHARED.
18976 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
18977
b4343346
AS
18978 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
18979 wide char related routines to wcsmbs subdir.
18980
3871f58f
AS
189812011-10-27 Andreas Schwab <schwab@redhat.com>
18982
18983 [BZ #13344]
18984 * misc/sys/cdefs.h (__THROWNL): Define.
18985 * posix/unistd.h: Use __THREADNL instead of __THREAD
18986 for memory synchronization functions.
18987
94d44d9f
RM
189882011-10-26 Roland McGrath <roland@hack.frob.com>
18989
21b64b15 18990 [BZ #13349]
94d44d9f
RM
18991 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
18992 doesn't exist.
18993 * manual/stdio.texi (Obstack Streams): Node removed.
18994
f6ce9294
AS
189952011-10-26 Andreas Schwab <schwab@redhat.com>
18996
80479147
AS
18997 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
18998 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
18999 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
19000
f6ce9294
AS
19001 * math/math_private.h (math_force_eval): Allow non-addressable
19002 arguments.
19003 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
19004
618280a1
UD
190052011-10-25 Ulrich Drepper <drepper@gmail.com>
19006
e0016b11
UD
19007 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
19008 file is not needed.
19009
19010 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
19011 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
19012 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
19013 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
19014 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
19015 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
19016 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
19017 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
19018 Add AVX variants.
19019 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
19020 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
19021 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
19022 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
19023 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
19024 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
19025 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
19026 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
19027 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
19028 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
19029 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
19030 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
19031 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
19032 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
19033 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
19034 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
19035 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
19036 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
19037 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
19038
19039 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
19040 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
19041
618280a1
UD
19042 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
19043 place. Use VEX encoding when compiling for AVX.
19044
37822576
AS
190452011-10-25 Andreas Schwab <schwab@redhat.com>
19046
1f1e1947
AS
19047 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
19048 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
19049
37822576
AS
19050 * string/test-strchr.c (do_test): Don't generate NUL bytes.
19051
31ea014d
UD
190522011-10-25 Ulrich Drepper <drepper@gmail.com>
19053
d7826aa1 19054 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 19055 useless if() expression.
d7826aa1
UD
19056 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
19057 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
19058 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
19059 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
19060 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
19061 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
19062 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
19063 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
19064 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
19065 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
19066 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
19067 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
19068 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
19069 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
19070 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
19071 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
19072 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
19073 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
19074 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
19075
31ea014d
UD
19076 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
19077
16437fec
AS
190782011-10-25 Andreas Schwab <schwab@redhat.com>
19079
19080 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
19081 condition.
19082 * elf/dl-fini.c (_dl_sort_fini): Likewise.
19083
31d3cc00
UD
190842011-10-25 Ulrich Drepper <drepper@gmail.com>
19085
19086 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
19087 .text section. Avoid duplicate constants.
19088 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
19089 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19090 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
19091 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19092 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
19093 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19094 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19095 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19096 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
19097 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
19098 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
19099 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
19100 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
19101 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
19102 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
19103 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
19104 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
19105 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
19106 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
19107 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19108 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
19109 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
19110 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
19111 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
19112 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
19113 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
19114 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
19115 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
19116 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
19117 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
19118 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
19119 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
19120 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
19121 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
19122 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
19123 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
19124 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
19125 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
19126 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
19127 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
19128 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
19129 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
19130 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
19131 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
19132 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
19133
58985aa9
UD
191342011-10-24 Ulrich Drepper <drepper@gmail.com>
19135
202c9deb
UD
19136 * sysdeps/x86_64/dla.h: Move to ...
19137 * sysdeps/x86_64/fpu/dla.h: ...here.
19138 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
19139 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 19140
af968f62
UD
19141 * config.make.in: Add have-mfma4 entry.
19142 * configure.in: Substitute libc_cv_cc_fma4.
19143 * math/Makefile (dbl-only-routines): Add sincostab.
19144 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
19145 Use __sincostab not sincos.
19146 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
19147 name is a macro.
19148 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
19149 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19150 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19151 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
19152 using __copysign.
19153 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
19154 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
19155 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
19156 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
19157 and __inv.
19158 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
19159 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
19160 __copysign.
19161 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
19162 define aliases when function name is a macro.
19163 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
19164 sysdeps/ieee754/dbl-64/sincos.tbl.
19165 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
19166 fma4-enabled routines.
19167 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
19168 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
19169 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
19170 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
19171 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
19172 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
19173 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
19174 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
19175 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
19176 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
19177 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
19178 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
19179 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
19180 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
19181 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
19182 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
19183 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
19184 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
19185 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
19186 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
19187 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
19188 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
19189 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
19190 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
19191 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
19192 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
19193 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
19194 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
19195 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
19196 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
19197
58985aa9
UD
19198 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
19199 rename.
19200 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19201 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19202 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19203 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19204 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19205 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19206 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19207 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19208
a201fbcf
AS
192092011-10-24 Andreas Schwab <schwab@redhat.com>
19210
19211 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
19212
fc2ee42a
LD
192132011-10-23 Ulrich Drepper <drepper@gmail.com>
19214
bb3129bd
UD
19215 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
19216
0275fff8
UD
19217 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
19218 prediction.
19219 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
19220
2fa2ae85
UD
19221 * string/strnlen.c: Don't define STRNLEN, reverse logic.
19222 Remove unused variable magic_bits.
19223 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
19224
fc2ee42a
LD
19225 * string/strnlen.c: Define and use STRNLEN macro.
19226 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
19227 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
19228 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
19229 * wcsmbs/wcslen.c: Define and use WCSLEN.
19230 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
19231 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
19232 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
19233 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
19234 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
19235 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
19236 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
19237
ce7dd29f
LD
192382011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19239
19240 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19241 strnlen-sse2-no-bsf.
19242 Rename strlen-no-bsf to strlen-sse2-no-bsf.
19243 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
19244 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
19245 Add strnlen support.
19246 (USE_AS_STRNLEN): New macro.
19247 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
19248 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
19249 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
19250 * sysdeps/x86_64/wcslen.S: New file.
19251
979c70a3
MZ
192522011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
19253
19254 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
19255 XMM-moves are used for copying on small sizes.
19256
2d09f82f
LD
192572011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19258
19259 * wcsmbs/Makefile (strop-tests): Add wcschr.
19260 * wcsmbs/test-wcschr.c: New file.
19261 * string/test-strchr.c: Update.
19262 Add wcschr support.
19263 (WIDE): New macro.
19264
619fccca
LD
192652011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19266
2d09f82f 19267 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
19268 * wcsmbs/test-wcslen.c: New file.
19269 * string/test-strlen.c: Update.
19270 Add wcslen support.
19271 (WIDE): New macro.
19272
09f699ea
UD
192732011-10-23 Ulrich Drepper <drepper@gmail.com>
19274
19275 * po/it.po: Update from translation team.
19276
95584d3b
LD
192772011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19278
19279 * sysdeps/x86_64/wcscmp.S: Update.
19280 Fix wrong comparison semantics.
19281 wcscmp shall use signed comparison not unsigned.
19282 Don't use substraction to avoid overflow bug.
19283 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
19284 * wcsmbc/wcscmp.c: Likewise.
19285 * string/test-strcmp.c: Likewise.
19286 Add new tests to check cases with negative values.
19287
c8b3296b
UD
192882011-10-23 Ulrich Drepper <drepper@gmail.com>
19289
19290 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
19291 * sysdeps/x86_64/dla.h: ...here. New file.
19292 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
19293 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19294 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19295 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19296 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19297 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
19298 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19299 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19300 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19301
246ad57a
AS
193022011-10-23 Andreas Schwab <schwab@linux-m68k.org>
19303
19304 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
19305 __ynl_finite aliases.
19306
a1a87169
UD
193072011-10-22 Ulrich Drepper <drepper@gmail.com>
19308
0d355eb7
UD
19309 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19310
a1a87169
UD
19311 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
19312 define DLA_FMA.
19313 [DLA_FMA] (EMULV): Use DLA_FMA.
19314 [DLA_FMA] (MUL12): Use EMULV.
19315 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
19316 that are not needed.
19317 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19318 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19319 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19320 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19321 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19322 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19323 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19324
ee2aafe0
AS
193252011-10-22 Andreas Schwab <schwab@linux-m68k.org>
19326
19327 * math/s_nan.c: Undef __nan.
19328 * math/s_nanf.c: Undef __nanf.
19329 * math/s_nanl.c: Undef __nanl.
19330 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
19331 "math_private.h".
19332
bc62c2fb
UD
193332011-10-22 Ulrich Drepper <drepper@gmail.com>
19334
77425c63
UD
19335 * math/s_catan.c: Add branch predictions.
19336 * math/s_catanf.c: Likewise.
19337 * math/s_catanh.c: Likewise.
19338 * math/s_catanhf.c: Likewise.
19339 * math/s_catanhl.c: Likewise.
19340 * math/s_catanl.c: Likewise.
19341 * math/s_cexp.c: Likewise.
19342 * math/s_cexpf.c: Likewise.
19343 * math/s_cexpl.c: Likewise.
19344 * math/s_clog.c: Likewise.
19345 * math/s_clog10.c: Likewise.
19346 * math/s_clog10f.c: Likewise.
19347 * math/s_clog10l.c: Likewise.
19348 * math/s_clogf.c: Likewise.
19349 * math/s_clogl.c: Likewise.
19350 * math/s_csqrt.c: Likewise.
19351 * math/s_csqrtf.c: Likewise.
19352 * math/s_csqrtl.c: Likewise.
19353 * math/s_ctanf.c: Likewise.
19354 * math/s_ctanh.c: Likewise.
19355 * math/s_ctanhf.c: Likewise.
19356 * math/s_ctanhl.c: Likewise.
19357 * math/s_ctanl.c: Likewise.
19358
bc62c2fb
UD
19359 * math/math_private.h: Define __nan, __nanf, __nanl.
19360 * math/s_cacosh.c: Include <math_private.h>.
19361 * math/s_cacoshl.c: Likewise.
19362 * math/s_casinh.c: Likewise.
19363 * math/s_casinhf.c: Likewise.
19364 * math/s_casinhl.c: Likewise.
19365 * math/s_ccos.c: Rely entire on ccosh.
19366 * math/s_ccosf.c: Rely entire on ccoshf.
19367 * math/s_ccosl.c: Rely entirely on ccoshl.
19368 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
19369 Remove tests for FE_INVALID.
19370 * math/s_ccoshf.c: Likewise.
19371 * math/s_ccoshl.c: Likewise.
19372 * math/s_csin.c: Likewise.
19373 * math/s_csinf.c: Likewise.
19374 * math/s_csinh.c Likewise.
19375 * math/s_csinhf.c: Likewise.
19376 * math/s_csinhl.c: Likewise.
19377 * math/s_csinl.c: Likewise.
19378 * math/s_ctan.c: Likewise.
19379 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
19380 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
19381 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
19382
8ec250a4
UD
193832011-10-21 Ulrich Drepper <drepper@gmail.com>
19384
c196fed8
UD
19385 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
19386 compilation problems.
19387
8ec250a4
UD
19388 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
19389 __builtin_expect.
19390
8d4f46c6
UD
193912011-10-20 Ulrich Drepper <drepper@gmail.com>
19392
ed72b654
UD
19393 * sysdeps/i386/configure.in: Test for -mfma4 option.
19394 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
19395 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
19396 COMMON_CPUID_INDEX_80000001.
19397 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
19398 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
19399 use it if FMA3 is not supported.
19400 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
19401
8d4f46c6
UD
19402 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
19403 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
19404
d45c60c2
AS
194052011-10-20 Andreas Schwab <schwab@redhat.com>
19406
19407 [BZ #12892]
19408 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
19409 it would create a cycle with a link time dependency.
19410
d9a4d2ab
UD
194112011-10-19 Ulrich Drepper <drepper@gmail.com>
19412
855d1560
UD
19413 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
19414 instruction.
19415 * string/Makefile (strop-tests): Add rawmemchr.
19416 * string/test-rawmemchr.c: New file.
19417
d9a4d2ab
UD
19418 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
19419 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
19420 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
19421 when compiling str{,n}casecmp and when AVX is available. Hook up
19422 new optimized code in initializers.
19423
8f3b1ffe
AS
194242011-10-19 Andreas Schwab <schwab@redhat.com>
19425
19426 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
19427 __feraiseexcept instead of feraiseexcept.
19428
d38f1dba
UD
194292011-10-18 Ulrich Drepper <drepper@gmail.com>
19430
d9a8d0ab
UD
19431 * math/math_private.h: Define defaults for libc_fetestexcept and
19432 libc_feupdateenv.
19433 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
19434 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
19435 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
19436 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
19437 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
19438 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
19439 libc_fetestexcept and libc_feupdateenv.
19440
4855e3dd
UD
19441 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
19442 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
19443 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
19444 * sysdeps/x86_64/fpu/math_private.h: Define special version of
19445 libc_feholdexcept_setround.
19446
581d30e3
UD
19447 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
19448 Add s_nearbyint-c and s_nearbyintf-c.
19449 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
19450 nearbyintf inlines.
19451 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
19452 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
19453 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
19454 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
19455
d38f1dba
UD
19456 * math/math_private.h: Define defaults for libc_fegetround,
19457 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
19458 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
19459 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
19460 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
19461 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
19462 standard functions.
19463 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
19464 Remove comments and hacks for old compiler versions.
19465 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
19466 libc_fegetround, libc_fesetround, libc_feholdexcept, and
19467 libc_feholdexceptl.
19468
caa6c9d8
AS
194692011-10-18 Andreas Schwab <schwab@redhat.com>
19470
19471 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
19472 (__feraiseexcept_renamed): Add __NTH.
19473 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
19474 namespace violations.
19475
97c066e6
UD
194762011-10-17 Ulrich Drepper <drepper@gmail.com>
19477
99ce7b04
UD
19478 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
19479
1004d182
UD
19480 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
19481
228a984d
UD
19482 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
19483 recently added interfaces.
19484 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
19485
c8553a6a
UD
19486 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
19487 about macro parameter expansion.
19488
ed22dcf6
UD
19489 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
19490 __NO_MATH_INLINES is defined. Cleanups.
19491
19492 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
19493 and __floorf is target has SSE4.1.
19494 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
19495 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
19496 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
19497 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
19498
b171c137
UD
19499 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
19500 name.
19501 (floorf): Likewise.
19502
97c066e6
UD
19503 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
19504
629f62ef
AS
195052011-10-17 Andreas Schwab <schwab@redhat.com>
19506
49a43d80
AS
19507 * misc/sys/cdefs.h: Fix last change.
19508
629f62ef
AS
19509 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
19510 database lookup.
19511
e453f6cd
UD
195122011-10-16 Ulrich Drepper <drepper@gmail.com>
19513
aa78043a
UD
19514 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
19515
ad0f5cad
UD
19516 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
19517 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
19518 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
19519 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
19520 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
19521 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
19522 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
19523 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
19524 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
19525 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
19526 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
19527 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
19528 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
19529 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
19530 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
19531 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
19532 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
19533 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
19534 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
19535 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
19536 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
19537 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
19538
19539 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
19540 ceil, ceilf, floor, floorf.
19541
19542 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
19543 Perform IRELATIVE relocations last.
19544
e453f6cd
UD
19545 * elf/do-rel.h: Add another parameter nrelative, replacing the
19546 local variable with the same name. Change name of the function
19547 to end in Rel or Rela (uppercase).
19548 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
19549 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
19550 elf_dynamic_do_##reloc function.
19551
fd5bdc09
UD
195522011-10-15 Ulrich Drepper <drepper@gmail.com>
19553
79b195b5
UD
19554 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
19555 is sufficient, at least on modern CPUs.
19556
d4a28569
UD
19557 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
19558
b61099b5
UD
19559 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
19560 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
19561
bcf01e6d
UD
19562 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
19563 __expl_finite.
19564 * math/bits/math-finite.h: Add entries for exp.
19565 * math/e_expl.c: Add __*_finite alias.
19566 * sysdeps/i386/fpu/e_exp.S: Likewise.
19567 * sysdeps/i386/fpu/e_expf.S: Likewise.
19568 * sysdeps/i386/fpu/e_expl.c: Likewise.
19569 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
19570 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
19571 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
19572 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
19573 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
19574 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
19575 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
19576
ba1a0d59
UD
19577 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
19578 is sufficient, at least on modern CPUs.
19579
fd5bdc09
UD
19580 * ctype/ctype-info.c (__ctype_init): Define.
19581 * include/ctype.h (__ctype_init): Declare.
19582 (__ctype_b_loc): The variable is always initialized.
19583 (__ctype_toupper_loc): Likewise.
19584 (__ctype_tolower_loc): Likewise.
19585 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
19586 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
19587
7872cfb0
AS
195882011-10-15 Andreas Schwab <schwab@linux-m68k.org>
19589
b468825a
AS
19590 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
19591
7872cfb0
AS
19592 * configure.in: Also look in $cxxmachine/include for C++ system
19593 headers.
19594
be13f7bf
LD
195952011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19596
19597 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
19598 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
19599 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
19600 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
19601 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
19602 (USE_AS_WMEMCMP): New macro.
19603 Fixing indents.
19604 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
19605 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
19606 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
19607 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
19608 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19609 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
19610 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
19611 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
19612 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
19613 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
19614 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
19615 (USE_AS_WMEMCMP): New macro.
19616 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
19617 * sysdeps/string/test-memcmp.c: Update.
19618 Fix simple_wmemcmp.
19619 Add new tests.
19620 * wcsmbs/wmemcmp.c: Update.
19621 (WMEMCMP): New macro.
19622 Fix overflow bug.
19623
556a2007
AJ
196242011-10-12 Andreas Jaeger <aj@suse.de>
19625
19626 [BZ #13268]
19627 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
19628
538faaa7
UD
196292011-10-15 Ulrich Drepper <drepper@gmail.com>
19630
ab6737ff
UD
19631 * libio/iofwide.c (do_length): Avoid warning.
19632
538faaa7
UD
19633 * ctype/ctype.h (__isctype_f): Add missing __THROW.
19634
396a21b1
UD
196352011-10-14 Ulrich Drepper <drepper@gmail.com>
19636
cdf2901f
UD
19637 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
19638
38ad40ce
UD
19639 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
19640 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
19641 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
19642 * sysdeps/i386/i686/fpu/e_log.S: New file.
19643 * sysdeps/i386/i686/fpu/e_logf.S: New file.
19644 * sysdeps/i386/i686/fpu/e_logl.S: New file.
19645
396a21b1
UD
19646 * ctype/ctype.h: Add support for inlined isXXX functions when
19647 compiling C++ code.
19648
6b1f68c9
AS
196492011-10-14 Andreas Schwab <schwab@redhat.com>
19650
349290c0
AS
19651 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19652
6b1f68c9
AS
19653 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
19654
f2282d42
RM
196552011-10-13 Roland McGrath <roland@hack.frob.com>
19656
19657 [BZ #13291]
19658 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
19659
5298ffa8
AS
196602011-10-13 Andreas Schwab <schwab@redhat.com>
19661
714fad23
AS
19662 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
19663 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
19664 feraiseexcept.
19665
81dcc7fb
AS
19666 * sysdeps/x86_64/memrchr.S: Check for zero size.
19667
5298ffa8
AS
19668 * string/stratcliff.c: Add memrchr tests.
19669
951fbcec
LD
196702011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19671
19672 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19673 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
19674 rawmemchr-sse2 rawmemchr-sse2-bsf.
19675 * sysdeps/i386/i686/multiarch/memchr.S: New file.
19676 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
19677 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
19678 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
19679 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
19680 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
19681 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
19682 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
19683 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
19684 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
19685 * string/memrchr.c (MEMRCHR): New macro.
19686
0ac5ae23
UD
196872011-10-12 Ulrich Drepper <drepper@gmail.com>
19688
19689 Add integration with gcc's -ffinite-math-only and optimize wrapper
19690 functions in libm.
19691 * Versions.def: Define GLIBC_2.15 version for libm.
19692 * math/Makefile (headers): Add bits/math-finite.h.
19693 * math/bits/math-finite.h: New file.
19694 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
19695 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
19696 * math/e_acoshl.c: Add __*_finite alias.
19697 * math/e_acosl.c: Likewise.
19698 * math/e_asinl.c: Likewise.
19699 * math/e_atan2l.c: Likewise.
19700 * math/e_atanhl.c: Likewise.
19701 * math/e_coshl.c: Likewise.
19702 * math/e_exp10.c: Likewise.
19703 * math/e_exp10f.c: Likewise.
19704 * math/e_exp10l.c: Likewise.
19705 * math/e_exp2l.c: Likewise.
19706 * math/e_fmodl.c: Likewise.
19707 * math/e_gammal_r.c: Likewise.
19708 * math/e_hypotl.c: Likewise.
19709 * math/e_j0l.c: Likewise.
19710 * math/e_j1l.c: Likewise.
19711 * math/e_jnl.c: Likewise.
19712 * math/e_lgammal_r.c: Likewise.
19713 * math/e_log10l.c: Likewise.
19714 * math/e_log2l.c: Likewise.
19715 * math/e_logl.c: Likewise.
19716 * math/e_powl.c: Likewise.
19717 * math/e_sinhl.c: Likewise.
19718 * math/e_sqrtl.c: Likewise.
19719 * math/e_scalb.c: Completely rewritten and optimized.
19720 * math/e_scalbf.c: Likewise.
19721 * math/e_scalbl.c: Likewise.
19722 * math/w_acos.c: Likewise.
19723 * math/w_acosf.c: Likewise.
19724 * math/w_acosl.c: Likewise.
19725 * math/w_acosh.c: Likewise.
19726 * math/w_acoshf.c: Likewise.
19727 * math/w_acoshl.c: Likewise.
19728 * math/w_asin.c: Likewise.
19729 * math/w_asinf.c: Likewise.
19730 * math/w_asinl.c: Likewise.
19731 * math/w_atan2.c: Likewise.
19732 * math/w_atan2f.c: Likewise.
19733 * math/w_atan2l.c: Likewise.
19734 * math/w_atanh.c: Likewise.
19735 * math/w_atanhf.c: Likewise.
19736 * math/w_atanhl.c: Likewise.
19737 * math/w_exp10.c: Likewise.
19738 * math/w_exp10f.c: Likewise.
19739 * math/w_exp10l.c: Likewise.
19740 * math/w_fmod.c: Likewise.
19741 * math/w_fmodf.c: Likewise.
19742 * math/w_fmodl.c: Likewise.
19743 * math/w_j0.c: Likewise.
19744 * math/w_j0f.c: Likewise.
19745 * math/w_j0l.c: Likewise.
19746 * math/w_j1.c: Likewise.
19747 * math/w_j1f.c: Likewise.
19748 * math/w_j1l.c: Likewise.
19749 * math/w_jn.c: Likewise.
19750 * math/w_jnf.c: Likewise.
19751 * math/w_log.c: Likewise.
19752 * math/w_logf.c: Likewise.
19753 * math/w_logl.c: Likewise.
19754 * math/w_log10.c: Likewise.
19755 * math/w_log10f.c: Likewise.
19756 * math/w_log10l.c: Likewise.
19757 * math/w_log2.c: Likewise.
19758 * math/w_log2f.c: Likewise.
19759 * math/w_log2l.c: Likewise.
19760 * math/w_pow.c: Likewise.
19761 * math/w_powf.c: Likewise.
19762 * math/w_powl.c: Likewise.
19763 * math/w_remainder.c: Likewise.
19764 * math/w_remainderf.c: Likewise.
19765 * math/w_remainderl.c: Likewise.
19766 * math/w_scalb.c: Likewise.
19767 * math/w_scalbf.c: Likewise.
19768 * math/w_scalbl.c: Likewise.
19769 * math/w_sqrt.c: Likewise.
19770 * math/w_sqrtf.c: Likewise.
19771 * math/w_sqrtl.c: Likewise.
19772 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
19773 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
19774 used.
19775 * math/math_private.h: Declare __kernel_standard_f.
19776 * math/w_cosh.c: Remove cruft and optimize a bit.
19777 * math/w_coshf.c: Likewise.
19778 * math/w_coshl.c: Likewise.
19779 * math/w_exp2.c: Likewise.
19780 * math/w_exp2f.c: Likewise.
19781 * math/w_exp2l.c: Likewise.
19782 * math/w_hypot.c: Likewise.
19783 * math/w_hypotf.c: Likewise.
19784 * math/w_hypotl.c: Likewise.
19785 * math/w_lgamma.c: Likewise.
19786 * math/w_lgamma_r.c: Likewise.
19787 * math/w_lgammaf.c: Likewise.
19788 * math/w_lgammaf_r.c: Likewise.
19789 * math/w_lgammal.c: Likewise.
19790 * math/w_lgammal_r.c: Likewise.
19791 * math/w_sinh.c: Likewise.
19792 * math/w_sinhf.c: Likewise.
19793 * math/w_sinhl.c: Likewise.
19794 * math/w_tgamma.c: Likewise.
19795 * math/w_tgammaf.c: Likewise.
19796 * math/w_tgammal.c: Likewise.
19797 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
19798 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
19799 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
19800 Minor optimizations. Pretty printing. Remove cruft.
19801 * sysdeps/i386/fpu/e_acosf.S: Likewise.
19802 * sysdeps/i386/fpu/e_acosh.S: Likewise.
19803 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
19804 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
19805 * sysdeps/i386/fpu/e_acosl.c: Likewise.
19806 * sysdeps/i386/fpu/e_asin.S: Likewise.
19807 * sysdeps/i386/fpu/e_asinf.S: Likewise.
19808 * sysdeps/i386/fpu/e_atan2.S: Likewise.
19809 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
19810 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
19811 * sysdeps/i386/fpu/e_atanh.S: Likewise.
19812 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
19813 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
19814 * sysdeps/i386/fpu/e_exp10.S: Likewise.
19815 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
19816 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
19817 * sysdeps/i386/fpu/e_exp2.S: Likewise.
19818 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
19819 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
19820 * sysdeps/i386/fpu/e_fmod.S: Likewise.
19821 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
19822 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
19823 * sysdeps/i386/fpu/e_hypot.S: Likewise.
19824 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
19825 * sysdeps/i386/fpu/e_log.S: Likewise.
19826 * sysdeps/i386/fpu/e_log10.S: Likewise.
19827 * sysdeps/i386/fpu/e_log10f.S: Likewise.
19828 * sysdeps/i386/fpu/e_log10l.S: Likewise.
19829 * sysdeps/i386/fpu/e_log2.S: Likewise.
19830 * sysdeps/i386/fpu/e_log2f.S: Likewise.
19831 * sysdeps/i386/fpu/e_log2l.S: Likewise.
19832 * sysdeps/i386/fpu/e_logf.S: Likewise.
19833 * sysdeps/i386/fpu/e_logl.S: Likewise.
19834 * sysdeps/i386/fpu/e_pow.S: Likewise.
19835 * sysdeps/i386/fpu/e_powf.S: Likewise.
19836 * sysdeps/i386/fpu/e_powl.S: Likewise.
19837 * sysdeps/i386/fpu/e_remainder.S: Likewise.
19838 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
19839 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
19840 * sysdeps/i386/fpu/e_scalb.S: Likewise.
19841 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
19842 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
19843 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
19844 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
19845 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
19846 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
19847 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
19848 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19849 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
19850 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
19851 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
19852 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
19853 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
19854 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
19855 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
19856 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
19857 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
19858 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19859 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
19860 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
19861 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19862 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
19863 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
19864 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
19865 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19866 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
19867 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
19868 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
19869 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
19870 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
19871 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
19872 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
19873 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
19874 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
19875 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
19876 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
19877 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
19878 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
19879 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
19880 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
19881 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
19882 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
19883 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
19884 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
19885 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
19886 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
19887 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
19888 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
19889 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
19890 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
19891 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
19892 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
19893 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
19894 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
19895 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
19896 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
19897 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
19898 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
19899 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
19900 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
19901 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
19902 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
19903 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
19904 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
19905 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
19906 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
19907 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
19908 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
19909 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
19910 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
19911 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
19912 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
19913 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
19914 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
19915 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
19916 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
19917 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
19918 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
19919 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
19920 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
19921 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
19922 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
19923 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
19924 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
19925 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
19926 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
19927 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
19928 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
19929 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
19930 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
19931 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
19932 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
19933 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
19934 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
19935 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
19936 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
19937 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
19938 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
19939 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
19940 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
19941 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
19942 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
19943 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
19944 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
19945 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
19946 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
19947 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
19948 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
19949 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
19950 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
19951 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
19952 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
19953 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
19954 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
19955 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
19956 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
19957 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
19958 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
19959 (__isnanf): Likewise.
19960 (__isinf_ns): Likewise.
19961 (__isinf_nsf): Likewise.
19962 (__finite): Likewise.
19963 (__finitef): Likewise.
19964 (__ieee754_sqrt): Define as macro.
19965 (__ieee754_sqrtf): Define as macro.
19966 (__ieee754_sqrtl): Define as macro.
19967 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
19968 inlined copy.
19969 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
19970 __FINITE_MATH_ONLY__ consistent.
19971 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
19972
12cc2fcd
AS
199732011-10-10 Andreas Schwab <schwab@linux-m68k.org>
19974
a843a204
AS
19975 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
19976 of rawmemchr.
19977
12cc2fcd
AS
19978 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
19979
c853acd5
UD
199802011-10-09 Ulrich Drepper <drepper@gmail.com>
19981
19982 * po/ja.po: Update from translation team.
19983
c658d255
RM
199842011-10-08 Roland McGrath <roland@hack.frob.com>
19985
110946e4
RM
19986 * locale/programs/locarchive.c (prepare_address_space): New function.
19987 (create_archive, enlarge_archive, open_archive): Use it.
19988
50604220
RM
19989 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
19990 inside [SHARED], where it is used.
19991
c658d255
RM
19992 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
19993
19994 * nss/getent.c (netgroup_keys): Remove unused variable.
19995 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
19996
6a621eb7
UD
199972011-10-08 Ulrich Drepper <drepper@gmail.com>
19998
7edb55ce
UD
19999 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
20000 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
20001 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
20002 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
20003 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
20004 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
20005 * math/Makefile (libm-calls): Add s_isinf_ns.
20006 * math/divtc3.c: Use __isinf_nsl instead of isinf.
20007 * math/multc3.c: Likewise.
20008 * math/s_casin.c: Likewise.
20009 * math/s_casinf.c: Likewise.
20010 * math/s_casinl.c: Likewise.
20011 * math/s_ccos.c: Likewise.
20012 * math/s_ccosf.c: Likewise.
20013 * math/s_ccosl.c: Likewise.
20014 * math/s_ctan.c: Likewise.
20015 * math/s_ctanf.c: Likewise.
20016 * math/s_ctanh.c: Likewise.
20017 * math/s_ctanhf.c: Likewise.
20018 * math/s_ctanhl.c: Likewise.
20019 * math/s_ctanl.c: Likewise.
20020 * math/w_fmod.c: Likewise.
20021 * math/w_fmodf.c: Likewise.
20022 * math/w_fmodl.c: Likewise.
20023 * math/w_remainder.c: Likewise.
20024 * math/w_remainderf.c: Likewise.
20025 * math/w_remainderl.c: Likewise.
20026 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
20027 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
20028 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
20029 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
20030 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
20031 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
20032 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
20033 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
20034
187da0ae
UD
20035 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
20036 of the number.
20037 * stdio-common/printf_fphex.c: Likewise.
20038 * stdio-common/printf_size.c: Likewise.
20039
9277c064
UD
20040 * math/e_exp10.c: Include math_private.h using <...> not "...".
20041 * math/e_exp10f.c: Likewise.
20042 * math/e_exp10l.c: Likewise.
20043 * math/e_exp2l.c: Likewise.
20044 * math/e_j0l.c: Likewise.
20045 * math/e_j1l.c: Likewise.
20046 * math/e_jnl.c: Likewise.
20047 * math/e_lgammal_r.c: Likewise.
20048 * math/e_rem_pio2l.c: Likewise.
20049 * math/e_scalb.c: Likewise.
20050 * math/e_scalbf.c: Likewise.
20051 * math/e_scalbl.c: Likewise.
20052 * math/k_cosl.c: Likewise.
20053 * math/k_sinl.c: Likewise.
20054 * math/k_tanl.c: Likewise.
20055 * math/s_cacoshf.c: Likewise.
20056 * math/s_catan.c: Likewise.
20057 * math/s_catanf.c: Likewise.
20058 * math/s_catanh.c: Likewise.
20059 * math/s_catanhf.c: Likewise.
20060 * math/s_catanhl.c: Likewise.
20061 * math/s_catanl.c: Likewise.
20062 * math/s_ccosh.c: Likewise.
20063 * math/s_ccoshf.c: Likewise.
20064 * math/s_ccoshl.c: Likewise.
20065 * math/s_cexp.c: Likewise.
20066 * math/s_cexpf.c: Likewise.
20067 * math/s_cexpl.c: Likewise.
20068 * math/s_clog.c: Likewise.
20069 * math/s_clog10.c: Likewise.
20070 * math/s_clog10f.c: Likewise.
20071 * math/s_clog10l.c: Likewise.
20072 * math/s_clogf.c: Likewise.
20073 * math/s_clogl.c: Likewise.
20074 * math/s_csin.c: Likewise.
20075 * math/s_csinf.c: Likewise.
20076 * math/s_csinh.c: Likewise.
20077 * math/s_csinhf.c: Likewise.
20078 * math/s_csinhl.c: Likewise.
20079 * math/s_csinl.c: Likewise.
20080 * math/s_csqrt.c: Likewise.
20081 * math/s_csqrtf.c: Likewise.
20082 * math/s_csqrtl.c: Likewise.
20083 * math/s_ctan.c: Likewise.
20084 * math/s_ctanf.c: Likewise.
20085 * math/s_ctanh.c: Likewise.
20086 * math/s_ctanhf.c: Likewise.
20087 * math/s_ctanhl.c: Likewise.
20088 * math/s_ctanl.c: Likewise.
20089 * math/s_ldexp.c: Likewise.
20090 * math/s_ldexpf.c: Likewise.
20091 * math/s_ldexpl.c: Likewise.
20092 * math/s_significand.c: Likewise.
20093 * math/s_significandf.c: Likewise.
20094 * math/s_significandl.c: Likewise.
20095 * math/w_acos.c: Likewise.
20096 * math/w_acosf.c: Likewise.
20097 * math/w_acosh.c: Likewise.
20098 * math/w_acoshf.c: Likewise.
20099 * math/w_acoshl.c: Likewise.
20100 * math/w_acosl.c: Likewise.
20101 * math/w_asin.c: Likewise.
20102 * math/w_asinf.c: Likewise.
20103 * math/w_asinl.c: Likewise.
20104 * math/w_atan2.c: Likewise.
20105 * math/w_atan2f.c: Likewise.
20106 * math/w_atan2l.c: Likewise.
20107 * math/w_atanh.c: Likewise.
20108 * math/w_atanhf.c: Likewise.
20109 * math/w_atanhl.c: Likewise.
20110 * math/w_cosh.c: Likewise.
20111 * math/w_coshf.c: Likewise.
20112 * math/w_coshl.c: Likewise.
20113 * math/w_dremf.c: Likewise.
20114 * math/w_exp10.c: Likewise.
20115 * math/w_exp10f.c: Likewise.
20116 * math/w_exp10l.c: Likewise.
20117 * math/w_exp2.c: Likewise.
20118 * math/w_exp2f.c: Likewise.
20119 * math/w_fmod.c: Likewise.
20120 * math/w_fmodf.c: Likewise.
20121 * math/w_fmodl.c: Likewise.
20122 * math/w_hypot.c: Likewise.
20123 * math/w_hypotf.c: Likewise.
20124 * math/w_hypotl.c: Likewise.
20125 * math/w_j0.c: Likewise.
20126 * math/w_j0f.c: Likewise.
20127 * math/w_j0l.c: Likewise.
20128 * math/w_j1.c: Likewise.
20129 * math/w_j1f.c: Likewise.
20130 * math/w_j1l.c: Likewise.
20131 * math/w_jn.c: Likewise.
20132 * math/w_jnf.c: Likewise.
20133 * math/w_jnl.c: Likewise.
20134 * math/w_lgamma.c: Likewise.
20135 * math/w_lgamma_r.c: Likewise.
20136 * math/w_lgammaf.c: Likewise.
20137 * math/w_lgammaf_r.c: Likewise.
20138 * math/w_lgammal.c: Likewise.
20139 * math/w_lgammal_r.c: Likewise.
20140 * math/w_log.c: Likewise.
20141 * math/w_log10.c: Likewise.
20142 * math/w_log10f.c: Likewise.
20143 * math/w_log10l.c: Likewise.
20144 * math/w_log2.c: Likewise.
20145 * math/w_log2f.c: Likewise.
20146 * math/w_log2l.c: Likewise.
20147 * math/w_logf.c: Likewise.
20148 * math/w_logl.c: Likewise.
20149 * math/w_pow.c: Likewise.
20150 * math/w_powf.c: Likewise.
20151 * math/w_powl.c: Likewise.
20152 * math/w_remainder.c: Likewise.
20153 * math/w_remainderf.c: Likewise.
20154 * math/w_remainderl.c: Likewise.
20155 * math/w_scalb.c: Likewise.
20156 * math/w_scalbf.c: Likewise.
20157 * math/w_scalbl.c: Likewise.
20158 * math/w_sinh.c: Likewise.
20159 * math/w_sinhf.c: Likewise.
20160 * math/w_sinhl.c: Likewise.
20161 * math/w_sqrt.c: Likewise.
20162 * math/w_sqrtf.c: Likewise.
20163 * math/w_sqrtl.c: Likewise.
20164 * math/w_tgamma.c: Likewise.
20165 * math/w_tgammaf.c: Likewise.
20166 * math/w_tgammal.c: Likewise.
20167
6a621eb7
UD
20168 * po/ja.po: Update from translation team.
20169
bf582445
AJ
201702011-09-29 Andreas Jaeger <aj@suse.de>
20171
f9efbf3a
AJ
20172 [BZ #13179]
20173 * sunrpc/netname.c (netname2host): Fix logic.
20174
bf582445
AJ
20175 [BZ #6779]
20176 [BZ #6783]
20177 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
20178 correctly.
20179 * math/w_remainder.c (__remainder): Likewise.
20180 * math/w_remainderf.c (__remainderf): Likewise.
20181 * math/libm-test.inc (remainder_test): Add test cases.
20182
48693bea
AK
201832011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20184
20185 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
20186 sdiv_qrnnd.
20187
42622229
LD
201882011-10-07 Ulrich Drepper <drepper@gmail.com>
20189
20190 * string/test-memcmp.c: Avoid unncessary #defines.
20191 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
20192
093ecf92
LD
201932011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20194
20195 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
20196 Use new sse2 version for core i3 - i7 as it's faster
20197 than sse42 version.
20198 (bit_Prefer_PMINUB_for_stringop): New.
20199 * sysdeps/x86_64/rawmemchr.S: Update.
20200 Replace with faster SSE2 version.
20201 * sysdeps/x86_64/memrchr.S: New file.
20202 * sysdeps/x86_64/memchr.S: Update.
20203 Replace with faster SSE2 version.
20204
fde56e5c
MP
202052011-09-12 Marek Polacek <mpolacek@redhat.com>
20206
20207 * elf/dl-load.c (lose): Add cast to avoid warning.
20208
21fd49a9
UD
202092011-10-07 Ulrich Drepper <drepper@gmail.com>
20210
5a06e643
UD
20211 * po/ca.po: Update from translation team.
20212
684ae515
UD
20213 * inet/getnetgrent_r.c: Hook up nscd.
20214 * nscd/Makefile (routines): Add nscd_netgroup.
20215 (nscd-modules): Add netgroupcache.
20216 (CFLAGS-netgroupcache.c): Define.
20217 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
20218 (cache_search): Add const to second parameter.
20219 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
20220 INNETGR.
20221 (dbs): Add netgrdb entry.
20222 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
20223 (verify_persistent_db): Handle netgrdb.
20224 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
20225 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
20226 GETFDNETGR.
20227 (netgroup_response_header): Define.
20228 (innetgroup_response_header): Define.
20229 (datahead): Add netgroup_response_header and innetgroup_response_header
20230 elements.
20231 * nscd/nscd.conf: Add entries for netgroup cache.
20232 * nscd/nscd.h (dbtype): Add netgrdb.
20233 (_PATH_NSCD_NETGROUP_DB): Define.
20234 (netgroup_iov_disabled): Declare.
20235 (xmalloc, xcalloc, xrealloc): Move declarations here.
20236 (cache_search): Adjust prototype.
20237 Add netgroup-related prototypes.
20238 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
20239 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
20240 (__nscd_innetgr): Declare.
20241 * nscd/selinux.c (perms): Use access_vector_t as element type and
20242 add netgroup-related initializers.
20243 * nscd/netgroupcache.c: New file.
20244 * nscd/nscd_netgroup.c: New file.
20245 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
20246 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
20247 For four parameters use innetgr.
20248 * nss/nss_files/files-init.c: Add definition and callback for netgr.
20249 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
20250 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
20251 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
20252
21fd49a9
UD
20253 * nscd/connections.c (register_traced_file): Don't register file
20254 for disabled databases.
20255
054c0457
UD
202562011-10-06 Ulrich Drepper <drepper@gmail.com>
20257
32b63198
UD
20258 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
20259
054c0457
UD
20260 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
20261 from tree and freeing node.
20262
64031225
JO
202632011-09-25 Jiri Olsa <jolsa@redhat.com>
20264
20265 * nss/nsswitch.c (__nss_database_lookup): Handle
20266 nss_parse_service_list out of memory case.
20267
0490345c
JO
202682011-09-15 Jiri Olsa <jolsa@redhat.com>
20269
20270 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
20271 out of memory case.
20272
3a62d00d
AS
202732011-10-04 Andreas Schwab <schwab@redhat.com>
20274
20275 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
20276 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
20277 pass it down.
20278 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
20279 elf_machine_rela, elf_machine_lazy_rel.
20280 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
20281 (ELF_DYNAMIC_DO_REL): Likewise.
20282 (ELF_DYNAMIC_DO_RELA): Likewise.
20283 (ELF_DYNAMIC_RELOCATE): Likewise.
20284 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
20285 to ELF_DYNAMIC_DO_REL.
20286 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
20287 (dl_main): In trace mode always set __RTLD_NOIFUNC.
20288 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
20289 elf_machine_rela.
20290 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
20291 skip_ifunc, don't call ifunc function if non-zero.
20292 (elf_machine_rela): Likewise.
20293 (elf_machine_lazy_rel): Likewise.
20294 (elf_machine_lazy_rela): Likewise.
20295 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
20296 (elf_machine_lazy_rel): Likewise.
20297 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
20298 Likewise.
20299 (elf_machine_lazy_rel): Likewise.
20300 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
20301 Likewise.
20302 (elf_machine_lazy_rel): Likewise.
20303 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
20304 (elf_machine_lazy_rel): Likewise.
20305 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
20306 (elf_machine_lazy_rel): Likewise.
20307 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
20308 (elf_machine_lazy_rel): Likewise.
20309 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
20310 (elf_machine_lazy_rel): Likewise.
20311 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
20312 (elf_machine_lazy_rel): Likewise.
20313 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
20314 (elf_machine_lazy_rel): Likewise.
20315
68577918
UD
203162011-09-28 Ulrich Drepper <drepper@gmail.com>
20317
20318 * nss/nss_files/files-init.c (_nss_files_init): Use static
20319 initialization for all the *_traced_file variables.
20320
68822d74
AS
203212011-09-28 Andreas Schwab <schwab@redhat.com>
20322
20323 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
20324
2056100b
RM
203252011-09-27 Roland McGrath <roland@hack.frob.com>
20326
20327 [BZ #13226]
20328 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
20329
32c76b63
AS
203302011-09-27 Andreas Schwab <schwab@redhat.com>
20331
20332 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
20333 Reread the line before reparsing it.
20334
bf972c9d
AS
203352011-09-26 Andreas Schwab <schwab@redhat.com>
20336
20337 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
20338
e057a1b5
JM
203392011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
20340 Maxim Kuvyrkov <maxim@codesourcery.com>
20341 Joseph Myers <joseph@codesourcery.com>
20342
20343 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
20344 if needed for __stack_chk_guard.
20345
bc7e1c36
RM
203462011-09-19 Roland McGrath <roland@hack.frob.com>
20347
ecb1482f
RM
20348 * sysdeps/posix/spawni.c (script_execute): Always define it.
20349 It will be optimized away if unused.
20350 (maybe_script_execute): New function.
20351 (__spawni): Call it.
20352
bc7e1c36
RM
20353 * Makerules: Don't include tls.make.
20354 (config-tls): Always set to thread.
20355 * tls.make.c: File removed.
20356
1c3b002b
MF
203572011-09-19 Mike Frysinger <vapier@gentoo.org>
20358
20359 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
20360 * config.make.in (CPPFLAGS-config): New substituted variable.
20361
2840865d
UD
203622011-09-15 Ulrich Drepper <drepper@gmail.com>
20363
88738eb6
UD
20364 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
20365
cbf645a6 20366 [BZ #13192]
2840865d
UD
20367 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
20368 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
20369
b402e91a
RM
203702011-09-15 Roland McGrath <roland@hack.frob.com>
20371
20372 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
20373 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
20374 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
20375 (CALL_FAIL): Likewise.
20376 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
20377 (CALL_FAIL): Macro removed.
20378 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
20379
4c1a1f71
UD
203802011-09-15 Ulrich Drepper <drepper@gmail.com>
20381
20382 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
20383 for __FINITE_MATH_ONLY__ == 1.
20384
edc121be
AS
203852011-09-15 Andreas Schwab <schwab@redhat.com>
20386
20387 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
20388 __ieee754_sqrt instead of sqrt.
20389 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
20390 __ieee754_sqrtf instead of sqrtf.
20391 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
20392 __floorf instead of floorf.
20393 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
20394 __floorf, __truncf instead of floorf, truncf.
20395
cd205654
UD
203962011-09-14 Ulrich Drepper <drepper@gmail.com>
20397
ee4d0315
UD
20398 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
20399
cd205654
UD
20400 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
20401 __extern_always_inline.
20402 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
20403 32-bit.
20404
48b67d71
AS
204052011-09-14 Andreas Schwab <schwab@redhat.com>
20406
20407 * elf/rtld.c (dl_main): Also relocate in dependency order when
20408 doing symbol dependency testing.
20409
1ae12c75
AS
204102011-09-13 Andreas Schwab <schwab@linux-m68k.org>
20411
20412 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
20413 Always define `refsym'.
20414
995a80df
AS
204152011-09-13 Andreas Schwab <schwab@redhat.com>
20416
e529793b
AS
20417 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
20418 (__FD_ELT): Renamed from __FDELT.
20419 * misc/bits/select2.h (__FD_ELT): Likewise.
20420 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
20421 __FD_MASK instead of __FDELT, __FDMASK.
20422 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
20423 Likewise.
20424 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
20425 Likewise.
20426
52d4fef8
AS
20427 * elf/Makefile (gen-ldd): Fix pattern.
20428
995a80df
AS
20429 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
20430 (init_tls): Likewise.
20431
8682f8b0
UD
204322011-09-12 Ulrich Drepper <drepper@gmail.com>
20433
20434 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
20435
de82006d
AS
204362011-09-12 Andreas Schwab <schwab@redhat.com>
20437
a7c8e6a1
AS
20438 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
20439 `struct cmsghdr *' instead of `void *'.
20440 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
20441 Likewise.
20442
0f31fe77
AS
204432011-09-11 Andreas Schwab <schwab@linux-m68k.org>
20444
20445 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
20446 if non-absolute.
20447 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
20448 ldd_rewrite_script.
0f31fe77 20449
32b4c839
UD
204502011-09-11 Ulrich Drepper <drepper@gmail.com>
20451
83cd1420
UD
20452 * configure.in: Remove --with-tls option.
20453 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
20454 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
20455 out in case it is missing.
20456 * sysdeps/ia64/elf/configure.in: Likewise.
20457 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
20458 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
20459 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
20460 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
20461 * sysdeps/sh/elf/configure.in: Likewise.
20462 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
20463 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
20464 * sysdeps/x86_64/elf/configure.in: Likewise.
20465 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
20466 * sysdeps/mach/hurd/tls.h: Likewise.
20467
633f745d
UD
20468 [BZ #13067]
20469 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
20470
f318beb8
UD
20471 [BZ #13090]
20472 * configure.in: Fix use of AC_INIT.
20473
32b4c839
UD
20474 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
20475
3ce1f295
UD
204762011-09-10 Ulrich Drepper <drepper@gmail.com>
20477
bb016596
UD
20478 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
20479 __set_errno.
8e58439c
UD
20480 * malloc/hooks.c: Likewise.
20481
aebae053 20482 [BZ #11929]
02d46fc4
UD
20483 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
20484 variables statically.
20485 (narenas): Initialize.
20486 (list_lock): Initialize.
bb016596
UD
20487 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
20488 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
20489 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
20490 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
20491 Add initializers to main_arena and mp_.
20492 (malloc_state): Remove pagesize member. Change all users to use
20493 GLRO(dl_pagesize).
20494
20495 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
20496 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
20497 is always initialized.
20498
22a89187
UD
20499 * malloc/malloc.c: Removed unused configurations and dead code.
20500 * malloc/arena.c: Likewise.
20501 * malloc/hooks.c: Likewise.
02d46fc4 20502 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 20503
d063d164
UD
20504 * include/tls.h: Removed. USE___THREAD must always be defined.
20505 * bits/libc-tsd.h: Don't handle !USE___THREAD.
20506 * elf/dl-libc.c: Likewise.
20507 * elf/dl-tsd.c: Likewise.
20508 * include/errno.h: Likewise.
20509 * include/netdb.h: Likewise.
20510 * include/resolv.h: Likewise.
20511 * inet/herrno-loc.c: Likewise.
20512 * inet/herrno.c: Likewise.
20513 * malloc/arena.c: Likewise.
20514 * malloc/hooks.c: Likewise.
20515 * malloc/malloc.c: Likewise.
20516 * resolv/res-state.c: Likewise.
20517 * resolv/res_libc.c: Likewise.
20518 * sysdeps/i386/dl-machine.h: Likewise.
20519 * sysdeps/ia64/dl-machine.h: Likewise.
20520 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
20521 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
20522 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
20523 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
20524 * sysdeps/sh/dl-machine.h: Likewise.
20525 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
20526 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
20527 * sysdeps/unix/i386/sysdep.S: Likewise.
20528 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
20529 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
20530 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
20531 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
20532 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
20533 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
20534 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
20535 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
20536 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
20537 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
20538 * sysdeps/unix/x86_64/sysdep.S: Likewise.
20539 * sysdeps/x86_64/dl-machine.h: Likewise.
20540 * tls.make.c: Likewise.
20541
3ce1f295
UD
20542 * configure.in: Remove --with-__thread option. Make tests for
20543 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
20544 tls_model attribute fail if no support is available. Remove
20545 USE_IN_LIBIO.
20546 * Makeconfig: Adjust for dropped configure option. All features are
20547 now mandatory.
20548 * Makerules: Likewise.
20549 * Versions.def: Likewise.
20550 * argp/argp-fmtstream.c: Likewise.
20551 * argp/argp-fmtstream.h: Likewise.
20552 * argp/argp-help.c: Likewise.
20553 * assert/assert.c: Likewise.
20554 * config.h.in: Likewise.
20555 * config.make.in: Likewise.
20556 * configure: Likewise.
20557 * configure.in: Likewise.
20558 * csu/Versions: Likewise.
20559 * csu/init.c: Likewise.
20560 * elf/tst-audit2.c: Likewise.
20561 * elf/tst-tls10.c: Likewise.
20562 * elf/tst-tls10.h: Likewise.
20563 * elf/tst-tls11.c: Likewise.
20564 * elf/tst-tls12.c: Likewise.
20565 * elf/tst-tls14.c: Likewise.
20566 * elf/tst-tlsmod11.c: Likewise.
20567 * elf/tst-tlsmod12.c: Likewise.
20568 * elf/tst-tlsmod13.c: Likewise.
20569 * elf/tst-tlsmod13a.c: Likewise.
20570 * elf/tst-tlsmod14a.c: Likewise.
20571 * elf/tst-tlsmod15b.c: Likewise.
20572 * elf/tst-tlsmod16a.c: Likewise.
20573 * elf/tst-tlsmod16b.c: Likewise.
20574 * elf/tst-tlsmod7.c: Likewise.
20575 * elf/tst-tlsmod8.c: Likewise.
20576 * elf/tst-tlsmod9.c: Likewise.
20577 * gmon/gmon.c: Likewise.
20578 * grp/fgetgrent_r.c: Likewise.
20579 * grp/putgrent.c: Likewise.
20580 * hurd/fopenport.c: Likewise.
20581 * include/libc-symbols.h: Likewise.
20582 * include/tls.h: Likewise.
20583 * intl/gettextP.h: Likewise.
20584 * intl/loadinfo.h: Likewise.
20585 * locale/global-locale.c: Likewise.
20586 * locale/localeinfo.h: Likewise.
20587 * mach/devstream.c: Likewise.
20588 * malloc/arena.c: Likewise.
20589 * malloc/set-freeres.c: Likewise.
20590 * misc/err.c: Likewise.
20591 * misc/getttyent.c: Likewise.
20592 * misc/mntent_r.c: Likewise.
20593 * posix/getopt.c: Likewise.
20594 * posix/wordexp.c: Likewise.
20595 * pwd/fgetpwent_r.c: Likewise.
20596 * resolv/Versions: Likewise.
20597 * resolv/res_hconf.c: Likewise.
20598 * shadow/fgetspent_r.c: Likewise.
20599 * shadow/putspent.c: Likewise.
20600 * stdio-common/printf_fphex.c: Likewise.
20601 * stdio-common/tmpfile.c: Likewise.
20602 * stdlib/abort.c: Likewise.
20603 * stdlib/fmtmsg.c: Likewise.
20604 * sunrpc/auth_unix.c: Likewise.
20605 * sunrpc/clnt_perr.c: Likewise.
20606 * sunrpc/clnt_tcp.c: Likewise.
20607 * sunrpc/clnt_udp.c: Likewise.
20608 * sunrpc/clnt_unix.c: Likewise.
20609 * sunrpc/openchild.c: Likewise.
20610 * sunrpc/svc_simple.c: Likewise.
20611 * sunrpc/svc_tcp.c: Likewise.
20612 * sunrpc/svc_udp.c: Likewise.
20613 * sunrpc/svc_unix.c: Likewise.
20614 * sunrpc/xdr.c: Likewise.
20615 * sunrpc/xdr_array.c: Likewise.
20616 * sunrpc/xdr_rec.c: Likewise.
20617 * sunrpc/xdr_ref.c: Likewise.
20618 * sunrpc/xdr_stdio.c: Likewise.
20619
1248c1c4
PB
206202011-09-09 Ulrich Drepper <drepper@gmail.com>
20621
20622 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
20623
206242011-07-03 Andreas Jaeger <aj@suse.de>
20625
20626 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
20627 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
20628 regenerate with gen-libm-tests.pl.
20629
206302010-05-12 Petr Baudis <pasky@suse.cz>
20631
20632 [BZ #11589]
20633 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
20634 around j0() zero points by switching to j1().
20635 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
20636 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
20637 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
20638 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
20639
f22e1074
UD
206402011-09-09 Ulrich Drepper <drepper@gmail.com>
20641
f19009c1
UD
20642 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
20643 instead of 0.
20644 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 20645 instead of 0.
f19009c1
UD
20646 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
20647 Patch in part by Pavel Roskin <proski@gnu.org>.
20648
3f8cc204
UD
20649 [BZ #13138]
20650 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
20651 realloc.
20652 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
20653 Free memory block if necessary.
20654
f22e1074
UD
20655 [BZ #12847]
20656 * libio/genops.c (INTDEF): For string streams the _lock pointer can
20657 be NULL. Don't lock in this case.
20658
0a2349f9
RM
206592011-09-09 Roland McGrath <roland@hack.frob.com>
20660
20661 * elf/elf.h (ELFOSABI_GNU): New macro.
20662 (ELFOSABI_LINUX): Define to that.
20663
f3cdd467
DZ
206642011-07-29 Denis Zaitceff <zaitceff@gmail.com>
20665
20666 * string/strncat.c (strncat): Undef the symbol in case it has been
20667 defined in bits/string.h.
20668
74718d13
UD
206692011-09-09 Ulrich Drepper <drepper@gmail.com>
20670
633e9e0f
UD
20671 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
20672
0a2349f9 20673 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
20674 link map.
20675
f9924780
AJ
206762011-08-17 Andreas Jaeger <aj@suse.de>
20677
20678 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
20679
7f5517aa
PP
206802011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
20681 Ian Lance Taylor <iant@google.com>
20682
20683 * math/libm-test.inc (lround_test): New testcase.
20684 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
20685
762011fe
UD
206862011-09-08 Ulrich Drepper <drepper@gmail.com>
20687
92963737
UD
20688 * Makefile: Remove support for automatic cvs check-ins.
20689 * Makerules: Likewise.
20690 * config.make.in: Likewise.
20691 * configure.in: Likewise.
20692 * intl/Makefile: Likewise.
20693 * locale/Makefile: Likewise.
20694 * po/Makefile: Likewise.
20695 * posix/Makefile: Likewise.
20696 * sysdeps/gnu/Makefile: Likewise.
20697 * sysdeps/mach/hurd/Makefile: Likewise.
20698 * sysdeps/sparc/sparc32/Makefile: Likewise.
20699
b0727fd8
JS
20700 [BZ #13118]
20701 * posix/Makefile (bug-regex32-ENV): Define.
20702 Patch by John Stanley <jpsinthemix@verizon.net>.
20703
a0f33f99
UD
20704 * misc/Makefile (headers): Add bits/select2.h.
20705 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
20706 * misc/bits/select2.h: New file.
20707 * include/bits/select2.h: New file.
20708 * debug/Makefile (routines): Add fdelt_chk.
20709 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
20710 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
20711 FD_ISSET.
20712 * debug/fdelt_chk.c: New file.
20713
762011fe
UD
20714 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
20715 * wcsmbs/test-wmemcmp.c: Likewise.
20716 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 20717 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
20718
207192011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20720
20721 * string/Makefile (strop-tests): Add memcmp.
20722 * string/test-wmemcmp.c: New file.
20723 * string/test-memcmp.c: Add wmemcmp support.
20724
7f513ec8
RM
207252011-09-08 Roland McGrath <roland@hack.frob.com>
20726
0442afb4
RM
20727 [BZ #13153]
20728 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
20729 2011-07-19 change.
20730
7f513ec8
RM
20731 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
20732 garbage value in a __mach_port_mod_refs call in the cases of the
20733 task-self and thread-self ports.
20734
a12b2239
ST
207352011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
20736
20737 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
20738
610f9ab4
AS
207392011-09-08 Andreas Schwab <schwab@redhat.com>
20740
7f513ec8 20741 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 20742
48882a1a
LD
207432011-09-07 Ulrich Drepper <drepper@gmail.com>
20744
b49865be
UD
20745 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
20746
fdc86bc9
UD
20747 * elf/dl-libc.c (dlerror_run): Pass back error code from
20748 dl_catch_error.
20749
c966526a
UD
20750 [BZ #13123]
20751 * elf/dl-load.c (lose): Free l_origin if it is valid.
20752
48882a1a
LD
20753 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
20754 names.
20755 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
20756 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
20757 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
20758 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
20759 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
20760 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
20761
77a2a8b4
AZ
207622011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20763
20764 * sysdeps/powerpc/fpu/e_hypot.c: New file.
20765 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
20766 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
20767 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
20768 * sysdeps/powerpc/fpu/k_cosf.c: New file.
20769 * sysdeps/powerpc/fpu/k_sinf.c: New file.
20770 * sysdeps/powerpc/fpu/s_cosf.c: New file.
20771 * sysdeps/powerpc/fpu/s_sinf.c: New file.
20772 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
20773 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
20774
24f579d8
AM
207752011-08-15 Alan Modra <amodra@gmail.com>
20776
20777 [BZ #13092]
20778 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
20779 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
20780 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
20781 ppc_mcount to static-only-routines.
20782 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
20783 __mcount_internal.
20784 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
20785 __mcount_internal with usual JUMPTARGET. Remove useless nop.
20786
3d4837df
UD
207872011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
20788
20789 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
20790 for finite and infinity parameters.
20791
22700377
WS
207922011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
20793
20794 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
20795 and add nop instructions for throughput optimization.
20796 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
20797
5025581e
WS
207982011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
20799
20800 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
20801 aligned copy for power7 with vector-scalar instructions.
20802 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
20803
08a300c9
L
208042011-07-24 H.J. Lu <hongjiu.lu@intel.com>
20805
20806 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
20807 AVX check.
20808
59178ef9
AS
208092011-09-07 Andreas Schwab <schwab@redhat.com>
20810
20811 [BZ #13144]
20812 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
20813 last change.
20814
e38ba7ab
UD
208152011-09-07 Ulrich Drepper <drepper@gmail.com>
20816
20817 * sysdeps/unix/sysv/linux/x86_64/init-first.c
20818 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
20819 syscall wrapper around clock_gettime in __vdso_clock_gettime.
20820 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
20821 clock_gettime.
20822
d53a73ac
UD
208232011-09-06 Ulrich Drepper <drepper@gmail.com>
20824
fc8bffcc
UD
20825 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
20826 Forgot to demangle the pointer.
20827
ceaa0c5d
UD
20828 * sysdeps/i386/sysdep.h: Define atom_text_section.
20829 * sysdeps/x86_64/sysdep.h: Likewise.
20830 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
20831 section with atom_text_section.
20832 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
20833 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
20834 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
20835 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
20836 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
20837
a77d3c17
UD
20838 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
20839 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
20840 already be defined. Change to take two parameters and don't assign
20841 result to variable. Adjust all users.
20842 Define INTERNAL_GETTIME if not already defined.
20843 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
20844 call.
20845 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
20846 HAVE_CLOCK_GETTIME_VSYSCALL.
20847 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
20848
d53a73ac
UD
20849 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
20850 gettimeofday vsyscall, just use time.
20851
a8f84144
AS
208522011-09-06 Andreas Schwab <schwab@redhat.com>
20853
20854 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
20855 <errno.h>.
20856
ef606249
UD
208572011-09-06 Ulrich Drepper <drepper@gmail.com>
20858
20859 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
20860 syscall on x86-64.
20861 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
20862 syscall.
20863 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
20864 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
20865 syscall if possible.
20866
6585cb60
UD
208672011-09-05 Ulrich Drepper <drepper@gmail.com>
20868
20869 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
20870 e_ident. Don't pass to find_mapsXX.
20871 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
20872
a5f524e4
LD
208732011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20874
20875 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20876 strchr-sse2-no-bsf strrchr-sse2-no-bsf
20877 * sysdeps/x86_64/multiarch/strchr.S: Update.
20878 Check bit_slow_BSF bit.
20879 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
20880 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
20881 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
20882
554881ef
UD
208832011-09-05 Ulrich Drepper <drepper@gmail.com>
20884
d96de963
UD
20885 [BZ #13134]
20886 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
20887 before glibc 2.15.
20888 (tryshell): Define.
20889 (__spawni): Change last parameter to be flag. Test
20890 SPAWN_XFLAGS_USE_PATH flag to use path or not.
20891 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
20892 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
20893 * posix/spawni.c: Likewise.
20894 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
20895 * posix/spawnp.c: Likewise. Change normal version to use
20896 SPAWN_XFLAGS_USE_PATH.
20897 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
20898 SPAWN_XFLAGS_TRY_SHELL.
20899
d48e5868
UD
20900 [BZ #13150]
20901 * posix/glob.h: Remove gcc 1.x support.
20902
554881ef
UD
20903 [BZ #13068]
20904 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
20905
693fb948
LD
209062011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20907
20908 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20909 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
20910 strrchr-sse2-bsf
20911 * sysdeps/i386/i686/multiarch/strchr.S: New file.
20912 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
20913 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
20914 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
20915 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
20916 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
20917
1b48c537
UD
209182011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20919
49d42c37
UD
20920 * sysdeps/x86_64/wcscmp.S: New file.
20921
1b48c537
UD
20922 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
20923 wcscmp-c wcscmp-sse2
20924 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
20925 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
20926 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
20927 * wcsmbs/wcscmp.c: Allow renaming.
20928
15c95c5d
DM
209292011-09-05 David S. Miller <davem@davemloft.net>
20930
20931 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
20932 stack slot, rather than the struct return pointer slot.
20933 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
20934 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
20935 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
20936 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
20937
2f0ad8f3
UD
209382011-09-05 Ulrich Drepper <drepper@gmail.com>
20939
d88ae418
UD
20940 * po/ja.po: Update from translation team.
20941
2f0ad8f3
UD
20942 [BZ #13144]
20943 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
20944 kernel in 64-bit binaries.
20945
5f4318d1
DM
209462011-09-01 David S. Miller <davem@davemloft.net>
20947
20948 * elf/elf.h (HWCAP_SPARC_*): Move to..
20949 * sysdeps/sparc/sysdep.h: this new file and add new values.
20950 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
20951 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
20952 _DL_HWCAP_COUNT to 24.
20953 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
20954 entries.
20955 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
20956 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
20957 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
20958 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
20959 instead of magic constants.
20960 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
20961
3ba57516
DM
209622011-08-31 David S. Miller <davem@davemloft.net>
20963
20964 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
20965 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
20966 Reimplement to do errno handling inline.
20967 (SYSCALL_ERROR_HANDLER): New macro.
20968 (__SYSCALL_STRING): Do not do errno handling in asm.
20969 (__CLONE_SYSCALL_STRING): Delete.
20970 (__INTERNAL_SYSCALL_STRING): Delete.
20971 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
20972 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
20973 (PSEUDO): Reimplement to do errno handling inline.
20974 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
20975 (SYSCALL_ERROR_HANDLER): New macro.
20976 (__SYSCALL_STRING): Do not do errno handling in asm.
20977 (__CLONE_SYSCALL_STRING): Delete.
20978 (__INTERNAL_SYSCALL_STRING): Delete.
20979 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
20980 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
20981 i386.
20982 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
20983 (inline_syscall*): Add 'err' argument.
20984 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
20985 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
20986 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
20987 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
20988
20989 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
20990 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
20991
2bc17433
AS
209922011-08-30 Andreas Schwab <schwab@redhat.com>
20993
20994 * elf/rtld.c (dl_main): Relocate objects in dependency order.
20995
fbeb5f4d
JO
209962011-08-29 Jiri Olsa <jolsa@redhat.com>
20997
20998 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
20999 directive.
21000
ad69cc26
DM
210012011-08-24 David S. Miller <davem@davemloft.net>
21002
21003 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
21004
39dd69df
AS
210052011-08-24 Andreas Schwab <schwab@redhat.com>
21006
21007 * elf/Makefile: Add rules to build and run unload8 test.
21008 * elf/unload8.c: New file.
21009 * elf/unload8mod1.c: New file.
21010 * elf/unload8mod1x.c: New file.
21011 * elf/unload8mod2.c: New file.
21012 * elf/unload8mod3.c: New file.
21013
21014 * elf/dl-close.c (_dl_close_worker): Reset private search list if
21015 it wasn't used.
21016
2c0b250a
DM
210172011-08-23 David S. Miller <davem@davemloft.net>
21018
21019 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
21020 subtract stack bias.
21021 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
21022 %sp not %fp in calculations.
21023 (_JMPBUF_UNWINDS_ADJ): Likewise.
21024
22044b48
DM
21025 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
21026 (aio_suspend): Call it to force an exception region around the
21027 AIO_MISC_WAIT() invocation.
21028
2cae4995
AS
210292011-08-23 Andreas Schwab <schwab@redhat.com>
21030
21031 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
21032 backslash.
21033
873a772e
AJ
210342011-07-04 Aurelien Jarno <aurelien@aurel32.net>
21035
21036 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
21037 protection macro.
21038 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
21039 and <dl-machine.h>.
21040 (Elf64_FuncDesc): Remove.
21041
25ad0df1
DM
210422011-08-22 David S. Miller <davem@davemloft.net>
21043
21044 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
21045 sigaltstack check, add missing cfi directives.
21046 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
21047 missing cfi directives, and sigaltstack handling.
21048
e888bcbe
AS
210492011-08-16 Andreas Schwab <schwab@redhat.com>
21050
21051 [BZ #11724]
21052 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
21053 object is seen twice.
21054 * elf/dl-fini.c (_dl_sort_fini): Likewise.
21055
21056 * elf/Makefile (distribute): Add tst-initorder2.c.
21057 (tests): Add tst-initorder2.
21058 (modules-names): Add tst-initorder2a tst-initorder2b
21059 tst-initorder2c tst-initorder2d. Add rules to build them.
21060 ($(objpfx)tst-initorder2.out): New rule.
21061 * elf/tst-initorder2.c: New file.
21062 * elf/tst-initorder2.exp: New file.
21063
87162f46
AS
210642011-08-22 Andreas Schwab <schwab@redhat.com>
21065
70538b7f
AS
21066 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
21067
f55ffe58
AS
21068 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
21069 dependencies back to end of function.
21070
87162f46
AS
21071 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
21072 $(elfobjdir)/ld.so.
21073
91b392a4
UD
210742011-08-21 Ulrich Drepper <drepper@gmail.com>
21075
21076 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
21077 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
21078 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
21079 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
21080 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
21081 of __vdso_gettimeofday.
21082 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
21083 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
21084 attribute_hidden.
21085 (_libc_vdso_platform_setup): Remove initialization of
21086 __vdso_gettimeofday and __vdso_time.
21087
5c43483f
UD
210882011-08-20 Ulrich Drepper <drepper@gmail.com>
21089
775a77e7
UD
21090 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
21091 and fgetc_unlocked.
21092 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
21093 getc_unlocked.
89f447ed 21094
49c74ba9
UD
21095 * elf/dl-open.c (add_to_global): Report additions to the global scope
21096 for LD_DEBUG=scopes.
21097 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 21098 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 21099
5c43483f
UD
21100 [BZ #13114]
21101 * stdio-common/Makefile (tests): Add bug24.
21102 * stdio-common/bug24.c: New file.
21103
a101b025
AJ
211042011-08-19 Andreas Jaeger <aj@suse.de>
21105
21106 [BZ #13114]
21107 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
21108 non-existant file when using close-on-exec mode.
21109
c88f1766
UD
211102011-08-20 Ulrich Drepper <drepper@gmail.com>
21111
0276a718
UD
21112 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
21113 the very first instruction.
21114
c88f1766
UD
21115 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
21116 the CFI state in the end.
21117 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
21118 inclusion of dl-trampoline.h.
21119 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
21120
51ccffa0
AS
211212011-08-19 Andreas Schwab <schwab@redhat.com>
21122
94d7165f
AS
21123 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
21124 expectations for long double.
21125
51ccffa0
AS
21126 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
21127 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
21128
fd708658 211292011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
21130
21131 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
21132 artificual limit depends upon the system page size.
21133
44f0a71e
UD
211342011-08-17 Ulrich Drepper <drepper@gmail.com>
21135
21136 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
21137 * resolv/Makefile: Define CFLAGS-libresolv.
21138
8de79a24
AS
211392011-08-17 Andreas Schwab <schwab@redhat.com>
21140
21141 * nss/makedb.c (compute_tables): Make variables used in nested
21142 function static.
21143
27724598
UD
211442011-08-17 Ulrich Drepper <drepper@gmail.com>
21145
c5305d88
UD
21146 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
21147 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
21148 if buffer was too small.
21149
27724598
UD
21150 * elf/pldd.c (main): Attach to all threads in the process.
21151 Rewrite /proc handling to use *at functions.
21152
076fe015
UD
211532011-08-16 Ulrich Drepper <drepper@gmail.com>
21154
174baab3
UD
21155 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
21156 specifies first scope to show.
21157 (dl_open_worker): Update callers. Move printing scope of new
21158 object to before the relocation.
44f0a71e 21159 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
21160 * sysdeps/generic/ldsodefs.h: Update declaration.
21161
076fe015
UD
21162 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
21163 string for the scope number.
21164
a60df2c3
UD
211652011-08-14 Ulrich Drepper <drepper@gmail.com>
21166
21167 * nscd/servicescache.c (cache_addserv): Make sure written is always
21168 initialized.
21169
5e4287d1
RM
211702011-08-14 Roland McGrath <roland@hack.frob.com>
21171
85ae0589
RM
21172 * sysdeps/i386/i486/bits/atomic.h
21173 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
21174 statement expression, so as to suppress "set but not used" warning.
21175 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
21176
69f63097
RM
21177 * string/strncat.c (STRNCAT): Use prototype definition.
21178
675456ef
RM
21179 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
21180 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
21181 -Iprograms here.
21182 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
21183 (localedef-modules): Add localedef.
21184 (locale-modules): Add locale.
21185
5e4287d1
RM
21186 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
21187 * elf/rtld.c (dl_main): Invert order of assignment in last change,
21188 to avoid a warning.
21189
9c96ff23
DM
211902011-08-14 David S. Miller <davem@davemloft.net>
21191
21192 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
21193 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
21194
f9ddf089
UD
211952011-08-13 Ulrich Drepper <drepper@gmail.com>
21196
44f0a71e 21197 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
21198 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
21199 * elf/rtld.c (dl_main): Set l_name of vDSO.
21200 Call _dl_show_scope when DL_DEBUG_SCOPES.
21201 (process_dl_debug): Recognize scopes flag and also set it for all.
21202 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
21203 Declare _dl_show_scope.
21204
1dc27704
UD
21205 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
21206 (do_dlopen): Pass caller_dlopen to dl_open.
21207 (__libc_dlopen_mode): Initialize caller_dlopen.
21208
f9ddf089
UD
21209 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
21210 of libc. Make tolower call locale-independent. Optimize a bit by
21211 using isdigit instead of isalnum.
21212 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
21213
9ac533d3
UD
212142011-08-12 Ulrich Drepper <drepper@gmail.com>
21215
21216 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
21217 was a dependency or dynamically loaded.
21218
89edf2e9
UD
212192011-08-11 Ulrich Drepper <drepper@gmail.com>
21220
8e999d29
UD
21221 * intl/l10nflist.c: Allow architecture-specific pop function.
21222 * sysdeps/x86_64/l10nflist.c: New file.
21223
89edf2e9
UD
21224 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
21225 classification.
21226
14d96785
AS
212272011-08-10 Andreas Schwab <schwab@redhat.com>
21228
21229 * include/dirent.h: Add libc_hidden_proto for scandirat and
21230 scandirat64. Don't declare __scandirat64.
21231 * dirent/scandirat.c: Add libc_hidden_def.
21232 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
21233 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
21234
6761ac04
DM
212352011-08-10 David S. Miller <davem@davemloft.net>
21236
21237 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
21238 enum.
21239 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
21240 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
21241 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
21242
c55fbd1e
UD
212432011-08-09 Ulrich Drepper <drepper@gmail.com>
21244
21245 * Versions.def [libc]: Add GLIBC_2.15.
21246 * dirent/Makefile (routines): Add scandirat and scandirat64.
21247 * dirent/Versions [libc]: Export scandirat and scandirat64 for
21248 GLIBC_2.15.
21249 * dirent/dirent.h: Declare scandirat and scandirat64.
21250 * dirent/scandirat.c: New file.
21251 * dirent/scandirat64.c: New file.
21252 * sysdeps/wordsize-64/scandirat.c: New file.
21253 * sysdeps/wordsize-64/scandirat64.c: New file.
21254 * dirent/opendir.c: Define opendirat.
21255 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
21256 using scandirat.
21257 * dirent/scandir64.c: Adjust for scandir.c change.
21258 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
21259 __scandirat64, and __scandir_cancel_handler.
21260 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
21261 additional parameter and use openat instead of open (outside of ld.so).
21262 Add new __opendir as wrapper around __opendirat.
21263 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
21264 here without requiring old scandirat implementation.
21265
879165f2
UD
212662011-08-08 Ulrich Drepper <drepper@gmail.com>
21267
21268 * dirent/scandir.c (cancel_handler): Renamed to
21269 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
21270 defined. Adjust users.
21271 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
21272 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
21273
cb7e923b
UD
212742011-08-04 Ulrich Drepper <drepper@gmail.com>
21275
16292edd
UD
21276 * string/test-string.h (IMPL): Use __STRING to expand name and then
21277 stringify it.
21278
cb7e923b
UD
21279 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
21280 of cleanups.
21281
cff82933
LD
212822011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21283
21284 * string/Makefile: Update.
21285 (strop-tests): Append strncat.
21286 * string/test-wcscmp.c: New file.
21287 New comprehensive test for wcscmp.
21288 * string/test-strcmp.c: Update.
21289 (WIDE): New define.
21290
9be9bfcc
AS
212912011-07-22 Andreas Schwab <schwab@redhat.com>
21292
21293 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
21294 line.
21295
2e96f1c7
AS
212962011-07-26 Andreas Schwab <schwab@redhat.com>
21297
21298 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
21299 encoding to ACE if AI_IDN.
21300
85188888
JJ
213012011-08-01 Jakub Jelinek <jakub@redhat.com>
21302
21303 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
21304 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
21305
5fa16e9b
LD
213062011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21307
21308 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
21309 Fix overflow bug in strncat.
21310 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
21311
21312 * string/test-strncat.c: Update.
21313 Add new tests for checking overflow bugs.
21314
213152011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21316
21317 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21318 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
21319 * sysdeps/i386/i686/multiarch/strcat.S: New file.
21320 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
21321 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
21322 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
21323 * sysdeps/i386/i686/multiarch/strncat.S: New file.
21324 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
21325 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
21326
21327 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
21328 (USE_AS_STRCAT): Define.
21329 Add strcat and strncat support.
21330 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
21331
8c1a459f
AS
213322011-07-25 Andreas Schwab <schwab@redhat.com>
21333
21334 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
21335 __n bigger than INT_MAX+1.
21336 (__strncmp_g): Likewise.
21337
bba33c28
UD
213382011-07-23 Ulrich Drepper <drepper@gmail.com>
21339
798be72d
UD
21340 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
21341 * libio/stido.h: Likewise.
21342
8accd4dc
UD
21343 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
21344 (AF_NFC): Define.
21345 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
21346 (AF_NFC): Define.
21347
cbff0d96
UD
21348 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
21349 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
21350 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
21351 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
21352 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
21353
9191c04a
UD
21354 [BZ #13021]
21355 * scripts/test-installation.pl: Don't expect libnss_test1 to be
21356 installed.
21357
bba33c28
UD
21358 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
21359 typo.
21360 (_dl_x86_64_save_sse): Likewise.
21361
90f139dd
UD
213622011-07-22 Ulrich Drepper <drepper@gmail.com>
21363
1aae088a
UD
21364 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
21365 OSXSAVE.
21366 (_dl_x86_64_save_sse): Likewise.
21367
8e2045f5
UD
21368 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
21369
90f139dd
UD
21370 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
21371
1d002f25
AS
213722011-07-21 Andreas Schwab <schwab@redhat.com>
21373
21374 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
21375 change.
21376 (_dl_x86_64_save_sse): Use correct AVX check.
21377
21137f89
UD
213782011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21379
21380 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
21381 bug in strncpy/strncat.
21382 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
21383
a65c0b7a
UD
213842011-07-21 Ulrich Drepper <drepper@gmail.com>
21385
21386 * string/tester.c (test_strcat): Add tests for different alignments
21387 of source and destination.
21388 (test_strncat): Likewise.
21389
6986b98a
UD
213902011-07-20 Ulrich Drepper <drepper@gmail.com>
21391
90bb2039
UD
21392 [BZ #12852]
21393 * posix/glob.c (glob): Check passed in values before using them in
21394 expressions to avoid some overflows.
21395 (glob_in_dir): Likewise.
21396
5644ef54
UD
21397 [BZ #13007]
21398 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
21399 check for AVX enablement so that we don't crash with old kernels and
21400 new hardware.
21401 * elf/tst-audit4.c: Add same checks here.
21402 * elf/tst-audit6.c: Likewise.
21403
21404 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 21405
bfc9dc9b
AS
214062011-07-09 Andreas Schwab <schwab@linux-m68k.org>
21407
21408 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
21409
702e64bb
UD
214102011-07-20 Ulrich Drepper <drepper@gmail.com>
21411
21412 * po/cs.po: Update from translation team.
21413 * po/bg.po: Likewise.
21414
295e904f
MP
214152011-07-12 Marek Polacek <mpolacek@redhat.com>
21416
21417 * misc/sys/cdefs.h: Add support for const attribute.
21418 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
21419 to gnu_dev_{major,minor,makedev} functions.
21420
3ff94596
MP
214212011-07-20 Marek Polacek <mpolacek@redhat.com>
21422
21423 * intl/dcigettext.c (get_output_charset): Add missing bracket.
21424
28b59fca
AS
214252011-07-20 Andreas Schwab <schwab@redhat.com>
21426
21427 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
21428 strlen results.
21429
19df733e
AK
214302011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21431
21432 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
21433 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
21434 register in order to avoid conflicts with the soft frame pointer
21435 being held in r11 when necessary.
21436 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
21437 (INTERNAL_VSYSCALL_NCS): Likewise.
21438
c8835729
MP
214392011-07-14 Marek Polacek <mpolacek@redhat.com>
21440
21441 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
21442 * elf/dl-fini.c (_dl_fini): Adjust caller.
21443 * elf/dl-close.c (_dl_close_worker): Likewise.
21444 * sysdeps/generic/ldsodefs.h: Adjust declaration.
21445
b902330c
MP
214462011-07-15 Marek Polacek <mpolacek@redhat.com>
21447
8991e135
MP
21448 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
21449 "aux_cache->nlibs < 0".
21450
b902330c
MP
21451 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
21452 in the reload-count case.
21453
99710781
LD
214542011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21455
21456 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21457 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
21458 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
21459 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
21460 * sysdeps/x86_64/multiarch/strcat.S: New file.
21461 * sysdeps/x86_64/multiarch/strncat.S: New file.
21462 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
21463 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
21464 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
21465 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
21466 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
21467 (USE_AS_STRCAT): Define.
21468 Add strcat and strncat support.
21469 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
21470 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
21471 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
21472 * string/strncat.c: Update.
21473 (USE_AS_STRNCAT): Define.
21474 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21475 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
21476 and i7.
21477 * sysdeps/x86_64/multiarch/init-arch.h
21478 (bit_Prefer_PMINUB_for_stringop): New.
21479 (index_Prefer_PMINUB_for_stringop): Likewise.
21480 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
21481 bit_Prefer_PMINUB_for_stringop.
21482
7dc6bd90
UD
214832011-07-19 Ulrich Drepper <drepper@gmail.com>
21484
21485 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
21486 buffer64.
21487 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
21488 of casting of buffer.
21489 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
21490 buffer32 and buffer64.
21491 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
21492 writes instead of casting of buffer.
21493 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
21494 buffer32.
21495 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
21496 casting of buffer.
21497
e0e72284
AS
214982011-07-19 Andreas Schwab <schwab@redhat.com>
21499
21500 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
21501
feb1eb0b
UD
215022011-07-19 Ulrich Drepper <drepper@gmail.com>
21503
21504 * nscd/nscd.c (termination_handler): Don't do anything for a database
21505 if it has not yet been initialized.
21506
298711ff
UD
215072011-07-18 Ulrich Drepper <drepper@gmail.com>
21508
21509 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
21510
215112011-07-15 Marek Polacek <mpolacek@redhat.com>
21512
21513 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
21514
f9d68389
UD
215152011-07-18 Ulrich Drepper <drepper@gmail.com>
21516
21517 * po/nl.po: Update from translation team.
21518 * po/sv.po: Likewise.
21519
db290cf5
RM
215202011-07-16 Roland McGrath <roland@hack.frob.com>
21521
21522 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
21523 now disallowed by GCC.
5c550700 21524
fd5e21c7
RM
21525 * configure.in (use-default-link): Default to yes if a test -shared
21526 link meets our qualifications.
21527 * configure: Regenerated.
21528
5c550700
RM
21529 * config.make.in (output-format): New variable.
21530 * configure.in: Check for ld --print-output-format support.
21531 * configure: Regenerated.
21532 * Makerules ($(common-objpfx)format.lds)
21533 [$(output-format) != unknown]: Just use $(output-format),
21534 instead of the linker-script munging.
21535
9fa2c032
RM
215362011-07-14 Roland McGrath <roland@hack.frob.com>
21537
a6928d51
RM
21538 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
21539 of $(common-objpfx)shlib.lds.
21540 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
21541
661607b3
RM
21542 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
21543 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
21544
9fa2c032
RM
21545 * configure.in (-z relro check): Adjust test code to add a large
21546 writable data section after it.
21547 * configure: Regenerated.
21548
defe9061
RM
215492011-07-11 Roland McGrath <roland@hack.frob.com>
21550
21551 * configure.in (-z relro check): Fix test code to make the variable
21552 truly const.
21553 * configure: Regenerated.
21554
319b9ad4
UD
215552011-07-11 Ulrich Drepper <drepper@gmail.com>
21556
21557 * nscd/nscd.h (struct traced_file): Define.
21558 (struct database_dyn): Remove inotify_descr, reset_res, and filename
21559 elements. Add traced_files.
21560 (inotify_fd): Declare.
21561 (register_traced_file): Declare.
21562 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
21563 (inotify_fd): Export.
21564 (resolv_conf_descr): Remove.
21565 (nscd_init): Move inotify descriptor creation to main.
21566 Don't register files for notification here.
21567 (register_traced_file): New function.
21568 (invalidate_cache): Don't use reset_res to determine whether to call
21569 res_init, go through the list of registered files.
21570 (main_loop_poll): The inotify descriptors are now stored in the
21571 structures for the traced files.
21572 (main_loop_epoll): Likewise
21573 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
21574 to __nss_disable_nscd.
21575 * nscd/cache.c (prune_cache): There is no single inotify descriptor
21576 for a database anymore. Check the records for all the registered
21577 files instead.
21578 * nss/Makefile (libnss_files-routines): Add files-init.
21579 (libnss_db-routines): Add db-init.
21580 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
21581 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
21582 * nss/nss_db/db-init.c: New file.
21583 * nss/nss_files/files-init.c: New file.
21584 * nss/nsswitch.c (nss_load_library): New function. Broken out of
21585 __nss_lookup_function.
21586 (__nss_lookup_function): Call nss_load_library.
21587 (nss_load_all_libraries): New function.
21588 (__nss_disable_nscd): Take parameter with callback function for files
21589 to register. Set is_nscd. Load all the DSOs for the NSS modules
21590 used for the cached services.
21591 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
21592 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
21593 options for features to all the files in nscd.
21594
21595 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
21596
23bee3e8
RM
215972011-07-10 Roland McGrath <roland@hack.frob.com>
21598
21599 * csu/elf-init.c (__libc_csu_init): Comment typo.
21600
46a5b7f0
UD
216012011-07-09 Ulrich Drepper <drepper@gmail.com>
21602
21603 * po/pl.po: Update from translation team.
21604 * po/ja.po: Likewise.
21605 * po/ru.po: Likewise.
21606 * po/ko.po: Likewise.
21607 * po/fr.po: Likewise.
21608
d30cf5bb
RM
216092011-07-09 Roland McGrath <roland@hack.frob.com>
21610
113ddea4
RM
21611 * configure.in (.ctors/.dtors header and trailer check):
21612 Use an empirical test on a built program.
21613 * configure: Regenerated.
21614
574920b4
RM
21615 * configure.in (-z relro check): Use an empirical test on a built DSO.
21616 Detect, but do not require, on ia64.
21617 * configure: Regenerated.
21618
d30cf5bb
RM
21619 * configure.in (READELF): Find it with AC_CHECK_TOOL.
21620 Update tests that use readelf to use $READELF instead.
21621 * configure: Regenerated.
21622
8538fdb3
UD
216232011-07-08 Ulrich Drepper <drepper@gmail.com>
21624
21625 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
21626 if the result is not used.
21627
04d08991
AJ
216282011-07-05 Andreas Jaeger <aj@suse.de>
21629
21630 [BZ#9696]
21631 * stdlib/tst-strtod.c: Add testcase.
21632
de283087
AD
216332011-07-07 Ulrich Drepper <drepper@gmail.com>
21634
4e5f31c8 21635 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 21636 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
21637 The latter has a higher limit. Take additional parameter to pass to
21638 the new function.
21639 (__pathconf): Pass file to __statfs_link_max.
21640 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
21641 __statfs_link_max.
21642 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
21643 __statfs_link_max.
21644
de283087
AD
21645 [BZ #12868]
21646 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
21647 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
21648 Handle Lustre.
21649 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
21650 (__statfs_filesize_max): Likewise.
21651 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
21652
c75fa153
AJ
216532011-07-05 Andreas Jaeger <aj@suse.de>
21654
21655 * resolv/res_comp.c (dn_skipname): Remove unused variable.
21656
1a544854
UD
216572011-07-06 Marek Polacek <mpolacek@redhat.com>
21658
21659 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
21660 `status' variable.
21661 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
21662 Likewise.
21663
6f0eec67
UD
216642011-07-04 H.J. Lu <hongjiu.lu@intel.com>
21665
21666 * Makefile (strop-tests): Add strncat.
21667 * string/test-strncat.c: New file.
21668
aae30307
UD
216692011-06-30 Marek Polacek <mpolacek@redhat.com>
21670
21671 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
21672
c0cfb5eb
UD
216732011-06-21 Andreas Jaeger <aj@suse.de>
21674
21675 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
21676 Copy rule from iconvdata/Makefile.
21677
01636b21
UD
216782011-07-06 Ulrich Drepper <drepper@gmail.com>
21679
21680 [BZ #12922]
21681 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
21682 but no long options are defined, just return 'W'.
21683
9895c8bc
UD
216842011-06-22 Marek Polacek <mpolacek@redhat.com>
21685
21686 [BZ #9696]
21687 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
21688
5d4cf042
UD
216892011-07-06 Ulrich Drepper <drepper@gmail.com>
21690
21691 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
21692 netgroups to read.
960e5535 21693 (innetgr): Likewise.
5d4cf042 21694
751eb97e
RM
216952011-07-05 Roland McGrath <roland@hack.frob.com>
21696
21697 * config.make.in (install_root): Default to $(DESTDIR).
21698
f15f1e45
UD
216992011-07-05 Ulrich Drepper <drepper@gmail.com>
21700
21701 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
21702
4e34ac6a
RM
217032011-07-02 Roland McGrath <roland@hack.frob.com>
21704
5e9b6af4
RM
21705 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
21706
84f9ea0f
RM
21707 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
21708 containing directory rather than embedding absolute directory names.
21709
ea5ee9f7
RM
21710 * scripts/check-local-headers.sh: Rewritten using awk.
21711 Match by word, not by line. Print error messages for matches.
21712 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
21713
1b74661a
RM
21714 * Makerules [shlib-lds-flags empty]:
21715 ($(common-objpfx)libc_pic.opts): New target.
21716 ($(common-objpfx)libc_pic.os.clean): New target.
21717 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
21718
21719 * config.make.in (OBJCOPY): New variable.
21720 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
21721 * configure: Regenerated.
21722
f781ef40
RM
21723 * config.make.in (use-default-link): New variable.
21724 * configure.in (use_default_link): Grok --with-default-link to set it.
21725 * configure: Regenerated.
21726 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
21727 (shlib-lds, shlib-lds-flags): Define to empty.
21728
2d4fa81e
RM
21729 * Makerules (shlib-lds): New variable.
21730 (shlib-lds-flags): New variable.
21731 (build-shlib, build-moduile, build-module-asneeded): Use it.
21732 ($(common-objpfx)libc.so): Use $(shlib-lds).
21733 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
21734 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
21735
31fffa6b
RM
21736 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
21737 DT_FLAGS/DT_FLAGS_1 with zero flags.
21738
4e34ac6a
RM
21739 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
21740 linker script munging.
21741
fcfc776b
UD
217422011-07-02 Ulrich Drepper <drepper@gmail.com>
21743
21744 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
21745 as 128-bit value.
21746 * crypt/sha512.c (sha512_process_block): Perform total addition using
21747 128-bit if possible.
21748 (__sha512_finish_ctx): Likewise.
21749 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
21750 as 64-bit value.
21751 * crypt/sha256.c (SWAP64): Define.
21752 (sha256_process_block): Perform total addition using 64-bit if
21753 possible.
21754 (__sha256_finish_ctx): Likewise.
21755
99231d9a
UD
217562011-07-01 Ulrich Drepper <drepper@gmail.com>
21757
21758 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
21759 * nscd/initgrcache.c (addinitgroupsX): Likewise.
21760 * nscd/hstcache.c (cache_addhst): Likewise.
21761 * nscd/grpcache.c (cache_addgr): Likewise.
21762 * nscd/aicache.c (addhstaiX): Likewise
21763 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
21764
445b4a53
TK
217652011-07-01 Thorsten Kukuk <kukuk@suse.de>
21766
21767 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
21768 * nscd/initgrcache.c (addinitgroupsX): Likewise.
21769 * nscd/hstcache.c (cache_addhst): Likewise.
21770 * nscd/grpcache.c (cache_addgr): Likewise.
21771 * nscd/aicache.c (addhstaiX): Likewise
21772
6d4d8e8e
AS
217732011-07-01 Andreas Schwab <schwab@redhat.com>
21774
21775 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
21776 domain only when needed.
21777
89f654c5
AS
217782011-06-30 Andreas Schwab <schwab@redhat.com>
21779
21780 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
21781 is always restored.
21782
cf3b23ff
UD
217832011-06-29 Ulrich Drepper <drepper@gmail.com>
21784
21785 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
21786 are re-adding the entry.
21787 * nscd/servicescache.c (cache_addserv): Likewise.
21788
751626f9
AJ
217892011-06-30 Aurelien Jarno <aurelien@aurel32.net>
21790
21791 * sysdeps/generic/dl-irel.h: fix protection against multiple
21792 inclusions.
21793 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
21794
9113ea1f
UD
217952011-06-28 Ulrich Drepper <drepper@gmail.com>
21796
5c0b8d90
UD
21797 [BZ #12935]
21798 * malloc/memusage.sh: Fix quoting in message.
21799 * debug/xtrace.sh: Likewise.
21800
9113ea1f
UD
21801 * configure.in: Remove support for --experimental-malloc option, make
21802 it the default.
21803 * config.make.in: Likewise.
21804 * malloc/Makefile: Likewise.
21805
a4172181
AS
218062011-06-27 Andreas Schwab <schwab@redhat.com>
21807
21808 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
21809 two-byte characters.
21810
78a7eee7
RM
218112011-06-27 Roland McGrath <roland@hack.frob.com>
21812
62bede13
RM
21813 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
21814 AC_CACHE_CHECK invocation.
21815 * configure: Regenerated.
21816
78a7eee7
RM
21817 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
21818
5ce33a62
UD
218192011-06-27 Ulrich Drepper <drepper@gmail.com>
21820
034807a9
UD
21821 [BZ #12350]
21822 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
21823 bit from old_res_options.
21824
4902da17
UD
21825 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
21826
5ce33a62
UD
21827 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
21828 value type for setfct.
21829
c2344f56
L
218302011-06-23 H.J. Lu <hongjiu.lu@intel.com>
21831
21832 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
21833 __gettimeofday instead of gettimeofday.
21834
68468076
UD
218352011-06-26 Ulrich Drepper <drepper@gmail.com>
21836
21837 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
21838
acb0d739
L
218392011-06-24 H.J. Lu <hongjiu.lu@intel.com>
21840
21841 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
21842
21843 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
21844 info.
21845
8912479f
L
218462011-06-22 H.J. Lu <hongjiu.lu@intel.com>
21847
21848 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21849 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
21850 strcpy-sse2-unaligned strncpy-sse2-unaligned
21851 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
21852 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
21853 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
21854 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
21855 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
21856 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
21857 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
21858 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
21859 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
21860 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
21861 (STRCPY): Support SSE2 and SSSE3 versions.
21862
d5495a11
UD
218632011-06-24 Ulrich Drepper <drepper@gmail.com>
21864
21865 [BZ #12874]
21866 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
21867 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
21868 kernels which artificially limit size of requests.
21869
0b1cbaae
L
218702011-06-22 H.J. Lu <hongjiu.lu@intel.com>
21871
21872 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21873 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
21874 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
21875 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
21876 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
21877 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
21878 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
21879 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
21880 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
21881 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
21882 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
21883 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
21884 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
21885 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
21886 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
21887 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21888 Enable unaligned load optimization for Intel Core i3, i5 and i7
21889 processors.
21890 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
21891 Define.
21892 (index_Fast_Unaligned_Load): Define.
21893 (HAS_FAST_UNALIGNED_LOAD): Define.
21894
07f494a0
MP
218952011-06-23 Marek Polacek <mpolacek@redhat.com>
21896
21897 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
21898
fa3fc0fe
UD
218992011-06-22 Ulrich Drepper <drepper@gmail.com>
21900
21901 [BZ #12907]
21902 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
21903 until it is clear that the information is realy needed.
21904 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
21905
e12df166
AS
219062011-06-22 Andreas Schwab <schwab@redhat.com>
21907
21908 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
21909
852eb34d
UD
219102011-06-22 Ulrich Drepper <drepper@gmail.com>
21911
84e2a551
UD
21912 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
21913 /sys/devices/system/cpu/online if it is usable.
21914
852eb34d
UD
21915 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
21916 reading the information from the /proc filesystem to once a second.
21917
6e502e19
UD
219182011-06-21 Andreas Jaeger <aj@suse.de>
21919
21920 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
21921 NULL after inclusion of kernel headers.
21922
75d39ff2
UD
219232011-06-21 Ulrich Drepper <drepper@gmail.com>
21924
51f9aa6a
UD
21925 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
21926 calls to internal_setent.
21927
c0244a9d
UD
21928 [BZ #12885]
21929 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
21930 addresses using gethostbyname4_r ignore IPv4 addresses.
21931
c5e3c2ae
UD
21932 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
21933 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
21934
75d39ff2
UD
21935 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
21936
42675c6f
DM
219372011-06-20 David S. Miller <davem@davemloft.net>
21938
21939 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
21940 inclusions.
21941 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
21942
21943 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
21944 (elf_irel): Use it.
21945 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
21946 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
21947 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
21948 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
21949 * sysdeps/x86_64/dl-irel.h: Likewise.
21950
21951 * elf/dl-runtime.c: Use elf_ifunc_invoke.
21952 * elf/dl-sym.c: Likewise.
21953
57912a71
UD
219542011-06-15 Ulrich Drepper <drepper@gmail.com>
21955
21956 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
21957 need to dereference resplen2.
21958
ee22793d
AS
219592011-06-14 Andreas Schwab <schwab@redhat.com>
21960
21961 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
21962
a9e836b0
UD
219632011-06-15 Ulrich Drepper <drepper@gmail.com>
21964
77fb9117
UD
21965 * Makeconfig: Define vardbdir and inst_vardbdir.
21966 * nss/Makefile: Add rules to install db-Makefile.
21967
40c1b22c
UD
21968 * nss/nss_db/db-XXX.c: Cleanup.
21969
9f2da732
UD
21970 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
21971 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
21972 GLIBC_PRIVATE.
21973 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
21974 * nss/makedb.c: Implement -g option to specify that value strings
21975 are generated and should not be added to table iterated over for
21976 get*ent calls.
21977 * nss/nss_db/db-initgroups.c: New file.
21978
82e9a1f7
UD
21979 * nss/getent.c: Add support for initgroups lookups through getgrouplist
21980 interface.
21981
c41af17e
UD
21982 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
21983 (internal_getgrouplist): Adjust to name change.
21984 Update use_initgroups_entry if this is not the first call.
21985 * nss/databases.def: Add initgroups entry.
21986
a9e836b0
UD
21987 * nss/makedb.c (compute_tables): Check result of multiple hash table
21988 sizes to minimize maximum chain length.
21989
2666d441
UD
219902011-06-14 Ulrich Drepper <drepper@gmail.com>
21991
21992 * Versions.def: Add entry for libnss_db.
21993 * shlib-versions: Likewise.
21994 * nss/Makefile: Add rules to build libnss_db.
21995 * nss/Versions: Add libnss_db information. Organize libnss_files
21996 entries better.
21997 * nss/db-Makefile: Add gshadow support. Change rules for the new
21998 makedb progra. Some minor improvements to generate smaller files.
21999 * nss/nss_db/nss_db.h: Move NSS database header data structures to
22000 here from...
22001 * nss/makedb.c: ...here.
22002 Improve database format to be smaller and require less memory at
22003 runtime.
22004 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
22005 db anymore.
22006 * nss/nss_db/db-netgrp.c: Likewise.
22007 * nss/nss_db/db-open.c: Likewise.
22008 * nss/nss_files/flies-XXX.x: Adjust comments.
22009 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
22010 * nss/nss_files/files-grp.c: Likewise.
22011 * nss/nss_files/files-hosts.c: Likewise.
22012 * nss/nss_files/files-network.c: Likewise.
22013 * nss/nss_files/files-proto.c: Likewise.
22014 * nss/nss_files/files-pwd.c: Likewise.
22015 * nss/nss_files/files-rpc.c: Likewise.
22016 * nss/nss_files/files-service.c: Likewise.
22017 * nss/nss_files/files-sgrp.c: Likewise.
22018 * nss/nss_files/files-spwd.c: Likewise.
22019 * nss/nss_db/db-alias.c: Removed.
22020 * nss/nss_db/dummy-db.h: Removed.
22021
9ee76b5a
UD
220222011-06-02 Ulrich Drepper <drepper@gmail.com>
22023
22024 * nss/makedb.c: Rewritten to not use database library.
22025 * nss/Makefile: Update to build new makedb program.
22026
c71ca1f8
AJ
220272011-06-14 Andreas Jaeger <aj@suse.de>
22028
22029 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
22030 memset declaration.
22031
3154bfb8
UD
220322011-06-10 Andreas Schwab <schwab@redhat.com>
22033
22034 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
22035 tmpbuf.
22036
b350afab
RM
220372011-06-10 Roland McGrath <roland@hack.frob.com>
22038
decd4e50
RM
22039 * Makerules (shlib.lds): Fail if the linker script comes out empty.
22040 * elf/Makefile ($(objpfx)ld.so): Likewise.
22041
5615eaf2
RM
22042 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
22043 Don't list ld.so twice in dependencies.
22044
22045 * posix/bug-regex31.c: Include <stdlib.h>.
22046
22047 * nscd/hstcache.c (cache_addhst): Remove unused variable.
22048
22049 * nis/nss_compat/compat-spwd.c
22050 (getspent_next_nss_netgr): Remove unused variable.
22051 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
22052
22053 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
22054 nonmembers" output to use the right array.
22055
22056 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
22057
22058 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
22059
22060 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
22061 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
22062 * catgets/gencat.c (read_input_file): Likewise.
22063 * locale/programs/locarchive.c (enlarge_archive): Likewise.
22064
22065 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
22066 variable definition inside #if's controlling its use.
22067
22068 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
22069
22070 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
22071
22072 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
22073
22074 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
22075 unreachable code.
22076
22077 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
22078
b68e08db
RM
22079 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
22080 * configure: Regenerated.
22081
b350afab
RM
22082 * Makerules: Revert last change.
22083 * elf/Makefile: Likewise.
22084
28368601
RM
220852011-06-09 Roland McGrath <roland@hack.frob.com>
22086
22087 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
22088 * elf/Makefile ($(objpfx)librtld.os): Likewise.
22089 (reloc-link): Likewise.
22090
11988f8f
UD
220912011-06-09 Ulrich Drepper <drepper@gmail.com>
22092
22093 * elf/Makefile: Add rules to build pldd.
22094 * elf/pldd.c: New file.
22095 * elf/pldd-xx.c: New file.
22096
e80fab37
UD
220972011-06-07 Ulrich Drepper <drepper@gmail.com>
22098
22099 * version.h: Update for 2.15 development version.
22100
9b849836
DM
221012011-06-07 David S. Miller <davem@davemloft.net>
22102
22103 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
22104 ifuncs.
22105 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
22106 elf_machine_lazy_rel): Likewise.
22107 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
22108 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
22109 elf_machine_lazy_rel): Likewise.
22110 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
22111 dl_hwcap via passed in argument.
22112 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
22113 Likewise.
22114
5a31b283
AK
221152011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22116
22117 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
22118
069e52f8
RM
221192011-06-06 Roland McGrath <roland@hack.frob.com>
22120
22121 [BZ #12849]
22122 * manual/fdl-1.1.texi: New file, verbatim from:
22123 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
22124 * manual/lgpl-2.1.texi: New file, verbatim from:
22125 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
22126 * manual/Makefile (licenses): New variable, list those new file names.
22127 (texis): Use it.
22128 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
22129
22130 * manual/fdl.texi: File removed.
22131 * manual/lesser.texi: File removed.
22132 * manual/libc.texinfo (Copying, Documentation License):
22133 Use new @include file names, put @appendix directive before @include.
22134
f16846a5
JJ
221352011-06-04 Jakub Jelinek <jakub@redhat.com>
22136
22137 [BZ #12841]
22138 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
22139 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
22140 (mq_open): Add __NTH.
22141
3d29045b
L
221422011-06-02 H.J. Lu <hongjiu.lu@intel.com>
22143
22144 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22145 Assume Intel Core i3/i5/i7 processor if AVX is available.
22146
8c297311
UD
221472011-05-31 Ulrich Drepper <drepper@gmail.com>
22148
22149 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
22150 typo.
22151
c8fc0c91
UD
221522011-05-31 Andreas Schwab <schwab@redhat.com>
22153
22154 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
22155 memory. Use alloca_account. Fix memory leak when retrying.
22156
5b27a807
UD
221572011-05-31 Ulrich Drepper <drepper@gmail.com>
22158
356f8bc6
UD
22159 * version.h (RELEASE): Bump for 2.14 release.
22160 * include/features.h (__GLIBC_MINOR__): Bump to 14.
22161
5b27a807
UD
22162 * config.make.in (RANLIB): Remove entry.
22163
01f16ab0
UD
221642011-05-30 Ulrich Drepper <drepper@gmail.com>
22165
41fce8bd
UD
22166 * po/Makefile (po-sed-cmd): Add ksh to extensions.
22167 (libc.pot): Work around missing support for .ksh extension in xgettext.
22168
4769ae77
UD
22169 [BZ #12684]
22170 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
22171 if both request failed.
22172 (send_dg): In case of server errors clear resplen or *resplen2.
22173
6b1e7d19
UD
22174 [BZ #12454]
22175 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
22176 when there are multiple maps.
22177 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
22178 (_dl_fini): Remove test here.
22179
01f16ab0
UD
22180 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
22181
b1ebd700
UD
221822011-05-29 Ulrich Drepper <drepper@gmail.com>
22183
7ae22829
UD
22184 [BZ #12350]
22185 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
22186 bit from old_res_options.
22187 (gaih_inet): Likewise.
22188
553149f6 22189 [BZ #11099]
18a84741 22190 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
22191 as signed.
22192
652ffab1
UD
22193 * resolv/res_init.c (res_setoptions): Make the code more compact.
22194
16985fd0
UD
22195 [BZ #11558]
22196 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
22197 set RES_USEVC.
22198
0464f746
UD
22199 [BZ #11634]
22200 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
22201
7d17596c
UD
22202 * malloc/malloc.h: Mark malloc hook variables as deprecated.
22203
cf6bbbd7
UD
22204 [BZ #11781]
22205 * malloc/malloc.h: Declare malloc hook variables as volatile.
22206
13f1ab36
UD
22207 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
22208 in last patch.
22209
b1ebd700
UD
22210 [BZ #11799]
22211 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 22212 raise in the comment.
80e2212d
UD
22213 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
22214 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
22215 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 22216
ce67228d
UD
222172011-05-28 Ulrich Drepper <drepper@gmail.com>
22218
8887a920
UD
22219 [BZ #12811]
22220 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
22221 grow the buffers more if it already has to be sufficient.
22222 (build_wcs_upper_buffer): Likewise.
22223 * posix/regexec.c (check_matching): Likewise.
22224 (clean_state_log_if_needed): Likewise.
22225 (extend_buffers): Don't enlarge buffers beyond size of the input
22226 buffer.
22227 Patches mostly by Emil Wojak <emil@wojak.eu>.
22228 * posix/bug-regex32.c: New file.
22229 * posix/Makefile (tests): Add bug-regex32.
22230
4f031072
UD
22231 * locale/findlocale.c (_nl_find_locale): Return right away if
22232 _nl_explode_name failed.
22233 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
22234
d0478f0c
UD
22235 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
22236
de81b246
UD
22237 * debug/xtrace.sh: Unify messages.
22238 * malloc/memusage.sh: Likewise.
22239
c738465a
UD
22240 [BZ #12813]
22241 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
22242 time symbol from vDSO. Substitute with vsyscall if not available.
22243 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
22244 __vdso_time.
22245
f1f929d7
UD
22246 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
22247 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
22248 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
22249 Add sendmmsg and internal_sendmmsg.
22250 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
22251 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
22252 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
22253
ce67228d
UD
22254 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
22255 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
22256 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
22257
e57420c6
UD
222582011-05-27 Ulrich Drepper <drepper@gmail.com>
22259
a8509ca5
UD
22260 [BZ #12813]
22261 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
22262 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
22263 available.
22264 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
22265 __vdso_getcpu.
22266
e57420c6
UD
22267 [BZ #12814]
22268 * iconvdata/Makefile (tests): Add bug-iconv9.
22269 * iconvdata/bug-iconv9.c: New file.
22270
4d07db15
AS
222712011-05-27 Andreas Schwab <schwab@redhat.com>
22272
22273 [BZ #12814]
22274 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
22275
ea486f69
JJ
222762011-05-25 Jakub Jelinek <jakub@redhat.com>
22277
22278 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
22279 (struct user_regs_struct): Change intcs field back to cs.
22280
6f038433
UD
222812011-05-25 Ulrich Drepper <drepper@gmail.com>
22282
22283 * po/ja.po: Update from translation team.
22284
67f86a25
UD
222852011-05-23 Ulrich Drepper <drepper@gmail.com>
22286
22287 [BZ #12795]
22288 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
22289 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
22290
def7fbd6
AS
222912011-05-20 Andreas Schwab <schwab@redhat.com>
22292
22293 * stdlib/longlong.h: Update from GCC.
22294
f50ef8f1
AS
222952011-05-23 Andreas Schwab <schwab@redhat.com>
22296
22297 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
22298 parameter name.
22299 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
22300 Add parameter name.
22301 (__sysconf): Pass it down.
22302
de7ce8f1
UD
223032011-05-22 Ulrich Drepper <drepper@gmail.com>
22304
f2962a71
UD
22305 [BZ #12671]
22306 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
22307 some situations.
22308 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
22309 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
22310 add in in __libc_use_alloca calls. Adjust callers.
22311 (glob): Use malloc in some situations.
22312
de7ce8f1
UD
22313 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
22314 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
22315 pltexit.
22316
aec84f53
UD
223172011-05-21 Ulrich Drepper <drepper@gmail.com>
22318
05bb4a68
UD
22319 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
22320 and CLOCK_BOOTTIME_ALARM.
22321
7ea72f99
UD
22322 [BZ #12782]
22323 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
22324 is returned.
22325
7e4afad5
UD
22326 * string/_strerror.c (__strerror_r): Print negative errors as signed
22327 numbers.
22328
8e211fec
UD
22329 [BZ #12777]
22330 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
22331 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
22332 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
22333
f7d82dc9
UD
22334 * configure.in: Fix typo in redirection and correct removal of test
22335 files in two cases.
22336
cc9e536d
UD
22337 [BZ #12788]
22338 * locale/setlocale.c (new_composite_name): Fix test to check for
22339 identical name of all categories.
22340
aec84f53
UD
22341 [BZ #12792]
22342 * libio/filedoalloc.c (local_isatty): New function.
22343 (_IO_file_doallocate): Use local_isatty.
22344 * stdio-common/perror.c (perror): In case a new stream is used
22345 forward the stream error.
22346 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
22347 error flag.
22348
78e64fdc
RT
223492011-05-20 Ulrich Drepper <drepper@gmail.com>
22350
34a9094f
UD
22351 [BZ #11869]
22352 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
22353 alloca.
22354 * include/alloca.h (extend_alloca_account): Define.
22355
78e64fdc
RT
22356 [BZ #11857]
22357 * posix/regex.h: Fix comments with documentation of user-accessible
22358 fields after compilation and describe correct free'ing of pattern
22359 after re_compile_pattern.
22360 Patch by Reuben Thomas <rrt@sc3d.org>.
22361
457bddfc
RA
223622011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
22363
22364 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
22365 and -mno-altivec to prevent the compiler from using Altivec and/or
22366 VSX instructions when the corresponding registers are not available.
22367
a4527b51
AS
223682011-05-19 Andreas Schwab <schwab@redhat.com>
22369
22370 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
22371
ed690b2f
UD
223722011-05-19 Ulrich Drepper <drepper@gmail.com>
22373
22374 * libio/freopen.c (freopen): Use __dup2, not dup2.
22375 * libio/freopen64.c (freopen64): Likewise.
22376
8db73634
L
223772011-05-17 H.J. Lu <hongjiu.lu@intel.com>
22378
22379 [BZ #12775]
22380 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
22381 * math/Makefile (tests): Add test-powl.
22382 (CFLAGS-test-powl.c): Define.
22383 * math/test-powl.c: New file.
22384
0a197a9d
L
223852011-05-16 H.J. Lu <hongjiu.lu@intel.com>
22386
22387 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
22388
ee30c380
UD
223892011-05-17 Ulrich Drepper <drepper@gmail.com>
22390
22391 [BZ #11837]
22392 * iconvdata/gb18030.c: Update to GB18020-2005.
22393
6ce75379
UD
223942011-05-16 Ulrich Drepper <drepper@gmail.com>
22395
a4b89fd8
AR
22396 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
22397 RE_SYNTAX_POSIX_AWK): Update to match recent development.
22398 Patch by Aharon Robbins <arnold@skeeve.com>.
22399
ea389b12
UD
22400 [BZ #11892]
22401 * stdlib/putenv.c (putenv): Don't always create copy of the variable
22402 on the stack.
22403
68a3f91f
UD
22404 [BZ #11895]
22405 * misc/pselect.c (__pselect): Handle timeout value errors hidden
22406 through underflows.
22407
15cc7dd1
UD
22408 [BZ #12766]
22409 * misc/error.c (error_at_line): Ensure file_name and old_file_name
22410 point to strings before performing equality test for error_one_per_line
22411 mode.
22412
f3799213
UD
22413 [BZ #11697]
22414 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
22415
d79a9c94
UD
22416 [BZ #11820]
22417 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
22418 (struct user_fpregs_struct): Avoid __uint*_t types.
22419
56e5eb46
UD
22420 [BZ #6420]
22421 * malloc/mtrace.c (tr_where): Add additional parameter to point to
22422 symbol info. Use it instead of calling _dl_addr locally.
22423 (lock_and_info): New function.
22424 (tr_freehook): Call lock_and_info and pass symbol info as additional
22425 parameter to tr_where.
22426 (tr_mallochook): Likewise.
22427 (tr_reallochook): Likewise.
22428 (tr_memalignhook): Likewise.
22429
6ce75379
UD
22430 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
22431 used and couldn't be at all thread-safe.
22432
f8a3b5bf
UD
224332011-05-15 Ulrich Drepper <drepper@gmail.com>
22434
94b7cc37
UD
22435 * libio/freopen.c (freopen): Don't close old file descriptor
22436 before the new one is opened. Instead dup the new file descriptor
22437 to the old one after the new stream is created.
22438 * libio/freopen64.c (freopen64): Likewise.
22439 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
22440 * libio/fileops.c (_IO_new_file_close_it): Handle new
22441 _IO_FLAGS2_NOCLOSE flag.
22442 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
22443 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
22444 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
22445 _IO_FLAGS2_NOCLOSE flag.
22446 * include/unistd.h: Add hidden_proto for dup3.
22447 Define __have_dup3.
22448 * io/dup3.c: Define hidden symbol.
22449 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
22450
bd25564e
UD
22451 [BZ #7101]
22452 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
22453 when an incomplete long option is used.
22454 * posix/tst-getopt_long1.c: New file.
22455 * posix/Makefile (tests): Add tst-getopt_long1.
22456
c84cfef4
UD
22457 [BZ #10138]
22458 * scripts/config.guess: Update from autoconf-2.68.
22459 * scripts/config.sub: Likewise.
22460
3b85df27
UD
22461 [BZ #10157]
22462 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
22463 tests into ...
22464 (has_cpuclock): ...this. New function.
22465 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
22466 macro here based on has_cpuclock code.
22467
15a856b1
UD
22468 [BZ #10149]
22469 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
22470 First byte (not low byte) is now always NUL.
22471 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
22472
05f399e6
UD
22473 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
22474 Use non-cancelable interfaces.
22475
10a52685 22476 [BZ #9809]
94ecc67d
UD
22477 * locale/iso-639.def: Add entry for Sorani.
22478
f8a3b5bf
UD
22479 [BZ #11901]
22480 * include/stdlib.h: Move include protection to the right place.
22481 Define abort_msg_s. Declare __abort_msg with it.
22482 * stdlib/abort.c (__abort_msg): Adjust type.
22483 * assert/assert.c (__assert_fail_base): New function. Majority
22484 of code from __assert_fail. Allocate memory for __abort_msg with
22485 mmap.
22486 (__assert_fail): Now call __assert_fail_base.
22487 * assert/assert-perr.c: Remove bulk of implementation. Use
22488 __assert_fail_base.
22489 * include/assert.hL Declare __assert_fail_base.
22490 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
22491 mmap.
22492 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
22493
1af4e298
UD
224942011-05-14 Ulrich Drepper <drepper@gmail.com>
22495
f8a3b5bf 22496 [BZ #11952]
d26dfc60
MG
22497 [BZ #12453]
22498 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
22499 until all modules are registered in the DTV.
22500 * elf/Makefile: Add rules to build and run tst-tls19.
22501 * elf/tst-tls19.c: New file.
22502 * elf/tst-tls19mod1.c: New file.
22503 * elf/tst-tls19mod2.c: New file.
22504 * elf/tst-tls19mod3.c: New file.
22505 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
22506
2fc54d6f
UD
22507 [BZ #12083]
22508 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
22509 correctly.
22510
98d76b46
UD
22511 [BZ #12601]
22512 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
22513 two-byte sequence errors.
22514 * iconvdata/Makefile (tests): Add bug-iconv8.
22515 * iconvdata/bug-iconv8.c: New file.
22516
da3c19ef
UD
22517 [BZ #12626]
22518 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
22519 buf2 definition.
22520
ca408c15
UD
22521 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
22522
d6f67f7d
UD
22523 [BZ #12432]
22524 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
22525 (dummy_getcfa): New function.
22526 (init): Get _Unwind_GetCFA address, use dummy if not found.
22527 (backtrace_helper): In recursion check, also check whether CFA changes.
22528 (__backtrace): Completely initialize arg.
22529
1af4e298 22530 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
22531 storing incomplete byte sequence in state object. Avoid testing for
22532 guaranteed too small input if we know there is enough data available.
1af4e298 22533
da62f81b
AS
225342011-05-11 Andreas Schwab <schwab@redhat.com>
22535
22536 * Makeconfig (+link-pie): Indent.
22537 * Rules (binaries-pie): Define if $(have-fpie) and
22538 $(build-shared).
22539 (binaries-shared): Also filter out $(binaries-pie).
22540 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
22541 * nscd/Makefile (others-pie): Add nscd.
22542 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
22543 ($(objpfx)nscd): Remove command override.
22544 * login/Makefile (others-pie): Add pt_chown.
22545 ($(objpfx)pt_chown): Remove command override.
22546 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
22547 remove command overrides.
22548
fcabc0f8
UD
225492011-05-13 Ulrich Drepper <drepper@gmail.com>
22550
20030ae6
UD
22551 * libio/tst_putwc.c: Fix error messages.
22552
fcabc0f8
UD
22553 [BZ #12724]
22554 * libio/fileops.c (_IO_new_file_close_it): Always flush when
22555 currently writing and seek to current position when not.
22556 * libio/Makefile (tests): Add bug-fclose1.
22557 * libio/bug-fclose1.c: New file.
22558
320a5dc0
PB
225592011-05-12 Ulrich Drepper <drepper@gmail.com>
22560
22561 [BZ #12511]
22562 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
22563 don't set DF_1_NODELETE here.
22564 (do_lookup_x): When entering new entry test for copy relocation
22565 and if necessary set DF_1_NODELETE flag.
22566 * elf/tst-unique4.cc: New file.
22567 * elf/tst-unique4.h: New file.
22568 * elf/tst-unique4lib.cc: New file.
22569 * elf/Makefile: Add rules to build and run tst-unique4.
22570 Patch by Piotr Bury <pbury@goahead.com>.
22571
22836f52
UD
225722011-05-11 Ulrich Drepper <drepper@gmail.com>
22573
f574184a
UD
22574 [BZ #12052]
22575 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
22576
e1fb097f
UD
22577 [BZ #12625]
22578 * misc/mntent_r.c (addmntent): Flush the stream after the output
22579
22836f52
UD
22580 [BZ #12393]
22581 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
22582 (is_trusted_path_normalize): Skip initial colon. Append slash
22583 to empty buffer. Duplicate is_trusted_path code but allow
22584 constructed patch to be prefix.
22585 (is_dst): Allow $ORIGIN followed by /.
22586 (_dl_dst_substitute): Correct clearing of check_for_trusted.
22587 Correct testing of result of is_trusted_path_normalize
22588 (decompose_rpath): Fix warning.
22589
7b3b0b2a
UD
225902011-05-10 Ulrich Drepper <drepper@gmail.com>
22591
22592 [BZ #11257]
22593 * grp/initgroups.c (internal_getgrouplist): When we found the service
22594 list through the initgroups entry in nsswitch.conf do not always
22595 continue on a successful lookup. Don't always use the
eac80ce2 22596 __nss_group_database value if it is set.
7b3b0b2a
UD
22597 * nss/nsswitch.conf (initgroups): Change action for successful db
22598 lookup to continue for compatibility.
22599
2a81eaa5
UD
226002011-05-09 Ulrich Drepper <drepper@gmail.com>
22601
be97a69e
UD
22602 [BZ #11532]
22603 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
22604 and CP774 modules.
22605 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
22606 and CP774 modules.
22607 * iconvdata/tst-tables.sh: Likewise.
22608 * iconvdata/cp770.c: New file.
22609 * iconvdata/cp771.c: New file.
22610 * iconvdata/cp772.c: New file.
22611 * iconvdata/cp773.c: New file.
22612 * iconvdata/cp774.c: New file.
22613 * iconvdata/testdata/CP770: New file.
22614 * iconvdata/testdata/CP770..UTF8: New file.
22615 * iconvdata/testdata/CP771: New file.
22616 * iconvdata/testdata/CP771..UTF8: New file.
22617 * iconvdata/testdata/CP772: New file.
22618 * iconvdata/testdata/CP772..UTF8: New file.
22619 * iconvdata/testdata/CP773: New file.
22620 * iconvdata/testdata/CP773..UTF8: New file.
22621 * iconvdata/testdata/CP774: New file.
22622 * iconvdata/testdata/CP774..UTF8: New file.
22623
22624 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
22625 END CHARMAP line.
22626 * iconvdata/gen-8bit-gap.sh: Likewise.
22627 * iconvdata/gen-8bit.sh: Likewise.
22628
c1e9e399
UD
22629 * locale/iso-639.def: Add ary entry.
22630
24c55fb3 22631 [BZ #11258]
96b4b1b0
UD
22632 * locale/C-translit.h.in: Add U20A1 transliteration.
22633
bdc2f971
KB
22634 [BZ #12178]
22635 * locale/iso-639.def: Add wae entry.
22636 Patch by Kevin Bortis <bortis@translate-wae.ch>.
22637
2952b117
UD
22638 [BZ #12545]
22639 * locale/programs/localedef.c (construct_output_path): Use ssize_t
22640 for n.
22641
2a81eaa5
UD
22642 [BZ #12711]
22643 * locale/C-translit.h.in: Add entry for U20B9.
22644 Patch by pravin.d.s@gmail.com.
22645
28377d1b
UD
226462011-05-08 Ulrich Drepper <drepper@gmail.com>
22647
7fb90fb8
UD
22648 [BZ #12713]
22649 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
22650 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
22651 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
22652 in rtld. Use *stat64.
7fb90fb8 22653 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 22654 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 22655 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
22656 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
22657 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
22658 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
22659 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
22660 __fstatat64 macros.
7fb90fb8
UD
22661 * include/dirent.h: Add libc_hidden_proto for rewinddir.
22662 * dirent/rewinddir.c: Add libc_hidden_def.
22663 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 22664 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 22665
28377d1b
UD
22666 * include/dirent.h (__alloc_dir): Add flags parameter.
22667 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
22668 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
22669 __alloc_dir.
22670 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
22671 from fdopendir if O_CLOEXEC is already set.
22672
66bdbaa4
AM
226732011-03-15 Alan Modra <amodra@gmail.com>
22674
22675 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
22676 l_tls_firstbyte_offset non-zero. Save padding offset in
22677 l_tls_firstbyte_offset for later use.
22678 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
22679 freeing static tls block.
22680
95721191
JN
226812011-03-05 Jonathan Nieder <jrnieder@gmail.com>
22682
22683 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
22684 where #ifdef was intended. The intent is to prevent ARG_MAX from
22685 being defined by the kernel headers.
22686
f87dfb1f
UD
226872011-05-07 Ulrich Drepper <drepper@gmail.com>
22688
22689 [BZ #12734]
22690 * resolv/resolv.h: Define RES_NOTLDQUERY.
22691 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
22692 no-tld-query and set RES_NOTLDQUERY.
22693 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
22694 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
22695 modern BIND to search name as TLD unless forbidden.
22696
47c3cd7a
UD
226972011-05-07 Petr Baudis <pasky@suse.cz>
22698 Ulrich Drepper <drepper@gmail.com>
22699
22700 [BZ #12393]
22701 * elf/dl-load.c (fillin_rpath): Move trusted path check...
22702 (is_trusted_path): ...to here.
c1e9ea35 22703 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 22704 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 22705 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 22706
8a35c912
PP
227072011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
22708
22709 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
22710 __BEGIN/__END_DECLS.
22711
acd41f47
UD
227122011-05-06 Ulrich Drepper <drepper@gmail.com>
22713
22714 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
22715 NSS_STATUS_NOTFOUND if no record was found.
22716
597df647
AS
227172011-05-05 Andreas Schwab <schwab@redhat.com>
22718
22719 * sunrpc/Makefile (headers): Add rpc/netdb.h.
22720 (headers-not-in-tirpc): Remove rpc/netdb.h
22721 * resolv/netdb.h: Revert last change.
22722
b9af1301
PP
227232011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
22724
22725 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
22726 circular dependency between libgcc.a and libc.a.
22727
4e34d5f5
AS
227282011-05-05 Andreas Schwab <schwab@redhat.com>
22729
22730 * resolv/netdb.h: Don't include <rpc/netdb.h>.
22731 * nis/Makefile: Don't install rpcsvc/*.
22732 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
22733 instead of <rpc/types.h>.
22734 (MAXHOSTNAMELEN): Define.
22735
00ee369c
AS
227362011-05-03 Andreas Schwab <schwab@redhat.com>
22737
22738 * elf/ldconfig.c (add_dir): Don't crash on empty path.
22739
0b592a30
MB
227402011-04-28 Maciej Babinski <mbabinski@google.com>
22741
22742 [BZ #12714]
22743 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
22744 gethostbyname4_r when IPv6 results are possible.
22745
6e04cbbe
UD
227462011-05-02 Ulrich Drepper <drepper@gmail.com>
22747
22748 [BZ #12723]
22749 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
22750 _PC_PIPE_BUF handling.
22751
e4ecafe0
BH
227522011-04-30 Bruno Haible <bruno@clisp.org>
22753
22754 [BZ #12717]
22755 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
22756 * resolv/netdb.h (getnameinfo): Change type of flags parameter
22757 to 'int'.
22758 * inet/getnameinfo.c (getnameinfo): Likewise.
22759
125ee683
UD
227602011-04-29 Ulrich Drepper <drepper@gmail.com>
22761
22762 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
22763 to groups setting in database lookup.
22764 * nss/nsswitch.conf: Add initgroups entry.
22765
b722481a
EB
227662011-04-22 Ulrich Drepper <drepper@gmail.com>
22767
22768 [BZ #12685]
22769 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
22770 mode string.
22771 Patch by Eric Blake <eblake@redhat.com>.
22772
4df46dbd
L
227732011-04-20 H.J. Lu <hongjiu.lu@intel.com>
22774
22775 * sunrpc/Makefile (need-export-routines): Add svc_run.
22776 (routines): Remove svc_run.
22777 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
22778 * sunrpc/clnt_perr.c (clnt_perrno): Export.
22779 * sunrpc/svc_run.c (svc_run): Likewise.
22780 * sunrpc/svc_udp.c (svcudp_create): Likewise.
22781
e84142d2
UD
227822011-04-21 Ulrich Drepper <drepper@gmail.com>
22783
22784 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
22785 problem in reallocation in last patch.
22786
877175d8
UD
227872011-04-20 Ulrich Drepper <drepper@gmail.com>
22788
22789 * sunrpc/Makefile: Move inclusion of Rules.
22790
ab8eed78
UD
227912011-04-19 Ulrich Drepper <drepper@gmail.com>
22792
22793 * nss/nss_files/files-initgroups.c: New file.
22794 * nss/Makefile (libnss_files-routines): Add files-initgroups.
22795 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
22796 _nss_files_initgroups_dyn.
22797
e3d8f584
RS
227982011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
22799
22800 * elf/elf.h (R_ARM_IRELATIVE): Define.
22801
af190f45
UD
228022011-04-19 Ulrich Drepper <drepper@gmail.com>
22803
22804 * po/ru.po: Update from translation team.
22805
53cf59ef
UD
228062011-04-17 Ulrich Drepper <drepper@gmail.com>
22807
22808 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
22809 dependencies.
22810
4c559bcd
MF
228112011-02-06 Mike Frysinger <vapier@gentoo.org>
22812
22813 [BZ #12653]
22814 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
22815 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
22816 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
22817 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
22818 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
22819
4420675c
AS
228202011-03-28 Andreas Schwab <schwab@linux-m68k.org>
22821
22822 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
22823 differing bytes.
22824 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
22825 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
22826 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
22827
75ea32ab
UD
228282011-04-17 Ulrich Drepper <drepper@gmail.com>
22829
22830 [BZ #12420]
22831 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
22832 storing it.
22833 * stdlib/bug-getcontext.c: New file.
22834 * stdlib/Makefile: Add rules to build and run bug-getcontext.
22835
27390476
AK
228362011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22837
22838 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
22839 instructions into .machine "z9-109".
22840 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
22841 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
22842
10442705
AK
228432011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22844
22845 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
22846 between environment variables and auxiliary vector.
22847
7b57bfe5
UD
228482011-04-16 Ulrich Drepper <drepper@gmail.com>
22849
22850 * Makefile: Add rules to build linkobj/libc.so.
22851 * include/libc-symbols.h: Define libc_hidden_nolink.
22852 * include/rpc/auth.h: Mark functions which are to be hidden.
22853 * include/rpc/auth_des.h: Likewise.
22854 * include/rpc/auth_unix.h: Likewise.
22855 * include/rpc/clnt.h: Likewise.
22856 * include/rpc/des_crypt.h: Likewise.
22857 * include/rpc/key_prot.h: Likewise.
22858 * include/rpc/pmap_clnt.h: Likewise.
22859 * include/rpc/pmap_prot.h: Likewise.
22860 * include/rpc/pmap_rmt.h: Likewise.
22861 * include/rpc/rpc_msg.h: Likewise.
22862 * include/rpc/svc.h: Likewise.
22863 * include/rpc/svc_auth.h: Likewise.
22864 * include/rpc/xdr.h: Likewise.
22865 * nis/Makefile: Link all DSOs against linkobj/libc.so.
22866 * nss/Makefile: Likewise.
22867 * sunrpc/Makefile: Don't install headers. Build library with normal
22868 entry points. Don't build rpcinfo. Link RPC tests appropriately.
22869 * sunrpc/auth_des.c: Hide exported symbols by default, export some
22870 for the compat linking library. Remove use of INTDEF/INTUSE.
22871 * sunrpc/auth_none.c: Likewise.
22872 * sunrpc/auth_unix.c: Likewise.
22873 * sunrpc/authdes_prot.c: Likewise.
22874 * sunrpc/authuxprot.c: Likewise.
22875 * sunrpc/clnt_gen.c: Likewise.
22876 * sunrpc/clnt_perr.c: Likewise.
22877 * sunrpc/clnt_raw.c: Likewise.
22878 * sunrpc/clnt_simp.c: Likewise.
22879 * sunrpc/clnt_tcp.c: Likewise.
22880 * sunrpc/clnt_udp.c: Likewise.
22881 * sunrpc/clnt_unix.c: Likewise.
22882 * sunrpc/des_crypt.c: Likewise.
22883 * sunrpc/des_soft.c: Likewise.
22884 * sunrpc/get_myaddr.c: Likewise.
22885 * sunrpc/key_call.c: Likewise.
22886 * sunrpc/key_prot.c: Likewise.
22887 * sunrpc/netname.c: Likewise.
22888 * sunrpc/pm_getmaps.c: Likewise.
22889 * sunrpc/pm_getport.c: Likewise.
22890 * sunrpc/pmap_clnt.c: Likewise.
22891 * sunrpc/pmap_prot.c: Likewise.
22892 * sunrpc/pmap_prot2.c: Likewise.
22893 * sunrpc/pmap_rmt.c: Likewise.
22894 * sunrpc/publickey.c: Likewise.
22895 * sunrpc/rpc_cmsg.c: Likewise.
22896 * sunrpc/rpc_common.c: Likewise.
22897 * sunrpc/rpc_dtable.c: Likewise.
22898 * sunrpc/rpc_prot.c: Likewise.
22899 * sunrpc/rpc_thread.c: Likewise.
22900 * sunrpc/rtime.c: Likewise.
22901 * sunrpc/svc.c: Likewise.
22902 * sunrpc/svc_auth.c: Likewise.
22903 * sunrpc/svc_authux.c: Likewise.
22904 * sunrpc/svc_raw.c: Likewise.
22905 * sunrpc/svc_run.c: Likewise.
22906 * sunrpc/svc_simple.c: Likewise.
22907 * sunrpc/svc_tcp.c: Likewise.
22908 * sunrpc/svc_udp.c: Likewise.
22909 * sunrpc/svc_unix.c: Likewise.
22910 * sunrpc/svcauth_des.c: Likewise.
22911 * sunrpc/xcrypt.c: Likewise.
22912 * sunrpc/xdr.c: Likewise.
22913 * sunrpc/xdr_array.c: Likewise.
22914 * sunrpc/xdr_float.c: Likewise.
22915 * sunrpc/xdr_intXX_t.c: Likewise.
22916 * sunrpc/xdr_mem.c: Likewise.
22917 * sunrpc/xdr_rec.c: Likewise.
22918 * sunrpc/xdr_ref.c: Likewise.
22919 * sunrpc/xdr_sizeof.c: Likewise.
22920 * sunrpc/xdr_stdio.c: Likewise.
22921
e6c61494
UD
229222011-04-10 Ulrich Drepper <drepper@gmail.com>
22923
22924 [BZ #12650]
22925 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
22926 * sysdeps/ia64/dl-tls.h: Likewise.
22927 * sysdeps/powerpc/dl-tls.h: Likewise.
22928 * sysdeps/s390/dl-tls.h: Likewise.
22929 * sysdeps/sh/dl-tls.h: Likewise.
22930 * sysdeps/sparc/dl-tls.h: Likewise.
22931 * sysdeps/x86_64/dl-tls.h: Likewise.
22932 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
22933
34fe483e
AS
229342011-03-14 Andreas Schwab <schwab@redhat.com>
22935
22936 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
22937 rpath element also skip the following colon.
22938 (expand_dynamic_string_token): Add is_path parameter and pass
22939 down to DL_DST_REQUIRED and _dl_dst_substitute.
22940 (decompose_rpath): Call expand_dynamic_string_token with
22941 non-zero is_path. Ignore empty rpaths.
22942 (_dl_map_object_from_fd): Call expand_dynamic_string_token
22943 with zero is_path.
22944
f12a32e6
AS
229452011-04-08 Andreas Schwab <schwab@linux-m68k.org>
22946
22947 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
22948 Make cancelable.
22949
38a7d692
UD
229502011-04-09 Ulrich Drepper <drepper@gmail.com>
22951
22952 [BZ #12655]
22953 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
22954 Patch by Filipe David Manana <fdmanana@apache.org>.
22955
e451d22b
AS
229562011-04-07 Andreas Schwab <schwab@redhat.com>
22957
22958 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
22959 Maintain aligned stack.
22960 (CHECK_RSP): Remove unused macro.
22961
dedc7c7b
UD
229622011-04-03 Ulrich Drepper <drepper@gmail.com>
22963
22964 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
22965 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
22966
94521213
UD
229672011-04-02 Ulrich Drepper <drepper@gmail.com>
22968
22969 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
22970
8cb700c0 22971 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 22972
0354e355
L
229732011-03-26 H.J. Lu <hongjiu.lu@intel.com>
22974
22975 [BZ #12518]
22976 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
22977 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
22978 * sysdeps/x86_64/memmove.c: New file.
22979 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
22980 (memcpy): Renamed to ...
22981 (__new_memcpy): This.
22982 (memcpy): Provide GLIBC_2_14 memcpy.
22983 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
22984 (memcpy): Provide GLIBC_2_2_5 memcpy.
22985
8593482f
UD
229862011-04-01 Ulrich Drepper <drepper@gmail.com>
22987
22988 [BZ #12631]
22989 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
22990
81a5726b
AS
229912011-03-30 Andreas Schwab <schwab@redhat.com>
22992
22993 * misc/syncfs.c: New file.
22994 * misc/Makefile (routines): Add syncfs.
22995 * posix/unistd.h: Declare syncfs.
22996 * sysdeps/unix/syscalls.list: Add syncfs.
22997
00e5419f
AS
229982011-04-01 Andreas Schwab <schwab@redhat.com>
22999
23000 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
23001 open_by_handle_at.
23002 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
23003 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
23004 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
23005 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
23006 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
23007 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
23008 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
23009
748876bf
UD
230102011-04-01 Ulrich Drepper <drepper@gmail.com>
23011
658e451d
UD
23012 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
23013 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
23014 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
23015 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
23016 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
23017 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
23018 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
23019
748876bf
UD
23020 * io/Makefile: Compile fallocate.c, fallocate64.c, and
23021 sync_file_range.c with -fexceptions.
23022 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
23023 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
23024 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
23025 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
23026 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
23027 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
23028 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
23029 sync_file_range as cancellation point
23030 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
23031 now a wrapper around __call_sync_file_range with cancellation handling.
23032 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
23033 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
23034 function name to __call_sync_file_range.
23035 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
23036 Add call_sync_file_range.
748876bf 23037
6e63d5e1
AS
230382011-04-01 Andreas Schwab <schwab@redhat.com>
23039
23040 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 23041 bits/timex.h.
6e63d5e1 23042
46998f74
UD
230432011-04-01 Ulrich Drepper <drepper@gmail.com>
23044
4c1423ed
UD
23045 * iconv/iconv.h: Fix typo in comment.
23046 * io/fcntl.h: Likewise.
23047 * libio/stdio.h: Likewise.
23048 * posix/spawn.h: Likewise.
23049 * posix/unistd.h: Likewise.
23050 * stdlib/stdlib.h: Likewise.
23051 * time/time.h: Likewise.
23052 * wcsmbs/wchar.h: Likewise.
23053
158648c0
UD
23054 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
23055 open_by_handle): Add.
23056 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
23057 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
23058 Augment a few comments.
23059 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
23060 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
23061 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
23062 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
23063 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
23064 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
23065 open_by_handle.
23066
46998f74
UD
23067 * io/fcntl.h (AT_EMPTY_PATH): Define.
23068
83fe108b
UD
230692011-03-30 Ulrich Drepper <drepper@gmail.com>
23070
23071 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
23072 * sysdeps/unix/sysv/linux/bits/time.h: New file.
23073 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
23074 to...
23075 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
23076 * Versions.def: Add GLIBC_2.14.
23077 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
23078 Export.
83fe108b 23079
bb242059
UD
230802011-03-22 Ulrich Drepper <drepper@gmail.com>
23081
23082 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
23083 round counter.
23084 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
23085
c97a1282
L
230862011-03-20 H.J. Lu <hongjiu.lu@intel.com>
23087
23088 [BZ #12597]
23089 * string/test-strncmp.c (do_page_test): New function.
23090 (check2): Likewise.
23091 (test_main): Call check2.
23092 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
23093
2a115601
UD
230942011-03-20 Ulrich Drepper <drepper@gmail.com>
23095
23096 [BZ #12587]
23097 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
23098 Handle cache information in CPU leaf 4.
23099 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
23100
8126d904
UD
231012011-03-18 Ulrich Drepper <drepper@gmail.com>
23102
042c49c6 23103 [BZ #12583]
8126d904
UD
23104 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
23105 character representation.
23106 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
23107
ccfe366e
RA
231082011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
23109
23110 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
23111 END(__isnan) to END(__isnanf) to match function entry point/label
23112 EALIGN(__isnanf,...).
23113
c6e13027
JJ
231142011-03-10 Jakub Jelinek <jakub@redhat.com>
23115
23116 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
23117
33f85a3f
UD
231182011-03-10 Ulrich Drepper <drepper@gmail.com>
23119
028478fa
UD
23120 [BZ #12510]
23121 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
23122 copy from the symbol referenced in the relocation to initialize the
23123 used variable.
23124 Patch by Piotr Bury <pbury@goahead.com>.
23125 * elf/Makefile: Add rules to build and tst-unique3.
23126 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
23127 * elf/tst-unique3.cc: New file.
23128 * elf/tst-unique3.h: New file.
23129 * elf/tst-unique3lib.cc: New file.
23130 * elf/tst-unique3lib2.cc: New file.
23131
33f85a3f
UD
23132 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
23133
03592fc7
MF
231342011-03-10 Mike Frysinger <vapier@gentoo.org>
23135
23136 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
23137 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
23138 to _start.
03592fc7 23139
6a5ee102
UD
231402011-03-06 Ulrich Drepper <drepper@gmail.com>
23141
23142 * elf/dl-load.c (_dl_map_object): If we are looking for the first
23143 to-be-loaded object along a path to loader is ld.so.
23144
7e4ba49c
HJ
231452011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
23146 Ulrich Drepper <drepper@gmail.com>
23147
23148 * sysdeps/x86_64/memset.S: After aligning destination, code
23149 branches to different locations depending on the value of
23150 misalignment, when multiarch is enabled. Fix this.
23151
231522011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
23153
23154 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
23155 Set _x86_64_preferred_memory_instruction for AMD processsors.
23156 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23157 Set bit_Prefer_SSE_for_memop for AMD processors.
23158
13a804de
UD
231592011-03-04 Ulrich Drepper <drepper@gmail.com>
23160
23161 * libio/fmemopen.c (fmemopen): Optimize a bit.
23162
9d25c392
AS
231632011-03-03 Andreas Schwab <schwab@redhat.com>
23164
23165 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
23166
a5543c6a
RM
231672011-03-03 Roland McGrath <roland@redhat.com>
23168
23169 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
23170
012d35f7
DM
231712011-02-28 Aurelien Jarno <aurelien@aurel32.net>
23172
7e4ba49c 23173 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
23174 __bzero_ultra1 instead of __memset_ultra1.
23175
4bff6e01
AS
231762011-02-23 Andreas Schwab <schwab@redhat.com>
23177 Ulrich Drepper <drepper@gmail.com>
23178
23179 [BZ #12509]
23180 * include/link.h (struct link_map): Add l_orig_initfini.
23181 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
23182 returning unsuccessfully.
23183 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
23184 close of a file loaded at startup, restore the original l_initfini
23185 list.
23186 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
23187 list, store the pointer.
23188 * elf/Makefile ($(objpfx)noload-mem): New rule.
23189 (noload-ENV): Define.
23190 (tests): Add $(objpfx)noload-mem.
23191 * elf/noload.c: Include <memcheck.h>.
23192 (main): Call mtrace. Close all opened handles.
23193
f2092faf
AS
231942011-02-17 Andreas Schwab <schwab@redhat.com>
23195
23196 [BZ #12454]
23197 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
23198 dependencies are missing.
23199
6c8a2e88
ST
232002011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
23201
f2092faf 23202 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
23203 Hurd needs munmap.
23204 * sysdeps/mach/hurd/ifreq.h: New file.
23205
84a42118
PB
232062011-01-27 Petr Baudis <pasky@suse.cz>
23207 Ulrich Drepper <drepper@gmail.com>
23208
071f805e 23209 [BZ 12445]#
84a42118
PB
23210 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
23211 to extend_alloca().
23212 * stdio-common/bug23.c: New file.
23213 * stdio-common/Makefile (tests): Add bug23.
23214
e23fe25b
AS
232152010-09-28 Andreas Schwab <schwab@redhat.com>
23216 Ulrich Drepper <drepper@gmail.com>
23217
23218 [BZ #12489]
23219 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
23220 before performing relro protection. At old place add assertion
23221 to make sure nothing changed.
23222
d3f02e10
NS
232232011-02-17 Nathan Sidwell <nathan@codesourcery.com>
23224 Glauber de Oliveira Costa <glommer@gmail.com>
23225
23226 * elf/elf.h: Add new ARM TLS relocs.
23227
d55fd7a5
RA
232282011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
23229
23230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
23231 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
23232 cast from r3.
23233 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
23234 'tests' variable.
23235 * sysdeps/wordsize-64/tst-writev.c: New file.
23236
2206397e
RA
232372011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
23238
23239 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
23240 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
23241 insns in _dl_start to prevent a TOC reference before relocs are
23242 resolved.
23243
e9433893
UD
232442011-02-15 Ulrich Drepper <drepper@gmail.com>
23245
23246 [BZ #12469]
23247 * Makeconfig: Remove RANLIB definition.
23248 * Makerules: Don't use RANLIB.
23249 * aclocal.m4: Remove ranlib test.
23250 * configure.in: No need to check for ranlib.
23251 * elf/rtld-Rules: Don't use RANLIB.
23252
f75286c6
ST
232532011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
23254
8e31c82d
ST
23255 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
23256 protection macro.
23257 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
23258 inclusion protection macro.
23259
f75286c6
ST
23260 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
23261 SIGRTMIN and SIGRTMAX and print information in that case only when
23262 SIGRTMIN is defined.
23263
c1d0e639
JJ
232642011-02-11 Jakub Jelinek <jakub@redhat.com>
23265
23266 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
23267 arginfo fn returning -1.
23268
23269 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
23270 and thousands string is zero terminated.
23271
edf9294e
AS
232722011-02-03 Andreas Schwab <schwab@redhat.com>
23273
23274 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
23275 sysdeps/unix/sysv/linux/bits/socket.h.
23276
2b7e92df
ST
232772011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
23278
edf9294e
AS
23279 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
23280 (__CPU_COUNT): Remove old macros.
23281 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
23282 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
23283 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
23284 (__sched_cpualloc, __sched_cpufree): Add declarations.
23285
a4c7ea7b
UD
232862011-02-05 Ulrich Drepper <drepper@gmail.com>
23287
23288 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
23289 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
23290 * nscd/aicache.c (addhstaiX): Return timeout of added value.
23291 (readdhstai): Return value of addhstaiX call.
23292 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
23293 (addgrbyX): Return value returned by cache_addgr.
23294 (readdgrbyname): Return value returned by addgrbyX.
23295 (readdgrbygid): Likewise.
23296 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
23297 (addpwbyX): Return value returned by cache_addpw.
23298 (readdpwbyname): Return value returned by addhstbyX.
23299 (readdpwbyuid): Likewise.
23300 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
23301 (addservbyX): Return value returned by cache_addserv.
23302 (readdservbyname): Return value returned by addservbyX:
23303 (readdservbyport): Likewise.
23304 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
23305 (addhstbyX): Return value returned by cache_addhst.
23306 (readdhstbyname): Return value returned by addhstbyX.
23307 (readdhstbyaddr): Likewise.
23308 (readdhstbynamev6): Likewise.
23309 (readdhstbyaddrv6): Likewise.
23310 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
23311 (readdinitgroups): Return value returned by addinitgroupsX.
23312 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
23313 (prune_cache): Keep track of timeout value of re-added entries.
23314 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
23315 * nscd/nscd.h: Adjust prototypes of readd* functions.
23316
a0bf67cc
RM
233172011-02-04 Roland McGrath <roland@redhat.com>
23318
23319 * nis/nis_server.c (nis_servstate): Use the right name for 0.
23320 (nis_stats): Likewise.
23321 * nis/nis_modify.c (nis_modify): Likewise.
23322 * nis/nis_remove.c (nis_remove): Likewise.
23323 * nis/nis_add.c (nis_add): Likewise.
23324
23325 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
23326
23327 * posix/fnmatch_loop.c: Add some consts.
23328
23329 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
23330
435b95eb
L
233312011-02-02 H.J. Lu <hongjiu.lu@intel.com>
23332
23333 [BZ #12460]
23334 * config.make.in (config-cflags-novzeroupper): Define.
23335 * configure.in: Substitute libc_cv_cc_novzeroupper.
23336 * elf/Makefile (AVX-CFLAGS): Define.
23337 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
23338 (CFLAGS-tst-auditmod4a.c): Likewise.
23339 (CFLAGS-tst-auditmod4b.c): Likewise.
23340 (CFLAGS-tst-auditmod6b.c): Likewise.
23341 (CFLAGS-tst-auditmod6c.c): Likewise.
23342 (CFLAGS-tst-auditmod7b.c): Likewise.
23343 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
23344
8517b15e
UD
233452011-02-02 Ulrich Drepper <drepper@gmail.com>
23346
23347 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
23348 function to the callback.
23349 Patch partly by Jiri Olsa <jolsa@redhat.com>.
23350
10a656fe
AS
233512011-02-02 Andreas Schwab <schwab@redhat.com>
23352
23353 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
23354 of errno.
23355
968dad0a
UD
233562011-01-19 Ulrich Drepper <drepper@gmail.com>
23357
9f94d2ea 23358 [BZ #11724]
968dad0a
UD
23359 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
23360 of constructors.
23361 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
23362 of destructors.
23363 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
23364
23365 [BZ #11724]
23366 * elf/Makefile: Add rules to build and run new test.
23367 * elf/tst-initorder.c: New file.
23368 * elf/tst-initorder.exp: New file.
23369 * elf/tst-initordera1.c: New file.
23370 * elf/tst-initordera2.c: New file.
23371 * elf/tst-initordera3.c: New file.
23372 * elf/tst-initordera4.c: New file.
23373 * elf/tst-initorderb1.c: New file.
23374 * elf/tst-initorderb2.c: New file.
23375 * elf/tst-order-a1.c: New file.
23376 * elf/tst-order-a2.c: New file.
23377 * elf/tst-order-a3.c: New file.
23378 * elf/tst-order-a4.c: New file.
23379 * elf/tst-order-b1.c: New file.
23380 * elf/tst-order-b2.c: New file.
23381 * elf/tst-order-main.c: New file.
23382 New test case by George Gensure <werkt0@gmail.com>.
23383
86e92359
UD
233842010-10-01 Andreas Schwab <schwab@redhat.com>
23385
23386 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
23387 decoding ACE if AI_CANONIDN.
23388
5d5732b0
UD
233892011-01-18 Ulrich Drepper <drepper@gmail.com>
23390
23391 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
23392
a77e8cbc
UD
233932011-01-17 Ulrich Drepper <drepper@gmail.com>
23394
6392473f
UD
23395 * version.h (RELEASE): Bump for 2.13 release.
23396 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
23397
620a0529
UD
23398 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
23399
18ba70a5
UD
23400 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
23401 MADV_NOHUGEPAGE.
32465c3e
UD
23402 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
23403 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
23404 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
23405 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
23406 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
23407 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
23408
c0dafcf1
UD
23409 * posix/getconf.c: Update copyright year.
23410 * catgets/gencat.c: Likewise.
23411 * csu/version.c: Likewise.
23412 * debug/catchsegv.sh: Likewise.
23413 * debug/xtrace.sh: Likewise.
23414 * elf/ldconfig.c: Likewise.
23415 * elf/ldd.bash.in: Likewise.
23416 * elf/sprof.c (print_version): Likewise.
23417 * iconv/iconv_prog.c: Likewise.
23418 * iconv/iconvconfig.c: Likewise.
23419 * locale/programs/locale.c: Likewise.
23420 * locale/programs/localedef.c: Likewise.
23421 * malloc/memusage.sh: Likewise.
23422 * malloc/mtrace.pl: Likewise.
23423 * nscd/nscd.c (print_version): Likewise.
23424 * nss/getent.c: Likewise.
23425
a77e8cbc
UD
23426 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
23427 PF_CAIF, and PF_ALG.
23428 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
23429
77e8bddf
AS
234302011-01-16 Andreas Schwab <schwab@linux-m68k.org>
23431
1f20b93a
AS
23432 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
23433 (modules-names): Use them.
23434 (ifunc-test-modules, ifunc-pie-tests): Define.
23435 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
23436 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
23437 (test-extras): Likewise.
23438 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
23439 $(compile-command.c).
23440 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
23441 (all-built-dso): Define.
23442 (check-textrel.out, check-execstack.out): Depend on it.
23443
77e8bddf
AS
23444 * configure.in: Don't override --enable-multi-arch.
23445
bc425b33
UD
234462011-01-15 Ulrich Drepper <drepper@gmail.com>
23447
23448 [BZ #6812]
23449 * nscd/hstcache.c (tryagain): Define.
23450 (cache_addhst): Return tryagain not notfound for temporary errors.
23451 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
23452 failed.
23453
794c3ad3
UD
234542011-01-14 Ulrich Drepper <drepper@gmail.com>
23455
70181fdd
UD
23456 [BZ #10563]
23457 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
23458 to make the syscall.
23459 * sysdeps/unix/sysv/linux/setgroups.c: New file.
23460
794c3ad3
UD
23461 [BZ #12378]
23462 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
23463 and fall back to matching as normal character if the string ends before
23464 the matching ']' is found. This is what POSIX requires.
23465 * posix/testfnm.c: Adjust test result.
23466 * posix/globtest.sh: Adjust test result. Add new test.
23467 * posix/tst-fnmatch.input: Likewise.
23468 * posix/tst-fnmatch2.c: Add new test.
23469
68dc9497
AS
234702010-12-28 Andreas Schwab <schwab@linux-m68k.org>
23471
23472 * elf/Makefile (check-execstack): Revert last change. Depend on
23473 check-execstack.h.
23474 (check-execstack.h): New target.
23475 (generated): Add check-execstack.h.
23476 * elf/check-execstack.c: Include "check-execstack.h".
23477 (main): Revert last change.
23478 (handle_file): Return zero if GNU_STACK is absent and
23479 DEFAULT_STACK_PERMS doesn't include PF_X.
23480
451f001b
UD
234812011-01-13 Ulrich Drepper <drepper@gmail.com>
23482
cfa28e56
UD
23483 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
23484 in child fails because the descriptor is already closed.
8cf8ce17
UD
23485 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
23486 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
23487 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 23488
1086d70d
UD
23489 [BZ #12397]
23490 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
23491 syscall.
23492
451f001b
UD
23493 [BZ #10484]
23494 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
23495 temporary buffer used to handle multi lookups locally.
a85b5cb4 23496 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 23497
08769175
UD
234982011-01-12 Ulrich Drepper <drepper@gmail.com>
23499
23500 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
23501 loader is ld.so.
23502
5e49c52e
UD
235032011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
23504
23505 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
23506 alignment for SSE2.
23507
60522a5f
UD
235082011-01-12 Ulrich Drepper <drepper@gmail.com>
23509
23510 [BZ #12394]
23511 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
23512 characters. When rounding increased number of integer digits recompute
23513 number of groups.
23514 * stdio-common/tst-grouping.c: New file.
23515 * stdio-common/Makefile: Add rules to build and run tst-grouping.
23516
f257bbd7
UD
235172011-01-09 Ulrich Drepper <drepper@gmail.com>
23518
23519 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
23520 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
23521
23522 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
23523 void.
23524 * bits/select.h: Likewise.
23525
fa9c15cb
UD
235262011-01-08 Ulrich Drepper <drepper@gmail.com>
23527
23528 * po/ja.po: Update from translation team.
23529
16c2895f
DM
235302011-01-04 David S. Miller <davem@sunset.davemloft.net>
23531
23532 [BZ #11155]
23533 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
23534 implementation just like for lxstat, fxstatat, et al.
23535
2543fef2
JM
235362010-12-27 Jim Meyering <meyering@redhat.com>
23537
23538 [BZ #12348]
23539 * posix/regexec.c (build_trtable): Return failure indication upon
23540 calloc failure. Otherwise, re_search_internal could infloop on OOM.
23541
98727dbe
UD
235422010-12-25 Ulrich Drepper <drepper@gmail.com>
23543
5bd6dc5c
UD
23544 [BZ #12201]
23545 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
23546 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
23547 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
23548 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
23549
97983464
UD
23550 [BZ #12207]
23551 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
23552
98727dbe
UD
23553 [BZ #12204]
23554 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
23555 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
23556
4a531bb0
L
235572010-12-15 H.J. Lu <hongjiu.lu@intel.com>
23558
23559 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
23560 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
23561 script has SORT_BY_INIT_PRIORITY.
23562 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
23563 NO_CTORS_DTORS_SECTIONS is defined.
23564 * elf/soinit.c: Likewise.
23565 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
23566 NO_CTORS_DTORS_SECTIONS is defined.
23567 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
23568 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
23569 * sysdeps/sh/init-first.c: Likewise.
23570 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
23571
07eb4b71
UD
235722010-12-24 Ulrich Drepper <drepper@gmail.com>
23573
23574 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
23575 always use the slow path.
23576
30950a5f
RA
235772010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
23578
23579 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
23580 similar rule which adds the sysdep directories to the header search in
23581 order to pick up the correct platform stackinfo.h.
23582 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
23583 perform test if it is, otherwise return successfully without testing.
23584 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
23585 DEFAULT_STACK_PERMS define in stackinfo.h.
23586 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
23587 defined in stackinfo.h.
23588 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
23589 DEFAULT_STACK_PERMS defined in stackinfo.h.
23590 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
23591 * sysdeps/ia64/stackinfo.h: Likewise.
23592 * sysdeps/s390/stackinfo.h: Likewise.
23593 * sysdeps/sh/stackinfo.h: Likewise.
23594 * sysdeps/sparc/stackinfo.h: Likewise.
23595 * sysdeps/x86_64/stackinfo.h: Likewise.
23596 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
23597 PF_X for powerpc64. Retain PF_X for powerpc32.
23598
db753e2c
UD
235992010-12-19 Ulrich Drepper <drepper@gmail.com>
23600
14b697f7
UD
23601 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
23602 accurately.
db753e2c
UD
23603 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
23604 GETDENTS_64BIT_ALIGNED.
23605
28300719
UD
236062010-12-14 Ulrich Drepper <dreper@gmail.com>
23607
14b697f7 23608 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 23609
4f197237
AS
236102010-12-10 Andreas Schwab <schwab@redhat.com>
23611
dbb0472f
AS
23612 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
23613 _GNU_SOURCE.
23614
4f197237
AS
23615 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
23616 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
23617 Remove __restrict.
23618 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
23619 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
23620
fb88ac72
UD
236212010-12-09 Ulrich Drepper <drepper@gmail.com>
23622
23623 [BZ #11655]
23624 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
23625 are initialized.
23626
42acbb92
JJ
236272010-12-09 Jakub Jelinek <jakub@redhat.com>
23628
23629 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
23630
c038d98d
UD
236312010-12-03 Ulrich Drepper <drepper@gmail.com>
23632
23633 * po/it.po: Update from translation team.
23634
3a4a2499
L
236352010-12-01 H.J. Lu <hongjiu.lu@intel.com>
23636
23637 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
23638 unused codes.
23639
1e24cf6e
UD
236402010-11-30 Ulrich Drepper <drepper@gmail.com>
23641
23642 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
23643
a7690819
AS
236442010-11-24 Andreas Schwab <schwab@redhat.com>
23645
23646 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
23647 specially.
23648 (gaih_getanswer_slice): Likewise.
23649
3bf8d1b1
JJ
236502010-10-20 Jakub Jelinek <jakub@redhat.com>
23651
23652 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
23653
6db52fbb
PB
236542010-05-31 Petr Baudis <pasky@suse.cz>
23655
23656 [BZ #11149]
23657 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
23658 silently even in the chroot mode.
23659
eaca7569
UD
236602010-11-22 Ulrich Drepper <drepper@gmail.com>
23661
23662 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
23663 last patch a bit. Pretty printing
23664
3056dcdb
UD
236652010-05-31 Petr Baudis <pasky@suse.cz>
23666
23667 [BZ #10085]
23668 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
23669 initialization of skip_initgroups_dyn.
23670
cf7c9078
UD
236712010-11-19 Ulrich Drepper <drepper@gmail.com>
23672
23673 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
23674 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
23675
a1fb5e3e
UD
236762010-11-16 Ulrich Drepper <drepper@gmail.com>
23677
23678 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
23679
3540d66b
AS
236802010-11-11 Andreas Schwab <schwab@redhat.com>
23681
23682 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
23683 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
23684 (tst-fnmatch-ENV): Set MALLOC_TRACE.
23685 ($(objpfx)tst-fnmatch-mem): New rule.
23686 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
23687 * posix/tst-fnmatch.c (main): Call mtrace.
23688
13b69574
L
236892010-11-11 H.J. Lu <hongjiu.lu@intel.com>
23690
23691 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23692 Support Intel processor model 6 and model 0x2c.
23693
da93d214
LM
236942010-11-10 Luis Machado <luisgpm@br.ibm.com>
23695
23696 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
23697 signed comparison.
23698
8ca52c6e
L
236992010-11-09 H.J. Lu <hongjiu.lu@intel.com>
23700
23701 [BZ #12205]
23702 * string/test-strncasecmp.c (check_result): New function.
23703 (do_one_test): Use it.
23704 (check1): New function.
23705 (test_main): Use it.
23706 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
23707 Support strcasecmp and strncasecmp.
23708
69da074d
UD
237092010-11-08 Ulrich Drepper <drepper@gmail.com>
23710
23711 [BZ #12194]
23712 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
23713 * sysdeps/x86_64/bits/byteswap.h: Likewise.
23714
ff02d528
L
237152010-11-07 H.J. Lu <hongjiu.lu@intel.com>
23716
23717 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
23718 IFUNC support.
23719 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23720 memset-x86-64.
23721 * sysdeps/x86_64/multiarch/bzero.S: New file.
23722 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
23723 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
23724 * sysdeps/x86_64/multiarch/memset.S: New file.
23725 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
23726 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23727 Set bit_Prefer_SSE_for_memop for Intel processors.
23728 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
23729 Define.
23730 (index_Prefer_SSE_for_memop): Define.
23731 (HAS_PREFER_SSE_FOR_MEMOP): Define.
23732
344d0b54
LM
237332010-11-04 Luis Machado <luisgpm@br.ibm.com>
23734
23735 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
23736 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
23737
c0dde15b
UD
237382010-11-03 H.J. Lu <hongjiu.lu@intel.com>
23739
23740 [BZ #12191]
23741 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
23742 (__x86_64_raw_data_cache_size_half): Likewise.
23743 (__x86_64_raw_shared_cache_size): Likewise.
23744 (__x86_64_raw_shared_cache_size_half): Likewise.
23745
23746 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
23747 (__x86_64_raw_data_cache_size_half): Likewise.
23748 (__x86_64_raw_shared_cache_size): Likewise.
23749 (__x86_64_raw_shared_cache_size_half): Likewise.
23750 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
23751 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
23752 and __x86_64_raw_shared_cache_size_half. Round
23753 __x86_64_data_cache_size_half, __x86_64_data_cache_size
23754 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
23755 to multiple of 256 bytes.
23756
0e516e0e
MS
237572010-11-03 Ulrich Drepper <drepper@gmail.com>
23758
23759 [BZ #12167]
23760 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
23761 of inacessible symlinks. Verify result of symlink before returning it.
23762 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
23763 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
23764
0e012e87
ER
237652010-10-28 Erich Ritz <erichritz@gmail.com>
23766
23767 * math/math.h (isinf): Fix typo in comment.
23768
de0ff7bc
UD
237692010-11-01 Ulrich Drepper <drepper@gmail.com>
23770
23771 * po/da.po: Update from translation team.
23772
fa41c84d
UD
237732010-10-26 Ulrich Drepper <drepper@gmail.com>
23774
23775 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
23776 is added to the list.
23777
f0967738
AK
237782010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23779 Ulrich Drepper <drepper@gmail.com>
23780
23781 * elf/dl-object.c (_dl_new_object): Don't append the new object to
23782 the global list here. Move code to...
23783 (_dl_add_to_namespace_list): ...here. New function.
23784 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
23785 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
23786 * elf/dl-load.c (lose): Don't remove the element from the list.
23787 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
23788 (_dl_map_object): Likewise.
23789
237902010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
23791
23792 [BZ #12159]
23793 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
23794 into all bytes of SSE register.
23795 Patch by Richard Li <richardpku@gmail.com>.
23796
f0967738 237972010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
23798
23799 [BZ #12140]
23800 * malloc/malloc.c (_int_free): Fill correct number of bytes when
23801 perturbing.
23802
d0b9e94f
MB
238032010-10-20 Michael B. Brutman <brutman@us.ibm.com>
23804
23805 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
23806 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
23807 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
23808 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
23809 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
23810 submachine.
23811 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
23812
8e9f92e9
AS
238132010-10-22 Andreas Schwab <schwab@redhat.com>
23814
23815 * include/dlfcn.h (__RTLD_SECURE): Define.
23816 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
23817 mode & __RTLD_SECURE instead.
23818 (open_path): Rename preloaded parameter to secure.
23819 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
23820 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
23821 * elf/dl-deps.c (openaux): Likewise.
23822 * elf/rtld.c (struct map_args): Remove is_preloaded.
23823 (map_doit): Don't use it.
23824 (dl_main): Likewise.
23825 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
23826 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
23827
bc96fbda
AS
238282010-09-09 Andreas Schwab <schwab@redhat.com>
23829
23830 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
23831 (sysd-rules-targets): Remove duplicates.
23832 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
23833 rtld-%.$o dependency.
23834
22cd1c9b
AS
238352010-10-18 Andreas Schwab <schwab@redhat.com>
23836
23837 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
23838 _dl_map_object do it.
23839
18edac48
UD
238402010-10-19 Ulrich Drepper <drepper@gmail.com>
23841
23842 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
23843 fast fma builtins, define the macros in the C99 standard.
23844 (FP_FAST_FMAF): Likewise.
23845 (FP_FAST_FMAL): Likewise.
23846 * sysdeps/x86_64/bits/mathdef.h: Likewise.
23847
23848 * bits/mathdef.h: Update copyright year.
23849 * sysdeps/powerpc/bits/mathdef.h: Likewise.
23850
d2050124
MM
238512010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
23852
23853 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
23854 builtins, define the macros in the C99 standard.
23855 (FP_FAST_FMAF): Likewise.
23856 (FP_FAST_FMAL): Likewise.
23857 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
23858 multiply/add.
23859 (FP_FAST_FMAF): Likewise.
23860
475facd1
JJ
238612010-10-15 Jakub Jelinek <jakub@redhat.com>
23862
23863 [BZ #3268]
23864 * math/libm-test.inc (fma_test): Some new testcases.
23865 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
23866 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
23867 y and infinite z. Do multiplication by C already in long double.
23868 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
23869 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
23870 y and infinite z. Do bitwise or of inexact bit into u.d.
23871 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
23872 * sysdeps/i386/fpu/s_fmaf.S: Removed.
23873 * sysdeps/i386/fpu/s_fma.S: Removed.
23874 * sysdeps/i386/fpu/s_fmal.S: Removed.
23875
7c08a05c
JJ
238762010-10-16 Jakub Jelinek <jakub@redhat.com>
23877
23878 [BZ #3268]
23879 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
23880 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
23881 computation is not scheduled after fetestexcept. Fix value
23882 of minimum denormal long double.
23883
f3f7372d
JJ
238842010-10-14 Jakub Jelinek <jakub@redhat.com>
23885
23886 [BZ #3268]
23887 * math/libm-test.inc (fma_test): Add some more tests.
23888 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
23889 correctly.
23890
14d43591
AS
238912010-10-15 Andreas Schwab <schwab@redhat.com>
23892
23893 * scripts/data/localplt-s390-linux-gnu.data: New file.
23894 * scripts/data/localplt-s390x-linux-gnu.data: New file.
23895
5e908464
JJ
238962010-10-13 Jakub Jelinek <jakub@redhat.com>
23897
23898 [BZ #3268]
23899 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
23900 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
23901 instead of dbl-64.
23902 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
23903 inlines.
23904 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
23905 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
23906 if one of x and y is very large and the other is subnormal.
23907 * sysdeps/s390/fpu/s_fmaf.c: New file.
23908 * sysdeps/s390/fpu/s_fma.c: New file.
23909 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
23910 * sysdeps/powerpc/fpu/s_fma.S: New file.
23911 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
23912 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
23913 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
23914
239152010-10-12 Jakub Jelinek <jakub@redhat.com>
23916
23917 [BZ #3268]
23918 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
23919 fma tests.
23920 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
23921 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
23922 * sysdeps/i386/i686/multiarch/s_fma.c: Include
23923 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
23924 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
23925 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
23926 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
23927
b833d51f
UD
239282010-10-12 Ulrich Drepper <drepper@redhat.com>
23929
23930 [BZ #12078]
23931 * posix/regcomp.c (parse_branch): One more memory leak plugged.
23932 * posix/bug-regex31.input: Add test case.
23933
1751705d
UD
239342010-10-11 Ulrich Drepper <drepper@gmail.com>
23935
e9b9cbf5
UD
23936 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
23937 * posix/bug-regex31.input: New file.
23938
23939 [BZ #12078]
23940 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
23941 (parse_sub_exp): Fix last change, use postorder.
23942
ef06edbe
UD
23943 * posix/bug-regex31.c: New file.
23944 * posix/Makefile: Add rules to build and run bug-regex31.
23945
a129c80d
UD
23946 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
23947
23948 [BZ #12078]
23949 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
23950
b76b818e
UD
23951 [BZ #12108]
23952 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
23953 to have entries in sys_siglist.
23954
1751705d
UD
23955 [BZ #12093]
23956 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
23957 be NULL.
23958
9ff8d36f
JJ
239592010-10-07 Jakub Jelinek <jakub@redhat.com>
23960
23961 [BZ #3268]
23962 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
23963 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
23964 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
23965 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
23966 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
23967 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
23968 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
23969 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
23970 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
23971 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
23972 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
23973 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
23974 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
23975 * math/ftestexcept.c (fetestexcept): Likewise.
23976 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
23977 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
23978 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
23979 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
23980 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
23981 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
23982 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
23983
af325969
UD
239842010-10-11 Ulrich Drepper <drepper@gmail.com>
23985
c579b202 23986 [BZ #12107]
af325969
UD
23987 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
23988 newline.
23989
67a67b95
UD
239902010-10-06 Ulrich Drepper <drepper@gmail.com>
23991
23992 * string/bug-strstr1.c: New file.
23993 * string/Makefile: Add rules to build and run bug-strstr1.
23994
5fb308bc
EB
239952010-10-05 Eric Blake <eblake@redhat.com>
23996
23997 [BZ #12092]
23998 * string/str-two-way.h (two_way_long_needle): Always clear memory
23999 when skipping input due to the shift table.
24000
45db99c7
UD
240012010-10-03 Ulrich Drepper <drepper@gmail.com>
24002
3b111893
UD
24003 [BZ #12005]
24004 * malloc/mcheck.c: Handle large requests.
24005
45db99c7
UD
24006 [BZ #12077]
24007 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
24008 for strncmp and strncasecmp.
24009 * string/stratcliff.c: Add tests for strcmp and strncmp.
24010 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
24011
cf7a1eb8
NI
240122010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
24013
24014 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
24015 __set_fpscr.
24016
6484ba5e
AJ
240172010-09-30 Andreas Jaeger <aj@suse.de>
24018
24019 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
24020 (CGROUP_SUPER_MAGIC): Define.
24021 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
24022 Handle btrfs and cgroup file systems.
24023 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
24024 Likewise.
24025
91c42559
LM
240262010-09-27 Luis Machado <luisgpm@br.ibm.com>
24027
24028 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
24029 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
24030
87a97932
AK
240312010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24032
24033 [BZ #12067]
24034 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
24035 trying to locate the ELF header.
24036
c21cc9bc
AS
240372010-09-27 Andreas Schwab <schwab@redhat.com>
24038
24039 [BZ #11611]
24040 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
24041 Mask out sign-bit copies when constructing f_fsid.
24042
315970f6
PB
240432010-09-24 Petr Baudis <pasky@suse.cz>
24044
24045 * debug/stack_chk_fail_local.c: Add missing licence exception.
24046 * debug/warning-nop.c: Likewise.
24047
1ac7a2c7
JM
240482010-09-15 Joseph Myers <joseph@codesourcery.com>
24049
24050 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
24051 implementing getdents64 using getdents syscall, set d_type if
24052 __ASSUME_GETDENTS32_D_TYPE.
24053
56801c50
AS
240542010-09-16 Andreas Schwab <schwab@redhat.com>
24055
24056 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
24057 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
24058
dda51327
UD
240592010-09-21 Ulrich Drepper <drepper@redhat.com>
24060
24061 [BZ #12037]
24062 * posix/unistd.h: Undo change of feature selection for ftruncate from
24063 2010-01-11.
24064
8ffcee4a
UD
240652010-09-20 Ulrich Drepper <drepper@redhat.com>
24066
a545ecd9 24067 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
24068 detection.
24069
e24f0a8b
AS
240702010-09-20 Andreas Schwab <schwab@redhat.com>
24071
24072 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
24073 fanotify_mark.
24074 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
24075
7291c56f
AS
240762010-09-14 Andreas Schwab <schwab@redhat.com>
24077
24078 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
24079 variables after CHECK_SP call.
24080 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
24081
bc5fb037
AS
240822010-09-13 Andreas Schwab <schwab@redhat.com>
24083 Ulrich Drepper <drepper@redhat.com>
24084
24085 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
24086 re-relocationg ld.so.
24087 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
24088 _dl_init_paths call.
24089 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
24090 here anymore.
24091
e66e7419
UD
240922010-09-14 Ulrich Drepper <drepper@redhat.com>
24093
24094 * resolv/res_init.c (__res_vinit): Count the default server we added.
24095
c044aa75
CLT
240962010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
24097 Ulrich Drepper <drepper@redhat.com>
24098
24099 [BZ #11968]
24100 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
24101 (____longjmp_chk): Use %ebx for saving value across system call.
24102 Add unwind info.
24103
32cf4069
AS
241042010-09-06 Andreas Schwab <schwab@redhat.com>
24105
24106 * manual/Makefile: Don't mix pattern rules with normal rules.
24107
817328ee
AS
241082010-09-05 Andreas Schwab <schwab@linux-m68k.org>
24109
24110 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
24111 operation.
24112 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
24113 * libio/iofopncook.c (_IO_cookie_init): Likewise.
24114 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
24115 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
24116 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
24117 Likewise.
24118
29fddf61
UD
241192010-09-04 Ulrich Drepper <drepper@redhat.com>
24120
24121 [BZ #11979]
24122 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
24123 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
24124
0959ffc9
UD
241252010-09-02 Ulrich Drepper <drepper@redhat.com>
24126
24127 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
24128 * sysdeps/x86_64/addmul_1.S: Likewise.
24129 * sysdeps/x86_64/lshift.S: Likewise.
24130 * sysdeps/x86_64/mul_1.S: Likewise.
24131 * sysdeps/x86_64/rshift.S: Likewise.
24132 * sysdeps/x86_64/sub_n.S: Likewise.
24133 * sysdeps/x86_64/submul_1.S: Likewise.
24134
ece29840
ST
241352010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
24136
0959ffc9
UD
24137 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
24138 Define __sched_param instead of SCHED_* and sched_param when
ece29840 24139 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 24140 * bits/sched.h [__need_schedparam]
ece29840 24141 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
24142 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
24143 (__defined_schedparam): Define to 1.
ece29840
ST
24144 (__sched_param): New structure, identical to sched_param.
24145 (__need_schedparam): Undefine.
24146
e53a31fe
MF
241472010-08-31 Mike Frysinger <vapier@gentoo.org>
24148
fdc0c10d
MF
24149 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
24150 (epoll_create1): Declare.
24151
e53a31fe
MF
24152 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
24153
a726d796
AS
241542010-08-31 Andreas Schwab <schwab@redhat.com>
24155
24156 [BZ #7066]
24157 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
24158 shifting retval into place.
24159
2f3e3dc7
UD
241602010-09-01 Ulrich Drepper <drepper@redhat.com>
24161
f2933da9
UD
24162 * nis/rpcsvc/nis.h: Update copyright notice.
24163 * nis/rpcsvc/nis.x: Likewise.
24164 * nis/rpcsvc/nis_callback.h: Likewise.
24165 * nis/rpcsvc/nis_callback.x: Likewise.
24166 * nis/rpcsvc/nis_object.x: Likewise.
24167 * nis/rpcsvc/nis_tags.h: Likewise.
24168 * nis/rpcsvc/yp.h: Likewise.
24169 * nis/rpcsvc/yp.x: Likewise.
24170 * nis/rpcsvc/ypupd.h: Likewise.
24171 * nis/yp_xdr.c: Likewise.
24172 * nis/ypupdate_xdr.c: Likewise.
24173
2f3e3dc7
UD
24174 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
24175 mainly the body of pmap_getport. Add parameters to specify timeouts.
24176 (pmap_getport): Use __libc_rpc_getport.
24177 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
24178 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
24179 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
24180
f3dcc2f9
AS
241812010-08-31 Andreas Schwab <schwab@linux-m68k.org>
24182
24183 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
24184 fanotify_mark.
24185
6d34eb5b
RM
241862010-08-27 Roland McGrath <roland@redhat.com>
24187
24188 * sysdeps/i386/i686/multiarch/Makefile
24189 (CFLAGS-varshift.c): New variable.
24190
9ea3de11
UD
241912010-08-27 Ulrich Drepper <drepper@redhat.com>
24192
c96d23fc
UD
24193 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
24194 * sysdeps/i386/i686/multiarch/varshift.c: New file.
24195
9ea3de11
UD
24196 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
24197
24198 * sysdeps/x86_64/strlen.S: Minimal code improvement.
24199
623aac7f
L
242002010-08-26 H.J. Lu <hongjiu.lu@intel.com>
24201
24202 * sysdeps/x86_64/strlen.S: Unroll the loop.
24203 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24204 strlen-sse2 strlen-sse2-bsf.
24205 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
24206 __strlen_no_bsf if bit_Slow_BSF is set.
24207 (__strlen_sse42): Removed.
24208 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
24209 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
24210
8b2b7715
RM
242112010-08-25 Roland McGrath <roland@redhat.com>
24212
24213 * sysdeps/x86_64/multiarch/varshift.S: File removed.
24214 * sysdeps/x86_64/multiarch/varshift.c: New file.
24215 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
24216 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
24217 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
24218 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
24219
e73015f2
L
242202010-08-25 H.J. Lu <hongjiu.lu@intel.com>
24221
24222 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24223 strlen-sse2 strlen-sse2-bsf.
24224 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
24225 __strlen_sse2_bsf if bit_Slow_BSF is unset.
24226 (__strlen_sse2): Removed.
24227 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
24228 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
24229 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
24230 bit_Slow_BSF for Atom.
24231 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
24232 (index_Slow_BSF): Define.
24233 (HAS_SLOW_BSF): Define.
24234
df24a73e
UD
242352010-08-25 Ulrich Drepper <drepper@redhat.com>
24236
24237 [BZ #10851]
24238 * resolv/res_init.c (__res_vinit): When no server address at all
24239 is given default to loopback.
24240
f2ac4868
RM
242412010-08-24 Roland McGrath <roland@redhat.com>
24242
09055553
RM
24243 * configure.in: Remove config-name.h generation.
24244 * configure: Regenerated.
24245 * config-name.in: File removed.
24246 * scripts/config-uname.sh: New file.
24247 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
24248 ($(objdir)config-name.h): New target.
24249
f2ac4868
RM
24250 * sunrpc/rpc_parse.h: Avoid nested comment.
24251
73f27d5e
RH
242522010-08-24 Richard Henderson <rth@redhat.com>
24253 Ulrich Drepper <drepper@redhat.com>
24254 H.J. Lu <hongjiu.lu@intel.com>
24255
24256 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
24257 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
24258 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
24259 Replace _mm_srli_si128 with __m128i_shift_right. Replace
24260 _mm_alignr_epi8 with _mm_loadu_si128.
24261 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
24262 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
24263 (__m128i_shift_right): Removed.
24264 * sysdeps/i386/i686/multiarch/varshift.h: New file.
24265 * sysdeps/i386/i686/multiarch/varshift.S: New file.
24266 * sysdeps/x86_64/multiarch/varshift.h: New file.
24267 * sysdeps/x86_64/multiarch/varshift.S: New file.
24268
84b9230c
MF
242692010-08-21 Mike Frysinger <vapier@gentoo.org>
24270
24271 * configure.in: Move assembler checks to before sysdep dir checking.
24272
9bbd0ddc
PB
242732010-08-20 Petr Baudis <pasky@suse.cz>
24274
24275 * LICENSES: Sync the sunrpc license.
24276
9da4bb31
UD
242772010-08-19 Ulrich Drepper <drepper@redhat.com>
24278
a7ab6ec8
UD
24279 * sunrpc/auth_des.c: Update copyright notice once again.
24280 * sunrpc/auth_none.c: Likewise.
24281 * sunrpc/auth_unix.c: Likewise.
24282 * sunrpc/authdes_prot.c: Likewise.
24283 * sunrpc/authuxprot.c: Likewise.
24284 * sunrpc/bindrsvprt.c: Likewise.
24285 * sunrpc/clnt_gen.c: Likewise.
24286 * sunrpc/clnt_perr.c: Likewise.
24287 * sunrpc/clnt_raw.c: Likewise.
24288 * sunrpc/clnt_simp.c: Likewise.
24289 * sunrpc/clnt_tcp.c: Likewise.
24290 * sunrpc/clnt_udp.c: Likewise.
24291 * sunrpc/clnt_unix.c: Likewise.
24292 * sunrpc/des_crypt.c: Likewise.
24293 * sunrpc/des_soft.c: Likewise.
24294 * sunrpc/get_myaddr.c: Likewise.
24295 * sunrpc/getrpcport.c: Likewise.
24296 * sunrpc/key_call.c: Likewise.
24297 * sunrpc/key_prot.c: Likewise.
24298 * sunrpc/openchild.c: Likewise.
24299 * sunrpc/pm_getmaps.c: Likewise.
24300 * sunrpc/pm_getport.c: Likewise.
24301 * sunrpc/pmap_clnt.c: Likewise.
24302 * sunrpc/pmap_prot.c: Likewise.
24303 * sunrpc/pmap_prot2.c: Likewise.
24304 * sunrpc/pmap_rmt.c: Likewise.
24305 * sunrpc/rpc/auth.h: Likewise.
24306 * sunrpc/rpc/auth_unix.h: Likewise.
24307 * sunrpc/rpc/clnt.h: Likewise.
24308 * sunrpc/rpc/des_crypt.h: Likewise.
24309 * sunrpc/rpc/key_prot.h: Likewise.
24310 * sunrpc/rpc/netdb.h: Likewise.
24311 * sunrpc/rpc/pmap_clnt.h: Likewise.
24312 * sunrpc/rpc/pmap_prot.h: Likewise.
24313 * sunrpc/rpc/pmap_rmt.h: Likewise.
24314 * sunrpc/rpc/rpc.h: Likewise.
24315 * sunrpc/rpc/rpc_des.h: Likewise.
24316 * sunrpc/rpc/rpc_msg.h: Likewise.
24317 * sunrpc/rpc/svc.h: Likewise.
24318 * sunrpc/rpc/svc_auth.h: Likewise.
24319 * sunrpc/rpc/types.h: Likewise.
24320 * sunrpc/rpc/xdr.h: Likewise.
24321 * sunrpc/rpc_clntout.c: Likewise.
24322 * sunrpc/rpc_cmsg.c: Likewise.
24323 * sunrpc/rpc_common.c: Likewise.
24324 * sunrpc/rpc_cout.c: Likewise.
24325 * sunrpc/rpc_dtable.c: Likewise.
24326 * sunrpc/rpc_hout.c: Likewise.
24327 * sunrpc/rpc_main.c: Likewise.
24328 * sunrpc/rpc_parse.c: Likewise.
24329 * sunrpc/rpc_parse.h: Likewise.
24330 * sunrpc/rpc_prot.c: Likewise.
24331 * sunrpc/rpc_sample.c: Likewise.
24332 * sunrpc/rpc_scan.c: Likewise.
24333 * sunrpc/rpc_scan.h: Likewise.
24334 * sunrpc/rpc_svcout.c: Likewise.
24335 * sunrpc/rpc_tblout.c: Likewise.
24336 * sunrpc/rpc_util.c: Likewise.
24337 * sunrpc/rpc_util.h: Likewise.
24338 * sunrpc/rpcinfo.c: Likewise.
24339 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
24340 * sunrpc/rpcsvc/key_prot.x: Likewise.
24341 * sunrpc/rpcsvc/klm_prot.x: Likewise.
24342 * sunrpc/rpcsvc/mount.x: Likewise.
24343 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
24344 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
24345 * sunrpc/rpcsvc/rex.x: Likewise.
24346 * sunrpc/rpcsvc/rstat.x: Likewise.
24347 * sunrpc/rpcsvc/rusers.x: Likewise.
24348 * sunrpc/rpcsvc/sm_inter.x: Likewise.
24349 * sunrpc/rpcsvc/spray.x: Likewise.
24350 * sunrpc/rpcsvc/yppasswd.x: Likewise.
24351 * sunrpc/rtime.c: Likewise.
24352 * sunrpc/svc.c: Likewise.
24353 * sunrpc/svc_auth.c: Likewise.
24354 * sunrpc/svc_authux.c: Likewise.
24355 * sunrpc/svc_raw.c: Likewise.
24356 * sunrpc/svc_run.c: Likewise.
24357 * sunrpc/svc_simple.c: Likewise.
24358 * sunrpc/svc_tcp.c: Likewise.
24359 * sunrpc/svc_udp.c: Likewise.
24360 * sunrpc/svc_unix.c: Likewise.
24361 * sunrpc/svcauth_des.c: Likewise.
24362 * sunrpc/xcrypt.c: Likewise.
24363 * sunrpc/xdr.c: Likewise.
24364 * sunrpc/xdr_array.c: Likewise.
24365 * sunrpc/xdr_float.c: Likewise.
24366 * sunrpc/xdr_mem.c: Likewise.
24367 * sunrpc/xdr_rec.c: Likewise.
24368 * sunrpc/xdr_ref.c: Likewise.
24369 * sunrpc/xdr_sizeof.c: Likewise.
24370 * sunrpc/xdr_stdio.c: Likewise.
24371
9da4bb31
UD
24372 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
24373 handling.
24374
bdaa77bc
AS
243752010-08-19 Andreas Schwab <schwab@redhat.com>
24376
24377 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
24378
fe2f79db
LM
243792010-08-19 Luis Machado <luisgpm@br.ibm.com>
24380
24381 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
24382 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
24383 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
24384 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
24385 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
24386 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
24387 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
24388 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
24389 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
24390 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
24391 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
24392 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
24393 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
24394 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
24395
b9b42ee0
AB
243962010-07-26 Anton Blanchard <anton@samba.org>
24397
24398 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
24399 * malloc/arena.c (heap_trim): Likewise.
24400
1c06ba31
UD
244012010-08-16 Ulrich Drepper <drepper@redhat.com>
24402
24403 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
24404 here. Not...
24405 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
24406 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
24407
f8392f40
L
244082010-08-12 H.J. Lu <hongjiu.lu@intel.com>
24409
24410 * sysdeps/i386/elf/Makefile: New file.
24411
3162f12e
AS
244122010-08-14 Andreas Schwab <schwab@linux-m68k.org>
24413
24414 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
24415 from fanotify_init.
24416 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
24417 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
24418
28c90b2c
UD
244192010-08-15 Ulrich Drepper <drepper@redhat.com>
24420
24421 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
24422 of strncasecmp_l.
1feccb6c 24423 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 24424
ca6bb004
UD
244252010-08-14 Ulrich Drepper <drepper@redhat.com>
24426
e9f82e0d
UD
24427 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
24428 strncase_l-nonascii.
24429 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
24430 Add strncase_l-ssse3.
24431 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
24432 * sysdeps/x86_64/strcmp.S: Likewise.
24433 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
24434 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
24435 * sysdeps/x86_64/strncase.S: New file.
24436 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
24437 * sysdeps/x86_64/strncase_l.S: New file.
24438 * string/Makefile (strop-tests): Add strncasecmp.
24439 * string/test-strncasecmp.c: New file.
24440
24441 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
24442 warning.
24443
ca6bb004
UD
24444 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
24445 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
24446
052fa7b3
AS
244472010-08-14 Andreas Schwab <schwab@linux-m68k.org>
24448
24449 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
24450
962dba78
UD
244512010-08-12 Ulrich Drepper <drepper@redhat.com>
24452
24453 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
24454 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
24455 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
24456
bebff237
AM
244572010-05-01 Alan Modra <amodra@gmail.com>
24458
24459 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
24460 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
24461 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
24462 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
24463 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
24464 tidying. Don't tail-call __sigjmp_save for static lib.
24465 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
24466 save location.
24467 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
24468 (CALL_MCOUNT): Add eh info, and nop after bl.
24469 (TAIL_CALL_SYSCALL_ERROR): New macro.
24470 (PSEUDO_RET): Use it.
24471 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
24472 Correct save location of integer regs and cr.
24473 (_dl_profile_resolve): Correct cr save location. Delete nops
24474 after bl when SHARED. Reduce cfi size a little by better
24475 placement of cfi directives.
24476 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
24477 make a stack frame. Instead use parm save area as a temp.
24478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
24479 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
24480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
24481 Don't make a stack frame for parent, use parm save area.
24482 Increase child stack frame to 112 bytes. Don't save unused reg,
24483 and adjust reg usage. Set up cfi on error recovery and
24484 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
24485 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
24486 (__makecontext): Add dummy nop after jump to exit.
24487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
24488 Use correct parm save area and cr save, reduce stack frame.
24489 Correct cfi for possible PSEUDO_RET frame setup.
24490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
24491 Branch to local label emitted by PSEUDO_RET rather than
24492 __syscall_error.
24493
02637374
AS
244942010-08-12 Andreas Schwab <schwab@redhat.com>
24495
24496 [BZ #11904]
24497 * locale/programs/locale.c (print_assignment): New function.
24498 (show_locale_vars): Use it.
24499
c3e2f19b
UD
245002010-08-11 Ulrich Drepper <drepper@redhat.com>
24501
3cdaa6ad
UD
24502 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
24503 field.
24504 (struct statfs64): Likewise.
24505 (_STATFS_F_FLAGS): Define.
24506 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
24507 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
24508 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
24509 (ST_VALID): Define locally.
24510 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
24511 __statvfs_getflags, use the provided value.
24512 * sysdeps/unix/sysv/linux/kernel-features.h: Define
24513 __ASSUME_STATFS_F_FLAGS.
24514
754f7da3
UD
24515 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
24516
10b3bedc
UD
24517 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
24518 Add sys/fanotify.h.
24519 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
24520 fanotify_mask for GLIBC_2.13.
24521 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
24522 fanotify_init and fanotify_mark.
24523 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
24524 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
24525
c08fb0d7
UD
24526 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
24527 Add prlimit.
24528 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
24529 prlimit64 for GLIBC_2.13.
24530 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
24531 prlimit64.
24532 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
24533 syscall.
24534 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
24535 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
24536 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
24537 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
24538 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
24539 add prlimit alias.
24540 * sysdeps/unix/sysv/linux/prlimit.c: New file.
24541
15bac72b
UD
24542 [BZ #11903]
24543 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
24544 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
24545
c3e2f19b
UD
24546 * nss/Makefile: Add rules to build and run tst-nss-test1.
24547 * shlib-versions: Add entry for libnss_test1.
24548 * nss/nss_test1.c: New file.
24549 * nss/tst-nss-test1.c: New file.
24550
24551 * nss/nsswitch.c (__nss_database_custom): Define new variable.
24552 (__nss_configure_lookup): Set appropriate entry in
24553 __nss_configure_lookup to true.
24554 * nss/nsswitch.h: Define enum with indeces of databases in
24555 databases and __nss_database_custom arrays. Declare
24556 __nss_database_custom.
24557 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
24558 to avoid using nscd when custom rules are installed.
24559 * nss/getXXbyYY_r.c: Likewise.
24560 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
24561
24562 * nss/nss_files/files-parse.c: Whitespace fixes.
24563
f15ce4d8
UD
245642010-08-09 Ulrich Drepper <drepper@redhat.com>
24565
24566 [BZ #11883]
24567 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
24568 * posix/fnmatch_loop.c: Likewise.
24569
d22e4cc9
AK
245702010-07-17 Andi Kleen <ak@linux.intel.com>
24571
24572 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
24573 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
24574 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
24575 * Versions.def [GLIBC_2.13]: Add.
24576
805bc17d
UD
245772010-08-06 Ulrich Drepper <drepper@redhat.com>
24578
24579 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
24580 Also fail if tpwd after pwuid call is NULL.
24581
5a42321d
ST
245822010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
24583
24584 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
24585 when converting to ms.
24586
fd3ebeda
ST
245872010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
24588
24589 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
24590 EOPNOTSUPP errors with ENOTTY.
24591 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
24592 EOPNOTSUPP errors with ENOTTY.
24593
73507d3a
UD
245942010-07-31 Ulrich Drepper <drepper@redhat.com>
24595
24596 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
24597 Add strcasecmp_l-ssse3.
24598 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
24599 strcasecmp.
24600 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
24601 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
24602 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
24603
fe36dd02
UD
246042010-07-30 Ulrich Drepper <drepper@redhat.com>
24605
66f6765a
UD
24606 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
24607
42e08a54
UD
24608 * string/Makefile (strop-tests): Add strcasecmp.
24609 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
24610 strcasecmp_l-nonascii.
24611 (gen-as-const-headers): Add locale-defines.sym.
24612 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
24613 * sysdeps/x86_64/strcasecmp.S: New file.
24614 * sysdeps/x86_64/strcasecmp_l.S: New file.
24615 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
24616 * sysdeps/x86_64/locale-defines.sym: New file.
24617 * string/test-strcasecmp.c: New file.
24618
fe36dd02
UD
24619 * string/test-strcasestr.c: Test both ends of the range of characters.
24620 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
24621
48cbc0d6
RM
246222010-07-29 Roland McGrath <roland@redhat.com>
24623
76e6d6bc 24624 [BZ #11856]
48cbc0d6
RM
24625 * manual/locale.texi (Yes-or-No Questions): Fix example code.
24626
880113d9
UD
246272010-07-27 Ulrich Drepper <drepper@redhat.com>
24628
24629 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
24630 for ld.so.
24631
deb9cabb
AS
246322010-07-27 Andreas Schwab <schwab@redhat.com>
24633
24634 * manual/memory.texi (Malloc Tunable Parameters): Document
24635 M_PERTURB.
24636
1c7570ff
RM
246372010-07-26 Roland McGrath <roland@redhat.com>
24638
24639 [BZ #11840]
24640 * configure.in (-fgnu89-inline check): Set and substitute
24641 gnu89_inline, not libc_cv_gnu89_inline.
24642 * configure: Regenerated.
24643 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
24644
24fb0f88
UD
246452010-07-26 Ulrich Drepper <drepper@redhat.com>
24646
24647 * string/test-strnlen.c: New file.
24648 * string/Makefile (strop-tests): Add strnlen.
24649 * string/tester.c (test_strnlen): Add a few more test cases.
24650 * string/tst-strlen.c: Better error reporting.
24651
24652 * sysdeps/x86_64/strnlen.S: New file.
24653
8e96b93a
UD
246542010-07-24 Ulrich Drepper <drepper@redhat.com>
24655
24656 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
24657 lower-latency instructions.
24658
dbc676d4
UD
246592010-07-23 Ulrich Drepper <drepper@redhat.com>
24660
24661 * string/test-strcasestr.c: New file.
24662 * string/test-strstr.c: New file.
24663 * string/Makefile (strop-tests): Add strstr and strcasestr.
24664 * string/str-two-way.h: Don't undefine MAX.
24665 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
24666
f6a31e0e
AS
246672010-07-21 Andreas Schwab <schwab@redhat.com>
24668
24669 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24670 strcasestr-nonascii.
24671 (CFLAGS-strcasestr-nonascii.c): Define.
24672 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
24673 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
24674 Remove unused attribute.
24675
5dbc3b6c
RM
246762010-07-20 Roland McGrath <roland@redhat.com>
24677
24678 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
24679 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
24680 ld.so.cache was broken. With it, there is no way to disable dsocaps
24681 like LD_HWCAP_MASK can disable hwcaps.
24682
23d101d8
EPM
246832010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
24684
24685 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
24686
cc9f2e47
UD
246872010-07-16 Ulrich Drepper <drepper@redhat.com>
24688
24689 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
24690 call in strcasestr.
24691 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
24692 __strcasestr_sse42_nonascii.
24693 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
24694 strcasestr-nonascii.c.
24695 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
24696
77c1b069
LM
246972010-06-15 Luis Machado <luisgpm@br.ibm.com>
24698
24699 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
24700 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
24701 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
24702 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
24703
440566c3
UD
247042010-07-09 Ulrich Drepper <drepper@redhat.com>
24705
24706 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
24707 fcntl.
24708
5be9d05d
AS
247092010-07-06 Andreas Schwab <schwab@redhat.com>
24710
c30b7ee2 24711 [BZ #11577]
5be9d05d
AS
24712 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
24713 dl_signal_cerror.
24714
8a492a67
UD
247152010-07-06 Ulrich Drepper <drepper@redhat.com>
24716
24717 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
24718 _PC_PIPE_BUF using F_GETPIPE_SZ.
24719
713df3d5
RM
247202010-07-05 Roland McGrath <roland@redhat.com>
24721
24722 * manual/arith.texi (Rounding Functions): Fix rint description
24723 implicit in round description.
24724
702e8f14
UD
247252010-07-02 Ulrich Drepper <drepper@redhat.com>
24726
24727 * elf/Makefile: Fix linking for a few tests to make recent linker
24728 happy.
24729
52ed8be9
AS
247302010-06-30 Andreas Schwab <schwab@redhat.com>
24731
24732 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
24733 $(common-objpfx)libc_nonshared.a.
24734
f47c9a11
LM
247352010-06-21 Luis Machado <luisgpm@br.ibm.com>
24736
24737 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
24738 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
24739 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
24740 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
24741 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
24742 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
24743 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
24744 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
24745 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
24746 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
24747 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
24748 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
24749 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
24750 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
24751 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
24752 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
24753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
24754 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
24755 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
24756 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
24757 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
24758 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
24759 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
24760 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
24761 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
24762 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
24763 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
24764 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
24765 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
24766 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
24767 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
24768 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
24769 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
24770 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
24771 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
24772 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
24773 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
24774 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
24775 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
24776 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
24777 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
24778 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
24779 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
24780 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
24781 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
24782 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
24783 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
24784 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
24785
6fb8cbcb
L
247862010-06-25 H.J. Lu <hongjiu.lu@intel.com>
24787
24788 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
24789 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
24790 * string/memmove.c (memmove): Renamed to ...
24791 (MEMMOVE): ...this. Default to memmove.
24792 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
24793 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
24794 (END_CHK): Define.
24795 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24796 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
24797 mempcpy-ssse3-back memmove-ssse3-back.
24798 * sysdeps/x86_64/multiarch/bcopy.S: New file .
24799 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
24800 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
24801 * sysdeps/x86_64/multiarch/memcpy.S: New file.
24802 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
24803 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
24804 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
24805 * sysdeps/x86_64/multiarch/memmove.c: New file.
24806 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
24807 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
24808 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
24809 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
24810 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
24811 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
24812 Define.
24813 (index_Fast_Copy_Backward): Define.
24814 (HAS_ARCH_FEATURE): Define.
24815 (HAS_FAST_REP_STRING): Define.
24816 (HAS_FAST_COPY_BACKWARD): Define.
24817
4e733bac 248182010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
24819
24820 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
24821 Restore proper fallback handling.
24822
63c4ed22
UD
248232010-06-19 Ulrich Drepper <drepper@redhat.com>
24824
ac2b484c
UD
24825 [BZ #11701]
24826 * posix/group_member.c (__group_member): Correct checking loop.
24827
63c4ed22
UD
24828 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
24829 OOM in getpwuid_r correctly. Return error number when the caller
24830 should return, otherwise -1.
24831 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
24832 call returning > 0 value.
24833 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
24834
765ade4b
AS
248352010-06-07 Andreas Schwab <schwab@redhat.com>
24836
24837 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
24838 libc_nonshared.a from targets in modules-names.
24839
80da2e09
KS
248402010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
24841
24842 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
24843 requires it.
24844
158db122
LM
248452010-06-10 Luis Machado <luisgpm@br.ibm.com>
24846
24847 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
24848 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
24849 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
24850 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
24851
caa78cf8
AS
248522010-06-02 Andreas Schwab <schwab@redhat.com>
24853
24854 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
24855
b2ef2c01
UD
248562010-06-14 Ulrich Drepper <drepper@redhat.com>
24857
24858 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
24859 and F_GETPIPE_SZ.
24860 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
24861 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
24862 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
24863 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24864 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
24865 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
24866
fbd643b6
RM
248672010-06-14 Roland McGrath <roland@redhat.com>
24868
24869 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
24870
f32f2869
JJ
248712010-06-07 Jakub Jelinek <jakub@redhat.com>
24872
24873 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
24874 __REDIRECT followed by __THROW.
24875 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
24876 * posix/getopt.h (getopt): Likewise.
24877
2a50c078
EPM
248782010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
24879
24880 * hurd/lookup-at.c (__file_name_lookup_at): Accept
24881 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
24882 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
24883 in AT_FLAGS.
24884 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
24885 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
24886
eb5ad2eb
LM
248872010-05-28 Luis Machado <luisgpm@br.ibm.com>
24888
24889 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
24890
3c88fe1e
L
248912010-05-26 H.J. Lu <hongjiu.lu@intel.com>
24892
24893 [BZ #11640]
24894 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24895 Properly check family and model.
24896
d2f73151
TY
248972010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
24898
24899 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
24900
ebd2e13d
LM
249012010-05-24 Luis Machado <luisgpm@br.ibm.com>
24902
24903 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
24904
b32b8b45
UD
249052010-05-21 Ulrich Drepper <drepper@redhat.com>
24906
24907 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
24908 symbol reference.
24909
9acbe24d
AS
249102010-05-19 Andreas Schwab <schwab@redhat.com>
24911
24912 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
24913 symbol reference.
24914
f0ccf6ea
AS
249152010-05-21 Andreas Schwab <schwab@redhat.com>
24916
3d04ff3a
AS
24917 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
24918 and internal_recvmmsg.
24919 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
24920 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
24921 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
24922 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
24923
f0ccf6ea
AS
24924 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
24925 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
24926 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
24927
5b08ac57
AS
249282010-05-20 Andreas Schwab <schwab@redhat.com>
24929
24930 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
24931
4828935d
LM
249322010-05-17 Luis Machado <luisgpm@br.ibm.com>
24933
24934 POWER7 optimizations.
24935 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
24936 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
24937
373d545e
UD
249382010-05-19 Ulrich Drepper <drepper@redhat.com>
24939
24940 * version.h: Update for 2.13 development version.
24941
21a2b1ae
AS
249422010-05-12 Andrew Stubbs <ams@codesourcery.com>
24943
24944 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
24945 exceptions. Return 0.
24946
3f7dcb2b
RM
249472010-05-07 Roland McGrath <roland@redhat.com>
24948
24949 * elf/ldconfig.c (main): Add a const.
24950
5f24d53a 249512010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 24952
a160f8d8
UD
24953 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
24954 (args_options): Add no-idn option.
24955 (ahosts_keys_int): Add idn_flags to ai_flags.
24956 (parse_option): Handle 'i' option to clear idn_flags.
24957
5f24d53a
UD
24958 * malloc/malloc.c (_int_free): Possible race in the most recently
24959 added check. Only act on the data if no current modification
24960 happened.
265bb1ce
UD
24961
24962See ChangeLog.17 for earlier changes.