]> sourceware.org Git - glibc.git/blame - ChangeLog
Support sysdeps/.../include/ directories.
[glibc.git] / ChangeLog
CommitLineData
b84660a8
RM
12013-02-08 Roland McGrath <roland@hack.frob.com>
2
3 * Makeconfig (+sysdep-includes): Define with := rather than =.
4 Use an existing include/ subdir of each sysdeps dir before it.
5
471514d3
CD
62013-02-08 Carlos O'Donell <carlos@redhat.com>
7
8 * nscd/connection.c (register_traced_file): Comment function.
9 [HAVE_INOTIFY] (union __inev): Define.
10 [HAVE_INOTIFY] (inotify_check_files): New function.
11 [HAVE_INOTIFY] (clear_db_cache): Likewise.
12 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
13 clear_db_cache.
14 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
15
b2d3c3be
CD
162013-02-08 Carlos O'Donell <carlos@redhat.com>
17
18 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
19 loaded if not already and that a failure is permanent.
20
b39949d2
CD
212013-02-08 Carlos O'Donell <carlos@redhat.com>
22
ddacd1db 23 [BZ #15006]
b39949d2
CD
24 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
25 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
26
b2c9eff4
JM
272013-02-08 Joseph Myers <joseph@codesourcery.com>
28
f3aae3f3
JM
29 [BZ #13550]
30 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
31 (CHECK_1_NULL_OK): Likewise.
32 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
33 (__fxstat): Do not use CHECK_1.
34 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
35 <bp-checks.h>.
36 (___fxstat64): Do not use CHECK_1.
37 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
38 <bp-checks.h>.
39 (__fxstatat): Do not use CHECK_1.
40 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
41 <bp-checks.h>.
42 (__fxstatat64): Do not use CHECK_1.
43 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
44 <bp-checks.h>.
45 (__fxstat): Do not use CHECK_1.
46 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
47 <bp-checks.h>.
48 (__fxstatat): Do not use CHECK_1.
49 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
50 <bp-checks.h>.
51 (__getresgid): Do not use CHECK_1.
52 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
53 <bp-checks.h>.
54 (__getresuid): Do not use CHECK_1.
55 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
56 <bp-checks.h>.
57 (__lxstat): Do not use CHECK_1.
58 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
59 <bp-checks.h>.
60 (__old_msgctl): Do not use CHECK_1.
61 (__new_msgctl): Likewise.
62 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
63 <bp-checks.h>.
64 (__new_setrlimit): Do not use CHECK_1.
65 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
66 <bp-checks.h>.
67 (__old_shmctl): Do not use CHECK_1.
68 (__new_shmctl): Likewise.
69 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
70 <bp-checks.h>.
71 (__xstat): Do not use CHECK_1.
72 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
73 (__lxstat): Do not use CHECK_1.
74 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
75 <bp-checks.h>.
76 (___lxstat64): Do not use CHECK_1.
77 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
78 (__old_msgctl): Do not use CHECK_1.
79 (__new_msgctl): Likewise.
80 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
81 <bp-checks.h>.
82 (__gettimeofday): Do not use CHECK_1.
83 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
84 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
85 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
86 <bp-checks.h>.
87 (__gettimeofday): Do not use CHECK_1.
88 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
89 (__old_shmctl): Do not use CHECK_1_NULL_OK.
90 (__new_shmctl): Do not use CHECK_1.
91 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
92 <bp-checks.h>.
93 (do_sigtimedwait): Do not use CHECK_1.
94 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
95 <bp-checks.h>.
96 (do_sigwaitinfo): Do not use CHECK_1.
97 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
98 <bp-checks.h>.
99 (msgctl): Do not use CHECK_1.
100 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
101 <bp-checks.h>.
102 (shmctl): Do not use CHECK_1.
103 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
104 (ustat): Do not use CHECK_1.
105 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
106 <bp-checks.h>.
107 (__fxstat): Do not use CHECK_1.
108 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
109 <bp-checks.h>.
110 (__fxstatat): Do not use CHECK_1.
111 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
112 <bp-checks.h>.
113 (__lxstat): Do not use CHECK_1.
114 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
115 <bp-checks.h>.
116 (__xstat): Do not use CHECK_1.
117 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
118 (__xstat): Do not use CHECK_1.
119 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
120 (___xstat64): Do not use CHECK_1.
121
b2c9eff4
JM
122 [BZ #13550]
123 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
124 definitions.
125 (CHECK_BOUNDS_HIGH): Likewise.
126 * string/strcpy.c: Do not include <bp-checks.h>.
127 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
128
f1d70dad
RM
1292013-02-07 Roland McGrath <roland@hack.frob.com>
130
131 * nscd/nscd-client.h (__nscd_drop_map_ref):
132 Add __attribute__ ((unused)).
133 * nis/nss-nisplus.h (niserr2nss): Likewise.
134
135 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
136 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
137
138 * csu/libc-tls.c (init_static_tls, init_slotinfo):
139 Remove inline keyword.
140 * include/rounding-mode.h (round_away): Likewise.
141 * libio/wfileops.c (adjust_wide_data): Likewise.
142 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
143 (__m128i_strloadu_tolower): Likewise.
144 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
145 (__m128i_strloadu_tolower): Likewise.
146 * time/mktime.c (ydhms_diff): Likewise.
147 * locale/elem-hash.h (elem_hash): Likewise.
148 * locale/setlocale.c (setdata): Likewise.
149 * posix/regex_internal.h (re_string_char_size_at): Likewise.
150 (re_string_wchar_at): Likewise.
151 (bitset_not, bitset_merge, bitset_mask): Likewise.
152 [!(__GNUC__ > 3)] (inline): Remove macro.
153 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
154 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
155 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
156 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
157 * string/memcmp.c (memcmp_bytes): Likewise.
158 * locale/programs/locarchive.c (compute_hashval): Likewise.
159 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
160 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
161 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
162 * nss/getent.c (print_rpc, print_protocols): Likewise.
163 (print_passwd, print_group, print_aliases): Likewise.
164 * nis/nss-nisplus.h (niserr2nss): Likewise.
165 * nscd/connections.c (restart_p): Likewise.
166 Change return type to bool.
167
eab55bfb
RM
1682013-02-05 Roland McGrath <roland@hack.frob.com>
169
7bd642f5
RM
170 * Makeconfig (all-Depend-files): Add existing
171 $(sorted-subdirs:=/Depend) files.
172 (all-subdirs): Remove nss.
173 * sysdeps/unix/inet/Subdirs: Add it here instead.
174 * hesiod/Depend: New file.
175
573c29b2
RM
176 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
177 instead of calling alloca.
178
b2e25af0
RM
179 * io/lseek.c (__lseek): Rename to __libc_lseek.
180 Define __lseek as an alias.
181
eab55bfb
RM
182 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
183
9a0d1941
CD
1842013-02-04 Carlos O'Donell <carlos@redhat.com>
185
186 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
187 else clause and remove check for non-standard endianness.
188
b83bbec4
DM
1892013-02-04 David S. Miller <davem@davemloft.net>
190
191 * sysdeps/sparc/fpu/libm-test-ulps: Update.
192
6277fdab
JM
1932013-02-04 Joseph Myers <joseph@codesourcery.com>
194
195 [BZ #13550]
196 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
197 (__ubp_memchr): Remove prototype.
198 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
199 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
200 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
201 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
202 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
203 Remove alias.
204 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
205 (__ubp_memchr): Likewise.
206 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
207 (__ubp_memchr): Likewise.
208 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
209 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
210 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
211 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
212 CHECK_STRING.
213 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
214 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
215 (__getcwd): Do not use CHECK_STRING.
216 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
217 <bp-checks.h>.
218 (__real_chown): Do not use CHECK_STRING.
219 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
220 <bp-checks.h>.
221 (fchownat): Do not use CHECK_STRING.
222 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
223 CHECK_STRING.
224 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
225 <bp-checks.h>.
226 (__lchown): Do not use CHECK_STRING.
227 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
228 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
229 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
230 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
231 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
232 include <bp-checks.h>.
233 (truncate64): Do not use CHECK_STRING.
234 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
235 <bp-checks.h>.
236 (__real_chown): Do not use CHECK_STRING.
237 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
238 <bp-checks.h>.
239 (__lchown): Do not use CHECK_STRING.
240 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
241 <bp-checks.h>.
242 (__chown): Do not use CHECK_STRING.
243 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
244 <bp-checks.h>.
245 (truncate64): Do not use CHECK_STRING.
246 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
247 Likewise.
248 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
249 (__xmknod): Do not use CHECK_STRING.
250 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
251 <bp-checks.h>.
252 (__xmknodat): Do not use CHECK_STRING.
253 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
254 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
255
903ae060
AS
2562013-02-04 Andreas Schwab <schwab@suse.de>
257
258 [BZ #14142]
259 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
260 * include/netdb.h: Likewise for h_errno.
261 * elf/tst-stackguard1.c: Include <tls.h>.
262
542f9466
JK
2632013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
264
265 * elf/link.h (struct link_map): Extend the l_addr comment.
266 * include/link.h (struct link_map): Likewise.
267
e782a927
JM
2682013-02-01 Joseph Myers <joseph@codesourcery.com>
269
270 [BZ #13550]
271 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
272 (BOUNDED_1): Remove macro.
273 * debug/backtrace.c: Don't include <bp-checks.h>.
274 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
275 (__backtrace): Likewise.
276 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
277 <bp-checks.h>.
278 (__backtrace): Don't use BOUNDED_1.
279 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
280 <bp-checks.h>.
281 (__backtrace): Don't use BOUNDED_1.
282 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
283 (__backtrace): Don't use BOUNDED_1.
284 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
285 (shmat): Don't use BOUNDED_N.
286
8cf28c5e
JM
2872013-01-31 Joseph Myers <joseph@codesourcery.com>
288
3a7ac8a0
JM
289 [BZ #13550]
290 * sysdeps/generic/bp-start.h: Remove file.
291 * csu/libc-start.c: Don't include <bp-start.h>.
292 (LIBC_START_MAIN): Set up __environ directly instead of using
293 INIT_ARGV_and_ENVIRON.
294 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
295 <bp-start.h>.
296
f3499f95
JM
297 [BZ #13550]
298 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
299 definitions.
300 (CHECK_FCNTL): Likewise.
301 (CHECK_N_PAGES): Likewise.
302
32a45bea
JM
303 [BZ #13550]
304 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
305 definitions.
306 (CHECK_SIGSET_NULL_OK): Likewise.
307 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
308 <bp-checks.h>.
309 (sigpending): Don't use CHECK_SIGSET.
310 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
311 <bp-checks.h>.
312 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
313 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
314 <bp-checks.h>.
315 (do_sigsuspend): Don't use CHECK_SIGSET.
316 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
317 use CHECK_SIGSET.
318 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
319 (do_sigwait): Don't use CHECK_SIGSET.
320 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
321 use CHECK_SIGSET.
322 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
323 include <bp-checks.h>.
324 (sigpending): Don't use CHECK_SIGSET.
325 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
326 include <bp-checks.h>.
327 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
328 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
329 <bp-checks.h>.
330 (sigpending): Don't use CHECK_SIGSET.
331 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
332 <bp-checks.h>.
333 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
334
2e8a5c8c
JM
335 [BZ #13550]
336 * sysdeps/generic/bp-semctl.h: Remove file.
337 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
338 <bp-checks.h> and <bp-semctl.h>.
339 (__old_semctl): Don't use CHECK_SEMCTL.
340 (__new_semctl): Likewise.
341 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
342 and <bp-semctl.h>.
343 (__old_semctl): Don't use CHECK_SEMCTL.
344 (__new_semctl): Likewise.
345 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
346 <bp-checks.h> and <bp-semctl.h>.
347 (__old_semctl): Don't use CHECK_SEMCTL.
348 (__new_semctl): Likewise.
349 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
350 <bp-checks.h> and <bp-semctl.h>.
351 (semctl): Don't use CHECK_SEMCTL.
352
c2d54929
JM
353 [BZ #13550]
354 * Makerules (elide-bp-thunks): Remove variable.
355 (elide-routines.oS): Don't use $(elide-bp-thunks).
356 (elide-routines.os): Likewise.
357 (elide-routines.o): Likewise.
358 (elide-routines.op): Likewise.
359 (elide-routines.og): Likewise.
360 (objects): Don't use $(bp-thunks).
361 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
362 include.
363 (common-generated): Do not add s-proto-bp.d.
364 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
365 (int): Likewise.
366 (typ): Likewise.
367 Do not generate makefile rules for bounded-pointer thunks.
368 * sysdeps/generic/bp-thunks.h: Remove file.
369 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
370 * sysdeps/unix/s-proto-bp.S: Likewise.
371
8cf28c5e
JM
372 [BZ #15062]
373 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
374 parts of result separately when argument is not close to line from
375 -i to i and one part of argument is small.
376 * math/k_casinhf.c (__kernel_casinhf): Likewise.
377 * math/k_casinhl.c (__kernel_casinhl): Likewise.
378 * math/libm-test.inc (cacos_test): Add more tests.
379 (casin_test): Likewise.
380 (casinh_test): Likewise.
381 * sysdeps/i386/fpu/libm-test-ulps: Update.
382 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
383
c4e33b8d
DM
3842013-01-31 David S. Miller <davem@davemloft.net>
385
386 * po/de.po: Update from translation team.
387
3b60b421
MK
3882013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
389
390 * time/tzfile.c: Include stdint.h for SIZE_MAX.
391
bb931195
TS
3922013-01-25 Thomas Schwinge <thomas@codesourcery.com>
393
b5a5da23
TS
394 * configure.in (_AC_PROG_CC_C89): New definition.
395 * configure: Regenerate.
396
bb931195
TS
397 * configure.in (AC_PROG_CPP): New definition.
398 * configure: Regenerate.
399
8c53a12c
JM
4002013-01-23 Joseph Myers <joseph@codesourcery.com>
401
402 * debug/tst-backtrace.h: New file.
403 * debug/tst-backtrace2.c: Include tst-backtrace.h.
404 (ret): Remove variable.
405 (x): Likewise.
406 (FAIL): Remove macro.
407 (NO_INLINE): Likewise.
408 (fn1): Use match function instead of strstr.
409 * debug/tst-backtrace3.c: Include tst-backtrace.h.
410 (ret): Remove variable.
411 (x): Likewise.
412 (FAIL): Remove macro.
413 (NO_INLINE): Likewise.
414 (fn): Use match function instead of strstr.
415 * debug/tst-backtrace4.c: Include tst-backtrace.h.
416 (ret): Remove variable.
417 (x): Likewise.
418 (FAIL): Remove macro.
419 (NO_INLINE): Likewise.
420 (handle_signal): Use match function instead of strstr.
421 * debug/tst-backtrace5.c: Include tst-backtrace.h.
422 (ret): Remove variable.
423 (x): Likewise.
424 (FAIL): Remove macro.
425 (NO_INLINE): Likewise.
426 (handle_signal): Use match function instead of strstr.
427
4858fa2a
RM
4282013-01-23 Roland McGrath <roland@hack.frob.com>
429
430 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
431
bae8e7f5
DM
4322013-01-23 David S. Miller <davem@davemloft.net>
433
434 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
435 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
436 argument of CAS if possible.
437 * sysdeps/sparc/sparc64/bits/atomic.h
438 (__arch_compare_and_exchange_val_32_acq): Likewise.
439 (__arch_compare_and_exchange_val_64_acq): Likewise.
440
9cbbc4ae
PT
4412013-01-23 Pino Toscano <toscano.pino@tiscali.it>
442
443 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
444 * sysdeps/posix/ulimit.c: ... this.
92a601b8 445 Include <limits.h>.
67b3f58c 446 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 447
5655a0b5
AC
4482013-01-23 Adam Conrad <adconrad@0c3.net>
449
450 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
451 (LDFLAGS-tst-array5): Likewise.
452
052aff95
JM
4532013-01-23 Joseph Myers <joseph@codesourcery.com>
454
455 [BZ #15036]
456 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
457 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
458 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
459 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
460
7c1e01aa
DM
4612013-01-21 David S. Miller <davem@davemloft.net>
462
463 * sysdeps/sparc/backtrace.c: New file.
464 * sysdeps/sparc/sparc32/backtrace.h: New file.
465 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
466 * sysdeps/sparc/sparc64/backtrace.h: New file.
467 * sysdeps/sparc/sparc64/backtrace.c: Delete.
468 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
469 -funwind-tables.
470
ab087e0a
AS
4712013-01-21 Andreas Schwab <schwab@suse.de>
472
473 [BZ #15020]
474 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
475 closed its stdout.
476
ed689c2f
AS
4772013-01-20 Andreas Schwab <schwab@linux-m68k.org>
478
479 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
480 "mpa2.h".
481 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
482
31d470ac
JM
4832013-01-18 Joseph Myers <joseph@codesourcery.com>
484 Mark Mitchell <mark@codesourcery.com>
485 Tom de Vries <tom@codesourcery.com>
486 Paul Pluzhnikov <ppluzhnikov@google.com>
487
488 * debug/tst-backtrace2.c: New file.
489 * debug/tst-backtrace3.c: Likewise.
490 * debug/tst-backtrace4.c: Likewise.
491 * debug/tst-backtrace5.c: Likewise.
492 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
493 (CFLAGS-tst-backtrace3.c): Likewise.
494 (CFLAGS-tst-backtrace4.c): Likewise.
495 (CFLAGS-tst-backtrace5.c): Likewise.
496 (LDFLAGS-tst-backtrace2): Likewise.
497 (LDFLAGS-tst-backtrace3): Likewise.
498 (LDFLAGS-tst-backtrace4): Likewise.
499 (LDFLAGS-tst-backtrace5): Likewise.
500 (tests): Add new tests tst-backtrace2, tst-backtrace3,
501 tst-backtrace4 and tst-backtrace5.
502
90567f30 5032013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
504 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
505
506 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
507 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
508 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
509 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
510 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
511 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
512 "+r" and remove output regs list as redundant. Add explicit inline
513 asm to specify register of return val to work around compiler codegen
514 bug. Remove (int) cast on return value. Add return type parameter to
515 use in macro so that this macro does not truncate return value for
516 64-bit values.
517 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
518 pass to INTERNAL_VSYSCALL_NCS.
519 (INLINE_VSYSCALL): Add 'long int' as return type to
520 INTERNAL_VSYSCALL_NCS macro invocation.
521 (INTERNAL_VSYSCALL): Add 'long int' as return type to
522 INTERNAL_VSYSCALL_NCS macro invocation.
523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
524
d3b9ea61
SP
5252013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
526
0b57daeb
SP
527 [BZ #14496]
528 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
529 Fix application of SIMD FP exception mask.
530
caa99d06
SP
531 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
532 mp_no from a power of two.
533 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
534 __mpexp_twomm1. Use __pow_mp.
535
d3b9ea61
SP
536 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
537 multiplication.
538
1dbaee3c
DM
5392013-01-17 David S. Miller <davem@davemloft.net>
540
541 * sysdeps/sparc/fpu/libm-test-ulps: Update.
542
728d7b43
JM
5432013-01-17 Joseph Myers <joseph@codesourcery.com>
544
545 [BZ #15023]
546 * include/complex.h: Condition contents on [!_COMPLEX_H].
547 (__kernel_casinhf): New prototype.
548 (__kernel_casinh): Likewise.
549 (__kernel_casinhl): Likewise.
550 * math/Makefile (libm_calls): Add k_casinh.
551 * math/k_casinh.c: New file.
552 * math/k_casinhf.c: Likewise.
553 * math/k_casinhl.c: Likewise.
554 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
555 finite nonzero arguments.
556 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
557 finite nonzero arguments.
558 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
559 finite nonzero arguments.
560 * math/s_casinh.c: Do not include <float.h>.
561 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
562 * math/s_casinhf.c: Do not include <float.h>.
563 (__casinhf): Move code for finite nonzero arguments to
564 k_casinhf.c.
565 * math/s_casinhl.c: Do not include <float.h>.
566 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
567 redefine.
568 (__casinhl): Move code for finite nonzero arguments to
569 k_casinhl.c.
570 * math/libm-test.inc (cacos_test): Add more tests.
571 * sysdeps/i386/fpu/libm-test-ulps: Update.
572 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
573
2a26ef3a
PT
5742013-01-17 Pino Toscano <toscano.pino@tiscali.it>
575
576 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
577 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
578 [!HAVE_MREMAP]: Remove [defined linux] case.
579 * malloc/arena.c: Do not include <malloc-sysdep.h>.
580
a897655d
SP
5812013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
582
583 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
584
881ebe89 5852013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
586
587 * elf/elf.h (R_386_SIZE32): New relocation.
588 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
589 R_386_SIZE32.
590 (elf_machine_rela): Likewise.
591 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
592 R_X86_64_SIZE64 and R_X86_64_SIZE32.
593
59981e9b
JM
5942013-01-17 Joseph Myers <joseph@codesourcery.com>
595
596 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
597 (FP_FAST_FMA): Do not define.
598 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
599 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
600 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
601 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
602 !_SOFT_FLOAT]: Likewise.
603 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
604 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
605 value.
606 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
607 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
608 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
609 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
610 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
611 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
612 file.
613
cfa8054f
AS
6142013-01-16 Andreas Schwab <schwab@suse.de>
615
616 [BZ #14327]
617 * include/stdlib.h (__mktemp): Add declaration.
618 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
619 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
620
dd930cc5
SP
6212013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
622
881ebe89
SP
623 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
624 definitions.
625 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
626 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
627 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
628 definitions here.
629 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
630 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
631 definitions.
632 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
633 and ONE.
634 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
635 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
636 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
637 definitions.
638 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
639 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
640 definitions.
641 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 642
dd930cc5
SP
643 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
644
c19a9f89
DM
6452013-01-15 David S. Miller <davem@davemloft.net>
646
1aa61767
DM
647 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
648 trunc{,f} to libm-sysdep_routes.
649 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
650 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
651 file.
652 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
653 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
654 file.
655 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
656 file.
657 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
658 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
659 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
660 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
661 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
662 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
663 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
664 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
665
c42d5e98
DM
666 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
667 nearbyint{,f} to libm-sysdep_routes.
668 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
669 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
670 New file.
671 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
672 file.
673 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
674 New file.
675 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
676 file.
677 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
678 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
679 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
680 file.
681 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
682 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
683 file.
684 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
685 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
686 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
687
c19a9f89
DM
688 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
689 libc_feholdexcept and libc_fesetenv.
690
357679d2
MF
6912013-01-15 Mike Frysinger <vapier@gentoo.org>
692
693 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
694
65a82e3d
DM
6952013-01-14 David S. Miller <davem@davemloft.net>
696
8b954ab9
DM
697 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
698 (SPARC_ASM_VIS2_IFUNC): Likewise.
699 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
700 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
701 use of 'siam' instruction.
702 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
703 Likewise.
704 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
705 Likewise.
706 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
707 Likewise.
708 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
709 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
710 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
711 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
712 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
713 file.
714 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
715 file.
716 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
717 file.
718 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
719 file.
720 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
721 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
722 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
723 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
724 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
725 new VIS2 routines.
726 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
727 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
728 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
729 Likewise.
730 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
731 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
732 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
733 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
734 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
735 routines to libm-sysdep_routines.
736 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
737
65a82e3d
DM
738 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
739 fdim/fdimf to libm-sysdep_routines.
740 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
741 file.
742 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
743 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
744 file.
745 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
746 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
747 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
748 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
749 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
750 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
751 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
752
e34ab705
SP
7532013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
754
2a91b573
SP
755 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
756 to optimize copies.
757
1066a534
SP
758 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
759 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
760 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
761
e34ab705
SP
762 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
763 local variable MPTWO.
764 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
765 Likewise.
766
aba5e596
MF
7672013-01-13 Mike Frysinger <vapier@gentoo.org>
768
769 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
770 GLOB_NOESCAPE.
771
e557e9e5
MF
7722013-01-13 Mike Frysinger <vapier@gentoo.org>
773
774 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
775
0428cec9
MF
7762013-01-13 Mike Frysinger <vapier@gentoo.org>
777
778 * manual/pattern.texi (glob_t): Document gl_flags.
779 (glob64_t): Likewise.
780
8794a964
DM
7812013-01-11 David S. Miller <davem@davemloft.net>
782
66438c3f
RM
783 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
784 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
785 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
786 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
787 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
788 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
789 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
790 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
791 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
792 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
793 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
794 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
795 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
796
4ae4244d
DM
797 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
798 sparc V9 rather than using V8 code.
799 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
800 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
801
8794a964
DM
802 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
803 Move to...
804 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
805 Here.
806
6270516e
RM
8072013-01-11 Roland McGrath <roland@hack.frob.com>
808
809 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
810 not in the main loop.
811 * configure: Regenerated.
812
6a57d931
JM
8132013-01-11 Joseph Myers <joseph@codesourcery.com>
814
815 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
816 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
817 to just #else.
818 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
819 [!__GLIBC_HAVE_LONG_LONG] case.
820 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
821 condition to just #else.
822 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
823 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
824 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
825 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
826 unconditional.
827 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
828 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
829 #elif condition to just #else.
830 * sysdeps/unix/sysv/linux/sys/sysmacros.h
831 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
832 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
833 #elif condition to just #else.
834
0e8529e9
SE
8352013-01-11 Steve Ellcey <sellcey@mips.com>
836
837 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
838 (EF_MIPS_ARCH_64): Fix value.
839 (EF_MIPS_ARCH_32R2): New.
840 (EF_MIPS_ARCH_64R2): New.
841
740b3dbe
L
8422013-01-11 H.J. Lu <hongjiu.lu@intel.com>
843
844 * Makeconfig (+link-pie-before-libc): New.
845 (+link-pie-after-libc): Likewise.
846 (+link-pie-tests): Likewise.
847 (+link-pie): Rewritten.
848 (link-before-libc): Remove $(config-LDFLAGS).
849 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
850 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
851 (config-LDFLAGS): Renamed to ...
852 (rtld-LDFLAGS): This.
853 (rtld-tests-LDFLAGS): New macro.
854 (link-libc-rpath-link): Likewise.
855 (link-libc-tests-rpath-link): Likewise.
856 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
857 (link-libc): Prepand $(link-libc-rpath-link).
858 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
859 (test-program-prefix): New macro.
860 (test-via-rtld-prefix): Likewise.
861 (test-program-cmd): Likewise.
862 (host-test-program-cmd): Likewise.
863 * Makefile ($(common-objpfx)testrun.sh): Replace
864 $(run-program-prefix) with $(test-program-prefix).
865 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
866 $(rtld-LDFLAGS).
867 ($(common-objpfx)shlib.lds): Likewise.
868 (build-module-helper): Likewise.
869 ($(common-objpfx)format.lds): Likewise.
870 * Rules (binaries-pie-tests): New.
871 (binaries-pie-notests): Likewise.
872 (binaries-pie): Rewritten.
873 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
874 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
875 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
876 (make-test-out): Replace $(host-built-program-cmd) with
877 $(host-test-program-cmd).
878 * config.make.in (build-hardcoded-path-in-tests): New variable.
879 * configure.in (--enable-hardcoded-path-in-tests): New configure
880 option.
881 (hardcoded_path_in_tests): New AC_SUBST.
882 * configure: Regenerated.
883 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
884 $(built-program-cmd) with $(test-program-cmd).
885 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
886 (test_program_cmd): This.
887 * elf/Makefile ($(objpfx)order.out): Run test with
888 $(test-program-prefix).
889 ($(objpfx)order2.out): Likewise.
890 ($(objpfx)tst-initorder.out): Likewise.
891 ($(objpfx)tst-initorder2.out): Likewise.
892 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
893 $(test-program-cmd).
894 ($(objpfx)tst-array1-static.out): Likewise.
895 ($(objpfx)tst-array2.out): Likewise.
896 ($(objpfx)tst-array3.out): Likewise.
897 ($(objpfx)tst-array4.out): Likewise.
898 ($(objpfx)tst-array5.out): Likewise.
899 ($(objpfx)tst-array5-static.out): Likewise.
900 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
901 $(test-program-cmd).
902 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
903 $(run-program-prefix) with $(test-program-prefix).
904 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
905 (test_program_prefix): This.
906 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
907 $(run-program-prefix) with $(test-program-prefix).
908 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
909 (test_program_prefix): This.
910 * iconvdata/tst-tables.sh: Likewise.
911 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
912 $(run-program-prefix) with $(test-program-prefix).
913 ($(objpfx)tst-translit.out): Likewise.
914 ($(objpfx)tst-gettext2.out): Likewise.
915 ($(objpfx)tst-gettext4.out): Likewise.
916 ($(objpfx)tst-gettext6.out): Likewise.
917 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
918 (test_program_prefix): This.
919 * intl/tst-gettext2.sh: Likewise.
920 * intl/tst-gettext4.sh Likewise.
921 * intl/tst-gettext6.sh: Likewise.
922 * intl/tst-translit.sh: Likewise.
923 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
924 with $(test-program-cmd).
925 * libio/Makefile ($(objpfx)test-freopen.out): Replace
926 $(run-program-prefix) with $(test-program-prefix).
927 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
928 (test_program_prefix): This.
929 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
930 $(run-program-prefix) with $(test-program-prefix).
931 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
932 (test_program_prefix): This.
933 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
934 * posix/Makefile ($(objpfx)globtest.out): Replace
935 $(run-via-rtld-prefix) and $(test-wrapper) with
936 $(test-program-prefix) and $(test-via-rtld-prefix).
937 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
938 $(test-program-prefix).
939 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
940 $(host-test-program-cmd).
941 (tst-spawn-ARGS): Likewise.
942 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
943 $(test-program-prefix).
944 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
945 (test_via_rtld_prefix): This.
946 (test_wrapper): Renamed to ...
947 (test_program_prefix): This.
948 (run_program_prefix): Replaced by test_program_prefix.
949 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
950 (test_program_prefix): This.
951 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
952 with $(host-test-program-cmd).
953 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
954 $(run-program-prefix) with $(test-program-prefix).
955 ($(objpfx)tst-printf.out): Likewise.
956 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
957 $(test-program-cmd).
958 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
959 (test_program_prefix): This.
960 * stdio-common/tst-unbputc.sh: Likewise.
961 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
962 $(run-program-prefix) with $(test-program-prefix).
963 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
964 (test_program_prefix): This.
965 * string/Makefile ($(objpfx)tst-svc.out): Replace
966 $(built-program-cmd) with $(test-program-cmd).
967
c6fe55cf
AJ
9682013-01-11 Andreas Jaeger <aj@suse.de>
969
970 [BZ #15003]
971 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
972 value. Sync with Linux 3.7.
973
9e6919c8
DM
9742013-01-10 David S. Miller <davem@davemloft.net>
975
976 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
977 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
978 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
979
1c9f1a02
RM
9802013-01-10 Roland McGrath <roland@hack.frob.com>
981
982 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
983 never set.
984 * configure: Regenerated.
985
b9de2dde
DM
9862013-01-10 David S. Miller <davem@davemloft.net>
987
988 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
989 sparc V9 rather than using V8 code.
990 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
991 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
992
e7f68ef4
RM
9932013-01-10 Roland McGrath <roland@hack.frob.com>
994
995 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
996 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
997 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
998 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
999 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
1000 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
1001 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
1002 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
1003 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
1004 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
1005 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
1006 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
1007 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
1008 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
1009 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
1010 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
1011 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
1012 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
1013 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
1014 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
1015 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
1016 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
1017 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
1018 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
1019 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
1020 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
1021 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
1022
5a47cc9c
DM
10232013-01-10 David S. Miller <davem@davemloft.net>
1024
1025 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1026
4cf8f209
L
10272013-01-10 H.J. Lu <hongjiu.lu@intel.com>
1028
1029 * posix/Makefile (tests-static): New variable.
1030 (tests): Add $(tests-static).
1031 (tst-exec-static-ARGS): New variable.
1032 (tst-spawn-static-ARGS): Likewise.
1033 * posix/tst-exec-static.c: New file.
1034 * posix/tst-spawn-static.c: Likewise.
1035 * posix/tst-exec.c: Support run directly.
1036 * posix/tst-spawn.c: Likewise.
1037
fed0faa1
JM
10382013-01-10 Joseph Myers <joseph@codesourcery.com>
1039
828beb13
JM
1040 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
1041 long.
1042 * math/bits/mathcalls.h (llrint): Likewise.
1043 (llround): Likewise.
1044 * stdlib/stdlib.h (struct drand48_data): Likewise.
1045 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
1046 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
1047 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
1048 Likewise.
1049 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
1050 Likewise.
1051 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
1052 (elf_greg_t): Likewise.
1053 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
1054 (__jmp_buf): Likewise.
1055 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
1056 definitions.
1057 (llrint): Likewise, for all definitions.
1058 (llrintl): Likewise.
1059
fed0faa1
JM
1060 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
1061 Remove [__GNUC__] condition.
1062 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
1063 condition to just [__USE_ISOC99].
1064 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
1065
1a20cb20
L
10662013-01-10 H.J. Lu <hongjiu.lu@intel.com>
1067
1068 [BZ #14200]
1069 * sysdeps/unix/sysv/linux/x86/bits/environments.h
1070 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
1071 defined.
1072 (_POSIX_V6_ILP32_OFF32): Likewise.
1073 (_XBS5_ILP32_OFF32): Likewise.
1074 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
1075 (__ILP32_OFFBIG_LDFLAGS): Likewise.
1076
751b85f7
SP
10772013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1078
7490eb81
SP
1079 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
1080
751b85f7
SP
1081 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
1082 doubles __mpexp_twomm1. Adjust usage.
1083 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
1084 Remove.
1085
988197f0
AS
10862013-01-10 Andreas Schwab <schwab@suse.de>
1087
1088 [BZ #14964]
1089 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
1090 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
1091
e83d7298
DM
10922013-01-09 David S. Miller <davem@davemloft.net>
1093
034ed64b 1094 [BZ #15003]
e83d7298
DM
1095 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
1096 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
1097 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
1098 TCP_FASTOPEN): Define.
1099 (tcp_repair_opt): New structure.
1100 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
1101 enum values.
1102 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
1103 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
1104 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
1105 (tcp_cookie_transactions): New structure.
1106
d5e0b9bd
AB
11072013-01-09 Anton Blanchard <anton@samba.org>
1108
1109 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
1110 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
1111 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
1112 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
1113
0c07e3ea
JM
11142013-01-09 Joseph Myers <joseph@codesourcery.com>
1115
1116 * include/features.h (__USE_ANSI): Remove.
1117
232f7002
RM
11182013-01-09 Roland McGrath <roland@hack.frob.com>
1119
ad98e30c
RM
1120 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
1121
232f7002
RM
1122 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
1123
950c99ca
SP
11242013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
1125
b5792741
SP
1126 * sysdeps/s390/fpu/libm-test-ulps: Update.
1127
47cf2278
SP
1128 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1129
950c99ca
SP
1130 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
1131 (__acr): Likewise.
1132 (__cpy): Likewise.
1133 (norm): Likewise.
1134 (denorm): Likewise.
1135 (__mp_dbl): Likewise.
1136 (__dbl_mp): Likewise.
1137 (add_magnitudes): Likewise.
1138 (sub_magnitudes): Likewise.
1139 (__add): Likewise.
1140 (__sub): Likewise.
1141 (__mul): Likewise.
1142 (__inv): Likewise.
1143 (__dvd): Likewise.
1144 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
1145 (__acr): Likewise.
1146 (__cpy): Likewise.
1147 (norm): Likewise.
1148 (denorm): Likewise.
1149 (__mp_dbl): Likewise.
1150 (__dbl_mp): Likewise.
1151 (add_magnitudes): Likewise.
1152 (sub_magnitudes): Likewise.
1153 (__add): Likewise.
1154 (__sub): Likewise.
1155 (__mul): Likewise.
1156 (__inv): Likewise.
1157 (__dvd): Likewise.
1158 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
1159 (__acr): Likewise.
1160 (__cpy): Likewise.
1161 (norm): Likewise.
1162 (denorm): Likewise.
1163 (__mp_dbl): Likewise.
1164 (__dbl_mp): Likewise.
1165 (add_magnitudes): Likewise.
1166 (sub_magnitudes): Likewise.
1167 (__add): Likewise.
1168 (__sub): Likewise.
1169 (__mul): Likewise.
1170 (__inv): Likewise.
1171 (__dvd): Likewise.
1172
eede9df9
JM
11732013-01-08 Joseph Myers <joseph@codesourcery.com>
1174
1175 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
1176 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
1177 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
1178 2 && __USE_EXTERN_INLINES]: Likewise.
1179
c40ea3d9
AJ
11802013-01-08 Andreas Jaeger <aj@suse.de>
1181
1182 [BZ# 14985]
1183 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
1184 Remove.
1185 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
1186 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
1187
2ccdea26
AB
11882013-01-07 Anton Blanchard <anton@samba.org>
1189
1190 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
1191 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
1192 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
1193 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
1194 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
1195 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
1196 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
1197 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
1198 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
1199 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
1200 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
1201 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
1202 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
1203 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
1204 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
1205 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
1206 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
1207 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
1208 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
1209 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
1210 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
1211 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
1212 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
1213 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
1214 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
1215 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
1216 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
1217 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
1218 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
1219 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
1220 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
1221 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
1222 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
1223 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
1224 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
1225 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
1226 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
1227 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
1228 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
1229 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
1230 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
1231 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
1232 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
1233
a9708fed
JM
12342013-01-07 Joseph Myers <joseph@codesourcery.com>
1235
375607b9
JM
1236 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
1237 (__MALLOC_PMT): Likewise.
1238 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
1239 [__GNUC__], only on [_LIBC].
1240 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
1241 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
1242 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
1243 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
1244 forward declaration.
1245 (realloc_hook_ini): Likewise.
1246 (memalign_hook_ini): Likewise.
1247 (__libc_memalign): Do not use __MALLOC_PMT in variable
1248 declaration.
1249 (__libc_valloc): Likewise.
1250 (__libc_pvalloc): Likewise.
1251 (__libc_calloc): Likewise.
1252 (__posix_memalign): Likewise.
1253
a9708fed
JM
1254 [BZ #14996]
1255 * math/s_casinh.c: Include <float.h>.
1256 (__casinh): Do not do computation with squaring and square root
1257 for large arguments.
1258 * math/s_casinhf.c: Include <float.h>.
1259 (__casinhf): Do not do computation with squaring and square root
1260 for large arguments.
1261 * math/s_casinhl.c: Include <float.h>.
1262 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
1263 (__casinhl): Do not do computation with squaring and square root
1264 for large arguments.
1265 * math/libm-test.inc (casin_test): Add more tests.
1266 (casinh_test): Likewise.
1267 * sysdeps/i386/fpu/libm-test-ulps: Update.
1268 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1269
afec409a
L
12702013-01-04 H.J. Lu <hongjiu.lu@intel.com>
1271
1272 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
1273 (__x86_64_raw_data_cache_size): Likewise.
1274 (__x86_64_data_cache_size_half): Likewise.
1275 (__x86_64_raw_data_cache_size_half): Likewise.
1276 (__x86_64_shared_cache_size): Likewise.
1277 (__x86_64_raw_shared_cache_size): Likewise.
1278 (__x86_64_shared_cache_size_half): Likewise.
1279 (__x86_64_raw_shared_cache_size_half): Likewise.
1280 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
1281 to ...
1282 (__x86_data_cache_size): This.
1283 (__x86_64_raw_data_cache_size): Renamed to ...
1284 (__x86_raw_data_cache_size): This.
1285 (__x86_64_data_cache_size_half): Renamed to ...
1286 (__x86_data_cache_size_half): This.
1287 (__x86_64_raw_data_cache_size_half): Renamed to ...
1288 (__x86_raw_data_cache_size_half): This.
1289 (__x86_64_shared_cache_size): Renamed to ...
1290 (__x86_shared_cache_size): This.
1291 (__x86_64_raw_shared_cache_size): Renamed to ...
1292 (__x86_raw_shared_cache_size): This.
1293 (__x86_64_shared_cache_size_half): Renamed to ...
1294 (__x86_shared_cache_size_half): This.
1295 (__x86_64_raw_shared_cache_size_half): Renamed to ...
1296 (__x86_raw_shared_cache_size_half): This.
1297 * sysdeps/x86_64/memcpy.S: Updated.
1298 * sysdeps/x86_64/memset.S: Likewise.
1299 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
1300 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
1301 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
1302
0b3986d0
DM
13032013-01-04 David S. Miller <davem@davemloft.net>
1304
1305 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1306
e47686e9
AS
13072013-01-04 Andreas Schwab <schwab@linux-m68k.org>
1308
d643bac1
AS
1309 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
1310 1 to avoid redefinition warning.
1311 (__USE_GNU): Don't define.
1312 (init_signaling_nan): Protoize.
1313
e47686e9
AS
1314 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1315
b18decba
SP
13162013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1317
fffb407f
SP
1318 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
1319 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
1320 (__cpymn): Likewise.
1321 (norm): Remove commented code.
1322 (denorm): Likewise.
1323 (__mp_dbl): Likewise.
1324 (__inv): Likewise.
1325 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
1326 (__cpymn): Likewise.
1327 (norm): Remove commented code.
1328 (denorm): Likewise.
1329 (__mp_dbl): Likewise.
1330 (__inv): Likewise.
1331
b18decba
SP
1332 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
1333 mp_no value for 1.0 and 2.0.
1334 (norm): Use RADIXI instead of radixi.d.
1335 (denorm): Likewise.
1336 (__mul): Use 0.0 instead of zero.d.
1337 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
1338 mp_no value for 1.0 and 2.0.
1339 (norm): Use RADIXI instead of radixi.d.
1340 (denorm): Likewise.
1341 (__mul): Use 0.0 instead of zero.d.
1342
cdc1c96f
JM
13432013-01-04 Joseph Myers <joseph@codesourcery.com>
1344
1345 [BZ #14994]
1346 * math/s_casinh.c (__casinh): Reduce finite argument to first
1347 quadrant then set signs of results at the end.
1348 * math/s_casinhf.c (__casinhf): Likewise.
1349 * math/s_casinhl.c (__casinhl): Likewise.
1350 * math/libm-test.inc (casin_test): Add more tests.
1351 (casinh_test): Likewise.
1352 * sysdeps/i386/fpu/libm-test-ulps: Update.
1353 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1354
302913e1
SP
13552013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1356
6420d207
SP
1357 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
1358
a9e48ab4
SP
1359 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
1360
b7837264
SP
1361 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
1362 declarations.
1363 (denorm): Likewise.
1364 (__mp_dbl): Likewise.
1365 (__inv): Likewise.
1366
f8af25d2
SP
1367 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
1368 and adjust the header comment.
1369
302913e1
SP
1370 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
1371 variable name from declaration.
1372
5d7dd1ca
L
13732013-01-03 H.J. Lu <hongjiu.lu@intel.com>
1374
1375 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1376 Initialize COMMON_CPUID_INDEX_7 element.
1377 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
1378 (CPUID_RTM): Likewise.
1379 (HAS_RTM): Likewise.
1380 (COMMON_CPUID_INDEX_7): New enum.
1381
2f5f40f4
AS
13822013-01-03 Andreas Schwab <schwab@linux-m68k.org>
1383
1384 [BZ #14981]
1385 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
1386 size is zero, record memory as freed.
1387
4056f4a0
AJ
13882013-01-03 Andreas Jaeger <aj@suse.de>
1389
1390 * po/ia.po: Add new Interlingua translation.
1391
ab15736f 13922012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
1393
1394 * locale/programs/localedef.c: Fix description of '--posix' flag.
1395
568035b7
JM
13962013-01-02 Joseph Myers <joseph@codesourcery.com>
1397
e6898b8d
JM
1398 * NEWS: Update dates in second copyright notice.
1399 * README: Update copyright dates in example.
1400 * manual/libc.texinfo: Update copyright dates.
1401 * scripts/test-installation.pl: Update copyright date in --version
1402 output.
1403
0e2f9562
JM
1404 * hurd/ctty-input.c: Fix copyright notice formatting.
1405 * hurd/ctty-output.c: Likewise.
1406 * hurd/dtable.c: Likewise.
1407 * hurd/hurd-raise.c: Likewise.
1408 * hurd/hurdprio.c: Likewise.
1409 * hurd/msgportdemux.c: Likewise.
1410 * misc/sys/file.h: Likewise.
1411 * misc/sys/ioctl.h: Likewise.
1412 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
1413 * sysdeps/mach/hurd/chdir.c: Likewise.
1414 * sysdeps/mach/hurd/fchdir.c: Likewise.
1415 * sysdeps/mach/hurd/rename.c: Likewise.
1416 * sysdeps/mach/hurd/rmdir.c: Likewise.
1417 * sysdeps/mach/hurd/seekdir.c: Likewise.
1418 * sysdeps/mach/hurd/setsid.c: Likewise.
1419 * sysdeps/posix/wait3.c: Likewise.
1420
568035b7
JM
1421 * All files with FSF copyright notices: Update copyright dates
1422 using scripts/update-copyrights.
1423 * intl/plural.c: Regenerated.
1424 * locale/programs/charmap-kw.h: Likewise.
1425 * locale/programs/locfile-kw.h: Likewise.
1426
da08f647
SP
14272013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1428
0f5477af
SP
1429 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
1430 four values.
1431
44e0d4c2
SP
1432 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
1433 calculation loop and add branch prediction.
1434
4d55b4e5
SP
1435 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
1436 check access beyond bounds of m1np.
1437
da08f647
SP
1438 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
1439 MPTWO.
1440 (__inv): Remove local variable MPTWO to use the global
1441 constant.
1442 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
1443 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
1444 variable MPTWO.
1445 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
1446 MP3HALFS static const.
1447
8e051029
DM
14482013-01-01 David S. Miller <davem@davemloft.net>
1449
1450 * po/ca.po: Update from translation team.
1451
f4cf5f2d
JM
14522013-01-01 Joseph Myers <joseph@codesourcery.com>
1453
1454 * scripts/update-copyrights: New file.
1455 * Makeconfig: Reformat copyright notice.
1456 * ctype/ctype.h: Likewise.
1457 * debug/swprintf_chk.c: Likewise.
1458 * elf/dl-cache.c: Likewise.
1459 * elf/dl-debug.c: Likewise.
1460 * elf/dl-object.c: Likewise.
1461 * grp/initgroups.c: Likewise.
1462 * hurd/Makefile: Likewise.
1463 * hurd/hurd/signal.h: Likewise.
1464 * hurd/hurdfault.c: Likewise.
1465 * hurd/hurdioctl.c: Likewise.
1466 * hurd/hurdlookup.c: Likewise.
1467 * hurd/intr-msg.c: Likewise.
1468 * iconv/gconv_open.c: Likewise.
1469 * libio/swprintf.c: Likewise.
1470 * locale/lc-ctype.c: Likewise.
1471 * locale/nl_langinfo.c: Likewise.
1472 * mach/Machrules: Likewise.
1473 * mach/Makefile: Likewise.
1474 * malloc/obstack.h: Likewise.
1475 * manual/Makefile: Likewise.
1476 * manual/tsort.awk: Likewise.
1477 * misc/bits/stab.def: Likewise.
1478 * nis/nis_print_group_entry.c: Likewise.
1479 * nis/nis_table.c: Likewise.
1480 * nis/nss_compat/compat-pwd.c: Likewise.
1481 * nis/nss_compat/compat-spwd.c: Likewise.
1482 * po/Makefile: Likewise.
1483 * posix/fnmatch.c: Likewise.
1484 * posix/regex.h: Likewise.
1485 * resolv/Makefile: Likewise.
1486 * resolv/nss_dns/dns-network.c: Likewise.
1487 * resolv/res_hconf.c: Likewise.
1488 * scripts/gen-sorted.awk: Likewise.
1489 * soft-fp/soft-fp.h: Likewise.
1490 * stdio-common/printf.h: Likewise.
1491 * stdlib/monetary.h: Likewise.
1492 * stdlib/random.c: Likewise.
1493 * stdlib/random_r.c: Likewise.
1494 * sysdeps/generic/Makefile: Likewise.
1495 * sysdeps/gnu/Makefile: Likewise.
1496 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
1497 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
1498 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
1499 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
1500 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
1501 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
1502 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
1503 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
1504 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
1505 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
1506 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
1507 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
1508 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
1509 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
1510 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
1511 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
1512 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
1513 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
1514 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
1515 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
1516 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
1517 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
1518 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
1519 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
1520 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
1521 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
1522 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
1523 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
1524 * sysdeps/mach/hurd/errnos.awk: Likewise.
1525 * sysdeps/mach/hurd/fork.c: Likewise.
1526 * sysdeps/mach/hurd/getcwd.c: Likewise.
1527 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
1528 * sysdeps/mach/hurd/mmap.c: Likewise.
1529 * sysdeps/mach/hurd/utimes.c: Likewise.
1530 * sysdeps/mach/hurd/xmknod.c: Likewise.
1531 * sysdeps/posix/profil.c: Likewise.
1532 * sysdeps/posix/readdir_r.c: Likewise.
1533 * sysdeps/powerpc/bits/mathdef.h: Likewise.
1534 * sysdeps/powerpc/bits/setjmp.h: Likewise.
1535 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
1536 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
1537 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
1538 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
1539 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
1540 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
1541 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
1542 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
1543 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
1544 * sysdeps/pthread/lio_listio.c: Likewise.
1545 * sysdeps/sparc/dl-procinfo.h: Likewise.
1546 * sysdeps/unix/i386/sysdep.S: Likewise.
1547 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
1548 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
1549 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
1550 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
1551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
1552 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
1553 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
1554 * sysdeps/unix/sysv/linux/speed.c: Likewise.
1555 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
1556 * sysdeps/wordsize-32/divdi3.c: Likewise.
1557 * time/sys/time.h: Likewise.
1558 * wcsmbs/Makefile: Likewise.
1559
0549fbba
DM
15602013-01-01 David S. Miller <davem@davemloft.net>
1561
a141f1a7
DM
1562 * po/fr.po: Update from translation team.
1563
0549fbba
DM
1564 * catgets/gencat.c: Update copyright year.
1565 * csu/version.c: Likewise.
1566 * debug/catchsegv.sh: Likewise.
1567 * debug/pcprofiledump.c: Likewise.
1568 * debug/xtrace.sh: Likewise.
1569 * elf/ldconfig.c: Likewise.
1570 * elf/ldd.bash.in: Likewise.
1571 * elf/pldd.c: Likewise.
1572 * elf/sotruss.ksh: Likewise.
1573 * elf/sprof.c: Likewise.
1574 * iconv/iconv_prog.c: Likewise.
1575 * iconv/iconvconfig.c: Likewise.
1576 * locale/programs/locale.c: Likewise.
1577 * locale/programs/localedef.c: Likewise.
1578 * login/programs/pt_chown.c: Likewise.
1579 * malloc/memusage.sh: Likewise.
1580 * malloc/memusagestat.c: Likewise.
1581 * malloc/mtrace.pl: Likewise.
1582 * nscd/nscd.c: Likewise.
1583 * nss/getent.c: Likewise.
1584 * nss/makedb.c: Likewise.
1585 * posix/getconf.c: Likewise.
1586
18ea052c
SP
15872012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
1588
1589 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
1590 numbers.
1591
9c89fca6
MF
15922012-12-30 Mike Frysinger <vapier@gentoo.org>
1593
1594 * math/bits/mathcalls.h (modf): Use __nonnull.
1595
085ec079
SP
15962012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1597
1598 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
1599 (split): Use macro CN instead of the bare value.
1600 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
1601 could be used.
1602 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
1603 instead of the bare value.
1604 (power1): Likewise.
1605
6d9f97e1
SP
16062012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1607
d63f73be
SP
1608 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
1609 __ATAN_TWOM.
1610 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
1611
6d9f97e1
SP
1612 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
1613 their values.
1614 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
1615 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
1616 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
1617 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
1618
4c4febf5
AJ
16192012-12-28 Andreas Jaeger <aj@suse.de>
1620
af5843ef
AJ
1621 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
1622 values are from Linux 3.7.
1623
4c4febf5
AJ
1624 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
1625 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
1626
99136f82
SP
16272012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1628
2f216c3c 1629 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
1630 TRUE case.
1631
99136f82
SP
1632 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
1633 (norm): Likewise.
1634 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
1635 variables with preprocessor constants.
1636 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
1637 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
1638 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
1639
7fffbdff
BH
16402012-12-27 Bruno Haible <bruno@clisp.org>
1641
1642 [BZ #14317]
1643 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
1644 only if needed.
1645
b76eb5f0
SP
16462012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1647
31a7fe5c
SP
1648 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
1649 and use variable directly.
1650 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
1651
b76eb5f0
SP
1652 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
1653 MPONE.
1654 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
1655 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
1656 variable MPONE.
1657 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
1658 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
1659 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
1660 include directive. Remove local variable MPONE.
1661 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
1662 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
1663 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
1664
2c8bfe7d
DM
16652012-12-25 David S. Miller <davem@davemloft.net>
1666
1667 * version.h (RELEASE): Set to "development".
1668 (VERSION): Set to "2.17.90".
1669 * NEWS: Add 2.18 section.
1670
147d03b0
DM
16712012-12-21 David S. Miller <davem@davemloft.net>
1672
1673 * po/hr.po: Update from translation team.
1674
a8ebb2b9
AK
16752012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1676
1677 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
1678
95b4f1b6
SE
16792012-12-19 Steve Ellcey <sellcey@mips.com>
1680
b2d94007 1681 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 1682
cedb2a90
MS
16832012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1684
1685 * manual/contrib.texi (Contributors): Spelling correction.
1686
bbf527d6
DM
16872012-12-15 David S. Miller <davem@davemloft.net>
1688
1689 * po/ru.po: Update from translation team.
1690
bc38c906
DM
16912012-12-13 David S. Miller <davem@davemloft.net>
1692
85429b1a
DM
1693 * NEWS: Mention IFUNC testsuite enhancements.
1694
d283e353
DM
1695 * po/pl.po: Update from translation team.
1696 * po/bg.po: Likewise.
1697
bc38c906
DM
1698 * manual/contrib.texi (Contributors): Update entries for Hongjiu
1699 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
1700
a181b0d7
DM
17012012-12-11 David S. Miller <davem@davemloft.net>
1702
4641d57e
DM
1703 * po/sv.po: Update from translation team.
1704
f7bc6495
DM
1705 * po/vi.po: Update from translation team.
1706
6fc9048f
DM
1707 * po/cs.po: Update from translation team.
1708
a181b0d7
DM
1709 * po/de.po: Update from translation team.
1710 * po/eo.po: Likewise.
1711 * po/nl.po: Likewise.
1712
f70bfe80
SP
17132012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1714
3c8b4190
SP
1715 [BZ #14246]
1716 * manual/argp.texi (Argp Helper Functions): Move node to follow
1717 Argp Parsing State.
1718
f70bfe80
SP
1719 [BZ #14872]
1720 * manual/conf.texi (Limits on File System Capacity): Mention if
1721 terminating null is included in the max size.
1722
188f0adf
AJ
17232012-12-10 Andreas Jaeger <aj@suse.de>
1724
1725 * po/cs.po: Update from translation team.
1726
56e7d3ad
SP
17272012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
1728
1729 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
1730 void pointer and cast to uintptr_t.
1731 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
1732 path.
1733 * sysdeps/s390/s390-64/memcpy.S: Likewise.
1734 * sysdeps/s390/s390-64/memset.S: Likewise.
1735
76f2d2ea 17362012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
1737
1738 [BZ #14833]
1739 * menual/message.texi (Message Translation): Fix typos.
1740 (Helper programs for gettext): Likewise.
1741
67cbf9a2
AS
17422012-12-07 Andreas Schwab <schwab@linux-m68k.org>
1743
1744 [BZ #14898]
1745 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
1746 Change to -1.
1747
682d0e9a
DM
17482012-12-07 David S. Miller <davem@davemloft.net>
1749
1750 * po/libc.pot: Update.
1751
573cd484
RH
17522012-12-07 Richard Henderson <rth@redhat.com>
1753
7e9da188 1754 [BZ #10114]
573cd484
RH
1755 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
1756 normal/normal case to before the switch.
1757 (_FP_DIV): Likewise.
1758
e933a943
MF
17592012-12-06 Carlos O'Donell <carlos@systemhalted.org>
1760 Mike Frysinger <vapier@gentoo.org>
1761
1762 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
1763 check for __NR_fadvise64_64.
1764
82123268
CM
17652012-12-06 Chris Metcalf <cmetcalf@tilera.com>
1766
1767 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
1768 0, not just to plain "0" as a statement.
1769 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
1770 with cw.
1771
d9814526
JM
17722012-12-06 Joseph Myers <joseph@codesourcery.com>
1773
1774 * NEWS: Use sourceware.org in Bugzilla URL.
1775
7728c574
SP
17762012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
1777
f16946dd
SP
1778 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
1779 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
1780
5704bbcb
SP
1781 * stdio-common/tst-put-error.c (do_test): Add newline to the
1782 padded test to ensure flush.
1783
17aa0516
JL
17842012-12-05 Jeff Law <law@redhat.com>
1785
1786 * sunrpc/etc.rpc (fedfs_admin): Add entry.
1787
363313b5
JM
17882012-12-05 Joseph Myers <joseph@codesourcery.com>
1789
effbd42a
JM
1790 * README: Don't refer to ports add-on as distributed separately.
1791 Mention AArch64 in list of systems supported in the ports add-on.
1792
87600365
JM
1793 * LICENSES: Add more non-FSF copyright and license notices.
1794
a0d7066a
JM
1795 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
1796 ((unused)).
1797
66ca5a5b
JM
1798 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
1799
363313b5
JM
1800 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
1801 10000 as width of padded output.
1802
b37984ad
JM
18032012-12-04 Joseph Myers <joseph@codesourcery.com>
1804
9003570a
JM
1805 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
1806
b37984ad
JM
1807 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
1808 variable LX with __attribute__ ((unused)).
1809 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
1810 Likewise.
1811 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
1812 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
1813 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
1814 with __attribute__ ((unused)).
1815
c8df52ec
DM
18162012-12-04 David S. Miller <davem@abraco.davemloft.net>
1817
1818 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
1819
b3b099af
JM
18202012-12-04 Joseph Myers <joseph@codesourcery.com>
1821
c33aa6e3
JM
1822 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
1823 (CFLAGS-nldbl-acos.c): New variable.
1824 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
1825 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
1826 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
1827 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
1828 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
1829 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
1830 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
1831 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
1832 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
1833 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
1834 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
1835 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
1836 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
1837 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
1838 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
1839 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
1840 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
1841 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
1842 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
1843 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
1844 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
1845 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
1846 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
1847 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
1848 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
1849 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
1850 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
1851 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
1852 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
1853 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
1854 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
1855 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
1856 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
1857 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
1858 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
1859 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
1860 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
1861 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
1862 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
1863 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
1864 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
1865 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
1866 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
1867 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
1868 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
1869 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
1870 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
1871 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
1872 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
1873 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
1874 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
1875 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
1876 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
1877 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
1878 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
1879 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
1880 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
1881 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
1882 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
1883 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
1884 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
1885 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
1886 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
1887 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
1888 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
1889 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
1890 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
1891 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
1892 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
1893 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
1894 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
1895 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
1896 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
1897 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
1898 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
1899 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
1900 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
1901 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
1902 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
1903 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
1904 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
1905 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
1906 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
1907 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
1908 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
1909 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
1910 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
1911 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
1912 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
1913 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
1914 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
1915 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
1916 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
1917 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
1918 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
1919 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
1920 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
1921
20f0018d
JM
1922 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
1923 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
1924
b3b099af
JM
1925 [BZ #14914]
1926 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
1927 whole low double instead of just low 47 bits when splitting values
1928 into two parts.
1929
029264d1
AM
19302012-12-03 Allan McRae <allan@archlinux.org>
1931
1932 * manual/stdio.texi (Predefined Printf Handlers): Remove
1933 @hsep and @vsep usage.
1934
c9d6789e
MF
19352012-12-03 Mike Frysinger <vapier@gentoo.org>
1936
1937 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
1938 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
1939
4b7634a5
JL
19402012-12-03 Jeff Law <law@redhat.com>
1941
1942 * time/sys/time.h (settimeofday): Do not mark TV argument
1943 as __nonnull.
1944
eb6cbd24
MF
19452012-12-01 Mike Frysinger <vapier@gentoo.org>
1946
1947 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
1948 when currently writing and seek to current position when not.
1949 * libio/Makefile (tests): Remove bug-fclose1.
1950 * libio/bug-fclose1.c: Delete.
1951
f638872a
JM
19522012-12-01 Joseph Myers <joseph@codesourcery.com>
1953
1954 * manual/arith.texi (feenableexcept): Fix typo.
1955 (fedisableexcept): Likewise.
1956
48085d14
RM
19572012-11-30 Roland McGrath <roland@hack.frob.com>
1958
1959 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
1960 second, differently-typed declaration, rather than a cast.
1961
1a538b9f
SP
19622012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1963
1964 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
1965 * include/rpc/svc.h: ... here.
1966
d07f2ff1 19672012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
1968
1969 [BZ #13013]
1970 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
1971 depending n and resplen2 to catch cases where answer
1972 equals answerp2.
1973
c93ec1f0
CD
19742012-11-29 Carlos O'Donell <carlos@systemhalted.org>
1975
1976 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
1977 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
1978
37db69de
MF
19792012-11-29 Mike Frysinger <vapier@gentoo.org>
1980
1981 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
1982
e10c4e4f
RM
19832012-11-29 Roland McGrath <roland@hack.frob.com>
1984
1985 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
1986
2af1b328
JL
19872012-11-28 Jeff Law <law@redhat.com>
1988
1989 [BZ #13761]
1990 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
1991 dataset_temporary. Track alloca usage into alloca_used.
1992 If dataset is large allocate and release it via malloc/free.
1993
111db5b1
FW
19942012-06-04 Florian Weimer <fweimer@redhat.com>
1995
f06cc227 1996 [BZ #14197]
111db5b1
FW
1997 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
1998
dd694abd
DM
19992012-11-28 David S. Miller <davem@davemloft.net>
2000
2001 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2002
9984dd01
JM
20032012-11-28 Joseph Myers <joseph@codesourcery.com>
2004
2005 [BZ #14803]
2006 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
2007 of pi/2 rounded to nearest to 64 bits.
2008 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
2009 nearest to 64 bits.
2010 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
2011 bits.
2012
14bc93a9
JL
20132012-11-28 Jeff Law <law@redhat.com>
2014 Martin Osvald <mosvald@redhat.com>
2015
2016 [BZ #14889]
2017 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
2018 * sunrpc/svc.c: Include time.h.
2019 (__svc_accept_failed): New function.
2020 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
2021 any reason other than EINTR, call __svc_accept_failed.
2022 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
2023 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
2024
e3c6aa3a
AS
20252012-11-28 Andreas Schwab <schwab@suse.de>
2026
2027 * scripts/abilist.awk: Also handle indirect functions in .opd
2028 section.
2029
1bead169
JM
20302012-11-28 Joseph Myers <joseph@codesourcery.com>
2031
2032 [BZ #13881]
2033 * sysdeps/x86/fpu/powl_helper.c: New file.
2034 * sysdeps/x86/fpu/Makefile: Likewise.
2035 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
2036 (p3): New object.
2037 (__ieee754_powl): Use __powl_helper for finite arguments except
2038 integer exponents below 8.
2039 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
2040 (p3): New object.
2041 (__ieee754_powl): Use __powl_helper for finite arguments except
2042 integer exponents below 8.
2043 * math/libm-test.inc (pow_test): Add more tests and enable some
2044 previously disabled tests.
2045 * sysdeps/i386/fpu/libm-test-ulps: Update.
2046 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2047
0817d63d
SP
20482012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2049 Carlos O'Donell <carlos_odonell@mentor.com>
2050
2051 * nss/makedb.c (is_prime): Assert that input is odd and greater
2052 than 4. Note that fact in a comment too.
2053 (next_prime): Add 4 to input.
2054
de2fd463
SP
20552012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2056
2057 [BZ #11741]
2058 * libio/Makefile (tests): Add test case tst-fwrite-error.
2059 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
2060 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
2061 * libio/tst-fwrite-error.c: New test case.
2062
c515fb51
L
20632012-11-26 H.J. Lu <hongjiu.lu@intel.com>
2064
2065 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
2066 before casting to void *.
2067 * include/libc-internal.h (__pointer_type): New macro.
2068 (__integer_if_pointer_type_sub): Likewise.
2069 (__integer_if_pointer_type): Likewise.
2070 (cast_to_integer): Likewise.
2071 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
2072 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
2073 before casting to atomic64_t.
2074 (atomic_exchange_acq): Likewise.
2075 (__arch_exchange_and_add_body): Likewise.
2076 (__arch_add_body): Likewise.
2077 (atomic_add_negative): Likewise.
2078 (atomic_add_zero): Likewise.
2079
4cf77aa9
JM
20802012-11-26 Joseph Myers <joseph@codesourcery.com>
2081
2082 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
2083 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
2084 (add_fdes): Likewise.
2085 (linear_search_fdes): Likewise.
2086 (binary_search_unencoded_fdes): Likewise.
2087
d260b3b4
AS
20882012-11-26 Andreas Schwab <schwab@linux-m68k.org>
2089
2090 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
2091
67060746
AC
20922012-11-24 Adam Conrad <adconrad@0c3.net>
2093
2094 * configure.in: Autodetect C++ header directories.
2095 * configure: Regenerated.
2096
800938a1
MF
20972012-11-23 Mike Frysinger <vapier@gentoo.org>
2098
2099 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
2100
4e6e34e6
AS
21012012-11-23 Andreas Schwab <schwab@linux-m68k.org>
2102
2103 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2104
7c7feb47
JM
21052012-11-22 Joseph Myers <joseph@codesourcery.com>
2106
7184dcdf
JM
2107 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
2108 LDBL_MANT_DIG == 106]: Disable some tests.
2109 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
2110 Likewise.
2111 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
2112 Likewise.
2113
0a42601f
JM
2114 [BZ #14871]
2115 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
2116 input for small inputs. Return +/- pi/2 for large inputs.
2117 * math/libm-test.inc (atan_test): Add more tests.
2118
79c9b9fe
JM
2119 * sysdeps/generic/unwind-dw2-fde-glibc.c
2120 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
2121 __attribute__ ((unused)).
2122
c60d3bf2
JM
2123 [BZ #14645]
2124 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
2125 x * y if x and y are nonzero and z is zero.
2126
ef1e0867
JM
2127 [BZ #14811]
2128 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
2129 nonzero exponents with absolute value below 0x1p-117 to +/-
2130 0x1p-117.
2131
1468ded3
JM
2132 [BZ #14869]
2133 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
2134 up arguments below 2**-450, not just those below 2**-500.
2135 * math/libm-test.inc (hypot_test): Add another test.
2136
8e27e3cc
JM
2137 [BZ #14868]
2138 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
2139 Return a+b for ratio over 2**120, not 2**60.
2140 * math/libm-test.inc (hypot_test): Add another test.
2141
c9c0279b
JM
2142 * math/libm-test.inc (clog_test): Use
2143 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
2144 (clog10_test): Likewise.
2145
7c7feb47
JM
2146 [BZ #6778]
2147 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
2148
fff1530e
AS
21492012-11-22 Andreas Schwab <schwab@suse.de>
2150
2151 * sysdeps/i386/fpu/libm-test-ulps: Update.
2152
94558d30
PT
21532012-11-22 Pino Toscano <toscano.pino@tiscali.it>
2154
2155 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
2156 printf output with newline.
2157
7e1be741
L
21582012-11-21 H.J. Lu <hongjiu.lu@intel.com>
2159
6bfea974
L
2160 [BZ #14865]
2161 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
2162 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
2163 -z nodlopen, -z initfirst and -z execstack support.
2164 * configure: Regenerated.
2165
7e1be741
L
2166 * elf/elf.h (DF_1_NODIRECT): New macro.
2167 (DF_1_IGNMULDEF): Likewise.
2168 (DF_1_NOKSYMS): Likewise.
2169 (DF_1_NOHDR): Likewise.
2170 (DF_1_EDITED): Likewise.
2171 (DF_1_NORELOC): Likewise.
2172 (DF_1_SYMINTPOSE): Likewise.
2173 (DF_1_GLOBAUDIT): Likewise.
2174 (DF_1_SINGLETON): Likewise.
2175 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
2176 DT_1_SUPPORTED_MASK bits.
2177 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
2178
105ce2ce
CD
21792012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
2180
2181 * sysdeps/unix/make-syscalls.sh: Document prefixes.
2182
123be9de
TS
21832012-11-20 Thomas Schwinge <thomas@codesourcery.com>
2184
d072f3f7
TS
2185 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
2186 macro.
2187
123be9de
TS
2188 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
2189 (sendmmsg): Move declarations...
2190 * socket/sys/socket.h: ... here.
2191 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
2192 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
2193 include it from...
2194 * socket/recvmmsg.c: ... this new file.
2195 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
2196 (sendmmsg): Rename to __sendmmsg, create weak alias and make
2197 definition of __sendmmsg hidden.
2198 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
2199 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
2200 Move ENOSYS stub into and include it from...
2201 * socket/sendmmsg.c: ... this new file.
2202 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
2203 (sysdep_routines): Move recvmmsg and sendmmsg...
2204 * socket/Makefile (routines): ... here.
2205 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
2206 (GLIBC_PRIVATE): Add __sendmmsg.
2207 * include/sys/socket.h (__sendmmsg): Add declarations.
2208 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
2209 sendmmsg.
2210
cf9a5d18
JM
22112012-11-20 Joseph Myers <joseph@codesourcery.com>
2212
2213 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
2214 variable I1 with __attribute__ ((unused)).
2215 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
2216
ecd4caf9
JM
22172012-11-19 Joseph Myers <joseph@codesourcery.com>
2218
be14d48f
JM
2219 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
2220 DUMMY variables with __attribute__ ((unused)).
2221
ecd4caf9
JM
2222 * bits/byteswap.h: Include <bits/types.h>.
2223 (__bswap_64): Use __uint64_t instead of unsigned long long int.
2224
986cab95
PT
22252012-11-19 Pino Toscano <toscano.pino@tiscali.it>
2226
2227 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
2228 string_t. Do not manually set errno.
2229 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
2230 length with __strnlen. Make sure to both set errno and return it on
2231 failure.
2232
6d33cc9d
DM
22332012-11-19 David S. Miller <davem@davemloft.net>
2234
2235 With help from Joseph Myers.
2236 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
2237 very large arguments properly.
2238 * math/libm-test.inc (atan_test): New tests.
2239 (atan2_test): New tests.
2240 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2241 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2242
ee663277
JM
22432012-11-19 Joseph Myers <joseph@codesourcery.com>
2244
877f2d8e
JM
2245 [BZ #14856]
2246 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
2247 Define to 3.
2248
116fc08a
JM
2249 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
2250 [POSIX] (EADDRNOTAVAIL): Likewise.
2251 [POSIX] (EAFNOSUPPORT): Likewise.
2252 [POSIX] (EALREADY): Likewise.
2253 [POSIX] (ECONNABORTED): Likewise.
2254 [POSIX] (ECONNREFUSED): Likewise.
2255 [POSIX] (ECONNRESET): Likewise.
2256 [POSIX] (EDESTADDRREQ): Likewise.
2257 [POSIX] (EDQUOT): Likewise.
2258 [POSIX] (EHOSTUNREACH): Likewise.
2259 [POSIX] (EIDRM): Likewise.
2260 [POSIX] (EISCONN): Likewise.
2261 [POSIX] (ELOOP): Likewise.
2262 [POSIX] (EMULTIHOP): Likewise.
2263 [POSIX] (ENETDOWN): Likewise.
2264 [POSIX] (ENETUNREACH): Likewise.
2265 [POSIX] (ENOBUFS): Likewise.
2266 [POSIX] (ENODATA): Likewise.
2267 [POSIX] (ENOLINK): Likewise.
2268 [POSIX] (ENOMSG): Likewise.
2269 [POSIX] (ENOPROTOOPT): Likewise.
2270 [POSIX] (ENOSR): Likewise.
2271 [POSIX] (ENOSTR): Likewise.
2272 [POSIX] (ENOTCONN): Likewise.
2273 [POSIX] (ENOTSOCK): Likewise.
2274 [POSIX] (EOPNOTSUPP): Likewise.
2275 [POSIX] (EOVERFLOW): Likewise.
2276 [POSIX] (EPROTO): Likewise.
2277 [POSIX] (EPROTONOSUPPORT): Likewise.
2278 [POSIX] (EPROTOTYPE): Likewise.
2279 [POSIX] (ESTALE): Likewise.
2280 [POSIX] (ETIME): Likewise.
2281 [POSIX] (ETXTBSY): Likewise.
2282 [POSIX] (EWOULDBLOCK): Likewise.
2283 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
2284 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
2285 [POSIX] (SEEK_CUR): Likewise.
2286 [POSIX] (SEEK_END): Likewise.
2287 [POSIX || UNIX98] (mode_t): Do not require.
2288 [POSIX] (off_t): Likewise.
2289 [POSIX] (pid_t): Likewise.
2290 [POSIX] (sys/stat.h): Do not allow header.
2291 [POSIX] (unistd.h): Likewise.
2292 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
2293 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
2294 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
2295 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
2296 require.
2297 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
2298 sigevent): Specify elements.
2299 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
2300 entry.
2301 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
2302 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
2303
a483863f
JM
2304 * conform/data/cpio.h-data [POSIX]: Disable whole file.
2305 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
2306 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
2307 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
2308 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
2309 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
2310 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
2311 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
2312 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
2313 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
2314 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
2315 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
2316 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
2317 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
2318 Likewise.
2319 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
2320 Likewise.
2321 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
2322 Likewise.
2323 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
2324 Likewise.
2325 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
2326 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
2327 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
2328 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
2329 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
2330 Specify lower bound on value.
2331 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
2332 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
2333 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
2334 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
2335 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
2336 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
2337 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
2338 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
2339 value.
2340 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
2341 as optional.
2342 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
2343 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
2344 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
2345 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
2346 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
2347 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
2348 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
2349 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
2350 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
2351 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
2352 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
2353 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
2354 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
2355 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
2356 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
2357 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
2358 entry.
2359 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
2360 optional.
2361 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
2362 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
2363 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
2364 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
2365 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
2366 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
2367 Likewise.
2368 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
2369 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
2370 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
2371 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
2372 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
2373 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
2374 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
2375 as optional.
2376 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
2377 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
2378 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
2379 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
2380 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
2381 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
2382 specify as optional.
2383 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
2384 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
2385 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
2386 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
2387 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
2388 [XPG3] (NL_LANGMAX): Likewise.
2389 [POSIX || XPG3] (NL_MSGMAX): Likewise.
2390 [POSIX || XPG3] (NL_NMAX): Likewise.
2391 [POSIX || XPG3] (NL_SETMAX): Likewise.
2392 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
2393 [XPG3] (NZERO): Likewise.
2394 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
2395 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
2396 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
2397 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
2398 (REG_ERANGE): Expect.
2399 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
2400 optional-constant.
2401 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
2402 Use (void) in prototype.
2403 [POSIX] (*_t): Allow.
2404 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
2405 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
2406 (WRDE_BADVAL): Expect.
2407
5ba924e3
JM
2408 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
2409 expect.
2410 [XPG3 || XPG4] (O_RSYNC): Likewise.
2411 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
2412 Likewise.
2413 [XPG3 || XPG4] (pthread_sigmask): Likewise.
2414 [XPG3 || XPG4] (sigqueue): Likewise.
2415 [XPG3 || XPG4] (sigtimedwait): Likewise.
2416 [XPG3 || XPG4] (sigwaitinfo): Likewise.
2417 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
2418 [XPG3 || XPG4] (vsnprintf): Likewise.
2419 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
2420 Likewise.
2421 [XPG3 || XPG4] (blksize_t): Likewise.
2422 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
2423 Likewise.
2424 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
2425 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
2426 [XPG3 || XPG4] (struct itimerspec): Likewise.
2427 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
2428 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
2429 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
2430 [XPG3 || XPG4] (clockid_t): Likewise.
2431 [XPG3 || XPG4] (timer_t): Likewise.
2432 [XPG3 || XPG4] (clock_getres): Likewise.
2433 [XPG3 || XPG4] (clock_gettime): Likewise.
2434 [XPG3 || XPG4] (clock_settime): Likewise.
2435 [XPG3 || XPG4] (nanosleep): Likewise.
2436 [XPG3 || XPG4] (timer_create): Likewise.
2437 [XPG3 || XPG4] (timer_delete): Likewise.
2438 [XPG3 || XPG4] (timer_gettime): Likewise.
2439 [XPG3 || XPG4] (timer_getoverrun): Likewise.
2440 [XPG3 || XPG4] (timer_settime): Likewise.
2441 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
2442 [XPG3 || XPG4] (getlogin_r): Likewise.
2443 [XPG3 || XPG4] (pread): Likewise.
2444 [XPG3 || XPG4] (pthread_atfork): Likewise.
2445 [XPG3 || XPG4] (pwrite): Likewise.
2446
ee663277
JM
2447 [BZ #14835]
2448 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
2449 <bits/siginfo.h>.
2450
942caa16
PT
24512012-11-19 Pino Toscano <toscano.pino@tiscali.it>
2452
e19af380
PT
2453 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
2454 finalizing MALLSTREAM.
2455
942caa16
PT
2456 * sysdeps/mach/hurd/syncfs.c: New file.
2457
cfde9b46
SP
24582012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2459
2460 [BZ #14719]
2461 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
2462 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
2463 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
2464 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
2465 (_nss_dns_gethostbyname4_r): Likewise.
2466 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
2467 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
2468
f6da27e5
PH
24692012-11-19 Peng Haitao <penght@cn.fujitsu.com>
2470
2471 [BZ #13763]
2472 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
2473
6665d4a2
SM
24742012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
2475
1f51ee92
SM
2476 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
2477 * elf/cache.c (print_entry): Print ",AArch64" for
2478 FLAG_AARCH64_LIB64
2479
6665d4a2
SM
2480 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
2481 * elf/cache.c (print_entry): Print ",hard-float" for
2482 FLAG_ARM_LIBHF.
2483
05b227bd
DM
24842012-11-18 David S. Miller <davem@davemloft.net>
2485
2486 With help from Joseph Myers.
2487 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
2488 cutoff to 2**-13.
2489 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
2490 cutoff to 2**-25.
2491 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
2492 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
2493 small.
2494 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
2495 * math/libm-test.inc (y0_test): New tests.
2496 (y1_test): New tests.
2497 * sysdeps/i386/fpu/libm-test-ulps: Update.
2498 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2499 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2500
786b0b67
AS
25012012-11-18 Andreas Schwab <schwab@linux-m68k.org>
2502
2503 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
2504 64-bit targets.
2505 * configure: Regenerated.
2506
8e18b86d
DM
25072012-11-17 David S. Miller <davem@davemloft.net>
2508
2509 [BZ #14811]
2510 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
2511 nonzero exponents with absolute value below 0x1p-128 to +/-
2512 0x1p-128.
2513
531f1ae0
JM
25142012-11-17 Joseph Myers <joseph@codesourcery.com>
2515
12df29e2
JM
2516 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
2517
150dc1a0
JM
2518 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
2519
531f1ae0
JM
2520 * posix/getconf-speclist.c: New file.
2521 * posix/posix-envs.def: Likewise.
2522 * posix/confstr.c (START_ENV_GROUP): New macro.
2523 (END_ENV_GROUP): Likewise.
2524 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
2525 (KNOWN_PRESENT_ENV_STRING): Likewise.
2526 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
2527 (UNKNOWN_ENVIRONMENT): Likewise.
2528 (confstr): Include posix-envs.def instead of handling
2529 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
2530 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
2531 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
2532 (END_ENV_GROUP): Likewise.
2533 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
2534 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
2535 (UNKNOWN_ENVIRONMENT): Likewise.
2536 (__sysconf): Include posix-envs.def instead of handling associated
2537 cases directly here.
2538 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
2539 preprocessing getconf-speclist.c rather than running getconf or
2540 generating empty file.
2541
a93f9cbc
PT
25422012-11-16 Pino Toscano <toscano.pino@tiscali.it>
2543
2544 * scripts/check-local-headers.sh: Ignore 'mach' headers.
2545
d64d9f87
AL
25462012-11-16 Andrej Lajovic <natrij@gmail.com>
2547
2548 [BZ #14672]
2549 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
2550
447885eb
DM
25512012-11-16 David S. Miller <davem@davemloft.net>
2552
2553 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
2554 smaller than LDBL_EPSILON/2.0L, just return xm1.
2555
bcbf9830
L
25562012-11-16 H.J. Lu <hongjiu.lu@intel.com>
2557
2558 * elf/tst-array1.c (init): Set constructor priority to 1000.
2559 (fini): Set destructor priority to 1000.
2560 * elf/tst-array2dep.c: Likewise.
2561
2b766585
SP
25622012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2563
2564 [BZ #11741]
2565 * libio/fileops.c (_IO_new_file_write): Correctly return error.
2566 (_IO_new_file_xsputn): Also return EOF if none of the input
2567 data was written when overflow failed.
2568 * libio/iopadn.c (_IO_padn): Likewise.
2569 * libio/iowpadn.c (_IO_wpadn): Likewise.
2570 * stdio-common/tst-put-error.c: Add copyright notice.
2571 (do_test): Add case for printing padded string.
2572 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
2573 _IO_padn returned error.
2574 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
2575 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
2576 return EOF.
2577
b1848fde
SP
25782012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2579
2580 * libio/libioP.h: Add comment note that the references to C++
2581 bits are now obsolete.
2582
2fd89785
MS
25832012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2584
2585 * math/libm-test.inc (check_complex): Use asprintf.
2586
e3ea5409
JM
25872012-11-14 Joseph Myers <joseph@codesourcery.com>
2588
2589 * debug/pcprofiledump.c (print_version): Update copyright year.
2590 * malloc/memusagestat.c (print_version): Likewise.
2591
2e64d265
L
25922012-11-14 H.J. Lu <hongjiu.lu@intel.com>
2593
2594 [BZ #14831]
2595 * elf/Makefile (tests): Add tst-audit8.
2596 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
2597 ($(objpfx)tst-audit8.out): New target.
2598 (tst-audit8-ENV): New variable.
2599 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
2600 audit if l_reloc_result is NULL.
2601 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
2602 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
2603 * elf/tst-audit8.c: New file.
2604
c485e4d2
MS
26052012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2606
2607 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
2608 * misc/Makefile (CFLAGS-select.c): Define.
2609 * posix/Makefile (CFLAGS-pause.c): Define.
2610
3a0d900a
DM
26112012-11-13 David S. Miller <davem@davemloft.net>
2612
2613 * crypt/Makefile: Move test targets after toplevel Rules
2614 inclusion. Grab any necessary sysdep routines when linking.
2615 * crypt/md5.c (md5_process_block): Remove define, we will always
2616 name it __md5_process_block.
2617 (md5_finish_ctx): Update md5_process_block call.
2618 (md5_stream): Likewise.
2619 (md5_process_bytes): Likewise.
2620 (md5_process_block): Rename to __md5_process_block and move to ...
2621 * crypt/md5-block.c: ... here.
2622 * crypt/sha256.c (sha256_process_block): Move to ...
2623 * crypt/sha256-block.c: ... here.
2624 * crypt/sha512.c (sha512_process_block): Move to ...
2625 * crypt/sha512-block.c: ... here.
2626 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
2627 path.
2628 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
2629 * sysdeps/sparc/sparc64/multiarch/Makefile
2630 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
2631 crypt subdir.
2632 (localedef-aux): Add md5 crypto assembler when in locale subdir.
2633 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
2634 multiarch changes.
2635 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
2636 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
2637 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
2638 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
2639 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
2640 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
2641 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
2642 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
2643 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
2644 file.
2645 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
2646 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
2647 file.
2648 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
2649
8ca89318
JM
26502012-11-13 Joseph Myers <joseph@codesourcery.com>
2651
e27d476a
JM
2652 * timezone/tzselect.ksh: Update from tzcode git revision
2653 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
2654 * timezone/zdump.c: Likewise.
2655 * timezone/zic.c: Likewise.
2656 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
2657 in TZVERSION setting, not $(PKGVERSION).
2658 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
2659 REPORT_BUGS_TO settings.
2660
8ca89318
JM
2661 [BZ #14838]
2662 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
2663 macro.
2664
47594329
MS
26652012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2666
2667 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
2668 detection to immediately after _FP_ROUND().
2669 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
2670 bits are 0.
2671
640ac3f1
DM
26722012-11-11 David S. Miller <davem@davemloft.net>
2673
2674 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
2675 inttypes.h
2676 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
2677 __close rather than their public counterparts.
2678
3d2577bb
JM
26792012-11-10 Joseph Myers <joseph@codesourcery.com>
2680
2681 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
2682 file.
2683 [UNIX98] (sem_timedwait): Do not expect.
2684 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
2685 [XPG4 || UNIX98] (sockatmark): Do not expect.
2686 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
2687 (clock_getcpuclockid): Do not expect.
2688 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
2689 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
2690 Do not expect.
2691 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
2692 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
2693 [UNIX98] (vwscanf): Likewise.
2694 [UNIX98] (vswscanf): Likewise.
2695
fb1ae1ee
JM
26962012-11-09 Joseph Myers <joseph@codesourcery.com>
2697
9ec6f8bd
JM
2698 * timezone/version.h: Remove file.
2699 * timezone/README: Do not refer to version.h.
2700 * timezone/Makefile ($(objpfx)zic.o): New dependency on
2701 $(objpfx)version.h.
2702 ($(objpfx)zdump.o): Likewise.
c3f81911 2703 ($(objpfx)version.h): New target.
9ec6f8bd 2704
0aa8f8a1
JM
2705 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
2706 2012i.
2707 * timezone/README: Don't mention modification to tzselect.ksh.
2708 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
2709 work on unmodified tzselect.ksh. Substitute version numbers in
2710 tzselect.ksh.
2711
4e87147f
JM
2712 * Makefile (format-me): Remove.
2713 (INSTALL): Adjust indentation. Use commands directly instead of
2714 using $(format-me).
2715
8b748aed
JM
2716 * aclocal.m4 (ACX_PKGVERSION): New macro.
2717 (ACX_BUGURL): Likewise.
2718 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
2719 (PKGVERSION): New AC_DEFINE_UNQUOTED.
2720 (REPORT_BUGS_TO): Likewise.
2721 * configure: Regenerated.
2722 * config.h.in (PKGVERSION): New macro.
2723 (REPORT_BUGS_TO): Likewise.
2724 * config.make.in (PKGVERSION): New variable.
2725 (PKGVERSION_TEXI): Likewise.
2726 (REPORT_BUGS_TO): Likewise.
2727 (REPORT_BUGS_TEXI): Likewise.
2728 * Makefile (format-me): Use -I$(common-objpfx)manual.
2729 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
2730 ($(common-objpfx)manual/%): New target.
2731 (manual/%): Remove target.
2732 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
2733 (print_version): Use PKGVERSION.
2734 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
2735 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
2736 and REPORT_BUGS_TO.
2737 ($(objpfx)xtrace): Likewise.
2738 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
2739 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
2740 (print_version): Use PKGVERSION.
2741 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
2742 (do_version): Use PKGVERSION.
2743 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
2744 REPORT_BUGS_TO.
2745 (common-ldd-rewrite): Likewise.
2746 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
2747 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
2748 (print_version): Use PKGVERSION.
2749 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
2750 * elf/pldd.c (argp_program_bug_address): Remove variable.
2751 (more_help): New function.
2752 (argp): Use more_help.
2753 (print_version): Use PKGVERSION.
2754 * elf/sln.c (main): Use PKGVERSION.
2755 (usage): Use REPORT_BUGS_TO.
2756 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
2757 (top level): Use PKGVERSION.
2758 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
2759 (print_version): Use PKGVERSION.
2760 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
2761 (print_version): Use PKGVERSION.
2762 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
2763 (print_version): Use PKGVERSION.
2764 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
2765 (print_version): Use PKGVERSION.
2766 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
2767 (print_version): Use PKGVERSION.
2768 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
2769 (print_version): Use PKGVERSION.
2770 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
2771 and BUGURL.
2772 ($(objpfx)memusage): Likewise.
2773 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
2774 (do_version): Use PKGVERSION.
2775 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
2776 (print_version): Use PKGVERSION.
2777 * malloc/mtrace.pl ($PACKAGE): Remove variable.
2778 ($PKGVERSION): New variable.
2779 ($REPORT_BUGS_TO): Likewise.
2780 (usage): Use $REPORT_BUGS_TO.
2781 (top level): Use $PKGVERSION.
2782 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
2783 ($(objpfx)pkgvers.texi): New rule.
2784 ($(objpfx)stamp-pkgvers): Likewise.
2785 * manual/install.texi: Include pkgvers.texi.
2786 (--with-pkgversion): Document new configure option.
2787 (--with-bugurl): Likewise.
2788 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
2789 than necessarily for this particular distribution. Use
2790 REPORT_BUGS_TO for where to report bugs.
2791 * INSTALL: Regenerated.
2792 * manual/libc.texinfo: Include pkgvers.texi.
2793 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
2794 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
2795 (print_version): Use PKGVERSION.
2796 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
2797 (print_version): Use PKGVERSION.
2798 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
2799 (print_version): Use PKGVERSION.
2800 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
2801 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
2802 macro.
2803 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
2804 (print_version): Use PKGVERSION.
2805 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
2806 (print_version): Use PKGVERSION.
2807 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
2808 and PKGVERSION.
2809
92e4b6a9
JM
2810 * timezone/checktab.awk: Update from tzcode 2012i.
2811 * timezone/ialloc.c: Likewise.
2812 * timezone/private.h: Likewise.
2813 * timezone/scheck.c: Likewise.
2814 * timezone/tzfile.h: Likewise.
2815 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
2816 (TZVERSION): Hardcode tzcode version number.
2817 * timezone/zdump.c: Update from tzcode 2012i.
2818 * timezone/zic.c: Likewise.
2819 * timezone/version.h: New file.
2820 * timezone/README: Describe version.h. Update upstream location.
2821
9bde902c
JM
2822 [BZ #14824]
2823 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
2824 (mktemp): Enable declaration.
2825 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
2826 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
2827 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
2828 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
2829 Likewise.
2830 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
2831 Likewise.
2832 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
2833 Likewise.
2834 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
2835 Likewise.
2836 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
2837 Likewise.
2838 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
2839 Likewise.
2840
fb1ae1ee
JM
2841 [BZ #14821]
2842 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
2843 offset in buffer as u_int32_t not u_long. Consistently use memcpy
2844 for copies of such integer values.
2845 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
2846 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
2847
2c1adbcb
AJ
28482012-11-09 Andreas Jaeger <aj@suse.de>
2849
2850 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
2851 definitions and declarations that are provided by
2852 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
2853
d0f8457e
AK
28542012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2855
3a235abb 2856 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
2857 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
2858 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
2859 definition.
2860
57241e26
MS
28612012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2862
2863 * elf/elf.h: Update comment before AArch64 relocations.
2864
60e8270d
DM
28652012-11-07 David S. Miller <davem@davemloft.net>
2866
2867 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
2868 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
2869 (__start_context): Declare.
2870 (__makecontext_ret): Delete.
2871 (__makecontext): Hook up __start_context instead of
2872 __makecontext_ret.
2873 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
2874 (sysdep_routines): Add __start_context when in stdlib.
2875
0fbb0fbc
JM
28762012-11-07 Joseph Myers <joseph@codesourcery.com>
2877
2878 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
2879 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
2880 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
2881 hardcoded "nm".
2882 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
2883 (READELF): New variable. Use it instead of hardcoded "readelf".
2884
eb48db7e
L
28852012-11-07 H.J. Lu <hongjiu.lu@intel.com>
2886
2887 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
2888 * sysdeps/x86/Makefile: Here.
2889 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
2890 * sysdeps/x86/tst-xmmymm.sh: This.
2891
05bcf62a
JM
28922012-11-07 Joseph Myers <joseph@codesourcery.com>
2893
c4b6cf53
JM
2894 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
2895 expectations.
2896 [UNIX98] (pthread_barrier_t): Do not expect.
2897 [UNIX98] (pthread_barrierattr_t): Likewise.
2898 [UNIX98] (pthread_spinlock_t): Likewise.
2899 [UNIX98] (pthread_barrier_destroy): Likewise.
2900 [UNIX98] (pthread_barrier_init): Likewise.
2901 [UNIX98] (pthread_barrier_wait): Likewise.
2902 [UNIX98] (pthread_barrierattr_destroy): Likewise.
2903 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
2904 [UNIX98] (pthread_barrierattr_init): Likewise.
2905 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
2906 [UNIX98] (pthread_getcpuclockid): Likewise.
2907 [UNIX98] (pthread_mutex_timedlock): Likewise.
2908 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
2909 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
2910 [UNIX98] (pthread_sigmask): Likewise.
2911 [UNIX98] (pthread_spin_destroy): Likewise.
2912 [UNIX98] (pthread_spin_init): Likewise.
2913 [UNIX98] (pthread_spin_lock): Likewise.
2914 [UNIX98] (pthread_spin_trylock): Likewise.
2915 [UNIX98] (pthread_spin_unlock): Likewise.
2916 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
2917 Do not expect.
2918 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
2919 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
2920 [XPG3 || XPG4] (pthread_cond_t): Likewise.
2921 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
2922 [XPG3 || XPG4] (pthread_key_t): Likewise.
2923 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
2924 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
2925 [XPG3 || XPG4] (pthread_once_t): Likewise.
2926 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
2927 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
2928 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
2929 [XPG3 || XPG4] (pthread_t): Likewise.
2930
cbe6e120
JM
2931 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
2932 not expect.
2933 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
2934
1b126443
JM
2935 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
2936 Change function return type to int.
2937
b961a573
JM
2938 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
2939 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
2940 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
2941 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
2942 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
2943 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
2944 [!POSIX] (posix_madvise): Likewise.
2945 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
2946 && !UNIX98].
2947 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
2948 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
2949 (mode_t): Likewise.
2950 (posix_mem_offset): Likewise.
2951 (posix_typed_mem_get_info): Likewise.
2952 (posix_typed_mem_open): Likewise.
2953
9e188909
JM
2954 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
2955 Change condition to [XOPEN2K8].
2956
05bcf62a
JM
2957 * conform/conformtest.pl: Preprocess allow-header data with -x c
2958 instead of from stdin.
2959 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
2960 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
2961 [C99-based standards] (cerfc): Likewise.
2962 [C99-based standards] (cexp2): Likewise.
2963 [C99-based standards] (cexpm1): Likewise.
2964 [C99-based standards] (clog10): Likewise.
2965 [C99-based standards] (clog1p): Likewise.
2966 [C99-based standards] (clog2): Likewise.
2967 [C99-based standards] (clgamma): Likewise.
2968 [C99-based standards] (ctgamma): Likewise.
2969 [C99-based standards] (cerff): Likewise.
2970 [C99-based standards] (cerfcf): Likewise.
2971 [C99-based standards] (cexp2f): Likewise.
2972 [C99-based standards] (cexpm1f): Likewise.
2973 [C99-based standards] (clog10f): Likewise.
2974 [C99-based standards] (clog1pf): Likewise.
2975 [C99-based standards] (clog2f): Likewise.
2976 [C99-based standards] (clgammaf): Likewise.
2977 [C99-based standards] (ctgammaf): Likewise.
2978 [C99-based standards] (cerfl): Likewise.
2979 [C99-based standards] (cerfcl): Likewise.
2980 [C99-based standards] (cexp2l): Likewise.
2981 [C99-based standards] (cexpm1l): Likewise.
2982 [C99-based standards] (clog10l): Likewise.
2983 [C99-based standards] (clog1pl): Likewise.
2984 [C99-based standards] (clog2l): Likewise.
2985 [C99-based standards] (clgammal): Likewise.
2986 [C99-based standards] (ctgammal): Likewise.
2987 * conform/data/inttypes.h-data [C99-based standards]: Include
2988 stdint.h-data. Remove all expectations for stdint.h contents.
2989 [C99-based standards] (PRI*): Do not allow.
2990 [C99-based standards] (SCN*): Likewise.
2991 [C99-based standards] (*_t): Likewise.
2992 [C99-based-standards] (PRId8): Expect macro.
2993 [C99-based-standards] (PRIi8): Likewise.
2994 [C99-based-standards] (PRIo8): Likewise.
2995 [C99-based-standards] (PRIu8): Likewise.
2996 [C99-based-standards] (PRIx8): Likewise.
2997 [C99-based-standards] (PRIX8): Likewise.
2998 [C99-based-standards] (SCNd8): Likewise.
2999 [C99-based-standards] (SCNi8): Likewise.
3000 [C99-based-standards] (SCNo8): Likewise.
3001 [C99-based-standards] (SCNu8): Likewise.
3002 [C99-based-standards] (SCNx8): Likewise.
3003 [C99-based-standards] (PRIdLEAST8): Likewise.
3004 [C99-based-standards] (PRIiLEAST8): Likewise.
3005 [C99-based-standards] (PRIoLEAST8): Likewise.
3006 [C99-based-standards] (PRIuLEAST8): Likewise.
3007 [C99-based-standards] (PRIxLEAST8): Likewise.
3008 [C99-based-standards] (PRIXLEAST8): Likewise.
3009 [C99-based-standards] (SCNdLEAST8): Likewise.
3010 [C99-based-standards] (SCNiLEAST8): Likewise.
3011 [C99-based-standards] (SCNoLEAST8): Likewise.
3012 [C99-based-standards] (SCNuLEAST8): Likewise.
3013 [C99-based-standards] (SCNxLEAST8): Likewise.
3014 [C99-based-standards] (PRIdFAST8): Likewise.
3015 [C99-based-standards] (PRIiFAST8): Likewise.
3016 [C99-based-standards] (PRIoFAST8): Likewise.
3017 [C99-based-standards] (PRIuFAST8): Likewise.
3018 [C99-based-standards] (PRIxFAST8): Likewise.
3019 [C99-based-standards] (PRIXFAST8): Likewise.
3020 [C99-based-standards] (SCNdFAST8): Likewise.
3021 [C99-based-standards] (SCNiFAST8): Likewise.
3022 [C99-based-standards] (SCNoFAST8): Likewise.
3023 [C99-based-standards] (SCNuFAST8): Likewise.
3024 [C99-based-standards] (SCNxFAST8): Likewise.
3025 [C99-based-standards] (PRId16): Likewise.
3026 [C99-based-standards] (PRIi16): Likewise.
3027 [C99-based-standards] (PRIo16): Likewise.
3028 [C99-based-standards] (PRIu16): Likewise.
3029 [C99-based-standards] (PRIx16): Likewise.
3030 [C99-based-standards] (PRIX16): Likewise.
3031 [C99-based-standards] (SCNd16): Likewise.
3032 [C99-based-standards] (SCNi16): Likewise.
3033 [C99-based-standards] (SCNo16): Likewise.
3034 [C99-based-standards] (SCNu16): Likewise.
3035 [C99-based-standards] (SCNx16): Likewise.
3036 [C99-based-standards] (PRIdLEAST16): Likewise.
3037 [C99-based-standards] (PRIiLEAST16): Likewise.
3038 [C99-based-standards] (PRIoLEAST16): Likewise.
3039 [C99-based-standards] (PRIuLEAST16): Likewise.
3040 [C99-based-standards] (PRIxLEAST16): Likewise.
3041 [C99-based-standards] (PRIXLEAST16): Likewise.
3042 [C99-based-standards] (SCNdLEAST16): Likewise.
3043 [C99-based-standards] (SCNiLEAST16): Likewise.
3044 [C99-based-standards] (SCNoLEAST16): Likewise.
3045 [C99-based-standards] (SCNuLEAST16): Likewise.
3046 [C99-based-standards] (SCNxLEAST16): Likewise.
3047 [C99-based-standards] (PRIdFAST16): Likewise.
3048 [C99-based-standards] (PRIiFAST16): Likewise.
3049 [C99-based-standards] (PRIoFAST16): Likewise.
3050 [C99-based-standards] (PRIuFAST16): Likewise.
3051 [C99-based-standards] (PRIxFAST16): Likewise.
3052 [C99-based-standards] (PRIXFAST16): Likewise.
3053 [C99-based-standards] (SCNdFAST16): Likewise.
3054 [C99-based-standards] (SCNiFAST16): Likewise.
3055 [C99-based-standards] (SCNoFAST16): Likewise.
3056 [C99-based-standards] (SCNuFAST16): Likewise.
3057 [C99-based-standards] (SCNxFAST16): Likewise.
3058 [C99-based-standards] (PRId32): Likewise.
3059 [C99-based-standards] (PRIi32): Likewise.
3060 [C99-based-standards] (PRIo32): Likewise.
3061 [C99-based-standards] (PRIu32): Likewise.
3062 [C99-based-standards] (PRIx32): Likewise.
3063 [C99-based-standards] (PRIX32): Likewise.
3064 [C99-based-standards] (SCNd32): Likewise.
3065 [C99-based-standards] (SCNi32): Likewise.
3066 [C99-based-standards] (SCNo32): Likewise.
3067 [C99-based-standards] (SCNu32): Likewise.
3068 [C99-based-standards] (SCNx32): Likewise.
3069 [C99-based-standards] (PRIdLEAST32): Likewise.
3070 [C99-based-standards] (PRIiLEAST32): Likewise.
3071 [C99-based-standards] (PRIoLEAST32): Likewise.
3072 [C99-based-standards] (PRIuLEAST32): Likewise.
3073 [C99-based-standards] (PRIxLEAST32): Likewise.
3074 [C99-based-standards] (PRIXLEAST32): Likewise.
3075 [C99-based-standards] (SCNdLEAST32): Likewise.
3076 [C99-based-standards] (SCNiLEAST32): Likewise.
3077 [C99-based-standards] (SCNoLEAST32): Likewise.
3078 [C99-based-standards] (SCNuLEAST32): Likewise.
3079 [C99-based-standards] (SCNxLEAST32): Likewise.
3080 [C99-based-standards] (PRIdFAST32): Likewise.
3081 [C99-based-standards] (PRIiFAST32): Likewise.
3082 [C99-based-standards] (PRIoFAST32): Likewise.
3083 [C99-based-standards] (PRIuFAST32): Likewise.
3084 [C99-based-standards] (PRIxFAST32): Likewise.
3085 [C99-based-standards] (PRIXFAST32): Likewise.
3086 [C99-based-standards] (SCNdFAST32): Likewise.
3087 [C99-based-standards] (SCNiFAST32): Likewise.
3088 [C99-based-standards] (SCNoFAST32): Likewise.
3089 [C99-based-standards] (SCNuFAST32): Likewise.
3090 [C99-based-standards] (SCNxFAST32): Likewise.
3091 [C99-based-standards] (PRId64): Likewise.
3092 [C99-based-standards] (PRIi64): Likewise.
3093 [C99-based-standards] (PRIo64): Likewise.
3094 [C99-based-standards] (PRIu64): Likewise.
3095 [C99-based-standards] (PRIx64): Likewise.
3096 [C99-based-standards] (PRIX64): Likewise.
3097 [C99-based-standards] (SCNd64): Likewise.
3098 [C99-based-standards] (SCNi64): Likewise.
3099 [C99-based-standards] (SCNo64): Likewise.
3100 [C99-based-standards] (SCNu64): Likewise.
3101 [C99-based-standards] (SCNx64): Likewise.
3102 [C99-based-standards] (PRIdLEAST64): Likewise.
3103 [C99-based-standards] (PRIiLEAST64): Likewise.
3104 [C99-based-standards] (PRIoLEAST64): Likewise.
3105 [C99-based-standards] (PRIuLEAST64): Likewise.
3106 [C99-based-standards] (PRIxLEAST64): Likewise.
3107 [C99-based-standards] (PRIXLEAST64): Likewise.
3108 [C99-based-standards] (SCNdLEAST64): Likewise.
3109 [C99-based-standards] (SCNiLEAST64): Likewise.
3110 [C99-based-standards] (SCNoLEAST64): Likewise.
3111 [C99-based-standards] (SCNuLEAST64): Likewise.
3112 [C99-based-standards] (SCNxLEAST64): Likewise.
3113 [C99-based-standards] (PRIdFAST64): Likewise.
3114 [C99-based-standards] (PRIiFAST64): Likewise.
3115 [C99-based-standards] (PRIoFAST64): Likewise.
3116 [C99-based-standards] (PRIuFAST64): Likewise.
3117 [C99-based-standards] (PRIxFAST64): Likewise.
3118 [C99-based-standards] (PRIXFAST64): Likewise.
3119 [C99-based-standards] (SCNdFAST64): Likewise.
3120 [C99-based-standards] (SCNiFAST64): Likewise.
3121 [C99-based-standards] (SCNoFAST64): Likewise.
3122 [C99-based-standards] (SCNuFAST64): Likewise.
3123 [C99-based-standards] (SCNxFAST64): Likewise.
3124 [C99-based-standards] (PRIdMAX): Likewise.
3125 [C99-based-standards] (PRIiMAX): Likewise.
3126 [C99-based-standards] (PRIoMAX): Likewise.
3127 [C99-based-standards] (PRIuMAX): Likewise.
3128 [C99-based-standards] (PRIxMAX): Likewise.
3129 [C99-based-standards] (PRIXMAX): Likewise.
3130 [C99-based-standards] (SCNdMAX): Likewise.
3131 [C99-based-standards] (SCNiMAX): Likewise.
3132 [C99-based-standards] (SCNoMAX): Likewise.
3133 [C99-based-standards] (SCNuMAX): Likewise.
3134 [C99-based-standards] (SCNxMAX): Likewise.
3135 [C99-based-standards] (PRIdPTR): Likewise.
3136 [C99-based-standards] (PRIiPTR): Likewise.
3137 [C99-based-standards] (PRIoPTR): Likewise.
3138 [C99-based-standards] (PRIuPTR): Likewise.
3139 [C99-based-standards] (PRIxPTR): Likewise.
3140 [C99-based-standards] (PRIXPTR): Likewise.
3141 [C99-based-standards] (SCNdPTR): Likewise.
3142 [C99-based-standards] (SCNiPTR): Likewise.
3143 [C99-based-standards] (SCNoPTR): Likewise.
3144 [C99-based-standards] (SCNuPTR): Likewise.
3145 [C99-based-standards] (SCNxPTR): Likewise.
3146 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
3147 allow.
3148 * conform/data/stdint.h-data: Update comments to clarify
3149 requirements.
3150 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
3151 type.
3152 [C99-based standards] (INT8_MAX): Likewise.
3153 [C99-based standards] (INT16_MIN): Likewise.
3154 [C99-based standards] (INT16_MAX): Likewise.
3155 [C99-based standards] (INT32_MIN): Likewise.
3156 [C99-based standards] (INT32_MAX): Likewise.
3157 [C99-based standards] (INT64_MIN): Likewise.
3158 [C99-based standards] (INT64_MAX): Likewise.
3159 [C99-based standards] (UINT8_MAX): Likewise.
3160 [C99-based standards] (UINT16_MAX): Likewise.
3161 [C99-based standards] (UINT32_MAX): Likewise.
3162 [C99-based standards] (UINT64_MAX): Likewise.
3163 [C99-based standards] (INT_LEAST8_MIN): Likewise.
3164 [C99-based standards] (INT_LEAST8_MAX): Likewise.
3165 [C99-based standards] (INT_LEAST16_MIN): Likewise.
3166 [C99-based standards] (INT_LEAST16_MAX): Likewise.
3167 [C99-based standards] (INT_LEAST32_MIN): Likewise.
3168 [C99-based standards] (INT_LEAST32_MAX): Likewise.
3169 [C99-based standards] (INT_LEAST64_MIN): Likewise.
3170 [C99-based standards] (INT_LEAST64_MAX): Likewise.
3171 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
3172 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
3173 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
3174 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
3175 [C99-based standards] (INT_FAST8_MIN): Likewise.
3176 [C99-based standards] (INT_FAST8_MAX): Likewise.
3177 [C99-based standards] (INT_FAST16_MIN): Likewise.
3178 [C99-based standards] (INT_FAST16_MAX): Likewise.
3179 [C99-based standards] (INT_FAST32_MIN): Likewise.
3180 [C99-based standards] (INT_FAST32_MAX): Likewise.
3181 [C99-based standards] (INT_FAST64_MIN): Likewise.
3182 [C99-based standards] (INT_FAST64_MAX): Likewise.
3183 [C99-based standards] (UINT_FAST8_MAX): Likewise.
3184 [C99-based standards] (UINT_FAST16_MAX): Likewise.
3185 [C99-based standards] (UINT_FAST32_MAX): Likewise.
3186 [C99-based standards] (UINT_FAST64_MAX): Likewise.
3187 [C99-based standards] (INTPTR_MIN): Likewise.
3188 [C99-based standards] (INTPTR_MAX): Likewise.
3189 [C99-based standards] (UINTPTR_MAX): Likewise.
3190 [C99-based standards] (INTMAX_MIN): Likewise.
3191 [C99-based standards] (INTMAX_MAX): Likewise.
3192 [C99-based standards] (UINTMAX_MAX): Likewise.
3193 [C99-based standards] (PTRDIFF_MIN): Likewise.
3194 [C99-based standards] (PTRDIFF_MAX): Likewise.
3195 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
3196 [C99-based standards] (SIZE_MAX): Likewise.
3197 [C99-based standards] (WCHAR_MAX): Likewise.
3198 [C99-based standards] (WINT_MAX): Likewise.
3199 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
3200 constraint on value.
3201 [C99-based standards] (WCHAR_MIN): Likewise.
3202 [C99-based standards] (WINT_MIN): Likewise.
3203 [C99-based standards] (*_t): Allow.
3204 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
3205 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
3206 Include math.h-data and complex.h-data. Remove all expectations
3207 of math.h and complex.h contents.
3208 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
3209 at end of line.
3210 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
3211 (struct tm): Expect tag.
3212 [C99-based-standards] (wcstof): Expect function.
3213 [C99-based-standards] (wcstold): Likewise.
3214 [C99-based-standards] (wcstoll): Likewise.
3215 [C99-based-standards] (wcstoull): Likewise.
3216 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
3217 macro-int-constant. Specify type.
3218 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
3219 constraint on value.
3220 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
3221 Specify type.
3222 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
3223 Specify value.
3224 [ISO C standards]: Do not allow headers.
3225 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
3226 wcs[abcdefghijklmnopqrstuvwxyz]*.
3227 [ISO C standards] (*_t): Do not allow.
3228 * conform/data/wctype.h-data [C99-based standards] (iswblank):
3229 Expect function.
3230 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
3231 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
3232 Specify type.
3233 [ISO C standards]: Do not allow headers.
3234 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
3235 is[abcdefghijklmnopqrstuvwxyz]*.
3236 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
3237 to[abcdefghijklmnopqrstuvwxyz]*.
3238 [ISO C standards] (*_t): Do not allow.
3239 * conform/data/stdalign.h-data: New file.
3240 * conform/data/stdbool.h-data: Likewise.
3241 * conform/data/stdnoreturn.h-data: Likewise.
3242
7514feb8
RM
32432012-11-07 Roland McGrath <roland@hack.frob.com>
3244
3245 [BZ #14815]
3246 * manual/filesys.texi (Directory Entries): Typo fix.
3247 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
3248
19b2ecfc
MS
32492012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3250
3251 * elf/elf.h (EM_AARCH64): New macro.
3252 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
3253 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
3254 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
3255 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
3256 (R_AARCH64_TLSDESC): Likewise.
3257 (NT_ARM_TLS): Likewise.
3258 (NT_ARM_HW_BREAK): Likewise.
3259 (NT_ARM_HW_WATCH): Likewise.
3260
60e235ee
JM
32612012-11-07 Joseph Myers <joseph@codesourcery.com>
3262
3263 [BZ #14811]
3264 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
3265 (__ieee754_powl): Saturate nonzero exponents with absolute value
3266 below 0x1p-79 to +/- 0x1p-79.
3267 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
3268 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
3269 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
3270 nonzero exponents with absolute value below 0x1p-32 to +/-
3271 0x1p-32.
3272 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
3273 (__ieee754_powl): Saturate nonzero exponents with absolute value
3274 below 0x1p-79 to +/- 0x1p-79.
3275 * math/libm-test.inc (pow_test): Add more tests.
3276
0ab234b7
AK
32772012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3278
3279 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
3280 _dl_s390_cap_flags with kernel. Increase string length.
3281 (_dl_s390_platforms): Add z196 and zEC12.
3282
45832f74
JM
32832012-11-07 Joseph Myers <joseph@codesourcery.com>
3284
3285 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
3286 Change XOPEN21K to XOPEN2K.
3287
19218757
MK
32882012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
3289
3290 * string/memmove.c: Use memcpy when possible.
3291
c5f45721
AJ
32922012-11-06 Andreas Jaeger <aj@suse.de>
3293
3294 * po/eo.po: Update from translation team.
3295
82477c28
JM
32962012-11-06 Joseph Myers <joseph@codesourcery.com>
3297
3298 [BZ #14793]
3299 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
3300 exponent and small x and y exponents, scale x or y up. Increase
3301 by 2 the exponent used in scaling up.
3302 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3303 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3304 * math/libm-test.inc (fma_test): Add more tests.
3305 (fma_test_towardzero): Likewise.
3306 (fma_test_downward): Likewise.
3307 (fma_test_upward): Likewise.
3308
99252c8c
JM
33092012-11-05 Joseph Myers <joseph@codesourcery.com>
3310
acfa885f
JM
3311 [BZ #14805]
3312 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
3313 fenv_t *.
3314
99252c8c
JM
3315 [BZ #14801]
3316 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
3317 namespace for names of struct fields.
3318 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
3319 fenv_t fields.
3320 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
3321 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
3322
d6d98dea
ST
33232012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
3324
3325 [BZ #3665]
3326 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
3327
e10bb107
TS
33282012-11-04 Thomas Schwinge <thomas@codesourcery.com>
3329
3330 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
3331 PTR_DEMANGLE.
3332
3333 [BZ #5246]
3334 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
3335 PTR_DEMANGLE.
3336
a0c2940d
JM
33372012-11-04 Joseph Myers <joseph@codesourcery.com>
3338
3339 [BZ #14797]
3340 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
3341 definitely overflow as x * y not x * y + z.
3342 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3343 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3344 * math/libm-test.inc (fma_test): Add more tests.
3345 (fma_test_towardzero): Likewise.
3346 (fma_test_downward): Likewise.
3347 (fma_test_upward): Likewise.
3348
b830319d
TS
33492012-11-04 Thomas Schwinge <thomas@codesourcery.com>
3350
3351 [BZ #157]
3352
3353 * include/stub-tag.h: Remove file.
3354 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
3355 '#include' of it.
3356 * manual/maint.texi (Porting): Don't reference it.
3357 * Makerules ($(objpfx)stubs): Likewise.
3358 * dirent/closedir.c: Don't include <stub-tag.h>.
3359 * dirent/dirfd.c: Likewise.
3360 * dirent/fdopendir.c: Likewise.
3361 * dirent/getdents.c: Likewise.
3362 * dirent/getdents64.c: Likewise.
3363 * dirent/opendir.c: Likewise.
3364 * dirent/readdir.c: Likewise.
3365 * dirent/readdir64.c: Likewise.
3366 * dirent/readdir64_r.c: Likewise.
3367 * dirent/readdir_r.c: Likewise.
3368 * dirent/rewinddir.c: Likewise.
3369 * dirent/seekdir.c: Likewise.
3370 * dirent/telldir.c: Likewise.
3371 * gmon/profil.c: Likewise.
3372 * grp/setgroups.c: Likewise.
3373 * inet/if_index.c: Likewise.
3374 * io/access.c: Likewise.
3375 * io/chdir.c: Likewise.
3376 * io/chmod.c: Likewise.
3377 * io/chown.c: Likewise.
3378 * io/close.c: Likewise.
3379 * io/dup.c: Likewise.
3380 * io/dup2.c: Likewise.
3381 * io/dup3.c: Likewise.
3382 * io/euidaccess.c: Likewise.
3383 * io/faccessat.c: Likewise.
3384 * io/fchdir.c: Likewise.
3385 * io/fchmod.c: Likewise.
3386 * io/fchmodat.c: Likewise.
3387 * io/fchown.c: Likewise.
3388 * io/fchownat.c: Likewise.
3389 * io/fcntl.c: Likewise.
3390 * io/flock.c: Likewise.
3391 * io/fstatfs.c: Likewise.
3392 * io/fstatfs64.c: Likewise.
3393 * io/fstatvfs.c: Likewise.
3394 * io/fstatvfs64.c: Likewise.
3395 * io/futimens.c: Likewise.
3396 * io/fxstat.c: Likewise.
3397 * io/fxstat64.c: Likewise.
3398 * io/fxstatat.c: Likewise.
3399 * io/fxstatat64.c: Likewise.
3400 * io/getcwd.c: Likewise.
3401 * io/isatty.c: Likewise.
3402 * io/lchmod.c: Likewise.
3403 * io/lchown.c: Likewise.
3404 * io/link.c: Likewise.
3405 * io/linkat.c: Likewise.
3406 * io/lseek.c: Likewise.
3407 * io/lseek64.c: Likewise.
3408 * io/lxstat64.c: Likewise.
3409 * io/mkdir.c: Likewise.
3410 * io/mkdirat.c: Likewise.
3411 * io/mkfifo.c: Likewise.
3412 * io/mkfifoat.c: Likewise.
3413 * io/open.c: Likewise.
3414 * io/open64.c: Likewise.
3415 * io/openat.c: Likewise.
3416 * io/openat64.c: Likewise.
3417 * io/pipe.c: Likewise.
3418 * io/pipe2.c: Likewise.
3419 * io/poll.c: Likewise.
3420 * io/posix_fadvise.c: Likewise.
3421 * io/posix_fadvise64.c: Likewise.
3422 * io/posix_fallocate.c: Likewise.
3423 * io/posix_fallocate64.c: Likewise.
3424 * io/read.c: Likewise.
3425 * io/readlink.c: Likewise.
3426 * io/readlinkat.c: Likewise.
3427 * io/rmdir.c: Likewise.
3428 * io/sendfile.c: Likewise.
3429 * io/sendfile64.c: Likewise.
3430 * io/statfs.c: Likewise.
3431 * io/statfs64.c: Likewise.
3432 * io/statvfs.c: Likewise.
3433 * io/statvfs64.c: Likewise.
3434 * io/symlink.c: Likewise.
3435 * io/symlinkat.c: Likewise.
3436 * io/ttyname.c: Likewise.
3437 * io/ttyname_r.c: Likewise.
3438 * io/umask.c: Likewise.
3439 * io/unlink.c: Likewise.
3440 * io/unlinkat.c: Likewise.
3441 * io/utime.c: Likewise.
3442 * io/utimensat.c: Likewise.
3443 * io/write.c: Likewise.
3444 * io/xmknod.c: Likewise.
3445 * io/xmknodat.c: Likewise.
3446 * io/xstat.c: Likewise.
3447 * io/xstat64.c: Likewise.
3448 * login/getpt.c: Likewise.
3449 * login/grantpt.c: Likewise.
3450 * login/unlockpt.c: Likewise.
3451 * math/e_acoshl.c: Likewise.
3452 * math/e_acosl.c: Likewise.
3453 * math/e_asinl.c: Likewise.
3454 * math/e_atan2l.c: Likewise.
3455 * math/e_atanhl.c: Likewise.
3456 * math/e_coshl.c: Likewise.
3457 * math/e_expl.c: Likewise.
3458 * math/e_fmodl.c: Likewise.
3459 * math/e_gammal_r.c: Likewise.
3460 * math/e_hypotl.c: Likewise.
3461 * math/e_j0l.c: Likewise.
3462 * math/e_j1l.c: Likewise.
3463 * math/e_jnl.c: Likewise.
3464 * math/e_lgammal_r.c: Likewise.
3465 * math/e_log10l.c: Likewise.
3466 * math/e_log2l.c: Likewise.
3467 * math/e_logl.c: Likewise.
3468 * math/e_powl.c: Likewise.
3469 * math/e_rem_pio2l.c: Likewise.
3470 * math/e_sinhl.c: Likewise.
3471 * math/e_sqrtl.c: Likewise.
3472 * math/fclrexcpt.c: Likewise.
3473 * math/fedisblxcpt.c: Likewise.
3474 * math/feenablxcpt.c: Likewise.
3475 * math/fegetenv.c: Likewise.
3476 * math/fegetexcept.c: Likewise.
3477 * math/fegetround.c: Likewise.
3478 * math/feholdexcpt.c: Likewise.
3479 * math/fesetenv.c: Likewise.
3480 * math/fesetround.c: Likewise.
3481 * math/feupdateenv.c: Likewise.
3482 * math/fgetexcptflg.c: Likewise.
3483 * math/fraiseexcpt.c: Likewise.
3484 * math/fsetexcptflg.c: Likewise.
3485 * math/ftestexcept.c: Likewise.
3486 * math/k_cosl.c: Likewise.
3487 * math/k_rem_pio2l.c: Likewise.
3488 * math/k_sinl.c: Likewise.
3489 * math/k_tanl.c: Likewise.
3490 * math/s_asinhl.c: Likewise.
3491 * math/s_atanl.c: Likewise.
3492 * math/s_cbrtl.c: Likewise.
3493 * math/s_erfl.c: Likewise.
3494 * math/s_expm1l.c: Likewise.
3495 * math/s_log1pl.c: Likewise.
3496 * math/s_tanhl.c: Likewise.
3497 * misc/acct.c: Likewise.
3498 * misc/brk.c: Likewise.
3499 * misc/chflags.c: Likewise.
3500 * misc/chroot.c: Likewise.
3501 * misc/fchflags.c: Likewise.
3502 * misc/fgetxattr.c: Likewise.
3503 * misc/flistxattr.c: Likewise.
3504 * misc/fremovexattr.c: Likewise.
3505 * misc/fsetxattr.c: Likewise.
3506 * misc/fsync.c: Likewise.
3507 * misc/ftruncate.c: Likewise.
3508 * misc/futimes.c: Likewise.
3509 * misc/futimesat.c: Likewise.
3510 * misc/getdomain.c: Likewise.
3511 * misc/getdtsz.c: Likewise.
3512 * misc/gethostid.c: Likewise.
3513 * misc/gethostname.c: Likewise.
3514 * misc/getloadavg.c: Likewise.
3515 * misc/getpagesize.c: Likewise.
3516 * misc/getsysstats.c: Likewise.
3517 * misc/getxattr.c: Likewise.
3518 * misc/gtty.c: Likewise.
3519 * misc/ioctl.c: Likewise.
3520 * misc/lgetxattr.c: Likewise.
3521 * misc/listxattr.c: Likewise.
3522 * misc/llistxattr.c: Likewise.
3523 * misc/lremovexattr.c: Likewise.
3524 * misc/lsetxattr.c: Likewise.
3525 * misc/lutimes.c: Likewise.
3526 * misc/madvise.c: Likewise.
3527 * misc/mincore.c: Likewise.
3528 * misc/mlock.c: Likewise.
3529 * misc/mlockall.c: Likewise.
3530 * misc/mmap.c: Likewise.
3531 * misc/mprotect.c: Likewise.
3532 * misc/msync.c: Likewise.
3533 * misc/munlock.c: Likewise.
3534 * misc/munlockall.c: Likewise.
3535 * misc/munmap.c: Likewise.
3536 * misc/preadv.c: Likewise.
3537 * misc/preadv64.c: Likewise.
3538 * misc/ptrace.c: Likewise.
3539 * misc/pwritev.c: Likewise.
3540 * misc/pwritev64.c: Likewise.
3541 * misc/readv.c: Likewise.
3542 * misc/reboot.c: Likewise.
3543 * misc/remap_file_pages.c: Likewise.
3544 * misc/removexattr.c: Likewise.
3545 * misc/revoke.c: Likewise.
3546 * misc/select.c: Likewise.
3547 * misc/setdomain.c: Likewise.
3548 * misc/setegid.c: Likewise.
3549 * misc/seteuid.c: Likewise.
3550 * misc/sethostid.c: Likewise.
3551 * misc/sethostname.c: Likewise.
3552 * misc/setregid.c: Likewise.
3553 * misc/setreuid.c: Likewise.
3554 * misc/setxattr.c: Likewise.
3555 * misc/sstk.c: Likewise.
3556 * misc/stty.c: Likewise.
3557 * misc/swapoff.c: Likewise.
3558 * misc/swapon.c: Likewise.
3559 * misc/sync.c: Likewise.
3560 * misc/syncfs.c: Likewise.
3561 * misc/syscall.c: Likewise.
3562 * misc/truncate.c: Likewise.
3563 * misc/ualarm.c: Likewise.
3564 * misc/usleep.c: Likewise.
3565 * misc/ustat.c: Likewise.
3566 * misc/utimes.c: Likewise.
3567 * misc/vhangup.c: Likewise.
3568 * misc/writev.c: Likewise.
3569 * posix/_exit.c: Likewise.
3570 * posix/alarm.c: Likewise.
3571 * posix/execve.c: Likewise.
3572 * posix/fexecve.c: Likewise.
3573 * posix/fork.c: Likewise.
3574 * posix/fpathconf.c: Likewise.
3575 * posix/getaddrinfo.c: Likewise.
3576 * posix/getegid.c: Likewise.
3577 * posix/geteuid.c: Likewise.
3578 * posix/getgid.c: Likewise.
3579 * posix/getgroups.c: Likewise.
3580 * posix/getlogin.c: Likewise.
3581 * posix/getlogin_r.c: Likewise.
3582 * posix/getpgid.c: Likewise.
3583 * posix/getpid.c: Likewise.
3584 * posix/getppid.c: Likewise.
3585 * posix/getresgid.c: Likewise.
3586 * posix/getresuid.c: Likewise.
3587 * posix/getsid.c: Likewise.
3588 * posix/getuid.c: Likewise.
3589 * posix/glob64.c: Likewise.
3590 * posix/nanosleep.c: Likewise.
3591 * posix/pathconf.c: Likewise.
3592 * posix/pause.c: Likewise.
3593 * posix/posix_madvise.c: Likewise.
3594 * posix/pread.c: Likewise.
3595 * posix/pread64.c: Likewise.
3596 * posix/pwrite.c: Likewise.
3597 * posix/pwrite64.c: Likewise.
3598 * posix/sched_getaffinity.c: Likewise.
3599 * posix/sched_getp.c: Likewise.
3600 * posix/sched_gets.c: Likewise.
3601 * posix/sched_primax.c: Likewise.
3602 * posix/sched_primin.c: Likewise.
3603 * posix/sched_rr_gi.c: Likewise.
3604 * posix/sched_setaffinity.c: Likewise.
3605 * posix/sched_setp.c: Likewise.
3606 * posix/sched_sets.c: Likewise.
3607 * posix/sched_yield.c: Likewise.
3608 * posix/setgid.c: Likewise.
3609 * posix/setlogin.c: Likewise.
3610 * posix/setpgid.c: Likewise.
3611 * posix/setresgid.c: Likewise.
3612 * posix/setresuid.c: Likewise.
3613 * posix/setsid.c: Likewise.
3614 * posix/setuid.c: Likewise.
3615 * posix/sleep.c: Likewise.
3616 * posix/spawni.c: Likewise.
3617 * posix/sysconf.c: Likewise.
3618 * posix/times.c: Likewise.
3619 * posix/wait.c: Likewise.
3620 * posix/wait3.c: Likewise.
3621 * posix/wait4.c: Likewise.
3622 * posix/waitpid.c: Likewise.
3623 * resolv/gai_sigqueue.c: Likewise.
3624 * resource/getpriority.c: Likewise.
3625 * resource/getrlimit.c: Likewise.
3626 * resource/getrusage.c: Likewise.
3627 * resource/nice.c: Likewise.
3628 * resource/setpriority.c: Likewise.
3629 * resource/setrlimit.c: Likewise.
3630 * resource/ulimit.c: Likewise.
3631 * rt/aio_cancel.c: Likewise.
3632 * rt/aio_fsync.c: Likewise.
3633 * rt/aio_read.c: Likewise.
3634 * rt/aio_sigqueue.c: Likewise.
3635 * rt/aio_suspend.c: Likewise.
3636 * rt/aio_write.c: Likewise.
3637 * rt/clock_getres.c: Likewise.
3638 * rt/clock_gettime.c: Likewise.
3639 * rt/clock_nanosleep.c: Likewise.
3640 * rt/clock_settime.c: Likewise.
3641 * rt/lio_listio.c: Likewise.
3642 * rt/mq_close.c: Likewise.
3643 * rt/mq_getattr.c: Likewise.
3644 * rt/mq_notify.c: Likewise.
3645 * rt/mq_open.c: Likewise.
3646 * rt/mq_receive.c: Likewise.
3647 * rt/mq_send.c: Likewise.
3648 * rt/mq_setattr.c: Likewise.
3649 * rt/mq_timedreceive.c: Likewise.
3650 * rt/mq_timedsend.c: Likewise.
3651 * rt/mq_unlink.c: Likewise.
3652 * rt/shm_open.c: Likewise.
3653 * rt/shm_unlink.c: Likewise.
3654 * rt/timer_create.c: Likewise.
3655 * rt/timer_delete.c: Likewise.
3656 * rt/timer_getoverr.c: Likewise.
3657 * rt/timer_gettime.c: Likewise.
3658 * rt/timer_settime.c: Likewise.
3659 * setjmp/__longjmp.c: Likewise.
3660 * setjmp/setjmp.c: Likewise.
3661 * signal/kill.c: Likewise.
3662 * signal/killpg.c: Likewise.
3663 * signal/raise.c: Likewise.
3664 * signal/sigaction.c: Likewise.
3665 * signal/sigaltstack.c: Likewise.
3666 * signal/sigblock.c: Likewise.
3667 * signal/sigignore.c: Likewise.
3668 * signal/sigintr.c: Likewise.
3669 * signal/signal.c: Likewise.
3670 * signal/sigpause.c: Likewise.
3671 * signal/sigpending.c: Likewise.
3672 * signal/sigqueue.c: Likewise.
3673 * signal/sigreturn.c: Likewise.
3674 * signal/sigset.c: Likewise.
3675 * signal/sigsetmask.c: Likewise.
3676 * signal/sigstack.c: Likewise.
3677 * signal/sigsuspend.c: Likewise.
3678 * signal/sigtimedwait.c: Likewise.
3679 * signal/sigvec.c: Likewise.
3680 * signal/sigwait.c: Likewise.
3681 * signal/sigwaitinfo.c: Likewise.
3682 * signal/sysv_signal.c: Likewise.
3683 * socket/accept.c: Likewise.
3684 * socket/accept4.c: Likewise.
3685 * socket/bind.c: Likewise.
3686 * socket/connect.c: Likewise.
3687 * socket/getpeername.c: Likewise.
3688 * socket/getsockname.c: Likewise.
3689 * socket/getsockopt.c: Likewise.
3690 * socket/isfdtype.c: Likewise.
3691 * socket/listen.c: Likewise.
3692 * socket/recv.c: Likewise.
3693 * socket/recvfrom.c: Likewise.
3694 * socket/recvmsg.c: Likewise.
3695 * socket/send.c: Likewise.
3696 * socket/sendmsg.c: Likewise.
3697 * socket/sendto.c: Likewise.
3698 * socket/setsockopt.c: Likewise.
3699 * socket/shutdown.c: Likewise.
3700 * socket/sockatmark.c: Likewise.
3701 * socket/socket.c: Likewise.
3702 * socket/socketpair.c: Likewise.
3703 * stdio-common/ctermid.c: Likewise.
3704 * stdio-common/cuserid.c: Likewise.
3705 * stdio-common/remove.c: Likewise.
3706 * stdio-common/rename.c: Likewise.
3707 * stdio-common/renameat.c: Likewise.
3708 * stdio-common/tempname.c: Likewise.
3709 * stdlib/getcontext.c: Likewise.
3710 * stdlib/makecontext.c: Likewise.
3711 * stdlib/setcontext.c: Likewise.
3712 * stdlib/swapcontext.c: Likewise.
3713 * stdlib/system.c: Likewise.
3714 * streams/fattach.c: Likewise.
3715 * streams/fdetach.c: Likewise.
3716 * streams/getmsg.c: Likewise.
3717 * streams/getpmsg.c: Likewise.
3718 * streams/putmsg.c: Likewise.
3719 * streams/putpmsg.c: Likewise.
3720 * sysdeps/unix/bsd/getpt.c: Likewise.
3721 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
3722 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
3723 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
3724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
3725 Likewise.
3726 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
3727 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
3728 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
3729 * sysvipc/msgctl.c: Likewise.
3730 * sysvipc/msgget.c: Likewise.
3731 * sysvipc/msgrcv.c: Likewise.
3732 * sysvipc/msgsnd.c: Likewise.
3733 * sysvipc/semctl.c: Likewise.
3734 * sysvipc/semget.c: Likewise.
3735 * sysvipc/semop.c: Likewise.
3736 * sysvipc/semtimedop.c: Likewise.
3737 * sysvipc/shmat.c: Likewise.
3738 * sysvipc/shmctl.c: Likewise.
3739 * sysvipc/shmdt.c: Likewise.
3740 * sysvipc/shmget.c: Likewise.
3741 * termios/tcdrain.c: Likewise.
3742 * termios/tcflow.c: Likewise.
3743 * termios/tcflush.c: Likewise.
3744 * termios/tcgetattr.c: Likewise.
3745 * termios/tcgetpgrp.c: Likewise.
3746 * termios/tcsendbrk.c: Likewise.
3747 * termios/tcsetattr.c: Likewise.
3748 * termios/tcsetpgrp.c: Likewise.
3749 * time/adjtime.c: Likewise.
3750 * time/clock.c: Likewise.
3751 * time/getitimer.c: Likewise.
3752 * time/gettimeofday.c: Likewise.
3753 * time/setitimer.c: Likewise.
3754 * time/settimeofday.c: Likewise.
3755 * time/stime.c: Likewise.
3756 * time/time.c: Likewise.
3757
37582012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 3759
a20492cf
PT
3760 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
3761 /usr/old/bin.
3762
72e182e3
PT
3763 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
3764 instead of spaces.
3765 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
3766
fbeafede
JM
37672012-11-03 Joseph Myers <joseph@codesourcery.com>
3768
5b5b04d6
JM
3769 [BZ #14796]
3770 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
3771 FE_TONEAREST before applying Dekker multiplication and Knuth
3772 addition. Clear inexact exceptions and check for exact zero
3773 results afterwards.
3774 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3775 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
3776 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3777 * math/libm-test.inc (fma_test): Add more tests.
3778 (fma_test_towardzero): Likewise.
3779 (fma_test_downward): Likewise.
3780 (fma_test_upward): Likewise.
3781 * sysdeps/generic/math_private.h (default_libc_fesetround): New
3782 function.
3783 (libc_fesetround): New macro.
3784 (libc_fesetroundf): Likewise.
3785 (libc_fesetroundl): Likewise.
3786 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
3787 function.
3788 (libc_fesetround_387): Likewise.
3789 (libc_fesetroundf): New macro.
3790 (libc_fesetround): Likewise.
3791 (libc_fesetroundl): Likewise.
3792 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
3793 function.
3794 (libc_fesetroundf): New macro.
3795 (libc_fesetround): Likewise.
3796 (libc_fesetroundl): Likewise.
3797 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
3798 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
3799 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
3800 libm_hidden_ver.
3801 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
3802 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
3803 libm_hidden_def.
3804 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
3805 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
3806 libm_hidden_ver.
3807 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
3808 libm_hidden_def.
3809
fbeafede
JM
3810 [BZ #3439]
3811 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
3812 integer constant usable in #if and use that to give value to enum
3813 constant.
3814 (FE_DIVBYZERO): Likewise.
3815 (FE_UNDERFLOW): Likewise.
3816 (FE_OVERFLOW): Likewise.
3817 (FE_INVALID): Likewise.
3818 (FE_INVALID_SNAN): Likewise.
3819 (FE_INVALID_ISI): Likewise.
3820 (FE_INVALID_IDI): Likewise.
3821 (FE_INVALID_ZDZ): Likewise.
3822 (FE_INVALID_IMZ): Likewise.
3823 (FE_INVALID_COMPARE): Likewise.
3824 (FE_INVALID_SOFTWARE): Likewise.
3825 (FE_INVALID_SQRT): Likewise.
3826 (FE_INVALID_INTEGER_CONVERSION): Likewise.
3827 (FE_TONEAREST): Likewise.
3828 (FE_TOWARDZERO): Likewise.
3829 (FE_UPWARD): Likewise.
3830 (FE_DOWNWARD): Likewise.
3831 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
3832 (FE_DIVBYZERO): Likewise.
3833 (FE_OVERFLOW): Likewise.
3834 (FE_UNDERFLOW): Likewise.
3835 (FE_INEXACT): Likewise.
3836 (FE_TONEAREST): Likewise.
3837 (FE_DOWNWARD): Likewise.
3838 (FE_UPWARD): Likewise.
3839 (FE_TOWARDZERO): Likewise.
3840 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
3841 (FE_UNDERFLOW): Likewise.
3842 (FE_OVERFLOW): Likewise.
3843 (FE_DIVBYZERO): Likewise.
3844 (FE_INVALID): Likewise.
3845 (FE_TONEAREST): Likewise.
3846 (FE_TOWARDZERO): Likewise.
3847 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
3848 (FE_OVERFLOW): Likewise.
3849 (FE_UNDERFLOW): Likewise.
3850 (FE_DIVBYZERO): Likewise.
3851 (FE_INEXACT): Likewise.
3852 (FE_TONEAREST): Likewise.
3853 (FE_TOWARDZERO): Likewise.
3854 (FE_UPWARD): Likewise.
3855 (FE_DOWNWARD): Likewise.
3856 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
3857 (FE_DIVBYZERO): Likewise.
3858 (FE_OVERFLOW): Likewise.
3859 (FE_UNDERFLOW): Likewise.
3860 (FE_INEXACT): Likewise.
3861 (FE_TONEAREST): Likewise.
3862 (FE_DOWNWARD): Likewise.
3863 (FE_UPWARD): Likewise.
3864 (FE_TOWARDZERO): Likewise.
3865
105ca950
CM
38662012-11-02 Chris Metcalf <cmetcalf@tilera.com>
3867
3868 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
3869
a542b389
AS
38702012-11-03 Andreas Schwab <schwab@linux-m68k.org>
3871
3872 * scripts/cross-test-ssh.sh (command): Use newlines to separate
3873 commands. Quote $PWD.
3874 (blacklist_exports): Don't use remove_newlines. Replace "declare
3875 -x" by "export".
3876 (remove_newlines): Remove.
3877
f62c8abc
L
38782012-11-02 H.J. Lu <hongjiu.lu@intel.com>
3879
3880 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
3881 * stdlib/stdlib.h (atof): Moved to ...
3882 * include/bits/stdlib-float.h: Here. New file.
3883 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
3884 * stdlib/bits/stdlib-float.h: New file.
3885 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
3886 -mno-sse -mno-mmx.
3887 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
3888 <xmmintrin.h>.
3889
0155d5b2
JM
38902012-11-02 Joseph Myers <joseph@codesourcery.com>
3891
a68d0680
JM
3892 * conform/conformtest.pl (@headers): Add fenv.h.
3893 * conform/data/fenv.h-data: New file.
3894 * include/fenv.h [_ISOMAC]: Disable all contents of file except
3895 include of <math/fenv.h>.
3896
caf7f573
JM
3897 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
3898 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
3899 && !UNIX98]. Enables tests for XOPEN2K8.
3900 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
3901 POSIX2008]: Likewise.
3902
6c073ad6
JM
3903 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
3904 (struct rusage): Do not expect type or its members.
3905
0155d5b2
JM
3906 [BZ #3439]
3907 * math/math.h (FP_NAN): Define macro to integer constant usable in
3908 #if and use that to give value to enum constant.
3909 (FP_INFINITE): Likewise.
3910 (FP_ZERO): Likewise.
3911 (FP_SUBNORMAL): Likewise.
3912 (FP_NORMAL): Likewise.
3913
b5dcacb4
AS
39142012-11-02 Andreas Schwab <schwab@linux-m68k.org>
3915
3916 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
3917 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
3918 arguments.
3919
f7934be8
RM
39202012-11-02 Roland McGrath <roland@hack.frob.com>
3921
3922 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
3923 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
3924 autoconf-time if not.
3925 * configure.in: Remove AC_PREREQ.
3926
d7d08bde
TMQMF
39272012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3928
3929 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
3930 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
3931 of the internal implementation.
3932
dcdae19a
JM
39332012-11-02 Joseph Myers <joseph@codesourcery.com>
3934
3935 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
3936 except include of <misc/sys/syslog.h>.
3937
d6cffd3e
AS
39382012-11-01 Andreas Schwab <schwab@linux-m68k.org>
3939
3940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
3941 function returns with a NULL context exit with zero.
3942
b3563932
TMQMF
39432012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3944
3945 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
3946
b288a93d
L
39472012-11-01 H.J. Lu <hongjiu.lu@intel.com>
3948
3949 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
3950 (run_program_cmd): This.
3951 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
3952 (tst_langinfo): New variable. Use it.
3953
a2421a68
SAS
39542012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
3955
3956 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
3957 floating point opcodes.
3958
6f796e1b
TS
39592012-11-01 Thomas Schwinge <thomas@codesourcery.com>
3960
7402596b
TS
3961 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
3962 variable.
3963
d0d4f868
TS
3964 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
3965
6f796e1b
TS
3966 * sysdeps/mach/hurd/powerpc: Remove directory.
3967 * sysdeps/mach/powerpc: Likewise.
3968
4da224a2
AS
39692012-11-01 Andreas Schwab <schwab@linux-m68k.org>
3970
3971 * scripts/check-local-headers.sh: Ignore c++ headers.
3972
341dd673
TS
39732012-11-01 Thomas Schwinge <thomas@codesourcery.com>
3974
3975 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
3976 __libc_cleanup_region_start argument.
3977
473611b2
JM
39782012-11-01 Joseph Myers <joseph@codesourcery.com>
3979
3980 [BZ #14784]
3981 [BZ #14785]
3982 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
3983 x * y using scaling, not as x * y + z.
3984 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3985 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3986 * math/libm-test.inc (fma_test): Add more tests.
3987 (fma_test_towardzero): Likewise.
3988 (fma_test_downward): Likewise.
3989 (fma_test_upward): Likewise.
3990
4078da3d
TS
39912012-11-01 Thomas Schwinge <thomas@codesourcery.com>
3992
3993 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
3994
903252aa
JM
39952012-10-31 Joseph Myers <joseph@codesourcery.com>
3996
3997 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
3998 New variable.
3999
cbc818d0
TS
40002012-10-31 Thomas Schwinge <thomas@codesourcery.com>
4001
4002 * rt/tst-shm.c (worker): Correct checking for mmap failure.
4003
5a03cb1e
AS
40042012-10-31 Andreas Schwab <schwab@linux-m68k.org>
4005
4006 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4007 Fix sort order.
4008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
4009 Likewise.
4010
90aff2ff
TMQMF
40112012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4012
4013 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4014 Fix the order of the list for glibc 2.17.
4015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
4016 Likewise.
4017
1818fcb7
AS
40182012-10-31 Andreas Schwab <schwab@linux-m68k.org>
4019
4020 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4021
ef82f4da
JM
40222012-10-31 Joseph Myers <joseph@codesourcery.com>
4023
16a0e2ec
JM
4024 [BZ #14610]
4025 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
4026 for low part of x being zero before using __atanl (y).
4027 * math/libm-test.inc (atan2_test): Add another test.
4028
0eb69512
JM
4029 * manual/install.texi (Configuring and compiling): Document
4030 general use of test-wrapper and test-wrapper-env.
4031 * INSTALL: Regenerated.
4032
ef82f4da
JM
4033 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
4034 (__fma): Do not extract and scale down low bits on after-rounding
4035 systems when result rounded to normal precision would have normal
4036 exponent.
4037 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
4038 (__fmal): Do not extract and scale down low bits on after-rounding
4039 systems when result rounded to normal precision would have normal
4040 exponent.
4041 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
4042 (__fmal): Do not extract and scale down low bits on after-rounding
4043 systems when result rounded to normal precision would have normal
4044 exponent.
4045 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
4046 macro.
4047 (fma_test): Add more tests.
4048 (fma_test_towardzero): Likewise.
4049 (fma_test_downward): Likewise.
4050 (fma_test_upward): Likewise.
4051
954ef0d9
L
40522012-10-30 H.J. Lu <hongjiu.lu@intel.com>
4053
4054 * sysdeps/i386/tininess.h: Renamed to ...
4055 * sysdeps/x86/tininess.h: This.
4056 * sysdeps/x86_64/tininess.h: Removed.
4057
df61ffb2
JM
40582012-10-30 Joseph Myers <joseph@codesourcery.com>
4059
4060 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
4061 input. Use $(build-program-cmd).
4062 ($(objpfx)tst-array1-static.out): Likewise.
4063 ($(objpfx)tst-array2.out): Likewise.
4064 ($(objpfx)tst-array3.out): Likewise.
4065 ($(objpfx)tst-array4.out): Likewise.
4066 ($(objpfx)tst-array5.out): Likewise.
4067 ($(objpfx)tst-array5-static.out): Likewise.
4068
01767843
CM
40692012-10-30 Chris Metcalf <cmetcalf@tilera.com>
4070
47cc1490
CM
4071 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
4072 if defined.
4073
01767843
CM
4074 * nss/nsswitch.h (nss_interface_function): Provide new
4075 macro for use with NSS functions.
4076 * grp/initgroups.c: Use new macro.
4077 * nss/getXXbyYY.c: Likewise.
4078 * nss/getXXbyYY_r.c: Likewise.
4079 * nss/getXXent.c: Likewise.
4080 * nss/getXXent_r.c: Likewise.
4081 * sysdeps/posix/getaddrinfo.c: Likewise.
4082
8321aa97
AJ
40832012-10-30 Andreas Jaeger <aj@suse.de>
4084
4085 * po/ru.po: Update Russion translation from translation project.
4086
2a27fd6d
JM
40872012-10-30 Joseph Myers <joseph@codesourcery.com>
4088
8627a232
JM
4089 [BZ #14152]
4090 [BZ #14783]
4091 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
4092 result and shift together with sticky bit instead of replicating
4093 round-to-nearest rounding.
4094 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4095 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4096 * math/libm-test.inc (fma_test): Add more tests. Do not permit
4097 missing underflow exceptions.
4098 (fma_test_towardzero): Add more tests.
4099 (fma_test_downward): Likewise.
4100 (fma_test_upward): Likewise.
4101
2a27fd6d
JM
4102 [BZ #14047]
4103 * sysdeps/generic/tininess.h: New file.
4104 * sysdeps/i386/tininess.h: Likewise.
4105 * sysdeps/sh/tininess.h: Likewise.
4106 * sysdeps/x86_64/tininess.h: Likewise.
4107 * stdlib/tst-strtod-underflow.c: Likewise.
4108 * stdlib/tst-tininess.c: Likewise.
4109 * stdlib/strtod_l.c: Include <tininess.h>.
4110 (round_and_return): Do not set errno for exact underflow cases.
4111 Force an underflow exception when setting errno for underflow.
4112 Determine underflow based on rounding to normal precision if
4113 TININESS_AFTER_ROUNDING.
4114 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
4115 ERANGE for exact underflow cases.
4116 * stdlib/Makefile (tests): Add tst-tininess and
4117 tst-strtod-underflow.
4118 ($(objpfx)tst-tininess): Use $(link-libm).
4119 ($(objpfx)tst-strtod-underflow): Likewise.
4120
e7170363
AJ
41212012-10-30 Andreas Jaeger <aj@suse.de>
4122
e5088dc6
AJ
4123 [BZ#14767]
4124 * elf/Makefile (tests): Remove conditional for have-initfini-array
4125 since this is now always required and the variable does not exist
4126 anymore.
4127 (tests-static): Likewise.
4128 (modules-names): Likewise.
4129
e7170363 4130 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
4131
4132 * elf/tst-array1.c (fini_array): Make writeable so that it can be
4133 merged with constructor/destructor.
4134 (init_array): Likewise.
4135 * elf/tst-array2dep.c (fini_array): Likewise.
4136 (init_array): Likewise.
4137
60457d8a
MF
41382012-10-29 Mike Frysinger <vapier@gentoo.org>
4139
4140 * manual/message.texi: Delete @cartouche tags.
4141
8bece752
PT
41422012-10-29 Pino Toscano <toscano.pino@tiscali.it>
4143
94ce799f
PT
4144 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
4145 EOPNOTSUPP.
4146 * sysdeps/mach/hurd/fsync.c: Likewise.
4147
8bece752
PT
4148 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
4149 [_POSIX_REALTIME_SIGNALS]: Change condition to
4150 [_POSIX_REALTIME_SIGNALS > 0].
4151
86ebe6b1
AJ
41522012-10-27 Andreas Jaeger <aj@suse.de>
4153
4154 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
4155 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
4156 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
4157 [__WORDSIZE != 64]: Likewise.
4158
54399c08
L
41592012-10-26 H.J. Lu <hongjiu.lu@intel.com>
4160
4161 * iconvdata/tst-table.sh: Remove ${SHELL}.
4162 * iconvdata/tst-tables.sh: Likewise.
4163
e2211bed
DM
41642012-10-25 David S. Miller <davem@davemloft.net>
4165
4166 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4167 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
4168 of strtoull.
4169
f303f97c
DM
4170 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
4171 ifunc-impl-list.c
4172 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
4173 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
4174 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
4175 file.
4176
1e9d84cd
RM
41772012-10-25 Roland McGrath <roland@hack.frob.com>
4178
4179 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4180 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
4181 __getdirentries.
4182
df381762
JM
41832012-10-25 Joseph Myers <joseph@codesourcery.com>
4184 Jim Blandy <jimb@codesourcery.com>
4185
4186 * scripts/cross-test-ssh.sh: New file.
4187 * manual/install.texi (Configuring and compiling): Document use of
4188 cross-test-ssh.sh.
4189 * INSTALL: Regenerated.
4190
bff64913
PT
41912012-10-25 Pino Toscano <toscano.pino@tiscali.it>
4192
4193 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
4194 EOPNOTSUPP.
4195
25fe8932
JM
41962012-10-25 Joseph Myers <joseph@codesourcery.com>
4197
4198 * Makeconfig (run-program-prefix): Fix comment.
4199
cc1290d0
JM
42002012-10-24 Joseph Myers <joseph@codesourcery.com>
4201 Jim Blandy <jimb@codesourcery.com>
4202
4203 * Makeconfig (test-wrapper): New variable,
4204 (test-wrapper-env): Likewise.
4205 [$(cross-compiling) = yes && $(test-wrapper) != ""]
4206 (run-built-tests): Define to yes.
4207 (run-program-prefix): Use $(test-wrapper).
4208 (built-program-cmd): Likewise.
4209 * Rules (make-test-out): Use $(test-wrapper-env) and
4210 $(host-built-program-cmd).
4211 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
4212 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
4213 tst-pathopt.sh.
4214 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
4215 $(test-wrapper-env) to tst-rtld-load-self.sh.
4216 ($(objpfx)order2.out): Use $(test-wrapper).
4217 ($(objpfx)tst-initorder.out): Likewise.
4218 ($(objpfx)tst-initorder2.out): Likewise.
4219 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
4220 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
4221 (test_wrapper_env): New variable. Use it to run ld.so.
4222 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
4223 Use it to run ld.so.
4224 (test_wrapper_env): Likewise.
4225 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
4226 $(test-wrapper) to run-iconv-test.sh.
4227 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
4228 (ICONV): Use $test_wrapper.
4229 * posix/Makefile ($(objpfx)globtest.out): Pass
4230 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
4231 globtest.sh, not $(run-program-prefix).
4232 * posix/globtest.sh (run_via_rtld_prefix): New variable.
4233 (test_wrapper): Likewise.
4234 (test_wrapper_env): Likewise. Use it to run globtest with HOME
4235 set together with run_via_rtld_prefix.
4236 (run_program_prefix): Define in terms of test_wrapper and
4237 run_via_rtld_prefix.
4238
6e6249d0
RM
42392012-10-24 Roland McGrath <roland@hack.frob.com>
4240
4241 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
4242 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
4243 Targets removed.
4244
4245 [BZ #14743]
4246 * include/time.h: Remove librt_hidden_proto (clock_gettime).
4247 Declare __clock_getres, __clock_gettime, __clock_settime,
4248 __clock_nanosleep, and __clock_getcpuclockid.
4249 * rt/clock_gettime.c: Define __clock_gettime as an alias.
4250 Remove librt_hidden_def (clock_gettime).
4251 * sysdeps/unix/clock_gettime.c: Likewise.
4252 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
4253 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
4254 * rt/clock_getres.c: Define __clock_getres as an alias.
4255 * sysdeps/posix/clock_getres.c: Likewise.
4256 * rt/clock_settime.c: Define __clock_settime as an alias.
4257 * sysdeps/unix/clock_settime.c: Likewise.
4258 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
4259 * sysdeps/unix/clock_nanosleep.c: Likewise.
4260 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
4261 * rt/clock-compat.c: New file.
4262 * rt/Makefile (librt-routines): Add clock-compat and move
4263 $(clock-routines) to ...
4264 (routines): ... here, new variable.
4265 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
4266 Don't add get_clockfreq here.
4267 * rt/Versions (libc: GLIBC_2.17): New version set.
4268 Add clock_* symbols here.
4269 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
4270 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
4271 (GLIBC_2.17): Add clock_* symbols.
4272 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
4273 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
4274 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
4275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
4276 Likewise.
4277 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4278 Likewise.
4279 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
4280 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
4281 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
4282 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
4283 * NEWS: Mention the move.
4284
4285 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
4286 Use __open, __read, __close rather than their public counterparts.
4287 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4288 (__get_clockfreq_via_cpuinfo): Likewise.
4289 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
4290 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
4291
4292 * config.h.in (HAVE_IFUNC): New #undef.
4293 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
4294 was successful.
4295 * configure: Regenerated.
4296
0cae3f4b
MF
42972012-10-24 Mike Frysinger <vapier@gentoo.org>
4298
4299 * configure.in: Move READELF check to start of file.
4300 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
4301 libc_cv_asm_gnu_indirect_function in the process.
4302 * configure: Regenerated.
4303
8175a253
MF
43042012-10-24 Mike Frysinger <vapier@gentoo.org>
4305
4306 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
4307 send the output to /dev/null.
4308 (libc_cv_cc_with_libunwind): Likewise.
4309 (libc_cv_as_noexecstack): Likewise.
4310 * configure: Regenerate.
4311
0708a7d1
JM
43122012-10-24 Joseph Myers <joseph@codesourcery.com>
4313
10b40d85
JM
4314 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
4315
0708a7d1
JM
4316 * posix/globtest.sh (TMPDIR): Do not set.
4317 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
4318 (testout): Likewise.
4319
9fddec1a
AJ
43202012-10-24 Andreas Jaeger <aj@suse.de>
4321
3a8db22f
AJ
4322 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
4323 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
4324 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
4325 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
4326 posix_fadvise64, posix_fallocate64.
4327
9fddec1a
AJ
4328 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
4329 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
4330 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
4331 Likewise.
4332 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
4333 Likewise.
4334 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
4335
4336 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
4337 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
4338 <bits/fcntl-linux.h>.
4339 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
4340
4341 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
4342 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
4343 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
4344 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
4345 [__WORDSIZE != 64]: Likewise.
4346
ebfd1bbd
JM
43472012-10-23 Joseph Myers <joseph@codesourcery.com>
4348
03ac099f
JM
4349 * Makeconfig (run-built-tests): New variable.
4350 * Rules [$(cross-compiling) = yes]: Change condition to
4351 [$(run-built-tests) = no].
4352 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
4353 to [$(run-built-tests) = yes].
4354 * elf/Makefile [$(cross-compiling) = no]: Likewise
4355 * grp/Makefile [$(cross-compiling) = no]: Likewise.
4356 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
4357 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
4358 * intl/Makefile [$(cross-compiling) = no]: Likewise.
4359 * io/Makefile [$(cross-compiling) = no]: Likewise.
4360 * libio/Makefile [$(cross-compiling) = no]: Likewise.
4361 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
4362 * misc/Makefile [$(cross-compiling) = no]: Likewise.
4363 * posix/Makefile [$(cross-compiling) = no]: Likewise.
4364 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
4365 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
4366 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
4367 * string/Makefile [$(cross-compiling) = no]: Likewise.
4368
ebfd1bbd
JM
4369 * posix/Makefile ($(objpfx)globtest.out): Pass
4370 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
4371 $(rtld-installed-name).
4372 * posix/globtest.sh (elf_objpfx): Remove variable.
4373 (rtld_installed_name): Likewise.
4374 (library_path): Likewise.
4375 (run_program_prefix): New variable. Use for running globtest
4376 binary.
4377
166bca24
JB
43782012-10-23 Jim Blandy <jimb@codesourcery.com>
4379 Joseph Myers <joseph@codesourcery.com>
4380
4381 * Makeconfig (host-built-program-cmd): New variable.
4382 * elf/Makefile (tst-stackguard1-ARGS): Use
4383 $(host-built-program-cmd).
4384 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
4385 (tst-spawn-ARGS): Likewise.
4386 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
4387
88866099
JM
43882012-10-23 Joseph Myers <joseph@codesourcery.com>
4389 Jim Blandy <jimb@codesourcery.com>
4390
4391 * Makeconfig (run-via-rtld-prefix): New variable.
4392 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
4393 (built-program-cmd): Likewise.
4394
b4b4c296
AJ
43952012-10-22 Andreas Jaeger <aj@suse.de>
4396
4397 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
4398 __O_RSYNC if it exists, otherwise to O_SYNC.
4399
6fb54a22
JB
44002012-10-22 Jim Blandy <jimb@codesourcery.com>
4401 Joseph Myers <joseph@codesourcery.com>
4402
4403 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
4404 /dev/null.
4405 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
4406 from /dev/null
4407 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
4408 /dev/null.
4409
481b90b9
AJ
44102012-10-22 Andreas Jaeger <aj@suse.de>
4411
2a0e2669
AJ
4412 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
4413 Define always.
4414 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
4415
76e38f9a
AJ
4416 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4417 bits/fcntl-linux.h.
4418
7cd37b43
AJ
4419 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
4420 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
4421
481b90b9
AJ
4422 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
4423 to __O_LARGEFILE.
4424 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
4425 to __O_LARGEFILE.
4426
aba75984
JB
44272012-10-21 Jim Blandy <jimb@codesourcery.com>
4428 Joseph Myers <joseph@codesourcery.com>
4429
4430 * config.make.in (NM): New variable.
4431
88d4247f
AJ
44322012-10-21 Andreas Jaeger <aj@suse.de>
4433
4434 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
4435 definitions and declarations that are provided by
4436 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
4437
f2eed205
L
44382012-10-20 H.J. Lu <hongjiu.lu@intel.com>
4439
4440 [BZ #14683]
4441 * elf/Makefile (tests-static): Add tst-leaks1-static.
4442 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
4443 ($(objpfx)tst-leaks1-static): New rule.
4444 ($(objpfx)tst-leaks1-static-mem): Likewise.
4445 (tst-leaks1-static-ENV): New macro.
4446 * elf/dl-open.c (dl_open_worker): Check the main application
4447 only if SHARED is defined.
4448 * elf/tst-leaks1-static.c: New file.
4449
335e6931
AJ
44502012-10-20 Andreas Jaeger <aj@suse.de>
4451
4452 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
4453 generic values for Linux.
4454 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
4455 and declarations that are provided by <bits/fcntl-linux.h> and
4456 include <bits/fcntl-linux.h>.
4457 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
4458 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
4459
ac5c94d3
RM
44602012-10-20 Roland McGrath <roland@hack.frob.com>
4461
4462 * io/fcntl.h: Move include of <bits/types.h> to the top and
4463 include it unconditionally.
4464
de54b33a
L
44652012-10-20 H.J. Lu <hongjiu.lu@intel.com>
4466
228cfb01
L
4467 * wcsmbs/Makefile (tests-ifunc): New variable.
4468 (tests): Add $(tests-ifunc).
4469 * wcsmbs/test-wcschr-ifunc.c: New file.
4470 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
4471 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
4472 * wcsmbs/test-wcslen-ifunc.c: Likewise.
4473 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
4474 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
4475
69f07e5f
L
4476 * string/Makefile (tests-ifunc): New variable.
4477 (tests): Add $(tests-ifunc).
4478 * string/test-memccpy.c (TEST_NAME): New macro.
4479 * string/test-memchr.c (TEST_NAME): Likewise.
4480 * string/test-memcmp.c (TEST_NAME): Likewise.
4481 * string/test-memcpy.c (TEST_NAME): Likewise.
4482 * string/test-memmem.c (TEST_NAME): Likewise.
4483 * string/test-memmove.c (TEST_NAME): Likewise.
4484 * string/test-memset.c (TEST_NAME): Likewise.
4485 * string/test-rawmemchr.c (TEST_NAME): Likewise.
4486 * string/test-stpcpy.c (TEST_NAME): Likewise.
4487 * string/test-stpncpy.c (TEST_NAME): Likewise.
4488 * string/test-strcasecmp.c (TEST_NAME): Likewise.
4489 * string/test-strcasestr.c (TEST_NAME): Likewise.
4490 * string/test-strcat.c (TEST_NAME): Likewise.
4491 * string/test-strchr.c (TEST_NAME): Likewise.
4492 * string/test-strcmp.c(TEST_NAME): Likewise.
4493 * string/test-strcpy.c (TEST_NAME): Likewise.
4494 * string/test-strcspn.c (TEST_NAME): Likewise.
4495 * string/test-strlen.c (TEST_NAME): Likewise.
4496 * string/test-strncasecmp.c (TEST_NAME): Likewise.
4497 * string/test-strncmp.c (TEST_NAME): Likewise.
4498 * string/test-strncpy.c (TEST_NAME): Likewise.
4499 * string/test-strnlen.c (TEST_NAME): Likewise.
4500 * string/test-strpbrk.c (TEST_NAME): Likewise.
4501 * string/test-strrchr.c (TEST_NAME): Likewise.
4502 * string/test-strspn.c (TEST_NAME): Likewise.
4503 * string/test-strstr.c (TEST_NAME): Likewise.
4504 * string/test-bcopy-ifunc.c: New file.
4505 * string/test-bzero-ifunc.c: Likewise.
4506 * string/test-memccpy-ifunc.c: Likewise.
4507 * string/test-memchr-ifunc.c: Likewise.
4508 * string/test-memcmp-ifunc.c: Likewise.
4509 * string/test-memcpy-ifunc.c: Likewise.
4510 * string/test-memmem-ifunc.c: Likewise.
4511 * string/test-memmove-ifunc.c: Likewise.
4512 * string/test-mempcpy-ifunc.c: Likewise.
4513 * string/test-memset-ifunc.c: Likewise.
4514 * string/test-rawmemchr-ifunc.c: Likewise.
4515 * string/test-stpcpy-ifunc.c: Likewise.
4516 * string/test-stpncpy-ifunc.c: Likewise.
4517 * string/test-strcasecmp-ifunc.c: Likewise.
4518 * string/test-strcasestr-ifunc.c: Likewise.
4519 * string/test-strcat-ifunc.c: Likewise.
4520 * string/test-strchr-ifunc.c: Likewise.
4521 * string/test-strchrnul-ifunc.c: Likewise.
4522 * string/test-strcmp-ifunc.c: Likewise.
4523 * string/test-strcpy-ifunc.c: Likewise.
4524 * string/test-strcspn-ifunc.c: Likewise.
4525 * string/test-strlen-ifunc.c: Likewise.
4526 * string/test-strncasecmp-ifunc.c: Likewise.
4527 * string/test-strncat-ifunc.c: Likewise.
4528 * string/test-strncmp-ifunc.c: Likewise.
4529 * string/test-strncpy-ifunc.c: Likewise.
4530 * string/test-strnlen-ifunc.c: Likewise.
4531 * string/test-strpbrk-ifunc.c: Likewise.
4532 * string/test-strrchr-ifunc.c: Likewise.
4533 * string/test-strspn-ifunc.c: Likewise.
4534 * string/test-strstr-ifunc.c: Likewise.
4535
de54b33a
L
4536 * debug/Makefile (tests-ifunc): New variable.
4537 (tests): Add $(tests-ifunc).
4538 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
4539 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
4540 * debug/test-stpcpy_chk-ifunc.c: New file.
4541 * debug/test-strcpy_chk-ifunc.c: Likewise.
4542
88481c16
SP
45432012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
4544
4545 [BZ #13601]
4546 * elf/dl-load.c (open_verify): Retry read if the entire ELF
4547 header is not read in.
4548
135948bd
JM
45492012-10-19 Joseph Myers <joseph@codesourcery.com>
4550
89f1c388
JM
4551 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
4552 script to $(SHELL) as $<. Pass $(common-objpfx) to script
4553 directly. Pass built executable to script as
4554 $(built-program-cmd).
4555 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
4556 $testprogram without using LD_LIBRARY_PATH and $ldso.
4557
e40a0d21
JM
4558 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
4559 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
4560 $(rtld-installed-name).
4561 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
4562 (rtld_installed_name): Likewise.
4563 (library_path): Likewise.
4564 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
4565 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
4566 $(run-program-prefix) to tst-tables.sh.
4567 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
4568 it to run tst-table-from and tst-table-to.
4569 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
4570 Pass it to tst-table.sh.
4571 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
4572 $(run-program-prefix) to tst-gettext.sh.
4573 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
4574 tst-translit.sh.
4575 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
4576 tst-gettext2.sh.
4577 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
4578 to run tst-gettext.
4579 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
4580 to run tst-gettext2.
4581 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
4582 to run tst-translit.
4583 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
4584 $(run-program-prefix) to tst-mtrace.sh.
4585 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
4586 to run tst-mtrace.
4587 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
4588 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
4589 $(rtld-installed-name).
4590 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
4591 (rtld_installed_name): Likewise.
4592 (run_program_prefix): New variable. Use it to run wordexp-test.
4593
728e272a
JM
4594 * Makeconfig (ARCH): Remove all definitions.
4595 (machine): Likewise.
4596 [ARCH]: Remove conditional code.
4597 [!objdir]: Give error.
4598 [!objdir] (objpfx): Remove.
4599 [!objdir] (common-objpfx): Likewise.
4600 [!objdir] (common-objdir): Likewise.
4601 * configure.in (config_makefile): Remove. Hardcode Makefile in
4602 AC_CONFIG_FILES call.
4603 * configure: Regenerated.
4604
d528cdcf
JM
4605 [BZ #13888]
4606 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
4607 or TMPDIR.
4608 (testout): Likewise.
4609
135948bd
JM
4610 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
4611 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
4612 $(rtld-installed-name).
4613 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
4614 (rtld_installed_name): Likwise.
4615 (runit): Remove function.
4616 (run_getconf): New variable, Use it for running getconf binary.
4617
38c78296
L
46182012-10-18 H.J. Lu <hongjiu.lu@intel.com>
4619
4620 [BZ #14716]
4621 * string/test-memmem.c (check_result): New function.
4622 (do_one_test): Use it.
4623 (check1): New function.
4624 (test_main): Use it.
4625
d077f65f
MT
46262012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
4627
4628 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
4629
ced52c71
JM
46302012-10-18 Joseph Myers <joseph@codesourcery.com>
4631
4632 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
4633 (_G_LSEEK64): Likewise.
4634 (_G_MMAP64): Likewise.
4635 (_G_FSTAT64): Likewise.
4636 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
4637 (_G_LSEEK64): Likewise.
4638 (_G_MMAP64): Likewise.
4639 (_G_FSTAT64): Likewise.
4640 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
4641 unconditional. Call __mmap64 directly.
4642 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
4643 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
4644 __lseek64 directly.
4645 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
4646 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
4647 __mmap64 directly.
4648 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
4649 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
4650 __lseek64 directly.
4651 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
4652 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
4653 __lseek64 directly.
4654 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
4655 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
4656 __lseek64 directly.
4657 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
4658 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
4659 __fxstat64 directly.
4660 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
4661 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
4662 unconditional.
4663 (freopen64) [!_G_OPEN64]: Remove conditional code.
4664 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
4665 unconditional.
4666 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
4667 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
4668 unconditional.
4669 (ftello64) [!_G_LSEEK64]: Remove conditional code.
4670 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
4671 unconditional.
4672 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
4673 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
4674 unconditional.
4675 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
4676 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
4677 unconditional.
4678 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
4679 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
4680 unconditional.
4681 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
4682 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
4683 unconditional.
4684 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
4685
b741de23
SP
46862012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
4687
4688 [BZ #12140]
4689 * manual/memory.texi (Malloc Tunable Parameters): Add note
4690 about free list pointers overwriting some perturb bytes.
4691 Wording suggested by Roland McGrath.
4692
f9b9d9c9
JM
46932012-10-17 Joseph Myers <joseph@codesourcery.com>
4694
4695 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
4696 (lgamma_test): Likewise.
4697 (tgamma_test): Likewise.
4698
172a631a
FW
46992012-10-16 Florian Weimer <fweimer@redhat.com>
4700
4701 [BZ #14700]
4702 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
4703 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
4704
e9f37252
MK
47052012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
4706
4707 * NEWS: Mention BZ #14716.
4708 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
4709 when removing AVAILABLE1_USES_J macro.
4710
d394eb74
L
47112012-10-12 H.J. Lu <hongjiu.lu@intel.com>
4712
4713 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
4714 (__bswap_64): __uint64_t for unsigned 64-bit int.
4715
ca38dc17
AS
47162012-10-12 Andreas Schwab <schwab@linux-m68k.org>
4717
4718 * include/string.h (memmem): Declare libc hidden alias.
4719 * string/memmem.c (memmem): Define libc hidden alias.
4720 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
4721 __read, __close instead of open, read, close.
4722
9a387d1f
L
47232012-10-11 H.J. Lu <hongjiu.lu@intel.com>
4724
ac49ecaf
L
4725 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
4726 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
4727 global and hidden.
4728 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
4729 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
4730 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
4731 Likewise.
4732 (__rawmemchr_sse2): Likewise.
4733 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
4734 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
4735 (__strchr_sse2): Likewise.
4736 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
4737 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
4738 (__strcasecmp_sse2): Likewise.
4739 (__strncasecmp_sse2): Likewise.
4740 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
4741 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
4742 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
4743 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
4744 (__strrchr_sse2): Likewise.
4745 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
4746 ifunc-impl-list.c.
4747 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
4748 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
4749 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
4750 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
4751 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
4752 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
4753 * sysdeps/x86_64/multiarch/memset.S: Likewise.
4754 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
4755 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
4756 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
4757 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
4758 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
4759 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
4760 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
4761 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
4762 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
4763 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
4764 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
4765 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
4766 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
4767 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
4768 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
4769 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
4770 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
4771 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
4772 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
4773 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
4774 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
4775 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
4776 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
4777
b090e8ea
L
4778 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
4779 global and hidden.
4780 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
4781 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
4782 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
4783 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
4784 Likewise.
4785 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
4786 Likewise.
4787 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
4788 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
4789 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
4790 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
4791 ifunc-impl-list.c.
4792 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
4793 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
4794 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
4795 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
4796 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
4797 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
4798 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
4799 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
4800 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
4801 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
4802 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
4803 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
4804 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
4805 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
4806 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
4807 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
4808 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
4809 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
4810 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
4811 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
4812 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
4813 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
4814 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
4815 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
4816 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
4817 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
4818 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
4819 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
4820 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
4821 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
4822 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
4823 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
4824 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
4825 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
4826 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
4827 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
4828 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
4829 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
4830 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
4831 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
4832 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
4833
11dd4af6
L
4834 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
4835 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
4836 * include/ifunc-impl-list.h: New file.
4837 * misc/ifunc-impl-list.c: Likewise.
4838 * misc/Makefile (routines): Add ifunc-impl-list.
4839 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
4840 * string/test-string.h: Include <ifunc-impl-list.h>.
4841 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
4842 impl_array): New variables.
4843 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
4844 are defined.
4845 (test_init): Call __libc_ifunc_impl_list to initialize
4846 func_list if TEST_IFUNC and TEST_NAME are defined.
4847
9a387d1f
L
4848 * string/Makefile (strop-tests): Add bcopy and bzero.
4849 * string/test-bcopy.c: New file.
4850 * string/test-bzero.c: Likewise.
4851 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
4852 defined.
4853 * string/test-memset.c: Support bzero test if TEST_BZERO is
4854 defined.
4855 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
4856 __libc_memmove.
4857 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
4858 __libc_memset.
4859 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
4860 of memset.
4861
472371b9
JM
48622012-10-10 Joseph Myers <joseph@codesourcery.com>
4863
1e4a9536
JM
4864 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
4865 * configure: Regenerated.
4866
d173d12e
JM
4867 * Makeconfig (+link-static-before-libc): Don't include
4868 $(link-static-libc).
4869
472371b9
JM
4870 * libio/libio.h (_IO_pos_t): Remove.
4871
89a3ad0b
AO
48722012-10-10 Alexandre Oliva <aoliva@redhat.com>
4873
4874 * NEWS: Add note about FIPS mode. Wording suggested by Roland
4875 McGrath.
4876
e7451425
AO
48772012-10-10 Alexandre Oliva <aoliva@redhat.com>
4878
4879 * crypt/crypt-entry.c: Include fips-private.h.
4880 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
4881 * crypt/md5c-test.c (main): Tolerate disabled MD5.
4882 * sysdeps/unix/sysv/linux/fips-private.h: New file.
4883 * sysdeps/generic/fips-private.h: New file, dummy fallback.
4884
4ba74a35
AO
48852012-10-10 Alexandre Oliva <aoliva@redhat.com>
4886
4887 * crypt/crypt-private.h: Include stdbool.h.
4888 (_ufc_setup_salt_r): Return bool.
4889 * crypt/crypt-entry.c: Include errno.h.
4890 (__crypt_r): Return NULL with EINVAL for bad salt.
4891 * crypt/crypt_util.c (bad_for_salt): New.
4892 (_ufc_setup_salt_r): Check that salt is long enough and within
4893 the specified alphabet.
4894 * crypt/badsalttest.c: New file.
4895 * crypt/Makefile (tests): Add it.
4896 ($(objpfx)badsalttest): New.
4897
f96f1242
MK
48982012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
4899
4900 * NEWS: Add entry for BZ #14602.
4901
0e8e0c1c
JM
49022012-10-09 Joseph Myers <joseph@codesourcery.com>
4903
4904 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
4905 type-generic.
4906 * math/libm-test.inc: Update comment listing what functions and
4907 macros are tested.
4908 (isgreater_test): New function.
4909 (isgreaterequal_test): Likewise.
4910 (isless_test): Likewise.
4911 (islessequal_test): Likewise.
4912 (islessgreater_test): Likewise.
4913 (isunordered_test): Likewise.
4914 (main): Call the new functions.
4915
273edc5e
RM
49162012-10-09 Roland McGrath <roland@hack.frob.com>
4917
b8493de0
RM
4918 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
4919 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
4920 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
4921 * sysdeps/i386/configure: Regenerated.
4922 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
4923 * sysdeps/mach/configure: Regenerated.
4924 * sysdeps/mach/hurd/configure: Regenerated.
4925 * sysdeps/powerpc/configure: Regenerated.
4926 * sysdeps/powerpc/powerpc32/configure: Regenerated.
4927 * sysdeps/powerpc/powerpc64/configure: Regenerated.
4928 * sysdeps/s390/s390-32/configure: Regenerated.
4929 * sysdeps/s390/s390-64/configure: Regenerated.
4930 * sysdeps/sh/configure: Regenerated.
4931 * sysdeps/sparc/configure: Regenerated.
4932 * sysdeps/unix/sysv/linux/configure: Regenerated.
4933 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
4934 * sysdeps/x86_64/configure: Regenerated.
4935
273edc5e
RM
4936 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
4937 defined. Don't check if MAP is NULL.
4938
c8450f70
JM
49392012-10-09 Joseph Myers <joseph@codesourcery.com>
4940
4941 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
4942 (_G_stat64): Likewise.
4943 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
4944 (_G_stat64): Likewise.
4945 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
4946 instead of struct _G_stat64.
4947 * libio/fileops.c (mmap_remap_check): Likewise.
4948 (decide_maybe_mmap): Likewise.
4949 (_IO_new_file_seekoff): Likewise.
4950 (_IO_file_stat): Likewise.
4951 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
4952 _G_off64_t.
4953 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
4954 instead of struct _G_stat64.
4955 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
4956
57e605ba
MK
49572012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
4958
4959 [BZ #14602]
4960 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
4961 Replace with ...
4962 (CHECK_EOL): New macro.
4963 (two_way_short_needle): Check beginning of haystack for EOL. Use
4964 CHECK_EOL.
4965 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
4966 Replace with CHECK_EOL.
4967 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
4968 Replace with CHECK_EOL.
4969
ef1bb361
JM
49702012-10-08 Joseph Myers <joseph@codesourcery.com>
4971
4972 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
4973 type-generic.
4974 * math/libm-test.inc: Update comment listing what functions and
4975 macros are tested.
4976 (finite_test): New function.
4977 (isinf_test): Likewise.
4978 (isnan_test): Likewise.
4979 (fpclassify_test): Test subnormal input.
4980 (isfinite_test): Likewise.
4981 (isnormal_test): Likewise.
4982 (main): Call the new functions.
4983
55f11534
JN
49842012-10-08 Jonathan Nieder <jrnieder@gmail.com>
4985
4986 [BZ #14660]
4987 * Makerules (%.dynsym): Force C locale when running
4988 $(OBJDUMP) --dynamic-syms.
4989
1ab29350
AS
49902012-10-08 Andreas Schwab <schwab@linux-m68k.org>
4991
4992 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
4993 <stdint.h>.
4994
f1ecb7ef
DM
49952012-10-06 David S. Miller <davem@davemloft.net>
4996
4997 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
4998 upper 32-bits of the length value in %o2 since we use branch-on-register
4999 tests which consider the entire 64-bit register.
5000
5d41d91a
L
50012012-10-06 H.J. Lu <hongjiu.lu@intel.com>
5002
5003 * string/test-strstr.c (check2): Add a test for page boundary.
5004
3baddb72
DM
50052012-10-05 David S. Miller <davem@davemloft.net>
5006
5007 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
5008 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
5009 file.
5010 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
5011 sysdep_routines.
5012 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
5013 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
5014 and bzero when HWCAP_SPARC_CRYPTO is present.
5015
9cee5585
L
50162012-10-05 H.J. Lu <hongjiu.lu@intel.com>
5017
d7e0dab9
L
5018 [BZ #14602]
5019 * string/test-strstr.c (check2): New function.
5020 (test_main): Call check2.
5021
03759f47
L
5022 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
5023 and bug-strchr1.
5024 * string/bug-strcasestr1.c (do_test): Moved to ...
5025 * string/test-strcasestr.c (check1): Here. New function.
5026 (do_one_test): Break out result checking code into ...
5027 (check_result): This. New function.
5028 (do_one_test): Call check_result.
5029 (test_main): Call check1.
5030 * string/bug-strchr1.c (do_test): Moved to ...
5031 * string/test-strchr.c (check1): Here. New function.
5032 (do_one_test): Break out result checking code into ...
5033 (check_result): This. New function.
5034 (do_one_test): Call check_result.
5035 (test_main): Call check1.
5036 * string/bug-strstr1.c (main): Moved to ...
5037 * string/test-strchr.c (check1): Here. New function.
5038 (do_one_test): Break out result checking code into ...
5039 (check_result): This. New function.
5040 (do_one_test): Call check_result.
5041 (test_main): Call check1.
5042 * string/bug-strcasestr1.c: Removed.
5043 * string/bug-strchr1.c: Likewise.
5044 * string/bug-strstr1.c: Likewise.
5045
53cea63e
L
5046 * elf/Makefile (dl-routines): Add hwcaps.
5047 * elf/dl-support.c (_dl_important_hwcaps): Removed.
5048 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
5049 (_dl_important_hwcaps): Moved to ...
5050 * elf/dl-hwcaps.c: Here. New file.
5051 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
5052
9cee5585 5053 [BZ #14557]
bb859b06
L
5054 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
5055 if IS_IN_rtld isn't defined.
5056
9cee5585
L
5057 * elf/dl-support.c (_dl_sysinfo_map): New.
5058 Include "get-dynamic-info.h" and "setup-vdso.h".
5059 (_dl_non_dynamic_init): Call setup_vdso.
5060 * elf/dynamic-link.h: Don't include <assert.h>.
5061 (elf_get_dynamic_info): Moved to ...
5062 * elf/get-dynamic-info.h: Here. New file.
5063 * elf/dynamic-link.h: Include "get-dynamic-info.h".
5064 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
5065 * elf/setup-vdso.h: Here. New file.
5066 * elf/rtld.c: Include "setup-vdso.h".
5067 (dl_main): Call setup_vdso.
5068
23c31b76
JM
50692012-10-05 Joseph Myers <joseph@codesourcery.com>
5070
28234b07
JM
5071 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
5072 creal in comment listing functions tested. List finite, isinf,
5073 isnan, isless, islessequal, isgreater, isgreaterequal,
5074 islessgreater, isunordered, lgamma_r and pow10 as functions and
5075 macros not tested. Mention which functions not tested are aliases
5076 for other functions. Fix typo. Note that signs of NaNs are not
5077 tested.
5078
23c31b76
JM
5079 * scripts/config.guess: Update from config.git.
5080 * scripts/config.sub: Likewise.
5081
9043e228
RM
50822012-10-04 Roland McGrath <roland@hack.frob.com>
5083
5084 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
5085 * misc/madvise.c (madvise): Renamed to __madvise.
5086 Make madvise a weak alias.
5087 * include/sys/mman.h: Declare __madvise.
5088 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
5089 * sysdeps/unix/syscalls.list
5090 (madvise): Make __madvise the strong name, and madvise a weak alias.
5091 * sysdeps/unix/sysv/linux/syscalls.list
5092 (madvise, mmap): Remove redundant entries.
5093 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
5094 * malloc/malloc.c (mtrim): Likewise.
5095 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
5096
f57f8055
RM
50972012-10-03 Roland McGrath <roland@hack.frob.com>
5098
5099 * sysdeps/mach/hurd/dl-cache.c: File removed.
5100 * config.h.in (USE_LDCONFIG): New #undef.
5101 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
5102 * configure: Regenerated.
5103 * elf/Makefile (dl-routines): Add dl-cache only under
5104 [$(use-ldconfig) = yes].
5105 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
5106 cache on [USE_LDCONFIG].
5107 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
5108 [USE_LDCONFIG].
5109 * elf/rtld.c (dl_main): Likewise.
5110
5bb0c10a
PT
51112012-10-03 Pino Toscano <toscano.pino@tiscali.it>
5112
5113 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
5114 _SC_LEVEL4_CACHE_LINESIZE.
5115
010188c6
RM
51162012-10-03 Roland McGrath <roland@hack.frob.com>
5117
5118 * sysdeps/unix/bsd/confstr.h: File removed.
5119
b6c5ec07
AO
51202012-10-02 Alexandre Oliva <aoliva@redhat.com>
5121
5122 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
5123 sys/sdt-config.h.
5124
408223d4
RM
51252012-10-02 Roland McGrath <roland@hack.frob.com>
5126
5127 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
5128 Make 'mapoff' field ElfW(Off) rather than off_t.
5129
bb9510dc
DL
51302012-10-02 Dmitry V. Levin <ldv@altlinux.org>
5131
fc997c6e
DL
5132 * nscd/Makefile: Remove nscd-cflags and all its users.
5133 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
5134 (CFLAGS-nonlib): Add compiler flags for nscd modules.
5135
bb9510dc
DL
5136 [BZ #10631]
5137 * malloc.c (malloc_printerr): Clarify error message.
5138
05699367
L
51392012-10-02 H.J. Lu <hongjiu.lu@intel.com>
5140
5141 [BZ #14648]
5142 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5143 Set bit_FMA_Usable if FMA is supported.
5144 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
5145 macro.
5146 (bit_FMA4_Usable): Updated.
5147 (index_FMA_Usable): New macro.
5148 (CPUID_FMA): Likewise
5149 (HAS_FMA): Defined with bit_FMA_Usable.
5150
51367701
RM
51512012-10-01 Roland McGrath <roland@hack.frob.com>
5152
5153 * bits/types.h (__swblk_t): Type removed.
5154 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
5155 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
5156 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5157 (__SWBLK_T_TYPE): Likewise.
5158 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
5159 (__SWBLK_T_TYPE): Likewise.
5160 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5161 (__SWBLK_T_TYPE): Likewise.
5162 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5163 (__SWBLK_T_TYPE): Likewise.
5164
4d57bf63 51652012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 5166 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
5167
5168 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
5169 (xdr_mapname): Use YPMAXMAP as maxsize.
5170 (xdr_peername): Use YPMAXPEER as maxsize.
5171 (xdr_keydat): Use YPAXRECORD as maxsize.
5172 (xdr_valdat): Use YPMAXRECORD as maxsize.
5173
93c65d43
RM
51742012-10-01 Roland McGrath <roland@hack.frob.com>
5175
497a03d6
RM
5176 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
5177
93c65d43
RM
5178 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
5179 * csu/init-first.c: ... here.
5180 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
5181 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
5182 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
5183 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
5184 * sysdeps/i386/init-first.c: File removed.
5185 * sysdeps/sh/init-first.c: File removed.
5186
bec749fd
JM
51872012-10-01 Joseph Myers <joseph@codesourcery.com>
5188
5189 [BZ #14645]
5190 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
5191 if x * y might underflow to zero and z is zero.
5192 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5193 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5194 * math/libm-test.inc (min_subnorm_value): New variable.
5195 (fma_test): Add more tests.
5196 (fma_test_towardzero): Likewise.
5197 (fma_test_downward): Likewise
5198 (fma_test_upward): Likewise.
5199 (initialize): Set min_subnorm_value.
5200
8ec5b013
JM
52012012-09-29 Joseph Myers <joseph@codesourcery.com>
5202
5203 [BZ #14638]
5204 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
5205 0 + 0.
5206 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
5207 mode for addition resulting in exact zero.
5208 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
5209 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
5210 exact 0 + 0.
5211 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
5212 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5213 * math/libm-test.inc (fma_test): Add more tests.
5214 (fma_test_towardzero): New function.
5215 (fma_test_downward): Likewise.
5216 (fma_test_upward): Likewise.
5217 (main): Call the new functions.
5218
b1fa802e
DM
52192012-09-28 David S. Miller <davem@davemloft.net>
5220
5221 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
5222
d3b9fd9e
RM
52232012-09-28 Roland McGrath <roland@hack.frob.com>
5224
ea4d37b3
RM
5225 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
5226 instead of SIGALRM.
5227
ac51c949
RM
5228 * sysdeps/gnu/_G_config.h: Moved to ...
5229 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
5230 * sysdeps/mach/hurd/_G_config.h: Moved to ...
5231 * sysdeps/generic/_G_config.h: ... here.
5232
28c195f7
RM
5233 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
5234
848917f9
RM
5235 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
5236
6bacf05b
RM
5237 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
5238 Conditionalize target on [libnss_test1.so-version].
5239
91363dbb
RM
5240 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
5241
cc87f7d8
RM
5242 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
5243 (elfobjdir): Move out of conditionals.
5244
b1c608fe
RM
5245 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
5246 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
5247 (__nss_lookup_function): Conditionalize label remove_from_tree on
5248 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 5249
1d9a6d96
DM
52502012-09-28 David S. Miller <davem@davemloft.net>
5251
5252 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
5253 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
5254 file.
5255 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
5256 sysdep_routines.
5257 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
5258 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
5259 when HWCAP_SPARC_CRYPTO is present.
5260
72581615
PT
52612012-09-28 Pino Toscano <toscano.pino@tiscali.it>
5262
5263 * io/tst-mknodat.c: Create a FIFO instead of a socket.
5264
715a900c
JL
52652012-09-28 Andreas Schwab <schwab@linux-m68k.org>
5266
5267 [BZ #6530]
5268 * stdio-common/vfprintf.c (process_string_arg): Revert
5269 2000-07-22 change.
5270
52712011-09-28 Jonathan Nieder <jrnieder@gmail.com>
5272
5273 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
5274 for testcase.
5275 * stdio-common/tst-sprintf.c: Include <locale.h>
5276 (main): Test sprintf's handling of incomplete multibyte
5277 characters.
5278
9bac1d86
L
52792012-09-28 H.J. Lu <hongjiu.lu@intel.com>
5280
5281 * elf/dl-runtime.c (VERSYMIDX): Removed.
5282 * elf/dl-version.c (VERSYMIDX): Likewise.
5283 * elf/do-rel.h (VERSYMIDX): Likewise.
5284 (VALIDX): Likewise.
5285 * elf/dynamic-link.h (VERSYMIDX): Likewise.
5286 * elf/rtld.c (VALIDX): Likewise.
5287 (ADDRIDX): Likewise.
9bac1d86
L
5288 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
5289 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
5290 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
5291 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
5292 (VALIDX): Likewise.
5293 (ADDRIDX): Likewise.
9bac1d86 5294
b31606c0
PT
52952012-09-28 Pino Toscano <toscano.pino@tiscali.it>
5296
5297 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
5298
11541177
JL
52992012-09-28 Dmitry V. Levin <ldv@altlinux.org>
5300
5301 [BZ #11438]
5302 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
5303 to global scope.
5304 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
5305 addresses are in the same scope as 192.0.2/24.
5306 * posix/gai.conf: Document new scope table defaults.
5307
adb26fae
SP
53082012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5309
5310 [BZ #5298]
5311 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
5312 for ftell. Compute offsets from write pointers instead.
5313 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
5314
4573c6b0
SP
53152012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5316
5317 [BZ #14543]
5318 * libio/Makefile (tests): New test case tst-fseek.
5319 * libio/tst-fseek.c: New test case to verify that fseek/ftell
5320 combination works in wide mode.
5321 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
5322 state when the external buffer state changes.
5323
aa9bbfe6
DM
53242012-09-27 David S. Miller <davem@davemloft.net>
5325
5326 [BZ #14376]
5327 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
5328 pass reloc->r_addend in as the 'high' argument to
5329 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
5330
784421e7
DM
5331 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5332
c39bc8b8
PT
53332012-09-28 Pino Toscano <toscano.pino@tiscali.it>
5334
5335 * rt/tst-aio2.c: Include <pthread.h>.
5336 * rt/tst-aio3.c: Likewise.
5337
1ccc2399
SE
53382012-09-27 Steve Ellcey <sellcey@mips.com>
5339
5340 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
5341
31ed4153
L
53422012-09-27 H.J. Lu <hongjiu.lu@intel.com>
5343
25f5f885
L
5344 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
5345 contents on [SHARED].
31ed4153 5346
b7bfe116
MP
53472012-09-26 Marek Polacek <polacek@redhat.com>
5348
5349 [BZ #14530]
5350 [BZ #13741]
5351 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
5352 for C++ and GCC <4.3 as well as for non GCC compilers.
5353
43c4edba
MT
53542012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
5355
5356 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5357
6a1bf82f
RM
53582012-09-25 Roland McGrath <roland@hack.frob.com>
5359
5360 * Makefile.in (all, install): Declare with .PHONY.
5361 Reported by Michael Hope <michael.hope@linaro.org>.
5362
8ad11b9a
TMQMF
53632012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5364
5365 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
5366 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
5367 system header.
5368 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
5369 Likewise.
5370 (sydep_routines): Add the new and the internal functions.
5371 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
5372 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
5373 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
5374 (GLIBC_2.17): Add the new function.
5375 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
5376 (GLIBC_2.17): Likewise.
5377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
5378 (GLIBC_2.17): Likewise.
5379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
5380 (GLIBC_2.17): Likewise.
5381 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
5382
7e2fca8d
AM
53832012-09-25 Alan Modra <amodra@gmail.com>
5384
5385 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
5386 Add release barrier before setting once_control to say
5387 initialisation is done. Add hints on lwarx. Use macro in
5388 place of isync.
5389 (clear_once_control): Add release barrier.
5390
b87c4b24
JM
53912012-09-25 Joseph Myers <joseph@codesourcery.com>
5392
d032e0d2
JM
5393 [BZ #13629]
5394 * math/s_clog.c (__clog): Handle more values close to |z| = 1
5395 specially.
5396 * math/s_clog10.c (__clog10): Likewise.
5397 * math/s_clog10f.c (__clog10f): Likewise.
5398 * math/s_clog10l.c (__clog10l): Likewise.
5399 * math/s_clogf.c (__clogf): Likewise.
5400 * math/s_clogl.c (__clogl): Likewise.
5401 * math/Makefile (libm-calls): Add x2y2m1.
5402 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
5403 (__x2y2m1): Likewise.
5404 (__x2y2m1l): Likewise.
5405 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
5406 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
5407 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
5408 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
5409 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
5410 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
5411 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
5412 * sysdeps/i386/fpu/libm-test-ulps: Update.
5413 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5414
b87c4b24
JM
5415 [BZ #14621]
5416 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
5417 int as type of variable DEPTH.
5418 (glob): Use size_t instead of int as type of variables NEWCOUNT
5419 and OLD_PATHC.
5420
6d3bf199
LD
54212012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5422
22bf5c17
LD
5423 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
5424 Add s_sincosf-sse2.
5425 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
5426 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
5427 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
5428 macros for using routine as __sincosf_ia32.
5429 Use macro for function declaration and weak_alias.
5430 * sysdeps/i386/fpu/libm-test-ulps: Update.
5431
5432 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
5433 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5434
5435 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
5436 subnormal argument.
5437 * math/s_cexpf.c (__cexpf): Likewise.
5438 * math/s_csinf.c (__csinf): Likewise.
5439 * math/s_csinhf.c (__csinhf): Likewise.
5440 * math/s_ctanf.c (__ctanf): Likewise.
5441 * math/s_ctanhf.c (__ctanhf): Likewise.
5442 * math/s_ccosh.c (__ccoshf): Likewise.
5443 * math/s_cexp.c (__cexpl): Likewise.
5444 * math/s_csin.c (__csin): Likewise.
5445 * math/s_csinh.c (__csinh): Likewise.
5446 * math/s_ctan.c (__ctan): Likewise.
5447 * math/s_ctanh.c (ctanh): Likewise.
5448 * math/s_ccoshl.c (__ccoshl): Likewise.
5449 * math/s_cexpl.c (__cexpl): Likewise.
5450 * math/s_csinl.c (__csinl): Likewise.
5451 * math/s_csinhl.c (__csinhl): Likewise.
5452 * math/s_ctanl.c (__ctanl): Likewise.
5453 * math/s_ctanhl.c (__ctanhl): Likewise.
5454
203e5603
JM
54552012-09-25 Joseph Myers <joseph@codesourcery.com>
5456
5457 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
5458 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
5459 (_IO_off_t): Define to __off_t, not _G_off_t.
5460 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
5461 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
5462 (_IO_wint_t): Define to wint_t, not _G_wint_t.
5463 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
5464 type of __dummy and __dummy2 fields.
5465 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
5466 (_G_ssize_t): Likewise.
5467 (_G_off_t): Likewise.
5468 (_G_pid_t): Likewise.
5469 (_G_uid_t): Likewise.
5470 (_G_wchar_t): Likewise.
5471 (_G_wint_t): Likewise.
5472 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
5473 (_G_ssize_t): Likewise.
5474 (_G_off_t): Likewise.
5475 (_G_pid_t): Likewise.
5476 (_G_uid_t): Likewise.
5477 (_G_wchar_t): Likewise.
5478 (_G_wint_t): Likewise.
5479 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
5480 (_G_ssize_t): Likewise.
5481 (_G_off_t): Likewise.
5482 (_G_pid_t): Likewise.
5483 (_G_uid_t): Likewise.
5484 (_G_wchar_t): Likewise.
5485 (_G_wint_t): Likewise.
5486
9fab36eb
SP
54872012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
5488
5489 * malloc/arena.c: Include malloc-sysdep.h.
5490 (shrink_heap): Use check_may_shrink_heap to decide if madvise
5491 is sufficient to shrink the heap or an unmap is needed.
5492 * sysdeps/generic/malloc-sysdep.h: New file. Define
5493 new function check_may_shrink_heap.
5494 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
5495 new function check_may_shrink_heap.
5496
2b4f00d1
SP
54972012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
5498
5499 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
5500 comments.
5501
9a9028b1
DL
55022012-09-24 Dmitry V. Levin <ldv@altlinux.org>
5503
57c69bef
DL
5504 * catgets/test-gencat.sh: Add "set -e".
5505 * elf/tst-pathopt.sh: Likewise.
5506 * grp/tst_fgetgrent.sh: Likewise.
5507 * iconvdata/run-iconv-test.sh: Likewise.
5508 * intl/tst-gettext.sh: Likewise.
5509 * intl/tst-gettext2.sh: Likewise.
5510 * intl/tst-gettext4.sh: Likewise.
5511 * intl/tst-gettext6.sh: Likewise.
5512 * intl/tst-translit.sh: Likewise.
5513 * io/ftwtest-sh: Likewise.
5514 * libio/test-freopen.sh: Likewise.
5515 * malloc/tst-mtrace.sh: Likewise.
5516 * posix/globtest.sh: Likewise.
5517 * posix/tst-getconf.sh: Likewise.
5518 * posix/wordexp-tst.sh: Likewise.
5519 * stdio-common/tst-printf.sh: Likewise.
5520 * stdio-common/tst-unbputc.sh: Likewise.
5521 * stdlib/tst-fmtmsg.sh: Likewise.
5522 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
5523 * catgets/Makefile: Do not specify -e option when running
5524 testsuite shell scripts.
5525 * elf/Makefile: Likewise.
5526 * grp/Makefile: Likewise.
5527 * iconvdata/Makefile: Likewise.
5528 * intl/Makefile: Likewise.
5529 * io/Makefile: Likewise.
5530 * libio/Makefile: Likewise.
5531 * malloc/Makefile: Likewise.
5532 * posix/Makefile: Likewise.
5533 * stdio-common/Makefile: Likewise.
5534 * stdlib/Makefile: Likewise.
5535 * sysdeps/x86_64/Makefile: Likewise.
5536
9a9028b1
DL
5537 * io/ftwtest-sh: Add copyright header.
5538 * posix/globtest.sh: Likewise.
5539 * posix/tst-getconf.sh: Likewise.
5540 * posix/wordexp-tst.sh: Likewise.
5541 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
5542
ced6f16e
L
55432012-09-24 H.J. Lu <hongjiu.lu@intel.com>
5544
94b32c39
L
5545 [BZ #13679]
5546 * Makeconfig (+link): Defined as $(+link-static) if
5547 $(build-shared) isn't yes.
5548 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
5549 isn't yes.
5550 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
5551
189e935b
L
5552 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
5553
ced6f16e
L
5554 [BZ #14562]
5555 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
5556 new chunk size with MALLOC_ALIGN_MASK.
5557
a9f8e53a
JM
55582012-09-24 Joseph Myers <joseph@codesourcery.com>
5559
5560 [BZ #5044]
5561 * stdio-common/printf_fphex.c: Include <stdbool.h> and
5562 <rounding-mode.h>.
5563 (__printf_fphex): Determine rounding using get_rounding_mode and
5564 round_away.
5565 * stdio-common/tst-printf-round.c (struct hex_test): New
5566 structure.
5567 (hex_tests): New variable.
5568 (test_hex_in_one_mode): New function.
5569 (do_test): Also run tests for hex float output.
5570
43153109
JM
55712012-09-21 Joseph Myers <joseph@codesourcery.com>
5572
5573 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
5574 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
5575 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
5576 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
5577 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
5578 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
5579 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
5580 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
5581
8a26625d
JM
55822012-09-20 Joseph Myers <joseph@codesourcery.com>
5583
5584 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
5585 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
5586 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
5587 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
5588
f3fd569c
DL
55892012-09-19 Dmitry V. Levin <ldv@altlinux.org>
5590
5591 [BZ #14579]
5592 * elf/rtld.c (dl_main): Limit the check for self loading to normal
5593 mode only.
5594 * elf/tst-rtld-load-self.sh: New test.
5595 * elf/Makefile: Run it.
5596
63bbedd4
JM
55972012-09-18 Joseph Myers <joseph@codesourcery.com>
5598
5599 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
5600 (tst-writev-ENV): Remove.
5601 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
5602
626f8b6a
CM
56032012-09-17 Chris Metcalf <cmetcalf@tilera.com>
5604
5605 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
5606
b7aaa4d6
JM
56072012-09-17 Joseph Myers <joseph@codesourcery.com>
5608
5609 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
5610 unconditional.
5611 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
5612 Likewise.
5613 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
5614 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
5615 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
5616 Likewise.
5617
65513990
L
56182012-09-14 H.J. Lu <hongjiu.lu@intel.com>
5619
5620 [BZ #14587]
5621 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
5622 * config.make.in (have-cpp-asm-debuginfo): Removed.
5623 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
5624 * configure: Regenerated.
5625
784761be
JM
56262012-09-14 Joseph Myers <joseph@codesourcery.com>
5627
5628 [BZ #5044]
5629 * stdio-common/printf_fp.c: Include <stdbool.h> and
5630 <rounding-mode.h>.
5631 (___printf_fp): Determine rounding using get_rounding_mode and
5632 round_away.
5633 * stdio-common/tst-printf-round.c: New file.
5634 * stdio-common/Makefile (tests): Add tst-printf-round.
5635 (link-libm): New variable.
5636 ($(objpfx)tst-printf-round): Depend in $(link-libm).
5637
9503345f
L
56382012-09-13 H.J. Lu <hongjiu.lu@intel.com>
5639
5640 [BZ #14576]
5641 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
5642 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
5643 Likewise.
5644 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
5645 Likewise.
5646
ad35fc00
JM
56472012-09-13 Joseph Myers <joseph@codesourcery.com>
5648
5649 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
5650 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
5651 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
5652 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
5653
6c9b0f68
JM
56542012-09-12 Joseph Myers <joseph@codesourcery.com>
5655
5656 [BZ #14518]
5657 * include/rounding-mode.h: New file.
5658 * sysdeps/generic/get-rounding-mode.h: Likewise.
5659 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
5660 * stdlib/strtod_l.c: Include <rounding-mode.h>.
5661 (MAX_VALUE): New macro.
5662 (MIN_VALUE): Likewise.
5663 (overflow_value): New function.
5664 (underflow_value): Likewise.
5665 (round_and_return): Use overflow_value and underflow_value to
5666 determine return values in overflow and underflow cases. Use
5667 round_away to determine rounding depending on rounding mode.
5668 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
5669 determine return values in overflow and underflow cases.
5670 * stdlib/tst-strtod-round.c: Include <fenv.h>.
5671 (struct test_results): New structure.
5672 (struct test): Use struct test_results to store expected results
5673 for all rounding modes.
5674 (TEST): Include expected results for all rounding modes.
5675 (test_in_one_mode): New function.
5676 (do_test): Use test_in_one_mode to compute and check results.
5677 Check results for all rounding modes.
5678 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
5679 $(link-libm).
5680
19fcedd5
AM
56812012-12-09 Allan McRae <allan@archlinux.org>
5682
1e9d84cd 5683 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 5684
8bbfd2f1
JM
56852012-09-11 Joseph Myers <joseph@codesourcery.com>
5686
5687 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
5688 (_G_int32_t): Likewise.
5689 (_G_uint16_t): Likewise.
5690 (_G_uint32_t): Likewise.
5691 (_G_HAVE_BOOL): Likewise.
5692 (_G_HAVE_ATEXIT): Likewise.
5693 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
5694 (_G_HAVE_IO_FILE_OPEN): Likewise.
5695 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
5696 (_G_int32_t): Likewise.
5697 (_G_uint16_t): Likewise.
5698 (_G_uint32_t): Likewise.
5699 (_G_HAVE_BOOL): Likewise.
5700 (_G_HAVE_ATEXIT): Likewise.
5701 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
5702 (_G_HAVE_IO_FILE_OPEN): Likewise.
5703 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
5704 (_G_int32_t): Likewise.
5705 (_G_uint16_t): Likewise.
5706 (_G_uint32_t): Likewise.
5707 (_G_HAVE_BOOL): Likewise.
5708 (_G_HAVE_ATEXIT): Likewise.
5709 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
5710 (_G_HAVE_IO_FILE_OPEN): Likewise.
5711
b1dc5912
L
57122012-09-11 H.J. Lu <hongjiu.lu@intel.com>
5713
5714 * csu/libc-tls.c: Update copyright years.
5715
0e886ef9
JM
57162012-09-10 Joseph Myers <joseph@codesourcery.com>
5717
28361c5e
JM
5718 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
5719 [!_G_USING_THUNKS]: Remove conditional code.
5720 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
5721 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
5722
0e886ef9
JM
5723 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
5724 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
5725 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
5726 (_G_VTABLE_LABEL_PREFIX): Likewise.
5727 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
5728 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
5729 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
5730 (_G_VTABLE_LABEL_PREFIX): Likewise.
5731 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
5732 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
5733 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
5734 (_G_VTABLE_LABEL_PREFIX): Likewise.
5735 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
5736
bcba7aa2
L
57372012-09-10 H.J. Lu <hongjiu.lu@intel.com>
5738
5739 * libio/Makefile: Include ../Makeconfig before tests.
5740 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
5741 only if $(build-shared) is yes.
5742
06585ee8
L
5743 * iconv/gconv_db.c: Update copyright years.
5744
80ccd52c
LD
57452012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5746
5747 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
5748 unwind info if defined PIC. Fix special cases description.
5749 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
5750
5751 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
5752 DP_HI_MASK entry.
5753 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
5754
691bc9c1
L
57552012-09-07 H.J. Lu <hongjiu.lu@intel.com>
5756
3d9b46b3
L
5757 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
5758
de2139a9
L
5759 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
5760 is NULL.
5761
5ca78dd0
L
5762 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
5763 (LDLIBS-tst-chk4): This.
5764 (LDFLAGS-tst-chk5): Renamed to ...
5765 (LDLIBS-tst-chk5): This.
5766 (LDFLAGS-tst-chk6): Renamed to ...
5767 (LDLIBS-tst-chk6): This.
5768 (LDFLAGS-tst-lfschk4): Renamed to ...
5769 (LDLIBS-tst-lfschk4): This.
5770 (LDFLAGS-tst-lfschk5): Renamed to ...
5771 (LDLIBS-tst-lfschk5): This.
5772 (LDFLAGS-tst-lfschk6): Renamed to ...
5773 (LDLIBS-tst-lfschk6): This.
5774
691bc9c1
L
5775 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
5776 on $(common-objpfx)soversions.mk.
5777
65cafb1c
JM
57782012-09-07 Joseph Myers <joseph@codesourcery.com>
5779
5780 [BZ #10014]
5781 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
5782 example host name.
5783
c78ab094
SP
57842012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
5785
5786 * malloc/arena.c (arena_get_retry): New function that gets
5787 another arena for the caller to try its request on.
5788 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
5789 current arena cannot fulfill the request.
5790 (__libc_memalign): Likewise.
5791 (__libc_memalign): Likewise.
5792 (__libc_pvalloc): Likewise.
5793 (__libc_calloc): Likewise.
5794
01f49f59
JT
57952012-09-05 John Tobey <john.tobey@gmail.com>
5796
5797 [BZ #13542]
5798 * manual/arith.texi (Operations on Complex): Fix description
5799 of carg branch cut.
5800
4c23fed5
JM
58012012-09-06 Joseph Myers <joseph@codesourcery.com>
5802
1d3c8572
JM
5803 [BZ #10014]
5804 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
5805 host name.
5806
4c23fed5
JM
5807 [BZ #10038]
5808 * manual/memory.texi (Memory): Make order of menu items match
5809 order of sections.
5810
04570aaa
L
58112012-09-06 H.J. Lu <hongjiu.lu@intel.com>
5812
5813 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
5814 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
5815 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
5816
b80af2f4
L
58172012-09-06 H.J. Lu <hongjiu.lu@intel.com>
5818
5819 * csu/libc-tls.c (static_dtv): Renamed to ...
5820 (_dl_static_dtv): This. Make it global.
5821 (_dl_initial_dtv): Removed.
5822 (__libc_setup_tls): Updated.
5823 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
5824 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
5825 DL_INITIAL_DTV.
5826
2abe9f15
PM
58272012-09-06 Petr Machata <pmachata@redhat.com>
5828
5829 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
5830 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
5831 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
5832 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
5833
0948c3af
L
58342012-09-06 H.J. Lu <hongjiu.lu@intel.com>
5835
5836 [BZ #14545]
5837 * csu/libc-tls.c (_dl_initial_dtv): New variable.
5838 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
5839 freeing dtv[-1].
5840
a5055ad1
L
58412012-09-06 H.J. Lu <hongjiu.lu@intel.com>
5842
5843 [BZ #14544]
5844 * Makeconfig (link-static-before-libc): Replace $(+prector)
5845 with $(+prectorT).
5846 (link-static-after-libc): Replace $(+postctor) with
5847 $(+postctorT).
5848 (link-bounded): Replace $(+prector)/$(+postctor) with
5849 $(+prectorT)/$(+postctorT).
5850 (+prectorT): New macro.
5851 (+postctorT): Likewise.
5852
ed8c2ecd
JM
58532012-09-06 Joseph Myers <joseph@codesourcery.com>
5854
5855 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
5856 (round_str): Handle values above the maximum for IBM long double
5857 as inexact.
5858 * stdlib/tst-strtod-round.c (tests): Regenerated.
5859
14c996c8
AK
58602012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5861
5862 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
5863 assembler flag.
5864 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
5865 zarch_nohighgprs around the zarch optimized routines.
5866 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
5867 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
5868 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
5869 for zarch.
5870
430d6ce6
DM
58712012-09-05 David S. Miller <davem@davemloft.net>
5872
5873 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5874
ff04dda4
DM
5875 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
5876 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
5877 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
5878 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
5879 entries.
5880
24d4e01b
AO
58812012-09-05 Alexandre Oliva <aoliva@redhat.com>
5882
5883 * malloc/arena.c: Fold copyright years.
5884 * malloc/mcheck.c, malloc/memusage.c: Likewise.
5885
61d58174
AO
58862012-09-05 Alexandre Oliva <aoliva@redhat.com>
5887
5888 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
5889
20196a5e
AO
58902012-09-05 Alexandre Oliva <aoliva@redhat.com>
5891
5892 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
5893
5c447383
AO
58942012-09-05 Alexandre Oliva <aoliva@redhat.com>
5895
5896 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
5897 change internal state upon failure.
5898
fad64255
AO
58992012-09-05 Alexandre Oliva <aoliva@redhat.com>
5900
5901 * malloc/mcheck.c (mcheck_check_all): Fix typo.
5902 * malloc/memusage.c (mmap): Likewise.
5903 (mmap64, mremap): Likewise. Adjust name in comment.
5904
1ffb8c90
SP
59052012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
5906
5907 * libio/fileops.c: Fix typos in comments.
5908 * libio/oldfileops.c: Likewise.
5909 * libio/wfileops.c: Likewise.
5910
6ef9cc37
SP
59112012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
5912
5913 [BZ #1349]
5914 * malloc/Makefile (tests): Add tst-malloc-usable test case.
5915 (tst-malloc-usable-ENV): Set environment for test case.
5916 * malloc/hooks.c (malloc_check_get_size): New function to get
5917 requested size.
5918 * malloc/malloc.c (musable): Use malloc_check_get_size.
5919 * malloc/tst-malloc-usable.c: New test case.
5920
4d038ae3
AS
59212012-09-05 Andreas Schwab <schwab@linux-m68k.org>
5922
5923 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
5924
c4e85184
AM
59252012-09-05 Allan McRae <allan@archlinux.org>
5926
b9dafc56 5927 [BZ #13966]
c4e85184
AM
5928 * configure.in (CXX_SYSINCLUDES): Use compiler output to
5929 determine header location.
5930 * configure: Regenerated.
5931
e1343020
AS
59322012-09-05 Andreas Schwab <schwab@linux-m68k.org>
5933
5934 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
5935 float format.
5936 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
5937 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
5938 format.
e1343020
AS
5939 (test): Regenerate.
5940
0a9f1987
DM
59412012-09-04 David S. Miller <davem@davemloft.net>
5942
5943 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
5944 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
5945 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
5946
29237804
FW
59472012-09-04 Florian Weimer <fweimer@redhat.com>
5948
5949 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
5950 failures.
5951
edb3cb88
FW
5952 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
5953
60160d83
JM
59542012-09-04 Joseph Myers <joseph@codesourcery.com>
5955
5956 [BZ #9914]
5957 * libio/iogetdelim.c: Include <limits.h>.
5958 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
5959 + len + 1 would overflow.
5960
bcd6c8dc
AJ
59612012-09-03 Andreas Jaeger <aj@suse.de>
5962
5963 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5964 * sysdeps/i386/fpu/libm-test-ulps: Update.
5965
4ffffbd2
LD
59662012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5967
5968 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
5969 Add s_sinf-sse2, s_conf-sse2.
5970
5971 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
5972 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
5973 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
5974 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
5975
5976 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
5977 for using routine as __sinf_ia32.
5978 Use macro for function declaration and weak_alias.
5979 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
5980 for using routine as __cosf_ia32.
5981 Use macro for function declaration and weak_alias.
5982
5983 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
5984 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
5985
5986 * sysdeps/x86_64/fpu/s_sinf.S: New file.
5987 * sysdeps/x86_64/fpu/s_cosf.S: New file.
5988 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5989
5990 * math/libm-test.inc (cos_test): Add more test cases.
5991 (sin_test): Likewise.
5992 (sincos_test): Likewise.
5993
511fa286
AK
59942012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5995
5996 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
5997 (IFUNC_RESOLVE): Make pointers to the specialized implementations
5998 hidden.
5999 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
6000
5f30cfec
L
60012012-09-02 H.J. Lu <hongjiu.lu@intel.com>
6002
6003 [BZ #14538]
6004 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
6005 first element of the GOT.
6006 (elf_machine_load_address): Return the difference between
6007 the runtime address of _DYNAMIC and elf_machine_dynamic ().
6008
0786794f
AM
60092012-09-01 Allan McRae <allan@archlinux.org>
6010
5f30cfec
L
6011 [BZ #13412]
6012 * configure.in (AWK): Require gawk version 3.0 or later.
6013 * configure: Regenerated.
0786794f 6014
26889eac
JM
60152012-09-01 Joseph Myers <joseph@codesourcery.com>
6016
6017 * sysdeps/unix/sysv/linux/kernel-features.h
6018 (__ASSUME_POSIX_CPU_TIMERS): Remove.
6019 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
6020 [__NR_clock_getres]: Make code unconditional.
6021 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
6022 (clock_getcpuclockid): Remove code left unreachable by removal of
6023 conditionals.
6024 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
6025 code unconditional.
6026 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
6027 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
6028 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
6029 Make code unconditional.
6030 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
6031 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
6032 * sysdeps/unix/sysv/linux/clock_settime.c
6033 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
6034 conditional code.
6035 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
6036 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
6037
d22e28b0
L
60382012-08-29 H.J. Lu <hongjiu.lu@intel.com>
6039
6040 [BZ #14476]
6041 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
6042 scripts/test-installation.pl.
6043
6044 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
6045 and $ld_so_version if it is set.
6046
050af9c4
SP
60472012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
6048
6049 [BZ #14516]
6050 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
6051 failure if reading from procfs failed.
6052 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
6053
ad845c0b
JM
60542012-08-27 Joseph Myers <joseph@codesourcery.com>
6055
6056 * sysdeps/unix/sysv/linux/kernel-features.h
6057 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
6058 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
6059 Remove conditional code.
6060 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6061 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
6062 Remove conditional code.
6063 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6064 * sysdeps/unix/sysv/linux/i386/fxstat.c
6065 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
6066 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6067 * sysdeps/unix/sysv/linux/i386/fxstatat.c
6068 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
6069 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6070 * sysdeps/unix/sysv/linux/i386/lxstat.c
6071 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
6072 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6073 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
6074 Remove conditional code.
6075 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6076 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
6077 Remove conditional code.
6078 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6079 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
6080 <kernel-features.h>.
6081 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
6082 Remove.
6083 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
6084 Remove conditional code.
6085 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6086 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
6087 Remove conditional.
6088
5dbf56af
MF
60892012-08-27 Mike Frysinger <vapier@gentoo.org>
6090
6091 [BZ #5400]
6092 * NEWS: Add fixed bug number.
6093
d6e70f43
JM
60942012-08-27 Joseph Myers <joseph@codesourcery.com>
6095
7efb4737
JM
6096 [BZ #14519]
6097 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
6098 underflowing exponent in case of negative sign.
6099 * stdlib/tst-strtod-round-data: Add more tests.
6100 * stdlib/tst-strtod-round.c (tests): Regenerated.
6101
af92131a
JM
6102 [BZ #3479]
6103 * stdlib/strtod_l.c (NDIG): Remove.
6104 (HEXNDIG): Likewise.
6105 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
6106 smallest representable value.
6107 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
6108 lie within an exact representation of 1/2 ulp of the result.
6109 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
6110 unconditionally.
6111 (TENS_P9_IDX): Define unconditionally.
6112 (TENS_P9_SIZE): Likewise.
6113 (TENS_P10_IDX): Likewise.
6114 (TENS_P10_SIZE): Likewise.
6115 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
6116 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
6117 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
6118 entries for 10^2^13 and 10^2^14.
6119 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
6120 (TENS_P13_IDX): Define.
6121 (TENS_P13_SIZE): Likewise.
6122 (TENS_P14_IDX): Likewise.
6123 (TENS_P14_SIZE): Likewise.
6124 (_fpioconst_pow10): Change array size to
6125 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
6126 unconditional.
6127 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
6128 1024]: Add entries for 10^2^13 and 10^2^14.
6129 [LAST_POW10 > _LAST_POW10]: Remove #error.
6130 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
6131 (_fpioconst_pow10): Change array size to
6132 FPIOCONST_POW10_ARRAY_SIZE.
6133 * stdlib/gen-fpioconst.c: New file.
6134 * stdlib/gen-tst-strtod-round.c: Likewise.
6135 * stdlib/tst-strtod-round-data: Likewise.
6136 * stdlib/tst-strtod-round.c: Likewise.
6137 * stdlib/Makefile (tests): Add tst-strtod-round.
6138
d6e70f43
JM
6139 [BZ #14459]
6140 * stdlib/strtod_l.c: Include <stdint.h>.
6141 (NDEBUG): Do not define.
6142 (round_and_return): Change EXPONENT parameter to type intmax_t.
6143 Rearrange calculations to avoid internal overflow possibilities.
6144 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
6145 Rearrange calculations to avoid internal overflow possibilities.
6146 Assert that number fits inside MPNSIZE limbs.
6147 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
6148 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
6149 calculations and add assertions to avoid internal overflow
6150 possibilities. Add casts to avoid signed/unsigned operations.
6151 * stdlib/tst-strtod-overflow.c: New file.
6152 * stdlib/Makefile (tests): Add tst-strtod-overflow.
6153
1f529f7d
MP
61542012-08-25 Marek Polacek <polacek@redhat.com>
6155
6156 * time/time.h: Fix some typos in comments.
6157
59a629f1
RM
61582012-08-23 Roland McGrath <roland@hack.frob.com>
6159
6160 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
6161 * posix/tst-rfc3484-2.c: Likewise.
6162 * posix/tst-rfc3484-3.c: Likewise.
6163
d3bafbc9
SM
61642012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
6165
6166 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
6167 (EF_ARM_ABI_FLOAT_HARD): Likewise.
6168
4efcc022
JM
61692012-08-23 Joseph Myers <joseph@codesourcery.com>
6170
6171 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
6172 #include of fxstatat64.c.
6173
3cc3ef96
RM
61742012-08-22 Roland McGrath <roland@hack.frob.com>
6175
f04e2132
RM
6176 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
6177 * shadow/getspent_r.c: Likewise.
6178 * shadow/getspnam.c: Likewise.
6179 * shadow/getspnam_r.c: Likewise.
6180 * gshadow/getsgent.c: Likewise.
6181 * gshadow/getsgent_r.c: Likewise.
6182 * gshadow/getsgnam.c: Likewise.
6183 * gshadow/getsgnam_r.c: Likewise.
6184 * inet/getnetbyad.c: Likewise.
6185 * inet/getnetbyad_r.c: Likewise.
6186 * inet/getnetbynm.c: Likewise.
6187 * inet/getnetbynm_r.c: Likewise.
6188 * inet/getnetent.c: Likewise.
6189 * inet/getnetent_r.c: Likewise.
6190 * inet/getproto.c: Likewise.
6191 * inet/getproto_r.c: Likewise.
6192 * inet/getprtent.c: Likewise.
6193 * inet/getprtent_r.c: Likewise.
6194 * inet/getprtname.c: Likewise.
6195 * inet/getprtname_r.c: Likewise.
6196 * inet/getrpcbyname.c: Likewise.
6197 * inet/getrpcbyname_r.c: Likewise.
6198 * inet/getrpcbynumber.c: Likewise.
6199 * inet/getrpcbynumber_r.c: Likewise.
6200 * inet/getrpcent.c: Likewise.
6201 * inet/getrpcent_r.c: Likewise.
6202 * inet/getaliasent.c: Likewise.
6203 * inet/getaliasent_r.c: Likewise.
6204 * inet/getaliasname.c: Likewise.
6205 * inet/getaliasname_r.c: Likewise.
6206 * nscd/getgrgid_r.c: Likewise.
6207 * nscd/getgrnam_r.c: Likewise.
6208 * nscd/gethstbyad_r.c: Likewise.
6209 * nscd/gethstbynm3_r.c: Likewise.
6210 * nscd/getpwnam_r.c: Likewise.
6211 * nscd/getpwuid_r.c: Likewise.
6212 * nscd/getsrvbynm_r.c: Likewise.
6213 * nscd/getsrvbypt_r.c: Likewise.
6214 * nscd/gai.c: Likewise.
6215
c53d909c
RM
6216 * configure.in (build_nscd): New substituted variable, set
6217 by --disable-build-nscd and defaults to $use_nscd.
6218 * configure: Regenerated.
6219 * config.make.in (build-nscd): New substituted variable.
6220 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
6221 Change conditional to require [$(build-nscd) = yes] as well.
6222 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
6223
3cc3ef96
RM
6224 [BZ# 13696]
6225 * configure.in (use_nscd): New substituted variable, set by
6226 --disable-nscd. If enabled, define USE_NSCD.
6227 * configure: Regenerated.
6228 * config.h.in: Add USE_NSCD.
6229 * config.make.in (use-nscd): New substituted variable.
6230 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
6231 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
6232 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
6233 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
6234 (CFLAGS-getgrnam_r.c): Likewise.
6235 (CFLAGS-initgroups.c): Likewise.
6236 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
6237 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
6238 Variables removed.
6239 * inet/getnetgrent_r.c
6240 (nscd_setnetgrent): New function, broken out of ...
6241 (setnetgrent): ... here. Call it.
6242 (innetgr): Conditionalize nscd bits on [USE_NSCD].
6243 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
6244 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
6245 * nscd/Makefile (routines, aux): Move definitions after include of
6246 Makeconfig. Conditionalize on [$(use-nscd) != no].
6247 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
6248 Conditionalize on [USE_NSCD].
6249 (is_nscd, nscd_init_cb): Likewise.
6250 (nss_load_library): Conditionalize init callback on [USE_NSCD].
6251 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
6252 * nss/nss_db/db-init.c: Likewise.
6253 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
6254 [USE_NSCD].
6255 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
6256 (make_request): Use it.
6257 (cache_valid_p): New function.
6258 (__check_pf): Use it.
6259 * NEWS: Add item for --disable-nscd.
6260
07e51550
DL
62612012-08-22 Dmitry V. Levin <ldv@altlinux.org>
6262
6263 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
6264 to support sed >= 4.2.1-20-ga9bf076.
6265 * configure: Regenerated.
6266
35a5b08b
RM
62672012-08-22 Roland McGrath <roland@hack.frob.com>
6268
6269 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
6270 Conditionalize whole body on [IREL].
6271
8479f23a
JL
62722012-08-22 Jeff Law <law@redhat.com>
6273
6274 [BZ #14505]
6275 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
6276 if the family is PF_UNSPEC.
6277
48da0b21
MF
62782012-08-22 Mike Frysinger <vapier@gentoo.org>
6279
6280 * Makerules (lib-version): Rename from V.
6281 (install-lib-nosubdir): Change V to lib-version.
6282
15d0da8c
WS
62832012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
6284
6285 [BZ #14252]
6286 * powerpc32/power6/wcschr.c: New file.
6287 * powerpc32/power6/wcscpy.c: New file.
6288 * powerpc32/power6/wcsrchr.c: New file.
6289 * powerpc64/power6/wcschr.c: New file.
6290 * powerpc64/power6/wcscpy.c: New file.
6291 * powerpc64/power6/wcsrchr.c: New file.
6292
bcca0895
MK
62932012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
6294
6295 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
6296 (two_way_short_needle): Use it.
5a4aaa33
RM
6297 * string/strstr.c (AVAILABLE1_USES_J): Define.
6298 * string/strcasestr.c: Likewise.
99677e57
MK
6299
6300 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
6301 array references.
6302 * string/strcasestr.c (TOLOWER): Make side-effect safe.
6303
400726de
MK
6304 [BZ #11607]
6305 * NEWS: Add an entry.
6306 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
6307 define their defaults.
6308 (two_way_short_needle): Detect end-of-string on-the-fly.
6309 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
6310 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
6311 * string/bug-strcasestr1.c: New test.
6312 * string/Makefile: Run it.
6313
20a71f2c
MK
63142012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
6315
6316 [BZ #11607]
6317 * string/str-two-way.h (two_way_short_needle): Optimize matching of
6318 the first character.
6319
21ad0558
RM
63202012-08-21 Roland McGrath <roland@hack.frob.com>
6321
6322 * csu/elf-init.c (__libc_csu_irel): Function removed.
6323 * csu/libc-start.c (apply_irel): New function.
6324 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
6325
0e1d9911
JM
63262012-08-21 Joseph Myers <joseph@codesourcery.com>
6327
6328 * sysdeps/unix/sysv/linux/kernel-features.h
6329 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
6330 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
6331 <kernel-features.h>.
6332 [__NR_fadvise64_64]: Make code unconditional.
6333 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
6334 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
6335 !__NR_fadvise64_64)]: Likewise.
6336 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
6337 !__NR_fadvise64_64))]: Likewise.
6338 [__NR_fadvise64]: Make code unconditional.
6339 [!__NR_fadvise64]: Remove conditional code.
6340 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
6341 <kernel-features.h>.
6342 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
6343 unconditional.
6344 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
6345 conditional code.
6346 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
6347 not include <kernel-features.h>.
6348 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
6349 unconditional.
6350 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
6351 conditional code.
6352 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
6353 include <kernel-features.h>.
6354 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
6355 unconditional.
6356 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
6357 conditional code.
6358
14a50c9d
WS
63592012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
6360
6361 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
6362 slight instruction rearrangements per scrollpipe analysis.
6363 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
6364
c0f4faf0
RM
63652012-08-20 Roland McGrath <roland@hack.frob.com>
6366
696da859
RM
6367 * manual/syslog.texi (syslog; vsyslog, closelog):
6368 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
6369 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
6370
c0f4faf0
RM
6371 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
6372 DSOCAPS to match condition on defining it.
6373
348363b2
JM
63742012-08-20 Joseph Myers <joseph@codesourcery.com>
6375
a35cbf28
JM
6376 * sysdeps/unix/sysv/linux/kernel-features.h
6377 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
6378 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
6379 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
6380 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
6381 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
6382 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
6383 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
6384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
6385 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
6386 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
6387
445f7ecd
JM
6388 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
6389 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
6390
348363b2
JM
6391 * sysdeps/unix/sysv/linux/kernel-features.h
6392 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
6393 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
6394 unconditional.
6395 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
6396 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
6397 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
6398 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
6399 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
6400 Make code unconditional.
6401 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
6402 (__mmap64) [!__NR_mmap2]: Likewise.
6403 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
6404 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
6405 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
6406 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
6407 [__NR_mmap2]: Make code unconditional.
6408 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
6409 (__mmap64) [!__NR_mmap2]: Likewise.
6410
bc5bc0e5
AK
64112012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6412
6413 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
6414
88d506de
AJ
64152012-08-18 Andreas Jaeger <aj@suse.de>
6416
6417 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
6418
493387d2
MF
64192012-08-18 Mike Frysinger <vapier@gentoo.org>
6420
6421 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
6422 * include/unistd.h (__have_sock_cloexec): Likewise.
6423 (__have_pipe2): Likewise.
6424 (__have_dup3): Likewise.
6425
a277af22
MF
64262012-08-18 Mike Frysinger <vapier@gentoo.org>
6427
6428 [BZ #9685]
6429 * include/unistd.h (__have_pipe2): Change define into an extern int.
6430 (__have_dup3): Likewise.
6431 * socket/have_sock_cloexec.c: Include fcntl.h.
6432 (__have_pipe2): New variable.
6433 (__have_dup3): Likewise.
6434
fdab8fd3
MF
64352012-08-17 Mike Frysinger <vapier@gentoo.org>
6436
6437 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
6438
31035e80
MP
64392012-08-17 Marek Polacek <polacek@redhat.com>
6440
6441 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
6442 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
6443
3bd9e993
RM
64442012-08-17 Roland McGrath <roland@hack.frob.com>
6445
c91c505f
RM
6446 * configure.in: Add AC_SUBST for sysheaders.
6447 * configure: Regenerated.
6448 * config.make.in (sysheaders): New substituted variable.
6449
7c6f9d53
RM
6450 * sysdeps/unix/mkfifo.c: Moved ...
6451 * sysdeps/posix/mkfifo.c: ... here.
6452 * sysdeps/unix/mkfifoat.c: Moved ...
6453 * sysdeps/posix/mkfifoat.c: ... here.
6454
6455 * sysdeps/unix/utime.c: Moved ...
6456 * sysdeps/posix/utime.c: ... here.
6457
6458 * sysdeps/unix/time.c: Moved ...
6459 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
6460 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
6461 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
6462
6463 * sysdeps/unix/nice.c: Moved ...
6464 * sysdeps/posix/nice.c: ... here.
6465
6466 * sysdeps/unix/alarm.c: Moved ...
6467 * sysdeps/posix/alarm.c: ... here.
6468
3bd9e993
RM
6469 * intl/Makefile ($(codeset_mo)): Depend on the input file.
6470
d1f09384
JL
64712012-08-17 Jeff Law <law@redhat.com>
6472
6473 * intl/Makefile (codeset_mo): New variable.
6474 ($(codeset_mo)): New target.
6475 (tst-codeset.out): Depend on that. Remove explicit rule.
6476 (tst-gettext3.out, tst-gettext5.out): Likewise.
6477 (LOCPATH-ENV, tst-codeset-ENV): New variables.
6478 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
6479 * intl/tst-codeset.sh: Remove.
6480 * intl/tst-gettext3.sh: Likewise.
6481 * intl/tst-gettext5.sh: Likewise.
6482
2ae1ae5c
RM
64832012-08-17 Roland McGrath <roland@hack.frob.com>
6484
c31fdb83
RM
6485 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
6486 * sysdeps/unix/syscalls.list: ... here.
6487
a0844057
RM
6488 * sysdeps/posix/getaddrinfo.c
6489 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
6490 (gaiconf_init, gaiconf_reload): Use them.
6491 [!_STATBUF_ST_NSEC]
6492 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
6493 Define using time_t rather than struct timespec.
6494
750c1f2a
RM
6495 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
6496 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
6497 Macros removed.
6498 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
6499 [!NO_THREADS].
6500 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
6501 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
6502 Likewise.
6503
2ae1ae5c
RM
6504 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
6505 __libc_cleanup_push argument.
6506
e66a42f5
RM
6507 * bits/param.h: New file.
6508 * misc/sys/param.h: New file.
6509 * include/sys/param.h: New file.
6510 * misc/Makefile (headers): Add bits/param.h.
6511 * sysdeps/generic/sys/param.h: File removed.
6512 * sysdeps/unix/sysv/linux/bits/param.h: New file.
6513 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
6514 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 6515 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 6516
b7c08a66
RM
6517 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
6518 last change.
6519
b2e1c562
RM
6520 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
6521 [_IO_MTSAFE_IO].
6522 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
6523 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
6524 New macros.
6525
c75ccd4c
RM
6526 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
6527 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
6528 rather than -D_IO_MTSAFE_IO conditionally.
6529 * stdio-common/Makefile (CPPFLAGS): Likewise.
6530 * wcsmbs/Makefile (CPPFLAGS): Likewise.
6531 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
6532 Use $(libio-mtsafe).
6533 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
6534 of -D_IO_MTSAFE_IO.
6535 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
6536 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
6537 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
6538 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
6539 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
6540 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
6541 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
6542 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
6543 (CFLAGS-fread_u_chk.c): Likewise.
6544 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
6545 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
6546 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
6547 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
6548 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
6549 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
6550 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
6551 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
6552 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
6553
6554 * libio/Makefile: Test [$(libc-reentrant) = yes]
6555 instead of [$(filter %REENTRANT, $(defines)) nonempty].
6556
6557 * Makeconfig
6558 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
6559 * sysdeps/pthread/configure: File removed.
6560 * sysdeps/pthread/Makeconfig: New file.
6561 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
6562 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
6563
d9195db8
GB
65642012-08-16 Gary Benson <gbenson@redhat.com>
6565
6566 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
6567 unmapping the first object in a namespace.
6568
86466cd9
RM
65692012-08-16 Roland McGrath <roland@hack.frob.com>
6570
6571 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
6572 (__internal_setnetgrent): ... this. Add internal_function to
6573 definition. Add libc_hidden_def.
6574 (setnetgrent): Update caller.
6575 (internal_endnetgrent): Renamed to ...
6576 (__internal_endnetgrent): ... this. Add internal_function to
6577 definition. Add libc_hidden_def.
6578 (endnetgrent): Update caller.
6579 (internal_getnetgrent_r): Renamed to ...
6580 (__internal_getnetgrent_r): ... this. Add internal_function to
6581 definition. Add libc_hidden_def.
6582 (__getnetgrent_r): Update caller.
6583 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
6584
c3c8283c
JM
65852012-08-16 Joseph Myers <joseph@codesourcery.com>
6586
6587 * stdlib/longlong.h: Update from GCC.
6588
db1ee0a8
RM
65892012-08-16 Roland McGrath <roland@hack.frob.com>
6590
6591 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
6592 on _QL, which is set by umul_ppmm but never used.
6593 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
6594 variables, which are set by GMP macros but never used.
6595 * stdio-common/_itowa.c (_itowa): Likewise.
6596 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
6597 * stdlib/mod_1.c (mpn_mod_1): Likewise.
6598
30f69637
CD
65992012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
6600
6601 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
6602 struct La_sh_regs is not constant.
6603 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
6604 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
6605 and struct La_sparc64_regs are not constant.
6606
93a78ac4
JM
66072012-08-16 Joseph Myers <joseph@codesourcery.com>
6608
6609 * sysdeps/unix/sysv/linux/kernel-features.h
6610 (__ASSUME_POSIX_TIMERS): Remove.
6611 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
6612 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
6613 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
6614 Make code unconditional.
6615 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
6616 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
6617 Make code unconditional.
6618 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
6619 * sysdeps/unix/sysv/linux/clock_nanosleep.c
6620 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
6621 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
6622 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
6623 Make code unconditional.
6624 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
6625 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
6626 (__libc_missing_posix_timers): Remove.
6627
dd924cd7
RM
66282012-08-15 Roland McGrath <roland@hack.frob.com>
6629
4b4f2771
RM
6630 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
6631 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
6632
601c888b
RM
6633 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
6634
176790a7
RM
6635 * elf/dl-sym.c: Include <stdlib.h>.
6636
329bc018
RM
6637 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
6638 constants, which avoids warnings in 32-bit builds.
6639
e04e272d
RM
6640 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
6641 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
6642
952bf94a
RM
6643 * misc/lseek.c: File moved to ...
6644 * io/lseek.c: ... here.
6645
7c99b50a
RM
6646 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
6647
dd924cd7
RM
6648 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
6649 shifting LEN more than 31 bits at once.
6650
b3f479a8
LD
66512012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6652
6653 [BZ #14195]
8c4ae0d4
RM
6654 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
6655 segmentation fault for a case of two empty input strings.
b3f479a8
LD
6656 * string/test-strncasecmp.c (check1): Renamed to...
6657 (bz12205): ...this.
6658 (bz14195): Add new testcase for two empty input strings and N > 0.
6659 (test_main): Call new testcase, adapt for renamed function.
6660
9c55864e
AJ
66612012-08-15 Andreas Jaeger <aj@suse.de>
6662
6663 [BZ #14090]
6664 * crypt/md5test2.c: New test, based on test supplied by Serge
6665 Belyshev <belyshev@depni.sinp.msu.ru>.
6666 * crypt/Makefile (xtests): Add md5test-giant..
6667 * crypt/Makefile ($(objpfx)md5test-giant): Add.
6668
02dcb6c5
PE
66692012-08-15 Paul Eggert <eggert@cs.ucla.edu>
6670
6671 [BZ #14090]
6672 * crypt/md5.c (md5_process_block): Don't assume the buffer
6673 length is less than 2**32.
6674 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
6675 length is less than 2**64.
6676
a3f95dcc
RM
66772012-08-15 Roland McGrath <roland@hack.frob.com>
6678
be75d758
RM
6679 * string/str-two-way.h: Include <sys/param.h>.
6680 (MAX): Macro removed.
6681
7312ca90
RM
6682 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
6683 Move #define and #undef of memmove to just before and after
6684 including <string.h>.
6685
9a0a5486
RM
6686 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
6687 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
6688 and after including <string.h>. Move declarations of
6689 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
6690 to before #include "string/memmove.c".
6691
67cc348d
RM
6692 * include/dirent.h: Declare __getdirentries.
6693
a3f95dcc
RM
6694 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
6695 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
6696
ca98e171
MF
66972012-08-14 Mike Frysinger <vapier@gentoo.org>
6698
6699 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
6700 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
6701 * sysdeps/i386/configure: Regenerated.
6702 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
6703 STABS_CURRENT_FILE, and STABS_FUN.
6704 (END): Remove call to STABS_FUN_END.
6705 (STABS_CURRENT_FILE1): Delete.
6706 (STABS_CURRENT_FILE): Likewise.
6707 (STABS_FUN): Likewise.
6708 (STABS_FUN_END): Likewise.
6709 (STABS_FUN2): Likewise.
6710 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
6711 * sysdeps/x86_64/configure: Regenerated.
6712
5908bf46
RM
67132012-08-14 Roland McGrath <roland@hack.frob.com>
6714
6715 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 6716 * elf/dl-lookup.c: Likewise.
5908bf46 6717
f2c05b9e
JM
67182012-08-14 Joseph Myers <joseph@codesourcery.com>
6719
6720 * sysdeps/unix/sysv/linux/kernel-features.h
6721 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
6722 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
6723 unconditionally.
6724 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
6725 unconditionally.
6726 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
6727 condition on __ASSUME_CLONE_THREAD_FLAGS.
6728
e11f5155
AJ
67292012-08-14 Andreas Jaeger <aj@suse.de>
6730
6731 * sysdeps/i386/fpu/libm-test-ulps: Update.
6732
51a9ba86
MK
67332012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
6734
2fdd4f78
AJ
6735 * include/atomic.h (atomic_exchange_and_add): Split into ...
6736 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
6737 New atomic macros.
51a9ba86 6738
ba6cba9e
MT
67392012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
6740
6741 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6742
42443a47
JL
67432012-08-13 Jeff Law <law@redhat.com>
6744
6745 * manual/stdio.texi (snprintf): Clarify handling of the trailing
6746 null byte in the output string.
6747
121dce05
JM
67482012-08-10 Joseph Myers <joseph@codesourcery.com>
6749
6750 * sysdeps/unix/sysv/linux/kernel-features.h
6751 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
6752 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
6753 (__ASSUME_ARG_MAX_STACK_BASED): Define.
6754 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
6755 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
6756 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
6757 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
6758
bf51f568
JL
67592012-08-09 Jeff Law <law@redhat.com>
6760
6761 [BZ #13939]
6762 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
6763 When avoid_arena is set, don't retry in the that arena. Pick the
6764 next one, whatever it might be.
6765 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
6766 (arena_lock): Pass in new parameter to arena_get2.
6767 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
6768 arena_get2.
6769 (__libc_malloc): Unify retrying after main arena failure with
6770 __libc_memalign version.
6771 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
6772
f85fa270
L
67732012-08-09 H.J. Lu <hongjiu.lu@intel.com>
6774
6775 [BZ #14166]
6776 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
6777 to __redirect_strstr.
6778 (__strstr_sse42): Use typeof __redirect_strstr.
6779 (__strstr_ia32): Likewise.
6780 (__libc_strstr): New prototype.
6781 (strstr): Renamed to ...
6782 (__libc_strstr): This.
6783 (strstr): New strong alias of __libc_strstr.
6784 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
6785 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
6786 __redirect_time.
6787 Include <time.h>.
6788 (__libc_time): New prototype.
6789 (time_ifunc): Replace time with __libc_time.
6790 (time): New strong alias and hidden definition of __libc_time.
6791 (__GI_time): Remove strong alias.
6792 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
6793 Include <stddef.h>.
6794 (memmove): Redefined to __redirect_memmove.
6795 (__memmove_sse2): Use typeof __redirect_memmove.
6796 (__memmove_ssse3): Likewise.
6797 (__memmove_ssse3_back): Likewise.
6798 (__libc_memmove): New prototype.
6799 (memmove): Renamed to ...
6800 (__libc_memmove): This.
6801 (memmove): New strong alias of __libc_memmove.
6802
33b4a91e
MS
68032012-08-08 Mark Salter <msalter@redhat.com>
6804
6805 * elf/elf.h
6806 (R_MN10300_TLS_GD): Define.
6807 (R_MN10300_TLS_LD): Likewise.
6808 (R_MN10300_TLS_LDO): Likewise.
6809 (R_MN10300_TLS_GOTIE): Likewise.
6810 (R_MN10300_TLS_IE): Likewise.
6811 (R_MN10300_TLS_LE): Likewise.
6812 (R_MN10300_TLS_DTPMOD): Likewise.
6813 (R_MN10300_TLS_DTPOFF): Likewise.
6814 (R_MN10300_TLS_TPOFF): Likewise.
6815 (R_MN10300_SYM_DIFF): Likewise.
6816 (R_MN10300_ALIGN): Likewise.
6817 (R_MN10300_NUM): Update.
6818
b36137f1
JM
68192012-08-08 Joseph Myers <joseph@codesourcery.com>
6820
6821 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
6822 Remove.
6823
cdd915fd
RM
68242012-08-08 Roland McGrath <roland@hack.frob.com>
6825
a2433aac
RM
6826 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
6827
cdd915fd
RM
6828 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
6829 sysdeps/unix -> sysdeps/posix move.
6830 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
6831
bf9b740a
AM
68322012-08-07 Allan McRae <allan@archlinux.org>
6833
6834 [BZ #14303]
6835 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
6836 (SUNOS_CPP): Likewise.
6837 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
6838 not found.
6839 (open_input): Call CPP using execvp.
6840
93df14ee
JM
68412012-08-07 Joseph Myers <joseph@codesourcery.com>
6842
6843 * sysdeps/unix/sysv/linux/kernel-features.h
6844 (__ASSUME_PROT_GROWSUPDOWN): Remove.
6845 (__ASSUME_NO_CLONE_DETACHED): Likewise.
6846 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
6847 (__ASSUME_WAITID_SYSCALL): Likewise.
6848 * sysdeps/unix/sysv/linux/dl-execstack.c
6849 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
6850 code unconditional.
6851 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
6852 conditional code.
6853 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
6854 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
6855 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
6856 code.
6857 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
6858 unconditional.
6859 [__ASSUME_WAITID_SYSCALL]: Likewise.
6860 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
6861
d34689de
RM
68622012-08-07 Roland McGrath <roland@hack.frob.com>
6863
a281decc
RM
6864 * sysdeps/unix/closedir.c: Renamed to ...
6865 * sysdeps/posix/closedir.c: ... here.
6866 * sysdeps/unix/dirfd.c: Renamed to ...
6867 * sysdeps/posix/dirfd.c: ... here.
6868 * sysdeps/unix/dirstream.h: Renamed to ...
6869 * sysdeps/posix/dirstream.h: ... here.
6870 * sysdeps/unix/fdopendir.c: Renamed to ...
6871 * sysdeps/posix/fdopendir.c: ... here.
6872 * sysdeps/unix/opendir.c: Renamed to ...
6873 * sysdeps/posix/opendir.c: ... here.
6874 * sysdeps/unix/readdir.c: Renamed to ...
6875 * sysdeps/posix/readdir.c: ... here.
6876 * sysdeps/unix/readdir_r.c: Renamed to ...
6877 * sysdeps/posix/readdir_r.c: ... here.
6878 * sysdeps/unix/rewinddir.c: Renamed to ...
6879 * sysdeps/posix/rewinddir.c: ... here.
6880 * sysdeps/unix/seekdir.c: Renamed to ...
6881 * sysdeps/posix/seekdir.c: ... here.
6882 * sysdeps/unix/telldir.c: Renamed to ...
6883 * sysdeps/posix/telldir.c: ... here.
6884 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
6885 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
6886 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
6887 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
6888
22895b47
RM
6889 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
6890 * bits/fcntl.h: ... here.
6891
707a53b6
RM
6892 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
6893 not 0.
6894 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
6895 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
6896 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
6897 (struct flock): Move l_start, l_len to the beginning.
6898 Use __pid_t for l_pid.
6899 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
6900 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
6901 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
6902 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
6903 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
6904 [__USE_LARGEFILE64] (struct flock64): New type.
6905 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
6906
f0bd3e25
RM
6907 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
6908 * bits/dirent.h: ... here.
6909
d34689de
RM
6910 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
6911 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
6912
6dad2c06
JM
69132012-08-07 Joseph Myers <joseph@codesourcery.com>
6914
6915 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
6916 Change from 2.6.0 to 2.6.16.
6917 * sysdeps/unix/sysv/linux/configure: Regenerated.
6918 * sysdeps/unix/sysv/linux/kernel-features.h
6919 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
6920 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
6921 version.
6922 (__ASSUME_UTIMES): Likewise.
6923 (__ASSUME_CLONE_STOPPED): Remove.
6924 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
6925 architectures, not kernel version.
6926 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
6927 (__ASSUME_NO_CLONE_DETACHED): Likewise.
6928 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
6929 (__ASSUME_WAITID_SYSCALL): Likewise.
6930 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
6931 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
6932 * README: State 2.6.16 as minimum Linux kernel version. Do not
6933 refer to older versions.
6934
03af9520
RM
69352012-08-06 Roland McGrath <roland@hack.frob.com>
6936
8e49df1d
RM
6937 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
6938 Define alphasort64 as an alias.
6939 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
6940 Define versionsort64 as an alias.
6941 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
6942 Define scandir64 as an alias.
6943 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
6944 Define scandirat64 as an alias.
6945 * dirent/alphasort64.c (alphasort64):
6946 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
6947 * dirent/versionsort64.c: Likewise.
6948 * dirent/scandir64.c: Likewise.
6949 * dirent/scandirat64.c: Likewise.
6950 * sysdeps/wordsize-64/alphasort.c: File removed.
6951 * sysdeps/wordsize-64/alphasort64.c: File removed.
6952 * sysdeps/wordsize-64/scandir.c: File removed.
6953 * sysdeps/wordsize-64/scandir64.c: File removed.
6954 * sysdeps/wordsize-64/scandirat.c: File removed.
6955 * sysdeps/wordsize-64/scandirat64.c: File removed.
6956 * sysdeps/wordsize-64/versionsort.c: File removed.
6957 * sysdeps/wordsize-64/versionsort64.c: File removed.
6958 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
6959 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
6960 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
6961 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
6962 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
6963 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
6964 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
6965 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
6966
6967 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
6968 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
6969 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
6970 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6971 [defined __arch64__ || defined __sparcv9]
6972 (__INO_T_MATCHES_INO64_T): New macro.
6973 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
6974 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
6975 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
6976 * sysdeps/unix/sysv/linux/bits/dirent.h
6977 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
6978 (_DIRENT_MATCHES_DIRENT64): New macro.
6979
03af9520
RM
6980 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
6981 Define lockf64 as an alias.
6982 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
6983 Define fseeko64 as an alias.
6984 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
6985 Define ftello64 as an alias.
6986 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
6987 Define _IO_fgetpos64 and fgetpos64 as aliases.
6988 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
6989 Define _IO_fsetpos64 and fsetpos64 as aliases.
6990 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
6991 Conditionalize body on this.
6992 * libio/fseeko64.c: Likewise.
6993 * libio/ftello64.c: Likewise.
6994 * libio/iofgetpos64.c: Likewise.
6995 * libio/iofsetpos64.c: Likewise.
6996 * sysdeps/wordsize-64/lockf.c: File removed.
6997 * sysdeps/wordsize-64/lockf64.c: File removed.
6998 * sysdeps/wordsize-64/fseeko.c: File removed.
6999 * sysdeps/wordsize-64/fseeko64.c: File removed.
7000 * sysdeps/wordsize-64/ftello.c: File removed.
7001 * sysdeps/wordsize-64/ftello64.c: File removed.
7002 * sysdeps/wordsize-64/iofgetpos.c: File removed.
7003 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
7004 * sysdeps/wordsize-64/iofsetpos.c: File removed.
7005 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
7006 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
7007 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
7008 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
7009 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
7010 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
7011 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
7012 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
7013 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
7014 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
7015 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
7016
7017 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
7018 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
7019 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
7020 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7021 [defined __arch64__ || defined __sparcv9]
7022 (__OFF_T_MATCHES_OFF64_T): New macro.
7023 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
7024 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
7025 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
7026 (__OFF_T_MATCHES_OFF64_T): New macro.
7027
c5757acd
L
70282012-08-06 H.J. Lu <hongjiu.lu@intel.com>
7029
7030 * stdlib/secure-getenv.c (__secure_getenv): Replace
7031 GLIBC_2_16 with GLIBC_2_17.
7032
3a31811e
L
70332012-08-06 H.J. Lu <hongjiu.lu@intel.com>
7034
7035 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
7036 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
7037
faa2bccb
DM
70382012-08-03 David S. Miller <davem@davemloft.net>
7039
7040 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7041
85fe1997
JM
70422012-08-03 Joseph Myers <joseph@codesourcery.com>
7043
7044 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
7045 Remove.
7046 (__ASSUME_CORRECT_SI_PID): Likewise.
7047 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
7048 (__ASSUME_TMPFS_NAME): Likewise.
7049 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
7050 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
7051 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
7052 (HAVE_AUX_SECURE): Make definition unconditional.
7053 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
7054 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
7055
4f75b7a0
RM
70562012-08-03 Roland McGrath <roland@hack.frob.com>
7057
7058 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
7059 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
7060 * sysdeps/mach/hurd/eloop-threshold.h: New file.
7061 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
7062 __eloop_threshold instead of SYMLOOP_MAX.
7063
7064 * sysdeps/generic/eloop-threshold.h: New file.
7065 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
7066 of MAXSYMLINKS.
7067 * elf/chroot_canon.c (chroot_canon): Likewise.
7068
7aab07e4
JM
70692012-08-03 Joseph Myers <joseph@codesourcery.com>
7070
7071 [BZ #13717]
7072 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
7073 Change to 2.6.0 everywhere.
7074 * sysdeps/unix/sysv/linux/configure: Regenerated.
7075 * sysdeps/unix/sysv/linux/kernel-features.h
7076 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
7077 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
7078 kernel versions.
7079 (__ASSUME_POSIX_TIMERS): Define unconditionally.
7080 (__ASSUME_FUTEX_REQUEUE): Remove.
7081 (__ASSUME_STATFS64): Define unconditionally.
7082 (__ASSUME_AT_SECURE): Likewise.
7083 (__ASSUME_CORRECT_SI_PID): Likewise.
7084 (__ASSUME_TGKILL): Define without depending on kernel version for
7085 i386.
7086 (__ASSUME_UTIMES): Likewise.
7087 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
7088 kernel version.
7089 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
7090 (__ASSUME_TMPFS_NAME): Likewise.
7091 * README: Update reference to Linux kernel versions.
7092
b67e9372
MP
70932012-08-02 Marek Polacek <polacek@redhat.com>
7094
1f529f7d 7095 [BZ# 14150]
b67e9372
MP
7096 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
7097 libc_cv_asm_type_prefix with %.
7098 * configure: Regenerated.
d2441631
RM
7099 * include/libc-symbols.h: Remove comment about
7100 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
7101 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
7102 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
7103 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
7104 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
7105 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
7106 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
7107 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
7108 * elf/tst-unique2mod1.c: Likewise.
7109 * elf/tst-unique1mod2.c: Likewise.
7110 * elf/tst-unique1mod1.c: Likewise.
7111 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
7112 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
7113 Replace ASM_TYPE_DIRECTIVE with .type.
7114 * sysdeps/s390/s390-64/sysdep.h: Likewise.
7115 * sysdeps/i386/sysdep.h: Likewise.
7116 * sysdeps/x86_64/sysdep.h: Likewise.
7117 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
7118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
7119 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 7120 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
7121 * sysdeps/powerpc/powerpc32/sysdep.h:
7122 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
7123 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
7124 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
7125 * sysdeps/i386/fpu/e_powf.S: Likewise.
7126 * sysdeps/i386/fpu/e_expl.S: Likewise.
7127 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
7128 * sysdeps/i386/fpu/e_acosh.S: Likewise.
7129 * sysdeps/i386/fpu/e_pow.S: Likewise.
7130 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
7131 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
7132 * sysdeps/i386/fpu/s_expm1.S: Likewise.
7133 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
7134 * sysdeps/i386/fpu/e_log2.S: Likewise.
7135 * sysdeps/i386/fpu/e_log2l.S: Likewise.
7136 * sysdeps/i386/fpu/e_scalb.S: Likewise.
7137 * sysdeps/i386/fpu/e_powl.S: Likewise.
7138 * sysdeps/i386/fpu/e_log10f.S: Likewise.
7139 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
7140 * sysdeps/i386/fpu/e_logl.S: Likewise.
7141 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
7142 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
7143 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
7144 * sysdeps/i386/fpu/e_log2f.S: Likewise.
7145 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
7146 * sysdeps/i386/fpu/e_log.S: Likewise.
7147 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
7148 * sysdeps/i386/fpu/e_logf.S: Likewise.
7149 * sysdeps/i386/fpu/e_log10l.S: Likewise.
7150 * sysdeps/i386/fpu/e_atanh.S: Likewise.
7151 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
7152 * sysdeps/i386/fpu/e_log10.S: Likewise.
7153 * sysdeps/i386/fpu/s_frexp.S: Likewise.
7154 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
7155 * sysdeps/i386/fpu/s_asinh.S: Likewise.
7156 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
7157 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
7158 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
7159 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
7160 * sysdeps/i386/i686/strtok.S: Likewise.
7161 * sysdeps/i386/i386-mcount.S: Likewise.
7162 * sysdeps/i386/strtok.S: Likewise.
7163 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
7164 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
7165 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
7166 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
7167 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
7168 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
7169 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
7170 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
7171 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
7172 * sysdeps/x86_64/_mcount.S: Likewise.
7173 * sysdeps/x86_64/strtok.S: Likewise.
7174 * sysdeps/sh/_mcount.S: Likewise.
7175
2747bf9a
RM
71762012-08-01 Roland McGrath <roland@hack.frob.com>
7177
7178 * libio/iofopen.c: Include <fcntl.h>.
7179 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
7180 (_IO_fopen64, fopen64): Define as aliases.
7181 * libio/iofopen64.c: Include <fcntl.h>.
7182 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
7183 Conditionalize body on this.
7184 * sysdeps/wordsize-64/iofopen.c: File removed.
7185 * sysdeps/wordsize-64/iofopen64.c: File removed.
7186
3fb791b8
MP
71872012-08-01 Marek Polacek <polacek@redhat.com>
7188
7189 * libc/Makeconfig: Use elf in place of binfmt-subdir.
7190 Use dlfcn directly instead of a variable.
7191 (binfmt-subdir): Do not define.
7192 (dlfcn): Likewise.
7193
a9f1039f
JM
71942012-08-01 Joseph Myers <joseph@codesourcery.com>
7195
23bddc06
JM
7196 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
7197 Remove all definitions.
7198 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
7199 <kernel-features.h>.
7200 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
7201 (miss_F_GETOWN_EX): Remove all definitions.
7202 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
7203 macro definition.
7204 [!__ASSUME_FCNTL64]: Remove conditional code.
7205 [__ASSUME_FCNTL64]: Make code unconditional.
7206 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
7207 <kernel-features.h>.
7208 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
7209 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
7210 (lockf64) [__NR_fcntl64]: Make code unconditional.
7211 (lockf64) [__ASSUME_FCNTL64]: Likewise.
7212
a9f1039f
JM
7213 * sysdeps/unix/sysv/linux/kernel-features.h
7214 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
7215 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
7216 Make code unconditional.
7217 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
7218 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
7219 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
7220 [__NR_vfork]: Make code unconditional.
7221 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
7222 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
7223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
7224 [__NR_vfork]: Make code unconditional.
7225 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
7226 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
7227
09c0ee5f
RM
72282012-08-01 Roland McGrath <roland@hack.frob.com>
7229
48aec5b9
RM
7230 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
7231 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
7232
cd97c966
RM
7233 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
7234 Define mkstemp64 as an alias.
3f55550c
RM
7235 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
7236 Define mkstemps64 as an alias.
cd97c966
RM
7237 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
7238 Define mkostemp64 as an alias.
b8625cfc
RM
7239 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
7240 Define mkostemps64 as an alias.
cd97c966
RM
7241 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
7242 Conditionalize body on this.
7243 * misc/mkostemp64.c: Likewise.
b8625cfc 7244 * misc/mkostemps64.c: Likewise.
3f55550c 7245 * misc/mkstemps64.c: Likewise.
cd97c966
RM
7246 * sysdeps/wordsize-64/mkstemp64.c: File removed.
7247 * sysdeps/wordsize-64/mkostemp64.c: File removed.
7248 * sysdeps/wordsize-64/mkostemp.c: File removed.
7249 * sysdeps/wordsize-64/mkstemp.c: File removed.
7250 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
7251 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
7252 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
7253 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
7254
09c0ee5f
RM
7255 [BZ #14138]
7256 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
7257 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
7258 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
7259 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
7260
7261 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
7262 compat_symbol macros from <shlib-compat.h> rather than the underlying
7263 default_symbol_version and symbol_version macros, so that DEFAULT
7264 lines in shlib-versions are respected.
7265 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
7266
7e66ee51
FW
72672012-08-01 Florian Weimer <fweimer@redhat.com>
7268
7269 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
7270 Declare with warn_unused_result.
7271 (setgid, setregid, setegid, setresgid): Likewise.
7272 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
7273 Likewise.
7274 * WUR-REPORT: Remove set*id functions.
7275
d2a54255
PT
72762012-07-31 Pino Toscano <toscano.pino@tiscali.it>
7277
7278 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
7279
7ecdb005
RM
72802012-07-31 Roland McGrath <roland@hack.frob.com>
7281
789bd351
RM
7282 * include/sys/socket.h (__libc_accept, __libc_accept4):
7283 Add attribute_hidden.
7284 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
7285
40ce302d
RM
7286 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
7287 use of PTR_MANGLE.
7288 * inet/getnetgrent_r.c (setup): Likewise.
7289
7ecdb005
RM
7290 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
7291
e2eabb2c
DM
72922012-07-31 David S. Miller <davem@davemloft.net>
7293
7294 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7295
d0419dbf
JM
72962012-07-31 Joseph Myers <joseph@codesourcery.com>
7297
7298 [BZ #13629]
7299 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
7300 value between 1.0 and 2.0 and smaller part has absolute value less
7301 than 1.0.
7302 * math/s_clog10.c (__clog10): Likewise.
7303 * math/s_clog10f.c (__clog10f): Likewise.
7304 * math/s_clog10l.c (__clog10l): Likewise.
7305 * math/s_clogf.c (__clogf): Likewise.
7306 * math/s_clogl.c (__clogl): Likewise.
7307 * math/libm-test.inc (clog_test): Add more tests.
7308 (clog10_test): Likewise.
7309 * sysdeps/i386/fpu/libm-test-ulps: Update.
7310 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7311
2bc13872
FW
73122012-07-31 Florian Weimer <fweimer@redhat.com>
7313
7314 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
7315 Exit with zero in case no suitable GID is found, and write a
7316 message to standard error.
7317
bea9b193
RM
73182012-07-30 Roland McGrath <roland@hack.frob.com>
7319
7320 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
7321 rather than to 1.
7322 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
7323 (MAXPATHLEN): Removed.
7324 (NOGROUP, NODEV): New macros.
7325 (setbit, clrbit, isset, isclr): New macros.
7326 (howmany, roundup, powerof2): New macros.
7327 (DEV_BSIZE): New macro.
7328
7329 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
7330 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
7331
7332 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
7333 definition on [!__NO_LONG_DOUBLE_MATH].
7334
7335 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
7336 PTR_MANGLE and PTR_DEMANGLE.
7337
7338 * socket/accept4.c (accept4): Rename to __libc_accept4.
7339 Define accept4 as a weak alias.
7340
7341 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
7342 on [_DIRENT_HAVE_D_TYPE].
7343 * io/ftw.c (ftw_dir): Likewise.
7344
7345 * io/xmknod.c (__xmknod): Don't check PATH for being null.
7346
7347 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
7348
7349 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
7350 Use the BSD numbers rather than the arbitrary ones we had.
7351 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
7352 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
7353 (SIGXCPU, SIGXFSZ): New macros.
7354 (_NSIG): Now 32.
7355
7356 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
7357 initializer on [_LIBC_REENTRANT].
7358
7359 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
7360 definitions inside [_POSIX_MAPPED_FILES].
7361
7362 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
7363
7364 * dirent/opendir.c: Include <fcntl.h>.
7365
7366 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
7367 (__libc_getspecific): Likewise.
7368 (__libc_key_create): Likewise.
7369
7370 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
7371 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
7372 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
7373 (tmpfile64): Define as alias.
7374 * sysdeps/wordsize-64/tmpfile.c: File removed.
7375 * sysdeps/wordsize-64/tmpfile64.c: File removed.
7376 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
7377 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
7378
7379 * stdio-common/vfscanf.c: Include <stdbool.h>.
7380 * nss/makedb.c: Likewise.
7381 * stdio-common/_i18n_number.h: Likewise.
7382 * argp/argp-help.c: Likewise.
7383 * posix/wordexp.c: Likewise.
7384 * sysdeps/posix/spawni.c: Likewise.
7385 * nss/nss_files/files-initgroups.c: Likewise.
7386 * stdio-common/reg-modifier.c: Include <stdlib.h>.
7387 * nss/nss_files/files-initgroups.c: Likewise.
7388 * nss/nss_db/db-netgrp.c: Likewise.
7389 * nss/nss_db/db-initgroups.c: Likewise.
7390 * io/fchmodat.c: Include <sys/stat.h>.
7391
7392 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
7393 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
7394
7395 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
7396 [HAVE_MMAP].
7397
7398 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
7399 Add multiple inclusion protection.
7400
e5abc686
DM
74012012-07-27 David S. Miller <davem@davemloft.net>
7402
7403 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7404
815e6fa3
GB
74052012-07-27 Gary Benson <gbenson@redhat.com>
7406
7407 [BZ #14298]
7408 * elf/rtld.c: Include <stap-probe.h>.
7409 (dl_main): Added static probes "init_start" and "init_complete".
7410 * elf/dl-load.c: Include <stap-probe.h>.
7411 (lose): Take new parameter "nsid".
7412 Added static probe "map_failed".
7413 (_dl_map_object_from_fd): Pass namespace id to lose.
7414 Added static probe "map_start".
7415 (open_verify): Pass namespace id to lose.
7416 * elf/dl-open.c: Include <stap-probe.h>.
7417 (dl_open_worker) Added static probes "map_complete", "reloc_start"
7418 and "reloc_complete".
7419 * elf/dl-close.c: Include <stap-probe.h>.
7420 (_dl_close_worker): Added static probes "unmap_start" and
7421 "unmap_complete".
7422 * elf/rtld-debugger-interface.txt: New file documenting the above.
7423
9f98c16c
RM
74242012-07-26 Roland McGrath <roland@hack.frob.com>
7425
7426 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
7427 rather than a string variable.
7428 * sunrpc/rpc_main.c (h_output): Likewise.
7429 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
7430
f3c22df3
PT
74312012-07-26 Pino Toscano <toscano.pino@tiscali.it>
7432
7433 * inet/check_native.c: New file.
7434
3129cfc6
JM
74352012-07-26 Joseph Myers <joseph@codesourcery.com>
7436
da865e95
JM
7437 [BZ #13629]
7438 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
7439 if larger part has absolute value 1.0.
7440 * math/s_clog10.c (__clog10): Likewise.
7441 * math/s_clog10f.c (__clog10f): Likewise.
7442 * math/s_clog10l.c (__clog10l): Likewise.
7443 * math/s_clogf.c (__clogf): Likewise.
7444 * math/s_clogl.c (__clogl): Likewise.
7445 * math/libm-test.inc (clog_test): Add more tests.
7446 (clog10_test): Likewise.
7447 * sysdeps/i386/fpu/libm-test-ulps: Update.
7448 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7449
3129cfc6
JM
7450 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
7451 (pltexit): Likewise.
7452 (La_regs): Likewise.
7453 (La_retval): Likewise.
7454 (int_retval): Likewise.
7455 Update #error for removed macros to refer only to definitions in
7456 tst-audit.h.
7457 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
7458 macro.
7459 (pltexit): Likewise.
7460 (La_regs): Likewise.
7461 (La_retval): Likewise.
7462 (int_retval): Likewise.
7463 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
7464 macro.
7465 (pltexit): Likewise.
7466 (La_regs): Likewise.
7467 (La_retval): Likewise.
7468 (int_retval): Likewise.
7469 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
7470 macro.
7471 (pltexit): Likewise.
7472 (La_regs): Likewise.
7473 (La_retval): Likewise.
7474 (int_retval): Likewise.
7475 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
7476 macro.
7477 (pltexit): Likewise.
7478 (La_regs): Likewise.
7479 (La_retval): Likewise.
7480 (int_retval): Likewise.
7481 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
7482 macro.
7483 (pltexit): Likewise.
7484 (La_regs): Likewise.
7485 (La_retval): Likewise.
7486 (int_retval): Likewise.
7487 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
7488 macro.
7489 (pltexit): Likewise.
7490 (La_regs): Likewise.
7491 (La_retval): Likewise.
7492 (int_retval): Likewise.
7493 * sysdeps/generic/tst-audit.h: Update comment to refer only to
7494 macro definitions in tst-audit.h.
7495 * sysdeps/i386/tst-audit.h: New file.
7496 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
7497 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
7498 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
7499 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
7500 * sysdeps/sh/tst-audit.h: Likewise.
7501 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
7502 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
7503 * sysdeps/x86_64/tst-audit.h: Likewise.
7504
bfc07087
AJ
75052012-07-26 Andreas Jaeger <aj@suse.de>
7506
b1b2aaf8
AJ
7507 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
7508 ptrace.
7509
7510 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
7511 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
7512 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
7513 PTRACE_O_MASK.
7514 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
7515 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
7516 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
7517
bfc07087
AJ
7518 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
7519 value.
7520
7521 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
7522 _sigsys.
7523 (si_call_addr, si_syscall, si_arch): Define new macro.
7524 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
7525 _sigsys.
7526 (si_call_addr, si_syscall, si_arch): Define new marcro.
7527 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
7528 _sigsys.
7529 (si_call_addr, si_syscall, si_arch): Define new macro.
7530 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
7531 _sigsys.
7532 (si_call_addr, si_syscall, si_arch): Define new macro.
7533
89b4b02f
JM
75342012-07-25 Joseph Myers <joseph@codesourcery.com>
7535
7536 [BZ #13717]
7537 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
7538 Change to 2.4.21 where previously 2.4.1.
7539 * sysdeps/unix/sysv/linux/configure: Regenerated.
7540 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
7541 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
7542 Linux kernel version.
7543 (__ASSUME_STD_AUXV): Remove.
7544 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
7545 kernel version.
7546 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
7547 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
7548 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
7549 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
7550 (__ASSUME_NETLINK_SUPPORT): Likewise.
7551 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
7552 (__no_netlink_support): Remove conditional definition.
7553 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
7554 Remove.
7555 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
7556 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
7557 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
7558 (if_nameindex_ioctl): Remove.
7559 (if_nameindex_netlink): Do not handle __no_netlink_support.
7560 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
7561 code.
7562 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
7563 Remove conditional code.
7564 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
7565 code.
7566 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
7567 unconditional.
7568 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
7569 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
7570 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
7571 Remove.
7572 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
7573 [!__ASSUME_STD_AUXV]: Remove conditional code.
7574 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
7575 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
7576 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
7577 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
7578 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
7579 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
7580 code.
7581 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
7582 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
7583 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
7584 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
7585 conditional code.
7586 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
7587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
7588 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
7589 code.
7590 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
7591 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
7592 conditional code.
7593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
7594 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
7595 code unconditional.
7596 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7597 conditional code.
7598 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
7599 unconditional.
7600 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7601 conditional code.
7602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
7603 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
7604 unconditional.
7605 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7606 conditional code.
7607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
7608 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
7609 code unconditional.
7610 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7611 conditional code.
7612 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
7613 unconditional.
7614 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7615 conditional code.
7616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
7617 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
7618 code unconditional.
7619 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7620 conditional code.
7621 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
7622 unconditional.
7623 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7624 conditional code.
7625
842a39cd
AS
76262012-07-25 Andreas Schwab <schwab@linux-m68k.org>
7627
7628 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
7629 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
7630 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
7631 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
7632 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
7633 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
7634 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
7635 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
7636 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
7637 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
7638 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
7639 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
7640 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
7641 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
7642 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
7643 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
7644 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
7645 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
7646 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
7647 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
7648 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
7649 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
7650 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
7651
84b3fd84
FW
76522012-07-25 Florian Weimer <fweimer@redhat.com>
7653
7654 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
7655 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
7656 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
7657 Introduce __libc_secure_getenv.
0c7936d5
FW
7658 * stdlib/Versions (2.17): Add secure_getenv
7659 (GLIBC_PRIVATE): Add __libc_secure_getenv.
7660 * stdlib/secure-getenv.c: Rename __secure_getenv to
7661 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
7662 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
7663 * stdlib/tst-secure-getenv.c: New.
7664 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
7665 * manual/startup.texi (Environment Access): Document
7666 secure_getenv.
84b3fd84
FW
7667 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
7668 __libc_secure_getenv.
7669 * inet/ruserpass.c (ruserpass): Likewise.
7670 * malloc/mtrace.c (mtrace): Likewise.
7671 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 7672 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
7673 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
7674 * sysdeps/posix/tempname.c: Likewise. Evaluate
7675 HAVE_SECURE_GETENV.
7676 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 7677 __secure_getenv to __libc_secure_getenv.
84b3fd84 7678 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
7679 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7680 Likewise.
7681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7682 Likewise.
7683 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
7684 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
7685 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
7686 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
7687 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
7688 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
7689 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 7690
56e49b71
JM
76912012-07-25 Joseph Myers <joseph@codesourcery.com>
7692
7693 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
7694 (struct La_i86_retval): Likewise.
7695 (struct La_x86_64_regs): Likewise.
7696 (struct La_x86_64_retval): Likewise.
7697 (struct La_x32_regs): Likewise.
7698 (struct La_x32_retval): Likewise.
7699 (struct La_ppc32_regs): Likewise.
7700 (struct La_ppc32_retval): Likewise.
7701 (struct La_ppc64_regs): Likewise.
7702 (struct La_ppc64_retval): Likewise.
7703 (struct La_sh_regs): Likewise.
7704 (struct La_sh_retval): Likewise.
7705 (struct La_s390_32_regs): Likewise.
7706 (struct La_s390_32_retval): Likewise.
7707 (struct La_s390_64_regs): Likewise.
7708 (struct La_s390_64_retval): Likewise.
7709 (struct La_sparc32_regs): Likewise.
7710 (struct La_sparc32_retval): Likewise.
7711 (struct La_sparc64_regs): Likewise.
7712 (struct La_sparc64_retval): Likewise.
7713 (struct audit_ifaces): Remove architecture-specific pltenter and
7714 pltexit members.
7715 * sysdeps/i386/ldsodefs.h: New file.
7716 * sysdeps/powerpc/ldsodefs.h: Likewise.
7717 * sysdeps/s390/ldsodefs.h: Likewise.
7718 * sysdeps/sh/ldsodefs.h: Likewise.
7719 * sysdeps/sparc/ldsodefs.h: Likewise.
7720 * sysdeps/x86_64/ldsodefs.h: Likewise.
7721
354691b7
MP
77222012-07-25 Marek Polacek <polacek@redhat.com>
7723
7724 [BZ #6808]
7725 * math/libm-test.inc (yn_test): Add another test.
7726 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
7727 to ERANGE when the result is +-Inf.
7728 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
7729 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
7730 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
7731 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
7732
bf9e2071
JM
77332012-07-24 Joseph Myers <joseph@codesourcery.com>
7734
7735 * conform/data/time.h-data (NULL): Use macro-constant. Require
7736 equal to 0.
7737 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
7738 clock_t.
7739 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
7740
57633811
TS
77412012-07-23 Thomas Schwinge <thomas@codesourcery.com>
7742
7743 * configure.in <sysdeps resolving>: Correct printing
7744 Implies_before.
7745 * configure: Regenerate.
7746
c23c33b0
TS
77472012-07-22 Thomas Schwinge <thomas@codesourcery.com>
7748
7749 * math/w_ilogb.c: Include <limits.h>.
7750 * math/w_ilogbl.c: Likewise.
7751
b5982523
JM
77522012-07-20 Joseph Myers <joseph@codesourcery.com>
7753
7754 * manual/lang.texi (__va_copy): Document primarily as ISO C99
7755 va_copy. Document allowing for unavailable va_copy only as
7756 pre-C99 compatibility.
7757 * manual/string.texi (Copying and Concatenation): Use va_copy
7758 instead of __va_copy in concat example.
7759
ac4ea442
PT
77602012-07-20 Pino Toscano <toscano.pino@tiscali.it>
7761
7762 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
7763 (__sendto): Use create_address_port. Initialize APORT and deallocate
7764 it if not null.
7765
f98eafbd
PT
7766 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
7767 with O_NOLINK passed to __file_name_lookup.
7768
898c7aab
PT
7769 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
7770 with O_NOLINK passed to __file_name_lookup.
7771
0ced335a
PT
7772 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
7773 negative N or less than NGIDS.
7774
b3404dbd
PT
7775 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
7776 type to string_t. Set ERANGE as errno and return it if NAME is not big
7777 enough. Use memcpy instead of strncpy.
7778
0f48659e
JM
77792012-07-20 Joseph Myers <joseph@codesourcery.com>
7780
7781 * elf/Makefile (check-data): Remove.
7782 (localplt.data): New vpath directive.
7783 ($(objpfx)check-localplt.out): Use localplt.data from vpath
7784 instead of $(check-data).
7785 * scripts/data/localplt-generic.data: Move to ...
7786 * sysdeps/generic/localplt.data: ... here.
7787 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
7788 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
7789 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
7790 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
7791 ... here.
7792 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
7793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
7794 ... here.
7795 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
7796 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
7797 ... here.
7798 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
7799 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
7800 ... here.
7801 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
7802 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
7803 ... here.
7804 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
7805 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
7806 ... here.
7807
d37cbdaa
AZ
78082012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7809
7810 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
7811 PPC32 and PPC64 files.
7812 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
7813 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
7814
46f85fc2
AK
78152012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7816
7817 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
7818 __makecontext_ret to ...
7819 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
7820 ... here and call exit if uc_link is NULL. New file.
7821 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
7822 __makecontext_ret.S.
7823 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
7824 __makecontext_ret to ...
7825 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
7826 ... here and call exit if uc_link is NULL. New file.
7827 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
7828 __makecontext_ret.S.
7829
08f43f9b
AK
78302012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7831
7832 * elf/elf.h (R_390_IRELATIVE): New definition.
7833 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
7834 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
7835 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
7836 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
7837 (elf_machine_lazy_rel): Likewise.
7838 * sysdeps/s390/dl-irel.h: New file.
7839 * sysdeps/s390/s390-64/memcpy.S: New asm code.
7840 * sysdeps/s390/s390-64/memset.S: New asm code.
7841 * sysdeps/s390/s390-64/memcmp.S: New asm code.
7842 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
7843 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
7844 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
7845 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
7846 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
7847 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
7848 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
7849 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
7850 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
7851 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
7852 * sysdeps/s390/s390-32/memcpy.S: New asm code.
7853 * sysdeps/s390/s390-32/memset.S: New asm code.
7854 * sysdeps/s390/s390-32/memcmp.S: New asm code.
7855
3b05db33
MP
78562012-07-17 Marek Polacek <polacek@redhat.com>
7857
7858 [BZ #14349]
7859 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
7860 * sysdeps/s390/s390-64/configure.in: Likewise.
7861 * sysdeps/sparc/configure.in: Likewise.
7862 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
7863 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
7864 * sysdeps/i386/configure.in: Likewise.
7865 * sysdeps/x86_64/configure.in: Likewise.
7866 * sysdeps/sh/configure.in: Likewise.
7867 * sysdeps/s390/s390-32/configure: Regenerated.
7868 * sysdeps/s390/s390-64/configure: Likewise.
7869 * sysdeps/x86_64/configure: Likewise.
7870 * sysdeps/sh/configure: Likewise.
7871 * sysdeps/powerpc/powerpc64/configure: Likewise.
7872 * sysdeps/powerpc/powerpc32/configure: Likewise.
7873 * sysdeps/sparc/configure: Likwise.
7874 * sysdeps/i386/configure: Likewise.
7875
a66877c6
MP
7876 * elf/dl-open.c: Comment fixes.
7877
cfc82fd8
JM
78782012-07-17 Joseph Myers <joseph@codesourcery.com>
7879
bd29910a
JM
7880 * Makefile [CXX] (check-data): Remove.
7881 [CXX] (c++-types.data): New vpath directive.
7882 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
7883 vpath. Do not allow for C++ type data being missing.
7884 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
7885 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
7886 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
7887 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
7888 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
7889 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
7890 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
7891 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
7892 ... here.
7893 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
7894 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
7895 ... here.
7896 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
7897 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
7898 ... here.
7899 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
7900 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
7901 ... here.
7902 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
7903 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
7904 ... here.
7905 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
7906 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
7907 ... here.
7908 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
7909 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
7910 ... here.
7911 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
7912 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
7913
cfc82fd8
JM
7914 * elf/tls-macros.h (TLS_LE): Move architecture-specific
7915 definitions to architecture-specific files.
7916 (TLS_IE): Likewise.
7917 (TLS_LD): Likewise.
7918 (TLS_GD): Likewise.
7919 * sysdeps/i386/tls-macros.h: New file.
7920 * sysdeps/powerpc/tls-macros.h: Likewise.
7921 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
7922 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
7923 * sysdeps/sh/tls-macros.h: Likewise.
7924 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
7925 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
7926 * sysdeps/x86_64/tls-macros.h: Likewise.
7927
f7db3170
TS
79282012-07-17 Thomas Schwinge <thomas@codesourcery.com>
7929
07cbfc23
TS
7930 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
7931 zero value for regular exit case.
7932
f7db3170
TS
7933 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
7934 (__start_context): Preserve zero value for regular exit case.
7935
dc97c227
TS
79362012-07-17 Thomas Schwinge <thomas@codesourcery.com>
7937 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7938
7939 * manual/setjmp.texi (setcontext): Clarify normal process
7940 termination when uc_link is the null pointer.
7941 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
7942 exit call.
7943
d0cd7d02
AS
79442012-07-16 Andreas Schwab <schwab@linux-m68k.org>
7945
7946 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
7947 preprocessor. Test for each exception mask separately.
7948
dd318934
AJ
79492012-07-16 Andreas Jaeger <aj@suse.de>
7950
7951 * po/ru.po: Update from translation team.
7952
8048311a
JM
79532012-07-15 Joseph Myers <joseph@codesourcery.com>
7954
7955 * conform/data/string.h-data (NULL): Use macro-constant. Require
7956 equal to 0.
7957 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
7958 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
7959 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
7960 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
7961 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7962
b637d46e
AJ
79632012-07-13 Andreas Jaeger <aj@suse.de>
7964
7965 * po/fr.po: Update from translation team.
7966
541428fe
MP
79672012-07-12 Marek Polacek <polacek@redhat.com>
7968
7969 [BZ #14173]
7970 * math/libm-test.inc (yn_test): Add test for BZ #14173.
7971 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
7972 loop condition.
7973
ec332e94
JM
79742012-07-12 Joseph Myers <joseph@codesourcery.com>
7975
7976 [BZ #13717]
7977 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
7978 Change to 2.4.1 where previously 2.4.0.
7979 * sysdeps/unix/sysv/linux/configure: Regenerated.
7980 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
7981 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
7982 version.
7983 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
7984 (__ASSUME_AT_CLKTCK): Remove.
7985 (__ASSUME_AT_PAGESIZE): Likewise.
7986 (__ASSUME_AT_XID): Likewise.
7987 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
7988 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
7989 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
7990 unconditionally.
7991 (HAVE_AUX_PAGESIZE): Likewise.
7992 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
7993 [__ASSUME_AT_CLKTCK]: Make code unconditional.
7994 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
7995
7b6e99be
JB
79962012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
7997
7998 [BZ #14307]
7999 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
8000 the temporary buffer used to invoke __gethostbyname2_r,
8001 __gethostbyaddr_r and gethostbyname4_r to make room for struct
8002 host_data / struct gaih_addrtuple.
8003 * resolv/nss_dns/dns-host.c (global scope): Move definition of
8004 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
8005 header file nss/nsswitch.h.
8006 * nss/nsswitch.h (global scope): Add definition of implementation
8007 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
8008 resolv/nss_dns/dns-host.c).
8009
608404eb
AJ
80102012-07-11 Andreas Jaeger <aj@suse.de>
8011
8012 * po/fr.po: Update from translation team.
8013
71220aca
AJ
8014 * po/sv.po: Update from translation team
8015 * po/fr.po: Another update from translation team.
8016
28cfe843
AZ
80172012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8018
8019 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
8020 for subnormals or multiply small sinh result by itself.
8021 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
8022 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8023
6b90f981
DM
80242012-07-11 David S. Miller <davem@davemloft.net>
8025
8026 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8027
c6825772
AS
80282012-07-10 Andreas Schwab <schwab@linux-m68k.org>
8029
8030 [BZ #14347]
8031 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
8032 (INTERNAL_MARK): Shift it here.
8033
7b8e0d49
MP
80342012-07-10 Marek Polacek <polacek@redhat.com>
8035
8036 [BZ #14151]
8037 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
8038 libc_cv_asm_global_directive with .globl.
8039 * configure: Regenerated.
8040 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
8041 with .globl.
8042 * sysdeps/i386/configure: Regenerated.
8043 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
8044 with .globl.
8045 * sysdeps/x86_64/configure: Regenerated.
8046 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
8047 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
8048 * elf/tst-unique2mod2.c: Likewise.
8049 * elf/tst-unique2mod1.c: Likewise.
8050 * elf/tst-unique1mod2.c: Likewise.
8051 * elf/tst-unique1mod1.c: Likewise.
8052 * sysdeps/s390/s390-32/sysdep.h: Likewise.
8053 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
8054 * sysdeps/s390/s390-64/sysdep.h: Likewise.
8055 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
8056 * sysdeps/mach/sysdep.h: Likewise.
8057 * sysdeps/i386/sysdep.h: Likewise.
8058 * sysdeps/i386/i386-mcount.S: Likewise.
8059 * sysdeps/x86_64/_mcount.S: Likewise.
8060 * sysdeps/x86_64/sysdep.h: Likewise.
8061 * sysdeps/sh/_mcount.S: Likewise.
8062 * sysdeps/sh/sysdep.h: Likewise.
8063 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
8064 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
8065 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
8066 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
8067 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
8068 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
8069 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
8070 * locale/localeinfo.h: Likewise.
8071 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
8072 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
8073
6c55cda3
RM
80742012-07-09 Roland McGrath <roland@hack.frob.com>
8075
8076 [BZ #14336]
8077 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
8078 system".
8079 * manual/message.texi (The Uniforum approach): Likewise.
8080 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
8081 (glibc iconv Implementation): Likewise.
8082
638a572e
JM
80832012-07-09 Joseph Myers <joseph@codesourcery.com>
8084
8085 [BZ #14337]
8086 * math/s_clog.c (__clog): Avoid scaling a value down where that
8087 could result in underflow.
8088 * math/s_clog10.c (__clog10): Likewise.
8089 * math/s_clog10f.c (__clog10f): Likewise.
8090 * math/s_clog10l.c (__clog10l): Likewise.
8091 * math/s_clogf.c (__clogf): Likewise.
8092 * math/s_clogl.c (__clogl): Likewise.
8093 * math/libm-test.inc (clog_test): Add more tests.
8094 (clog10_test): Likewise.
8095 * sysdeps/i386/fpu/libm-test-ulps: Update.
8096 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8097
261f4859
AS
80982012-07-06 Andreas Schwab <schwab@linux-m68k.org>
8099
0abaf3e4
AS
8100 [BZ #14283]
8101 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
8102 by 7 not 8 to examine high bit of fractional part.
8103
261f4859
AS
8104 [BZ #14042]
8105 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
8106 for call to __mcount_internal.
8107 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
8108 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
8109 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
8110
f17ac40d
JM
81112012-07-06 Joseph Myers <joseph@codesourcery.com>
8112
9ad63c23
JM
8113 [BZ #14154]
8114 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
8115 approximation for values within 0x1p-13f of an odd multiple of
8116 pi/4.
8117 * math/libm-test.inc (tan_test): Do not allow spurious underflow
8118 exception. Add more tests.
8119 * sysdeps/i386/fpu/libm-test-ulps: Update.
8120
f17ac40d
JM
8121 [BZ #6778]
8122 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
8123 inputs and return -1 for them. Do not check for +Inf in case not
8124 reachable for +Inf.
8125 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
8126 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
8127 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
8128 and return -1 for them. Do not check for +Inf in case not
8129 reachable for +Inf.
8130 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
8131 define.
8132 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
8133 and return -1 for them. Do not check for +Inf in case not
8134 reachable for +Inf.
8135 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
8136 spurious underflow.
8137 * sysdeps/i386/fpu/libm-test-ulps: Update.
8138 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8139
fb21f89b
MF
81402012-07-06 Mike Frysinger <vapier@gentoo.org>
8141
8142 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
8143
cdfe2c5e
JM
81442012-07-05 Joseph Myers <joseph@codesourcery.com>
8145
8146 [BZ #14157]
8147 [BZ #14331]
8148 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
8149 could result in spurious underflow. Scale down values above
8150 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
8151 * math/s_csqrtf.c (__csqrtf): Likewise.
8152 * math/s_csqrtl.c (__csqrtl): Likewise.
8153 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
8154 spurious underflow.
8155 * sysdeps/i386/fpu/libm-test-ulps: Update.
8156 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8157
70d35b67
AS
81582012-07-04 Andreas Schwab <schwab@linux-m68k.org>
8159
704bc459
AS
8160 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
8161 xopen-msg.sed.
8162 * catgets/xopen-msg.awk: New file.
8163 * catgets/xopen-msg.sed: Removed.
8164
70d35b67
AS
8165 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
8166 po2text.sed.
8167 * intl/po2test.awk: New file.
8168 * intl/po2test.sed: Removed.
8169
ca61cf32
JM
81702012-07-04 Joseph Myers <joseph@codesourcery.com>
8171
8172 [BZ #14328]
8173 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
8174 or multiply small sinh result by itself.
8175 * math/s_ctanf.c (__ctanf): Likewise.
8176 * math/s_ctanh.c (__ctanh): Likewise.
8177 * math/s_ctanhf.c (__ctanhf): Likewise.
8178 * math/s_ctanhl.c (__ctanhl): Likewise.
8179 * math/s_ctanl.c (__ctanl): Likewise.
8180 * math/libm-test.inc (ctan_test_tonearest): New function.
8181 (ctan_test_towardzero): Likewise.
8182 (ctan_test_downward): Likewise.
8183 (ctan_test_upward): Likewise.
8184 (ctanh_test_tonearest): Likewise.
8185 (ctanh_test_towardzero): Likewise.
8186 (ctanh_test_downward): Likewise.
8187 (ctanh_test_upward): Likewise.
8188 (main): Call these new functions.
8189 * sysdeps/i386/fpu/libm-test-ulps: Update.
8190 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8191
ca48a46a
MF
81922012-07-03 Mike Frysinger <vapier@gentoo.org>
8193
8194 * .gitignore: Delete /ports entry.
8195
9d63d37d
AJ
81962012-07-03 Andreas Jaeger <aj@suse.de>
8197
8198 * po/bg.po: Update from translation team.
8199 * po/cs.po: Likewise.
8200 * po/de.po: Likewise.
8201 * po/hr.po: Likewise.
8202 * po/nl.pl: Likewise.
8203 * po/pl.po: Likewise.
8204 * po/vi.po: Likewise.
8205
370ca3d2
JM
82062012-07-03 Joseph Myers <joseph@codesourcery.com>
8207
95f5a9a8
JM
8208 * Makeconfig [!+link] (+link-before-libc): New variable.
8209 [!+link] (+link-after-libc): Likewise.
8210 [!+link] (+link-tests): Likewise.
8211 [!+link] (+link): Define in terms of $(+link-before-libc) and
8212 $(+link-after-libc).
8213 [!+link-static] (+link-static-before-libc): New variable.
8214 [!+link-static] (+link-static-after-libc): Likewise.
8215 [!+link-static] (+link-static-tests): Likewise.
8216 [!+link-static] (+link-static): Define in terms of
8217 $(+link-static-before-libc) and $(+link-static-after-libc).
8218 [build-shared] (link-libc-before-gnulib): New variable.
8219 [build-shared] (link-libc-tests): Likewise.
8220 [build-shared] (link-libc): Define in terms of
8221 $(link-libc-before-gnulib).
8222 [!build-shared] (link-libc-tests): New variable.
8223 (link-libc-static-tests): New variable.
8224 [!gnulib] (gnulib-arch): New variable.
8225 [!gnulib] (gnulib-tests): Likewise.
8226 [!gnulib] (static-gnulib-arch): Likewise.
8227 [!gnulib] (static-gnulib-tests): Likewise.
8228 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
8229 Define with "=" instead of ":=".
8230 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
8231 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
8232 * Rules (binaries-all-notests): New variable.
8233 (binaries-all-tests): Likewise.
8234 (binaries-static-notests): Likewise.
8235 (binaries-static-tests): Likewise.
8236 (binaries-all): Define using $(binaries-all-notests) and
8237 $(binaries-all-tests).
8238 (binaries-static): Define using $(binaries-static-notests) and
8239 $(binaries-static-tests).
8240 (binaries-shared-tests): New variable.
8241 (binaries-shared-notests): Likewise.
8242 (binaries-shared): Remove variable.
8243 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
8244 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
8245 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
8246 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
8247 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
8248 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
8249 * elf/Makefile (sln-modules): New variable.
8250 (extra-objs): Add $(sln-modules:=.o).
8251 (ldconfig-modules): Add static-stubs.
8252 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
8253 * elf/static-stubs.c: New file.
8254
7a845b2c
JM
8255 [BZ #14283]
8256 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
8257 by 7 not 8 to examine high bit of fractional part. Use volatile
8258 variables when splitting into final array of floats if
8259 __FLT_EVAL_METHOD__ != 0.
8260 * math/libm-test.inc (cos_test): Add another test.
8261 (sin_test): Likewise.
8262 * sysdeps/i386/fpu/libm-test-ulps: Update.
8263
e2283f38
JM
8264 [BZ #14273]
8265 * math/libm-test.inc (cosh_test): Add more tests.
8266
370ca3d2
JM
8267 * version.h (RELEASE): Set to "development".
8268 (VERSION): Set to "2.16.90".
8269
ee9247c3
CD
82702012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
8271
8272 * NEWS: Update copyright. Remove last-updated date.
8273 Mention math library bug fixes and timezone data changes.
8274 * README: Mention GNU/Hurd, x32, and HPPA support status.
8275
4648c381
TS
82762012-06-28 Thomas Schwinge <thomas@codesourcery.com>
8277
8278 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
8279
aac78a43
AJ
82802012-06-27 Andreas Jaeger <aj@suse.de>
8281
8282 * manual/contrib.texi (Contributors): Add Samuel Thibault.
8283
ed3dbfad
AJ
82842012-06-25 Andreas Jaeger <aj@suse.de>
8285
8286 * sysdeps/s390/fpu/libm-test-ulps: Update.
8287
4d0ee855
AS
82882012-06-23 Andreas Schwab <schwab@linux-m68k.org>
8289 Thomas Schwinge <thomas@codesourcery.com>
8290
8291 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
8292 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
8293 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
8294 fanotify_mark.
8295
af1bce34
TS
82962012-06-23 Thomas Schwinge <thomas@codesourcery.com>
8297
a9fa33ba
TS
8298 * sysdeps/mach/start.c: Remove file.
8299 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
8300 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
8301 * sysdeps/sh/init-first.c: Likewise.
8302
58f902b8
TS
8303 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
8304 registers for frame unwinding purposes, add CFI directives.
8305 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
8306 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
8307 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
8308 Likewise.
8309
1518f58b
TS
8310 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
8311 __fortify_fail returning.
8312 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
8313
db9b5059
TS
8314 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
8315 sysdeps/sh/____longjmp_chk.S.
8316 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
8317 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
8318 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
8319 (gen-as-const-headers): Append sigaltstack-offsets.sym.
8320
967705fe
TS
8321 * sysdeps/sh/abort-instr.h: New file.
8322 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
8323 process in case exit returns.
8324
a9def8c4
TS
8325 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
8326 initialize the GOT register before use.
8327
2a649725
TS
8328 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
8329 calculation of ARGC > 4.
8330
af1bce34
TS
8331 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
8332 meaningful names to some local labels.
8333
d230f50a
KK
83342012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8335 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8336
8337 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
8338 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
8339 (__arch_compare_and_exchange_val_16_acq): Likewise.
8340 (__arch_compare_and_exchange_val_32_acq): Likewise.
8341 (atomic_exchange_and_add): Fix gUSA sequence.
8342 (atomic_add): Likewise.
8343 (atomic_add_negative): Likewise.
8344 (atomic_add_zero): Likewise.
8345 (atomic_bit_test_set): Likewise.
8346
0479b305
AS
83472012-06-22 Andreas Schwab <schwab@redhat.com>
8348
8349 [BZ #13579]
8350 * include/link.h (struct link_map): Add l_free_initfini.
8351 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
8352 l_initfini.
8353 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
8354 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
8355 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
8356 set.
8357
0e3933b9
CD
83582012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
8359
8360 * configure.in: Use AC_LANG_SOURCE.
8361 * configure: Regenerate.
8362
4248b1b1
RM
83632012-06-22 Roland McGrath <roland@hack.frob.com>
8364
8365 * configure.in (libc_cv_localstatedir): New substituted variable.
8366 * configure: Regenerated.
8367 * config.make.in (localstatedir): New variable, substituted from
8368 libc_cv_localstatedir.
8369 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
8370 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
8371 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
8372 * sysdeps/gnu/configure: Regenerated.
8373
006dd861
JL
83742012-06-21 Jeff Law <law@redhat.com>
8375
8376 [BZ #14277]
8377 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
8378 free. Simplify list management for _LIBC case.
8379
79662d42
JM
83802012-06-21 Joseph Myers <joseph@codesourcery.com>
8381
b7abb4bf
JM
8382 [BZ #14273]
8383 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
8384 Clear sign bit of 64-bit integer value before comparing against
8385 overflow value.
8386
79662d42
JM
8387 * sysdeps/mach/configure: Regenerated.
8388
1f150908
L
83892012-06-21 H.J. Lu <hongjiu.lu@intel.com>
8390
8391 [BZ #14278]
8392 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
8393
28363bbf
JL
83942012-06-21 Jeff Law <law@redhat.com>
8395
8396 [BZ #13882]
8397 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
8398 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 8399 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
8400 * elf/dl-open.c (dl_open_worker): Likewise.
8401
09615db4
CD
84022012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
8403
8404 * scripts/list-sources.sh: Scan PORTS for translations.
8405 * po/libc.pot: Regenerated.
8406
2174c6dd
AJ
84072012-06-21 Andreas Jaeger <aj@suse.de>
8408
8409 [BZ #12194]
8410 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
8411 warning.
8412 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
8413 * bits/byteswap-16.h (__bswap_16): Likewise.
8414 * bits/byteswap.h (__bswap_constant_16): Likewise.
8415
3ee947b1
L
84162012-06-18 H.J. Lu <hongjiu.lu@intel.com>
8417
8418 [BZ #14117]
a2f34833
L
8419 * sysdeps/i386/fpu_control.h: Removed.
8420 * sysdeps/x86_64/fpu_control.h: Moved to ...
8421 * sysdeps/x86/fpu_control.h: Here.
8422
3ee947b1
L
8423 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
8424 (_FPU_SETCW): Likewise.
8425
ed1825f8
L
84262012-06-15 H.J. Lu <hongjiu.lu@intel.com>
8427
25f1282a
L
8428 [BZ #14117]
8429 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
8430 * sysdeps/x86/fpu/bits/mathinline.h: This.
8431 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
8432
ed1825f8
L
8433 [BZ #14050]
8434 [BZ #14117]
8435 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
8436 functions if __x86_64__ is defined.
8437
36d54b74
CLT
84382012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
8439
8440 * string/endian.h: Add !__ASSEMBLER__ condition for including
8441 conversion interfaces.
8442
10285c21
JM
84432012-06-15 Joseph Myers <joseph@codesourcery.com>
8444
8445 [BZ #14241]
8446 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
8447 of ABS(x) in calculating zero to negative powers other than odd
8448 integers.
8449 * math/libm-test.inc (pow_test): Add more tests.
8450
06c5abbd
AJ
84512012-06-15 Andreas Jaeger <aj@suse.de>
8452
8453 * manual/contrib.texi (Contributors): Update entry of Liubov
8454 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
8455 Machado Filho.
8456
a3aeac40
CH
84572012-06-15 Cyril Hrubis <metan@ucw.cz>
8458
8459 * string/string.h: Add __wur to GNU version of strerror_r.
8460
49bdf4c1
L
84612012-06-14 H.J. Lu <hongjiu.lu@intel.com>
8462
8463 [BZ #14229]
8464 * string/Makefile (tests): Add tst-strtok_r.
8465 * string/tst-strtok_r.c: New file.
8466 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
8467 RAX_LP/RDX_LP on SAVE_PTR.
8468
834f9b8d
RM
84692012-06-14 Roland McGrath <roland@hack.frob.com>
8470
8471 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
8472
75fa1921
JM
84732012-06-14 Joseph Myers <joseph@codesourcery.com>
8474
8475 * libm_test.inc (csqrt_test): Allow more spurious underflow
8476 exceptions.
8477 (j0_test): Likewise.
8478 (j1_test): Likewise.
8479 (y0_test): Likewise.
8480 (y1_test): Likewise.
8481
771766df
CD
84822012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
8483
8484 * po/Makefile (libc.pot): Use UTF-8 charset.
8485
ceb9e56b
PP
84862012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
8487
8488 [BZ #14210]
8489 Suppress sign-conversion warning from FD_SET.
8490 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
8491 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
8492 not unsigned long int.
8493 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
8494
ddb28975
L
84952012-06-12 H.J. Lu <hongjiu.lu@intel.com>
8496
8497 [BZ #14050]
8498 [BZ #14117]
8499 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
8500 __extern_always_inline instead of __extern_inline.
8501 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
8502 (__signbit): Likewise.
8503 (__signbitl): Support C++ namespace.
8504 (lrintf): New inline function.
8505 (lrint): Likewise.
8506 (llrintf): Likewise.
8507 (llrint): Likewise.
8508 (fmaxf): Likewise.
8509 (fmax): Likewise.
8510 (fminf): Likewise.
8511 (fmin): Likewise.
8512 (rint): Likewise.
8513 (rintf): Likewise.
8514 (ceil): Likewise.
8515 (ceilf): Likewise.
8516 (floor): Likewise.
8517 (floorf): Likewise.
8518 (nearbyint): Likewise.
8519 (nearbyintf): Likewise.
8520
d7b4fb26
TS
85212012-06-12 Thomas Schwinge <thomas@codesourcery.com>
8522
8523 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
8524 non-default versions.
8525
eb55f5c2
RM
85262012-06-11 Roland McGrath <roland@hack.frob.com>
8527
8528 [BZ #14218]
8529 * manual/argp.texi (Argp): Reword argp_parse description slightly.
8530
366af02c
TS
85312012-06-09 Thomas Schwinge <thomas@codesourcery.com>
8532
99ff6e5c
TS
8533 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
8534 (FE_UPWARD, FE_DOWNWARD): Don't define.
8535 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
8536 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
8537
366af02c
TS
8538 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
8539 reading it.
8540 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
8541 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
8542
793ea851
KK
85432012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8544
8545 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
8546 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
8547 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
8548 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
8549
a728a38f
L
85502012-06-06 H.J. Lu <hongjiu.lu@intel.com>
8551
8552 [BZ #14117]
c08010c7
L
8553 * sysdeps/i386/fpu/bits/fenv.h: Removed.
8554 * sysdeps/i386/fpu/Implies: New file.
8555 * sysdeps/x86_64/fpu/Implies: Likewise.
8556 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
8557 * sysdeps/x86/fpu/bits/fenv.h: This.
8558
a728a38f
L
8559 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
8560 __SSE_MATH__.
8561
6e230d11
SP
85622012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
8563
8564 [BZ #14134]
8565 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
8566 character 0xffff that matches the last element of the
8567 conversion table.
8568
1b671feb
AZ
85692012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8570
8571 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
8572 fmodl commit.
8573
6043738b
AZ
85742012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8575
8576 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
8577 values higher than 25.6283.
8578
34ae0b32
AZ
85792012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8580
8581 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
8582 subnormal exponent extraction and add some __builtin_expect.
8583 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
8584 Fix for subnormal mantissa calculation.
8585
1214ec8f
MF
85862012-06-04 Mike Frysinger <vapier@gentoo.org>
8587
8588 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
8589 cpu2 is -1 and errno is not ENOSYS.
8590
f3d1f93c
L
85912012-06-04 H.J. Lu <hongjiu.lu@intel.com>
8592
8593 [BZ #14117]
0e4a3cd7
L
8594 * sysdeps/i386/i486/bits/string.h: Renamed to ...
8595 * sysdeps/x86/bits/string.h: This.
8596 * sysdeps/x86_64/bits/string.h: Removed.
8597
6704c645
L
8598 * sysdeps/i386/i486/bits/string.h: Define inline functions only
8599 if not compiling for x86-64, but compiling for >= i486.
8600
48495318
L
8601 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
8602 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
8603
14adcbfc
L
8604 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
8605 New macro from Linux kernel 3.4.0.
8606 (FP_XSTATE_MAGIC2): Likewise.
8607 (FP_XSTATE_MAGIC2_SIZE): Likewise.
8608 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
8609 (struct _fpx_sw_bytes): New struct.
8610 (struct _xsave_hdr): Likewise.
8611 (struct _ymmh_state): Likewise.
8612 (struct _xstate): Likewise.
8613
68e408ab
L
8614 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
8615 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
8616 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
8617 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
8618 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
8619 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
8620
f3d1f93c
L
8621 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
8622 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
8623 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
8624 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
8625 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
8626 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
8627
d9dc34cd
TMQMF
86282012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8629
8630 [BZ #13743]
8631 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
8632 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
8633 (sysdep_headers): Include sys/platform/ppc.h.
8634 * sysdeps/powerpc/test-gettimebase.c: Test for
8635 __ppc_get_timebase() to catch future ISA opcode/insn changes.
8636 * manual/Makefile (appendices): Include platform.texi.
8637 * manual/contrib.texi (Contributors): Update @node pointers.
8638 * manual/maint.texi (Maintenance): Likewise.
8639 (Platform): New node.
8640 * manual/platform.texi: New file. Document the new features.
8641
4af3879c
SP
86422012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8643 Jakub Jelinek <jakub@redhat.com>
8644
8645 [BZ #14188]
8646 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
8647 where __builtin_expect is unavailable.
8648
2fd6ff13
DM
86492012-06-03 David S. Miller <davem@davemloft.net>
8650
8651 * stdlib/longlong.h: Updated from GCC.
8652
173f7220
AS
86532012-06-02 Andreas Schwab <schwab@linux-m68k.org>
8654
8655 [BZ #14042]
8656 * sysdeps/powerpc/powerpc32/mcount.c: New file.
8657 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
8658 __mcount_internal.
8659 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
8660 (GLIBC_2.16): Likewise.
8661
f34a1c6f
L
86622012-06-01 H.J. Lu <hongjiu.lu@intel.com>
8663
8664 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
8665
88a4576f
JM
86662012-06-01 Joseph Myers <joseph@codesourcery.com>
8667
ea32bcdd
JM
8668 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
8669 (default-abi): New variable.
8670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
8671 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
8672 variable.
8673 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
8674 Likewise.
8675 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
8676 Likewise.
8677 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
8678 Likewise.
8679
88a4576f
JM
8680 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
8681 definition. Document in comment.
8682
402fe938
DM
86832012-06-01 David S. Miller <davem@davemloft.net>
8684
8685 * stdlib/longlong.h: Updated from GCC.
8686
3553723f
L
86872012-06-01 H.J. Lu <hongjiu.lu@intel.com>
8688
8689 [BZ #14117]
3bd872c4
L
8690 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
8691 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
8692 sys/debugreg.h sys/io.h here.
8693 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
8694 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
8695 sys/io.h.
8696 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
8697 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
8698 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
8699 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
8700 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
8701 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
8702
3553723f
L
8703 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
8704 Define only if __x86_64__ is defined.
8705
4842e4fe
JM
87062012-06-01 Joseph Myers <joseph@codesourcery.com>
8707
c5bfe3d5
JM
8708 [BZ #14048]
8709 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
8710 Use int64_t for variable i.
8711 * math/libm-test.inc (fmod_test): Add more tests.
8712
4842e4fe
JM
8713 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
8714 z computation is not scheduled after fetestexcept.
8715 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
8716 Use math_force_eval instead of asm to ensure calculation scheduled
8717 before exception test.
8718 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
8719 Ensure a1 + u.d computation is not scheduled after fetestexcept.
8720
efb73488
AJ
87212012-06-01 Aurelien Jarno <aurelien@aurel32.net>
8722
8723 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
8724 computation is not scheduled after fetestexcept.
8725
29bcce7c
L
87262012-06-01 H.J. Lu <hongjiu.lu@intel.com>
8727
8728 [BZ #14117]
8729 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
8730 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
8731
73a68f94
AZ
87322012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8733
8734 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
8735 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
8736
67b6df78
L
87372012-05-31 H.J. Lu <hongjiu.lu@intel.com>
8738
edf2933a 8739 [BZ #14117]
ebc64a18
L
8740 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
8741 <bits/wordsize.h>.
8742 (__WCHAR_MIN): Support __WORDSIZE == 64.
8743 (__WCHAR_MAX): Likewise.
8744
edf2933a
L
8745 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
8746 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
8747
57c6cf40
L
8748 [BZ #14183]
8749 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
8750 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
8751
67b6df78 8752 [BZ #14117]
8eb6281e
L
8753 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
8754 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
8755
aac639f4
L
8756 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
8757 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
8758
67b6df78
L
8759 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
8760 Defined to 1 if __x86_64__ isn't defined.
8761 (_STAT_VER_LINUX_OLD): New.
8762 (st_atime): Remove duplicate.
8763 (st_mtime): Likewise.
8764 (st_ctime): Likewise.
8765
1c2cfe81
DM
87662012-05-31 David S. Miller <davem@davemloft.net>
8767
8768 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
8769 entries.
8770
5be8418c
AS
87712012-06-01 Andreas Schwab <schwab@linux-m68k.org>
8772
e7725326
AS
8773 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
8774 gen-libm-test.pl.
8775
5be8418c
AS
8776 [BZ #14132]
8777 * elf/dl-reloc.c: Include <_itoa.h>.
8778 (_dl_reloc_bad_type): Remove use of INTUSE.
8779 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
8780 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
8781 * stdio-common/psiginfo.c (psiginfo): Likewise.
8782 * stdio-common/psignal.c (psignal): Likewise.
8783 * string/strsignal.c (strsignal): Likewise.
8784 * include/signal.h (_sys_siglist): Declare hidden proto.
8785 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
8786 INTVARDEF with libc_hidden_data_def.
8787 * stdio-common/itoa-udigits.c: Likewise.
8788 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
8789 (_itoa_lower_digits_internal): Remove declaration.
8790 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
8791 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
8792 (_sys_sigabbrev_internal): Remove aliases.
8793 (_sys_siglist): Define hidden alias.
8794
507352f1
MT
87952012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
8796
8797 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8798 bits/sysctl.h.
8799
42bbb1c3
L
88002012-05-31 H.J. Lu <hongjiu.lu@intel.com>
8801
8802 [BZ #14117]
6bd784b6
L
8803 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
8804 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
8805
8bca20f0
L
8806 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
8807 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
8808 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
8809 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
8810 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
8811 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
8812
f9e890a9
L
8813 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
8814 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
8815 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
8816
471101a1
L
8817 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
8818 with __addr.
8819 (insw): Likewise.
8820 (insl): Likewise.
8821 (outsb): Likewise.
8822 (outsw): Likewise.
8823 (outsl): Likewise.
8824
6451c862
L
8825 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
8826 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
8827 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
8828
a254b8c9
L
8829 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
8830 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
8831 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
8832 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
8833 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
8834 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
8835
b8dfdd92
L
8836 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
8837 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
8838
578cd270
L
8839 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
8840 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
8841
de662f5f
L
8842 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
8843 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
8844 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
8845
25653439
L
8846 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
8847 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
8848 to ...
8849 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
8850
6bad24a0
L
8851 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
8852 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
8853 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
8854
42bbb1c3
L
8855 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
8856 for x86-64.
8857 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
8858
2d10d547
JM
88592012-05-31 Joseph Myers <joseph@codesourcery.com>
8860
8861 * math/math.h (M_El): Use two more decimal places.
8862 (M_LOG2El): Likewise.
8863 (M_LOG10El): Likewise.
8864 (M_LN2l): Likewise.
8865 (M_LN10l): Likewise.
8866 (M_PIl): Likewise.
8867 (M_PI_2l): Likewise.
8868 (M_PI_4l): Likewise.
8869 (M_1_PIl): Likewise.
8870 (M_2_PIl): Likewise.
8871 (M_2_SQRTPIl): Likewise.
8872 (M_SQRT2l): Likewise.
8873 (M_SQRT1_2l): Likewise.
8874
f230c29b
DM
88752012-05-31 David S. Miller <davem@davemloft.net>
8876
8877 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
8878 values between float registers.
8879 * sysdeps/sparc/sparc64/memset.S: Likewise.
8880 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
8881
fed806c3
MF
88822012-05-31 Mike Frysinger <vapier@gentoo.org>
8883
8884 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
8885 -D_FORTIFY_SOURCE=1.
8886 (CPPFLAGS-tst-longjmp_chk.c): Define.
8887 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
8888 (CPPFLAGS-tst-longjmp_chk2.c): Define.
8889 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
8890 CFLAGS-tst-wchar-h.c.
8891
30917259
MP
88922012-05-31 Marek Polacek <polacek@redhat.com>
8893
8894 [BZ #14132]
8895 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
8896 __endmntent_internal): Remove declaration.
8897 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
8898 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
8899 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
8900
1c58d5dc
DM
89012012-05-30 David S. Miller <davem@davemloft.net>
8902
8903 * sysdeps/sparc/sparc32/soft-fp/q_util.c
8904 (___Q_simulate_exceptions): Use real FP ops rather than writing
8905 into the %fsr.
8906 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
8907 Likewise.
8908
7dc00e0d
L
89092012-05-30 H.J. Lu <hongjiu.lu@intel.com>
8910
8911 [BZ #14117]
0bd53985
L
8912 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
8913 * sysdeps/x86/bits/xtitypes.h: This.
8914
3a257e66
L
8915 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
8916 * sysdeps/x86/bits/wordsize.h: This.
8917
62f62904
L
8918 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
8919 * sysdeps/x86/bits/huge_vall.h: This.
8920
404fe9d9
L
8921 * sysdeps/i386/bits/select.h: Removed.
8922 * sysdeps/x86_64/bits/select.h: Renamed to ...
8923 * sysdeps/x86/bits/select.h: This.
8924
d48d0446
L
8925 * sysdeps/i386/bits/setjmp.h: Removed.
8926 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
8927 * sysdeps/x86/bits/setjmp.h: This.
8928
7dc00e0d
L
8929 * sysdeps/i386/bits/mathdef.h: Removed.
8930 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
8931 * sysdeps/x86/bits/mathdef.h: This.
8932
03277f8f
AS
89332012-05-30 Andreas Schwab <schwab@linux-m68k.org>
8934
8935 [BZ #14132]
8936 * include/sys/socket.h (__connect_internal)
8937 (__libc_sa_len_internal): Remove declaration.
8938 (__connect, __libc_sa_len): Declare hidden_proto.
8939 (SA_LEN): Remove use of INTUSE.
8940 * socket/connect.c: Add libc_hidden_def.
8941 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
8942 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
8943 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
8944 alias.
8945 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
8946 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
8947 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
8948 of adding _internal alias.
8949
13764867
L
89502012-05-30 H.J. Lu <hongjiu.lu@intel.com>
8951
8952 [BZ #14117]
6bd97696
L
8953 * sysdeps/i386/bits/link.h: Removed.
8954 * sysdeps/i386/bits/linkmap.h: Likewise.
8955 * sysdeps/x86_64/bits/link.h: Renamed to ...
8956 * sysdeps/x86/bits/link.h: This.
8957 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
8958 * sysdeps/x86/bits/linkmap.h: This.
8959
f726f0bb
L
8960 * sysdeps/i386/bits/endian.h: Removed.
8961 * sysdeps/x86_64/bits/endian.h: Renamed to ...
8962 * sysdeps/x86/bits/endian.h: This.
8963
13764867
L
8964 * sysdeps/i386/bits/byteswap.h: Removed.
8965 * sysdeps/i386/bits/byteswap-16.h: Likewise.
8966 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
8967 * sysdeps/x86/bits/byteswap.h: This.
8968 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
8969 * sysdeps/x86/bits/byteswap-16.h: This.
8970 * sysdeps/i386/Implies: Add x86.
8971 * sysdeps/x86_64/Implies: Likewise.
8972
ae251b0b
DM
89732012-05-30 David S. Miller <davem@davemloft.net>
8974
8975 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
8976 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
8977 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
8978 (FP_TRAPPING_EXCEPTIONS): Define.
8979 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
8980 (FP_TRAPPING_EXCEPTIONS): Define.
8981 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
8982 subnormals only when inexact has been signalled or underflow
8983 exceptions are enabled.
8984 (_FP_PACK_CANONICAL): Likewise.
8985
d5c90867
L
89862012-05-30 H.J. Lu <hongjiu.lu@intel.com>
8987
8988 [BZ #14183]
8989 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
8990 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
8991
63f1549e
RH
89922012-05-30 Richard Henderson <rth@twiddle.net>
8993
8d8f2279
RH
8994 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
8995 with #ifndef NOT_IN_libc.
8996
63f1549e
RH
8997 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
8998 marked to avoid plt entry.
8999
0ab0291b
L
90002012-05-30 H.J. Lu <hongjiu.lu@intel.com>
9001
9002 [BZ #14112]
9003 * Makeconfig (default-abi): New macro.
9004 (abi-includes): Likewise.
9005 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
9006 $(abi-$(default-abi)-lib-soname) for soname if defined.
9007 ($(common-objpfx)gnu/lib-names.stmp): Generate from
9008 abi-variants.
9009 * Makefile (installed-stubs): Likewise.
9010 * include/stubs-biarch.h: Removed.
9011 * scripts/lib-names.awk: Only handle one library at a time.
9012 * scripts/soversions.awk: Remove WORDSIZE support.
9013 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
9014 entries.
9015 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
9016 Removed.
9017 (syscall-list-default-condition): Likewise.
9018 (syscall-list-default-condition): Likewise.
9019 (syscall-list-includes): Likewise.
9020 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
9021 syscall-list-* with abi-*. Handle undefined abi-variants.
9022 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
9023 * sysdeps/unix/sysv/linux/i386/Implies: New file.
9024 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
9025 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
9026 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
9027 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
9028 Removed.
9029 (syscall-list-32-options): Likewise.
9030 (syscall-list-32-condition): Likewise.
9031 (syscall-list-64-options): Likewise.
9032 (syscall-list-64-condition): Likewise.
9033 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
9034 macro.
9035 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
9036 Renamed to ...
9037 (abi-*): This.
9038 (abi-64-ld-soname): New macro.
9039 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
9040 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
9041 Renamed to ...
9042 (abi-*): This.
9043 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
9044 * sysdeps/x86_64/x32/shlib-versions: Likewise.
9045
4da0431d
JM
90462012-05-30 Joseph Myers <joseph@codesourcery.com>
9047
3a85279c
JM
9048 * sysdeps/unix/sysv/linux/kernel-features.h
9049 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
9050 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
9051 include <kernel-features.h>.
9052 [!__NR_ftruncate64]: Remove conditional code.
9053 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9054 [__NR_ftruncate64]: Make code unconditional.
9055 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9056 * sysdeps/unix/sysv/linux/truncate64.c: Do not
9057 include <kernel-features.h>.
9058 [!__NR_ftruncate64]: Remove conditional code.
9059 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9060 [__NR_ftruncate64]: Make code unconditional.
9061 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9062 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
9063 include <kernel-features.h>.
9064 [!__NR_ftruncate64]: Remove conditional code.
9065 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9066 [__NR_ftruncate64]: Make code unconditional.
9067 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9068 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
9069 include <kernel-features.h>.
9070 [!__NR_ftruncate64]: Remove conditional code.
9071 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9072 [__NR_ftruncate64]: Make code unconditional.
9073 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9074
4da0431d
JM
9075 * configure.in (libc_cv_fpie): Weaken to a compile test using
9076 LIBC_TRY_CC_OPTION.
9077 * configure: Regenerated.
9078
11ef492c
AK
90792012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9080
9081 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
9082 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
9083 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
9084 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
9085 Refreshed.
9086 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
9087 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
9088 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
9089 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
9090 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
9091 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
9092 Refreshed.
9093
d66ef399
DM
90942012-05-27 David S. Miller <davem@davemloft.net>
9095
9096 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
9097 (___Q_zero): New.
9098 (__Q_simulate_exceptions): Return void. Change to simulate
9099 exceptions by writing into the %fsr.
9100 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
9101 (__Qp_handle_exceptions): Likewise.
9102 (numbers): Delete.
9103 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
9104 __Qp_handle_exceptions.
9105 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
9106 __Qp_handle_exceptions.
9107 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
9108 as unused and give dummy FP_RND_NEAREST initializer.
9109 (FP_INHIBIT_RESULTS): Define.
9110 (___Q_simulate_exceptions): Update declaration.
9111 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
9112 formatting.
9113 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
9114 as unused and give dummy FP_RND_NEAREST initializer.
9115 (__Qp_handle_exceptions): Update declaration.
9116 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
9117 formatting.
9118
04fb54b5
TS
91192012-05-27 Thomas Schwinge <thomas@codesourcery.com>
9120
9121 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
9122 the temporary FPU control word.
9123 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
9124 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
9125 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
9126 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
9127 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
9128 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
9129 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
9130 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
9131 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
9132 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
9133 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
9134
3f99608f
KK
91352012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9136
9137 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
9138 fields.
9139
65a4de4e
CLT
91402012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
9141
9142 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
9143 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
9144 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
9145 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
9146 Likewise.
9147 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
9148 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
9149 Likewise.
9150
15749d40
UD
91512012-05-27 Ulrich Drepper <drepper@gmail.com>
9152
9153 * po/h.po: Update from translation team.
9154
25dbcb27
AS
91552012-05-26 Andreas Schwab <schwab@linux-m68k.org>
9156
3d3f8e55
AS
9157 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
9158
25dbcb27
AS
9159 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
9160 handling of denormals.
9161 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
9162 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
9163 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
9164 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
9165 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9166 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
9167 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
9168 Likewise.
9169
7ad47a80 91702012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
9171
9172 [BZ #14152]
9173 * math/libm-test.inc (fma_test): Don't always expect underflow
9174 exception.
9175
9c6ea9fa
SP
91762012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9177
9178 [BZ #12416]
9179 * elf/tst-execstack.c: Include stackinfo.h.
9180 (do_test): Adjust test case to ensure that pthread_getattr_np
9181 behaviour remains the same after marking stack executable.
9182
a8239222
JM
91832012-05-25 Joseph Myers <joseph@codesourcery.com>
9184
9185 * sysdeps/unix/sysv/linux/kernel-features.h
9186 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
9187 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
9188 kernel-features.h.
9189 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
9190 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
9191 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
9192 kernel-features.h.
9193 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
9194 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
9195
918b5606
L
91962012-05-25 H.J. Lu <hongjiu.lu@intel.com>
9197
9198 * configure.in: Define the default includes to being none.
9199 * configure: Regenerated.
9200
3a097cc7
RM
92012012-05-25 Roland McGrath <roland@hack.frob.com>
9202
8422c9a5
RM
9203 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
9204 * sysdeps/x86_64/setjmp.S: Likewise.
9205 * sysdeps/i386/bsd-setjmp.S: Likewise.
9206 * sysdeps/i386/bsd-_setjmp.S: Likewise.
9207 * sysdeps/i386/setjmp.S: Likewise.
9208 * sysdeps/i386/__longjmp.S: Likewise.
9209 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
9210 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
9211
3a097cc7
RM
9212 * include/stap-probe.h: New file.
9213 * configure.in: Handle --enable-systemtap.
9214 * configure: Regenerated.
9215 * config.h.in (USE_STAP_PROBE): New #undef.
9216 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
9217 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
9218 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
9219
21708942
JM
92202012-05-25 Joseph Myers <joseph@codesourcery.com>
9221
9222 [BZ #13717]
9223 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
9224 to 2.4.0 where earlier.
9225 * sysdeps/unix/sysv/linux/configure: Regenerated.
9226 * sysdeps/unix/sysv/linux/i386/chown.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/fchown.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/fchownat.c (fchownat)
9235 [__ASSUME_32BITUIDS]: Make code unconditional.
9236 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
9237 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
9238 <kernel-features.h>.
9239 [__ASSUME_32BITUIDS]: Make code unconditional.
9240 [!__ASSUME_32BITUIDS]: Remove conditional code.
9241 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
9242 <kernel-features.h>.
9243 [__ASSUME_32BITUIDS]: Make code unconditional.
9244 [!__ASSUME_32BITUIDS]: Remove conditional code.
9245 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
9246 <kernel-features.h>.
9247 [__ASSUME_32BITUIDS]: Make code unconditional.
9248 [!__ASSUME_32BITUIDS]: Remove conditional code.
9249 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
9250 <kernel-features.h>.
9251 [__ASSUME_32BITUIDS]: Make code unconditional.
9252 [!__ASSUME_32BITUIDS]: Remove conditional code.
9253 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
9254 <kernel-features.h>.
9255 [__ASSUME_32BITUIDS]: Make code unconditional.
9256 [!__ASSUME_32BITUIDS]: Remove conditional code.
9257 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
9258 <kernel-features.h>.
9259 [__ASSUME_32BITUIDS]: Make code unconditional.
9260 [!__ASSUME_32BITUIDS]: Remove conditional code.
9261 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
9262 <kernel-features.h>.
9263 [__ASSUME_32BITUIDS]: Make code unconditional.
9264 [!__ASSUME_32BITUIDS]: Remove conditional code.
9265 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
9266 <kernel-features.h>.
9267 [__ASSUME_32BITUIDS]: Make code unconditional.
9268 [!__ASSUME_32BITUIDS]: Remove conditional code.
9269 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
9270 <kernel-features.h>.
9271 [__ASSUME_32BITUIDS]: Make code unconditional.
9272 [!__ASSUME_32BITUIDS]: Remove conditional code.
9273 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
9274 <kernel-features.h>.
9275 [__ASSUME_32BITUIDS]: Make code unconditional.
9276 [!__ASSUME_32BITUIDS]: Remove conditional code.
9277 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
9278 <kernel-features.h>.
9279 [__NR_setresgid] (__setresgid): Do not declare.
9280 [__ASSUME_32BITUIDS]: Make code unconditional.
9281 [!__ASSUME_32BITUIDS]: Remove conditional code.
9282 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
9283 <kernel-features.h>.
9284 [__NR_setresuid] (__setresuid): Do not declare.
9285 [__ASSUME_32BITUIDS]: Make code unconditional.
9286 [!__ASSUME_32BITUIDS]: Remove conditional code.
9287 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
9288 <kernel-features.h>.
9289 [__ASSUME_32BITUIDS]: Make code unconditional.
9290 [!__ASSUME_32BITUIDS]: Remove conditional code.
9291 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
9292 <kernel-features.h>.
9293 [__ASSUME_32BITUIDS]: Make code unconditional.
9294 [!__ASSUME_32BITUIDS]: Remove conditional code.
9295 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
9296 <kernel-features.h>.
9297 [__ASSUME_32BITUIDS]: Make code unconditional.
9298 [!__ASSUME_32BITUIDS]: Remove conditional code.
9299 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
9300 <kernel-features.h>.
9301 [__ASSUME_32BITUIDS]: Make code unconditional.
9302 [!__ASSUME_32BITUIDS]: Remove conditional code.
9303 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
9304 <kernel-features.h>.
9305 [__ASSUME_32BITUIDS]: Make code unconditional.
9306 [!__ASSUME_32BITUIDS]: Remove conditional code.
9307 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
9308 <kernel-features.h>.
9309 [__ASSUME_32BITUIDS]: Make code unconditional.
9310 [!__ASSUME_32BITUIDS]: Remove conditional code.
9311 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
9312 <kernel-features.h>.
9313 [__ASSUME_32BITUIDS]: Make code unconditional.
9314 [!__ASSUME_32BITUIDS]: Remove conditional code.
9315 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
9316 <kernel-features.h>.
9317 [__ASSUME_32BITUIDS]: Make code unconditional.
9318 [!__ASSUME_32BITUIDS]: Remove conditional code.
9319 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
9320 <kernel-features.h>.
9321 [__ASSUME_32BITUIDS]: Make code unconditional.
9322 [!__ASSUME_32BITUIDS]: Remove conditional code.
9323 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
9324 <kernel-features.h>.
9325 [__ASSUME_32BITUIDS]: Make code unconditional.
9326 [!__ASSUME_32BITUIDS]: Remove conditional code.
9327 * sysdeps/unix/sysv/linux/kernel-features.h
9328 (__ASSUME_SETRESUID_SYSCALL): Remove.
9329 (__ASSUME_SETRESGID_SYSCALL): Likewise.
9330 (__ASSUME_32BITUIDS): Likewise.
9331 (__ASSUME_LDT_WORKS): Likewise.
9332 (__ASSUME_O_DIRECTORY): Likewise.
9333 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
9334 architecture but not kernel version.
9335 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
9336 (__ASSUME_MMAP2_SYSCALL): Likewise.
9337 (__ASSUME_STAT64_SYSCALL): Likewise.
9338 (__ASSUME_IPC64): Likewise.
9339 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
9340 <kernel-features.h>.
9341 [__ASSUME_32BITUIDS]: Make code unconditional.
9342 [!__ASSUME_32BITUIDS]: Remove conditional code.
9343 * sysdeps/unix/sysv/linux/opendir.c: Do not include
9344 <kernel-features.h>.
9345 [__ASSUME_O_DIRECTORY]: Make code unconditional.
9346 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
9347 132096]: Remove conditional code.
9348 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
9349 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
9350 <kernel-features.h>.
9351 [__ASSUME_32BITUIDS]: Make code unconditional.
9352 [!__ASSUME_32BITUIDS]: Remove conditional code.
9353 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
9354 <kernel-features.h>.
9355 [__ASSUME_32BITUIDS]: Make code unconditional.
9356 [!__ASSUME_32BITUIDS]: Remove conditional code.
9357 * sysdeps/unix/sysv/linux/setegid.c: Do not include
9358 <kernel-features.h>.
9359 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
9360 unconditional.
9361 (__setresgid): Do not declare.
9362 [__ASSUME_32BITUIDS]: Make code unconditional.
9363 [!__ASSUME_32BITUIDS]: Remove conditional code.
9364 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
9365 <kernel-features.h>.
9366 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
9367 unconditional.
9368 (__setresuid): Do not declare.
9369 [__ASSUME_32BITUIDS]: Make code unconditional.
9370 [!__ASSUME_32BITUIDS]: Remove conditional code.
9371 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
9372 <kernel-features.h>.
9373 [__ASSUME_32BITUIDS]: Make code unconditional.
9374 [!__ASSUME_32BITUIDS]: Remove conditional code.
9375 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
9376 <kernel-features.h>.
9377 [__ASSUME_32BITUIDS]: Make code unconditional.
9378 [!__ASSUME_32BITUIDS]: Remove conditional code.
9379
a386f1cc
RH
93802012-05-25 Richard Henderson <rth@twiddle.net>
9381
9382 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
9383 dl_hwcap to ifunc resolver.
9384 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
9385 elf_ifunc_invoke.
9386 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
9387 dl_hwcap to ifunc resolver.
9388 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
9389
b6550497
JM
93902012-05-24 Joseph Myers <joseph@codesourcery.com>
9391
9392 [BZ #14153]
9393 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
9394 for |x| <= 2**-26, not 2**-57.
9395 * math/libm-test.inc (acos_test): Do not allow spurious underflow
9396 exception.
9397
b0bc23a1
JL
93982012-05-24 Jeff Law <law@redhat.com>
9399
9400 * stdio-common/Makefile (tests): Add bug25.
9401 * stdio-common/bug25.c: New test.
9402
347c92e9
L
94032012-05-24 H.J. Lu <hongjiu.lu@intel.com>
9404
9405 [BZ #13576]
9406 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
9407 multiple of MALLOC_ALIGNMENT in size.
9408 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
9409
6bcc8b3f
JM
94102012-05-24 Joseph Myers <joseph@codesourcery.com>
9411
9412 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
9413 Require >= 256.
9414 (FILENAME_MAX): Use macro-int-constant.
9415 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
9416 (_IOFBF): Use macro-int-constant.
9417 (_IOLBF): Likewise.
9418 (_IONBF): Likewise.
9419 (SEEK_CUR): Likewise.
9420 (SEEK_END): Likewise.
9421 (SEEK_SET): Likewise.
9422 (TMP_MAX): Likewise.
9423 (EOF): Use macro-int-constant. Require < 0.
9424 (NULL): Use macro-constant. Require == 0.
9425 (stdin): Require type to be FILE *.
9426 (stdout): Likewise.
9427 (stderr): Likewise.
9428 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
9429 macro-int-constant.
9430 (EXIT_SUCCESS): Likewise.
9431 (NULL): Use macro-constant. Require == 0.
9432 (RAND_MAX): Use macro-int-constant.
9433 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
9434 [C99-based standards] (strtof): Require function.
9435 [C99-based standards] (strtold): Likewise.
9436 [C99-based standards] (strtoll): Likewise.
9437 [C99-based standards] (strtoull): Likewise.
9438 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
9439 [ISO || ISO99 || ISO11] (limits.h): Likewise.
9440 [ISO || ISO99 || ISO11] (math.h): Likewise.
9441 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
9442 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
9443 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9444
d18ea0c5
AS
94452012-05-24 Andreas Schwab <schwab@linux-m68k.org>
9446
9447 [BZ #14132]
56d25bb8
AS
9448 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
9449 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
9450 * intl/dgettext.c (DCGETTEXT): Likewise.
9451 * intl/gettext.c (DCGETTEXT): Likewise.
9452 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
9453 * posix/regex_internal.h (gettext): Likewise.
9454 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
9455 Remove declaration.
9456 * include/argz.h (__argz_count_internal)
9457 (__argz_stringify_internal): Remove declaration.
9458 (__argz_count, __argz_stringify): Declare hidden proto.
9459 * intl/dcgettext.c: Remove use of INTDEF.
9460 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
9461 * string/argz-stringify.c: Likewise.
9462 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
9463 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
9464 Declare hidden proto.
d18ea0c5
AS
9465 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
9466 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
9467 Declare hidden proto.
9468 * include/stdio.h (__asprintf_internal): Don't declare.
9469 (__asprintf): Don't define as macro. Declare hidden proto.
9470 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
9471 (__fsetlocking): Declare hidden proto.
9472 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
9473 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
9474 hidden proto.
9475 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
9476 (_IO_setlinebuf): Remove use of INTUSE.
9477 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
9478 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
9479 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
9480 Remove declaration.
9481 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
9482 (_IO_do_flush): Remove use of INTUSE.
9483 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
9484 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
9485 (_IO_adjust_column, _IO_least_wmarker)
9486 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
9487 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
9488 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
9489 (_IO_default_doallocate, _IO_wdefault_doallocate)
9490 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
9491 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
9492 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
9493 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
9494 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
9495 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
9496 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
9497 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
9498 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
9499 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
9500 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
9501 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
9502 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
9503 proto.
9504 (_IO_flush_all_internal, _IO_adjust_column_internal)
9505 (_IO_default_uflow_internal, _IO_default_finish_internal)
9506 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
9507 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
9508 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
9509 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
9510 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
9511 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
9512 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
9513 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
9514 (_IO_file_close_internal, _IO_file_close_it_internal)
9515 (_IO_file_underflow_internal, _IO_file_overflow_internal)
9516 (_IO_file_init_internal, _IO_file_attach_internal)
9517 (_IO_file_fopen_internal, _IO_file_read_internal)
9518 (_IO_file_sync_internal, _IO_file_seek_internal)
9519 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
9520 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
9521 (_IO_str_underflow_internal, _IO_str_overflow_internal)
9522 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
9523 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
9524 (_IO_list_all_internal, _IO_link_in_internal)
9525 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
9526 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
9527 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
9528 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
9529 (_IO_do_write_internal, _IO_padn_internal)
9530 (_IO_getline_info_internal, _IO_getline_internal)
9531 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
9532 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
9533 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
9534 (_IO_vfscanf_internal, _IO_vfprintf_internal)
9535 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
9536 (_IO_init_internal, _IO_un_link_internal): Don't declare.
9537 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
9538 with libc_hidden_ver, remove use of INTUSE.
9539 * libio/genops.c: Likewise.
9540 * libio/freopen.c: Likewise.
9541 * libio/freopen64.c: Likewise.
9542 * libio/iofclose.c: Likewise.
9543 * libio/iofdopen.c: Likewise.
9544 * libio/iofflush.c: Likewise.
9545 * libio/iofflush_u.c: Likewise.
9546 * libio/iofgets.c: Likewise.
9547 * libio/iofgets_u.c: Likewise.
9548 * libio/iofopen.c: Likewise.
9549 * libio/iofopncook.c: Likewise.
9550 * libio/iofread.c: Likewise.
9551 * libio/iofread_u.c: Likewise.
9552 * libio/ioftell.c: Likewise.
9553 * libio/iofwrite.c: Likewise.
9554 * libio/iogetline.c: Likewise.
9555 * libio/iogets.c: Likewise.
9556 * libio/iogetwline.c: Likewise.
9557 * libio/iopadn.c: Likewise.
9558 * libio/iopopen.c: Likewise.
9559 * libio/ioseekoff.c: Likewise.
9560 * libio/ioseekpos.c: Likewise.
9561 * libio/iosetbuffer.c: Likewise.
9562 * libio/iosetvbuf.c: Likewise.
9563 * libio/ioungetc.c: Likewise.
9564 * libio/ioungetwc.c: Likewise.
9565 * libio/iovdprintf.c: Likewise.
9566 * libio/iovsprintf.c: Likewise.
9567 * libio/iovsscanf.c: Likewise.
9568 * libio/memstream.c: Likewise.
9569 * libio/obprintf.c: Likewise.
9570 * libio/oldfileops.c: Likewise.
9571 * libio/oldiofclose.c: Likewise.
9572 * libio/oldiofdopen.c: Likewise.
9573 * libio/oldiofopen.c: Likewise.
9574 * libio/oldiopopen.c: Likewise.
9575 * libio/oldstdfiles.c: Likewise.
9576 * libio/putc.c: Likewise.
9577 * libio/setbuf.c: Likewise.
9578 * libio/setlinebuf.c: Likewise.
9579 * libio/stdfiles.c: Likewise.
9580 * libio/strops.c: Likewise.
9581 * libio/vasprintf.c: Likewise.
9582 * libio/vscanf.c: Likewise.
9583 * libio/vsnprintf.c: Likewise.
9584 * libio/vswprintf.c: Likewise.
9585 * libio/wfiledoalloc.c: Likewise.
9586 * libio/wfileops.c: Likewise.
9587 * libio/wgenops.c: Likewise.
9588 * libio/wmemstream.c: Likewise.
9589 * libio/wstrops.c: Likewise.
9590 * libio/__fpurge.c: Likewise.
9591 * libio/__fsetlocking.c: Likewise.
9592 * assert/assert.c: Likewise.
9593 * debug/fgets_chk.c: Likewise.
9594 * debug/fgets_u_chk.c: Likewise.
9595 * debug/fread_chk.c: Likewise.
9596 * debug/fread_u_chk.c: Likewise.
9597 * debug/gets_chk.c: Likewise.
9598 * debug/obprintf_chk.c: Likewise.
9599 * debug/vasprintf_chk.c: Likewise.
9600 * debug/vdprintf_chk.c: Likewise.
9601 * debug/vsnprintf_chk.c: Likewise.
9602 * debug/vsprintf_chk.c: Likewise.
9603 * malloc/mtrace.c: Likewise.
9604 * misc/error.c: Likewise.
9605 * misc/syslog.c: Likewise.
9606 * stdio-common/asprintf.c: Likewise.
9607 * stdio-common/fxprintf.c: Likewise.
9608 * stdio-common/getw.c: Likewise.
9609 * stdio-common/isoc99_fscanf.c: Likewise.
9610 * stdio-common/isoc99_scanf.c: Likewise.
9611 * stdio-common/isoc99_vfscanf.c: Likewise.
9612 * stdio-common/isoc99_vscanf.c: Likewise.
9613 * stdio-common/isoc99_vsscanf.c: Likewise.
9614 * stdio-common/printf-prs.c: Likewise.
9615 * stdio-common/printf_fp.c: Likewise.
9616 * stdio-common/printf_fphex.c: Likewise.
9617 * stdio-common/printf_size.c: Likewise.
9618 * stdio-common/putw.c: Likewise.
9619 * stdio-common/scanf.c: Likewise.
9620 * stdio-common/sprintf.c: Likewise.
9621 * stdio-common/tmpfile.c: Likewise.
9622 * stdio-common/vfprintf.c: Likewise.
9623 * stdio-common/vfscanf.c: Likewise.
9624 * stdlib/strfmon_l.c: Likewise.
9625 * sunrpc/openchild.c: Likewise.
9626 * sunrpc/xdr_stdio.c: Likewise.
9627 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
9628 * sysdeps/mach/hurd/tmpfile.c: Likewise.
9629
d6c33fda
RM
96302012-05-24 Roland McGrath <roland@hack.frob.com>
9631
c1487492
RM
9632 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
9633
9634 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
9635 in the third column, to generate for the shared library an IFUNC
9636 that uses _dl_vdso_vsym.
9637 * Makerules (COMPILE.c, compile-stdin.c): New variables.
9638 * Makeconfig (object-suffixes-noshared): New variable.
9639
9640 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
9641 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
9642 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
9643 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
9644
d6c33fda
RM
9645 [BZ #14132]
9646 * include/sys/time.h (__gettimeofday): Remove macro.
9647 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
9648 * time/gettimeofday.c (__gettimeofday): Remove #undef.
9649 Remove INTDEF.
9650 (__gettimeofday): Add libc_hidden_def.
9651 (gettimeofday): Add libc_hidden_weak.
9652 * sysdeps/mach/gettimeofday.c: Likewise.
9653 * sysdeps/posix/gettimeofday.c: Likewise.
9654 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
9655 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
9656 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
9657 (__gettimeofday_internal): Remove strong_alias.
9658 (__gettimeofday): Add libc_hidden_def.
9659 (gettimeofday): Add libc_hidden_weak.
9660 * sysdeps/unix/syscalls.list (gettimeofday):
9661 Remove __gettimeofday_internal alias.
9662
b5a2bbe6
L
96632012-05-24 Daniel Jacobowitz <drow@false.org>
9664 H.J. Lu <hongjiu.lu@intel.com>
9665
9666 [BZ #12495]
9667 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
9668 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
9669 (largebin_index_32_big): New.
9670 (largebin_index): Use it for 16-byte alignment.
9671 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
9672 correction with front_misalign.
9673
cfba4fda
L
96742012-05-24 H.J. Lu <hongjiu.lu@intel.com>
9675
7f907421
L
9676 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
9677 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
9678 Likewise.
9679 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
9680 Likewise.
9681 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
9682 Likewise.
9683 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
9684 Likewise.
9685 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
9686 Likewise.
9687 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
9688 Likewise.
9689 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
9690 Likewise.
9691 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
9692 Likewise.
9693 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
9694 Likewise.
9695 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
9696 Likewise.
9697 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
9698 Likewise.
9699 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
9700 Likewise.
9701
cfba4fda
L
9702 * scripts/data/c++-types-x32-linux-gnu.data: New file.
9703 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
9704
80bad0cc
JM
97052012-05-24 Joseph Myers <joseph@codesourcery.com>
9706
7a25eb06
JM
9707 [BZ #10846]
9708 [BZ #14036]
9709 * math/libm-test.inc (exp_test): Add test from bug 14036.
9710 (pow_test): Add test from bug 10846.
9711
795405f9
JM
9712 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
9713 and other flags.
9714 (special_function): Do not include flags in test name.
9715 (parse_args): Likewise.
9716 * sysdeps/i386/fpu/libm-test-ulps: Update.
9717 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9718 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
9719 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
9720 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9721
80bad0cc
JM
9722 * math/gen-libm-test.pl (%beautify): Add entries for underflow
9723 exceptions.
9724 * math/libm-test.inc ("Philosophy"): Update comment about
9725 exception testing.
9726 (UNDERFLOW_EXCEPTION): New macro.
9727 (UNDERFLOW_EXCEPTION_OK): Likewise.
9728 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
9729 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
9730 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
9731 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
9732 (INVALID_EXCEPTION_OK): Update value.
9733 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
9734 (OVERFLOW_EXCEPTION_OK): Likewise.
9735 (IGNORE_ZERO_INF_SIGN): Likewise.
9736 (test_exceptions): Handle underflow exceptions.
9737 (acos_test): Update for underflow exception expectations.
9738 (cexp_test): Likewise.
9739 (clog_test): Likewise.
9740 (clog10_test): Likewise.
9741 (csqrt_test): Likewise.
9742 (ctan_test): Likewise.
9743 (ctanh_test): Likewise.
9744 (exp_test): Likewise.
9745 (exp10_test): Likewise.
9746 (exp2_test): Likewise.
9747 (expm1_test): Likewise.
9748 (fma_test): Likewise.
9749 (j0_test): Likewise.
9750 (jn_test): Likewise.
9751 (nexttoward_test): Likewise.
9752 (pow_test): Likewise.
9753 (scalbn_test): Likewise.
9754 (scalbln_test): Likewise.
9755 (tan_test): Likewise.
9756 (y1_test): Likewise.
9757 * sysdeps/i386/fpu/libm-test-ulps: Update.
9758 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9759
9e0e3d0b
DM
97602012-05-23 David S. Miller <davem@davemloft.net>
9761
9762 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
9763 (__libc_sigaction): Remove unused local variables.
9764
ccd0a08f
L
97652012-05-23 H.J. Lu <hongjiu.lu@intel.com>
9766
9767 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
9768
62bdf9a6
PE
97692012-05-23 Paul Eggert <eggert@cs.ucla.edu>
9770
f8591f80
PE
9771 mktime: avoid signed integer overflow
9772 * time/mktime.c (__mktime_internal): Do not mishandle the case
9773 where diff == INT_MIN.
9774
94c7d826
PE
9775 mktime: simplify computation of average
9776 * time/mktime.c (ranged_convert): Use new time_t_avg function
9777 instead of rolling our own (probably-slower) code.
9778
ce73d683
PE
9779 mktime: do not assume signed right shift propagates sign bit
9780 * time/mktime.c (isdst_differ): New static function.
9781 (__mktime_internal): No need to normalize tm_isdst now.
9782 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
9783 tm_isdst values.
9784
72a22e59
PE
9785 mktime: merge another wrapv change from gnulib
9786 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
9787 from some compilers.
9788
68605433
PE
9789 mktime: remove incorrect attempt at unusual arithmetics
9790 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
9791 The code didn't really work on such machines anyway.
9792 (TYPE_MINIMUM): Assume two's complement.
9793 (twos_complement_arithmetic): Verify that long_int and time_t
9794 are two's complement (or unsigned, in the latter case).
9795
03cf7fe3
PE
9796 mktime: check signed shifts on long_int and time_t, too
9797 * time/mktime.c (SHR): Check that shifts work as desired
9798 on the types long_int and time_t too, as SHR is used on
9799 such types.
9800
f04dfbc2
PE
9801 mktime: do not assume 'long' is wide enough
9802 * time/mktime.c (verify): Move decl up.
9803 (long_int): New type.
9804 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
9805 to remove assumption in the code that 'long' is wide enough to
9806 store year values. This assumption is not true on x32 and on
9807 some non-glibc platforms.
9808
62bdf9a6
PE
9809 mktime: merge wrapv change from gnulib
9810 * time/mktime.c (WRAPV): New macro.
9811 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
9812 (guess_time_tm, __mktime_internal): Do not assume that signed
9813 integer overflow wraps around; modern compilers generate code
9814 where this assumption is no longer valid.
9815
5e292e4f
L
98162012-05-23 H.J. Lu <hongjiu.lu@intel.com>
9817
9818 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
9819 Replace "jmp L(pseudo_end)" with "ret".
9820 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
9821 Likewise.
9822
8caf8c87
AJ
98232012-05-23 Andreas Jaeger <aj@suse.de>
9824
9825 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
9826 * sysdeps/unix/sysv/linux/poll.c: Remove file.
9827
1a09dc56
AJ
98282012-05-23 Andreas Jaeger <aj@suse.de>
9829 Maximilian Attems <max@stro.at>
9830
9831 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
9832 New macros.
9833
1c87aba0
L
98342012-05-23 H.J. Lu <hongjiu.lu@intel.com>
9835
9836 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
9837 code so that pseudo_end is just ret and the stack pointer is
9838 correct also for static library in error case.
9839
40e45bd5
JM
98402012-05-23 Joseph Myers <joseph@codesourcery.com>
9841
c2670533
JM
9842 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
9843 move to syscalls.list.
9844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
9845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
9846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
9847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
9848
40e45bd5
JM
9849 * manual/install.texi (Running make install): Do not mention Linux
9850 kernel version for which pt_chown is not needed.
9851 (Linux): Do not mention problems with nscd with 2.0 kernels.
9852 * INSTALL: Regenerated.
9853
be08eda5
AJ
98542012-05-23 Andreas Jaeger <aj@suse.de>
9855
9856 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
9857 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
9858 macro.
9859 * sysdeps/unix/sysv/linux/s390/bits/mman.h
9860 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
9861 * sysdeps/unix/sysv/linux/sh/bits/mman.h
9862 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
9863 * sysdeps/unix/sysv/linux/i386/bits/mman.h
9864 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
9865 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
9866 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
9867 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
9868 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
9869 * sysdeps/unix/sysv/linux/bits/in.h
9870 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
9871
a6a056bb
RM
98722012-05-22 Roland McGrath <roland@hack.frob.com>
9873
9874 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
9875 (PREPARE_VERSION): Just use assert instead, it will be elided
9876 under [NDEBUG] anyway.
9877
c9009328
L
98782012-05-22 H.J. Lu <hongjiu.lu@intel.com>
9879
9880 * sysdeps/unix/sysv/linux/Makefile: Include
9881 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 9882 (sysdep_routines): Remove sysctl.
c9009328
L
9883 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
9884 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
9885 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
9886 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
9887 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
9888
73338355
AJ
98892012-05-22 Andreas Jaeger <aj@suse.de>
9890
9891 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
9892 that pseudo_end is just ret and the stack pointer is correct also
9893 for static library in error case.
9894
d44638b0
PP
98952012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
9896
9897 [BZ #14122]
9898 * nss/nsswitch.c (defconfig_entries): New variable.
9899 (__nss_database_lookup): Don't leak defconfig entries.
9900 (nss_parse_service_list): Don't leak on error paths.
9901 (free_database_entries): New function.
9902 (free_defconfig): New function.
9903 (free_mem): Move common code to free_database_entries.
9904
31a39bd8
L
99052012-05-22 H.J. Lu <hongjiu.lu@intel.com>
9906
da0331a8
L
9907 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
9908 Add arch_prctl.
9909 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
9910
31a39bd8
L
9911 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
9912 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
9913 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
9914 New macro.
9915 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
9916 (INTERNAL_SYSCALL_TYPES): Likewise.
9917 (LOAD_ARGS_TYPES_[1-6]): Likewise.
9918 (LOAD_REGS_TYPES_[1-6]): Likewise.
9919 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
9920 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
9921
45470df3
AZ
99222012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9923
9924 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
9925 copysignl for GLIBC_2_0.
9926 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
9927 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
9928 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
9929 logbl for GLIBC_2_0.
9930 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
9931 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
9932
98a61bcb
L
99332012-05-22 H.J. Lu <hongjiu.lu@intel.com>
9934
a4f6e481
L
9935 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
9936 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
9937
f63d5db6
L
9938 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
9939 Use "neg %eax".
9940
98a61bcb
L
9941 * time/mktime.c: Update copyright years.
9942
95770f14
PE
99432012-05-22 Paul Eggert <eggert@cs.ucla.edu>
9944
6226efbd
PE
9945 mktime: merge comment-quoting-style change from gnulib
9946 * time/mktime.c: Quote 'like this' in comments.
9947 The GNU coding standards suggest that we no longer quote `like this',
9948 as "`" and "'" are typically rendered asymmetrically nowadays.
9949 The typical gnulib style is to quote 'like this' when quoting
9950 code, and "like this" when quoting English.
9951
b99e4f78
PE
9952 * time/mktime.c (compile-command): Add "-I.".
9953
643e01e6
PE
9954 mktime: merge mktime-internal.h change from gnulib
9955 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
9956
2554247d
PE
9957 mktime: merge time_r change from gnulib
9958 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
9959
826dd0ab
PE
9960 mktime: merge DEBUG change from gnulib
9961 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
9962 case system <time.h> has a #define.
9963
bd83aabe
PE
9964 mktime: merge <sys/types.h> change from gnulib
9965 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
9966 since <time.t> is now guaranteed to define time_t.
9967
95770f14
PE
9968 mktime: merge HAVE_CONFIG_H change from gnulib
9969 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
9970
5e1a27a9
L
99712012-05-22 H.J. Lu <hongjiu.lu@intel.com>
9972
0e44a77e
L
9973 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
9974 Use "neg %eax".
9975
5e1a27a9
L
9976 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
9977 __rlim_t cast.
9978 (struct rusage): Use anonymous union to pad each field to
9979 __syscall_slong_t.
9980
46259bec
DM
99812012-05-21 David S. Miller <davem@davemloft.net>
9982
9983 * Makefules (o-iterator): Remove .s cases.
9984 (compile-command.s): Delete.
9985 (COMPILE.s): Delete.
9986 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
9987
59f0c22e
JM
99882012-05-21 Joseph Myers <joseph@codesourcery.com>
9989
9990 * configure.in (libc_cv_predef_stack_protector): Only consider
9991 "foobar" and "__stack_chk_fail" lines in libc_undefs.
9992 * configure: Regenerated.
9993
20c07380
L
99942012-05-21 H.J. Lu <hongjiu.lu@intel.com>
9995
bbb3154b
L
9996 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
9997 New macro. Use R*LP on int and pointer.
9998 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
9999 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
10000 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
10001 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
10002
20c07380
L
10003 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
10004 [__WORDSIZE_TIME64_COMPAT32] instead of
10005 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
10006 (struct utmp): Likewise.
10007 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
10008 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
10009 Renamed to ...
10010 (__WORDSIZE_TIME64_COMPAT32): This.
10011 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
10012 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
10013 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
10014 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
10015 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
10016 (__WORDSIZE_TIME64_COMPAT32): New macro.
10017
d8d1017e
AJ
100182012-05-21 Andreas Jaeger <aj@suse.de>
10019
10020 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
10021 only if [SHARED]. Add prototype for __wcschr_ia32.
10022
6c7fb145
RM
100232012-05-21 Roland McGrath <roland@hack.frob.com>
10024
10025 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
10026 of %rbp unmolested in the jmp_buf while mangling the low bits.
10027 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
10028 unmolested high bits of %rbp while demangling the low bits.
10029 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
10030
66274218
AJ
100312012-05-21 Andreas Jaeger <aj@suse.de>
10032
07c58f8f
AJ
10033 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
10034 * sunrpc/svc_simple.c: Use it for registerrpc.
10035 * sunrpc/xcrypt.c: Use it for passwd2des.
10036
66274218
AJ
10037 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
10038
61f65140
L
100392012-05-21 H.J. Lu <hongjiu.lu@intel.com>
10040
10041 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
10042 Don't define if [__SYSCALL_WORDSIZE != 32].
10043 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
10044 New macro.
10045
5fefb436
AJ
100462012-05-21 Bruno Haible <bruno@clisp.org>
10047 Andreas Jaeger <aj@suse.de>
10048
10049 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
10050 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
10051 inptr and inend for must_buffer_ch.
10052 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
10053 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
10054 * stdio-common/Makefile (tests): Remove bug15.
10055 (bug15-ENV): Remove macro.
10056 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
10057 anymore.
10058
d8e272ab
AJ
100592012-05-19 Andreas Jaeger <aj@suse.de>
10060 Roland McGrath <roland@hack.frob.com>
10061
10062 * manual/contrib.texi: Completely rewritten. It contains now an
10063 alphabetical list of contributors and their contributions.
10064
4a56a162
RH
100652012-05-21 Richard Henderson <rth@twiddle.net>
10066
10067 * misc/getauxval.c (__getauxval): Use unsigned long int.
10068 * misc/sys/auxv.h: Include <sys/cdefs.h>.
10069 (getauxval): Use unsigned long int.
10070
d024d23c
L
100712012-05-21 H.J. Lu <hongjiu.lu@intel.com>
10072
10073 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
10074
cbc00a03
RM
100752012-05-21 Roland McGrath <roland@hack.frob.com>
10076
10077 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
10078 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
10079 __alignof__ (long double).
10080
478143fa
AZ
100812012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10082
10083 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10084
c7683a6d
RH
100852012-05-20 Richard Henderson <rth@twiddle.net>
10086
10087 * misc/getauxval.c: New file.
10088 * misc/sys/auxv.h: New file.
10089 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
10090 (routines): Add getauxval.
10091 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
10092 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
10093 * elf/dl-sysdep.c (_dl_auxv): Remove.
10094 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
10095 * elf/dl-support.c (_dl_auxv): New variable.
10096 (_dl_aux_init): Initialize it.
10097 * manual/startup.texi (Auxiliary Vector): New node.
10098 * sysdeps/generic/bits/hwcap.h: New file.
10099 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
10100 * sysdeps/powerpc/sysdep.h: ... here. Include it.
10101 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
10102 * sysdeps/sparc/sysdep.h: ... here. Include it.
10103 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
10104 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
10105 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10106 Update.
c7683a6d
RH
10107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
10108 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
10109 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
10110 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
10111 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
10112 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
10113 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
10114 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
10115
a6f1845d
AZ
101162012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10117
10118 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10119
cbcbe830
DM
101202012-05-19 David S. Miller <davem@davemloft.net>
10121
10122 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10123
e0b16cc2
JM
101242012-05-19 Joseph Myers <joseph@codesourcery.com>
10125
10126 [BZ #14123]
10127 * math/s_ccosh.c: Include <float.h>
10128 (__ccosh): Avoid internal overflow calculating sinh and cosh
10129 values before multiplying by sin and cos values.
10130 * math/s_ccoshf.c: Likewise.
10131 * math/s_ccoshl.c: Likewise.
10132 * math/s_csin.c: Likewise.
10133 * math/s_csinf.c: Likewise.
10134 * math/s_csinl.c: Likewise.
10135 * math/s_csinh.c: Likewise.
10136 * math/s_csinhf.c: Likewise.
10137 * math/s_csinhl.c: Likewise.
10138 * math/libm-test.inc (ccos_test): Add more tests.
10139 (ccosh_test): Likewise.
10140 (csin_test): Likewise.
10141 (csinh_test): Likewise.
10142 * sysdeps/i386/fpu/libm-test-ulps: Update.
10143 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10144
6ad13e08
L
101452012-05-19 H.J. Lu <hongjiu.lu@intel.com>
10146
f66f0ce8
L
10147 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
10148 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
10149
6ad13e08
L
10150 * sysdeps/x86_64/x32/_itoa.h: Add comment.
10151
b1d072a7
JM
101522012-05-19 Joseph Myers <joseph@codesourcery.com>
10153
10154 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
10155 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
10156 * sysdeps/powerpc/soft-fp/Versions: Likewise.
10157 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
10158 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
10159 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
10160 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
10161 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
10162 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
10163 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
10164 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
10165 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
10166 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
10167 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
10168 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
10169 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
10170 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
10171 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
10172 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
10173 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
10174 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
10175 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
10176 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
10177 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
10178 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
10179 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
10180 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
10181 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
10182 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
10183 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
10184 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
10185
9eae47cb
AJ
101862012-05-18 Andreas Jaeger <aj@suse.de>
10187
10188 * csu/.gitignore: Delete.
10189
bb07f69f
L
101902012-05-18 H.J. Lu <hongjiu.lu@intel.com>
10191
10192 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
10193 (timex): Use __syscall_slong_t.
10194
e6bdb741
AJ
101952012-05-18 Andreas Jaeger <aj@suse.de>
10196 Carlos O'Donell <carlos_odonell@mentor.com>
10197
10198 * manual/install.texi (Configuring and compiling): Update
10199 description about files modified in the source directory.
d6c33fda 10200 * INSTALL: Regenerated.
e6bdb741 10201
1b74487e
L
102022012-05-18 H.J. Lu <hongjiu.lu@intel.com>
10203
10204 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
10205 value. Use "or" to set return value to -1.
10206 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
10207 negate return value.
10208
a88b64b9
TMQMF
102092012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10210
10211 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
10212 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
10213 failure if the compiler has Graphite support disabled.
10214 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
10215 Likewise.
10216 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
10217 CFLAGS-memmove.c): Likewise.
10218 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
10219 Likewise.
10220
3707636e
L
102212012-05-18 H.J. Lu <hongjiu.lu@intel.com>
10222
610b8622
L
10223 * sysdeps/x86_64/x32/_itoa.h: New file.
10224
7cd195df
L
10225 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
10226 getdents system call only if kernel and user dirents have the
10227 same d_ino and d_off.
10228
94b07d20
L
10229 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
10230 LLONG_MAX != LONG_MAX.
10231 (_itoa_word): Use _ITOA_WORD_TYPE on value.
10232 (_fitoa_word): Likewise.
10233
18298070
L
10234 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
10235 years.
10236 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
10237 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
10238 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
10239
553c7ea4
L
10240 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
10241 include <bits/wordsize.h>. Check __x86_64__ instead of
10242 __WORDSIZE.
10243 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
10244 if __x86_64__ is defined. Use anonymous union on fpstate.
10245
3707636e
L
10246 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
10247 anonymous union.
10248
b53ef01a
AS
102492012-05-18 Andreas Schwab <schwab@linux-m68k.org>
10250
37fb1dc0
AS
10251 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
10252 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
10253 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
10254 Refer to _rtld_local_ro instead of _rtld_global_ro.
10255 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
10256 Likewise.
10257 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
10258 Likewise.
10259 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
10260 Likewise.
10261 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
10262 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
10263 of _rtld_global, and rtld_progname instead of _dl_argv[0].
10264
b53ef01a
AS
10265 * sysdeps/powerpc/powerpc32/dl-machine.c
10266 (__elf_machine_runtime_setup) [PROF]: Don't reference
10267 _dl_prof_resolve.
10268
7a185db2
AJ
102692012-05-18 Andreas Jaeger <aj@suse.de>
10270
10271 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
10272 function only available for GCCs before 3.4 since GCC 3.4
10273 introduced a builtin.
10274 (lrint): Likewise.
10275 (llrintf): Likewise.
10276 (llrint): Likewise.
10277 (fmaxf): Likewise.
10278 (fmax): Likewise.
10279 (fminf): Likewise.
10280 (fmin): Likewise.
10281 (rint): Likewise.
10282 (rintf): Likewise.
10283 (nearbyint): Likewise.
10284 (nearbyintf): Likewise.
10285 (ceil): Likewise.
10286 (ceilf): Likewise.
10287 (floor): Likewise.
10288 (floorf): Likewise.
10289
3e5aef87
L
102902012-05-17 H.J. Lu <hongjiu.lu@intel.com>
10291
428bd707
L
10292 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
10293 on both fields and cast pointer to __syscall_ulong_t.
10294
3e5aef87
L
10295 * bits/types.h (__fsword_t): New type.
10296 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
10297 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
10298 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
10299 (__FSWORD_T_TYPE): Likewise.
10300 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
10301 (__FSWORD_T_TYPE): Likewise.
10302 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10303 (__FSWORD_T_TYPE): Likewise.
10304 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
10305 (__FSWORD_T_TYPE): Likewise.
10306 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
10307 __SWORD_TYPE with __fsword_t.
10308 (statfs64): Likewise.
10309
1ba7c3dc
DM
103102012-05-17 David S. Miller <davem@davemloft.net>
10311
10312 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
10313
59910343
AJ
103142012-05-17 Andreas Jaeger <aj@suse.de>
10315
10316 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
10317 warning.
10318
2e4c1e9e
L
103192012-05-17 H.J. Lu <hongjiu.lu@intel.com>
10320
10321 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
10322
de7f5ce7
AJ
103232012-05-17 Andreas Jaeger <aj@suse.de>
10324
10325 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
10326 when it is used.
10327
286abc3d
CM
103282012-05-17 Chris Metcalf <cmetcalf@tilera.com>
10329
10330 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
10331
477cc68e
L
103322012-05-17 H.J. Lu <hongjiu.lu@intel.com>
10333
10334 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
10335 * sysdeps/x86_64/tst-mallocalign1.c: New file.
10336
1a0994f5
CD
103372012-05-17 Andreas Jaeger <aj@suse.de>
10338 Carlos O'Donell <carlos_odonell@mentor.com>
10339
10340 [BZ #14059]
10341 * sysdeps/x86_64/multiarch/init-arch.h
10342 (bit_YMM_Usable): Rename to...
10343 (bit_AVX_Usable): ... this.
10344 (bit_FMA4_Usable): New macro.
10345 (bit_XMM_state): New macro.
10346 (bit_YMM_state): New macro.
10347 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
10348 [__ASSEMBLER__] (index_AVX_Usable): ... this.
10349 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
10350 (CPUID_OSXSAVE): New macro.
10351 (CPUID_AVX): New macro.
10352 (CPUID_FMA4): New macro.
10353 (index_YMM_Usable): Rename to...
10354 (index_AVX_Usable): ... this.
10355 (HAS_AVX): Use HAS_ARCH_FEATURE.
10356 (HAS_FMA4): Likewise.
10357 (HAS_YMM_USABLE): Remove.
10358 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10359 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
10360 are present.
10361 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
10362 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
10363 * sysdeps/x86_64/multiarch/Makefile: Likewise.
10364 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
10365 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
10366
0af797de
CM
103672012-05-17 Chris Metcalf <cmetcalf@tilera.com>
10368
10369 * math/libm-test.c: Support platforms without multiple rounding modes.
10370 * math/bug-nextafter.c: Support platforms without FP exceptions.
10371 * math/bug-nexttoward.c: Likewise.
10372 * math/test-fenv.c: Likewise.
10373 * math/test-misc.c: Likewise.
10374 * stdlib/bug-getcontext.c: Likewise.
10375
e39745ff
AJ
103762012-05-17 Andreas Jaeger <aj@suse.de>
10377
10378 * manual/examples/search.c (critter_cmp): Change signature to
10379 avoid warnings.
10380 * manual/string.texi (Collation Functions): Likewise.
10381
48970aba
L
103822012-05-16 H.J. Lu <hongjiu.lu@intel.com>
10383
10384 * bits/types.h: Fold copyright years.
10385 * bits/typesizes.h: Likewise.
10386 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
10387 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
10388 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
10389 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
10390 * time/time.h: Likewise.
10391
bedee953
PP
103922012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
10393
10394 [BZ #208]
10395 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
10396 in instead of returning them. Return void.
10397 (__libc_mallinfo): Accumulate over all arenas.
10398 (__malloc_stats): Adjust for change in int_mallinfo interface.
10399
61653dfb
RM
104002012-05-16 Roland McGrath <roland@hack.frob.com>
10401
30b99d79
RM
10402 [BZ #10375]
10403 * configure.in (NM): Add AC_CHECK_TOOL for it.
10404 (libc_extra_cflags): New substituted variable.
10405 Check for -fstack-protector being used implicitly.
10406 * configure: Regenerated.
10407 * config.make.in (config-extra-cflags): New variable,
10408 gets @libc_extra_cflags@.
10409 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
10410
61653dfb
RM
10411 [BZ #10375]
10412 * configure.in: Check for _FORTIFY_SOURCE being predefined.
10413 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
10414 * configure: Regenerated.
10415 * config.make.in (CPPUNDEFS): New substituted variable.
10416 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
10417 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
10418 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
10419
661768bb
L
104202012-05-16 H.J. Lu <hongjiu.lu@intel.com>
10421
10422 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
10423 (mq_attr): Use __syscall_slong_t.
10424
d4261567
L
104252012-05-16 H.J. Lu <hongjiu.lu@intel.com>
10426
10427 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
10428 Check __x86_64__ instead of __WORDSIZE.
10429 (_STAT_VER_LINUX): Likewise.
10430 (stat): Check __x86_64__ instead of __WORDSIZE. Use
10431 __syscall_ulong_t and __syscall_slong_t.
10432 (stat64): Likewise.
10433
cf3ff365
L
104342012-05-16 H.J. Lu <hongjiu.lu@intel.com>
10435
10436 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
10437
76cf3e4d
L
104382012-05-16 H.J. Lu <hongjiu.lu@intel.com>
10439
10440 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
10441
a637753a
L
104422012-05-16 H.J. Lu <hongjiu.lu@intel.com>
10443
10444 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
10445 __syscall_ulong_t.
10446
d5e05119
L
10447 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
10448 include <bits/wordsize.h>. Check __x86_64__ instead of
10449 __WORDSIZE.
10450 (greg_t): Use "__extension__ long long int" if __x86_64__ is
10451 defined.
10452 (mcontext_t): Replace "unsigned long" with "unsigned long long".
10453
f62ee380
L
10454 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
10455 include <bits/wordsize.h>. Check __x86_64__ instead of
10456 __WORDSIZE.
10457 (user_regs_struct): Use "__extension__ unsigned long long"
10458 instead of "unsigned long" if __x86_64__ is defined.
10459 (user): Likewise. Pad after pointer field if __ILP32__ is
10460 defined.
10461
4e124ced
JM
104622012-05-16 Joseph Myers <joseph@codesourcery.com>
10463
6a3951a0
JM
10464 * configure.in (makeinfo): Require version 4.5 or later. Allow
10465 versions 5 to 9.
10466 * configure: Regenerated.
10467 * manual/install.texi (texinfo): Increase version requirement to
10468 4.5 or later.
10469 * INSTALL: Regenerated.
10470
4e124ced
JM
10471 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
10472
953ca31a
L
104732012-05-16 H.J. Lu <hongjiu.lu@intel.com>
10474
10475 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
10476
617aca05
L
10477 * sysdeps/x86_64/x32/ffs.c: New file.
10478
5762f7ae
L
10479 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
10480 __syscall_ulong_t.
10481 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
10482 defined. Use __syscall_ulong_t.
10483 (shminfo): Use __syscall_ulong_t.
10484 (shm_info): Likewise.
10485
a26b6856
L
10486 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
10487 __syscall_ulong_t.
10488
cb2b9ef7
L
10489 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
10490 <bits/wordsize.h>.
10491 (msgqnum_t): Use __syscall_ulong_t.
10492 (msglen_t): Likewise.
10493 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
10494 __syscall_ulong_t.
10495
34683bb0
L
10496 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
10497 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
10498
84a68786
L
10499 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
10500
48baa5f1
L
10501 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
10502 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
10503
180be88b
L
10504 * sysvipc/sys/msg.h (msgbuf): Replace long int with
10505 __syscall_slong_t.
10506
5e90c8ad
L
10507 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
10508 include <bits/wordsize.h>. Check __x86_64__ instead of
10509 __WORDSIZE.
10510
23dfb58b
L
10511 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
10512 "unsigned long long int" if __x86_64__ is defined.
10513 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
10514
ce5d54b0
L
10515 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
10516 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
10517 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
10518
13dc9eac
L
10519 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
10520 <stdint.h>.
10521 (GET_PC): Cast to uintptr_t first.
10522 (GET_FRAME): Likewise.
10523 (GET_STACK): Likewise.
10524
a7895d15
L
10525 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
10526 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
10527 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
10528 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
10529 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
10530 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
10531 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
10532 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
10533 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
10534 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
10535 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
10536 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
10537 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
10538 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
10539 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
10540 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
10541 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
10542 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
10543 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
10544 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
10545 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
10546 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
10547 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
10548 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
10549 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
10550 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
10551 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
10552 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
10553 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
10554
656416c9
AS
105552012-05-16 Andreas Schwab <schwab@linux-m68k.org>
10556
5bd66283
AS
10557 * Makerules (+depfiles): Also collect depfiles from .oS in
10558 $(extra-objs).
10559 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
10560 .oS, $(libnldbl-routines)).
10561
656416c9
AS
10562 * Makerules (native-compile-mkdep-flags): Define.
10563 * sunrpc/Makefile (extra-objs): Add $(addprefix
10564 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
10565 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
10566 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
10567 calling $(make-target-directory).
10568
a46f2169
L
105692012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10570
10571 * bits/types.h (__snseconds_t): Removed.
10572 * time/time.h (struct timespec): Replace __snseconds_t with
10573 __syscall_slong_t.
10574 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
10575 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
10576 Likewise.
10577 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
10578 (__SNSECONDS_T_TYPE): Likewise.
10579 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
10580 (__SNSECONDS_T_TYPE): Likewise.
10581 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10582 (__SNSECONDS_T_TYPE): Likewise.
10583
6af6528b
L
105842012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10585
10586 * sysdeps/mach/hurd/bits/typesizes.h
10587 (__SYSCALL_SLONG_TYPE): New macro.
10588 (__SYSCALL_ULONG_TYPE): Likewise.
10589
de986b56
L
105902012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10591
10592 * bits/types.h (__syscall_slong_t): New type.
10593 (__syscall_ulong_t): Likewise.
10594
10595 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
10596 (__SYSCALL_ULONG_TYPE): Likewise.
10597 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
10598 (__SYSCALL_SLONG_TYPE): Likewise.
10599 (__SYSCALL_ULONG_TYPE): Likewise.
10600 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
10601 (__SYSCALL_SLONG_TYPE): Likewise.
10602 (__SYSCALL_ULONG_TYPE): Likewise.
10603 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10604 (__SYSCALL_SLONG_TYPE): Likewise.
10605 (__SYSCALL_ULONG_TYPE): Likewise.
10606
85736dc7
L
106072012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10608
10609 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
10610 Add sigaltstack-offsets.sym.
10611 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
10612 <sigaltstack-offsets.h>.
10613 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
10614 longjmp_msg pointer.
10615 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
10616 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
10617 signal stack.
10618 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
10619
cc03b296
JM
106202012-05-15 Joseph Myers <joseph@codesourcery.com>
10621
a9538892
JM
10622 * elf/stackguard-macros.h: Remove file.
10623 * sysdeps/generic/stackguard-macros.h: New file.
10624 * sysdeps/i386/stackguard-macros.h: Likewise.
10625 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
10626 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
10627 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
10628 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
10629 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
10630 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
10631 * sysdeps/x86_64/stackguard-macros.h: Likewise.
10632 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
10633 <elf/stackguard-macros.h>.
10634
cc03b296
JM
10635 [BZ #14109]
10636 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
10637 __aligned__ in attribute.
10638 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
10639 (gregset_t): Likewise.
10640
93171016
L
106412012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10642
10643 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
10644 * sysdeps/x86_64/64/Implies-after: Here. New file.
10645 * sysdeps/x86_64/x32/Implies-after: New file.
10646
d86813a0
L
106472012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10648
10649 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
10650 and access return value for _dl_profile_fixup. Use R10_LP to
10651 load frame size.
10652
2953ec75
L
106532012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10654
10655 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
10656
3b550e9e
L
106572012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10658
10659 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
10660 * sysdeps/x86_64/x32/sysdep.h: New file.
10661
eda41706
L
106622012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10663
10664 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
10665 * sysdeps/x86_64/setjmp.S: Likewise.
10666
9ea01d93
AZ
106672012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10668
10669 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
10670 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
10671 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
10672 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
10673 remove unused global constant.
10674
02a91938
CM
106752012-05-15 Chris Metcalf <cmetcalf@tilera.com>
10676
10677 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
10678 include of <not-cancel.h>.
10679
6540185f
RM
106802012-05-15 Roland McGrath <roland@hack.frob.com>
10681
10682 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
10683
509072a0
AJ
106842012-05-15 Jeff Law <law@redhat.com>
10685 Andreas Jaeger <aj@suse.de>
10686
10687 [BZ #13594]
10688 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
10689 out from...
10690 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
10691 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
10692 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
10693 code changing __hst_map_handle.map.
10694
ba75122d
RM
106952012-05-15 Roland McGrath <roland@hack.frob.com>
10696
10697 * configure.in (sysnames): Look for Implies-before and Implies-after
10698 files.
10699 * configure: Regenerated.
10700
890d8bd8
L
107012012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10702
10703 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
10704 8-byte data alignment with LP_SIZE alignment.
10705
f6ee6623
L
107062012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10707
10708 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
10709 into R10_LP.
10710
ea2626f6
L
107112012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10712
10713 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
10714
085f715e
L
107152012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10716
10717 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
10718 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
10719 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
10720 Likewise.
10721 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
10722
be8498fc
L
107232012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10724
10725 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
10726 (stackinfo_sub_sp): Likewise.
10727
70bc83b9
L
107282012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10729
10730 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
10731 RAX_LP.
10732
9bc0b730
L
107332012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10734
10735 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
10736 into R*_LP.
10737
6d2850e7
L
107382012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10739
10740 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
10741 sizes into R*_LP.
10742
3cb84561
L
107432012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10744
10745 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
10746
54e2ed81
L
107472012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10748
10749 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
10750 into R11_LP and load __x86_64_shared_cache_size_half into
10751 R8_LP.
10752
8a17f349
L
107532012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10754
10755 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
10756 R8_LP.
10757
777b1eea
AZ
107582012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10759
10760 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
10761 logb for POWER7.
10762 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
10763 logbf for POWER7.
10764 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
10765 logbl for POWER7.
10766 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
10767 powerpc32/power7/fpu/s_logb.c via #include.
10768 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
10769 powerpc32/power7/fpu/s_logbf.c via #include.
10770 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
10771 powerpc32/power7/fpu/s_logbl.c via #include.
10772
d20d4ac2
JM
107732012-05-15 Joseph Myers <joseph@codesourcery.com>
10774
10775 * README.libm: Remove file.
10776
6cdef1ab
L
107772012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10778
10779 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
10780 count for x32. Use R*_LP and omit operand-size suffix.
10781
0b254d8f
L
107822012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10783
10784 * shlib-versions: Move x86_64-.*-linux.* entries to ...
10785 * sysdeps/x86_64/64/shlib-versions: Here. New file.
10786 * sysdeps/x86_64/x32/shlib-versions: New file.
10787
ceb809dc
RM
107882012-05-14 Roland McGrath <roland@hack.frob.com>
10789
10790 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
10791 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
10792 Use _dl_fatal_printf instead.
10793
37f1abd4
JM
107942012-05-14 Joseph Myers <joseph@codesourcery.com>
10795
10796 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
10797 set if not set by the user. Do not allow for being unset.
10798 * sysdeps/unix/sysv/linux/configure: Regenerated.
10799
11de3a33
L
108002012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10801
10802 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
10803 the `q' suffix from lea and replace .quad with ASM_ADDR.
10804
e02f153a
L
108052012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10806
10807 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
10808 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
10809 instead of $17.
10810 (PTR_DEMANGLE): Likewise.
10811
520ae0fd
L
108122012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10813
10814 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
10815 (LP_OP): Likewise.
10816 (ASM_ADDR): Likewise.
10817 (RAX_LP): Likewise.
10818 (RBP_LP): Likewise.
10819 (RBX_LP): Likewise.
10820 (RCX_LP): Likewise.
10821 (RDI_LP): Likewise.
10822 (RSI_LP): Likewise.
10823 (RSP_LP): Likewise.
10824 (R8_LP): Likewise.
10825 (R9_LP): Likewise.
10826 (R10_LP): Likewise.
10827 (R10_LP): Likewise.
10828 (R11_LP): Likewise.
10829 (R12_LP): Likewise.
10830 (R13_LP): Likewise.
10831 (R14_LP): Likewise.
10832 (R15_LP): Likewise.
10833
b985be81
L
108342012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10835
10836 * sysdeps/x86_64/x32/dl-machine.h: New file.
10837
6a4888ff
AJ
108382012-05-14 Andreas Jaeger <aj@suse.de>
10839
10840 * manual/Makefile (subdir): Remove export of subdir.
10841 (all): Remove target.
10842 (.PHONY): Remove all from list.
10843 (mkinstalldirs): Remove.
10844 (.PHONY): Remove installdirs from list.
10845 ($(inst_infodir)/libc.info): Use make-target-directory.
10846 (installdirs): Remove.
10847 (subdir_%): Remove.
10848 (glibc-targets): Remove.
10849 (lib): Remove.
10850 (stubs): Remove.
10851 ($(objpfx)stubs ../po/manual.pot): Remove.
10852 ($(objpfx)stamp%): Remove.
10853 (make-target-directory): Remove.
10854 (subdir_install): Remove.
10855 (routines): Remove.
10856 (aux): Remove.
10857 (sources): Remove.
10858 (objects): Remove.
10859 (headers): Remove.
10860
10861 [BZ #13750]
10862 * manual/.gitignore: Remove, it's not needed anymore.
10863 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
10864 all files in it.
10865 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
10866 directory.
10867 (texis): Renamed to $(objpfx)texis.
10868 (texis-path): New, contains path to generated files.
10869 (chapters.%): Use texis-path for complete path, add extra argument
10870 libc-texinfo.sh.
10871 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
10872 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
10873 (summary,texi, stamp-summary): Use complete path of
10874 files. Generate files in build dir.
10875 (dir-add.texi): Build in build dir.
10876 (libm-err.texi,stamp-libm-err): Likewise.
10877 (version.texi, stamp-version): Likewise.
10878 (.%c.texi): Likewise.
10879 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
10880 (mostlyclean): Remove target.
10881 (realclean): Remove target.
10882 (generated): Add new variable with contents from mostlyclean and
10883 realclean, remove entries duplicated in common-mostlyclean, add
10884 stamp-libm-err and stamp-version.
10885 (generated-dirs): Add libc directory.
10886 ($(inst_infodir)/libc.info): Install files from build dir.
10887
10888 * manual/install.texi (Configuring and compiling): Adjust since
10889 the info files are not part of the tar ball anymore.
10890
7ac77294
AJ
108912012-05-14 Andreas Jaeger <aj@suse.de>
10892
10893 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
10894 variable.
10895
ffb7875d
JM
108962012-05-14 Joseph Myers <joseph@codesourcery.com>
10897
10898 [BZ #13717]
10899 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
10900 to 2.2.0 where earlier.
10901 * sysdeps/unix/sysv/linux/configure: Regenerated.
10902 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
10903 Remove conditional code.
10904 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
10905 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
10906 Remove conditional code.
10907 [!__NR_lchown]: Likewise.
10908 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
10909 [__NR_lchown]: Likewise.
10910 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
10911 comment referencing __ASSUME_LCHOWN_SYSCALL.
10912 * sysdeps/unix/sysv/linux/i386/sigaction.c
10913 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
10914 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
10915 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
10916 Remove conditional code.
10917 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
10918 (__protocol_available): Remove #if 0 code.
10919 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
10920 conditional code.
10921 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
10922 * sysdeps/unix/sysv/linux/kernel-features.h
10923 (__ASSUME_GETCWD_SYSCALL): Don't define.
10924 (__ASSUME_REALTIME_SIGNALS): Likewise.
10925 (__ASSUME_PREAD_SYSCALL): Likewise.
10926 (__ASSUME_PWRITE_SYSCALL): Likewise.
10927 (__ASSUME_POLL_SYSCALL): Likewise.
10928 (__ASSUME_LCHOWN_SYSCALL): Likewise.
10929 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
10930 non-SPARC.
10931 (__ASSUME_SIOCGIFNAME): Don't define.
10932 (__ASSUME_MSG_NOSIGNAL): Likewise.
10933 (__ASSUME_SENDFILE): Define unconditionally.
10934 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
10935 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
10936 conditional code.
10937 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
10938 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
10939 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
10940 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
10941 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
10942 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
10943 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
10944 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
10945 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
10946 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10947 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
10948 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
10949 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10950 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
10951 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
10952 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10953 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
10954 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
10955 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
10957 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
10958 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10959 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
10960 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
10961 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
10963 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
10964 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
10966 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
10967 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10968 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
10969 Remove conditional code.
10970 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10971 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
10972 Remove conditional code.
10973 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10974 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
10975 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
10976 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
10977 Remove conditional code.
10978 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10979 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
10980 Remove conditional code.
10981 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10982 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
10983 Remove conditional code.
10984 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10985 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
10986 Remove conditional code.
10987 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10988 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
10989 Remove conditional code.
10990 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10991 * sysdeps/unix/sysv/linux/sh/pwrite64.c
10992 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
10993 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10994 * sysdeps/unix/sysv/linux/sigaction.c
10995 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
10996 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
10997 * sysdeps/unix/sysv/linux/sigpending.c
10998 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
10999 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
11000 * sysdeps/unix/sysv/linux/sigprocmask.c
11001 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
11002 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
11003 * sysdeps/unix/sysv/linux/sigsuspend.c
11004 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
11005 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
11006 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
11007 (__libc_missing_rt_sigs): Remove.
11008 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
11009 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
11010 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
11011 Remove conditional code.
11012 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
11013 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
11014 return 1.
11015 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
11016 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
11017 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
11018 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
11019
1bfb7291
AJ
110202012-05-14 Andreas Jaeger <aj@suse.de>
11021
caae5a81
AJ
11022 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
11023 it's not used in glibc.
11024 (__coshm1): Likewise.
11025 (__acosh1p): Likewise.
11026 (__sgn): Likewise.
11027
1bfb7291
AJ
11028 * manual/string.texi (Copying and Concatenation): Add missing
11029 variable in concat example.
11030 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
11031
c044d724
L
110322012-05-14 H.J. Lu <hongjiu.lu@intel.com>
11033
144c5467 11034 [BZ #14103]
c044d724
L
11035 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
11036 __builtin_clzl with __builtin_clzll.
11037
2523c62b
L
110382012-05-14 H.J. Lu <hongjiu.lu@intel.com>
11039
11040 [BZ #14104]
11041 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
11042 libc_freeres_ptr.
11043
d7bb4c42
LD
110442012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11045
11046 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
11047 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
11048 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
11049 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
11050
9dc4e1fb
MF
110512012-05-14 Mike Frysinger <vapier@gentoo.org>
11052
11053 * NEWS: Update ia64 info.
11054
c7df0112
AS
110552012-05-12 Andreas Schwab <schwab@linux-m68k.org>
11056
11057 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
11058 used as bcopy.
11059
dc70356c
TS
110602012-05-12 Thomas Schwinge <thomas@codesourcery.com>
11061
11062 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
11063 * sysdeps/unix/syscalls.list (dup3): Likewise.
11064 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
11065 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
11066
9fb1a21f
L
110672012-05-11 H.J. Lu <hongjiu.lu@intel.com>
11068
11069 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
11070 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
11071
4822a2a5
L
110722012-05-11 H.J. Lu <hongjiu.lu@intel.com>
11073
11074 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
11075 thread pointer.
11076 (TLS_IE): Use mov/add instead of movq/addq to load thread
11077 pointer.
11078 (TLS_GD_PREFIX): New.
11079 (TLS_GD): Use it.
11080
842b81d6
DM
110812012-05-11 David S. Miller <davem@davemloft.net>
11082
11083 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
11084 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
11085 (_FPU_SETCW): Likewise.
11086
1cf463cd
L
110872012-05-10 H.J. Lu <hongjiu.lu@intel.com>
11088
11089 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
11090 is 32-byte aligned.
11091
60cc4a18
AS
110922012-05-11 Andreas Schwab <schwab@linux-m68k.org>
11093
11094 [BZ #11837]
11095 * iconvdata/gb18030.c: Update tables.
11096 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
11097 characters specially.
11098 (BODY for TO_LOOP): Add encoding of missing ranges.
11099
febb44a4
TS
111002012-05-11 Thomas Schwinge <thomas@codesourcery.com>
11101
11102 [BZ #13673]
11103 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
11104 * sysdeps/mach/hurd/dup3.c: Likewise.
11105 * sysdeps/mach/hurd/readlinkat.c: Likewise.
11106 * sysdeps/powerpc/memmove.c:: Likewise.
11107
0a10fb9e
L
111082012-05-10 H.J. Lu <hongjiu.lu@intel.com>
11109
11110 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
11111 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
11112
df8a552f
L
111132012-05-10 H.J. Lu <hongjiu.lu@intel.com>
11114
11115 * elf/elf.h (R_X86_64_RELATIVE64): New.
11116 (R_X86_64_NUM): Updated.
11117 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
11118 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
11119 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
11120 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
11121 tst-quad1pie tst-quad2pie
11122 (modules-names): Add tst-quadmod1 tst-quadmod2.
11123 ($(objpfx)tst-quad1): New dependency.
11124 ($(objpfx)tst-quad2): Likewise.
11125 ($(objpfx)tst-quad1pie): Likewise.
11126 ($(objpfx)tst-quad2pie): Likewise.
11127 * sysdeps/x86_64/tst-quad1.c: New file.
11128 * sysdeps/x86_64/tst-quad1pie.c: New file.
11129 * sysdeps/x86_64/tst-quad2.c: Likewise.
11130 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
11131 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
11132 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
11133 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
11134 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
11135
f34d6f84
ST
111362012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11137
f42d41d1
ST
11138 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
11139 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
11140 * streams/stropts.h (t_scalar_t): Define type.
11141
3c3571fc
ST
11142 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
11143 (_PATH_PRESERVE): Set to "/var/lib".
11144 (_PATH_RWHODIR): Set to "/var/spool/rwho".
11145
61f06bd3
ST
11146 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
11147 instead of int.
11148
918d4d71
ST
11149 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
11150 if __dir_mkfile succeeded.
11151
f34d6f84
ST
11152 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
11153 checking for _hurd_dtablesize. Unlock it right after having
11154 finished _hurd_dtable allocation.
11155
10589b4a
TS
111562012-05-10 Thomas Schwinge <thomas@schwinge.name>
11157
674cdbc7
TS
11158 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
11159 * sysdeps/mach/hurd/configure: Regenerated.
11160 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
11161 special-casing to...
11162 * sysdeps/gnu/configure.in: ... this new file.
11163 * sysdeps/unix/sysv/linux/configure: Regenerated.
11164 * sysdeps/gnu/configure: New generated file.
11165
8e41b99f
TS
11166 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
11167 for Linux: use nsec instead of usec, as well as:
11168 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
11169 members of type struct timespec.
11170 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
11171 New macros.
11172 (struct stat64): Likewise.
11173 (_STATBUF_ST_NSEC): New macro.
11174 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
11175
10589b4a
TS
11176 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
11177 __strtoul_internal rather than strtoul.
11178
63643c85
PT
111792012-05-10 Pino Toscano <toscano.pino@tiscali.it>
11180
11181 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
11182 and reject them.
11183
3faebe6a
ST
111842012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11185
11186 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
11187 which preserves existing values.
11188 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
11189
c6474b07
PT
111902012-05-10 Pino Toscano <toscano.pino@tiscali.it>
11191
11192 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
11193 TIMEOUT values. Return EINVAL for NFDS values either negative or
11194 greater than FD_SETSIZE.
11195
1043890b
ST
111962012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11197
11198 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
11199 allocated, call __vm_protect to finish enabling the existing space, and
11200 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
11201 allocate the remainder.
11202
37ed8b9b
PT
112032012-05-10 Pino Toscano <toscano.pino@tiscali.it>
11204
11205 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
11206 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
11207
db653660
ST
112082012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11209
37ed8b9b
PT
11210 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
11211 sysdeps/mach/hurd/readlink.c.
b29d4053 11212
db653660
ST
11213 * posix/tst-sysconf.c (posix_options): Only use
11214 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
11215 _POSIX_SYNCHRONIZED_IO when they are defined
11216 * sysdeps/mach/hurd/bits/posix_opt.h:
11217 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
11218 (_XOPEN_REALTIME): Undefine macro.
11219 (_XOPEN_REALTIME_THREADS): Undefine macro.
11220 (_XOPEN_SHM): Undefine macro.
11221 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
11222 macro to -1.
11223 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
11224 macro to -1.
11225 (_POSIX_ASYNC_IO): Undefine macro.
11226 (_POSIX_PRIORITIZED_IO): Undefine macro.
11227 (_POSIX_SPIN_LOCKS): Define macro to -1.
11228
ee16e894
ST
11229 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
11230 SA_NODEFER, SA_RESETHAND.
11231 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
11232 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
11233 F_DUPFD_CLOEXEC.
11234
6103ae3b
TS
112352012-05-10 Thomas Schwinge <thomas@schwinge.name>
11236
11237 * elf/Makefile (pldd-modules): Define unconditionally.
11238
80b4e5f3
TS
112392012-05-10 Thomas Schwinge <thomas@schwinge.name>
11240
11241 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
11242
edadcbd6
ST
112432012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11244
11245 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
11246 Return ENOENT when name is empty.
11247 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
11248
80694780
TS
112492012-05-10 Thomas Schwinge <thomas@schwinge.name>
11250
1792c087
TS
11251 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
11252
80694780
TS
11253 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
11254
6b645f0d
ST
112552012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11256
80694780
TS
11257 Fix mlock in all cases except non-readable pages.
11258 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
11259 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 11260
6b645f0d
ST
11261 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
11262 (__mkdir): When path is `/', just fail with EEXIST.
11263 * sysdeps/mach/hurd/mkdirat.c: Likewise.
11264
e468f8a3
TS
112652012-05-10 Thomas Schwinge <thomas@schwinge.name>
11266
11267 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
11268 <sys/uio.h> (for writev).
11269 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
11270 and <sys/param.h> (for MIN).
11271
a4186cff
PT
112722012-05-10 Pino Toscano <toscano.pino@tiscali.it>
11273
11274 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
11275 REQUESTED_TIME. Properly set the remaining time and return EINTR
11276 if interrupted.
11277
510bbf14
TS
112782012-05-10 Thomas Schwinge <thomas@schwinge.name>
11279
11280 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
11281 Depend on against $(link-rpcuserlibs).
11282
5d5722e8
ST
112832012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11284
a4186cff
PT
11285 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
11286 (__libc_stack_end): Do not use attribute_relro.
11287 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
11288 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 11289 to libthread-provided value.
a4186cff
PT
11290 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
11291 attribute_relro.
5d5722e8 11292
37233df9
TS
112932012-05-10 Thomas Schwinge <thomas@schwinge.name>
11294
be971a2b
TS
11295 [BZ #3748]
11296 * bits/libc-lock.h (__libc_once_get): New macro.
11297 * sysdeps/mach/bits/libc-lock.h: Likewise.
11298 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
11299 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
11300 instead of using implementation details.
11301
37233df9
TS
11302 * libio/fileops.c: Unconditionally include <kernel-features.h>.
11303 * libio/freopen.c: Likewise.
11304 * libio/freopen64.c: Likewise.
11305 * misc/syslog.c: Likewise.
11306 * nscd/connections.c: Likewise.
11307 * nscd/netgroupcache.c: Likewise.
11308 * sysdeps/posix/getcwd.c: Likewise.
11309
38de94a5
RM
113102012-05-10 Roland McGrath <roland@hack.frob.com>
11311
11312 * math/w_ilogbf.c: Add #include <limits.h>.
11313
67530489
ST
113142012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11315
a4186cff 11316 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
11317 path instead of returning without unlocking.
11318
67530489
ST
11319 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
11320 immediate-write ioctls.
11321 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
11322
5aa3a74a
TS
113232012-05-10 Thomas Schwinge <thomas@schwinge.name>
11324
18bad2ae
TS
11325 * sysdeps/mach/hurd/i386/init-first.c (init): Use
11326 __builtin_frame_address instead of making assumptions about the
11327 location of the return address relative to DATA. Force early load of
11328 the return address.
11329 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
11330 __builtin_frame_address.
11331
5aa3a74a
TS
11332 dup3 for GNU Hurd.
11333 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
11334 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
11335 implement dup3 and do some further code clean-ups.
11336 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
11337 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
11338
ecd0de9a
ST
113392012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11340
cd9fa985
ST
11341 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
11342
a4186cff
PT
11343 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
11344 HURD_CRITICAL_END around holding _hurd_dtable_lock.
11345 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
11346 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
11347 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
11348 d->port.lock.
802ca5a5 11349
a4186cff
PT
11350 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
11351 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
11352 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 11353
bcf55240
TS
113542012-05-10 Thomas Schwinge <thomas@schwinge.name>
11355
6960eb42
TS
11356 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
11357 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
11358 definitions.
11359
eb43375f
TS
11360 accept4 for GNU Hurd.
11361 * include/sys/socket.h (__libc_accept4): New prototype.
11362 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
11363 to implement __libc_accept4.
11364 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
11365 __libc_accept4.
11366 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
11367
bcf55240
TS
11368 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
11369 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
11370 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
11371 signal-defines.sym.
11372
6178c55b
ST
113732012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11374
a4186cff 11375 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 11376
6f080c2f
TS
113772012-05-10 Thomas Schwinge <thomas@schwinge.name>
11378
11379 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
11380 assertion on O_CLOEXEC flag.
11381 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
11382 * hurd/intern-fd.c: Likewise.
11383 * hurd/port2fd.c: Likewise.
11384
bcfe3a54
ST
113852012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11386
11387 [BZ #3906]
11388 * bits/in.h (IPV6_PKTINFO): Define new macro.
11389 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
11390
89c9aa49
AZ
113912012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11392
11393 [BZ #13954]
11394 [BZ #13955]
11395 [BZ #13956]
11396 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
11397 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
11398 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
11399 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
11400 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11401 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
11402 * math/libm-test.inc (logb_test) : Additional logb tests.
11403
021db4be
AJ
114042012-05-09 Andreas Schwab <schwab@linux-m68k.org>
11405 Andreas Jaeger <aj@suse.de>
11406
11407 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
11408 * configure: Regenerated.
11409 * config.h.in (LINK_OBSOLETE_RPC): New macro.
11410 * config.make.in (link-obsolete-rpc): New substituted variable.
11411 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
11412 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
11413 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
11414 (shared-only-routines): Don't set it under [link-obsolete-rpc],
11415 so that libc.a contains the symbols.
11416 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
11417 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
11418 * sunrpc/auth_none.c: Likewise.
11419 * sunrpc/auth_unix.c: Likewise.
11420 * sunrpc/authdes_prot.c: Likewise.
11421 * sunrpc/authuxprot.c: Likewise.
11422 * sunrpc/clnt_gen.c: Likewise.
11423 * sunrpc/clnt_perr.c: Likewise.
11424 * sunrpc/clnt_raw.c: Likewise.
11425 * sunrpc/clnt_simp.c: Likewise.
11426 * sunrpc/clnt_tcp.c: Likewise.
11427 * sunrpc/clnt_udp.c: Likewise.
11428 * sunrpc/clnt_unix.c: Likewise.
11429 * sunrpc/des_crypt.c: Likewise.
11430 * sunrpc/des_soft.c: Likewise.
11431 * sunrpc/get_myaddr.c: Likewise.
11432 * sunrpc/key_call.c: Likewise.
11433 * sunrpc/key_prot.c: Likewise.
11434 * sunrpc/netname.c: Likewise.
11435 * sunrpc/pm_getmaps.c: Likewise.
11436 * sunrpc/pm_getport.c: Likewise.
11437 * sunrpc/pmap_clnt.c: Likewise.
11438 * sunrpc/pmap_prot.c: Likewise.
11439 * sunrpc/pmap_prot2.c: Likewise.
11440 * sunrpc/pmap_rmt.c: Likewise.
11441 * sunrpc/publickey.c: Likewise.
11442 * sunrpc/rpc_cmsg.c: Likewise.
11443 * sunrpc/rpc_common.c: Likewise.
11444 * sunrpc/rpc_dtable.c: Likewise.
11445 * sunrpc/rpc_prot.c: Likewise.
11446 * sunrpc/rpc_thread.c: Likewise.
11447 * sunrpc/rtime.c: Likewise.
11448 * sunrpc/svc.c: Likewise.
11449 * sunrpc/svc_auth.c: Likewise.
11450 * sunrpc/svc_raw.c: Likewise.
11451 * sunrpc/svc_run.c: Likewise.
11452 * sunrpc/svc_tcp.c: Likewise.
11453 * sunrpc/svc_udp.c: Likewise.
11454 * sunrpc/svc_unix.c: Likewise.
11455 * sunrpc/svcauth_des.c: Likewise.
11456 * sunrpc/xcrypt.c: Likewise.
11457 * sunrpc/xdr.c: Likewise.
11458 * sunrpc/xdr_array.c: Likewise.
11459 * sunrpc/xdr_float.c: Likewise.
11460 * sunrpc/xdr_intXX_t.c: Likewise.
11461 * sunrpc/xdr_mem.c: Likewise.
11462 * sunrpc/xdr_rec.c: Likewise.
11463 * sunrpc/xdr_ref.c: Likewise.
11464 * sunrpc/xdr_sizeof.c: Likewise.
11465 * sunrpc/xdr_stdio.c: Likewise.
11466
b5c086a2
RM
114672012-05-10 Roland McGrath <roland@hack.frob.com>
11468
11469 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
11470 change. Update copyright years.
11471
6d74dd09
JM
114722012-05-10 Joseph Myers <joseph@codesourcery.com>
11473
11474 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
11475
28e72501
MK
114762012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
11477 Joseph Myers <joseph@codesourcery.com>
11478 Paul Pluzhnikov <ppluzhnikov@google.com>
11479
11480 [BZ #14012]
11481 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
11482 requiring rpcgen.
11483 [cross-compiling] (extra-libs): Likewise.
11484 [cross-compiling] (extra-libs-others): Likewise.
11485 [cross-compiling] (librpcsvc-routines): Likewise.
11486 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
11487 [cross-compiling] (omit-deps): Likewise.
11488 (sunrpc-CPPFLAGS): New variable.
11489 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
11490 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
11491 (cross-rpcgen-objs): New variable.
11492 (extra-objs): Append $(cross-rpcgen-objs).
11493 ($(cross-rpcgen-objs)): New rule.
11494 ($(objpfx)cross-rpcgen): Likewise.
11495 (rpcgen-cmd): Define to use $(built-program-file). Expand
11496 comment.
11497 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
11498 ($(objpfx)x%.stmp): Likewise.
11499 * sunrpc/proto.h [IS_IN_build] (_): Define.
11500 [IS_IN_build] (_libc_intl_domainname): Likewise.
11501
c8c59454
L
115022012-05-10 H.J. Lu <hongjiu.lu@intel.com>
11503
11504 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
11505 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
11506 and R_X86_64_TPOFF64.
11507
6f27cd16
JM
115082012-05-10 Joseph Myers <joseph@codesourcery.com>
11509
11510 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
11511 sysdeps/unix/sysv/syscalls.list.
11512 (stime): Likewise.
11513 (utime): Likewise.
11514 * sysdeps/unix/sysv/syscalls.list: Remove file.
11515
02467e1c
PE
115162012-05-10 Paul Eggert <eggert@cs.ucla.edu>
11517
11518 [BZ #3440]
11519 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
11520 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
11521 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
11522 (__LC_IDENTIFICATION): Make these macros useful in #if
11523 expressions, as required by C99.
11524
da392631
AS
115252012-05-10 Andreas Schwab <schwab@linux-m68k.org>
11526
11527 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
11528 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
11529 after this.
11530
8115f29b
L
115312012-05-09 H.J. Lu <hongjiu.lu@intel.com>
11532
11533 * stdlib/longlong.h: Updated from GCC.
11534
bdd74070
AJ
115352012-05-09 Andreas Jaeger <aj@suse.de>
11536
edfe0dbe
AJ
11537 * nscd/nscd.c (run_modes): Make named enum, reorder so that
11538 default is first entry.
11539 (run_mode): Set type.
11540 (main): Remove informal message about syslog.
11541 (options): Fix typo.
11542
bcfe3a54
ST
11543 [BZ #14053]
11544 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 11545 to asm.
bcfe3a54
ST
11546 (lrint): Likewise.
11547 (llrintf): Likewise.
11548 (llrint): Likewise.
11549 (rint): Likewise.
11550 (rintf): Likewise.
11551 (nearbyint): Likewise.
11552 (nearbyintf): Likewise.
bdd74070 11553
91d8d69e
AJ
115542012-05-09 Andreas Jaeger <aj@suse.de>
11555 Pedro Alves <palves@redhat.com>
11556
11557 * nscd/nscd.c (run_mode): Use enum.
11558 (main): Cleanup coding style issue.
11559
bb90b80b
AJ
115602012-05-09 Alexandre Oliva <aoliva@redhat.com>
11561 Andreas Jaeger <aj@suse.de>
11562
bcfe3a54
ST
11563 * nscd/nscd.c (go_background): Replaced with...
11564 (run_mode): ... this.
bb90b80b 11565 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
11566 (options): Add -F --foreground.
11567 (main): Implement it.
11568 (parse_opt): Parse it.
bb90b80b 11569
1a4b75a1
AJ
115702012-05-09 Andreas Jaeger <aj@suse.de>
11571
11572 [BZ #14083]
11573 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
11574 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
11575 -Wconversion warning.
11576 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
11577 Likewise.
11578
b1cc2472
JM
115792012-05-09 Joseph Myers <joseph@codesourcery.com>
11580
11581 * conform/data/locale.h-data (NULL): Use macro-constant. Require
11582 == 0.
11583 (LC_ALL): Use macro-int-constant.
11584 (LC_COLLATE): Likewise.
11585 (LC_CTYPE): Likewise.
11586 (LC_MESSAGES): Likewise.
11587 (LC_MONETARY): Likewise.
11588 (LC_NUMERIC): Likewise.
11589 (LC_TIME): Likewise.
11590 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
11591 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
11592 [ISO || ISO99 || ISO11] (*_t): Do not allow.
11593 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
11594 Specify type.
11595 [C99-based standards] (float_t): Expect type.
11596 [C99-based standards] (double_t): Expect type.
11597 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
11598 type.
11599 [C99-based standards] (HUGE_VALL): Likewise.
11600 [C99-based standards] (INFINITY): Likewise.
11601 [C99-based standards] (NAN): Likewise.
11602 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
11603 [C99-based standards] (FP_NAN): Likewise.
11604 [C99-based standards] (FP_NORMAL): Likewise.
11605 [C99-based standards] (FP_SUBNORMAL): Likewise.
11606 [C99-based standards] (FP_ZERO): Likewise.
11607 [C99-based standards] (FP_FAST_FMA): Use
11608 optional-macro-int-constant. Specify type. Require == 1.
11609 [C99-based standards] (FP_FAST_FMAF): Likewise.
11610 [C99-based standards] (FP_FAST_FMAL): Likewise.
11611 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
11612 [C99-based standards] (FP_ILOGBNAN): Likewise.
11613 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
11614 Specify type.
11615 [C99-based standards] (MATH_ERREXCEPT): Likewise.
11616 [C99-based standards] (math_errhandling): Specify type.
11617 [ISO99 || ISO11] (signgam): Do not allow.
11618 [non-C99-based standards] (copysignf): Do not allow.
11619 [non-C99-based standards] (exp2f): Likewise.
11620 [non-C99-based standards] (log2f): Likewise.
11621 [non-C99-based standards] (modff): Allow.
11622 [non-C99-based standards] (erff): Do not allow.
11623 [non-C99-based standards] (erfcf): Likewise.
11624 [non-C99-based standards] (gammaf): Likewise.
11625 [non-C99-based standards] (hypotf): Likewise.
11626 [non-C99-based standards] (j0f): Likewise.
11627 [non-C99-based standards] (j1f): Likewise.
11628 [non-C99-based standards] (jnf): Likewise.
11629 [non-C99-based standards] (lgammaf): Likewise.
11630 [non-C99-based standards] (tgammaf): Likewise.
11631 [non-C99-based standards] (y0f): Likewise.
11632 [non-C99-based standards] (y1f): Likewise.
11633 [non-C99-based standards] (ynf): Likewise.
11634 [non-C99-based standards] (isnanf): Likewise.
11635 [non-C99-based standards] (acoshf): Likewise.
11636 [non-C99-based standards] (asinhf): Likewise.
11637 [non-C99-based standards] (atanhf): Likewise.
11638 [non-C99-based standards] (cbrtf): Likewise.
11639 [non-C99-based standards] (expm1f): Likewise.
11640 [non-C99-based standards] (ilogbf): Likewise.
11641 [non-C99-based standards] (log1pf): Likewise.
11642 [non-C99-based standards] (logbf): Likewise.
11643 [non-C99-based standards] (nextafterf): Likewise.
11644 [non-C99-based standards] (remainderf): Likewise.
11645 [non-C99-based standards] (rintf): Likewise.
11646 [non-C99-based standards] (scalbf): Likewise.
11647 [non-C99-based standards] (copysignl): Likewise.
11648 [non-C99-based standards] (exp2l): Likewise.
11649 [non-C99-based standards] (log2l): Likewise.
11650 [non-C99-based standards] (modfl): Allow.
11651 [non-C99-based standards] (erfl): Do not allow.
11652 [non-C99-based standards] (erfcl): Likewise.
11653 [non-C99-based standards] (gammal): Likewise.
11654 [non-C99-based standards] (hypotl): Likewise.
11655 [non-C99-based standards] (j0l): Likewise.
11656 [non-C99-based standards] (j1l): Likewise.
11657 [non-C99-based standards] (jnl): Likewise.
11658 [non-C99-based standards] (lgammal): Likewise.
11659 [non-C99-based standards] (tgammal): Likewise.
11660 [non-C99-based standards] (y0l): Likewise.
11661 [non-C99-based standards] (y1l): Likewise.
11662 [non-C99-based standards] (ynl): Likewise.
11663 [non-C99-based standards] (isnanl): Likewise.
11664 [non-C99-based standards] (acoshl): Likewise.
11665 [non-C99-based standards] (asinhl): Likewise.
11666 [non-C99-based standards] (atanhl): Likewise.
11667 [non-C99-based standards] (cbrtl): Likewise.
11668 [non-C99-based standards] (expm1l): Likewise.
11669 [non-C99-based standards] (ilogbl): Likewise.
11670 [non-C99-based standards] (log1pl): Likewise.
11671 [non-C99-based standards] (logbl): Likewise.
11672 [non-C99-based standards] (nextafterl): Likewise.
11673 [non-C99-based standards] (remainderl): Likewise.
11674 [non-C99-based standards] (rintl): Likewise.
11675 [non-C99-based standards] (scalbl): Likewise.
11676 [ISO || ISO99 || ISO11] (*_t): Do not allow.
11677 [non-C99-based standards] (FP_*): Do not allow.
11678 [C99-based standards] (FP_*): Change to
11679 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
11680 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
11681 allow.
11682 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
11683 (SIG_ERR): Likewise.
11684 [X/Open-based standards] (SIG_HOLD): Likewise.
11685 (SIG_IGN): Likewise.
11686 (SIGABRT): Use macro-int-constant. Specify type. Require
11687 positive value.
11688 (SIGFPE): Likewise.
11689 (SIGILL): Likewise.
11690 (SIGINT): Likewise.
11691 (SIGSEGV): Likewise.
11692 (SIGTER): Likewise.
11693 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
11694 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
11695 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
11696 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
11697 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
11698 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
11699 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
11700 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
11701 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
11702 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
11703 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
11704 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
11705 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
11706 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
11707 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
11708 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
11709 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
11710 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
11711 [X/Open-based standards] (SIGTRAP): Likewise.
11712 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
11713 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
11714 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
11715 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
11716 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
11717 allow.
11718
b9f1922d
IW
117192012-05-08 Ian Wienand <ianw@vmware.com>
11720
11721 [BZ #14080]
11722 * time/tzset.c (__tzset_parse_tz): Update default rules for
11723 daylight time changes in the Energy Policy Act of 2005.
11724
1db86e88
AJ
117252012-05-09 Andreas Jaeger <aj@suse.de>
11726
11727 [BZ #13983]
11728 * elf/ldconfig.c (parse_conf): Change string to make clear that
11729 ldconfig only issued a warning if ld.so.conf does not exist.
11730
dee4a4e3
DM
117312012-05-08 David S. Miller <davem@davemloft.net>
11732
ee0db190
DM
11733 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
11734 movxtod instead of popping the value on the stack.
11735
dee4a4e3
DM
11736 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11737
6a43ec98
CD
117382012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
11739
11740 * config.h.in: Add HAVE_ARM_PCS_VFP.
11741
05c2c961
RMG
117422012-05-08 Roland Mc Grath <roland@hack.frob.com>
11743
bcfe3a54
ST
11744 [BZ #13979]
11745 * include/features.h: Warn if user requests __FORTIFY_SOURCE
11746 checking but the checks are disabled for any reason.
05c2c961 11747
4b30f61a
L
117482012-05-08 H.J. Lu <hongjiu.lu@intel.com>
11749
11750 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
11751 and ELF64_R_TYPE with ELFW(R_TYPE).
11752
eee2bc67
JM
117532012-05-08 Joseph Myers <joseph@codesourcery.com>
11754
7ea5391a
JM
11755 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
11756 (ulimit): Likewise.
11757
eee2bc67
JM
11758 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
11759 (settimeofday): Likewise.
11760
abb66a67
MF
117612012-05-08 Mike Frysinger <vapier@gentoo.org>
11762
11763 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
11764 a struct th_u2 inside the union, and move tu_block/tu_code into
11765 a new th_u3 union of tu_block/tu_code inside of that. Move
11766 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
11767 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
11768 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
11769 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
11770 (th_stuff): Change to th_u1.tu_stuff.
11771 (th_data): Define.
11772 (th_msg): Change to th_u1.th_u2.tu_data.
11773
7f18b530
DM
117742012-05-07 David S. Miller <davem@davemloft.net>
11775
05760585
DM
11776 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11777
7f18b530
DM
11778 [BZ #14074]
11779 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
11780 (SETUP_PIC_REG): Use it.
11781 (SETUP_PIC_REG_LEAF): Use it.
11782
495fd99f
JM
117832012-05-07 Joseph Myers <joseph@codesourcery.com>
11784
11785 [BZ #13885]
11786 [BZ #13923]
11787 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
11788 USE_AS_EXPM1L.
11789 (EXPL_FINITE): Likewise.
11790 (FLDLOG): Likewise.
11791 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
11792 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
11793 e_expl.S.
11794 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
11795 USE_AS_EXPM1L.
11796 (EXPL_FINITE): Likewise.
11797 (FLDLOG): Likewise.
11798 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
11799 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
11800 e_expl.S.
11801 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
11802 test of -max_value argument for long double.
11803 * sysdeps/i386/fpu/libm-test-ulps: Update.
11804 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11805
6693d694
DM
118062012-05-06 David S. Miller <davem@davemloft.net>
11807
11808 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
11809 quad soft-float symbols whose references which are compiler
11810 generated.
11811 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
11812
6c23e11c
JM
118132012-05-06 Joseph Myers <joseph@codesourcery.com>
11814
d8b82cad
JM
11815 [BZ #13884]
11816 [BZ #13914]
11817 * sysdeps/i386/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 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
11827 e_expl.S.
11828 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
11829 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
11830 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
11831 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
11832 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
11833 USE_AS_EXP10L.
11834 (EXPL_FINITE): Likewise.
11835 (FLDLOG): Likewise.
11836 (c0): Likewise.
11837 (c1): Likewise.
11838 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
11839 Adjust comments for base varying.
11840 (__expl_finite): Change alias to EXPL_FINITE.
11841 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
11842 tests for bugs.
11843 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11844
6c23e11c
JM
11845 [BZ #14064]
11846 * math/libm-test.inc (check_float_internal): Correct ulp
11847 calculation for subnormal expected results.
11848
29ba805c
AJ
118492012-05-06 Andreas Jaeger <aj@suse.de>
11850
11851 * Makeconfig (+math-flags): New, set to -frounding-math.
11852 (+cflags): Add +math-flags so that all of glibc gets compiled with
11853 it.
11854
11855 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
11856
7b17aeda
JM
118572012-05-05 Joseph Myers <joseph@codesourcery.com>
11858
5779f134
JM
11859 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
11860 Disable one test.
11861
41498f4d
JM
11862 [BZ #13787]
11863 [BZ #13922]
11864 [BZ #14036]
11865 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
11866 (__ieee754_expl): Allow for and saturate large arguments.
11867 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
11868 (u_threshold): Likewise.
11869 (__exp): Call __ieee754_exp before checking for overflow and
11870 underflow.
11871 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
11872 (u_threshold): Likewise.
11873 (__expf): Call __ieee754_expf before checking for overflow and
11874 underflow.
11875 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
11876 (u_threshold): Likewise.
11877 (__expl): Call __ieee754_expl before checking for overflow and
11878 underflow.
11879 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
11880 (__ieee754_expl): Allow for and saturate large arguments.
11881 * math/libm-test.inc (exp_test): Add another test. Do not allow
11882 missing overflow exception on overflow.
11883 (expm1_test): Do not allow missing overflow exception on overflow.
11884
6698b8bf
JM
11885 * sysdeps/i386/fpu/e_expl.c: Move to ...
11886 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
11887 rather than using inline asm.
11888 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
11889 * sysdeps/x86_64/fpu/e_expl.S: Copy from
11890 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
11891
7b17aeda
JM
11892 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
11893 (nice): Likewise.
11894 (poll): Likewise.
11895 (signal): Likewise.
11896 (time): Likewise.
11897 (times): Likewise.
11898
f7c85819
JM
118992012-05-04 Joseph Myers <joseph@codesourcery.com>
11900
11901 * sysdeps/unix/syscalls.list (adjtime): Add entry from
11902 sysdeps/unix/common/syscalls.list.
11903 (fchmod): Likewise.
11904 (fchown): Likewise.
11905 (ftruncate): Likewise.
11906 (getrusage): Likewise.
11907 (gettimeofday): Likewise.
11908 (setpgid): Likewise.
11909 (setregid): Likewise.
11910 (setreuid): Likewise.
11911 (sigaction): Likewise.
11912 (truncate): Likewise.
11913 (vhangup): Likewise.
11914 * sysdeps/unix/common/syscalls.list: Remove file.
11915 * sysdeps/unix/bsd/Implies: Don't include unix/common.
11916 * sysdeps/unix/sysv/linux/Implies: Likewise.
11917
336270d0
L
119182012-05-04 H.J. Lu <hongjiu.lu@intel.com>
11919
11920 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
11921 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
11922 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
11923 Moved to ...
11924 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
11925 Here.
11926 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
11927 to ...
11928 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
11929 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
11930 to ...
11931 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
11932 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
11933 to ...
11934 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
11935 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
11936 to ...
11937 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
11938 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
11939 to ...
11940 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
11941 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
11942 to ...
11943 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
11944 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
11945 to ...
11946 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
11947 Here.
11948 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
11949 to ...
11950 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
11951 Here.
11952 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
11953 to ...
11954 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
11955 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
11956 Moved to ...
11957 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
11958 Here.
11959 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
11960 to ...
11961 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
11962
d128e450
JM
119632012-05-04 Joseph Myers <joseph@codesourcery.com>
11964
fa8ee516
JM
11965 * sysdeps/unix/common/bits/dirent.h: Remove file.
11966 * sysdeps/unix/common/bits/fcntl.h: Likewise.
11967
d128e450
JM
11968 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
11969 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
11970 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
11971 * sysdeps/unix/bsd/isatty.c: Likewise.
11972 * sysdeps/unix/bsd/tcdrain.c: Likewise.
11973 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
11974 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
11975
ff8faaf0 119762012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 11977
62881be4 11978 [BZ #13563]
31dc8730
AZ
11979 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
11980 long double comparison inaccuracies.
11981 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
11982 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11983
6fef930c
AS
119842012-05-04 Andreas Schwab <schwab@linux-m68k.org>
11985
11986 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
11987 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
11988
8f203e6c
JM
119892012-05-04 Joseph Myers <joseph@codesourcery.com>
11990
11991 [BZ #14049]
11992 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
11993 nonzero digits before rounding a hex value.
11994 * stdlib/tst-strtod.c (tests): Add another test.
11995
5197d9c2
AK
119962012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11997
11998 * sysdeps/s390/fpu/libm-test-ulps: Update.
11999
f0c1dedf
AJ
120002012-05-03 Andreas Jaeger <aj@suse.de>
12001
12002 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
12003 does not get optimized out.
12004 (malloc_opt_barrier): New.
12005
a65ef2ae 120062012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 12007 Roland McGrath <roland@hack.frob.com>
a65ef2ae 12008
2b942cb7 12009 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 12010 intermediate file deletion.
2b942cb7 12011 (generated): Add .symlist files.
a65ef2ae 12012
54b71e02
JM
120132012-05-03 Joseph Myers <joseph@codesourcery.com>
12014
12015 [BZ #13775]
12016 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
12017 Redirect under this condition.
12018 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
12019 [__USE_GNU] (__dprintf_chk): Not under this condition.
12020 [__USE_GNU] (__vdprintf_chk): Likewise.
12021 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
12022 under this condition.
12023 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
12024 [__USE_XOPEN2K8] (dprintf): Define under this condition.
12025 [__USE_XOPEN2K8] (vdprintf): Likewise.
12026 [__USE_GNU] (__dprintf_chk): Not under this condition.
12027 [__USE_GNU] (__vdprintf_chk): Likewise.
12028 [__USE_GNU] (dprintf): Likewise.
12029 [__USE_GNU] (vdprintf): Likewise.
12030
d3dfcc41
RM
120312012-05-03 Roland McGrath <roland@hack.frob.com>
12032
12033 * elf/Makefile (common-generated): Set this instead of generated for
12034 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
12035 $(all-built-dso)-derived lists.
12036
7ac30cc5
AJ
120372012-05-03 Andreas Jaeger <aj@suse.de>
12038
0c51e550
AJ
12039 * sysdeps/i386/fpu/libm-test-ulps: Update.
12040
7ac30cc5
AJ
12041 * FAQ: Removed.
12042 * FAQ.in: Likewise.
12043 * scripts/gen-FAQ.pl: Likewise.
12044 * manual/install.texi (Installation): Point to online location of
12045 FAQ.
12046 * Makefile (files-for-dist): Remove FAQ.
12047 (FAQ): Remove.
12048
d4c2917f
AM
120492012-05-02 Allan McRae <allan@archlinux.org>
12050
12051 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
12052 (LDFLAGS-reldepmod5.so): Likewise.
12053 (LDFLAGS-reldep6mod1.so): Likewise.
12054 (LDFLAGS-reldep6mod4.so): Likewise.
12055 (LDFLAGS-reldep8mod3.so): Likewise.
12056 (LDFLAGS-unload4mod1.so): Likewise.
12057 (LDFLAGS-unload4mod2.so): Likewise.
12058 (LDFLAGS-tst-initorder): Likewise.
12059 (LDFLAGS-tst-initordera2.so): Likewise.
12060 (LDFLAGS-tst-initordera3.so): Likewise.
12061 (LDFLAGS-tst-initordera4.so): Likewise.
12062 (LDFLAGS-tst-initorderb2.so): Likewise.
12063 (LDFLAGS-noload): Likewise.
12064 (LDFLAGS-next): Likewise.
12065 (LDFLAGS-order2mod1.so): Likewise.
12066 (LDFLAGS-order2mod2.so): Likewise.
12067 (LDFLAGS-tst-initorder2): Likewise.
12068 (LDFLAGS-tst-initorder2a.so): Likewise.
12069 (LDFLAGS-tst-initorder2b.so): Likewise.
12070 (LDFLAGS-tst-initorder2c.so): Likewise.
12071 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
12072
d77f993f
DM
120732012-05-02 David S. Miller <davem@davemloft.net>
12074
12075 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12076
171a70b4
PP
120772012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
12078
12079 [BZ #14055]
12080 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
12081
0be196ad
AJ
120822012-05-02 Andreas Jaeger <aj@suse.de>
12083
12084 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
12085 since we manipulate rounding mode.
12086 (CPPFLAGS-test-idouble.c): Likewise.
12087 (CPPFLAGS-test-ifloat.c): Likewise.
12088 (CFLAGS-test-ldouble.c): Likewise.
12089 (CFLAGS-test-double.c): Likewise.
12090 (CFLAGS-test-float.c): Likewise.
12091 (CFLAGS-test-misc.c): Likewise.
12092 (CFLAGS-test-test-fenv.c): Likewise.
12093
4f9d04aa
AZ
120942012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12095
2b942cb7
RM
12096 [BZ #2550]
12097 [BZ #2570]
12098 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
12099 comparisons to determine direction to adjust input.
4f9d04aa 12100
82a79e7d
RM
121012012-05-01 Roland McGrath <roland@hack.frob.com>
12102
f5a01ca9
RM
12103 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
12104 output to the target.
12105
90fe4186
RM
12106 * scripts/localplt.awk: New file.
12107 * elf/Makefile ($(objpfx)check-localplt): Target removed.
12108 (check-localplt-CFLAGS): Variable removed.
12109 ($(all-built-dso:=.jmprel)): New static pattern rule.
12110 (generated): Add those targets.
12111 (localplt-built-dso): New variable.
12112 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
12113
12114 * elf/check-localplt.c: File removed.
12115
82397ed6
RM
12116 * scripts/check-execstack.awk: New file.
12117 * elf/Makefile ($(objpfx)check-execstack): Target removed.
12118 (check-execstack-CFLAGS): Variable removed.
12119 ($(objpfx)check-execstack.h): Target removed.
12120 ($(objpfx)execstack-default): New target.
12121 (generated): Add that instead of check-execstack.h.
12122 ($(all-built-dso:=.phdr)): New static pattern rule.
12123 (generated): Add those targets.
12124 * elf/check-execstack.c: File removed.
12125
82a79e7d
RM
12126 * scripts/check-textrel.awk: New file.
12127 * elf/Makefile ($(objpfx)check-textrel): Target removed.
12128 (check-textrel-CFLAGS): Variable removed.
12129 (all-built-dso): Use := to define.o
12130 ($(all-built-dso:=.dyn)): New static pattern rule.
12131 (generated): Add those targets.
12132 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
12133 * config.make.in (READELF): New substituted variable.
12134 * elf/check-textrel.c: File removed.
12135
62fde54f 121362012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 12137
615605c9
JM
12138 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
12139 allow.
12140 * conform/data/ctype.h-data [C99-based standards] (isblank):
12141 Expect function.
12142 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
12143 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
12144 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12145 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
12146 Specify type. Require positive value.
12147 (EILSEQ): Likewise.
12148 (ERANGE): Likewise.
12149 [ISO || POSIX] (EILSEQ): Do not expect.
12150 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
12151 Specify type. Require positive value.
12152 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
12153 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
12154 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
12155 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
12156 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
12157 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
12158 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
12159 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
12160 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
12161 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
12162 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
12163 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
12164 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
12165 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
12166 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
12167 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
12168 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
12169 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
12170 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
12171 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
12172 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
12173 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
12174 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
12175 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
12176 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
12177 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
12178 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
12179 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
12180 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
12181 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
12182 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
12183 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
12184 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
12185 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
12186 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
12187 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
12188 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
12189 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
12190 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
12191 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
12192 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
12193 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
12194 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
12195 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
12196 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
12197 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
12198 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
12199 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
12200 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
12201 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
12202 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
12203 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
12204 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
12205 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
12206 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
12207 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
12208 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
12209 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
12210 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
12211 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
12212 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
12213 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
12214 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
12215 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
12216 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
12217 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
12218 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
12219 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
12220 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
12221 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
12222 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
12223 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
12224 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
12225 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
12226 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
12227 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
12228 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
12229 Require >= 2.
12230 (FLT_ROUNDS): Expect as macro, not constant.
12231 (FLT_MANT_DIG): Use macro-int-constant.
12232 (DBL_MANT_DIG): Likewise.
12233 (LDBL_MANT_DIG): Likewise.
12234 (FLT_DIG): Likewise.
12235 (DBL_DIG): Likewise.
12236 (LDBL_DIG): Likewise.
12237 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
12238 (DBL_MIN_EXP): Likewise.
12239 (LDBL_MIN_EXP): Likewise.
12240 (FLT_MAX_EXP): Use macro-int-constant.
12241 (DBL_MAX_EXP): Likewise.
12242 (LDBL_MAX_EXP): Likewise.
12243 (FLT_MAX_10_EXP): Likewise.
12244 (DBL_MAX_10_EXP): Likewise.
12245 (LDBL_MAX_10_EXP): Likewise.
12246 (FLT_MAX): Use macro-constant.
12247 (DBL_MAX): Likewise.
12248 (LDBL_MAX): Likewise.
12249 (FLT_EPSILON): Use macro-constant. Give upper bound.
12250 (DBL_EPSILON): Likewise.
12251 (LDBL_EPSILON): Likewise.
12252 (FLT_MIN): Likewise.
12253 (DBL_MIN): Likewise.
12254 (LDBL_MIN): Likewise.
12255 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
12256 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
12257 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
12258 [ISO11] (FLT_HAS_SUBNORM): Likewise.
12259 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
12260 [ISO11] (DBL_DECIMAL_DIG): Likewise.
12261 [ISO11] (FLT_DECIMAL_DIG): Likewise.
12262 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
12263 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
12264 [ISO11] (FLT_TRUE_MIN): Likewise.
12265 [ISO11] (LDBL_TRUE_MIN): Likewise.
12266 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12267 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
12268 (SCHAR_MIN): Use macro-int-constant. Specify type.
12269 (SCHAR_MAX): Likewise.
12270 (UCHAR_MAX): Likewise.
12271 (CHAR_MIN): Likewise.
12272 (CHAR_MAX): Likewise.
12273 (MB_LEN_MAX): Use macro-int-constant.
12274 (SHRT_MIN): Use macro-int-constant. Specify type.
12275 (SHRT_MAX): Likewise.
12276 (USHRT_MAX): Likewise.
12277 (INT_MAX): Likewise.
12278 (INT_MIN): Use macro-int-constant. Specify type. Make upper
12279 bound negative.
12280 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
12281 bound with "U".
12282 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
12283 bound with "L".
12284 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
12285 bound negative. Suffix upper bound with "L".
12286 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
12287 bound with "UL".
12288 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
12289 Specify type.
12290 [C99-based standards] (LLONG_MAX): Likewise.
12291 [C99-based standards] (ULLONG_MAX): Likewise.
12292 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
12293 == 0.
12294 [ISO11] (max_align_t): Require type.
12295 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12296
c9140a62
JM
12297 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
12298 from $CFLAGS, without defining away __attribute__ calls.
12299 (checknamespace): Use $CFLAGS_namespace.
12300
9af0bf29
JM
12301 * conform/conformtest.pl (@keywords): Only include C99 keywords
12302 for standards based on C99 or C11.
12303
343222a2
JM
12304 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
12305 Disable tests.
12306 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
12307 UNIX98]: Likewise.
12308
661f8cf0
JM
12309 * conform/conformtest.pl: Handle "macro-int-constant" and test for
12310 usability of symbols in #if.
12311
ee74b9cb
JM
12312 * conform/conformtest.pl: If macro or constant types start
12313 "promoted:", expect the symbol to be of the following type
12314 promoted by the integer promotions.
62fde54f 12315
aafc49b3
JM
12316 * conform/conformtest.pl: Parse all "constant" and "macro" lines
12317 in one place. Also handle "macro-constant".
12318
fefdf574
JM
12319 * conform/conformtest.pl: Only accept expected macro values with
12320 "==". Parse all "macro" lines in one place.
12321 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
12322
f2d922fe
JM
12323 * conform/conformtest.pl: Handle braced types on "constant" lines
12324 instead of handling "typed-constant".
12325 * conform/data/signal.h-data: Use "constant" instead of
12326 "typed-constant".
12327
d22956c9
JM
12328 * conform/conformtest.pl: Handle "optional-" at start of lines in
12329 one place rather than duplicating several cases. Handle each
12330 format of "macro" line with initial "optional-".
12331
028e2e38
JM
12332 * conform/conformtest.pl: Only accept expected constant or
12333 optional-constant values with "==". Parse all "constant" lines in
12334 one place. Parse all "optional-constant" lines in one place.
12335 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
12336 * conform/data/fmtmsg.h-data: Likewise.
12337 * conform/data/netinet/in.h-data: Likewise.
12338 * conform/data/tar.h-data: Likewise.
12339 * conform/data/limits.h-data: Use "==" form on "constant" and
12340 "optional-constant" lines.
12341
1b8f2850
JM
12342 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
12343 Use -std=c99 for XOPEN2K.
12344 (@knownproblems): Remove.
12345 (newtoken): Don't check %isknown.
12346
a05a144b
JM
12347 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
12348 Do not expect macro.
12349 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
12350 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
12351 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
12352 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
12353 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
12354 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
12355 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
12356 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
12357 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
12358 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
12359 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
12360 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
12361 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
12362 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
12363 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
12364 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
12365 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
12366 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
12367 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
12368 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
12369 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
12370 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
12371 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
12372 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
12373 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
12374 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
12375 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
12376 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
12377 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
12378 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
12379 [XPG3] (acosh): Likewise.
12380 [XPG3] (asinh): Likewise.
12381 [XPG3] (atanh): Likewise.
12382 [XPG3] (cbrt): Likewise.
12383 [XPG3] (expm1): Likewise.
12384 [XPG3] (ilogb): Likewise.
12385 [XPG3] (log1p): Likewise.
12386 [XPG3] (logb): Likewise.
12387 [XPG3] (nextafter): Likewise.
12388 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
12389 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
12390 [XPG3] (remainder): Likewise.
12391 [XPG3] (rint): Likewise.
12392 [XPG3 || XPG4 || UNIX98] (round): Likewise.
12393 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
12394 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
12395 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
12396 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
12397 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
12398 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
12399 [UNIX98 || XOPEN2K] (scalb): Expect.
12400 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
12401 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
12402 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
12403 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
12404 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
12405 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
12406 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
12407 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
12408 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
12409 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
12410 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
12411 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
12412 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
12413 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
12414 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
12415 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
12416 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
12417 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
12418 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
12419 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
12420 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
12421 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
12422 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
12423 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
12424 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
12425 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
12426 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
12427 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
12428 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
12429 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
12430 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
12431 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
12432 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
12433 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
12434 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
12435 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
12436 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
12437 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
12438 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
12439 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
12440 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
12441 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
12442 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
12443 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
12444 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
12445 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
12446 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
12447 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
12448 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
12449 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
12450 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
12451 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
12452 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
12453 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
12454 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
12455 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
12456 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
12457 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
12458 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
12459 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
12460 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
12461 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
12462 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
12463 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
12464 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
12465 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
12466 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
12467 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
12468 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
12469 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
12470 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
12471 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
12472 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
12473 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
12474 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
12475 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
12476 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
12477 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
12478 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
12479 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
12480 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
12481 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
12482 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
12483 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
12484 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
12485 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
12486 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
12487 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
12488 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
12489 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
12490 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
12491 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
12492 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
12493 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
12494 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
12495 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
12496 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
12497 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
12498 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
12499 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
12500 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
12501 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
12502 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
12503 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
12504 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
12505 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
12506 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
12507 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
12508 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
12509 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
12510 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
12511 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
12512 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
12513 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
12514 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
12515 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
12516 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
12517 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
12518 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
12519 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
12520 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
12521 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
12522 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
12523 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
12524 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
12525 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
12526 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
12527 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
12528 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
12529 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
12530 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
12531 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
12532 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
12533 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
12534 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
12535 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
12536 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
12537
73c5ebe3
JM
12538 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
12539 _XOPEN_SOURCE_EXTENDED for XPG4.
12540
39c33b6c
JM
12541 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
12542
62fde54f
JM
12543 * Makeconfig (localtime): Remove variable.
12544 (inst_localtime-file): Likewise.
12545
0741d64c
AS
125462012-05-01 Andreas Schwab <schwab@linux-m68k.org>
12547
12548 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
12549 Update.
12550 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12551 Update.
12552 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
12553 Update.
12554 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
12555 Update.
12556 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
12557 Update.
12558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
12559 Update.
12560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12561 Update.
12562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
12563 Update.
12564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
12565 Update.
12566
7cb029ee
JM
125672012-05-01 Joseph Myers <joseph@codesourcery.com>
12568
12569 [BZ #2550]
12570 [BZ #2570]
12571 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
12572 comparisons to determine direction to adjust input.
12573 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
12574 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
12575 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
12576 Likewise.
12577 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
12578 Likewise.
12579 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
12580 Likewise.
12581 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
12582 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
12583 Likewise.
12584 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
12585 Likewise.
12586 * math/libm-test.inc (nexttoward_test): Add more tests.
12587
412bd966
AS
125882012-05-01 Andreas Schwab <schwab@linux-m68k.org>
12589
12590 [BZ #14040]
12591 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
12592 in version GLIBC_2.1, not GLIBC_2.0.
12593 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
12594 Likewise.
12595
9568c0c2
JM
125962012-04-30 Joseph Myers <joseph@codesourcery.com>
12597
adfbc8ac
JM
12598 [BZ #13942]
12599 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
12600 (1 - x) * (1 + x).
12601 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
12602 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
12603 * math/libm-test.inc (acos_test): Add more tests.
12604 (asin_test): Likewise.
12605 * sysdeps/i386/fpu/libm-test-ulps: Update.
12606 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12607
5ba3cc69
JM
12608 [BZ #14034]
12609 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
12610 of square root.
12611 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
12612 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
12613 * math/libm-test.inc (acos_test_tonearest): New function.
12614 (acos_test_towardzero): Likewise.
12615 (acos_test_downward): Likewise.
12616 (acos_test_upward): Likewise.
12617 (asin_test_tonearest): Likewise.
12618 (asin_test_towardzero): Likewise.
12619 (asin_test_downward): Likewise.
12620 (asin_test_upward): Likewise.
12621 (main): Call the new functions.
12622 * sysdeps/i386/fpu/libm-test-ulps: Update.
12623 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12624
9568c0c2
JM
12625 [BZ #13884]
12626 [BZ #13924]
12627 * math/e_exp10.c: Include <float.h>.
12628 (__ieee754_exp10): Handle underflow here rather than multiplying
12629 large negative argument by M_LN10.
12630 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
12631 of __ieee754_expf.
12632 * math/e_exp10l.c: Include <float.h>.
12633 (__ieee754_exp10l): Handle underflow here rather than multiplying
12634 large negative argument by M_LN10l.
12635 * math/libm-test.inc (exp10_test): Add another test. Do not allow
12636 spurious overflow exception on underflow.
12637
5ac3ea17
MP
126382012-04-29 Marek Polacek <polacek@redhat.com>
12639
12640 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
12641 (__fortify_function): New macro.
12642 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
12643 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
12644 __extern_always_inline.
12645 * libio/bits/stdio2.h: Likewise.
12646 * libio/bits/stdio.h: Likewise.
12647 * string/string.h: Likewise.
12648 * string/bits/string3.h: Likewise.
12649 * include/stdio.h: Likewise.
12650 * stdlib/bits/stdlib.h: Likewise.
12651 * stdlib/stdlib.h: Likewise.
12652 * rt/bits/mqueue2.h: Likewise.
12653 * rt/mqueue.h: Likewise.
12654 * posix/bits/unistd.h: Likewise.
12655 * posix/unistd.h: Likewise.
12656 * io/bits/poll2.h: Likewise.
12657 * io/bits/fcntl2.h: Likewise.
12658 * io/fcntl.h: Likewise.
12659 * io/sys/poll.h: Likewise.
12660 * misc/bits/syslog.h: Likewise.
12661 * misc/bits/syslog-ldbl.h: Likewise.
12662 * misc/sys/syslog.h: Likewise.
12663 * socket/bits/socket2.h: Likewise.
12664 * socket/sys/socket.h: Likewise.
12665 * debug/tst-chk1.c: Likewise.
12666 * wcsmbs/bits/wchar2.h: Likewise.
12667 * wcsmbs/bits/wchar-ldbl.h: Likewise.
12668 * wcsmbs/wchar.h: Likewise.
12669
ecf0ebfb
AJ
126702012-04-29 Andreas Jaeger <aj@suse.de>
12671
12672 * Makerules (tests): Remove enable-check-abi protection.
12673 (check-abi-warn): Remove.
12674 (check-abi-%): Remove check-abi-warn usage.
12675
12676 * configure.in: Remove check-abi configure option.
12677 * configure: Regenerated.
12678 * config.make.in (enable-check-abi): Remove.
12679
6d5c57fa
AS
126802012-04-28 Andreas Schwab <schwab@linux-m68k.org>
12681
24c5d07e 12682 [BZ #14033]
ded5180a
AS
12683 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
12684 double functions to double *_finite functions.
12685
7e0d315d
AS
12686 [BZ #13941]
12687 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
12688 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
12689 LDBL_MIN_EXP.
12690 * stdio-common/Makefile (tests): Add tst-sprintf3.
12691 * stdio-common/tst-sprintf3.c: New file.
12692
6d5c57fa
AS
12693 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
12694 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
12695
0749ff8b
JM
126962012-04-28 Joseph Myers <joseph@codesourcery.com>
12697
12698 * conform/conformtest.pl: Remove duplicate typed-constant
12699 handling.
12700
8dbd5d7b
DM
127012012-04-28 David S. Miller <davem@davemloft.net>
12702
12703 * Makerules (%.abilist): Add vpath on sysdep_dirs.
12704 (check-abi-%): Remove AWK script prerequisite and explicit
12705 abilist directory.
12706 (check-abi): Rewrite to just diff the symlist with the abilist.
12707 (config-tls, config-abi-config): Delete, no longer used.
12708 (update-abi-%): Remove AWK script and explicit abilist directory.
12709 (update-abi): Rewrite to simply compare and conditionally copy the
12710 symlist and the sysdep abilist file. Remove update-abi-config
12711 checks.
12712 * abilist/ld.abilist: Remove.
12713 * abilist/libBrokenLocale.abilist: Remove.
12714 * abilist/libanl.abilist: Remove.
12715 * abilist/libcrypt.abilist: Remove.
12716 * abilist/libdl.abilist: Remove.
12717 * abilist/librt.abilist: Remove.
12718 * abilist/libthread_db.abilist: Remove.
12719 * abilist/libutil.abilist: Remove.
12720 * scripts/extract-abilist.awk: Remove.
12721 * scripts/merge-abilist.awk: Remove.
12722 * sysdeps/generic/libcidn.abilist: New file.
12723 * sysdeps/generic/libnss_compat.abilist: New file.
12724 * sysdeps/generic/libnss_db.abilist: New file.
12725 * sysdeps/generic/libnss_dns.abilist: New file.
12726 * sysdeps/generic/libnss_files.abilist: New file.
12727 * sysdeps/generic/libnss_hesiod.abilist: New file.
12728 * sysdeps/generic/libnss_nis.abilist: New file.
12729 * sysdeps/generic/libnss_nisplus.abilist: New file.
12730 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
12731 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
12732 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
12733 file.
12734 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
12735 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
12736 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
12737 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
12738 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
12739 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
12740 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
12741 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
12742 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
12743 file.
12744 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
12745 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
12746 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
12747 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
12748 file.
12749 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
12750 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
12751 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
12752 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
12753 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
12754 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
12755 file.
12756 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
12757 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
12758 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
12759 file.
12760 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
12761 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
12762 New file.
12763 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
12764 New file.
12765 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
12766 New file.
12767 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
12768 New file.
12769 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
12770 New file.
12771 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
12772 New file.
12773 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
12774 New file.
12775 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
12776 New file.
12777 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
12778 New file.
12779 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
12780 New file.
12781 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
12782 New file.
12783 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
12784 New file.
12785 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
12786 New file.
12787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
12788 file.
12789 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
12790 New file.
12791 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
12792 New file.
12793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
12794 file.
12795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
12796 New file.
12797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
12798 New file.
12799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
12800 file.
12801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
12802 New file.
12803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
12804 New file.
12805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
12806 New file.
12807 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
12808 New file.
12809 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
12810 New file.
12811 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
12812 New file.
12813 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
12814 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
12815 file.
12816 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
12817 New file.
12818 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
12819 file.
12820 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
12821 file.
12822 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
12823 file.
12824 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
12825 file.
12826 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
12827 file.
12828 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
12829 New file.
12830 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
12831 file.
12832 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
12833 file.
12834 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
12835 New file.
12836 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
12837 file.
12838 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
12839 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
12840 file.
12841 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
12842 New file.
12843 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
12844 file.
12845 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
12846 file.
12847 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
12848 file.
12849 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
12850 file.
12851 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
12852 file.
12853 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
12854 New file.
12855 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
12856 file.
12857 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
12858 file.
12859 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
12860 New file.
12861 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
12862 file.
12863 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
12864 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
12865 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
12866 file.
12867 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
12868 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
12869 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
12870 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
12871 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
12872 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
12873 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
12874 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
12875 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
12876 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
12877 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
12878 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
12879 file.
12880 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
12881 New file.
12882 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
12883 file.
12884 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
12885 file.
12886 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
12887 file.
12888 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
12889 file.
12890 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
12891 file.
12892 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
12893 New file.
12894 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
12895 New file.
12896 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
12897 file.
12898 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
12899 New file.
12900 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
12901 file.
12902 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
12903 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
12904 file.
12905 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
12906 New file.
12907 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
12908 file.
12909 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
12910 file.
12911 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
12912 file.
12913 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
12914 file.
12915 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
12916 file.
12917 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
12918 New file.
12919 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
12920 New file.
12921 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
12922 file.
12923 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
12924 New file.
12925 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
12926 file.
12927
41d73a1b
JM
129282012-04-28 Joseph Myers <joseph@codesourcery.com>
12929
12930 * conform/conformtest.pl: Fix typo in handling typed-constant from
12931 allow-header.
12932
28aeeda4
JM
129332012-04-27 Joseph Myers <joseph@codesourcery.com>
12934
adae8f5e
JM
12935 * README: Cut down references to pre-2.6 Linux kernels and
12936 Linuxthreads. Update lists of configurations in libc and ports
12937 and sort alphabetically. Say "or newer" with Linux kernel version
12938 requirements.
12939
28aeeda4
JM
12940 * config.h.in [IS_IN_build]: Allow compiling without optimization.
12941
a462cb63
RA
129422012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12943
12944 [BZ #887]
12945 * math/libm-test.inc (logb_test_downward): New test to expose
12946 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
12947 rounding mode.
12948
6ad3493e
JM
129492012-04-27 Joseph Myers <joseph@codesourcery.com>
12950
12951 [BZ #14027]
12952 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
12953 to be done.
12954 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
12955 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
12956
2ce4f015
JM
129572012-04-26 Joseph Myers <joseph@codesourcery.com>
12958
5aeb141a
JM
12959 * sysdeps/unix/i386/brk.S: Remove file.
12960 * sysdeps/unix/i386/dl-brk.S: Likewise.
12961 * sysdeps/unix/i386/pipe.S: Likewise.
12962 * sysdeps/unix/i386/sigreturn.S: Likewise.
12963 * sysdeps/unix/i386/syscall.S: Likewise.
12964 * sysdeps/unix/i386/vfork.S: Likewise.
12965 * sysdeps/unix/i386/wait.S: Likewise.
12966
7143acae
JM
12967 * sysdeps/unix/common/tcsendbrk.c: Move to ...
12968 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
12969
2ce4f015
JM
12970 * configure.in (arm*-none*): Do not allow without
12971 --enable-hacker-mode.
12972 (netbsd*): Remove case setting base_os.
12973 (386bsd*): Likewise.
12974 (freebsd*): Likewise.
12975 (bsdi*): Likewise.
12976 (osf*): Likewise.
12977 (sunos*): Likewise.
12978 (ultrix*): Likewise.
12979 (newsos*): Likewise.
12980 (dynix*): Likewise.
12981 (*bsd*): Likewise.
12982 (sysv*): Likewise.
12983 (isc*): Likewise.
12984 (esix*): Likewise.
12985 (sco*): Likewise.
12986 (minix*): Likewise.
12987 (irix4*): Likewise.
12988 (irix6*): Likewise.
12989 (solaris[2-9]*): Likewise.
12990 (none): Likewise.
12991 * configure: Regenerated.
12992
0ac229c8
AZ
129932012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12994
12995 [BZ #11521]
12996 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
12997 overflow or cancellation in calculating denominator.
12998 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
12999 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
13000 down expression to avoid unexpected rounding in newer GCCs.
13001 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
13002
33f244f4
DM
130032012-04-26 David S. Miller <davem@davemloft.net>
13004
13005 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
13006 long-double compat symbols.
13007 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
13008 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
13009 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
13010 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
13011 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
13012 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
13013 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
13014 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
13015 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
13016 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
13017 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
13018 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
13019 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
13020
cfa1f3e8
DM
130212012-04-25 David S. Miller <davem@davemloft.net>
13022
13023 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
13024 HWCAP_* values only after the memory barriers have been defined.
13025 (atomic_full_barrier): Define.
13026 (atomic_read_barrier): Define.
13027 (atomic_write_barrier): Define.
13028
6e236b92
SP
130292012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13030
13031 * shlib-versions: Add libgcc_s version information.
13032 * sysdeps/generic/libgcc_s.h: Remove.
13033 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
13034 libgcc_s.h.
13035 * sysdeps/gnu/unwind-resume.c: Likewise.
13036 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
13037
aab39a09
DM
130382012-04-25 David S. Miller <davem@davemloft.net>
13039
13040 * sysdeps/unix/sparc/brk.S: Delete.
13041 * sysdeps/unix/sparc/dl-brk.S: Delete.
13042 * sysdeps/unix/sparc/pipe.S: Delete.
13043 * sysdeps/unix/sparc/sysdep.S: Delete.
13044 * sysdeps/unix/sparc/sysdep.h: Delete.
13045 * sysdeps/unix/sparc/vfork.S: Delete.
13046 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
13047 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
13048 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
13049 ret_ERRVAL, r0, r1, MOVE): Define.
13050 (JUMPTARGET): Remove.
13051 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
13052 sysdeps/unix/sparc/sysdep.h
13053 (ENTRY, END): Remove.
13054 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
13055
a3cc4f48
JM
130562012-04-25 Joseph Myers <joseph@codesourcery.com>
13057
2ed8cda2
JM
13058 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
13059 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
13060 -DIS_IN_build.
13061
35d76d59
JM
13062 * timezone/README: Update upstream location and email address for
13063 tzcode and tzdata.
13064 * timezone/zdump.c: Update from tzcode 2012b.
13065 * timezone/zic.c: Likewise.
13066
a3cc4f48
JM
13067 * configure.in (libc_cv_as_needed): Remove test.
13068 * configure: Regenerated.
13069 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
13070 conditional definition.
13071 [$(have-as-needed) != yes] (no-as-needed): Likewise.
13072 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
13073 * config.make.in (have-as-needed): Remove variable.
13074
ceab42c3
SP
130752012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
13076 Paul Pluzhnikov <ppluzhnikov@google.com>
13077
13078 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
13079 strings correctly.
13080
3ce2865f
CLT
130812012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
13082
13083 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
13084 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
13085 * sysdeps/sh/strlen.S: Likewise.
13086
f37e0d68
JM
130872012-04-24 Joseph Myers <joseph@codesourcery.com>
13088
ae186e9a
JM
13089 * sysdeps/unix/fork.S: Remove file.
13090 * sysdeps/unix/i386/fork.S: Likewise.
13091 * sysdeps/unix/sparc/fork.S: Likewise.
13092
b96914af
JM
13093 * sysdeps/unix/system.c: Remove file.
13094 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
13095
f37e0d68
JM
13096 * sysdeps/unix/getegid.S: Remove file.
13097 * sysdeps/unix/geteuid.S: Likewise.
13098
87ef29ca
RM
130992012-04-24 Roland McGrath <roland@hack.frob.com>
13100
83bcd236
RM
13101 * scripts/check-localplt.awk: New file.
13102 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
13103 of diff.
13104 * scripts/data/localplt-generic.data: Add a comment.
13105
87ef29ca
RM
13106 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
13107 NODE when __dir_mkfile failed.
13108 * sysdeps/mach/hurd/symlinkat.c: Likewise.
13109 Reported by Ludovic Courtès <ludo@gnu.org>.
13110
e5a6e567
AJ
131112012-04-24 Andreas Jaeger <aj@suse.de>
13112
13113 * Makerules (common-clean): Also remove gen-as-const-headers
13114 files.
13115
c1820385
JM
131162012-04-24 Joseph Myers <joseph@codesourcery.com>
13117
13118 * Makerules (native-compile): Do not change working directory for
13119 build. Use $(OUTPUT_OPTION) in command.
13120 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
13121
94e02fc4
AZ
131222012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13123
13124 [BZ #13886]
13125 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
13126 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
13127 * math/libm-test.inc (floor_test): Add more tests.
13128 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
13129
3a533ca3
JM
131302012-04-24 Joseph Myers <joseph@codesourcery.com>
13131
940ab4b3
JM
13132 * sysdeps/unix/getdents.c: Remove file.
13133 * sysdeps/unix/sysv/getdents.c: Likewise.
13134 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
13135
90e037bd
JM
13136 * sysdeps/unix/syscalls.list (madvise): Add syscall from
13137 sysdeps/unix/mman/syscalls.list.
13138 (mmap): Likewise.
13139 (mprotect): Likewise.
13140 (msync): Likewise.
13141 (munmap): Likewise.
13142 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
13143 * sysdeps/unix/mman/syscalls.list: Remove.
13144 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
13145
3a533ca3
JM
13146 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
13147 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
13148 * configure: Regenerated.
13149 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
13150 $(libgcc_s_suffix).
13151 * config.make.in (libgcc_s_suffix): Remove variable.
13152
1ad743de
JM
131532012-04-23 Joseph Myers <joseph@codesourcery.com>
13154
4ad451e2
JM
13155 * sysdeps/unix/sysv/gethostname.c: Move to ...
13156 * sysdeps/posix/gethostname.c: ... here.
13157
5e37ce39
JM
13158 * sysdeps/unix/execve.S: Remove file.
13159
1ad743de
JM
13160 * sysdeps/unix/_exit.S: Remove file.
13161
4e681b5b
AJ
131622012-04-23 Andreas Jaeger <aj@suse.de>
13163
13164 [BZ #13739]
13165 * manual/Makefile: Remove make dist support, there's no
13166 need for a stand-alone documentation tar ball.
13167 (TEXI2DVI): Define always, it's not in Makeconfig.
13168 (dist): Removed.
13169 (tar-it): Removed.
13170 (edition): Removed.
13171 (glibc-doc-$(edition).tar): Removed
13172 (%.Z): Removed.
13173 (%.gz): Removed.
13174 (%.uu): Removed.
13175 (ETAGS): Remove, it's in Makeconfig.
13176 (move-if-change): Remove, it's in Makeconfig.
13177
38686a03 131782012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
13179
13180 [BZ #13970]
13181 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
13182 (strtod, strtof, strtold, strtol, strtoul, strtoq)
13183 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
13184 (strtod_l, strtof_l, strtold_l): Remove __wur.
13185 It is not necessarily an error to ignore strtol's return value.
13186 One can reliably look at the stored endptr to decide whether
13187 the number had valid syntax.
13188
7c0616fa
AJ
131892012-04-21 Andreas Jaeger <aj@suse.de>
13190
803cb6b7 13191 [BZ #13739]
7c0616fa
AJ
13192 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
13193
b0fe253f
JM
131942012-04-21 Joseph Myers <joseph@codesourcery.com>
13195
13196 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
13197 * sysdeps/unix/sysv/Versions: Remove file.
13198
8280f22d
MT
131992012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
13200
13201 [BZ #13927]
13202 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13203
75ce411f 132042012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
13205
13206 [BZ #7064]
13207 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
13208 version from __vm86.
13209
097d59fa
JM
132102012-04-20 Joseph Myers <joseph@codesourcery.com>
13211
a90f3bcb
JM
13212 * sysdeps/unix/common/lxstat.c: Remove file.
13213 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
13214
edc7ea78
JM
13215 * sysdeps/unix/sysv/Makefile: Remove file.
13216
cb78c221
JM
13217 * sysdeps/unix/sysv/direct.h: Remove file.
13218
efa6a45f
JM
13219 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
13220 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
13221 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
13222 * sysdeps/unix/sysv/bits/signum.h: Likewise.
13223 * sysdeps/unix/sysv/bits/stat.h: Likewise.
13224 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
13225 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
13226
9c9f2d0c
JM
13227 * sysdeps/unix/sysv/setrlimit.c: Remove file.
13228
4541c83b
JM
13229 * sysdeps/unix/xmknod.c: Remove file.
13230 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
13231
f5d153a0
JM
13232 * sysdeps/unix/sysv/settimeofday.c: Remove file.
13233
aa746595
JM
13234 * sysdeps/unix/sysv/i386/time.S: Remove file.
13235
cce5905e
JM
13236 * sysdeps/unix/fxstat.c: Remove file.
13237 * sysdeps/unix/xstat.c: Likewise.
13238 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
13239
37fa3841
JM
13240 * sysdeps/unix/sysv/sigaction.c: Remove file.
13241
ff1962a3
JM
13242 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
13243 (sysdep_headers): Remove variable.
13244 [termio.h not in sysdep_headers] (generated): Likewise.
13245 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
13246 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
13247 * sysdeps/unix/sysv/tcdrain.c: Likewise.
13248 * sysdeps/unix/sysv/tcflow.c: Likewise.
13249 * sysdeps/unix/sysv/tcflush.c: Likewise.
13250 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
13251 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
13252 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
13253 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
13254 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
13255
e7740d31
JM
13256 * sysdeps/unix/siglist.c: Remove file.
13257
ee06f18b
JM
13258 * sysdeps/unix/getppid.S: Remove file.
13259
097d59fa
JM
13260 * sysdeps/unix/mkdir.c: Remove file.
13261 * sysdeps/unix/rmdir.c: Likewise.
13262
ff3d51ec
AS
132632012-04-19 Andreas Schwab <schwab@linux-m68k.org>
13264
13265 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
13266 ERR_MAX value.
13267 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
13268 errlist-compat value.
13269
50f81fd7
DM
132702012-04-18 David S. Miller <davem@davemloft.net>
13271
13272 * sysdeps/generic/memcopy.h (reg_char): Delete.
13273 * debug/strcat_chk.c: Use char, not reg_char.
13274 * debug/strcpy_chk.c: Likewise.
13275 * debug/strncat_chk.c: Likewise.
13276 * debug/strncpy_chk.c: Likewise.
13277 * string/memchr.c: Likewise.
13278 * string/memrchr.c: Likewise.
13279 * string/rawmemchr.c: Likewise.
13280 * string/strcat.c: Likewise.
13281 * string/strchr.c: Likewise.
13282 * string/strchrnul.c: Likewise.
13283 * string/strcmp.c: Likewise.
13284 * string/strcpy.c: Likewise.
13285 * string/strncat.c: Likewise.
13286 * string/strncmp.c: Likewise.
13287 * string/strncpy.c: Likewise.
13288
8ff41c46
WS
132892012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
13290
13291 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
13292 __builtin_memcopy is called when src and dest ranges are known to not
13293 overlap.
13294
6b652f46
WS
132952012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
13296
13297 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
13298 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
13299 fwd_align_merge macro call.
13300 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
13301 bwd_align_merge macro call.
13302 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
13303
b282631e
WS
133042012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
13305
13306 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
13307 bwd_align_merge macros.
13308 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
13309 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
13310 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
13311
95aa737c
DM
133122012-04-18 David S. Miller <davem@davemloft.net>
13313
13314 * sysdeps/sparc/sparc64/memcopy.h: Delete.
13315
7a99a614
AJ
133162012-04-18 Andreas Jaeger <aj@suse.de>
13317
13318 [BZ# 6794]
13319 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
13320 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
13321 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
13322
13323 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
13324 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
13325 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
13326
13327 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
13328 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
13329 Adjust for changed ldbl-128 files.
13330
13331 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
13332 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
13333 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
13334
e5270c23
DM
133352012-04-17 David S. Miller <davem@davemloft.net>
13336
13337 * sysdeps/sparc/sparc32/memcopy.h: Delete.
13338
fb5e92c9
AS
133392012-04-17 Andreas Schwab <schwab@linux-m68k.org>
13340
13341 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
13342 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
13343 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
13344 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
13345 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
13346 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
13347
76da7265
AZ
133482012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13349
13350 [BZ #6794]
13351 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
13352 * math/libm-test.inc: Add ilogb errno and exception tests.
13353 * math/w_ilogb.c: New file: ilogb wrapper.
13354 * math/w_ilogbf.c: New file: ilogbf wrapper.
13355 * math/w_ilogbl.c: New file: ilogbl wrapper.
13356 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
13357 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
13358 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
13359 exception being thrown with 0.0 as argument.
13360 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
13361 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
13362 exception being thrown with 0.0 as argument.
13363 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
13364 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
13365 exception being thrown with 0.0 as argument.
13366 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
13367 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
13368 exception being thrown with 0.0 as argument.
13369 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
13370 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 13371 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
13372 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
13373 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
13374 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
13375 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
13376 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
13377 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
13378
0396e69d
PB
133792012-04-17 Petr Baudis <pasky@ucw.cz>
13380
13381 * include/sys/uio.h: Change __vector to __iovec to avoid clash
13382 with altivec.
13383
750b5926
MP
133842012-04-16 Marek Polacek <polacek@redhat.com>
13385
13386 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
13387
751728a1
MP
133882012-04-16 Marek Polacek <polacek@redhat.com>
13389
13390 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
13391 operands of fdivp instruction.
13392
34a27407
L
133932012-04-13 H.J. Lu <hongjiu.lu@intel.com>
13394
13395 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
13396 * elf/tst-auditmod3b.c: Likewise.
13397 * elf/tst-auditmod4b.c: Likewise.
13398 * elf/tst-auditmod5b.c: Likewise.
13399 * elf/tst-auditmod6b.c: Likewise.
13400 * elf/tst-auditmod6c.c: Likewise.
13401 * elf/tst-auditmod7b.c: Likewise.
13402 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
13403 * sysdeps/x86_64/preconfigure.in: Likewise.
13404 * sysdeps/x86_64/preconfigure: Regenerated.
13405
7e73e17d
L
134062012-04-13 H.J. Lu <hongjiu.lu@intel.com>
13407
13408 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
13409 __ILP32__.
13410
c7a6ab72
AB
134112012-04-13 Antoine Balestrat <merkil33@gmail.com>
13412
13413 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
13414 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
13415
a9e8e0e0
CL
134162012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
13417
13418 [BZ #13973]
13419 * locale/iso-639.def: Fix gl language name. Spotted by
13420 Yaron Shahrabani.
13421
ec98af7d
RM
134222012-04-12 Roland McGrath <roland@hack.frob.com>
13423
13424 [BZ #2074]
13425 * libio/libio.h (__io_write_fn): Update comment.
13426
247c3ede
PB
134272012-04-12 Petr Baudis <pasky@ucw.cz>
13428
13429 [BZ #2074]
13430 * stdio.texi (Hook Functions): The user provided writer function
13431 is not allowed to return -1.
13432
55939d6d
DM
134332012-04-11 David S. Miller <davem@davemloft.net>
13434
13435 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13436
90020f5a
MF
134372012-04-11 Mike Frysinger <vapier@gentoo.org>
13438
13439 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
13440 Add a leading slash to rtkaio.
13441
288f9098
JM
134422012-04-11 Jim Meyering <meyering@redhat.com>
13443
90020f5a
MF
13444 [BZ #11959]
13445 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
13446 It is not necessarily an error to ignore fwrite's return
13447 value. One can reliably use ferror to test for errors after
13448 the fact.
288f9098 13449
4be2b570
L
134502012-04-10 H.J. Lu <hongjiu.lu@intel.com>
13451
13452 * bits/types.h (__snseconds_t): New type.
13453 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
13454
13455 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
13456 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13457 (__SNSECONDS_T_TYPE): Likewise.
13458 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13459 (__SNSECONDS_T_TYPE): Likewise.
13460 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13461 (__SNSECONDS_T_TYPE): Likewise.
13462
288f9098 134632012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
13464
13465 [BZ #2636]
13466 * manual/time.texi (Processor Time): Return type of times is
13467 elapsed real time since an arbitrary point in the past.
13468 (CPU Time): Move CLK_TCK from here...
13469 (Processor Time): ...to here. Correct description.
13470 * manual/conf.texi (Constants for Sysconf): Correct description of
13471 _SC_CLK_TCK.
13472
d7dd4413
DM
134732012-04-10 David S. Miller <davem@davemloft.net>
13474
13475 [BZ #13967]
13476 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
13477 where the is a gap between DT_REL(A) and DT_JMPREL.
13478
b46068fc
L
134792012-04-10 H.J. Lu <hongjiu.lu@intel.com>
13480
13481 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
13482 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
13483 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
13484
73d65cc3
SP
134852012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
13486
13487 * elf/dl-support.c (_dl_inhibit_cache): New variable.
13488 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
13489 (dl_main): Handle --inhibit-cache.
13490 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
13491 _dl_inhibit_cache.
13492 * elf/dl-load.c (_dl_map_object): Use it.
13493 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
13494
bcc8d661
JM
134952012-04-09 Joseph Myers <joseph@codesourcery.com>
13496
8f9a2fae
JM
13497 [BZ #13872]
13498 * sysdeps/i386/fpu/e_powl.S (p78): New object.
13499 (__ieee754_powl): Saturate large exponents rather than testing for
13500 overflow of y*log2(x).
13501 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
13502 * math/libm-test.inc (pow_test): Do not permit spurious overflow
13503 exceptions.
13504
bcc8d661
JM
13505 [BZ #11521]
13506 * math/s_ctan.c: Include <float.h>.
13507 (__ctan): Avoid internal overflow or cancellation in calculating
13508 denominator.
13509 * math/s_ctanf.c: Likewise.
13510 * math/s_ctanl.c: Likewise.
13511 * math/s_ctanh.c: Likewise.
13512 * math/s_ctanhf.c: Likewise.
13513 * math/s_ctanhl.c: Likewise.
13514 * math/libm-test.inc (ctan_test): Add more tests.
13515 (ctanh_test): Likewise.
13516 * sysdeps/i386/fpu/libm-test-ulps: Update.
13517 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13518
823fbbb4
AJ
135192012-04-09 Andreas Jaeger <aj@suse.de>
13520
03879793
AJ
13521 [BZ #6894]
13522 * manual/filesys.texi (Directory Entries): Mention that d_namlen
13523 is an optional BSD extension.
13524
823fbbb4
AJ
13525 [BZ #10254]
13526 * manual/stdio.texi (Opening Streams): Document additional fopen
13527 parameters.
13528
8de131cb
RM
135292012-04-09 Roland McGrath <roland@hack.frob.com>
13530
13531 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
13532 %eax without telling the compiler.
13533
c0ed9d7d
CD
135342012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
13535
13536 [BZ # 13963]
13537 * manual/install.texi: Use sourceware.org.
13538
c483f6b4
JM
135392012-04-09 Joseph Myers <joseph@codesourcery.com>
13540
d7dd9453
JM
13541 [BZ #13873]
13542 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
13543 (__ieee754_pow): Generate overflow and underflow using huge*huge
13544 and tiny*tiny rather than just returning constant infinity or zero
13545 for large exponents.
13546 * math/libm-test.inc (pow_test): Require overflow exceptions for
13547 applicable cases of large exponents.
13548
c483f6b4
JM
13549 [BZ #706]
13550 * sysdeps/i386/fpu/e_pow.S (p10): New object.
13551 (__ieee754_pow): Use iterative multiplication algorithm only for
13552 integer exponents with absolute value below 1024. Check for odd
13553 integer exponents when using algorithm for real exponents.
13554 * math/libm-test.inc (pow_test): Add more tests.
13555 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13556
d2de7579
JM
135572012-04-08 Joseph Myers <joseph@codesourcery.com>
13558
13559 [BZ #13705]
13560 * math/libm-test.inc (exp_test): Do not allow overflow exception
13561 on underflow test.
13562
f77f1232
AJ
135632012-04-08 Aurelien Jarno <aurelien@aurel32.net>
13564
13565 [BZ #13705]
13566 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
13567 instead of __kernel_standard_f.
13568
3884932b
MF
135692012-04-08 Mike Frysinger <vapier@gentoo.org>
13570
13571 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
13572 * sysdeps/x86_64/memset_chk.S: Likewise.
13573
54472e9c
AJ
135742012-04-08 Andreas Jaeger <aj@suse.de>
13575
6ab0fbfc
AJ
13576 [BZ #10153]
13577 * manual/startup.texi (Environment Access): Describe return value
13578 for putenv and setenv.
13579
61efba8c
AJ
13580 [BZ #6895]
13581 * manual/filesys.texi (Directory Entries): Add description for
13582 DT_LNK.
13583
95c3f29a
AJ
13584 [BZ #6890]
13585 * manual/filesys.texi (Directory Entries): Clarify that it's file
13586 system not operating system in the description of DT_UNKNOWN.
13587
54472e9c
AJ
13588 [BZ #6578]
13589 * manual/syslog.texi (closelog): Fix reference, it's openlog.
13590
624254b1
SC
135912012-04-08 Stephen Compall <s11@member.fsf.org>
13592
13593 [BZ #6649]
13594 * manual/llio.texi (Opening and Closing Files): Add cross
13595 reference to explain mode argument.
13596
1e4920e0
MF
135972012-04-07 Mike Frysinger <vapier@gentoo.org>
13598
13599 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
13600 * sysdeps/x86_64/memset_chk.S: Likewise.
13601
5ed848f3
DM
136022012-04-07 David S. Miller <davem@davemloft.net>
13603
13604 * elf/elf.h (R_SPARC_WDISP10): Define.
13605 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
13606 R_SPARC_SIZE32.
13607 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
13608 R_SPARC_SIZE64 and R_SPARC_H34.
13609
96154cd8
CD
136102012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
13611
13612 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
13613 conditions and remove no longer applicable assertion.
13614
9904dc47
L
136152012-04-06 H.J. Lu <hongjiu.lu@intel.com>
13616
13617 * bits/byteswap.h: Include <features.h>.
13618 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
13619 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
13620
f8887d0a
L
136212012-04-06 H.J. Lu <hongjiu.lu@intel.com>
13622
13623 * bits/byteswap.h (__bswap_16): Removed.
13624 Include <bits/byteswap-16.h> to get __bswap_16.
13625 * sysdeps/i386/bits/byteswap.h: Likewise.
13626 * sysdeps/s390/bits/byteswap.h: Likewise.
13627 * sysdeps/x86_64/bits/byteswap.h: Likewise.
13628 * bits/byteswap-16.h: New file.
13629 * sysdeps/i386/bits/byteswap-16.h: Likewise.
13630 * sysdeps/s390/bits/byteswap-16.h: Likewise.
13631 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
13632 * string/Makefile (headers): Add bits/byteswap-16.h.
13633
62470f60
PP
136342012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
13635
13636 [BZ #13895]
13637 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
13638 extra indirection.
13639 * nss/Makefile (tests-static, tests): Add tst-nss-static.
13640 * nss/tst-nss-static.c: New.
13641
4dad7bab
RM
136422012-04-06 Robert Millan <rmh@gnu.org>
13643
13644 [BZ #6486]
13645 * manual/llio.texi (File Position Primitive): lseek
13646 refers to WHENCE when it really means OFFSET.
13647
e9142a17
AJ
136482012-04-06 Andreas Jaeger <aj@suse.de>
13649
2c040eff
AJ
13650 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
13651 strncmp declarations.
13652
e9142a17
AJ
13653 * abilist/libc.abilist: Add __poll and __ppoll.
13654
ff9f1c5f
DM
136552012-04-05 David S. Miller <davem@davemloft.net>
13656
dcd2ae90
DM
13657 * scripts/check-local-headers.sh: Accept a host triplet in the
13658 path matched by the exclude regexp.
13659
993eb054
DM
13660 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
13661 definition.
13662 * sysdeps/powerpc/powerpc32/dl-machine.h
13663 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
13664 * sysdeps/s390/s390-32/dl-machine.h
13665 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
13666 * sysdeps/sparc/sparc32/dl-machine.h
13667 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
13668 * sysdeps/sparc/sparc64/dl-machine.h
13669 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
13670
ff9f1c5f
DM
13671 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
13672 lazy binding.
48e2e132 13673 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
13674 undefined symbol errors.
13675
48e2e132 13676 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
13677 DT_NEEDED entries.
13678
e80d6f94
MM
136792012-04-05 Michael Matz <matz@suse.de>
13680
13681 [BZ #13592]
13682 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
13683
349fa79f
AJ
136842012-04-05 Andreas Jaeger <aj@suse.de>
13685
13686 [BZ #13908]
13687 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
13688 comment.
13689
f402708f
KK
136902012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
13691
13692 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
13693 which ROUND is no valid rounding mode.
13694
2ecccfc9
KK
136952012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
13696
13697 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
13698 read again.
13699 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
13700
8a53f50f
KK
137012012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
13702
13703 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
13704 an exception using FPU order intentionally.
13705
137062012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
13707
13708 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
13709 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
13710 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
13711 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
13712
d653abb7
SJ
137132012-04-05 Simon Josefsson <simon@josefsson.org>
13714
13715 [BZ #12340]
13716 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
13717 EINVAL when BUFLEN is too smal.
13718
c3b1bf7d
TS
137192012-04-05 Thomas Schwinge <thomas@codesourcery.com>
13720
13721 [BZ #13553]
13722 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
13723 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
13724
b1aa60f3
AJ
137252012-04-03 Andreas Jaeger <aj@suse.de>
13726
c3b1bf7d 13727 [BZ #13938]
67f60a26
AJ
13728 * manual/setjmp.texi (System V contexts): Fix sentence.
13729
b1aa60f3
AJ
13730 [BZ #13926]
13731 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
13732 New macro for this case.
13733 [!__GNUC__] (__bswap_64): New inline function for this case.
13734 * sysdeps/x86_64/bits/byteswap.h: Likewise.
13735 * bits/byteswap.h: Likewise.
13736 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
13737 ull, guard with __GLIBC_HAVE_LONG_LONG.
13738
13739 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
13740 __GLIBC_HAVE_LONG_LONG.
13741
13742 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
13743 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
13744
39c59c35
TMQMF
137452012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13746
13747 [BZ #13691]
13748 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
13749 inptr and inend, rather than using last_ch.
13750
135ffda8
DM
137512012-04-02 David S. Miller <davem@davemloft.net>
13752
13753 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
13754 * stdio-common/printf-parse.h (read_int): Change return type to
13755 'int', return -1 on INT_MAX overflow.
13756 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
13757 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
13758 overflows INT_MAX. Check for overflow of in-format-string precision
13759 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
13760 SIZE_MAX not INT_MAX for integer overflow test.
13761 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
13762 skip the construct in the format string but do not record anything.
13763 * stdio-common/bug22.c: Adjust to test both width/prevision
13764 INT_MAX overflow as well as total length INT_MAX overflow. Check
13765 explicitly for proper errno values.
13766
228c019e
TS
137672012-04-02 Thomas Schwinge <thomas@codesourcery.com>
13768
302cadd3
TS
13769 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
13770 CHAR_MAX.
13771 * string/test-strcmp.c [! WIDE]: Likewise.
13772 * time/tst-mktime2.c: Likewise for INT_MAX.
13773 * string/test-string.h: #include <sys/param.h> for MIN.
13774
228c019e
TS
13775 * csu/init-first.c (__libc_init_first): Call __ctype_init.
13776 * sysdeps/i386/init-first.c (init): Likewise.
13777 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
13778 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
13779 * sysdeps/sh/init-first.c (init): Likewise.
13780
cfa633f5
UD
137812012-04-01 Ulrich Drepper <drepper@gmail.com>
13782
13783 * po/ru.po: Update from translation team.
d1635ef8 13784 * po/vi.po: Likewise.
cfa633f5 13785
6cd0a5ea
SP
137862012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
13787
13788 * resolv/nss_dns/dns-host.c: Merge copyright years.
13789
4b43400f
LD
137902012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13791
13792 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
13793 Optimize memcpy with prefetch if
13794 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
13795 src, dst pointers have unequal 16 byte alignments.
13796
48c41d04
SP
137972012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
13798
13799 [BZ #13928]
13800 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
13801 from a CNAME entry and return the minimum ttl for the query.
13802 (gaih_getanswer_slice): Likewise.
13803
b8dc394d
JL
138042012-03-30 Jeff Law <law@redhat.com>
13805
13806 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
13807 due to long keys.
13808 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
13809 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
13810
2f5a5ed0
JL
13811 * resolv/nss_dns/dns-host.c: Update copyright year.
13812
1d39e359
UD
138132012-03-30 Ulrich Drepper <drepper@gmail.com>
13814
c030f70c 13815 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 13816 requests to save a system call. Fix check that all bytes are sent.
c030f70c 13817
1d39e359
UD
13818 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
13819 comments for sendmmsg.
13820
138212012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
13822
13823 [BZ #13691]
13824 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
13825 with only 1 character between 0x0041 and 0x01b0.
13826 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
13827 * wcsmbs/tst-mbsnrtowcs.c: New file.
13828
20fde227
DM
138292012-03-29 David S. Miller <davem@davemloft.net>
13830
13831 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
13832 small copies by hand.
13833
984a4237
JL
138342012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13835
13836 [BZ #13761]
13837 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
13838 _nss_compat_initgroups_dyn): Fall back to malloc/free
13839 for large group memberships.
13840
18c9d62b
DM
138412012-03-28 David S. Miller <davem@davemloft.net>
13842
88d85d4f
DM
13843 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
13844 that branches into memcpy.
13845 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
13846 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
13847 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
13848 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
13849 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
13850 bits.
13851 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
13852 implementation too.
13853 * sysdeps/sparc/mempcpy.S: New file.
13854
e5aa83e1
DM
13855 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
13856 the IFUNC routine in the libc case.
13857 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
13858
88570753
DM
13859 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
13860 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
13861 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
13862 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
13863 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
13864 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
13865 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
13866 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
13867
249d7567
DM
13868 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
13869 loop to 256 bytes instead of 64 bytes and fix test signedness.
13870
18c9d62b
DM
13871 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
13872 * sysdeps/sparc/sparc32/Makefile: rather than here...
13873 * sysdeps/sparc/sparc64/Makefile: and here.
13874
05f3d1f6
UD
138752012-03-28 Ulrich Drepper <drepper@gmail.com>
13876
13877 * malloc/mallocbug.c: Avoid warnings about unused variables.
13878
86ae07a8
JL
138792012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
13880
13881 [BZ #13760]
13882 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
13883 in the right place. Discard and retry query if response is
13884 larger than input buffer size.
13885
41bf21a1
JM
138862012-03-28 Joseph Myers <joseph@codesourcery.com>
13887
d6270972
JM
13888 [BZ #369]
13889 [BZ #2678]
13890 [BZ #3866]
13891 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
13892 x for large integer exponent.
13893 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
13894 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
13895 sign of result as needed afterwards.
13896 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
13897 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
13898 result for underflowing pow the same as for overflow.
13899 (__kernel_standard_l): Handle powl overflow and underflow here
13900 rather than calling __kernel_standard.
13901 * math/libm-test.inc (pow_test): Add more tests.
13902
414fca03 13903 [BZ #3868]
41bf21a1
JM
13904 [BZ #13879]
13905 [BZ #13910]
13906 [BZ #13911]
13907 [BZ #13912]
13908 [BZ #13913]
13909 [BZ #13915]
13910 [BZ #13916]
13911 [BZ #13917]
13912 [BZ #13918]
13913 [BZ #13919]
13914 [BZ #13920]
13915 [BZ #13921]
13916 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
13917 * sysdeps/ieee754/k_standard.c: Include <float.h>.
13918 (__kernel_standard_l): New function.
13919 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
13920 __kernel_standard.
13921 * math/w_acosl.c (__acosl): Likewise.
13922 * math/w_asinl.c (__asinl): Likewise.
13923 * math/w_atan2l.c (__atan2l): Likewise.
13924 * math/w_atanhl.c (__atanhl): Likewise.
13925 * math/w_coshl.c (__coshl): Likewise.
13926 * math/w_exp10l.c (__exp10l): Likewise.
13927 * math/w_exp2l.c (__exp2l): Likewise.
13928 * math/w_fmodl.c (__fmodl): Likewise.
13929 * math/w_hypotl.c (__hypotl): Likewise.
13930 * math/w_j0l.c (__j0l, __y0l): Likewise.
13931 * math/w_j1l.c (__j1l, __y1l): Likewise.
13932 * math/w_jnl.c (__jnl, __ynl): Likewise.
13933 * math/w_lgammal.c (__lgammal): Likewise.
13934 * math/w_log10l.c (__log10l): Likewise.
13935 * math/w_log2l.c (__log2l): Likewise.
13936 * math/w_logl.c (__logl): Likewise.
13937 * math/w_powl.c (__powl): Likewise.
13938 * math/w_remainderl.c (__remainderl): Likewise.
13939 * math/w_scalbl.c (sysv_scalbl): Likewise.
13940 * math/w_sinhl.c (__sinhl): Likewise.
13941 * math/w_sqrtl.c (__sqrtl): Likewise.
13942 * math/w_tgammal.c (__tgammal): Likewise.
13943 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
13944 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
13945 * math/libm-test.inc (acos_test): Add more tests.
13946 (acosh_test): Likewise.
13947 (asin_test): Likewise.
13948 (atanh_test): Likewise.
13949 (exp_test): Likewise.
13950 (exp10_test): Likewise.
13951 (exp2_test): Likewise.
13952 (expm1_test): Likewise.
13953 (lgamma_test): Likewise.
13954 (log_test): Likewise.
13955 (log10_test): Likewise.
13956 (log1p_test): Likewise.
13957 (log2_test): Likewise.
13958 (pow_test): Do not allow some spurious overflow exceptions.
13959 (sqrt_test): Add more tests.
13960 (tgamma_test): Likewise.
13961 (y0_test): Likewise.
13962 (y1_test): Likewise.
13963 (yn_test): Likewise.
13964
dd62fda6
AB
139652012-03-27 Anton Blanchard <anton@samba.org>
13966
13967 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
13968 MAP_HUGETLB.
13969 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
13970 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
13971 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
13972
1e3cdfda
AJ
139732012-03-27 David S. Miller <davem@davemloft.net>
13974
b855ab85
DM
13975 * conform/Makefile: Run run-conformtest.sh using $(BASH).
13976
1e3cdfda
AJ
13977 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
13978 have-as-vis3 check.
13979
139802012-03-27 Andreas Jaeger <aj@suse.de>
13981
13982 * sysdeps/x86_64/elf/configure.in: Moved to ...
13983 * sysdeps/x86_64/configure.in: ... here.
13984 * sysdeps/x86_64/elf/start.S: Moved to ...
13985 * sysdeps/x86_64/start.S: ... here.
13986 * sysdeps/x86_64/elf/configure: Delete.
13987
13988 * sysdeps/x86_64/configure.in: Merge contents from
13989 sysdeps/i386/configure.in (without i686 check).
13990
13991 * sysdeps/i386/elf/Versions: Merge into ...
13992 * sysdeps/i386/Versions: ... this.
13993 * sysdeps/i386/elf/Versions: Delete file.
13994 * sysdeps/i386/elf/start.S: Moved to ...
13995 * sysdeps/i386/start.S: ...here.
13996 * sysdeps/i386/elf/configure.in: Merge into...
13997 * sysdeps/i386/configure.in: ...here.
13998 * sysdeps/i386/elf/configure.in: Delete file.
13999 * sysdeps/i386/elf/configure: Delete file.
14000
14001 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
14002 * debug/backtracesyms.c: ... here.
14003 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
14004 * debug/backtracesymsfd.c: ... here.
14005 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
14006 * sysdeps/generic/ifunc-sel.h: ... here.
14007
14008 * sysdeps/unix/i386/start.c: Delete file.
14009 * sysdeps/unix/sparc/start.c: Delete file.
14010 * sysdeps/unix/start.c: Delete file.
14011
14012 * sysdeps/sh/elf/configure.in: Moved to ...
14013 * sysdeps/sh/configure.in: ... here.
14014 * sysdeps/sh/elf/start.S: Moved to ...
14015 * sysdeps/sh/start.S: ... here.
14016 * sysdeps/sh/elf/configure: Delete file.
14017
14018 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
14019 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
14020 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
14021 * sysdeps/powerpc/powerpc64/entry.h: ... here.
14022 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
14023 * sysdeps/powerpc/powerpc64/start.S: here.
14024 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
14025 * sysdeps/powerpc/powerpc64/Makefile: ... this.
14026 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
14027 * sysdeps/powerpc/powerpc64/configure.in: ... this.
14028 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
14029
14030 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
14031 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
14032 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
14033 * sysdeps/powerpc/powerpc32/start.S: ... here.
14034 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
14035 * sysdeps/powerpc/powerpc32/configure.in: ... this.
14036 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
14037
14038 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
14039 * sysdeps/powerpc/ifunc-sel.h: ... here.
14040 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
14041 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
14042
14043 * sysdeps/sparc/elf/configure.in: Moved to ...
14044 * sysdeps/sparc/configure.in: ... here.
14045 * sysdeps/sparc/elf/configure: Delete file.
14046 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
14047 * sysdeps/sparc/sparc32/start.S: ... here.
14048 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
14049 * sysdeps/sparc/sparc64/start.S: ... here.
14050 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
14051 * sysdeps/sparc/sparc32/Makefile: ... this.
14052 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
14053 * sysdeps/sparc/sparc64/Makefile: ... this.
14054
14055 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
14056 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
14057 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
14058 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
14059 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
14060 * sysdeps/s390/s390-32/setjmp.S: ... here.
14061 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
14062 * sysdeps/s390/s390-32/configure.in: ... here.
14063 * sysdeps/s390/s390-32/elf/configure: Delete file.
14064 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
14065 * sysdeps/s390/s390-32/start.S: ... here.
14066
14067 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
14068 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
14069 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
14070 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
14071 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
14072 * sysdeps/s390/s390-64/setjmp.S: ... here.
14073 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
14074 * sysdeps/s390/s390-64/configure.in: ... here
14075 * sysdeps/s390/s390-64/elf/configure: Delete file.
14076 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
14077 * sysdeps/s390/s390-64/start.S: ... here.
14078 * sysdeps/s390/s390-64/elf/configure: Delete.
14079
14080 * configure.in: Remove support for elf directories in sysdeps.
14081
14082 * configure: Regenerated.
14083 * sysdeps/i386/configure: Regenerated.
14084 * sysdeps/powerpc/powerpc32/configure: Regenerated.
14085 * sysdeps/powerpc/powerpc64/configure: Regenerated.
14086 * sysdeps/s390/s390-32/configure: Regenerated.
14087 * sysdeps/s390/s390-64/configure: Regenerated.
14088 * sysdeps/sh/configure: Regenerated.
14089 * sysdeps/sparc/configure: Regenerated.
14090 * sysdeps/x86_64/configure: Regenerated.
14091
a3f61311
AS
140922012-03-26 Andreas Schwab <schwab@linux-m68k.org>
14093
c876e002
AS
14094 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14095
a3f61311
AS
14096 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
14097 denormal result into account.
14098
ac4c54f0
RM
140992012-03-25 Roland McGrath <roland@hack.frob.com>
14100
14101 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
14102 Reported by Allan McRae <allan@archlinux.org>.
14103
6a9b9c02
JL
141042012-03-23 Jeff Law <law@redhat.com>
14105
14106 * nss/getnssent.c (__nss_getent): Fix typo.
14107
4c42a0c1
DM
141082012-03-23 David S. Miller <davem@davemloft.net>
14109
14110 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14111
1532c7ac
L
141122012-03-23 H.J. Lu <hongjiu.lu@intel.com>
14113
14114 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
14115 to pad to uint64_t for each field.
14116 (dl_tls_index): Replace unsigned long with uint64_t.
14117
3ff42526
PP
141182012-03-23 Daniel Jacobowitz <dmj@google.com>
14119 Paul Pluzhnikov <ppluzhnikov@google.com>
14120
14121 [BZ #6528]
14122 * grp/Makefile (otherlibs): Don't set it.
14123 * inet/Makefile (otherlibs): Likewise.
14124 * login/Makefile (otherlibs): Likewise.
14125 * nscd/Makefile (otherlibs): Likewise.
14126 * posix/Makefile (otherlibs): Likewise.
14127 * pwd/Makefile (otherlibs): Likewise.
14128 * rt/Makefile (otherlibs): Likewise.
14129 * sunrpc/Makefile (otherlibs): Likewise.
14130 * nss/Makefile (otherlibs): Likewise.
14131 Add libnss_files to routines and static-only-routines.
14132 ($(objpfx)getent): Remove rule.
14133 * resolv/Makefile: Add libnss_dns and libresolv to routines and
14134 static-only-routines.
14135
7c69cd14
JM
141362012-03-22 Joseph Myers <joseph@codesourcery.com>
14137
14138 [BZ #13892]
14139 * math/s_cexp.c: Include <float.h>.
14140 (__cexp): Handle exp result overflowing not necessarily
14141 overflowing both real and imaginary parts of result.
14142 * math/s_cexpf.c: Likewise.
14143 * math/s_cexpl.c: Likewise.
14144 * math/libm-test.inc (cexp_test): Add more tests.
14145 * sysdeps/i386/fpu/libm-test-ulps: Update.
14146 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14147
81b035fe
L
141482012-03-22 H.J. Lu <hongjiu.lu@intel.com>
14149
14150 * include/link.h (ELFW): New macro.
14151 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
14152 Replace ELF64_R_TYPE with ELFW(R_TYPE).
14153
1da7940c
L
141542012-03-22 H.J. Lu <hongjiu.lu@intel.com>
14155
14156 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
14157 with uint64_t.
14158
b749dbb9
L
141592012-03-22 H.J. Lu <hongjiu.lu@intel.com>
14160
14161 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
14162 declaration.
14163 (struct La_x32_retval): Likewise.
14164
2ff87f3f
L
141652012-03-22 H.J. Lu <hongjiu.lu@intel.com>
14166
14167 * sysdeps/x86_64/preconfigure.in: New file.
14168 * sysdeps/x86_64/preconfigure: New generated file.
14169
c0df8e69
JM
141702012-03-22 Joseph Myers <joseph@codesourcery.com>
14171
48e44791
JM
14172 [BZ #13824]
14173 * math/e_exp2l.c: Include <float.h>.
14174 (__ieee754_exp2l): Handle overflow and underflow cases
14175 separately. Only pass fractional part of argument to
14176 __ieee754_expl.
14177 * math/libm-test.inc (exp2_test): Add more tests.
14178
c0df8e69
JM
14179 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
14180 negating x to take absolute value.
14181 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
14182 Likewise.
14183 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
14184 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
14185 Likewise.
14186 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
14187 computing low part if x was negated.
14188 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
14189
c8e43ba7
L
141902012-03-21 H.J. Lu <hongjiu.lu@intel.com>
14191
14192 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
14193 la_x32_gnu_pltexit.
14194 (pltexit): Cast int_retval to ptrdiff_t.
14195 * elf/tst-auditmod3b.c: Likewise.
14196 * elf/tst-auditmod4b.c: Likewise.
14197 * elf/tst-auditmod5b.c: Likewise.
14198 * elf/tst-auditmod6b.c: Likewise.
14199 * elf/tst-auditmod6c.c: Likewise.
14200 * elf/tst-auditmod7b.c: Likewise.
14201
14202 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
14203 and x32_gnu_pltexit.
14204
14205 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
14206 __ELF_NATIVE_CLASS.
14207 (La_x32_regs): New macro.
14208 (La_x32_retval): Likewise.
14209 (la_x32_gnu_pltenter): New function prototype.
14210 (la_x32_gnu_pltexit): Likewise.
14211
7998fa78
AS
142122012-03-21 Andreas Schwab <schwab@linux-m68k.org>
14213
dcb33988
AS
14214 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
14215 exponent.
14216
233fc563
AS
14217 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14218
7998fa78
AS
14219 * configure.in (libc_cv_cc_nofma): Check for option to disable
14220 generation of FMA instructions.
14221 * configure: Regenerate.
14222 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
14223 * sysdeps/ieee754/dbl-64/Makefile: New file.
14224 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
14225 Remove brandred-fma4.
14226 (CFLAGS-brandred-fma4.c): Remove.
14227 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
14228 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
14229 define.
14230 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
14231 define.
14232
8e95c99a
L
142332012-03-21 H.J. Lu <hongjiu.lu@intel.com>
14234
14235 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
14236 LLONG_MAX != LONG_MAX.
14237 (_itoa_word): Use _ITOA_WORD_TYPE on value.
14238 (_fitoa_word): Likewise.
14239 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
14240 LLONG_MAX != LONG_MAX.
14241 * stdio-common/_itowa.h: Include <_itoa.h>.
14242 (_itowa_word): Use _ITOA_WORD_TYPE on value.
14243 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
14244 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
14245 only if not defined.
14246 (_ITOA_WORD_TYPE): Likewise.
14247 (_itoa_word): Use _ITOA_WORD_TYPE on value.
14248 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
14249
6f4db457
DM
142502012-03-21 David S. Miller <davem@davemloft.net>
14251
14252 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14253
7785fe5a
L
142542012-03-21 H.J. Lu <hongjiu.lu@intel.com>
14255
14256 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
14257 of x86_64 when setting libc_cv_slibdir, libdir and
14258 libc_cv_localedir.
14259 * sysdeps/unix/sysv/linux/configure: Regenerated.
14260
4535cd55
JM
142612012-03-21 Joseph Myers <joseph@codesourcery.com>
14262
14263 * manual/lang.texi (Old Varargs): Remove section.
14264 (How Variadic): Update menu.
14265 (va_start): Do not mention varargs.h.
14266
17228132
TS
142672012-03-21 Thomas Schwinge <thomas@codesourcery.com>
14268 Joseph Myers <joseph@codesourcery.com>
14269
14270 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
14271 link test.
14272 * configure: Regenerated.
14273
8149f976
TS
142742012-03-21 Thomas Schwinge <thomas@codesourcery.com>
14275
05f3d1f6
UD
14276 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
14277 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
14278 conformtest.pl
8149f976 14279
1a4ac776
JM
142802012-03-21 Joseph Myers <joseph@codesourcery.com>
14281
be22ce65
JM
14282 * NOTES: Remove.
14283 * Makefile (files-for-dist): Remove NOTES.
14284 (NOTES): Remove rule.
14285 * README: Don't refer to NOTES.
14286 * manual/creature.texi: Don't include macros.texi.
14287 * manual/intro.texi (creature.texi): Remove comment referring to
14288 NOTES.
14289
40b601fb
JM
14290 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
14291 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
14292 * configure: Regenerated.
14293 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
14294 LIBC_TRY_CC_OPTION.
14295 (libc_cv_as_i686): Likewise.
14296 (libc_cv_cc_avx): Likewise.
14297 (libc_cv_cc_sse2avx): Likewise.
14298 (libc_cv_cc_fma4): Likewise.
14299 (libc_cv_cc_novzeroupper): Likewise.
14300 * sysdeps/i386/configure: Regenerated.
14301
1a4ac776
JM
14302 [BZ #13883]
14303 * sysdeps/i386/fpu/s_cexp.S: Remove.
14304 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
14305 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
14306 * math/libm-test.inc (cexp_test): Add more tests.
14307 * sysdeps/i386/fpu/libm-test-ulps: Update.
14308 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14309
a458e7fe
AM
143102012-03-21 Allan McRae <allan@archlinux.org>
14311
14312 * timezone/Makefile: Do not install iso3166.tab and zone.tab
14313
0cb7efc5
JM
143142012-03-21 Joseph Myers <joseph@codesourcery.com>
14315
14316 [BZ #13871]
14317 * math/w_exp2.c: Do not include <float.h>.
14318 (o_threshold, u_threshold): Remove.
14319 (__exp2): Calculate result before checking finiteness and calling
14320 __kernel_standard.
14321 * math/w_exp2f.c: Likewise.
14322 * math/w_exp2l.c: Likewise.
14323 * math/libm-test.inc (exp2_test): Require overflow exception for
14324 1e6 input.
2460d3aa
JM
14325
14326 [BZ #3866]
14327 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
14328 range of signed 64-bit integers before using fistpll. Remove
14329 checks for whether integers fit in mantissa bits.
14330 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
14331 the range of signed 32-bit integers before using fistpl. Remove
14332 checks for whether integers fit in mantissa bits.
14333 * sysdeps/i386/fpu/e_powl.S (p64): New object.
14334 (__ieee754_powl): Test for y outside the range of signed 64-bit
14335 integers before using fistpll. Reduce 64-bit values to 63-bit
14336 ones as needed.
14337 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
14338 divide-by-zero is raised for zero to large negative powers.
14339 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
14340 (__ieee754_powl): Test for y outside the range of signed 64-bit
14341 integers before using fistpll. Reduce 64-bit values to 63-bit
14342 ones as needed.
14343 * math/libm-test.inc (pow_test): Add more tests.
14344
eb96ffb0
L
143452012-03-20 H.J. Lu <hongjiu.lu@intel.com>
14346
14347 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
14348 <stdio-common/_itoa.h>.
14349 * debug/segfault.c: Likewise.
14350 * elf/dl-cache.c: Likewise.
14351 * elf/dl-minimal.c: Likewise.
14352 * elf/dl-misc.c: Likewise.
14353 * elf/dl-sysdep.c: Likewise.
14354 * elf/dl-version.c: Likewise.
14355 * elf/rtld.c: Likewise.
14356 * hurd/hurdsock.c: Likewise.
14357 * hurd/lookup-retry.c: Likewise.
14358 * malloc/malloc.c: Likewise.
14359 * malloc/mtrace.c: Likewise.
14360 * nscd/nscd_getgr_r.c: Likewise.
14361 * nscd/nscd_getpw_r.c: Likewise.
14362 * nscd/nscd_getserv_r.c: Likewise.
14363 * posix/getopt_init.c: Likewise.
14364 * posix/wordexp.c: Likewise.
14365 * stdio-common/_itoa.c: Likewise.
14366 * stdio-common/printf_fphex.c: Likewise.
14367 * stdio-common/vfprintf.c: Likewise.
14368 * string/_strerror.c: Likewise.
14369 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
14370 * sysdeps/i386/i686/hp-timing.h: Likewise.
14371 * sysdeps/mach/_strerror.c: Likewise.
14372 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
14373 * sysdeps/mach/hurd/sethostid.c: Likewise.
14374 * sysdeps/mach/hurd/xmknodat.c: Likewise.
14375 * sysdeps/mach/xpg-strerror.c: Likewise.
14376 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
14377 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
14378 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
14379 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
14380 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
14381 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
14382 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
14383 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
14384 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
14385 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
14386 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
14387 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
14388 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
14389 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
14390 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
14391 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
14392 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
14393 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
14394 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
14395 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
14396 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
14397
14398 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
14399
14400 * stdio-common/_itoa.h: Moved to ...
14401 * sysdeps/generic/_itoa.h: Here.
14402
14403 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
14404
14405 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
14406 instead of "_itoa.h" and "_itowa.h".
14407 * stdio-common/vfprintf.: Likewise.
14408
d1af992d
L
144092012-03-20 H.J. Lu <hongjiu.lu@intel.com>
14410
14411 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
14412 <bits/wordsize.h>.
14413 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
14414 (__signbit): Likwise.
14415 (llrintf): Likwise.
14416 (llrint): Likwise.
14417
114883e0
L
144182012-03-20 H.J. Lu <hongjiu.lu@intel.com>
14419
14420 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
14421 __WORDSIZE != 64.
14422
c135cc1b
JM
144232012-03-20 Joseph Myers <joseph@codesourcery.com>
14424
14425 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
14426 OVERFLOW_EXCEPTION_OK.
14427 * math/libm-test.inc ("Philosophy"): Update comment about
14428 exception testing.
14429 (OVERFLOW_EXCEPTION): Define.
14430 (OVERFLOW_EXCEPTION_OK): Likewise.
14431 (INVALID_EXCEPTION_OK): Renumber.
14432 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
14433 (IGNORE_ZERO_INF_SIGN): Likewise.
14434 (test_exceptions): Handle FE_OVERFLOW.
14435 (exp10_test): Expect overflow exceptions.
14436 (exp2_test): Likewise.
14437 (expm1_test): Likewise.
14438 (nextafter_test): Likewise.
14439 (pow_test): Likewise.
14440 (scalbn_test): Likewise.
14441 (scalbln_test): Likewise.
14442
95443d88
L
144432012-03-19 H.J. Lu <hongjiu.lu@intel.com>
14444
14445 * sysdeps/x86_64/bits/atomic.h
14446 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
14447 64bit integer.
14448 (atomic_exchange_acq): Likewise.
14449 (__arch_exchange_and_add_body): Likewise.
14450 (__arch_add_body): Likewise.
14451 (atomic_add_negative): Likewise.
14452 (atomic_add_zero): Likewise.
14453
490df6c4
L
144542012-03-19 H.J. Lu <hongjiu.lu@intel.com>
14455
c2722551 14456 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
14457 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
14458
5e52b189
L
144592012-03-19 H.J. Lu <hongjiu.lu@intel.com>
14460
14461 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
14462 Check __x86_64__ instead of __WORDSIZE.
14463
a9879d4c
L
144642012-03-19 H.J. Lu <hongjiu.lu@intel.com>
14465
14466 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
14467
5df98260
DM
144682012-03-19 David S. Miller <davem@davemloft.net>
14469
e1497744
DM
14470 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14471
5df98260
DM
14472 * sysdeps/sparc/fpu/fenv_private.h: New file.
14473 * sysdeps/sparc/fpu/math_private.h: Use it.
14474 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
14475 Remove.
14476 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
14477 (libc_feholdexcept_setroundl): Remove.
14478 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
14479 Remove.
14480 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
14481 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
14482
b4c35121
L
144832012-03-19 H.J. Lu <hongjiu.lu@intel.com>
14484
14485 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
14486 int64_t instead of long int.
14487 (INSERT_WORDS64): Likwise.
14488
56965fd7
L
144892012-03-19 H.J. Lu <hongjiu.lu@intel.com>
14490
14491 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
14492 _Unwind_GetCFA return to _Unwind_Ptr first.
14493
83d1aec8
JM
144942012-03-19 Joseph Myers <joseph@codesourcery.com>
14495
1897ad44
JM
14496 [BZ #13629]
14497 * math/s_clog.c: Include <float.h>.
14498 (__clog): Scale large or subnormal inputs.
14499 * math/s_clogf.c: Likewise.
14500 * math/s_clogl.c: Likewise.
14501 * math/s_clog10.c: Include <float.h>.
14502 (M_LOG10_2): Define.
14503 (__clog10): Scale large or subnormal inputs.
14504 * math/s_clog10f.c: Likewise.
14505 * math/s_clog10l.c: Likewise.
14506 * math/libm-test.inc (clog_test): Add more tests.
14507 (clog10_test): Likewise.
14508 * sysdeps/i386/fpu/libm-test-ulps: Update.
14509 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14510
7726d6a9
JM
14511 [BZ #11451]
14512 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
14513 x and y.
14514 * math/libm-test.inc (atan2_test): Add another test.
14515
83d1aec8
JM
14516 * Makerules (common-objdir-compile): Remove.
14517 * sysdeps/unix/Makefile (config-generated): Do not add
14518 $(unix-generated) to variable.
14519 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
14520 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
14521 Remove rule.
14522 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
14523 Likewise.
14524 [generic bits/local_lim.h] (before-compile): Do not append to
14525 variable.
14526 [generic bits/local_lim.h] (common-generated): Likewise.
14527 [generic sys/param.h] (before-compile): Do not append to variable.
14528 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
14529 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
14530 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
14531 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
14532 include.
14533 [generic sys/param.h] (sys/param.h-includes): Remove variable.
14534 [generic sys/param.h] (sys/param.h-includes): Remove rule.
14535 [generic sys/param.h] ($(addprefix
14536 $(common-objpfx),$(sys/param.h-includes))): Likewise.
14537 [generic sys/param.h] (common-generated): Do not append to
14538 variable.
14539 [generic sys/param.h] (sysdep_headers): Likewise.
14540 [generic bits/errno.h] (before-compile): Do not append to
14541 variable.
14542 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
14543 rule.
14544 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
14545 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
14546 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
14547 [generic bits/errno.h] (common-generated): Do not append to
14548 variable.
14549 [generic bits/ioctls.h] (before-compile): Do not append to
14550 variable.
14551 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
14552 rule.
14553 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
14554 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
14555 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
14556 rule.
14557 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
14558 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
14559 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
14560 [generic bits/ioctls.h] (common-generated): Do not append to
14561 variable.
14562 [generic sys/syscall.h] (syscall.h): Remove variable.
14563 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
14564 rule.
14565 [generic sys/syscall.h] (before-compile): Do not append to
14566 variable.
14567 [generic sys/syscall.h] (common-generated): Likewise.
14568 * sysdeps/unix/errnos-tmpl.c: Remove file.
14569 * sysdeps/unix/errnos.awk: Likewise.
14570 * sysdeps/unix/ioctls-tmpl.c: Likewise.
14571 * sysdeps/unix/ioctls.awk: Likewise.
14572 * sysdeps/unix/mk-local_lim.c: Likewise.
14573 * sysdeps/unix/snarf-ioctls: Likewise.
14574
4851a949
RH
145752012-03-19 Richard Henderson <rth@twiddle.net>
14576
bd37f2ee
RH
14577 * sysdeps/i386/fpu/fenv_private.h: New file.
14578 * sysdeps/i386/fpu/math_private.h: Use it.
14579 (math_opt_barrier, math_force_eval): Remove.
14580 (libc_feholdexcept_setround_53bit): Remove.
14581 (libc_feupdateenv_53bit): Remove.
14582 * sysdeps/x86_64/fpu/math_private.h: Likewise.
14583 (math_opt_barrier, math_force_eval): Remove.
14584 (libc_feholdexcept): Remove.
14585 (libc_feholdexcept_setround): Remove.
14586 (libc_fetestexcept, libc_fesetenv): Remove.
14587 (libc_feupdateenv_test): Remove.
14588 (libc_feupdateenv, libc_feholdsetround): Remove.
14589 (libc_feresetround): Remove.
14590
d0adc922
RH
14591 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
14592 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
14593
0fe0f1f8
RH
14594 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
14595 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
14596 (libc_feupdateenv_testl): New.
14597 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
14598 (libc_feupdateenv_testf): New.
14599 (libc_feupdateenv): Use libc_feupdateenv_test.
14600 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
14601 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
14602
eb92c487
RH
14603 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
14604 (libc_feholdsetroundf, libc_feholdsetroundl): New.
14605 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
14606 (libc_feresetround_noex): New.
14607 (libc_feresetround_noexf): New.
14608 (libc_feresetround_noexl): New.
14609 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
14610 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
14611 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
14612 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
14613 SET_RESTORE_ROUND.
14614 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
14615 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
14616 (__cos): Likewise.
14617 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
14618 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
14619 SET_RESTORE_ROUND_NOEX.
14620 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
14621 SET_RESTORE_ROUND_NOEXF.
14622 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
14623 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
14624 (libc_feholdsetroundf): New.
14625 (libc_feresetround, libc_feresetroundf): New.
14626
7d2e8012
RH
14627 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
14628 (libc_feholdexcept_setround_53bit): Convert from macro to function.
14629 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
14630
b4dabbb4
RH
14631 * sysdeps/generic/math_private.h: Include <fenv.h>.
14632 (default_libc_feholdexcept): New.
14633 (default_libc_feholdexcept_setround): New.
14634 (default_libc_fesetenv, default_libc_feupdateenv): New.
14635 (libc_feholdexcept): Only define if undefined.
14636 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
14637 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
14638 (libc_feholdexcept_setroundl): Likewise.
14639 (libc_feholdexcept_setround_53bit): Likewise.
14640 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
14641 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
14642 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
14643 (libc_feupdateenv_53bit): Likewise.
14644 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
14645 (libc_feholdexcept): Convert from macro to inline function.
14646 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
14647 (libc_fesetenv, libc_feupdateenv): Likewise.
14648
4851a949
RH
14649 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
14650 not previously defined.
14651 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
14652 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
14653 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
14654 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
14655 * sysdeps/ieee754/flt-32/math_private.h: New file.
14656 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
14657 math_private.h below SET_FLOAT_WORD.
14658 (__isnan, __isinf_ns, __finite): Remove.
14659 (__isnanf, __isinf_nsf, __finitef): Remove.
14660
e79d442e
AS
146612012-03-18 Andreas Schwab <schwab@linux-m68k.org>
14662
14663 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14664
90b80344
DM
146652012-03-17 David S. Miller <davem@davemloft.net>
14666
14667 [BZ #6471]
14668 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
14669 for 2.16.
14670
edc21804
DM
146712012-03-16 David S. Miller <davem@davemloft.net>
14672
77e927af
DM
14673 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
14674 warnings.
14675
374976dd
DM
14676 [BZ #6471]
14677 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
14678 properly.
14679 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
14680 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
14681 sysdep_routines when subdir is sysvipc.
14682 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
14683 __getshmlba helper.
14684
edc21804
DM
14685 * sysdeps/sparc/fpu/libm-test/ulps: Update.
14686
473c3ef3
L
146872012-03-16 H.J. Lu <hongjiu.lu@intel.com>
14688
14689 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
14690 [__LP64__].
14691
eb0f39b6
L
146922012-03-16 H.J. Lu <hongjiu.lu@intel.com>
14693
14694 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
14695 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
14696 (__lround): Renamed to ...
14697 (__llround): This. Replace long int with long long int.
14698 Define lround functions as aliases of llround functions.
14699 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
14700
6b6cd74b
L
147012012-03-16 H.J. Lu <hongjiu.lu@intel.com>
14702
14703 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
14704 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
14705 adresses to uintptr_t. Replace "long int" and "unsigned long
14706 int" with "greg_t" on va_arg.
14707
f1a77b01
L
147082012-03-16 H.J. Lu <hongjiu.lu@intel.com>
14709
14710 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
14711 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
14712
14713 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
14714 Move e_machine check before EI_CLASS check. Handle x32
14715 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
14716 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
14717 SKIP_EM_IA_64 and include
14718 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
14719
14720 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
14721 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
14722 (add_system_dir): New macro.
14723
14724 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
14725 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
14726
11b90b9f
JM
147272012-03-16 Joseph Myers <joseph@codesourcery.com>
14728
c36e1d23
JM
14729 [BZ #2551]
14730 [BZ #2552]
14731 [BZ #2553]
14732 [BZ #2554]
14733 [BZ #2562]
14734 [BZ #2563]
14735 [BZ #2565]
14736 [BZ #2566]
14737 [BZ #2576]
14738 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
14739 (y0): Likewise.
14740 * math/w_j0f.c (j0f): Likewise.
14741 (y0f): Likewise.
14742 * math/w_j0l.c (__j0l): Likewise.
14743 (__y0l): Likewise.
14744 * math/w_j1.c (j1): Likewise.
14745 (y1): Likewise.
14746 * math/w_j1f.c (j1f): Likewise.
14747 (y1f): Likewise.
14748 * math/w_j1l.c (__j1l): Likewise.
14749 (__y1l): Likewise.
14750 * math/w_jn.c (jn): Likewise.
14751 (yn): Likewise.
14752 * math/w_jnf.c (jnf): Likewise.
14753 (ynf): Likewise.
14754 * math/w_jnl.c (__jnl): Likewise.
14755 (__ynl): Likewise.
14756 * math/libm-test.inc (j0_test): Add more tests.
14757 (j1_test): Likewise.
14758 (jn_test): Likewise. Add trailing semicolon to existing test.
14759 (y0_test): Likewise.
14760 (y1_test): Likewise.
14761 * sysdeps/i386/fpu/libm-test-ulps: Update.
14762 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14763
11b90b9f
JM
14764 [BZ #13851]
14765 [BZ #13854]
14766 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
14767 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
14768 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
14769 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
14770 (__tanl): Set errno for infinite argument.
14771 * sysdeps/i386/fpu/mptan.c: Remove.
14772 * sysdeps/i386/fpu/s_tan.S: Likewise.
14773 * sysdeps/i386/fpu/s_tanl.S: Likewise.
14774 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
14775 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
14776 * math/libm-test.inc (tan_test): Add more tests and enable more
14777 tests for double and long double.
14778 * sysdeps/i386/fpu/libm-test-ulps: Update.
14779 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14780
6a1bd2a1
JK
147812012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
14782
14783 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
14784 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
14785
10a803e0
RM
147862012-03-16 Roland McGrath <roland@hack.frob.com>
14787
14788 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
14789 * configure.in: Use it for both main tree and add-ons.
14790 * configure: Regenerated.
14791
f196c7f7
L
147922012-03-16 H.J. Lu <hongjiu.lu@intel.com>
14793
14794 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
14795
8848d99d
JM
147962012-03-16 Joseph Myers <joseph@codesourcery.com>
14797
96cbe7f4
JM
14798 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
14799 in comment.
14800
8848d99d
JM
14801 [BZ #13851]
14802 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
14803 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
14804 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
14805 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
14806 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
14807 infinite argument.
14808 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
14809 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
14810 != 0 for prec == 2.
14811 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
14812 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
14813 * sysdeps/i386/fpu/s_cosl.S: Likewise.
14814 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
14815 * sysdeps/i386/fpu/s_sinl.S: Likewise.
14816 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
14817 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
14818 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
14819 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
14820 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
14821 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
14822 * math/libm-test.inc (cos_test): Add more tests and enable more
14823 tests for long double.
14824 (sin_test): Likewise.
14825 (sincos_test): Likewise.
14826 * sysdeps/i386/fpu/libm-test-ulps: Update.
14827 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14828
dd7f4703
DM
148292012-03-16 David S. Miller <davem@davemloft.net>
14830
14831 * sysdeps/sparc/fpu/math_private.h: New file.
14832
006f1daa
DM
148332012-03-15 David S. Miller <davem@davemloft.net>
14834
c0c83bc8
DM
14835 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
14836 file.
e6a62e18 14837 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
14838 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
14839 file.
e6a62e18
DM
14840 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
14841 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
14842 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
14843 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
14844 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
14845 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
14846 sysdep routines.
14847 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
14848
88cb87d9
DM
14849 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
14850 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
14851
006f1daa 14852 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
14853 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
14854 sparc-ifunc.h
006f1daa 14855 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
14856 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
14857 Likewise.
14858 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
14859 Likewise.
006f1daa
DM
14860 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
14861 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
14862 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
14863 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
14864 Likewise.
006f1daa
DM
14865 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
14866 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
14867 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
14868 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
14869 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
14870 Likewise.
14871 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
14872 Likewise.
006f1daa
DM
14873 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
14874 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
14875 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
14876 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
14877 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
14878 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
14879 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
14880 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
14881 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
14882 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
14883 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
14884 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
14885 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
14886 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
14887 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
14888 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
14889 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
14890 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
14891 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
14892 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
14893 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
14894 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
14895 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
14896 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
14897
11e0098e
AS
148982012-03-15 Andreas Schwab <schwab@linux-m68k.org>
14899
14900 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
14901 scaling.
14902 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14903
e85b09d0
AJ
149042012-03-15 Andreas Jaeger <aj@suse.de>
14905
14906 [BZ #13852]
14907 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
14908 ieee754/flt-32 implementation for sin, cos and sincos.
14909 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
14910 * sysdeps/i386/fpu/s_cosf.S: Likewise.
14911 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
14912 * sysdeps/i386/fpu/s_sinf.S: Likewise.
14913 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
14914 ieee754/flt-32 implementation for tan.
14915
14916 * math/libm-test.inc (cos_test): Enable some large input tests for
14917 float as well
14918 (sin_test): Likewise.
14919 (sincos_test): Likewise.
14920 (tan_test): Add tests for large input.
14921
14922 * sysdeps/i386/fpu/libm-test-ulps: Update.
14923
81c64153
AJ
149242012-03-15 Andreas Jaeger <aj@suse.de>
14925
14926 [BZ #13658]
14927 * math/libm-test.inc (cos_test): Add more test cases.
14928 (sin_test): Likewise.
14929 (sincos_test): Likewise.
14930
7bbfa5c6
AJ
149312012-03-15 Andreas Jaeger <aj@suse.de>
14932
14933 [BZ #13837]
14934 * math/libm-test.inc (cos_test): Add a test case for large input
14935 value.
14936 (sin_test): Likewise.
14937 (sincos_test): Likewise.
14938
149392012-03-15 Andreas Jaeger <aj@suse.de>,
14940 Joseph Myers <joseph@codesourcery.com>
14941
14942 [BZ #13658]
0671f479 14943 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
14944 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
14945 * sysdeps/i386/fpu/branred.c: Likewise.
14946 * sysdeps/i386/fpu/dosincos.c: Likewise.
14947 * sysdeps/i386/fpu/mpa.c: Likewise.
14948 * sysdeps/i386/fpu/s_cos.S: Likewise.
14949 * sysdeps/i386/fpu/s_sin.S: Likewise.
14950 * sysdeps/i386/fpu/s_sincos.S: Likewise.
14951 * sysdeps/i386/fpu/sincos32.c: Likewise.
14952
14953 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
14954 Define.
14955 (libc_feupdateenv_53bit): Define.
14956 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
14957 Define.
14958 (libc_feupdateenv_53bit): Define.
14959
14960 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
14961 53 bit (without extend i386 double precision).
14962
14963 * math/libm-test.inc (sincos_test): Add tests for large input.
14964 (sin): Likewise.
14965 (cos): Likewise.
14966
14967 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
14968
9cad04ea
AS
149692012-03-15 Andreas Schwab <schwab@linux-m68k.org>
14970
14971 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14972
f7062b9a
DM
149732012-03-15 David S. Miller <davem@davemloft.net>
14974
14975 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
14976 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
14977 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
14978 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
14979 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
14980 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
14981 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
14982 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
14983 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
14984 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
14985 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
14986 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
14987 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
14988 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
14989 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
14990 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
14991 file.
f7062b9a 14992 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
14993 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
14994 file.
f7062b9a 14995 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
14996 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
14997 file.
f7062b9a 14998 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
14999 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
15000 file.
f7062b9a
DM
15001 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
15002 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
15003 fmin/fmax sysdep routines.
15004 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
15005
7bd951ff
DM
150062012-03-14 David S. Miller <davem@davemloft.net>
15007
559398ab
DM
15008 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
15009 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
15010 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
15011 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
15012 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
15013 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
15014 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
15015 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
15016 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
15017 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
15018 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
15019 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
15020 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
15021 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
15022 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
15023 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
15024 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
15025 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
15026 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
15027 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
15028 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
15029 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
15030 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
15031 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
15032 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
15033 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
15034 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
15035 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
15036 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
15037 routines.
15038 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
15039 file.
559398ab 15040 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
15041 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
15042 file.
559398ab 15043 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
15044 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
15045 file.
559398ab 15046 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
15047 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
15048 file.
559398ab 15049 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
15050 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
15051 file.
559398ab 15052 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
15053 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
15054 file.
15055 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
15056 file.
15057 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
15058 file.
15059 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
15060 file.
15061 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
15062 New file.
15063 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
15064 file.
15065 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
15066 file.
559398ab 15067 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
15068 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
15069 file.
559398ab 15070 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
15071 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
15072 file.
559398ab 15073 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
15074 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
15075 file.
559398ab 15076 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
15077 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
15078 VIS3 routines.
559398ab
DM
15079
15080 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
15081 New file.
15082
5a1c1e32
DM
15083 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15084
eae47a36
DM
15085 * sysdeps/sparc/configure.in: New file.
15086 * sysdeps/sparc/configure: Generate.
15087 * configure.in (libc_cv_sparc_as_vis3): Substitute.
15088 * configure: Regenerate.
15089 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
15090 * config.make.in (have-as-vis3): New.
15091 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
15092 available use -Av9d instead of -Av9a.
15093 * sysdeps/sparc/sparc64/Makefile: Likewise.
15094 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
15095 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
15096 New file.
15097 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
15098 file.
15099 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
15100 New file.
15101 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
15102 file.
eae47a36
DM
15103 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
15104 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
15105 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
15106 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
15107 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
15108
c0c83bc8
DM
15109 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
15110 fzeros/fnegs to load 0x80000000 into a float register instead of
15111 using the stack.
7bd951ff
DM
15112 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
15113
bd951ccb
JM
151142012-03-14 Joseph Myers <joseph@codesourcery.com>
15115
15116 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15117 bits/syscall.h.
15118 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
15119 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
15120 ($(inst_includedir)/bits/syscall.h): Remove rule.
15121 ($(objpfx)bits/syscall.d): Include instead of
15122 $(objpfx)syscall-list.d.
15123 (generated): Change syscall-list.h and syscall-list.d to
15124 bits/syscall.h and bits/syscall.d.
15125
bb4e6db2
RM
151262012-03-14 Roland McGrath <roland@hack.frob.com>
15127
15128 [BZ #13846]
15129 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
15130
aa4a2ae1
JM
151312012-03-14 Joseph Myers <joseph@codesourcery.com>
15132
e456826d
JM
15133 [BZ #13841]
15134 * math/s_csqrt.c: Include <float.h>.
15135 (__csqrt): Scale large or subnormal inputs.
15136 * math/s_csqrtf.c: Likewise.
15137 * math/s_csqrtl.c: Likewise.
15138 * math/libm-test.inc (csqrt_test): Add more tests.
15139 * sysdeps/i386/fpu/libm-test-ulps: Update.
15140 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15141
aa4a2ae1
JM
15142 [BZ #13840]
15143 * math/libm-test.inc (hypot_test): Add more tests.
15144
7c10fd35
DM
151452012-03-13 David S. Miller <davem@davemloft.net>
15146
15147 [BZ #13840]
15148 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
15149 double-precision for the calculation instead of scaling.
15150
f453b98b
JM
151512012-03-13 Joseph Myers <joseph@codesourcery.com>
15152
15153 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
15154 manipulate bits before adding and subtracting TWO52[sx].
15155 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
15156 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
15157 Likewise.
15158 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
15159
09a3453f
DM
151602012-03-13 David S. Miller <davem@davemloft.net>
15161
8e59da90
DM
15162 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
15163 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
15164 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
15165 rtld-global-offsets.h
15166 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
15167
2a8ab7f2
DM
15168 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
15169 large parameters.
15170
10f62770
DM
15171 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
15172
5f0bdb18
DM
15173 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
15174 'err' in the ifdef scope in which it is actually used.
15175
09a3453f
DM
15176 * nss/nss_db/db-init.c: Include string.h
15177
b4b2eb5e
DM
151782012-03-12 David S. Miller <davem@davemloft.net>
15179
98bb2f1c
DM
15180 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
15181 masking out of the most significant byte of random value used.
15182 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
15183 Fix coding style in previous change.
15184
b4b2eb5e
DM
15185 * sysdeps/unix/sysv/linux/kernel-features.h
15186 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
15187 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
15188 expression.
15189 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
15190 later.
15191
6e226b09
DM
151922012-03-11 David S. Miller <davem@davemloft.net>
15193
a1bcbd40
DM
15194 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
15195 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
15196 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
15197 for 'resultvar' otherwise things get truncated on 64-bit.
15198
cb9d6174
DM
15199 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
15200 Fix masking out of the most significant byte of random value used.
15201
6e226b09
DM
15202 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15203
058c132d
AS
152042012-03-10 Andreas Schwab <schwab@linux-m68k.org>
15205
15206 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15207
2d2cd515
DM
152082012-03-09 David S. Miller <davem@davemloft.net>
15209
15210 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
15211 variables with appropriate CPP guards.
15212 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
15213 frame pointer, not the stack pointer. Correct layout comments. Fix test
15214 on resulting framesize and the management of the outregs buffer for pltexit.
15215 Preserve floating point return values across _dl_call_pltexit call.
15216 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
15217 framesize and the management of the outregs buffer for pltexit.
15218 Preserve floating point return values across _dl_call_pltexit
15219 call.
15220 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
15221 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
15222 (print_exit): Fix format string for return register value.
15223
9a07f9d0
JM
152242012-03-10 Joseph Myers <joseph@codesourcery.com>
15225
15226 * sunrpc/Makefile (others): Add rpcgen.
15227 ($(objpfx)rpcgen): Remove special build rule and dependency on
15228 libc.
15229 * sunrpc/rpcgen.c: New file.
15230
547b5e30
PE
152312012-03-09 Paul Eggert <eggert@cs.ucla.edu>
15232
c524201a
PE
15233 [BZ #13673]
15234 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
15235 * stdio-common/bug-vfprintf-nargs.c: Likewise.
15236 * sysdeps/i386/crti.S: Likewise.
15237 * sysdeps/i386/crtn.S: Likewise.
15238 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
15239 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
15240 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
15241 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
15242 * sysdeps/sh/crti.S: Likewise.
15243 * sysdeps/sh/crtn.S: Likewise.
15244 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
15245
7b6235f2
PE
15246 [BZ #13673]
15247 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
15248 with URL.
15249 * locale/programs/locfile-kw.gperf: Likewise.
15250 * locale/programs/charmap-kw.h: Regenerated.
15251 * locale/programs/locfile-kw.h: Likewise.
15252
547b5e30
PE
15253 [BZ #13673]
15254 * intl/plural.y: Replace FSF snail mail address with URL.
15255 * intl/plural.c: Regenerated.
15256
5f0a5dae
RH
152572012-03-09 Richard Henderson <rth@twiddle.net>
15258
15259 * include/math_private.h: Remove file.
15260 * math/math_private.h: Move file ...
15261 * sysdeps/generic/math_private.h: ... here.
15262
b8c03620
RH
15263 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
15264 * sysdeps/powerpc/fpu/math_private.h: Likewise.
15265 * sysdeps/x86_64/fpu/math_private.h: Likewise.
15266
4e234f5d 15267 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
15268 and <math_private.h>.
15269 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
15270 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
15271 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
15272 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
15273 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
15274 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
15275 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
15276 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15277 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
15278 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
15279 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15280 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
15281 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
15282 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
15283 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
15284 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
15285 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
15286 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15287 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
15288 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
15289 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15290 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
15291 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
15292 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15293 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
15294 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
15295 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
15296 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15297 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15298 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15299 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
15300 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15301 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
15302 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
15303 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
15304 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15305 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
15306 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
15307 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
15308 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
15309 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
15310 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
15311 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
15312 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
15313 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
15314 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
15315 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
15316 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
15317 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
15318 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
15319 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
15320 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
15321 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
15322 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
15323 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
15324 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
15325 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
15326 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
15327 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
15328 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
15329 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15330 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
15331 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15332 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
15333 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
15334 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
15335 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
15336 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
15337 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
15338 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
15339 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
15340 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
15341 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
15342 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
15343 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
15344 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
15345 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
15346 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
15347 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
15348 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
15349 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
15350 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
15351 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
15352 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
15353 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
15354 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
15355 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
15356 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
15357 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
15358 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
15359 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
15360 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
15361 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
15362 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
15363 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
15364 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
15365 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
15366 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
15367 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
15368 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
15369 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
15370 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
15371 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
15372 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
15373 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
15374 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
15375 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
15376 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
15377 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
15378 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
15379 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
15380 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
15381 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
15382 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
15383 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
15384 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
15385 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
15386 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
15387 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
15388 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
15389 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
15390 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
15391 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
15392 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
15393 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
15394 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
15395 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
15396 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
15397 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
15398 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
15399 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
15400 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
15401 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
15402 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
15403 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
15404 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
15405 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
15406 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
15407 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
15408 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
15409 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
15410 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
15411 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
15412 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
15413 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
15414 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
15415 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
15416 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
15417 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
15418 * sysdeps/ieee754/k_standard.c: Likewise.
15419 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
15420 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
15421 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
15422 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
15423 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
15424 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
15425 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
15426 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
15427 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
15428 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
15429 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
15430 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
15431 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
15432 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
15433 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
15434 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
15435 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
15436 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
15437 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
15438 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
15439 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
15440 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
15441 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
15442 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
15443 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
15444 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
15445 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
15446 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
15447 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
15448 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
15449 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
15450 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
15451 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
15452 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
15453 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
15454 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
15455 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
15456 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
15457 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
15458 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
15459 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
15460 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
15461 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
15462 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
15463 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
15464 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
15465 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
15466 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
15467 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
15468 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
15469 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
15470 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
15471 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
15472 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
15473 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
15474 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
15475 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
15476 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
15477 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
15478 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
15479 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
15480 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
15481 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
15482 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
15483 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
15484 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
15485 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
15486 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
15487 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
15488 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
15489 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
15490 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
15491 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
15492 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
15493 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
15494 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
15495 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
15496 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
15497 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
15498 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
15499 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
15500 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
15501 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
15502 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
15503 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
15504 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
15505 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
15506 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
15507 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
15508 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
15509 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
15510 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
15511 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
15512 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
15513 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
15514 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
15515 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
15516 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
15517 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
15518 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
15519 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
15520 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
15521 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
15522 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
15523 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
15524 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
15525 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
15526 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
15527 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
15528 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
15529 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
15530 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
15531 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
15532 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
15533 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
15534 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
15535 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
15536 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
15537 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
15538 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
15539 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
15540 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
15541 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
15542 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
15543 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
15544 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
15545 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
15546 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
15547 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
15548 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
15549 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
15550 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
15551 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
15552 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
15553 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
15554 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
15555 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
15556 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
15557 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
15558 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
15559 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
15560 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
15561 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
15562 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
15563 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
15564 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
15565 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
15566 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
15567 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
15568 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
15569 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
15570 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
15571 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
15572 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
15573 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
15574 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
15575 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
15576 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
15577 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
15578 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
15579 * sysdeps/ieee754/s_lib_version.c: Likewise.
15580 * sysdeps/ieee754/s_matherr.c: Likewise.
15581 * sysdeps/ieee754/s_signgam.c: Likewise.
15582 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
15583 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
15584 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
15585 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
15586 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
15587 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
15588 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
15589 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
15590 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
15591 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
15592 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
15593 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
15594 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
15595 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
15596 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
15597 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
15598 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
15599 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
15600 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
15601 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
15602 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 15603
1991fa03
JM
156042012-03-09 Joseph Myers <joseph@codesourcery.com>
15605
15606 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
15607 * sunrpc/rpc_main.c: Likewise.
15608 * sunrpc/rpc_svcout.c: Likewise.
15609
60d6f5a6
DM
156102012-03-09 David S. Miller <davem@davemloft.net>
15611
15612 * include/math_private.h: New file.
15613
4962050e
JM
156142012-03-09 Joseph Myers <joseph@codesourcery.com>
15615
02a6f887
JM
15616 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
15617 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
15618 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
15619 from <bits/socket_type.h>.
15620 (enum __socket_type): Don't define here.
15621 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
15622 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15623 bits/socket_type.h.
15624
c6e013c1
JM
15625 [BZ #13566]
15626 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
15627 checking __USE_GNU.
15628
4962050e
JM
15629 * Makerules ($(inst_includedir)/%.h): New rule.
15630 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
15631 (install-others): Remove variable setting.
15632 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
15633
38842f45
RH
156342012-03-08 Richard Henderson <rth@twiddle.net>
15635
67bb6da6
RH
15636 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
15637 from macro to inline function; merge with the
15638 !__LIBC_INTERNAL_MATH_INLINES version.
15639 (__ieee754_sqrtf): Likewise.
15640
15194b4b
RH
15641 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
15642 to inline function.
15643 (__rintf, __floor, __floorf): Likewise.
15644
64e21ede
RH
15645 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
15646 macro to inline function.
15647 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
15648
38842f45
RH
15649 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
15650 not <math/math_private.h>.
15651
c64bf5fe
DM
156522012-03-08 David S. Miller <davem@davemloft.net>
15653
15654 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
15655 copyright year.
15656 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
15657
82d86f28
TS
156582012-03-08 Thomas Schwinge <thomas@codesourcery.com>
15659
15660 * resolv/gai_misc.c (handle_requests): Fix struct timespec
15661 normalization.
15662 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
15663 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
15664
aea5d727
UD
156652012-03-08 Ulrich Drepper <drepper@gmail.com>
15666
15667 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
15668 be defined individually, they must be defined as a block. Define
15669 S for printing a string instead of hidint the different by using a
15670 macro for adding the 'l'.
15671 * stdio-common/tst-fphex-wide.c: Adjust.
15672
70bca0a3
MP
156732012-03-07 Marek Polacek <polacek@redhat.com>
15674
15675 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
15676
65b81130
MP
156772012-03-08 Marek Polacek <polacek@redhat.com>
15678
15679 [BZ #13806]
15680 * stdio-common/Makefile (tests): Add tst-fphex-wide.
15681 * stdio-common/tst-fphex.c: Define a few macros to make the
15682 test reusable. Use them.
15683 * stdio-common/tst-fphex-wide.c: New file.
15684
07037eeb
JM
156852012-03-08 Joseph Myers <joseph@codesourcery.com>
15686
a7a93d50
JM
15687 [BZ #6911]
15688 * manual/macros.texi (gnusystems): New macro.
15689 (nongnusystems): Likewise.
15690 (gnulinuxhurdsystems): Likewise.
15691 (gnuhurdsystems): Likewise..
15692 (gnulinuxsystems): Likewise.
15693 * manual/charset.texi: Use new macros or @theglibc{} to refer to
15694 variants of the GNU system, not "GNU system".
15695 * manual/conf.texi: Likewise.
15696 * manual/errno.texi: Likewise. Update example of errno macro
15697 expansion.
15698 * manual/filesys.texi: Likewise.
15699 (getumask): Document as specific to GNU/Hurd.
15700 * manual/install.texi: Likewise. Reword some references to
15701 GNU/Linux.
15702 * manual/intro.texi: Likewise.
15703 * manual/io.texi: Likewise.
15704 (File Name Portability): Detail which constraints are inapplicable
15705 to all GNU systems and which are only inapplicable to GNU/Hurd.
15706 * manual/job.texi: Likewise.
15707 * manual/llio.texi: Likewise.
15708 (O_NOCTTY): Document as present on GNU/Linux.
15709 * manual/maint.texi: Likewise.
15710 * manual/memory.texi: Likewise.
15711 * manual/pattern.texi: Likewise.
15712 * manual/pipe.texi: Likewise.
15713 * manual/process.texi: Likewise.
15714 * manual/resource.texi: Likewise.
15715 (RUSAGE_CHILDREN): Remove statement about specifying a particular
15716 child on GNU/Hurd.
15717 * manual/setjmp.texi: Likewise.
15718 * manual/signal.texi: Likewise.
15719 * manual/startup.texi: Likewise.
15720 * manual/stdio.texi: Likewise.
15721 * manual/terminal.texi: Likewise.
15722 (ONLCR): Document as POSIX.
15723 (OXTABS): Document availability on GNU/Linux as XTABS.
15724 (ONOEOT): Document availability separately from other bits.
15725 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
15726 * manual/time.texi: Likewise.
15727 * manual/users.texi: Likewise.
15728 * INSTALL: Regenerated.
15729 * sysdeps/gnu/errlist.c: Regenerated.
15730
07037eeb
JM
15731 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
15732 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
15733 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
15734 puts.
15735 * configure: Regenerated.
15736
d1d3431a
JM
157372012-03-07 Joseph Myers <joseph@codesourcery.com>
15738
af6a1e37
JM
15739 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
15740 default includes instead of AC_HEADER_CHECK.
15741 * sysdeps/i386/configure: Regenerated.
15742
d1d3431a
JM
15743 [BZ #10716]
15744 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
15745 * math/s_cacoshf.c (__cacoshf): Likewise.
15746 * math/s_cacoshl.c (__cacoshl): Likewise.
15747 * math/s_casinh.c (__casinh): Set signs of result from argument.
15748 * math/s_casinhf.c (__casinhf): Likewise.
15749 * math/s_casinhl.c (__casinhl): Likewise.
15750 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
15751 (casinh_test): Add more tests.
15752 * sysdeps/i386/fpu/libm-test-ulps: Update.
15753 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15754
482ff4da
UD
157552012-03-07 Ulrich Drepper <drepper@gmail.com>
15756
872fda05
UD
15757 * po/zh_TW.po: Update from translation team.
15758
a4300c7a
UD
15759 * login/Makefile (distribute): Remove variable.
15760 * catgets/Makefile: Likewise.
15761 * mach/Makefile: Likewise.
15762 * malloc/Makefile: Likewise.
15763 * misc/Makefile: Likewise.
15764 * iconv/Makefile: Likewise.
15765 * nscd/Makefile: Likewise.
15766 * hurd/Makefile: Likewise.
15767 * manual/Makefile: Likewise.
15768 * locale/Makefile: Likewise.
15769 * intl/Makefile: Likewise.
15770 * conform/Makefile: Likewise.
15771 * nss/Makefile: Likewise.
15772 * time/Makefile: Likewise.
15773 * soft-fp/Makefile: Likewise.
15774 * dirent/Makefile: Likewise.
15775 * gmon/Makefile: Likewise.
15776 * po/Makefile: Likewise.
15777 * rt/Makefile: Likewise.
15778 * socket/Makefile: Likewise.
15779 * math/Makefile: Likewise.
15780 * signal/Makefile: Likewise.
15781 * debug/Makefile: Likewise.
15782 * elf/Makefile: Likewise.
15783 * timezone/Makefile: Likewise.
15784 * stdlib/Makefile: Likewise.
15785 * iconvdata/Makefile: Likewise.
15786 * sunrpc/Makefile: Likewise.
15787 * io/Makefile: Likewise.
15788 * argp/Makefile: Likewise.
15789 * inet/Makefile: Likewise.
15790 * hesiod/Makefile: Likewise.
15791 * grp/Makefile: Likewise.
15792 * csu/Makefile: Likewise.
15793 * wctype/Makefile: Likewise.
15794 * crypt/Makefile: Likewise.
15795 * libio/Makefile: Likewise.
15796 * string/Makefile: Likewise.
15797 * nis/Makefile: Likewise.
15798 * resolv/Makefile: Likewise.
15799 * stdio-common/Makefile: Likewise.
15800 * wcsmbs/Makefile: Likewise.
15801 * dlfcn/Makefile: Likewise.
15802 * posix/Makefile: Likewise.
15803
3b7c4e74 15804 [BZ #6959]
482ff4da
UD
15805 * timezone/Makefile: Don't install timezone files, just the programs
15806 and scripts.
15807
f72ed77d
UD
158082012-03-06 Ulrich Drepper <drepper@gmail.com>
15809
a000466f
UD
15810 * nss/databases.def: Add missing gshadow entry.
15811
f72ed77d
UD
15812 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
15813
a53b7a4e
MP
158142012-03-06 Marek Polacek <polacek@redhat.com>
15815
15816 [BZ #13726]
15817 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
15818 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
15819 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
15820 * stdio-common/tst-long-dbl-fphex.c: New file.
15821
e9258400
DM
158222012-03-06 David S. Miller <davem@davemloft.net>
15823
15824 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
15825 (set_obp_int): New function.
15826 (get_obp_int): New function.
15827 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
15828 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
15829 Avoid unused variable warnings on 'val' and use builtin_expect.
15830 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
15831 __builtin_expect.
e9258400
DM
15832 (INLINE_CLONE_SYSCALL): Likewise.
15833
3bd2c723
DM
158342012-03-05 David S. Miller <davem@davemloft.net>
15835
15836 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15837
bbb78d03
AS
158382012-03-05 Andreas Schwab <schwab@linux-m68k.org>
15839
884c5db4
AS
15840 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15841
bbb78d03
AS
15842 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
15843 only for |x| >= 40.
15844 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
15845
1c9f702a 158462012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
15847
15848 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
15849 Replace gettimeofday with __vdso_gettimeofday.
15850
7be16f82
RM
15851 * sysdeps/unix/sysv/linux/x86_64/init-first.c
15852 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
15853 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
15854
15855 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
15856 time with __vdso_time.
15857
ed58a00f
JM
158582012-03-05 Joseph Myers <joseph@codesourcery.com>
15859
15860 * manual/lang.texi (size_t): Note types to which size_t may be
15861 equivalent with the GNU C Library, but do not describe when
15862 differences between them are significant.
15863
30ee4ced
AJ
158642012-03-05 Andreas Jaeger <aj@suse.de>
15865
15866 * sysdeps/i386/fpu/libm-test-ulps: Update.
15867
b7cd39e8
JM
158682012-03-05 Joseph Myers <joseph@codesourcery.com>
15869
15870 [BZ #3976]
15871 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
15872 (__ieee754_pow): Save and restore rounding mode and use
15873 round-to-nearest for main computations.
15874 * math/libm-test.inc (pow_test_tonearest): New function.
15875 (pow_test_towardzero): Likewise.
15876 (pow_test_downward): Likewise.
15877 (pow_test_upward): Likewise.
15878 (main): Call the new functions.
15879 * sysdeps/i386/fpu/libm-test-ulps: Update.
15880 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
15881
15882 [BZ #3976]
15883 * math/libm-test.inc (cosh_test_tonearest): New function.
15884 (cosh_test_towardzero): Likewise.
15885 (cosh_test_downward): Likewise.
15886 (cosh_test_upward): Likewise.
15887 (sinh_test_tonearest): Likewise.
15888 (sinh_test_towardzero): Likewise.
15889 (sinh_test_downward): Likewise.
15890 (sinh_test_upward): Likewise.
15891 (main): Call the new functions.
15892 * sysdeps/i386/fpu/libm-test-ulps: Update.
15893 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15894
6c6a98c9
TV
158952012-03-05 Tom de Vries <tom@codesourcery.com>
15896
15897 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
15898 default stack guard is set in last bytes.
15899 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
15900
21bb2d2e 159012012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 15902
21bb2d2e 15903 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 15904
21bb2d2e
AJ
15905 [BZ #13656]
15906 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
15907 possibly allocate from heap instead of stack.
15908 * stdio-common/bug-vfprintf-nargs.c: New file.
15909 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 15910
c6922934
AS
159112012-03-03 Andreas Schwab <schwab@linux-m68k.org>
15912
15913 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15914
bc957d53
MP
159152012-03-03 Marek Polacek <polacek@redhat.com>
15916
15917 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
15918 * math/math_private.h: Likewise.
15919 * stdlib/tst-strtod.c: Likewise.
15920 * sysdeps/i386/i486/bits/atomic.h: Likewise.
15921 * sysdeps/x86_64/bits/atomic.h: Likewise.
15922
6358490d
DM
159232012-03-02 David S. Miller <davem@davemloft.net>
15924
15925 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
15926 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
15927 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
15928 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
15929 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
15930 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
15931 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
15932 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
15933
01ae168d
RM
159342012-03-02 Roland McGrath <roland@hack.frob.com>
15935
d9a17c07
RM
15936 [BZ #13792]
15937 * manual/examples/README: New file, says the example source files
15938 can be used under GPL>=2.
15939 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
15940 line containing just "*/".
15941 * manual/examples/add.c: Add copyright header (GPL>=2).
15942 * manual/examples/argp-ex1.c: Likewise.
15943 * manual/examples/argp-ex2.c: Likewise.
15944 * manual/examples/argp-ex3.c: Likewise.
15945 * manual/examples/argp-ex4.c: Likewise.
15946 * manual/examples/atexit.c: Likewise.
15947 * manual/examples/db.c: Likewise.
15948 * manual/examples/dir.c: Likewise.
15949 * manual/examples/dir2.c: Likewise.
15950 * manual/examples/execinfo.c: Likewise.
15951 * manual/examples/filecli.c: Likewise.
15952 * manual/examples/filesrv.c: Likewise.
15953 * manual/examples/fmtmsgexpl.c: Likewise.
15954 * manual/examples/genpass.c: Likewise.
15955 * manual/examples/inetcli.c: Likewise.
15956 * manual/examples/inetsrv.c: Likewise.
15957 * manual/examples/isockad.c: Likewise.
15958 * manual/examples/longopt.c: Likewise.
15959 * manual/examples/memopen.c: Likewise.
15960 * manual/examples/memstrm.c: Likewise.
15961 * manual/examples/mkfsock.c: Likewise.
15962 * manual/examples/mkisock.c: Likewise.
15963 * manual/examples/mygetpass.c: Likewise.
15964 * manual/examples/pipe.c: Likewise.
15965 * manual/examples/popen.c: Likewise.
15966 * manual/examples/rprintf.c: Likewise.
15967 * manual/examples/search.c: Likewise.
15968 * manual/examples/select.c: Likewise.
15969 * manual/examples/setjmp.c: Likewise.
15970 * manual/examples/sigh1.c: Likewise.
15971 * manual/examples/sigusr.c: Likewise.
15972 * manual/examples/stpcpy.c: Likewise.
15973 * manual/examples/strdupa.c: Likewise.
15974 * manual/examples/strftim.c: Likewise.
15975 * manual/examples/strncat.c: Likewise.
15976 * manual/examples/subopt.c: Likewise.
15977 * manual/examples/swapcontext.c: Likewise.
15978 * manual/examples/termios.c: Likewise.
15979 * manual/examples/testopt.c: Likewise.
15980 * manual/examples/testpass.c: Likewise.
15981 * manual/examples/timeval_subtract.c: Likewise.
15982
01ae168d
RM
15983 [BZ #13792]
15984 * manual/time.texi (Elapsed Time): Move timeval_subtract example
15985 function to ...
15986 * manual/timeval_subtract.c.texi: ... here, new file.
15987
49efa33d
DM
159882012-03-02 David S. Miller <davem@davemloft.net>
15989
15990 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
15991
28afd92d
JM
159922012-03-02 Joseph Myers <joseph@codesourcery.com>
15993
804360ed
JM
15994 [BZ #3976]
15995 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
15996 (__sin): Save and restore rounding mode and use round-to-nearest
15997 for all computations.
15998 (__cos): Save and restore rounding mode and use round-to-nearest
15999 for all computations.
16000 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
16001 <fenv.h>.
16002 (tan): Save and restore rounding mode and use round-to-nearest for
16003 all computations.
16004 * math/libm-test.inc (cos_test_tonearest): New function.
16005 (cos_test_towardzero): Likewise.
16006 (cos_test_downward): Likewise.
16007 (cos_test_upward): Likewise.
16008 (sin_test_tonearest): Likewise.
16009 (sin_test_towardzero): Likewise.
16010 (sin_test_downward): Likewise.
16011 (sin_test_upward): Likewise.
16012 (tan_test_tonearest): Likewise.
16013 (tan_test_towardzero): Likewise.
16014 (tan_test_downward): Likewise.
16015 (tan_test_upward): Likewise.
16016 (main): Call the new functions.
16017 * sysdeps/i386/fpu/libm-test-ulps: Update.
16018 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16019
a6d06d7b
JM
16020 [BZ #10135]
16021 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
16022 small n, then large n, before computing and testing k+n.
16023 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
16024 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
16025 Likewise.
16026 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
16027 Likewise.
16028 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
16029 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
16030 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
16031 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
16032 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
16033 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
16034 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
16035 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
16036 * math/libm-test.inc (scalbn_test): Add more tests.
16037 (scalbln_test): Likewise.
16038
07e12bb3
JM
16039 * manual/filesys.texi (mode_t): Describe constraints on size and
16040 signedness, not exact equivalence to a particular type.
16041 (ino_t): Likewise.
16042 (ino64_t): Likewise.
16043 (dev_t): Likewise.
16044 (nlink_t): Likewise.
16045 (blkcnt_t): Likewise.
16046 (blkcnt64_t): Likewise.
16047 * manual/llio.texi (off_t): Likewise.
16048
28afd92d
JM
16049 [BZ #3976]
16050 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
16051 (__ieee754_exp): Save and restore rounding mode and use
16052 round-to-nearest for all computations.
16053 * math/libm-test.inc (exp_test_tonearest): New function.
16054 (exp_test_towardzero): Likewise.
16055 (exp_test_downward): Likewise.
16056 (exp_test_upward): Likewise.
16057 (main): Call the new functions.
16058 * sysdeps/i386/fpu/libm-test-ulps: Update.
16059 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16060
b1eeb65d
CD
160612012-03-01 Chris Demetriou <cgd@google.com>
16062
16063 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
16064 have predictable order.
16065
53362a4b
DM
160662012-03-01 David S. Miller <davem@davemloft.net>
16067
3c969083
DM
16068 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
16069
759707de
DM
16070 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
16071 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
16072 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
16073 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
16074
dfdb8ff2
DM
16075 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
16076 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
16077 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
16078 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
16079 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
16080 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
16081 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
16082 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
16083 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
16084
ead89f96
DM
16085 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16086
7f66bd07
DM
16087 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
16088 * sysdeps/sparc/fpu/libm-test-ulps: to here.
16089 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
16090
53362a4b
DM
16091 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
16092 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
16093 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
16094 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
16095 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
16096 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
16097 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
16098 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
16099 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
16100 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
16101 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
16102 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
16103 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
16104 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
16105 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
16106 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
16107 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
16108 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
16109 * sysdeps/sparc/elf/configure: Regenerated.
16110
7b1902cb
JM
161112012-03-01 Joseph Myers <joseph@codesourcery.com>
16112
bec039bc
JM
16113 * configure.in (AS, LD): Require binutils 2.20 or later.
16114 * configure: Regenerated.
16115 * manual/install.texi (Tools for Compilation): Give binutils 2.20
16116 as required minimum version.
16117 * INSTALL: Regenerated.
16118
7b1902cb
JM
16119 [BZ #2541]
16120 [BZ #4108]
16121 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
16122 before squaring exponent.
16123 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
16124 bottom long double and 27 bits of top long double before squaring
16125 exponent.
16126 * math/libm-test.inc (erfc_test): Add more tests.
16127 * sysdeps/i386/fpu/libm-test-ulps: Update.
16128 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16129 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16130
f775c276
KT
161312012-03-01 Kai Tietz <ktietz@redhat.com>
16132
16133 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
16134 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
16135 containing bit-fields.
16136 * soft-fp/extended.h (_FP_UNION_E): Likewise.
16137 * soft-fp/single.h (_FP_UNION_S): Likewise.
16138 * soft-fp/double.h (_FP_UNION_D): Likewise.
16139
5b8a4d4a
JM
161402012-02-29 Joseph Myers <joseph@codesourcery.com>
16141
0bab47b6
JM
16142 [BZ #13786]
16143 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
16144 not include ../strcmp.S.
16145 [USE_AS_STRNCASECMP_L]: Likewise.
16146 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
16147 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
16148 * sysdeps/i386/i686/multiarch/strncase_l-c.c
16149 (__strncasecmp_l_ia32): Define as alias to
16150 __strncasecmp_l_nonascii.
16151
0fcad3e2
JM
16152 [BZ #5794]
16153 * math/libm-test.inc (expm1_test): Add test for bug 5794.
16154 * sysdeps/i386/fpu/libm-test-ulps: Update.
16155 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16156
5b8a4d4a
JM
16157 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
16158 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16159
8fdceb2e
JL
161602012-02-29 Jeff Law <law@redhat.com>
16161
16162 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
16163 out of bounds read.
16164
1f393a11
MP
161652012-02-29 Marek Polacek <polacek@redhat.com>
16166
16167 [BZ #13706]
16168 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
16169 * elf/Makefile: Add rules to run tst-unused-dep.out.
16170
8847f037
DM
161712012-02-28 David S. Miller <davem@davemloft.net>
16172
16173 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
16174 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
16175 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
16176 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
16177 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
16178 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
16179
169d7f11
JM
161802012-02-29 Joseph Myers <joseph@codesourcery.com>
16181
16182 * math/libm-test.inc (llround_test): Move one test from
16183 lround_test. Use TEST_f_L in moved test.
16184 (lround_test): Move misplaced test to llround_test. Add testcase
16185 from bug 2561.
16186
39adf059
UD
161872012-02-28 Ulrich Drepper <drepper@gmail.com>
16188
16189 * sysdeps/x86_64/fpu/e_expf.S: New file.
16190 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
16191
71b5d1c5
SB
161922012-02-28 Stanislav Brabec <sbrabec@suse.cz>
16193
16194 [BZ #13637]
16195 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
16196 of remain_len that may cause incomplete multi-byte character and
16197 false match.
16198 * posix/bug-regex33.c: New file.
16199 * posix/Makefile (tests): Add bug-regex33.
16200
1f77f049
JM
162012012-02-28 Joseph Myers <joseph@codesourcery.com>
16202
16203 * manual/macros.texi: New file.
16204 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
16205 * manual/libc.texinfo: Include macros.texi.
16206 * manual/creatute.texi: Likewise.
16207 * manual/install.texi: Likewise.
16208 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
16209 @glibcadj{} in references to the GNU C Library.
16210 * manual/charset.texi: Likewise.
16211 * manual/conf.texi: Likewise.
16212 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
16213 when not using those macros.
16214 * manual/creature.texi: Likewise.
16215 * manual/crypt.texi: Likewise.
16216 * manual/errno.texi: Likewise.
16217 * manual/filesys.texi: Likewise.
16218 * manual/header.texi: Likewise.
16219 * manual/install.texi: Likewise.
16220 * manual/intro.texi: Likewise.
16221 * manual/io.texi: Likewise.
16222 * manual/job.texi: Likewise.
16223 * manual/lang.texi: Likewise.
16224 * manual/libc.texiinfo: Likewise.
16225 * manual/llio.texi: Likewise.
16226 * manual/locale.texi: Likewise.
16227 * manual/maint.texi: Likewise.
16228 * manual/math.texi: Likewise.
16229 * manual/memory.texi: Likewise.
16230 * manual/message.texi: Likewise.
16231 * manual/nss.texi: Likewise.
16232 * manual/pattern.texi: Likewise.
16233 * manual/process.texi: Likewise.
16234 * manual/resource.texi: Likewise.
16235 * manual/search.texi: Likewise.
16236 * manual/setjmp.texi: Likewise.
16237 * manual/signal.texi: Likewise.
16238 * manual/socket.texi: Likewise.
16239 * manual/startup.texi: Likewise.
16240 * manual/stdio.texi: Likewise.
16241 * manual/string.texi: Likewise.
16242 * manual/sysinfo.texi: Likewise.
16243 * manual/syslog.texi: Likewise.
16244 * manual/terminal.texi: Likewise.
16245 * manual/time.texi: Likewise.
16246 * manual/users.texi: Likewise.
16247 * INSTALL: Regenerated.
16248 * NOTES: Regenerated.
d40c5d54 16249 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 16250
450bf206
AS
162512012-02-28 Andreas Schwab <schwab@linux-m68k.org>
16252
16253 * include/dirent.h: Include <dirstream.h> before
16254 <dirent/dirent.h>.
16255
741a235b
DM
162562012-02-28 David S. Miller <davem@davemloft.net>
16257
16258 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
16259 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
16260 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
16261 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
16262
d6b5aa58
DM
162632012-02-27 David S. Miller <davem@davemloft.net>
16264
1aff59a3
DM
16265 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
16266 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
16267 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
16268 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
16269
d6b5aa58
DM
16270 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
16271 frame pointer instead of stack pointer relative arg slot.
16272 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
16273 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
16274 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
16275
433f48bf
CD
162762012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
16277
16278 [BZ #3992]
16279 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
16280
d674b76d
DM
162812012-02-27 David S. Miller <davem@davemloft.net>
16282
16283 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
16284 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
16285 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
16286 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
16287 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
16288 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
16289 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
16290 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
16291
0e7727f7
JM
162922012-02-27 Joseph Myers <joseph@codesourcery.com>
16293
16294 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
16295 later. Allow versions 5-9.
43be4ca2 16296 * configure: Regenerated.
0e7727f7
JM
16297 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
16298 required minimum version and 4.6 as recommended version. Do not
16299 mention bugs in GCC 2.7 and 2.8.
43be4ca2 16300 * INSTALL: Regenerated.
0e7727f7 16301
a78bc654
DM
163022012-02-27 David S. Miller <davem@davemloft.net>
16303
428d5830
DM
16304 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
16305 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
16306 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
16307 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
16308 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
16309 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
16310 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
16311 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
16312
a78bc654
DM
16313 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
16314 manipulate bits before adding and subtracting TWO112[sx].
16315 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
16316
4579f81c
RM
163172012-02-27 Roland McGrath <roland@hack.frob.com>
16318
36c8acb4
RM
16319 [BZ #13775]
16320 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
16321 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
16322 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
16323 being in POSIX, because they are in 1003.1-2008.
16324
84ad622b
RM
16325 * rt/tst-aio.c: Include <fcntl.h>.
16326 * rt/tst-aio7.c: Likewise.
16327 * rt/tst-aio64.c: Likewise.
16328
4579f81c
RM
16329 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
16330
abd923db
JM
163312012-02-27 Joseph Myers <joseph@codesourcery.com>
16332
16333 * manual/install.texi (--with-headers): Describe headers as
16334 interface headers, not private headers.
16335 (Specific advice for GNU/Linux systems): Describe use of headers
16336 from "make headers_install", not private headers from older
16337 kernels.
43be4ca2 16338 * INSTALL: Regenerated.
abd923db
JM
16339 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
16340 Change to 2.6.19.
16341 * sysdeps/unix/sysv/linux/configure: Regenerated.
16342
6664049b
JM
16343 * manual/llio.texi (fclean): Remove documentation.
16344
bb8b6697
JM
16345 * manual/Makefile (libc-texi-generated): New variable. Include
16346 version.texi.
16347 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
16348 $(libc-texi-generated), not duplicated list of files.
16349 (version.texi, stamp-version): New rules.
16350 (realclean): Remove $(libc-texi-generated), not individual files
16351 from that list. Do not remove dir-add.texinfo.
16352 * manual/libc.texinfo: Comment out uses of edition numbers and
16353 references to printed manual. Remove last-updated dates.
16354 (EDITION): Comment out.
16355 (ISBN): Likewise.
16356 (VERSION, UPDATED): Remove.
16357 (version.texi): Include.
16358
12e5c3b9
AS
163592012-02-27 Andreas Schwab <schwab@linux-m68k.org>
16360
16361 * sysdeps/posix/spawni.c: Include <signal.h>.
16362 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
16363 * sysdeps/pthread/aio_fsync.c: Likewise.
16364
4efeffc1 163652012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 16366
ba63ba08
UD
16367 * conform/Makefile (tests): Run only when not cross-compiling and
16368 when fast-check is not defined.
16369
d94a4670
UD
16370 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
16371 * conform/data/limits.h-data: Fixes for POSIX2008.
16372 * conform/run-conformtest.sh: Run all tests.
16373 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
16374 headers.
16375 * include/bits/dlfcn.h: Likewise.
16376 * include/langinfo.h: Likewise.
16377 * include/monetary.h: Likewise.
16378 * include/sys/poll.h: Likewise.
16379
16380 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
16381 for __USE_GNU.
16382 * posix/spawn.h: Define __need_sigset_t.
16383 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
16384 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
16385 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
16386 to get sigevent_t only.
16387 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
16388 only for __USE_GNU.
16389 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
16390 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
16391 process_vm_writev only for __USE_GNU.
16392 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
16393
16394 * conform/Makefile: For now ignore errors from run-conformtest.
16395 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
16396 POSIX to avoid namespace pollution. Don't prepend headers.
16397 * conform/data/aio.h-data: Fixes for POSIX testing.
16398 * conform/data/fcntl.h-data: Likewise.
16399 * conform/data/glob.h-data: Likewise.
16400 * conform/data/grp.h-data: Likewise.
16401 * conform/data/pthread.h-data: Likewise.
16402 * conform/data/pwd.h-data: Likewise.
16403 * conform/data/signal.h-data: Likewise.
16404 * conform/data/spawn.h-data: Likewise.
16405 * conform/data/stdio.h-data: Likewise.
16406 * conform/data/stdlib.h-data: Likewise.
16407 * conform/data/stropts.h-data: Likewise.
16408 * conform/data/sys/mman.h-data: Likewise.
16409 * conform/data/sys/stat.h-data: Likewise.
16410 * conform/data/sys/types.h-data: Likewise.
16411 * conform/data/sys/wait.h-data: Likewise.
16412 * conform/data/time.h-data: Likewise.
16413 * conform/data/unistd.h-data: Likewise.
16414 * conform/data/utime.h-data: Likewise.
16415
16416 * io/sys/stat.h: fchmod was always in POSIX.
16417 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
16418 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
16419 * rt/aio.h: Define __need_timespec before including <time.h>.
16420 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
16421 struct. Add forward declaration of pthread_attr_t and use it in
16422 sigevent.
16423 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
16424 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
16425 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
16426 always remove CLK_TCK definition.
16427
c20105c3
AS
164282012-02-26 Andreas Schwab <schwab@linux-m68k.org>
16429
16430 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
16431
7a270350
UD
164322012-02-25 Ulrich Drepper <drepper@gmail.com>
16433
31341567
UD
16434 * conform/run-conformtest.sh: New file.
16435 * conform/Makefile: Run run-conformtest for tests.
16436 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
16437 support.
16438
16439 * conform/data/uchar.h-data: New file.
16440 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
16441 * conform/data/arpa/inet.h-data: Likewise.
16442 * conform/data/assert.h-data: Likewise.
16443 * conform/data/complex.h-data: Likewise.
16444 * conform/data/cpio.h-data: Likewise.
16445 * conform/data/ctype.h-data: Likewise.
16446 * conform/data/dirent.h-data: Likewise.
16447 * conform/data/dlfcn.h-data: Likewise.
16448 * conform/data/errno.h-data: Likewise.
16449 * conform/data/fcntl.h-data: Likewise.
16450 * conform/data/float.h-data: Likewise.
16451 * conform/data/fmtmsg.h-data: Likewise.
16452 * conform/data/fnmatch.h-data: Likewise.
16453 * conform/data/ftw.h-data: Likewise.
16454 * conform/data/glob.h-data: Likewise.
16455 * conform/data/grp.h-data: Likewise.
16456 * conform/data/iconv.h-data: Likewise.
16457 * conform/data/inttypes.h-data: Likewise.
16458 * conform/data/langinfo.h-data: Likewise.
16459 * conform/data/libgen.h-data: Likewise.
16460 * conform/data/limits.h-data: Likewise.
16461 * conform/data/locale.h-data: Likewise.
16462 * conform/data/math.h-data: Likewise.
16463 * conform/data/monetary.h-data: Likewise.
16464 * conform/data/mqueue.h-data: Likewise.
16465 * conform/data/ndbm.h-data: Likewise.
16466 * conform/data/net/if.h-data: Likewise.
16467 * conform/data/netdb.h-data: Likewise.
16468 * conform/data/netinet/in.h-data: Likewise.
16469 * conform/data/nl_types.h-data: Likewise.
16470 * conform/data/poll.h-data: Likewise.
16471 * conform/data/pthread.h-data: Likewise.
16472 * conform/data/pwd.h-data: Likewise.
16473 * conform/data/regex.h-data: Likewise.
16474 * conform/data/sched.h-data: Likewise.
16475 * conform/data/search.h-data: Likewise.
16476 * conform/data/semaphore.h-data: Likewise.
16477 * conform/data/setjmp.h-data: Likewise.
16478 * conform/data/signal.h-data: Likewise.
16479 * conform/data/spawn.h-data: Likewise.
16480 * conform/data/stdarg.h-data: Likewise.
16481 * conform/data/stdio.h-data: Likewise.
16482 * conform/data/stdlib.h-data: Likewise.
16483 * conform/data/string.h-data: Likewise.
16484 * conform/data/strings.h-data: Likewise.
16485 * conform/data/stropts.h-data: Likewise.
16486 * conform/data/sys/ipc.h-data: Likewise.
16487 * conform/data/sys/mman.h-data: Likewise.
16488 * conform/data/sys/msg.h-data: Likewise.
16489 * conform/data/sys/resource.h-data: Likewise.
16490 * conform/data/sys/select.h-data: Likewise.
16491 * conform/data/sys/sem.h-data: Likewise.
16492 * conform/data/sys/shm.h-data: Likewise.
16493 * conform/data/sys/socket.h-data: Likewise.
16494 * conform/data/sys/stat.h-data: Likewise.
16495 * conform/data/sys/statvfs.h-data: Likewise.
16496 * conform/data/sys/time.h-data: Likewise.
16497 * conform/data/sys/timeb.h-data: Likewise.
16498 * conform/data/sys/times.h-data: Likewise.
16499 * conform/data/sys/types.h-data: Likewise.
16500 * conform/data/sys/uio.h-data: Likewise.
16501 * conform/data/sys/un.h-data: Likewise.
16502 * conform/data/sys/utsname.h-data: Likewise.
16503 * conform/data/sys/wait.h-data: Likewise.
16504 * conform/data/syslog.h-data: Likewise.
16505 * conform/data/tar.h-data: Likewise.
16506 * conform/data/termios.h-data: Likewise.
16507 * conform/data/utime.h-data: Likewise.
16508 * conform/data/utmpx.h-data: Likewise.
16509 * conform/data/varargs.h-data: Likewise.
16510 * conform/data/wchar.h-data: Likewise.
16511 * conform/data/wctype.h-data: Likewise.
16512 * conform/data/wordexp.h-data: Likewise.
16513
16514 * include/stropts.h: New file.
16515 * include/uchar.h: New file.
16516 * include/aio.h: Changes to allow conformtest.pl to use the headers.
16517 * include/assert.h: Likewise.
16518 * include/ctype.h: Likewise.
16519 * include/dirent.h: Likewise.
16520 * include/dlfcn.h: Likewise.
16521 * include/fcntl.h: Likewise.
16522 * include/fnmatch.h: Likewise.
16523 * include/glob.h: Likewise.
16524 * include/grp.h: Likewise.
16525 * include/libio.h: Likewise.
16526 * include/locale.h: Likewise.
16527 * include/math.h: Likewise.
16528 * include/net/if.h: Likewise.
16529 * include/netdb.h: Likewise.
16530 * include/netinet/in.h: Likewise.
16531 * include/pthread.h: Likewise.
16532 * include/pwd.h: Likewise.
16533 * include/regex.h: Likewise.
16534 * include/sched.h: Likewise.
16535 * include/search.h: Likewise.
16536 * include/setjmp.h: Likewise.
16537 * include/signal.h: Likewise.
16538 * include/stdio.h: Likewise.
16539 * include/stdlib.h: Likewise.
16540 * include/string.h: Likewise.
16541 * include/sys/cdefs.h: Likewise.
16542 * include/sys/mman.h: Likewise.
16543 * include/sys/msg.h: Likewise.
16544 * include/sys/resource.h: Likewise.
16545 * include/sys/select.h: Likewise.
16546 * include/sys/socket.h: Likewise.
16547 * include/sys/stat.h: Likewise.
16548 * include/sys/statvfs.h: Likewise.
16549 * include/sys/time.h: Likewise.
16550 * include/sys/times.h: Likewise.
16551 * include/sys/uio.h: Likewise.
16552 * include/sys/utsname.h: Likewise.
16553 * include/sys/wait.h: Likewise.
16554 * include/termios.h: Likewise.
16555 * include/time.h: Likewise.
16556 * include/ulimit.h: Likewise.
16557 * include/unistd.h: Likewise.
16558 * include/utime.h: Likewise.
16559 * include/wchar.h: Likewise.
16560 * include/wctype.h: Likewise.
16561 * include/wordexp.h: Likewise.
16562
16563 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
16564
7a270350
UD
16565 * time/time.h: TIME_UTC must be a macro.
16566 Make timespec_get available for ISO C11 only as well.
16567
7724defc
UD
165682012-02-24 Ulrich Drepper <drepper@gmail.com>
16569
16570 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
16571 Reported by Peng Haitao <penght@cn.fujitsu.com>.
16572
6b1d1d46
JM
165732012-02-24 Joseph Myers <joseph@codesourcery.com>
16574
16575 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 16576
0f8bbd69
JM
165772012-02-24 Joseph Myers <joseph@codesourcery.com>
16578
16579 * manual/texinfo.tex: Update to version 2012-01-19.16.
16580
66ab80bc
JM
165812012-02-24 Joseph Myers <joseph@codesourcery.com>
16582
16583 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
16584
74981cc5
RM
165852012-02-24 Roland McGrath <roland@hack.frob.com>
16586
ee968201
RM
16587 [BZ #13738]
16588 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
16589 * manual/fdl-1.3.texi: New file.
16590 * manual/fdl-1.1.texi: File removed.
16591
74981cc5
RM
16592 [BZ #13738]
16593 * manual/libc.texinfo (FDL_VERSION): New @set.
16594 Use it for mention of FDL in cover text.
16595 (Documentation License): Use it in @include file name.
16596
7bb764bc
JM
165972012-02-22 Joseph Myers <joseph@codesourcery.com>
16598 Roland McGrath <roland@hack.frob.com>
16599
16600 [BZ #5461]
16601 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
16602 not LONG_LONG_MAX and LONG_LONG_MIN.
16603 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
16604 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
16605 name.
16606 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
16607
6cbeae47
JM
166082012-02-22 Joseph Myers <joseph@codesourcery.com>
16609
16610 [BZ #2547]
16611 [BZ #11365]
16612 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
16613 manipulate bits before adding and subtracting TWO23[sx].
16614 * math/libm-test.inc (nearbyint_test): Add more tests.
16615
fe45ce09
JM
166162012-02-22 Joseph Myers <joseph@codesourcery.com>
16617
16618 [BZ #2548]
16619 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
16620 bits before adding and subtracting TWO23[sx].
16621 * math/libm-test.inc (rint_test): Add more tests.
16622 (rint_test_tonearest): Likewise.
16623 (rint_test_towardzero): Likewise.
16624 (rint_test_downward): Likewise.
16625 (rint_test_upward: Likewise.
16626
ff3b3d82
JM
166272012-02-22 Joseph Myers <joseph@codesourcery.com>
16628
16629 [BZ #10110]
16630 * include/stdc-predef.h: New file. Extracted from features.h.
16631 * include/features.h: Include stdc-predef.h.
16632 * Makefile (headers): Add stdc-predef.h.
16633 * CONFORMANCE (Compiler limitations): Update.
16634
ef0aab35
JM
166352012-02-22 Joseph Myers <joseph@codesourcery.com>
16636
16637 * manual/libc.texinfo (VERSION, UPDATED): Revert.
16638
58639409
DM
166392012-02-21 David S. Miller <davem@davemloft.net>
16640
16641 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
16642 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
16643
c0e70b25
DM
166442012-02-20 David S. Miller <davem@davemloft.net>
16645
16646 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
16647 using a normal save/restore sequence, rather than allocating a
16648 dummy stack frame just to store a frame pointer and restore.
16649 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
16650
fb06851d
JM
166512012-02-21 Joseph Myers <joseph@codesourcery.com>
16652
16653 * manual/install.texi: Fix stray word in line-wrapped comment.
16654
7a8b71c3
DM
166552012-02-20 David S. Miller <davem@davemloft.net>
16656
d510c123
DM
16657 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
16658 both binutils and gcc support GOTDATA.
16659
0722d7c2
DM
16660 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
16661 "rd %pc" in the PIC register setup sequences.
16662
3d2b3019
DM
16663 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
16664 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
16665 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
16666 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
16667 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
16668 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
16669 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
16670 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
16671 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
16672 (SYSCALL_ERROR_HANDLER): Likewise.
16673 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
16674 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
16675 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
16676 (SYSCALL_ERROR_HANDLER): Likewise.
16677
c80098a9
DM
16678 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
16679 (HAVE_GCC_GOTDATA): New.
16680 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
16681 relocation support in both binutils and gcc.
16682 * sysdeps/sparc/elf/configure: Regenerate.
16683
3a2545a0
DM
16684 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
16685 * sysdeps/sparc/sparc32/elf/configure: Delete.
16686 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
16687 * sysdeps/sparc/sparc64/elf/configure: Delete.
16688 * sysdeps/sparc/elf/configure.in: New file.
16689 * sysdeps/sparc/elf/configure: Generate.
16690
7a8b71c3
DM
16691 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
16692 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
16693 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
16694 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
16695 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
16696
f1e86fca
JM
166972012-02-21 Joseph Myers <joseph@codesourcery.com>
16698
16699 * manual/install.texi: Do not mention specific glibc version
16700 numbers.
16701 * manual/libc.texinfo (VERSION, UPDATED): Update.
16702 (@copying): Use @copyright{} and range of years.
16703
0e7dfaef
JM
167042012-02-21 Joseph Myers <joseph@codesourcery.com>
16705
16706 [BZ #13695]
16707 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
16708 [crti.S not in sysdirs] (generated): Do not append.
16709 [crti.S not in sysdirs] (omit-deps): Likewise.
16710 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
16711 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
16712 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
16713 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
16714 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
16715 Likewise.
16716 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
16717 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
16718 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
16719 * csu/defs.awk: Remove file.
16720 * sysdeps/generic/initfini.c: Likewise.
16721 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
16722 variable.
16723 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
16724 Likewise.
16725
599af3ca
JM
167262012-02-20 Joseph Myers <joseph@codesourcery.com>
16727
16728 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
16729 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
16730 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
16731 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
16732 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
16733 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
16734 <bits/epoll.h>.
16735 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
16736 (__EPOLL_PACKED): Define to empty if not defined by
16737 <bits/epoll.h>.
16738 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
16739 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16740 bits/epoll.h.
16741
0e499750
JM
167422012-02-20 Joseph Myers <joseph@codesourcery.com>
16743
16744 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
16745 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
16746 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
16747 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
16748 <bits/timerfd.h>.
16749 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
16750 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16751 bits/timerfd.h.
16752
5ad91f6e
JM
167532012-02-20 Joseph Myers <joseph@codesourcery.com>
16754
16755 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
16756 in C locale.
16757 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16758 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
16759 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
16760 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16761
06b99b02
AJ
167622012-02-20 Aurelien Jarno <aurelien@aurel32.net>
16763
16764 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
16765 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
16766
7638c0fd
AS
167672012-02-19 Andreas Schwab <schwab@linux-m68k.org>
16768
16769 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
16770 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
16771 defined.
16772 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
16773 Likewise.
16774 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
16775 entry for 2.16.
16776
92221550
AJ
167772012-02-19 Aurelien Jarno <aurelien@aurel32.net>
16778
16779 * math/w_acos.c: Use non-signaling floating-point comparisons.
16780 * math/w_acosf.c: Likewise.
16781 * math/w_acosh.c: Likewise.
16782 * math/w_acoshf.c: Likewise.
16783 * math/w_acoshl.c: Likewise.
16784 * math/w_acosl.c: Likewise.
16785 * math/w_asin.c: Likewise.
16786 * math/w_asinf.c: Likewise.
16787 * math/w_asinl.c: Likewise.
16788 * math/w_atanh.c: Likewise.
16789 * math/w_atanhf.c: Likewise.
16790 * math/w_atanhl.c: Likewise.
16791 * math/w_exp2.c: Likewise.
16792 * math/w_exp2f.c: Likewise.
16793 * math/w_exp2l.c: Likewise.
16794 * math/w_j0.c: Likewise.
16795 * math/w_j0f.c: Likewise.
16796 * math/w_j0l.c: Likewise.
16797 * math/w_j1.c: Likewise.
16798 * math/w_j1f.c: Likewise.
16799 * math/w_j1l.c: Likewise.
16800 * math/w_jn.c: Likewise.
16801 * math/w_jnf.c: Likewise.
16802 * math/w_log.c: Likewise.
16803 * math/w_log10.c: Likewise.
16804 * math/w_log10f.c: Likewise.
16805 * math/w_log10l.c: Likewise.
16806 * math/w_log2.c: Likewise.
16807 * math/w_log2f.c: Likewise.
16808 * math/w_log2l.c: Likewise.
16809 * math/w_logf.c: Likewise.
16810 * math/w_logl.c: Likewise.
16811 * math/w_sqrt.c: Likewise.
16812 * math/w_sqrtf.c: Likewise.
16813 * math/w_sqrtl.c: Likewise.
16814 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
16815 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
16816 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
16817 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
16818 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
16819
ebaf36eb
JM
168202012-02-19 Joseph Myers <joseph@codesourcery.com>
16821
16822 [BZ #9739]
16823 * manual/string.texi (strnlen): Use correct parameter name in
16824 equivalent expression.
16825
71c254a6
JM
168262012-02-19 Joseph Myers <joseph@codesourcery.com>
16827
16828 [BZ #11174]
16829 * manual/users.texi (seteuid): Consistently use neweuid for
16830 argument name.
16831
16d2c631
JM
168322012-02-19 Joseph Myers <joseph@codesourcery.com>
16833
16834 [BZ #13704]
16835 * manual/nss.texi (Services in the NSS configuration): Correct
16836 list of services in example configuration file.
16837
cd837b09
NB
168382012-02-19 Nick Bowler <nbowler@draconx.ca>
16839
16840 [BZ #11322]
16841 * manual/arith.texi: Remove statements about negative zero
16842 behaving identically to zero.
16843
02c4bbad
JM
168442012-02-18 Joseph Myers <joseph@codesourcery.com>
16845
16846 [BZ #5993]
16847 * manual/install.texi: Do not document upgrading from libc5.
16848
366842e7
JM
168492012-02-18 Joseph Myers <joseph@codesourcery.com>
16850
16851 [BZ #4596]
16852 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
16853
dd54084d
DM
168542012-02-18 David S. Miller <davem@davemloft.net>
16855
16856 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
16857 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
16858 %o7 across the call.
16859 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
16860 instead.
16861 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
16862 SETUP_PIC_REG_LEAF.
16863 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
16864 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
16865 * sysdeps/sparc/crtn.S: Likewise.
16866
2bcc53a3
UD
168672012-02-17 Ulrich Drepper <drepper@gmail.com>
16868
16869 * aout/Makefile: Remove.
16870
09c093b5
RK
168712012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
16872
16873 [BZ #13058]
16874 * manual/examples/argp-ex1.c (main): Format definition in GNU
16875 style.
16876 * manual/examples/argp-ex2.c (main): Likewise.
16877 * manual/examples/argp-ex3.c (main): Likewise.
16878 * manual/examples/argp-ex4.c (main): Likewise.
16879 * manual/examples/longopt.c (main): Use new-style prototype
16880 definition.
16881 * manual/examples/strncat.c (main): Specify return type and use
16882 (void) for arguments.
16883 * manual/examples/subopt.c (main): Use char **argv argument.
16884
2ee633a2
JM
168852012-02-17 Joseph Myers <joseph@codesourcery.com>
16886
16887 [BZ #5077]
16888 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
16889 rounding modes.
16890
0520adde
FB
168912012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
16892
16893 [BZ #6907]
16894 * manual/string.texi (strchr): Change when strchrnul is
16895 recommended.
16896
3f4081cd
DGM
168972012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
16898
16899 [BZ #174]
16900 * manual/locale.texi (setlocale): Document LOCPATH.
16901
d1b10e78
JM
169022012-02-17 Joseph Myers <joseph@codesourcery.com>
16903
16904 [BZ #10210]
16905 * manual/process.texi (execle): Move @dots{} before last argument.
16906
79c6869c
PB
169072012-02-17 Paul Bolle <pebolle@tiscali.nl>
16908
16909 [BZ #12047]
16910 * manual/charset.texi (Generic Charset Conversion): Fix typo
16911 (LC_TYPE -> LC_CTYPE).
16912
cc6e48bc
NB
169132012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
16914
16915 [BZ #5805]
16916 * manual/arith.texi (scalbn): Use @var{} on parameter names.
16917 (scalbnf): Likewise.
16918 (scalbnl): Likewise.
16919 (scalbln): Likewise.
16920 (scalblnf): Likewise.
16921 (scalblnl): Likewise.
16922 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
16923 (vwarnx): Likewise.
16924 (verr): Likewise.
16925 (verrx): Likewise.
16926 * manual/filesys.texi (telldir): Use braces around return type.
16927 * manual/llio.texi (mmap): Add space after comma.
16928 (mmap64): Likewise.
16929 * manual/math.texi (jn): Use @var{} on parameter names.
16930 (jnf): Likewise.
16931 (jnl): Likewise.
16932 (yn): Likewise.
16933 (ynf): Likewise.
16934 (ynl): Likewise.
16935 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
16936 line.
16937 * manual/resource.texi (ulimit): Use @dots{} instead of literal
16938 "...".
16939 (sched_get_priority_min): Remove semicolon on @deftypefun line.
16940 (sched_get_priority_max): Likewise.
16941 * manual/signal.texi (sigvec): Add space after comma.
16942 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
16943 names.
16944 (if_indextoname): Likewise.
16945 (if_freenameindex): Likewise.
16946 (sendto): Use ',' instead of '.' in prototype.
16947 * manual/startup.texi (syscall): Use @dots{} instead of literal
16948 "...".
16949 * manual/stdio.texi (__fpending): Separate initial words of
16950 paragraph from @deftypefun line.
16951 * manual/syslog.texi (syslog): Use @dots{} instead of literal
16952 "...".
16953 (vsyslog): Use @var{} on parameter names.
16954 * manual/terminal.texi (stty): Use @var{} on parameter names.
16955 * manual/users.texi (getutmp): Use @var{} on parameter names.
16956 (getutmpx): Likewise.
16957
5b23062f
JM
169582012-02-17 Joseph Myers <joseph@codesourcery.com>
16959
16960 [BZ #6884]
16961 * manual/stdio.texi (fopen): Fix typos in description of
16962 ",ccs=STRING".
16963
8dee4833
AJ
169642012-02-17 Aurelien Jarno <aurelien@aurel32.net>
16965
16966 [BZ #4026]
16967 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
16968 get clock_id definition.
16969
9078ce93
TS
169702012-02-17 Thomas Schwinge <thomas@schwinge.name>
16971
16972 [BZ #4822]
16973 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
16974 (madvise): Cast every argument to void on its own.
16975
3835c55f
JM
169762012-02-17 Joseph Myers <joseph@codesourcery.com>
16977
16978 [BZ #9902]
16979 * manual/startup.texi (Exit Status): Fix typo.
16980
35c47e37
JM
169812012-02-17 Joseph Myers <joseph@codesourcery.com>
16982
16983 [BZ #10140]
16984 * manual/examples/argp-ex1.c: Include <stdlib.h>.
16985 * manual/examples/argp-ex2.c: Likewise.
16986 * manual/examples/argp-ex3.c: Likewise.
16987
e3b69ca7
RH
169882012-02-16 Richard Henderson <rth@redhat.com>
16989
16990 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
16991 * sysdeps/s390/s390-32/initfini.c: Remove.
16992 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
16993 * sysdeps/s390/s390-64/initfini.c: Remove.
16994
df83af67
KK
169952012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16996
16997 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
16998 compiler output for sysdeps/generic/initfini.c.
16999 * sysdeps/sh/elf/initfini.c: Remove file.
17000
f63f3380
DM
170012012-02-16 David S. Miller <davem@davemloft.net>
17002
fb59b3a4
DM
17003 [BZ #11494]
17004 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
17005
f63f3380
DM
17006 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
17007 * sysdeps/sparc/crti.S: New file.
17008 * sysdeps/sparc/crtn.S: New file.
17009 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
17010 * sysdeps/sparc/sparc64/Makefile: Likewise.
17011
df6a4a4a
MF
170122012-02-15 Mike Frysinger <vapier@gentoo.org>
17013
6dd8f3dc 17014 [BZ #3335]
df6a4a4a
MF
17015 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
17016
1cac7236
RM
170172012-02-15 Roland McGrath <roland@hack.frob.com>
17018
d2c736f8
RM
17019 [BZ #4822]
17020 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
17021
1cac7236
RM
17022 * mach/devstream.c (cookie_io_functions_t): Macro removed.
17023 (write, read, close): Likewise.
17024 Patch by Aurelien Jarno <aurelien@aurel32.net>.
17025
8e475601
JM
170262012-02-15 Joseph Myers <joseph@codesourcery.com>
17027
17028 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
17029 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
17030 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
17031 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
17032 <bits/signalfd.h>.
17033 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
17034 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17035 bits/signalfd.h.
17036
ed656b40
MP
170372012-02-14 Marek Polacek <polacek@redhat.com>
17038
17039 * sysdeps/x86_64/crti.S: New file.
17040 * sysdeps/x86_64/crtn.S: New file.
17041 * sysdeps/x86_64/elf/initfini.c: Remove file.
17042
2a979d3a
JM
170432012-02-13 Joseph Myers <joseph@codesourcery.com>
17044
17045 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
17046 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
17047 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
17048 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
17049 <bits/inotify.h>.
17050 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
17051 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17052 bits/inotify.h.
17053
2a418ac3
JM
170542012-02-13 Joseph Myers <joseph@codesourcery.com>
17055
17056 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
17057 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
17058 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
17059 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
17060 <bits/eventfd.h>.
17061 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
17062 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17063 bits/eventfd.h.
17064
fb779be7
TS
170652012-02-10 Thomas Schwinge <thomas@codesourcery.com>
17066
e19e83c5
RM
17067 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
17068 __feraiseexcept instead of feraiseexcept.
7c35ffed 17069
fb779be7
TS
17070 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
17071 nanosleep invocations.
17072 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
17073 strings, and add error checking for a nanosleep invocations.
17074
59ba27a6
PE
170752012-02-09 Paul Eggert <eggert@cs.ucla.edu>
17076
17077 Replace FSF snail mail address with URLs, as per GNU coding standards.
17078 Most of the snail mail addresses were wrong anyway, and omitting
17079 them makes the source code easier to maintain. Almost all of the
17080 changes are to license notices and to locale LC_IDENTIFICATION
17081 addresses, except for this one:
17082 * manual/libc.texinfo: In "Published by", give the FSF's URL,
17083 not its snail mail address.
17084
57b957eb
RH
170852012-02-09 Richard Henderson <rth@twiddle.net>
17086
af850b1c
RH
17087 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
17088 of kernel-features.h.
17089
57b957eb
RH
17090 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
17091
6b73181a
MP
170922012-02-08 Marek Polacek <polacek@redhat.com>
17093
17094 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
17095 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
17096 * sysdeps/gnu/_G_config.h: Likewise.
17097 * sysdeps/generic/_G_config.h: Likewise.
17098
26ecc33a
AS
170992012-02-08 Andreas Schwab <schwab@linux-m68k.org>
17100
6c6dbc63
AS
17101 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
17102 tests.
17103 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17104
e216c012
AS
17105 * sysdeps/powerpc/powerpc32/crti.S: New file.
17106 * sysdeps/powerpc/powerpc32/crtn.S: New file.
17107 * sysdeps/powerpc/powerpc64/crti.S: New file.
17108 * sysdeps/powerpc/powerpc64/crtn.S: New file.
17109
26ecc33a
AS
17110 * Makeconfig (have-initfini): Don't set.
17111 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
17112 * configure.in (nopic_initfini): Don't substitute.
17113 * config.h.in (HAVE_INITFINI): Don't #undef.
17114 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
17115 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
17116
3add8e13
JM
171172012-02-08 Joseph Myers <joseph@codesourcery.com>
17118
17119 Support crti.S and crtn.S provided directly by architectures.
17120 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
17121 [crti.S in sysdirs] (omit-deps): Likewise.
17122 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
17123 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
17124 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
17125 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
17126 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
17127 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
17128 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
17129 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
17130 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
17131 compiler output for sysdeps/generic/initfini.c.
17132 * sysdeps/i386/elf/Makefile: Remove file.
17133 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
17134
a22f12b4
MP
171352012-02-07 Marek Polacek <polacek@redhat.com>
17136
17137 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
17138 * sysdeps/gnu/_G_config.h: Likewise.
17139 * sysdeps/mach/hurd/_G_config.h: Likewise.
17140
148cf100
MP
171412012-02-07 Marek Polacek <polacek@redhat.com>
17142
17143 * math/Makefile (tests): Add tst-CMPLX2.
17144 * math/tst-CMPLX2.c: New file.
17145
cfdc0dd7
AS
171462012-02-07 Andreas Schwab <schwab@linux-m68k.org>
17147
84ba42c4
AS
17148 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
17149
cfdc0dd7
AS
17150 * math/libm-test.inc (jn_test): Add missing L suffix.
17151
622c86f4
MP
171522012-02-06 Marek Polacek <polacek@redhat.com>
17153
17154 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
17155 * sysdeps/i386/fpu/e_powf.S: Likewise.
17156 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
17157 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
17158 * sysdeps/i386/fpu/e_acosh.S: Likewise.
17159 * sysdeps/i386/fpu/e_pow.S: Likewise.
17160 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
17161 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
17162 * sysdeps/i386/fpu/s_expm1.S: Likewise.
17163 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
17164 * sysdeps/i386/fpu/e_log2.S: Likewise.
17165 * sysdeps/i386/fpu/e_log2l.S: Likewise.
17166 * sysdeps/i386/fpu/e_scalb.S: Likewise.
17167 * sysdeps/i386/fpu/e_powl.S: Likewise.
17168 * sysdeps/i386/fpu/s_log1p.S: Likewise.
17169 * sysdeps/i386/fpu/e_log10f.S: Likewise.
17170 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
17171 * sysdeps/i386/fpu/e_logl.S: Likewise.
17172 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
17173 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
17174 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
17175 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
17176 * sysdeps/i386/fpu/e_log2f.S: Likewise.
17177 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
17178 * sysdeps/i386/fpu/e_log.S: Likewise.
17179 * sysdeps/i386/fpu/s_cexp.S: Likewise.
17180 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
17181 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
17182 * sysdeps/i386/fpu/e_logf.S: Likewise.
17183 * sysdeps/i386/fpu/e_log10l.S: Likewise.
17184 * sysdeps/i386/fpu/e_atanh.S: Likewise.
17185 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
17186 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
17187 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
17188 * sysdeps/i386/fpu/e_log10.S: Likewise.
17189 * sysdeps/i386/fpu/s_frexp.S: Likewise.
17190 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
17191 * sysdeps/i386/fpu/s_asinh.S: Likewise.
17192 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
17193 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
17194 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
17195 * sysdeps/i386/asm-syntax.h: Likewise.
17196 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
17197 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
17198 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
17199 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
17200 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
17201 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
17202 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
17203 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
17204 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
17205 * sysdeps/powerpc/sysdep.h: Likewise.
17206 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
17207 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
17208
d4a54ac6
JM
172092012-02-06 Joseph Myers <joseph@codesourcery.com>
17210
17211 [BZ #411]
17212 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
17213
314054ea
JM
172142012-02-06 Joseph Myers <joseph@codesourcery.com>
17215
17216 * sysdeps/i386/sysdep.h: Include <features.h>.
17217 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
17218 version.
17219
d8e0ca50
JM
172202012-02-05 Joseph Myers <joseph@codesourcery.com>
17221
17222 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
17223 Define.
17224 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
17225 LOAD_PIC_REG_STR.
17226
b1da7dd9
JM
172272012-02-03 Joseph Myers <joseph@codesourcery.com>
17228
17229 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
17230 (SETUP_PIC_REG): Use GET_PC_THUNK.
17231 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
17232 macro.
17233
9a1d9254
JM
172342012-02-03 Joseph Myers <joseph@codesourcery.com>
17235
17236 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
17237 for non-PIC compilation.
17238 (SETUP_PIC_REG): Add .p2align directive.
17239 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
17240 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
17241 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
17242 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
17243 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
17244 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
17245 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
17246 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
17247 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
17248 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
17249 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
17250 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
17251 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
17252 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
17253 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
17254 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
17255 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
17256 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
17257 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
17258 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
17259 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
17260 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
17261 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
17262 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
17263 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
17264 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
17265 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
17266 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
17267 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
17268 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
17269 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
17270 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
17271 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
17272 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
17273 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
17274 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
17275 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
17276 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
17277 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
17278 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
17279 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
17280
65dc3b75
JM
172812012-02-03 Joseph Myers <joseph@codesourcery.com>
17282
17283 * math/tst-CMPLX.c: Include <stdio.h>.
17284
d55bf177
JM
172852012-01-31 Joseph Myers <joseph@codesourcery.com>
17286
17287 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
17288 float.
17289 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
17290 * sysdeps/sparc/bits/mathdef.h: Likewise.
17291
69db4f8f
MP
172922012-01-31 Marek Polacek <polacek@redhat.com>
17293
17294 * libio/libio.h: Don't define _PARAMS.
17295 * locale/programs/config.h: Don't define PARAMS.
17296 * stdlib/strtol_l.c: Likewise.
17297 (__strtol_l): Remove PARAMS from the prototype.
17298
41b81892
UD
172992012-01-31 Ulrich Drepper <drepper@gmail.com>
17300
3b49edc0
UD
17301 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
17302 names. Just use the correct names. Remove unnecessary wrapper
17303 functions.
17304 * malloc/arena.c: Likewise.
17305 * malloc/hooks.c: Likewise.
17306
41b81892
UD
17307 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
17308 ARENA_TEST says not to. Simplify test for creation of a new arena.
17309 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
17310
27a25b6e
UD
173112012-01-30 Ulrich Drepper <drepper@gmail.com>
17312
17313 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
17314 into tail calls.
17315 (update_get_addr): New function.
17316 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
17317 GET_ADDR_MODULE parameter.
17318
c8a89e7d
JM
173192012-01-30 Joseph Myers <joseph@codesourcery.com>
17320
17321 * crypt/cert.c: Remove __STDC__ conditionals.
17322 * crypt/crypt-entry.c: Likewise.
17323 * crypt/crypt_util.c: Likewise.
17324 * libio/filedoalloc.c: Likewise.
17325 * libio/fileops.c: Likewise.
17326 * libio/genops.c: Likewise.
17327 * libio/iofclose.c: Likewise.
17328 * libio/iofdopen.c: Likewise.
17329 * libio/iofopen.c: Likewise.
17330 * libio/iofopen64.c: Likewise.
17331 * libio/iogetdelim.c: Likewise.
17332 * libio/iopopen.c: Likewise.
17333 * libio/obprintf.c: Likewise.
17334 * libio/oldfileops.c: Likewise.
17335 * libio/oldiofclose.c: Likewise.
17336 * libio/oldiofdopen.c: Likewise.
17337 * libio/oldiofopen.c: Likewise.
17338 * libio/oldiopopen.c: Likewise.
17339 * libio/wfiledoalloc.c: Likewise.
17340 * libio/wgenops.c: Likewise.
17341 * locale/programs/xmalloc.c: Likewise.
17342 * misc/syslog.c: Likewise.
17343 * stdio-common/xbug.c: Likewise.
17344 * string/memchr.c: Likewise.
17345 * string/memcmp.c: Likewise.
17346 * string/memrchr.c: Likewise.
17347 * string/rawmemchr.c: Likewise.
17348 * sysdeps/posix/getcwd.c: Likewise.
17349 * time/strftime_l.c: Likewise.
17350
3b100462
JM
173512012-01-30 Joseph Myers <joseph@codesourcery.com>
17352
17353 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
17354 * config.make.in (config-cflags-sse2avx): Define.
17355 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
17356 Fix typo.
17357
607998af
CM
173582012-01-29 Chris Metcalf <cmetcalf@tilera.com>
17359
17360 * scripts/config.guess: Update from upstream config git repository.
17361 * scripts/config.sub: Likewise.
17362
3601428f
CM
173632012-01-28 Chris Metcalf <cmetcalf@tilera.com>
17364
3ac8b282
CM
17365 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
17366 (EM_NUM): Update.
17367 (R_TILEPRO_*, R_TILEGX_*): New macros.
17368
e034841e
CM
17369 * scripts/firstversions.awk: Fix bug in version range handling.
17370
540d7568
CM
17371 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
17372
3601428f
CM
17373 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
17374
463de862
CM
17375 * include/sys/epoll.h: New file.
17376 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
17377 libc_hidden_def.
17378
73139a76
UD
173792012-01-28 Ulrich Drepper <drepper@gmail.com>
17380
96bc5b45
UD
17381 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
17382 Avoid unnecessary __WORDSIZE == 64 test.
17383 (fmaxf): Use VEX format if possible.
17384 (fmax): Likewise.
17385 (fminf): Likewise.
17386 (fmin): Likewise.
17387
56f6f6a2
UD
17388 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
17389 * math/math_private.h: Remove libc_fegetround* and
17390 libc_fesetround*.
17391 * sysdeps/i386/configure.in: Check for -msse2avx.
17392 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
17393 also if SSE2AVX is defined.
17394 Remove libc_fegetround* and libc_fesetround*.
17395 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
17396 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
17397 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
17398 of HAS_YMM_USABLE.
17399 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
17400 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
17401 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
17402 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
17403 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
17404
73139a76
UD
17405 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
17406
d73f93a4
AZ
174072012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17408
17409 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
17410 size is not set.
17411 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
17412
6ee65ed6
UD
174132012-01-27 Ulrich Drepper <drepper@gmail.com>
17414
17415 [BZ #13618]
17416 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
17417 relocation.
17418 * Makeconfig (libm): Define.
17419 * elf/Makefile: Add rules to build and run tst-relsort1.
17420 * elf/tst-relsort1.c: New file.
17421 * elf/tst-relsort1mod1.c: New file.
17422 * elf/tst-relsort1mod2.c: New file.
17423
8db21882
JM
174242012-01-27 Joseph Myers <joseph@codesourcery.com>
17425
17426 * math/s_ldexp.c: Remove __STDC__ conditionals.
17427 * math/s_ldexpf.c: Likewise.
17428 * math/s_ldexpl.c: Likewise.
17429 * math/s_nextafter.c: Likewise.
17430 * math/s_nexttowardf.c: Likewise.
17431 * math/s_significand.c: Likewise.
17432 * math/s_significandf.c: Likewise.
17433 * math/s_significandl.c: Likewise.
17434 * math/w_jnl.c: Likewise.
17435 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
17436 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
17437 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
17438 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
17439 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
17440 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
17441 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
17442 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
17443 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
17444 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
17445 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
17446 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17447 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
17448 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
17449 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
17450 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
17451 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
17452 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
17453 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
17454 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
17455 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
17456 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
17457 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
17458 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
17459 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
17460 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
17461 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
17462 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
17463 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
17464 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
17465 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
17466 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
17467 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
17468 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
17469 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
17470 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
17471 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
17472 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
17473 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
17474 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
17475 * sysdeps/ieee754/k_standard.c: Likewise.
17476 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
17477 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
17478 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
17479 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
17480 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
17481 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
17482 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
17483 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
17484 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
17485 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
17486 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
17487 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
17488 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
17489 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
17490 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
17491 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
17492 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
17493 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
17494 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
17495 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
17496 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
17497 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
17498 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
17499 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
17500 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
17501 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
17502 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
17503 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
17504 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
17505 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
17506 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
17507 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
17508 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
17509 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
17510 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
17511 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
17512 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
17513 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
17514 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
17515 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
17516 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
17517 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
17518 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
17519 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
17520 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
17521 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
17522 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
17523 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
17524 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
17525 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
17526 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
17527 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
17528 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
17529 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
17530 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
17531 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
17532 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
17533 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
17534 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
17535 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
17536 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
17537 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
17538 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
17539 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
17540 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
17541 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
17542 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
17543 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
17544 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
17545 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
17546 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
17547 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
17548 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
17549 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
17550 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
17551 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
17552 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
17553 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
17554 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
17555 * sysdeps/ieee754/s_matherr.c: Likewise.
17556 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
17557 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
17558 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
17559 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
17560
965a54a4
JM
175612012-01-26 Joseph Myers <joseph@codesourcery.com>
17562
17563 * crypt/md5.h: Remove __STDC__ conditionals.
17564 * libio/libioP.h: Likewise.
17565 * locale/programs/config.h: Likewise.
17566 * sysdeps/generic/sysdep.h: Likewise.
17567 * sysdeps/i386/asm-syntax.h: Likewise.
17568 * sysdeps/s390/asm-syntax.h: Likewise.
17569 * sysdeps/unix/sysdep.h: Likewise.
17570 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
17571 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
17572
7071ad79
JM
175732012-01-26 Joseph Myers <joseph@codesourcery.com>
17574
17575 * libio/libio.h: Remove __STDC__ conditionals.
17576 * malloc/obstack.h: Likewise.
17577 * math/complex.h: Likewise.
17578 * math/math.h: Likewise.
17579 * sysdeps/generic/_G_config.h: Likewise.
17580 * sysdeps/gnu/_G_config.h: Likewise.
17581 * sysdeps/mach/hurd/_G_config.h: Likewise.
17582 * sysdeps/powerpc/bits/mathdef.h: Likewise.
17583 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
17584 * sysdeps/sparc/bits/mathdef.h: Likewise.
17585
afc5ed09
UD
175862012-01-26 Ulrich Drepper <drepper@gmail.com>
17587
17588 [BZ #13583]
17589 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 17590 Clean up HAS_* macros.
afc5ed09 17591 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
17592 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
17593 possible.
17594 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
17595 HAS_AVX.
17596 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
17597 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
17598 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
17599 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
17600 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 17601
bdb6de1d
JM
176022012-01-25 Joseph Myers <joseph@codesourcery.com>
17603
17604 * elf/tst-unique3.cc (gets): Remove declaration.
17605 * elf/tst-unique3lib.cc (gets): Likewise.
17606 * elf/tst-unique3lib2.cc (gets): Likewise.
17607 * elf/tst-unique4.cc (gets): Likewise.
17608
b15549e6
UD
176092012-01-24 Ulrich Drepper <drepper@gmail.com>
17610
17611 * include/stdio.h: Add C++ protection. Add gets declarations and
17612 definitions.
17613 * debug/tst-chk1.c: Don't declare gets here.
17614 * stdio-common/tst-gets.c: Likewise.
17615
a037381f
JM
176162012-01-24 Joseph Myers <joseph@codesourcery.com>
17617
17618 * posix/glob: Remove directory.
17619
f1d4aa75
JM
176202012-01-24 Joseph Myers <joseph@codesourcery.com>
17621
17622 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
17623
81c0c964
PT
176242012-01-22 Pino Toscano <toscano.pino@tiscali.it>
17625
17626 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
17627 of the non-standard EPFNOSUPPORT.
17628
0ea698ae
ST
176292011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
17630
17631 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
17632 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
17633 ANYWHERE set to 1 only on KERN_NO_SPACE error.
17634
d220b117
UD
176352012-01-21 Ulrich Drepper <drepper@gmail.com>
17636
17637 * wcsmbs/uchar.h: Test __STDC_VERSION__.
17638
3e1aa84e
UD
176392012-01-20 Ulrich Drepper <drepper@gmail.com>
17640
17641 * nscd/aicache.c (addhstaiX): Do not cache negative results of
17642 transient errors.
17643 * nscd/grpcache.c (cache_addgr): Likewise.
17644 * nscd/hstcache.c (cache_addhst): Likewise.
17645 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17646 * nscd/pwdcache.c (cache_addpw): Likewise.
17647 * nscd/servicescache.c (cache_addserv): Likewise.
17648
400aa020
UD
176492012-01-16 Ulrich Drepper <drepper@gmail.com>
17650
d77e7869
UD
17651 * malloc/malloc.c: Various cleanups.
17652 * malloc/hooks.c: Likewise.
17653
400aa020
UD
17654 * stdlib/Makefile (tests): Add bug-fmtmsg1.
17655 * stdlib/bug-fmtmsg1.c: New file.
17656
17657 * stdlib/fmtmsg.c (init): Add missing unlock.
17658 Patch by Peng Haitao <penght@cn.fujitsu.com>.
17659
e0a309cf
MP
176602012-01-12 Marek Polacek <polacek@redhat.com>
17661
17662 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
17663 and _GNU_SOURCE.
17664
929d11c7
WS
176652012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
17666
17667 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
17668 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
17669 macro to ensure uniqueness of label name.
17670 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
17671 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
17672
41d0e869
UD
176732012-01-11 Ulrich Drepper <drepper@gmail.com>
17674
0cc5ed3b
UD
17675 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
17676
41d0e869
UD
17677 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
17678 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
17679 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
17680 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
17681
a47a831a
UD
176822012-01-10 Ulrich Drepper <drepper@gmail.com>
17683
daa891c0
UD
17684 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
17685
17686 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
17687 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
17688 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
17689
e58ef0f2
UD
17690 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
17691
a47a831a 17692 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
17693 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
17694 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 17695 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
17696
17697 * math/bits/math-finite.h: Add ldexp support.
17698
a0bfc9c7
MP
176992012-01-10 Marek Polacek <polacek@redhat.com>
17700
17701 * locale/programs/localedef.h (show_archive_content): Add noreturn
17702 attribute.
17703
d6e97a1d
UD
177042012-01-09 Ulrich Drepper <drepper@gmail.com>
17705
17706 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
17707
d5835c26
UD
177082012-01-08 Ulrich Drepper <drepper@gmail.com>
17709
e5f484c6
UD
17710 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
17711
d5835c26
UD
17712 * io/Makefile (headers): Add bits/poll2.h.
17713
d1f741e9
WS
177142011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
17715
17716 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
17717 typo #include statement.
17718
ec09c1c4
UD
177192012-01-08 Ulrich Drepper <drepper@gmail.com>
17720
17721 * include/sys/cdefs.h: Define __attribute_alloc_size.
17722 * catgets/gencat.c: Add alloc_size attribute and apply consistently
17723 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
17724 * elf/pldd.c: Likewise.
17725 * iconv/iconv_charmap.c: Likewise.
17726 * iconv/iconvconfig.c: Likewise.
17727 * iconv/strtab.c: Likewise.
17728 * locale/programs/locale.c: Likewise.
17729 * locale/programs/localedef.h: Likewise.
17730 * locale/programs/simple-hash.c: Likewise.
17731 * nscd/nscd.h: Likewise.
17732 * nss/makedb.c: Likewise.
17733 * sysdeps/generic/ldconfig.h: Likewise.
17734 * locale/programs/localedef.c: Remove xmalloc prototype.
17735 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
17736
20b38e03
PP
177372012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
17738
17739 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
17740 appropriate.
17741
a0da5fe1
UD
177422012-01-08 Ulrich Drepper <drepper@gmail.com>
17743
1d5a644a 17744 * math/Makefile (tests): Add tst-CMPLX.
669704fd 17745 * math/tst-CMPLX.c: New file.
1d5a644a 17746
8784a6db
UD
17747 * math/complex.h (CMPLXL): Fix typo.
17748
d9a216c0
UD
17749 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
17750 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
17751 GLIBC_2.16.
17752 * debug/tst-chk1.c: Add poll and ppoll tests.
17753 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
17754 * include/sys/poll.h: Add hidden proto for ppoll.
17755 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
17756 * sysdeps/mach/hurd/ppoll.c: Likewise.
17757 * io/ppoll.c: Likewise.
17758 * debug/poll_chk.c: New file.
17759 * debug/ppoll_chk.c: New file.
17760 * include/bits/poll2.h: New file.
17761 * io/bits/poll2.h: New file.
17762
ac097f5c
UD
17763 [BZ #1350]
17764 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
17765
2119dcfa
UD
17766 * configure.in: static is always set to yes. Remove.
17767 * config.make.in: Don't set build-static.
17768 * Makeconfig: Remove use of build-static.
17769 * dlfcn/Makefile: Likewise.
17770 * elf/Makefile: Likewise.
17771 * math/Makefile: Likewise.
17772 * misc/Makefile: Likewise.
17773 * nptl/Makefile: Likewise.
17774 * sysdeps/mach/hurd/Makefile: Likewise.
17775
121766a9
UD
17776 * configure.in: PWD_P is not used anymore.
17777 * config.make.in: Remove PWD_P entry.
17778
51a1d39c 17779 * configure.in: Remove last remnants of RANLIB.
8720d066 17780 No need to check for signed size_t anymore.
215f4bdc
UD
17781 Don't set libc_commonpagesize and libc_relro_required here for Alpha
17782 and IA-64.
3857022a 17783 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
17784 * aclocal.m4: Likewise.
17785
d3ed7225
UD
17786 * wcsmbs/mbrtoc16.c: Implement using towc function.
17787 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
17788 * wcsmbs/wcsmbsload.c: Likewise.
17789 * iconv/gconv_simple.c: Likewise.
17790 * iconv/gconv_int.h: Likewise.
17791 * iconv/gconv_builtin.h: Likewise.
17792 * iconv/iconv_prog.c: Remove CHAR16 handling.
17793
17794 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
17795
17796 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
17797
a0da5fe1
UD
17798 * configure.in: Remove --with-elf and --enable-bounded options.
17799 Dont set base_machine for ia64. More non-ELF conditions removed.
17800 Remove testing and setting of leading underscore information.
17801 * config.make.in (build-bounded): Set to no.
17802 * config.h.in: Remove NO_UNDERSCORES entry.
17803 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
17804 them.
17805 * csu/start.c: Remove !NO_UNDERSCORE code.
17806 * locale/localeinfo.h: Likewise.
17807 * sysdeps/generic/machine-gmon.h: Likewise.
17808 * sysdeps/generic/sysdep.h: Likewise.
17809 * sysdeps/i386/sysdep.h: Likewise.
17810 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
17811 * sysdeps/mach/sysdep.h: Likewise.
17812 * sysdeps/s390/s390-32/sysdep.h: Likewise.
17813 * sysdeps/s390/s390-64/sysdep.h: Likewise.
17814 * sysdeps/sh/sysdep.h: Likewise.
17815 * sysdeps/sparc/sparc32/alloca.S: Likewise.
17816 * sysdeps/unix/i386/sysdep.S: Likewise.
17817 * sysdeps/unix/sparc/start.c: Likewise.
17818 * sysdeps/unix/sparc/sysdep.S: Likewise.
17819 * sysdeps/unix/sparc/sysdep.h: Likewise.
17820 * sysdeps/unix/start.c: Likewise.
17821 * sysdeps/unix/x86_64/sysdep.S: Likewise.
17822 * sysdeps/x86_64/sysdep.h: Likewise.
17823
df78418a
UD
178242012-01-07 Ulrich Drepper <drepper@gmail.com>
17825
a784e502
UD
17826 [BZ #13553]
17827 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
17828 for non-gcc.
17829 * argp/argp-fmtstream.h: Use const instead __const.
17830 * argp/argp.h: Likewise.
17831 * assert/assert.h: Likewise.
17832 * bits/fenv.h: Likewise.
17833 * bits/sched.h: Likewise.
17834 * bits/sigset.h: Likewise.
17835 * bits/sigthread.h: Likewise.
17836 * catgets/nl_types.h: Likewise.
17837 * conform/data/pthread.h-data: Likewise.
17838 * crypt/crypt-private.h: Likewise.
17839 * crypt/crypt.h: Likewise.
17840 * crypt/crypt_util.c: Likewise.
17841 * ctype/ctype.h: Likewise.
17842 * debug/execinfo.h: Likewise.
17843 * debug/mbsnrtowcs_chk.c: Likewise.
17844 * debug/mbsrtowcs_chk.c: Likewise.
17845 * debug/wcsnrtombs_chk.c: Likewise.
17846 * debug/wcsrtombs_chk.c: Likewise.
17847 * debug/wcstombs_chk.c: Likewise.
17848 * dirent/dirent.h: Likewise.
17849 * dlfcn/dlfcn.h: Likewise.
17850 * elf/neededtest4.c: Likewise.
17851 * grp/grp.h: Likewise.
17852 * gshadow/gshadow.h: Likewise.
17853 * iconv/gconv.h: Likewise.
17854 * iconv/gconv_int.h: Likewise.
17855 * iconv/gconv_simple.c: Likewise.
17856 * iconv/iconv.h: Likewise.
17857 * iconv/loop.c: Likewise.
17858 * iconv/skeleton.c: Likewise.
17859 * include/aio.h: Likewise.
17860 * include/aliases.h: Likewise.
17861 * include/argz.h: Likewise.
17862 * include/arpa/inet.h: Likewise.
17863 * include/assert.h: Likewise.
17864 * include/dirent.h: Likewise.
17865 * include/dlfcn.h: Likewise.
17866 * include/execinfo.h: Likewise.
17867 * include/fcntl.h: Likewise.
17868 * include/fenv.h: Likewise.
17869 * include/glob.h: Likewise.
17870 * include/grp.h: Likewise.
17871 * include/libintl.h: Likewise.
17872 * include/mntent.h: Likewise.
17873 * include/netdb.h: Likewise.
17874 * include/pwd.h: Likewise.
17875 * include/rpc/netdb.h: Likewise.
17876 * include/sched.h: Likewise.
17877 * include/search.h: Likewise.
17878 * include/shadow.h: Likewise.
17879 * include/signal.h: Likewise.
17880 * include/stdio.h: Likewise.
17881 * include/stdlib.h: Likewise.
17882 * include/string.h: Likewise.
17883 * include/sys/socket.h: Likewise.
17884 * include/sys/stat.h: Likewise.
17885 * include/sys/statfs.h: Likewise.
17886 * include/sys/statvfs.h: Likewise.
17887 * include/sys/syslog.h: Likewise.
17888 * include/sys/time.h: Likewise.
17889 * include/sys/uio.h: Likewise.
17890 * include/time.h: Likewise.
17891 * include/unistd.h: Likewise.
17892 * include/utmp.h: Likewise.
17893 * include/wchar.h: Likewise.
17894 * include/wctype.h: Likewise.
17895 * inet/aliases.h: Likewise.
17896 * inet/arpa/inet.h: Likewise.
17897 * inet/netinet/ether.h: Likewise.
17898 * inet/netinet/in.h: Likewise.
17899 * intl/libintl.h: Likewise.
17900 * io/bits/fcntl2.h: Likewise.
17901 * io/fcntl.h: Likewise.
17902 * io/ftw.h: Likewise.
17903 * io/sys/poll.h: Likewise.
17904 * io/sys/stat.h: Likewise.
17905 * io/sys/statfs.h: Likewise.
17906 * io/sys/statvfs.h: Likewise.
17907 * io/utime.h: Likewise.
17908 * libio/bits/stdio.h: Likewise.
17909 * libio/bits/stdio2.h: Likewise.
17910 * libio/libio.h: Likewise.
17911 * libio/libioP.h: Likewise.
17912 * libio/stdio.h: Likewise.
17913 * locale/lc-ctype.c: Likewise.
17914 * locale/locale.h: Likewise.
17915 * login/utmp.h: Likewise.
17916 * malloc/arena.c: Likewise.
17917 * malloc/malloc.c: Likewise.
17918 * malloc/malloc.h: Likewise.
17919 * malloc/mcheck.c: Likewise.
17920 * malloc/mtrace.c: Likewise.
17921 * math/bits/mathcalls.h: Likewise.
17922 * math/fenv.h: Likewise.
17923 * math/math_private.h: Likewise.
17924 * misc/bits/error.h: Likewise.
17925 * misc/bits/syslog.h: Likewise.
17926 * misc/err.h: Likewise.
17927 * misc/error.h: Likewise.
17928 * misc/fstab.h: Likewise.
17929 * misc/mntent.h: Likewise.
17930 * misc/regexp.h: Likewise.
17931 * misc/search.h: Likewise.
17932 * misc/sgtty.h: Likewise.
17933 * misc/sys/mman.h: Likewise.
17934 * misc/sys/syslog.h: Likewise.
17935 * misc/sys/uio.h: Likewise.
17936 * misc/sys/xattr.h: Likewise.
17937 * misc/ttyent.h: Likewise.
17938 * nis/rpcsvc/ypclnt.h: Likewise.
17939 * nss/nss.h: Likewise.
17940 * posix/bits/unistd.h: Likewise.
17941 * posix/fnmatch.h: Likewise.
17942 * posix/glob.h: Likewise.
17943 * posix/sched.h: Likewise.
17944 * posix/spawn.h: Likewise.
17945 * posix/sys/wait.h: Likewise.
17946 * posix/unistd.h: Likewise.
17947 * posix/wordexp.h: Likewise.
17948 * pwd/pwd.h: Likewise.
17949 * resolv/netdb.h: Likewise.
17950 * resource/sys/resource.h: Likewise.
17951 * rt/aio.h: Likewise.
17952 * rt/bits/mqueue2.h: Likewise.
17953 * rt/mqueue.h: Likewise.
17954 * shadow/shadow.h: Likewise.
17955 * signal/signal.h: Likewise.
17956 * socket/send.c: Likewise.
17957 * socket/sendto.c: Likewise.
17958 * socket/sys/socket.h: Likewise.
17959 * stdio-common/printf.h: Likewise.
17960 * stdlib/bits/stdlib.h: Likewise.
17961 * stdlib/fmtmsg.h: Likewise.
17962 * stdlib/monetary.h: Likewise.
17963 * stdlib/stdlib.h: Likewise.
17964 * stdlib/ucontext.h: Likewise.
17965 * streams/stropts.h: Likewise.
17966 * string/argz.h: Likewise.
17967 * string/bits/string2.h: Likewise.
17968 * string/string.h: Likewise.
17969 * string/strings.h: Likewise.
17970 * sunrpc/rpc/auth.h: Likewise.
17971 * sunrpc/rpc/auth_des.h: Likewise.
17972 * sunrpc/rpc/clnt.h: Likewise.
17973 * sunrpc/rpc/netdb.h: Likewise.
17974 * sunrpc/rpc/pmap_clnt.h: Likewise.
17975 * sunrpc/rpc/xdr.h: Likewise.
17976 * sysdeps/generic/inttypes.h: Likewise.
17977 * sysdeps/generic/net/if.h: Likewise.
17978 * sysdeps/generic/sys/swap.h: Likewise.
17979 * sysdeps/gnu/net/if.h: Likewise.
17980 * sysdeps/gnu/utmpx.h: Likewise.
17981 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
17982 * sysdeps/i386/i486/bits/string.h: Likewise.
17983 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
17984 * sysdeps/s390/bits/string.h: Likewise.
17985 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
17986 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
17987 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
17988 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
17989 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
17990 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
17991 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
17992 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
17993 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
17994 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
17995 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
17996 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
17997 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
17998 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
17999 * sysdeps/unix/sysv/linux/readv.c: Likewise.
18000 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
18001 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
18002 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
18003 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
18004 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
18005 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
18006 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
18007 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
18008 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
18009 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
18010 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
18011 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
18012 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
18013 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
18014 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
18015 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
18016 * sysvipc/sys/ipc.h: Likewise.
18017 * sysvipc/sys/msg.h: Likewise.
18018 * sysvipc/sys/sem.h: Likewise.
18019 * sysvipc/sys/shm.h: Likewise.
18020 * termios/termios.h: Likewise.
18021 * time/sys/time.h: Likewise.
18022 * time/time.h: Likewise.
18023 * wcsmbs/bits/wchar2.h: Likewise.
18024 * wcsmbs/uchar.h: Likewise.
18025 * wcsmbs/wchar.h: Likewise.
18026 * wctype/wctype.h: Likewise.
18027
0269750c
UD
18028 [BZ #13551]
18029 * Makeconfig: Remove all but ELF support including AIX support.
18030 * Makerules: Likewise.
18031 * config.h.in: Likewise.
18032 * config.make.in: Likewise.
18033 * configure: Likewise.
18034 * configure.in: Likewise.
18035 * csu/Makefile: Likewise.
18036 * csu/version.c: Likewise.
18037 * debug/Makefile: Likewise.
18038 * dlfcn/Makefile: Likewise.
18039 * elf/Makefile: Likewise.
18040 * extra-lib.mk: Likewise.
18041 * iconv/Makefile: Likewise.
18042 * include/libc-symbols.h: Likewise.
18043 * include/shlib-compat.h: Likewise.
18044 * resolv/Makefile: Likewise.
18045 * resolv/res_libc.c: Likewise.
18046 * rt/Makefile: Likewise.
18047 * sysdeps/i386/asm-syntax.h: Likewise.
18048 * sysdeps/i386/sysdep.h: Likewise.
18049 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
18050 * sysdeps/mach/sysdep.h: Likewise.
18051 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
18052 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
18053 * sysdeps/s390/asm-syntax.h: Likewise.
18054 * sysdeps/s390/s390-32/sysdep.h: Likewise.
18055 * sysdeps/s390/s390-64/sysdep.h: Likewise.
18056 * sysdeps/sh/sysdep.h: Likewise.
18057 * sysdeps/unix/sparc/sysdep.h: Likewise.
18058 * sysdeps/wordsize-32/divdi3.c: Likewise.
18059 * sysdeps/x86_64/sysdep.h: Likewise.
18060
00bbd29b
UD
18061 * argp/Versions: Remove _argp_unlock_xxx.
18062
18063 [BZ #13559]
18064 * abilist/ld.abilist: Update. Adjust for removal of tls option.
18065 * abilist/libBrokenLocale.abilist: Likewise.
18066 * abilist/libanl.abilist: Likewise.
18067 * abilist/libc.abilist: Likewise.
18068 * abilist/libcrypt.abilist: Likewise.
18069 * abilist/libdl.abilist: Likewise.
18070 * abilist/libm.abilist: Likewise.
18071 * abilist/libnsl.abilist: Likewise.
18072 * abilist/libpthread.abilist: Likewise.
18073 * abilist/libresolv.abilist: Likewise.
18074 * abilist/librt.abilist: Likewise.
18075 * abilist/libthread_db.abilist: Likewise.
18076 * abilist/libutil.abilist: Likewise.
18077 * abilist/libnss_db.abilist: New file.
18078
18079 * scripts/abilist.awk: Add support for indirect functions.
18080
a2693a0e
UD
18081 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
18082
3f05895f
UD
18083 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
18084
ecb6fb48
UD
18085 * shlib-versions: Remove entries for ports architectures.
18086
664f8cb9
UD
18087 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
18088 files in ports.
18089 * elf/stackguard-macros.h: Remove support for IA-64.
18090 * elf/tst-auditmod1.c: Likewise.
18091 * sysdeps/generic/ldsodefs.h: Likewise.
18092
7ae81d88
UD
18093 * sysdeps/unix/sysv/linux/configure.in: Ports should define
18094 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
18095 configure files.
18096
bdeba135
UD
18097 [BZ #13552]
18098 * configure.in: Remove --enable-omitfp support.
18099 * FAQ.in: Adjust.
18100 * config.make.in: Likewise.
18101 * Makeconfig: Likewise.
18102 * manual/install.texi: Likewise.
18103
d75a0a62
UD
18104 In case anyone cares, the IA-64 architecture could move to ports.
18105 * sysdeps/ia64/*: Removed.
18106 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 18107 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 18108
dcc9756b
UD
18109 [BZ #13555]
18110 * configure.in: Remove entries for unsupported architectures.
18111
d3761ebc 18112 [BZ #13533]
9954432e
UD
18113 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
18114 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
18115 routines.
18116 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
18117 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
18118 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
18119 fall back to using wcrtomb.
18120 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
18121 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
18122 renaming.
18123 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
18124 * wcsmbs/tst-c16c32-1.c: New file.
18125
18126 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
18127 local variable.
18128
c3a87236
UD
18129 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
18130
28926a1b
UD
18131 * elf/tst-unique3.cc: Add explicit declaration of gets.
18132 * elf/tst-unique3lib.cc: Likewise.
18133 * elf/tst-unique3lib2.cc: Likewise.
18134 * elf/tst-unique4.cc: Likewise.
18135
df78418a
UD
18136 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
18137
8ecd6b2a
JM
181382012-01-06 Joseph Myers <joseph@codesourcery.com>
18139
18140 [BZ #13566]
18141 * assert/assert.h (static_assert): Don't define for C++.
18142 * libio/stdio.h (gets): Do declare for C++ <= C++11.
18143 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
18144
9f115170
UD
181452012-01-03 Ulrich Drepper <drepper@gmail.com>
18146
5e0d0300
UD
18147 * iconv/loop.c (single loop): Fix assertion in storing of
18148 remaining bytes.
18149
9f115170
UD
18150 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
18151
81fb02b0
UD
181522012-01-01 Ulrich Drepper <drepper@gmail.com>
18153
18154 * posix/getconf.c: Update copyright year.
18155 * nss/getent.c: Likewise.
a316c1f6 18156 * nss/makedb.c: Likewise.
81fb02b0
UD
18157 * iconv/iconvconfig.c: Likewise.
18158 * iconv/iconv_prog.c: Likewise.
18159 * elf/ldconfig.c: Likewise.
a316c1f6
UD
18160 * elf/pldd.c: Likewise.
18161 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
18162 * catgets/gencat.c: Likewise.
18163 * csu/version.c: Likewise.
18164 * elf/ldd.bash.in: Likewise.
18165 * elf/sprof.c (print_version): Likewise.
18166 * locale/programs/locale.c: Likewise.
18167 * locale/programs/localedef.c: Likewise.
a316c1f6 18168 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
18169 * nscd/nscd.c (print_version): Likewise.
18170 * debug/xtrace.sh: Likewise.
18171 * malloc/memusage.sh: Likewise.
18172 * malloc/mtrace.pl: Likewise.
18173 * debug/catchsegv.sh: Likewise.
18174
2ba92745
JJ
181752011-12-30 Jakub Jelinek <jakub@redhat.com>
18176
18177 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
18178 pure attribute.
18179
dadebdae
UD
181802011-12-24 Ulrich Drepper <drepper@gmail.com>
18181
d3761ebc 18182 [BZ #13533]
db6af3eb
UD
18183 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
18184 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
18185 transformations.
18186 * iconv/gconv_int.h: Likewise.
18187 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
18188 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
18189 from libc for GLIBC_2.16.
18190 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
18191 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
18192 * wcsmbs/uchar.h: Really define mbstate_t.
18193 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
18194 * wcsmbs/c16rtomb.c: New file.
18195 * wcsmbs/mbrtoc16.c: New file.
18196 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
18197 for C/POSIX locale.
18198 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
18199 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
18200
dadebdae
UD
18201 * wcsmbs/wchar.h: Add missing __restrict.
18202
67371b56
UD
182032011-12-23 Ulrich Drepper <drepper@gmail.com>
18204
74033a25
UD
18205 [BZ #13532]
18206 * time/Makefile (routines): Add timespec_get.
18207 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
18208 * time/time.h: Define TIME_UTC and declare timespec_get. Define
18209 timespec for ISO C11.
18210 * time/timespec_get.c: New file.
18211 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
18212 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
18213
380d7e87
UD
18214 [BZ #13531]
18215 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
18216 * stdlib/stdlib.h: Declare aligned_alloc.
18217 * Versions.def: Add GLIBC_2.16 for libc.
18218 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
18219
4e9e7a35
UD
18220 [BZ 13527]
18221 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
18222 ISO C11.
18223
380d7e87 18224 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
18225 code.
18226
03a71829
UD
18227 [BZ #13528]
18228 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
18229
839e283e
UD
18230 [BZ #13529]
18231 * assert/assert.h (static_assert): Define.
18232
ce5294e2 18233 * version.h: Update for 2.16 development version.
90fa7312 18234
8d44e150 18235 [BZ #13526]
d7809905
UD
18236 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
18237 _ISOC11_SOURCE.
18238
c0da14cd
UD
18239 * version.h (RELEASE): Bump for 2.15 release.
18240 * include/features.h (__GLIBC_MINOR__): Bump to 15.
18241
530a3249
MP
18242 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
18243 Patch by Marek Polacek <mpolacek@redhat.com>.
18244
67371b56
UD
18245 * bits/byteswap.h: Protect long long constants with __extension__.
18246 * sysdeps/i386/bits/byteswap.h: Likewise.
18247 * sysdeps/ia64/bits/byteswap.h: Likewise.
18248 * sysdeps/s390/bits/byteswap.h: Likewise.
18249 * sysdeps/x86_64/bits/byteswap.h: Likewise.
18250
15db4de1
LD
182512011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18252
18253 [BZ #13540]
bbe315ea
LD
18254 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
18255 destination buffer.
15db4de1
LD
18256 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
18257
2b2596b1
MP
182582011-12-23 Marek Polacek <polacek@redhat.com>
18259
18260 * elf/dl-addr.c (determine_info): Add inline keyword.
18261 * elf/tst-auditmod4b.c (check_avx): Likewise.
18262 * elf/tst-auditmod6b.c (check_avx): Likewise.
18263 * elf/tst-auditmod6c.c (check_avx): Likewise.
18264 * elf/tst-auditmod7b.c (check_avx): Likewise.
18265
70c6c246
UD
182662011-12-23 Ulrich Drepper <drepper@gmail.com>
18267
18268 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
18269 !__SSE_MATH__.
18270
c044cf14
LD
182712011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18272
15db4de1 18273 [BZ #13540]
c044cf14
LD
18274 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
18275 processing for last bytes.
18276
6b13d9d9
BH
182772011-08-06 Bruno Haible <bruno@clisp.org>
18278
d455f537
BH
18279 [BZ #13061]
18280 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
18281 U+0385, not to U+1FEE.
18282
6b13d9d9
BH
18283 [BZ #13062]
18284 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
18285 entry for U+00A5 U+0301.
18286
db910efd
UD
182872011-12-22 Ulrich Drepper <drepper@gmail.com>
18288
27deeafc
UD
18289 [BZ #13166]
18290 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
18291 buffer for the output is too small.
18292
aed9d171
UD
18293 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
18294 optimization.
18295
db910efd
UD
18296 [BZ #13185]
18297 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
18298 SSE flags if possible.
18299
2bd779ae
LD
183002011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18301
e7f9dac3 18302 [BZ #13540]
2bd779ae
LD
18303 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
18304 processing for last bytes.
18305
154bfc16
JM
183062011-12-22 Joseph Myers <joseph@codesourcery.com>
18307
18308 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
18309 (syscall-list-default-options, syscall-list-default-condition)
18310 (syscall-list-includes): Define.
18311 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
18312 list of ABIs and options and #if conditions for each ABI. Do not
18313 handle common syscalls between ABIs specially.
18314 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
18315 Remove.
18316 (syscall-list-variants, syscall-list-32bit-options)
18317 (syscall-list-32bit-condition, syscall-list-64bit-options)
18318 (syscall-list-64bit-condition): Define.
18319 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
18320 (syscall-list-variants, syscall-list-32bit-options)
18321 (syscall-list-32bit-condition, syscall-list-64bit-options)
18322 (syscall-list-64bit-condition): Define.
18323 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
18324 Remove.
18325 (syscall-list-variants, syscall-list-32bit-options)
18326 (syscall-list-32bit-condition, syscall-list-64bit-options)
18327 (syscall-list-64bit-condition): Define.
18328 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
18329 Remove.
18330 (syscall-list-variants, syscall-list-32bit-options)
18331 (syscall-list-32bit-condition, syscall-list-64bit-options)
18332 (syscall-list-64bit-condition): Define.
18333
21eaf3a5
UD
183342011-12-22 Ulrich Drepper <drepper@gmail.com>
18335
16c6f992
UD
18336 * locale/iso-639.def: Add brx entry.
18337
41043168
UD
18338 [BZ #13328]
18339 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
18340 Proposed by Mariusz_Cukr <marcukr@op.pl>.
18341
21eaf3a5
UD
18342 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
18343 __feraiseexcept_renamed.
18344
e3a851a2
UD
183452011-12-21 Ulrich Drepper <drepper@gmail.com>
18346
4920765e
UD
18347 [BZ #13538]
18348 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
18349 EPOLLET with unsigned values.
18350 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
18351 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
18352
e3a851a2
UD
18353 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
18354 to large cancellation.
18355 * math/s_cacoshf.c: Likewise.
18356 * math/s_cacoshl.c: Likewise.
18357
b27e24b8
RK
183582011-11-18 Richard B. Kreckel <kreckel@ginac.de>
18359
18360 [BZ #13305]
aebefeee 18361 [BZ #12786]
b27e24b8
RK
18362 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
18363 * math/s_cacoshf.c: Likewise.
18364 * math/s_cacoshl.c: Likewise.
18365
ee190f67
UD
183662011-12-21 Ulrich Drepper <drepper@gmail.com>
18367
18368 [BZ #13439]
18369 * iconv/gconv.h: Define __GCONV_SWAP.
18370 * iconvdata/unicode.c: The swap bit must be stored in __flags.
18371 * iconvdata/utf-16.c: Likewise.
18372 * iconvdata/utf-32.c: Likewise.
18373
707f25df
AS
183742011-12-21 Andreas Schwab <schwab@linux-m68k.org>
18375
18376 [BZ #13524]
18377 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
18378 numerator after shifting it by one limb.
18379
d2daaa1e
RÁE
183802011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
18381
18382 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
18383 under [__USE_EXTERN_INLINES].
18384
a4647e72
UD
183852011-12-17 Ulrich Drepper <drepper@gmail.com>
18386
18387 [BZ #13446]
18388 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
18389
f0b264f1
AZ
183902011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18391
18392 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
18393 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
18394 optimized code.
18395 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
18396 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
18397 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
18398 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
18399 for strncasecmp/strncasecmp_l compilation.
18400 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
18401 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
18402
8ef4f244
MP
184032011-12-08 Marek Polacek <mpolacek@redhat.com>
18404
18405 [BZ #13484]
18406 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
18407 of __asm__.
18408
97ac2654
UD
184092011-12-17 Ulrich Drepper <drepper@gmail.com>
18410
18411 [BZ #13506]
18412 * time/tzfile.c (__tzfile_read): Check values from file header.
18413
91d2a845
WS
184142011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
18415
18416 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
18417 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
18418 * powerpc/powerpc32/dl-start.S: Likewise.
18419 * powerpc/powerpc32/elf/start.S: Likewise.
18420 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
18421 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
18422 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
18423 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
18424 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
18425 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
18426 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
18427 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
18428 * powerpc/powerpc32/fpu/s_round.S: Likewise.
18429 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
18430 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
18431 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
18432 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
18433 * powerpc/powerpc32/memset.S: Likewise.
18434 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
18435 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
18436 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
18437 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
18438 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
18439 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
18440 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
18441 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
18442 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
18443 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
18444 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
18445 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
18446 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
18447
a1267ba1
AZ
184482011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18449
18450 * math/libm-test.inc: Added more nearbyint tests.
18451 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
18452 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
18453 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
18454 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
18455
ad8ac1bd
RL
184562011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
18457
18458 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
18459 FD_CLOEXEC.
18460
1d3e4b61
UD
184612011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18462
18463 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
18464 Add wcscpy-ssse3 wcscpy-c.
18465 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
18466 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
18467 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
18468 * sysdeps/x86_64/wcschr.S: New file.
18469 * sysdeps/x86_64/wcsrchr.S: New file.
18470 * string/test-strcmp.c: Remove checking of wcscmp function for
18471 wrong alignments.
18472 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
18473 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
18474 wcsrchr-sse2 wcsrchr-c.
18475 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
18476 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
18477 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
18478 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
18479 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
18480 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
18481 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
18482 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
18483 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
18484 * wcsmbc/wcschr.c (WCSCHR): New macro.
18485
5b330a2d
UD
184862011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18487
18488 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
18489 * wcsmbs/test-wcsrchr.c: New file.
18490 * string/test-strrchr.c: Add wcsrchr support.
18491 (WIDE): New macro.
18492 * wcsmbs/test-wcscpy.c: New file.
18493 * string/test-strcpy.c: Add wcscpy support.
18494 (WIDE): New macro.
26428b7c 18495
f039c043
UD
184962011-12-10 Ulrich Drepper <drepper@gmail.com>
18497
18498 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
18499 the inner loop.
18500
850fb039
AS
185012011-12-06 Andreas Schwab <schwab@linux-m68k.org>
18502
18503 [BZ #13472]
18504 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
18505
4efbd5cb
UD
185062011-12-04 Ulrich Drepper <drepper@gmail.com>
18507
52ff5dd0 18508 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 18509 Minor optimizations.
52ff5dd0 18510
4efbd5cb
UD
18511 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
18512 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
18513 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
18514
8a426e12
UD
185152011-12-03 Ulrich Drepper <drepper@gmail.com>
18516
aff2453d
UD
18517 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
18518 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
18519 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
18520 for gcc to avoid warnings.
18521 * inet/Makefile (tests): Add tst-checks.
18522 * inet/tst-checks.c: New file.
18523
18524 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
18525 warning.
18526
18527 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
18528 __wmemcmp_sse2.
18529
18530 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
18531 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
18532
8a426e12
UD
18533 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
18534
9bea3473
UD
185352011-12-02 Ulrich Drepper <drepper@gmail.com>
18536
3a965496
UD
18537 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
18538 problem.
18539
9bea3473
UD
18540 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
18541
f101631b
UD
185422011-11-29 Joseph Myers <joseph@codesourcery.com>
18543
18544 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
18545 conditional on GCC version.
18546 (__arch_compare_and_exchange_val_8_acq)
18547 (__arch_compare_and_exchange_val_16_acq)
18548 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
18549 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
18550 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
18551
a98275aa
UD
185522011-12-02 Joseph Myers <joseph@codesourcery.com>
18553
18554 * sysdeps/sh/backtrace.c: New file.
18555
d4cc29a2
AS
185562011-12-02 Andreas Schwab <schwab@redhat.com>
18557
18558 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
18559 parenthesis.
18560
6257af2d
AS
185612011-12-01 Andreas Schwab <schwab@redhat.com>
18562
18563 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
18564 falling back to utime.
18565
b5f44c1a
AS
185662011-11-30 Andreas Schwab <schwab@redhat.com>
18567
18568 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
18569 expectations for float.
18570
f3a6cc0a
AS
185712011-11-29 Andreas Schwab <schwab@redhat.com>
18572
18573 * locale/weight.h (findidx): Add parameter len.
18574 * locale/weightwc.h (findidx): Likewise.
18575 * posix/fnmatch_loop.c (FCT): Adjust caller.
18576 * posix/regcomp.c (build_equiv_class): Likewise.
18577 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
18578 * posix/regexec.c (check_node_accept_bytes): Likewise.
18579 * string/strcoll_l.c (STRCOLL): Likewise.
18580 * string/strxfrm_l.c (STRXFRM): Likewise.
18581
9d65ea3a
UD
185822011-11-17 Ulrich Drepper <drepper@gmail.com>
18583
18584 * Makefile.in: Remove CVSOPT handling.
18585 * configure.in: Remove use of AC_REVISION.
18586 * iconvdata/Makefile (distribute): No need to filter out CVS.
18587 * scripts/list-sources.sh: Remove CVS, subversion and monotone
18588 handling.
18589
5583a086
AS
185902011-11-16 Andreas Schwab <schwab@redhat.com>
18591
18592 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
18593 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
18594 [USE_AS_STRNCASECMP_L]: Likewise.
18595 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
18596 NO_TLS_DIRECT_SEG_REFS.
18597 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
18598 Fix argument offsets for non-PIC.
18599 [USE_AS_STRNCASECMP_L]: Likewise.
18600 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
18601 NO_TLS_DIRECT_SEG_REFS.
18602
d62a8200
UD
186032011-11-15 Ulrich Drepper <drepper@gmail.com>
18604
9d65ea3a 18605 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
18606 O_CLOEXEC.
18607 * locale/loadlocale.c (_nl_load_locale): Likewise.
18608
09f93bd3
AS
186092011-11-15 Andreas Schwab <schwab@redhat.com>
18610
446514f9
AS
18611 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
18612 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
18613 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
18614 (SYSCALL_GETTIME): Set errno on error.
18615
09f93bd3
AS
18616 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
18617 count references to noai6ai_cached.
18618
312be3f9
UD
186192011-11-15 Ulrich Drepper <drepper@gmail.com>
18620
18621 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
18622
18623 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
18624 FD_CLOEXEC for /proc/self/maps.
18625
18626 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
18627 FD_CLOEXEC for /proc/meminfo.
18628
18629 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
18630 gai.conf.
18631
18632 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
18633 FD_CLOEXEC for given file.
18634
18635 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
18636
18637 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
18638 FD_CLOEXEC for /etc/hosts.
18639 (_gethtent): Likewise.
18640
18641 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
18642
18643 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
18644 cancellation and set FD_CLOEXEC for /etc/netgroup.
18645
18646 * nss/nss_files/files-key.c (search): Don't allow cancellation when
18647 reading /etc/publickey.
18648
18649 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
18650 allow cancellation when reading /etc/group.
18651
18652 * nss/nss_files/files-alias.c (internal_setent): Don't allow
18653 cancellation.
18654 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
18655
18656 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
18657 when using data file.
18658
18659 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
18660
18661 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
18662 (write_nis_obj): Use "c" and "e" in fopen.
18663
18664 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
18665
18666 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
18667
18668 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
18669
18670 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
18671
18672 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
18673 locale.alias.
18674
18675 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
18676
18677 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
18678
18679 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
18680
18681 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
18682 file parsing and set FD_CLOEXEC.
18683
82af0fa8
UD
186842011-11-14 Ulrich Drepper <drepper@gmail.com>
18685
18686 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
18687
a5fb313c
AS
186882011-11-14 Andreas Schwab <schwab@redhat.com>
18689
18690 * malloc/arena.c (arena_get2): Don't call reused_arena when
18691 _int_new_arena failed.
18692
6abf3465
UD
186932011-11-14 Ulrich Drepper <drepper@gmail.com>
18694
18695 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
18696 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
18697 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
18698 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
18699 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
18700 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
18701 to compile strcasecmp and strncasecmp.
18702 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
18703 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
18704
18705 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
18706
76e3966e
UD
187072011-11-13 Ulrich Drepper <drepper@gmail.com>
18708
18709 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
18710 locale-defines.sym to gen-as-const-headers.
18711 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
18712 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
18713 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
18714 to compile strcasecmp and strncasecmp.
18715 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
18716 strcasecmp_l and strncasecmp_l.
18717 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
18718 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
18719 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
18720 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
18721 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
18722 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
18723 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
18724 * sysdeps/i386/i686/multiarch/strncase.S: New file.
18725 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
18726 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
18727 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
18728
ab26144e
UD
187292011-11-12 Ulrich Drepper <drepper@gmail.com>
18730
7edb22ef
UD
18731 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
18732 result of SYSDEP_GETTIME_CPU to retval.
18733 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
18734 parameter list to macro. Remove trailing semicolon. Adjust users.
18735
9694fc44
UD
18736 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
18737 variable.
18738
8ad89ef8
UD
18739 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
18740 mantissa words.
18741 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
18742
0c822ef9
UD
18743 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
18744 from unused variable.
18745
874e0564
UD
18746 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
18747 DWARF definitions.
18748 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
18749 for assembling.
18750
3a2edc79
UD
18751 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
18752 over namespaces.
18753
f3c2577f
UD
18754 * sunrpc/rpc_prot.c (rejected): Fix case value.
18755
294ce126
UD
18756 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
18757 unsigned long long int to avoid warnings in shift.
18758
5e2b63c6
UD
18759 * posix/regex_internal.c (re_string_reconstruct): Actually use result
18760 of use of trans.
18761 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
18762 variable tmp.
18763
e7f4b08e
UD
18764 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
18765 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
18766 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
18767
ab26144e
UD
18768 * nis/nis_table.c (nis_list): Use variable of correct type for
18769 result of __follow_path call.
18770
8a6d5255
AZ
187712011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18772
18773 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
18774 of math functions ceil, trunc, floor, round, and sqrt, when
18775 avaliable on the platform.
18776 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
18777 name clash.
18778 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
18779 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
18780 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
18781
aaddc98c
MP
187822011-10-30 Marek Polacek <mpolacek@redhat.com>
18783
18784 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
18785 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
18786
95b7042b
RM
187872011-11-11 Roland McGrath <roland@hack.frob.com>
18788
18789 * include/unistd.h: Fix __readlink return type.
18790 Reported by Chris Metcalf <cmetcalf@tilera.com>.
18791
57769839
UD
187922011-11-11 Ulrich Drepper <drepper@gmail.com>
18793
18794 * stdlib/ucontext.h: Undo last change for makecontext.
18795
edc5984d
AS
187962011-11-11 Andreas Schwab <schwab@redhat.com>
18797
98591e58
AS
18798 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
18799
edc5984d
AS
18800 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
18801 * setjmp/setjmp.h: Mark functions as non-leaf.
18802 * setjmp/bits/setjmp2.h: Likewise.
18803 * stdlib/ucontext.h: Likewise.
18804
77cdc054
AS
188052011-11-10 Andreas Schwab <schwab@redhat.com>
18806
18807 * malloc/arena.c (_int_new_arena): Don't increment narenas.
18808 (reused_arena): Don't check arena limit.
18809 (arena_get2): Atomically check arena limit.
18810
fe72eebd
UD
188112011-11-08 Ulrich Drepper <drepper@gmail.com>
18812
5f078c32
UD
18813 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
18814 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
18815
fe72eebd
UD
18816 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
18817 instructions.
18818
ae1bc2fa
AS
188192011-11-07 Andreas Schwab <schwab@redhat.com>
18820
7583a88d
AS
18821 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
18822 handler when locking.
18823
ae1bc2fa
AS
18824 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
18825 Fix size of allocated buffer.
18826
10fb0bfa
AS
188272011-11-04 Andreas Schwab <schwab@redhat.com>
18828
998832a4
AS
18829 [BZ #10103]
18830 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
18831 declarations for long double functions.
18832 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
18833
10fb0bfa
AS
18834 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
18835
3d7ba52b
AS
188362011-11-03 Andreas Schwab <schwab@redhat.com>
18837
a9ae54a1
AS
18838 * nscd/nscd.c (main): Don't start AVC thread until credentials are
18839 installed.
18840
3d7ba52b
AS
18841 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
18842 is disabled.
18843
bc8db248
ST
188442011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
18845
18846 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
18847
45b96dd6
AS
188482011-11-01 Andreas Schwab <schwab@linux-m68k.org>
18849
647776f6
AS
18850 * include/alloca.h (stackinfo_alloca_round): Define.
18851 (extend_alloca): Use it.
18852 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
18853 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
18854 here.
18855
d91a8b93
AS
18856 * scripts/check-local-headers.sh: Ignore libaudit.h.
18857
45b96dd6
AS
18858 * nscd/Makefile (extra-objs): Make recursively expanded.
18859
432d41ce
UD
188602011-11-01 Ulrich Drepper <drepper@gmail.com>
18861
34372fc6
UD
18862 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
18863 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
18864
fadb59f8
UD
18865 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
18866 * posix/tst-rfc3484-2.c: Likewise.
18867 * posix/tst-rfc3484-3.c: Likewise.
18868
78239589
UD
18869 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
18870 process_vm_writev.
18871 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
18872 process_vm_writev.
18873 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
18874 process_vm_writev from libc using GLIBC_2.15 version.
18875
432d41ce
UD
18876 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
18877
02f9c6cf
PP
188782011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
18879
18880 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
18881 stack usage.
18882
3a2c0242
UD
188832011-10-31 Ulrich Drepper <drepper@gmail.com>
18884
f4ec4833
UD
18885 [BZ #13367]
18886 * nss/getent.c (initgroups_keys): Show error message in case no group
18887 names are given.
18888
3a2c0242
UD
18889 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
18890 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
18891 __bump_nl_timestamp.
18892 * nscd/connections (nscd_init): When host database is served open
18893 netlink socket and request notification about configuration changes.
18894 (main_loop_poll): Track netlink file descriptor and bump timestamp
18895 in case data becomes available.
18896 (main_loop_epoll): Likewise.
18897 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
18898 (database_pers_head): Add extra_data fileds.
18899 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
18900 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
18901 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
18902 Adjust caller.
18903 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
18904 in6ai data, call __free_in6ai.
18905 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
18906 Add -DHAVE_NETLINK.
18907 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
18908 interface information. Reuse previous data if netlink timestamp
18909 is not changed.
18910 (__bump_nl_timestamp): New function.
18911 (__free_in6ai): New function.
18912
636064eb
UD
189132011-10-30 Ulrich Drepper <drepper@gmail.com>
18914
18915 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
18916 close_not_cancel_no_status here.
18917 (__check_pf): Reorganize code a bit to not call close twice if OOM.
18918
9beb2334
UD
189192011-10-29 Ulrich Drepper <drepper@gmail.com>
18920
6ef76f3b
UD
18921 [BZ #13276]
18922 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
18923 return value.
18924
0ffc4f3e 18925 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
18926 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
18927 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
18928
cb95113e
UD
189292011-07-03 Andreas Jaeger <aj@suse.de>
18930
18931 [BZ #10709]
18932 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
18933 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
18934 * math/libm-test.inc (sin_test): Add test case.
18935
a1b560ff
UD
189362011-10-29 Ulrich Drepper <drepper@gmail.com>
18937
c9aaface
UD
18938 [BZ #13337]
18939 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
18940 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
18941
d272e7f1
UD
18942 * elf/chroot_canon.c (chroot_canon): Cleanups.
18943
1bc33071
UD
18944 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
18945
1760874d
TJ
18946 [BZ #13335]
18947 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
18948 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
18949
51d91b18
UD
18950 * string/test-strchr.c: Make usable for strchrnul testing.
18951 * string/test-strchrnul.c: New file.
18952 * string/Makefile (strop-tests): Add strchrnul.
18953
a1b560ff 18954 * po/it.po: Update from translation team.
b611fb81 18955 * po/es.po: Likewise.
a1b560ff 18956
a5b81e1f
UD
189572011-10-28 Ulrich Drepper <drepper@gmail.com>
18958
fd52bc6d
UD
18959 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
18960 the three constants needed as parameters. Drop the others.
18961 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
18962 __m128i_strloadu_tolower.
52e4b9eb
UD
18963 Create and initialize variable zero and use it in all the places
18964 where _mm_setzero_si128 was used.
fd52bc6d 18965
a5b81e1f
UD
18966 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
18967 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
18968 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
18969 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
18970 anymore.
18971 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
18972 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
18973 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
18974 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
18975 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
18976 __mpranred, __mptan.
18977 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
18978 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
18979 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
18980 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
18981 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
18982 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
18983 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
18984 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
18985 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
18986
b4343346
AS
189872011-10-28 Andreas Schwab <schwab@redhat.com>
18988
0c92d8a8
AS
18989 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
18990 redefine if SHARED.
18991 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
18992
b4343346
AS
18993 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
18994 wide char related routines to wcsmbs subdir.
18995
3871f58f
AS
189962011-10-27 Andreas Schwab <schwab@redhat.com>
18997
18998 [BZ #13344]
18999 * misc/sys/cdefs.h (__THROWNL): Define.
19000 * posix/unistd.h: Use __THREADNL instead of __THREAD
19001 for memory synchronization functions.
19002
94d44d9f
RM
190032011-10-26 Roland McGrath <roland@hack.frob.com>
19004
21b64b15 19005 [BZ #13349]
94d44d9f
RM
19006 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
19007 doesn't exist.
19008 * manual/stdio.texi (Obstack Streams): Node removed.
19009
f6ce9294
AS
190102011-10-26 Andreas Schwab <schwab@redhat.com>
19011
80479147
AS
19012 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
19013 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
19014 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
19015
f6ce9294
AS
19016 * math/math_private.h (math_force_eval): Allow non-addressable
19017 arguments.
19018 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
19019
618280a1
UD
190202011-10-25 Ulrich Drepper <drepper@gmail.com>
19021
e0016b11
UD
19022 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
19023 file is not needed.
19024
19025 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
19026 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
19027 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
19028 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
19029 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
19030 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
19031 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
19032 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
19033 Add AVX variants.
19034 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
19035 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
19036 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
19037 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
19038 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
19039 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
19040 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
19041 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
19042 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
19043 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
19044 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
19045 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
19046 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
19047 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
19048 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
19049 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
19050 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
19051 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
19052 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
19053
19054 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
19055 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
19056
618280a1
UD
19057 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
19058 place. Use VEX encoding when compiling for AVX.
19059
37822576
AS
190602011-10-25 Andreas Schwab <schwab@redhat.com>
19061
1f1e1947
AS
19062 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
19063 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
19064
37822576
AS
19065 * string/test-strchr.c (do_test): Don't generate NUL bytes.
19066
31ea014d
UD
190672011-10-25 Ulrich Drepper <drepper@gmail.com>
19068
d7826aa1 19069 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 19070 useless if() expression.
d7826aa1
UD
19071 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
19072 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
19073 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
19074 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
19075 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
19076 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
19077 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
19078 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
19079 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
19080 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
19081 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
19082 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
19083 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
19084 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
19085 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
19086 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
19087 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
19088 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
19089 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
19090
31ea014d
UD
19091 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
19092
16437fec
AS
190932011-10-25 Andreas Schwab <schwab@redhat.com>
19094
19095 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
19096 condition.
19097 * elf/dl-fini.c (_dl_sort_fini): Likewise.
19098
31d3cc00
UD
190992011-10-25 Ulrich Drepper <drepper@gmail.com>
19100
19101 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
19102 .text section. Avoid duplicate constants.
19103 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
19104 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19105 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
19106 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19107 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
19108 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19109 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19110 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19111 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
19112 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
19113 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
19114 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
19115 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
19116 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
19117 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
19118 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
19119 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
19120 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
19121 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
19122 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19123 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
19124 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
19125 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
19126 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
19127 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
19128 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
19129 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
19130 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
19131 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
19132 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
19133 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
19134 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
19135 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
19136 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
19137 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
19138 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
19139 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
19140 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
19141 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
19142 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
19143 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
19144 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
19145 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
19146 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
19147 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
19148
58985aa9
UD
191492011-10-24 Ulrich Drepper <drepper@gmail.com>
19150
202c9deb
UD
19151 * sysdeps/x86_64/dla.h: Move to ...
19152 * sysdeps/x86_64/fpu/dla.h: ...here.
19153 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
19154 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 19155
af968f62
UD
19156 * config.make.in: Add have-mfma4 entry.
19157 * configure.in: Substitute libc_cv_cc_fma4.
19158 * math/Makefile (dbl-only-routines): Add sincostab.
19159 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
19160 Use __sincostab not sincos.
19161 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
19162 name is a macro.
19163 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
19164 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19165 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19166 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
19167 using __copysign.
19168 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
19169 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
19170 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
19171 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
19172 and __inv.
19173 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
19174 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
19175 __copysign.
19176 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
19177 define aliases when function name is a macro.
19178 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
19179 sysdeps/ieee754/dbl-64/sincos.tbl.
19180 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
19181 fma4-enabled routines.
19182 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
19183 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
19184 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
19185 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
19186 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
19187 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
19188 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
19189 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
19190 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
19191 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
19192 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
19193 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
19194 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
19195 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
19196 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
19197 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
19198 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
19199 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
19200 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
19201 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
19202 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
19203 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
19204 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
19205 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
19206 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
19207 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
19208 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
19209 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
19210 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
19211 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
19212
58985aa9
UD
19213 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
19214 rename.
19215 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19216 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19217 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19218 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19219 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19220 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19221 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19222 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19223
a201fbcf
AS
192242011-10-24 Andreas Schwab <schwab@redhat.com>
19225
19226 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
19227
fc2ee42a
LD
192282011-10-23 Ulrich Drepper <drepper@gmail.com>
19229
bb3129bd
UD
19230 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
19231
0275fff8
UD
19232 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
19233 prediction.
19234 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
19235
2fa2ae85
UD
19236 * string/strnlen.c: Don't define STRNLEN, reverse logic.
19237 Remove unused variable magic_bits.
19238 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
19239
fc2ee42a
LD
19240 * string/strnlen.c: Define and use STRNLEN macro.
19241 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
19242 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
19243 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
19244 * wcsmbs/wcslen.c: Define and use WCSLEN.
19245 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
19246 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
19247 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
19248 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
19249 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
19250 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
19251 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
19252
ce7dd29f
LD
192532011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19254
19255 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19256 strnlen-sse2-no-bsf.
19257 Rename strlen-no-bsf to strlen-sse2-no-bsf.
19258 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
19259 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
19260 Add strnlen support.
19261 (USE_AS_STRNLEN): New macro.
19262 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
19263 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
19264 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
19265 * sysdeps/x86_64/wcslen.S: New file.
19266
979c70a3
MZ
192672011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
19268
19269 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
19270 XMM-moves are used for copying on small sizes.
19271
2d09f82f
LD
192722011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19273
19274 * wcsmbs/Makefile (strop-tests): Add wcschr.
19275 * wcsmbs/test-wcschr.c: New file.
19276 * string/test-strchr.c: Update.
19277 Add wcschr support.
19278 (WIDE): New macro.
19279
619fccca
LD
192802011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19281
2d09f82f 19282 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
19283 * wcsmbs/test-wcslen.c: New file.
19284 * string/test-strlen.c: Update.
19285 Add wcslen support.
19286 (WIDE): New macro.
19287
09f699ea
UD
192882011-10-23 Ulrich Drepper <drepper@gmail.com>
19289
19290 * po/it.po: Update from translation team.
19291
95584d3b
LD
192922011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19293
19294 * sysdeps/x86_64/wcscmp.S: Update.
19295 Fix wrong comparison semantics.
19296 wcscmp shall use signed comparison not unsigned.
19297 Don't use substraction to avoid overflow bug.
19298 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
19299 * wcsmbc/wcscmp.c: Likewise.
19300 * string/test-strcmp.c: Likewise.
19301 Add new tests to check cases with negative values.
19302
c8b3296b
UD
193032011-10-23 Ulrich Drepper <drepper@gmail.com>
19304
19305 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
19306 * sysdeps/x86_64/dla.h: ...here. New file.
19307 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
19308 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19309 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19310 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19311 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19312 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
19313 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19314 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19315 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19316
246ad57a
AS
193172011-10-23 Andreas Schwab <schwab@linux-m68k.org>
19318
19319 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
19320 __ynl_finite aliases.
19321
a1a87169
UD
193222011-10-22 Ulrich Drepper <drepper@gmail.com>
19323
0d355eb7
UD
19324 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19325
a1a87169
UD
19326 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
19327 define DLA_FMA.
19328 [DLA_FMA] (EMULV): Use DLA_FMA.
19329 [DLA_FMA] (MUL12): Use EMULV.
19330 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
19331 that are not needed.
19332 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19333 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19334 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19335 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19336 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19337 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19338 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19339
ee2aafe0
AS
193402011-10-22 Andreas Schwab <schwab@linux-m68k.org>
19341
19342 * math/s_nan.c: Undef __nan.
19343 * math/s_nanf.c: Undef __nanf.
19344 * math/s_nanl.c: Undef __nanl.
19345 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
19346 "math_private.h".
19347
bc62c2fb
UD
193482011-10-22 Ulrich Drepper <drepper@gmail.com>
19349
77425c63
UD
19350 * math/s_catan.c: Add branch predictions.
19351 * math/s_catanf.c: Likewise.
19352 * math/s_catanh.c: Likewise.
19353 * math/s_catanhf.c: Likewise.
19354 * math/s_catanhl.c: Likewise.
19355 * math/s_catanl.c: Likewise.
19356 * math/s_cexp.c: Likewise.
19357 * math/s_cexpf.c: Likewise.
19358 * math/s_cexpl.c: Likewise.
19359 * math/s_clog.c: Likewise.
19360 * math/s_clog10.c: Likewise.
19361 * math/s_clog10f.c: Likewise.
19362 * math/s_clog10l.c: Likewise.
19363 * math/s_clogf.c: Likewise.
19364 * math/s_clogl.c: Likewise.
19365 * math/s_csqrt.c: Likewise.
19366 * math/s_csqrtf.c: Likewise.
19367 * math/s_csqrtl.c: Likewise.
19368 * math/s_ctanf.c: Likewise.
19369 * math/s_ctanh.c: Likewise.
19370 * math/s_ctanhf.c: Likewise.
19371 * math/s_ctanhl.c: Likewise.
19372 * math/s_ctanl.c: Likewise.
19373
bc62c2fb
UD
19374 * math/math_private.h: Define __nan, __nanf, __nanl.
19375 * math/s_cacosh.c: Include <math_private.h>.
19376 * math/s_cacoshl.c: Likewise.
19377 * math/s_casinh.c: Likewise.
19378 * math/s_casinhf.c: Likewise.
19379 * math/s_casinhl.c: Likewise.
19380 * math/s_ccos.c: Rely entire on ccosh.
19381 * math/s_ccosf.c: Rely entire on ccoshf.
19382 * math/s_ccosl.c: Rely entirely on ccoshl.
19383 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
19384 Remove tests for FE_INVALID.
19385 * math/s_ccoshf.c: Likewise.
19386 * math/s_ccoshl.c: Likewise.
19387 * math/s_csin.c: Likewise.
19388 * math/s_csinf.c: Likewise.
19389 * math/s_csinh.c Likewise.
19390 * math/s_csinhf.c: Likewise.
19391 * math/s_csinhl.c: Likewise.
19392 * math/s_csinl.c: Likewise.
19393 * math/s_ctan.c: Likewise.
19394 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
19395 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
19396 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
19397
8ec250a4
UD
193982011-10-21 Ulrich Drepper <drepper@gmail.com>
19399
c196fed8
UD
19400 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
19401 compilation problems.
19402
8ec250a4
UD
19403 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
19404 __builtin_expect.
19405
8d4f46c6
UD
194062011-10-20 Ulrich Drepper <drepper@gmail.com>
19407
ed72b654
UD
19408 * sysdeps/i386/configure.in: Test for -mfma4 option.
19409 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
19410 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
19411 COMMON_CPUID_INDEX_80000001.
19412 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
19413 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
19414 use it if FMA3 is not supported.
19415 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
19416
8d4f46c6
UD
19417 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
19418 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
19419
d45c60c2
AS
194202011-10-20 Andreas Schwab <schwab@redhat.com>
19421
19422 [BZ #12892]
19423 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
19424 it would create a cycle with a link time dependency.
19425
d9a4d2ab
UD
194262011-10-19 Ulrich Drepper <drepper@gmail.com>
19427
855d1560
UD
19428 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
19429 instruction.
19430 * string/Makefile (strop-tests): Add rawmemchr.
19431 * string/test-rawmemchr.c: New file.
19432
d9a4d2ab
UD
19433 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
19434 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
19435 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
19436 when compiling str{,n}casecmp and when AVX is available. Hook up
19437 new optimized code in initializers.
19438
8f3b1ffe
AS
194392011-10-19 Andreas Schwab <schwab@redhat.com>
19440
19441 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
19442 __feraiseexcept instead of feraiseexcept.
19443
d38f1dba
UD
194442011-10-18 Ulrich Drepper <drepper@gmail.com>
19445
d9a8d0ab
UD
19446 * math/math_private.h: Define defaults for libc_fetestexcept and
19447 libc_feupdateenv.
19448 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
19449 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
19450 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
19451 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
19452 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
19453 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
19454 libc_fetestexcept and libc_feupdateenv.
19455
4855e3dd
UD
19456 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
19457 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
19458 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
19459 * sysdeps/x86_64/fpu/math_private.h: Define special version of
19460 libc_feholdexcept_setround.
19461
581d30e3
UD
19462 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
19463 Add s_nearbyint-c and s_nearbyintf-c.
19464 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
19465 nearbyintf inlines.
19466 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
19467 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
19468 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
19469 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
19470
d38f1dba
UD
19471 * math/math_private.h: Define defaults for libc_fegetround,
19472 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
19473 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
19474 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
19475 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
19476 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
19477 standard functions.
19478 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
19479 Remove comments and hacks for old compiler versions.
19480 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
19481 libc_fegetround, libc_fesetround, libc_feholdexcept, and
19482 libc_feholdexceptl.
19483
caa6c9d8
AS
194842011-10-18 Andreas Schwab <schwab@redhat.com>
19485
19486 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
19487 (__feraiseexcept_renamed): Add __NTH.
19488 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
19489 namespace violations.
19490
97c066e6
UD
194912011-10-17 Ulrich Drepper <drepper@gmail.com>
19492
99ce7b04
UD
19493 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
19494
1004d182
UD
19495 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
19496
228a984d
UD
19497 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
19498 recently added interfaces.
19499 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
19500
c8553a6a
UD
19501 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
19502 about macro parameter expansion.
19503
ed22dcf6
UD
19504 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
19505 __NO_MATH_INLINES is defined. Cleanups.
19506
19507 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
19508 and __floorf is target has SSE4.1.
19509 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
19510 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
19511 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
19512 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
19513
b171c137
UD
19514 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
19515 name.
19516 (floorf): Likewise.
19517
97c066e6
UD
19518 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
19519
629f62ef
AS
195202011-10-17 Andreas Schwab <schwab@redhat.com>
19521
49a43d80
AS
19522 * misc/sys/cdefs.h: Fix last change.
19523
629f62ef
AS
19524 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
19525 database lookup.
19526
e453f6cd
UD
195272011-10-16 Ulrich Drepper <drepper@gmail.com>
19528
aa78043a
UD
19529 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
19530
ad0f5cad
UD
19531 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
19532 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
19533 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
19534 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
19535 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
19536 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
19537 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
19538 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
19539 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
19540 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
19541 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
19542 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
19543 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
19544 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
19545 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
19546 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
19547 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
19548 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
19549 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
19550 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
19551 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
19552 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
19553
19554 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
19555 ceil, ceilf, floor, floorf.
19556
19557 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
19558 Perform IRELATIVE relocations last.
19559
e453f6cd
UD
19560 * elf/do-rel.h: Add another parameter nrelative, replacing the
19561 local variable with the same name. Change name of the function
19562 to end in Rel or Rela (uppercase).
19563 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
19564 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
19565 elf_dynamic_do_##reloc function.
19566
fd5bdc09
UD
195672011-10-15 Ulrich Drepper <drepper@gmail.com>
19568
79b195b5
UD
19569 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
19570 is sufficient, at least on modern CPUs.
19571
d4a28569
UD
19572 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
19573
b61099b5
UD
19574 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
19575 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
19576
bcf01e6d
UD
19577 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
19578 __expl_finite.
19579 * math/bits/math-finite.h: Add entries for exp.
19580 * math/e_expl.c: Add __*_finite alias.
19581 * sysdeps/i386/fpu/e_exp.S: Likewise.
19582 * sysdeps/i386/fpu/e_expf.S: Likewise.
19583 * sysdeps/i386/fpu/e_expl.c: Likewise.
19584 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
19585 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
19586 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
19587 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
19588 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
19589 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
19590 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
19591
ba1a0d59
UD
19592 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
19593 is sufficient, at least on modern CPUs.
19594
fd5bdc09
UD
19595 * ctype/ctype-info.c (__ctype_init): Define.
19596 * include/ctype.h (__ctype_init): Declare.
19597 (__ctype_b_loc): The variable is always initialized.
19598 (__ctype_toupper_loc): Likewise.
19599 (__ctype_tolower_loc): Likewise.
19600 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
19601 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
19602
7872cfb0
AS
196032011-10-15 Andreas Schwab <schwab@linux-m68k.org>
19604
b468825a
AS
19605 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
19606
7872cfb0
AS
19607 * configure.in: Also look in $cxxmachine/include for C++ system
19608 headers.
19609
be13f7bf
LD
196102011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19611
19612 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
19613 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
19614 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
19615 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
19616 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
19617 (USE_AS_WMEMCMP): New macro.
19618 Fixing indents.
19619 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
19620 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
19621 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
19622 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
19623 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19624 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
19625 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
19626 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
19627 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
19628 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
19629 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
19630 (USE_AS_WMEMCMP): New macro.
19631 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
19632 * sysdeps/string/test-memcmp.c: Update.
19633 Fix simple_wmemcmp.
19634 Add new tests.
19635 * wcsmbs/wmemcmp.c: Update.
19636 (WMEMCMP): New macro.
19637 Fix overflow bug.
19638
556a2007
AJ
196392011-10-12 Andreas Jaeger <aj@suse.de>
19640
19641 [BZ #13268]
19642 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
19643
538faaa7
UD
196442011-10-15 Ulrich Drepper <drepper@gmail.com>
19645
ab6737ff
UD
19646 * libio/iofwide.c (do_length): Avoid warning.
19647
538faaa7
UD
19648 * ctype/ctype.h (__isctype_f): Add missing __THROW.
19649
396a21b1
UD
196502011-10-14 Ulrich Drepper <drepper@gmail.com>
19651
cdf2901f
UD
19652 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
19653
38ad40ce
UD
19654 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
19655 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
19656 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
19657 * sysdeps/i386/i686/fpu/e_log.S: New file.
19658 * sysdeps/i386/i686/fpu/e_logf.S: New file.
19659 * sysdeps/i386/i686/fpu/e_logl.S: New file.
19660
396a21b1
UD
19661 * ctype/ctype.h: Add support for inlined isXXX functions when
19662 compiling C++ code.
19663
6b1f68c9
AS
196642011-10-14 Andreas Schwab <schwab@redhat.com>
19665
349290c0
AS
19666 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19667
6b1f68c9
AS
19668 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
19669
f2282d42
RM
196702011-10-13 Roland McGrath <roland@hack.frob.com>
19671
19672 [BZ #13291]
19673 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
19674
5298ffa8
AS
196752011-10-13 Andreas Schwab <schwab@redhat.com>
19676
714fad23
AS
19677 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
19678 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
19679 feraiseexcept.
19680
81dcc7fb
AS
19681 * sysdeps/x86_64/memrchr.S: Check for zero size.
19682
5298ffa8
AS
19683 * string/stratcliff.c: Add memrchr tests.
19684
951fbcec
LD
196852011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19686
19687 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19688 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
19689 rawmemchr-sse2 rawmemchr-sse2-bsf.
19690 * sysdeps/i386/i686/multiarch/memchr.S: New file.
19691 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
19692 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
19693 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
19694 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
19695 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
19696 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
19697 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
19698 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
19699 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
19700 * string/memrchr.c (MEMRCHR): New macro.
19701
0ac5ae23
UD
197022011-10-12 Ulrich Drepper <drepper@gmail.com>
19703
19704 Add integration with gcc's -ffinite-math-only and optimize wrapper
19705 functions in libm.
19706 * Versions.def: Define GLIBC_2.15 version for libm.
19707 * math/Makefile (headers): Add bits/math-finite.h.
19708 * math/bits/math-finite.h: New file.
19709 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
19710 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
19711 * math/e_acoshl.c: Add __*_finite alias.
19712 * math/e_acosl.c: Likewise.
19713 * math/e_asinl.c: Likewise.
19714 * math/e_atan2l.c: Likewise.
19715 * math/e_atanhl.c: Likewise.
19716 * math/e_coshl.c: Likewise.
19717 * math/e_exp10.c: Likewise.
19718 * math/e_exp10f.c: Likewise.
19719 * math/e_exp10l.c: Likewise.
19720 * math/e_exp2l.c: Likewise.
19721 * math/e_fmodl.c: Likewise.
19722 * math/e_gammal_r.c: Likewise.
19723 * math/e_hypotl.c: Likewise.
19724 * math/e_j0l.c: Likewise.
19725 * math/e_j1l.c: Likewise.
19726 * math/e_jnl.c: Likewise.
19727 * math/e_lgammal_r.c: Likewise.
19728 * math/e_log10l.c: Likewise.
19729 * math/e_log2l.c: Likewise.
19730 * math/e_logl.c: Likewise.
19731 * math/e_powl.c: Likewise.
19732 * math/e_sinhl.c: Likewise.
19733 * math/e_sqrtl.c: Likewise.
19734 * math/e_scalb.c: Completely rewritten and optimized.
19735 * math/e_scalbf.c: Likewise.
19736 * math/e_scalbl.c: Likewise.
19737 * math/w_acos.c: Likewise.
19738 * math/w_acosf.c: Likewise.
19739 * math/w_acosl.c: Likewise.
19740 * math/w_acosh.c: Likewise.
19741 * math/w_acoshf.c: Likewise.
19742 * math/w_acoshl.c: Likewise.
19743 * math/w_asin.c: Likewise.
19744 * math/w_asinf.c: Likewise.
19745 * math/w_asinl.c: Likewise.
19746 * math/w_atan2.c: Likewise.
19747 * math/w_atan2f.c: Likewise.
19748 * math/w_atan2l.c: Likewise.
19749 * math/w_atanh.c: Likewise.
19750 * math/w_atanhf.c: Likewise.
19751 * math/w_atanhl.c: Likewise.
19752 * math/w_exp10.c: Likewise.
19753 * math/w_exp10f.c: Likewise.
19754 * math/w_exp10l.c: Likewise.
19755 * math/w_fmod.c: Likewise.
19756 * math/w_fmodf.c: Likewise.
19757 * math/w_fmodl.c: Likewise.
19758 * math/w_j0.c: Likewise.
19759 * math/w_j0f.c: Likewise.
19760 * math/w_j0l.c: Likewise.
19761 * math/w_j1.c: Likewise.
19762 * math/w_j1f.c: Likewise.
19763 * math/w_j1l.c: Likewise.
19764 * math/w_jn.c: Likewise.
19765 * math/w_jnf.c: Likewise.
19766 * math/w_log.c: Likewise.
19767 * math/w_logf.c: Likewise.
19768 * math/w_logl.c: Likewise.
19769 * math/w_log10.c: Likewise.
19770 * math/w_log10f.c: Likewise.
19771 * math/w_log10l.c: Likewise.
19772 * math/w_log2.c: Likewise.
19773 * math/w_log2f.c: Likewise.
19774 * math/w_log2l.c: Likewise.
19775 * math/w_pow.c: Likewise.
19776 * math/w_powf.c: Likewise.
19777 * math/w_powl.c: Likewise.
19778 * math/w_remainder.c: Likewise.
19779 * math/w_remainderf.c: Likewise.
19780 * math/w_remainderl.c: Likewise.
19781 * math/w_scalb.c: Likewise.
19782 * math/w_scalbf.c: Likewise.
19783 * math/w_scalbl.c: Likewise.
19784 * math/w_sqrt.c: Likewise.
19785 * math/w_sqrtf.c: Likewise.
19786 * math/w_sqrtl.c: Likewise.
19787 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
19788 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
19789 used.
19790 * math/math_private.h: Declare __kernel_standard_f.
19791 * math/w_cosh.c: Remove cruft and optimize a bit.
19792 * math/w_coshf.c: Likewise.
19793 * math/w_coshl.c: Likewise.
19794 * math/w_exp2.c: Likewise.
19795 * math/w_exp2f.c: Likewise.
19796 * math/w_exp2l.c: Likewise.
19797 * math/w_hypot.c: Likewise.
19798 * math/w_hypotf.c: Likewise.
19799 * math/w_hypotl.c: Likewise.
19800 * math/w_lgamma.c: Likewise.
19801 * math/w_lgamma_r.c: Likewise.
19802 * math/w_lgammaf.c: Likewise.
19803 * math/w_lgammaf_r.c: Likewise.
19804 * math/w_lgammal.c: Likewise.
19805 * math/w_lgammal_r.c: Likewise.
19806 * math/w_sinh.c: Likewise.
19807 * math/w_sinhf.c: Likewise.
19808 * math/w_sinhl.c: Likewise.
19809 * math/w_tgamma.c: Likewise.
19810 * math/w_tgammaf.c: Likewise.
19811 * math/w_tgammal.c: Likewise.
19812 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
19813 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
19814 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
19815 Minor optimizations. Pretty printing. Remove cruft.
19816 * sysdeps/i386/fpu/e_acosf.S: Likewise.
19817 * sysdeps/i386/fpu/e_acosh.S: Likewise.
19818 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
19819 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
19820 * sysdeps/i386/fpu/e_acosl.c: Likewise.
19821 * sysdeps/i386/fpu/e_asin.S: Likewise.
19822 * sysdeps/i386/fpu/e_asinf.S: Likewise.
19823 * sysdeps/i386/fpu/e_atan2.S: Likewise.
19824 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
19825 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
19826 * sysdeps/i386/fpu/e_atanh.S: Likewise.
19827 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
19828 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
19829 * sysdeps/i386/fpu/e_exp10.S: Likewise.
19830 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
19831 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
19832 * sysdeps/i386/fpu/e_exp2.S: Likewise.
19833 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
19834 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
19835 * sysdeps/i386/fpu/e_fmod.S: Likewise.
19836 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
19837 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
19838 * sysdeps/i386/fpu/e_hypot.S: Likewise.
19839 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
19840 * sysdeps/i386/fpu/e_log.S: Likewise.
19841 * sysdeps/i386/fpu/e_log10.S: Likewise.
19842 * sysdeps/i386/fpu/e_log10f.S: Likewise.
19843 * sysdeps/i386/fpu/e_log10l.S: Likewise.
19844 * sysdeps/i386/fpu/e_log2.S: Likewise.
19845 * sysdeps/i386/fpu/e_log2f.S: Likewise.
19846 * sysdeps/i386/fpu/e_log2l.S: Likewise.
19847 * sysdeps/i386/fpu/e_logf.S: Likewise.
19848 * sysdeps/i386/fpu/e_logl.S: Likewise.
19849 * sysdeps/i386/fpu/e_pow.S: Likewise.
19850 * sysdeps/i386/fpu/e_powf.S: Likewise.
19851 * sysdeps/i386/fpu/e_powl.S: Likewise.
19852 * sysdeps/i386/fpu/e_remainder.S: Likewise.
19853 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
19854 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
19855 * sysdeps/i386/fpu/e_scalb.S: Likewise.
19856 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
19857 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
19858 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
19859 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
19860 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
19861 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
19862 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
19863 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19864 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
19865 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
19866 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
19867 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
19868 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
19869 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
19870 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
19871 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
19872 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
19873 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19874 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
19875 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
19876 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19877 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
19878 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
19879 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
19880 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19881 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
19882 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
19883 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
19884 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
19885 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
19886 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
19887 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
19888 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
19889 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
19890 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
19891 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
19892 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
19893 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
19894 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
19895 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
19896 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
19897 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
19898 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
19899 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
19900 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
19901 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
19902 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
19903 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
19904 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
19905 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
19906 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
19907 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
19908 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
19909 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
19910 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
19911 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
19912 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
19913 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
19914 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
19915 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
19916 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
19917 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
19918 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
19919 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
19920 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
19921 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
19922 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
19923 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
19924 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
19925 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
19926 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
19927 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
19928 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
19929 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
19930 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
19931 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
19932 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
19933 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
19934 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
19935 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
19936 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
19937 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
19938 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
19939 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
19940 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
19941 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
19942 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
19943 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
19944 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
19945 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
19946 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
19947 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
19948 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
19949 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
19950 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
19951 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
19952 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
19953 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
19954 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
19955 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
19956 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
19957 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
19958 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
19959 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
19960 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
19961 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
19962 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
19963 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
19964 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
19965 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
19966 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
19967 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
19968 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
19969 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
19970 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
19971 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
19972 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
19973 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
19974 (__isnanf): Likewise.
19975 (__isinf_ns): Likewise.
19976 (__isinf_nsf): Likewise.
19977 (__finite): Likewise.
19978 (__finitef): Likewise.
19979 (__ieee754_sqrt): Define as macro.
19980 (__ieee754_sqrtf): Define as macro.
19981 (__ieee754_sqrtl): Define as macro.
19982 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
19983 inlined copy.
19984 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
19985 __FINITE_MATH_ONLY__ consistent.
19986 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
19987
12cc2fcd
AS
199882011-10-10 Andreas Schwab <schwab@linux-m68k.org>
19989
a843a204
AS
19990 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
19991 of rawmemchr.
19992
12cc2fcd
AS
19993 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
19994
c853acd5
UD
199952011-10-09 Ulrich Drepper <drepper@gmail.com>
19996
19997 * po/ja.po: Update from translation team.
19998
c658d255
RM
199992011-10-08 Roland McGrath <roland@hack.frob.com>
20000
110946e4
RM
20001 * locale/programs/locarchive.c (prepare_address_space): New function.
20002 (create_archive, enlarge_archive, open_archive): Use it.
20003
50604220
RM
20004 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
20005 inside [SHARED], where it is used.
20006
c658d255
RM
20007 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
20008
20009 * nss/getent.c (netgroup_keys): Remove unused variable.
20010 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
20011
6a621eb7
UD
200122011-10-08 Ulrich Drepper <drepper@gmail.com>
20013
7edb55ce
UD
20014 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
20015 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
20016 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
20017 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
20018 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
20019 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
20020 * math/Makefile (libm-calls): Add s_isinf_ns.
20021 * math/divtc3.c: Use __isinf_nsl instead of isinf.
20022 * math/multc3.c: Likewise.
20023 * math/s_casin.c: Likewise.
20024 * math/s_casinf.c: Likewise.
20025 * math/s_casinl.c: Likewise.
20026 * math/s_ccos.c: Likewise.
20027 * math/s_ccosf.c: Likewise.
20028 * math/s_ccosl.c: Likewise.
20029 * math/s_ctan.c: Likewise.
20030 * math/s_ctanf.c: Likewise.
20031 * math/s_ctanh.c: Likewise.
20032 * math/s_ctanhf.c: Likewise.
20033 * math/s_ctanhl.c: Likewise.
20034 * math/s_ctanl.c: Likewise.
20035 * math/w_fmod.c: Likewise.
20036 * math/w_fmodf.c: Likewise.
20037 * math/w_fmodl.c: Likewise.
20038 * math/w_remainder.c: Likewise.
20039 * math/w_remainderf.c: Likewise.
20040 * math/w_remainderl.c: Likewise.
20041 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
20042 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
20043 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
20044 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
20045 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
20046 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
20047 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
20048 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
20049
187da0ae
UD
20050 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
20051 of the number.
20052 * stdio-common/printf_fphex.c: Likewise.
20053 * stdio-common/printf_size.c: Likewise.
20054
9277c064
UD
20055 * math/e_exp10.c: Include math_private.h using <...> not "...".
20056 * math/e_exp10f.c: Likewise.
20057 * math/e_exp10l.c: Likewise.
20058 * math/e_exp2l.c: Likewise.
20059 * math/e_j0l.c: Likewise.
20060 * math/e_j1l.c: Likewise.
20061 * math/e_jnl.c: Likewise.
20062 * math/e_lgammal_r.c: Likewise.
20063 * math/e_rem_pio2l.c: Likewise.
20064 * math/e_scalb.c: Likewise.
20065 * math/e_scalbf.c: Likewise.
20066 * math/e_scalbl.c: Likewise.
20067 * math/k_cosl.c: Likewise.
20068 * math/k_sinl.c: Likewise.
20069 * math/k_tanl.c: Likewise.
20070 * math/s_cacoshf.c: Likewise.
20071 * math/s_catan.c: Likewise.
20072 * math/s_catanf.c: Likewise.
20073 * math/s_catanh.c: Likewise.
20074 * math/s_catanhf.c: Likewise.
20075 * math/s_catanhl.c: Likewise.
20076 * math/s_catanl.c: Likewise.
20077 * math/s_ccosh.c: Likewise.
20078 * math/s_ccoshf.c: Likewise.
20079 * math/s_ccoshl.c: Likewise.
20080 * math/s_cexp.c: Likewise.
20081 * math/s_cexpf.c: Likewise.
20082 * math/s_cexpl.c: Likewise.
20083 * math/s_clog.c: Likewise.
20084 * math/s_clog10.c: Likewise.
20085 * math/s_clog10f.c: Likewise.
20086 * math/s_clog10l.c: Likewise.
20087 * math/s_clogf.c: Likewise.
20088 * math/s_clogl.c: Likewise.
20089 * math/s_csin.c: Likewise.
20090 * math/s_csinf.c: Likewise.
20091 * math/s_csinh.c: Likewise.
20092 * math/s_csinhf.c: Likewise.
20093 * math/s_csinhl.c: Likewise.
20094 * math/s_csinl.c: Likewise.
20095 * math/s_csqrt.c: Likewise.
20096 * math/s_csqrtf.c: Likewise.
20097 * math/s_csqrtl.c: Likewise.
20098 * math/s_ctan.c: Likewise.
20099 * math/s_ctanf.c: Likewise.
20100 * math/s_ctanh.c: Likewise.
20101 * math/s_ctanhf.c: Likewise.
20102 * math/s_ctanhl.c: Likewise.
20103 * math/s_ctanl.c: Likewise.
20104 * math/s_ldexp.c: Likewise.
20105 * math/s_ldexpf.c: Likewise.
20106 * math/s_ldexpl.c: Likewise.
20107 * math/s_significand.c: Likewise.
20108 * math/s_significandf.c: Likewise.
20109 * math/s_significandl.c: Likewise.
20110 * math/w_acos.c: Likewise.
20111 * math/w_acosf.c: Likewise.
20112 * math/w_acosh.c: Likewise.
20113 * math/w_acoshf.c: Likewise.
20114 * math/w_acoshl.c: Likewise.
20115 * math/w_acosl.c: Likewise.
20116 * math/w_asin.c: Likewise.
20117 * math/w_asinf.c: Likewise.
20118 * math/w_asinl.c: Likewise.
20119 * math/w_atan2.c: Likewise.
20120 * math/w_atan2f.c: Likewise.
20121 * math/w_atan2l.c: Likewise.
20122 * math/w_atanh.c: Likewise.
20123 * math/w_atanhf.c: Likewise.
20124 * math/w_atanhl.c: Likewise.
20125 * math/w_cosh.c: Likewise.
20126 * math/w_coshf.c: Likewise.
20127 * math/w_coshl.c: Likewise.
20128 * math/w_dremf.c: Likewise.
20129 * math/w_exp10.c: Likewise.
20130 * math/w_exp10f.c: Likewise.
20131 * math/w_exp10l.c: Likewise.
20132 * math/w_exp2.c: Likewise.
20133 * math/w_exp2f.c: Likewise.
20134 * math/w_fmod.c: Likewise.
20135 * math/w_fmodf.c: Likewise.
20136 * math/w_fmodl.c: Likewise.
20137 * math/w_hypot.c: Likewise.
20138 * math/w_hypotf.c: Likewise.
20139 * math/w_hypotl.c: Likewise.
20140 * math/w_j0.c: Likewise.
20141 * math/w_j0f.c: Likewise.
20142 * math/w_j0l.c: Likewise.
20143 * math/w_j1.c: Likewise.
20144 * math/w_j1f.c: Likewise.
20145 * math/w_j1l.c: Likewise.
20146 * math/w_jn.c: Likewise.
20147 * math/w_jnf.c: Likewise.
20148 * math/w_jnl.c: Likewise.
20149 * math/w_lgamma.c: Likewise.
20150 * math/w_lgamma_r.c: Likewise.
20151 * math/w_lgammaf.c: Likewise.
20152 * math/w_lgammaf_r.c: Likewise.
20153 * math/w_lgammal.c: Likewise.
20154 * math/w_lgammal_r.c: Likewise.
20155 * math/w_log.c: Likewise.
20156 * math/w_log10.c: Likewise.
20157 * math/w_log10f.c: Likewise.
20158 * math/w_log10l.c: Likewise.
20159 * math/w_log2.c: Likewise.
20160 * math/w_log2f.c: Likewise.
20161 * math/w_log2l.c: Likewise.
20162 * math/w_logf.c: Likewise.
20163 * math/w_logl.c: Likewise.
20164 * math/w_pow.c: Likewise.
20165 * math/w_powf.c: Likewise.
20166 * math/w_powl.c: Likewise.
20167 * math/w_remainder.c: Likewise.
20168 * math/w_remainderf.c: Likewise.
20169 * math/w_remainderl.c: Likewise.
20170 * math/w_scalb.c: Likewise.
20171 * math/w_scalbf.c: Likewise.
20172 * math/w_scalbl.c: Likewise.
20173 * math/w_sinh.c: Likewise.
20174 * math/w_sinhf.c: Likewise.
20175 * math/w_sinhl.c: Likewise.
20176 * math/w_sqrt.c: Likewise.
20177 * math/w_sqrtf.c: Likewise.
20178 * math/w_sqrtl.c: Likewise.
20179 * math/w_tgamma.c: Likewise.
20180 * math/w_tgammaf.c: Likewise.
20181 * math/w_tgammal.c: Likewise.
20182
6a621eb7
UD
20183 * po/ja.po: Update from translation team.
20184
bf582445
AJ
201852011-09-29 Andreas Jaeger <aj@suse.de>
20186
f9efbf3a
AJ
20187 [BZ #13179]
20188 * sunrpc/netname.c (netname2host): Fix logic.
20189
bf582445
AJ
20190 [BZ #6779]
20191 [BZ #6783]
20192 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
20193 correctly.
20194 * math/w_remainder.c (__remainder): Likewise.
20195 * math/w_remainderf.c (__remainderf): Likewise.
20196 * math/libm-test.inc (remainder_test): Add test cases.
20197
48693bea
AK
201982011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20199
20200 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
20201 sdiv_qrnnd.
20202
42622229
LD
202032011-10-07 Ulrich Drepper <drepper@gmail.com>
20204
20205 * string/test-memcmp.c: Avoid unncessary #defines.
20206 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
20207
093ecf92
LD
202082011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20209
20210 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
20211 Use new sse2 version for core i3 - i7 as it's faster
20212 than sse42 version.
20213 (bit_Prefer_PMINUB_for_stringop): New.
20214 * sysdeps/x86_64/rawmemchr.S: Update.
20215 Replace with faster SSE2 version.
20216 * sysdeps/x86_64/memrchr.S: New file.
20217 * sysdeps/x86_64/memchr.S: Update.
20218 Replace with faster SSE2 version.
20219
fde56e5c
MP
202202011-09-12 Marek Polacek <mpolacek@redhat.com>
20221
20222 * elf/dl-load.c (lose): Add cast to avoid warning.
20223
21fd49a9
UD
202242011-10-07 Ulrich Drepper <drepper@gmail.com>
20225
5a06e643
UD
20226 * po/ca.po: Update from translation team.
20227
684ae515
UD
20228 * inet/getnetgrent_r.c: Hook up nscd.
20229 * nscd/Makefile (routines): Add nscd_netgroup.
20230 (nscd-modules): Add netgroupcache.
20231 (CFLAGS-netgroupcache.c): Define.
20232 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
20233 (cache_search): Add const to second parameter.
20234 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
20235 INNETGR.
20236 (dbs): Add netgrdb entry.
20237 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
20238 (verify_persistent_db): Handle netgrdb.
20239 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
20240 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
20241 GETFDNETGR.
20242 (netgroup_response_header): Define.
20243 (innetgroup_response_header): Define.
20244 (datahead): Add netgroup_response_header and innetgroup_response_header
20245 elements.
20246 * nscd/nscd.conf: Add entries for netgroup cache.
20247 * nscd/nscd.h (dbtype): Add netgrdb.
20248 (_PATH_NSCD_NETGROUP_DB): Define.
20249 (netgroup_iov_disabled): Declare.
20250 (xmalloc, xcalloc, xrealloc): Move declarations here.
20251 (cache_search): Adjust prototype.
20252 Add netgroup-related prototypes.
20253 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
20254 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
20255 (__nscd_innetgr): Declare.
20256 * nscd/selinux.c (perms): Use access_vector_t as element type and
20257 add netgroup-related initializers.
20258 * nscd/netgroupcache.c: New file.
20259 * nscd/nscd_netgroup.c: New file.
20260 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
20261 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
20262 For four parameters use innetgr.
20263 * nss/nss_files/files-init.c: Add definition and callback for netgr.
20264 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
20265 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
20266 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
20267
21fd49a9
UD
20268 * nscd/connections.c (register_traced_file): Don't register file
20269 for disabled databases.
20270
054c0457
UD
202712011-10-06 Ulrich Drepper <drepper@gmail.com>
20272
32b63198
UD
20273 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
20274
054c0457
UD
20275 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
20276 from tree and freeing node.
20277
64031225
JO
202782011-09-25 Jiri Olsa <jolsa@redhat.com>
20279
20280 * nss/nsswitch.c (__nss_database_lookup): Handle
20281 nss_parse_service_list out of memory case.
20282
0490345c
JO
202832011-09-15 Jiri Olsa <jolsa@redhat.com>
20284
20285 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
20286 out of memory case.
20287
3a62d00d
AS
202882011-10-04 Andreas Schwab <schwab@redhat.com>
20289
20290 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
20291 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
20292 pass it down.
20293 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
20294 elf_machine_rela, elf_machine_lazy_rel.
20295 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
20296 (ELF_DYNAMIC_DO_REL): Likewise.
20297 (ELF_DYNAMIC_DO_RELA): Likewise.
20298 (ELF_DYNAMIC_RELOCATE): Likewise.
20299 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
20300 to ELF_DYNAMIC_DO_REL.
20301 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
20302 (dl_main): In trace mode always set __RTLD_NOIFUNC.
20303 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
20304 elf_machine_rela.
20305 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
20306 skip_ifunc, don't call ifunc function if non-zero.
20307 (elf_machine_rela): Likewise.
20308 (elf_machine_lazy_rel): Likewise.
20309 (elf_machine_lazy_rela): Likewise.
20310 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
20311 (elf_machine_lazy_rel): Likewise.
20312 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
20313 Likewise.
20314 (elf_machine_lazy_rel): Likewise.
20315 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
20316 Likewise.
20317 (elf_machine_lazy_rel): Likewise.
20318 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
20319 (elf_machine_lazy_rel): Likewise.
20320 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
20321 (elf_machine_lazy_rel): Likewise.
20322 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
20323 (elf_machine_lazy_rel): Likewise.
20324 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
20325 (elf_machine_lazy_rel): Likewise.
20326 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
20327 (elf_machine_lazy_rel): Likewise.
20328 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
20329 (elf_machine_lazy_rel): Likewise.
20330
68577918
UD
203312011-09-28 Ulrich Drepper <drepper@gmail.com>
20332
20333 * nss/nss_files/files-init.c (_nss_files_init): Use static
20334 initialization for all the *_traced_file variables.
20335
68822d74
AS
203362011-09-28 Andreas Schwab <schwab@redhat.com>
20337
20338 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
20339
2056100b
RM
203402011-09-27 Roland McGrath <roland@hack.frob.com>
20341
20342 [BZ #13226]
20343 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
20344
32c76b63
AS
203452011-09-27 Andreas Schwab <schwab@redhat.com>
20346
20347 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
20348 Reread the line before reparsing it.
20349
bf972c9d
AS
203502011-09-26 Andreas Schwab <schwab@redhat.com>
20351
20352 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
20353
e057a1b5
JM
203542011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
20355 Maxim Kuvyrkov <maxim@codesourcery.com>
20356 Joseph Myers <joseph@codesourcery.com>
20357
20358 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
20359 if needed for __stack_chk_guard.
20360
bc7e1c36
RM
203612011-09-19 Roland McGrath <roland@hack.frob.com>
20362
ecb1482f
RM
20363 * sysdeps/posix/spawni.c (script_execute): Always define it.
20364 It will be optimized away if unused.
20365 (maybe_script_execute): New function.
20366 (__spawni): Call it.
20367
bc7e1c36
RM
20368 * Makerules: Don't include tls.make.
20369 (config-tls): Always set to thread.
20370 * tls.make.c: File removed.
20371
1c3b002b
MF
203722011-09-19 Mike Frysinger <vapier@gentoo.org>
20373
20374 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
20375 * config.make.in (CPPFLAGS-config): New substituted variable.
20376
2840865d
UD
203772011-09-15 Ulrich Drepper <drepper@gmail.com>
20378
88738eb6
UD
20379 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
20380
cbf645a6 20381 [BZ #13192]
2840865d
UD
20382 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
20383 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
20384
b402e91a
RM
203852011-09-15 Roland McGrath <roland@hack.frob.com>
20386
20387 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
20388 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
20389 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
20390 (CALL_FAIL): Likewise.
20391 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
20392 (CALL_FAIL): Macro removed.
20393 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
20394
4c1a1f71
UD
203952011-09-15 Ulrich Drepper <drepper@gmail.com>
20396
20397 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
20398 for __FINITE_MATH_ONLY__ == 1.
20399
edc121be
AS
204002011-09-15 Andreas Schwab <schwab@redhat.com>
20401
20402 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
20403 __ieee754_sqrt instead of sqrt.
20404 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
20405 __ieee754_sqrtf instead of sqrtf.
20406 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
20407 __floorf instead of floorf.
20408 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
20409 __floorf, __truncf instead of floorf, truncf.
20410
cd205654
UD
204112011-09-14 Ulrich Drepper <drepper@gmail.com>
20412
ee4d0315
UD
20413 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
20414
cd205654
UD
20415 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
20416 __extern_always_inline.
20417 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
20418 32-bit.
20419
48b67d71
AS
204202011-09-14 Andreas Schwab <schwab@redhat.com>
20421
20422 * elf/rtld.c (dl_main): Also relocate in dependency order when
20423 doing symbol dependency testing.
20424
1ae12c75
AS
204252011-09-13 Andreas Schwab <schwab@linux-m68k.org>
20426
20427 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
20428 Always define `refsym'.
20429
995a80df
AS
204302011-09-13 Andreas Schwab <schwab@redhat.com>
20431
e529793b
AS
20432 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
20433 (__FD_ELT): Renamed from __FDELT.
20434 * misc/bits/select2.h (__FD_ELT): Likewise.
20435 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
20436 __FD_MASK instead of __FDELT, __FDMASK.
20437 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
20438 Likewise.
20439 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
20440 Likewise.
20441
52d4fef8
AS
20442 * elf/Makefile (gen-ldd): Fix pattern.
20443
995a80df
AS
20444 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
20445 (init_tls): Likewise.
20446
8682f8b0
UD
204472011-09-12 Ulrich Drepper <drepper@gmail.com>
20448
20449 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
20450
de82006d
AS
204512011-09-12 Andreas Schwab <schwab@redhat.com>
20452
a7c8e6a1
AS
20453 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
20454 `struct cmsghdr *' instead of `void *'.
20455 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
20456 Likewise.
20457
0f31fe77
AS
204582011-09-11 Andreas Schwab <schwab@linux-m68k.org>
20459
20460 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
20461 if non-absolute.
20462 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
20463 ldd_rewrite_script.
0f31fe77 20464
32b4c839
UD
204652011-09-11 Ulrich Drepper <drepper@gmail.com>
20466
83cd1420
UD
20467 * configure.in: Remove --with-tls option.
20468 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
20469 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
20470 out in case it is missing.
20471 * sysdeps/ia64/elf/configure.in: Likewise.
20472 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
20473 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
20474 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
20475 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
20476 * sysdeps/sh/elf/configure.in: Likewise.
20477 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
20478 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
20479 * sysdeps/x86_64/elf/configure.in: Likewise.
20480 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
20481 * sysdeps/mach/hurd/tls.h: Likewise.
20482
633f745d
UD
20483 [BZ #13067]
20484 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
20485
f318beb8
UD
20486 [BZ #13090]
20487 * configure.in: Fix use of AC_INIT.
20488
32b4c839
UD
20489 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
20490
3ce1f295
UD
204912011-09-10 Ulrich Drepper <drepper@gmail.com>
20492
bb016596
UD
20493 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
20494 __set_errno.
8e58439c
UD
20495 * malloc/hooks.c: Likewise.
20496
aebae053 20497 [BZ #11929]
02d46fc4
UD
20498 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
20499 variables statically.
20500 (narenas): Initialize.
20501 (list_lock): Initialize.
bb016596
UD
20502 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
20503 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
20504 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
20505 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
20506 Add initializers to main_arena and mp_.
20507 (malloc_state): Remove pagesize member. Change all users to use
20508 GLRO(dl_pagesize).
20509
20510 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
20511 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
20512 is always initialized.
20513
22a89187
UD
20514 * malloc/malloc.c: Removed unused configurations and dead code.
20515 * malloc/arena.c: Likewise.
20516 * malloc/hooks.c: Likewise.
02d46fc4 20517 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 20518
d063d164
UD
20519 * include/tls.h: Removed. USE___THREAD must always be defined.
20520 * bits/libc-tsd.h: Don't handle !USE___THREAD.
20521 * elf/dl-libc.c: Likewise.
20522 * elf/dl-tsd.c: Likewise.
20523 * include/errno.h: Likewise.
20524 * include/netdb.h: Likewise.
20525 * include/resolv.h: Likewise.
20526 * inet/herrno-loc.c: Likewise.
20527 * inet/herrno.c: Likewise.
20528 * malloc/arena.c: Likewise.
20529 * malloc/hooks.c: Likewise.
20530 * malloc/malloc.c: Likewise.
20531 * resolv/res-state.c: Likewise.
20532 * resolv/res_libc.c: Likewise.
20533 * sysdeps/i386/dl-machine.h: Likewise.
20534 * sysdeps/ia64/dl-machine.h: Likewise.
20535 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
20536 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
20537 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
20538 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
20539 * sysdeps/sh/dl-machine.h: Likewise.
20540 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
20541 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
20542 * sysdeps/unix/i386/sysdep.S: Likewise.
20543 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
20544 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
20545 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
20546 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
20547 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
20548 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
20549 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
20550 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
20551 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
20552 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
20553 * sysdeps/unix/x86_64/sysdep.S: Likewise.
20554 * sysdeps/x86_64/dl-machine.h: Likewise.
20555 * tls.make.c: Likewise.
20556
3ce1f295
UD
20557 * configure.in: Remove --with-__thread option. Make tests for
20558 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
20559 tls_model attribute fail if no support is available. Remove
20560 USE_IN_LIBIO.
20561 * Makeconfig: Adjust for dropped configure option. All features are
20562 now mandatory.
20563 * Makerules: Likewise.
20564 * Versions.def: Likewise.
20565 * argp/argp-fmtstream.c: Likewise.
20566 * argp/argp-fmtstream.h: Likewise.
20567 * argp/argp-help.c: Likewise.
20568 * assert/assert.c: Likewise.
20569 * config.h.in: Likewise.
20570 * config.make.in: Likewise.
20571 * configure: Likewise.
20572 * configure.in: Likewise.
20573 * csu/Versions: Likewise.
20574 * csu/init.c: Likewise.
20575 * elf/tst-audit2.c: Likewise.
20576 * elf/tst-tls10.c: Likewise.
20577 * elf/tst-tls10.h: Likewise.
20578 * elf/tst-tls11.c: Likewise.
20579 * elf/tst-tls12.c: Likewise.
20580 * elf/tst-tls14.c: Likewise.
20581 * elf/tst-tlsmod11.c: Likewise.
20582 * elf/tst-tlsmod12.c: Likewise.
20583 * elf/tst-tlsmod13.c: Likewise.
20584 * elf/tst-tlsmod13a.c: Likewise.
20585 * elf/tst-tlsmod14a.c: Likewise.
20586 * elf/tst-tlsmod15b.c: Likewise.
20587 * elf/tst-tlsmod16a.c: Likewise.
20588 * elf/tst-tlsmod16b.c: Likewise.
20589 * elf/tst-tlsmod7.c: Likewise.
20590 * elf/tst-tlsmod8.c: Likewise.
20591 * elf/tst-tlsmod9.c: Likewise.
20592 * gmon/gmon.c: Likewise.
20593 * grp/fgetgrent_r.c: Likewise.
20594 * grp/putgrent.c: Likewise.
20595 * hurd/fopenport.c: Likewise.
20596 * include/libc-symbols.h: Likewise.
20597 * include/tls.h: Likewise.
20598 * intl/gettextP.h: Likewise.
20599 * intl/loadinfo.h: Likewise.
20600 * locale/global-locale.c: Likewise.
20601 * locale/localeinfo.h: Likewise.
20602 * mach/devstream.c: Likewise.
20603 * malloc/arena.c: Likewise.
20604 * malloc/set-freeres.c: Likewise.
20605 * misc/err.c: Likewise.
20606 * misc/getttyent.c: Likewise.
20607 * misc/mntent_r.c: Likewise.
20608 * posix/getopt.c: Likewise.
20609 * posix/wordexp.c: Likewise.
20610 * pwd/fgetpwent_r.c: Likewise.
20611 * resolv/Versions: Likewise.
20612 * resolv/res_hconf.c: Likewise.
20613 * shadow/fgetspent_r.c: Likewise.
20614 * shadow/putspent.c: Likewise.
20615 * stdio-common/printf_fphex.c: Likewise.
20616 * stdio-common/tmpfile.c: Likewise.
20617 * stdlib/abort.c: Likewise.
20618 * stdlib/fmtmsg.c: Likewise.
20619 * sunrpc/auth_unix.c: Likewise.
20620 * sunrpc/clnt_perr.c: Likewise.
20621 * sunrpc/clnt_tcp.c: Likewise.
20622 * sunrpc/clnt_udp.c: Likewise.
20623 * sunrpc/clnt_unix.c: Likewise.
20624 * sunrpc/openchild.c: Likewise.
20625 * sunrpc/svc_simple.c: Likewise.
20626 * sunrpc/svc_tcp.c: Likewise.
20627 * sunrpc/svc_udp.c: Likewise.
20628 * sunrpc/svc_unix.c: Likewise.
20629 * sunrpc/xdr.c: Likewise.
20630 * sunrpc/xdr_array.c: Likewise.
20631 * sunrpc/xdr_rec.c: Likewise.
20632 * sunrpc/xdr_ref.c: Likewise.
20633 * sunrpc/xdr_stdio.c: Likewise.
20634
1248c1c4
PB
206352011-09-09 Ulrich Drepper <drepper@gmail.com>
20636
20637 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
20638
206392011-07-03 Andreas Jaeger <aj@suse.de>
20640
20641 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
20642 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
20643 regenerate with gen-libm-tests.pl.
20644
206452010-05-12 Petr Baudis <pasky@suse.cz>
20646
20647 [BZ #11589]
20648 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
20649 around j0() zero points by switching to j1().
20650 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
20651 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
20652 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
20653 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
20654
f22e1074
UD
206552011-09-09 Ulrich Drepper <drepper@gmail.com>
20656
f19009c1
UD
20657 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
20658 instead of 0.
20659 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 20660 instead of 0.
f19009c1
UD
20661 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
20662 Patch in part by Pavel Roskin <proski@gnu.org>.
20663
3f8cc204
UD
20664 [BZ #13138]
20665 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
20666 realloc.
20667 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
20668 Free memory block if necessary.
20669
f22e1074
UD
20670 [BZ #12847]
20671 * libio/genops.c (INTDEF): For string streams the _lock pointer can
20672 be NULL. Don't lock in this case.
20673
0a2349f9
RM
206742011-09-09 Roland McGrath <roland@hack.frob.com>
20675
20676 * elf/elf.h (ELFOSABI_GNU): New macro.
20677 (ELFOSABI_LINUX): Define to that.
20678
f3cdd467
DZ
206792011-07-29 Denis Zaitceff <zaitceff@gmail.com>
20680
20681 * string/strncat.c (strncat): Undef the symbol in case it has been
20682 defined in bits/string.h.
20683
74718d13
UD
206842011-09-09 Ulrich Drepper <drepper@gmail.com>
20685
633e9e0f
UD
20686 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
20687
0a2349f9 20688 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
20689 link map.
20690
f9924780
AJ
206912011-08-17 Andreas Jaeger <aj@suse.de>
20692
20693 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
20694
7f5517aa
PP
206952011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
20696 Ian Lance Taylor <iant@google.com>
20697
20698 * math/libm-test.inc (lround_test): New testcase.
20699 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
20700
762011fe
UD
207012011-09-08 Ulrich Drepper <drepper@gmail.com>
20702
92963737
UD
20703 * Makefile: Remove support for automatic cvs check-ins.
20704 * Makerules: Likewise.
20705 * config.make.in: Likewise.
20706 * configure.in: Likewise.
20707 * intl/Makefile: Likewise.
20708 * locale/Makefile: Likewise.
20709 * po/Makefile: Likewise.
20710 * posix/Makefile: Likewise.
20711 * sysdeps/gnu/Makefile: Likewise.
20712 * sysdeps/mach/hurd/Makefile: Likewise.
20713 * sysdeps/sparc/sparc32/Makefile: Likewise.
20714
b0727fd8
JS
20715 [BZ #13118]
20716 * posix/Makefile (bug-regex32-ENV): Define.
20717 Patch by John Stanley <jpsinthemix@verizon.net>.
20718
a0f33f99
UD
20719 * misc/Makefile (headers): Add bits/select2.h.
20720 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
20721 * misc/bits/select2.h: New file.
20722 * include/bits/select2.h: New file.
20723 * debug/Makefile (routines): Add fdelt_chk.
20724 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
20725 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
20726 FD_ISSET.
20727 * debug/fdelt_chk.c: New file.
20728
762011fe
UD
20729 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
20730 * wcsmbs/test-wmemcmp.c: Likewise.
20731 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 20732 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
20733
207342011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20735
20736 * string/Makefile (strop-tests): Add memcmp.
20737 * string/test-wmemcmp.c: New file.
20738 * string/test-memcmp.c: Add wmemcmp support.
20739
7f513ec8
RM
207402011-09-08 Roland McGrath <roland@hack.frob.com>
20741
0442afb4
RM
20742 [BZ #13153]
20743 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
20744 2011-07-19 change.
20745
7f513ec8
RM
20746 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
20747 garbage value in a __mach_port_mod_refs call in the cases of the
20748 task-self and thread-self ports.
20749
a12b2239
ST
207502011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
20751
20752 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
20753
610f9ab4
AS
207542011-09-08 Andreas Schwab <schwab@redhat.com>
20755
7f513ec8 20756 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 20757
48882a1a
LD
207582011-09-07 Ulrich Drepper <drepper@gmail.com>
20759
b49865be
UD
20760 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
20761
fdc86bc9
UD
20762 * elf/dl-libc.c (dlerror_run): Pass back error code from
20763 dl_catch_error.
20764
c966526a
UD
20765 [BZ #13123]
20766 * elf/dl-load.c (lose): Free l_origin if it is valid.
20767
48882a1a
LD
20768 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
20769 names.
20770 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
20771 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
20772 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
20773 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
20774 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
20775 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
20776
77a2a8b4
AZ
207772011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20778
20779 * sysdeps/powerpc/fpu/e_hypot.c: New file.
20780 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
20781 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
20782 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
20783 * sysdeps/powerpc/fpu/k_cosf.c: New file.
20784 * sysdeps/powerpc/fpu/k_sinf.c: New file.
20785 * sysdeps/powerpc/fpu/s_cosf.c: New file.
20786 * sysdeps/powerpc/fpu/s_sinf.c: New file.
20787 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
20788 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
20789
24f579d8
AM
207902011-08-15 Alan Modra <amodra@gmail.com>
20791
20792 [BZ #13092]
20793 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
20794 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
20795 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
20796 ppc_mcount to static-only-routines.
20797 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
20798 __mcount_internal.
20799 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
20800 __mcount_internal with usual JUMPTARGET. Remove useless nop.
20801
3d4837df
UD
208022011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
20803
20804 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
20805 for finite and infinity parameters.
20806
22700377
WS
208072011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
20808
20809 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
20810 and add nop instructions for throughput optimization.
20811 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
20812
5025581e
WS
208132011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
20814
20815 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
20816 aligned copy for power7 with vector-scalar instructions.
20817 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
20818
08a300c9
L
208192011-07-24 H.J. Lu <hongjiu.lu@intel.com>
20820
20821 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
20822 AVX check.
20823
59178ef9
AS
208242011-09-07 Andreas Schwab <schwab@redhat.com>
20825
20826 [BZ #13144]
20827 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
20828 last change.
20829
e38ba7ab
UD
208302011-09-07 Ulrich Drepper <drepper@gmail.com>
20831
20832 * sysdeps/unix/sysv/linux/x86_64/init-first.c
20833 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
20834 syscall wrapper around clock_gettime in __vdso_clock_gettime.
20835 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
20836 clock_gettime.
20837
d53a73ac
UD
208382011-09-06 Ulrich Drepper <drepper@gmail.com>
20839
fc8bffcc
UD
20840 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
20841 Forgot to demangle the pointer.
20842
ceaa0c5d
UD
20843 * sysdeps/i386/sysdep.h: Define atom_text_section.
20844 * sysdeps/x86_64/sysdep.h: Likewise.
20845 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
20846 section with atom_text_section.
20847 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
20848 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
20849 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
20850 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
20851 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
20852
a77d3c17
UD
20853 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
20854 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
20855 already be defined. Change to take two parameters and don't assign
20856 result to variable. Adjust all users.
20857 Define INTERNAL_GETTIME if not already defined.
20858 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
20859 call.
20860 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
20861 HAVE_CLOCK_GETTIME_VSYSCALL.
20862 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
20863
d53a73ac
UD
20864 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
20865 gettimeofday vsyscall, just use time.
20866
a8f84144
AS
208672011-09-06 Andreas Schwab <schwab@redhat.com>
20868
20869 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
20870 <errno.h>.
20871
ef606249
UD
208722011-09-06 Ulrich Drepper <drepper@gmail.com>
20873
20874 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
20875 syscall on x86-64.
20876 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
20877 syscall.
20878 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
20879 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
20880 syscall if possible.
20881
6585cb60
UD
208822011-09-05 Ulrich Drepper <drepper@gmail.com>
20883
20884 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
20885 e_ident. Don't pass to find_mapsXX.
20886 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
20887
a5f524e4
LD
208882011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20889
20890 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20891 strchr-sse2-no-bsf strrchr-sse2-no-bsf
20892 * sysdeps/x86_64/multiarch/strchr.S: Update.
20893 Check bit_slow_BSF bit.
20894 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
20895 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
20896 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
20897
554881ef
UD
208982011-09-05 Ulrich Drepper <drepper@gmail.com>
20899
d96de963
UD
20900 [BZ #13134]
20901 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
20902 before glibc 2.15.
20903 (tryshell): Define.
20904 (__spawni): Change last parameter to be flag. Test
20905 SPAWN_XFLAGS_USE_PATH flag to use path or not.
20906 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
20907 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
20908 * posix/spawni.c: Likewise.
20909 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
20910 * posix/spawnp.c: Likewise. Change normal version to use
20911 SPAWN_XFLAGS_USE_PATH.
20912 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
20913 SPAWN_XFLAGS_TRY_SHELL.
20914
d48e5868
UD
20915 [BZ #13150]
20916 * posix/glob.h: Remove gcc 1.x support.
20917
554881ef
UD
20918 [BZ #13068]
20919 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
20920
693fb948
LD
209212011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20922
20923 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20924 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
20925 strrchr-sse2-bsf
20926 * sysdeps/i386/i686/multiarch/strchr.S: New file.
20927 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
20928 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
20929 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
20930 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
20931 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
20932
1b48c537
UD
209332011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20934
49d42c37
UD
20935 * sysdeps/x86_64/wcscmp.S: New file.
20936
1b48c537
UD
20937 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
20938 wcscmp-c wcscmp-sse2
20939 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
20940 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
20941 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
20942 * wcsmbs/wcscmp.c: Allow renaming.
20943
15c95c5d
DM
209442011-09-05 David S. Miller <davem@davemloft.net>
20945
20946 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
20947 stack slot, rather than the struct return pointer slot.
20948 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
20949 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
20950 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
20951 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
20952
2f0ad8f3
UD
209532011-09-05 Ulrich Drepper <drepper@gmail.com>
20954
d88ae418
UD
20955 * po/ja.po: Update from translation team.
20956
2f0ad8f3
UD
20957 [BZ #13144]
20958 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
20959 kernel in 64-bit binaries.
20960
5f4318d1
DM
209612011-09-01 David S. Miller <davem@davemloft.net>
20962
20963 * elf/elf.h (HWCAP_SPARC_*): Move to..
20964 * sysdeps/sparc/sysdep.h: this new file and add new values.
20965 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
20966 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
20967 _DL_HWCAP_COUNT to 24.
20968 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
20969 entries.
20970 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
20971 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
20972 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
20973 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
20974 instead of magic constants.
20975 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
20976
3ba57516
DM
209772011-08-31 David S. Miller <davem@davemloft.net>
20978
20979 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
20980 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
20981 Reimplement to do errno handling inline.
20982 (SYSCALL_ERROR_HANDLER): New macro.
20983 (__SYSCALL_STRING): Do not do errno handling in asm.
20984 (__CLONE_SYSCALL_STRING): Delete.
20985 (__INTERNAL_SYSCALL_STRING): Delete.
20986 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
20987 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
20988 (PSEUDO): Reimplement to do errno handling inline.
20989 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
20990 (SYSCALL_ERROR_HANDLER): New macro.
20991 (__SYSCALL_STRING): Do not do errno handling in asm.
20992 (__CLONE_SYSCALL_STRING): Delete.
20993 (__INTERNAL_SYSCALL_STRING): Delete.
20994 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
20995 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
20996 i386.
20997 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
20998 (inline_syscall*): Add 'err' argument.
20999 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
21000 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
21001 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
21002 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
21003
21004 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
21005 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
21006
2bc17433
AS
210072011-08-30 Andreas Schwab <schwab@redhat.com>
21008
21009 * elf/rtld.c (dl_main): Relocate objects in dependency order.
21010
fbeb5f4d
JO
210112011-08-29 Jiri Olsa <jolsa@redhat.com>
21012
21013 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
21014 directive.
21015
ad69cc26
DM
210162011-08-24 David S. Miller <davem@davemloft.net>
21017
21018 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
21019
39dd69df
AS
210202011-08-24 Andreas Schwab <schwab@redhat.com>
21021
21022 * elf/Makefile: Add rules to build and run unload8 test.
21023 * elf/unload8.c: New file.
21024 * elf/unload8mod1.c: New file.
21025 * elf/unload8mod1x.c: New file.
21026 * elf/unload8mod2.c: New file.
21027 * elf/unload8mod3.c: New file.
21028
21029 * elf/dl-close.c (_dl_close_worker): Reset private search list if
21030 it wasn't used.
21031
2c0b250a
DM
210322011-08-23 David S. Miller <davem@davemloft.net>
21033
21034 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
21035 subtract stack bias.
21036 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
21037 %sp not %fp in calculations.
21038 (_JMPBUF_UNWINDS_ADJ): Likewise.
21039
22044b48
DM
21040 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
21041 (aio_suspend): Call it to force an exception region around the
21042 AIO_MISC_WAIT() invocation.
21043
2cae4995
AS
210442011-08-23 Andreas Schwab <schwab@redhat.com>
21045
21046 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
21047 backslash.
21048
873a772e
AJ
210492011-07-04 Aurelien Jarno <aurelien@aurel32.net>
21050
21051 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
21052 protection macro.
21053 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
21054 and <dl-machine.h>.
21055 (Elf64_FuncDesc): Remove.
21056
25ad0df1
DM
210572011-08-22 David S. Miller <davem@davemloft.net>
21058
21059 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
21060 sigaltstack check, add missing cfi directives.
21061 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
21062 missing cfi directives, and sigaltstack handling.
21063
e888bcbe
AS
210642011-08-16 Andreas Schwab <schwab@redhat.com>
21065
21066 [BZ #11724]
21067 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
21068 object is seen twice.
21069 * elf/dl-fini.c (_dl_sort_fini): Likewise.
21070
21071 * elf/Makefile (distribute): Add tst-initorder2.c.
21072 (tests): Add tst-initorder2.
21073 (modules-names): Add tst-initorder2a tst-initorder2b
21074 tst-initorder2c tst-initorder2d. Add rules to build them.
21075 ($(objpfx)tst-initorder2.out): New rule.
21076 * elf/tst-initorder2.c: New file.
21077 * elf/tst-initorder2.exp: New file.
21078
87162f46
AS
210792011-08-22 Andreas Schwab <schwab@redhat.com>
21080
70538b7f
AS
21081 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
21082
f55ffe58
AS
21083 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
21084 dependencies back to end of function.
21085
87162f46
AS
21086 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
21087 $(elfobjdir)/ld.so.
21088
91b392a4
UD
210892011-08-21 Ulrich Drepper <drepper@gmail.com>
21090
21091 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
21092 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
21093 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
21094 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
21095 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
21096 of __vdso_gettimeofday.
21097 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
21098 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
21099 attribute_hidden.
21100 (_libc_vdso_platform_setup): Remove initialization of
21101 __vdso_gettimeofday and __vdso_time.
21102
5c43483f
UD
211032011-08-20 Ulrich Drepper <drepper@gmail.com>
21104
775a77e7
UD
21105 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
21106 and fgetc_unlocked.
21107 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
21108 getc_unlocked.
89f447ed 21109
49c74ba9
UD
21110 * elf/dl-open.c (add_to_global): Report additions to the global scope
21111 for LD_DEBUG=scopes.
21112 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 21113 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 21114
5c43483f
UD
21115 [BZ #13114]
21116 * stdio-common/Makefile (tests): Add bug24.
21117 * stdio-common/bug24.c: New file.
21118
a101b025
AJ
211192011-08-19 Andreas Jaeger <aj@suse.de>
21120
21121 [BZ #13114]
21122 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
21123 non-existant file when using close-on-exec mode.
21124
c88f1766
UD
211252011-08-20 Ulrich Drepper <drepper@gmail.com>
21126
0276a718
UD
21127 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
21128 the very first instruction.
21129
c88f1766
UD
21130 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
21131 the CFI state in the end.
21132 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
21133 inclusion of dl-trampoline.h.
21134 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
21135
51ccffa0
AS
211362011-08-19 Andreas Schwab <schwab@redhat.com>
21137
94d7165f
AS
21138 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
21139 expectations for long double.
21140
51ccffa0
AS
21141 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
21142 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
21143
fd708658 211442011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
21145
21146 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
21147 artificual limit depends upon the system page size.
21148
44f0a71e
UD
211492011-08-17 Ulrich Drepper <drepper@gmail.com>
21150
21151 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
21152 * resolv/Makefile: Define CFLAGS-libresolv.
21153
8de79a24
AS
211542011-08-17 Andreas Schwab <schwab@redhat.com>
21155
21156 * nss/makedb.c (compute_tables): Make variables used in nested
21157 function static.
21158
27724598
UD
211592011-08-17 Ulrich Drepper <drepper@gmail.com>
21160
c5305d88
UD
21161 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
21162 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
21163 if buffer was too small.
21164
27724598
UD
21165 * elf/pldd.c (main): Attach to all threads in the process.
21166 Rewrite /proc handling to use *at functions.
21167
076fe015
UD
211682011-08-16 Ulrich Drepper <drepper@gmail.com>
21169
174baab3
UD
21170 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
21171 specifies first scope to show.
21172 (dl_open_worker): Update callers. Move printing scope of new
21173 object to before the relocation.
44f0a71e 21174 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
21175 * sysdeps/generic/ldsodefs.h: Update declaration.
21176
076fe015
UD
21177 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
21178 string for the scope number.
21179
a60df2c3
UD
211802011-08-14 Ulrich Drepper <drepper@gmail.com>
21181
21182 * nscd/servicescache.c (cache_addserv): Make sure written is always
21183 initialized.
21184
5e4287d1
RM
211852011-08-14 Roland McGrath <roland@hack.frob.com>
21186
85ae0589
RM
21187 * sysdeps/i386/i486/bits/atomic.h
21188 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
21189 statement expression, so as to suppress "set but not used" warning.
21190 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
21191
69f63097
RM
21192 * string/strncat.c (STRNCAT): Use prototype definition.
21193
675456ef
RM
21194 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
21195 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
21196 -Iprograms here.
21197 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
21198 (localedef-modules): Add localedef.
21199 (locale-modules): Add locale.
21200
5e4287d1
RM
21201 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
21202 * elf/rtld.c (dl_main): Invert order of assignment in last change,
21203 to avoid a warning.
21204
9c96ff23
DM
212052011-08-14 David S. Miller <davem@davemloft.net>
21206
21207 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
21208 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
21209
f9ddf089
UD
212102011-08-13 Ulrich Drepper <drepper@gmail.com>
21211
44f0a71e 21212 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
21213 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
21214 * elf/rtld.c (dl_main): Set l_name of vDSO.
21215 Call _dl_show_scope when DL_DEBUG_SCOPES.
21216 (process_dl_debug): Recognize scopes flag and also set it for all.
21217 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
21218 Declare _dl_show_scope.
21219
1dc27704
UD
21220 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
21221 (do_dlopen): Pass caller_dlopen to dl_open.
21222 (__libc_dlopen_mode): Initialize caller_dlopen.
21223
f9ddf089
UD
21224 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
21225 of libc. Make tolower call locale-independent. Optimize a bit by
21226 using isdigit instead of isalnum.
21227 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
21228
9ac533d3
UD
212292011-08-12 Ulrich Drepper <drepper@gmail.com>
21230
21231 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
21232 was a dependency or dynamically loaded.
21233
89edf2e9
UD
212342011-08-11 Ulrich Drepper <drepper@gmail.com>
21235
8e999d29
UD
21236 * intl/l10nflist.c: Allow architecture-specific pop function.
21237 * sysdeps/x86_64/l10nflist.c: New file.
21238
89edf2e9
UD
21239 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
21240 classification.
21241
14d96785
AS
212422011-08-10 Andreas Schwab <schwab@redhat.com>
21243
21244 * include/dirent.h: Add libc_hidden_proto for scandirat and
21245 scandirat64. Don't declare __scandirat64.
21246 * dirent/scandirat.c: Add libc_hidden_def.
21247 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
21248 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
21249
6761ac04
DM
212502011-08-10 David S. Miller <davem@davemloft.net>
21251
21252 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
21253 enum.
21254 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
21255 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
21256 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
21257
c55fbd1e
UD
212582011-08-09 Ulrich Drepper <drepper@gmail.com>
21259
21260 * Versions.def [libc]: Add GLIBC_2.15.
21261 * dirent/Makefile (routines): Add scandirat and scandirat64.
21262 * dirent/Versions [libc]: Export scandirat and scandirat64 for
21263 GLIBC_2.15.
21264 * dirent/dirent.h: Declare scandirat and scandirat64.
21265 * dirent/scandirat.c: New file.
21266 * dirent/scandirat64.c: New file.
21267 * sysdeps/wordsize-64/scandirat.c: New file.
21268 * sysdeps/wordsize-64/scandirat64.c: New file.
21269 * dirent/opendir.c: Define opendirat.
21270 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
21271 using scandirat.
21272 * dirent/scandir64.c: Adjust for scandir.c change.
21273 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
21274 __scandirat64, and __scandir_cancel_handler.
21275 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
21276 additional parameter and use openat instead of open (outside of ld.so).
21277 Add new __opendir as wrapper around __opendirat.
21278 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
21279 here without requiring old scandirat implementation.
21280
879165f2
UD
212812011-08-08 Ulrich Drepper <drepper@gmail.com>
21282
21283 * dirent/scandir.c (cancel_handler): Renamed to
21284 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
21285 defined. Adjust users.
21286 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
21287 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
21288
cb7e923b
UD
212892011-08-04 Ulrich Drepper <drepper@gmail.com>
21290
16292edd
UD
21291 * string/test-string.h (IMPL): Use __STRING to expand name and then
21292 stringify it.
21293
cb7e923b
UD
21294 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
21295 of cleanups.
21296
cff82933
LD
212972011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21298
21299 * string/Makefile: Update.
21300 (strop-tests): Append strncat.
21301 * string/test-wcscmp.c: New file.
21302 New comprehensive test for wcscmp.
21303 * string/test-strcmp.c: Update.
21304 (WIDE): New define.
21305
9be9bfcc
AS
213062011-07-22 Andreas Schwab <schwab@redhat.com>
21307
21308 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
21309 line.
21310
2e96f1c7
AS
213112011-07-26 Andreas Schwab <schwab@redhat.com>
21312
21313 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
21314 encoding to ACE if AI_IDN.
21315
85188888
JJ
213162011-08-01 Jakub Jelinek <jakub@redhat.com>
21317
21318 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
21319 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
21320
5fa16e9b
LD
213212011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21322
21323 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
21324 Fix overflow bug in strncat.
21325 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
21326
21327 * string/test-strncat.c: Update.
21328 Add new tests for checking overflow bugs.
21329
213302011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21331
21332 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21333 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
21334 * sysdeps/i386/i686/multiarch/strcat.S: New file.
21335 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
21336 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
21337 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
21338 * sysdeps/i386/i686/multiarch/strncat.S: New file.
21339 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
21340 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
21341
21342 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
21343 (USE_AS_STRCAT): Define.
21344 Add strcat and strncat support.
21345 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
21346
8c1a459f
AS
213472011-07-25 Andreas Schwab <schwab@redhat.com>
21348
21349 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
21350 __n bigger than INT_MAX+1.
21351 (__strncmp_g): Likewise.
21352
bba33c28
UD
213532011-07-23 Ulrich Drepper <drepper@gmail.com>
21354
798be72d
UD
21355 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
21356 * libio/stido.h: Likewise.
21357
8accd4dc
UD
21358 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
21359 (AF_NFC): Define.
21360 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
21361 (AF_NFC): Define.
21362
cbff0d96
UD
21363 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
21364 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
21365 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
21366 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
21367 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
21368
9191c04a
UD
21369 [BZ #13021]
21370 * scripts/test-installation.pl: Don't expect libnss_test1 to be
21371 installed.
21372
bba33c28
UD
21373 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
21374 typo.
21375 (_dl_x86_64_save_sse): Likewise.
21376
90f139dd
UD
213772011-07-22 Ulrich Drepper <drepper@gmail.com>
21378
1aae088a
UD
21379 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
21380 OSXSAVE.
21381 (_dl_x86_64_save_sse): Likewise.
21382
8e2045f5
UD
21383 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
21384
90f139dd
UD
21385 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
21386
1d002f25
AS
213872011-07-21 Andreas Schwab <schwab@redhat.com>
21388
21389 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
21390 change.
21391 (_dl_x86_64_save_sse): Use correct AVX check.
21392
21137f89
UD
213932011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21394
21395 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
21396 bug in strncpy/strncat.
21397 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
21398
a65c0b7a
UD
213992011-07-21 Ulrich Drepper <drepper@gmail.com>
21400
21401 * string/tester.c (test_strcat): Add tests for different alignments
21402 of source and destination.
21403 (test_strncat): Likewise.
21404
6986b98a
UD
214052011-07-20 Ulrich Drepper <drepper@gmail.com>
21406
90bb2039
UD
21407 [BZ #12852]
21408 * posix/glob.c (glob): Check passed in values before using them in
21409 expressions to avoid some overflows.
21410 (glob_in_dir): Likewise.
21411
5644ef54
UD
21412 [BZ #13007]
21413 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
21414 check for AVX enablement so that we don't crash with old kernels and
21415 new hardware.
21416 * elf/tst-audit4.c: Add same checks here.
21417 * elf/tst-audit6.c: Likewise.
21418
21419 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 21420
bfc9dc9b
AS
214212011-07-09 Andreas Schwab <schwab@linux-m68k.org>
21422
21423 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
21424
702e64bb
UD
214252011-07-20 Ulrich Drepper <drepper@gmail.com>
21426
21427 * po/cs.po: Update from translation team.
21428 * po/bg.po: Likewise.
21429
295e904f
MP
214302011-07-12 Marek Polacek <mpolacek@redhat.com>
21431
21432 * misc/sys/cdefs.h: Add support for const attribute.
21433 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
21434 to gnu_dev_{major,minor,makedev} functions.
21435
3ff94596
MP
214362011-07-20 Marek Polacek <mpolacek@redhat.com>
21437
21438 * intl/dcigettext.c (get_output_charset): Add missing bracket.
21439
28b59fca
AS
214402011-07-20 Andreas Schwab <schwab@redhat.com>
21441
21442 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
21443 strlen results.
21444
19df733e
AK
214452011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21446
21447 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
21448 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
21449 register in order to avoid conflicts with the soft frame pointer
21450 being held in r11 when necessary.
21451 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
21452 (INTERNAL_VSYSCALL_NCS): Likewise.
21453
c8835729
MP
214542011-07-14 Marek Polacek <mpolacek@redhat.com>
21455
21456 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
21457 * elf/dl-fini.c (_dl_fini): Adjust caller.
21458 * elf/dl-close.c (_dl_close_worker): Likewise.
21459 * sysdeps/generic/ldsodefs.h: Adjust declaration.
21460
b902330c
MP
214612011-07-15 Marek Polacek <mpolacek@redhat.com>
21462
8991e135
MP
21463 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
21464 "aux_cache->nlibs < 0".
21465
b902330c
MP
21466 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
21467 in the reload-count case.
21468
99710781
LD
214692011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21470
21471 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21472 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
21473 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
21474 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
21475 * sysdeps/x86_64/multiarch/strcat.S: New file.
21476 * sysdeps/x86_64/multiarch/strncat.S: New file.
21477 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
21478 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
21479 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
21480 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
21481 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
21482 (USE_AS_STRCAT): Define.
21483 Add strcat and strncat support.
21484 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
21485 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
21486 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
21487 * string/strncat.c: Update.
21488 (USE_AS_STRNCAT): Define.
21489 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21490 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
21491 and i7.
21492 * sysdeps/x86_64/multiarch/init-arch.h
21493 (bit_Prefer_PMINUB_for_stringop): New.
21494 (index_Prefer_PMINUB_for_stringop): Likewise.
21495 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
21496 bit_Prefer_PMINUB_for_stringop.
21497
7dc6bd90
UD
214982011-07-19 Ulrich Drepper <drepper@gmail.com>
21499
21500 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
21501 buffer64.
21502 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
21503 of casting of buffer.
21504 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
21505 buffer32 and buffer64.
21506 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
21507 writes instead of casting of buffer.
21508 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
21509 buffer32.
21510 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
21511 casting of buffer.
21512
e0e72284
AS
215132011-07-19 Andreas Schwab <schwab@redhat.com>
21514
21515 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
21516
feb1eb0b
UD
215172011-07-19 Ulrich Drepper <drepper@gmail.com>
21518
21519 * nscd/nscd.c (termination_handler): Don't do anything for a database
21520 if it has not yet been initialized.
21521
298711ff
UD
215222011-07-18 Ulrich Drepper <drepper@gmail.com>
21523
21524 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
21525
215262011-07-15 Marek Polacek <mpolacek@redhat.com>
21527
21528 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
21529
f9d68389
UD
215302011-07-18 Ulrich Drepper <drepper@gmail.com>
21531
21532 * po/nl.po: Update from translation team.
21533 * po/sv.po: Likewise.
21534
db290cf5
RM
215352011-07-16 Roland McGrath <roland@hack.frob.com>
21536
21537 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
21538 now disallowed by GCC.
5c550700 21539
fd5e21c7
RM
21540 * configure.in (use-default-link): Default to yes if a test -shared
21541 link meets our qualifications.
21542 * configure: Regenerated.
21543
5c550700
RM
21544 * config.make.in (output-format): New variable.
21545 * configure.in: Check for ld --print-output-format support.
21546 * configure: Regenerated.
21547 * Makerules ($(common-objpfx)format.lds)
21548 [$(output-format) != unknown]: Just use $(output-format),
21549 instead of the linker-script munging.
21550
9fa2c032
RM
215512011-07-14 Roland McGrath <roland@hack.frob.com>
21552
a6928d51
RM
21553 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
21554 of $(common-objpfx)shlib.lds.
21555 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
21556
661607b3
RM
21557 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
21558 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
21559
9fa2c032
RM
21560 * configure.in (-z relro check): Adjust test code to add a large
21561 writable data section after it.
21562 * configure: Regenerated.
21563
defe9061
RM
215642011-07-11 Roland McGrath <roland@hack.frob.com>
21565
21566 * configure.in (-z relro check): Fix test code to make the variable
21567 truly const.
21568 * configure: Regenerated.
21569
319b9ad4
UD
215702011-07-11 Ulrich Drepper <drepper@gmail.com>
21571
21572 * nscd/nscd.h (struct traced_file): Define.
21573 (struct database_dyn): Remove inotify_descr, reset_res, and filename
21574 elements. Add traced_files.
21575 (inotify_fd): Declare.
21576 (register_traced_file): Declare.
21577 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
21578 (inotify_fd): Export.
21579 (resolv_conf_descr): Remove.
21580 (nscd_init): Move inotify descriptor creation to main.
21581 Don't register files for notification here.
21582 (register_traced_file): New function.
21583 (invalidate_cache): Don't use reset_res to determine whether to call
21584 res_init, go through the list of registered files.
21585 (main_loop_poll): The inotify descriptors are now stored in the
21586 structures for the traced files.
21587 (main_loop_epoll): Likewise
21588 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
21589 to __nss_disable_nscd.
21590 * nscd/cache.c (prune_cache): There is no single inotify descriptor
21591 for a database anymore. Check the records for all the registered
21592 files instead.
21593 * nss/Makefile (libnss_files-routines): Add files-init.
21594 (libnss_db-routines): Add db-init.
21595 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
21596 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
21597 * nss/nss_db/db-init.c: New file.
21598 * nss/nss_files/files-init.c: New file.
21599 * nss/nsswitch.c (nss_load_library): New function. Broken out of
21600 __nss_lookup_function.
21601 (__nss_lookup_function): Call nss_load_library.
21602 (nss_load_all_libraries): New function.
21603 (__nss_disable_nscd): Take parameter with callback function for files
21604 to register. Set is_nscd. Load all the DSOs for the NSS modules
21605 used for the cached services.
21606 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
21607 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
21608 options for features to all the files in nscd.
21609
21610 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
21611
23bee3e8
RM
216122011-07-10 Roland McGrath <roland@hack.frob.com>
21613
21614 * csu/elf-init.c (__libc_csu_init): Comment typo.
21615
46a5b7f0
UD
216162011-07-09 Ulrich Drepper <drepper@gmail.com>
21617
21618 * po/pl.po: Update from translation team.
21619 * po/ja.po: Likewise.
21620 * po/ru.po: Likewise.
21621 * po/ko.po: Likewise.
21622 * po/fr.po: Likewise.
21623
d30cf5bb
RM
216242011-07-09 Roland McGrath <roland@hack.frob.com>
21625
113ddea4
RM
21626 * configure.in (.ctors/.dtors header and trailer check):
21627 Use an empirical test on a built program.
21628 * configure: Regenerated.
21629
574920b4
RM
21630 * configure.in (-z relro check): Use an empirical test on a built DSO.
21631 Detect, but do not require, on ia64.
21632 * configure: Regenerated.
21633
d30cf5bb
RM
21634 * configure.in (READELF): Find it with AC_CHECK_TOOL.
21635 Update tests that use readelf to use $READELF instead.
21636 * configure: Regenerated.
21637
8538fdb3
UD
216382011-07-08 Ulrich Drepper <drepper@gmail.com>
21639
21640 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
21641 if the result is not used.
21642
04d08991
AJ
216432011-07-05 Andreas Jaeger <aj@suse.de>
21644
21645 [BZ#9696]
21646 * stdlib/tst-strtod.c: Add testcase.
21647
de283087
AD
216482011-07-07 Ulrich Drepper <drepper@gmail.com>
21649
4e5f31c8 21650 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 21651 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
21652 The latter has a higher limit. Take additional parameter to pass to
21653 the new function.
21654 (__pathconf): Pass file to __statfs_link_max.
21655 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
21656 __statfs_link_max.
21657 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
21658 __statfs_link_max.
21659
de283087
AD
21660 [BZ #12868]
21661 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
21662 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
21663 Handle Lustre.
21664 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
21665 (__statfs_filesize_max): Likewise.
21666 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
21667
c75fa153
AJ
216682011-07-05 Andreas Jaeger <aj@suse.de>
21669
21670 * resolv/res_comp.c (dn_skipname): Remove unused variable.
21671
1a544854
UD
216722011-07-06 Marek Polacek <mpolacek@redhat.com>
21673
21674 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
21675 `status' variable.
21676 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
21677 Likewise.
21678
6f0eec67
UD
216792011-07-04 H.J. Lu <hongjiu.lu@intel.com>
21680
21681 * Makefile (strop-tests): Add strncat.
21682 * string/test-strncat.c: New file.
21683
aae30307
UD
216842011-06-30 Marek Polacek <mpolacek@redhat.com>
21685
21686 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
21687
c0cfb5eb
UD
216882011-06-21 Andreas Jaeger <aj@suse.de>
21689
21690 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
21691 Copy rule from iconvdata/Makefile.
21692
01636b21
UD
216932011-07-06 Ulrich Drepper <drepper@gmail.com>
21694
21695 [BZ #12922]
21696 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
21697 but no long options are defined, just return 'W'.
21698
9895c8bc
UD
216992011-06-22 Marek Polacek <mpolacek@redhat.com>
21700
21701 [BZ #9696]
21702 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
21703
5d4cf042
UD
217042011-07-06 Ulrich Drepper <drepper@gmail.com>
21705
21706 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
21707 netgroups to read.
960e5535 21708 (innetgr): Likewise.
5d4cf042 21709
751eb97e
RM
217102011-07-05 Roland McGrath <roland@hack.frob.com>
21711
21712 * config.make.in (install_root): Default to $(DESTDIR).
21713
f15f1e45
UD
217142011-07-05 Ulrich Drepper <drepper@gmail.com>
21715
21716 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
21717
4e34ac6a
RM
217182011-07-02 Roland McGrath <roland@hack.frob.com>
21719
5e9b6af4
RM
21720 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
21721
84f9ea0f
RM
21722 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
21723 containing directory rather than embedding absolute directory names.
21724
ea5ee9f7
RM
21725 * scripts/check-local-headers.sh: Rewritten using awk.
21726 Match by word, not by line. Print error messages for matches.
21727 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
21728
1b74661a
RM
21729 * Makerules [shlib-lds-flags empty]:
21730 ($(common-objpfx)libc_pic.opts): New target.
21731 ($(common-objpfx)libc_pic.os.clean): New target.
21732 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
21733
21734 * config.make.in (OBJCOPY): New variable.
21735 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
21736 * configure: Regenerated.
21737
f781ef40
RM
21738 * config.make.in (use-default-link): New variable.
21739 * configure.in (use_default_link): Grok --with-default-link to set it.
21740 * configure: Regenerated.
21741 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
21742 (shlib-lds, shlib-lds-flags): Define to empty.
21743
2d4fa81e
RM
21744 * Makerules (shlib-lds): New variable.
21745 (shlib-lds-flags): New variable.
21746 (build-shlib, build-moduile, build-module-asneeded): Use it.
21747 ($(common-objpfx)libc.so): Use $(shlib-lds).
21748 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
21749 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
21750
31fffa6b
RM
21751 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
21752 DT_FLAGS/DT_FLAGS_1 with zero flags.
21753
4e34ac6a
RM
21754 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
21755 linker script munging.
21756
fcfc776b
UD
217572011-07-02 Ulrich Drepper <drepper@gmail.com>
21758
21759 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
21760 as 128-bit value.
21761 * crypt/sha512.c (sha512_process_block): Perform total addition using
21762 128-bit if possible.
21763 (__sha512_finish_ctx): Likewise.
21764 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
21765 as 64-bit value.
21766 * crypt/sha256.c (SWAP64): Define.
21767 (sha256_process_block): Perform total addition using 64-bit if
21768 possible.
21769 (__sha256_finish_ctx): Likewise.
21770
99231d9a
UD
217712011-07-01 Ulrich Drepper <drepper@gmail.com>
21772
21773 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
21774 * nscd/initgrcache.c (addinitgroupsX): Likewise.
21775 * nscd/hstcache.c (cache_addhst): Likewise.
21776 * nscd/grpcache.c (cache_addgr): Likewise.
21777 * nscd/aicache.c (addhstaiX): Likewise
21778 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
21779
445b4a53
TK
217802011-07-01 Thorsten Kukuk <kukuk@suse.de>
21781
21782 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
21783 * nscd/initgrcache.c (addinitgroupsX): Likewise.
21784 * nscd/hstcache.c (cache_addhst): Likewise.
21785 * nscd/grpcache.c (cache_addgr): Likewise.
21786 * nscd/aicache.c (addhstaiX): Likewise
21787
6d4d8e8e
AS
217882011-07-01 Andreas Schwab <schwab@redhat.com>
21789
21790 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
21791 domain only when needed.
21792
89f654c5
AS
217932011-06-30 Andreas Schwab <schwab@redhat.com>
21794
21795 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
21796 is always restored.
21797
cf3b23ff
UD
217982011-06-29 Ulrich Drepper <drepper@gmail.com>
21799
21800 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
21801 are re-adding the entry.
21802 * nscd/servicescache.c (cache_addserv): Likewise.
21803
751626f9
AJ
218042011-06-30 Aurelien Jarno <aurelien@aurel32.net>
21805
21806 * sysdeps/generic/dl-irel.h: fix protection against multiple
21807 inclusions.
21808 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
21809
9113ea1f
UD
218102011-06-28 Ulrich Drepper <drepper@gmail.com>
21811
5c0b8d90
UD
21812 [BZ #12935]
21813 * malloc/memusage.sh: Fix quoting in message.
21814 * debug/xtrace.sh: Likewise.
21815
9113ea1f
UD
21816 * configure.in: Remove support for --experimental-malloc option, make
21817 it the default.
21818 * config.make.in: Likewise.
21819 * malloc/Makefile: Likewise.
21820
a4172181
AS
218212011-06-27 Andreas Schwab <schwab@redhat.com>
21822
21823 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
21824 two-byte characters.
21825
78a7eee7
RM
218262011-06-27 Roland McGrath <roland@hack.frob.com>
21827
62bede13
RM
21828 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
21829 AC_CACHE_CHECK invocation.
21830 * configure: Regenerated.
21831
78a7eee7
RM
21832 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
21833
5ce33a62
UD
218342011-06-27 Ulrich Drepper <drepper@gmail.com>
21835
034807a9
UD
21836 [BZ #12350]
21837 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
21838 bit from old_res_options.
21839
4902da17
UD
21840 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
21841
5ce33a62
UD
21842 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
21843 value type for setfct.
21844
c2344f56
L
218452011-06-23 H.J. Lu <hongjiu.lu@intel.com>
21846
21847 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
21848 __gettimeofday instead of gettimeofday.
21849
68468076
UD
218502011-06-26 Ulrich Drepper <drepper@gmail.com>
21851
21852 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
21853
acb0d739
L
218542011-06-24 H.J. Lu <hongjiu.lu@intel.com>
21855
21856 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
21857
21858 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
21859 info.
21860
8912479f
L
218612011-06-22 H.J. Lu <hongjiu.lu@intel.com>
21862
21863 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21864 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
21865 strcpy-sse2-unaligned strncpy-sse2-unaligned
21866 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
21867 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
21868 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
21869 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
21870 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
21871 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
21872 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
21873 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
21874 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
21875 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
21876 (STRCPY): Support SSE2 and SSSE3 versions.
21877
d5495a11
UD
218782011-06-24 Ulrich Drepper <drepper@gmail.com>
21879
21880 [BZ #12874]
21881 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
21882 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
21883 kernels which artificially limit size of requests.
21884
0b1cbaae
L
218852011-06-22 H.J. Lu <hongjiu.lu@intel.com>
21886
21887 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21888 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
21889 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
21890 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
21891 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
21892 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
21893 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
21894 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
21895 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
21896 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
21897 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
21898 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
21899 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
21900 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
21901 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
21902 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21903 Enable unaligned load optimization for Intel Core i3, i5 and i7
21904 processors.
21905 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
21906 Define.
21907 (index_Fast_Unaligned_Load): Define.
21908 (HAS_FAST_UNALIGNED_LOAD): Define.
21909
07f494a0
MP
219102011-06-23 Marek Polacek <mpolacek@redhat.com>
21911
21912 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
21913
fa3fc0fe
UD
219142011-06-22 Ulrich Drepper <drepper@gmail.com>
21915
21916 [BZ #12907]
21917 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
21918 until it is clear that the information is realy needed.
21919 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
21920
e12df166
AS
219212011-06-22 Andreas Schwab <schwab@redhat.com>
21922
21923 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
21924
852eb34d
UD
219252011-06-22 Ulrich Drepper <drepper@gmail.com>
21926
84e2a551
UD
21927 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
21928 /sys/devices/system/cpu/online if it is usable.
21929
852eb34d
UD
21930 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
21931 reading the information from the /proc filesystem to once a second.
21932
6e502e19
UD
219332011-06-21 Andreas Jaeger <aj@suse.de>
21934
21935 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
21936 NULL after inclusion of kernel headers.
21937
75d39ff2
UD
219382011-06-21 Ulrich Drepper <drepper@gmail.com>
21939
51f9aa6a
UD
21940 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
21941 calls to internal_setent.
21942
c0244a9d
UD
21943 [BZ #12885]
21944 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
21945 addresses using gethostbyname4_r ignore IPv4 addresses.
21946
c5e3c2ae
UD
21947 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
21948 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
21949
75d39ff2
UD
21950 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
21951
42675c6f
DM
219522011-06-20 David S. Miller <davem@davemloft.net>
21953
21954 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
21955 inclusions.
21956 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
21957
21958 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
21959 (elf_irel): Use it.
21960 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
21961 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
21962 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
21963 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
21964 * sysdeps/x86_64/dl-irel.h: Likewise.
21965
21966 * elf/dl-runtime.c: Use elf_ifunc_invoke.
21967 * elf/dl-sym.c: Likewise.
21968
57912a71
UD
219692011-06-15 Ulrich Drepper <drepper@gmail.com>
21970
21971 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
21972 need to dereference resplen2.
21973
ee22793d
AS
219742011-06-14 Andreas Schwab <schwab@redhat.com>
21975
21976 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
21977
a9e836b0
UD
219782011-06-15 Ulrich Drepper <drepper@gmail.com>
21979
77fb9117
UD
21980 * Makeconfig: Define vardbdir and inst_vardbdir.
21981 * nss/Makefile: Add rules to install db-Makefile.
21982
40c1b22c
UD
21983 * nss/nss_db/db-XXX.c: Cleanup.
21984
9f2da732
UD
21985 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
21986 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
21987 GLIBC_PRIVATE.
21988 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
21989 * nss/makedb.c: Implement -g option to specify that value strings
21990 are generated and should not be added to table iterated over for
21991 get*ent calls.
21992 * nss/nss_db/db-initgroups.c: New file.
21993
82e9a1f7
UD
21994 * nss/getent.c: Add support for initgroups lookups through getgrouplist
21995 interface.
21996
c41af17e
UD
21997 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
21998 (internal_getgrouplist): Adjust to name change.
21999 Update use_initgroups_entry if this is not the first call.
22000 * nss/databases.def: Add initgroups entry.
22001
a9e836b0
UD
22002 * nss/makedb.c (compute_tables): Check result of multiple hash table
22003 sizes to minimize maximum chain length.
22004
2666d441
UD
220052011-06-14 Ulrich Drepper <drepper@gmail.com>
22006
22007 * Versions.def: Add entry for libnss_db.
22008 * shlib-versions: Likewise.
22009 * nss/Makefile: Add rules to build libnss_db.
22010 * nss/Versions: Add libnss_db information. Organize libnss_files
22011 entries better.
22012 * nss/db-Makefile: Add gshadow support. Change rules for the new
22013 makedb progra. Some minor improvements to generate smaller files.
22014 * nss/nss_db/nss_db.h: Move NSS database header data structures to
22015 here from...
22016 * nss/makedb.c: ...here.
22017 Improve database format to be smaller and require less memory at
22018 runtime.
22019 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
22020 db anymore.
22021 * nss/nss_db/db-netgrp.c: Likewise.
22022 * nss/nss_db/db-open.c: Likewise.
22023 * nss/nss_files/flies-XXX.x: Adjust comments.
22024 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
22025 * nss/nss_files/files-grp.c: Likewise.
22026 * nss/nss_files/files-hosts.c: Likewise.
22027 * nss/nss_files/files-network.c: Likewise.
22028 * nss/nss_files/files-proto.c: Likewise.
22029 * nss/nss_files/files-pwd.c: Likewise.
22030 * nss/nss_files/files-rpc.c: Likewise.
22031 * nss/nss_files/files-service.c: Likewise.
22032 * nss/nss_files/files-sgrp.c: Likewise.
22033 * nss/nss_files/files-spwd.c: Likewise.
22034 * nss/nss_db/db-alias.c: Removed.
22035 * nss/nss_db/dummy-db.h: Removed.
22036
9ee76b5a
UD
220372011-06-02 Ulrich Drepper <drepper@gmail.com>
22038
22039 * nss/makedb.c: Rewritten to not use database library.
22040 * nss/Makefile: Update to build new makedb program.
22041
c71ca1f8
AJ
220422011-06-14 Andreas Jaeger <aj@suse.de>
22043
22044 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
22045 memset declaration.
22046
3154bfb8
UD
220472011-06-10 Andreas Schwab <schwab@redhat.com>
22048
22049 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
22050 tmpbuf.
22051
b350afab
RM
220522011-06-10 Roland McGrath <roland@hack.frob.com>
22053
decd4e50
RM
22054 * Makerules (shlib.lds): Fail if the linker script comes out empty.
22055 * elf/Makefile ($(objpfx)ld.so): Likewise.
22056
5615eaf2
RM
22057 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
22058 Don't list ld.so twice in dependencies.
22059
22060 * posix/bug-regex31.c: Include <stdlib.h>.
22061
22062 * nscd/hstcache.c (cache_addhst): Remove unused variable.
22063
22064 * nis/nss_compat/compat-spwd.c
22065 (getspent_next_nss_netgr): Remove unused variable.
22066 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
22067
22068 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
22069 nonmembers" output to use the right array.
22070
22071 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
22072
22073 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
22074
22075 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
22076 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
22077 * catgets/gencat.c (read_input_file): Likewise.
22078 * locale/programs/locarchive.c (enlarge_archive): Likewise.
22079
22080 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
22081 variable definition inside #if's controlling its use.
22082
22083 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
22084
22085 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
22086
22087 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
22088
22089 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
22090 unreachable code.
22091
22092 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
22093
b68e08db
RM
22094 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
22095 * configure: Regenerated.
22096
b350afab
RM
22097 * Makerules: Revert last change.
22098 * elf/Makefile: Likewise.
22099
28368601
RM
221002011-06-09 Roland McGrath <roland@hack.frob.com>
22101
22102 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
22103 * elf/Makefile ($(objpfx)librtld.os): Likewise.
22104 (reloc-link): Likewise.
22105
11988f8f
UD
221062011-06-09 Ulrich Drepper <drepper@gmail.com>
22107
22108 * elf/Makefile: Add rules to build pldd.
22109 * elf/pldd.c: New file.
22110 * elf/pldd-xx.c: New file.
22111
e80fab37
UD
221122011-06-07 Ulrich Drepper <drepper@gmail.com>
22113
22114 * version.h: Update for 2.15 development version.
22115
9b849836
DM
221162011-06-07 David S. Miller <davem@davemloft.net>
22117
22118 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
22119 ifuncs.
22120 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
22121 elf_machine_lazy_rel): Likewise.
22122 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
22123 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
22124 elf_machine_lazy_rel): Likewise.
22125 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
22126 dl_hwcap via passed in argument.
22127 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
22128 Likewise.
22129
5a31b283
AK
221302011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22131
22132 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
22133
069e52f8
RM
221342011-06-06 Roland McGrath <roland@hack.frob.com>
22135
22136 [BZ #12849]
22137 * manual/fdl-1.1.texi: New file, verbatim from:
22138 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
22139 * manual/lgpl-2.1.texi: New file, verbatim from:
22140 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
22141 * manual/Makefile (licenses): New variable, list those new file names.
22142 (texis): Use it.
22143 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
22144
22145 * manual/fdl.texi: File removed.
22146 * manual/lesser.texi: File removed.
22147 * manual/libc.texinfo (Copying, Documentation License):
22148 Use new @include file names, put @appendix directive before @include.
22149
f16846a5
JJ
221502011-06-04 Jakub Jelinek <jakub@redhat.com>
22151
22152 [BZ #12841]
22153 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
22154 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
22155 (mq_open): Add __NTH.
22156
3d29045b
L
221572011-06-02 H.J. Lu <hongjiu.lu@intel.com>
22158
22159 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22160 Assume Intel Core i3/i5/i7 processor if AVX is available.
22161
8c297311
UD
221622011-05-31 Ulrich Drepper <drepper@gmail.com>
22163
22164 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
22165 typo.
22166
c8fc0c91
UD
221672011-05-31 Andreas Schwab <schwab@redhat.com>
22168
22169 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
22170 memory. Use alloca_account. Fix memory leak when retrying.
22171
5b27a807
UD
221722011-05-31 Ulrich Drepper <drepper@gmail.com>
22173
356f8bc6
UD
22174 * version.h (RELEASE): Bump for 2.14 release.
22175 * include/features.h (__GLIBC_MINOR__): Bump to 14.
22176
5b27a807
UD
22177 * config.make.in (RANLIB): Remove entry.
22178
01f16ab0
UD
221792011-05-30 Ulrich Drepper <drepper@gmail.com>
22180
41fce8bd
UD
22181 * po/Makefile (po-sed-cmd): Add ksh to extensions.
22182 (libc.pot): Work around missing support for .ksh extension in xgettext.
22183
4769ae77
UD
22184 [BZ #12684]
22185 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
22186 if both request failed.
22187 (send_dg): In case of server errors clear resplen or *resplen2.
22188
6b1e7d19
UD
22189 [BZ #12454]
22190 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
22191 when there are multiple maps.
22192 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
22193 (_dl_fini): Remove test here.
22194
01f16ab0
UD
22195 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
22196
b1ebd700
UD
221972011-05-29 Ulrich Drepper <drepper@gmail.com>
22198
7ae22829
UD
22199 [BZ #12350]
22200 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
22201 bit from old_res_options.
22202 (gaih_inet): Likewise.
22203
553149f6 22204 [BZ #11099]
18a84741 22205 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
22206 as signed.
22207
652ffab1
UD
22208 * resolv/res_init.c (res_setoptions): Make the code more compact.
22209
16985fd0
UD
22210 [BZ #11558]
22211 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
22212 set RES_USEVC.
22213
0464f746
UD
22214 [BZ #11634]
22215 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
22216
7d17596c
UD
22217 * malloc/malloc.h: Mark malloc hook variables as deprecated.
22218
cf6bbbd7
UD
22219 [BZ #11781]
22220 * malloc/malloc.h: Declare malloc hook variables as volatile.
22221
13f1ab36
UD
22222 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
22223 in last patch.
22224
b1ebd700
UD
22225 [BZ #11799]
22226 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 22227 raise in the comment.
80e2212d
UD
22228 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
22229 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
22230 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 22231
ce67228d
UD
222322011-05-28 Ulrich Drepper <drepper@gmail.com>
22233
8887a920
UD
22234 [BZ #12811]
22235 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
22236 grow the buffers more if it already has to be sufficient.
22237 (build_wcs_upper_buffer): Likewise.
22238 * posix/regexec.c (check_matching): Likewise.
22239 (clean_state_log_if_needed): Likewise.
22240 (extend_buffers): Don't enlarge buffers beyond size of the input
22241 buffer.
22242 Patches mostly by Emil Wojak <emil@wojak.eu>.
22243 * posix/bug-regex32.c: New file.
22244 * posix/Makefile (tests): Add bug-regex32.
22245
4f031072
UD
22246 * locale/findlocale.c (_nl_find_locale): Return right away if
22247 _nl_explode_name failed.
22248 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
22249
d0478f0c
UD
22250 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
22251
de81b246
UD
22252 * debug/xtrace.sh: Unify messages.
22253 * malloc/memusage.sh: Likewise.
22254
c738465a
UD
22255 [BZ #12813]
22256 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
22257 time symbol from vDSO. Substitute with vsyscall if not available.
22258 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
22259 __vdso_time.
22260
f1f929d7
UD
22261 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
22262 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
22263 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
22264 Add sendmmsg and internal_sendmmsg.
22265 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
22266 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
22267 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
22268
ce67228d
UD
22269 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
22270 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
22271 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
22272
e57420c6
UD
222732011-05-27 Ulrich Drepper <drepper@gmail.com>
22274
a8509ca5
UD
22275 [BZ #12813]
22276 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
22277 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
22278 available.
22279 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
22280 __vdso_getcpu.
22281
e57420c6
UD
22282 [BZ #12814]
22283 * iconvdata/Makefile (tests): Add bug-iconv9.
22284 * iconvdata/bug-iconv9.c: New file.
22285
4d07db15
AS
222862011-05-27 Andreas Schwab <schwab@redhat.com>
22287
22288 [BZ #12814]
22289 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
22290
ea486f69
JJ
222912011-05-25 Jakub Jelinek <jakub@redhat.com>
22292
22293 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
22294 (struct user_regs_struct): Change intcs field back to cs.
22295
6f038433
UD
222962011-05-25 Ulrich Drepper <drepper@gmail.com>
22297
22298 * po/ja.po: Update from translation team.
22299
67f86a25
UD
223002011-05-23 Ulrich Drepper <drepper@gmail.com>
22301
22302 [BZ #12795]
22303 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
22304 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
22305
def7fbd6
AS
223062011-05-20 Andreas Schwab <schwab@redhat.com>
22307
22308 * stdlib/longlong.h: Update from GCC.
22309
f50ef8f1
AS
223102011-05-23 Andreas Schwab <schwab@redhat.com>
22311
22312 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
22313 parameter name.
22314 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
22315 Add parameter name.
22316 (__sysconf): Pass it down.
22317
de7ce8f1
UD
223182011-05-22 Ulrich Drepper <drepper@gmail.com>
22319
f2962a71
UD
22320 [BZ #12671]
22321 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
22322 some situations.
22323 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
22324 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
22325 add in in __libc_use_alloca calls. Adjust callers.
22326 (glob): Use malloc in some situations.
22327
de7ce8f1
UD
22328 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
22329 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
22330 pltexit.
22331
aec84f53
UD
223322011-05-21 Ulrich Drepper <drepper@gmail.com>
22333
05bb4a68
UD
22334 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
22335 and CLOCK_BOOTTIME_ALARM.
22336
7ea72f99
UD
22337 [BZ #12782]
22338 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
22339 is returned.
22340
7e4afad5
UD
22341 * string/_strerror.c (__strerror_r): Print negative errors as signed
22342 numbers.
22343
8e211fec
UD
22344 [BZ #12777]
22345 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
22346 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
22347 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
22348
f7d82dc9
UD
22349 * configure.in: Fix typo in redirection and correct removal of test
22350 files in two cases.
22351
cc9e536d
UD
22352 [BZ #12788]
22353 * locale/setlocale.c (new_composite_name): Fix test to check for
22354 identical name of all categories.
22355
aec84f53
UD
22356 [BZ #12792]
22357 * libio/filedoalloc.c (local_isatty): New function.
22358 (_IO_file_doallocate): Use local_isatty.
22359 * stdio-common/perror.c (perror): In case a new stream is used
22360 forward the stream error.
22361 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
22362 error flag.
22363
78e64fdc
RT
223642011-05-20 Ulrich Drepper <drepper@gmail.com>
22365
34a9094f
UD
22366 [BZ #11869]
22367 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
22368 alloca.
22369 * include/alloca.h (extend_alloca_account): Define.
22370
78e64fdc
RT
22371 [BZ #11857]
22372 * posix/regex.h: Fix comments with documentation of user-accessible
22373 fields after compilation and describe correct free'ing of pattern
22374 after re_compile_pattern.
22375 Patch by Reuben Thomas <rrt@sc3d.org>.
22376
457bddfc
RA
223772011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
22378
22379 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
22380 and -mno-altivec to prevent the compiler from using Altivec and/or
22381 VSX instructions when the corresponding registers are not available.
22382
a4527b51
AS
223832011-05-19 Andreas Schwab <schwab@redhat.com>
22384
22385 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
22386
ed690b2f
UD
223872011-05-19 Ulrich Drepper <drepper@gmail.com>
22388
22389 * libio/freopen.c (freopen): Use __dup2, not dup2.
22390 * libio/freopen64.c (freopen64): Likewise.
22391
8db73634
L
223922011-05-17 H.J. Lu <hongjiu.lu@intel.com>
22393
22394 [BZ #12775]
22395 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
22396 * math/Makefile (tests): Add test-powl.
22397 (CFLAGS-test-powl.c): Define.
22398 * math/test-powl.c: New file.
22399
0a197a9d
L
224002011-05-16 H.J. Lu <hongjiu.lu@intel.com>
22401
22402 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
22403
ee30c380
UD
224042011-05-17 Ulrich Drepper <drepper@gmail.com>
22405
22406 [BZ #11837]
22407 * iconvdata/gb18030.c: Update to GB18020-2005.
22408
6ce75379
UD
224092011-05-16 Ulrich Drepper <drepper@gmail.com>
22410
a4b89fd8
AR
22411 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
22412 RE_SYNTAX_POSIX_AWK): Update to match recent development.
22413 Patch by Aharon Robbins <arnold@skeeve.com>.
22414
ea389b12
UD
22415 [BZ #11892]
22416 * stdlib/putenv.c (putenv): Don't always create copy of the variable
22417 on the stack.
22418
68a3f91f
UD
22419 [BZ #11895]
22420 * misc/pselect.c (__pselect): Handle timeout value errors hidden
22421 through underflows.
22422
15cc7dd1
UD
22423 [BZ #12766]
22424 * misc/error.c (error_at_line): Ensure file_name and old_file_name
22425 point to strings before performing equality test for error_one_per_line
22426 mode.
22427
f3799213
UD
22428 [BZ #11697]
22429 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
22430
d79a9c94
UD
22431 [BZ #11820]
22432 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
22433 (struct user_fpregs_struct): Avoid __uint*_t types.
22434
56e5eb46
UD
22435 [BZ #6420]
22436 * malloc/mtrace.c (tr_where): Add additional parameter to point to
22437 symbol info. Use it instead of calling _dl_addr locally.
22438 (lock_and_info): New function.
22439 (tr_freehook): Call lock_and_info and pass symbol info as additional
22440 parameter to tr_where.
22441 (tr_mallochook): Likewise.
22442 (tr_reallochook): Likewise.
22443 (tr_memalignhook): Likewise.
22444
6ce75379
UD
22445 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
22446 used and couldn't be at all thread-safe.
22447
f8a3b5bf
UD
224482011-05-15 Ulrich Drepper <drepper@gmail.com>
22449
94b7cc37
UD
22450 * libio/freopen.c (freopen): Don't close old file descriptor
22451 before the new one is opened. Instead dup the new file descriptor
22452 to the old one after the new stream is created.
22453 * libio/freopen64.c (freopen64): Likewise.
22454 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
22455 * libio/fileops.c (_IO_new_file_close_it): Handle new
22456 _IO_FLAGS2_NOCLOSE flag.
22457 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
22458 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
22459 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
22460 _IO_FLAGS2_NOCLOSE flag.
22461 * include/unistd.h: Add hidden_proto for dup3.
22462 Define __have_dup3.
22463 * io/dup3.c: Define hidden symbol.
22464 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
22465
bd25564e
UD
22466 [BZ #7101]
22467 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
22468 when an incomplete long option is used.
22469 * posix/tst-getopt_long1.c: New file.
22470 * posix/Makefile (tests): Add tst-getopt_long1.
22471
c84cfef4
UD
22472 [BZ #10138]
22473 * scripts/config.guess: Update from autoconf-2.68.
22474 * scripts/config.sub: Likewise.
22475
3b85df27
UD
22476 [BZ #10157]
22477 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
22478 tests into ...
22479 (has_cpuclock): ...this. New function.
22480 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
22481 macro here based on has_cpuclock code.
22482
15a856b1
UD
22483 [BZ #10149]
22484 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
22485 First byte (not low byte) is now always NUL.
22486 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
22487
05f399e6
UD
22488 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
22489 Use non-cancelable interfaces.
22490
10a52685 22491 [BZ #9809]
94ecc67d
UD
22492 * locale/iso-639.def: Add entry for Sorani.
22493
f8a3b5bf
UD
22494 [BZ #11901]
22495 * include/stdlib.h: Move include protection to the right place.
22496 Define abort_msg_s. Declare __abort_msg with it.
22497 * stdlib/abort.c (__abort_msg): Adjust type.
22498 * assert/assert.c (__assert_fail_base): New function. Majority
22499 of code from __assert_fail. Allocate memory for __abort_msg with
22500 mmap.
22501 (__assert_fail): Now call __assert_fail_base.
22502 * assert/assert-perr.c: Remove bulk of implementation. Use
22503 __assert_fail_base.
22504 * include/assert.hL Declare __assert_fail_base.
22505 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
22506 mmap.
22507 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
22508
1af4e298
UD
225092011-05-14 Ulrich Drepper <drepper@gmail.com>
22510
f8a3b5bf 22511 [BZ #11952]
d26dfc60
MG
22512 [BZ #12453]
22513 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
22514 until all modules are registered in the DTV.
22515 * elf/Makefile: Add rules to build and run tst-tls19.
22516 * elf/tst-tls19.c: New file.
22517 * elf/tst-tls19mod1.c: New file.
22518 * elf/tst-tls19mod2.c: New file.
22519 * elf/tst-tls19mod3.c: New file.
22520 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
22521
2fc54d6f
UD
22522 [BZ #12083]
22523 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
22524 correctly.
22525
98d76b46
UD
22526 [BZ #12601]
22527 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
22528 two-byte sequence errors.
22529 * iconvdata/Makefile (tests): Add bug-iconv8.
22530 * iconvdata/bug-iconv8.c: New file.
22531
da3c19ef
UD
22532 [BZ #12626]
22533 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
22534 buf2 definition.
22535
ca408c15
UD
22536 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
22537
d6f67f7d
UD
22538 [BZ #12432]
22539 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
22540 (dummy_getcfa): New function.
22541 (init): Get _Unwind_GetCFA address, use dummy if not found.
22542 (backtrace_helper): In recursion check, also check whether CFA changes.
22543 (__backtrace): Completely initialize arg.
22544
1af4e298 22545 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
22546 storing incomplete byte sequence in state object. Avoid testing for
22547 guaranteed too small input if we know there is enough data available.
1af4e298 22548
da62f81b
AS
225492011-05-11 Andreas Schwab <schwab@redhat.com>
22550
22551 * Makeconfig (+link-pie): Indent.
22552 * Rules (binaries-pie): Define if $(have-fpie) and
22553 $(build-shared).
22554 (binaries-shared): Also filter out $(binaries-pie).
22555 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
22556 * nscd/Makefile (others-pie): Add nscd.
22557 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
22558 ($(objpfx)nscd): Remove command override.
22559 * login/Makefile (others-pie): Add pt_chown.
22560 ($(objpfx)pt_chown): Remove command override.
22561 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
22562 remove command overrides.
22563
fcabc0f8
UD
225642011-05-13 Ulrich Drepper <drepper@gmail.com>
22565
20030ae6
UD
22566 * libio/tst_putwc.c: Fix error messages.
22567
fcabc0f8
UD
22568 [BZ #12724]
22569 * libio/fileops.c (_IO_new_file_close_it): Always flush when
22570 currently writing and seek to current position when not.
22571 * libio/Makefile (tests): Add bug-fclose1.
22572 * libio/bug-fclose1.c: New file.
22573
320a5dc0
PB
225742011-05-12 Ulrich Drepper <drepper@gmail.com>
22575
22576 [BZ #12511]
22577 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
22578 don't set DF_1_NODELETE here.
22579 (do_lookup_x): When entering new entry test for copy relocation
22580 and if necessary set DF_1_NODELETE flag.
22581 * elf/tst-unique4.cc: New file.
22582 * elf/tst-unique4.h: New file.
22583 * elf/tst-unique4lib.cc: New file.
22584 * elf/Makefile: Add rules to build and run tst-unique4.
22585 Patch by Piotr Bury <pbury@goahead.com>.
22586
22836f52
UD
225872011-05-11 Ulrich Drepper <drepper@gmail.com>
22588
f574184a
UD
22589 [BZ #12052]
22590 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
22591
e1fb097f
UD
22592 [BZ #12625]
22593 * misc/mntent_r.c (addmntent): Flush the stream after the output
22594
22836f52
UD
22595 [BZ #12393]
22596 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
22597 (is_trusted_path_normalize): Skip initial colon. Append slash
22598 to empty buffer. Duplicate is_trusted_path code but allow
22599 constructed patch to be prefix.
22600 (is_dst): Allow $ORIGIN followed by /.
22601 (_dl_dst_substitute): Correct clearing of check_for_trusted.
22602 Correct testing of result of is_trusted_path_normalize
22603 (decompose_rpath): Fix warning.
22604
7b3b0b2a
UD
226052011-05-10 Ulrich Drepper <drepper@gmail.com>
22606
22607 [BZ #11257]
22608 * grp/initgroups.c (internal_getgrouplist): When we found the service
22609 list through the initgroups entry in nsswitch.conf do not always
22610 continue on a successful lookup. Don't always use the
eac80ce2 22611 __nss_group_database value if it is set.
7b3b0b2a
UD
22612 * nss/nsswitch.conf (initgroups): Change action for successful db
22613 lookup to continue for compatibility.
22614
2a81eaa5
UD
226152011-05-09 Ulrich Drepper <drepper@gmail.com>
22616
be97a69e
UD
22617 [BZ #11532]
22618 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
22619 and CP774 modules.
22620 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
22621 and CP774 modules.
22622 * iconvdata/tst-tables.sh: Likewise.
22623 * iconvdata/cp770.c: New file.
22624 * iconvdata/cp771.c: New file.
22625 * iconvdata/cp772.c: New file.
22626 * iconvdata/cp773.c: New file.
22627 * iconvdata/cp774.c: New file.
22628 * iconvdata/testdata/CP770: New file.
22629 * iconvdata/testdata/CP770..UTF8: New file.
22630 * iconvdata/testdata/CP771: New file.
22631 * iconvdata/testdata/CP771..UTF8: New file.
22632 * iconvdata/testdata/CP772: New file.
22633 * iconvdata/testdata/CP772..UTF8: New file.
22634 * iconvdata/testdata/CP773: New file.
22635 * iconvdata/testdata/CP773..UTF8: New file.
22636 * iconvdata/testdata/CP774: New file.
22637 * iconvdata/testdata/CP774..UTF8: New file.
22638
22639 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
22640 END CHARMAP line.
22641 * iconvdata/gen-8bit-gap.sh: Likewise.
22642 * iconvdata/gen-8bit.sh: Likewise.
22643
c1e9e399
UD
22644 * locale/iso-639.def: Add ary entry.
22645
24c55fb3 22646 [BZ #11258]
96b4b1b0
UD
22647 * locale/C-translit.h.in: Add U20A1 transliteration.
22648
bdc2f971
KB
22649 [BZ #12178]
22650 * locale/iso-639.def: Add wae entry.
22651 Patch by Kevin Bortis <bortis@translate-wae.ch>.
22652
2952b117
UD
22653 [BZ #12545]
22654 * locale/programs/localedef.c (construct_output_path): Use ssize_t
22655 for n.
22656
2a81eaa5
UD
22657 [BZ #12711]
22658 * locale/C-translit.h.in: Add entry for U20B9.
22659 Patch by pravin.d.s@gmail.com.
22660
28377d1b
UD
226612011-05-08 Ulrich Drepper <drepper@gmail.com>
22662
7fb90fb8
UD
22663 [BZ #12713]
22664 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
22665 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
22666 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
22667 in rtld. Use *stat64.
7fb90fb8 22668 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 22669 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 22670 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
22671 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
22672 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
22673 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
22674 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
22675 __fstatat64 macros.
7fb90fb8
UD
22676 * include/dirent.h: Add libc_hidden_proto for rewinddir.
22677 * dirent/rewinddir.c: Add libc_hidden_def.
22678 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 22679 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 22680
28377d1b
UD
22681 * include/dirent.h (__alloc_dir): Add flags parameter.
22682 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
22683 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
22684 __alloc_dir.
22685 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
22686 from fdopendir if O_CLOEXEC is already set.
22687
66bdbaa4
AM
226882011-03-15 Alan Modra <amodra@gmail.com>
22689
22690 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
22691 l_tls_firstbyte_offset non-zero. Save padding offset in
22692 l_tls_firstbyte_offset for later use.
22693 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
22694 freeing static tls block.
22695
95721191
JN
226962011-03-05 Jonathan Nieder <jrnieder@gmail.com>
22697
22698 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
22699 where #ifdef was intended. The intent is to prevent ARG_MAX from
22700 being defined by the kernel headers.
22701
f87dfb1f
UD
227022011-05-07 Ulrich Drepper <drepper@gmail.com>
22703
22704 [BZ #12734]
22705 * resolv/resolv.h: Define RES_NOTLDQUERY.
22706 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
22707 no-tld-query and set RES_NOTLDQUERY.
22708 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
22709 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
22710 modern BIND to search name as TLD unless forbidden.
22711
47c3cd7a
UD
227122011-05-07 Petr Baudis <pasky@suse.cz>
22713 Ulrich Drepper <drepper@gmail.com>
22714
22715 [BZ #12393]
22716 * elf/dl-load.c (fillin_rpath): Move trusted path check...
22717 (is_trusted_path): ...to here.
c1e9ea35 22718 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 22719 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 22720 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 22721
8a35c912
PP
227222011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
22723
22724 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
22725 __BEGIN/__END_DECLS.
22726
acd41f47
UD
227272011-05-06 Ulrich Drepper <drepper@gmail.com>
22728
22729 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
22730 NSS_STATUS_NOTFOUND if no record was found.
22731
597df647
AS
227322011-05-05 Andreas Schwab <schwab@redhat.com>
22733
22734 * sunrpc/Makefile (headers): Add rpc/netdb.h.
22735 (headers-not-in-tirpc): Remove rpc/netdb.h
22736 * resolv/netdb.h: Revert last change.
22737
b9af1301
PP
227382011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
22739
22740 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
22741 circular dependency between libgcc.a and libc.a.
22742
4e34d5f5
AS
227432011-05-05 Andreas Schwab <schwab@redhat.com>
22744
22745 * resolv/netdb.h: Don't include <rpc/netdb.h>.
22746 * nis/Makefile: Don't install rpcsvc/*.
22747 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
22748 instead of <rpc/types.h>.
22749 (MAXHOSTNAMELEN): Define.
22750
00ee369c
AS
227512011-05-03 Andreas Schwab <schwab@redhat.com>
22752
22753 * elf/ldconfig.c (add_dir): Don't crash on empty path.
22754
0b592a30
MB
227552011-04-28 Maciej Babinski <mbabinski@google.com>
22756
22757 [BZ #12714]
22758 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
22759 gethostbyname4_r when IPv6 results are possible.
22760
6e04cbbe
UD
227612011-05-02 Ulrich Drepper <drepper@gmail.com>
22762
22763 [BZ #12723]
22764 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
22765 _PC_PIPE_BUF handling.
22766
e4ecafe0
BH
227672011-04-30 Bruno Haible <bruno@clisp.org>
22768
22769 [BZ #12717]
22770 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
22771 * resolv/netdb.h (getnameinfo): Change type of flags parameter
22772 to 'int'.
22773 * inet/getnameinfo.c (getnameinfo): Likewise.
22774
125ee683
UD
227752011-04-29 Ulrich Drepper <drepper@gmail.com>
22776
22777 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
22778 to groups setting in database lookup.
22779 * nss/nsswitch.conf: Add initgroups entry.
22780
b722481a
EB
227812011-04-22 Ulrich Drepper <drepper@gmail.com>
22782
22783 [BZ #12685]
22784 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
22785 mode string.
22786 Patch by Eric Blake <eblake@redhat.com>.
22787
4df46dbd
L
227882011-04-20 H.J. Lu <hongjiu.lu@intel.com>
22789
22790 * sunrpc/Makefile (need-export-routines): Add svc_run.
22791 (routines): Remove svc_run.
22792 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
22793 * sunrpc/clnt_perr.c (clnt_perrno): Export.
22794 * sunrpc/svc_run.c (svc_run): Likewise.
22795 * sunrpc/svc_udp.c (svcudp_create): Likewise.
22796
e84142d2
UD
227972011-04-21 Ulrich Drepper <drepper@gmail.com>
22798
22799 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
22800 problem in reallocation in last patch.
22801
877175d8
UD
228022011-04-20 Ulrich Drepper <drepper@gmail.com>
22803
22804 * sunrpc/Makefile: Move inclusion of Rules.
22805
ab8eed78
UD
228062011-04-19 Ulrich Drepper <drepper@gmail.com>
22807
22808 * nss/nss_files/files-initgroups.c: New file.
22809 * nss/Makefile (libnss_files-routines): Add files-initgroups.
22810 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
22811 _nss_files_initgroups_dyn.
22812
e3d8f584
RS
228132011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
22814
22815 * elf/elf.h (R_ARM_IRELATIVE): Define.
22816
af190f45
UD
228172011-04-19 Ulrich Drepper <drepper@gmail.com>
22818
22819 * po/ru.po: Update from translation team.
22820
53cf59ef
UD
228212011-04-17 Ulrich Drepper <drepper@gmail.com>
22822
22823 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
22824 dependencies.
22825
4c559bcd
MF
228262011-02-06 Mike Frysinger <vapier@gentoo.org>
22827
22828 [BZ #12653]
22829 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
22830 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
22831 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
22832 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
22833 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
22834
4420675c
AS
228352011-03-28 Andreas Schwab <schwab@linux-m68k.org>
22836
22837 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
22838 differing bytes.
22839 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
22840 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
22841 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
22842
75ea32ab
UD
228432011-04-17 Ulrich Drepper <drepper@gmail.com>
22844
22845 [BZ #12420]
22846 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
22847 storing it.
22848 * stdlib/bug-getcontext.c: New file.
22849 * stdlib/Makefile: Add rules to build and run bug-getcontext.
22850
27390476
AK
228512011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22852
22853 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
22854 instructions into .machine "z9-109".
22855 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
22856 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
22857
10442705
AK
228582011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22859
22860 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
22861 between environment variables and auxiliary vector.
22862
7b57bfe5
UD
228632011-04-16 Ulrich Drepper <drepper@gmail.com>
22864
22865 * Makefile: Add rules to build linkobj/libc.so.
22866 * include/libc-symbols.h: Define libc_hidden_nolink.
22867 * include/rpc/auth.h: Mark functions which are to be hidden.
22868 * include/rpc/auth_des.h: Likewise.
22869 * include/rpc/auth_unix.h: Likewise.
22870 * include/rpc/clnt.h: Likewise.
22871 * include/rpc/des_crypt.h: Likewise.
22872 * include/rpc/key_prot.h: Likewise.
22873 * include/rpc/pmap_clnt.h: Likewise.
22874 * include/rpc/pmap_prot.h: Likewise.
22875 * include/rpc/pmap_rmt.h: Likewise.
22876 * include/rpc/rpc_msg.h: Likewise.
22877 * include/rpc/svc.h: Likewise.
22878 * include/rpc/svc_auth.h: Likewise.
22879 * include/rpc/xdr.h: Likewise.
22880 * nis/Makefile: Link all DSOs against linkobj/libc.so.
22881 * nss/Makefile: Likewise.
22882 * sunrpc/Makefile: Don't install headers. Build library with normal
22883 entry points. Don't build rpcinfo. Link RPC tests appropriately.
22884 * sunrpc/auth_des.c: Hide exported symbols by default, export some
22885 for the compat linking library. Remove use of INTDEF/INTUSE.
22886 * sunrpc/auth_none.c: Likewise.
22887 * sunrpc/auth_unix.c: Likewise.
22888 * sunrpc/authdes_prot.c: Likewise.
22889 * sunrpc/authuxprot.c: Likewise.
22890 * sunrpc/clnt_gen.c: Likewise.
22891 * sunrpc/clnt_perr.c: Likewise.
22892 * sunrpc/clnt_raw.c: Likewise.
22893 * sunrpc/clnt_simp.c: Likewise.
22894 * sunrpc/clnt_tcp.c: Likewise.
22895 * sunrpc/clnt_udp.c: Likewise.
22896 * sunrpc/clnt_unix.c: Likewise.
22897 * sunrpc/des_crypt.c: Likewise.
22898 * sunrpc/des_soft.c: Likewise.
22899 * sunrpc/get_myaddr.c: Likewise.
22900 * sunrpc/key_call.c: Likewise.
22901 * sunrpc/key_prot.c: Likewise.
22902 * sunrpc/netname.c: Likewise.
22903 * sunrpc/pm_getmaps.c: Likewise.
22904 * sunrpc/pm_getport.c: Likewise.
22905 * sunrpc/pmap_clnt.c: Likewise.
22906 * sunrpc/pmap_prot.c: Likewise.
22907 * sunrpc/pmap_prot2.c: Likewise.
22908 * sunrpc/pmap_rmt.c: Likewise.
22909 * sunrpc/publickey.c: Likewise.
22910 * sunrpc/rpc_cmsg.c: Likewise.
22911 * sunrpc/rpc_common.c: Likewise.
22912 * sunrpc/rpc_dtable.c: Likewise.
22913 * sunrpc/rpc_prot.c: Likewise.
22914 * sunrpc/rpc_thread.c: Likewise.
22915 * sunrpc/rtime.c: Likewise.
22916 * sunrpc/svc.c: Likewise.
22917 * sunrpc/svc_auth.c: Likewise.
22918 * sunrpc/svc_authux.c: Likewise.
22919 * sunrpc/svc_raw.c: Likewise.
22920 * sunrpc/svc_run.c: Likewise.
22921 * sunrpc/svc_simple.c: Likewise.
22922 * sunrpc/svc_tcp.c: Likewise.
22923 * sunrpc/svc_udp.c: Likewise.
22924 * sunrpc/svc_unix.c: Likewise.
22925 * sunrpc/svcauth_des.c: Likewise.
22926 * sunrpc/xcrypt.c: Likewise.
22927 * sunrpc/xdr.c: Likewise.
22928 * sunrpc/xdr_array.c: Likewise.
22929 * sunrpc/xdr_float.c: Likewise.
22930 * sunrpc/xdr_intXX_t.c: Likewise.
22931 * sunrpc/xdr_mem.c: Likewise.
22932 * sunrpc/xdr_rec.c: Likewise.
22933 * sunrpc/xdr_ref.c: Likewise.
22934 * sunrpc/xdr_sizeof.c: Likewise.
22935 * sunrpc/xdr_stdio.c: Likewise.
22936
e6c61494
UD
229372011-04-10 Ulrich Drepper <drepper@gmail.com>
22938
22939 [BZ #12650]
22940 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
22941 * sysdeps/ia64/dl-tls.h: Likewise.
22942 * sysdeps/powerpc/dl-tls.h: Likewise.
22943 * sysdeps/s390/dl-tls.h: Likewise.
22944 * sysdeps/sh/dl-tls.h: Likewise.
22945 * sysdeps/sparc/dl-tls.h: Likewise.
22946 * sysdeps/x86_64/dl-tls.h: Likewise.
22947 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
22948
34fe483e
AS
229492011-03-14 Andreas Schwab <schwab@redhat.com>
22950
22951 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
22952 rpath element also skip the following colon.
22953 (expand_dynamic_string_token): Add is_path parameter and pass
22954 down to DL_DST_REQUIRED and _dl_dst_substitute.
22955 (decompose_rpath): Call expand_dynamic_string_token with
22956 non-zero is_path. Ignore empty rpaths.
22957 (_dl_map_object_from_fd): Call expand_dynamic_string_token
22958 with zero is_path.
22959
f12a32e6
AS
229602011-04-08 Andreas Schwab <schwab@linux-m68k.org>
22961
22962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
22963 Make cancelable.
22964
38a7d692
UD
229652011-04-09 Ulrich Drepper <drepper@gmail.com>
22966
22967 [BZ #12655]
22968 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
22969 Patch by Filipe David Manana <fdmanana@apache.org>.
22970
e451d22b
AS
229712011-04-07 Andreas Schwab <schwab@redhat.com>
22972
22973 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
22974 Maintain aligned stack.
22975 (CHECK_RSP): Remove unused macro.
22976
dedc7c7b
UD
229772011-04-03 Ulrich Drepper <drepper@gmail.com>
22978
22979 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
22980 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
22981
94521213
UD
229822011-04-02 Ulrich Drepper <drepper@gmail.com>
22983
22984 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
22985
8cb700c0 22986 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 22987
0354e355
L
229882011-03-26 H.J. Lu <hongjiu.lu@intel.com>
22989
22990 [BZ #12518]
22991 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
22992 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
22993 * sysdeps/x86_64/memmove.c: New file.
22994 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
22995 (memcpy): Renamed to ...
22996 (__new_memcpy): This.
22997 (memcpy): Provide GLIBC_2_14 memcpy.
22998 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
22999 (memcpy): Provide GLIBC_2_2_5 memcpy.
23000
8593482f
UD
230012011-04-01 Ulrich Drepper <drepper@gmail.com>
23002
23003 [BZ #12631]
23004 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
23005
81a5726b
AS
230062011-03-30 Andreas Schwab <schwab@redhat.com>
23007
23008 * misc/syncfs.c: New file.
23009 * misc/Makefile (routines): Add syncfs.
23010 * posix/unistd.h: Declare syncfs.
23011 * sysdeps/unix/syscalls.list: Add syncfs.
23012
00e5419f
AS
230132011-04-01 Andreas Schwab <schwab@redhat.com>
23014
23015 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
23016 open_by_handle_at.
23017 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
23018 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
23019 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
23020 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
23021 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
23022 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
23023 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
23024
748876bf
UD
230252011-04-01 Ulrich Drepper <drepper@gmail.com>
23026
658e451d
UD
23027 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
23028 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
23029 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
23030 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
23031 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
23032 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
23033 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
23034
748876bf
UD
23035 * io/Makefile: Compile fallocate.c, fallocate64.c, and
23036 sync_file_range.c with -fexceptions.
23037 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
23038 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
23039 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
23040 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
23041 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
23042 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
23043 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
23044 sync_file_range as cancellation point
23045 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
23046 now a wrapper around __call_sync_file_range with cancellation handling.
23047 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
23048 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
23049 function name to __call_sync_file_range.
23050 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
23051 Add call_sync_file_range.
748876bf 23052
6e63d5e1
AS
230532011-04-01 Andreas Schwab <schwab@redhat.com>
23054
23055 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 23056 bits/timex.h.
6e63d5e1 23057
46998f74
UD
230582011-04-01 Ulrich Drepper <drepper@gmail.com>
23059
4c1423ed
UD
23060 * iconv/iconv.h: Fix typo in comment.
23061 * io/fcntl.h: Likewise.
23062 * libio/stdio.h: Likewise.
23063 * posix/spawn.h: Likewise.
23064 * posix/unistd.h: Likewise.
23065 * stdlib/stdlib.h: Likewise.
23066 * time/time.h: Likewise.
23067 * wcsmbs/wchar.h: Likewise.
23068
158648c0
UD
23069 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
23070 open_by_handle): Add.
23071 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
23072 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
23073 Augment a few comments.
23074 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
23075 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
23076 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
23077 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
23078 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
23079 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
23080 open_by_handle.
23081
46998f74
UD
23082 * io/fcntl.h (AT_EMPTY_PATH): Define.
23083
83fe108b
UD
230842011-03-30 Ulrich Drepper <drepper@gmail.com>
23085
23086 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
23087 * sysdeps/unix/sysv/linux/bits/time.h: New file.
23088 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
23089 to...
23090 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
23091 * Versions.def: Add GLIBC_2.14.
23092 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
23093 Export.
83fe108b 23094
bb242059
UD
230952011-03-22 Ulrich Drepper <drepper@gmail.com>
23096
23097 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
23098 round counter.
23099 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
23100
c97a1282
L
231012011-03-20 H.J. Lu <hongjiu.lu@intel.com>
23102
23103 [BZ #12597]
23104 * string/test-strncmp.c (do_page_test): New function.
23105 (check2): Likewise.
23106 (test_main): Call check2.
23107 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
23108
2a115601
UD
231092011-03-20 Ulrich Drepper <drepper@gmail.com>
23110
23111 [BZ #12587]
23112 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
23113 Handle cache information in CPU leaf 4.
23114 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
23115
8126d904
UD
231162011-03-18 Ulrich Drepper <drepper@gmail.com>
23117
042c49c6 23118 [BZ #12583]
8126d904
UD
23119 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
23120 character representation.
23121 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
23122
ccfe366e
RA
231232011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
23124
23125 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
23126 END(__isnan) to END(__isnanf) to match function entry point/label
23127 EALIGN(__isnanf,...).
23128
c6e13027
JJ
231292011-03-10 Jakub Jelinek <jakub@redhat.com>
23130
23131 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
23132
33f85a3f
UD
231332011-03-10 Ulrich Drepper <drepper@gmail.com>
23134
028478fa
UD
23135 [BZ #12510]
23136 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
23137 copy from the symbol referenced in the relocation to initialize the
23138 used variable.
23139 Patch by Piotr Bury <pbury@goahead.com>.
23140 * elf/Makefile: Add rules to build and tst-unique3.
23141 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
23142 * elf/tst-unique3.cc: New file.
23143 * elf/tst-unique3.h: New file.
23144 * elf/tst-unique3lib.cc: New file.
23145 * elf/tst-unique3lib2.cc: New file.
23146
33f85a3f
UD
23147 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
23148
03592fc7
MF
231492011-03-10 Mike Frysinger <vapier@gentoo.org>
23150
23151 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
23152 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
23153 to _start.
03592fc7 23154
6a5ee102
UD
231552011-03-06 Ulrich Drepper <drepper@gmail.com>
23156
23157 * elf/dl-load.c (_dl_map_object): If we are looking for the first
23158 to-be-loaded object along a path to loader is ld.so.
23159
7e4ba49c
HJ
231602011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
23161 Ulrich Drepper <drepper@gmail.com>
23162
23163 * sysdeps/x86_64/memset.S: After aligning destination, code
23164 branches to different locations depending on the value of
23165 misalignment, when multiarch is enabled. Fix this.
23166
231672011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
23168
23169 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
23170 Set _x86_64_preferred_memory_instruction for AMD processsors.
23171 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23172 Set bit_Prefer_SSE_for_memop for AMD processors.
23173
13a804de
UD
231742011-03-04 Ulrich Drepper <drepper@gmail.com>
23175
23176 * libio/fmemopen.c (fmemopen): Optimize a bit.
23177
9d25c392
AS
231782011-03-03 Andreas Schwab <schwab@redhat.com>
23179
23180 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
23181
a5543c6a
RM
231822011-03-03 Roland McGrath <roland@redhat.com>
23183
23184 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
23185
012d35f7
DM
231862011-02-28 Aurelien Jarno <aurelien@aurel32.net>
23187
7e4ba49c 23188 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
23189 __bzero_ultra1 instead of __memset_ultra1.
23190
4bff6e01
AS
231912011-02-23 Andreas Schwab <schwab@redhat.com>
23192 Ulrich Drepper <drepper@gmail.com>
23193
23194 [BZ #12509]
23195 * include/link.h (struct link_map): Add l_orig_initfini.
23196 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
23197 returning unsuccessfully.
23198 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
23199 close of a file loaded at startup, restore the original l_initfini
23200 list.
23201 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
23202 list, store the pointer.
23203 * elf/Makefile ($(objpfx)noload-mem): New rule.
23204 (noload-ENV): Define.
23205 (tests): Add $(objpfx)noload-mem.
23206 * elf/noload.c: Include <memcheck.h>.
23207 (main): Call mtrace. Close all opened handles.
23208
f2092faf
AS
232092011-02-17 Andreas Schwab <schwab@redhat.com>
23210
23211 [BZ #12454]
23212 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
23213 dependencies are missing.
23214
6c8a2e88
ST
232152011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
23216
f2092faf 23217 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
23218 Hurd needs munmap.
23219 * sysdeps/mach/hurd/ifreq.h: New file.
23220
84a42118
PB
232212011-01-27 Petr Baudis <pasky@suse.cz>
23222 Ulrich Drepper <drepper@gmail.com>
23223
071f805e 23224 [BZ 12445]#
84a42118
PB
23225 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
23226 to extend_alloca().
23227 * stdio-common/bug23.c: New file.
23228 * stdio-common/Makefile (tests): Add bug23.
23229
e23fe25b
AS
232302010-09-28 Andreas Schwab <schwab@redhat.com>
23231 Ulrich Drepper <drepper@gmail.com>
23232
23233 [BZ #12489]
23234 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
23235 before performing relro protection. At old place add assertion
23236 to make sure nothing changed.
23237
d3f02e10
NS
232382011-02-17 Nathan Sidwell <nathan@codesourcery.com>
23239 Glauber de Oliveira Costa <glommer@gmail.com>
23240
23241 * elf/elf.h: Add new ARM TLS relocs.
23242
d55fd7a5
RA
232432011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
23244
23245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
23246 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
23247 cast from r3.
23248 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
23249 'tests' variable.
23250 * sysdeps/wordsize-64/tst-writev.c: New file.
23251
2206397e
RA
232522011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
23253
23254 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
23255 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
23256 insns in _dl_start to prevent a TOC reference before relocs are
23257 resolved.
23258
e9433893
UD
232592011-02-15 Ulrich Drepper <drepper@gmail.com>
23260
23261 [BZ #12469]
23262 * Makeconfig: Remove RANLIB definition.
23263 * Makerules: Don't use RANLIB.
23264 * aclocal.m4: Remove ranlib test.
23265 * configure.in: No need to check for ranlib.
23266 * elf/rtld-Rules: Don't use RANLIB.
23267
f75286c6
ST
232682011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
23269
8e31c82d
ST
23270 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
23271 protection macro.
23272 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
23273 inclusion protection macro.
23274
f75286c6
ST
23275 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
23276 SIGRTMIN and SIGRTMAX and print information in that case only when
23277 SIGRTMIN is defined.
23278
c1d0e639
JJ
232792011-02-11 Jakub Jelinek <jakub@redhat.com>
23280
23281 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
23282 arginfo fn returning -1.
23283
23284 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
23285 and thousands string is zero terminated.
23286
edf9294e
AS
232872011-02-03 Andreas Schwab <schwab@redhat.com>
23288
23289 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
23290 sysdeps/unix/sysv/linux/bits/socket.h.
23291
2b7e92df
ST
232922011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
23293
edf9294e
AS
23294 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
23295 (__CPU_COUNT): Remove old macros.
23296 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
23297 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
23298 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
23299 (__sched_cpualloc, __sched_cpufree): Add declarations.
23300
a4c7ea7b
UD
233012011-02-05 Ulrich Drepper <drepper@gmail.com>
23302
23303 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
23304 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
23305 * nscd/aicache.c (addhstaiX): Return timeout of added value.
23306 (readdhstai): Return value of addhstaiX call.
23307 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
23308 (addgrbyX): Return value returned by cache_addgr.
23309 (readdgrbyname): Return value returned by addgrbyX.
23310 (readdgrbygid): Likewise.
23311 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
23312 (addpwbyX): Return value returned by cache_addpw.
23313 (readdpwbyname): Return value returned by addhstbyX.
23314 (readdpwbyuid): Likewise.
23315 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
23316 (addservbyX): Return value returned by cache_addserv.
23317 (readdservbyname): Return value returned by addservbyX:
23318 (readdservbyport): Likewise.
23319 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
23320 (addhstbyX): Return value returned by cache_addhst.
23321 (readdhstbyname): Return value returned by addhstbyX.
23322 (readdhstbyaddr): Likewise.
23323 (readdhstbynamev6): Likewise.
23324 (readdhstbyaddrv6): Likewise.
23325 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
23326 (readdinitgroups): Return value returned by addinitgroupsX.
23327 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
23328 (prune_cache): Keep track of timeout value of re-added entries.
23329 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
23330 * nscd/nscd.h: Adjust prototypes of readd* functions.
23331
a0bf67cc
RM
233322011-02-04 Roland McGrath <roland@redhat.com>
23333
23334 * nis/nis_server.c (nis_servstate): Use the right name for 0.
23335 (nis_stats): Likewise.
23336 * nis/nis_modify.c (nis_modify): Likewise.
23337 * nis/nis_remove.c (nis_remove): Likewise.
23338 * nis/nis_add.c (nis_add): Likewise.
23339
23340 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
23341
23342 * posix/fnmatch_loop.c: Add some consts.
23343
23344 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
23345
435b95eb
L
233462011-02-02 H.J. Lu <hongjiu.lu@intel.com>
23347
23348 [BZ #12460]
23349 * config.make.in (config-cflags-novzeroupper): Define.
23350 * configure.in: Substitute libc_cv_cc_novzeroupper.
23351 * elf/Makefile (AVX-CFLAGS): Define.
23352 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
23353 (CFLAGS-tst-auditmod4a.c): Likewise.
23354 (CFLAGS-tst-auditmod4b.c): Likewise.
23355 (CFLAGS-tst-auditmod6b.c): Likewise.
23356 (CFLAGS-tst-auditmod6c.c): Likewise.
23357 (CFLAGS-tst-auditmod7b.c): Likewise.
23358 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
23359
8517b15e
UD
233602011-02-02 Ulrich Drepper <drepper@gmail.com>
23361
23362 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
23363 function to the callback.
23364 Patch partly by Jiri Olsa <jolsa@redhat.com>.
23365
10a656fe
AS
233662011-02-02 Andreas Schwab <schwab@redhat.com>
23367
23368 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
23369 of errno.
23370
968dad0a
UD
233712011-01-19 Ulrich Drepper <drepper@gmail.com>
23372
9f94d2ea 23373 [BZ #11724]
968dad0a
UD
23374 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
23375 of constructors.
23376 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
23377 of destructors.
23378 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
23379
23380 [BZ #11724]
23381 * elf/Makefile: Add rules to build and run new test.
23382 * elf/tst-initorder.c: New file.
23383 * elf/tst-initorder.exp: New file.
23384 * elf/tst-initordera1.c: New file.
23385 * elf/tst-initordera2.c: New file.
23386 * elf/tst-initordera3.c: New file.
23387 * elf/tst-initordera4.c: New file.
23388 * elf/tst-initorderb1.c: New file.
23389 * elf/tst-initorderb2.c: New file.
23390 * elf/tst-order-a1.c: New file.
23391 * elf/tst-order-a2.c: New file.
23392 * elf/tst-order-a3.c: New file.
23393 * elf/tst-order-a4.c: New file.
23394 * elf/tst-order-b1.c: New file.
23395 * elf/tst-order-b2.c: New file.
23396 * elf/tst-order-main.c: New file.
23397 New test case by George Gensure <werkt0@gmail.com>.
23398
86e92359
UD
233992010-10-01 Andreas Schwab <schwab@redhat.com>
23400
23401 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
23402 decoding ACE if AI_CANONIDN.
23403
5d5732b0
UD
234042011-01-18 Ulrich Drepper <drepper@gmail.com>
23405
23406 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
23407
a77e8cbc
UD
234082011-01-17 Ulrich Drepper <drepper@gmail.com>
23409
6392473f
UD
23410 * version.h (RELEASE): Bump for 2.13 release.
23411 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
23412
620a0529
UD
23413 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
23414
18ba70a5
UD
23415 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
23416 MADV_NOHUGEPAGE.
32465c3e
UD
23417 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
23418 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
23419 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
23420 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
23421 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
23422 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
23423
c0dafcf1
UD
23424 * posix/getconf.c: Update copyright year.
23425 * catgets/gencat.c: Likewise.
23426 * csu/version.c: Likewise.
23427 * debug/catchsegv.sh: Likewise.
23428 * debug/xtrace.sh: Likewise.
23429 * elf/ldconfig.c: Likewise.
23430 * elf/ldd.bash.in: Likewise.
23431 * elf/sprof.c (print_version): Likewise.
23432 * iconv/iconv_prog.c: Likewise.
23433 * iconv/iconvconfig.c: Likewise.
23434 * locale/programs/locale.c: Likewise.
23435 * locale/programs/localedef.c: Likewise.
23436 * malloc/memusage.sh: Likewise.
23437 * malloc/mtrace.pl: Likewise.
23438 * nscd/nscd.c (print_version): Likewise.
23439 * nss/getent.c: Likewise.
23440
a77e8cbc
UD
23441 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
23442 PF_CAIF, and PF_ALG.
23443 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
23444
77e8bddf
AS
234452011-01-16 Andreas Schwab <schwab@linux-m68k.org>
23446
1f20b93a
AS
23447 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
23448 (modules-names): Use them.
23449 (ifunc-test-modules, ifunc-pie-tests): Define.
23450 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
23451 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
23452 (test-extras): Likewise.
23453 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
23454 $(compile-command.c).
23455 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
23456 (all-built-dso): Define.
23457 (check-textrel.out, check-execstack.out): Depend on it.
23458
77e8bddf
AS
23459 * configure.in: Don't override --enable-multi-arch.
23460
bc425b33
UD
234612011-01-15 Ulrich Drepper <drepper@gmail.com>
23462
23463 [BZ #6812]
23464 * nscd/hstcache.c (tryagain): Define.
23465 (cache_addhst): Return tryagain not notfound for temporary errors.
23466 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
23467 failed.
23468
794c3ad3
UD
234692011-01-14 Ulrich Drepper <drepper@gmail.com>
23470
70181fdd
UD
23471 [BZ #10563]
23472 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
23473 to make the syscall.
23474 * sysdeps/unix/sysv/linux/setgroups.c: New file.
23475
794c3ad3
UD
23476 [BZ #12378]
23477 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
23478 and fall back to matching as normal character if the string ends before
23479 the matching ']' is found. This is what POSIX requires.
23480 * posix/testfnm.c: Adjust test result.
23481 * posix/globtest.sh: Adjust test result. Add new test.
23482 * posix/tst-fnmatch.input: Likewise.
23483 * posix/tst-fnmatch2.c: Add new test.
23484
68dc9497
AS
234852010-12-28 Andreas Schwab <schwab@linux-m68k.org>
23486
23487 * elf/Makefile (check-execstack): Revert last change. Depend on
23488 check-execstack.h.
23489 (check-execstack.h): New target.
23490 (generated): Add check-execstack.h.
23491 * elf/check-execstack.c: Include "check-execstack.h".
23492 (main): Revert last change.
23493 (handle_file): Return zero if GNU_STACK is absent and
23494 DEFAULT_STACK_PERMS doesn't include PF_X.
23495
451f001b
UD
234962011-01-13 Ulrich Drepper <drepper@gmail.com>
23497
cfa28e56
UD
23498 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
23499 in child fails because the descriptor is already closed.
8cf8ce17
UD
23500 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
23501 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
23502 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 23503
1086d70d
UD
23504 [BZ #12397]
23505 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
23506 syscall.
23507
451f001b
UD
23508 [BZ #10484]
23509 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
23510 temporary buffer used to handle multi lookups locally.
a85b5cb4 23511 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 23512
08769175
UD
235132011-01-12 Ulrich Drepper <drepper@gmail.com>
23514
23515 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
23516 loader is ld.so.
23517
5e49c52e
UD
235182011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
23519
23520 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
23521 alignment for SSE2.
23522
60522a5f
UD
235232011-01-12 Ulrich Drepper <drepper@gmail.com>
23524
23525 [BZ #12394]
23526 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
23527 characters. When rounding increased number of integer digits recompute
23528 number of groups.
23529 * stdio-common/tst-grouping.c: New file.
23530 * stdio-common/Makefile: Add rules to build and run tst-grouping.
23531
f257bbd7
UD
235322011-01-09 Ulrich Drepper <drepper@gmail.com>
23533
23534 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
23535 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
23536
23537 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
23538 void.
23539 * bits/select.h: Likewise.
23540
fa9c15cb
UD
235412011-01-08 Ulrich Drepper <drepper@gmail.com>
23542
23543 * po/ja.po: Update from translation team.
23544
16c2895f
DM
235452011-01-04 David S. Miller <davem@sunset.davemloft.net>
23546
23547 [BZ #11155]
23548 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
23549 implementation just like for lxstat, fxstatat, et al.
23550
2543fef2
JM
235512010-12-27 Jim Meyering <meyering@redhat.com>
23552
23553 [BZ #12348]
23554 * posix/regexec.c (build_trtable): Return failure indication upon
23555 calloc failure. Otherwise, re_search_internal could infloop on OOM.
23556
98727dbe
UD
235572010-12-25 Ulrich Drepper <drepper@gmail.com>
23558
5bd6dc5c
UD
23559 [BZ #12201]
23560 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
23561 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
23562 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
23563 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
23564
97983464
UD
23565 [BZ #12207]
23566 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
23567
98727dbe
UD
23568 [BZ #12204]
23569 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
23570 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
23571
4a531bb0
L
235722010-12-15 H.J. Lu <hongjiu.lu@intel.com>
23573
23574 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
23575 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
23576 script has SORT_BY_INIT_PRIORITY.
23577 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
23578 NO_CTORS_DTORS_SECTIONS is defined.
23579 * elf/soinit.c: Likewise.
23580 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
23581 NO_CTORS_DTORS_SECTIONS is defined.
23582 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
23583 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
23584 * sysdeps/sh/init-first.c: Likewise.
23585 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
23586
07eb4b71
UD
235872010-12-24 Ulrich Drepper <drepper@gmail.com>
23588
23589 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
23590 always use the slow path.
23591
30950a5f
RA
235922010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
23593
23594 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
23595 similar rule which adds the sysdep directories to the header search in
23596 order to pick up the correct platform stackinfo.h.
23597 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
23598 perform test if it is, otherwise return successfully without testing.
23599 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
23600 DEFAULT_STACK_PERMS define in stackinfo.h.
23601 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
23602 defined in stackinfo.h.
23603 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
23604 DEFAULT_STACK_PERMS defined in stackinfo.h.
23605 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
23606 * sysdeps/ia64/stackinfo.h: Likewise.
23607 * sysdeps/s390/stackinfo.h: Likewise.
23608 * sysdeps/sh/stackinfo.h: Likewise.
23609 * sysdeps/sparc/stackinfo.h: Likewise.
23610 * sysdeps/x86_64/stackinfo.h: Likewise.
23611 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
23612 PF_X for powerpc64. Retain PF_X for powerpc32.
23613
db753e2c
UD
236142010-12-19 Ulrich Drepper <drepper@gmail.com>
23615
14b697f7
UD
23616 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
23617 accurately.
db753e2c
UD
23618 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
23619 GETDENTS_64BIT_ALIGNED.
23620
28300719
UD
236212010-12-14 Ulrich Drepper <dreper@gmail.com>
23622
14b697f7 23623 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 23624
4f197237
AS
236252010-12-10 Andreas Schwab <schwab@redhat.com>
23626
dbb0472f
AS
23627 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
23628 _GNU_SOURCE.
23629
4f197237
AS
23630 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
23631 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
23632 Remove __restrict.
23633 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
23634 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
23635
fb88ac72
UD
236362010-12-09 Ulrich Drepper <drepper@gmail.com>
23637
23638 [BZ #11655]
23639 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
23640 are initialized.
23641
42acbb92
JJ
236422010-12-09 Jakub Jelinek <jakub@redhat.com>
23643
23644 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
23645
c038d98d
UD
236462010-12-03 Ulrich Drepper <drepper@gmail.com>
23647
23648 * po/it.po: Update from translation team.
23649
3a4a2499
L
236502010-12-01 H.J. Lu <hongjiu.lu@intel.com>
23651
23652 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
23653 unused codes.
23654
1e24cf6e
UD
236552010-11-30 Ulrich Drepper <drepper@gmail.com>
23656
23657 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
23658
a7690819
AS
236592010-11-24 Andreas Schwab <schwab@redhat.com>
23660
23661 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
23662 specially.
23663 (gaih_getanswer_slice): Likewise.
23664
3bf8d1b1
JJ
236652010-10-20 Jakub Jelinek <jakub@redhat.com>
23666
23667 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
23668
6db52fbb
PB
236692010-05-31 Petr Baudis <pasky@suse.cz>
23670
23671 [BZ #11149]
23672 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
23673 silently even in the chroot mode.
23674
eaca7569
UD
236752010-11-22 Ulrich Drepper <drepper@gmail.com>
23676
23677 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
23678 last patch a bit. Pretty printing
23679
3056dcdb
UD
236802010-05-31 Petr Baudis <pasky@suse.cz>
23681
23682 [BZ #10085]
23683 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
23684 initialization of skip_initgroups_dyn.
23685
cf7c9078
UD
236862010-11-19 Ulrich Drepper <drepper@gmail.com>
23687
23688 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
23689 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
23690
a1fb5e3e
UD
236912010-11-16 Ulrich Drepper <drepper@gmail.com>
23692
23693 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
23694
3540d66b
AS
236952010-11-11 Andreas Schwab <schwab@redhat.com>
23696
23697 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
23698 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
23699 (tst-fnmatch-ENV): Set MALLOC_TRACE.
23700 ($(objpfx)tst-fnmatch-mem): New rule.
23701 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
23702 * posix/tst-fnmatch.c (main): Call mtrace.
23703
13b69574
L
237042010-11-11 H.J. Lu <hongjiu.lu@intel.com>
23705
23706 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23707 Support Intel processor model 6 and model 0x2c.
23708
da93d214
LM
237092010-11-10 Luis Machado <luisgpm@br.ibm.com>
23710
23711 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
23712 signed comparison.
23713
8ca52c6e
L
237142010-11-09 H.J. Lu <hongjiu.lu@intel.com>
23715
23716 [BZ #12205]
23717 * string/test-strncasecmp.c (check_result): New function.
23718 (do_one_test): Use it.
23719 (check1): New function.
23720 (test_main): Use it.
23721 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
23722 Support strcasecmp and strncasecmp.
23723
69da074d
UD
237242010-11-08 Ulrich Drepper <drepper@gmail.com>
23725
23726 [BZ #12194]
23727 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
23728 * sysdeps/x86_64/bits/byteswap.h: Likewise.
23729
ff02d528
L
237302010-11-07 H.J. Lu <hongjiu.lu@intel.com>
23731
23732 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
23733 IFUNC support.
23734 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23735 memset-x86-64.
23736 * sysdeps/x86_64/multiarch/bzero.S: New file.
23737 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
23738 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
23739 * sysdeps/x86_64/multiarch/memset.S: New file.
23740 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
23741 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23742 Set bit_Prefer_SSE_for_memop for Intel processors.
23743 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
23744 Define.
23745 (index_Prefer_SSE_for_memop): Define.
23746 (HAS_PREFER_SSE_FOR_MEMOP): Define.
23747
344d0b54
LM
237482010-11-04 Luis Machado <luisgpm@br.ibm.com>
23749
23750 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
23751 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
23752
c0dde15b
UD
237532010-11-03 H.J. Lu <hongjiu.lu@intel.com>
23754
23755 [BZ #12191]
23756 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
23757 (__x86_64_raw_data_cache_size_half): Likewise.
23758 (__x86_64_raw_shared_cache_size): Likewise.
23759 (__x86_64_raw_shared_cache_size_half): Likewise.
23760
23761 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
23762 (__x86_64_raw_data_cache_size_half): Likewise.
23763 (__x86_64_raw_shared_cache_size): Likewise.
23764 (__x86_64_raw_shared_cache_size_half): Likewise.
23765 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
23766 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
23767 and __x86_64_raw_shared_cache_size_half. Round
23768 __x86_64_data_cache_size_half, __x86_64_data_cache_size
23769 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
23770 to multiple of 256 bytes.
23771
0e516e0e
MS
237722010-11-03 Ulrich Drepper <drepper@gmail.com>
23773
23774 [BZ #12167]
23775 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
23776 of inacessible symlinks. Verify result of symlink before returning it.
23777 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
23778 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
23779
0e012e87
ER
237802010-10-28 Erich Ritz <erichritz@gmail.com>
23781
23782 * math/math.h (isinf): Fix typo in comment.
23783
de0ff7bc
UD
237842010-11-01 Ulrich Drepper <drepper@gmail.com>
23785
23786 * po/da.po: Update from translation team.
23787
fa41c84d
UD
237882010-10-26 Ulrich Drepper <drepper@gmail.com>
23789
23790 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
23791 is added to the list.
23792
f0967738
AK
237932010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23794 Ulrich Drepper <drepper@gmail.com>
23795
23796 * elf/dl-object.c (_dl_new_object): Don't append the new object to
23797 the global list here. Move code to...
23798 (_dl_add_to_namespace_list): ...here. New function.
23799 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
23800 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
23801 * elf/dl-load.c (lose): Don't remove the element from the list.
23802 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
23803 (_dl_map_object): Likewise.
23804
238052010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
23806
23807 [BZ #12159]
23808 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
23809 into all bytes of SSE register.
23810 Patch by Richard Li <richardpku@gmail.com>.
23811
f0967738 238122010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
23813
23814 [BZ #12140]
23815 * malloc/malloc.c (_int_free): Fill correct number of bytes when
23816 perturbing.
23817
d0b9e94f
MB
238182010-10-20 Michael B. Brutman <brutman@us.ibm.com>
23819
23820 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
23821 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
23822 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
23823 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
23824 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
23825 submachine.
23826 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
23827
8e9f92e9
AS
238282010-10-22 Andreas Schwab <schwab@redhat.com>
23829
23830 * include/dlfcn.h (__RTLD_SECURE): Define.
23831 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
23832 mode & __RTLD_SECURE instead.
23833 (open_path): Rename preloaded parameter to secure.
23834 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
23835 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
23836 * elf/dl-deps.c (openaux): Likewise.
23837 * elf/rtld.c (struct map_args): Remove is_preloaded.
23838 (map_doit): Don't use it.
23839 (dl_main): Likewise.
23840 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
23841 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
23842
bc96fbda
AS
238432010-09-09 Andreas Schwab <schwab@redhat.com>
23844
23845 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
23846 (sysd-rules-targets): Remove duplicates.
23847 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
23848 rtld-%.$o dependency.
23849
22cd1c9b
AS
238502010-10-18 Andreas Schwab <schwab@redhat.com>
23851
23852 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
23853 _dl_map_object do it.
23854
18edac48
UD
238552010-10-19 Ulrich Drepper <drepper@gmail.com>
23856
23857 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
23858 fast fma builtins, define the macros in the C99 standard.
23859 (FP_FAST_FMAF): Likewise.
23860 (FP_FAST_FMAL): Likewise.
23861 * sysdeps/x86_64/bits/mathdef.h: Likewise.
23862
23863 * bits/mathdef.h: Update copyright year.
23864 * sysdeps/powerpc/bits/mathdef.h: Likewise.
23865
d2050124
MM
238662010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
23867
23868 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
23869 builtins, define the macros in the C99 standard.
23870 (FP_FAST_FMAF): Likewise.
23871 (FP_FAST_FMAL): Likewise.
23872 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
23873 multiply/add.
23874 (FP_FAST_FMAF): Likewise.
23875
475facd1
JJ
238762010-10-15 Jakub Jelinek <jakub@redhat.com>
23877
23878 [BZ #3268]
23879 * math/libm-test.inc (fma_test): Some new testcases.
23880 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
23881 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
23882 y and infinite z. Do multiplication by C already in long double.
23883 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
23884 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
23885 y and infinite z. Do bitwise or of inexact bit into u.d.
23886 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
23887 * sysdeps/i386/fpu/s_fmaf.S: Removed.
23888 * sysdeps/i386/fpu/s_fma.S: Removed.
23889 * sysdeps/i386/fpu/s_fmal.S: Removed.
23890
7c08a05c
JJ
238912010-10-16 Jakub Jelinek <jakub@redhat.com>
23892
23893 [BZ #3268]
23894 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
23895 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
23896 computation is not scheduled after fetestexcept. Fix value
23897 of minimum denormal long double.
23898
f3f7372d
JJ
238992010-10-14 Jakub Jelinek <jakub@redhat.com>
23900
23901 [BZ #3268]
23902 * math/libm-test.inc (fma_test): Add some more tests.
23903 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
23904 correctly.
23905
14d43591
AS
239062010-10-15 Andreas Schwab <schwab@redhat.com>
23907
23908 * scripts/data/localplt-s390-linux-gnu.data: New file.
23909 * scripts/data/localplt-s390x-linux-gnu.data: New file.
23910
5e908464
JJ
239112010-10-13 Jakub Jelinek <jakub@redhat.com>
23912
23913 [BZ #3268]
23914 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
23915 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
23916 instead of dbl-64.
23917 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
23918 inlines.
23919 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
23920 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
23921 if one of x and y is very large and the other is subnormal.
23922 * sysdeps/s390/fpu/s_fmaf.c: New file.
23923 * sysdeps/s390/fpu/s_fma.c: New file.
23924 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
23925 * sysdeps/powerpc/fpu/s_fma.S: New file.
23926 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
23927 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
23928 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
23929
239302010-10-12 Jakub Jelinek <jakub@redhat.com>
23931
23932 [BZ #3268]
23933 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
23934 fma tests.
23935 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
23936 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
23937 * sysdeps/i386/i686/multiarch/s_fma.c: Include
23938 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
23939 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
23940 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
23941 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
23942
b833d51f
UD
239432010-10-12 Ulrich Drepper <drepper@redhat.com>
23944
23945 [BZ #12078]
23946 * posix/regcomp.c (parse_branch): One more memory leak plugged.
23947 * posix/bug-regex31.input: Add test case.
23948
1751705d
UD
239492010-10-11 Ulrich Drepper <drepper@gmail.com>
23950
e9b9cbf5
UD
23951 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
23952 * posix/bug-regex31.input: New file.
23953
23954 [BZ #12078]
23955 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
23956 (parse_sub_exp): Fix last change, use postorder.
23957
ef06edbe
UD
23958 * posix/bug-regex31.c: New file.
23959 * posix/Makefile: Add rules to build and run bug-regex31.
23960
a129c80d
UD
23961 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
23962
23963 [BZ #12078]
23964 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
23965
b76b818e
UD
23966 [BZ #12108]
23967 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
23968 to have entries in sys_siglist.
23969
1751705d
UD
23970 [BZ #12093]
23971 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
23972 be NULL.
23973
9ff8d36f
JJ
239742010-10-07 Jakub Jelinek <jakub@redhat.com>
23975
23976 [BZ #3268]
23977 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
23978 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
23979 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
23980 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
23981 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
23982 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
23983 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
23984 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
23985 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
23986 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
23987 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
23988 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
23989 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
23990 * math/ftestexcept.c (fetestexcept): Likewise.
23991 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
23992 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
23993 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
23994 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
23995 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
23996 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
23997 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
23998
af325969
UD
239992010-10-11 Ulrich Drepper <drepper@gmail.com>
24000
c579b202 24001 [BZ #12107]
af325969
UD
24002 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
24003 newline.
24004
67a67b95
UD
240052010-10-06 Ulrich Drepper <drepper@gmail.com>
24006
24007 * string/bug-strstr1.c: New file.
24008 * string/Makefile: Add rules to build and run bug-strstr1.
24009
5fb308bc
EB
240102010-10-05 Eric Blake <eblake@redhat.com>
24011
24012 [BZ #12092]
24013 * string/str-two-way.h (two_way_long_needle): Always clear memory
24014 when skipping input due to the shift table.
24015
45db99c7
UD
240162010-10-03 Ulrich Drepper <drepper@gmail.com>
24017
3b111893
UD
24018 [BZ #12005]
24019 * malloc/mcheck.c: Handle large requests.
24020
45db99c7
UD
24021 [BZ #12077]
24022 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
24023 for strncmp and strncasecmp.
24024 * string/stratcliff.c: Add tests for strcmp and strncmp.
24025 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
24026
cf7a1eb8
NI
240272010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
24028
24029 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
24030 __set_fpscr.
24031
6484ba5e
AJ
240322010-09-30 Andreas Jaeger <aj@suse.de>
24033
24034 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
24035 (CGROUP_SUPER_MAGIC): Define.
24036 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
24037 Handle btrfs and cgroup file systems.
24038 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
24039 Likewise.
24040
91c42559
LM
240412010-09-27 Luis Machado <luisgpm@br.ibm.com>
24042
24043 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
24044 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
24045
87a97932
AK
240462010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24047
24048 [BZ #12067]
24049 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
24050 trying to locate the ELF header.
24051
c21cc9bc
AS
240522010-09-27 Andreas Schwab <schwab@redhat.com>
24053
24054 [BZ #11611]
24055 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
24056 Mask out sign-bit copies when constructing f_fsid.
24057
315970f6
PB
240582010-09-24 Petr Baudis <pasky@suse.cz>
24059
24060 * debug/stack_chk_fail_local.c: Add missing licence exception.
24061 * debug/warning-nop.c: Likewise.
24062
1ac7a2c7
JM
240632010-09-15 Joseph Myers <joseph@codesourcery.com>
24064
24065 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
24066 implementing getdents64 using getdents syscall, set d_type if
24067 __ASSUME_GETDENTS32_D_TYPE.
24068
56801c50
AS
240692010-09-16 Andreas Schwab <schwab@redhat.com>
24070
24071 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
24072 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
24073
dda51327
UD
240742010-09-21 Ulrich Drepper <drepper@redhat.com>
24075
24076 [BZ #12037]
24077 * posix/unistd.h: Undo change of feature selection for ftruncate from
24078 2010-01-11.
24079
8ffcee4a
UD
240802010-09-20 Ulrich Drepper <drepper@redhat.com>
24081
a545ecd9 24082 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
24083 detection.
24084
e24f0a8b
AS
240852010-09-20 Andreas Schwab <schwab@redhat.com>
24086
24087 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
24088 fanotify_mark.
24089 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
24090
7291c56f
AS
240912010-09-14 Andreas Schwab <schwab@redhat.com>
24092
24093 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
24094 variables after CHECK_SP call.
24095 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
24096
bc5fb037
AS
240972010-09-13 Andreas Schwab <schwab@redhat.com>
24098 Ulrich Drepper <drepper@redhat.com>
24099
24100 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
24101 re-relocationg ld.so.
24102 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
24103 _dl_init_paths call.
24104 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
24105 here anymore.
24106
e66e7419
UD
241072010-09-14 Ulrich Drepper <drepper@redhat.com>
24108
24109 * resolv/res_init.c (__res_vinit): Count the default server we added.
24110
c044aa75
CLT
241112010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
24112 Ulrich Drepper <drepper@redhat.com>
24113
24114 [BZ #11968]
24115 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
24116 (____longjmp_chk): Use %ebx for saving value across system call.
24117 Add unwind info.
24118
32cf4069
AS
241192010-09-06 Andreas Schwab <schwab@redhat.com>
24120
24121 * manual/Makefile: Don't mix pattern rules with normal rules.
24122
817328ee
AS
241232010-09-05 Andreas Schwab <schwab@linux-m68k.org>
24124
24125 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
24126 operation.
24127 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
24128 * libio/iofopncook.c (_IO_cookie_init): Likewise.
24129 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
24130 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
24131 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
24132 Likewise.
24133
29fddf61
UD
241342010-09-04 Ulrich Drepper <drepper@redhat.com>
24135
24136 [BZ #11979]
24137 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
24138 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
24139
0959ffc9
UD
241402010-09-02 Ulrich Drepper <drepper@redhat.com>
24141
24142 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
24143 * sysdeps/x86_64/addmul_1.S: Likewise.
24144 * sysdeps/x86_64/lshift.S: Likewise.
24145 * sysdeps/x86_64/mul_1.S: Likewise.
24146 * sysdeps/x86_64/rshift.S: Likewise.
24147 * sysdeps/x86_64/sub_n.S: Likewise.
24148 * sysdeps/x86_64/submul_1.S: Likewise.
24149
ece29840
ST
241502010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
24151
0959ffc9
UD
24152 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
24153 Define __sched_param instead of SCHED_* and sched_param when
ece29840 24154 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 24155 * bits/sched.h [__need_schedparam]
ece29840 24156 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
24157 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
24158 (__defined_schedparam): Define to 1.
ece29840
ST
24159 (__sched_param): New structure, identical to sched_param.
24160 (__need_schedparam): Undefine.
24161
e53a31fe
MF
241622010-08-31 Mike Frysinger <vapier@gentoo.org>
24163
fdc0c10d
MF
24164 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
24165 (epoll_create1): Declare.
24166
e53a31fe
MF
24167 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
24168
a726d796
AS
241692010-08-31 Andreas Schwab <schwab@redhat.com>
24170
24171 [BZ #7066]
24172 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
24173 shifting retval into place.
24174
2f3e3dc7
UD
241752010-09-01 Ulrich Drepper <drepper@redhat.com>
24176
f2933da9
UD
24177 * nis/rpcsvc/nis.h: Update copyright notice.
24178 * nis/rpcsvc/nis.x: Likewise.
24179 * nis/rpcsvc/nis_callback.h: Likewise.
24180 * nis/rpcsvc/nis_callback.x: Likewise.
24181 * nis/rpcsvc/nis_object.x: Likewise.
24182 * nis/rpcsvc/nis_tags.h: Likewise.
24183 * nis/rpcsvc/yp.h: Likewise.
24184 * nis/rpcsvc/yp.x: Likewise.
24185 * nis/rpcsvc/ypupd.h: Likewise.
24186 * nis/yp_xdr.c: Likewise.
24187 * nis/ypupdate_xdr.c: Likewise.
24188
2f3e3dc7
UD
24189 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
24190 mainly the body of pmap_getport. Add parameters to specify timeouts.
24191 (pmap_getport): Use __libc_rpc_getport.
24192 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
24193 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
24194 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
24195
f3dcc2f9
AS
241962010-08-31 Andreas Schwab <schwab@linux-m68k.org>
24197
24198 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
24199 fanotify_mark.
24200
6d34eb5b
RM
242012010-08-27 Roland McGrath <roland@redhat.com>
24202
24203 * sysdeps/i386/i686/multiarch/Makefile
24204 (CFLAGS-varshift.c): New variable.
24205
9ea3de11
UD
242062010-08-27 Ulrich Drepper <drepper@redhat.com>
24207
c96d23fc
UD
24208 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
24209 * sysdeps/i386/i686/multiarch/varshift.c: New file.
24210
9ea3de11
UD
24211 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
24212
24213 * sysdeps/x86_64/strlen.S: Minimal code improvement.
24214
623aac7f
L
242152010-08-26 H.J. Lu <hongjiu.lu@intel.com>
24216
24217 * sysdeps/x86_64/strlen.S: Unroll the loop.
24218 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24219 strlen-sse2 strlen-sse2-bsf.
24220 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
24221 __strlen_no_bsf if bit_Slow_BSF is set.
24222 (__strlen_sse42): Removed.
24223 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
24224 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
24225
8b2b7715
RM
242262010-08-25 Roland McGrath <roland@redhat.com>
24227
24228 * sysdeps/x86_64/multiarch/varshift.S: File removed.
24229 * sysdeps/x86_64/multiarch/varshift.c: New file.
24230 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
24231 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
24232 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
24233 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
24234
e73015f2
L
242352010-08-25 H.J. Lu <hongjiu.lu@intel.com>
24236
24237 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24238 strlen-sse2 strlen-sse2-bsf.
24239 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
24240 __strlen_sse2_bsf if bit_Slow_BSF is unset.
24241 (__strlen_sse2): Removed.
24242 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
24243 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
24244 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
24245 bit_Slow_BSF for Atom.
24246 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
24247 (index_Slow_BSF): Define.
24248 (HAS_SLOW_BSF): Define.
24249
df24a73e
UD
242502010-08-25 Ulrich Drepper <drepper@redhat.com>
24251
24252 [BZ #10851]
24253 * resolv/res_init.c (__res_vinit): When no server address at all
24254 is given default to loopback.
24255
f2ac4868
RM
242562010-08-24 Roland McGrath <roland@redhat.com>
24257
09055553
RM
24258 * configure.in: Remove config-name.h generation.
24259 * configure: Regenerated.
24260 * config-name.in: File removed.
24261 * scripts/config-uname.sh: New file.
24262 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
24263 ($(objdir)config-name.h): New target.
24264
f2ac4868
RM
24265 * sunrpc/rpc_parse.h: Avoid nested comment.
24266
73f27d5e
RH
242672010-08-24 Richard Henderson <rth@redhat.com>
24268 Ulrich Drepper <drepper@redhat.com>
24269 H.J. Lu <hongjiu.lu@intel.com>
24270
24271 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
24272 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
24273 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
24274 Replace _mm_srli_si128 with __m128i_shift_right. Replace
24275 _mm_alignr_epi8 with _mm_loadu_si128.
24276 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
24277 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
24278 (__m128i_shift_right): Removed.
24279 * sysdeps/i386/i686/multiarch/varshift.h: New file.
24280 * sysdeps/i386/i686/multiarch/varshift.S: New file.
24281 * sysdeps/x86_64/multiarch/varshift.h: New file.
24282 * sysdeps/x86_64/multiarch/varshift.S: New file.
24283
84b9230c
MF
242842010-08-21 Mike Frysinger <vapier@gentoo.org>
24285
24286 * configure.in: Move assembler checks to before sysdep dir checking.
24287
9bbd0ddc
PB
242882010-08-20 Petr Baudis <pasky@suse.cz>
24289
24290 * LICENSES: Sync the sunrpc license.
24291
9da4bb31
UD
242922010-08-19 Ulrich Drepper <drepper@redhat.com>
24293
a7ab6ec8
UD
24294 * sunrpc/auth_des.c: Update copyright notice once again.
24295 * sunrpc/auth_none.c: Likewise.
24296 * sunrpc/auth_unix.c: Likewise.
24297 * sunrpc/authdes_prot.c: Likewise.
24298 * sunrpc/authuxprot.c: Likewise.
24299 * sunrpc/bindrsvprt.c: Likewise.
24300 * sunrpc/clnt_gen.c: Likewise.
24301 * sunrpc/clnt_perr.c: Likewise.
24302 * sunrpc/clnt_raw.c: Likewise.
24303 * sunrpc/clnt_simp.c: Likewise.
24304 * sunrpc/clnt_tcp.c: Likewise.
24305 * sunrpc/clnt_udp.c: Likewise.
24306 * sunrpc/clnt_unix.c: Likewise.
24307 * sunrpc/des_crypt.c: Likewise.
24308 * sunrpc/des_soft.c: Likewise.
24309 * sunrpc/get_myaddr.c: Likewise.
24310 * sunrpc/getrpcport.c: Likewise.
24311 * sunrpc/key_call.c: Likewise.
24312 * sunrpc/key_prot.c: Likewise.
24313 * sunrpc/openchild.c: Likewise.
24314 * sunrpc/pm_getmaps.c: Likewise.
24315 * sunrpc/pm_getport.c: Likewise.
24316 * sunrpc/pmap_clnt.c: Likewise.
24317 * sunrpc/pmap_prot.c: Likewise.
24318 * sunrpc/pmap_prot2.c: Likewise.
24319 * sunrpc/pmap_rmt.c: Likewise.
24320 * sunrpc/rpc/auth.h: Likewise.
24321 * sunrpc/rpc/auth_unix.h: Likewise.
24322 * sunrpc/rpc/clnt.h: Likewise.
24323 * sunrpc/rpc/des_crypt.h: Likewise.
24324 * sunrpc/rpc/key_prot.h: Likewise.
24325 * sunrpc/rpc/netdb.h: Likewise.
24326 * sunrpc/rpc/pmap_clnt.h: Likewise.
24327 * sunrpc/rpc/pmap_prot.h: Likewise.
24328 * sunrpc/rpc/pmap_rmt.h: Likewise.
24329 * sunrpc/rpc/rpc.h: Likewise.
24330 * sunrpc/rpc/rpc_des.h: Likewise.
24331 * sunrpc/rpc/rpc_msg.h: Likewise.
24332 * sunrpc/rpc/svc.h: Likewise.
24333 * sunrpc/rpc/svc_auth.h: Likewise.
24334 * sunrpc/rpc/types.h: Likewise.
24335 * sunrpc/rpc/xdr.h: Likewise.
24336 * sunrpc/rpc_clntout.c: Likewise.
24337 * sunrpc/rpc_cmsg.c: Likewise.
24338 * sunrpc/rpc_common.c: Likewise.
24339 * sunrpc/rpc_cout.c: Likewise.
24340 * sunrpc/rpc_dtable.c: Likewise.
24341 * sunrpc/rpc_hout.c: Likewise.
24342 * sunrpc/rpc_main.c: Likewise.
24343 * sunrpc/rpc_parse.c: Likewise.
24344 * sunrpc/rpc_parse.h: Likewise.
24345 * sunrpc/rpc_prot.c: Likewise.
24346 * sunrpc/rpc_sample.c: Likewise.
24347 * sunrpc/rpc_scan.c: Likewise.
24348 * sunrpc/rpc_scan.h: Likewise.
24349 * sunrpc/rpc_svcout.c: Likewise.
24350 * sunrpc/rpc_tblout.c: Likewise.
24351 * sunrpc/rpc_util.c: Likewise.
24352 * sunrpc/rpc_util.h: Likewise.
24353 * sunrpc/rpcinfo.c: Likewise.
24354 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
24355 * sunrpc/rpcsvc/key_prot.x: Likewise.
24356 * sunrpc/rpcsvc/klm_prot.x: Likewise.
24357 * sunrpc/rpcsvc/mount.x: Likewise.
24358 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
24359 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
24360 * sunrpc/rpcsvc/rex.x: Likewise.
24361 * sunrpc/rpcsvc/rstat.x: Likewise.
24362 * sunrpc/rpcsvc/rusers.x: Likewise.
24363 * sunrpc/rpcsvc/sm_inter.x: Likewise.
24364 * sunrpc/rpcsvc/spray.x: Likewise.
24365 * sunrpc/rpcsvc/yppasswd.x: Likewise.
24366 * sunrpc/rtime.c: Likewise.
24367 * sunrpc/svc.c: Likewise.
24368 * sunrpc/svc_auth.c: Likewise.
24369 * sunrpc/svc_authux.c: Likewise.
24370 * sunrpc/svc_raw.c: Likewise.
24371 * sunrpc/svc_run.c: Likewise.
24372 * sunrpc/svc_simple.c: Likewise.
24373 * sunrpc/svc_tcp.c: Likewise.
24374 * sunrpc/svc_udp.c: Likewise.
24375 * sunrpc/svc_unix.c: Likewise.
24376 * sunrpc/svcauth_des.c: Likewise.
24377 * sunrpc/xcrypt.c: Likewise.
24378 * sunrpc/xdr.c: Likewise.
24379 * sunrpc/xdr_array.c: Likewise.
24380 * sunrpc/xdr_float.c: Likewise.
24381 * sunrpc/xdr_mem.c: Likewise.
24382 * sunrpc/xdr_rec.c: Likewise.
24383 * sunrpc/xdr_ref.c: Likewise.
24384 * sunrpc/xdr_sizeof.c: Likewise.
24385 * sunrpc/xdr_stdio.c: Likewise.
24386
9da4bb31
UD
24387 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
24388 handling.
24389
bdaa77bc
AS
243902010-08-19 Andreas Schwab <schwab@redhat.com>
24391
24392 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
24393
fe2f79db
LM
243942010-08-19 Luis Machado <luisgpm@br.ibm.com>
24395
24396 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
24397 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
24398 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
24399 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
24400 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
24401 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
24402 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
24403 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
24404 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
24405 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
24406 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
24407 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
24408 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
24409 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
24410
b9b42ee0
AB
244112010-07-26 Anton Blanchard <anton@samba.org>
24412
24413 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
24414 * malloc/arena.c (heap_trim): Likewise.
24415
1c06ba31
UD
244162010-08-16 Ulrich Drepper <drepper@redhat.com>
24417
24418 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
24419 here. Not...
24420 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
24421 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
24422
f8392f40
L
244232010-08-12 H.J. Lu <hongjiu.lu@intel.com>
24424
24425 * sysdeps/i386/elf/Makefile: New file.
24426
3162f12e
AS
244272010-08-14 Andreas Schwab <schwab@linux-m68k.org>
24428
24429 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
24430 from fanotify_init.
24431 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
24432 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
24433
28c90b2c
UD
244342010-08-15 Ulrich Drepper <drepper@redhat.com>
24435
24436 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
24437 of strncasecmp_l.
1feccb6c 24438 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 24439
ca6bb004
UD
244402010-08-14 Ulrich Drepper <drepper@redhat.com>
24441
e9f82e0d
UD
24442 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
24443 strncase_l-nonascii.
24444 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
24445 Add strncase_l-ssse3.
24446 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
24447 * sysdeps/x86_64/strcmp.S: Likewise.
24448 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
24449 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
24450 * sysdeps/x86_64/strncase.S: New file.
24451 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
24452 * sysdeps/x86_64/strncase_l.S: New file.
24453 * string/Makefile (strop-tests): Add strncasecmp.
24454 * string/test-strncasecmp.c: New file.
24455
24456 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
24457 warning.
24458
ca6bb004
UD
24459 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
24460 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
24461
052fa7b3
AS
244622010-08-14 Andreas Schwab <schwab@linux-m68k.org>
24463
24464 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
24465
962dba78
UD
244662010-08-12 Ulrich Drepper <drepper@redhat.com>
24467
24468 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
24469 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
24470 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
24471
bebff237
AM
244722010-05-01 Alan Modra <amodra@gmail.com>
24473
24474 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
24475 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
24476 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
24477 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
24478 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
24479 tidying. Don't tail-call __sigjmp_save for static lib.
24480 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
24481 save location.
24482 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
24483 (CALL_MCOUNT): Add eh info, and nop after bl.
24484 (TAIL_CALL_SYSCALL_ERROR): New macro.
24485 (PSEUDO_RET): Use it.
24486 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
24487 Correct save location of integer regs and cr.
24488 (_dl_profile_resolve): Correct cr save location. Delete nops
24489 after bl when SHARED. Reduce cfi size a little by better
24490 placement of cfi directives.
24491 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
24492 make a stack frame. Instead use parm save area as a temp.
24493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
24494 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
24495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
24496 Don't make a stack frame for parent, use parm save area.
24497 Increase child stack frame to 112 bytes. Don't save unused reg,
24498 and adjust reg usage. Set up cfi on error recovery and
24499 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
24500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
24501 (__makecontext): Add dummy nop after jump to exit.
24502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
24503 Use correct parm save area and cr save, reduce stack frame.
24504 Correct cfi for possible PSEUDO_RET frame setup.
24505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
24506 Branch to local label emitted by PSEUDO_RET rather than
24507 __syscall_error.
24508
02637374
AS
245092010-08-12 Andreas Schwab <schwab@redhat.com>
24510
24511 [BZ #11904]
24512 * locale/programs/locale.c (print_assignment): New function.
24513 (show_locale_vars): Use it.
24514
c3e2f19b
UD
245152010-08-11 Ulrich Drepper <drepper@redhat.com>
24516
3cdaa6ad
UD
24517 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
24518 field.
24519 (struct statfs64): Likewise.
24520 (_STATFS_F_FLAGS): Define.
24521 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
24522 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
24523 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
24524 (ST_VALID): Define locally.
24525 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
24526 __statvfs_getflags, use the provided value.
24527 * sysdeps/unix/sysv/linux/kernel-features.h: Define
24528 __ASSUME_STATFS_F_FLAGS.
24529
754f7da3
UD
24530 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
24531
10b3bedc
UD
24532 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
24533 Add sys/fanotify.h.
24534 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
24535 fanotify_mask for GLIBC_2.13.
24536 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
24537 fanotify_init and fanotify_mark.
24538 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
24539 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
24540
c08fb0d7
UD
24541 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
24542 Add prlimit.
24543 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
24544 prlimit64 for GLIBC_2.13.
24545 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
24546 prlimit64.
24547 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
24548 syscall.
24549 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
24550 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
24551 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
24552 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
24553 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
24554 add prlimit alias.
24555 * sysdeps/unix/sysv/linux/prlimit.c: New file.
24556
15bac72b
UD
24557 [BZ #11903]
24558 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
24559 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
24560
c3e2f19b
UD
24561 * nss/Makefile: Add rules to build and run tst-nss-test1.
24562 * shlib-versions: Add entry for libnss_test1.
24563 * nss/nss_test1.c: New file.
24564 * nss/tst-nss-test1.c: New file.
24565
24566 * nss/nsswitch.c (__nss_database_custom): Define new variable.
24567 (__nss_configure_lookup): Set appropriate entry in
24568 __nss_configure_lookup to true.
24569 * nss/nsswitch.h: Define enum with indeces of databases in
24570 databases and __nss_database_custom arrays. Declare
24571 __nss_database_custom.
24572 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
24573 to avoid using nscd when custom rules are installed.
24574 * nss/getXXbyYY_r.c: Likewise.
24575 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
24576
24577 * nss/nss_files/files-parse.c: Whitespace fixes.
24578
f15ce4d8
UD
245792010-08-09 Ulrich Drepper <drepper@redhat.com>
24580
24581 [BZ #11883]
24582 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
24583 * posix/fnmatch_loop.c: Likewise.
24584
d22e4cc9
AK
245852010-07-17 Andi Kleen <ak@linux.intel.com>
24586
24587 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
24588 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
24589 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
24590 * Versions.def [GLIBC_2.13]: Add.
24591
805bc17d
UD
245922010-08-06 Ulrich Drepper <drepper@redhat.com>
24593
24594 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
24595 Also fail if tpwd after pwuid call is NULL.
24596
5a42321d
ST
245972010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
24598
24599 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
24600 when converting to ms.
24601
fd3ebeda
ST
246022010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
24603
24604 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
24605 EOPNOTSUPP errors with ENOTTY.
24606 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
24607 EOPNOTSUPP errors with ENOTTY.
24608
73507d3a
UD
246092010-07-31 Ulrich Drepper <drepper@redhat.com>
24610
24611 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
24612 Add strcasecmp_l-ssse3.
24613 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
24614 strcasecmp.
24615 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
24616 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
24617 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
24618
fe36dd02
UD
246192010-07-30 Ulrich Drepper <drepper@redhat.com>
24620
66f6765a
UD
24621 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
24622
42e08a54
UD
24623 * string/Makefile (strop-tests): Add strcasecmp.
24624 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
24625 strcasecmp_l-nonascii.
24626 (gen-as-const-headers): Add locale-defines.sym.
24627 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
24628 * sysdeps/x86_64/strcasecmp.S: New file.
24629 * sysdeps/x86_64/strcasecmp_l.S: New file.
24630 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
24631 * sysdeps/x86_64/locale-defines.sym: New file.
24632 * string/test-strcasecmp.c: New file.
24633
fe36dd02
UD
24634 * string/test-strcasestr.c: Test both ends of the range of characters.
24635 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
24636
48cbc0d6
RM
246372010-07-29 Roland McGrath <roland@redhat.com>
24638
76e6d6bc 24639 [BZ #11856]
48cbc0d6
RM
24640 * manual/locale.texi (Yes-or-No Questions): Fix example code.
24641
880113d9
UD
246422010-07-27 Ulrich Drepper <drepper@redhat.com>
24643
24644 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
24645 for ld.so.
24646
deb9cabb
AS
246472010-07-27 Andreas Schwab <schwab@redhat.com>
24648
24649 * manual/memory.texi (Malloc Tunable Parameters): Document
24650 M_PERTURB.
24651
1c7570ff
RM
246522010-07-26 Roland McGrath <roland@redhat.com>
24653
24654 [BZ #11840]
24655 * configure.in (-fgnu89-inline check): Set and substitute
24656 gnu89_inline, not libc_cv_gnu89_inline.
24657 * configure: Regenerated.
24658 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
24659
24fb0f88
UD
246602010-07-26 Ulrich Drepper <drepper@redhat.com>
24661
24662 * string/test-strnlen.c: New file.
24663 * string/Makefile (strop-tests): Add strnlen.
24664 * string/tester.c (test_strnlen): Add a few more test cases.
24665 * string/tst-strlen.c: Better error reporting.
24666
24667 * sysdeps/x86_64/strnlen.S: New file.
24668
8e96b93a
UD
246692010-07-24 Ulrich Drepper <drepper@redhat.com>
24670
24671 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
24672 lower-latency instructions.
24673
dbc676d4
UD
246742010-07-23 Ulrich Drepper <drepper@redhat.com>
24675
24676 * string/test-strcasestr.c: New file.
24677 * string/test-strstr.c: New file.
24678 * string/Makefile (strop-tests): Add strstr and strcasestr.
24679 * string/str-two-way.h: Don't undefine MAX.
24680 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
24681
f6a31e0e
AS
246822010-07-21 Andreas Schwab <schwab@redhat.com>
24683
24684 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24685 strcasestr-nonascii.
24686 (CFLAGS-strcasestr-nonascii.c): Define.
24687 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
24688 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
24689 Remove unused attribute.
24690
5dbc3b6c
RM
246912010-07-20 Roland McGrath <roland@redhat.com>
24692
24693 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
24694 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
24695 ld.so.cache was broken. With it, there is no way to disable dsocaps
24696 like LD_HWCAP_MASK can disable hwcaps.
24697
23d101d8
EPM
246982010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
24699
24700 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
24701
cc9f2e47
UD
247022010-07-16 Ulrich Drepper <drepper@redhat.com>
24703
24704 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
24705 call in strcasestr.
24706 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
24707 __strcasestr_sse42_nonascii.
24708 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
24709 strcasestr-nonascii.c.
24710 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
24711
77c1b069
LM
247122010-06-15 Luis Machado <luisgpm@br.ibm.com>
24713
24714 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
24715 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
24716 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
24717 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
24718
440566c3
UD
247192010-07-09 Ulrich Drepper <drepper@redhat.com>
24720
24721 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
24722 fcntl.
24723
5be9d05d
AS
247242010-07-06 Andreas Schwab <schwab@redhat.com>
24725
c30b7ee2 24726 [BZ #11577]
5be9d05d
AS
24727 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
24728 dl_signal_cerror.
24729
8a492a67
UD
247302010-07-06 Ulrich Drepper <drepper@redhat.com>
24731
24732 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
24733 _PC_PIPE_BUF using F_GETPIPE_SZ.
24734
713df3d5
RM
247352010-07-05 Roland McGrath <roland@redhat.com>
24736
24737 * manual/arith.texi (Rounding Functions): Fix rint description
24738 implicit in round description.
24739
702e8f14
UD
247402010-07-02 Ulrich Drepper <drepper@redhat.com>
24741
24742 * elf/Makefile: Fix linking for a few tests to make recent linker
24743 happy.
24744
52ed8be9
AS
247452010-06-30 Andreas Schwab <schwab@redhat.com>
24746
24747 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
24748 $(common-objpfx)libc_nonshared.a.
24749
f47c9a11
LM
247502010-06-21 Luis Machado <luisgpm@br.ibm.com>
24751
24752 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
24753 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
24754 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
24755 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
24756 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
24757 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
24758 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
24759 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
24760 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
24761 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
24762 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
24763 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
24764 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
24765 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
24766 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
24767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
24768 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
24769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
24770 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
24771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
24772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
24773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
24774 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
24775 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
24776 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
24777 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
24778 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
24779 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
24780 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
24781 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
24782 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
24783 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
24784 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
24785 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
24786 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
24787 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
24788 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
24789 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
24790 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
24791 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
24792 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
24793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
24794 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
24795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
24796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
24797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
24798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
24799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
24800
6fb8cbcb
L
248012010-06-25 H.J. Lu <hongjiu.lu@intel.com>
24802
24803 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
24804 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
24805 * string/memmove.c (memmove): Renamed to ...
24806 (MEMMOVE): ...this. Default to memmove.
24807 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
24808 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
24809 (END_CHK): Define.
24810 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24811 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
24812 mempcpy-ssse3-back memmove-ssse3-back.
24813 * sysdeps/x86_64/multiarch/bcopy.S: New file .
24814 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
24815 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
24816 * sysdeps/x86_64/multiarch/memcpy.S: New file.
24817 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
24818 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
24819 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
24820 * sysdeps/x86_64/multiarch/memmove.c: New file.
24821 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
24822 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
24823 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
24824 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
24825 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
24826 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
24827 Define.
24828 (index_Fast_Copy_Backward): Define.
24829 (HAS_ARCH_FEATURE): Define.
24830 (HAS_FAST_REP_STRING): Define.
24831 (HAS_FAST_COPY_BACKWARD): Define.
24832
4e733bac 248332010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
24834
24835 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
24836 Restore proper fallback handling.
24837
63c4ed22
UD
248382010-06-19 Ulrich Drepper <drepper@redhat.com>
24839
ac2b484c
UD
24840 [BZ #11701]
24841 * posix/group_member.c (__group_member): Correct checking loop.
24842
63c4ed22
UD
24843 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
24844 OOM in getpwuid_r correctly. Return error number when the caller
24845 should return, otherwise -1.
24846 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
24847 call returning > 0 value.
24848 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
24849
765ade4b
AS
248502010-06-07 Andreas Schwab <schwab@redhat.com>
24851
24852 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
24853 libc_nonshared.a from targets in modules-names.
24854
80da2e09
KS
248552010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
24856
24857 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
24858 requires it.
24859
158db122
LM
248602010-06-10 Luis Machado <luisgpm@br.ibm.com>
24861
24862 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
24863 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
24864 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
24865 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
24866
caa78cf8
AS
248672010-06-02 Andreas Schwab <schwab@redhat.com>
24868
24869 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
24870
b2ef2c01
UD
248712010-06-14 Ulrich Drepper <drepper@redhat.com>
24872
24873 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
24874 and F_GETPIPE_SZ.
24875 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
24876 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
24877 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
24878 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24879 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
24880 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
24881
fbd643b6
RM
248822010-06-14 Roland McGrath <roland@redhat.com>
24883
24884 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
24885
f32f2869
JJ
248862010-06-07 Jakub Jelinek <jakub@redhat.com>
24887
24888 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
24889 __REDIRECT followed by __THROW.
24890 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
24891 * posix/getopt.h (getopt): Likewise.
24892
2a50c078
EPM
248932010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
24894
24895 * hurd/lookup-at.c (__file_name_lookup_at): Accept
24896 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
24897 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
24898 in AT_FLAGS.
24899 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
24900 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
24901
eb5ad2eb
LM
249022010-05-28 Luis Machado <luisgpm@br.ibm.com>
24903
24904 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
24905
3c88fe1e
L
249062010-05-26 H.J. Lu <hongjiu.lu@intel.com>
24907
24908 [BZ #11640]
24909 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24910 Properly check family and model.
24911
d2f73151
TY
249122010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
24913
24914 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
24915
ebd2e13d
LM
249162010-05-24 Luis Machado <luisgpm@br.ibm.com>
24917
24918 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
24919
b32b8b45
UD
249202010-05-21 Ulrich Drepper <drepper@redhat.com>
24921
24922 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
24923 symbol reference.
24924
9acbe24d
AS
249252010-05-19 Andreas Schwab <schwab@redhat.com>
24926
24927 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
24928 symbol reference.
24929
f0ccf6ea
AS
249302010-05-21 Andreas Schwab <schwab@redhat.com>
24931
3d04ff3a
AS
24932 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
24933 and internal_recvmmsg.
24934 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
24935 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
24936 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
24937 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
24938
f0ccf6ea
AS
24939 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
24940 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
24941 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
24942
5b08ac57
AS
249432010-05-20 Andreas Schwab <schwab@redhat.com>
24944
24945 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
24946
4828935d
LM
249472010-05-17 Luis Machado <luisgpm@br.ibm.com>
24948
24949 POWER7 optimizations.
24950 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
24951 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
24952
373d545e
UD
249532010-05-19 Ulrich Drepper <drepper@redhat.com>
24954
24955 * version.h: Update for 2.13 development version.
24956
21a2b1ae
AS
249572010-05-12 Andrew Stubbs <ams@codesourcery.com>
24958
24959 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
24960 exceptions. Return 0.
24961
3f7dcb2b
RM
249622010-05-07 Roland McGrath <roland@redhat.com>
24963
24964 * elf/ldconfig.c (main): Add a const.
24965
5f24d53a 249662010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 24967
a160f8d8
UD
24968 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
24969 (args_options): Add no-idn option.
24970 (ahosts_keys_int): Add idn_flags to ai_flags.
24971 (parse_option): Handle 'i' option to clear idn_flags.
24972
5f24d53a
UD
24973 * malloc/malloc.c (_int_free): Possible race in the most recently
24974 added check. Only act on the data if no current modification
24975 happened.
265bb1ce
UD
24976
24977See ChangeLog.17 for earlier changes.
This page took 3.68721 seconds and 5 git commands to generate.