]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
ARM: Support loading unmarked objects from cache.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
b39949d2
CD
12013-02-08 Carlos O'Donell <carlos@redhat.com>
2
3 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
4 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
5
b2c9eff4
JM
62013-02-08 Joseph Myers <joseph@codesourcery.com>
7
f3aae3f3
JM
8 [BZ #13550]
9 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
10 (CHECK_1_NULL_OK): Likewise.
11 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
12 (__fxstat): Do not use CHECK_1.
13 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
14 <bp-checks.h>.
15 (___fxstat64): Do not use CHECK_1.
16 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
17 <bp-checks.h>.
18 (__fxstatat): Do not use CHECK_1.
19 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
20 <bp-checks.h>.
21 (__fxstatat64): Do not use CHECK_1.
22 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
23 <bp-checks.h>.
24 (__fxstat): Do not use CHECK_1.
25 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
26 <bp-checks.h>.
27 (__fxstatat): Do not use CHECK_1.
28 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
29 <bp-checks.h>.
30 (__getresgid): Do not use CHECK_1.
31 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
32 <bp-checks.h>.
33 (__getresuid): Do not use CHECK_1.
34 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
35 <bp-checks.h>.
36 (__lxstat): Do not use CHECK_1.
37 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
38 <bp-checks.h>.
39 (__old_msgctl): Do not use CHECK_1.
40 (__new_msgctl): Likewise.
41 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
42 <bp-checks.h>.
43 (__new_setrlimit): Do not use CHECK_1.
44 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
45 <bp-checks.h>.
46 (__old_shmctl): Do not use CHECK_1.
47 (__new_shmctl): Likewise.
48 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
49 <bp-checks.h>.
50 (__xstat): Do not use CHECK_1.
51 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
52 (__lxstat): Do not use CHECK_1.
53 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
54 <bp-checks.h>.
55 (___lxstat64): Do not use CHECK_1.
56 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
57 (__old_msgctl): Do not use CHECK_1.
58 (__new_msgctl): Likewise.
59 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
60 <bp-checks.h>.
61 (__gettimeofday): Do not use CHECK_1.
62 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
63 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
64 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
65 <bp-checks.h>.
66 (__gettimeofday): Do not use CHECK_1.
67 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
68 (__old_shmctl): Do not use CHECK_1_NULL_OK.
69 (__new_shmctl): Do not use CHECK_1.
70 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
71 <bp-checks.h>.
72 (do_sigtimedwait): Do not use CHECK_1.
73 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
74 <bp-checks.h>.
75 (do_sigwaitinfo): Do not use CHECK_1.
76 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
77 <bp-checks.h>.
78 (msgctl): Do not use CHECK_1.
79 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
80 <bp-checks.h>.
81 (shmctl): Do not use CHECK_1.
82 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
83 (ustat): Do not use CHECK_1.
84 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
85 <bp-checks.h>.
86 (__fxstat): Do not use CHECK_1.
87 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
88 <bp-checks.h>.
89 (__fxstatat): Do not use CHECK_1.
90 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
91 <bp-checks.h>.
92 (__lxstat): Do not use CHECK_1.
93 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
94 <bp-checks.h>.
95 (__xstat): Do not use CHECK_1.
96 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
97 (__xstat): Do not use CHECK_1.
98 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
99 (___xstat64): Do not use CHECK_1.
100
b2c9eff4
JM
101 [BZ #13550]
102 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
103 definitions.
104 (CHECK_BOUNDS_HIGH): Likewise.
105 * string/strcpy.c: Do not include <bp-checks.h>.
106 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
107
f1d70dad
RM
1082013-02-07 Roland McGrath <roland@hack.frob.com>
109
110 * nscd/nscd-client.h (__nscd_drop_map_ref):
111 Add __attribute__ ((unused)).
112 * nis/nss-nisplus.h (niserr2nss): Likewise.
113
114 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
115 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
116
117 * csu/libc-tls.c (init_static_tls, init_slotinfo):
118 Remove inline keyword.
119 * include/rounding-mode.h (round_away): Likewise.
120 * libio/wfileops.c (adjust_wide_data): Likewise.
121 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
122 (__m128i_strloadu_tolower): Likewise.
123 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
124 (__m128i_strloadu_tolower): Likewise.
125 * time/mktime.c (ydhms_diff): Likewise.
126 * locale/elem-hash.h (elem_hash): Likewise.
127 * locale/setlocale.c (setdata): Likewise.
128 * posix/regex_internal.h (re_string_char_size_at): Likewise.
129 (re_string_wchar_at): Likewise.
130 (bitset_not, bitset_merge, bitset_mask): Likewise.
131 [!(__GNUC__ > 3)] (inline): Remove macro.
132 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
133 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
134 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
135 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
136 * string/memcmp.c (memcmp_bytes): Likewise.
137 * locale/programs/locarchive.c (compute_hashval): Likewise.
138 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
139 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
140 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
141 * nss/getent.c (print_rpc, print_protocols): Likewise.
142 (print_passwd, print_group, print_aliases): Likewise.
143 * nis/nss-nisplus.h (niserr2nss): Likewise.
144 * nscd/connections.c (restart_p): Likewise.
145 Change return type to bool.
146
eab55bfb
RM
1472013-02-05 Roland McGrath <roland@hack.frob.com>
148
7bd642f5
RM
149 * Makeconfig (all-Depend-files): Add existing
150 $(sorted-subdirs:=/Depend) files.
151 (all-subdirs): Remove nss.
152 * sysdeps/unix/inet/Subdirs: Add it here instead.
153 * hesiod/Depend: New file.
154
573c29b2
RM
155 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
156 instead of calling alloca.
157
b2e25af0
RM
158 * io/lseek.c (__lseek): Rename to __libc_lseek.
159 Define __lseek as an alias.
160
eab55bfb
RM
161 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
162
9a0d1941
CD
1632013-02-04 Carlos O'Donell <carlos@redhat.com>
164
165 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
166 else clause and remove check for non-standard endianness.
167
b83bbec4
DM
1682013-02-04 David S. Miller <davem@davemloft.net>
169
170 * sysdeps/sparc/fpu/libm-test-ulps: Update.
171
6277fdab
JM
1722013-02-04 Joseph Myers <joseph@codesourcery.com>
173
174 [BZ #13550]
175 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
176 (__ubp_memchr): Remove prototype.
177 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
178 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
179 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
180 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
181 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
182 Remove alias.
183 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
184 (__ubp_memchr): Likewise.
185 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
186 (__ubp_memchr): Likewise.
187 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
188 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
189 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
190 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
191 CHECK_STRING.
192 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
193 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
194 (__getcwd): Do not use CHECK_STRING.
195 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
196 <bp-checks.h>.
197 (__real_chown): Do not use CHECK_STRING.
198 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
199 <bp-checks.h>.
200 (fchownat): Do not use CHECK_STRING.
201 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
202 CHECK_STRING.
203 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
204 <bp-checks.h>.
205 (__lchown): Do not use CHECK_STRING.
206 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
207 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
208 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
209 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
210 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
211 include <bp-checks.h>.
212 (truncate64): Do not use CHECK_STRING.
213 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
214 <bp-checks.h>.
215 (__real_chown): Do not use CHECK_STRING.
216 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
217 <bp-checks.h>.
218 (__lchown): Do not use CHECK_STRING.
219 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
220 <bp-checks.h>.
221 (__chown): Do not use CHECK_STRING.
222 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
223 <bp-checks.h>.
224 (truncate64): Do not use CHECK_STRING.
225 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
226 Likewise.
227 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
228 (__xmknod): Do not use CHECK_STRING.
229 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
230 <bp-checks.h>.
231 (__xmknodat): Do not use CHECK_STRING.
232 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
233 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
234
903ae060
AS
2352013-02-04 Andreas Schwab <schwab@suse.de>
236
237 [BZ #14142]
238 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
239 * include/netdb.h: Likewise for h_errno.
240 * elf/tst-stackguard1.c: Include <tls.h>.
241
542f9466
JK
2422013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
243
244 * elf/link.h (struct link_map): Extend the l_addr comment.
245 * include/link.h (struct link_map): Likewise.
246
e782a927
JM
2472013-02-01 Joseph Myers <joseph@codesourcery.com>
248
249 [BZ #13550]
250 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
251 (BOUNDED_1): Remove macro.
252 * debug/backtrace.c: Don't include <bp-checks.h>.
253 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
254 (__backtrace): Likewise.
255 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
256 <bp-checks.h>.
257 (__backtrace): Don't use BOUNDED_1.
258 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
259 <bp-checks.h>.
260 (__backtrace): Don't use BOUNDED_1.
261 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
262 (__backtrace): Don't use BOUNDED_1.
263 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
264 (shmat): Don't use BOUNDED_N.
265
8cf28c5e
JM
2662013-01-31 Joseph Myers <joseph@codesourcery.com>
267
3a7ac8a0
JM
268 [BZ #13550]
269 * sysdeps/generic/bp-start.h: Remove file.
270 * csu/libc-start.c: Don't include <bp-start.h>.
271 (LIBC_START_MAIN): Set up __environ directly instead of using
272 INIT_ARGV_and_ENVIRON.
273 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
274 <bp-start.h>.
275
f3499f95
JM
276 [BZ #13550]
277 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
278 definitions.
279 (CHECK_FCNTL): Likewise.
280 (CHECK_N_PAGES): Likewise.
281
32a45bea
JM
282 [BZ #13550]
283 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
284 definitions.
285 (CHECK_SIGSET_NULL_OK): Likewise.
286 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
287 <bp-checks.h>.
288 (sigpending): Don't use CHECK_SIGSET.
289 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
290 <bp-checks.h>.
291 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
292 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
293 <bp-checks.h>.
294 (do_sigsuspend): Don't use CHECK_SIGSET.
295 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
296 use CHECK_SIGSET.
297 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
298 (do_sigwait): Don't use CHECK_SIGSET.
299 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
300 use CHECK_SIGSET.
301 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
302 include <bp-checks.h>.
303 (sigpending): Don't use CHECK_SIGSET.
304 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
305 include <bp-checks.h>.
306 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
307 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
308 <bp-checks.h>.
309 (sigpending): Don't use CHECK_SIGSET.
310 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
311 <bp-checks.h>.
312 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
313
2e8a5c8c
JM
314 [BZ #13550]
315 * sysdeps/generic/bp-semctl.h: Remove file.
316 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
317 <bp-checks.h> and <bp-semctl.h>.
318 (__old_semctl): Don't use CHECK_SEMCTL.
319 (__new_semctl): Likewise.
320 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
321 and <bp-semctl.h>.
322 (__old_semctl): Don't use CHECK_SEMCTL.
323 (__new_semctl): Likewise.
324 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
325 <bp-checks.h> and <bp-semctl.h>.
326 (__old_semctl): Don't use CHECK_SEMCTL.
327 (__new_semctl): Likewise.
328 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
329 <bp-checks.h> and <bp-semctl.h>.
330 (semctl): Don't use CHECK_SEMCTL.
331
c2d54929
JM
332 [BZ #13550]
333 * Makerules (elide-bp-thunks): Remove variable.
334 (elide-routines.oS): Don't use $(elide-bp-thunks).
335 (elide-routines.os): Likewise.
336 (elide-routines.o): Likewise.
337 (elide-routines.op): Likewise.
338 (elide-routines.og): Likewise.
339 (objects): Don't use $(bp-thunks).
340 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
341 include.
342 (common-generated): Do not add s-proto-bp.d.
343 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
344 (int): Likewise.
345 (typ): Likewise.
346 Do not generate makefile rules for bounded-pointer thunks.
347 * sysdeps/generic/bp-thunks.h: Remove file.
348 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
349 * sysdeps/unix/s-proto-bp.S: Likewise.
350
8cf28c5e
JM
351 [BZ #15062]
352 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
353 parts of result separately when argument is not close to line from
354 -i to i and one part of argument is small.
355 * math/k_casinhf.c (__kernel_casinhf): Likewise.
356 * math/k_casinhl.c (__kernel_casinhl): Likewise.
357 * math/libm-test.inc (cacos_test): Add more tests.
358 (casin_test): Likewise.
359 (casinh_test): Likewise.
360 * sysdeps/i386/fpu/libm-test-ulps: Update.
361 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
362
c4e33b8d
DM
3632013-01-31 David S. Miller <davem@davemloft.net>
364
365 * po/de.po: Update from translation team.
366
3b60b421
MK
3672013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
368
369 * time/tzfile.c: Include stdint.h for SIZE_MAX.
370
bb931195
TS
3712013-01-25 Thomas Schwinge <thomas@codesourcery.com>
372
b5a5da23
TS
373 * configure.in (_AC_PROG_CC_C89): New definition.
374 * configure: Regenerate.
375
bb931195
TS
376 * configure.in (AC_PROG_CPP): New definition.
377 * configure: Regenerate.
378
8c53a12c
JM
3792013-01-23 Joseph Myers <joseph@codesourcery.com>
380
381 * debug/tst-backtrace.h: New file.
382 * debug/tst-backtrace2.c: Include tst-backtrace.h.
383 (ret): Remove variable.
384 (x): Likewise.
385 (FAIL): Remove macro.
386 (NO_INLINE): Likewise.
387 (fn1): Use match function instead of strstr.
388 * debug/tst-backtrace3.c: Include tst-backtrace.h.
389 (ret): Remove variable.
390 (x): Likewise.
391 (FAIL): Remove macro.
392 (NO_INLINE): Likewise.
393 (fn): Use match function instead of strstr.
394 * debug/tst-backtrace4.c: Include tst-backtrace.h.
395 (ret): Remove variable.
396 (x): Likewise.
397 (FAIL): Remove macro.
398 (NO_INLINE): Likewise.
399 (handle_signal): Use match function instead of strstr.
400 * debug/tst-backtrace5.c: Include tst-backtrace.h.
401 (ret): Remove variable.
402 (x): Likewise.
403 (FAIL): Remove macro.
404 (NO_INLINE): Likewise.
405 (handle_signal): Use match function instead of strstr.
406
4858fa2a
RM
4072013-01-23 Roland McGrath <roland@hack.frob.com>
408
409 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
410
bae8e7f5
DM
4112013-01-23 David S. Miller <davem@davemloft.net>
412
413 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
414 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
415 argument of CAS if possible.
416 * sysdeps/sparc/sparc64/bits/atomic.h
417 (__arch_compare_and_exchange_val_32_acq): Likewise.
418 (__arch_compare_and_exchange_val_64_acq): Likewise.
419
9cbbc4ae
PT
4202013-01-23 Pino Toscano <toscano.pino@tiscali.it>
421
422 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
423 * sysdeps/posix/ulimit.c: ... this.
92a601b8 424 Include <limits.h>.
67b3f58c 425 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 426
5655a0b5
AC
4272013-01-23 Adam Conrad <adconrad@0c3.net>
428
429 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
430 (LDFLAGS-tst-array5): Likewise.
431
052aff95
JM
4322013-01-23 Joseph Myers <joseph@codesourcery.com>
433
434 [BZ #15036]
435 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
436 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
437 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
438 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
439
7c1e01aa
DM
4402013-01-21 David S. Miller <davem@davemloft.net>
441
442 * sysdeps/sparc/backtrace.c: New file.
443 * sysdeps/sparc/sparc32/backtrace.h: New file.
444 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
445 * sysdeps/sparc/sparc64/backtrace.h: New file.
446 * sysdeps/sparc/sparc64/backtrace.c: Delete.
447 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
448 -funwind-tables.
449
ab087e0a
AS
4502013-01-21 Andreas Schwab <schwab@suse.de>
451
452 [BZ #15020]
453 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
454 closed its stdout.
455
ed689c2f
AS
4562013-01-20 Andreas Schwab <schwab@linux-m68k.org>
457
458 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
459 "mpa2.h".
460 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
461
31d470ac
JM
4622013-01-18 Joseph Myers <joseph@codesourcery.com>
463 Mark Mitchell <mark@codesourcery.com>
464 Tom de Vries <tom@codesourcery.com>
465 Paul Pluzhnikov <ppluzhnikov@google.com>
466
467 * debug/tst-backtrace2.c: New file.
468 * debug/tst-backtrace3.c: Likewise.
469 * debug/tst-backtrace4.c: Likewise.
470 * debug/tst-backtrace5.c: Likewise.
471 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
472 (CFLAGS-tst-backtrace3.c): Likewise.
473 (CFLAGS-tst-backtrace4.c): Likewise.
474 (CFLAGS-tst-backtrace5.c): Likewise.
475 (LDFLAGS-tst-backtrace2): Likewise.
476 (LDFLAGS-tst-backtrace3): Likewise.
477 (LDFLAGS-tst-backtrace4): Likewise.
478 (LDFLAGS-tst-backtrace5): Likewise.
479 (tests): Add new tests tst-backtrace2, tst-backtrace3,
480 tst-backtrace4 and tst-backtrace5.
481
90567f30 4822013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
483 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
484
485 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
486 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
487 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
488 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
489 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
490 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
491 "+r" and remove output regs list as redundant. Add explicit inline
492 asm to specify register of return val to work around compiler codegen
493 bug. Remove (int) cast on return value. Add return type parameter to
494 use in macro so that this macro does not truncate return value for
495 64-bit values.
496 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
497 pass to INTERNAL_VSYSCALL_NCS.
498 (INLINE_VSYSCALL): Add 'long int' as return type to
499 INTERNAL_VSYSCALL_NCS macro invocation.
500 (INTERNAL_VSYSCALL): Add 'long int' as return type to
501 INTERNAL_VSYSCALL_NCS macro invocation.
502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
503
d3b9ea61
SP
5042013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
505
0b57daeb
SP
506 [BZ #14496]
507 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
508 Fix application of SIMD FP exception mask.
509
caa99d06
SP
510 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
511 mp_no from a power of two.
512 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
513 __mpexp_twomm1. Use __pow_mp.
514
d3b9ea61
SP
515 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
516 multiplication.
517
1dbaee3c
DM
5182013-01-17 David S. Miller <davem@davemloft.net>
519
520 * sysdeps/sparc/fpu/libm-test-ulps: Update.
521
728d7b43
JM
5222013-01-17 Joseph Myers <joseph@codesourcery.com>
523
524 [BZ #15023]
525 * include/complex.h: Condition contents on [!_COMPLEX_H].
526 (__kernel_casinhf): New prototype.
527 (__kernel_casinh): Likewise.
528 (__kernel_casinhl): Likewise.
529 * math/Makefile (libm_calls): Add k_casinh.
530 * math/k_casinh.c: New file.
531 * math/k_casinhf.c: Likewise.
532 * math/k_casinhl.c: Likewise.
533 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
534 finite nonzero arguments.
535 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
536 finite nonzero arguments.
537 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
538 finite nonzero arguments.
539 * math/s_casinh.c: Do not include <float.h>.
540 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
541 * math/s_casinhf.c: Do not include <float.h>.
542 (__casinhf): Move code for finite nonzero arguments to
543 k_casinhf.c.
544 * math/s_casinhl.c: Do not include <float.h>.
545 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
546 redefine.
547 (__casinhl): Move code for finite nonzero arguments to
548 k_casinhl.c.
549 * math/libm-test.inc (cacos_test): Add more tests.
550 * sysdeps/i386/fpu/libm-test-ulps: Update.
551 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
552
2a26ef3a
PT
5532013-01-17 Pino Toscano <toscano.pino@tiscali.it>
554
555 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
556 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
557 [!HAVE_MREMAP]: Remove [defined linux] case.
558 * malloc/arena.c: Do not include <malloc-sysdep.h>.
559
a897655d
SP
5602013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
561
562 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
563
881ebe89 5642013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
565
566 * elf/elf.h (R_386_SIZE32): New relocation.
567 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
568 R_386_SIZE32.
569 (elf_machine_rela): Likewise.
570 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
571 R_X86_64_SIZE64 and R_X86_64_SIZE32.
572
59981e9b
JM
5732013-01-17 Joseph Myers <joseph@codesourcery.com>
574
575 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
576 (FP_FAST_FMA): Do not define.
577 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
578 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
579 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
580 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
581 !_SOFT_FLOAT]: Likewise.
582 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
583 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
584 value.
585 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
586 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
587 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
588 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
589 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
590 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
591 file.
592
cfa8054f
AS
5932013-01-16 Andreas Schwab <schwab@suse.de>
594
595 [BZ #14327]
596 * include/stdlib.h (__mktemp): Add declaration.
597 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
598 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
599
dd930cc5
SP
6002013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
601
881ebe89
SP
602 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
603 definitions.
604 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
605 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
606 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
607 definitions here.
608 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
609 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
610 definitions.
611 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
612 and ONE.
613 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
614 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
615 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
616 definitions.
617 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
618 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
619 definitions.
620 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 621
dd930cc5
SP
622 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
623
c19a9f89
DM
6242013-01-15 David S. Miller <davem@davemloft.net>
625
1aa61767
DM
626 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
627 trunc{,f} to libm-sysdep_routes.
628 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
629 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
630 file.
631 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
632 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
633 file.
634 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
635 file.
636 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
637 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
638 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
639 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
640 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
641 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
642 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
643 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
644
c42d5e98
DM
645 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
646 nearbyint{,f} to libm-sysdep_routes.
647 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
648 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
649 New file.
650 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
651 file.
652 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
653 New file.
654 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
655 file.
656 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
657 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
658 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
659 file.
660 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
661 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
662 file.
663 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
664 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
665 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
666
c19a9f89
DM
667 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
668 libc_feholdexcept and libc_fesetenv.
669
357679d2
MF
6702013-01-15 Mike Frysinger <vapier@gentoo.org>
671
672 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
673
65a82e3d
DM
6742013-01-14 David S. Miller <davem@davemloft.net>
675
8b954ab9
DM
676 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
677 (SPARC_ASM_VIS2_IFUNC): Likewise.
678 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
679 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
680 use of 'siam' instruction.
681 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
682 Likewise.
683 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
684 Likewise.
685 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
686 Likewise.
687 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
688 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
689 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
690 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
691 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
692 file.
693 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
694 file.
695 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
696 file.
697 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
698 file.
699 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
700 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
701 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
702 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
703 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
704 new VIS2 routines.
705 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
706 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
707 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
708 Likewise.
709 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
710 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
711 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
712 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
713 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
714 routines to libm-sysdep_routines.
715 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
716
65a82e3d
DM
717 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
718 fdim/fdimf to libm-sysdep_routines.
719 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
720 file.
721 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
722 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
723 file.
724 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
725 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
726 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
727 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
728 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
729 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
730 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
731
e34ab705
SP
7322013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
733
2a91b573
SP
734 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
735 to optimize copies.
736
1066a534
SP
737 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
738 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
739 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
740
e34ab705
SP
741 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
742 local variable MPTWO.
743 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
744 Likewise.
745
aba5e596
MF
7462013-01-13 Mike Frysinger <vapier@gentoo.org>
747
748 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
749 GLOB_NOESCAPE.
750
e557e9e5
MF
7512013-01-13 Mike Frysinger <vapier@gentoo.org>
752
753 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
754
0428cec9
MF
7552013-01-13 Mike Frysinger <vapier@gentoo.org>
756
757 * manual/pattern.texi (glob_t): Document gl_flags.
758 (glob64_t): Likewise.
759
8794a964
DM
7602013-01-11 David S. Miller <davem@davemloft.net>
761
66438c3f
RM
762 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
763 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
764 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
765 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
766 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
767 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
768 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
769 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
770 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
771 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
772 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
773 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
774 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
775
4ae4244d
DM
776 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
777 sparc V9 rather than using V8 code.
778 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
779 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
780
8794a964
DM
781 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
782 Move to...
783 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
784 Here.
785
6270516e
RM
7862013-01-11 Roland McGrath <roland@hack.frob.com>
787
788 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
789 not in the main loop.
790 * configure: Regenerated.
791
6a57d931
JM
7922013-01-11 Joseph Myers <joseph@codesourcery.com>
793
794 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
795 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
796 to just #else.
797 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
798 [!__GLIBC_HAVE_LONG_LONG] case.
799 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
800 condition to just #else.
801 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
802 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
803 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
804 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
805 unconditional.
806 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
807 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
808 #elif condition to just #else.
809 * sysdeps/unix/sysv/linux/sys/sysmacros.h
810 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
811 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
812 #elif condition to just #else.
813
0e8529e9
SE
8142013-01-11 Steve Ellcey <sellcey@mips.com>
815
816 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
817 (EF_MIPS_ARCH_64): Fix value.
818 (EF_MIPS_ARCH_32R2): New.
819 (EF_MIPS_ARCH_64R2): New.
820
740b3dbe
L
8212013-01-11 H.J. Lu <hongjiu.lu@intel.com>
822
823 * Makeconfig (+link-pie-before-libc): New.
824 (+link-pie-after-libc): Likewise.
825 (+link-pie-tests): Likewise.
826 (+link-pie): Rewritten.
827 (link-before-libc): Remove $(config-LDFLAGS).
828 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
829 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
830 (config-LDFLAGS): Renamed to ...
831 (rtld-LDFLAGS): This.
832 (rtld-tests-LDFLAGS): New macro.
833 (link-libc-rpath-link): Likewise.
834 (link-libc-tests-rpath-link): Likewise.
835 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
836 (link-libc): Prepand $(link-libc-rpath-link).
837 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
838 (test-program-prefix): New macro.
839 (test-via-rtld-prefix): Likewise.
840 (test-program-cmd): Likewise.
841 (host-test-program-cmd): Likewise.
842 * Makefile ($(common-objpfx)testrun.sh): Replace
843 $(run-program-prefix) with $(test-program-prefix).
844 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
845 $(rtld-LDFLAGS).
846 ($(common-objpfx)shlib.lds): Likewise.
847 (build-module-helper): Likewise.
848 ($(common-objpfx)format.lds): Likewise.
849 * Rules (binaries-pie-tests): New.
850 (binaries-pie-notests): Likewise.
851 (binaries-pie): Rewritten.
852 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
853 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
854 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
855 (make-test-out): Replace $(host-built-program-cmd) with
856 $(host-test-program-cmd).
857 * config.make.in (build-hardcoded-path-in-tests): New variable.
858 * configure.in (--enable-hardcoded-path-in-tests): New configure
859 option.
860 (hardcoded_path_in_tests): New AC_SUBST.
861 * configure: Regenerated.
862 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
863 $(built-program-cmd) with $(test-program-cmd).
864 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
865 (test_program_cmd): This.
866 * elf/Makefile ($(objpfx)order.out): Run test with
867 $(test-program-prefix).
868 ($(objpfx)order2.out): Likewise.
869 ($(objpfx)tst-initorder.out): Likewise.
870 ($(objpfx)tst-initorder2.out): Likewise.
871 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
872 $(test-program-cmd).
873 ($(objpfx)tst-array1-static.out): Likewise.
874 ($(objpfx)tst-array2.out): Likewise.
875 ($(objpfx)tst-array3.out): Likewise.
876 ($(objpfx)tst-array4.out): Likewise.
877 ($(objpfx)tst-array5.out): Likewise.
878 ($(objpfx)tst-array5-static.out): Likewise.
879 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
880 $(test-program-cmd).
881 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
882 $(run-program-prefix) with $(test-program-prefix).
883 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
884 (test_program_prefix): This.
885 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
886 $(run-program-prefix) with $(test-program-prefix).
887 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
888 (test_program_prefix): This.
889 * iconvdata/tst-tables.sh: Likewise.
890 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
891 $(run-program-prefix) with $(test-program-prefix).
892 ($(objpfx)tst-translit.out): Likewise.
893 ($(objpfx)tst-gettext2.out): Likewise.
894 ($(objpfx)tst-gettext4.out): Likewise.
895 ($(objpfx)tst-gettext6.out): Likewise.
896 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
897 (test_program_prefix): This.
898 * intl/tst-gettext2.sh: Likewise.
899 * intl/tst-gettext4.sh Likewise.
900 * intl/tst-gettext6.sh: Likewise.
901 * intl/tst-translit.sh: Likewise.
902 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
903 with $(test-program-cmd).
904 * libio/Makefile ($(objpfx)test-freopen.out): Replace
905 $(run-program-prefix) with $(test-program-prefix).
906 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
907 (test_program_prefix): This.
908 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
909 $(run-program-prefix) with $(test-program-prefix).
910 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
911 (test_program_prefix): This.
912 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
913 * posix/Makefile ($(objpfx)globtest.out): Replace
914 $(run-via-rtld-prefix) and $(test-wrapper) with
915 $(test-program-prefix) and $(test-via-rtld-prefix).
916 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
917 $(test-program-prefix).
918 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
919 $(host-test-program-cmd).
920 (tst-spawn-ARGS): Likewise.
921 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
922 $(test-program-prefix).
923 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
924 (test_via_rtld_prefix): This.
925 (test_wrapper): Renamed to ...
926 (test_program_prefix): This.
927 (run_program_prefix): Replaced by test_program_prefix.
928 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
929 (test_program_prefix): This.
930 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
931 with $(host-test-program-cmd).
932 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
933 $(run-program-prefix) with $(test-program-prefix).
934 ($(objpfx)tst-printf.out): Likewise.
935 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
936 $(test-program-cmd).
937 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
938 (test_program_prefix): This.
939 * stdio-common/tst-unbputc.sh: Likewise.
940 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
941 $(run-program-prefix) with $(test-program-prefix).
942 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
943 (test_program_prefix): This.
944 * string/Makefile ($(objpfx)tst-svc.out): Replace
945 $(built-program-cmd) with $(test-program-cmd).
946
c6fe55cf
AJ
9472013-01-11 Andreas Jaeger <aj@suse.de>
948
949 [BZ #15003]
950 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
951 value. Sync with Linux 3.7.
952
9e6919c8
DM
9532013-01-10 David S. Miller <davem@davemloft.net>
954
955 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
956 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
957 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
958
1c9f1a02
RM
9592013-01-10 Roland McGrath <roland@hack.frob.com>
960
961 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
962 never set.
963 * configure: Regenerated.
964
b9de2dde
DM
9652013-01-10 David S. Miller <davem@davemloft.net>
966
967 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
968 sparc V9 rather than using V8 code.
969 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
970 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
971
e7f68ef4
RM
9722013-01-10 Roland McGrath <roland@hack.frob.com>
973
974 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
975 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
976 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
977 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
978 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
979 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
980 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
981 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
982 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
983 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
984 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
985 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
986 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
987 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
988 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
989 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
990 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
991 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
992 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
993 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
994 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
995 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
996 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
997 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
998 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
999 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
1000 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
1001
5a47cc9c
DM
10022013-01-10 David S. Miller <davem@davemloft.net>
1003
1004 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1005
4cf8f209
L
10062013-01-10 H.J. Lu <hongjiu.lu@intel.com>
1007
1008 * posix/Makefile (tests-static): New variable.
1009 (tests): Add $(tests-static).
1010 (tst-exec-static-ARGS): New variable.
1011 (tst-spawn-static-ARGS): Likewise.
1012 * posix/tst-exec-static.c: New file.
1013 * posix/tst-spawn-static.c: Likewise.
1014 * posix/tst-exec.c: Support run directly.
1015 * posix/tst-spawn.c: Likewise.
1016
fed0faa1
JM
10172013-01-10 Joseph Myers <joseph@codesourcery.com>
1018
828beb13
JM
1019 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
1020 long.
1021 * math/bits/mathcalls.h (llrint): Likewise.
1022 (llround): Likewise.
1023 * stdlib/stdlib.h (struct drand48_data): Likewise.
1024 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
1025 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
1026 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
1027 Likewise.
1028 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
1029 Likewise.
1030 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
1031 (elf_greg_t): Likewise.
1032 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
1033 (__jmp_buf): Likewise.
1034 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
1035 definitions.
1036 (llrint): Likewise, for all definitions.
1037 (llrintl): Likewise.
1038
fed0faa1
JM
1039 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
1040 Remove [__GNUC__] condition.
1041 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
1042 condition to just [__USE_ISOC99].
1043 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
1044
1a20cb20
L
10452013-01-10 H.J. Lu <hongjiu.lu@intel.com>
1046
1047 [BZ #14200]
1048 * sysdeps/unix/sysv/linux/x86/bits/environments.h
1049 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
1050 defined.
1051 (_POSIX_V6_ILP32_OFF32): Likewise.
1052 (_XBS5_ILP32_OFF32): Likewise.
1053 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
1054 (__ILP32_OFFBIG_LDFLAGS): Likewise.
1055
751b85f7
SP
10562013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1057
7490eb81
SP
1058 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
1059
751b85f7
SP
1060 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
1061 doubles __mpexp_twomm1. Adjust usage.
1062 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
1063 Remove.
1064
988197f0
AS
10652013-01-10 Andreas Schwab <schwab@suse.de>
1066
1067 [BZ #14964]
1068 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
1069 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
1070
e83d7298
DM
10712013-01-09 David S. Miller <davem@davemloft.net>
1072
034ed64b 1073 [BZ #15003]
e83d7298
DM
1074 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
1075 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
1076 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
1077 TCP_FASTOPEN): Define.
1078 (tcp_repair_opt): New structure.
1079 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
1080 enum values.
1081 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
1082 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
1083 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
1084 (tcp_cookie_transactions): New structure.
1085
d5e0b9bd
AB
10862013-01-09 Anton Blanchard <anton@samba.org>
1087
1088 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
1089 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
1090 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
1091 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
1092
0c07e3ea
JM
10932013-01-09 Joseph Myers <joseph@codesourcery.com>
1094
1095 * include/features.h (__USE_ANSI): Remove.
1096
232f7002
RM
10972013-01-09 Roland McGrath <roland@hack.frob.com>
1098
ad98e30c
RM
1099 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
1100
232f7002
RM
1101 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
1102
950c99ca
SP
11032013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
1104
b5792741
SP
1105 * sysdeps/s390/fpu/libm-test-ulps: Update.
1106
47cf2278
SP
1107 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1108
950c99ca
SP
1109 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
1110 (__acr): Likewise.
1111 (__cpy): Likewise.
1112 (norm): Likewise.
1113 (denorm): Likewise.
1114 (__mp_dbl): Likewise.
1115 (__dbl_mp): Likewise.
1116 (add_magnitudes): Likewise.
1117 (sub_magnitudes): Likewise.
1118 (__add): Likewise.
1119 (__sub): Likewise.
1120 (__mul): Likewise.
1121 (__inv): Likewise.
1122 (__dvd): Likewise.
1123 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
1124 (__acr): Likewise.
1125 (__cpy): Likewise.
1126 (norm): Likewise.
1127 (denorm): Likewise.
1128 (__mp_dbl): Likewise.
1129 (__dbl_mp): Likewise.
1130 (add_magnitudes): Likewise.
1131 (sub_magnitudes): Likewise.
1132 (__add): Likewise.
1133 (__sub): Likewise.
1134 (__mul): Likewise.
1135 (__inv): Likewise.
1136 (__dvd): Likewise.
1137 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
1138 (__acr): Likewise.
1139 (__cpy): Likewise.
1140 (norm): Likewise.
1141 (denorm): Likewise.
1142 (__mp_dbl): Likewise.
1143 (__dbl_mp): Likewise.
1144 (add_magnitudes): Likewise.
1145 (sub_magnitudes): Likewise.
1146 (__add): Likewise.
1147 (__sub): Likewise.
1148 (__mul): Likewise.
1149 (__inv): Likewise.
1150 (__dvd): Likewise.
1151
eede9df9
JM
11522013-01-08 Joseph Myers <joseph@codesourcery.com>
1153
1154 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
1155 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
1156 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
1157 2 && __USE_EXTERN_INLINES]: Likewise.
1158
c40ea3d9
AJ
11592013-01-08 Andreas Jaeger <aj@suse.de>
1160
1161 [BZ# 14985]
1162 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
1163 Remove.
1164 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
1165 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
1166
2ccdea26
AB
11672013-01-07 Anton Blanchard <anton@samba.org>
1168
1169 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
1170 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
1171 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
1172 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
1173 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
1174 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
1175 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
1176 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
1177 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
1178 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
1179 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
1180 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
1181 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
1182 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
1183 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
1184 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
1185 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
1186 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
1187 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
1188 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
1189 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
1190 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
1191 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
1192 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
1193 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
1194 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
1195 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
1196 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
1197 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
1198 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
1199 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
1200 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
1201 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
1202 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
1203 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
1204 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
1205 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
1206 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
1207 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
1208 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
1209 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
1210 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
1211 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
1212
a9708fed
JM
12132013-01-07 Joseph Myers <joseph@codesourcery.com>
1214
375607b9
JM
1215 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
1216 (__MALLOC_PMT): Likewise.
1217 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
1218 [__GNUC__], only on [_LIBC].
1219 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
1220 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
1221 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
1222 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
1223 forward declaration.
1224 (realloc_hook_ini): Likewise.
1225 (memalign_hook_ini): Likewise.
1226 (__libc_memalign): Do not use __MALLOC_PMT in variable
1227 declaration.
1228 (__libc_valloc): Likewise.
1229 (__libc_pvalloc): Likewise.
1230 (__libc_calloc): Likewise.
1231 (__posix_memalign): Likewise.
1232
a9708fed
JM
1233 [BZ #14996]
1234 * math/s_casinh.c: Include <float.h>.
1235 (__casinh): Do not do computation with squaring and square root
1236 for large arguments.
1237 * math/s_casinhf.c: Include <float.h>.
1238 (__casinhf): Do not do computation with squaring and square root
1239 for large arguments.
1240 * math/s_casinhl.c: Include <float.h>.
1241 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
1242 (__casinhl): Do not do computation with squaring and square root
1243 for large arguments.
1244 * math/libm-test.inc (casin_test): Add more tests.
1245 (casinh_test): Likewise.
1246 * sysdeps/i386/fpu/libm-test-ulps: Update.
1247 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1248
afec409a
L
12492013-01-04 H.J. Lu <hongjiu.lu@intel.com>
1250
1251 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
1252 (__x86_64_raw_data_cache_size): Likewise.
1253 (__x86_64_data_cache_size_half): Likewise.
1254 (__x86_64_raw_data_cache_size_half): Likewise.
1255 (__x86_64_shared_cache_size): Likewise.
1256 (__x86_64_raw_shared_cache_size): Likewise.
1257 (__x86_64_shared_cache_size_half): Likewise.
1258 (__x86_64_raw_shared_cache_size_half): Likewise.
1259 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
1260 to ...
1261 (__x86_data_cache_size): This.
1262 (__x86_64_raw_data_cache_size): Renamed to ...
1263 (__x86_raw_data_cache_size): This.
1264 (__x86_64_data_cache_size_half): Renamed to ...
1265 (__x86_data_cache_size_half): This.
1266 (__x86_64_raw_data_cache_size_half): Renamed to ...
1267 (__x86_raw_data_cache_size_half): This.
1268 (__x86_64_shared_cache_size): Renamed to ...
1269 (__x86_shared_cache_size): This.
1270 (__x86_64_raw_shared_cache_size): Renamed to ...
1271 (__x86_raw_shared_cache_size): This.
1272 (__x86_64_shared_cache_size_half): Renamed to ...
1273 (__x86_shared_cache_size_half): This.
1274 (__x86_64_raw_shared_cache_size_half): Renamed to ...
1275 (__x86_raw_shared_cache_size_half): This.
1276 * sysdeps/x86_64/memcpy.S: Updated.
1277 * sysdeps/x86_64/memset.S: Likewise.
1278 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
1279 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
1280 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
1281
0b3986d0
DM
12822013-01-04 David S. Miller <davem@davemloft.net>
1283
1284 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1285
e47686e9
AS
12862013-01-04 Andreas Schwab <schwab@linux-m68k.org>
1287
d643bac1
AS
1288 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
1289 1 to avoid redefinition warning.
1290 (__USE_GNU): Don't define.
1291 (init_signaling_nan): Protoize.
1292
e47686e9
AS
1293 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1294
b18decba
SP
12952013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1296
fffb407f
SP
1297 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
1298 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
1299 (__cpymn): Likewise.
1300 (norm): Remove commented code.
1301 (denorm): Likewise.
1302 (__mp_dbl): Likewise.
1303 (__inv): Likewise.
1304 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
1305 (__cpymn): Likewise.
1306 (norm): Remove commented code.
1307 (denorm): Likewise.
1308 (__mp_dbl): Likewise.
1309 (__inv): Likewise.
1310
b18decba
SP
1311 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
1312 mp_no value for 1.0 and 2.0.
1313 (norm): Use RADIXI instead of radixi.d.
1314 (denorm): Likewise.
1315 (__mul): Use 0.0 instead of zero.d.
1316 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
1317 mp_no value for 1.0 and 2.0.
1318 (norm): Use RADIXI instead of radixi.d.
1319 (denorm): Likewise.
1320 (__mul): Use 0.0 instead of zero.d.
1321
cdc1c96f
JM
13222013-01-04 Joseph Myers <joseph@codesourcery.com>
1323
1324 [BZ #14994]
1325 * math/s_casinh.c (__casinh): Reduce finite argument to first
1326 quadrant then set signs of results at the end.
1327 * math/s_casinhf.c (__casinhf): Likewise.
1328 * math/s_casinhl.c (__casinhl): Likewise.
1329 * math/libm-test.inc (casin_test): Add more tests.
1330 (casinh_test): Likewise.
1331 * sysdeps/i386/fpu/libm-test-ulps: Update.
1332 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1333
302913e1
SP
13342013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1335
6420d207
SP
1336 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
1337
a9e48ab4
SP
1338 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
1339
b7837264
SP
1340 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
1341 declarations.
1342 (denorm): Likewise.
1343 (__mp_dbl): Likewise.
1344 (__inv): Likewise.
1345
f8af25d2
SP
1346 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
1347 and adjust the header comment.
1348
302913e1
SP
1349 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
1350 variable name from declaration.
1351
5d7dd1ca
L
13522013-01-03 H.J. Lu <hongjiu.lu@intel.com>
1353
1354 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1355 Initialize COMMON_CPUID_INDEX_7 element.
1356 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
1357 (CPUID_RTM): Likewise.
1358 (HAS_RTM): Likewise.
1359 (COMMON_CPUID_INDEX_7): New enum.
1360
2f5f40f4
AS
13612013-01-03 Andreas Schwab <schwab@linux-m68k.org>
1362
1363 [BZ #14981]
1364 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
1365 size is zero, record memory as freed.
1366
4056f4a0
AJ
13672013-01-03 Andreas Jaeger <aj@suse.de>
1368
1369 * po/ia.po: Add new Interlingua translation.
1370
ab15736f 13712012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
1372
1373 * locale/programs/localedef.c: Fix description of '--posix' flag.
1374
568035b7
JM
13752013-01-02 Joseph Myers <joseph@codesourcery.com>
1376
e6898b8d
JM
1377 * NEWS: Update dates in second copyright notice.
1378 * README: Update copyright dates in example.
1379 * manual/libc.texinfo: Update copyright dates.
1380 * scripts/test-installation.pl: Update copyright date in --version
1381 output.
1382
0e2f9562
JM
1383 * hurd/ctty-input.c: Fix copyright notice formatting.
1384 * hurd/ctty-output.c: Likewise.
1385 * hurd/dtable.c: Likewise.
1386 * hurd/hurd-raise.c: Likewise.
1387 * hurd/hurdprio.c: Likewise.
1388 * hurd/msgportdemux.c: Likewise.
1389 * misc/sys/file.h: Likewise.
1390 * misc/sys/ioctl.h: Likewise.
1391 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
1392 * sysdeps/mach/hurd/chdir.c: Likewise.
1393 * sysdeps/mach/hurd/fchdir.c: Likewise.
1394 * sysdeps/mach/hurd/rename.c: Likewise.
1395 * sysdeps/mach/hurd/rmdir.c: Likewise.
1396 * sysdeps/mach/hurd/seekdir.c: Likewise.
1397 * sysdeps/mach/hurd/setsid.c: Likewise.
1398 * sysdeps/posix/wait3.c: Likewise.
1399
568035b7
JM
1400 * All files with FSF copyright notices: Update copyright dates
1401 using scripts/update-copyrights.
1402 * intl/plural.c: Regenerated.
1403 * locale/programs/charmap-kw.h: Likewise.
1404 * locale/programs/locfile-kw.h: Likewise.
1405
da08f647
SP
14062013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1407
0f5477af
SP
1408 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
1409 four values.
1410
44e0d4c2
SP
1411 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
1412 calculation loop and add branch prediction.
1413
4d55b4e5
SP
1414 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
1415 check access beyond bounds of m1np.
1416
da08f647
SP
1417 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
1418 MPTWO.
1419 (__inv): Remove local variable MPTWO to use the global
1420 constant.
1421 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
1422 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
1423 variable MPTWO.
1424 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
1425 MP3HALFS static const.
1426
8e051029
DM
14272013-01-01 David S. Miller <davem@davemloft.net>
1428
1429 * po/ca.po: Update from translation team.
1430
f4cf5f2d
JM
14312013-01-01 Joseph Myers <joseph@codesourcery.com>
1432
1433 * scripts/update-copyrights: New file.
1434 * Makeconfig: Reformat copyright notice.
1435 * ctype/ctype.h: Likewise.
1436 * debug/swprintf_chk.c: Likewise.
1437 * elf/dl-cache.c: Likewise.
1438 * elf/dl-debug.c: Likewise.
1439 * elf/dl-object.c: Likewise.
1440 * grp/initgroups.c: Likewise.
1441 * hurd/Makefile: Likewise.
1442 * hurd/hurd/signal.h: Likewise.
1443 * hurd/hurdfault.c: Likewise.
1444 * hurd/hurdioctl.c: Likewise.
1445 * hurd/hurdlookup.c: Likewise.
1446 * hurd/intr-msg.c: Likewise.
1447 * iconv/gconv_open.c: Likewise.
1448 * libio/swprintf.c: Likewise.
1449 * locale/lc-ctype.c: Likewise.
1450 * locale/nl_langinfo.c: Likewise.
1451 * mach/Machrules: Likewise.
1452 * mach/Makefile: Likewise.
1453 * malloc/obstack.h: Likewise.
1454 * manual/Makefile: Likewise.
1455 * manual/tsort.awk: Likewise.
1456 * misc/bits/stab.def: Likewise.
1457 * nis/nis_print_group_entry.c: Likewise.
1458 * nis/nis_table.c: Likewise.
1459 * nis/nss_compat/compat-pwd.c: Likewise.
1460 * nis/nss_compat/compat-spwd.c: Likewise.
1461 * po/Makefile: Likewise.
1462 * posix/fnmatch.c: Likewise.
1463 * posix/regex.h: Likewise.
1464 * resolv/Makefile: Likewise.
1465 * resolv/nss_dns/dns-network.c: Likewise.
1466 * resolv/res_hconf.c: Likewise.
1467 * scripts/gen-sorted.awk: Likewise.
1468 * soft-fp/soft-fp.h: Likewise.
1469 * stdio-common/printf.h: Likewise.
1470 * stdlib/monetary.h: Likewise.
1471 * stdlib/random.c: Likewise.
1472 * stdlib/random_r.c: Likewise.
1473 * sysdeps/generic/Makefile: Likewise.
1474 * sysdeps/gnu/Makefile: Likewise.
1475 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
1476 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
1477 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
1478 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
1479 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
1480 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
1481 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
1482 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
1483 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
1484 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
1485 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
1486 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
1487 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
1488 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
1489 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
1490 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
1491 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
1492 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
1493 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
1494 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
1495 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
1496 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
1497 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
1498 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
1499 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
1500 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
1501 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
1502 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
1503 * sysdeps/mach/hurd/errnos.awk: Likewise.
1504 * sysdeps/mach/hurd/fork.c: Likewise.
1505 * sysdeps/mach/hurd/getcwd.c: Likewise.
1506 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
1507 * sysdeps/mach/hurd/mmap.c: Likewise.
1508 * sysdeps/mach/hurd/utimes.c: Likewise.
1509 * sysdeps/mach/hurd/xmknod.c: Likewise.
1510 * sysdeps/posix/profil.c: Likewise.
1511 * sysdeps/posix/readdir_r.c: Likewise.
1512 * sysdeps/powerpc/bits/mathdef.h: Likewise.
1513 * sysdeps/powerpc/bits/setjmp.h: Likewise.
1514 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
1515 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
1516 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
1517 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
1518 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
1519 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
1520 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
1521 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
1522 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
1523 * sysdeps/pthread/lio_listio.c: Likewise.
1524 * sysdeps/sparc/dl-procinfo.h: Likewise.
1525 * sysdeps/unix/i386/sysdep.S: Likewise.
1526 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
1527 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
1528 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
1529 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
1530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
1531 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
1532 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
1533 * sysdeps/unix/sysv/linux/speed.c: Likewise.
1534 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
1535 * sysdeps/wordsize-32/divdi3.c: Likewise.
1536 * time/sys/time.h: Likewise.
1537 * wcsmbs/Makefile: Likewise.
1538
0549fbba
DM
15392013-01-01 David S. Miller <davem@davemloft.net>
1540
a141f1a7
DM
1541 * po/fr.po: Update from translation team.
1542
0549fbba
DM
1543 * catgets/gencat.c: Update copyright year.
1544 * csu/version.c: Likewise.
1545 * debug/catchsegv.sh: Likewise.
1546 * debug/pcprofiledump.c: Likewise.
1547 * debug/xtrace.sh: Likewise.
1548 * elf/ldconfig.c: Likewise.
1549 * elf/ldd.bash.in: Likewise.
1550 * elf/pldd.c: Likewise.
1551 * elf/sotruss.ksh: Likewise.
1552 * elf/sprof.c: Likewise.
1553 * iconv/iconv_prog.c: Likewise.
1554 * iconv/iconvconfig.c: Likewise.
1555 * locale/programs/locale.c: Likewise.
1556 * locale/programs/localedef.c: Likewise.
1557 * login/programs/pt_chown.c: Likewise.
1558 * malloc/memusage.sh: Likewise.
1559 * malloc/memusagestat.c: Likewise.
1560 * malloc/mtrace.pl: Likewise.
1561 * nscd/nscd.c: Likewise.
1562 * nss/getent.c: Likewise.
1563 * nss/makedb.c: Likewise.
1564 * posix/getconf.c: Likewise.
1565
18ea052c
SP
15662012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
1567
1568 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
1569 numbers.
1570
9c89fca6
MF
15712012-12-30 Mike Frysinger <vapier@gentoo.org>
1572
1573 * math/bits/mathcalls.h (modf): Use __nonnull.
1574
085ec079
SP
15752012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1576
1577 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
1578 (split): Use macro CN instead of the bare value.
1579 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
1580 could be used.
1581 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
1582 instead of the bare value.
1583 (power1): Likewise.
1584
6d9f97e1
SP
15852012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1586
d63f73be
SP
1587 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
1588 __ATAN_TWOM.
1589 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
1590
6d9f97e1
SP
1591 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
1592 their values.
1593 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
1594 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
1595 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
1596 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
1597
4c4febf5
AJ
15982012-12-28 Andreas Jaeger <aj@suse.de>
1599
af5843ef
AJ
1600 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
1601 values are from Linux 3.7.
1602
4c4febf5
AJ
1603 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
1604 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
1605
99136f82
SP
16062012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1607
2f216c3c 1608 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
1609 TRUE case.
1610
99136f82
SP
1611 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
1612 (norm): Likewise.
1613 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
1614 variables with preprocessor constants.
1615 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
1616 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
1617 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
1618
7fffbdff
BH
16192012-12-27 Bruno Haible <bruno@clisp.org>
1620
1621 [BZ #14317]
1622 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
1623 only if needed.
1624
b76eb5f0
SP
16252012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1626
31a7fe5c
SP
1627 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
1628 and use variable directly.
1629 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
1630
b76eb5f0
SP
1631 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
1632 MPONE.
1633 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
1634 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
1635 variable MPONE.
1636 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
1637 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
1638 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
1639 include directive. Remove local variable MPONE.
1640 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
1641 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
1642 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
1643
2c8bfe7d
DM
16442012-12-25 David S. Miller <davem@davemloft.net>
1645
1646 * version.h (RELEASE): Set to "development".
1647 (VERSION): Set to "2.17.90".
1648 * NEWS: Add 2.18 section.
1649
147d03b0
DM
16502012-12-21 David S. Miller <davem@davemloft.net>
1651
1652 * po/hr.po: Update from translation team.
1653
a8ebb2b9
AK
16542012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1655
1656 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
1657
95b4f1b6
SE
16582012-12-19 Steve Ellcey <sellcey@mips.com>
1659
b2d94007 1660 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 1661
cedb2a90
MS
16622012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1663
1664 * manual/contrib.texi (Contributors): Spelling correction.
1665
bbf527d6
DM
16662012-12-15 David S. Miller <davem@davemloft.net>
1667
1668 * po/ru.po: Update from translation team.
1669
bc38c906
DM
16702012-12-13 David S. Miller <davem@davemloft.net>
1671
85429b1a
DM
1672 * NEWS: Mention IFUNC testsuite enhancements.
1673
d283e353
DM
1674 * po/pl.po: Update from translation team.
1675 * po/bg.po: Likewise.
1676
bc38c906
DM
1677 * manual/contrib.texi (Contributors): Update entries for Hongjiu
1678 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
1679
a181b0d7
DM
16802012-12-11 David S. Miller <davem@davemloft.net>
1681
4641d57e
DM
1682 * po/sv.po: Update from translation team.
1683
f7bc6495
DM
1684 * po/vi.po: Update from translation team.
1685
6fc9048f
DM
1686 * po/cs.po: Update from translation team.
1687
a181b0d7
DM
1688 * po/de.po: Update from translation team.
1689 * po/eo.po: Likewise.
1690 * po/nl.po: Likewise.
1691
f70bfe80
SP
16922012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1693
3c8b4190
SP
1694 [BZ #14246]
1695 * manual/argp.texi (Argp Helper Functions): Move node to follow
1696 Argp Parsing State.
1697
f70bfe80
SP
1698 [BZ #14872]
1699 * manual/conf.texi (Limits on File System Capacity): Mention if
1700 terminating null is included in the max size.
1701
188f0adf
AJ
17022012-12-10 Andreas Jaeger <aj@suse.de>
1703
1704 * po/cs.po: Update from translation team.
1705
56e7d3ad
SP
17062012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
1707
1708 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
1709 void pointer and cast to uintptr_t.
1710 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
1711 path.
1712 * sysdeps/s390/s390-64/memcpy.S: Likewise.
1713 * sysdeps/s390/s390-64/memset.S: Likewise.
1714
76f2d2ea 17152012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
1716
1717 [BZ #14833]
1718 * menual/message.texi (Message Translation): Fix typos.
1719 (Helper programs for gettext): Likewise.
1720
67cbf9a2
AS
17212012-12-07 Andreas Schwab <schwab@linux-m68k.org>
1722
1723 [BZ #14898]
1724 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
1725 Change to -1.
1726
682d0e9a
DM
17272012-12-07 David S. Miller <davem@davemloft.net>
1728
1729 * po/libc.pot: Update.
1730
573cd484
RH
17312012-12-07 Richard Henderson <rth@redhat.com>
1732
7e9da188 1733 [BZ #10114]
573cd484
RH
1734 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
1735 normal/normal case to before the switch.
1736 (_FP_DIV): Likewise.
1737
e933a943
MF
17382012-12-06 Carlos O'Donell <carlos@systemhalted.org>
1739 Mike Frysinger <vapier@gentoo.org>
1740
1741 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
1742 check for __NR_fadvise64_64.
1743
82123268
CM
17442012-12-06 Chris Metcalf <cmetcalf@tilera.com>
1745
1746 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
1747 0, not just to plain "0" as a statement.
1748 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
1749 with cw.
1750
d9814526
JM
17512012-12-06 Joseph Myers <joseph@codesourcery.com>
1752
1753 * NEWS: Use sourceware.org in Bugzilla URL.
1754
7728c574
SP
17552012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
1756
f16946dd
SP
1757 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
1758 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
1759
5704bbcb
SP
1760 * stdio-common/tst-put-error.c (do_test): Add newline to the
1761 padded test to ensure flush.
1762
17aa0516
JL
17632012-12-05 Jeff Law <law@redhat.com>
1764
1765 * sunrpc/etc.rpc (fedfs_admin): Add entry.
1766
363313b5
JM
17672012-12-05 Joseph Myers <joseph@codesourcery.com>
1768
effbd42a
JM
1769 * README: Don't refer to ports add-on as distributed separately.
1770 Mention AArch64 in list of systems supported in the ports add-on.
1771
87600365
JM
1772 * LICENSES: Add more non-FSF copyright and license notices.
1773
a0d7066a
JM
1774 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
1775 ((unused)).
1776
66ca5a5b
JM
1777 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
1778
363313b5
JM
1779 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
1780 10000 as width of padded output.
1781
b37984ad
JM
17822012-12-04 Joseph Myers <joseph@codesourcery.com>
1783
9003570a
JM
1784 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
1785
b37984ad
JM
1786 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
1787 variable LX with __attribute__ ((unused)).
1788 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
1789 Likewise.
1790 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
1791 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
1792 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
1793 with __attribute__ ((unused)).
1794
c8df52ec
DM
17952012-12-04 David S. Miller <davem@abraco.davemloft.net>
1796
1797 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
1798
b3b099af
JM
17992012-12-04 Joseph Myers <joseph@codesourcery.com>
1800
c33aa6e3
JM
1801 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
1802 (CFLAGS-nldbl-acos.c): New variable.
1803 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
1804 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
1805 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
1806 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
1807 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
1808 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
1809 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
1810 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
1811 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
1812 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
1813 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
1814 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
1815 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
1816 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
1817 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
1818 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
1819 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
1820 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
1821 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
1822 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
1823 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
1824 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
1825 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
1826 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
1827 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
1828 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
1829 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
1830 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
1831 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
1832 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
1833 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
1834 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
1835 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
1836 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
1837 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
1838 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
1839 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
1840 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
1841 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
1842 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
1843 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
1844 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
1845 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
1846 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
1847 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
1848 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
1849 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
1850 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
1851 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
1852 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
1853 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
1854 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
1855 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
1856 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
1857 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
1858 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
1859 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
1860 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
1861 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
1862 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
1863 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
1864 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
1865 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
1866 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
1867 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
1868 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
1869 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
1870 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
1871 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
1872 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
1873 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
1874 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
1875 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
1876 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
1877 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
1878 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
1879 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
1880 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
1881 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
1882 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
1883 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
1884 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
1885 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
1886 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
1887 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
1888 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
1889 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
1890 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
1891 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
1892 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
1893 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
1894 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
1895 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
1896 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
1897 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
1898 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
1899 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
1900
20f0018d
JM
1901 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
1902 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
1903
b3b099af
JM
1904 [BZ #14914]
1905 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
1906 whole low double instead of just low 47 bits when splitting values
1907 into two parts.
1908
029264d1
AM
19092012-12-03 Allan McRae <allan@archlinux.org>
1910
1911 * manual/stdio.texi (Predefined Printf Handlers): Remove
1912 @hsep and @vsep usage.
1913
c9d6789e
MF
19142012-12-03 Mike Frysinger <vapier@gentoo.org>
1915
1916 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
1917 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
1918
4b7634a5
JL
19192012-12-03 Jeff Law <law@redhat.com>
1920
1921 * time/sys/time.h (settimeofday): Do not mark TV argument
1922 as __nonnull.
1923
eb6cbd24
MF
19242012-12-01 Mike Frysinger <vapier@gentoo.org>
1925
1926 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
1927 when currently writing and seek to current position when not.
1928 * libio/Makefile (tests): Remove bug-fclose1.
1929 * libio/bug-fclose1.c: Delete.
1930
f638872a
JM
19312012-12-01 Joseph Myers <joseph@codesourcery.com>
1932
1933 * manual/arith.texi (feenableexcept): Fix typo.
1934 (fedisableexcept): Likewise.
1935
48085d14
RM
19362012-11-30 Roland McGrath <roland@hack.frob.com>
1937
1938 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
1939 second, differently-typed declaration, rather than a cast.
1940
1a538b9f
SP
19412012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1942
1943 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
1944 * include/rpc/svc.h: ... here.
1945
d07f2ff1 19462012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
1947
1948 [BZ #13013]
1949 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
1950 depending n and resplen2 to catch cases where answer
1951 equals answerp2.
1952
c93ec1f0
CD
19532012-11-29 Carlos O'Donell <carlos@systemhalted.org>
1954
1955 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
1956 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
1957
37db69de
MF
19582012-11-29 Mike Frysinger <vapier@gentoo.org>
1959
1960 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
1961
e10c4e4f
RM
19622012-11-29 Roland McGrath <roland@hack.frob.com>
1963
1964 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
1965
2af1b328
JL
19662012-11-28 Jeff Law <law@redhat.com>
1967
1968 [BZ #13761]
1969 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
1970 dataset_temporary. Track alloca usage into alloca_used.
1971 If dataset is large allocate and release it via malloc/free.
1972
111db5b1
FW
19732012-06-04 Florian Weimer <fweimer@redhat.com>
1974
f06cc227 1975 [BZ #14197]
111db5b1
FW
1976 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
1977
dd694abd
DM
19782012-11-28 David S. Miller <davem@davemloft.net>
1979
1980 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1981
9984dd01
JM
19822012-11-28 Joseph Myers <joseph@codesourcery.com>
1983
1984 [BZ #14803]
1985 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
1986 of pi/2 rounded to nearest to 64 bits.
1987 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
1988 nearest to 64 bits.
1989 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
1990 bits.
1991
14bc93a9
JL
19922012-11-28 Jeff Law <law@redhat.com>
1993 Martin Osvald <mosvald@redhat.com>
1994
1995 [BZ #14889]
1996 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
1997 * sunrpc/svc.c: Include time.h.
1998 (__svc_accept_failed): New function.
1999 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
2000 any reason other than EINTR, call __svc_accept_failed.
2001 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
2002 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
2003
e3c6aa3a
AS
20042012-11-28 Andreas Schwab <schwab@suse.de>
2005
2006 * scripts/abilist.awk: Also handle indirect functions in .opd
2007 section.
2008
1bead169
JM
20092012-11-28 Joseph Myers <joseph@codesourcery.com>
2010
2011 [BZ #13881]
2012 * sysdeps/x86/fpu/powl_helper.c: New file.
2013 * sysdeps/x86/fpu/Makefile: Likewise.
2014 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
2015 (p3): New object.
2016 (__ieee754_powl): Use __powl_helper for finite arguments except
2017 integer exponents below 8.
2018 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
2019 (p3): New object.
2020 (__ieee754_powl): Use __powl_helper for finite arguments except
2021 integer exponents below 8.
2022 * math/libm-test.inc (pow_test): Add more tests and enable some
2023 previously disabled tests.
2024 * sysdeps/i386/fpu/libm-test-ulps: Update.
2025 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2026
0817d63d
SP
20272012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2028 Carlos O'Donell <carlos_odonell@mentor.com>
2029
2030 * nss/makedb.c (is_prime): Assert that input is odd and greater
2031 than 4. Note that fact in a comment too.
2032 (next_prime): Add 4 to input.
2033
de2fd463
SP
20342012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2035
2036 [BZ #11741]
2037 * libio/Makefile (tests): Add test case tst-fwrite-error.
2038 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
2039 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
2040 * libio/tst-fwrite-error.c: New test case.
2041
c515fb51
L
20422012-11-26 H.J. Lu <hongjiu.lu@intel.com>
2043
2044 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
2045 before casting to void *.
2046 * include/libc-internal.h (__pointer_type): New macro.
2047 (__integer_if_pointer_type_sub): Likewise.
2048 (__integer_if_pointer_type): Likewise.
2049 (cast_to_integer): Likewise.
2050 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
2051 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
2052 before casting to atomic64_t.
2053 (atomic_exchange_acq): Likewise.
2054 (__arch_exchange_and_add_body): Likewise.
2055 (__arch_add_body): Likewise.
2056 (atomic_add_negative): Likewise.
2057 (atomic_add_zero): Likewise.
2058
4cf77aa9
JM
20592012-11-26 Joseph Myers <joseph@codesourcery.com>
2060
2061 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
2062 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
2063 (add_fdes): Likewise.
2064 (linear_search_fdes): Likewise.
2065 (binary_search_unencoded_fdes): Likewise.
2066
d260b3b4
AS
20672012-11-26 Andreas Schwab <schwab@linux-m68k.org>
2068
2069 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
2070
67060746
AC
20712012-11-24 Adam Conrad <adconrad@0c3.net>
2072
2073 * configure.in: Autodetect C++ header directories.
2074 * configure: Regenerated.
2075
800938a1
MF
20762012-11-23 Mike Frysinger <vapier@gentoo.org>
2077
2078 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
2079
4e6e34e6
AS
20802012-11-23 Andreas Schwab <schwab@linux-m68k.org>
2081
2082 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2083
7c7feb47
JM
20842012-11-22 Joseph Myers <joseph@codesourcery.com>
2085
7184dcdf
JM
2086 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
2087 LDBL_MANT_DIG == 106]: Disable some tests.
2088 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
2089 Likewise.
2090 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
2091 Likewise.
2092
0a42601f
JM
2093 [BZ #14871]
2094 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
2095 input for small inputs. Return +/- pi/2 for large inputs.
2096 * math/libm-test.inc (atan_test): Add more tests.
2097
79c9b9fe
JM
2098 * sysdeps/generic/unwind-dw2-fde-glibc.c
2099 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
2100 __attribute__ ((unused)).
2101
c60d3bf2
JM
2102 [BZ #14645]
2103 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
2104 x * y if x and y are nonzero and z is zero.
2105
ef1e0867
JM
2106 [BZ #14811]
2107 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
2108 nonzero exponents with absolute value below 0x1p-117 to +/-
2109 0x1p-117.
2110
1468ded3
JM
2111 [BZ #14869]
2112 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
2113 up arguments below 2**-450, not just those below 2**-500.
2114 * math/libm-test.inc (hypot_test): Add another test.
2115
8e27e3cc
JM
2116 [BZ #14868]
2117 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
2118 Return a+b for ratio over 2**120, not 2**60.
2119 * math/libm-test.inc (hypot_test): Add another test.
2120
c9c0279b
JM
2121 * math/libm-test.inc (clog_test): Use
2122 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
2123 (clog10_test): Likewise.
2124
7c7feb47
JM
2125 [BZ #6778]
2126 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
2127
fff1530e
AS
21282012-11-22 Andreas Schwab <schwab@suse.de>
2129
2130 * sysdeps/i386/fpu/libm-test-ulps: Update.
2131
94558d30
PT
21322012-11-22 Pino Toscano <toscano.pino@tiscali.it>
2133
2134 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
2135 printf output with newline.
2136
7e1be741
L
21372012-11-21 H.J. Lu <hongjiu.lu@intel.com>
2138
6bfea974
L
2139 [BZ #14865]
2140 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
2141 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
2142 -z nodlopen, -z initfirst and -z execstack support.
2143 * configure: Regenerated.
2144
7e1be741
L
2145 * elf/elf.h (DF_1_NODIRECT): New macro.
2146 (DF_1_IGNMULDEF): Likewise.
2147 (DF_1_NOKSYMS): Likewise.
2148 (DF_1_NOHDR): Likewise.
2149 (DF_1_EDITED): Likewise.
2150 (DF_1_NORELOC): Likewise.
2151 (DF_1_SYMINTPOSE): Likewise.
2152 (DF_1_GLOBAUDIT): Likewise.
2153 (DF_1_SINGLETON): Likewise.
2154 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
2155 DT_1_SUPPORTED_MASK bits.
2156 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
2157
105ce2ce
CD
21582012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
2159
2160 * sysdeps/unix/make-syscalls.sh: Document prefixes.
2161
123be9de
TS
21622012-11-20 Thomas Schwinge <thomas@codesourcery.com>
2163
d072f3f7
TS
2164 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
2165 macro.
2166
123be9de
TS
2167 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
2168 (sendmmsg): Move declarations...
2169 * socket/sys/socket.h: ... here.
2170 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
2171 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
2172 include it from...
2173 * socket/recvmmsg.c: ... this new file.
2174 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
2175 (sendmmsg): Rename to __sendmmsg, create weak alias and make
2176 definition of __sendmmsg hidden.
2177 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
2178 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
2179 Move ENOSYS stub into and include it from...
2180 * socket/sendmmsg.c: ... this new file.
2181 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
2182 (sysdep_routines): Move recvmmsg and sendmmsg...
2183 * socket/Makefile (routines): ... here.
2184 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
2185 (GLIBC_PRIVATE): Add __sendmmsg.
2186 * include/sys/socket.h (__sendmmsg): Add declarations.
2187 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
2188 sendmmsg.
2189
cf9a5d18
JM
21902012-11-20 Joseph Myers <joseph@codesourcery.com>
2191
2192 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
2193 variable I1 with __attribute__ ((unused)).
2194 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
2195
ecd4caf9
JM
21962012-11-19 Joseph Myers <joseph@codesourcery.com>
2197
be14d48f
JM
2198 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
2199 DUMMY variables with __attribute__ ((unused)).
2200
ecd4caf9
JM
2201 * bits/byteswap.h: Include <bits/types.h>.
2202 (__bswap_64): Use __uint64_t instead of unsigned long long int.
2203
986cab95
PT
22042012-11-19 Pino Toscano <toscano.pino@tiscali.it>
2205
2206 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
2207 string_t. Do not manually set errno.
2208 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
2209 length with __strnlen. Make sure to both set errno and return it on
2210 failure.
2211
6d33cc9d
DM
22122012-11-19 David S. Miller <davem@davemloft.net>
2213
2214 With help from Joseph Myers.
2215 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
2216 very large arguments properly.
2217 * math/libm-test.inc (atan_test): New tests.
2218 (atan2_test): New tests.
2219 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2220 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2221
ee663277
JM
22222012-11-19 Joseph Myers <joseph@codesourcery.com>
2223
877f2d8e
JM
2224 [BZ #14856]
2225 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
2226 Define to 3.
2227
116fc08a
JM
2228 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
2229 [POSIX] (EADDRNOTAVAIL): Likewise.
2230 [POSIX] (EAFNOSUPPORT): Likewise.
2231 [POSIX] (EALREADY): Likewise.
2232 [POSIX] (ECONNABORTED): Likewise.
2233 [POSIX] (ECONNREFUSED): Likewise.
2234 [POSIX] (ECONNRESET): Likewise.
2235 [POSIX] (EDESTADDRREQ): Likewise.
2236 [POSIX] (EDQUOT): Likewise.
2237 [POSIX] (EHOSTUNREACH): Likewise.
2238 [POSIX] (EIDRM): Likewise.
2239 [POSIX] (EISCONN): Likewise.
2240 [POSIX] (ELOOP): Likewise.
2241 [POSIX] (EMULTIHOP): Likewise.
2242 [POSIX] (ENETDOWN): Likewise.
2243 [POSIX] (ENETUNREACH): Likewise.
2244 [POSIX] (ENOBUFS): Likewise.
2245 [POSIX] (ENODATA): Likewise.
2246 [POSIX] (ENOLINK): Likewise.
2247 [POSIX] (ENOMSG): Likewise.
2248 [POSIX] (ENOPROTOOPT): Likewise.
2249 [POSIX] (ENOSR): Likewise.
2250 [POSIX] (ENOSTR): Likewise.
2251 [POSIX] (ENOTCONN): Likewise.
2252 [POSIX] (ENOTSOCK): Likewise.
2253 [POSIX] (EOPNOTSUPP): Likewise.
2254 [POSIX] (EOVERFLOW): Likewise.
2255 [POSIX] (EPROTO): Likewise.
2256 [POSIX] (EPROTONOSUPPORT): Likewise.
2257 [POSIX] (EPROTOTYPE): Likewise.
2258 [POSIX] (ESTALE): Likewise.
2259 [POSIX] (ETIME): Likewise.
2260 [POSIX] (ETXTBSY): Likewise.
2261 [POSIX] (EWOULDBLOCK): Likewise.
2262 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
2263 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
2264 [POSIX] (SEEK_CUR): Likewise.
2265 [POSIX] (SEEK_END): Likewise.
2266 [POSIX || UNIX98] (mode_t): Do not require.
2267 [POSIX] (off_t): Likewise.
2268 [POSIX] (pid_t): Likewise.
2269 [POSIX] (sys/stat.h): Do not allow header.
2270 [POSIX] (unistd.h): Likewise.
2271 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
2272 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
2273 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
2274 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
2275 require.
2276 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
2277 sigevent): Specify elements.
2278 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
2279 entry.
2280 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
2281 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
2282
a483863f
JM
2283 * conform/data/cpio.h-data [POSIX]: Disable whole file.
2284 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
2285 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
2286 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
2287 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
2288 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
2289 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
2290 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
2291 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
2292 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
2293 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
2294 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
2295 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
2296 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
2297 Likewise.
2298 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
2299 Likewise.
2300 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
2301 Likewise.
2302 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
2303 Likewise.
2304 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
2305 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
2306 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
2307 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
2308 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
2309 Specify lower bound on value.
2310 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
2311 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
2312 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
2313 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
2314 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
2315 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
2316 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
2317 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
2318 value.
2319 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
2320 as optional.
2321 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
2322 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
2323 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
2324 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
2325 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
2326 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
2327 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
2328 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
2329 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
2330 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
2331 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
2332 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
2333 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
2334 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
2335 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
2336 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
2337 entry.
2338 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
2339 optional.
2340 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
2341 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
2342 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
2343 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
2344 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
2345 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
2346 Likewise.
2347 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
2348 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
2349 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
2350 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
2351 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
2352 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
2353 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
2354 as optional.
2355 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
2356 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
2357 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
2358 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
2359 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
2360 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
2361 specify as optional.
2362 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
2363 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
2364 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
2365 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
2366 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
2367 [XPG3] (NL_LANGMAX): Likewise.
2368 [POSIX || XPG3] (NL_MSGMAX): Likewise.
2369 [POSIX || XPG3] (NL_NMAX): Likewise.
2370 [POSIX || XPG3] (NL_SETMAX): Likewise.
2371 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
2372 [XPG3] (NZERO): Likewise.
2373 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
2374 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
2375 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
2376 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
2377 (REG_ERANGE): Expect.
2378 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
2379 optional-constant.
2380 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
2381 Use (void) in prototype.
2382 [POSIX] (*_t): Allow.
2383 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
2384 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
2385 (WRDE_BADVAL): Expect.
2386
5ba924e3
JM
2387 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
2388 expect.
2389 [XPG3 || XPG4] (O_RSYNC): Likewise.
2390 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
2391 Likewise.
2392 [XPG3 || XPG4] (pthread_sigmask): Likewise.
2393 [XPG3 || XPG4] (sigqueue): Likewise.
2394 [XPG3 || XPG4] (sigtimedwait): Likewise.
2395 [XPG3 || XPG4] (sigwaitinfo): Likewise.
2396 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
2397 [XPG3 || XPG4] (vsnprintf): Likewise.
2398 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
2399 Likewise.
2400 [XPG3 || XPG4] (blksize_t): Likewise.
2401 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
2402 Likewise.
2403 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
2404 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
2405 [XPG3 || XPG4] (struct itimerspec): Likewise.
2406 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
2407 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
2408 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
2409 [XPG3 || XPG4] (clockid_t): Likewise.
2410 [XPG3 || XPG4] (timer_t): Likewise.
2411 [XPG3 || XPG4] (clock_getres): Likewise.
2412 [XPG3 || XPG4] (clock_gettime): Likewise.
2413 [XPG3 || XPG4] (clock_settime): Likewise.
2414 [XPG3 || XPG4] (nanosleep): Likewise.
2415 [XPG3 || XPG4] (timer_create): Likewise.
2416 [XPG3 || XPG4] (timer_delete): Likewise.
2417 [XPG3 || XPG4] (timer_gettime): Likewise.
2418 [XPG3 || XPG4] (timer_getoverrun): Likewise.
2419 [XPG3 || XPG4] (timer_settime): Likewise.
2420 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
2421 [XPG3 || XPG4] (getlogin_r): Likewise.
2422 [XPG3 || XPG4] (pread): Likewise.
2423 [XPG3 || XPG4] (pthread_atfork): Likewise.
2424 [XPG3 || XPG4] (pwrite): Likewise.
2425
ee663277
JM
2426 [BZ #14835]
2427 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
2428 <bits/siginfo.h>.
2429
942caa16
PT
24302012-11-19 Pino Toscano <toscano.pino@tiscali.it>
2431
e19af380
PT
2432 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
2433 finalizing MALLSTREAM.
2434
942caa16
PT
2435 * sysdeps/mach/hurd/syncfs.c: New file.
2436
cfde9b46
SP
24372012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2438
2439 [BZ #14719]
2440 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
2441 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
2442 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
2443 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
2444 (_nss_dns_gethostbyname4_r): Likewise.
2445 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
2446 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
2447
f6da27e5
PH
24482012-11-19 Peng Haitao <penght@cn.fujitsu.com>
2449
2450 [BZ #13763]
2451 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
2452
6665d4a2
SM
24532012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
2454
1f51ee92
SM
2455 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
2456 * elf/cache.c (print_entry): Print ",AArch64" for
2457 FLAG_AARCH64_LIB64
2458
6665d4a2
SM
2459 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
2460 * elf/cache.c (print_entry): Print ",hard-float" for
2461 FLAG_ARM_LIBHF.
2462
05b227bd
DM
24632012-11-18 David S. Miller <davem@davemloft.net>
2464
2465 With help from Joseph Myers.
2466 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
2467 cutoff to 2**-13.
2468 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
2469 cutoff to 2**-25.
2470 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
2471 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
2472 small.
2473 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
2474 * math/libm-test.inc (y0_test): New tests.
2475 (y1_test): New tests.
2476 * sysdeps/i386/fpu/libm-test-ulps: Update.
2477 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2478 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2479
786b0b67
AS
24802012-11-18 Andreas Schwab <schwab@linux-m68k.org>
2481
2482 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
2483 64-bit targets.
2484 * configure: Regenerated.
2485
8e18b86d
DM
24862012-11-17 David S. Miller <davem@davemloft.net>
2487
2488 [BZ #14811]
2489 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
2490 nonzero exponents with absolute value below 0x1p-128 to +/-
2491 0x1p-128.
2492
531f1ae0
JM
24932012-11-17 Joseph Myers <joseph@codesourcery.com>
2494
12df29e2
JM
2495 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
2496
150dc1a0
JM
2497 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
2498
531f1ae0
JM
2499 * posix/getconf-speclist.c: New file.
2500 * posix/posix-envs.def: Likewise.
2501 * posix/confstr.c (START_ENV_GROUP): New macro.
2502 (END_ENV_GROUP): Likewise.
2503 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
2504 (KNOWN_PRESENT_ENV_STRING): Likewise.
2505 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
2506 (UNKNOWN_ENVIRONMENT): Likewise.
2507 (confstr): Include posix-envs.def instead of handling
2508 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
2509 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
2510 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
2511 (END_ENV_GROUP): Likewise.
2512 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
2513 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
2514 (UNKNOWN_ENVIRONMENT): Likewise.
2515 (__sysconf): Include posix-envs.def instead of handling associated
2516 cases directly here.
2517 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
2518 preprocessing getconf-speclist.c rather than running getconf or
2519 generating empty file.
2520
a93f9cbc
PT
25212012-11-16 Pino Toscano <toscano.pino@tiscali.it>
2522
2523 * scripts/check-local-headers.sh: Ignore 'mach' headers.
2524
d64d9f87
AL
25252012-11-16 Andrej Lajovic <natrij@gmail.com>
2526
2527 [BZ #14672]
2528 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
2529
447885eb
DM
25302012-11-16 David S. Miller <davem@davemloft.net>
2531
2532 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
2533 smaller than LDBL_EPSILON/2.0L, just return xm1.
2534
bcbf9830
L
25352012-11-16 H.J. Lu <hongjiu.lu@intel.com>
2536
2537 * elf/tst-array1.c (init): Set constructor priority to 1000.
2538 (fini): Set destructor priority to 1000.
2539 * elf/tst-array2dep.c: Likewise.
2540
2b766585
SP
25412012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2542
2543 [BZ #11741]
2544 * libio/fileops.c (_IO_new_file_write): Correctly return error.
2545 (_IO_new_file_xsputn): Also return EOF if none of the input
2546 data was written when overflow failed.
2547 * libio/iopadn.c (_IO_padn): Likewise.
2548 * libio/iowpadn.c (_IO_wpadn): Likewise.
2549 * stdio-common/tst-put-error.c: Add copyright notice.
2550 (do_test): Add case for printing padded string.
2551 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
2552 _IO_padn returned error.
2553 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
2554 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
2555 return EOF.
2556
b1848fde
SP
25572012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2558
2559 * libio/libioP.h: Add comment note that the references to C++
2560 bits are now obsolete.
2561
2fd89785
MS
25622012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2563
2564 * math/libm-test.inc (check_complex): Use asprintf.
2565
e3ea5409
JM
25662012-11-14 Joseph Myers <joseph@codesourcery.com>
2567
2568 * debug/pcprofiledump.c (print_version): Update copyright year.
2569 * malloc/memusagestat.c (print_version): Likewise.
2570
2e64d265
L
25712012-11-14 H.J. Lu <hongjiu.lu@intel.com>
2572
2573 [BZ #14831]
2574 * elf/Makefile (tests): Add tst-audit8.
2575 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
2576 ($(objpfx)tst-audit8.out): New target.
2577 (tst-audit8-ENV): New variable.
2578 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
2579 audit if l_reloc_result is NULL.
2580 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
2581 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
2582 * elf/tst-audit8.c: New file.
2583
c485e4d2
MS
25842012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2585
2586 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
2587 * misc/Makefile (CFLAGS-select.c): Define.
2588 * posix/Makefile (CFLAGS-pause.c): Define.
2589
3a0d900a
DM
25902012-11-13 David S. Miller <davem@davemloft.net>
2591
2592 * crypt/Makefile: Move test targets after toplevel Rules
2593 inclusion. Grab any necessary sysdep routines when linking.
2594 * crypt/md5.c (md5_process_block): Remove define, we will always
2595 name it __md5_process_block.
2596 (md5_finish_ctx): Update md5_process_block call.
2597 (md5_stream): Likewise.
2598 (md5_process_bytes): Likewise.
2599 (md5_process_block): Rename to __md5_process_block and move to ...
2600 * crypt/md5-block.c: ... here.
2601 * crypt/sha256.c (sha256_process_block): Move to ...
2602 * crypt/sha256-block.c: ... here.
2603 * crypt/sha512.c (sha512_process_block): Move to ...
2604 * crypt/sha512-block.c: ... here.
2605 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
2606 path.
2607 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
2608 * sysdeps/sparc/sparc64/multiarch/Makefile
2609 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
2610 crypt subdir.
2611 (localedef-aux): Add md5 crypto assembler when in locale subdir.
2612 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
2613 multiarch changes.
2614 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
2615 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
2616 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
2617 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
2618 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
2619 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
2620 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
2621 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
2622 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
2623 file.
2624 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
2625 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
2626 file.
2627 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
2628
8ca89318
JM
26292012-11-13 Joseph Myers <joseph@codesourcery.com>
2630
e27d476a
JM
2631 * timezone/tzselect.ksh: Update from tzcode git revision
2632 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
2633 * timezone/zdump.c: Likewise.
2634 * timezone/zic.c: Likewise.
2635 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
2636 in TZVERSION setting, not $(PKGVERSION).
2637 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
2638 REPORT_BUGS_TO settings.
2639
8ca89318
JM
2640 [BZ #14838]
2641 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
2642 macro.
2643
47594329
MS
26442012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2645
2646 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
2647 detection to immediately after _FP_ROUND().
2648 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
2649 bits are 0.
2650
640ac3f1
DM
26512012-11-11 David S. Miller <davem@davemloft.net>
2652
2653 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
2654 inttypes.h
2655 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
2656 __close rather than their public counterparts.
2657
3d2577bb
JM
26582012-11-10 Joseph Myers <joseph@codesourcery.com>
2659
2660 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
2661 file.
2662 [UNIX98] (sem_timedwait): Do not expect.
2663 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
2664 [XPG4 || UNIX98] (sockatmark): Do not expect.
2665 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
2666 (clock_getcpuclockid): Do not expect.
2667 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
2668 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
2669 Do not expect.
2670 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
2671 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
2672 [UNIX98] (vwscanf): Likewise.
2673 [UNIX98] (vswscanf): Likewise.
2674
fb1ae1ee
JM
26752012-11-09 Joseph Myers <joseph@codesourcery.com>
2676
9ec6f8bd
JM
2677 * timezone/version.h: Remove file.
2678 * timezone/README: Do not refer to version.h.
2679 * timezone/Makefile ($(objpfx)zic.o): New dependency on
2680 $(objpfx)version.h.
2681 ($(objpfx)zdump.o): Likewise.
c3f81911 2682 ($(objpfx)version.h): New target.
9ec6f8bd 2683
0aa8f8a1
JM
2684 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
2685 2012i.
2686 * timezone/README: Don't mention modification to tzselect.ksh.
2687 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
2688 work on unmodified tzselect.ksh. Substitute version numbers in
2689 tzselect.ksh.
2690
4e87147f
JM
2691 * Makefile (format-me): Remove.
2692 (INSTALL): Adjust indentation. Use commands directly instead of
2693 using $(format-me).
2694
8b748aed
JM
2695 * aclocal.m4 (ACX_PKGVERSION): New macro.
2696 (ACX_BUGURL): Likewise.
2697 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
2698 (PKGVERSION): New AC_DEFINE_UNQUOTED.
2699 (REPORT_BUGS_TO): Likewise.
2700 * configure: Regenerated.
2701 * config.h.in (PKGVERSION): New macro.
2702 (REPORT_BUGS_TO): Likewise.
2703 * config.make.in (PKGVERSION): New variable.
2704 (PKGVERSION_TEXI): Likewise.
2705 (REPORT_BUGS_TO): Likewise.
2706 (REPORT_BUGS_TEXI): Likewise.
2707 * Makefile (format-me): Use -I$(common-objpfx)manual.
2708 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
2709 ($(common-objpfx)manual/%): New target.
2710 (manual/%): Remove target.
2711 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
2712 (print_version): Use PKGVERSION.
2713 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
2714 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
2715 and REPORT_BUGS_TO.
2716 ($(objpfx)xtrace): Likewise.
2717 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
2718 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
2719 (print_version): Use PKGVERSION.
2720 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
2721 (do_version): Use PKGVERSION.
2722 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
2723 REPORT_BUGS_TO.
2724 (common-ldd-rewrite): Likewise.
2725 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
2726 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
2727 (print_version): Use PKGVERSION.
2728 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
2729 * elf/pldd.c (argp_program_bug_address): Remove variable.
2730 (more_help): New function.
2731 (argp): Use more_help.
2732 (print_version): Use PKGVERSION.
2733 * elf/sln.c (main): Use PKGVERSION.
2734 (usage): Use REPORT_BUGS_TO.
2735 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
2736 (top level): Use PKGVERSION.
2737 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
2738 (print_version): Use PKGVERSION.
2739 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
2740 (print_version): Use PKGVERSION.
2741 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
2742 (print_version): Use PKGVERSION.
2743 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
2744 (print_version): Use PKGVERSION.
2745 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
2746 (print_version): Use PKGVERSION.
2747 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
2748 (print_version): Use PKGVERSION.
2749 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
2750 and BUGURL.
2751 ($(objpfx)memusage): Likewise.
2752 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
2753 (do_version): Use PKGVERSION.
2754 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
2755 (print_version): Use PKGVERSION.
2756 * malloc/mtrace.pl ($PACKAGE): Remove variable.
2757 ($PKGVERSION): New variable.
2758 ($REPORT_BUGS_TO): Likewise.
2759 (usage): Use $REPORT_BUGS_TO.
2760 (top level): Use $PKGVERSION.
2761 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
2762 ($(objpfx)pkgvers.texi): New rule.
2763 ($(objpfx)stamp-pkgvers): Likewise.
2764 * manual/install.texi: Include pkgvers.texi.
2765 (--with-pkgversion): Document new configure option.
2766 (--with-bugurl): Likewise.
2767 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
2768 than necessarily for this particular distribution. Use
2769 REPORT_BUGS_TO for where to report bugs.
2770 * INSTALL: Regenerated.
2771 * manual/libc.texinfo: Include pkgvers.texi.
2772 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
2773 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
2774 (print_version): Use PKGVERSION.
2775 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
2776 (print_version): Use PKGVERSION.
2777 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
2778 (print_version): Use PKGVERSION.
2779 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
2780 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
2781 macro.
2782 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
2783 (print_version): Use PKGVERSION.
2784 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
2785 (print_version): Use PKGVERSION.
2786 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
2787 and PKGVERSION.
2788
92e4b6a9
JM
2789 * timezone/checktab.awk: Update from tzcode 2012i.
2790 * timezone/ialloc.c: Likewise.
2791 * timezone/private.h: Likewise.
2792 * timezone/scheck.c: Likewise.
2793 * timezone/tzfile.h: Likewise.
2794 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
2795 (TZVERSION): Hardcode tzcode version number.
2796 * timezone/zdump.c: Update from tzcode 2012i.
2797 * timezone/zic.c: Likewise.
2798 * timezone/version.h: New file.
2799 * timezone/README: Describe version.h. Update upstream location.
2800
9bde902c
JM
2801 [BZ #14824]
2802 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
2803 (mktemp): Enable declaration.
2804 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
2805 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
2806 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
2807 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
2808 Likewise.
2809 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
2810 Likewise.
2811 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
2812 Likewise.
2813 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
2814 Likewise.
2815 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
2816 Likewise.
2817 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
2818 Likewise.
2819
fb1ae1ee
JM
2820 [BZ #14821]
2821 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
2822 offset in buffer as u_int32_t not u_long. Consistently use memcpy
2823 for copies of such integer values.
2824 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
2825 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
2826
2c1adbcb
AJ
28272012-11-09 Andreas Jaeger <aj@suse.de>
2828
2829 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
2830 definitions and declarations that are provided by
2831 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
2832
d0f8457e
AK
28332012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2834
3a235abb 2835 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
2836 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
2837 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
2838 definition.
2839
57241e26
MS
28402012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2841
2842 * elf/elf.h: Update comment before AArch64 relocations.
2843
60e8270d
DM
28442012-11-07 David S. Miller <davem@davemloft.net>
2845
2846 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
2847 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
2848 (__start_context): Declare.
2849 (__makecontext_ret): Delete.
2850 (__makecontext): Hook up __start_context instead of
2851 __makecontext_ret.
2852 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
2853 (sysdep_routines): Add __start_context when in stdlib.
2854
0fbb0fbc
JM
28552012-11-07 Joseph Myers <joseph@codesourcery.com>
2856
2857 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
2858 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
2859 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
2860 hardcoded "nm".
2861 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
2862 (READELF): New variable. Use it instead of hardcoded "readelf".
2863
eb48db7e
L
28642012-11-07 H.J. Lu <hongjiu.lu@intel.com>
2865
2866 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
2867 * sysdeps/x86/Makefile: Here.
2868 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
2869 * sysdeps/x86/tst-xmmymm.sh: This.
2870
05bcf62a
JM
28712012-11-07 Joseph Myers <joseph@codesourcery.com>
2872
c4b6cf53
JM
2873 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
2874 expectations.
2875 [UNIX98] (pthread_barrier_t): Do not expect.
2876 [UNIX98] (pthread_barrierattr_t): Likewise.
2877 [UNIX98] (pthread_spinlock_t): Likewise.
2878 [UNIX98] (pthread_barrier_destroy): Likewise.
2879 [UNIX98] (pthread_barrier_init): Likewise.
2880 [UNIX98] (pthread_barrier_wait): Likewise.
2881 [UNIX98] (pthread_barrierattr_destroy): Likewise.
2882 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
2883 [UNIX98] (pthread_barrierattr_init): Likewise.
2884 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
2885 [UNIX98] (pthread_getcpuclockid): Likewise.
2886 [UNIX98] (pthread_mutex_timedlock): Likewise.
2887 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
2888 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
2889 [UNIX98] (pthread_sigmask): Likewise.
2890 [UNIX98] (pthread_spin_destroy): Likewise.
2891 [UNIX98] (pthread_spin_init): Likewise.
2892 [UNIX98] (pthread_spin_lock): Likewise.
2893 [UNIX98] (pthread_spin_trylock): Likewise.
2894 [UNIX98] (pthread_spin_unlock): Likewise.
2895 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
2896 Do not expect.
2897 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
2898 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
2899 [XPG3 || XPG4] (pthread_cond_t): Likewise.
2900 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
2901 [XPG3 || XPG4] (pthread_key_t): Likewise.
2902 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
2903 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
2904 [XPG3 || XPG4] (pthread_once_t): Likewise.
2905 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
2906 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
2907 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
2908 [XPG3 || XPG4] (pthread_t): Likewise.
2909
cbe6e120
JM
2910 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
2911 not expect.
2912 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
2913
1b126443
JM
2914 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
2915 Change function return type to int.
2916
b961a573
JM
2917 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
2918 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
2919 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
2920 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
2921 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
2922 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
2923 [!POSIX] (posix_madvise): Likewise.
2924 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
2925 && !UNIX98].
2926 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
2927 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
2928 (mode_t): Likewise.
2929 (posix_mem_offset): Likewise.
2930 (posix_typed_mem_get_info): Likewise.
2931 (posix_typed_mem_open): Likewise.
2932
9e188909
JM
2933 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
2934 Change condition to [XOPEN2K8].
2935
05bcf62a
JM
2936 * conform/conformtest.pl: Preprocess allow-header data with -x c
2937 instead of from stdin.
2938 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
2939 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
2940 [C99-based standards] (cerfc): Likewise.
2941 [C99-based standards] (cexp2): Likewise.
2942 [C99-based standards] (cexpm1): Likewise.
2943 [C99-based standards] (clog10): Likewise.
2944 [C99-based standards] (clog1p): Likewise.
2945 [C99-based standards] (clog2): Likewise.
2946 [C99-based standards] (clgamma): Likewise.
2947 [C99-based standards] (ctgamma): Likewise.
2948 [C99-based standards] (cerff): Likewise.
2949 [C99-based standards] (cerfcf): Likewise.
2950 [C99-based standards] (cexp2f): Likewise.
2951 [C99-based standards] (cexpm1f): Likewise.
2952 [C99-based standards] (clog10f): Likewise.
2953 [C99-based standards] (clog1pf): Likewise.
2954 [C99-based standards] (clog2f): Likewise.
2955 [C99-based standards] (clgammaf): Likewise.
2956 [C99-based standards] (ctgammaf): Likewise.
2957 [C99-based standards] (cerfl): Likewise.
2958 [C99-based standards] (cerfcl): Likewise.
2959 [C99-based standards] (cexp2l): Likewise.
2960 [C99-based standards] (cexpm1l): Likewise.
2961 [C99-based standards] (clog10l): Likewise.
2962 [C99-based standards] (clog1pl): Likewise.
2963 [C99-based standards] (clog2l): Likewise.
2964 [C99-based standards] (clgammal): Likewise.
2965 [C99-based standards] (ctgammal): Likewise.
2966 * conform/data/inttypes.h-data [C99-based standards]: Include
2967 stdint.h-data. Remove all expectations for stdint.h contents.
2968 [C99-based standards] (PRI*): Do not allow.
2969 [C99-based standards] (SCN*): Likewise.
2970 [C99-based standards] (*_t): Likewise.
2971 [C99-based-standards] (PRId8): Expect macro.
2972 [C99-based-standards] (PRIi8): Likewise.
2973 [C99-based-standards] (PRIo8): Likewise.
2974 [C99-based-standards] (PRIu8): Likewise.
2975 [C99-based-standards] (PRIx8): Likewise.
2976 [C99-based-standards] (PRIX8): Likewise.
2977 [C99-based-standards] (SCNd8): Likewise.
2978 [C99-based-standards] (SCNi8): Likewise.
2979 [C99-based-standards] (SCNo8): Likewise.
2980 [C99-based-standards] (SCNu8): Likewise.
2981 [C99-based-standards] (SCNx8): Likewise.
2982 [C99-based-standards] (PRIdLEAST8): Likewise.
2983 [C99-based-standards] (PRIiLEAST8): Likewise.
2984 [C99-based-standards] (PRIoLEAST8): Likewise.
2985 [C99-based-standards] (PRIuLEAST8): Likewise.
2986 [C99-based-standards] (PRIxLEAST8): Likewise.
2987 [C99-based-standards] (PRIXLEAST8): Likewise.
2988 [C99-based-standards] (SCNdLEAST8): Likewise.
2989 [C99-based-standards] (SCNiLEAST8): Likewise.
2990 [C99-based-standards] (SCNoLEAST8): Likewise.
2991 [C99-based-standards] (SCNuLEAST8): Likewise.
2992 [C99-based-standards] (SCNxLEAST8): Likewise.
2993 [C99-based-standards] (PRIdFAST8): Likewise.
2994 [C99-based-standards] (PRIiFAST8): Likewise.
2995 [C99-based-standards] (PRIoFAST8): Likewise.
2996 [C99-based-standards] (PRIuFAST8): Likewise.
2997 [C99-based-standards] (PRIxFAST8): Likewise.
2998 [C99-based-standards] (PRIXFAST8): Likewise.
2999 [C99-based-standards] (SCNdFAST8): Likewise.
3000 [C99-based-standards] (SCNiFAST8): Likewise.
3001 [C99-based-standards] (SCNoFAST8): Likewise.
3002 [C99-based-standards] (SCNuFAST8): Likewise.
3003 [C99-based-standards] (SCNxFAST8): Likewise.
3004 [C99-based-standards] (PRId16): Likewise.
3005 [C99-based-standards] (PRIi16): Likewise.
3006 [C99-based-standards] (PRIo16): Likewise.
3007 [C99-based-standards] (PRIu16): Likewise.
3008 [C99-based-standards] (PRIx16): Likewise.
3009 [C99-based-standards] (PRIX16): Likewise.
3010 [C99-based-standards] (SCNd16): Likewise.
3011 [C99-based-standards] (SCNi16): Likewise.
3012 [C99-based-standards] (SCNo16): Likewise.
3013 [C99-based-standards] (SCNu16): Likewise.
3014 [C99-based-standards] (SCNx16): Likewise.
3015 [C99-based-standards] (PRIdLEAST16): Likewise.
3016 [C99-based-standards] (PRIiLEAST16): Likewise.
3017 [C99-based-standards] (PRIoLEAST16): Likewise.
3018 [C99-based-standards] (PRIuLEAST16): Likewise.
3019 [C99-based-standards] (PRIxLEAST16): Likewise.
3020 [C99-based-standards] (PRIXLEAST16): Likewise.
3021 [C99-based-standards] (SCNdLEAST16): Likewise.
3022 [C99-based-standards] (SCNiLEAST16): Likewise.
3023 [C99-based-standards] (SCNoLEAST16): Likewise.
3024 [C99-based-standards] (SCNuLEAST16): Likewise.
3025 [C99-based-standards] (SCNxLEAST16): Likewise.
3026 [C99-based-standards] (PRIdFAST16): Likewise.
3027 [C99-based-standards] (PRIiFAST16): Likewise.
3028 [C99-based-standards] (PRIoFAST16): Likewise.
3029 [C99-based-standards] (PRIuFAST16): Likewise.
3030 [C99-based-standards] (PRIxFAST16): Likewise.
3031 [C99-based-standards] (PRIXFAST16): Likewise.
3032 [C99-based-standards] (SCNdFAST16): Likewise.
3033 [C99-based-standards] (SCNiFAST16): Likewise.
3034 [C99-based-standards] (SCNoFAST16): Likewise.
3035 [C99-based-standards] (SCNuFAST16): Likewise.
3036 [C99-based-standards] (SCNxFAST16): Likewise.
3037 [C99-based-standards] (PRId32): Likewise.
3038 [C99-based-standards] (PRIi32): Likewise.
3039 [C99-based-standards] (PRIo32): Likewise.
3040 [C99-based-standards] (PRIu32): Likewise.
3041 [C99-based-standards] (PRIx32): Likewise.
3042 [C99-based-standards] (PRIX32): Likewise.
3043 [C99-based-standards] (SCNd32): Likewise.
3044 [C99-based-standards] (SCNi32): Likewise.
3045 [C99-based-standards] (SCNo32): Likewise.
3046 [C99-based-standards] (SCNu32): Likewise.
3047 [C99-based-standards] (SCNx32): Likewise.
3048 [C99-based-standards] (PRIdLEAST32): Likewise.
3049 [C99-based-standards] (PRIiLEAST32): Likewise.
3050 [C99-based-standards] (PRIoLEAST32): Likewise.
3051 [C99-based-standards] (PRIuLEAST32): Likewise.
3052 [C99-based-standards] (PRIxLEAST32): Likewise.
3053 [C99-based-standards] (PRIXLEAST32): Likewise.
3054 [C99-based-standards] (SCNdLEAST32): Likewise.
3055 [C99-based-standards] (SCNiLEAST32): Likewise.
3056 [C99-based-standards] (SCNoLEAST32): Likewise.
3057 [C99-based-standards] (SCNuLEAST32): Likewise.
3058 [C99-based-standards] (SCNxLEAST32): Likewise.
3059 [C99-based-standards] (PRIdFAST32): Likewise.
3060 [C99-based-standards] (PRIiFAST32): Likewise.
3061 [C99-based-standards] (PRIoFAST32): Likewise.
3062 [C99-based-standards] (PRIuFAST32): Likewise.
3063 [C99-based-standards] (PRIxFAST32): Likewise.
3064 [C99-based-standards] (PRIXFAST32): Likewise.
3065 [C99-based-standards] (SCNdFAST32): Likewise.
3066 [C99-based-standards] (SCNiFAST32): Likewise.
3067 [C99-based-standards] (SCNoFAST32): Likewise.
3068 [C99-based-standards] (SCNuFAST32): Likewise.
3069 [C99-based-standards] (SCNxFAST32): Likewise.
3070 [C99-based-standards] (PRId64): Likewise.
3071 [C99-based-standards] (PRIi64): Likewise.
3072 [C99-based-standards] (PRIo64): Likewise.
3073 [C99-based-standards] (PRIu64): Likewise.
3074 [C99-based-standards] (PRIx64): Likewise.
3075 [C99-based-standards] (PRIX64): Likewise.
3076 [C99-based-standards] (SCNd64): Likewise.
3077 [C99-based-standards] (SCNi64): Likewise.
3078 [C99-based-standards] (SCNo64): Likewise.
3079 [C99-based-standards] (SCNu64): Likewise.
3080 [C99-based-standards] (SCNx64): Likewise.
3081 [C99-based-standards] (PRIdLEAST64): Likewise.
3082 [C99-based-standards] (PRIiLEAST64): Likewise.
3083 [C99-based-standards] (PRIoLEAST64): Likewise.
3084 [C99-based-standards] (PRIuLEAST64): Likewise.
3085 [C99-based-standards] (PRIxLEAST64): Likewise.
3086 [C99-based-standards] (PRIXLEAST64): Likewise.
3087 [C99-based-standards] (SCNdLEAST64): Likewise.
3088 [C99-based-standards] (SCNiLEAST64): Likewise.
3089 [C99-based-standards] (SCNoLEAST64): Likewise.
3090 [C99-based-standards] (SCNuLEAST64): Likewise.
3091 [C99-based-standards] (SCNxLEAST64): Likewise.
3092 [C99-based-standards] (PRIdFAST64): Likewise.
3093 [C99-based-standards] (PRIiFAST64): Likewise.
3094 [C99-based-standards] (PRIoFAST64): Likewise.
3095 [C99-based-standards] (PRIuFAST64): Likewise.
3096 [C99-based-standards] (PRIxFAST64): Likewise.
3097 [C99-based-standards] (PRIXFAST64): Likewise.
3098 [C99-based-standards] (SCNdFAST64): Likewise.
3099 [C99-based-standards] (SCNiFAST64): Likewise.
3100 [C99-based-standards] (SCNoFAST64): Likewise.
3101 [C99-based-standards] (SCNuFAST64): Likewise.
3102 [C99-based-standards] (SCNxFAST64): Likewise.
3103 [C99-based-standards] (PRIdMAX): Likewise.
3104 [C99-based-standards] (PRIiMAX): Likewise.
3105 [C99-based-standards] (PRIoMAX): Likewise.
3106 [C99-based-standards] (PRIuMAX): Likewise.
3107 [C99-based-standards] (PRIxMAX): Likewise.
3108 [C99-based-standards] (PRIXMAX): Likewise.
3109 [C99-based-standards] (SCNdMAX): Likewise.
3110 [C99-based-standards] (SCNiMAX): Likewise.
3111 [C99-based-standards] (SCNoMAX): Likewise.
3112 [C99-based-standards] (SCNuMAX): Likewise.
3113 [C99-based-standards] (SCNxMAX): Likewise.
3114 [C99-based-standards] (PRIdPTR): Likewise.
3115 [C99-based-standards] (PRIiPTR): Likewise.
3116 [C99-based-standards] (PRIoPTR): Likewise.
3117 [C99-based-standards] (PRIuPTR): Likewise.
3118 [C99-based-standards] (PRIxPTR): Likewise.
3119 [C99-based-standards] (PRIXPTR): Likewise.
3120 [C99-based-standards] (SCNdPTR): Likewise.
3121 [C99-based-standards] (SCNiPTR): Likewise.
3122 [C99-based-standards] (SCNoPTR): Likewise.
3123 [C99-based-standards] (SCNuPTR): Likewise.
3124 [C99-based-standards] (SCNxPTR): Likewise.
3125 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
3126 allow.
3127 * conform/data/stdint.h-data: Update comments to clarify
3128 requirements.
3129 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
3130 type.
3131 [C99-based standards] (INT8_MAX): Likewise.
3132 [C99-based standards] (INT16_MIN): Likewise.
3133 [C99-based standards] (INT16_MAX): Likewise.
3134 [C99-based standards] (INT32_MIN): Likewise.
3135 [C99-based standards] (INT32_MAX): Likewise.
3136 [C99-based standards] (INT64_MIN): Likewise.
3137 [C99-based standards] (INT64_MAX): Likewise.
3138 [C99-based standards] (UINT8_MAX): Likewise.
3139 [C99-based standards] (UINT16_MAX): Likewise.
3140 [C99-based standards] (UINT32_MAX): Likewise.
3141 [C99-based standards] (UINT64_MAX): Likewise.
3142 [C99-based standards] (INT_LEAST8_MIN): Likewise.
3143 [C99-based standards] (INT_LEAST8_MAX): Likewise.
3144 [C99-based standards] (INT_LEAST16_MIN): Likewise.
3145 [C99-based standards] (INT_LEAST16_MAX): Likewise.
3146 [C99-based standards] (INT_LEAST32_MIN): Likewise.
3147 [C99-based standards] (INT_LEAST32_MAX): Likewise.
3148 [C99-based standards] (INT_LEAST64_MIN): Likewise.
3149 [C99-based standards] (INT_LEAST64_MAX): Likewise.
3150 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
3151 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
3152 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
3153 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
3154 [C99-based standards] (INT_FAST8_MIN): Likewise.
3155 [C99-based standards] (INT_FAST8_MAX): Likewise.
3156 [C99-based standards] (INT_FAST16_MIN): Likewise.
3157 [C99-based standards] (INT_FAST16_MAX): Likewise.
3158 [C99-based standards] (INT_FAST32_MIN): Likewise.
3159 [C99-based standards] (INT_FAST32_MAX): Likewise.
3160 [C99-based standards] (INT_FAST64_MIN): Likewise.
3161 [C99-based standards] (INT_FAST64_MAX): Likewise.
3162 [C99-based standards] (UINT_FAST8_MAX): Likewise.
3163 [C99-based standards] (UINT_FAST16_MAX): Likewise.
3164 [C99-based standards] (UINT_FAST32_MAX): Likewise.
3165 [C99-based standards] (UINT_FAST64_MAX): Likewise.
3166 [C99-based standards] (INTPTR_MIN): Likewise.
3167 [C99-based standards] (INTPTR_MAX): Likewise.
3168 [C99-based standards] (UINTPTR_MAX): Likewise.
3169 [C99-based standards] (INTMAX_MIN): Likewise.
3170 [C99-based standards] (INTMAX_MAX): Likewise.
3171 [C99-based standards] (UINTMAX_MAX): Likewise.
3172 [C99-based standards] (PTRDIFF_MIN): Likewise.
3173 [C99-based standards] (PTRDIFF_MAX): Likewise.
3174 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
3175 [C99-based standards] (SIZE_MAX): Likewise.
3176 [C99-based standards] (WCHAR_MAX): Likewise.
3177 [C99-based standards] (WINT_MAX): Likewise.
3178 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
3179 constraint on value.
3180 [C99-based standards] (WCHAR_MIN): Likewise.
3181 [C99-based standards] (WINT_MIN): Likewise.
3182 [C99-based standards] (*_t): Allow.
3183 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
3184 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
3185 Include math.h-data and complex.h-data. Remove all expectations
3186 of math.h and complex.h contents.
3187 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
3188 at end of line.
3189 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
3190 (struct tm): Expect tag.
3191 [C99-based-standards] (wcstof): Expect function.
3192 [C99-based-standards] (wcstold): Likewise.
3193 [C99-based-standards] (wcstoll): Likewise.
3194 [C99-based-standards] (wcstoull): Likewise.
3195 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
3196 macro-int-constant. Specify type.
3197 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
3198 constraint on value.
3199 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
3200 Specify type.
3201 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
3202 Specify value.
3203 [ISO C standards]: Do not allow headers.
3204 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
3205 wcs[abcdefghijklmnopqrstuvwxyz]*.
3206 [ISO C standards] (*_t): Do not allow.
3207 * conform/data/wctype.h-data [C99-based standards] (iswblank):
3208 Expect function.
3209 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
3210 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
3211 Specify type.
3212 [ISO C standards]: Do not allow headers.
3213 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
3214 is[abcdefghijklmnopqrstuvwxyz]*.
3215 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
3216 to[abcdefghijklmnopqrstuvwxyz]*.
3217 [ISO C standards] (*_t): Do not allow.
3218 * conform/data/stdalign.h-data: New file.
3219 * conform/data/stdbool.h-data: Likewise.
3220 * conform/data/stdnoreturn.h-data: Likewise.
3221
7514feb8
RM
32222012-11-07 Roland McGrath <roland@hack.frob.com>
3223
3224 [BZ #14815]
3225 * manual/filesys.texi (Directory Entries): Typo fix.
3226 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
3227
19b2ecfc
MS
32282012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3229
3230 * elf/elf.h (EM_AARCH64): New macro.
3231 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
3232 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
3233 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
3234 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
3235 (R_AARCH64_TLSDESC): Likewise.
3236 (NT_ARM_TLS): Likewise.
3237 (NT_ARM_HW_BREAK): Likewise.
3238 (NT_ARM_HW_WATCH): Likewise.
3239
60e235ee
JM
32402012-11-07 Joseph Myers <joseph@codesourcery.com>
3241
3242 [BZ #14811]
3243 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
3244 (__ieee754_powl): Saturate nonzero exponents with absolute value
3245 below 0x1p-79 to +/- 0x1p-79.
3246 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
3247 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
3248 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
3249 nonzero exponents with absolute value below 0x1p-32 to +/-
3250 0x1p-32.
3251 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
3252 (__ieee754_powl): Saturate nonzero exponents with absolute value
3253 below 0x1p-79 to +/- 0x1p-79.
3254 * math/libm-test.inc (pow_test): Add more tests.
3255
0ab234b7
AK
32562012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3257
3258 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
3259 _dl_s390_cap_flags with kernel. Increase string length.
3260 (_dl_s390_platforms): Add z196 and zEC12.
3261
45832f74
JM
32622012-11-07 Joseph Myers <joseph@codesourcery.com>
3263
3264 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
3265 Change XOPEN21K to XOPEN2K.
3266
19218757
MK
32672012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
3268
3269 * string/memmove.c: Use memcpy when possible.
3270
c5f45721
AJ
32712012-11-06 Andreas Jaeger <aj@suse.de>
3272
3273 * po/eo.po: Update from translation team.
3274
82477c28
JM
32752012-11-06 Joseph Myers <joseph@codesourcery.com>
3276
3277 [BZ #14793]
3278 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
3279 exponent and small x and y exponents, scale x or y up. Increase
3280 by 2 the exponent used in scaling up.
3281 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3282 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3283 * math/libm-test.inc (fma_test): Add more tests.
3284 (fma_test_towardzero): Likewise.
3285 (fma_test_downward): Likewise.
3286 (fma_test_upward): Likewise.
3287
99252c8c
JM
32882012-11-05 Joseph Myers <joseph@codesourcery.com>
3289
acfa885f
JM
3290 [BZ #14805]
3291 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
3292 fenv_t *.
3293
99252c8c
JM
3294 [BZ #14801]
3295 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
3296 namespace for names of struct fields.
3297 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
3298 fenv_t fields.
3299 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
3300 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
3301
d6d98dea
ST
33022012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
3303
3304 [BZ #3665]
3305 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
3306
e10bb107
TS
33072012-11-04 Thomas Schwinge <thomas@codesourcery.com>
3308
3309 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
3310 PTR_DEMANGLE.
3311
3312 [BZ #5246]
3313 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
3314 PTR_DEMANGLE.
3315
a0c2940d
JM
33162012-11-04 Joseph Myers <joseph@codesourcery.com>
3317
3318 [BZ #14797]
3319 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
3320 definitely overflow as x * y not x * y + z.
3321 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3322 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3323 * math/libm-test.inc (fma_test): Add more tests.
3324 (fma_test_towardzero): Likewise.
3325 (fma_test_downward): Likewise.
3326 (fma_test_upward): Likewise.
3327
b830319d
TS
33282012-11-04 Thomas Schwinge <thomas@codesourcery.com>
3329
3330 [BZ #157]
3331
3332 * include/stub-tag.h: Remove file.
3333 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
3334 '#include' of it.
3335 * manual/maint.texi (Porting): Don't reference it.
3336 * Makerules ($(objpfx)stubs): Likewise.
3337 * dirent/closedir.c: Don't include <stub-tag.h>.
3338 * dirent/dirfd.c: Likewise.
3339 * dirent/fdopendir.c: Likewise.
3340 * dirent/getdents.c: Likewise.
3341 * dirent/getdents64.c: Likewise.
3342 * dirent/opendir.c: Likewise.
3343 * dirent/readdir.c: Likewise.
3344 * dirent/readdir64.c: Likewise.
3345 * dirent/readdir64_r.c: Likewise.
3346 * dirent/readdir_r.c: Likewise.
3347 * dirent/rewinddir.c: Likewise.
3348 * dirent/seekdir.c: Likewise.
3349 * dirent/telldir.c: Likewise.
3350 * gmon/profil.c: Likewise.
3351 * grp/setgroups.c: Likewise.
3352 * inet/if_index.c: Likewise.
3353 * io/access.c: Likewise.
3354 * io/chdir.c: Likewise.
3355 * io/chmod.c: Likewise.
3356 * io/chown.c: Likewise.
3357 * io/close.c: Likewise.
3358 * io/dup.c: Likewise.
3359 * io/dup2.c: Likewise.
3360 * io/dup3.c: Likewise.
3361 * io/euidaccess.c: Likewise.
3362 * io/faccessat.c: Likewise.
3363 * io/fchdir.c: Likewise.
3364 * io/fchmod.c: Likewise.
3365 * io/fchmodat.c: Likewise.
3366 * io/fchown.c: Likewise.
3367 * io/fchownat.c: Likewise.
3368 * io/fcntl.c: Likewise.
3369 * io/flock.c: Likewise.
3370 * io/fstatfs.c: Likewise.
3371 * io/fstatfs64.c: Likewise.
3372 * io/fstatvfs.c: Likewise.
3373 * io/fstatvfs64.c: Likewise.
3374 * io/futimens.c: Likewise.
3375 * io/fxstat.c: Likewise.
3376 * io/fxstat64.c: Likewise.
3377 * io/fxstatat.c: Likewise.
3378 * io/fxstatat64.c: Likewise.
3379 * io/getcwd.c: Likewise.
3380 * io/isatty.c: Likewise.
3381 * io/lchmod.c: Likewise.
3382 * io/lchown.c: Likewise.
3383 * io/link.c: Likewise.
3384 * io/linkat.c: Likewise.
3385 * io/lseek.c: Likewise.
3386 * io/lseek64.c: Likewise.
3387 * io/lxstat64.c: Likewise.
3388 * io/mkdir.c: Likewise.
3389 * io/mkdirat.c: Likewise.
3390 * io/mkfifo.c: Likewise.
3391 * io/mkfifoat.c: Likewise.
3392 * io/open.c: Likewise.
3393 * io/open64.c: Likewise.
3394 * io/openat.c: Likewise.
3395 * io/openat64.c: Likewise.
3396 * io/pipe.c: Likewise.
3397 * io/pipe2.c: Likewise.
3398 * io/poll.c: Likewise.
3399 * io/posix_fadvise.c: Likewise.
3400 * io/posix_fadvise64.c: Likewise.
3401 * io/posix_fallocate.c: Likewise.
3402 * io/posix_fallocate64.c: Likewise.
3403 * io/read.c: Likewise.
3404 * io/readlink.c: Likewise.
3405 * io/readlinkat.c: Likewise.
3406 * io/rmdir.c: Likewise.
3407 * io/sendfile.c: Likewise.
3408 * io/sendfile64.c: Likewise.
3409 * io/statfs.c: Likewise.
3410 * io/statfs64.c: Likewise.
3411 * io/statvfs.c: Likewise.
3412 * io/statvfs64.c: Likewise.
3413 * io/symlink.c: Likewise.
3414 * io/symlinkat.c: Likewise.
3415 * io/ttyname.c: Likewise.
3416 * io/ttyname_r.c: Likewise.
3417 * io/umask.c: Likewise.
3418 * io/unlink.c: Likewise.
3419 * io/unlinkat.c: Likewise.
3420 * io/utime.c: Likewise.
3421 * io/utimensat.c: Likewise.
3422 * io/write.c: Likewise.
3423 * io/xmknod.c: Likewise.
3424 * io/xmknodat.c: Likewise.
3425 * io/xstat.c: Likewise.
3426 * io/xstat64.c: Likewise.
3427 * login/getpt.c: Likewise.
3428 * login/grantpt.c: Likewise.
3429 * login/unlockpt.c: Likewise.
3430 * math/e_acoshl.c: Likewise.
3431 * math/e_acosl.c: Likewise.
3432 * math/e_asinl.c: Likewise.
3433 * math/e_atan2l.c: Likewise.
3434 * math/e_atanhl.c: Likewise.
3435 * math/e_coshl.c: Likewise.
3436 * math/e_expl.c: Likewise.
3437 * math/e_fmodl.c: Likewise.
3438 * math/e_gammal_r.c: Likewise.
3439 * math/e_hypotl.c: Likewise.
3440 * math/e_j0l.c: Likewise.
3441 * math/e_j1l.c: Likewise.
3442 * math/e_jnl.c: Likewise.
3443 * math/e_lgammal_r.c: Likewise.
3444 * math/e_log10l.c: Likewise.
3445 * math/e_log2l.c: Likewise.
3446 * math/e_logl.c: Likewise.
3447 * math/e_powl.c: Likewise.
3448 * math/e_rem_pio2l.c: Likewise.
3449 * math/e_sinhl.c: Likewise.
3450 * math/e_sqrtl.c: Likewise.
3451 * math/fclrexcpt.c: Likewise.
3452 * math/fedisblxcpt.c: Likewise.
3453 * math/feenablxcpt.c: Likewise.
3454 * math/fegetenv.c: Likewise.
3455 * math/fegetexcept.c: Likewise.
3456 * math/fegetround.c: Likewise.
3457 * math/feholdexcpt.c: Likewise.
3458 * math/fesetenv.c: Likewise.
3459 * math/fesetround.c: Likewise.
3460 * math/feupdateenv.c: Likewise.
3461 * math/fgetexcptflg.c: Likewise.
3462 * math/fraiseexcpt.c: Likewise.
3463 * math/fsetexcptflg.c: Likewise.
3464 * math/ftestexcept.c: Likewise.
3465 * math/k_cosl.c: Likewise.
3466 * math/k_rem_pio2l.c: Likewise.
3467 * math/k_sinl.c: Likewise.
3468 * math/k_tanl.c: Likewise.
3469 * math/s_asinhl.c: Likewise.
3470 * math/s_atanl.c: Likewise.
3471 * math/s_cbrtl.c: Likewise.
3472 * math/s_erfl.c: Likewise.
3473 * math/s_expm1l.c: Likewise.
3474 * math/s_log1pl.c: Likewise.
3475 * math/s_tanhl.c: Likewise.
3476 * misc/acct.c: Likewise.
3477 * misc/brk.c: Likewise.
3478 * misc/chflags.c: Likewise.
3479 * misc/chroot.c: Likewise.
3480 * misc/fchflags.c: Likewise.
3481 * misc/fgetxattr.c: Likewise.
3482 * misc/flistxattr.c: Likewise.
3483 * misc/fremovexattr.c: Likewise.
3484 * misc/fsetxattr.c: Likewise.
3485 * misc/fsync.c: Likewise.
3486 * misc/ftruncate.c: Likewise.
3487 * misc/futimes.c: Likewise.
3488 * misc/futimesat.c: Likewise.
3489 * misc/getdomain.c: Likewise.
3490 * misc/getdtsz.c: Likewise.
3491 * misc/gethostid.c: Likewise.
3492 * misc/gethostname.c: Likewise.
3493 * misc/getloadavg.c: Likewise.
3494 * misc/getpagesize.c: Likewise.
3495 * misc/getsysstats.c: Likewise.
3496 * misc/getxattr.c: Likewise.
3497 * misc/gtty.c: Likewise.
3498 * misc/ioctl.c: Likewise.
3499 * misc/lgetxattr.c: Likewise.
3500 * misc/listxattr.c: Likewise.
3501 * misc/llistxattr.c: Likewise.
3502 * misc/lremovexattr.c: Likewise.
3503 * misc/lsetxattr.c: Likewise.
3504 * misc/lutimes.c: Likewise.
3505 * misc/madvise.c: Likewise.
3506 * misc/mincore.c: Likewise.
3507 * misc/mlock.c: Likewise.
3508 * misc/mlockall.c: Likewise.
3509 * misc/mmap.c: Likewise.
3510 * misc/mprotect.c: Likewise.
3511 * misc/msync.c: Likewise.
3512 * misc/munlock.c: Likewise.
3513 * misc/munlockall.c: Likewise.
3514 * misc/munmap.c: Likewise.
3515 * misc/preadv.c: Likewise.
3516 * misc/preadv64.c: Likewise.
3517 * misc/ptrace.c: Likewise.
3518 * misc/pwritev.c: Likewise.
3519 * misc/pwritev64.c: Likewise.
3520 * misc/readv.c: Likewise.
3521 * misc/reboot.c: Likewise.
3522 * misc/remap_file_pages.c: Likewise.
3523 * misc/removexattr.c: Likewise.
3524 * misc/revoke.c: Likewise.
3525 * misc/select.c: Likewise.
3526 * misc/setdomain.c: Likewise.
3527 * misc/setegid.c: Likewise.
3528 * misc/seteuid.c: Likewise.
3529 * misc/sethostid.c: Likewise.
3530 * misc/sethostname.c: Likewise.
3531 * misc/setregid.c: Likewise.
3532 * misc/setreuid.c: Likewise.
3533 * misc/setxattr.c: Likewise.
3534 * misc/sstk.c: Likewise.
3535 * misc/stty.c: Likewise.
3536 * misc/swapoff.c: Likewise.
3537 * misc/swapon.c: Likewise.
3538 * misc/sync.c: Likewise.
3539 * misc/syncfs.c: Likewise.
3540 * misc/syscall.c: Likewise.
3541 * misc/truncate.c: Likewise.
3542 * misc/ualarm.c: Likewise.
3543 * misc/usleep.c: Likewise.
3544 * misc/ustat.c: Likewise.
3545 * misc/utimes.c: Likewise.
3546 * misc/vhangup.c: Likewise.
3547 * misc/writev.c: Likewise.
3548 * posix/_exit.c: Likewise.
3549 * posix/alarm.c: Likewise.
3550 * posix/execve.c: Likewise.
3551 * posix/fexecve.c: Likewise.
3552 * posix/fork.c: Likewise.
3553 * posix/fpathconf.c: Likewise.
3554 * posix/getaddrinfo.c: Likewise.
3555 * posix/getegid.c: Likewise.
3556 * posix/geteuid.c: Likewise.
3557 * posix/getgid.c: Likewise.
3558 * posix/getgroups.c: Likewise.
3559 * posix/getlogin.c: Likewise.
3560 * posix/getlogin_r.c: Likewise.
3561 * posix/getpgid.c: Likewise.
3562 * posix/getpid.c: Likewise.
3563 * posix/getppid.c: Likewise.
3564 * posix/getresgid.c: Likewise.
3565 * posix/getresuid.c: Likewise.
3566 * posix/getsid.c: Likewise.
3567 * posix/getuid.c: Likewise.
3568 * posix/glob64.c: Likewise.
3569 * posix/nanosleep.c: Likewise.
3570 * posix/pathconf.c: Likewise.
3571 * posix/pause.c: Likewise.
3572 * posix/posix_madvise.c: Likewise.
3573 * posix/pread.c: Likewise.
3574 * posix/pread64.c: Likewise.
3575 * posix/pwrite.c: Likewise.
3576 * posix/pwrite64.c: Likewise.
3577 * posix/sched_getaffinity.c: Likewise.
3578 * posix/sched_getp.c: Likewise.
3579 * posix/sched_gets.c: Likewise.
3580 * posix/sched_primax.c: Likewise.
3581 * posix/sched_primin.c: Likewise.
3582 * posix/sched_rr_gi.c: Likewise.
3583 * posix/sched_setaffinity.c: Likewise.
3584 * posix/sched_setp.c: Likewise.
3585 * posix/sched_sets.c: Likewise.
3586 * posix/sched_yield.c: Likewise.
3587 * posix/setgid.c: Likewise.
3588 * posix/setlogin.c: Likewise.
3589 * posix/setpgid.c: Likewise.
3590 * posix/setresgid.c: Likewise.
3591 * posix/setresuid.c: Likewise.
3592 * posix/setsid.c: Likewise.
3593 * posix/setuid.c: Likewise.
3594 * posix/sleep.c: Likewise.
3595 * posix/spawni.c: Likewise.
3596 * posix/sysconf.c: Likewise.
3597 * posix/times.c: Likewise.
3598 * posix/wait.c: Likewise.
3599 * posix/wait3.c: Likewise.
3600 * posix/wait4.c: Likewise.
3601 * posix/waitpid.c: Likewise.
3602 * resolv/gai_sigqueue.c: Likewise.
3603 * resource/getpriority.c: Likewise.
3604 * resource/getrlimit.c: Likewise.
3605 * resource/getrusage.c: Likewise.
3606 * resource/nice.c: Likewise.
3607 * resource/setpriority.c: Likewise.
3608 * resource/setrlimit.c: Likewise.
3609 * resource/ulimit.c: Likewise.
3610 * rt/aio_cancel.c: Likewise.
3611 * rt/aio_fsync.c: Likewise.
3612 * rt/aio_read.c: Likewise.
3613 * rt/aio_sigqueue.c: Likewise.
3614 * rt/aio_suspend.c: Likewise.
3615 * rt/aio_write.c: Likewise.
3616 * rt/clock_getres.c: Likewise.
3617 * rt/clock_gettime.c: Likewise.
3618 * rt/clock_nanosleep.c: Likewise.
3619 * rt/clock_settime.c: Likewise.
3620 * rt/lio_listio.c: Likewise.
3621 * rt/mq_close.c: Likewise.
3622 * rt/mq_getattr.c: Likewise.
3623 * rt/mq_notify.c: Likewise.
3624 * rt/mq_open.c: Likewise.
3625 * rt/mq_receive.c: Likewise.
3626 * rt/mq_send.c: Likewise.
3627 * rt/mq_setattr.c: Likewise.
3628 * rt/mq_timedreceive.c: Likewise.
3629 * rt/mq_timedsend.c: Likewise.
3630 * rt/mq_unlink.c: Likewise.
3631 * rt/shm_open.c: Likewise.
3632 * rt/shm_unlink.c: Likewise.
3633 * rt/timer_create.c: Likewise.
3634 * rt/timer_delete.c: Likewise.
3635 * rt/timer_getoverr.c: Likewise.
3636 * rt/timer_gettime.c: Likewise.
3637 * rt/timer_settime.c: Likewise.
3638 * setjmp/__longjmp.c: Likewise.
3639 * setjmp/setjmp.c: Likewise.
3640 * signal/kill.c: Likewise.
3641 * signal/killpg.c: Likewise.
3642 * signal/raise.c: Likewise.
3643 * signal/sigaction.c: Likewise.
3644 * signal/sigaltstack.c: Likewise.
3645 * signal/sigblock.c: Likewise.
3646 * signal/sigignore.c: Likewise.
3647 * signal/sigintr.c: Likewise.
3648 * signal/signal.c: Likewise.
3649 * signal/sigpause.c: Likewise.
3650 * signal/sigpending.c: Likewise.
3651 * signal/sigqueue.c: Likewise.
3652 * signal/sigreturn.c: Likewise.
3653 * signal/sigset.c: Likewise.
3654 * signal/sigsetmask.c: Likewise.
3655 * signal/sigstack.c: Likewise.
3656 * signal/sigsuspend.c: Likewise.
3657 * signal/sigtimedwait.c: Likewise.
3658 * signal/sigvec.c: Likewise.
3659 * signal/sigwait.c: Likewise.
3660 * signal/sigwaitinfo.c: Likewise.
3661 * signal/sysv_signal.c: Likewise.
3662 * socket/accept.c: Likewise.
3663 * socket/accept4.c: Likewise.
3664 * socket/bind.c: Likewise.
3665 * socket/connect.c: Likewise.
3666 * socket/getpeername.c: Likewise.
3667 * socket/getsockname.c: Likewise.
3668 * socket/getsockopt.c: Likewise.
3669 * socket/isfdtype.c: Likewise.
3670 * socket/listen.c: Likewise.
3671 * socket/recv.c: Likewise.
3672 * socket/recvfrom.c: Likewise.
3673 * socket/recvmsg.c: Likewise.
3674 * socket/send.c: Likewise.
3675 * socket/sendmsg.c: Likewise.
3676 * socket/sendto.c: Likewise.
3677 * socket/setsockopt.c: Likewise.
3678 * socket/shutdown.c: Likewise.
3679 * socket/sockatmark.c: Likewise.
3680 * socket/socket.c: Likewise.
3681 * socket/socketpair.c: Likewise.
3682 * stdio-common/ctermid.c: Likewise.
3683 * stdio-common/cuserid.c: Likewise.
3684 * stdio-common/remove.c: Likewise.
3685 * stdio-common/rename.c: Likewise.
3686 * stdio-common/renameat.c: Likewise.
3687 * stdio-common/tempname.c: Likewise.
3688 * stdlib/getcontext.c: Likewise.
3689 * stdlib/makecontext.c: Likewise.
3690 * stdlib/setcontext.c: Likewise.
3691 * stdlib/swapcontext.c: Likewise.
3692 * stdlib/system.c: Likewise.
3693 * streams/fattach.c: Likewise.
3694 * streams/fdetach.c: Likewise.
3695 * streams/getmsg.c: Likewise.
3696 * streams/getpmsg.c: Likewise.
3697 * streams/putmsg.c: Likewise.
3698 * streams/putpmsg.c: Likewise.
3699 * sysdeps/unix/bsd/getpt.c: Likewise.
3700 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
3701 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
3702 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
3703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
3704 Likewise.
3705 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
3706 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
3707 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
3708 * sysvipc/msgctl.c: Likewise.
3709 * sysvipc/msgget.c: Likewise.
3710 * sysvipc/msgrcv.c: Likewise.
3711 * sysvipc/msgsnd.c: Likewise.
3712 * sysvipc/semctl.c: Likewise.
3713 * sysvipc/semget.c: Likewise.
3714 * sysvipc/semop.c: Likewise.
3715 * sysvipc/semtimedop.c: Likewise.
3716 * sysvipc/shmat.c: Likewise.
3717 * sysvipc/shmctl.c: Likewise.
3718 * sysvipc/shmdt.c: Likewise.
3719 * sysvipc/shmget.c: Likewise.
3720 * termios/tcdrain.c: Likewise.
3721 * termios/tcflow.c: Likewise.
3722 * termios/tcflush.c: Likewise.
3723 * termios/tcgetattr.c: Likewise.
3724 * termios/tcgetpgrp.c: Likewise.
3725 * termios/tcsendbrk.c: Likewise.
3726 * termios/tcsetattr.c: Likewise.
3727 * termios/tcsetpgrp.c: Likewise.
3728 * time/adjtime.c: Likewise.
3729 * time/clock.c: Likewise.
3730 * time/getitimer.c: Likewise.
3731 * time/gettimeofday.c: Likewise.
3732 * time/setitimer.c: Likewise.
3733 * time/settimeofday.c: Likewise.
3734 * time/stime.c: Likewise.
3735 * time/time.c: Likewise.
3736
37372012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 3738
a20492cf
PT
3739 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
3740 /usr/old/bin.
3741
72e182e3
PT
3742 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
3743 instead of spaces.
3744 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
3745
fbeafede
JM
37462012-11-03 Joseph Myers <joseph@codesourcery.com>
3747
5b5b04d6
JM
3748 [BZ #14796]
3749 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
3750 FE_TONEAREST before applying Dekker multiplication and Knuth
3751 addition. Clear inexact exceptions and check for exact zero
3752 results afterwards.
3753 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3754 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
3755 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3756 * math/libm-test.inc (fma_test): Add more tests.
3757 (fma_test_towardzero): Likewise.
3758 (fma_test_downward): Likewise.
3759 (fma_test_upward): Likewise.
3760 * sysdeps/generic/math_private.h (default_libc_fesetround): New
3761 function.
3762 (libc_fesetround): New macro.
3763 (libc_fesetroundf): Likewise.
3764 (libc_fesetroundl): Likewise.
3765 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
3766 function.
3767 (libc_fesetround_387): Likewise.
3768 (libc_fesetroundf): New macro.
3769 (libc_fesetround): Likewise.
3770 (libc_fesetroundl): Likewise.
3771 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
3772 function.
3773 (libc_fesetroundf): New macro.
3774 (libc_fesetround): Likewise.
3775 (libc_fesetroundl): Likewise.
3776 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
3777 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
3778 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
3779 libm_hidden_ver.
3780 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
3781 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
3782 libm_hidden_def.
3783 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
3784 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
3785 libm_hidden_ver.
3786 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
3787 libm_hidden_def.
3788
fbeafede
JM
3789 [BZ #3439]
3790 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
3791 integer constant usable in #if and use that to give value to enum
3792 constant.
3793 (FE_DIVBYZERO): Likewise.
3794 (FE_UNDERFLOW): Likewise.
3795 (FE_OVERFLOW): Likewise.
3796 (FE_INVALID): Likewise.
3797 (FE_INVALID_SNAN): Likewise.
3798 (FE_INVALID_ISI): Likewise.
3799 (FE_INVALID_IDI): Likewise.
3800 (FE_INVALID_ZDZ): Likewise.
3801 (FE_INVALID_IMZ): Likewise.
3802 (FE_INVALID_COMPARE): Likewise.
3803 (FE_INVALID_SOFTWARE): Likewise.
3804 (FE_INVALID_SQRT): Likewise.
3805 (FE_INVALID_INTEGER_CONVERSION): Likewise.
3806 (FE_TONEAREST): Likewise.
3807 (FE_TOWARDZERO): Likewise.
3808 (FE_UPWARD): Likewise.
3809 (FE_DOWNWARD): Likewise.
3810 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
3811 (FE_DIVBYZERO): Likewise.
3812 (FE_OVERFLOW): Likewise.
3813 (FE_UNDERFLOW): Likewise.
3814 (FE_INEXACT): Likewise.
3815 (FE_TONEAREST): Likewise.
3816 (FE_DOWNWARD): Likewise.
3817 (FE_UPWARD): Likewise.
3818 (FE_TOWARDZERO): Likewise.
3819 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
3820 (FE_UNDERFLOW): Likewise.
3821 (FE_OVERFLOW): Likewise.
3822 (FE_DIVBYZERO): Likewise.
3823 (FE_INVALID): Likewise.
3824 (FE_TONEAREST): Likewise.
3825 (FE_TOWARDZERO): Likewise.
3826 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
3827 (FE_OVERFLOW): Likewise.
3828 (FE_UNDERFLOW): Likewise.
3829 (FE_DIVBYZERO): Likewise.
3830 (FE_INEXACT): Likewise.
3831 (FE_TONEAREST): Likewise.
3832 (FE_TOWARDZERO): Likewise.
3833 (FE_UPWARD): Likewise.
3834 (FE_DOWNWARD): Likewise.
3835 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
3836 (FE_DIVBYZERO): Likewise.
3837 (FE_OVERFLOW): Likewise.
3838 (FE_UNDERFLOW): Likewise.
3839 (FE_INEXACT): Likewise.
3840 (FE_TONEAREST): Likewise.
3841 (FE_DOWNWARD): Likewise.
3842 (FE_UPWARD): Likewise.
3843 (FE_TOWARDZERO): Likewise.
3844
105ca950
CM
38452012-11-02 Chris Metcalf <cmetcalf@tilera.com>
3846
3847 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
3848
a542b389
AS
38492012-11-03 Andreas Schwab <schwab@linux-m68k.org>
3850
3851 * scripts/cross-test-ssh.sh (command): Use newlines to separate
3852 commands. Quote $PWD.
3853 (blacklist_exports): Don't use remove_newlines. Replace "declare
3854 -x" by "export".
3855 (remove_newlines): Remove.
3856
f62c8abc
L
38572012-11-02 H.J. Lu <hongjiu.lu@intel.com>
3858
3859 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
3860 * stdlib/stdlib.h (atof): Moved to ...
3861 * include/bits/stdlib-float.h: Here. New file.
3862 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
3863 * stdlib/bits/stdlib-float.h: New file.
3864 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
3865 -mno-sse -mno-mmx.
3866 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
3867 <xmmintrin.h>.
3868
0155d5b2
JM
38692012-11-02 Joseph Myers <joseph@codesourcery.com>
3870
a68d0680
JM
3871 * conform/conformtest.pl (@headers): Add fenv.h.
3872 * conform/data/fenv.h-data: New file.
3873 * include/fenv.h [_ISOMAC]: Disable all contents of file except
3874 include of <math/fenv.h>.
3875
caf7f573
JM
3876 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
3877 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
3878 && !UNIX98]. Enables tests for XOPEN2K8.
3879 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
3880 POSIX2008]: Likewise.
3881
6c073ad6
JM
3882 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
3883 (struct rusage): Do not expect type or its members.
3884
0155d5b2
JM
3885 [BZ #3439]
3886 * math/math.h (FP_NAN): Define macro to integer constant usable in
3887 #if and use that to give value to enum constant.
3888 (FP_INFINITE): Likewise.
3889 (FP_ZERO): Likewise.
3890 (FP_SUBNORMAL): Likewise.
3891 (FP_NORMAL): Likewise.
3892
b5dcacb4
AS
38932012-11-02 Andreas Schwab <schwab@linux-m68k.org>
3894
3895 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
3896 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
3897 arguments.
3898
f7934be8
RM
38992012-11-02 Roland McGrath <roland@hack.frob.com>
3900
3901 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
3902 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
3903 autoconf-time if not.
3904 * configure.in: Remove AC_PREREQ.
3905
d7d08bde
TMQMF
39062012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3907
3908 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
3909 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
3910 of the internal implementation.
3911
dcdae19a
JM
39122012-11-02 Joseph Myers <joseph@codesourcery.com>
3913
3914 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
3915 except include of <misc/sys/syslog.h>.
3916
d6cffd3e
AS
39172012-11-01 Andreas Schwab <schwab@linux-m68k.org>
3918
3919 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
3920 function returns with a NULL context exit with zero.
3921
b3563932
TMQMF
39222012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3923
3924 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
3925
b288a93d
L
39262012-11-01 H.J. Lu <hongjiu.lu@intel.com>
3927
3928 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
3929 (run_program_cmd): This.
3930 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
3931 (tst_langinfo): New variable. Use it.
3932
a2421a68
SAS
39332012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
3934
3935 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
3936 floating point opcodes.
3937
6f796e1b
TS
39382012-11-01 Thomas Schwinge <thomas@codesourcery.com>
3939
7402596b
TS
3940 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
3941 variable.
3942
d0d4f868
TS
3943 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
3944
6f796e1b
TS
3945 * sysdeps/mach/hurd/powerpc: Remove directory.
3946 * sysdeps/mach/powerpc: Likewise.
3947
4da224a2
AS
39482012-11-01 Andreas Schwab <schwab@linux-m68k.org>
3949
3950 * scripts/check-local-headers.sh: Ignore c++ headers.
3951
341dd673
TS
39522012-11-01 Thomas Schwinge <thomas@codesourcery.com>
3953
3954 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
3955 __libc_cleanup_region_start argument.
3956
473611b2
JM
39572012-11-01 Joseph Myers <joseph@codesourcery.com>
3958
3959 [BZ #14784]
3960 [BZ #14785]
3961 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
3962 x * y using scaling, not as x * y + z.
3963 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3964 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3965 * math/libm-test.inc (fma_test): Add more tests.
3966 (fma_test_towardzero): Likewise.
3967 (fma_test_downward): Likewise.
3968 (fma_test_upward): Likewise.
3969
4078da3d
TS
39702012-11-01 Thomas Schwinge <thomas@codesourcery.com>
3971
3972 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
3973
903252aa
JM
39742012-10-31 Joseph Myers <joseph@codesourcery.com>
3975
3976 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
3977 New variable.
3978
cbc818d0
TS
39792012-10-31 Thomas Schwinge <thomas@codesourcery.com>
3980
3981 * rt/tst-shm.c (worker): Correct checking for mmap failure.
3982
5a03cb1e
AS
39832012-10-31 Andreas Schwab <schwab@linux-m68k.org>
3984
3985 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3986 Fix sort order.
3987 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3988 Likewise.
3989
90aff2ff
TMQMF
39902012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3991
3992 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3993 Fix the order of the list for glibc 2.17.
3994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3995 Likewise.
3996
1818fcb7
AS
39972012-10-31 Andreas Schwab <schwab@linux-m68k.org>
3998
3999 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4000
ef82f4da
JM
40012012-10-31 Joseph Myers <joseph@codesourcery.com>
4002
16a0e2ec
JM
4003 [BZ #14610]
4004 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
4005 for low part of x being zero before using __atanl (y).
4006 * math/libm-test.inc (atan2_test): Add another test.
4007
0eb69512
JM
4008 * manual/install.texi (Configuring and compiling): Document
4009 general use of test-wrapper and test-wrapper-env.
4010 * INSTALL: Regenerated.
4011
ef82f4da
JM
4012 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
4013 (__fma): Do not extract and scale down low bits on after-rounding
4014 systems when result rounded to normal precision would have normal
4015 exponent.
4016 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
4017 (__fmal): Do not extract and scale down low bits on after-rounding
4018 systems when result rounded to normal precision would have normal
4019 exponent.
4020 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
4021 (__fmal): Do not extract and scale down low bits on after-rounding
4022 systems when result rounded to normal precision would have normal
4023 exponent.
4024 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
4025 macro.
4026 (fma_test): Add more tests.
4027 (fma_test_towardzero): Likewise.
4028 (fma_test_downward): Likewise.
4029 (fma_test_upward): Likewise.
4030
954ef0d9
L
40312012-10-30 H.J. Lu <hongjiu.lu@intel.com>
4032
4033 * sysdeps/i386/tininess.h: Renamed to ...
4034 * sysdeps/x86/tininess.h: This.
4035 * sysdeps/x86_64/tininess.h: Removed.
4036
df61ffb2
JM
40372012-10-30 Joseph Myers <joseph@codesourcery.com>
4038
4039 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
4040 input. Use $(build-program-cmd).
4041 ($(objpfx)tst-array1-static.out): Likewise.
4042 ($(objpfx)tst-array2.out): Likewise.
4043 ($(objpfx)tst-array3.out): Likewise.
4044 ($(objpfx)tst-array4.out): Likewise.
4045 ($(objpfx)tst-array5.out): Likewise.
4046 ($(objpfx)tst-array5-static.out): Likewise.
4047
01767843
CM
40482012-10-30 Chris Metcalf <cmetcalf@tilera.com>
4049
47cc1490
CM
4050 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
4051 if defined.
4052
01767843
CM
4053 * nss/nsswitch.h (nss_interface_function): Provide new
4054 macro for use with NSS functions.
4055 * grp/initgroups.c: Use new macro.
4056 * nss/getXXbyYY.c: Likewise.
4057 * nss/getXXbyYY_r.c: Likewise.
4058 * nss/getXXent.c: Likewise.
4059 * nss/getXXent_r.c: Likewise.
4060 * sysdeps/posix/getaddrinfo.c: Likewise.
4061
8321aa97
AJ
40622012-10-30 Andreas Jaeger <aj@suse.de>
4063
4064 * po/ru.po: Update Russion translation from translation project.
4065
2a27fd6d
JM
40662012-10-30 Joseph Myers <joseph@codesourcery.com>
4067
8627a232
JM
4068 [BZ #14152]
4069 [BZ #14783]
4070 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
4071 result and shift together with sticky bit instead of replicating
4072 round-to-nearest rounding.
4073 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4074 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4075 * math/libm-test.inc (fma_test): Add more tests. Do not permit
4076 missing underflow exceptions.
4077 (fma_test_towardzero): Add more tests.
4078 (fma_test_downward): Likewise.
4079 (fma_test_upward): Likewise.
4080
2a27fd6d
JM
4081 [BZ #14047]
4082 * sysdeps/generic/tininess.h: New file.
4083 * sysdeps/i386/tininess.h: Likewise.
4084 * sysdeps/sh/tininess.h: Likewise.
4085 * sysdeps/x86_64/tininess.h: Likewise.
4086 * stdlib/tst-strtod-underflow.c: Likewise.
4087 * stdlib/tst-tininess.c: Likewise.
4088 * stdlib/strtod_l.c: Include <tininess.h>.
4089 (round_and_return): Do not set errno for exact underflow cases.
4090 Force an underflow exception when setting errno for underflow.
4091 Determine underflow based on rounding to normal precision if
4092 TININESS_AFTER_ROUNDING.
4093 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
4094 ERANGE for exact underflow cases.
4095 * stdlib/Makefile (tests): Add tst-tininess and
4096 tst-strtod-underflow.
4097 ($(objpfx)tst-tininess): Use $(link-libm).
4098 ($(objpfx)tst-strtod-underflow): Likewise.
4099
e7170363
AJ
41002012-10-30 Andreas Jaeger <aj@suse.de>
4101
e5088dc6
AJ
4102 [BZ#14767]
4103 * elf/Makefile (tests): Remove conditional for have-initfini-array
4104 since this is now always required and the variable does not exist
4105 anymore.
4106 (tests-static): Likewise.
4107 (modules-names): Likewise.
4108
e7170363 4109 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
4110
4111 * elf/tst-array1.c (fini_array): Make writeable so that it can be
4112 merged with constructor/destructor.
4113 (init_array): Likewise.
4114 * elf/tst-array2dep.c (fini_array): Likewise.
4115 (init_array): Likewise.
4116
60457d8a
MF
41172012-10-29 Mike Frysinger <vapier@gentoo.org>
4118
4119 * manual/message.texi: Delete @cartouche tags.
4120
8bece752
PT
41212012-10-29 Pino Toscano <toscano.pino@tiscali.it>
4122
94ce799f
PT
4123 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
4124 EOPNOTSUPP.
4125 * sysdeps/mach/hurd/fsync.c: Likewise.
4126
8bece752
PT
4127 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
4128 [_POSIX_REALTIME_SIGNALS]: Change condition to
4129 [_POSIX_REALTIME_SIGNALS > 0].
4130
86ebe6b1
AJ
41312012-10-27 Andreas Jaeger <aj@suse.de>
4132
4133 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
4134 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
4135 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
4136 [__WORDSIZE != 64]: Likewise.
4137
54399c08
L
41382012-10-26 H.J. Lu <hongjiu.lu@intel.com>
4139
4140 * iconvdata/tst-table.sh: Remove ${SHELL}.
4141 * iconvdata/tst-tables.sh: Likewise.
4142
e2211bed
DM
41432012-10-25 David S. Miller <davem@davemloft.net>
4144
4145 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4146 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
4147 of strtoull.
4148
f303f97c
DM
4149 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
4150 ifunc-impl-list.c
4151 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
4152 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
4153 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
4154 file.
4155
1e9d84cd
RM
41562012-10-25 Roland McGrath <roland@hack.frob.com>
4157
4158 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4159 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
4160 __getdirentries.
4161
df381762
JM
41622012-10-25 Joseph Myers <joseph@codesourcery.com>
4163 Jim Blandy <jimb@codesourcery.com>
4164
4165 * scripts/cross-test-ssh.sh: New file.
4166 * manual/install.texi (Configuring and compiling): Document use of
4167 cross-test-ssh.sh.
4168 * INSTALL: Regenerated.
4169
bff64913
PT
41702012-10-25 Pino Toscano <toscano.pino@tiscali.it>
4171
4172 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
4173 EOPNOTSUPP.
4174
25fe8932
JM
41752012-10-25 Joseph Myers <joseph@codesourcery.com>
4176
4177 * Makeconfig (run-program-prefix): Fix comment.
4178
cc1290d0
JM
41792012-10-24 Joseph Myers <joseph@codesourcery.com>
4180 Jim Blandy <jimb@codesourcery.com>
4181
4182 * Makeconfig (test-wrapper): New variable,
4183 (test-wrapper-env): Likewise.
4184 [$(cross-compiling) = yes && $(test-wrapper) != ""]
4185 (run-built-tests): Define to yes.
4186 (run-program-prefix): Use $(test-wrapper).
4187 (built-program-cmd): Likewise.
4188 * Rules (make-test-out): Use $(test-wrapper-env) and
4189 $(host-built-program-cmd).
4190 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
4191 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
4192 tst-pathopt.sh.
4193 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
4194 $(test-wrapper-env) to tst-rtld-load-self.sh.
4195 ($(objpfx)order2.out): Use $(test-wrapper).
4196 ($(objpfx)tst-initorder.out): Likewise.
4197 ($(objpfx)tst-initorder2.out): Likewise.
4198 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
4199 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
4200 (test_wrapper_env): New variable. Use it to run ld.so.
4201 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
4202 Use it to run ld.so.
4203 (test_wrapper_env): Likewise.
4204 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
4205 $(test-wrapper) to run-iconv-test.sh.
4206 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
4207 (ICONV): Use $test_wrapper.
4208 * posix/Makefile ($(objpfx)globtest.out): Pass
4209 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
4210 globtest.sh, not $(run-program-prefix).
4211 * posix/globtest.sh (run_via_rtld_prefix): New variable.
4212 (test_wrapper): Likewise.
4213 (test_wrapper_env): Likewise. Use it to run globtest with HOME
4214 set together with run_via_rtld_prefix.
4215 (run_program_prefix): Define in terms of test_wrapper and
4216 run_via_rtld_prefix.
4217
6e6249d0
RM
42182012-10-24 Roland McGrath <roland@hack.frob.com>
4219
4220 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
4221 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
4222 Targets removed.
4223
4224 [BZ #14743]
4225 * include/time.h: Remove librt_hidden_proto (clock_gettime).
4226 Declare __clock_getres, __clock_gettime, __clock_settime,
4227 __clock_nanosleep, and __clock_getcpuclockid.
4228 * rt/clock_gettime.c: Define __clock_gettime as an alias.
4229 Remove librt_hidden_def (clock_gettime).
4230 * sysdeps/unix/clock_gettime.c: Likewise.
4231 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
4232 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
4233 * rt/clock_getres.c: Define __clock_getres as an alias.
4234 * sysdeps/posix/clock_getres.c: Likewise.
4235 * rt/clock_settime.c: Define __clock_settime as an alias.
4236 * sysdeps/unix/clock_settime.c: Likewise.
4237 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
4238 * sysdeps/unix/clock_nanosleep.c: Likewise.
4239 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
4240 * rt/clock-compat.c: New file.
4241 * rt/Makefile (librt-routines): Add clock-compat and move
4242 $(clock-routines) to ...
4243 (routines): ... here, new variable.
4244 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
4245 Don't add get_clockfreq here.
4246 * rt/Versions (libc: GLIBC_2.17): New version set.
4247 Add clock_* symbols here.
4248 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
4249 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
4250 (GLIBC_2.17): Add clock_* symbols.
4251 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
4252 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
4253 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
4254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
4255 Likewise.
4256 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4257 Likewise.
4258 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
4259 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
4260 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
4261 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
4262 * NEWS: Mention the move.
4263
4264 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
4265 Use __open, __read, __close rather than their public counterparts.
4266 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4267 (__get_clockfreq_via_cpuinfo): Likewise.
4268 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
4269 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
4270
4271 * config.h.in (HAVE_IFUNC): New #undef.
4272 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
4273 was successful.
4274 * configure: Regenerated.
4275
0cae3f4b
MF
42762012-10-24 Mike Frysinger <vapier@gentoo.org>
4277
4278 * configure.in: Move READELF check to start of file.
4279 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
4280 libc_cv_asm_gnu_indirect_function in the process.
4281 * configure: Regenerated.
4282
8175a253
MF
42832012-10-24 Mike Frysinger <vapier@gentoo.org>
4284
4285 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
4286 send the output to /dev/null.
4287 (libc_cv_cc_with_libunwind): Likewise.
4288 (libc_cv_as_noexecstack): Likewise.
4289 * configure: Regenerate.
4290
0708a7d1
JM
42912012-10-24 Joseph Myers <joseph@codesourcery.com>
4292
10b40d85
JM
4293 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
4294
0708a7d1
JM
4295 * posix/globtest.sh (TMPDIR): Do not set.
4296 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
4297 (testout): Likewise.
4298
9fddec1a
AJ
42992012-10-24 Andreas Jaeger <aj@suse.de>
4300
3a8db22f
AJ
4301 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
4302 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
4303 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
4304 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
4305 posix_fadvise64, posix_fallocate64.
4306
9fddec1a
AJ
4307 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
4308 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
4309 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
4310 Likewise.
4311 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
4312 Likewise.
4313 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
4314
4315 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
4316 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
4317 <bits/fcntl-linux.h>.
4318 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
4319
4320 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
4321 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
4322 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
4323 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
4324 [__WORDSIZE != 64]: Likewise.
4325
ebfd1bbd
JM
43262012-10-23 Joseph Myers <joseph@codesourcery.com>
4327
03ac099f
JM
4328 * Makeconfig (run-built-tests): New variable.
4329 * Rules [$(cross-compiling) = yes]: Change condition to
4330 [$(run-built-tests) = no].
4331 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
4332 to [$(run-built-tests) = yes].
4333 * elf/Makefile [$(cross-compiling) = no]: Likewise
4334 * grp/Makefile [$(cross-compiling) = no]: Likewise.
4335 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
4336 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
4337 * intl/Makefile [$(cross-compiling) = no]: Likewise.
4338 * io/Makefile [$(cross-compiling) = no]: Likewise.
4339 * libio/Makefile [$(cross-compiling) = no]: Likewise.
4340 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
4341 * misc/Makefile [$(cross-compiling) = no]: Likewise.
4342 * posix/Makefile [$(cross-compiling) = no]: Likewise.
4343 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
4344 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
4345 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
4346 * string/Makefile [$(cross-compiling) = no]: Likewise.
4347
ebfd1bbd
JM
4348 * posix/Makefile ($(objpfx)globtest.out): Pass
4349 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
4350 $(rtld-installed-name).
4351 * posix/globtest.sh (elf_objpfx): Remove variable.
4352 (rtld_installed_name): Likewise.
4353 (library_path): Likewise.
4354 (run_program_prefix): New variable. Use for running globtest
4355 binary.
4356
166bca24
JB
43572012-10-23 Jim Blandy <jimb@codesourcery.com>
4358 Joseph Myers <joseph@codesourcery.com>
4359
4360 * Makeconfig (host-built-program-cmd): New variable.
4361 * elf/Makefile (tst-stackguard1-ARGS): Use
4362 $(host-built-program-cmd).
4363 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
4364 (tst-spawn-ARGS): Likewise.
4365 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
4366
88866099
JM
43672012-10-23 Joseph Myers <joseph@codesourcery.com>
4368 Jim Blandy <jimb@codesourcery.com>
4369
4370 * Makeconfig (run-via-rtld-prefix): New variable.
4371 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
4372 (built-program-cmd): Likewise.
4373
b4b4c296
AJ
43742012-10-22 Andreas Jaeger <aj@suse.de>
4375
4376 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
4377 __O_RSYNC if it exists, otherwise to O_SYNC.
4378
6fb54a22
JB
43792012-10-22 Jim Blandy <jimb@codesourcery.com>
4380 Joseph Myers <joseph@codesourcery.com>
4381
4382 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
4383 /dev/null.
4384 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
4385 from /dev/null
4386 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
4387 /dev/null.
4388
481b90b9
AJ
43892012-10-22 Andreas Jaeger <aj@suse.de>
4390
2a0e2669
AJ
4391 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
4392 Define always.
4393 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
4394
76e38f9a
AJ
4395 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4396 bits/fcntl-linux.h.
4397
7cd37b43
AJ
4398 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
4399 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
4400
481b90b9
AJ
4401 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
4402 to __O_LARGEFILE.
4403 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
4404 to __O_LARGEFILE.
4405
aba75984
JB
44062012-10-21 Jim Blandy <jimb@codesourcery.com>
4407 Joseph Myers <joseph@codesourcery.com>
4408
4409 * config.make.in (NM): New variable.
4410
88d4247f
AJ
44112012-10-21 Andreas Jaeger <aj@suse.de>
4412
4413 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
4414 definitions and declarations that are provided by
4415 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
4416
f2eed205
L
44172012-10-20 H.J. Lu <hongjiu.lu@intel.com>
4418
4419 [BZ #14683]
4420 * elf/Makefile (tests-static): Add tst-leaks1-static.
4421 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
4422 ($(objpfx)tst-leaks1-static): New rule.
4423 ($(objpfx)tst-leaks1-static-mem): Likewise.
4424 (tst-leaks1-static-ENV): New macro.
4425 * elf/dl-open.c (dl_open_worker): Check the main application
4426 only if SHARED is defined.
4427 * elf/tst-leaks1-static.c: New file.
4428
335e6931
AJ
44292012-10-20 Andreas Jaeger <aj@suse.de>
4430
4431 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
4432 generic values for Linux.
4433 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
4434 and declarations that are provided by <bits/fcntl-linux.h> and
4435 include <bits/fcntl-linux.h>.
4436 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
4437 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
4438
ac5c94d3
RM
44392012-10-20 Roland McGrath <roland@hack.frob.com>
4440
4441 * io/fcntl.h: Move include of <bits/types.h> to the top and
4442 include it unconditionally.
4443
de54b33a
L
44442012-10-20 H.J. Lu <hongjiu.lu@intel.com>
4445
228cfb01
L
4446 * wcsmbs/Makefile (tests-ifunc): New variable.
4447 (tests): Add $(tests-ifunc).
4448 * wcsmbs/test-wcschr-ifunc.c: New file.
4449 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
4450 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
4451 * wcsmbs/test-wcslen-ifunc.c: Likewise.
4452 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
4453 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
4454
69f07e5f
L
4455 * string/Makefile (tests-ifunc): New variable.
4456 (tests): Add $(tests-ifunc).
4457 * string/test-memccpy.c (TEST_NAME): New macro.
4458 * string/test-memchr.c (TEST_NAME): Likewise.
4459 * string/test-memcmp.c (TEST_NAME): Likewise.
4460 * string/test-memcpy.c (TEST_NAME): Likewise.
4461 * string/test-memmem.c (TEST_NAME): Likewise.
4462 * string/test-memmove.c (TEST_NAME): Likewise.
4463 * string/test-memset.c (TEST_NAME): Likewise.
4464 * string/test-rawmemchr.c (TEST_NAME): Likewise.
4465 * string/test-stpcpy.c (TEST_NAME): Likewise.
4466 * string/test-stpncpy.c (TEST_NAME): Likewise.
4467 * string/test-strcasecmp.c (TEST_NAME): Likewise.
4468 * string/test-strcasestr.c (TEST_NAME): Likewise.
4469 * string/test-strcat.c (TEST_NAME): Likewise.
4470 * string/test-strchr.c (TEST_NAME): Likewise.
4471 * string/test-strcmp.c(TEST_NAME): Likewise.
4472 * string/test-strcpy.c (TEST_NAME): Likewise.
4473 * string/test-strcspn.c (TEST_NAME): Likewise.
4474 * string/test-strlen.c (TEST_NAME): Likewise.
4475 * string/test-strncasecmp.c (TEST_NAME): Likewise.
4476 * string/test-strncmp.c (TEST_NAME): Likewise.
4477 * string/test-strncpy.c (TEST_NAME): Likewise.
4478 * string/test-strnlen.c (TEST_NAME): Likewise.
4479 * string/test-strpbrk.c (TEST_NAME): Likewise.
4480 * string/test-strrchr.c (TEST_NAME): Likewise.
4481 * string/test-strspn.c (TEST_NAME): Likewise.
4482 * string/test-strstr.c (TEST_NAME): Likewise.
4483 * string/test-bcopy-ifunc.c: New file.
4484 * string/test-bzero-ifunc.c: Likewise.
4485 * string/test-memccpy-ifunc.c: Likewise.
4486 * string/test-memchr-ifunc.c: Likewise.
4487 * string/test-memcmp-ifunc.c: Likewise.
4488 * string/test-memcpy-ifunc.c: Likewise.
4489 * string/test-memmem-ifunc.c: Likewise.
4490 * string/test-memmove-ifunc.c: Likewise.
4491 * string/test-mempcpy-ifunc.c: Likewise.
4492 * string/test-memset-ifunc.c: Likewise.
4493 * string/test-rawmemchr-ifunc.c: Likewise.
4494 * string/test-stpcpy-ifunc.c: Likewise.
4495 * string/test-stpncpy-ifunc.c: Likewise.
4496 * string/test-strcasecmp-ifunc.c: Likewise.
4497 * string/test-strcasestr-ifunc.c: Likewise.
4498 * string/test-strcat-ifunc.c: Likewise.
4499 * string/test-strchr-ifunc.c: Likewise.
4500 * string/test-strchrnul-ifunc.c: Likewise.
4501 * string/test-strcmp-ifunc.c: Likewise.
4502 * string/test-strcpy-ifunc.c: Likewise.
4503 * string/test-strcspn-ifunc.c: Likewise.
4504 * string/test-strlen-ifunc.c: Likewise.
4505 * string/test-strncasecmp-ifunc.c: Likewise.
4506 * string/test-strncat-ifunc.c: Likewise.
4507 * string/test-strncmp-ifunc.c: Likewise.
4508 * string/test-strncpy-ifunc.c: Likewise.
4509 * string/test-strnlen-ifunc.c: Likewise.
4510 * string/test-strpbrk-ifunc.c: Likewise.
4511 * string/test-strrchr-ifunc.c: Likewise.
4512 * string/test-strspn-ifunc.c: Likewise.
4513 * string/test-strstr-ifunc.c: Likewise.
4514
de54b33a
L
4515 * debug/Makefile (tests-ifunc): New variable.
4516 (tests): Add $(tests-ifunc).
4517 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
4518 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
4519 * debug/test-stpcpy_chk-ifunc.c: New file.
4520 * debug/test-strcpy_chk-ifunc.c: Likewise.
4521
88481c16
SP
45222012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
4523
4524 [BZ #13601]
4525 * elf/dl-load.c (open_verify): Retry read if the entire ELF
4526 header is not read in.
4527
135948bd
JM
45282012-10-19 Joseph Myers <joseph@codesourcery.com>
4529
89f1c388
JM
4530 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
4531 script to $(SHELL) as $<. Pass $(common-objpfx) to script
4532 directly. Pass built executable to script as
4533 $(built-program-cmd).
4534 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
4535 $testprogram without using LD_LIBRARY_PATH and $ldso.
4536
e40a0d21
JM
4537 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
4538 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
4539 $(rtld-installed-name).
4540 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
4541 (rtld_installed_name): Likewise.
4542 (library_path): Likewise.
4543 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
4544 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
4545 $(run-program-prefix) to tst-tables.sh.
4546 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
4547 it to run tst-table-from and tst-table-to.
4548 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
4549 Pass it to tst-table.sh.
4550 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
4551 $(run-program-prefix) to tst-gettext.sh.
4552 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
4553 tst-translit.sh.
4554 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
4555 tst-gettext2.sh.
4556 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
4557 to run tst-gettext.
4558 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
4559 to run tst-gettext2.
4560 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
4561 to run tst-translit.
4562 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
4563 $(run-program-prefix) to tst-mtrace.sh.
4564 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
4565 to run tst-mtrace.
4566 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
4567 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
4568 $(rtld-installed-name).
4569 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
4570 (rtld_installed_name): Likewise.
4571 (run_program_prefix): New variable. Use it to run wordexp-test.
4572
728e272a
JM
4573 * Makeconfig (ARCH): Remove all definitions.
4574 (machine): Likewise.
4575 [ARCH]: Remove conditional code.
4576 [!objdir]: Give error.
4577 [!objdir] (objpfx): Remove.
4578 [!objdir] (common-objpfx): Likewise.
4579 [!objdir] (common-objdir): Likewise.
4580 * configure.in (config_makefile): Remove. Hardcode Makefile in
4581 AC_CONFIG_FILES call.
4582 * configure: Regenerated.
4583
d528cdcf
JM
4584 [BZ #13888]
4585 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
4586 or TMPDIR.
4587 (testout): Likewise.
4588
135948bd
JM
4589 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
4590 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
4591 $(rtld-installed-name).
4592 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
4593 (rtld_installed_name): Likwise.
4594 (runit): Remove function.
4595 (run_getconf): New variable, Use it for running getconf binary.
4596
38c78296
L
45972012-10-18 H.J. Lu <hongjiu.lu@intel.com>
4598
4599 [BZ #14716]
4600 * string/test-memmem.c (check_result): New function.
4601 (do_one_test): Use it.
4602 (check1): New function.
4603 (test_main): Use it.
4604
d077f65f
MT
46052012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
4606
4607 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
4608
ced52c71
JM
46092012-10-18 Joseph Myers <joseph@codesourcery.com>
4610
4611 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
4612 (_G_LSEEK64): Likewise.
4613 (_G_MMAP64): Likewise.
4614 (_G_FSTAT64): Likewise.
4615 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
4616 (_G_LSEEK64): Likewise.
4617 (_G_MMAP64): Likewise.
4618 (_G_FSTAT64): Likewise.
4619 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
4620 unconditional. Call __mmap64 directly.
4621 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
4622 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
4623 __lseek64 directly.
4624 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
4625 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
4626 __mmap64 directly.
4627 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
4628 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
4629 __lseek64 directly.
4630 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
4631 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
4632 __lseek64 directly.
4633 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
4634 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
4635 __lseek64 directly.
4636 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
4637 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
4638 __fxstat64 directly.
4639 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
4640 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
4641 unconditional.
4642 (freopen64) [!_G_OPEN64]: Remove conditional code.
4643 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
4644 unconditional.
4645 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
4646 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
4647 unconditional.
4648 (ftello64) [!_G_LSEEK64]: Remove conditional code.
4649 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
4650 unconditional.
4651 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
4652 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
4653 unconditional.
4654 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
4655 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
4656 unconditional.
4657 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
4658 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
4659 unconditional.
4660 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
4661 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
4662 unconditional.
4663 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
4664
b741de23
SP
46652012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
4666
4667 [BZ #12140]
4668 * manual/memory.texi (Malloc Tunable Parameters): Add note
4669 about free list pointers overwriting some perturb bytes.
4670 Wording suggested by Roland McGrath.
4671
f9b9d9c9
JM
46722012-10-17 Joseph Myers <joseph@codesourcery.com>
4673
4674 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
4675 (lgamma_test): Likewise.
4676 (tgamma_test): Likewise.
4677
172a631a
FW
46782012-10-16 Florian Weimer <fweimer@redhat.com>
4679
4680 [BZ #14700]
4681 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
4682 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
4683
e9f37252
MK
46842012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
4685
4686 * NEWS: Mention BZ #14716.
4687 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
4688 when removing AVAILABLE1_USES_J macro.
4689
d394eb74
L
46902012-10-12 H.J. Lu <hongjiu.lu@intel.com>
4691
4692 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
4693 (__bswap_64): __uint64_t for unsigned 64-bit int.
4694
ca38dc17
AS
46952012-10-12 Andreas Schwab <schwab@linux-m68k.org>
4696
4697 * include/string.h (memmem): Declare libc hidden alias.
4698 * string/memmem.c (memmem): Define libc hidden alias.
4699 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
4700 __read, __close instead of open, read, close.
4701
9a387d1f
L
47022012-10-11 H.J. Lu <hongjiu.lu@intel.com>
4703
ac49ecaf
L
4704 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
4705 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
4706 global and hidden.
4707 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
4708 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
4709 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
4710 Likewise.
4711 (__rawmemchr_sse2): Likewise.
4712 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
4713 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
4714 (__strchr_sse2): Likewise.
4715 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
4716 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
4717 (__strcasecmp_sse2): Likewise.
4718 (__strncasecmp_sse2): Likewise.
4719 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
4720 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
4721 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
4722 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
4723 (__strrchr_sse2): Likewise.
4724 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
4725 ifunc-impl-list.c.
4726 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
4727 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
4728 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
4729 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
4730 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
4731 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
4732 * sysdeps/x86_64/multiarch/memset.S: Likewise.
4733 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
4734 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
4735 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
4736 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
4737 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
4738 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
4739 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
4740 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
4741 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
4742 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
4743 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
4744 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
4745 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
4746 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
4747 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
4748 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
4749 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
4750 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
4751 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
4752 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
4753 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
4754 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
4755 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
4756
b090e8ea
L
4757 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
4758 global and hidden.
4759 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
4760 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
4761 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
4762 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
4763 Likewise.
4764 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
4765 Likewise.
4766 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
4767 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
4768 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
4769 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
4770 ifunc-impl-list.c.
4771 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
4772 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
4773 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
4774 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
4775 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
4776 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
4777 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
4778 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
4779 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
4780 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
4781 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
4782 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
4783 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
4784 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
4785 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
4786 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
4787 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
4788 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
4789 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
4790 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
4791 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
4792 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
4793 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
4794 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
4795 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
4796 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
4797 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
4798 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
4799 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
4800 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
4801 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
4802 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
4803 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
4804 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
4805 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
4806 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
4807 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
4808 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
4809 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
4810 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
4811 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
4812
11dd4af6
L
4813 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
4814 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
4815 * include/ifunc-impl-list.h: New file.
4816 * misc/ifunc-impl-list.c: Likewise.
4817 * misc/Makefile (routines): Add ifunc-impl-list.
4818 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
4819 * string/test-string.h: Include <ifunc-impl-list.h>.
4820 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
4821 impl_array): New variables.
4822 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
4823 are defined.
4824 (test_init): Call __libc_ifunc_impl_list to initialize
4825 func_list if TEST_IFUNC and TEST_NAME are defined.
4826
9a387d1f
L
4827 * string/Makefile (strop-tests): Add bcopy and bzero.
4828 * string/test-bcopy.c: New file.
4829 * string/test-bzero.c: Likewise.
4830 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
4831 defined.
4832 * string/test-memset.c: Support bzero test if TEST_BZERO is
4833 defined.
4834 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
4835 __libc_memmove.
4836 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
4837 __libc_memset.
4838 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
4839 of memset.
4840
472371b9
JM
48412012-10-10 Joseph Myers <joseph@codesourcery.com>
4842
1e4a9536
JM
4843 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
4844 * configure: Regenerated.
4845
d173d12e
JM
4846 * Makeconfig (+link-static-before-libc): Don't include
4847 $(link-static-libc).
4848
472371b9
JM
4849 * libio/libio.h (_IO_pos_t): Remove.
4850
89a3ad0b
AO
48512012-10-10 Alexandre Oliva <aoliva@redhat.com>
4852
4853 * NEWS: Add note about FIPS mode. Wording suggested by Roland
4854 McGrath.
4855
e7451425
AO
48562012-10-10 Alexandre Oliva <aoliva@redhat.com>
4857
4858 * crypt/crypt-entry.c: Include fips-private.h.
4859 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
4860 * crypt/md5c-test.c (main): Tolerate disabled MD5.
4861 * sysdeps/unix/sysv/linux/fips-private.h: New file.
4862 * sysdeps/generic/fips-private.h: New file, dummy fallback.
4863
4ba74a35
AO
48642012-10-10 Alexandre Oliva <aoliva@redhat.com>
4865
4866 * crypt/crypt-private.h: Include stdbool.h.
4867 (_ufc_setup_salt_r): Return bool.
4868 * crypt/crypt-entry.c: Include errno.h.
4869 (__crypt_r): Return NULL with EINVAL for bad salt.
4870 * crypt/crypt_util.c (bad_for_salt): New.
4871 (_ufc_setup_salt_r): Check that salt is long enough and within
4872 the specified alphabet.
4873 * crypt/badsalttest.c: New file.
4874 * crypt/Makefile (tests): Add it.
4875 ($(objpfx)badsalttest): New.
4876
f96f1242
MK
48772012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
4878
4879 * NEWS: Add entry for BZ #14602.
4880
0e8e0c1c
JM
48812012-10-09 Joseph Myers <joseph@codesourcery.com>
4882
4883 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
4884 type-generic.
4885 * math/libm-test.inc: Update comment listing what functions and
4886 macros are tested.
4887 (isgreater_test): New function.
4888 (isgreaterequal_test): Likewise.
4889 (isless_test): Likewise.
4890 (islessequal_test): Likewise.
4891 (islessgreater_test): Likewise.
4892 (isunordered_test): Likewise.
4893 (main): Call the new functions.
4894
273edc5e
RM
48952012-10-09 Roland McGrath <roland@hack.frob.com>
4896
b8493de0
RM
4897 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
4898 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
4899 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
4900 * sysdeps/i386/configure: Regenerated.
4901 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
4902 * sysdeps/mach/configure: Regenerated.
4903 * sysdeps/mach/hurd/configure: Regenerated.
4904 * sysdeps/powerpc/configure: Regenerated.
4905 * sysdeps/powerpc/powerpc32/configure: Regenerated.
4906 * sysdeps/powerpc/powerpc64/configure: Regenerated.
4907 * sysdeps/s390/s390-32/configure: Regenerated.
4908 * sysdeps/s390/s390-64/configure: Regenerated.
4909 * sysdeps/sh/configure: Regenerated.
4910 * sysdeps/sparc/configure: Regenerated.
4911 * sysdeps/unix/sysv/linux/configure: Regenerated.
4912 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
4913 * sysdeps/x86_64/configure: Regenerated.
4914
273edc5e
RM
4915 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
4916 defined. Don't check if MAP is NULL.
4917
c8450f70
JM
49182012-10-09 Joseph Myers <joseph@codesourcery.com>
4919
4920 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
4921 (_G_stat64): Likewise.
4922 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
4923 (_G_stat64): Likewise.
4924 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
4925 instead of struct _G_stat64.
4926 * libio/fileops.c (mmap_remap_check): Likewise.
4927 (decide_maybe_mmap): Likewise.
4928 (_IO_new_file_seekoff): Likewise.
4929 (_IO_file_stat): Likewise.
4930 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
4931 _G_off64_t.
4932 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
4933 instead of struct _G_stat64.
4934 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
4935
57e605ba
MK
49362012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
4937
4938 [BZ #14602]
4939 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
4940 Replace with ...
4941 (CHECK_EOL): New macro.
4942 (two_way_short_needle): Check beginning of haystack for EOL. Use
4943 CHECK_EOL.
4944 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
4945 Replace with CHECK_EOL.
4946 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
4947 Replace with CHECK_EOL.
4948
ef1bb361
JM
49492012-10-08 Joseph Myers <joseph@codesourcery.com>
4950
4951 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
4952 type-generic.
4953 * math/libm-test.inc: Update comment listing what functions and
4954 macros are tested.
4955 (finite_test): New function.
4956 (isinf_test): Likewise.
4957 (isnan_test): Likewise.
4958 (fpclassify_test): Test subnormal input.
4959 (isfinite_test): Likewise.
4960 (isnormal_test): Likewise.
4961 (main): Call the new functions.
4962
55f11534
JN
49632012-10-08 Jonathan Nieder <jrnieder@gmail.com>
4964
4965 [BZ #14660]
4966 * Makerules (%.dynsym): Force C locale when running
4967 $(OBJDUMP) --dynamic-syms.
4968
1ab29350
AS
49692012-10-08 Andreas Schwab <schwab@linux-m68k.org>
4970
4971 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
4972 <stdint.h>.
4973
f1ecb7ef
DM
49742012-10-06 David S. Miller <davem@davemloft.net>
4975
4976 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
4977 upper 32-bits of the length value in %o2 since we use branch-on-register
4978 tests which consider the entire 64-bit register.
4979
5d41d91a
L
49802012-10-06 H.J. Lu <hongjiu.lu@intel.com>
4981
4982 * string/test-strstr.c (check2): Add a test for page boundary.
4983
3baddb72
DM
49842012-10-05 David S. Miller <davem@davemloft.net>
4985
4986 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
4987 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
4988 file.
4989 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
4990 sysdep_routines.
4991 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
4992 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
4993 and bzero when HWCAP_SPARC_CRYPTO is present.
4994
9cee5585
L
49952012-10-05 H.J. Lu <hongjiu.lu@intel.com>
4996
d7e0dab9
L
4997 [BZ #14602]
4998 * string/test-strstr.c (check2): New function.
4999 (test_main): Call check2.
5000
03759f47
L
5001 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
5002 and bug-strchr1.
5003 * string/bug-strcasestr1.c (do_test): Moved to ...
5004 * string/test-strcasestr.c (check1): Here. New function.
5005 (do_one_test): Break out result checking code into ...
5006 (check_result): This. New function.
5007 (do_one_test): Call check_result.
5008 (test_main): Call check1.
5009 * string/bug-strchr1.c (do_test): Moved to ...
5010 * string/test-strchr.c (check1): Here. New function.
5011 (do_one_test): Break out result checking code into ...
5012 (check_result): This. New function.
5013 (do_one_test): Call check_result.
5014 (test_main): Call check1.
5015 * string/bug-strstr1.c (main): Moved to ...
5016 * string/test-strchr.c (check1): Here. New function.
5017 (do_one_test): Break out result checking code into ...
5018 (check_result): This. New function.
5019 (do_one_test): Call check_result.
5020 (test_main): Call check1.
5021 * string/bug-strcasestr1.c: Removed.
5022 * string/bug-strchr1.c: Likewise.
5023 * string/bug-strstr1.c: Likewise.
5024
53cea63e
L
5025 * elf/Makefile (dl-routines): Add hwcaps.
5026 * elf/dl-support.c (_dl_important_hwcaps): Removed.
5027 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
5028 (_dl_important_hwcaps): Moved to ...
5029 * elf/dl-hwcaps.c: Here. New file.
5030 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
5031
9cee5585 5032 [BZ #14557]
bb859b06
L
5033 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
5034 if IS_IN_rtld isn't defined.
5035
9cee5585
L
5036 * elf/dl-support.c (_dl_sysinfo_map): New.
5037 Include "get-dynamic-info.h" and "setup-vdso.h".
5038 (_dl_non_dynamic_init): Call setup_vdso.
5039 * elf/dynamic-link.h: Don't include <assert.h>.
5040 (elf_get_dynamic_info): Moved to ...
5041 * elf/get-dynamic-info.h: Here. New file.
5042 * elf/dynamic-link.h: Include "get-dynamic-info.h".
5043 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
5044 * elf/setup-vdso.h: Here. New file.
5045 * elf/rtld.c: Include "setup-vdso.h".
5046 (dl_main): Call setup_vdso.
5047
23c31b76
JM
50482012-10-05 Joseph Myers <joseph@codesourcery.com>
5049
28234b07
JM
5050 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
5051 creal in comment listing functions tested. List finite, isinf,
5052 isnan, isless, islessequal, isgreater, isgreaterequal,
5053 islessgreater, isunordered, lgamma_r and pow10 as functions and
5054 macros not tested. Mention which functions not tested are aliases
5055 for other functions. Fix typo. Note that signs of NaNs are not
5056 tested.
5057
23c31b76
JM
5058 * scripts/config.guess: Update from config.git.
5059 * scripts/config.sub: Likewise.
5060
9043e228
RM
50612012-10-04 Roland McGrath <roland@hack.frob.com>
5062
5063 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
5064 * misc/madvise.c (madvise): Renamed to __madvise.
5065 Make madvise a weak alias.
5066 * include/sys/mman.h: Declare __madvise.
5067 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
5068 * sysdeps/unix/syscalls.list
5069 (madvise): Make __madvise the strong name, and madvise a weak alias.
5070 * sysdeps/unix/sysv/linux/syscalls.list
5071 (madvise, mmap): Remove redundant entries.
5072 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
5073 * malloc/malloc.c (mtrim): Likewise.
5074 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
5075
f57f8055
RM
50762012-10-03 Roland McGrath <roland@hack.frob.com>
5077
5078 * sysdeps/mach/hurd/dl-cache.c: File removed.
5079 * config.h.in (USE_LDCONFIG): New #undef.
5080 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
5081 * configure: Regenerated.
5082 * elf/Makefile (dl-routines): Add dl-cache only under
5083 [$(use-ldconfig) = yes].
5084 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
5085 cache on [USE_LDCONFIG].
5086 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
5087 [USE_LDCONFIG].
5088 * elf/rtld.c (dl_main): Likewise.
5089
5bb0c10a
PT
50902012-10-03 Pino Toscano <toscano.pino@tiscali.it>
5091
5092 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
5093 _SC_LEVEL4_CACHE_LINESIZE.
5094
010188c6
RM
50952012-10-03 Roland McGrath <roland@hack.frob.com>
5096
5097 * sysdeps/unix/bsd/confstr.h: File removed.
5098
b6c5ec07
AO
50992012-10-02 Alexandre Oliva <aoliva@redhat.com>
5100
5101 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
5102 sys/sdt-config.h.
5103
408223d4
RM
51042012-10-02 Roland McGrath <roland@hack.frob.com>
5105
5106 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
5107 Make 'mapoff' field ElfW(Off) rather than off_t.
5108
bb9510dc
DL
51092012-10-02 Dmitry V. Levin <ldv@altlinux.org>
5110
fc997c6e
DL
5111 * nscd/Makefile: Remove nscd-cflags and all its users.
5112 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
5113 (CFLAGS-nonlib): Add compiler flags for nscd modules.
5114
bb9510dc
DL
5115 [BZ #10631]
5116 * malloc.c (malloc_printerr): Clarify error message.
5117
05699367
L
51182012-10-02 H.J. Lu <hongjiu.lu@intel.com>
5119
5120 [BZ #14648]
5121 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5122 Set bit_FMA_Usable if FMA is supported.
5123 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
5124 macro.
5125 (bit_FMA4_Usable): Updated.
5126 (index_FMA_Usable): New macro.
5127 (CPUID_FMA): Likewise
5128 (HAS_FMA): Defined with bit_FMA_Usable.
5129
51367701
RM
51302012-10-01 Roland McGrath <roland@hack.frob.com>
5131
5132 * bits/types.h (__swblk_t): Type removed.
5133 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
5134 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
5135 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5136 (__SWBLK_T_TYPE): Likewise.
5137 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
5138 (__SWBLK_T_TYPE): Likewise.
5139 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5140 (__SWBLK_T_TYPE): Likewise.
5141 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5142 (__SWBLK_T_TYPE): Likewise.
5143
4d57bf63 51442012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 5145 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
5146
5147 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
5148 (xdr_mapname): Use YPMAXMAP as maxsize.
5149 (xdr_peername): Use YPMAXPEER as maxsize.
5150 (xdr_keydat): Use YPAXRECORD as maxsize.
5151 (xdr_valdat): Use YPMAXRECORD as maxsize.
5152
93c65d43
RM
51532012-10-01 Roland McGrath <roland@hack.frob.com>
5154
497a03d6
RM
5155 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
5156
93c65d43
RM
5157 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
5158 * csu/init-first.c: ... here.
5159 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
5160 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
5161 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
5162 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
5163 * sysdeps/i386/init-first.c: File removed.
5164 * sysdeps/sh/init-first.c: File removed.
5165
bec749fd
JM
51662012-10-01 Joseph Myers <joseph@codesourcery.com>
5167
5168 [BZ #14645]
5169 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
5170 if x * y might underflow to zero and z is zero.
5171 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5172 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5173 * math/libm-test.inc (min_subnorm_value): New variable.
5174 (fma_test): Add more tests.
5175 (fma_test_towardzero): Likewise.
5176 (fma_test_downward): Likewise
5177 (fma_test_upward): Likewise.
5178 (initialize): Set min_subnorm_value.
5179
8ec5b013
JM
51802012-09-29 Joseph Myers <joseph@codesourcery.com>
5181
5182 [BZ #14638]
5183 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
5184 0 + 0.
5185 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
5186 mode for addition resulting in exact zero.
5187 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
5188 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
5189 exact 0 + 0.
5190 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
5191 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5192 * math/libm-test.inc (fma_test): Add more tests.
5193 (fma_test_towardzero): New function.
5194 (fma_test_downward): Likewise.
5195 (fma_test_upward): Likewise.
5196 (main): Call the new functions.
5197
b1fa802e
DM
51982012-09-28 David S. Miller <davem@davemloft.net>
5199
5200 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
5201
d3b9fd9e
RM
52022012-09-28 Roland McGrath <roland@hack.frob.com>
5203
ea4d37b3
RM
5204 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
5205 instead of SIGALRM.
5206
ac51c949
RM
5207 * sysdeps/gnu/_G_config.h: Moved to ...
5208 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
5209 * sysdeps/mach/hurd/_G_config.h: Moved to ...
5210 * sysdeps/generic/_G_config.h: ... here.
5211
28c195f7
RM
5212 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
5213
848917f9
RM
5214 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
5215
6bacf05b
RM
5216 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
5217 Conditionalize target on [libnss_test1.so-version].
5218
91363dbb
RM
5219 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
5220
cc87f7d8
RM
5221 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
5222 (elfobjdir): Move out of conditionals.
5223
b1c608fe
RM
5224 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
5225 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
5226 (__nss_lookup_function): Conditionalize label remove_from_tree on
5227 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 5228
1d9a6d96
DM
52292012-09-28 David S. Miller <davem@davemloft.net>
5230
5231 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
5232 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
5233 file.
5234 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
5235 sysdep_routines.
5236 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
5237 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
5238 when HWCAP_SPARC_CRYPTO is present.
5239
72581615
PT
52402012-09-28 Pino Toscano <toscano.pino@tiscali.it>
5241
5242 * io/tst-mknodat.c: Create a FIFO instead of a socket.
5243
715a900c
JL
52442012-09-28 Andreas Schwab <schwab@linux-m68k.org>
5245
5246 [BZ #6530]
5247 * stdio-common/vfprintf.c (process_string_arg): Revert
5248 2000-07-22 change.
5249
52502011-09-28 Jonathan Nieder <jrnieder@gmail.com>
5251
5252 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
5253 for testcase.
5254 * stdio-common/tst-sprintf.c: Include <locale.h>
5255 (main): Test sprintf's handling of incomplete multibyte
5256 characters.
5257
9bac1d86
L
52582012-09-28 H.J. Lu <hongjiu.lu@intel.com>
5259
5260 * elf/dl-runtime.c (VERSYMIDX): Removed.
5261 * elf/dl-version.c (VERSYMIDX): Likewise.
5262 * elf/do-rel.h (VERSYMIDX): Likewise.
5263 (VALIDX): Likewise.
5264 * elf/dynamic-link.h (VERSYMIDX): Likewise.
5265 * elf/rtld.c (VALIDX): Likewise.
5266 (ADDRIDX): Likewise.
9bac1d86
L
5267 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
5268 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
5269 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
5270 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
5271 (VALIDX): Likewise.
5272 (ADDRIDX): Likewise.
9bac1d86 5273
b31606c0
PT
52742012-09-28 Pino Toscano <toscano.pino@tiscali.it>
5275
5276 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
5277
11541177
JL
52782012-09-28 Dmitry V. Levin <ldv@altlinux.org>
5279
5280 [BZ #11438]
5281 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
5282 to global scope.
5283 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
5284 addresses are in the same scope as 192.0.2/24.
5285 * posix/gai.conf: Document new scope table defaults.
5286
adb26fae
SP
52872012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5288
5289 [BZ #5298]
5290 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
5291 for ftell. Compute offsets from write pointers instead.
5292 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
5293
4573c6b0
SP
52942012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5295
5296 [BZ #14543]
5297 * libio/Makefile (tests): New test case tst-fseek.
5298 * libio/tst-fseek.c: New test case to verify that fseek/ftell
5299 combination works in wide mode.
5300 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
5301 state when the external buffer state changes.
5302
aa9bbfe6
DM
53032012-09-27 David S. Miller <davem@davemloft.net>
5304
5305 [BZ #14376]
5306 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
5307 pass reloc->r_addend in as the 'high' argument to
5308 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
5309
784421e7
DM
5310 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5311
c39bc8b8
PT
53122012-09-28 Pino Toscano <toscano.pino@tiscali.it>
5313
5314 * rt/tst-aio2.c: Include <pthread.h>.
5315 * rt/tst-aio3.c: Likewise.
5316
1ccc2399
SE
53172012-09-27 Steve Ellcey <sellcey@mips.com>
5318
5319 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
5320
31ed4153
L
53212012-09-27 H.J. Lu <hongjiu.lu@intel.com>
5322
25f5f885
L
5323 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
5324 contents on [SHARED].
31ed4153 5325
b7bfe116
MP
53262012-09-26 Marek Polacek <polacek@redhat.com>
5327
5328 [BZ #14530]
5329 [BZ #13741]
5330 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
5331 for C++ and GCC <4.3 as well as for non GCC compilers.
5332
43c4edba
MT
53332012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
5334
5335 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5336
6a1bf82f
RM
53372012-09-25 Roland McGrath <roland@hack.frob.com>
5338
5339 * Makefile.in (all, install): Declare with .PHONY.
5340 Reported by Michael Hope <michael.hope@linaro.org>.
5341
8ad11b9a
TMQMF
53422012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5343
5344 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
5345 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
5346 system header.
5347 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
5348 Likewise.
5349 (sydep_routines): Add the new and the internal functions.
5350 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
5351 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
5352 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
5353 (GLIBC_2.17): Add the new function.
5354 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
5355 (GLIBC_2.17): Likewise.
5356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
5357 (GLIBC_2.17): Likewise.
5358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
5359 (GLIBC_2.17): Likewise.
5360 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
5361
7e2fca8d
AM
53622012-09-25 Alan Modra <amodra@gmail.com>
5363
5364 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
5365 Add release barrier before setting once_control to say
5366 initialisation is done. Add hints on lwarx. Use macro in
5367 place of isync.
5368 (clear_once_control): Add release barrier.
5369
b87c4b24
JM
53702012-09-25 Joseph Myers <joseph@codesourcery.com>
5371
d032e0d2
JM
5372 [BZ #13629]
5373 * math/s_clog.c (__clog): Handle more values close to |z| = 1
5374 specially.
5375 * math/s_clog10.c (__clog10): Likewise.
5376 * math/s_clog10f.c (__clog10f): Likewise.
5377 * math/s_clog10l.c (__clog10l): Likewise.
5378 * math/s_clogf.c (__clogf): Likewise.
5379 * math/s_clogl.c (__clogl): Likewise.
5380 * math/Makefile (libm-calls): Add x2y2m1.
5381 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
5382 (__x2y2m1): Likewise.
5383 (__x2y2m1l): Likewise.
5384 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
5385 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
5386 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
5387 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
5388 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
5389 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
5390 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
5391 * sysdeps/i386/fpu/libm-test-ulps: Update.
5392 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5393
b87c4b24
JM
5394 [BZ #14621]
5395 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
5396 int as type of variable DEPTH.
5397 (glob): Use size_t instead of int as type of variables NEWCOUNT
5398 and OLD_PATHC.
5399
6d3bf199
LD
54002012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5401
22bf5c17
LD
5402 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
5403 Add s_sincosf-sse2.
5404 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
5405 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
5406 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
5407 macros for using routine as __sincosf_ia32.
5408 Use macro for function declaration and weak_alias.
5409 * sysdeps/i386/fpu/libm-test-ulps: Update.
5410
5411 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
5412 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5413
5414 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
5415 subnormal argument.
5416 * math/s_cexpf.c (__cexpf): Likewise.
5417 * math/s_csinf.c (__csinf): Likewise.
5418 * math/s_csinhf.c (__csinhf): Likewise.
5419 * math/s_ctanf.c (__ctanf): Likewise.
5420 * math/s_ctanhf.c (__ctanhf): Likewise.
5421 * math/s_ccosh.c (__ccoshf): Likewise.
5422 * math/s_cexp.c (__cexpl): Likewise.
5423 * math/s_csin.c (__csin): Likewise.
5424 * math/s_csinh.c (__csinh): Likewise.
5425 * math/s_ctan.c (__ctan): Likewise.
5426 * math/s_ctanh.c (ctanh): Likewise.
5427 * math/s_ccoshl.c (__ccoshl): Likewise.
5428 * math/s_cexpl.c (__cexpl): Likewise.
5429 * math/s_csinl.c (__csinl): Likewise.
5430 * math/s_csinhl.c (__csinhl): Likewise.
5431 * math/s_ctanl.c (__ctanl): Likewise.
5432 * math/s_ctanhl.c (__ctanhl): Likewise.
5433
203e5603
JM
54342012-09-25 Joseph Myers <joseph@codesourcery.com>
5435
5436 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
5437 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
5438 (_IO_off_t): Define to __off_t, not _G_off_t.
5439 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
5440 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
5441 (_IO_wint_t): Define to wint_t, not _G_wint_t.
5442 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
5443 type of __dummy and __dummy2 fields.
5444 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
5445 (_G_ssize_t): Likewise.
5446 (_G_off_t): Likewise.
5447 (_G_pid_t): Likewise.
5448 (_G_uid_t): Likewise.
5449 (_G_wchar_t): Likewise.
5450 (_G_wint_t): Likewise.
5451 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
5452 (_G_ssize_t): Likewise.
5453 (_G_off_t): Likewise.
5454 (_G_pid_t): Likewise.
5455 (_G_uid_t): Likewise.
5456 (_G_wchar_t): Likewise.
5457 (_G_wint_t): Likewise.
5458 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
5459 (_G_ssize_t): Likewise.
5460 (_G_off_t): Likewise.
5461 (_G_pid_t): Likewise.
5462 (_G_uid_t): Likewise.
5463 (_G_wchar_t): Likewise.
5464 (_G_wint_t): Likewise.
5465
9fab36eb
SP
54662012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
5467
5468 * malloc/arena.c: Include malloc-sysdep.h.
5469 (shrink_heap): Use check_may_shrink_heap to decide if madvise
5470 is sufficient to shrink the heap or an unmap is needed.
5471 * sysdeps/generic/malloc-sysdep.h: New file. Define
5472 new function check_may_shrink_heap.
5473 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
5474 new function check_may_shrink_heap.
5475
2b4f00d1
SP
54762012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
5477
5478 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
5479 comments.
5480
9a9028b1
DL
54812012-09-24 Dmitry V. Levin <ldv@altlinux.org>
5482
57c69bef
DL
5483 * catgets/test-gencat.sh: Add "set -e".
5484 * elf/tst-pathopt.sh: Likewise.
5485 * grp/tst_fgetgrent.sh: Likewise.
5486 * iconvdata/run-iconv-test.sh: Likewise.
5487 * intl/tst-gettext.sh: Likewise.
5488 * intl/tst-gettext2.sh: Likewise.
5489 * intl/tst-gettext4.sh: Likewise.
5490 * intl/tst-gettext6.sh: Likewise.
5491 * intl/tst-translit.sh: Likewise.
5492 * io/ftwtest-sh: Likewise.
5493 * libio/test-freopen.sh: Likewise.
5494 * malloc/tst-mtrace.sh: Likewise.
5495 * posix/globtest.sh: Likewise.
5496 * posix/tst-getconf.sh: Likewise.
5497 * posix/wordexp-tst.sh: Likewise.
5498 * stdio-common/tst-printf.sh: Likewise.
5499 * stdio-common/tst-unbputc.sh: Likewise.
5500 * stdlib/tst-fmtmsg.sh: Likewise.
5501 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
5502 * catgets/Makefile: Do not specify -e option when running
5503 testsuite shell scripts.
5504 * elf/Makefile: Likewise.
5505 * grp/Makefile: Likewise.
5506 * iconvdata/Makefile: Likewise.
5507 * intl/Makefile: Likewise.
5508 * io/Makefile: Likewise.
5509 * libio/Makefile: Likewise.
5510 * malloc/Makefile: Likewise.
5511 * posix/Makefile: Likewise.
5512 * stdio-common/Makefile: Likewise.
5513 * stdlib/Makefile: Likewise.
5514 * sysdeps/x86_64/Makefile: Likewise.
5515
9a9028b1
DL
5516 * io/ftwtest-sh: Add copyright header.
5517 * posix/globtest.sh: Likewise.
5518 * posix/tst-getconf.sh: Likewise.
5519 * posix/wordexp-tst.sh: Likewise.
5520 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
5521
ced6f16e
L
55222012-09-24 H.J. Lu <hongjiu.lu@intel.com>
5523
94b32c39
L
5524 [BZ #13679]
5525 * Makeconfig (+link): Defined as $(+link-static) if
5526 $(build-shared) isn't yes.
5527 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
5528 isn't yes.
5529 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
5530
189e935b
L
5531 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
5532
ced6f16e
L
5533 [BZ #14562]
5534 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
5535 new chunk size with MALLOC_ALIGN_MASK.
5536
a9f8e53a
JM
55372012-09-24 Joseph Myers <joseph@codesourcery.com>
5538
5539 [BZ #5044]
5540 * stdio-common/printf_fphex.c: Include <stdbool.h> and
5541 <rounding-mode.h>.
5542 (__printf_fphex): Determine rounding using get_rounding_mode and
5543 round_away.
5544 * stdio-common/tst-printf-round.c (struct hex_test): New
5545 structure.
5546 (hex_tests): New variable.
5547 (test_hex_in_one_mode): New function.
5548 (do_test): Also run tests for hex float output.
5549
43153109
JM
55502012-09-21 Joseph Myers <joseph@codesourcery.com>
5551
5552 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
5553 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
5554 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
5555 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
5556 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
5557 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
5558 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
5559 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
5560
8a26625d
JM
55612012-09-20 Joseph Myers <joseph@codesourcery.com>
5562
5563 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
5564 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
5565 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
5566 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
5567
f3fd569c
DL
55682012-09-19 Dmitry V. Levin <ldv@altlinux.org>
5569
5570 [BZ #14579]
5571 * elf/rtld.c (dl_main): Limit the check for self loading to normal
5572 mode only.
5573 * elf/tst-rtld-load-self.sh: New test.
5574 * elf/Makefile: Run it.
5575
63bbedd4
JM
55762012-09-18 Joseph Myers <joseph@codesourcery.com>
5577
5578 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
5579 (tst-writev-ENV): Remove.
5580 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
5581
626f8b6a
CM
55822012-09-17 Chris Metcalf <cmetcalf@tilera.com>
5583
5584 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
5585
b7aaa4d6
JM
55862012-09-17 Joseph Myers <joseph@codesourcery.com>
5587
5588 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
5589 unconditional.
5590 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
5591 Likewise.
5592 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
5593 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
5594 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
5595 Likewise.
5596
65513990
L
55972012-09-14 H.J. Lu <hongjiu.lu@intel.com>
5598
5599 [BZ #14587]
5600 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
5601 * config.make.in (have-cpp-asm-debuginfo): Removed.
5602 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
5603 * configure: Regenerated.
5604
784761be
JM
56052012-09-14 Joseph Myers <joseph@codesourcery.com>
5606
5607 [BZ #5044]
5608 * stdio-common/printf_fp.c: Include <stdbool.h> and
5609 <rounding-mode.h>.
5610 (___printf_fp): Determine rounding using get_rounding_mode and
5611 round_away.
5612 * stdio-common/tst-printf-round.c: New file.
5613 * stdio-common/Makefile (tests): Add tst-printf-round.
5614 (link-libm): New variable.
5615 ($(objpfx)tst-printf-round): Depend in $(link-libm).
5616
9503345f
L
56172012-09-13 H.J. Lu <hongjiu.lu@intel.com>
5618
5619 [BZ #14576]
5620 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
5621 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
5622 Likewise.
5623 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
5624 Likewise.
5625
ad35fc00
JM
56262012-09-13 Joseph Myers <joseph@codesourcery.com>
5627
5628 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
5629 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
5630 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
5631 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
5632
6c9b0f68
JM
56332012-09-12 Joseph Myers <joseph@codesourcery.com>
5634
5635 [BZ #14518]
5636 * include/rounding-mode.h: New file.
5637 * sysdeps/generic/get-rounding-mode.h: Likewise.
5638 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
5639 * stdlib/strtod_l.c: Include <rounding-mode.h>.
5640 (MAX_VALUE): New macro.
5641 (MIN_VALUE): Likewise.
5642 (overflow_value): New function.
5643 (underflow_value): Likewise.
5644 (round_and_return): Use overflow_value and underflow_value to
5645 determine return values in overflow and underflow cases. Use
5646 round_away to determine rounding depending on rounding mode.
5647 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
5648 determine return values in overflow and underflow cases.
5649 * stdlib/tst-strtod-round.c: Include <fenv.h>.
5650 (struct test_results): New structure.
5651 (struct test): Use struct test_results to store expected results
5652 for all rounding modes.
5653 (TEST): Include expected results for all rounding modes.
5654 (test_in_one_mode): New function.
5655 (do_test): Use test_in_one_mode to compute and check results.
5656 Check results for all rounding modes.
5657 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
5658 $(link-libm).
5659
19fcedd5
AM
56602012-12-09 Allan McRae <allan@archlinux.org>
5661
1e9d84cd 5662 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 5663
8bbfd2f1
JM
56642012-09-11 Joseph Myers <joseph@codesourcery.com>
5665
5666 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
5667 (_G_int32_t): Likewise.
5668 (_G_uint16_t): Likewise.
5669 (_G_uint32_t): Likewise.
5670 (_G_HAVE_BOOL): Likewise.
5671 (_G_HAVE_ATEXIT): Likewise.
5672 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
5673 (_G_HAVE_IO_FILE_OPEN): Likewise.
5674 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
5675 (_G_int32_t): Likewise.
5676 (_G_uint16_t): Likewise.
5677 (_G_uint32_t): Likewise.
5678 (_G_HAVE_BOOL): Likewise.
5679 (_G_HAVE_ATEXIT): Likewise.
5680 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
5681 (_G_HAVE_IO_FILE_OPEN): Likewise.
5682 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
5683 (_G_int32_t): Likewise.
5684 (_G_uint16_t): Likewise.
5685 (_G_uint32_t): Likewise.
5686 (_G_HAVE_BOOL): Likewise.
5687 (_G_HAVE_ATEXIT): Likewise.
5688 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
5689 (_G_HAVE_IO_FILE_OPEN): Likewise.
5690
b1dc5912
L
56912012-09-11 H.J. Lu <hongjiu.lu@intel.com>
5692
5693 * csu/libc-tls.c: Update copyright years.
5694
0e886ef9
JM
56952012-09-10 Joseph Myers <joseph@codesourcery.com>
5696
28361c5e
JM
5697 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
5698 [!_G_USING_THUNKS]: Remove conditional code.
5699 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
5700 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
5701
0e886ef9
JM
5702 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
5703 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
5704 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
5705 (_G_VTABLE_LABEL_PREFIX): Likewise.
5706 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
5707 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
5708 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
5709 (_G_VTABLE_LABEL_PREFIX): Likewise.
5710 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
5711 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
5712 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
5713 (_G_VTABLE_LABEL_PREFIX): Likewise.
5714 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
5715
bcba7aa2
L
57162012-09-10 H.J. Lu <hongjiu.lu@intel.com>
5717
5718 * libio/Makefile: Include ../Makeconfig before tests.
5719 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
5720 only if $(build-shared) is yes.
5721
06585ee8
L
5722 * iconv/gconv_db.c: Update copyright years.
5723
80ccd52c
LD
57242012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5725
5726 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
5727 unwind info if defined PIC. Fix special cases description.
5728 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
5729
5730 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
5731 DP_HI_MASK entry.
5732 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
5733
691bc9c1
L
57342012-09-07 H.J. Lu <hongjiu.lu@intel.com>
5735
3d9b46b3
L
5736 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
5737
de2139a9
L
5738 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
5739 is NULL.
5740
5ca78dd0
L
5741 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
5742 (LDLIBS-tst-chk4): This.
5743 (LDFLAGS-tst-chk5): Renamed to ...
5744 (LDLIBS-tst-chk5): This.
5745 (LDFLAGS-tst-chk6): Renamed to ...
5746 (LDLIBS-tst-chk6): This.
5747 (LDFLAGS-tst-lfschk4): Renamed to ...
5748 (LDLIBS-tst-lfschk4): This.
5749 (LDFLAGS-tst-lfschk5): Renamed to ...
5750 (LDLIBS-tst-lfschk5): This.
5751 (LDFLAGS-tst-lfschk6): Renamed to ...
5752 (LDLIBS-tst-lfschk6): This.
5753
691bc9c1
L
5754 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
5755 on $(common-objpfx)soversions.mk.
5756
65cafb1c
JM
57572012-09-07 Joseph Myers <joseph@codesourcery.com>
5758
5759 [BZ #10014]
5760 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
5761 example host name.
5762
c78ab094
SP
57632012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
5764
5765 * malloc/arena.c (arena_get_retry): New function that gets
5766 another arena for the caller to try its request on.
5767 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
5768 current arena cannot fulfill the request.
5769 (__libc_memalign): Likewise.
5770 (__libc_memalign): Likewise.
5771 (__libc_pvalloc): Likewise.
5772 (__libc_calloc): Likewise.
5773
01f49f59
JT
57742012-09-05 John Tobey <john.tobey@gmail.com>
5775
5776 [BZ #13542]
5777 * manual/arith.texi (Operations on Complex): Fix description
5778 of carg branch cut.
5779
4c23fed5
JM
57802012-09-06 Joseph Myers <joseph@codesourcery.com>
5781
1d3c8572
JM
5782 [BZ #10014]
5783 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
5784 host name.
5785
4c23fed5
JM
5786 [BZ #10038]
5787 * manual/memory.texi (Memory): Make order of menu items match
5788 order of sections.
5789
04570aaa
L
57902012-09-06 H.J. Lu <hongjiu.lu@intel.com>
5791
5792 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
5793 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
5794 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
5795
b80af2f4
L
57962012-09-06 H.J. Lu <hongjiu.lu@intel.com>
5797
5798 * csu/libc-tls.c (static_dtv): Renamed to ...
5799 (_dl_static_dtv): This. Make it global.
5800 (_dl_initial_dtv): Removed.
5801 (__libc_setup_tls): Updated.
5802 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
5803 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
5804 DL_INITIAL_DTV.
5805
2abe9f15
PM
58062012-09-06 Petr Machata <pmachata@redhat.com>
5807
5808 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
5809 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
5810 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
5811 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
5812
0948c3af
L
58132012-09-06 H.J. Lu <hongjiu.lu@intel.com>
5814
5815 [BZ #14545]
5816 * csu/libc-tls.c (_dl_initial_dtv): New variable.
5817 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
5818 freeing dtv[-1].
5819
a5055ad1
L
58202012-09-06 H.J. Lu <hongjiu.lu@intel.com>
5821
5822 [BZ #14544]
5823 * Makeconfig (link-static-before-libc): Replace $(+prector)
5824 with $(+prectorT).
5825 (link-static-after-libc): Replace $(+postctor) with
5826 $(+postctorT).
5827 (link-bounded): Replace $(+prector)/$(+postctor) with
5828 $(+prectorT)/$(+postctorT).
5829 (+prectorT): New macro.
5830 (+postctorT): Likewise.
5831
ed8c2ecd
JM
58322012-09-06 Joseph Myers <joseph@codesourcery.com>
5833
5834 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
5835 (round_str): Handle values above the maximum for IBM long double
5836 as inexact.
5837 * stdlib/tst-strtod-round.c (tests): Regenerated.
5838
14c996c8
AK
58392012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5840
5841 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
5842 assembler flag.
5843 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
5844 zarch_nohighgprs around the zarch optimized routines.
5845 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
5846 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
5847 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
5848 for zarch.
5849
430d6ce6
DM
58502012-09-05 David S. Miller <davem@davemloft.net>
5851
5852 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5853
ff04dda4
DM
5854 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
5855 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
5856 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
5857 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
5858 entries.
5859
24d4e01b
AO
58602012-09-05 Alexandre Oliva <aoliva@redhat.com>
5861
5862 * malloc/arena.c: Fold copyright years.
5863 * malloc/mcheck.c, malloc/memusage.c: Likewise.
5864
61d58174
AO
58652012-09-05 Alexandre Oliva <aoliva@redhat.com>
5866
5867 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
5868
20196a5e
AO
58692012-09-05 Alexandre Oliva <aoliva@redhat.com>
5870
5871 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
5872
5c447383
AO
58732012-09-05 Alexandre Oliva <aoliva@redhat.com>
5874
5875 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
5876 change internal state upon failure.
5877
fad64255
AO
58782012-09-05 Alexandre Oliva <aoliva@redhat.com>
5879
5880 * malloc/mcheck.c (mcheck_check_all): Fix typo.
5881 * malloc/memusage.c (mmap): Likewise.
5882 (mmap64, mremap): Likewise. Adjust name in comment.
5883
1ffb8c90
SP
58842012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
5885
5886 * libio/fileops.c: Fix typos in comments.
5887 * libio/oldfileops.c: Likewise.
5888 * libio/wfileops.c: Likewise.
5889
6ef9cc37
SP
58902012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
5891
5892 [BZ #1349]
5893 * malloc/Makefile (tests): Add tst-malloc-usable test case.
5894 (tst-malloc-usable-ENV): Set environment for test case.
5895 * malloc/hooks.c (malloc_check_get_size): New function to get
5896 requested size.
5897 * malloc/malloc.c (musable): Use malloc_check_get_size.
5898 * malloc/tst-malloc-usable.c: New test case.
5899
4d038ae3
AS
59002012-09-05 Andreas Schwab <schwab@linux-m68k.org>
5901
5902 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
5903
c4e85184
AM
59042012-09-05 Allan McRae <allan@archlinux.org>
5905
b9dafc56 5906 [BZ #13966]
c4e85184
AM
5907 * configure.in (CXX_SYSINCLUDES): Use compiler output to
5908 determine header location.
5909 * configure: Regenerated.
5910
e1343020
AS
59112012-09-05 Andreas Schwab <schwab@linux-m68k.org>
5912
5913 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
5914 float format.
5915 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
5916 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
5917 format.
e1343020
AS
5918 (test): Regenerate.
5919
0a9f1987
DM
59202012-09-04 David S. Miller <davem@davemloft.net>
5921
5922 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
5923 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
5924 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
5925
29237804
FW
59262012-09-04 Florian Weimer <fweimer@redhat.com>
5927
5928 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
5929 failures.
5930
edb3cb88
FW
5931 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
5932
60160d83
JM
59332012-09-04 Joseph Myers <joseph@codesourcery.com>
5934
5935 [BZ #9914]
5936 * libio/iogetdelim.c: Include <limits.h>.
5937 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
5938 + len + 1 would overflow.
5939
bcd6c8dc
AJ
59402012-09-03 Andreas Jaeger <aj@suse.de>
5941
5942 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5943 * sysdeps/i386/fpu/libm-test-ulps: Update.
5944
4ffffbd2
LD
59452012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5946
5947 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
5948 Add s_sinf-sse2, s_conf-sse2.
5949
5950 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
5951 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
5952 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
5953 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
5954
5955 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
5956 for using routine as __sinf_ia32.
5957 Use macro for function declaration and weak_alias.
5958 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
5959 for using routine as __cosf_ia32.
5960 Use macro for function declaration and weak_alias.
5961
5962 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
5963 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
5964
5965 * sysdeps/x86_64/fpu/s_sinf.S: New file.
5966 * sysdeps/x86_64/fpu/s_cosf.S: New file.
5967 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5968
5969 * math/libm-test.inc (cos_test): Add more test cases.
5970 (sin_test): Likewise.
5971 (sincos_test): Likewise.
5972
511fa286
AK
59732012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5974
5975 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
5976 (IFUNC_RESOLVE): Make pointers to the specialized implementations
5977 hidden.
5978 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
5979
5f30cfec
L
59802012-09-02 H.J. Lu <hongjiu.lu@intel.com>
5981
5982 [BZ #14538]
5983 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
5984 first element of the GOT.
5985 (elf_machine_load_address): Return the difference between
5986 the runtime address of _DYNAMIC and elf_machine_dynamic ().
5987
0786794f
AM
59882012-09-01 Allan McRae <allan@archlinux.org>
5989
5f30cfec
L
5990 [BZ #13412]
5991 * configure.in (AWK): Require gawk version 3.0 or later.
5992 * configure: Regenerated.
0786794f 5993
26889eac
JM
59942012-09-01 Joseph Myers <joseph@codesourcery.com>
5995
5996 * sysdeps/unix/sysv/linux/kernel-features.h
5997 (__ASSUME_POSIX_CPU_TIMERS): Remove.
5998 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
5999 [__NR_clock_getres]: Make code unconditional.
6000 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
6001 (clock_getcpuclockid): Remove code left unreachable by removal of
6002 conditionals.
6003 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
6004 code unconditional.
6005 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
6006 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
6007 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
6008 Make code unconditional.
6009 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
6010 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
6011 * sysdeps/unix/sysv/linux/clock_settime.c
6012 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
6013 conditional code.
6014 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
6015 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
6016
d22e28b0
L
60172012-08-29 H.J. Lu <hongjiu.lu@intel.com>
6018
6019 [BZ #14476]
6020 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
6021 scripts/test-installation.pl.
6022
6023 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
6024 and $ld_so_version if it is set.
6025
050af9c4
SP
60262012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
6027
6028 [BZ #14516]
6029 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
6030 failure if reading from procfs failed.
6031 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
6032
ad845c0b
JM
60332012-08-27 Joseph Myers <joseph@codesourcery.com>
6034
6035 * sysdeps/unix/sysv/linux/kernel-features.h
6036 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
6037 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
6038 Remove conditional code.
6039 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6040 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
6041 Remove conditional code.
6042 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6043 * sysdeps/unix/sysv/linux/i386/fxstat.c
6044 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
6045 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6046 * sysdeps/unix/sysv/linux/i386/fxstatat.c
6047 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
6048 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6049 * sysdeps/unix/sysv/linux/i386/lxstat.c
6050 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
6051 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6052 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
6053 Remove conditional code.
6054 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6055 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
6056 Remove conditional code.
6057 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6058 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
6059 <kernel-features.h>.
6060 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
6061 Remove.
6062 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
6063 Remove conditional code.
6064 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6065 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
6066 Remove conditional.
6067
5dbf56af
MF
60682012-08-27 Mike Frysinger <vapier@gentoo.org>
6069
6070 [BZ #5400]
6071 * NEWS: Add fixed bug number.
6072
d6e70f43
JM
60732012-08-27 Joseph Myers <joseph@codesourcery.com>
6074
7efb4737
JM
6075 [BZ #14519]
6076 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
6077 underflowing exponent in case of negative sign.
6078 * stdlib/tst-strtod-round-data: Add more tests.
6079 * stdlib/tst-strtod-round.c (tests): Regenerated.
6080
af92131a
JM
6081 [BZ #3479]
6082 * stdlib/strtod_l.c (NDIG): Remove.
6083 (HEXNDIG): Likewise.
6084 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
6085 smallest representable value.
6086 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
6087 lie within an exact representation of 1/2 ulp of the result.
6088 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
6089 unconditionally.
6090 (TENS_P9_IDX): Define unconditionally.
6091 (TENS_P9_SIZE): Likewise.
6092 (TENS_P10_IDX): Likewise.
6093 (TENS_P10_SIZE): Likewise.
6094 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
6095 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
6096 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
6097 entries for 10^2^13 and 10^2^14.
6098 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
6099 (TENS_P13_IDX): Define.
6100 (TENS_P13_SIZE): Likewise.
6101 (TENS_P14_IDX): Likewise.
6102 (TENS_P14_SIZE): Likewise.
6103 (_fpioconst_pow10): Change array size to
6104 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
6105 unconditional.
6106 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
6107 1024]: Add entries for 10^2^13 and 10^2^14.
6108 [LAST_POW10 > _LAST_POW10]: Remove #error.
6109 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
6110 (_fpioconst_pow10): Change array size to
6111 FPIOCONST_POW10_ARRAY_SIZE.
6112 * stdlib/gen-fpioconst.c: New file.
6113 * stdlib/gen-tst-strtod-round.c: Likewise.
6114 * stdlib/tst-strtod-round-data: Likewise.
6115 * stdlib/tst-strtod-round.c: Likewise.
6116 * stdlib/Makefile (tests): Add tst-strtod-round.
6117
d6e70f43
JM
6118 [BZ #14459]
6119 * stdlib/strtod_l.c: Include <stdint.h>.
6120 (NDEBUG): Do not define.
6121 (round_and_return): Change EXPONENT parameter to type intmax_t.
6122 Rearrange calculations to avoid internal overflow possibilities.
6123 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
6124 Rearrange calculations to avoid internal overflow possibilities.
6125 Assert that number fits inside MPNSIZE limbs.
6126 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
6127 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
6128 calculations and add assertions to avoid internal overflow
6129 possibilities. Add casts to avoid signed/unsigned operations.
6130 * stdlib/tst-strtod-overflow.c: New file.
6131 * stdlib/Makefile (tests): Add tst-strtod-overflow.
6132
1f529f7d
MP
61332012-08-25 Marek Polacek <polacek@redhat.com>
6134
6135 * time/time.h: Fix some typos in comments.
6136
59a629f1
RM
61372012-08-23 Roland McGrath <roland@hack.frob.com>
6138
6139 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
6140 * posix/tst-rfc3484-2.c: Likewise.
6141 * posix/tst-rfc3484-3.c: Likewise.
6142
d3bafbc9
SM
61432012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
6144
6145 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
6146 (EF_ARM_ABI_FLOAT_HARD): Likewise.
6147
4efcc022
JM
61482012-08-23 Joseph Myers <joseph@codesourcery.com>
6149
6150 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
6151 #include of fxstatat64.c.
6152
3cc3ef96
RM
61532012-08-22 Roland McGrath <roland@hack.frob.com>
6154
f04e2132
RM
6155 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
6156 * shadow/getspent_r.c: Likewise.
6157 * shadow/getspnam.c: Likewise.
6158 * shadow/getspnam_r.c: Likewise.
6159 * gshadow/getsgent.c: Likewise.
6160 * gshadow/getsgent_r.c: Likewise.
6161 * gshadow/getsgnam.c: Likewise.
6162 * gshadow/getsgnam_r.c: Likewise.
6163 * inet/getnetbyad.c: Likewise.
6164 * inet/getnetbyad_r.c: Likewise.
6165 * inet/getnetbynm.c: Likewise.
6166 * inet/getnetbynm_r.c: Likewise.
6167 * inet/getnetent.c: Likewise.
6168 * inet/getnetent_r.c: Likewise.
6169 * inet/getproto.c: Likewise.
6170 * inet/getproto_r.c: Likewise.
6171 * inet/getprtent.c: Likewise.
6172 * inet/getprtent_r.c: Likewise.
6173 * inet/getprtname.c: Likewise.
6174 * inet/getprtname_r.c: Likewise.
6175 * inet/getrpcbyname.c: Likewise.
6176 * inet/getrpcbyname_r.c: Likewise.
6177 * inet/getrpcbynumber.c: Likewise.
6178 * inet/getrpcbynumber_r.c: Likewise.
6179 * inet/getrpcent.c: Likewise.
6180 * inet/getrpcent_r.c: Likewise.
6181 * inet/getaliasent.c: Likewise.
6182 * inet/getaliasent_r.c: Likewise.
6183 * inet/getaliasname.c: Likewise.
6184 * inet/getaliasname_r.c: Likewise.
6185 * nscd/getgrgid_r.c: Likewise.
6186 * nscd/getgrnam_r.c: Likewise.
6187 * nscd/gethstbyad_r.c: Likewise.
6188 * nscd/gethstbynm3_r.c: Likewise.
6189 * nscd/getpwnam_r.c: Likewise.
6190 * nscd/getpwuid_r.c: Likewise.
6191 * nscd/getsrvbynm_r.c: Likewise.
6192 * nscd/getsrvbypt_r.c: Likewise.
6193 * nscd/gai.c: Likewise.
6194
c53d909c
RM
6195 * configure.in (build_nscd): New substituted variable, set
6196 by --disable-build-nscd and defaults to $use_nscd.
6197 * configure: Regenerated.
6198 * config.make.in (build-nscd): New substituted variable.
6199 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
6200 Change conditional to require [$(build-nscd) = yes] as well.
6201 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
6202
3cc3ef96
RM
6203 [BZ# 13696]
6204 * configure.in (use_nscd): New substituted variable, set by
6205 --disable-nscd. If enabled, define USE_NSCD.
6206 * configure: Regenerated.
6207 * config.h.in: Add USE_NSCD.
6208 * config.make.in (use-nscd): New substituted variable.
6209 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
6210 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
6211 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
6212 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
6213 (CFLAGS-getgrnam_r.c): Likewise.
6214 (CFLAGS-initgroups.c): Likewise.
6215 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
6216 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
6217 Variables removed.
6218 * inet/getnetgrent_r.c
6219 (nscd_setnetgrent): New function, broken out of ...
6220 (setnetgrent): ... here. Call it.
6221 (innetgr): Conditionalize nscd bits on [USE_NSCD].
6222 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
6223 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
6224 * nscd/Makefile (routines, aux): Move definitions after include of
6225 Makeconfig. Conditionalize on [$(use-nscd) != no].
6226 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
6227 Conditionalize on [USE_NSCD].
6228 (is_nscd, nscd_init_cb): Likewise.
6229 (nss_load_library): Conditionalize init callback on [USE_NSCD].
6230 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
6231 * nss/nss_db/db-init.c: Likewise.
6232 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
6233 [USE_NSCD].
6234 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
6235 (make_request): Use it.
6236 (cache_valid_p): New function.
6237 (__check_pf): Use it.
6238 * NEWS: Add item for --disable-nscd.
6239
07e51550
DL
62402012-08-22 Dmitry V. Levin <ldv@altlinux.org>
6241
6242 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
6243 to support sed >= 4.2.1-20-ga9bf076.
6244 * configure: Regenerated.
6245
35a5b08b
RM
62462012-08-22 Roland McGrath <roland@hack.frob.com>
6247
6248 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
6249 Conditionalize whole body on [IREL].
6250
8479f23a
JL
62512012-08-22 Jeff Law <law@redhat.com>
6252
6253 [BZ #14505]
6254 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
6255 if the family is PF_UNSPEC.
6256
48da0b21
MF
62572012-08-22 Mike Frysinger <vapier@gentoo.org>
6258
6259 * Makerules (lib-version): Rename from V.
6260 (install-lib-nosubdir): Change V to lib-version.
6261
15d0da8c
WS
62622012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
6263
6264 [BZ #14252]
6265 * powerpc32/power6/wcschr.c: New file.
6266 * powerpc32/power6/wcscpy.c: New file.
6267 * powerpc32/power6/wcsrchr.c: New file.
6268 * powerpc64/power6/wcschr.c: New file.
6269 * powerpc64/power6/wcscpy.c: New file.
6270 * powerpc64/power6/wcsrchr.c: New file.
6271
bcca0895
MK
62722012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
6273
6274 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
6275 (two_way_short_needle): Use it.
5a4aaa33
RM
6276 * string/strstr.c (AVAILABLE1_USES_J): Define.
6277 * string/strcasestr.c: Likewise.
99677e57
MK
6278
6279 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
6280 array references.
6281 * string/strcasestr.c (TOLOWER): Make side-effect safe.
6282
400726de
MK
6283 [BZ #11607]
6284 * NEWS: Add an entry.
6285 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
6286 define their defaults.
6287 (two_way_short_needle): Detect end-of-string on-the-fly.
6288 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
6289 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
6290 * string/bug-strcasestr1.c: New test.
6291 * string/Makefile: Run it.
6292
20a71f2c
MK
62932012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
6294
6295 [BZ #11607]
6296 * string/str-two-way.h (two_way_short_needle): Optimize matching of
6297 the first character.
6298
21ad0558
RM
62992012-08-21 Roland McGrath <roland@hack.frob.com>
6300
6301 * csu/elf-init.c (__libc_csu_irel): Function removed.
6302 * csu/libc-start.c (apply_irel): New function.
6303 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
6304
0e1d9911
JM
63052012-08-21 Joseph Myers <joseph@codesourcery.com>
6306
6307 * sysdeps/unix/sysv/linux/kernel-features.h
6308 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
6309 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
6310 <kernel-features.h>.
6311 [__NR_fadvise64_64]: Make code unconditional.
6312 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
6313 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
6314 !__NR_fadvise64_64)]: Likewise.
6315 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
6316 !__NR_fadvise64_64))]: Likewise.
6317 [__NR_fadvise64]: Make code unconditional.
6318 [!__NR_fadvise64]: Remove conditional code.
6319 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
6320 <kernel-features.h>.
6321 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
6322 unconditional.
6323 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
6324 conditional code.
6325 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
6326 not include <kernel-features.h>.
6327 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
6328 unconditional.
6329 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
6330 conditional code.
6331 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
6332 include <kernel-features.h>.
6333 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
6334 unconditional.
6335 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
6336 conditional code.
6337
14a50c9d
WS
63382012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
6339
6340 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
6341 slight instruction rearrangements per scrollpipe analysis.
6342 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
6343
c0f4faf0
RM
63442012-08-20 Roland McGrath <roland@hack.frob.com>
6345
696da859
RM
6346 * manual/syslog.texi (syslog; vsyslog, closelog):
6347 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
6348 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
6349
c0f4faf0
RM
6350 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
6351 DSOCAPS to match condition on defining it.
6352
348363b2
JM
63532012-08-20 Joseph Myers <joseph@codesourcery.com>
6354
a35cbf28
JM
6355 * sysdeps/unix/sysv/linux/kernel-features.h
6356 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
6357 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
6358 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
6359 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
6360 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
6361 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
6362 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
6363 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
6364 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
6365 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
6366
445f7ecd
JM
6367 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
6368 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
6369
348363b2
JM
6370 * sysdeps/unix/sysv/linux/kernel-features.h
6371 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
6372 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
6373 unconditional.
6374 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
6375 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
6376 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
6377 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
6378 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
6379 Make code unconditional.
6380 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
6381 (__mmap64) [!__NR_mmap2]: Likewise.
6382 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
6383 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
6384 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
6385 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
6386 [__NR_mmap2]: Make code unconditional.
6387 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
6388 (__mmap64) [!__NR_mmap2]: Likewise.
6389
bc5bc0e5
AK
63902012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6391
6392 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
6393
88d506de
AJ
63942012-08-18 Andreas Jaeger <aj@suse.de>
6395
6396 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
6397
493387d2
MF
63982012-08-18 Mike Frysinger <vapier@gentoo.org>
6399
6400 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
6401 * include/unistd.h (__have_sock_cloexec): Likewise.
6402 (__have_pipe2): Likewise.
6403 (__have_dup3): Likewise.
6404
a277af22
MF
64052012-08-18 Mike Frysinger <vapier@gentoo.org>
6406
6407 [BZ #9685]
6408 * include/unistd.h (__have_pipe2): Change define into an extern int.
6409 (__have_dup3): Likewise.
6410 * socket/have_sock_cloexec.c: Include fcntl.h.
6411 (__have_pipe2): New variable.
6412 (__have_dup3): Likewise.
6413
fdab8fd3
MF
64142012-08-17 Mike Frysinger <vapier@gentoo.org>
6415
6416 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
6417
31035e80
MP
64182012-08-17 Marek Polacek <polacek@redhat.com>
6419
6420 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
6421 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
6422
3bd9e993
RM
64232012-08-17 Roland McGrath <roland@hack.frob.com>
6424
c91c505f
RM
6425 * configure.in: Add AC_SUBST for sysheaders.
6426 * configure: Regenerated.
6427 * config.make.in (sysheaders): New substituted variable.
6428
7c6f9d53
RM
6429 * sysdeps/unix/mkfifo.c: Moved ...
6430 * sysdeps/posix/mkfifo.c: ... here.
6431 * sysdeps/unix/mkfifoat.c: Moved ...
6432 * sysdeps/posix/mkfifoat.c: ... here.
6433
6434 * sysdeps/unix/utime.c: Moved ...
6435 * sysdeps/posix/utime.c: ... here.
6436
6437 * sysdeps/unix/time.c: Moved ...
6438 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
6439 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
6440 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
6441
6442 * sysdeps/unix/nice.c: Moved ...
6443 * sysdeps/posix/nice.c: ... here.
6444
6445 * sysdeps/unix/alarm.c: Moved ...
6446 * sysdeps/posix/alarm.c: ... here.
6447
3bd9e993
RM
6448 * intl/Makefile ($(codeset_mo)): Depend on the input file.
6449
d1f09384
JL
64502012-08-17 Jeff Law <law@redhat.com>
6451
6452 * intl/Makefile (codeset_mo): New variable.
6453 ($(codeset_mo)): New target.
6454 (tst-codeset.out): Depend on that. Remove explicit rule.
6455 (tst-gettext3.out, tst-gettext5.out): Likewise.
6456 (LOCPATH-ENV, tst-codeset-ENV): New variables.
6457 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
6458 * intl/tst-codeset.sh: Remove.
6459 * intl/tst-gettext3.sh: Likewise.
6460 * intl/tst-gettext5.sh: Likewise.
6461
2ae1ae5c
RM
64622012-08-17 Roland McGrath <roland@hack.frob.com>
6463
c31fdb83
RM
6464 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
6465 * sysdeps/unix/syscalls.list: ... here.
6466
a0844057
RM
6467 * sysdeps/posix/getaddrinfo.c
6468 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
6469 (gaiconf_init, gaiconf_reload): Use them.
6470 [!_STATBUF_ST_NSEC]
6471 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
6472 Define using time_t rather than struct timespec.
6473
750c1f2a
RM
6474 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
6475 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
6476 Macros removed.
6477 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
6478 [!NO_THREADS].
6479 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
6480 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
6481 Likewise.
6482
2ae1ae5c
RM
6483 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
6484 __libc_cleanup_push argument.
6485
e66a42f5
RM
6486 * bits/param.h: New file.
6487 * misc/sys/param.h: New file.
6488 * include/sys/param.h: New file.
6489 * misc/Makefile (headers): Add bits/param.h.
6490 * sysdeps/generic/sys/param.h: File removed.
6491 * sysdeps/unix/sysv/linux/bits/param.h: New file.
6492 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
6493 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 6494 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 6495
b7c08a66
RM
6496 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
6497 last change.
6498
b2e1c562
RM
6499 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
6500 [_IO_MTSAFE_IO].
6501 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
6502 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
6503 New macros.
6504
c75ccd4c
RM
6505 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
6506 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
6507 rather than -D_IO_MTSAFE_IO conditionally.
6508 * stdio-common/Makefile (CPPFLAGS): Likewise.
6509 * wcsmbs/Makefile (CPPFLAGS): Likewise.
6510 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
6511 Use $(libio-mtsafe).
6512 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
6513 of -D_IO_MTSAFE_IO.
6514 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
6515 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
6516 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
6517 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
6518 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
6519 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
6520 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
6521 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
6522 (CFLAGS-fread_u_chk.c): Likewise.
6523 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
6524 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
6525 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
6526 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
6527 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
6528 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
6529 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
6530 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
6531 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
6532
6533 * libio/Makefile: Test [$(libc-reentrant) = yes]
6534 instead of [$(filter %REENTRANT, $(defines)) nonempty].
6535
6536 * Makeconfig
6537 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
6538 * sysdeps/pthread/configure: File removed.
6539 * sysdeps/pthread/Makeconfig: New file.
6540 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
6541 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
6542
d9195db8
GB
65432012-08-16 Gary Benson <gbenson@redhat.com>
6544
6545 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
6546 unmapping the first object in a namespace.
6547
86466cd9
RM
65482012-08-16 Roland McGrath <roland@hack.frob.com>
6549
6550 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
6551 (__internal_setnetgrent): ... this. Add internal_function to
6552 definition. Add libc_hidden_def.
6553 (setnetgrent): Update caller.
6554 (internal_endnetgrent): Renamed to ...
6555 (__internal_endnetgrent): ... this. Add internal_function to
6556 definition. Add libc_hidden_def.
6557 (endnetgrent): Update caller.
6558 (internal_getnetgrent_r): Renamed to ...
6559 (__internal_getnetgrent_r): ... this. Add internal_function to
6560 definition. Add libc_hidden_def.
6561 (__getnetgrent_r): Update caller.
6562 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
6563
c3c8283c
JM
65642012-08-16 Joseph Myers <joseph@codesourcery.com>
6565
6566 * stdlib/longlong.h: Update from GCC.
6567
db1ee0a8
RM
65682012-08-16 Roland McGrath <roland@hack.frob.com>
6569
6570 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
6571 on _QL, which is set by umul_ppmm but never used.
6572 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
6573 variables, which are set by GMP macros but never used.
6574 * stdio-common/_itowa.c (_itowa): Likewise.
6575 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
6576 * stdlib/mod_1.c (mpn_mod_1): Likewise.
6577
30f69637
CD
65782012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
6579
6580 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
6581 struct La_sh_regs is not constant.
6582 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
6583 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
6584 and struct La_sparc64_regs are not constant.
6585
93a78ac4
JM
65862012-08-16 Joseph Myers <joseph@codesourcery.com>
6587
6588 * sysdeps/unix/sysv/linux/kernel-features.h
6589 (__ASSUME_POSIX_TIMERS): Remove.
6590 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
6591 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
6592 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
6593 Make code unconditional.
6594 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
6595 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
6596 Make code unconditional.
6597 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
6598 * sysdeps/unix/sysv/linux/clock_nanosleep.c
6599 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
6600 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
6601 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
6602 Make code unconditional.
6603 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
6604 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
6605 (__libc_missing_posix_timers): Remove.
6606
dd924cd7
RM
66072012-08-15 Roland McGrath <roland@hack.frob.com>
6608
4b4f2771
RM
6609 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
6610 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
6611
601c888b
RM
6612 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
6613
176790a7
RM
6614 * elf/dl-sym.c: Include <stdlib.h>.
6615
329bc018
RM
6616 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
6617 constants, which avoids warnings in 32-bit builds.
6618
e04e272d
RM
6619 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
6620 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
6621
952bf94a
RM
6622 * misc/lseek.c: File moved to ...
6623 * io/lseek.c: ... here.
6624
7c99b50a
RM
6625 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
6626
dd924cd7
RM
6627 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
6628 shifting LEN more than 31 bits at once.
6629
b3f479a8
LD
66302012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6631
6632 [BZ #14195]
8c4ae0d4
RM
6633 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
6634 segmentation fault for a case of two empty input strings.
b3f479a8
LD
6635 * string/test-strncasecmp.c (check1): Renamed to...
6636 (bz12205): ...this.
6637 (bz14195): Add new testcase for two empty input strings and N > 0.
6638 (test_main): Call new testcase, adapt for renamed function.
6639
9c55864e
AJ
66402012-08-15 Andreas Jaeger <aj@suse.de>
6641
6642 [BZ #14090]
6643 * crypt/md5test2.c: New test, based on test supplied by Serge
6644 Belyshev <belyshev@depni.sinp.msu.ru>.
6645 * crypt/Makefile (xtests): Add md5test-giant..
6646 * crypt/Makefile ($(objpfx)md5test-giant): Add.
6647
02dcb6c5
PE
66482012-08-15 Paul Eggert <eggert@cs.ucla.edu>
6649
6650 [BZ #14090]
6651 * crypt/md5.c (md5_process_block): Don't assume the buffer
6652 length is less than 2**32.
6653 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
6654 length is less than 2**64.
6655
a3f95dcc
RM
66562012-08-15 Roland McGrath <roland@hack.frob.com>
6657
be75d758
RM
6658 * string/str-two-way.h: Include <sys/param.h>.
6659 (MAX): Macro removed.
6660
7312ca90
RM
6661 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
6662 Move #define and #undef of memmove to just before and after
6663 including <string.h>.
6664
9a0a5486
RM
6665 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
6666 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
6667 and after including <string.h>. Move declarations of
6668 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
6669 to before #include "string/memmove.c".
6670
67cc348d
RM
6671 * include/dirent.h: Declare __getdirentries.
6672
a3f95dcc
RM
6673 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
6674 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
6675
ca98e171
MF
66762012-08-14 Mike Frysinger <vapier@gentoo.org>
6677
6678 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
6679 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
6680 * sysdeps/i386/configure: Regenerated.
6681 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
6682 STABS_CURRENT_FILE, and STABS_FUN.
6683 (END): Remove call to STABS_FUN_END.
6684 (STABS_CURRENT_FILE1): Delete.
6685 (STABS_CURRENT_FILE): Likewise.
6686 (STABS_FUN): Likewise.
6687 (STABS_FUN_END): Likewise.
6688 (STABS_FUN2): Likewise.
6689 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
6690 * sysdeps/x86_64/configure: Regenerated.
6691
5908bf46
RM
66922012-08-14 Roland McGrath <roland@hack.frob.com>
6693
6694 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 6695 * elf/dl-lookup.c: Likewise.
5908bf46 6696
f2c05b9e
JM
66972012-08-14 Joseph Myers <joseph@codesourcery.com>
6698
6699 * sysdeps/unix/sysv/linux/kernel-features.h
6700 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
6701 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
6702 unconditionally.
6703 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
6704 unconditionally.
6705 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
6706 condition on __ASSUME_CLONE_THREAD_FLAGS.
6707
e11f5155
AJ
67082012-08-14 Andreas Jaeger <aj@suse.de>
6709
6710 * sysdeps/i386/fpu/libm-test-ulps: Update.
6711
51a9ba86
MK
67122012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
6713
2fdd4f78
AJ
6714 * include/atomic.h (atomic_exchange_and_add): Split into ...
6715 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
6716 New atomic macros.
51a9ba86 6717
ba6cba9e
MT
67182012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
6719
6720 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6721
42443a47
JL
67222012-08-13 Jeff Law <law@redhat.com>
6723
6724 * manual/stdio.texi (snprintf): Clarify handling of the trailing
6725 null byte in the output string.
6726
121dce05
JM
67272012-08-10 Joseph Myers <joseph@codesourcery.com>
6728
6729 * sysdeps/unix/sysv/linux/kernel-features.h
6730 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
6731 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
6732 (__ASSUME_ARG_MAX_STACK_BASED): Define.
6733 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
6734 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
6735 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
6736 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
6737
bf51f568
JL
67382012-08-09 Jeff Law <law@redhat.com>
6739
6740 [BZ #13939]
6741 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
6742 When avoid_arena is set, don't retry in the that arena. Pick the
6743 next one, whatever it might be.
6744 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
6745 (arena_lock): Pass in new parameter to arena_get2.
6746 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
6747 arena_get2.
6748 (__libc_malloc): Unify retrying after main arena failure with
6749 __libc_memalign version.
6750 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
6751
f85fa270
L
67522012-08-09 H.J. Lu <hongjiu.lu@intel.com>
6753
6754 [BZ #14166]
6755 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
6756 to __redirect_strstr.
6757 (__strstr_sse42): Use typeof __redirect_strstr.
6758 (__strstr_ia32): Likewise.
6759 (__libc_strstr): New prototype.
6760 (strstr): Renamed to ...
6761 (__libc_strstr): This.
6762 (strstr): New strong alias of __libc_strstr.
6763 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
6764 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
6765 __redirect_time.
6766 Include <time.h>.
6767 (__libc_time): New prototype.
6768 (time_ifunc): Replace time with __libc_time.
6769 (time): New strong alias and hidden definition of __libc_time.
6770 (__GI_time): Remove strong alias.
6771 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
6772 Include <stddef.h>.
6773 (memmove): Redefined to __redirect_memmove.
6774 (__memmove_sse2): Use typeof __redirect_memmove.
6775 (__memmove_ssse3): Likewise.
6776 (__memmove_ssse3_back): Likewise.
6777 (__libc_memmove): New prototype.
6778 (memmove): Renamed to ...
6779 (__libc_memmove): This.
6780 (memmove): New strong alias of __libc_memmove.
6781
33b4a91e
MS
67822012-08-08 Mark Salter <msalter@redhat.com>
6783
6784 * elf/elf.h
6785 (R_MN10300_TLS_GD): Define.
6786 (R_MN10300_TLS_LD): Likewise.
6787 (R_MN10300_TLS_LDO): Likewise.
6788 (R_MN10300_TLS_GOTIE): Likewise.
6789 (R_MN10300_TLS_IE): Likewise.
6790 (R_MN10300_TLS_LE): Likewise.
6791 (R_MN10300_TLS_DTPMOD): Likewise.
6792 (R_MN10300_TLS_DTPOFF): Likewise.
6793 (R_MN10300_TLS_TPOFF): Likewise.
6794 (R_MN10300_SYM_DIFF): Likewise.
6795 (R_MN10300_ALIGN): Likewise.
6796 (R_MN10300_NUM): Update.
6797
b36137f1
JM
67982012-08-08 Joseph Myers <joseph@codesourcery.com>
6799
6800 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
6801 Remove.
6802
cdd915fd
RM
68032012-08-08 Roland McGrath <roland@hack.frob.com>
6804
a2433aac
RM
6805 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
6806
cdd915fd
RM
6807 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
6808 sysdeps/unix -> sysdeps/posix move.
6809 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
6810
bf9b740a
AM
68112012-08-07 Allan McRae <allan@archlinux.org>
6812
6813 [BZ #14303]
6814 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
6815 (SUNOS_CPP): Likewise.
6816 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
6817 not found.
6818 (open_input): Call CPP using execvp.
6819
93df14ee
JM
68202012-08-07 Joseph Myers <joseph@codesourcery.com>
6821
6822 * sysdeps/unix/sysv/linux/kernel-features.h
6823 (__ASSUME_PROT_GROWSUPDOWN): Remove.
6824 (__ASSUME_NO_CLONE_DETACHED): Likewise.
6825 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
6826 (__ASSUME_WAITID_SYSCALL): Likewise.
6827 * sysdeps/unix/sysv/linux/dl-execstack.c
6828 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
6829 code unconditional.
6830 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
6831 conditional code.
6832 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
6833 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
6834 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
6835 code.
6836 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
6837 unconditional.
6838 [__ASSUME_WAITID_SYSCALL]: Likewise.
6839 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
6840
d34689de
RM
68412012-08-07 Roland McGrath <roland@hack.frob.com>
6842
a281decc
RM
6843 * sysdeps/unix/closedir.c: Renamed to ...
6844 * sysdeps/posix/closedir.c: ... here.
6845 * sysdeps/unix/dirfd.c: Renamed to ...
6846 * sysdeps/posix/dirfd.c: ... here.
6847 * sysdeps/unix/dirstream.h: Renamed to ...
6848 * sysdeps/posix/dirstream.h: ... here.
6849 * sysdeps/unix/fdopendir.c: Renamed to ...
6850 * sysdeps/posix/fdopendir.c: ... here.
6851 * sysdeps/unix/opendir.c: Renamed to ...
6852 * sysdeps/posix/opendir.c: ... here.
6853 * sysdeps/unix/readdir.c: Renamed to ...
6854 * sysdeps/posix/readdir.c: ... here.
6855 * sysdeps/unix/readdir_r.c: Renamed to ...
6856 * sysdeps/posix/readdir_r.c: ... here.
6857 * sysdeps/unix/rewinddir.c: Renamed to ...
6858 * sysdeps/posix/rewinddir.c: ... here.
6859 * sysdeps/unix/seekdir.c: Renamed to ...
6860 * sysdeps/posix/seekdir.c: ... here.
6861 * sysdeps/unix/telldir.c: Renamed to ...
6862 * sysdeps/posix/telldir.c: ... here.
6863 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
6864 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
6865 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
6866 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
6867
22895b47
RM
6868 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
6869 * bits/fcntl.h: ... here.
6870
707a53b6
RM
6871 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
6872 not 0.
6873 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
6874 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
6875 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
6876 (struct flock): Move l_start, l_len to the beginning.
6877 Use __pid_t for l_pid.
6878 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
6879 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
6880 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
6881 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
6882 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
6883 [__USE_LARGEFILE64] (struct flock64): New type.
6884 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
6885
f0bd3e25
RM
6886 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
6887 * bits/dirent.h: ... here.
6888
d34689de
RM
6889 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
6890 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
6891
6dad2c06
JM
68922012-08-07 Joseph Myers <joseph@codesourcery.com>
6893
6894 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
6895 Change from 2.6.0 to 2.6.16.
6896 * sysdeps/unix/sysv/linux/configure: Regenerated.
6897 * sysdeps/unix/sysv/linux/kernel-features.h
6898 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
6899 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
6900 version.
6901 (__ASSUME_UTIMES): Likewise.
6902 (__ASSUME_CLONE_STOPPED): Remove.
6903 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
6904 architectures, not kernel version.
6905 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
6906 (__ASSUME_NO_CLONE_DETACHED): Likewise.
6907 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
6908 (__ASSUME_WAITID_SYSCALL): Likewise.
6909 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
6910 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
6911 * README: State 2.6.16 as minimum Linux kernel version. Do not
6912 refer to older versions.
6913
03af9520
RM
69142012-08-06 Roland McGrath <roland@hack.frob.com>
6915
8e49df1d
RM
6916 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
6917 Define alphasort64 as an alias.
6918 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
6919 Define versionsort64 as an alias.
6920 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
6921 Define scandir64 as an alias.
6922 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
6923 Define scandirat64 as an alias.
6924 * dirent/alphasort64.c (alphasort64):
6925 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
6926 * dirent/versionsort64.c: Likewise.
6927 * dirent/scandir64.c: Likewise.
6928 * dirent/scandirat64.c: Likewise.
6929 * sysdeps/wordsize-64/alphasort.c: File removed.
6930 * sysdeps/wordsize-64/alphasort64.c: File removed.
6931 * sysdeps/wordsize-64/scandir.c: File removed.
6932 * sysdeps/wordsize-64/scandir64.c: File removed.
6933 * sysdeps/wordsize-64/scandirat.c: File removed.
6934 * sysdeps/wordsize-64/scandirat64.c: File removed.
6935 * sysdeps/wordsize-64/versionsort.c: File removed.
6936 * sysdeps/wordsize-64/versionsort64.c: File removed.
6937 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
6938 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
6939 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
6940 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
6941 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
6942 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
6943 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
6944 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
6945
6946 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
6947 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
6948 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
6949 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6950 [defined __arch64__ || defined __sparcv9]
6951 (__INO_T_MATCHES_INO64_T): New macro.
6952 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
6953 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
6954 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
6955 * sysdeps/unix/sysv/linux/bits/dirent.h
6956 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
6957 (_DIRENT_MATCHES_DIRENT64): New macro.
6958
03af9520
RM
6959 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
6960 Define lockf64 as an alias.
6961 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
6962 Define fseeko64 as an alias.
6963 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
6964 Define ftello64 as an alias.
6965 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
6966 Define _IO_fgetpos64 and fgetpos64 as aliases.
6967 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
6968 Define _IO_fsetpos64 and fsetpos64 as aliases.
6969 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
6970 Conditionalize body on this.
6971 * libio/fseeko64.c: Likewise.
6972 * libio/ftello64.c: Likewise.
6973 * libio/iofgetpos64.c: Likewise.
6974 * libio/iofsetpos64.c: Likewise.
6975 * sysdeps/wordsize-64/lockf.c: File removed.
6976 * sysdeps/wordsize-64/lockf64.c: File removed.
6977 * sysdeps/wordsize-64/fseeko.c: File removed.
6978 * sysdeps/wordsize-64/fseeko64.c: File removed.
6979 * sysdeps/wordsize-64/ftello.c: File removed.
6980 * sysdeps/wordsize-64/ftello64.c: File removed.
6981 * sysdeps/wordsize-64/iofgetpos.c: File removed.
6982 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
6983 * sysdeps/wordsize-64/iofsetpos.c: File removed.
6984 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
6985 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
6986 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
6987 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
6988 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
6989 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
6990 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
6991 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
6992 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
6993 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
6994 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
6995
6996 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
6997 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
6998 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
6999 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7000 [defined __arch64__ || defined __sparcv9]
7001 (__OFF_T_MATCHES_OFF64_T): New macro.
7002 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
7003 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
7004 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
7005 (__OFF_T_MATCHES_OFF64_T): New macro.
7006
c5757acd
L
70072012-08-06 H.J. Lu <hongjiu.lu@intel.com>
7008
7009 * stdlib/secure-getenv.c (__secure_getenv): Replace
7010 GLIBC_2_16 with GLIBC_2_17.
7011
3a31811e
L
70122012-08-06 H.J. Lu <hongjiu.lu@intel.com>
7013
7014 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
7015 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
7016
faa2bccb
DM
70172012-08-03 David S. Miller <davem@davemloft.net>
7018
7019 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7020
85fe1997
JM
70212012-08-03 Joseph Myers <joseph@codesourcery.com>
7022
7023 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
7024 Remove.
7025 (__ASSUME_CORRECT_SI_PID): Likewise.
7026 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
7027 (__ASSUME_TMPFS_NAME): Likewise.
7028 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
7029 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
7030 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
7031 (HAVE_AUX_SECURE): Make definition unconditional.
7032 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
7033 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
7034
4f75b7a0
RM
70352012-08-03 Roland McGrath <roland@hack.frob.com>
7036
7037 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
7038 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
7039 * sysdeps/mach/hurd/eloop-threshold.h: New file.
7040 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
7041 __eloop_threshold instead of SYMLOOP_MAX.
7042
7043 * sysdeps/generic/eloop-threshold.h: New file.
7044 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
7045 of MAXSYMLINKS.
7046 * elf/chroot_canon.c (chroot_canon): Likewise.
7047
7aab07e4
JM
70482012-08-03 Joseph Myers <joseph@codesourcery.com>
7049
7050 [BZ #13717]
7051 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
7052 Change to 2.6.0 everywhere.
7053 * sysdeps/unix/sysv/linux/configure: Regenerated.
7054 * sysdeps/unix/sysv/linux/kernel-features.h
7055 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
7056 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
7057 kernel versions.
7058 (__ASSUME_POSIX_TIMERS): Define unconditionally.
7059 (__ASSUME_FUTEX_REQUEUE): Remove.
7060 (__ASSUME_STATFS64): Define unconditionally.
7061 (__ASSUME_AT_SECURE): Likewise.
7062 (__ASSUME_CORRECT_SI_PID): Likewise.
7063 (__ASSUME_TGKILL): Define without depending on kernel version for
7064 i386.
7065 (__ASSUME_UTIMES): Likewise.
7066 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
7067 kernel version.
7068 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
7069 (__ASSUME_TMPFS_NAME): Likewise.
7070 * README: Update reference to Linux kernel versions.
7071
b67e9372
MP
70722012-08-02 Marek Polacek <polacek@redhat.com>
7073
1f529f7d 7074 [BZ# 14150]
b67e9372
MP
7075 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
7076 libc_cv_asm_type_prefix with %.
7077 * configure: Regenerated.
d2441631
RM
7078 * include/libc-symbols.h: Remove comment about
7079 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
7080 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
7081 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
7082 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
7083 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
7084 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
7085 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
7086 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
7087 * elf/tst-unique2mod1.c: Likewise.
7088 * elf/tst-unique1mod2.c: Likewise.
7089 * elf/tst-unique1mod1.c: Likewise.
7090 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
7091 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
7092 Replace ASM_TYPE_DIRECTIVE with .type.
7093 * sysdeps/s390/s390-64/sysdep.h: Likewise.
7094 * sysdeps/i386/sysdep.h: Likewise.
7095 * sysdeps/x86_64/sysdep.h: Likewise.
7096 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
7097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
7098 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 7099 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
7100 * sysdeps/powerpc/powerpc32/sysdep.h:
7101 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
7102 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
7103 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
7104 * sysdeps/i386/fpu/e_powf.S: Likewise.
7105 * sysdeps/i386/fpu/e_expl.S: Likewise.
7106 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
7107 * sysdeps/i386/fpu/e_acosh.S: Likewise.
7108 * sysdeps/i386/fpu/e_pow.S: Likewise.
7109 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
7110 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
7111 * sysdeps/i386/fpu/s_expm1.S: Likewise.
7112 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
7113 * sysdeps/i386/fpu/e_log2.S: Likewise.
7114 * sysdeps/i386/fpu/e_log2l.S: Likewise.
7115 * sysdeps/i386/fpu/e_scalb.S: Likewise.
7116 * sysdeps/i386/fpu/e_powl.S: Likewise.
7117 * sysdeps/i386/fpu/e_log10f.S: Likewise.
7118 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
7119 * sysdeps/i386/fpu/e_logl.S: Likewise.
7120 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
7121 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
7122 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
7123 * sysdeps/i386/fpu/e_log2f.S: Likewise.
7124 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
7125 * sysdeps/i386/fpu/e_log.S: Likewise.
7126 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
7127 * sysdeps/i386/fpu/e_logf.S: Likewise.
7128 * sysdeps/i386/fpu/e_log10l.S: Likewise.
7129 * sysdeps/i386/fpu/e_atanh.S: Likewise.
7130 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
7131 * sysdeps/i386/fpu/e_log10.S: Likewise.
7132 * sysdeps/i386/fpu/s_frexp.S: Likewise.
7133 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
7134 * sysdeps/i386/fpu/s_asinh.S: Likewise.
7135 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
7136 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
7137 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
7138 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
7139 * sysdeps/i386/i686/strtok.S: Likewise.
7140 * sysdeps/i386/i386-mcount.S: Likewise.
7141 * sysdeps/i386/strtok.S: Likewise.
7142 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
7143 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
7144 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
7145 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
7146 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
7147 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
7148 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
7149 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
7150 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
7151 * sysdeps/x86_64/_mcount.S: Likewise.
7152 * sysdeps/x86_64/strtok.S: Likewise.
7153 * sysdeps/sh/_mcount.S: Likewise.
7154
2747bf9a
RM
71552012-08-01 Roland McGrath <roland@hack.frob.com>
7156
7157 * libio/iofopen.c: Include <fcntl.h>.
7158 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
7159 (_IO_fopen64, fopen64): Define as aliases.
7160 * libio/iofopen64.c: Include <fcntl.h>.
7161 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
7162 Conditionalize body on this.
7163 * sysdeps/wordsize-64/iofopen.c: File removed.
7164 * sysdeps/wordsize-64/iofopen64.c: File removed.
7165
3fb791b8
MP
71662012-08-01 Marek Polacek <polacek@redhat.com>
7167
7168 * libc/Makeconfig: Use elf in place of binfmt-subdir.
7169 Use dlfcn directly instead of a variable.
7170 (binfmt-subdir): Do not define.
7171 (dlfcn): Likewise.
7172
a9f1039f
JM
71732012-08-01 Joseph Myers <joseph@codesourcery.com>
7174
23bddc06
JM
7175 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
7176 Remove all definitions.
7177 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
7178 <kernel-features.h>.
7179 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
7180 (miss_F_GETOWN_EX): Remove all definitions.
7181 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
7182 macro definition.
7183 [!__ASSUME_FCNTL64]: Remove conditional code.
7184 [__ASSUME_FCNTL64]: Make code unconditional.
7185 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
7186 <kernel-features.h>.
7187 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
7188 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
7189 (lockf64) [__NR_fcntl64]: Make code unconditional.
7190 (lockf64) [__ASSUME_FCNTL64]: Likewise.
7191
a9f1039f
JM
7192 * sysdeps/unix/sysv/linux/kernel-features.h
7193 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
7194 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
7195 Make code unconditional.
7196 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
7197 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
7198 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
7199 [__NR_vfork]: Make code unconditional.
7200 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
7201 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
7202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
7203 [__NR_vfork]: Make code unconditional.
7204 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
7205 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
7206
09c0ee5f
RM
72072012-08-01 Roland McGrath <roland@hack.frob.com>
7208
48aec5b9
RM
7209 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
7210 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
7211
cd97c966
RM
7212 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
7213 Define mkstemp64 as an alias.
3f55550c
RM
7214 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
7215 Define mkstemps64 as an alias.
cd97c966
RM
7216 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
7217 Define mkostemp64 as an alias.
b8625cfc
RM
7218 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
7219 Define mkostemps64 as an alias.
cd97c966
RM
7220 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
7221 Conditionalize body on this.
7222 * misc/mkostemp64.c: Likewise.
b8625cfc 7223 * misc/mkostemps64.c: Likewise.
3f55550c 7224 * misc/mkstemps64.c: Likewise.
cd97c966
RM
7225 * sysdeps/wordsize-64/mkstemp64.c: File removed.
7226 * sysdeps/wordsize-64/mkostemp64.c: File removed.
7227 * sysdeps/wordsize-64/mkostemp.c: File removed.
7228 * sysdeps/wordsize-64/mkstemp.c: File removed.
7229 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
7230 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
7231 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
7232 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
7233
09c0ee5f
RM
7234 [BZ #14138]
7235 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
7236 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
7237 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
7238 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
7239
7240 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
7241 compat_symbol macros from <shlib-compat.h> rather than the underlying
7242 default_symbol_version and symbol_version macros, so that DEFAULT
7243 lines in shlib-versions are respected.
7244 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
7245
7e66ee51
FW
72462012-08-01 Florian Weimer <fweimer@redhat.com>
7247
7248 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
7249 Declare with warn_unused_result.
7250 (setgid, setregid, setegid, setresgid): Likewise.
7251 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
7252 Likewise.
7253 * WUR-REPORT: Remove set*id functions.
7254
d2a54255
PT
72552012-07-31 Pino Toscano <toscano.pino@tiscali.it>
7256
7257 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
7258
7ecdb005
RM
72592012-07-31 Roland McGrath <roland@hack.frob.com>
7260
789bd351
RM
7261 * include/sys/socket.h (__libc_accept, __libc_accept4):
7262 Add attribute_hidden.
7263 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
7264
40ce302d
RM
7265 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
7266 use of PTR_MANGLE.
7267 * inet/getnetgrent_r.c (setup): Likewise.
7268
7ecdb005
RM
7269 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
7270
e2eabb2c
DM
72712012-07-31 David S. Miller <davem@davemloft.net>
7272
7273 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7274
d0419dbf
JM
72752012-07-31 Joseph Myers <joseph@codesourcery.com>
7276
7277 [BZ #13629]
7278 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
7279 value between 1.0 and 2.0 and smaller part has absolute value less
7280 than 1.0.
7281 * math/s_clog10.c (__clog10): Likewise.
7282 * math/s_clog10f.c (__clog10f): Likewise.
7283 * math/s_clog10l.c (__clog10l): Likewise.
7284 * math/s_clogf.c (__clogf): Likewise.
7285 * math/s_clogl.c (__clogl): Likewise.
7286 * math/libm-test.inc (clog_test): Add more tests.
7287 (clog10_test): Likewise.
7288 * sysdeps/i386/fpu/libm-test-ulps: Update.
7289 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7290
2bc13872
FW
72912012-07-31 Florian Weimer <fweimer@redhat.com>
7292
7293 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
7294 Exit with zero in case no suitable GID is found, and write a
7295 message to standard error.
7296
bea9b193
RM
72972012-07-30 Roland McGrath <roland@hack.frob.com>
7298
7299 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
7300 rather than to 1.
7301 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
7302 (MAXPATHLEN): Removed.
7303 (NOGROUP, NODEV): New macros.
7304 (setbit, clrbit, isset, isclr): New macros.
7305 (howmany, roundup, powerof2): New macros.
7306 (DEV_BSIZE): New macro.
7307
7308 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
7309 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
7310
7311 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
7312 definition on [!__NO_LONG_DOUBLE_MATH].
7313
7314 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
7315 PTR_MANGLE and PTR_DEMANGLE.
7316
7317 * socket/accept4.c (accept4): Rename to __libc_accept4.
7318 Define accept4 as a weak alias.
7319
7320 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
7321 on [_DIRENT_HAVE_D_TYPE].
7322 * io/ftw.c (ftw_dir): Likewise.
7323
7324 * io/xmknod.c (__xmknod): Don't check PATH for being null.
7325
7326 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
7327
7328 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
7329 Use the BSD numbers rather than the arbitrary ones we had.
7330 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
7331 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
7332 (SIGXCPU, SIGXFSZ): New macros.
7333 (_NSIG): Now 32.
7334
7335 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
7336 initializer on [_LIBC_REENTRANT].
7337
7338 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
7339 definitions inside [_POSIX_MAPPED_FILES].
7340
7341 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
7342
7343 * dirent/opendir.c: Include <fcntl.h>.
7344
7345 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
7346 (__libc_getspecific): Likewise.
7347 (__libc_key_create): Likewise.
7348
7349 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
7350 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
7351 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
7352 (tmpfile64): Define as alias.
7353 * sysdeps/wordsize-64/tmpfile.c: File removed.
7354 * sysdeps/wordsize-64/tmpfile64.c: File removed.
7355 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
7356 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
7357
7358 * stdio-common/vfscanf.c: Include <stdbool.h>.
7359 * nss/makedb.c: Likewise.
7360 * stdio-common/_i18n_number.h: Likewise.
7361 * argp/argp-help.c: Likewise.
7362 * posix/wordexp.c: Likewise.
7363 * sysdeps/posix/spawni.c: Likewise.
7364 * nss/nss_files/files-initgroups.c: Likewise.
7365 * stdio-common/reg-modifier.c: Include <stdlib.h>.
7366 * nss/nss_files/files-initgroups.c: Likewise.
7367 * nss/nss_db/db-netgrp.c: Likewise.
7368 * nss/nss_db/db-initgroups.c: Likewise.
7369 * io/fchmodat.c: Include <sys/stat.h>.
7370
7371 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
7372 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
7373
7374 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
7375 [HAVE_MMAP].
7376
7377 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
7378 Add multiple inclusion protection.
7379
e5abc686
DM
73802012-07-27 David S. Miller <davem@davemloft.net>
7381
7382 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7383
815e6fa3
GB
73842012-07-27 Gary Benson <gbenson@redhat.com>
7385
7386 [BZ #14298]
7387 * elf/rtld.c: Include <stap-probe.h>.
7388 (dl_main): Added static probes "init_start" and "init_complete".
7389 * elf/dl-load.c: Include <stap-probe.h>.
7390 (lose): Take new parameter "nsid".
7391 Added static probe "map_failed".
7392 (_dl_map_object_from_fd): Pass namespace id to lose.
7393 Added static probe "map_start".
7394 (open_verify): Pass namespace id to lose.
7395 * elf/dl-open.c: Include <stap-probe.h>.
7396 (dl_open_worker) Added static probes "map_complete", "reloc_start"
7397 and "reloc_complete".
7398 * elf/dl-close.c: Include <stap-probe.h>.
7399 (_dl_close_worker): Added static probes "unmap_start" and
7400 "unmap_complete".
7401 * elf/rtld-debugger-interface.txt: New file documenting the above.
7402
9f98c16c
RM
74032012-07-26 Roland McGrath <roland@hack.frob.com>
7404
7405 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
7406 rather than a string variable.
7407 * sunrpc/rpc_main.c (h_output): Likewise.
7408 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
7409
f3c22df3
PT
74102012-07-26 Pino Toscano <toscano.pino@tiscali.it>
7411
7412 * inet/check_native.c: New file.
7413
3129cfc6
JM
74142012-07-26 Joseph Myers <joseph@codesourcery.com>
7415
da865e95
JM
7416 [BZ #13629]
7417 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
7418 if larger part has absolute value 1.0.
7419 * math/s_clog10.c (__clog10): Likewise.
7420 * math/s_clog10f.c (__clog10f): Likewise.
7421 * math/s_clog10l.c (__clog10l): Likewise.
7422 * math/s_clogf.c (__clogf): Likewise.
7423 * math/s_clogl.c (__clogl): Likewise.
7424 * math/libm-test.inc (clog_test): Add more tests.
7425 (clog10_test): Likewise.
7426 * sysdeps/i386/fpu/libm-test-ulps: Update.
7427 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7428
3129cfc6
JM
7429 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
7430 (pltexit): Likewise.
7431 (La_regs): Likewise.
7432 (La_retval): Likewise.
7433 (int_retval): Likewise.
7434 Update #error for removed macros to refer only to definitions in
7435 tst-audit.h.
7436 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
7437 macro.
7438 (pltexit): Likewise.
7439 (La_regs): Likewise.
7440 (La_retval): Likewise.
7441 (int_retval): Likewise.
7442 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
7443 macro.
7444 (pltexit): Likewise.
7445 (La_regs): Likewise.
7446 (La_retval): Likewise.
7447 (int_retval): Likewise.
7448 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
7449 macro.
7450 (pltexit): Likewise.
7451 (La_regs): Likewise.
7452 (La_retval): Likewise.
7453 (int_retval): Likewise.
7454 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
7455 macro.
7456 (pltexit): Likewise.
7457 (La_regs): Likewise.
7458 (La_retval): Likewise.
7459 (int_retval): Likewise.
7460 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
7461 macro.
7462 (pltexit): Likewise.
7463 (La_regs): Likewise.
7464 (La_retval): Likewise.
7465 (int_retval): Likewise.
7466 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
7467 macro.
7468 (pltexit): Likewise.
7469 (La_regs): Likewise.
7470 (La_retval): Likewise.
7471 (int_retval): Likewise.
7472 * sysdeps/generic/tst-audit.h: Update comment to refer only to
7473 macro definitions in tst-audit.h.
7474 * sysdeps/i386/tst-audit.h: New file.
7475 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
7476 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
7477 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
7478 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
7479 * sysdeps/sh/tst-audit.h: Likewise.
7480 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
7481 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
7482 * sysdeps/x86_64/tst-audit.h: Likewise.
7483
bfc07087
AJ
74842012-07-26 Andreas Jaeger <aj@suse.de>
7485
b1b2aaf8
AJ
7486 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
7487 ptrace.
7488
7489 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
7490 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
7491 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
7492 PTRACE_O_MASK.
7493 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
7494 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
7495 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
7496
bfc07087
AJ
7497 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
7498 value.
7499
7500 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
7501 _sigsys.
7502 (si_call_addr, si_syscall, si_arch): Define new macro.
7503 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
7504 _sigsys.
7505 (si_call_addr, si_syscall, si_arch): Define new marcro.
7506 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
7507 _sigsys.
7508 (si_call_addr, si_syscall, si_arch): Define new macro.
7509 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
7510 _sigsys.
7511 (si_call_addr, si_syscall, si_arch): Define new macro.
7512
89b4b02f
JM
75132012-07-25 Joseph Myers <joseph@codesourcery.com>
7514
7515 [BZ #13717]
7516 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
7517 Change to 2.4.21 where previously 2.4.1.
7518 * sysdeps/unix/sysv/linux/configure: Regenerated.
7519 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
7520 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
7521 Linux kernel version.
7522 (__ASSUME_STD_AUXV): Remove.
7523 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
7524 kernel version.
7525 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
7526 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
7527 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
7528 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
7529 (__ASSUME_NETLINK_SUPPORT): Likewise.
7530 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
7531 (__no_netlink_support): Remove conditional definition.
7532 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
7533 Remove.
7534 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
7535 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
7536 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
7537 (if_nameindex_ioctl): Remove.
7538 (if_nameindex_netlink): Do not handle __no_netlink_support.
7539 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
7540 code.
7541 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
7542 Remove conditional code.
7543 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
7544 code.
7545 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
7546 unconditional.
7547 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
7548 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
7549 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
7550 Remove.
7551 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
7552 [!__ASSUME_STD_AUXV]: Remove conditional code.
7553 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
7554 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
7555 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
7556 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
7557 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
7558 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
7559 code.
7560 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
7561 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
7562 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
7563 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
7564 conditional code.
7565 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
7566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
7567 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
7568 code.
7569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
7570 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
7571 conditional code.
7572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
7573 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
7574 code unconditional.
7575 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7576 conditional code.
7577 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
7578 unconditional.
7579 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7580 conditional code.
7581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
7582 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
7583 unconditional.
7584 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7585 conditional code.
7586 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
7587 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
7588 code unconditional.
7589 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7590 conditional code.
7591 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
7592 unconditional.
7593 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7594 conditional code.
7595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
7596 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
7597 code unconditional.
7598 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7599 conditional code.
7600 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
7601 unconditional.
7602 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7603 conditional code.
7604
842a39cd
AS
76052012-07-25 Andreas Schwab <schwab@linux-m68k.org>
7606
7607 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
7608 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
7609 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
7610 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
7611 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
7612 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
7613 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
7614 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
7615 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
7616 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
7617 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
7618 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
7619 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
7620 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
7621 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
7622 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
7623 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
7624 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
7625 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
7626 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
7627 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
7628 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
7629 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
7630
84b3fd84
FW
76312012-07-25 Florian Weimer <fweimer@redhat.com>
7632
7633 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
7634 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
7635 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
7636 Introduce __libc_secure_getenv.
0c7936d5
FW
7637 * stdlib/Versions (2.17): Add secure_getenv
7638 (GLIBC_PRIVATE): Add __libc_secure_getenv.
7639 * stdlib/secure-getenv.c: Rename __secure_getenv to
7640 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
7641 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
7642 * stdlib/tst-secure-getenv.c: New.
7643 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
7644 * manual/startup.texi (Environment Access): Document
7645 secure_getenv.
84b3fd84
FW
7646 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
7647 __libc_secure_getenv.
7648 * inet/ruserpass.c (ruserpass): Likewise.
7649 * malloc/mtrace.c (mtrace): Likewise.
7650 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 7651 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
7652 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
7653 * sysdeps/posix/tempname.c: Likewise. Evaluate
7654 HAVE_SECURE_GETENV.
7655 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 7656 __secure_getenv to __libc_secure_getenv.
84b3fd84 7657 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
7658 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7659 Likewise.
7660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7661 Likewise.
7662 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
7663 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
7664 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
7665 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
7666 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
7667 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
7668 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 7669
56e49b71
JM
76702012-07-25 Joseph Myers <joseph@codesourcery.com>
7671
7672 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
7673 (struct La_i86_retval): Likewise.
7674 (struct La_x86_64_regs): Likewise.
7675 (struct La_x86_64_retval): Likewise.
7676 (struct La_x32_regs): Likewise.
7677 (struct La_x32_retval): Likewise.
7678 (struct La_ppc32_regs): Likewise.
7679 (struct La_ppc32_retval): Likewise.
7680 (struct La_ppc64_regs): Likewise.
7681 (struct La_ppc64_retval): Likewise.
7682 (struct La_sh_regs): Likewise.
7683 (struct La_sh_retval): Likewise.
7684 (struct La_s390_32_regs): Likewise.
7685 (struct La_s390_32_retval): Likewise.
7686 (struct La_s390_64_regs): Likewise.
7687 (struct La_s390_64_retval): Likewise.
7688 (struct La_sparc32_regs): Likewise.
7689 (struct La_sparc32_retval): Likewise.
7690 (struct La_sparc64_regs): Likewise.
7691 (struct La_sparc64_retval): Likewise.
7692 (struct audit_ifaces): Remove architecture-specific pltenter and
7693 pltexit members.
7694 * sysdeps/i386/ldsodefs.h: New file.
7695 * sysdeps/powerpc/ldsodefs.h: Likewise.
7696 * sysdeps/s390/ldsodefs.h: Likewise.
7697 * sysdeps/sh/ldsodefs.h: Likewise.
7698 * sysdeps/sparc/ldsodefs.h: Likewise.
7699 * sysdeps/x86_64/ldsodefs.h: Likewise.
7700
354691b7
MP
77012012-07-25 Marek Polacek <polacek@redhat.com>
7702
7703 [BZ #6808]
7704 * math/libm-test.inc (yn_test): Add another test.
7705 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
7706 to ERANGE when the result is +-Inf.
7707 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
7708 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
7709 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
7710 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
7711
bf9e2071
JM
77122012-07-24 Joseph Myers <joseph@codesourcery.com>
7713
7714 * conform/data/time.h-data (NULL): Use macro-constant. Require
7715 equal to 0.
7716 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
7717 clock_t.
7718 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
7719
57633811
TS
77202012-07-23 Thomas Schwinge <thomas@codesourcery.com>
7721
7722 * configure.in <sysdeps resolving>: Correct printing
7723 Implies_before.
7724 * configure: Regenerate.
7725
c23c33b0
TS
77262012-07-22 Thomas Schwinge <thomas@codesourcery.com>
7727
7728 * math/w_ilogb.c: Include <limits.h>.
7729 * math/w_ilogbl.c: Likewise.
7730
b5982523
JM
77312012-07-20 Joseph Myers <joseph@codesourcery.com>
7732
7733 * manual/lang.texi (__va_copy): Document primarily as ISO C99
7734 va_copy. Document allowing for unavailable va_copy only as
7735 pre-C99 compatibility.
7736 * manual/string.texi (Copying and Concatenation): Use va_copy
7737 instead of __va_copy in concat example.
7738
ac4ea442
PT
77392012-07-20 Pino Toscano <toscano.pino@tiscali.it>
7740
7741 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
7742 (__sendto): Use create_address_port. Initialize APORT and deallocate
7743 it if not null.
7744
f98eafbd
PT
7745 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
7746 with O_NOLINK passed to __file_name_lookup.
7747
898c7aab
PT
7748 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
7749 with O_NOLINK passed to __file_name_lookup.
7750
0ced335a
PT
7751 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
7752 negative N or less than NGIDS.
7753
b3404dbd
PT
7754 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
7755 type to string_t. Set ERANGE as errno and return it if NAME is not big
7756 enough. Use memcpy instead of strncpy.
7757
0f48659e
JM
77582012-07-20 Joseph Myers <joseph@codesourcery.com>
7759
7760 * elf/Makefile (check-data): Remove.
7761 (localplt.data): New vpath directive.
7762 ($(objpfx)check-localplt.out): Use localplt.data from vpath
7763 instead of $(check-data).
7764 * scripts/data/localplt-generic.data: Move to ...
7765 * sysdeps/generic/localplt.data: ... here.
7766 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
7767 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
7768 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
7769 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
7770 ... here.
7771 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
7772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
7773 ... here.
7774 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
7775 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
7776 ... here.
7777 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
7778 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
7779 ... here.
7780 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
7781 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
7782 ... here.
7783 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
7784 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
7785 ... here.
7786
d37cbdaa
AZ
77872012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7788
7789 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
7790 PPC32 and PPC64 files.
7791 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
7792 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
7793
46f85fc2
AK
77942012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7795
7796 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
7797 __makecontext_ret to ...
7798 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
7799 ... here and call exit if uc_link is NULL. New file.
7800 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
7801 __makecontext_ret.S.
7802 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
7803 __makecontext_ret to ...
7804 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
7805 ... here and call exit if uc_link is NULL. New file.
7806 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
7807 __makecontext_ret.S.
7808
08f43f9b
AK
78092012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7810
7811 * elf/elf.h (R_390_IRELATIVE): New definition.
7812 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
7813 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
7814 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
7815 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
7816 (elf_machine_lazy_rel): Likewise.
7817 * sysdeps/s390/dl-irel.h: New file.
7818 * sysdeps/s390/s390-64/memcpy.S: New asm code.
7819 * sysdeps/s390/s390-64/memset.S: New asm code.
7820 * sysdeps/s390/s390-64/memcmp.S: New asm code.
7821 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
7822 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
7823 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
7824 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
7825 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
7826 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
7827 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
7828 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
7829 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
7830 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
7831 * sysdeps/s390/s390-32/memcpy.S: New asm code.
7832 * sysdeps/s390/s390-32/memset.S: New asm code.
7833 * sysdeps/s390/s390-32/memcmp.S: New asm code.
7834
3b05db33
MP
78352012-07-17 Marek Polacek <polacek@redhat.com>
7836
7837 [BZ #14349]
7838 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
7839 * sysdeps/s390/s390-64/configure.in: Likewise.
7840 * sysdeps/sparc/configure.in: Likewise.
7841 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
7842 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
7843 * sysdeps/i386/configure.in: Likewise.
7844 * sysdeps/x86_64/configure.in: Likewise.
7845 * sysdeps/sh/configure.in: Likewise.
7846 * sysdeps/s390/s390-32/configure: Regenerated.
7847 * sysdeps/s390/s390-64/configure: Likewise.
7848 * sysdeps/x86_64/configure: Likewise.
7849 * sysdeps/sh/configure: Likewise.
7850 * sysdeps/powerpc/powerpc64/configure: Likewise.
7851 * sysdeps/powerpc/powerpc32/configure: Likewise.
7852 * sysdeps/sparc/configure: Likwise.
7853 * sysdeps/i386/configure: Likewise.
7854
a66877c6
MP
7855 * elf/dl-open.c: Comment fixes.
7856
cfc82fd8
JM
78572012-07-17 Joseph Myers <joseph@codesourcery.com>
7858
bd29910a
JM
7859 * Makefile [CXX] (check-data): Remove.
7860 [CXX] (c++-types.data): New vpath directive.
7861 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
7862 vpath. Do not allow for C++ type data being missing.
7863 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
7864 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
7865 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
7866 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
7867 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
7868 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
7869 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
7870 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
7871 ... here.
7872 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
7873 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
7874 ... here.
7875 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
7876 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
7877 ... here.
7878 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
7879 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
7880 ... here.
7881 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
7882 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
7883 ... here.
7884 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
7885 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
7886 ... here.
7887 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
7888 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
7889 ... here.
7890 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
7891 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
7892
cfc82fd8
JM
7893 * elf/tls-macros.h (TLS_LE): Move architecture-specific
7894 definitions to architecture-specific files.
7895 (TLS_IE): Likewise.
7896 (TLS_LD): Likewise.
7897 (TLS_GD): Likewise.
7898 * sysdeps/i386/tls-macros.h: New file.
7899 * sysdeps/powerpc/tls-macros.h: Likewise.
7900 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
7901 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
7902 * sysdeps/sh/tls-macros.h: Likewise.
7903 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
7904 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
7905 * sysdeps/x86_64/tls-macros.h: Likewise.
7906
f7db3170
TS
79072012-07-17 Thomas Schwinge <thomas@codesourcery.com>
7908
07cbfc23
TS
7909 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
7910 zero value for regular exit case.
7911
f7db3170
TS
7912 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
7913 (__start_context): Preserve zero value for regular exit case.
7914
dc97c227
TS
79152012-07-17 Thomas Schwinge <thomas@codesourcery.com>
7916 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7917
7918 * manual/setjmp.texi (setcontext): Clarify normal process
7919 termination when uc_link is the null pointer.
7920 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
7921 exit call.
7922
d0cd7d02
AS
79232012-07-16 Andreas Schwab <schwab@linux-m68k.org>
7924
7925 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
7926 preprocessor. Test for each exception mask separately.
7927
dd318934
AJ
79282012-07-16 Andreas Jaeger <aj@suse.de>
7929
7930 * po/ru.po: Update from translation team.
7931
8048311a
JM
79322012-07-15 Joseph Myers <joseph@codesourcery.com>
7933
7934 * conform/data/string.h-data (NULL): Use macro-constant. Require
7935 equal to 0.
7936 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
7937 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
7938 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
7939 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
7940 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7941
b637d46e
AJ
79422012-07-13 Andreas Jaeger <aj@suse.de>
7943
7944 * po/fr.po: Update from translation team.
7945
541428fe
MP
79462012-07-12 Marek Polacek <polacek@redhat.com>
7947
7948 [BZ #14173]
7949 * math/libm-test.inc (yn_test): Add test for BZ #14173.
7950 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
7951 loop condition.
7952
ec332e94
JM
79532012-07-12 Joseph Myers <joseph@codesourcery.com>
7954
7955 [BZ #13717]
7956 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
7957 Change to 2.4.1 where previously 2.4.0.
7958 * sysdeps/unix/sysv/linux/configure: Regenerated.
7959 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
7960 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
7961 version.
7962 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
7963 (__ASSUME_AT_CLKTCK): Remove.
7964 (__ASSUME_AT_PAGESIZE): Likewise.
7965 (__ASSUME_AT_XID): Likewise.
7966 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
7967 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
7968 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
7969 unconditionally.
7970 (HAVE_AUX_PAGESIZE): Likewise.
7971 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
7972 [__ASSUME_AT_CLKTCK]: Make code unconditional.
7973 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
7974
7b6e99be
JB
79752012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
7976
7977 [BZ #14307]
7978 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
7979 the temporary buffer used to invoke __gethostbyname2_r,
7980 __gethostbyaddr_r and gethostbyname4_r to make room for struct
7981 host_data / struct gaih_addrtuple.
7982 * resolv/nss_dns/dns-host.c (global scope): Move definition of
7983 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
7984 header file nss/nsswitch.h.
7985 * nss/nsswitch.h (global scope): Add definition of implementation
7986 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
7987 resolv/nss_dns/dns-host.c).
7988
608404eb
AJ
79892012-07-11 Andreas Jaeger <aj@suse.de>
7990
7991 * po/fr.po: Update from translation team.
7992
71220aca
AJ
7993 * po/sv.po: Update from translation team
7994 * po/fr.po: Another update from translation team.
7995
28cfe843
AZ
79962012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7997
7998 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
7999 for subnormals or multiply small sinh result by itself.
8000 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
8001 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8002
6b90f981
DM
80032012-07-11 David S. Miller <davem@davemloft.net>
8004
8005 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8006
c6825772
AS
80072012-07-10 Andreas Schwab <schwab@linux-m68k.org>
8008
8009 [BZ #14347]
8010 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
8011 (INTERNAL_MARK): Shift it here.
8012
7b8e0d49
MP
80132012-07-10 Marek Polacek <polacek@redhat.com>
8014
8015 [BZ #14151]
8016 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
8017 libc_cv_asm_global_directive with .globl.
8018 * configure: Regenerated.
8019 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
8020 with .globl.
8021 * sysdeps/i386/configure: Regenerated.
8022 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
8023 with .globl.
8024 * sysdeps/x86_64/configure: Regenerated.
8025 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
8026 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
8027 * elf/tst-unique2mod2.c: Likewise.
8028 * elf/tst-unique2mod1.c: Likewise.
8029 * elf/tst-unique1mod2.c: Likewise.
8030 * elf/tst-unique1mod1.c: Likewise.
8031 * sysdeps/s390/s390-32/sysdep.h: Likewise.
8032 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
8033 * sysdeps/s390/s390-64/sysdep.h: Likewise.
8034 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
8035 * sysdeps/mach/sysdep.h: Likewise.
8036 * sysdeps/i386/sysdep.h: Likewise.
8037 * sysdeps/i386/i386-mcount.S: Likewise.
8038 * sysdeps/x86_64/_mcount.S: Likewise.
8039 * sysdeps/x86_64/sysdep.h: Likewise.
8040 * sysdeps/sh/_mcount.S: Likewise.
8041 * sysdeps/sh/sysdep.h: Likewise.
8042 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
8043 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
8044 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
8045 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
8046 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
8047 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
8048 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
8049 * locale/localeinfo.h: Likewise.
8050 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
8051 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
8052
6c55cda3
RM
80532012-07-09 Roland McGrath <roland@hack.frob.com>
8054
8055 [BZ #14336]
8056 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
8057 system".
8058 * manual/message.texi (The Uniforum approach): Likewise.
8059 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
8060 (glibc iconv Implementation): Likewise.
8061
638a572e
JM
80622012-07-09 Joseph Myers <joseph@codesourcery.com>
8063
8064 [BZ #14337]
8065 * math/s_clog.c (__clog): Avoid scaling a value down where that
8066 could result in underflow.
8067 * math/s_clog10.c (__clog10): Likewise.
8068 * math/s_clog10f.c (__clog10f): Likewise.
8069 * math/s_clog10l.c (__clog10l): Likewise.
8070 * math/s_clogf.c (__clogf): Likewise.
8071 * math/s_clogl.c (__clogl): Likewise.
8072 * math/libm-test.inc (clog_test): Add more tests.
8073 (clog10_test): Likewise.
8074 * sysdeps/i386/fpu/libm-test-ulps: Update.
8075 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8076
261f4859
AS
80772012-07-06 Andreas Schwab <schwab@linux-m68k.org>
8078
0abaf3e4
AS
8079 [BZ #14283]
8080 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
8081 by 7 not 8 to examine high bit of fractional part.
8082
261f4859
AS
8083 [BZ #14042]
8084 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
8085 for call to __mcount_internal.
8086 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
8087 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
8088 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
8089
f17ac40d
JM
80902012-07-06 Joseph Myers <joseph@codesourcery.com>
8091
9ad63c23
JM
8092 [BZ #14154]
8093 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
8094 approximation for values within 0x1p-13f of an odd multiple of
8095 pi/4.
8096 * math/libm-test.inc (tan_test): Do not allow spurious underflow
8097 exception. Add more tests.
8098 * sysdeps/i386/fpu/libm-test-ulps: Update.
8099
f17ac40d
JM
8100 [BZ #6778]
8101 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
8102 inputs and return -1 for them. Do not check for +Inf in case not
8103 reachable for +Inf.
8104 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
8105 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
8106 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
8107 and return -1 for them. Do not check for +Inf in case not
8108 reachable for +Inf.
8109 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
8110 define.
8111 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
8112 and return -1 for them. Do not check for +Inf in case not
8113 reachable for +Inf.
8114 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
8115 spurious underflow.
8116 * sysdeps/i386/fpu/libm-test-ulps: Update.
8117 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8118
fb21f89b
MF
81192012-07-06 Mike Frysinger <vapier@gentoo.org>
8120
8121 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
8122
cdfe2c5e
JM
81232012-07-05 Joseph Myers <joseph@codesourcery.com>
8124
8125 [BZ #14157]
8126 [BZ #14331]
8127 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
8128 could result in spurious underflow. Scale down values above
8129 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
8130 * math/s_csqrtf.c (__csqrtf): Likewise.
8131 * math/s_csqrtl.c (__csqrtl): Likewise.
8132 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
8133 spurious underflow.
8134 * sysdeps/i386/fpu/libm-test-ulps: Update.
8135 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8136
70d35b67
AS
81372012-07-04 Andreas Schwab <schwab@linux-m68k.org>
8138
704bc459
AS
8139 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
8140 xopen-msg.sed.
8141 * catgets/xopen-msg.awk: New file.
8142 * catgets/xopen-msg.sed: Removed.
8143
70d35b67
AS
8144 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
8145 po2text.sed.
8146 * intl/po2test.awk: New file.
8147 * intl/po2test.sed: Removed.
8148
ca61cf32
JM
81492012-07-04 Joseph Myers <joseph@codesourcery.com>
8150
8151 [BZ #14328]
8152 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
8153 or multiply small sinh result by itself.
8154 * math/s_ctanf.c (__ctanf): Likewise.
8155 * math/s_ctanh.c (__ctanh): Likewise.
8156 * math/s_ctanhf.c (__ctanhf): Likewise.
8157 * math/s_ctanhl.c (__ctanhl): Likewise.
8158 * math/s_ctanl.c (__ctanl): Likewise.
8159 * math/libm-test.inc (ctan_test_tonearest): New function.
8160 (ctan_test_towardzero): Likewise.
8161 (ctan_test_downward): Likewise.
8162 (ctan_test_upward): Likewise.
8163 (ctanh_test_tonearest): Likewise.
8164 (ctanh_test_towardzero): Likewise.
8165 (ctanh_test_downward): Likewise.
8166 (ctanh_test_upward): Likewise.
8167 (main): Call these new functions.
8168 * sysdeps/i386/fpu/libm-test-ulps: Update.
8169 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8170
ca48a46a
MF
81712012-07-03 Mike Frysinger <vapier@gentoo.org>
8172
8173 * .gitignore: Delete /ports entry.
8174
9d63d37d
AJ
81752012-07-03 Andreas Jaeger <aj@suse.de>
8176
8177 * po/bg.po: Update from translation team.
8178 * po/cs.po: Likewise.
8179 * po/de.po: Likewise.
8180 * po/hr.po: Likewise.
8181 * po/nl.pl: Likewise.
8182 * po/pl.po: Likewise.
8183 * po/vi.po: Likewise.
8184
370ca3d2
JM
81852012-07-03 Joseph Myers <joseph@codesourcery.com>
8186
95f5a9a8
JM
8187 * Makeconfig [!+link] (+link-before-libc): New variable.
8188 [!+link] (+link-after-libc): Likewise.
8189 [!+link] (+link-tests): Likewise.
8190 [!+link] (+link): Define in terms of $(+link-before-libc) and
8191 $(+link-after-libc).
8192 [!+link-static] (+link-static-before-libc): New variable.
8193 [!+link-static] (+link-static-after-libc): Likewise.
8194 [!+link-static] (+link-static-tests): Likewise.
8195 [!+link-static] (+link-static): Define in terms of
8196 $(+link-static-before-libc) and $(+link-static-after-libc).
8197 [build-shared] (link-libc-before-gnulib): New variable.
8198 [build-shared] (link-libc-tests): Likewise.
8199 [build-shared] (link-libc): Define in terms of
8200 $(link-libc-before-gnulib).
8201 [!build-shared] (link-libc-tests): New variable.
8202 (link-libc-static-tests): New variable.
8203 [!gnulib] (gnulib-arch): New variable.
8204 [!gnulib] (gnulib-tests): Likewise.
8205 [!gnulib] (static-gnulib-arch): Likewise.
8206 [!gnulib] (static-gnulib-tests): Likewise.
8207 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
8208 Define with "=" instead of ":=".
8209 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
8210 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
8211 * Rules (binaries-all-notests): New variable.
8212 (binaries-all-tests): Likewise.
8213 (binaries-static-notests): Likewise.
8214 (binaries-static-tests): Likewise.
8215 (binaries-all): Define using $(binaries-all-notests) and
8216 $(binaries-all-tests).
8217 (binaries-static): Define using $(binaries-static-notests) and
8218 $(binaries-static-tests).
8219 (binaries-shared-tests): New variable.
8220 (binaries-shared-notests): Likewise.
8221 (binaries-shared): Remove variable.
8222 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
8223 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
8224 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
8225 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
8226 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
8227 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
8228 * elf/Makefile (sln-modules): New variable.
8229 (extra-objs): Add $(sln-modules:=.o).
8230 (ldconfig-modules): Add static-stubs.
8231 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
8232 * elf/static-stubs.c: New file.
8233
7a845b2c
JM
8234 [BZ #14283]
8235 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
8236 by 7 not 8 to examine high bit of fractional part. Use volatile
8237 variables when splitting into final array of floats if
8238 __FLT_EVAL_METHOD__ != 0.
8239 * math/libm-test.inc (cos_test): Add another test.
8240 (sin_test): Likewise.
8241 * sysdeps/i386/fpu/libm-test-ulps: Update.
8242
e2283f38
JM
8243 [BZ #14273]
8244 * math/libm-test.inc (cosh_test): Add more tests.
8245
370ca3d2
JM
8246 * version.h (RELEASE): Set to "development".
8247 (VERSION): Set to "2.16.90".
8248
ee9247c3
CD
82492012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
8250
8251 * NEWS: Update copyright. Remove last-updated date.
8252 Mention math library bug fixes and timezone data changes.
8253 * README: Mention GNU/Hurd, x32, and HPPA support status.
8254
4648c381
TS
82552012-06-28 Thomas Schwinge <thomas@codesourcery.com>
8256
8257 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
8258
aac78a43
AJ
82592012-06-27 Andreas Jaeger <aj@suse.de>
8260
8261 * manual/contrib.texi (Contributors): Add Samuel Thibault.
8262
ed3dbfad
AJ
82632012-06-25 Andreas Jaeger <aj@suse.de>
8264
8265 * sysdeps/s390/fpu/libm-test-ulps: Update.
8266
4d0ee855
AS
82672012-06-23 Andreas Schwab <schwab@linux-m68k.org>
8268 Thomas Schwinge <thomas@codesourcery.com>
8269
8270 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
8271 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
8272 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
8273 fanotify_mark.
8274
af1bce34
TS
82752012-06-23 Thomas Schwinge <thomas@codesourcery.com>
8276
a9fa33ba
TS
8277 * sysdeps/mach/start.c: Remove file.
8278 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
8279 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
8280 * sysdeps/sh/init-first.c: Likewise.
8281
58f902b8
TS
8282 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
8283 registers for frame unwinding purposes, add CFI directives.
8284 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
8285 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
8286 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
8287 Likewise.
8288
1518f58b
TS
8289 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
8290 __fortify_fail returning.
8291 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
8292
db9b5059
TS
8293 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
8294 sysdeps/sh/____longjmp_chk.S.
8295 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
8296 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
8297 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
8298 (gen-as-const-headers): Append sigaltstack-offsets.sym.
8299
967705fe
TS
8300 * sysdeps/sh/abort-instr.h: New file.
8301 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
8302 process in case exit returns.
8303
a9def8c4
TS
8304 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
8305 initialize the GOT register before use.
8306
2a649725
TS
8307 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
8308 calculation of ARGC > 4.
8309
af1bce34
TS
8310 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
8311 meaningful names to some local labels.
8312
d230f50a
KK
83132012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8314 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8315
8316 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
8317 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
8318 (__arch_compare_and_exchange_val_16_acq): Likewise.
8319 (__arch_compare_and_exchange_val_32_acq): Likewise.
8320 (atomic_exchange_and_add): Fix gUSA sequence.
8321 (atomic_add): Likewise.
8322 (atomic_add_negative): Likewise.
8323 (atomic_add_zero): Likewise.
8324 (atomic_bit_test_set): Likewise.
8325
0479b305
AS
83262012-06-22 Andreas Schwab <schwab@redhat.com>
8327
8328 [BZ #13579]
8329 * include/link.h (struct link_map): Add l_free_initfini.
8330 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
8331 l_initfini.
8332 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
8333 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
8334 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
8335 set.
8336
0e3933b9
CD
83372012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
8338
8339 * configure.in: Use AC_LANG_SOURCE.
8340 * configure: Regenerate.
8341
4248b1b1
RM
83422012-06-22 Roland McGrath <roland@hack.frob.com>
8343
8344 * configure.in (libc_cv_localstatedir): New substituted variable.
8345 * configure: Regenerated.
8346 * config.make.in (localstatedir): New variable, substituted from
8347 libc_cv_localstatedir.
8348 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
8349 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
8350 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
8351 * sysdeps/gnu/configure: Regenerated.
8352
006dd861
JL
83532012-06-21 Jeff Law <law@redhat.com>
8354
8355 [BZ #14277]
8356 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
8357 free. Simplify list management for _LIBC case.
8358
79662d42
JM
83592012-06-21 Joseph Myers <joseph@codesourcery.com>
8360
b7abb4bf
JM
8361 [BZ #14273]
8362 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
8363 Clear sign bit of 64-bit integer value before comparing against
8364 overflow value.
8365
79662d42
JM
8366 * sysdeps/mach/configure: Regenerated.
8367
1f150908
L
83682012-06-21 H.J. Lu <hongjiu.lu@intel.com>
8369
8370 [BZ #14278]
8371 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
8372
28363bbf
JL
83732012-06-21 Jeff Law <law@redhat.com>
8374
8375 [BZ #13882]
8376 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
8377 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 8378 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
8379 * elf/dl-open.c (dl_open_worker): Likewise.
8380
09615db4
CD
83812012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
8382
8383 * scripts/list-sources.sh: Scan PORTS for translations.
8384 * po/libc.pot: Regenerated.
8385
2174c6dd
AJ
83862012-06-21 Andreas Jaeger <aj@suse.de>
8387
8388 [BZ #12194]
8389 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
8390 warning.
8391 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
8392 * bits/byteswap-16.h (__bswap_16): Likewise.
8393 * bits/byteswap.h (__bswap_constant_16): Likewise.
8394
3ee947b1
L
83952012-06-18 H.J. Lu <hongjiu.lu@intel.com>
8396
8397 [BZ #14117]
a2f34833
L
8398 * sysdeps/i386/fpu_control.h: Removed.
8399 * sysdeps/x86_64/fpu_control.h: Moved to ...
8400 * sysdeps/x86/fpu_control.h: Here.
8401
3ee947b1
L
8402 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
8403 (_FPU_SETCW): Likewise.
8404
ed1825f8
L
84052012-06-15 H.J. Lu <hongjiu.lu@intel.com>
8406
25f1282a
L
8407 [BZ #14117]
8408 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
8409 * sysdeps/x86/fpu/bits/mathinline.h: This.
8410 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
8411
ed1825f8
L
8412 [BZ #14050]
8413 [BZ #14117]
8414 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
8415 functions if __x86_64__ is defined.
8416
36d54b74
CLT
84172012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
8418
8419 * string/endian.h: Add !__ASSEMBLER__ condition for including
8420 conversion interfaces.
8421
10285c21
JM
84222012-06-15 Joseph Myers <joseph@codesourcery.com>
8423
8424 [BZ #14241]
8425 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
8426 of ABS(x) in calculating zero to negative powers other than odd
8427 integers.
8428 * math/libm-test.inc (pow_test): Add more tests.
8429
06c5abbd
AJ
84302012-06-15 Andreas Jaeger <aj@suse.de>
8431
8432 * manual/contrib.texi (Contributors): Update entry of Liubov
8433 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
8434 Machado Filho.
8435
a3aeac40
CH
84362012-06-15 Cyril Hrubis <metan@ucw.cz>
8437
8438 * string/string.h: Add __wur to GNU version of strerror_r.
8439
49bdf4c1
L
84402012-06-14 H.J. Lu <hongjiu.lu@intel.com>
8441
8442 [BZ #14229]
8443 * string/Makefile (tests): Add tst-strtok_r.
8444 * string/tst-strtok_r.c: New file.
8445 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
8446 RAX_LP/RDX_LP on SAVE_PTR.
8447
834f9b8d
RM
84482012-06-14 Roland McGrath <roland@hack.frob.com>
8449
8450 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
8451
75fa1921
JM
84522012-06-14 Joseph Myers <joseph@codesourcery.com>
8453
8454 * libm_test.inc (csqrt_test): Allow more spurious underflow
8455 exceptions.
8456 (j0_test): Likewise.
8457 (j1_test): Likewise.
8458 (y0_test): Likewise.
8459 (y1_test): Likewise.
8460
771766df
CD
84612012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
8462
8463 * po/Makefile (libc.pot): Use UTF-8 charset.
8464
ceb9e56b
PP
84652012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
8466
8467 [BZ #14210]
8468 Suppress sign-conversion warning from FD_SET.
8469 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
8470 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
8471 not unsigned long int.
8472 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
8473
ddb28975
L
84742012-06-12 H.J. Lu <hongjiu.lu@intel.com>
8475
8476 [BZ #14050]
8477 [BZ #14117]
8478 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
8479 __extern_always_inline instead of __extern_inline.
8480 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
8481 (__signbit): Likewise.
8482 (__signbitl): Support C++ namespace.
8483 (lrintf): New inline function.
8484 (lrint): Likewise.
8485 (llrintf): Likewise.
8486 (llrint): Likewise.
8487 (fmaxf): Likewise.
8488 (fmax): Likewise.
8489 (fminf): Likewise.
8490 (fmin): Likewise.
8491 (rint): Likewise.
8492 (rintf): Likewise.
8493 (ceil): Likewise.
8494 (ceilf): Likewise.
8495 (floor): Likewise.
8496 (floorf): Likewise.
8497 (nearbyint): Likewise.
8498 (nearbyintf): Likewise.
8499
d7b4fb26
TS
85002012-06-12 Thomas Schwinge <thomas@codesourcery.com>
8501
8502 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
8503 non-default versions.
8504
eb55f5c2
RM
85052012-06-11 Roland McGrath <roland@hack.frob.com>
8506
8507 [BZ #14218]
8508 * manual/argp.texi (Argp): Reword argp_parse description slightly.
8509
366af02c
TS
85102012-06-09 Thomas Schwinge <thomas@codesourcery.com>
8511
99ff6e5c
TS
8512 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
8513 (FE_UPWARD, FE_DOWNWARD): Don't define.
8514 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
8515 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
8516
366af02c
TS
8517 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
8518 reading it.
8519 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
8520 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
8521
793ea851
KK
85222012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8523
8524 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
8525 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
8526 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
8527 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
8528
a728a38f
L
85292012-06-06 H.J. Lu <hongjiu.lu@intel.com>
8530
8531 [BZ #14117]
c08010c7
L
8532 * sysdeps/i386/fpu/bits/fenv.h: Removed.
8533 * sysdeps/i386/fpu/Implies: New file.
8534 * sysdeps/x86_64/fpu/Implies: Likewise.
8535 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
8536 * sysdeps/x86/fpu/bits/fenv.h: This.
8537
a728a38f
L
8538 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
8539 __SSE_MATH__.
8540
6e230d11
SP
85412012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
8542
8543 [BZ #14134]
8544 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
8545 character 0xffff that matches the last element of the
8546 conversion table.
8547
1b671feb
AZ
85482012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8549
8550 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
8551 fmodl commit.
8552
6043738b
AZ
85532012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8554
8555 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
8556 values higher than 25.6283.
8557
34ae0b32
AZ
85582012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8559
8560 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
8561 subnormal exponent extraction and add some __builtin_expect.
8562 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
8563 Fix for subnormal mantissa calculation.
8564
1214ec8f
MF
85652012-06-04 Mike Frysinger <vapier@gentoo.org>
8566
8567 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
8568 cpu2 is -1 and errno is not ENOSYS.
8569
f3d1f93c
L
85702012-06-04 H.J. Lu <hongjiu.lu@intel.com>
8571
8572 [BZ #14117]
0e4a3cd7
L
8573 * sysdeps/i386/i486/bits/string.h: Renamed to ...
8574 * sysdeps/x86/bits/string.h: This.
8575 * sysdeps/x86_64/bits/string.h: Removed.
8576
6704c645
L
8577 * sysdeps/i386/i486/bits/string.h: Define inline functions only
8578 if not compiling for x86-64, but compiling for >= i486.
8579
48495318
L
8580 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
8581 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
8582
14adcbfc
L
8583 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
8584 New macro from Linux kernel 3.4.0.
8585 (FP_XSTATE_MAGIC2): Likewise.
8586 (FP_XSTATE_MAGIC2_SIZE): Likewise.
8587 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
8588 (struct _fpx_sw_bytes): New struct.
8589 (struct _xsave_hdr): Likewise.
8590 (struct _ymmh_state): Likewise.
8591 (struct _xstate): Likewise.
8592
68e408ab
L
8593 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
8594 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
8595 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
8596 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
8597 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
8598 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
8599
f3d1f93c
L
8600 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
8601 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
8602 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
8603 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
8604 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
8605 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
8606
d9dc34cd
TMQMF
86072012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8608
8609 [BZ #13743]
8610 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
8611 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
8612 (sysdep_headers): Include sys/platform/ppc.h.
8613 * sysdeps/powerpc/test-gettimebase.c: Test for
8614 __ppc_get_timebase() to catch future ISA opcode/insn changes.
8615 * manual/Makefile (appendices): Include platform.texi.
8616 * manual/contrib.texi (Contributors): Update @node pointers.
8617 * manual/maint.texi (Maintenance): Likewise.
8618 (Platform): New node.
8619 * manual/platform.texi: New file. Document the new features.
8620
4af3879c
SP
86212012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8622 Jakub Jelinek <jakub@redhat.com>
8623
8624 [BZ #14188]
8625 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
8626 where __builtin_expect is unavailable.
8627
2fd6ff13
DM
86282012-06-03 David S. Miller <davem@davemloft.net>
8629
8630 * stdlib/longlong.h: Updated from GCC.
8631
173f7220
AS
86322012-06-02 Andreas Schwab <schwab@linux-m68k.org>
8633
8634 [BZ #14042]
8635 * sysdeps/powerpc/powerpc32/mcount.c: New file.
8636 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
8637 __mcount_internal.
8638 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
8639 (GLIBC_2.16): Likewise.
8640
f34a1c6f
L
86412012-06-01 H.J. Lu <hongjiu.lu@intel.com>
8642
8643 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
8644
88a4576f
JM
86452012-06-01 Joseph Myers <joseph@codesourcery.com>
8646
ea32bcdd
JM
8647 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
8648 (default-abi): New variable.
8649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
8650 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
8651 variable.
8652 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
8653 Likewise.
8654 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
8655 Likewise.
8656 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
8657 Likewise.
8658
88a4576f
JM
8659 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
8660 definition. Document in comment.
8661
402fe938
DM
86622012-06-01 David S. Miller <davem@davemloft.net>
8663
8664 * stdlib/longlong.h: Updated from GCC.
8665
3553723f
L
86662012-06-01 H.J. Lu <hongjiu.lu@intel.com>
8667
8668 [BZ #14117]
3bd872c4
L
8669 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
8670 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
8671 sys/debugreg.h sys/io.h here.
8672 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
8673 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
8674 sys/io.h.
8675 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
8676 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
8677 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
8678 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
8679 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
8680 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
8681
3553723f
L
8682 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
8683 Define only if __x86_64__ is defined.
8684
4842e4fe
JM
86852012-06-01 Joseph Myers <joseph@codesourcery.com>
8686
c5bfe3d5
JM
8687 [BZ #14048]
8688 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
8689 Use int64_t for variable i.
8690 * math/libm-test.inc (fmod_test): Add more tests.
8691
4842e4fe
JM
8692 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
8693 z computation is not scheduled after fetestexcept.
8694 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
8695 Use math_force_eval instead of asm to ensure calculation scheduled
8696 before exception test.
8697 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
8698 Ensure a1 + u.d computation is not scheduled after fetestexcept.
8699
efb73488
AJ
87002012-06-01 Aurelien Jarno <aurelien@aurel32.net>
8701
8702 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
8703 computation is not scheduled after fetestexcept.
8704
29bcce7c
L
87052012-06-01 H.J. Lu <hongjiu.lu@intel.com>
8706
8707 [BZ #14117]
8708 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
8709 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
8710
73a68f94
AZ
87112012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8712
8713 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
8714 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
8715
67b6df78
L
87162012-05-31 H.J. Lu <hongjiu.lu@intel.com>
8717
edf2933a 8718 [BZ #14117]
ebc64a18
L
8719 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
8720 <bits/wordsize.h>.
8721 (__WCHAR_MIN): Support __WORDSIZE == 64.
8722 (__WCHAR_MAX): Likewise.
8723
edf2933a
L
8724 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
8725 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
8726
57c6cf40
L
8727 [BZ #14183]
8728 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
8729 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
8730
67b6df78 8731 [BZ #14117]
8eb6281e
L
8732 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
8733 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
8734
aac639f4
L
8735 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
8736 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
8737
67b6df78
L
8738 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
8739 Defined to 1 if __x86_64__ isn't defined.
8740 (_STAT_VER_LINUX_OLD): New.
8741 (st_atime): Remove duplicate.
8742 (st_mtime): Likewise.
8743 (st_ctime): Likewise.
8744
1c2cfe81
DM
87452012-05-31 David S. Miller <davem@davemloft.net>
8746
8747 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
8748 entries.
8749
5be8418c
AS
87502012-06-01 Andreas Schwab <schwab@linux-m68k.org>
8751
e7725326
AS
8752 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
8753 gen-libm-test.pl.
8754
5be8418c
AS
8755 [BZ #14132]
8756 * elf/dl-reloc.c: Include <_itoa.h>.
8757 (_dl_reloc_bad_type): Remove use of INTUSE.
8758 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
8759 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
8760 * stdio-common/psiginfo.c (psiginfo): Likewise.
8761 * stdio-common/psignal.c (psignal): Likewise.
8762 * string/strsignal.c (strsignal): Likewise.
8763 * include/signal.h (_sys_siglist): Declare hidden proto.
8764 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
8765 INTVARDEF with libc_hidden_data_def.
8766 * stdio-common/itoa-udigits.c: Likewise.
8767 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
8768 (_itoa_lower_digits_internal): Remove declaration.
8769 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
8770 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
8771 (_sys_sigabbrev_internal): Remove aliases.
8772 (_sys_siglist): Define hidden alias.
8773
507352f1
MT
87742012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
8775
8776 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8777 bits/sysctl.h.
8778
42bbb1c3
L
87792012-05-31 H.J. Lu <hongjiu.lu@intel.com>
8780
8781 [BZ #14117]
6bd784b6
L
8782 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
8783 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
8784
8bca20f0
L
8785 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
8786 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
8787 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
8788 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
8789 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
8790 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
8791
f9e890a9
L
8792 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
8793 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
8794 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
8795
471101a1
L
8796 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
8797 with __addr.
8798 (insw): Likewise.
8799 (insl): Likewise.
8800 (outsb): Likewise.
8801 (outsw): Likewise.
8802 (outsl): Likewise.
8803
6451c862
L
8804 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
8805 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
8806 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
8807
a254b8c9
L
8808 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
8809 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
8810 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
8811 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
8812 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
8813 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
8814
b8dfdd92
L
8815 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
8816 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
8817
578cd270
L
8818 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
8819 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
8820
de662f5f
L
8821 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
8822 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
8823 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
8824
25653439
L
8825 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
8826 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
8827 to ...
8828 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
8829
6bad24a0
L
8830 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
8831 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
8832 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
8833
42bbb1c3
L
8834 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
8835 for x86-64.
8836 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
8837
2d10d547
JM
88382012-05-31 Joseph Myers <joseph@codesourcery.com>
8839
8840 * math/math.h (M_El): Use two more decimal places.
8841 (M_LOG2El): Likewise.
8842 (M_LOG10El): Likewise.
8843 (M_LN2l): Likewise.
8844 (M_LN10l): Likewise.
8845 (M_PIl): Likewise.
8846 (M_PI_2l): Likewise.
8847 (M_PI_4l): Likewise.
8848 (M_1_PIl): Likewise.
8849 (M_2_PIl): Likewise.
8850 (M_2_SQRTPIl): Likewise.
8851 (M_SQRT2l): Likewise.
8852 (M_SQRT1_2l): Likewise.
8853
f230c29b
DM
88542012-05-31 David S. Miller <davem@davemloft.net>
8855
8856 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
8857 values between float registers.
8858 * sysdeps/sparc/sparc64/memset.S: Likewise.
8859 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
8860
fed806c3
MF
88612012-05-31 Mike Frysinger <vapier@gentoo.org>
8862
8863 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
8864 -D_FORTIFY_SOURCE=1.
8865 (CPPFLAGS-tst-longjmp_chk.c): Define.
8866 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
8867 (CPPFLAGS-tst-longjmp_chk2.c): Define.
8868 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
8869 CFLAGS-tst-wchar-h.c.
8870
30917259
MP
88712012-05-31 Marek Polacek <polacek@redhat.com>
8872
8873 [BZ #14132]
8874 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
8875 __endmntent_internal): Remove declaration.
8876 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
8877 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
8878 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
8879
1c58d5dc
DM
88802012-05-30 David S. Miller <davem@davemloft.net>
8881
8882 * sysdeps/sparc/sparc32/soft-fp/q_util.c
8883 (___Q_simulate_exceptions): Use real FP ops rather than writing
8884 into the %fsr.
8885 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
8886 Likewise.
8887
7dc00e0d
L
88882012-05-30 H.J. Lu <hongjiu.lu@intel.com>
8889
8890 [BZ #14117]
0bd53985
L
8891 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
8892 * sysdeps/x86/bits/xtitypes.h: This.
8893
3a257e66
L
8894 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
8895 * sysdeps/x86/bits/wordsize.h: This.
8896
62f62904
L
8897 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
8898 * sysdeps/x86/bits/huge_vall.h: This.
8899
404fe9d9
L
8900 * sysdeps/i386/bits/select.h: Removed.
8901 * sysdeps/x86_64/bits/select.h: Renamed to ...
8902 * sysdeps/x86/bits/select.h: This.
8903
d48d0446
L
8904 * sysdeps/i386/bits/setjmp.h: Removed.
8905 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
8906 * sysdeps/x86/bits/setjmp.h: This.
8907
7dc00e0d
L
8908 * sysdeps/i386/bits/mathdef.h: Removed.
8909 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
8910 * sysdeps/x86/bits/mathdef.h: This.
8911
03277f8f
AS
89122012-05-30 Andreas Schwab <schwab@linux-m68k.org>
8913
8914 [BZ #14132]
8915 * include/sys/socket.h (__connect_internal)
8916 (__libc_sa_len_internal): Remove declaration.
8917 (__connect, __libc_sa_len): Declare hidden_proto.
8918 (SA_LEN): Remove use of INTUSE.
8919 * socket/connect.c: Add libc_hidden_def.
8920 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
8921 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
8922 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
8923 alias.
8924 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
8925 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
8926 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
8927 of adding _internal alias.
8928
13764867
L
89292012-05-30 H.J. Lu <hongjiu.lu@intel.com>
8930
8931 [BZ #14117]
6bd97696
L
8932 * sysdeps/i386/bits/link.h: Removed.
8933 * sysdeps/i386/bits/linkmap.h: Likewise.
8934 * sysdeps/x86_64/bits/link.h: Renamed to ...
8935 * sysdeps/x86/bits/link.h: This.
8936 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
8937 * sysdeps/x86/bits/linkmap.h: This.
8938
f726f0bb
L
8939 * sysdeps/i386/bits/endian.h: Removed.
8940 * sysdeps/x86_64/bits/endian.h: Renamed to ...
8941 * sysdeps/x86/bits/endian.h: This.
8942
13764867
L
8943 * sysdeps/i386/bits/byteswap.h: Removed.
8944 * sysdeps/i386/bits/byteswap-16.h: Likewise.
8945 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
8946 * sysdeps/x86/bits/byteswap.h: This.
8947 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
8948 * sysdeps/x86/bits/byteswap-16.h: This.
8949 * sysdeps/i386/Implies: Add x86.
8950 * sysdeps/x86_64/Implies: Likewise.
8951
ae251b0b
DM
89522012-05-30 David S. Miller <davem@davemloft.net>
8953
8954 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
8955 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
8956 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
8957 (FP_TRAPPING_EXCEPTIONS): Define.
8958 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
8959 (FP_TRAPPING_EXCEPTIONS): Define.
8960 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
8961 subnormals only when inexact has been signalled or underflow
8962 exceptions are enabled.
8963 (_FP_PACK_CANONICAL): Likewise.
8964
d5c90867
L
89652012-05-30 H.J. Lu <hongjiu.lu@intel.com>
8966
8967 [BZ #14183]
8968 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
8969 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
8970
63f1549e
RH
89712012-05-30 Richard Henderson <rth@twiddle.net>
8972
8d8f2279
RH
8973 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
8974 with #ifndef NOT_IN_libc.
8975
63f1549e
RH
8976 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
8977 marked to avoid plt entry.
8978
0ab0291b
L
89792012-05-30 H.J. Lu <hongjiu.lu@intel.com>
8980
8981 [BZ #14112]
8982 * Makeconfig (default-abi): New macro.
8983 (abi-includes): Likewise.
8984 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
8985 $(abi-$(default-abi)-lib-soname) for soname if defined.
8986 ($(common-objpfx)gnu/lib-names.stmp): Generate from
8987 abi-variants.
8988 * Makefile (installed-stubs): Likewise.
8989 * include/stubs-biarch.h: Removed.
8990 * scripts/lib-names.awk: Only handle one library at a time.
8991 * scripts/soversions.awk: Remove WORDSIZE support.
8992 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
8993 entries.
8994 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
8995 Removed.
8996 (syscall-list-default-condition): Likewise.
8997 (syscall-list-default-condition): Likewise.
8998 (syscall-list-includes): Likewise.
8999 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
9000 syscall-list-* with abi-*. Handle undefined abi-variants.
9001 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
9002 * sysdeps/unix/sysv/linux/i386/Implies: New file.
9003 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
9004 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
9005 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
9006 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
9007 Removed.
9008 (syscall-list-32-options): Likewise.
9009 (syscall-list-32-condition): Likewise.
9010 (syscall-list-64-options): Likewise.
9011 (syscall-list-64-condition): Likewise.
9012 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
9013 macro.
9014 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
9015 Renamed to ...
9016 (abi-*): This.
9017 (abi-64-ld-soname): New macro.
9018 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
9019 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
9020 Renamed to ...
9021 (abi-*): This.
9022 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
9023 * sysdeps/x86_64/x32/shlib-versions: Likewise.
9024
4da0431d
JM
90252012-05-30 Joseph Myers <joseph@codesourcery.com>
9026
3a85279c
JM
9027 * sysdeps/unix/sysv/linux/kernel-features.h
9028 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
9029 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
9030 include <kernel-features.h>.
9031 [!__NR_ftruncate64]: Remove conditional code.
9032 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9033 [__NR_ftruncate64]: Make code unconditional.
9034 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9035 * sysdeps/unix/sysv/linux/truncate64.c: Do not
9036 include <kernel-features.h>.
9037 [!__NR_ftruncate64]: Remove conditional code.
9038 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9039 [__NR_ftruncate64]: Make code unconditional.
9040 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9041 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
9042 include <kernel-features.h>.
9043 [!__NR_ftruncate64]: Remove conditional code.
9044 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9045 [__NR_ftruncate64]: Make code unconditional.
9046 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9047 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
9048 include <kernel-features.h>.
9049 [!__NR_ftruncate64]: Remove conditional code.
9050 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9051 [__NR_ftruncate64]: Make code unconditional.
9052 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9053
4da0431d
JM
9054 * configure.in (libc_cv_fpie): Weaken to a compile test using
9055 LIBC_TRY_CC_OPTION.
9056 * configure: Regenerated.
9057
11ef492c
AK
90582012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9059
9060 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
9061 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
9062 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
9063 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
9064 Refreshed.
9065 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
9066 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
9067 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
9068 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
9069 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
9070 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
9071 Refreshed.
9072
d66ef399
DM
90732012-05-27 David S. Miller <davem@davemloft.net>
9074
9075 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
9076 (___Q_zero): New.
9077 (__Q_simulate_exceptions): Return void. Change to simulate
9078 exceptions by writing into the %fsr.
9079 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
9080 (__Qp_handle_exceptions): Likewise.
9081 (numbers): Delete.
9082 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
9083 __Qp_handle_exceptions.
9084 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
9085 __Qp_handle_exceptions.
9086 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
9087 as unused and give dummy FP_RND_NEAREST initializer.
9088 (FP_INHIBIT_RESULTS): Define.
9089 (___Q_simulate_exceptions): Update declaration.
9090 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
9091 formatting.
9092 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
9093 as unused and give dummy FP_RND_NEAREST initializer.
9094 (__Qp_handle_exceptions): Update declaration.
9095 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
9096 formatting.
9097
04fb54b5
TS
90982012-05-27 Thomas Schwinge <thomas@codesourcery.com>
9099
9100 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
9101 the temporary FPU control word.
9102 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
9103 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
9104 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
9105 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
9106 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
9107 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
9108 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
9109 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
9110 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
9111 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
9112 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
9113
3f99608f
KK
91142012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9115
9116 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
9117 fields.
9118
65a4de4e
CLT
91192012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
9120
9121 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
9122 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
9123 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
9124 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
9125 Likewise.
9126 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
9127 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
9128 Likewise.
9129
15749d40
UD
91302012-05-27 Ulrich Drepper <drepper@gmail.com>
9131
9132 * po/h.po: Update from translation team.
9133
25dbcb27
AS
91342012-05-26 Andreas Schwab <schwab@linux-m68k.org>
9135
3d3f8e55
AS
9136 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
9137
25dbcb27
AS
9138 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
9139 handling of denormals.
9140 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
9141 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
9142 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
9143 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
9144 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9145 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
9146 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
9147 Likewise.
9148
7ad47a80 91492012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
9150
9151 [BZ #14152]
9152 * math/libm-test.inc (fma_test): Don't always expect underflow
9153 exception.
9154
9c6ea9fa
SP
91552012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9156
9157 [BZ #12416]
9158 * elf/tst-execstack.c: Include stackinfo.h.
9159 (do_test): Adjust test case to ensure that pthread_getattr_np
9160 behaviour remains the same after marking stack executable.
9161
a8239222
JM
91622012-05-25 Joseph Myers <joseph@codesourcery.com>
9163
9164 * sysdeps/unix/sysv/linux/kernel-features.h
9165 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
9166 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
9167 kernel-features.h.
9168 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
9169 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
9170 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
9171 kernel-features.h.
9172 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
9173 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
9174
918b5606
L
91752012-05-25 H.J. Lu <hongjiu.lu@intel.com>
9176
9177 * configure.in: Define the default includes to being none.
9178 * configure: Regenerated.
9179
3a097cc7
RM
91802012-05-25 Roland McGrath <roland@hack.frob.com>
9181
8422c9a5
RM
9182 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
9183 * sysdeps/x86_64/setjmp.S: Likewise.
9184 * sysdeps/i386/bsd-setjmp.S: Likewise.
9185 * sysdeps/i386/bsd-_setjmp.S: Likewise.
9186 * sysdeps/i386/setjmp.S: Likewise.
9187 * sysdeps/i386/__longjmp.S: Likewise.
9188 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
9189 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
9190
3a097cc7
RM
9191 * include/stap-probe.h: New file.
9192 * configure.in: Handle --enable-systemtap.
9193 * configure: Regenerated.
9194 * config.h.in (USE_STAP_PROBE): New #undef.
9195 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
9196 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
9197 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
9198
21708942
JM
91992012-05-25 Joseph Myers <joseph@codesourcery.com>
9200
9201 [BZ #13717]
9202 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
9203 to 2.4.0 where earlier.
9204 * sysdeps/unix/sysv/linux/configure: Regenerated.
9205 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
9206 <kernel-features.h>.
9207 [__ASSUME_32BITUIDS]: Make code unconditional.
9208 [!__ASSUME_32BITUIDS]: Remove conditional code.
9209 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
9210 <kernel-features.h>.
9211 [__ASSUME_32BITUIDS]: Make code unconditional.
9212 [!__ASSUME_32BITUIDS]: Remove conditional code.
9213 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
9214 [__ASSUME_32BITUIDS]: Make code unconditional.
9215 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
9216 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
9217 <kernel-features.h>.
9218 [__ASSUME_32BITUIDS]: Make code unconditional.
9219 [!__ASSUME_32BITUIDS]: Remove conditional code.
9220 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
9221 <kernel-features.h>.
9222 [__ASSUME_32BITUIDS]: Make code unconditional.
9223 [!__ASSUME_32BITUIDS]: Remove conditional code.
9224 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
9225 <kernel-features.h>.
9226 [__ASSUME_32BITUIDS]: Make code unconditional.
9227 [!__ASSUME_32BITUIDS]: Remove conditional code.
9228 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
9229 <kernel-features.h>.
9230 [__ASSUME_32BITUIDS]: Make code unconditional.
9231 [!__ASSUME_32BITUIDS]: Remove conditional code.
9232 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
9233 <kernel-features.h>.
9234 [__ASSUME_32BITUIDS]: Make code unconditional.
9235 [!__ASSUME_32BITUIDS]: Remove conditional code.
9236 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
9237 <kernel-features.h>.
9238 [__ASSUME_32BITUIDS]: Make code unconditional.
9239 [!__ASSUME_32BITUIDS]: Remove conditional code.
9240 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
9241 <kernel-features.h>.
9242 [__ASSUME_32BITUIDS]: Make code unconditional.
9243 [!__ASSUME_32BITUIDS]: Remove conditional code.
9244 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
9245 <kernel-features.h>.
9246 [__ASSUME_32BITUIDS]: Make code unconditional.
9247 [!__ASSUME_32BITUIDS]: Remove conditional code.
9248 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
9249 <kernel-features.h>.
9250 [__ASSUME_32BITUIDS]: Make code unconditional.
9251 [!__ASSUME_32BITUIDS]: Remove conditional code.
9252 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
9253 <kernel-features.h>.
9254 [__ASSUME_32BITUIDS]: Make code unconditional.
9255 [!__ASSUME_32BITUIDS]: Remove conditional code.
9256 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
9257 <kernel-features.h>.
9258 [__NR_setresgid] (__setresgid): Do not declare.
9259 [__ASSUME_32BITUIDS]: Make code unconditional.
9260 [!__ASSUME_32BITUIDS]: Remove conditional code.
9261 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
9262 <kernel-features.h>.
9263 [__NR_setresuid] (__setresuid): Do not declare.
9264 [__ASSUME_32BITUIDS]: Make code unconditional.
9265 [!__ASSUME_32BITUIDS]: Remove conditional code.
9266 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
9267 <kernel-features.h>.
9268 [__ASSUME_32BITUIDS]: Make code unconditional.
9269 [!__ASSUME_32BITUIDS]: Remove conditional code.
9270 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
9271 <kernel-features.h>.
9272 [__ASSUME_32BITUIDS]: Make code unconditional.
9273 [!__ASSUME_32BITUIDS]: Remove conditional code.
9274 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
9275 <kernel-features.h>.
9276 [__ASSUME_32BITUIDS]: Make code unconditional.
9277 [!__ASSUME_32BITUIDS]: Remove conditional code.
9278 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
9279 <kernel-features.h>.
9280 [__ASSUME_32BITUIDS]: Make code unconditional.
9281 [!__ASSUME_32BITUIDS]: Remove conditional code.
9282 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
9283 <kernel-features.h>.
9284 [__ASSUME_32BITUIDS]: Make code unconditional.
9285 [!__ASSUME_32BITUIDS]: Remove conditional code.
9286 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
9287 <kernel-features.h>.
9288 [__ASSUME_32BITUIDS]: Make code unconditional.
9289 [!__ASSUME_32BITUIDS]: Remove conditional code.
9290 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
9291 <kernel-features.h>.
9292 [__ASSUME_32BITUIDS]: Make code unconditional.
9293 [!__ASSUME_32BITUIDS]: Remove conditional code.
9294 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
9295 <kernel-features.h>.
9296 [__ASSUME_32BITUIDS]: Make code unconditional.
9297 [!__ASSUME_32BITUIDS]: Remove conditional code.
9298 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
9299 <kernel-features.h>.
9300 [__ASSUME_32BITUIDS]: Make code unconditional.
9301 [!__ASSUME_32BITUIDS]: Remove conditional code.
9302 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
9303 <kernel-features.h>.
9304 [__ASSUME_32BITUIDS]: Make code unconditional.
9305 [!__ASSUME_32BITUIDS]: Remove conditional code.
9306 * sysdeps/unix/sysv/linux/kernel-features.h
9307 (__ASSUME_SETRESUID_SYSCALL): Remove.
9308 (__ASSUME_SETRESGID_SYSCALL): Likewise.
9309 (__ASSUME_32BITUIDS): Likewise.
9310 (__ASSUME_LDT_WORKS): Likewise.
9311 (__ASSUME_O_DIRECTORY): Likewise.
9312 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
9313 architecture but not kernel version.
9314 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
9315 (__ASSUME_MMAP2_SYSCALL): Likewise.
9316 (__ASSUME_STAT64_SYSCALL): Likewise.
9317 (__ASSUME_IPC64): Likewise.
9318 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
9319 <kernel-features.h>.
9320 [__ASSUME_32BITUIDS]: Make code unconditional.
9321 [!__ASSUME_32BITUIDS]: Remove conditional code.
9322 * sysdeps/unix/sysv/linux/opendir.c: Do not include
9323 <kernel-features.h>.
9324 [__ASSUME_O_DIRECTORY]: Make code unconditional.
9325 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
9326 132096]: Remove conditional code.
9327 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
9328 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
9329 <kernel-features.h>.
9330 [__ASSUME_32BITUIDS]: Make code unconditional.
9331 [!__ASSUME_32BITUIDS]: Remove conditional code.
9332 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
9333 <kernel-features.h>.
9334 [__ASSUME_32BITUIDS]: Make code unconditional.
9335 [!__ASSUME_32BITUIDS]: Remove conditional code.
9336 * sysdeps/unix/sysv/linux/setegid.c: Do not include
9337 <kernel-features.h>.
9338 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
9339 unconditional.
9340 (__setresgid): Do not declare.
9341 [__ASSUME_32BITUIDS]: Make code unconditional.
9342 [!__ASSUME_32BITUIDS]: Remove conditional code.
9343 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
9344 <kernel-features.h>.
9345 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
9346 unconditional.
9347 (__setresuid): Do not declare.
9348 [__ASSUME_32BITUIDS]: Make code unconditional.
9349 [!__ASSUME_32BITUIDS]: Remove conditional code.
9350 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
9351 <kernel-features.h>.
9352 [__ASSUME_32BITUIDS]: Make code unconditional.
9353 [!__ASSUME_32BITUIDS]: Remove conditional code.
9354 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
9355 <kernel-features.h>.
9356 [__ASSUME_32BITUIDS]: Make code unconditional.
9357 [!__ASSUME_32BITUIDS]: Remove conditional code.
9358
a386f1cc
RH
93592012-05-25 Richard Henderson <rth@twiddle.net>
9360
9361 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
9362 dl_hwcap to ifunc resolver.
9363 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
9364 elf_ifunc_invoke.
9365 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
9366 dl_hwcap to ifunc resolver.
9367 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
9368
b6550497
JM
93692012-05-24 Joseph Myers <joseph@codesourcery.com>
9370
9371 [BZ #14153]
9372 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
9373 for |x| <= 2**-26, not 2**-57.
9374 * math/libm-test.inc (acos_test): Do not allow spurious underflow
9375 exception.
9376
b0bc23a1
JL
93772012-05-24 Jeff Law <law@redhat.com>
9378
9379 * stdio-common/Makefile (tests): Add bug25.
9380 * stdio-common/bug25.c: New test.
9381
347c92e9
L
93822012-05-24 H.J. Lu <hongjiu.lu@intel.com>
9383
9384 [BZ #13576]
9385 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
9386 multiple of MALLOC_ALIGNMENT in size.
9387 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
9388
6bcc8b3f
JM
93892012-05-24 Joseph Myers <joseph@codesourcery.com>
9390
9391 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
9392 Require >= 256.
9393 (FILENAME_MAX): Use macro-int-constant.
9394 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
9395 (_IOFBF): Use macro-int-constant.
9396 (_IOLBF): Likewise.
9397 (_IONBF): Likewise.
9398 (SEEK_CUR): Likewise.
9399 (SEEK_END): Likewise.
9400 (SEEK_SET): Likewise.
9401 (TMP_MAX): Likewise.
9402 (EOF): Use macro-int-constant. Require < 0.
9403 (NULL): Use macro-constant. Require == 0.
9404 (stdin): Require type to be FILE *.
9405 (stdout): Likewise.
9406 (stderr): Likewise.
9407 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
9408 macro-int-constant.
9409 (EXIT_SUCCESS): Likewise.
9410 (NULL): Use macro-constant. Require == 0.
9411 (RAND_MAX): Use macro-int-constant.
9412 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
9413 [C99-based standards] (strtof): Require function.
9414 [C99-based standards] (strtold): Likewise.
9415 [C99-based standards] (strtoll): Likewise.
9416 [C99-based standards] (strtoull): Likewise.
9417 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
9418 [ISO || ISO99 || ISO11] (limits.h): Likewise.
9419 [ISO || ISO99 || ISO11] (math.h): Likewise.
9420 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
9421 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
9422 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9423
d18ea0c5
AS
94242012-05-24 Andreas Schwab <schwab@linux-m68k.org>
9425
9426 [BZ #14132]
56d25bb8
AS
9427 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
9428 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
9429 * intl/dgettext.c (DCGETTEXT): Likewise.
9430 * intl/gettext.c (DCGETTEXT): Likewise.
9431 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
9432 * posix/regex_internal.h (gettext): Likewise.
9433 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
9434 Remove declaration.
9435 * include/argz.h (__argz_count_internal)
9436 (__argz_stringify_internal): Remove declaration.
9437 (__argz_count, __argz_stringify): Declare hidden proto.
9438 * intl/dcgettext.c: Remove use of INTDEF.
9439 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
9440 * string/argz-stringify.c: Likewise.
9441 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
9442 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
9443 Declare hidden proto.
d18ea0c5
AS
9444 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
9445 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
9446 Declare hidden proto.
9447 * include/stdio.h (__asprintf_internal): Don't declare.
9448 (__asprintf): Don't define as macro. Declare hidden proto.
9449 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
9450 (__fsetlocking): Declare hidden proto.
9451 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
9452 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
9453 hidden proto.
9454 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
9455 (_IO_setlinebuf): Remove use of INTUSE.
9456 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
9457 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
9458 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
9459 Remove declaration.
9460 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
9461 (_IO_do_flush): Remove use of INTUSE.
9462 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
9463 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
9464 (_IO_adjust_column, _IO_least_wmarker)
9465 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
9466 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
9467 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
9468 (_IO_default_doallocate, _IO_wdefault_doallocate)
9469 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
9470 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
9471 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
9472 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
9473 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
9474 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
9475 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
9476 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
9477 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
9478 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
9479 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
9480 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
9481 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
9482 proto.
9483 (_IO_flush_all_internal, _IO_adjust_column_internal)
9484 (_IO_default_uflow_internal, _IO_default_finish_internal)
9485 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
9486 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
9487 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
9488 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
9489 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
9490 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
9491 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
9492 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
9493 (_IO_file_close_internal, _IO_file_close_it_internal)
9494 (_IO_file_underflow_internal, _IO_file_overflow_internal)
9495 (_IO_file_init_internal, _IO_file_attach_internal)
9496 (_IO_file_fopen_internal, _IO_file_read_internal)
9497 (_IO_file_sync_internal, _IO_file_seek_internal)
9498 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
9499 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
9500 (_IO_str_underflow_internal, _IO_str_overflow_internal)
9501 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
9502 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
9503 (_IO_list_all_internal, _IO_link_in_internal)
9504 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
9505 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
9506 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
9507 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
9508 (_IO_do_write_internal, _IO_padn_internal)
9509 (_IO_getline_info_internal, _IO_getline_internal)
9510 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
9511 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
9512 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
9513 (_IO_vfscanf_internal, _IO_vfprintf_internal)
9514 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
9515 (_IO_init_internal, _IO_un_link_internal): Don't declare.
9516 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
9517 with libc_hidden_ver, remove use of INTUSE.
9518 * libio/genops.c: Likewise.
9519 * libio/freopen.c: Likewise.
9520 * libio/freopen64.c: Likewise.
9521 * libio/iofclose.c: Likewise.
9522 * libio/iofdopen.c: Likewise.
9523 * libio/iofflush.c: Likewise.
9524 * libio/iofflush_u.c: Likewise.
9525 * libio/iofgets.c: Likewise.
9526 * libio/iofgets_u.c: Likewise.
9527 * libio/iofopen.c: Likewise.
9528 * libio/iofopncook.c: Likewise.
9529 * libio/iofread.c: Likewise.
9530 * libio/iofread_u.c: Likewise.
9531 * libio/ioftell.c: Likewise.
9532 * libio/iofwrite.c: Likewise.
9533 * libio/iogetline.c: Likewise.
9534 * libio/iogets.c: Likewise.
9535 * libio/iogetwline.c: Likewise.
9536 * libio/iopadn.c: Likewise.
9537 * libio/iopopen.c: Likewise.
9538 * libio/ioseekoff.c: Likewise.
9539 * libio/ioseekpos.c: Likewise.
9540 * libio/iosetbuffer.c: Likewise.
9541 * libio/iosetvbuf.c: Likewise.
9542 * libio/ioungetc.c: Likewise.
9543 * libio/ioungetwc.c: Likewise.
9544 * libio/iovdprintf.c: Likewise.
9545 * libio/iovsprintf.c: Likewise.
9546 * libio/iovsscanf.c: Likewise.
9547 * libio/memstream.c: Likewise.
9548 * libio/obprintf.c: Likewise.
9549 * libio/oldfileops.c: Likewise.
9550 * libio/oldiofclose.c: Likewise.
9551 * libio/oldiofdopen.c: Likewise.
9552 * libio/oldiofopen.c: Likewise.
9553 * libio/oldiopopen.c: Likewise.
9554 * libio/oldstdfiles.c: Likewise.
9555 * libio/putc.c: Likewise.
9556 * libio/setbuf.c: Likewise.
9557 * libio/setlinebuf.c: Likewise.
9558 * libio/stdfiles.c: Likewise.
9559 * libio/strops.c: Likewise.
9560 * libio/vasprintf.c: Likewise.
9561 * libio/vscanf.c: Likewise.
9562 * libio/vsnprintf.c: Likewise.
9563 * libio/vswprintf.c: Likewise.
9564 * libio/wfiledoalloc.c: Likewise.
9565 * libio/wfileops.c: Likewise.
9566 * libio/wgenops.c: Likewise.
9567 * libio/wmemstream.c: Likewise.
9568 * libio/wstrops.c: Likewise.
9569 * libio/__fpurge.c: Likewise.
9570 * libio/__fsetlocking.c: Likewise.
9571 * assert/assert.c: Likewise.
9572 * debug/fgets_chk.c: Likewise.
9573 * debug/fgets_u_chk.c: Likewise.
9574 * debug/fread_chk.c: Likewise.
9575 * debug/fread_u_chk.c: Likewise.
9576 * debug/gets_chk.c: Likewise.
9577 * debug/obprintf_chk.c: Likewise.
9578 * debug/vasprintf_chk.c: Likewise.
9579 * debug/vdprintf_chk.c: Likewise.
9580 * debug/vsnprintf_chk.c: Likewise.
9581 * debug/vsprintf_chk.c: Likewise.
9582 * malloc/mtrace.c: Likewise.
9583 * misc/error.c: Likewise.
9584 * misc/syslog.c: Likewise.
9585 * stdio-common/asprintf.c: Likewise.
9586 * stdio-common/fxprintf.c: Likewise.
9587 * stdio-common/getw.c: Likewise.
9588 * stdio-common/isoc99_fscanf.c: Likewise.
9589 * stdio-common/isoc99_scanf.c: Likewise.
9590 * stdio-common/isoc99_vfscanf.c: Likewise.
9591 * stdio-common/isoc99_vscanf.c: Likewise.
9592 * stdio-common/isoc99_vsscanf.c: Likewise.
9593 * stdio-common/printf-prs.c: Likewise.
9594 * stdio-common/printf_fp.c: Likewise.
9595 * stdio-common/printf_fphex.c: Likewise.
9596 * stdio-common/printf_size.c: Likewise.
9597 * stdio-common/putw.c: Likewise.
9598 * stdio-common/scanf.c: Likewise.
9599 * stdio-common/sprintf.c: Likewise.
9600 * stdio-common/tmpfile.c: Likewise.
9601 * stdio-common/vfprintf.c: Likewise.
9602 * stdio-common/vfscanf.c: Likewise.
9603 * stdlib/strfmon_l.c: Likewise.
9604 * sunrpc/openchild.c: Likewise.
9605 * sunrpc/xdr_stdio.c: Likewise.
9606 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
9607 * sysdeps/mach/hurd/tmpfile.c: Likewise.
9608
d6c33fda
RM
96092012-05-24 Roland McGrath <roland@hack.frob.com>
9610
c1487492
RM
9611 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
9612
9613 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
9614 in the third column, to generate for the shared library an IFUNC
9615 that uses _dl_vdso_vsym.
9616 * Makerules (COMPILE.c, compile-stdin.c): New variables.
9617 * Makeconfig (object-suffixes-noshared): New variable.
9618
9619 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
9620 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
9621 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
9622 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
9623
d6c33fda
RM
9624 [BZ #14132]
9625 * include/sys/time.h (__gettimeofday): Remove macro.
9626 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
9627 * time/gettimeofday.c (__gettimeofday): Remove #undef.
9628 Remove INTDEF.
9629 (__gettimeofday): Add libc_hidden_def.
9630 (gettimeofday): Add libc_hidden_weak.
9631 * sysdeps/mach/gettimeofday.c: Likewise.
9632 * sysdeps/posix/gettimeofday.c: Likewise.
9633 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
9634 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
9635 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
9636 (__gettimeofday_internal): Remove strong_alias.
9637 (__gettimeofday): Add libc_hidden_def.
9638 (gettimeofday): Add libc_hidden_weak.
9639 * sysdeps/unix/syscalls.list (gettimeofday):
9640 Remove __gettimeofday_internal alias.
9641
b5a2bbe6
L
96422012-05-24 Daniel Jacobowitz <drow@false.org>
9643 H.J. Lu <hongjiu.lu@intel.com>
9644
9645 [BZ #12495]
9646 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
9647 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
9648 (largebin_index_32_big): New.
9649 (largebin_index): Use it for 16-byte alignment.
9650 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
9651 correction with front_misalign.
9652
cfba4fda
L
96532012-05-24 H.J. Lu <hongjiu.lu@intel.com>
9654
7f907421
L
9655 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
9656 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
9657 Likewise.
9658 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
9659 Likewise.
9660 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
9661 Likewise.
9662 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
9663 Likewise.
9664 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
9665 Likewise.
9666 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
9667 Likewise.
9668 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
9669 Likewise.
9670 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
9671 Likewise.
9672 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
9673 Likewise.
9674 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
9675 Likewise.
9676 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
9677 Likewise.
9678 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
9679 Likewise.
9680
cfba4fda
L
9681 * scripts/data/c++-types-x32-linux-gnu.data: New file.
9682 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
9683
80bad0cc
JM
96842012-05-24 Joseph Myers <joseph@codesourcery.com>
9685
7a25eb06
JM
9686 [BZ #10846]
9687 [BZ #14036]
9688 * math/libm-test.inc (exp_test): Add test from bug 14036.
9689 (pow_test): Add test from bug 10846.
9690
795405f9
JM
9691 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
9692 and other flags.
9693 (special_function): Do not include flags in test name.
9694 (parse_args): Likewise.
9695 * sysdeps/i386/fpu/libm-test-ulps: Update.
9696 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9697 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
9698 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
9699 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9700
80bad0cc
JM
9701 * math/gen-libm-test.pl (%beautify): Add entries for underflow
9702 exceptions.
9703 * math/libm-test.inc ("Philosophy"): Update comment about
9704 exception testing.
9705 (UNDERFLOW_EXCEPTION): New macro.
9706 (UNDERFLOW_EXCEPTION_OK): Likewise.
9707 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
9708 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
9709 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
9710 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
9711 (INVALID_EXCEPTION_OK): Update value.
9712 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
9713 (OVERFLOW_EXCEPTION_OK): Likewise.
9714 (IGNORE_ZERO_INF_SIGN): Likewise.
9715 (test_exceptions): Handle underflow exceptions.
9716 (acos_test): Update for underflow exception expectations.
9717 (cexp_test): Likewise.
9718 (clog_test): Likewise.
9719 (clog10_test): Likewise.
9720 (csqrt_test): Likewise.
9721 (ctan_test): Likewise.
9722 (ctanh_test): Likewise.
9723 (exp_test): Likewise.
9724 (exp10_test): Likewise.
9725 (exp2_test): Likewise.
9726 (expm1_test): Likewise.
9727 (fma_test): Likewise.
9728 (j0_test): Likewise.
9729 (jn_test): Likewise.
9730 (nexttoward_test): Likewise.
9731 (pow_test): Likewise.
9732 (scalbn_test): Likewise.
9733 (scalbln_test): Likewise.
9734 (tan_test): Likewise.
9735 (y1_test): Likewise.
9736 * sysdeps/i386/fpu/libm-test-ulps: Update.
9737 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9738
9e0e3d0b
DM
97392012-05-23 David S. Miller <davem@davemloft.net>
9740
9741 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
9742 (__libc_sigaction): Remove unused local variables.
9743
ccd0a08f
L
97442012-05-23 H.J. Lu <hongjiu.lu@intel.com>
9745
9746 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
9747
62bdf9a6
PE
97482012-05-23 Paul Eggert <eggert@cs.ucla.edu>
9749
f8591f80
PE
9750 mktime: avoid signed integer overflow
9751 * time/mktime.c (__mktime_internal): Do not mishandle the case
9752 where diff == INT_MIN.
9753
94c7d826
PE
9754 mktime: simplify computation of average
9755 * time/mktime.c (ranged_convert): Use new time_t_avg function
9756 instead of rolling our own (probably-slower) code.
9757
ce73d683
PE
9758 mktime: do not assume signed right shift propagates sign bit
9759 * time/mktime.c (isdst_differ): New static function.
9760 (__mktime_internal): No need to normalize tm_isdst now.
9761 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
9762 tm_isdst values.
9763
72a22e59
PE
9764 mktime: merge another wrapv change from gnulib
9765 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
9766 from some compilers.
9767
68605433
PE
9768 mktime: remove incorrect attempt at unusual arithmetics
9769 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
9770 The code didn't really work on such machines anyway.
9771 (TYPE_MINIMUM): Assume two's complement.
9772 (twos_complement_arithmetic): Verify that long_int and time_t
9773 are two's complement (or unsigned, in the latter case).
9774
03cf7fe3
PE
9775 mktime: check signed shifts on long_int and time_t, too
9776 * time/mktime.c (SHR): Check that shifts work as desired
9777 on the types long_int and time_t too, as SHR is used on
9778 such types.
9779
f04dfbc2
PE
9780 mktime: do not assume 'long' is wide enough
9781 * time/mktime.c (verify): Move decl up.
9782 (long_int): New type.
9783 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
9784 to remove assumption in the code that 'long' is wide enough to
9785 store year values. This assumption is not true on x32 and on
9786 some non-glibc platforms.
9787
62bdf9a6
PE
9788 mktime: merge wrapv change from gnulib
9789 * time/mktime.c (WRAPV): New macro.
9790 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
9791 (guess_time_tm, __mktime_internal): Do not assume that signed
9792 integer overflow wraps around; modern compilers generate code
9793 where this assumption is no longer valid.
9794
5e292e4f
L
97952012-05-23 H.J. Lu <hongjiu.lu@intel.com>
9796
9797 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
9798 Replace "jmp L(pseudo_end)" with "ret".
9799 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
9800 Likewise.
9801
8caf8c87
AJ
98022012-05-23 Andreas Jaeger <aj@suse.de>
9803
9804 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
9805 * sysdeps/unix/sysv/linux/poll.c: Remove file.
9806
1a09dc56
AJ
98072012-05-23 Andreas Jaeger <aj@suse.de>
9808 Maximilian Attems <max@stro.at>
9809
9810 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
9811 New macros.
9812
1c87aba0
L
98132012-05-23 H.J. Lu <hongjiu.lu@intel.com>
9814
9815 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
9816 code so that pseudo_end is just ret and the stack pointer is
9817 correct also for static library in error case.
9818
40e45bd5
JM
98192012-05-23 Joseph Myers <joseph@codesourcery.com>
9820
c2670533
JM
9821 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
9822 move to syscalls.list.
9823 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
9824 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
9825 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
9826 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
9827
40e45bd5
JM
9828 * manual/install.texi (Running make install): Do not mention Linux
9829 kernel version for which pt_chown is not needed.
9830 (Linux): Do not mention problems with nscd with 2.0 kernels.
9831 * INSTALL: Regenerated.
9832
be08eda5
AJ
98332012-05-23 Andreas Jaeger <aj@suse.de>
9834
9835 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
9836 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
9837 macro.
9838 * sysdeps/unix/sysv/linux/s390/bits/mman.h
9839 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
9840 * sysdeps/unix/sysv/linux/sh/bits/mman.h
9841 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
9842 * sysdeps/unix/sysv/linux/i386/bits/mman.h
9843 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
9844 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
9845 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
9846 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
9847 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
9848 * sysdeps/unix/sysv/linux/bits/in.h
9849 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
9850
a6a056bb
RM
98512012-05-22 Roland McGrath <roland@hack.frob.com>
9852
9853 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
9854 (PREPARE_VERSION): Just use assert instead, it will be elided
9855 under [NDEBUG] anyway.
9856
c9009328
L
98572012-05-22 H.J. Lu <hongjiu.lu@intel.com>
9858
9859 * sysdeps/unix/sysv/linux/Makefile: Include
9860 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 9861 (sysdep_routines): Remove sysctl.
c9009328
L
9862 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
9863 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
9864 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
9865 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
9866 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
9867
73338355
AJ
98682012-05-22 Andreas Jaeger <aj@suse.de>
9869
9870 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
9871 that pseudo_end is just ret and the stack pointer is correct also
9872 for static library in error case.
9873
d44638b0
PP
98742012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
9875
9876 [BZ #14122]
9877 * nss/nsswitch.c (defconfig_entries): New variable.
9878 (__nss_database_lookup): Don't leak defconfig entries.
9879 (nss_parse_service_list): Don't leak on error paths.
9880 (free_database_entries): New function.
9881 (free_defconfig): New function.
9882 (free_mem): Move common code to free_database_entries.
9883
31a39bd8
L
98842012-05-22 H.J. Lu <hongjiu.lu@intel.com>
9885
da0331a8
L
9886 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
9887 Add arch_prctl.
9888 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
9889
31a39bd8
L
9890 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
9891 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
9892 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
9893 New macro.
9894 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
9895 (INTERNAL_SYSCALL_TYPES): Likewise.
9896 (LOAD_ARGS_TYPES_[1-6]): Likewise.
9897 (LOAD_REGS_TYPES_[1-6]): Likewise.
9898 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
9899 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
9900
45470df3
AZ
99012012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9902
9903 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
9904 copysignl for GLIBC_2_0.
9905 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
9906 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
9907 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
9908 logbl for GLIBC_2_0.
9909 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
9910 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
9911
98a61bcb
L
99122012-05-22 H.J. Lu <hongjiu.lu@intel.com>
9913
a4f6e481
L
9914 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
9915 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
9916
f63d5db6
L
9917 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
9918 Use "neg %eax".
9919
98a61bcb
L
9920 * time/mktime.c: Update copyright years.
9921
95770f14
PE
99222012-05-22 Paul Eggert <eggert@cs.ucla.edu>
9923
6226efbd
PE
9924 mktime: merge comment-quoting-style change from gnulib
9925 * time/mktime.c: Quote 'like this' in comments.
9926 The GNU coding standards suggest that we no longer quote `like this',
9927 as "`" and "'" are typically rendered asymmetrically nowadays.
9928 The typical gnulib style is to quote 'like this' when quoting
9929 code, and "like this" when quoting English.
9930
b99e4f78
PE
9931 * time/mktime.c (compile-command): Add "-I.".
9932
643e01e6
PE
9933 mktime: merge mktime-internal.h change from gnulib
9934 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
9935
2554247d
PE
9936 mktime: merge time_r change from gnulib
9937 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
9938
826dd0ab
PE
9939 mktime: merge DEBUG change from gnulib
9940 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
9941 case system <time.h> has a #define.
9942
bd83aabe
PE
9943 mktime: merge <sys/types.h> change from gnulib
9944 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
9945 since <time.t> is now guaranteed to define time_t.
9946
95770f14
PE
9947 mktime: merge HAVE_CONFIG_H change from gnulib
9948 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
9949
5e1a27a9
L
99502012-05-22 H.J. Lu <hongjiu.lu@intel.com>
9951
0e44a77e
L
9952 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
9953 Use "neg %eax".
9954
5e1a27a9
L
9955 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
9956 __rlim_t cast.
9957 (struct rusage): Use anonymous union to pad each field to
9958 __syscall_slong_t.
9959
46259bec
DM
99602012-05-21 David S. Miller <davem@davemloft.net>
9961
9962 * Makefules (o-iterator): Remove .s cases.
9963 (compile-command.s): Delete.
9964 (COMPILE.s): Delete.
9965 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
9966
59f0c22e
JM
99672012-05-21 Joseph Myers <joseph@codesourcery.com>
9968
9969 * configure.in (libc_cv_predef_stack_protector): Only consider
9970 "foobar" and "__stack_chk_fail" lines in libc_undefs.
9971 * configure: Regenerated.
9972
20c07380
L
99732012-05-21 H.J. Lu <hongjiu.lu@intel.com>
9974
bbb3154b
L
9975 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
9976 New macro. Use R*LP on int and pointer.
9977 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
9978 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
9979 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
9980 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
9981
20c07380
L
9982 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
9983 [__WORDSIZE_TIME64_COMPAT32] instead of
9984 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
9985 (struct utmp): Likewise.
9986 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
9987 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
9988 Renamed to ...
9989 (__WORDSIZE_TIME64_COMPAT32): This.
9990 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
9991 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
9992 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
9993 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
9994 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
9995 (__WORDSIZE_TIME64_COMPAT32): New macro.
9996
d8d1017e
AJ
99972012-05-21 Andreas Jaeger <aj@suse.de>
9998
9999 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
10000 only if [SHARED]. Add prototype for __wcschr_ia32.
10001
6c7fb145
RM
100022012-05-21 Roland McGrath <roland@hack.frob.com>
10003
10004 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
10005 of %rbp unmolested in the jmp_buf while mangling the low bits.
10006 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
10007 unmolested high bits of %rbp while demangling the low bits.
10008 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
10009
66274218
AJ
100102012-05-21 Andreas Jaeger <aj@suse.de>
10011
07c58f8f
AJ
10012 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
10013 * sunrpc/svc_simple.c: Use it for registerrpc.
10014 * sunrpc/xcrypt.c: Use it for passwd2des.
10015
66274218
AJ
10016 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
10017
61f65140
L
100182012-05-21 H.J. Lu <hongjiu.lu@intel.com>
10019
10020 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
10021 Don't define if [__SYSCALL_WORDSIZE != 32].
10022 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
10023 New macro.
10024
5fefb436
AJ
100252012-05-21 Bruno Haible <bruno@clisp.org>
10026 Andreas Jaeger <aj@suse.de>
10027
10028 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
10029 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
10030 inptr and inend for must_buffer_ch.
10031 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
10032 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
10033 * stdio-common/Makefile (tests): Remove bug15.
10034 (bug15-ENV): Remove macro.
10035 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
10036 anymore.
10037
d8e272ab
AJ
100382012-05-19 Andreas Jaeger <aj@suse.de>
10039 Roland McGrath <roland@hack.frob.com>
10040
10041 * manual/contrib.texi: Completely rewritten. It contains now an
10042 alphabetical list of contributors and their contributions.
10043
4a56a162
RH
100442012-05-21 Richard Henderson <rth@twiddle.net>
10045
10046 * misc/getauxval.c (__getauxval): Use unsigned long int.
10047 * misc/sys/auxv.h: Include <sys/cdefs.h>.
10048 (getauxval): Use unsigned long int.
10049
d024d23c
L
100502012-05-21 H.J. Lu <hongjiu.lu@intel.com>
10051
10052 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
10053
cbc00a03
RM
100542012-05-21 Roland McGrath <roland@hack.frob.com>
10055
10056 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
10057 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
10058 __alignof__ (long double).
10059
478143fa
AZ
100602012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10061
10062 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10063
c7683a6d
RH
100642012-05-20 Richard Henderson <rth@twiddle.net>
10065
10066 * misc/getauxval.c: New file.
10067 * misc/sys/auxv.h: New file.
10068 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
10069 (routines): Add getauxval.
10070 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
10071 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
10072 * elf/dl-sysdep.c (_dl_auxv): Remove.
10073 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
10074 * elf/dl-support.c (_dl_auxv): New variable.
10075 (_dl_aux_init): Initialize it.
10076 * manual/startup.texi (Auxiliary Vector): New node.
10077 * sysdeps/generic/bits/hwcap.h: New file.
10078 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
10079 * sysdeps/powerpc/sysdep.h: ... here. Include it.
10080 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
10081 * sysdeps/sparc/sysdep.h: ... here. Include it.
10082 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
10083 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
10084 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10085 Update.
c7683a6d
RH
10086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
10087 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
10088 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
10089 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
10090 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
10091 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
10092 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
10093 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
10094
a6f1845d
AZ
100952012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10096
10097 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10098
cbcbe830
DM
100992012-05-19 David S. Miller <davem@davemloft.net>
10100
10101 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10102
e0b16cc2
JM
101032012-05-19 Joseph Myers <joseph@codesourcery.com>
10104
10105 [BZ #14123]
10106 * math/s_ccosh.c: Include <float.h>
10107 (__ccosh): Avoid internal overflow calculating sinh and cosh
10108 values before multiplying by sin and cos values.
10109 * math/s_ccoshf.c: Likewise.
10110 * math/s_ccoshl.c: Likewise.
10111 * math/s_csin.c: Likewise.
10112 * math/s_csinf.c: Likewise.
10113 * math/s_csinl.c: Likewise.
10114 * math/s_csinh.c: Likewise.
10115 * math/s_csinhf.c: Likewise.
10116 * math/s_csinhl.c: Likewise.
10117 * math/libm-test.inc (ccos_test): Add more tests.
10118 (ccosh_test): Likewise.
10119 (csin_test): Likewise.
10120 (csinh_test): Likewise.
10121 * sysdeps/i386/fpu/libm-test-ulps: Update.
10122 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10123
6ad13e08
L
101242012-05-19 H.J. Lu <hongjiu.lu@intel.com>
10125
f66f0ce8
L
10126 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
10127 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
10128
6ad13e08
L
10129 * sysdeps/x86_64/x32/_itoa.h: Add comment.
10130
b1d072a7
JM
101312012-05-19 Joseph Myers <joseph@codesourcery.com>
10132
10133 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
10134 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
10135 * sysdeps/powerpc/soft-fp/Versions: Likewise.
10136 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
10137 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
10138 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
10139 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
10140 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
10141 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
10142 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
10143 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
10144 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
10145 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
10146 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
10147 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
10148 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
10149 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
10150 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
10151 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
10152 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
10153 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
10154 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
10155 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
10156 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
10157 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
10158 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
10159 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
10160 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
10161 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
10162 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
10163 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
10164
9eae47cb
AJ
101652012-05-18 Andreas Jaeger <aj@suse.de>
10166
10167 * csu/.gitignore: Delete.
10168
bb07f69f
L
101692012-05-18 H.J. Lu <hongjiu.lu@intel.com>
10170
10171 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
10172 (timex): Use __syscall_slong_t.
10173
e6bdb741
AJ
101742012-05-18 Andreas Jaeger <aj@suse.de>
10175 Carlos O'Donell <carlos_odonell@mentor.com>
10176
10177 * manual/install.texi (Configuring and compiling): Update
10178 description about files modified in the source directory.
d6c33fda 10179 * INSTALL: Regenerated.
e6bdb741 10180
1b74487e
L
101812012-05-18 H.J. Lu <hongjiu.lu@intel.com>
10182
10183 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
10184 value. Use "or" to set return value to -1.
10185 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
10186 negate return value.
10187
a88b64b9
TMQMF
101882012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10189
10190 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
10191 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
10192 failure if the compiler has Graphite support disabled.
10193 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
10194 Likewise.
10195 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
10196 CFLAGS-memmove.c): Likewise.
10197 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
10198 Likewise.
10199
3707636e
L
102002012-05-18 H.J. Lu <hongjiu.lu@intel.com>
10201
610b8622
L
10202 * sysdeps/x86_64/x32/_itoa.h: New file.
10203
7cd195df
L
10204 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
10205 getdents system call only if kernel and user dirents have the
10206 same d_ino and d_off.
10207
94b07d20
L
10208 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
10209 LLONG_MAX != LONG_MAX.
10210 (_itoa_word): Use _ITOA_WORD_TYPE on value.
10211 (_fitoa_word): Likewise.
10212
18298070
L
10213 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
10214 years.
10215 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
10216 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
10217 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
10218
553c7ea4
L
10219 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
10220 include <bits/wordsize.h>. Check __x86_64__ instead of
10221 __WORDSIZE.
10222 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
10223 if __x86_64__ is defined. Use anonymous union on fpstate.
10224
3707636e
L
10225 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
10226 anonymous union.
10227
b53ef01a
AS
102282012-05-18 Andreas Schwab <schwab@linux-m68k.org>
10229
37fb1dc0
AS
10230 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
10231 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
10232 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
10233 Refer to _rtld_local_ro instead of _rtld_global_ro.
10234 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
10235 Likewise.
10236 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
10237 Likewise.
10238 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
10239 Likewise.
10240 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
10241 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
10242 of _rtld_global, and rtld_progname instead of _dl_argv[0].
10243
b53ef01a
AS
10244 * sysdeps/powerpc/powerpc32/dl-machine.c
10245 (__elf_machine_runtime_setup) [PROF]: Don't reference
10246 _dl_prof_resolve.
10247
7a185db2
AJ
102482012-05-18 Andreas Jaeger <aj@suse.de>
10249
10250 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
10251 function only available for GCCs before 3.4 since GCC 3.4
10252 introduced a builtin.
10253 (lrint): Likewise.
10254 (llrintf): Likewise.
10255 (llrint): Likewise.
10256 (fmaxf): Likewise.
10257 (fmax): Likewise.
10258 (fminf): Likewise.
10259 (fmin): Likewise.
10260 (rint): Likewise.
10261 (rintf): Likewise.
10262 (nearbyint): Likewise.
10263 (nearbyintf): Likewise.
10264 (ceil): Likewise.
10265 (ceilf): Likewise.
10266 (floor): Likewise.
10267 (floorf): Likewise.
10268
3e5aef87
L
102692012-05-17 H.J. Lu <hongjiu.lu@intel.com>
10270
428bd707
L
10271 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
10272 on both fields and cast pointer to __syscall_ulong_t.
10273
3e5aef87
L
10274 * bits/types.h (__fsword_t): New type.
10275 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
10276 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
10277 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
10278 (__FSWORD_T_TYPE): Likewise.
10279 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
10280 (__FSWORD_T_TYPE): Likewise.
10281 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10282 (__FSWORD_T_TYPE): Likewise.
10283 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
10284 (__FSWORD_T_TYPE): Likewise.
10285 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
10286 __SWORD_TYPE with __fsword_t.
10287 (statfs64): Likewise.
10288
1ba7c3dc
DM
102892012-05-17 David S. Miller <davem@davemloft.net>
10290
10291 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
10292
59910343
AJ
102932012-05-17 Andreas Jaeger <aj@suse.de>
10294
10295 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
10296 warning.
10297
2e4c1e9e
L
102982012-05-17 H.J. Lu <hongjiu.lu@intel.com>
10299
10300 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
10301
de7f5ce7
AJ
103022012-05-17 Andreas Jaeger <aj@suse.de>
10303
10304 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
10305 when it is used.
10306
286abc3d
CM
103072012-05-17 Chris Metcalf <cmetcalf@tilera.com>
10308
10309 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
10310
477cc68e
L
103112012-05-17 H.J. Lu <hongjiu.lu@intel.com>
10312
10313 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
10314 * sysdeps/x86_64/tst-mallocalign1.c: New file.
10315
1a0994f5
CD
103162012-05-17 Andreas Jaeger <aj@suse.de>
10317 Carlos O'Donell <carlos_odonell@mentor.com>
10318
10319 [BZ #14059]
10320 * sysdeps/x86_64/multiarch/init-arch.h
10321 (bit_YMM_Usable): Rename to...
10322 (bit_AVX_Usable): ... this.
10323 (bit_FMA4_Usable): New macro.
10324 (bit_XMM_state): New macro.
10325 (bit_YMM_state): New macro.
10326 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
10327 [__ASSEMBLER__] (index_AVX_Usable): ... this.
10328 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
10329 (CPUID_OSXSAVE): New macro.
10330 (CPUID_AVX): New macro.
10331 (CPUID_FMA4): New macro.
10332 (index_YMM_Usable): Rename to...
10333 (index_AVX_Usable): ... this.
10334 (HAS_AVX): Use HAS_ARCH_FEATURE.
10335 (HAS_FMA4): Likewise.
10336 (HAS_YMM_USABLE): Remove.
10337 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10338 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
10339 are present.
10340 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
10341 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
10342 * sysdeps/x86_64/multiarch/Makefile: Likewise.
10343 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
10344 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
10345
0af797de
CM
103462012-05-17 Chris Metcalf <cmetcalf@tilera.com>
10347
10348 * math/libm-test.c: Support platforms without multiple rounding modes.
10349 * math/bug-nextafter.c: Support platforms without FP exceptions.
10350 * math/bug-nexttoward.c: Likewise.
10351 * math/test-fenv.c: Likewise.
10352 * math/test-misc.c: Likewise.
10353 * stdlib/bug-getcontext.c: Likewise.
10354
e39745ff
AJ
103552012-05-17 Andreas Jaeger <aj@suse.de>
10356
10357 * manual/examples/search.c (critter_cmp): Change signature to
10358 avoid warnings.
10359 * manual/string.texi (Collation Functions): Likewise.
10360
48970aba
L
103612012-05-16 H.J. Lu <hongjiu.lu@intel.com>
10362
10363 * bits/types.h: Fold copyright years.
10364 * bits/typesizes.h: Likewise.
10365 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
10366 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
10367 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
10368 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
10369 * time/time.h: Likewise.
10370
bedee953
PP
103712012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
10372
10373 [BZ #208]
10374 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
10375 in instead of returning them. Return void.
10376 (__libc_mallinfo): Accumulate over all arenas.
10377 (__malloc_stats): Adjust for change in int_mallinfo interface.
10378
61653dfb
RM
103792012-05-16 Roland McGrath <roland@hack.frob.com>
10380
30b99d79
RM
10381 [BZ #10375]
10382 * configure.in (NM): Add AC_CHECK_TOOL for it.
10383 (libc_extra_cflags): New substituted variable.
10384 Check for -fstack-protector being used implicitly.
10385 * configure: Regenerated.
10386 * config.make.in (config-extra-cflags): New variable,
10387 gets @libc_extra_cflags@.
10388 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
10389
61653dfb
RM
10390 [BZ #10375]
10391 * configure.in: Check for _FORTIFY_SOURCE being predefined.
10392 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
10393 * configure: Regenerated.
10394 * config.make.in (CPPUNDEFS): New substituted variable.
10395 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
10396 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
10397 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
10398
661768bb
L
103992012-05-16 H.J. Lu <hongjiu.lu@intel.com>
10400
10401 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
10402 (mq_attr): Use __syscall_slong_t.
10403
d4261567
L
104042012-05-16 H.J. Lu <hongjiu.lu@intel.com>
10405
10406 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
10407 Check __x86_64__ instead of __WORDSIZE.
10408 (_STAT_VER_LINUX): Likewise.
10409 (stat): Check __x86_64__ instead of __WORDSIZE. Use
10410 __syscall_ulong_t and __syscall_slong_t.
10411 (stat64): Likewise.
10412
cf3ff365
L
104132012-05-16 H.J. Lu <hongjiu.lu@intel.com>
10414
10415 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
10416
76cf3e4d
L
104172012-05-16 H.J. Lu <hongjiu.lu@intel.com>
10418
10419 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
10420
a637753a
L
104212012-05-16 H.J. Lu <hongjiu.lu@intel.com>
10422
10423 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
10424 __syscall_ulong_t.
10425
d5e05119
L
10426 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
10427 include <bits/wordsize.h>. Check __x86_64__ instead of
10428 __WORDSIZE.
10429 (greg_t): Use "__extension__ long long int" if __x86_64__ is
10430 defined.
10431 (mcontext_t): Replace "unsigned long" with "unsigned long long".
10432
f62ee380
L
10433 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
10434 include <bits/wordsize.h>. Check __x86_64__ instead of
10435 __WORDSIZE.
10436 (user_regs_struct): Use "__extension__ unsigned long long"
10437 instead of "unsigned long" if __x86_64__ is defined.
10438 (user): Likewise. Pad after pointer field if __ILP32__ is
10439 defined.
10440
4e124ced
JM
104412012-05-16 Joseph Myers <joseph@codesourcery.com>
10442
6a3951a0
JM
10443 * configure.in (makeinfo): Require version 4.5 or later. Allow
10444 versions 5 to 9.
10445 * configure: Regenerated.
10446 * manual/install.texi (texinfo): Increase version requirement to
10447 4.5 or later.
10448 * INSTALL: Regenerated.
10449
4e124ced
JM
10450 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
10451
953ca31a
L
104522012-05-16 H.J. Lu <hongjiu.lu@intel.com>
10453
10454 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
10455
617aca05
L
10456 * sysdeps/x86_64/x32/ffs.c: New file.
10457
5762f7ae
L
10458 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
10459 __syscall_ulong_t.
10460 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
10461 defined. Use __syscall_ulong_t.
10462 (shminfo): Use __syscall_ulong_t.
10463 (shm_info): Likewise.
10464
a26b6856
L
10465 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
10466 __syscall_ulong_t.
10467
cb2b9ef7
L
10468 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
10469 <bits/wordsize.h>.
10470 (msgqnum_t): Use __syscall_ulong_t.
10471 (msglen_t): Likewise.
10472 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
10473 __syscall_ulong_t.
10474
34683bb0
L
10475 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
10476 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
10477
84a68786
L
10478 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
10479
48baa5f1
L
10480 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
10481 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
10482
180be88b
L
10483 * sysvipc/sys/msg.h (msgbuf): Replace long int with
10484 __syscall_slong_t.
10485
5e90c8ad
L
10486 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
10487 include <bits/wordsize.h>. Check __x86_64__ instead of
10488 __WORDSIZE.
10489
23dfb58b
L
10490 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
10491 "unsigned long long int" if __x86_64__ is defined.
10492 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
10493
ce5d54b0
L
10494 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
10495 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
10496 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
10497
13dc9eac
L
10498 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
10499 <stdint.h>.
10500 (GET_PC): Cast to uintptr_t first.
10501 (GET_FRAME): Likewise.
10502 (GET_STACK): Likewise.
10503
a7895d15
L
10504 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
10505 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
10506 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
10507 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
10508 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
10509 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
10510 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
10511 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
10512 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
10513 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
10514 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
10515 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
10516 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
10517 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
10518 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
10519 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
10520 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
10521 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
10522 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
10523 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
10524 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
10525 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
10526 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
10527 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
10528 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
10529 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
10530 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
10531 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
10532 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
10533
656416c9
AS
105342012-05-16 Andreas Schwab <schwab@linux-m68k.org>
10535
5bd66283
AS
10536 * Makerules (+depfiles): Also collect depfiles from .oS in
10537 $(extra-objs).
10538 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
10539 .oS, $(libnldbl-routines)).
10540
656416c9
AS
10541 * Makerules (native-compile-mkdep-flags): Define.
10542 * sunrpc/Makefile (extra-objs): Add $(addprefix
10543 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
10544 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
10545 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
10546 calling $(make-target-directory).
10547
a46f2169
L
105482012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10549
10550 * bits/types.h (__snseconds_t): Removed.
10551 * time/time.h (struct timespec): Replace __snseconds_t with
10552 __syscall_slong_t.
10553 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
10554 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
10555 Likewise.
10556 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
10557 (__SNSECONDS_T_TYPE): Likewise.
10558 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
10559 (__SNSECONDS_T_TYPE): Likewise.
10560 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10561 (__SNSECONDS_T_TYPE): Likewise.
10562
6af6528b
L
105632012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10564
10565 * sysdeps/mach/hurd/bits/typesizes.h
10566 (__SYSCALL_SLONG_TYPE): New macro.
10567 (__SYSCALL_ULONG_TYPE): Likewise.
10568
de986b56
L
105692012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10570
10571 * bits/types.h (__syscall_slong_t): New type.
10572 (__syscall_ulong_t): Likewise.
10573
10574 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
10575 (__SYSCALL_ULONG_TYPE): Likewise.
10576 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
10577 (__SYSCALL_SLONG_TYPE): Likewise.
10578 (__SYSCALL_ULONG_TYPE): Likewise.
10579 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
10580 (__SYSCALL_SLONG_TYPE): Likewise.
10581 (__SYSCALL_ULONG_TYPE): Likewise.
10582 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10583 (__SYSCALL_SLONG_TYPE): Likewise.
10584 (__SYSCALL_ULONG_TYPE): Likewise.
10585
85736dc7
L
105862012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10587
10588 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
10589 Add sigaltstack-offsets.sym.
10590 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
10591 <sigaltstack-offsets.h>.
10592 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
10593 longjmp_msg pointer.
10594 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
10595 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
10596 signal stack.
10597 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
10598
cc03b296
JM
105992012-05-15 Joseph Myers <joseph@codesourcery.com>
10600
a9538892
JM
10601 * elf/stackguard-macros.h: Remove file.
10602 * sysdeps/generic/stackguard-macros.h: New file.
10603 * sysdeps/i386/stackguard-macros.h: Likewise.
10604 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
10605 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
10606 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
10607 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
10608 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
10609 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
10610 * sysdeps/x86_64/stackguard-macros.h: Likewise.
10611 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
10612 <elf/stackguard-macros.h>.
10613
cc03b296
JM
10614 [BZ #14109]
10615 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
10616 __aligned__ in attribute.
10617 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
10618 (gregset_t): Likewise.
10619
93171016
L
106202012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10621
10622 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
10623 * sysdeps/x86_64/64/Implies-after: Here. New file.
10624 * sysdeps/x86_64/x32/Implies-after: New file.
10625
d86813a0
L
106262012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10627
10628 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
10629 and access return value for _dl_profile_fixup. Use R10_LP to
10630 load frame size.
10631
2953ec75
L
106322012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10633
10634 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
10635
3b550e9e
L
106362012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10637
10638 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
10639 * sysdeps/x86_64/x32/sysdep.h: New file.
10640
eda41706
L
106412012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10642
10643 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
10644 * sysdeps/x86_64/setjmp.S: Likewise.
10645
9ea01d93
AZ
106462012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10647
10648 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
10649 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
10650 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
10651 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
10652 remove unused global constant.
10653
02a91938
CM
106542012-05-15 Chris Metcalf <cmetcalf@tilera.com>
10655
10656 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
10657 include of <not-cancel.h>.
10658
6540185f
RM
106592012-05-15 Roland McGrath <roland@hack.frob.com>
10660
10661 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
10662
509072a0
AJ
106632012-05-15 Jeff Law <law@redhat.com>
10664 Andreas Jaeger <aj@suse.de>
10665
10666 [BZ #13594]
10667 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
10668 out from...
10669 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
10670 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
10671 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
10672 code changing __hst_map_handle.map.
10673
ba75122d
RM
106742012-05-15 Roland McGrath <roland@hack.frob.com>
10675
10676 * configure.in (sysnames): Look for Implies-before and Implies-after
10677 files.
10678 * configure: Regenerated.
10679
890d8bd8
L
106802012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10681
10682 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
10683 8-byte data alignment with LP_SIZE alignment.
10684
f6ee6623
L
106852012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10686
10687 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
10688 into R10_LP.
10689
ea2626f6
L
106902012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10691
10692 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
10693
085f715e
L
106942012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10695
10696 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
10697 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
10698 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
10699 Likewise.
10700 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
10701
be8498fc
L
107022012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10703
10704 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
10705 (stackinfo_sub_sp): Likewise.
10706
70bc83b9
L
107072012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10708
10709 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
10710 RAX_LP.
10711
9bc0b730
L
107122012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10713
10714 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
10715 into R*_LP.
10716
6d2850e7
L
107172012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10718
10719 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
10720 sizes into R*_LP.
10721
3cb84561
L
107222012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10723
10724 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
10725
54e2ed81
L
107262012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10727
10728 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
10729 into R11_LP and load __x86_64_shared_cache_size_half into
10730 R8_LP.
10731
8a17f349
L
107322012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10733
10734 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
10735 R8_LP.
10736
777b1eea
AZ
107372012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10738
10739 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
10740 logb for POWER7.
10741 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
10742 logbf for POWER7.
10743 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
10744 logbl for POWER7.
10745 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
10746 powerpc32/power7/fpu/s_logb.c via #include.
10747 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
10748 powerpc32/power7/fpu/s_logbf.c via #include.
10749 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
10750 powerpc32/power7/fpu/s_logbl.c via #include.
10751
d20d4ac2
JM
107522012-05-15 Joseph Myers <joseph@codesourcery.com>
10753
10754 * README.libm: Remove file.
10755
6cdef1ab
L
107562012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10757
10758 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
10759 count for x32. Use R*_LP and omit operand-size suffix.
10760
0b254d8f
L
107612012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10762
10763 * shlib-versions: Move x86_64-.*-linux.* entries to ...
10764 * sysdeps/x86_64/64/shlib-versions: Here. New file.
10765 * sysdeps/x86_64/x32/shlib-versions: New file.
10766
ceb809dc
RM
107672012-05-14 Roland McGrath <roland@hack.frob.com>
10768
10769 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
10770 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
10771 Use _dl_fatal_printf instead.
10772
37f1abd4
JM
107732012-05-14 Joseph Myers <joseph@codesourcery.com>
10774
10775 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
10776 set if not set by the user. Do not allow for being unset.
10777 * sysdeps/unix/sysv/linux/configure: Regenerated.
10778
11de3a33
L
107792012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10780
10781 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
10782 the `q' suffix from lea and replace .quad with ASM_ADDR.
10783
e02f153a
L
107842012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10785
10786 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
10787 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
10788 instead of $17.
10789 (PTR_DEMANGLE): Likewise.
10790
520ae0fd
L
107912012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10792
10793 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
10794 (LP_OP): Likewise.
10795 (ASM_ADDR): Likewise.
10796 (RAX_LP): Likewise.
10797 (RBP_LP): Likewise.
10798 (RBX_LP): Likewise.
10799 (RCX_LP): Likewise.
10800 (RDI_LP): Likewise.
10801 (RSI_LP): Likewise.
10802 (RSP_LP): Likewise.
10803 (R8_LP): Likewise.
10804 (R9_LP): Likewise.
10805 (R10_LP): Likewise.
10806 (R10_LP): Likewise.
10807 (R11_LP): Likewise.
10808 (R12_LP): Likewise.
10809 (R13_LP): Likewise.
10810 (R14_LP): Likewise.
10811 (R15_LP): Likewise.
10812
b985be81
L
108132012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10814
10815 * sysdeps/x86_64/x32/dl-machine.h: New file.
10816
6a4888ff
AJ
108172012-05-14 Andreas Jaeger <aj@suse.de>
10818
10819 * manual/Makefile (subdir): Remove export of subdir.
10820 (all): Remove target.
10821 (.PHONY): Remove all from list.
10822 (mkinstalldirs): Remove.
10823 (.PHONY): Remove installdirs from list.
10824 ($(inst_infodir)/libc.info): Use make-target-directory.
10825 (installdirs): Remove.
10826 (subdir_%): Remove.
10827 (glibc-targets): Remove.
10828 (lib): Remove.
10829 (stubs): Remove.
10830 ($(objpfx)stubs ../po/manual.pot): Remove.
10831 ($(objpfx)stamp%): Remove.
10832 (make-target-directory): Remove.
10833 (subdir_install): Remove.
10834 (routines): Remove.
10835 (aux): Remove.
10836 (sources): Remove.
10837 (objects): Remove.
10838 (headers): Remove.
10839
10840 [BZ #13750]
10841 * manual/.gitignore: Remove, it's not needed anymore.
10842 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
10843 all files in it.
10844 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
10845 directory.
10846 (texis): Renamed to $(objpfx)texis.
10847 (texis-path): New, contains path to generated files.
10848 (chapters.%): Use texis-path for complete path, add extra argument
10849 libc-texinfo.sh.
10850 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
10851 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
10852 (summary,texi, stamp-summary): Use complete path of
10853 files. Generate files in build dir.
10854 (dir-add.texi): Build in build dir.
10855 (libm-err.texi,stamp-libm-err): Likewise.
10856 (version.texi, stamp-version): Likewise.
10857 (.%c.texi): Likewise.
10858 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
10859 (mostlyclean): Remove target.
10860 (realclean): Remove target.
10861 (generated): Add new variable with contents from mostlyclean and
10862 realclean, remove entries duplicated in common-mostlyclean, add
10863 stamp-libm-err and stamp-version.
10864 (generated-dirs): Add libc directory.
10865 ($(inst_infodir)/libc.info): Install files from build dir.
10866
10867 * manual/install.texi (Configuring and compiling): Adjust since
10868 the info files are not part of the tar ball anymore.
10869
7ac77294
AJ
108702012-05-14 Andreas Jaeger <aj@suse.de>
10871
10872 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
10873 variable.
10874
ffb7875d
JM
108752012-05-14 Joseph Myers <joseph@codesourcery.com>
10876
10877 [BZ #13717]
10878 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
10879 to 2.2.0 where earlier.
10880 * sysdeps/unix/sysv/linux/configure: Regenerated.
10881 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
10882 Remove conditional code.
10883 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
10884 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
10885 Remove conditional code.
10886 [!__NR_lchown]: Likewise.
10887 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
10888 [__NR_lchown]: Likewise.
10889 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
10890 comment referencing __ASSUME_LCHOWN_SYSCALL.
10891 * sysdeps/unix/sysv/linux/i386/sigaction.c
10892 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
10893 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
10894 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
10895 Remove conditional code.
10896 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
10897 (__protocol_available): Remove #if 0 code.
10898 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
10899 conditional code.
10900 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
10901 * sysdeps/unix/sysv/linux/kernel-features.h
10902 (__ASSUME_GETCWD_SYSCALL): Don't define.
10903 (__ASSUME_REALTIME_SIGNALS): Likewise.
10904 (__ASSUME_PREAD_SYSCALL): Likewise.
10905 (__ASSUME_PWRITE_SYSCALL): Likewise.
10906 (__ASSUME_POLL_SYSCALL): Likewise.
10907 (__ASSUME_LCHOWN_SYSCALL): Likewise.
10908 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
10909 non-SPARC.
10910 (__ASSUME_SIOCGIFNAME): Don't define.
10911 (__ASSUME_MSG_NOSIGNAL): Likewise.
10912 (__ASSUME_SENDFILE): Define unconditionally.
10913 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
10914 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
10915 conditional code.
10916 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
10917 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
10918 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
10919 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
10920 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
10921 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
10922 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
10923 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
10924 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
10925 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10926 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
10927 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
10928 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10929 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
10930 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
10931 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10932 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
10933 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
10934 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
10936 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
10937 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
10939 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
10940 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
10942 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
10943 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10944 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
10945 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
10946 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10947 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
10948 Remove conditional code.
10949 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10950 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
10951 Remove conditional code.
10952 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10953 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
10954 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
10955 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
10956 Remove conditional code.
10957 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10958 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
10959 Remove conditional code.
10960 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10961 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
10962 Remove conditional code.
10963 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10964 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
10965 Remove conditional code.
10966 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10967 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
10968 Remove conditional code.
10969 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10970 * sysdeps/unix/sysv/linux/sh/pwrite64.c
10971 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
10972 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10973 * sysdeps/unix/sysv/linux/sigaction.c
10974 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
10975 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
10976 * sysdeps/unix/sysv/linux/sigpending.c
10977 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
10978 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
10979 * sysdeps/unix/sysv/linux/sigprocmask.c
10980 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
10981 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
10982 * sysdeps/unix/sysv/linux/sigsuspend.c
10983 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
10984 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
10985 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
10986 (__libc_missing_rt_sigs): Remove.
10987 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
10988 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
10989 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
10990 Remove conditional code.
10991 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
10992 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
10993 return 1.
10994 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
10995 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
10996 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
10997 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
10998
1bfb7291
AJ
109992012-05-14 Andreas Jaeger <aj@suse.de>
11000
caae5a81
AJ
11001 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
11002 it's not used in glibc.
11003 (__coshm1): Likewise.
11004 (__acosh1p): Likewise.
11005 (__sgn): Likewise.
11006
1bfb7291
AJ
11007 * manual/string.texi (Copying and Concatenation): Add missing
11008 variable in concat example.
11009 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
11010
c044d724
L
110112012-05-14 H.J. Lu <hongjiu.lu@intel.com>
11012
144c5467 11013 [BZ #14103]
c044d724
L
11014 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
11015 __builtin_clzl with __builtin_clzll.
11016
2523c62b
L
110172012-05-14 H.J. Lu <hongjiu.lu@intel.com>
11018
11019 [BZ #14104]
11020 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
11021 libc_freeres_ptr.
11022
d7bb4c42
LD
110232012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11024
11025 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
11026 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
11027 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
11028 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
11029
9dc4e1fb
MF
110302012-05-14 Mike Frysinger <vapier@gentoo.org>
11031
11032 * NEWS: Update ia64 info.
11033
c7df0112
AS
110342012-05-12 Andreas Schwab <schwab@linux-m68k.org>
11035
11036 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
11037 used as bcopy.
11038
dc70356c
TS
110392012-05-12 Thomas Schwinge <thomas@codesourcery.com>
11040
11041 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
11042 * sysdeps/unix/syscalls.list (dup3): Likewise.
11043 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
11044 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
11045
9fb1a21f
L
110462012-05-11 H.J. Lu <hongjiu.lu@intel.com>
11047
11048 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
11049 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
11050
4822a2a5
L
110512012-05-11 H.J. Lu <hongjiu.lu@intel.com>
11052
11053 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
11054 thread pointer.
11055 (TLS_IE): Use mov/add instead of movq/addq to load thread
11056 pointer.
11057 (TLS_GD_PREFIX): New.
11058 (TLS_GD): Use it.
11059
842b81d6
DM
110602012-05-11 David S. Miller <davem@davemloft.net>
11061
11062 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
11063 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
11064 (_FPU_SETCW): Likewise.
11065
1cf463cd
L
110662012-05-10 H.J. Lu <hongjiu.lu@intel.com>
11067
11068 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
11069 is 32-byte aligned.
11070
60cc4a18
AS
110712012-05-11 Andreas Schwab <schwab@linux-m68k.org>
11072
11073 [BZ #11837]
11074 * iconvdata/gb18030.c: Update tables.
11075 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
11076 characters specially.
11077 (BODY for TO_LOOP): Add encoding of missing ranges.
11078
febb44a4
TS
110792012-05-11 Thomas Schwinge <thomas@codesourcery.com>
11080
11081 [BZ #13673]
11082 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
11083 * sysdeps/mach/hurd/dup3.c: Likewise.
11084 * sysdeps/mach/hurd/readlinkat.c: Likewise.
11085 * sysdeps/powerpc/memmove.c:: Likewise.
11086
0a10fb9e
L
110872012-05-10 H.J. Lu <hongjiu.lu@intel.com>
11088
11089 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
11090 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
11091
df8a552f
L
110922012-05-10 H.J. Lu <hongjiu.lu@intel.com>
11093
11094 * elf/elf.h (R_X86_64_RELATIVE64): New.
11095 (R_X86_64_NUM): Updated.
11096 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
11097 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
11098 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
11099 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
11100 tst-quad1pie tst-quad2pie
11101 (modules-names): Add tst-quadmod1 tst-quadmod2.
11102 ($(objpfx)tst-quad1): New dependency.
11103 ($(objpfx)tst-quad2): Likewise.
11104 ($(objpfx)tst-quad1pie): Likewise.
11105 ($(objpfx)tst-quad2pie): Likewise.
11106 * sysdeps/x86_64/tst-quad1.c: New file.
11107 * sysdeps/x86_64/tst-quad1pie.c: New file.
11108 * sysdeps/x86_64/tst-quad2.c: Likewise.
11109 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
11110 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
11111 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
11112 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
11113 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
11114
f34d6f84
ST
111152012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11116
f42d41d1
ST
11117 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
11118 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
11119 * streams/stropts.h (t_scalar_t): Define type.
11120
3c3571fc
ST
11121 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
11122 (_PATH_PRESERVE): Set to "/var/lib".
11123 (_PATH_RWHODIR): Set to "/var/spool/rwho".
11124
61f06bd3
ST
11125 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
11126 instead of int.
11127
918d4d71
ST
11128 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
11129 if __dir_mkfile succeeded.
11130
f34d6f84
ST
11131 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
11132 checking for _hurd_dtablesize. Unlock it right after having
11133 finished _hurd_dtable allocation.
11134
10589b4a
TS
111352012-05-10 Thomas Schwinge <thomas@schwinge.name>
11136
674cdbc7
TS
11137 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
11138 * sysdeps/mach/hurd/configure: Regenerated.
11139 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
11140 special-casing to...
11141 * sysdeps/gnu/configure.in: ... this new file.
11142 * sysdeps/unix/sysv/linux/configure: Regenerated.
11143 * sysdeps/gnu/configure: New generated file.
11144
8e41b99f
TS
11145 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
11146 for Linux: use nsec instead of usec, as well as:
11147 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
11148 members of type struct timespec.
11149 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
11150 New macros.
11151 (struct stat64): Likewise.
11152 (_STATBUF_ST_NSEC): New macro.
11153 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
11154
10589b4a
TS
11155 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
11156 __strtoul_internal rather than strtoul.
11157
63643c85
PT
111582012-05-10 Pino Toscano <toscano.pino@tiscali.it>
11159
11160 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
11161 and reject them.
11162
3faebe6a
ST
111632012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11164
11165 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
11166 which preserves existing values.
11167 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
11168
c6474b07
PT
111692012-05-10 Pino Toscano <toscano.pino@tiscali.it>
11170
11171 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
11172 TIMEOUT values. Return EINVAL for NFDS values either negative or
11173 greater than FD_SETSIZE.
11174
1043890b
ST
111752012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11176
11177 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
11178 allocated, call __vm_protect to finish enabling the existing space, and
11179 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
11180 allocate the remainder.
11181
37ed8b9b
PT
111822012-05-10 Pino Toscano <toscano.pino@tiscali.it>
11183
11184 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
11185 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
11186
db653660
ST
111872012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11188
37ed8b9b
PT
11189 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
11190 sysdeps/mach/hurd/readlink.c.
b29d4053 11191
db653660
ST
11192 * posix/tst-sysconf.c (posix_options): Only use
11193 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
11194 _POSIX_SYNCHRONIZED_IO when they are defined
11195 * sysdeps/mach/hurd/bits/posix_opt.h:
11196 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
11197 (_XOPEN_REALTIME): Undefine macro.
11198 (_XOPEN_REALTIME_THREADS): Undefine macro.
11199 (_XOPEN_SHM): Undefine macro.
11200 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
11201 macro to -1.
11202 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
11203 macro to -1.
11204 (_POSIX_ASYNC_IO): Undefine macro.
11205 (_POSIX_PRIORITIZED_IO): Undefine macro.
11206 (_POSIX_SPIN_LOCKS): Define macro to -1.
11207
ee16e894
ST
11208 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
11209 SA_NODEFER, SA_RESETHAND.
11210 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
11211 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
11212 F_DUPFD_CLOEXEC.
11213
6103ae3b
TS
112142012-05-10 Thomas Schwinge <thomas@schwinge.name>
11215
11216 * elf/Makefile (pldd-modules): Define unconditionally.
11217
80b4e5f3
TS
112182012-05-10 Thomas Schwinge <thomas@schwinge.name>
11219
11220 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
11221
edadcbd6
ST
112222012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11223
11224 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
11225 Return ENOENT when name is empty.
11226 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
11227
80694780
TS
112282012-05-10 Thomas Schwinge <thomas@schwinge.name>
11229
1792c087
TS
11230 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
11231
80694780
TS
11232 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
11233
6b645f0d
ST
112342012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11235
80694780
TS
11236 Fix mlock in all cases except non-readable pages.
11237 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
11238 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 11239
6b645f0d
ST
11240 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
11241 (__mkdir): When path is `/', just fail with EEXIST.
11242 * sysdeps/mach/hurd/mkdirat.c: Likewise.
11243
e468f8a3
TS
112442012-05-10 Thomas Schwinge <thomas@schwinge.name>
11245
11246 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
11247 <sys/uio.h> (for writev).
11248 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
11249 and <sys/param.h> (for MIN).
11250
a4186cff
PT
112512012-05-10 Pino Toscano <toscano.pino@tiscali.it>
11252
11253 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
11254 REQUESTED_TIME. Properly set the remaining time and return EINTR
11255 if interrupted.
11256
510bbf14
TS
112572012-05-10 Thomas Schwinge <thomas@schwinge.name>
11258
11259 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
11260 Depend on against $(link-rpcuserlibs).
11261
5d5722e8
ST
112622012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11263
a4186cff
PT
11264 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
11265 (__libc_stack_end): Do not use attribute_relro.
11266 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
11267 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 11268 to libthread-provided value.
a4186cff
PT
11269 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
11270 attribute_relro.
5d5722e8 11271
37233df9
TS
112722012-05-10 Thomas Schwinge <thomas@schwinge.name>
11273
be971a2b
TS
11274 [BZ #3748]
11275 * bits/libc-lock.h (__libc_once_get): New macro.
11276 * sysdeps/mach/bits/libc-lock.h: Likewise.
11277 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
11278 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
11279 instead of using implementation details.
11280
37233df9
TS
11281 * libio/fileops.c: Unconditionally include <kernel-features.h>.
11282 * libio/freopen.c: Likewise.
11283 * libio/freopen64.c: Likewise.
11284 * misc/syslog.c: Likewise.
11285 * nscd/connections.c: Likewise.
11286 * nscd/netgroupcache.c: Likewise.
11287 * sysdeps/posix/getcwd.c: Likewise.
11288
38de94a5
RM
112892012-05-10 Roland McGrath <roland@hack.frob.com>
11290
11291 * math/w_ilogbf.c: Add #include <limits.h>.
11292
67530489
ST
112932012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11294
a4186cff 11295 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
11296 path instead of returning without unlocking.
11297
67530489
ST
11298 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
11299 immediate-write ioctls.
11300 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
11301
5aa3a74a
TS
113022012-05-10 Thomas Schwinge <thomas@schwinge.name>
11303
18bad2ae
TS
11304 * sysdeps/mach/hurd/i386/init-first.c (init): Use
11305 __builtin_frame_address instead of making assumptions about the
11306 location of the return address relative to DATA. Force early load of
11307 the return address.
11308 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
11309 __builtin_frame_address.
11310
5aa3a74a
TS
11311 dup3 for GNU Hurd.
11312 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
11313 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
11314 implement dup3 and do some further code clean-ups.
11315 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
11316 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
11317
ecd0de9a
ST
113182012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11319
cd9fa985
ST
11320 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
11321
a4186cff
PT
11322 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
11323 HURD_CRITICAL_END around holding _hurd_dtable_lock.
11324 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
11325 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
11326 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
11327 d->port.lock.
802ca5a5 11328
a4186cff
PT
11329 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
11330 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
11331 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 11332
bcf55240
TS
113332012-05-10 Thomas Schwinge <thomas@schwinge.name>
11334
6960eb42
TS
11335 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
11336 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
11337 definitions.
11338
eb43375f
TS
11339 accept4 for GNU Hurd.
11340 * include/sys/socket.h (__libc_accept4): New prototype.
11341 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
11342 to implement __libc_accept4.
11343 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
11344 __libc_accept4.
11345 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
11346
bcf55240
TS
11347 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
11348 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
11349 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
11350 signal-defines.sym.
11351
6178c55b
ST
113522012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11353
a4186cff 11354 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 11355
6f080c2f
TS
113562012-05-10 Thomas Schwinge <thomas@schwinge.name>
11357
11358 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
11359 assertion on O_CLOEXEC flag.
11360 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
11361 * hurd/intern-fd.c: Likewise.
11362 * hurd/port2fd.c: Likewise.
11363
bcfe3a54
ST
113642012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11365
11366 [BZ #3906]
11367 * bits/in.h (IPV6_PKTINFO): Define new macro.
11368 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
11369
89c9aa49
AZ
113702012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11371
11372 [BZ #13954]
11373 [BZ #13955]
11374 [BZ #13956]
11375 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
11376 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
11377 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
11378 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
11379 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11380 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
11381 * math/libm-test.inc (logb_test) : Additional logb tests.
11382
021db4be
AJ
113832012-05-09 Andreas Schwab <schwab@linux-m68k.org>
11384 Andreas Jaeger <aj@suse.de>
11385
11386 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
11387 * configure: Regenerated.
11388 * config.h.in (LINK_OBSOLETE_RPC): New macro.
11389 * config.make.in (link-obsolete-rpc): New substituted variable.
11390 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
11391 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
11392 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
11393 (shared-only-routines): Don't set it under [link-obsolete-rpc],
11394 so that libc.a contains the symbols.
11395 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
11396 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
11397 * sunrpc/auth_none.c: Likewise.
11398 * sunrpc/auth_unix.c: Likewise.
11399 * sunrpc/authdes_prot.c: Likewise.
11400 * sunrpc/authuxprot.c: Likewise.
11401 * sunrpc/clnt_gen.c: Likewise.
11402 * sunrpc/clnt_perr.c: Likewise.
11403 * sunrpc/clnt_raw.c: Likewise.
11404 * sunrpc/clnt_simp.c: Likewise.
11405 * sunrpc/clnt_tcp.c: Likewise.
11406 * sunrpc/clnt_udp.c: Likewise.
11407 * sunrpc/clnt_unix.c: Likewise.
11408 * sunrpc/des_crypt.c: Likewise.
11409 * sunrpc/des_soft.c: Likewise.
11410 * sunrpc/get_myaddr.c: Likewise.
11411 * sunrpc/key_call.c: Likewise.
11412 * sunrpc/key_prot.c: Likewise.
11413 * sunrpc/netname.c: Likewise.
11414 * sunrpc/pm_getmaps.c: Likewise.
11415 * sunrpc/pm_getport.c: Likewise.
11416 * sunrpc/pmap_clnt.c: Likewise.
11417 * sunrpc/pmap_prot.c: Likewise.
11418 * sunrpc/pmap_prot2.c: Likewise.
11419 * sunrpc/pmap_rmt.c: Likewise.
11420 * sunrpc/publickey.c: Likewise.
11421 * sunrpc/rpc_cmsg.c: Likewise.
11422 * sunrpc/rpc_common.c: Likewise.
11423 * sunrpc/rpc_dtable.c: Likewise.
11424 * sunrpc/rpc_prot.c: Likewise.
11425 * sunrpc/rpc_thread.c: Likewise.
11426 * sunrpc/rtime.c: Likewise.
11427 * sunrpc/svc.c: Likewise.
11428 * sunrpc/svc_auth.c: Likewise.
11429 * sunrpc/svc_raw.c: Likewise.
11430 * sunrpc/svc_run.c: Likewise.
11431 * sunrpc/svc_tcp.c: Likewise.
11432 * sunrpc/svc_udp.c: Likewise.
11433 * sunrpc/svc_unix.c: Likewise.
11434 * sunrpc/svcauth_des.c: Likewise.
11435 * sunrpc/xcrypt.c: Likewise.
11436 * sunrpc/xdr.c: Likewise.
11437 * sunrpc/xdr_array.c: Likewise.
11438 * sunrpc/xdr_float.c: Likewise.
11439 * sunrpc/xdr_intXX_t.c: Likewise.
11440 * sunrpc/xdr_mem.c: Likewise.
11441 * sunrpc/xdr_rec.c: Likewise.
11442 * sunrpc/xdr_ref.c: Likewise.
11443 * sunrpc/xdr_sizeof.c: Likewise.
11444 * sunrpc/xdr_stdio.c: Likewise.
11445
b5c086a2
RM
114462012-05-10 Roland McGrath <roland@hack.frob.com>
11447
11448 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
11449 change. Update copyright years.
11450
6d74dd09
JM
114512012-05-10 Joseph Myers <joseph@codesourcery.com>
11452
11453 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
11454
28e72501
MK
114552012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
11456 Joseph Myers <joseph@codesourcery.com>
11457 Paul Pluzhnikov <ppluzhnikov@google.com>
11458
11459 [BZ #14012]
11460 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
11461 requiring rpcgen.
11462 [cross-compiling] (extra-libs): Likewise.
11463 [cross-compiling] (extra-libs-others): Likewise.
11464 [cross-compiling] (librpcsvc-routines): Likewise.
11465 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
11466 [cross-compiling] (omit-deps): Likewise.
11467 (sunrpc-CPPFLAGS): New variable.
11468 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
11469 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
11470 (cross-rpcgen-objs): New variable.
11471 (extra-objs): Append $(cross-rpcgen-objs).
11472 ($(cross-rpcgen-objs)): New rule.
11473 ($(objpfx)cross-rpcgen): Likewise.
11474 (rpcgen-cmd): Define to use $(built-program-file). Expand
11475 comment.
11476 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
11477 ($(objpfx)x%.stmp): Likewise.
11478 * sunrpc/proto.h [IS_IN_build] (_): Define.
11479 [IS_IN_build] (_libc_intl_domainname): Likewise.
11480
c8c59454
L
114812012-05-10 H.J. Lu <hongjiu.lu@intel.com>
11482
11483 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
11484 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
11485 and R_X86_64_TPOFF64.
11486
6f27cd16
JM
114872012-05-10 Joseph Myers <joseph@codesourcery.com>
11488
11489 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
11490 sysdeps/unix/sysv/syscalls.list.
11491 (stime): Likewise.
11492 (utime): Likewise.
11493 * sysdeps/unix/sysv/syscalls.list: Remove file.
11494
02467e1c
PE
114952012-05-10 Paul Eggert <eggert@cs.ucla.edu>
11496
11497 [BZ #3440]
11498 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
11499 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
11500 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
11501 (__LC_IDENTIFICATION): Make these macros useful in #if
11502 expressions, as required by C99.
11503
da392631
AS
115042012-05-10 Andreas Schwab <schwab@linux-m68k.org>
11505
11506 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
11507 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
11508 after this.
11509
8115f29b
L
115102012-05-09 H.J. Lu <hongjiu.lu@intel.com>
11511
11512 * stdlib/longlong.h: Updated from GCC.
11513
bdd74070
AJ
115142012-05-09 Andreas Jaeger <aj@suse.de>
11515
edfe0dbe
AJ
11516 * nscd/nscd.c (run_modes): Make named enum, reorder so that
11517 default is first entry.
11518 (run_mode): Set type.
11519 (main): Remove informal message about syslog.
11520 (options): Fix typo.
11521
bcfe3a54
ST
11522 [BZ #14053]
11523 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 11524 to asm.
bcfe3a54
ST
11525 (lrint): Likewise.
11526 (llrintf): Likewise.
11527 (llrint): Likewise.
11528 (rint): Likewise.
11529 (rintf): Likewise.
11530 (nearbyint): Likewise.
11531 (nearbyintf): Likewise.
bdd74070 11532
91d8d69e
AJ
115332012-05-09 Andreas Jaeger <aj@suse.de>
11534 Pedro Alves <palves@redhat.com>
11535
11536 * nscd/nscd.c (run_mode): Use enum.
11537 (main): Cleanup coding style issue.
11538
bb90b80b
AJ
115392012-05-09 Alexandre Oliva <aoliva@redhat.com>
11540 Andreas Jaeger <aj@suse.de>
11541
bcfe3a54
ST
11542 * nscd/nscd.c (go_background): Replaced with...
11543 (run_mode): ... this.
bb90b80b 11544 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
11545 (options): Add -F --foreground.
11546 (main): Implement it.
11547 (parse_opt): Parse it.
bb90b80b 11548
1a4b75a1
AJ
115492012-05-09 Andreas Jaeger <aj@suse.de>
11550
11551 [BZ #14083]
11552 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
11553 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
11554 -Wconversion warning.
11555 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
11556 Likewise.
11557
b1cc2472
JM
115582012-05-09 Joseph Myers <joseph@codesourcery.com>
11559
11560 * conform/data/locale.h-data (NULL): Use macro-constant. Require
11561 == 0.
11562 (LC_ALL): Use macro-int-constant.
11563 (LC_COLLATE): Likewise.
11564 (LC_CTYPE): Likewise.
11565 (LC_MESSAGES): Likewise.
11566 (LC_MONETARY): Likewise.
11567 (LC_NUMERIC): Likewise.
11568 (LC_TIME): Likewise.
11569 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
11570 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
11571 [ISO || ISO99 || ISO11] (*_t): Do not allow.
11572 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
11573 Specify type.
11574 [C99-based standards] (float_t): Expect type.
11575 [C99-based standards] (double_t): Expect type.
11576 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
11577 type.
11578 [C99-based standards] (HUGE_VALL): Likewise.
11579 [C99-based standards] (INFINITY): Likewise.
11580 [C99-based standards] (NAN): Likewise.
11581 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
11582 [C99-based standards] (FP_NAN): Likewise.
11583 [C99-based standards] (FP_NORMAL): Likewise.
11584 [C99-based standards] (FP_SUBNORMAL): Likewise.
11585 [C99-based standards] (FP_ZERO): Likewise.
11586 [C99-based standards] (FP_FAST_FMA): Use
11587 optional-macro-int-constant. Specify type. Require == 1.
11588 [C99-based standards] (FP_FAST_FMAF): Likewise.
11589 [C99-based standards] (FP_FAST_FMAL): Likewise.
11590 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
11591 [C99-based standards] (FP_ILOGBNAN): Likewise.
11592 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
11593 Specify type.
11594 [C99-based standards] (MATH_ERREXCEPT): Likewise.
11595 [C99-based standards] (math_errhandling): Specify type.
11596 [ISO99 || ISO11] (signgam): Do not allow.
11597 [non-C99-based standards] (copysignf): Do not allow.
11598 [non-C99-based standards] (exp2f): Likewise.
11599 [non-C99-based standards] (log2f): Likewise.
11600 [non-C99-based standards] (modff): Allow.
11601 [non-C99-based standards] (erff): Do not allow.
11602 [non-C99-based standards] (erfcf): Likewise.
11603 [non-C99-based standards] (gammaf): Likewise.
11604 [non-C99-based standards] (hypotf): Likewise.
11605 [non-C99-based standards] (j0f): Likewise.
11606 [non-C99-based standards] (j1f): Likewise.
11607 [non-C99-based standards] (jnf): Likewise.
11608 [non-C99-based standards] (lgammaf): Likewise.
11609 [non-C99-based standards] (tgammaf): Likewise.
11610 [non-C99-based standards] (y0f): Likewise.
11611 [non-C99-based standards] (y1f): Likewise.
11612 [non-C99-based standards] (ynf): Likewise.
11613 [non-C99-based standards] (isnanf): Likewise.
11614 [non-C99-based standards] (acoshf): Likewise.
11615 [non-C99-based standards] (asinhf): Likewise.
11616 [non-C99-based standards] (atanhf): Likewise.
11617 [non-C99-based standards] (cbrtf): Likewise.
11618 [non-C99-based standards] (expm1f): Likewise.
11619 [non-C99-based standards] (ilogbf): Likewise.
11620 [non-C99-based standards] (log1pf): Likewise.
11621 [non-C99-based standards] (logbf): Likewise.
11622 [non-C99-based standards] (nextafterf): Likewise.
11623 [non-C99-based standards] (remainderf): Likewise.
11624 [non-C99-based standards] (rintf): Likewise.
11625 [non-C99-based standards] (scalbf): Likewise.
11626 [non-C99-based standards] (copysignl): Likewise.
11627 [non-C99-based standards] (exp2l): Likewise.
11628 [non-C99-based standards] (log2l): Likewise.
11629 [non-C99-based standards] (modfl): Allow.
11630 [non-C99-based standards] (erfl): Do not allow.
11631 [non-C99-based standards] (erfcl): Likewise.
11632 [non-C99-based standards] (gammal): Likewise.
11633 [non-C99-based standards] (hypotl): Likewise.
11634 [non-C99-based standards] (j0l): Likewise.
11635 [non-C99-based standards] (j1l): Likewise.
11636 [non-C99-based standards] (jnl): Likewise.
11637 [non-C99-based standards] (lgammal): Likewise.
11638 [non-C99-based standards] (tgammal): Likewise.
11639 [non-C99-based standards] (y0l): Likewise.
11640 [non-C99-based standards] (y1l): Likewise.
11641 [non-C99-based standards] (ynl): Likewise.
11642 [non-C99-based standards] (isnanl): Likewise.
11643 [non-C99-based standards] (acoshl): Likewise.
11644 [non-C99-based standards] (asinhl): Likewise.
11645 [non-C99-based standards] (atanhl): Likewise.
11646 [non-C99-based standards] (cbrtl): Likewise.
11647 [non-C99-based standards] (expm1l): Likewise.
11648 [non-C99-based standards] (ilogbl): Likewise.
11649 [non-C99-based standards] (log1pl): Likewise.
11650 [non-C99-based standards] (logbl): Likewise.
11651 [non-C99-based standards] (nextafterl): Likewise.
11652 [non-C99-based standards] (remainderl): Likewise.
11653 [non-C99-based standards] (rintl): Likewise.
11654 [non-C99-based standards] (scalbl): Likewise.
11655 [ISO || ISO99 || ISO11] (*_t): Do not allow.
11656 [non-C99-based standards] (FP_*): Do not allow.
11657 [C99-based standards] (FP_*): Change to
11658 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
11659 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
11660 allow.
11661 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
11662 (SIG_ERR): Likewise.
11663 [X/Open-based standards] (SIG_HOLD): Likewise.
11664 (SIG_IGN): Likewise.
11665 (SIGABRT): Use macro-int-constant. Specify type. Require
11666 positive value.
11667 (SIGFPE): Likewise.
11668 (SIGILL): Likewise.
11669 (SIGINT): Likewise.
11670 (SIGSEGV): Likewise.
11671 (SIGTER): Likewise.
11672 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
11673 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
11674 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
11675 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
11676 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
11677 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
11678 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
11679 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
11680 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
11681 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
11682 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
11683 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
11684 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
11685 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
11686 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
11687 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
11688 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
11689 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
11690 [X/Open-based standards] (SIGTRAP): Likewise.
11691 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
11692 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
11693 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
11694 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
11695 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
11696 allow.
11697
b9f1922d
IW
116982012-05-08 Ian Wienand <ianw@vmware.com>
11699
11700 [BZ #14080]
11701 * time/tzset.c (__tzset_parse_tz): Update default rules for
11702 daylight time changes in the Energy Policy Act of 2005.
11703
1db86e88
AJ
117042012-05-09 Andreas Jaeger <aj@suse.de>
11705
11706 [BZ #13983]
11707 * elf/ldconfig.c (parse_conf): Change string to make clear that
11708 ldconfig only issued a warning if ld.so.conf does not exist.
11709
dee4a4e3
DM
117102012-05-08 David S. Miller <davem@davemloft.net>
11711
ee0db190
DM
11712 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
11713 movxtod instead of popping the value on the stack.
11714
dee4a4e3
DM
11715 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11716
6a43ec98
CD
117172012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
11718
11719 * config.h.in: Add HAVE_ARM_PCS_VFP.
11720
05c2c961
RMG
117212012-05-08 Roland Mc Grath <roland@hack.frob.com>
11722
bcfe3a54
ST
11723 [BZ #13979]
11724 * include/features.h: Warn if user requests __FORTIFY_SOURCE
11725 checking but the checks are disabled for any reason.
05c2c961 11726
4b30f61a
L
117272012-05-08 H.J. Lu <hongjiu.lu@intel.com>
11728
11729 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
11730 and ELF64_R_TYPE with ELFW(R_TYPE).
11731
eee2bc67
JM
117322012-05-08 Joseph Myers <joseph@codesourcery.com>
11733
7ea5391a
JM
11734 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
11735 (ulimit): Likewise.
11736
eee2bc67
JM
11737 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
11738 (settimeofday): Likewise.
11739
abb66a67
MF
117402012-05-08 Mike Frysinger <vapier@gentoo.org>
11741
11742 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
11743 a struct th_u2 inside the union, and move tu_block/tu_code into
11744 a new th_u3 union of tu_block/tu_code inside of that. Move
11745 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
11746 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
11747 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
11748 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
11749 (th_stuff): Change to th_u1.tu_stuff.
11750 (th_data): Define.
11751 (th_msg): Change to th_u1.th_u2.tu_data.
11752
7f18b530
DM
117532012-05-07 David S. Miller <davem@davemloft.net>
11754
05760585
DM
11755 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11756
7f18b530
DM
11757 [BZ #14074]
11758 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
11759 (SETUP_PIC_REG): Use it.
11760 (SETUP_PIC_REG_LEAF): Use it.
11761
495fd99f
JM
117622012-05-07 Joseph Myers <joseph@codesourcery.com>
11763
11764 [BZ #13885]
11765 [BZ #13923]
11766 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
11767 USE_AS_EXPM1L.
11768 (EXPL_FINITE): Likewise.
11769 (FLDLOG): Likewise.
11770 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
11771 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
11772 e_expl.S.
11773 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
11774 USE_AS_EXPM1L.
11775 (EXPL_FINITE): Likewise.
11776 (FLDLOG): Likewise.
11777 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
11778 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
11779 e_expl.S.
11780 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
11781 test of -max_value argument for long double.
11782 * sysdeps/i386/fpu/libm-test-ulps: Update.
11783 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11784
6693d694
DM
117852012-05-06 David S. Miller <davem@davemloft.net>
11786
11787 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
11788 quad soft-float symbols whose references which are compiler
11789 generated.
11790 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
11791
6c23e11c
JM
117922012-05-06 Joseph Myers <joseph@codesourcery.com>
11793
d8b82cad
JM
11794 [BZ #13884]
11795 [BZ #13914]
11796 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
11797 USE_AS_EXP10L.
11798 (EXPL_FINITE): Likewise.
11799 (FLDLOG): Likewise.
11800 (c0): Likewise.
11801 (c1): Likewise.
11802 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
11803 Adjust comments for base varying.
11804 (__expl_finite): Change alias to EXPL_FINITE.
11805 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
11806 e_expl.S.
11807 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
11808 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
11809 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
11810 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
11811 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
11812 USE_AS_EXP10L.
11813 (EXPL_FINITE): Likewise.
11814 (FLDLOG): Likewise.
11815 (c0): Likewise.
11816 (c1): Likewise.
11817 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
11818 Adjust comments for base varying.
11819 (__expl_finite): Change alias to EXPL_FINITE.
11820 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
11821 tests for bugs.
11822 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11823
6c23e11c
JM
11824 [BZ #14064]
11825 * math/libm-test.inc (check_float_internal): Correct ulp
11826 calculation for subnormal expected results.
11827
29ba805c
AJ
118282012-05-06 Andreas Jaeger <aj@suse.de>
11829
11830 * Makeconfig (+math-flags): New, set to -frounding-math.
11831 (+cflags): Add +math-flags so that all of glibc gets compiled with
11832 it.
11833
11834 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
11835
7b17aeda
JM
118362012-05-05 Joseph Myers <joseph@codesourcery.com>
11837
5779f134
JM
11838 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
11839 Disable one test.
11840
41498f4d
JM
11841 [BZ #13787]
11842 [BZ #13922]
11843 [BZ #14036]
11844 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
11845 (__ieee754_expl): Allow for and saturate large arguments.
11846 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
11847 (u_threshold): Likewise.
11848 (__exp): Call __ieee754_exp before checking for overflow and
11849 underflow.
11850 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
11851 (u_threshold): Likewise.
11852 (__expf): Call __ieee754_expf before checking for overflow and
11853 underflow.
11854 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
11855 (u_threshold): Likewise.
11856 (__expl): Call __ieee754_expl before checking for overflow and
11857 underflow.
11858 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
11859 (__ieee754_expl): Allow for and saturate large arguments.
11860 * math/libm-test.inc (exp_test): Add another test. Do not allow
11861 missing overflow exception on overflow.
11862 (expm1_test): Do not allow missing overflow exception on overflow.
11863
6698b8bf
JM
11864 * sysdeps/i386/fpu/e_expl.c: Move to ...
11865 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
11866 rather than using inline asm.
11867 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
11868 * sysdeps/x86_64/fpu/e_expl.S: Copy from
11869 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
11870
7b17aeda
JM
11871 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
11872 (nice): Likewise.
11873 (poll): Likewise.
11874 (signal): Likewise.
11875 (time): Likewise.
11876 (times): Likewise.
11877
f7c85819
JM
118782012-05-04 Joseph Myers <joseph@codesourcery.com>
11879
11880 * sysdeps/unix/syscalls.list (adjtime): Add entry from
11881 sysdeps/unix/common/syscalls.list.
11882 (fchmod): Likewise.
11883 (fchown): Likewise.
11884 (ftruncate): Likewise.
11885 (getrusage): Likewise.
11886 (gettimeofday): Likewise.
11887 (setpgid): Likewise.
11888 (setregid): Likewise.
11889 (setreuid): Likewise.
11890 (sigaction): Likewise.
11891 (truncate): Likewise.
11892 (vhangup): Likewise.
11893 * sysdeps/unix/common/syscalls.list: Remove file.
11894 * sysdeps/unix/bsd/Implies: Don't include unix/common.
11895 * sysdeps/unix/sysv/linux/Implies: Likewise.
11896
336270d0
L
118972012-05-04 H.J. Lu <hongjiu.lu@intel.com>
11898
11899 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
11900 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
11901 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
11902 Moved to ...
11903 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
11904 Here.
11905 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
11906 to ...
11907 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
11908 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
11909 to ...
11910 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
11911 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
11912 to ...
11913 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
11914 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
11915 to ...
11916 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
11917 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
11918 to ...
11919 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
11920 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
11921 to ...
11922 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
11923 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
11924 to ...
11925 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
11926 Here.
11927 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
11928 to ...
11929 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
11930 Here.
11931 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
11932 to ...
11933 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
11934 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
11935 Moved to ...
11936 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
11937 Here.
11938 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
11939 to ...
11940 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
11941
d128e450
JM
119422012-05-04 Joseph Myers <joseph@codesourcery.com>
11943
fa8ee516
JM
11944 * sysdeps/unix/common/bits/dirent.h: Remove file.
11945 * sysdeps/unix/common/bits/fcntl.h: Likewise.
11946
d128e450
JM
11947 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
11948 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
11949 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
11950 * sysdeps/unix/bsd/isatty.c: Likewise.
11951 * sysdeps/unix/bsd/tcdrain.c: Likewise.
11952 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
11953 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
11954
ff8faaf0 119552012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 11956
62881be4 11957 [BZ #13563]
31dc8730
AZ
11958 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
11959 long double comparison inaccuracies.
11960 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
11961 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11962
6fef930c
AS
119632012-05-04 Andreas Schwab <schwab@linux-m68k.org>
11964
11965 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
11966 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
11967
8f203e6c
JM
119682012-05-04 Joseph Myers <joseph@codesourcery.com>
11969
11970 [BZ #14049]
11971 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
11972 nonzero digits before rounding a hex value.
11973 * stdlib/tst-strtod.c (tests): Add another test.
11974
5197d9c2
AK
119752012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11976
11977 * sysdeps/s390/fpu/libm-test-ulps: Update.
11978
f0c1dedf
AJ
119792012-05-03 Andreas Jaeger <aj@suse.de>
11980
11981 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
11982 does not get optimized out.
11983 (malloc_opt_barrier): New.
11984
a65ef2ae 119852012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 11986 Roland McGrath <roland@hack.frob.com>
a65ef2ae 11987
2b942cb7 11988 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 11989 intermediate file deletion.
2b942cb7 11990 (generated): Add .symlist files.
a65ef2ae 11991
54b71e02
JM
119922012-05-03 Joseph Myers <joseph@codesourcery.com>
11993
11994 [BZ #13775]
11995 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
11996 Redirect under this condition.
11997 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
11998 [__USE_GNU] (__dprintf_chk): Not under this condition.
11999 [__USE_GNU] (__vdprintf_chk): Likewise.
12000 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
12001 under this condition.
12002 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
12003 [__USE_XOPEN2K8] (dprintf): Define under this condition.
12004 [__USE_XOPEN2K8] (vdprintf): Likewise.
12005 [__USE_GNU] (__dprintf_chk): Not under this condition.
12006 [__USE_GNU] (__vdprintf_chk): Likewise.
12007 [__USE_GNU] (dprintf): Likewise.
12008 [__USE_GNU] (vdprintf): Likewise.
12009
d3dfcc41
RM
120102012-05-03 Roland McGrath <roland@hack.frob.com>
12011
12012 * elf/Makefile (common-generated): Set this instead of generated for
12013 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
12014 $(all-built-dso)-derived lists.
12015
7ac30cc5
AJ
120162012-05-03 Andreas Jaeger <aj@suse.de>
12017
0c51e550
AJ
12018 * sysdeps/i386/fpu/libm-test-ulps: Update.
12019
7ac30cc5
AJ
12020 * FAQ: Removed.
12021 * FAQ.in: Likewise.
12022 * scripts/gen-FAQ.pl: Likewise.
12023 * manual/install.texi (Installation): Point to online location of
12024 FAQ.
12025 * Makefile (files-for-dist): Remove FAQ.
12026 (FAQ): Remove.
12027
d4c2917f
AM
120282012-05-02 Allan McRae <allan@archlinux.org>
12029
12030 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
12031 (LDFLAGS-reldepmod5.so): Likewise.
12032 (LDFLAGS-reldep6mod1.so): Likewise.
12033 (LDFLAGS-reldep6mod4.so): Likewise.
12034 (LDFLAGS-reldep8mod3.so): Likewise.
12035 (LDFLAGS-unload4mod1.so): Likewise.
12036 (LDFLAGS-unload4mod2.so): Likewise.
12037 (LDFLAGS-tst-initorder): Likewise.
12038 (LDFLAGS-tst-initordera2.so): Likewise.
12039 (LDFLAGS-tst-initordera3.so): Likewise.
12040 (LDFLAGS-tst-initordera4.so): Likewise.
12041 (LDFLAGS-tst-initorderb2.so): Likewise.
12042 (LDFLAGS-noload): Likewise.
12043 (LDFLAGS-next): Likewise.
12044 (LDFLAGS-order2mod1.so): Likewise.
12045 (LDFLAGS-order2mod2.so): Likewise.
12046 (LDFLAGS-tst-initorder2): Likewise.
12047 (LDFLAGS-tst-initorder2a.so): Likewise.
12048 (LDFLAGS-tst-initorder2b.so): Likewise.
12049 (LDFLAGS-tst-initorder2c.so): Likewise.
12050 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
12051
d77f993f
DM
120522012-05-02 David S. Miller <davem@davemloft.net>
12053
12054 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12055
171a70b4
PP
120562012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
12057
12058 [BZ #14055]
12059 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
12060
0be196ad
AJ
120612012-05-02 Andreas Jaeger <aj@suse.de>
12062
12063 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
12064 since we manipulate rounding mode.
12065 (CPPFLAGS-test-idouble.c): Likewise.
12066 (CPPFLAGS-test-ifloat.c): Likewise.
12067 (CFLAGS-test-ldouble.c): Likewise.
12068 (CFLAGS-test-double.c): Likewise.
12069 (CFLAGS-test-float.c): Likewise.
12070 (CFLAGS-test-misc.c): Likewise.
12071 (CFLAGS-test-test-fenv.c): Likewise.
12072
4f9d04aa
AZ
120732012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12074
2b942cb7
RM
12075 [BZ #2550]
12076 [BZ #2570]
12077 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
12078 comparisons to determine direction to adjust input.
4f9d04aa 12079
82a79e7d
RM
120802012-05-01 Roland McGrath <roland@hack.frob.com>
12081
f5a01ca9
RM
12082 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
12083 output to the target.
12084
90fe4186
RM
12085 * scripts/localplt.awk: New file.
12086 * elf/Makefile ($(objpfx)check-localplt): Target removed.
12087 (check-localplt-CFLAGS): Variable removed.
12088 ($(all-built-dso:=.jmprel)): New static pattern rule.
12089 (generated): Add those targets.
12090 (localplt-built-dso): New variable.
12091 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
12092
12093 * elf/check-localplt.c: File removed.
12094
82397ed6
RM
12095 * scripts/check-execstack.awk: New file.
12096 * elf/Makefile ($(objpfx)check-execstack): Target removed.
12097 (check-execstack-CFLAGS): Variable removed.
12098 ($(objpfx)check-execstack.h): Target removed.
12099 ($(objpfx)execstack-default): New target.
12100 (generated): Add that instead of check-execstack.h.
12101 ($(all-built-dso:=.phdr)): New static pattern rule.
12102 (generated): Add those targets.
12103 * elf/check-execstack.c: File removed.
12104
82a79e7d
RM
12105 * scripts/check-textrel.awk: New file.
12106 * elf/Makefile ($(objpfx)check-textrel): Target removed.
12107 (check-textrel-CFLAGS): Variable removed.
12108 (all-built-dso): Use := to define.o
12109 ($(all-built-dso:=.dyn)): New static pattern rule.
12110 (generated): Add those targets.
12111 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
12112 * config.make.in (READELF): New substituted variable.
12113 * elf/check-textrel.c: File removed.
12114
62fde54f 121152012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 12116
615605c9
JM
12117 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
12118 allow.
12119 * conform/data/ctype.h-data [C99-based standards] (isblank):
12120 Expect function.
12121 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
12122 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
12123 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12124 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
12125 Specify type. Require positive value.
12126 (EILSEQ): Likewise.
12127 (ERANGE): Likewise.
12128 [ISO || POSIX] (EILSEQ): Do not expect.
12129 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
12130 Specify type. Require positive value.
12131 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
12132 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
12133 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
12134 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
12135 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
12136 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
12137 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
12138 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
12139 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
12140 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
12141 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
12142 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
12143 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
12144 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
12145 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
12146 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
12147 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
12148 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
12149 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
12150 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
12151 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
12152 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
12153 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
12154 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
12155 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
12156 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
12157 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
12158 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
12159 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
12160 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
12161 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
12162 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
12163 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
12164 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
12165 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
12166 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
12167 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
12168 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
12169 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
12170 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
12171 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
12172 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
12173 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
12174 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
12175 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
12176 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
12177 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
12178 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
12179 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
12180 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
12181 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
12182 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
12183 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
12184 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
12185 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
12186 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
12187 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
12188 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
12189 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
12190 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
12191 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
12192 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
12193 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
12194 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
12195 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
12196 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
12197 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
12198 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
12199 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
12200 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
12201 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
12202 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
12203 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
12204 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
12205 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
12206 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
12207 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
12208 Require >= 2.
12209 (FLT_ROUNDS): Expect as macro, not constant.
12210 (FLT_MANT_DIG): Use macro-int-constant.
12211 (DBL_MANT_DIG): Likewise.
12212 (LDBL_MANT_DIG): Likewise.
12213 (FLT_DIG): Likewise.
12214 (DBL_DIG): Likewise.
12215 (LDBL_DIG): Likewise.
12216 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
12217 (DBL_MIN_EXP): Likewise.
12218 (LDBL_MIN_EXP): Likewise.
12219 (FLT_MAX_EXP): Use macro-int-constant.
12220 (DBL_MAX_EXP): Likewise.
12221 (LDBL_MAX_EXP): Likewise.
12222 (FLT_MAX_10_EXP): Likewise.
12223 (DBL_MAX_10_EXP): Likewise.
12224 (LDBL_MAX_10_EXP): Likewise.
12225 (FLT_MAX): Use macro-constant.
12226 (DBL_MAX): Likewise.
12227 (LDBL_MAX): Likewise.
12228 (FLT_EPSILON): Use macro-constant. Give upper bound.
12229 (DBL_EPSILON): Likewise.
12230 (LDBL_EPSILON): Likewise.
12231 (FLT_MIN): Likewise.
12232 (DBL_MIN): Likewise.
12233 (LDBL_MIN): Likewise.
12234 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
12235 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
12236 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
12237 [ISO11] (FLT_HAS_SUBNORM): Likewise.
12238 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
12239 [ISO11] (DBL_DECIMAL_DIG): Likewise.
12240 [ISO11] (FLT_DECIMAL_DIG): Likewise.
12241 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
12242 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
12243 [ISO11] (FLT_TRUE_MIN): Likewise.
12244 [ISO11] (LDBL_TRUE_MIN): Likewise.
12245 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12246 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
12247 (SCHAR_MIN): Use macro-int-constant. Specify type.
12248 (SCHAR_MAX): Likewise.
12249 (UCHAR_MAX): Likewise.
12250 (CHAR_MIN): Likewise.
12251 (CHAR_MAX): Likewise.
12252 (MB_LEN_MAX): Use macro-int-constant.
12253 (SHRT_MIN): Use macro-int-constant. Specify type.
12254 (SHRT_MAX): Likewise.
12255 (USHRT_MAX): Likewise.
12256 (INT_MAX): Likewise.
12257 (INT_MIN): Use macro-int-constant. Specify type. Make upper
12258 bound negative.
12259 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
12260 bound with "U".
12261 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
12262 bound with "L".
12263 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
12264 bound negative. Suffix upper bound with "L".
12265 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
12266 bound with "UL".
12267 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
12268 Specify type.
12269 [C99-based standards] (LLONG_MAX): Likewise.
12270 [C99-based standards] (ULLONG_MAX): Likewise.
12271 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
12272 == 0.
12273 [ISO11] (max_align_t): Require type.
12274 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12275
c9140a62
JM
12276 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
12277 from $CFLAGS, without defining away __attribute__ calls.
12278 (checknamespace): Use $CFLAGS_namespace.
12279
9af0bf29
JM
12280 * conform/conformtest.pl (@keywords): Only include C99 keywords
12281 for standards based on C99 or C11.
12282
343222a2
JM
12283 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
12284 Disable tests.
12285 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
12286 UNIX98]: Likewise.
12287
661f8cf0
JM
12288 * conform/conformtest.pl: Handle "macro-int-constant" and test for
12289 usability of symbols in #if.
12290
ee74b9cb
JM
12291 * conform/conformtest.pl: If macro or constant types start
12292 "promoted:", expect the symbol to be of the following type
12293 promoted by the integer promotions.
62fde54f 12294
aafc49b3
JM
12295 * conform/conformtest.pl: Parse all "constant" and "macro" lines
12296 in one place. Also handle "macro-constant".
12297
fefdf574
JM
12298 * conform/conformtest.pl: Only accept expected macro values with
12299 "==". Parse all "macro" lines in one place.
12300 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
12301
f2d922fe
JM
12302 * conform/conformtest.pl: Handle braced types on "constant" lines
12303 instead of handling "typed-constant".
12304 * conform/data/signal.h-data: Use "constant" instead of
12305 "typed-constant".
12306
d22956c9
JM
12307 * conform/conformtest.pl: Handle "optional-" at start of lines in
12308 one place rather than duplicating several cases. Handle each
12309 format of "macro" line with initial "optional-".
12310
028e2e38
JM
12311 * conform/conformtest.pl: Only accept expected constant or
12312 optional-constant values with "==". Parse all "constant" lines in
12313 one place. Parse all "optional-constant" lines in one place.
12314 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
12315 * conform/data/fmtmsg.h-data: Likewise.
12316 * conform/data/netinet/in.h-data: Likewise.
12317 * conform/data/tar.h-data: Likewise.
12318 * conform/data/limits.h-data: Use "==" form on "constant" and
12319 "optional-constant" lines.
12320
1b8f2850
JM
12321 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
12322 Use -std=c99 for XOPEN2K.
12323 (@knownproblems): Remove.
12324 (newtoken): Don't check %isknown.
12325
a05a144b
JM
12326 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
12327 Do not expect macro.
12328 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
12329 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
12330 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
12331 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
12332 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
12333 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
12334 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
12335 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
12336 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
12337 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
12338 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
12339 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
12340 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
12341 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
12342 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
12343 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
12344 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
12345 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
12346 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
12347 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
12348 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
12349 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
12350 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
12351 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
12352 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
12353 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
12354 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
12355 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
12356 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
12357 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
12358 [XPG3] (acosh): Likewise.
12359 [XPG3] (asinh): Likewise.
12360 [XPG3] (atanh): Likewise.
12361 [XPG3] (cbrt): Likewise.
12362 [XPG3] (expm1): Likewise.
12363 [XPG3] (ilogb): Likewise.
12364 [XPG3] (log1p): Likewise.
12365 [XPG3] (logb): Likewise.
12366 [XPG3] (nextafter): Likewise.
12367 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
12368 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
12369 [XPG3] (remainder): Likewise.
12370 [XPG3] (rint): Likewise.
12371 [XPG3 || XPG4 || UNIX98] (round): Likewise.
12372 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
12373 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
12374 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
12375 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
12376 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
12377 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
12378 [UNIX98 || XOPEN2K] (scalb): Expect.
12379 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
12380 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
12381 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
12382 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
12383 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
12384 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
12385 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
12386 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
12387 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
12388 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
12389 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
12390 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
12391 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
12392 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
12393 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
12394 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
12395 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
12396 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
12397 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
12398 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
12399 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
12400 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
12401 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
12402 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
12403 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
12404 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
12405 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
12406 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
12407 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
12408 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
12409 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
12410 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
12411 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
12412 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
12413 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
12414 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
12415 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
12416 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
12417 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
12418 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
12419 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
12420 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
12421 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
12422 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
12423 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
12424 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
12425 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
12426 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
12427 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
12428 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
12429 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
12430 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
12431 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
12432 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
12433 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
12434 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
12435 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
12436 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
12437 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
12438 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
12439 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
12440 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
12441 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
12442 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
12443 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
12444 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
12445 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
12446 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
12447 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
12448 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
12449 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
12450 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
12451 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
12452 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
12453 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
12454 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
12455 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
12456 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
12457 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
12458 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
12459 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
12460 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
12461 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
12462 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
12463 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
12464 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
12465 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
12466 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
12467 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
12468 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
12469 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
12470 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
12471 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
12472 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
12473 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
12474 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
12475 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
12476 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
12477 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
12478 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
12479 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
12480 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
12481 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
12482 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
12483 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
12484 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
12485 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
12486 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
12487 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
12488 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
12489 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
12490 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
12491 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
12492 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
12493 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
12494 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
12495 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
12496 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
12497 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
12498 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
12499 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
12500 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
12501 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
12502 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
12503 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
12504 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
12505 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
12506 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
12507 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
12508 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
12509 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
12510 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
12511 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
12512 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
12513 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
12514 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
12515 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
12516
73c5ebe3
JM
12517 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
12518 _XOPEN_SOURCE_EXTENDED for XPG4.
12519
39c33b6c
JM
12520 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
12521
62fde54f
JM
12522 * Makeconfig (localtime): Remove variable.
12523 (inst_localtime-file): Likewise.
12524
0741d64c
AS
125252012-05-01 Andreas Schwab <schwab@linux-m68k.org>
12526
12527 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
12528 Update.
12529 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12530 Update.
12531 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
12532 Update.
12533 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
12534 Update.
12535 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
12536 Update.
12537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
12538 Update.
12539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12540 Update.
12541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
12542 Update.
12543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
12544 Update.
12545
7cb029ee
JM
125462012-05-01 Joseph Myers <joseph@codesourcery.com>
12547
12548 [BZ #2550]
12549 [BZ #2570]
12550 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
12551 comparisons to determine direction to adjust input.
12552 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
12553 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
12554 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
12555 Likewise.
12556 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
12557 Likewise.
12558 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
12559 Likewise.
12560 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
12561 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
12562 Likewise.
12563 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
12564 Likewise.
12565 * math/libm-test.inc (nexttoward_test): Add more tests.
12566
412bd966
AS
125672012-05-01 Andreas Schwab <schwab@linux-m68k.org>
12568
12569 [BZ #14040]
12570 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
12571 in version GLIBC_2.1, not GLIBC_2.0.
12572 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
12573 Likewise.
12574
9568c0c2
JM
125752012-04-30 Joseph Myers <joseph@codesourcery.com>
12576
adfbc8ac
JM
12577 [BZ #13942]
12578 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
12579 (1 - x) * (1 + x).
12580 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
12581 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
12582 * math/libm-test.inc (acos_test): Add more tests.
12583 (asin_test): Likewise.
12584 * sysdeps/i386/fpu/libm-test-ulps: Update.
12585 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12586
5ba3cc69
JM
12587 [BZ #14034]
12588 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
12589 of square root.
12590 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
12591 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
12592 * math/libm-test.inc (acos_test_tonearest): New function.
12593 (acos_test_towardzero): Likewise.
12594 (acos_test_downward): Likewise.
12595 (acos_test_upward): Likewise.
12596 (asin_test_tonearest): Likewise.
12597 (asin_test_towardzero): Likewise.
12598 (asin_test_downward): Likewise.
12599 (asin_test_upward): Likewise.
12600 (main): Call the new functions.
12601 * sysdeps/i386/fpu/libm-test-ulps: Update.
12602 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12603
9568c0c2
JM
12604 [BZ #13884]
12605 [BZ #13924]
12606 * math/e_exp10.c: Include <float.h>.
12607 (__ieee754_exp10): Handle underflow here rather than multiplying
12608 large negative argument by M_LN10.
12609 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
12610 of __ieee754_expf.
12611 * math/e_exp10l.c: Include <float.h>.
12612 (__ieee754_exp10l): Handle underflow here rather than multiplying
12613 large negative argument by M_LN10l.
12614 * math/libm-test.inc (exp10_test): Add another test. Do not allow
12615 spurious overflow exception on underflow.
12616
5ac3ea17
MP
126172012-04-29 Marek Polacek <polacek@redhat.com>
12618
12619 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
12620 (__fortify_function): New macro.
12621 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
12622 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
12623 __extern_always_inline.
12624 * libio/bits/stdio2.h: Likewise.
12625 * libio/bits/stdio.h: Likewise.
12626 * string/string.h: Likewise.
12627 * string/bits/string3.h: Likewise.
12628 * include/stdio.h: Likewise.
12629 * stdlib/bits/stdlib.h: Likewise.
12630 * stdlib/stdlib.h: Likewise.
12631 * rt/bits/mqueue2.h: Likewise.
12632 * rt/mqueue.h: Likewise.
12633 * posix/bits/unistd.h: Likewise.
12634 * posix/unistd.h: Likewise.
12635 * io/bits/poll2.h: Likewise.
12636 * io/bits/fcntl2.h: Likewise.
12637 * io/fcntl.h: Likewise.
12638 * io/sys/poll.h: Likewise.
12639 * misc/bits/syslog.h: Likewise.
12640 * misc/bits/syslog-ldbl.h: Likewise.
12641 * misc/sys/syslog.h: Likewise.
12642 * socket/bits/socket2.h: Likewise.
12643 * socket/sys/socket.h: Likewise.
12644 * debug/tst-chk1.c: Likewise.
12645 * wcsmbs/bits/wchar2.h: Likewise.
12646 * wcsmbs/bits/wchar-ldbl.h: Likewise.
12647 * wcsmbs/wchar.h: Likewise.
12648
ecf0ebfb
AJ
126492012-04-29 Andreas Jaeger <aj@suse.de>
12650
12651 * Makerules (tests): Remove enable-check-abi protection.
12652 (check-abi-warn): Remove.
12653 (check-abi-%): Remove check-abi-warn usage.
12654
12655 * configure.in: Remove check-abi configure option.
12656 * configure: Regenerated.
12657 * config.make.in (enable-check-abi): Remove.
12658
6d5c57fa
AS
126592012-04-28 Andreas Schwab <schwab@linux-m68k.org>
12660
24c5d07e 12661 [BZ #14033]
ded5180a
AS
12662 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
12663 double functions to double *_finite functions.
12664
7e0d315d
AS
12665 [BZ #13941]
12666 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
12667 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
12668 LDBL_MIN_EXP.
12669 * stdio-common/Makefile (tests): Add tst-sprintf3.
12670 * stdio-common/tst-sprintf3.c: New file.
12671
6d5c57fa
AS
12672 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
12673 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
12674
0749ff8b
JM
126752012-04-28 Joseph Myers <joseph@codesourcery.com>
12676
12677 * conform/conformtest.pl: Remove duplicate typed-constant
12678 handling.
12679
8dbd5d7b
DM
126802012-04-28 David S. Miller <davem@davemloft.net>
12681
12682 * Makerules (%.abilist): Add vpath on sysdep_dirs.
12683 (check-abi-%): Remove AWK script prerequisite and explicit
12684 abilist directory.
12685 (check-abi): Rewrite to just diff the symlist with the abilist.
12686 (config-tls, config-abi-config): Delete, no longer used.
12687 (update-abi-%): Remove AWK script and explicit abilist directory.
12688 (update-abi): Rewrite to simply compare and conditionally copy the
12689 symlist and the sysdep abilist file. Remove update-abi-config
12690 checks.
12691 * abilist/ld.abilist: Remove.
12692 * abilist/libBrokenLocale.abilist: Remove.
12693 * abilist/libanl.abilist: Remove.
12694 * abilist/libcrypt.abilist: Remove.
12695 * abilist/libdl.abilist: Remove.
12696 * abilist/librt.abilist: Remove.
12697 * abilist/libthread_db.abilist: Remove.
12698 * abilist/libutil.abilist: Remove.
12699 * scripts/extract-abilist.awk: Remove.
12700 * scripts/merge-abilist.awk: Remove.
12701 * sysdeps/generic/libcidn.abilist: New file.
12702 * sysdeps/generic/libnss_compat.abilist: New file.
12703 * sysdeps/generic/libnss_db.abilist: New file.
12704 * sysdeps/generic/libnss_dns.abilist: New file.
12705 * sysdeps/generic/libnss_files.abilist: New file.
12706 * sysdeps/generic/libnss_hesiod.abilist: New file.
12707 * sysdeps/generic/libnss_nis.abilist: New file.
12708 * sysdeps/generic/libnss_nisplus.abilist: New file.
12709 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
12710 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
12711 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
12712 file.
12713 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
12714 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
12715 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
12716 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
12717 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
12718 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
12719 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
12720 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
12721 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
12722 file.
12723 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
12724 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
12725 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
12726 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
12727 file.
12728 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
12729 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
12730 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
12731 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
12732 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
12733 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
12734 file.
12735 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
12736 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
12737 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
12738 file.
12739 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
12740 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
12741 New file.
12742 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
12743 New file.
12744 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
12745 New file.
12746 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
12747 New file.
12748 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
12749 New file.
12750 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
12751 New file.
12752 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
12753 New file.
12754 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
12755 New file.
12756 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
12757 New file.
12758 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
12759 New file.
12760 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
12761 New file.
12762 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
12763 New file.
12764 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
12765 New file.
12766 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
12767 file.
12768 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
12769 New file.
12770 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
12771 New file.
12772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
12773 file.
12774 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
12775 New file.
12776 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
12777 New file.
12778 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
12779 file.
12780 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
12781 New file.
12782 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
12783 New file.
12784 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
12785 New file.
12786 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
12787 New file.
12788 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
12789 New file.
12790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
12791 New file.
12792 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
12793 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
12794 file.
12795 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
12796 New file.
12797 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
12798 file.
12799 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
12800 file.
12801 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
12802 file.
12803 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
12804 file.
12805 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
12806 file.
12807 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
12808 New file.
12809 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
12810 file.
12811 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
12812 file.
12813 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
12814 New file.
12815 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
12816 file.
12817 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
12818 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
12819 file.
12820 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
12821 New file.
12822 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
12823 file.
12824 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
12825 file.
12826 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
12827 file.
12828 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
12829 file.
12830 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
12831 file.
12832 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
12833 New file.
12834 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
12835 file.
12836 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
12837 file.
12838 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
12839 New file.
12840 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
12841 file.
12842 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
12843 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
12844 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
12845 file.
12846 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
12847 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
12848 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
12849 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
12850 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
12851 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
12852 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
12853 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
12854 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
12855 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
12856 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
12857 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
12858 file.
12859 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
12860 New file.
12861 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
12862 file.
12863 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
12864 file.
12865 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
12866 file.
12867 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
12868 file.
12869 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
12870 file.
12871 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
12872 New file.
12873 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
12874 New file.
12875 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
12876 file.
12877 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
12878 New file.
12879 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
12880 file.
12881 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
12882 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
12883 file.
12884 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
12885 New file.
12886 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
12887 file.
12888 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
12889 file.
12890 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
12891 file.
12892 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
12893 file.
12894 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
12895 file.
12896 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
12897 New file.
12898 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
12899 New file.
12900 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
12901 file.
12902 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
12903 New file.
12904 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
12905 file.
12906
41d73a1b
JM
129072012-04-28 Joseph Myers <joseph@codesourcery.com>
12908
12909 * conform/conformtest.pl: Fix typo in handling typed-constant from
12910 allow-header.
12911
28aeeda4
JM
129122012-04-27 Joseph Myers <joseph@codesourcery.com>
12913
adae8f5e
JM
12914 * README: Cut down references to pre-2.6 Linux kernels and
12915 Linuxthreads. Update lists of configurations in libc and ports
12916 and sort alphabetically. Say "or newer" with Linux kernel version
12917 requirements.
12918
28aeeda4
JM
12919 * config.h.in [IS_IN_build]: Allow compiling without optimization.
12920
a462cb63
RA
129212012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12922
12923 [BZ #887]
12924 * math/libm-test.inc (logb_test_downward): New test to expose
12925 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
12926 rounding mode.
12927
6ad3493e
JM
129282012-04-27 Joseph Myers <joseph@codesourcery.com>
12929
12930 [BZ #14027]
12931 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
12932 to be done.
12933 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
12934 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
12935
2ce4f015
JM
129362012-04-26 Joseph Myers <joseph@codesourcery.com>
12937
5aeb141a
JM
12938 * sysdeps/unix/i386/brk.S: Remove file.
12939 * sysdeps/unix/i386/dl-brk.S: Likewise.
12940 * sysdeps/unix/i386/pipe.S: Likewise.
12941 * sysdeps/unix/i386/sigreturn.S: Likewise.
12942 * sysdeps/unix/i386/syscall.S: Likewise.
12943 * sysdeps/unix/i386/vfork.S: Likewise.
12944 * sysdeps/unix/i386/wait.S: Likewise.
12945
7143acae
JM
12946 * sysdeps/unix/common/tcsendbrk.c: Move to ...
12947 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
12948
2ce4f015
JM
12949 * configure.in (arm*-none*): Do not allow without
12950 --enable-hacker-mode.
12951 (netbsd*): Remove case setting base_os.
12952 (386bsd*): Likewise.
12953 (freebsd*): Likewise.
12954 (bsdi*): Likewise.
12955 (osf*): Likewise.
12956 (sunos*): Likewise.
12957 (ultrix*): Likewise.
12958 (newsos*): Likewise.
12959 (dynix*): Likewise.
12960 (*bsd*): Likewise.
12961 (sysv*): Likewise.
12962 (isc*): Likewise.
12963 (esix*): Likewise.
12964 (sco*): Likewise.
12965 (minix*): Likewise.
12966 (irix4*): Likewise.
12967 (irix6*): Likewise.
12968 (solaris[2-9]*): Likewise.
12969 (none): Likewise.
12970 * configure: Regenerated.
12971
0ac229c8
AZ
129722012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12973
12974 [BZ #11521]
12975 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
12976 overflow or cancellation in calculating denominator.
12977 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
12978 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
12979 down expression to avoid unexpected rounding in newer GCCs.
12980 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
12981
33f244f4
DM
129822012-04-26 David S. Miller <davem@davemloft.net>
12983
12984 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
12985 long-double compat symbols.
12986 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
12987 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
12988 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
12989 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
12990 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
12991 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
12992 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
12993 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
12994 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
12995 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
12996 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
12997 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
12998 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
12999
cfa1f3e8
DM
130002012-04-25 David S. Miller <davem@davemloft.net>
13001
13002 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
13003 HWCAP_* values only after the memory barriers have been defined.
13004 (atomic_full_barrier): Define.
13005 (atomic_read_barrier): Define.
13006 (atomic_write_barrier): Define.
13007
6e236b92
SP
130082012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13009
13010 * shlib-versions: Add libgcc_s version information.
13011 * sysdeps/generic/libgcc_s.h: Remove.
13012 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
13013 libgcc_s.h.
13014 * sysdeps/gnu/unwind-resume.c: Likewise.
13015 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
13016
aab39a09
DM
130172012-04-25 David S. Miller <davem@davemloft.net>
13018
13019 * sysdeps/unix/sparc/brk.S: Delete.
13020 * sysdeps/unix/sparc/dl-brk.S: Delete.
13021 * sysdeps/unix/sparc/pipe.S: Delete.
13022 * sysdeps/unix/sparc/sysdep.S: Delete.
13023 * sysdeps/unix/sparc/sysdep.h: Delete.
13024 * sysdeps/unix/sparc/vfork.S: Delete.
13025 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
13026 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
13027 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
13028 ret_ERRVAL, r0, r1, MOVE): Define.
13029 (JUMPTARGET): Remove.
13030 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
13031 sysdeps/unix/sparc/sysdep.h
13032 (ENTRY, END): Remove.
13033 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
13034
a3cc4f48
JM
130352012-04-25 Joseph Myers <joseph@codesourcery.com>
13036
2ed8cda2
JM
13037 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
13038 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
13039 -DIS_IN_build.
13040
35d76d59
JM
13041 * timezone/README: Update upstream location and email address for
13042 tzcode and tzdata.
13043 * timezone/zdump.c: Update from tzcode 2012b.
13044 * timezone/zic.c: Likewise.
13045
a3cc4f48
JM
13046 * configure.in (libc_cv_as_needed): Remove test.
13047 * configure: Regenerated.
13048 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
13049 conditional definition.
13050 [$(have-as-needed) != yes] (no-as-needed): Likewise.
13051 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
13052 * config.make.in (have-as-needed): Remove variable.
13053
ceab42c3
SP
130542012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
13055 Paul Pluzhnikov <ppluzhnikov@google.com>
13056
13057 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
13058 strings correctly.
13059
3ce2865f
CLT
130602012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
13061
13062 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
13063 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
13064 * sysdeps/sh/strlen.S: Likewise.
13065
f37e0d68
JM
130662012-04-24 Joseph Myers <joseph@codesourcery.com>
13067
ae186e9a
JM
13068 * sysdeps/unix/fork.S: Remove file.
13069 * sysdeps/unix/i386/fork.S: Likewise.
13070 * sysdeps/unix/sparc/fork.S: Likewise.
13071
b96914af
JM
13072 * sysdeps/unix/system.c: Remove file.
13073 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
13074
f37e0d68
JM
13075 * sysdeps/unix/getegid.S: Remove file.
13076 * sysdeps/unix/geteuid.S: Likewise.
13077
87ef29ca
RM
130782012-04-24 Roland McGrath <roland@hack.frob.com>
13079
83bcd236
RM
13080 * scripts/check-localplt.awk: New file.
13081 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
13082 of diff.
13083 * scripts/data/localplt-generic.data: Add a comment.
13084
87ef29ca
RM
13085 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
13086 NODE when __dir_mkfile failed.
13087 * sysdeps/mach/hurd/symlinkat.c: Likewise.
13088 Reported by Ludovic Courtès <ludo@gnu.org>.
13089
e5a6e567
AJ
130902012-04-24 Andreas Jaeger <aj@suse.de>
13091
13092 * Makerules (common-clean): Also remove gen-as-const-headers
13093 files.
13094
c1820385
JM
130952012-04-24 Joseph Myers <joseph@codesourcery.com>
13096
13097 * Makerules (native-compile): Do not change working directory for
13098 build. Use $(OUTPUT_OPTION) in command.
13099 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
13100
94e02fc4
AZ
131012012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13102
13103 [BZ #13886]
13104 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
13105 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
13106 * math/libm-test.inc (floor_test): Add more tests.
13107 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
13108
3a533ca3
JM
131092012-04-24 Joseph Myers <joseph@codesourcery.com>
13110
940ab4b3
JM
13111 * sysdeps/unix/getdents.c: Remove file.
13112 * sysdeps/unix/sysv/getdents.c: Likewise.
13113 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
13114
90e037bd
JM
13115 * sysdeps/unix/syscalls.list (madvise): Add syscall from
13116 sysdeps/unix/mman/syscalls.list.
13117 (mmap): Likewise.
13118 (mprotect): Likewise.
13119 (msync): Likewise.
13120 (munmap): Likewise.
13121 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
13122 * sysdeps/unix/mman/syscalls.list: Remove.
13123 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
13124
3a533ca3
JM
13125 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
13126 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
13127 * configure: Regenerated.
13128 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
13129 $(libgcc_s_suffix).
13130 * config.make.in (libgcc_s_suffix): Remove variable.
13131
1ad743de
JM
131322012-04-23 Joseph Myers <joseph@codesourcery.com>
13133
4ad451e2
JM
13134 * sysdeps/unix/sysv/gethostname.c: Move to ...
13135 * sysdeps/posix/gethostname.c: ... here.
13136
5e37ce39
JM
13137 * sysdeps/unix/execve.S: Remove file.
13138
1ad743de
JM
13139 * sysdeps/unix/_exit.S: Remove file.
13140
4e681b5b
AJ
131412012-04-23 Andreas Jaeger <aj@suse.de>
13142
13143 [BZ #13739]
13144 * manual/Makefile: Remove make dist support, there's no
13145 need for a stand-alone documentation tar ball.
13146 (TEXI2DVI): Define always, it's not in Makeconfig.
13147 (dist): Removed.
13148 (tar-it): Removed.
13149 (edition): Removed.
13150 (glibc-doc-$(edition).tar): Removed
13151 (%.Z): Removed.
13152 (%.gz): Removed.
13153 (%.uu): Removed.
13154 (ETAGS): Remove, it's in Makeconfig.
13155 (move-if-change): Remove, it's in Makeconfig.
13156
38686a03 131572012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
13158
13159 [BZ #13970]
13160 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
13161 (strtod, strtof, strtold, strtol, strtoul, strtoq)
13162 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
13163 (strtod_l, strtof_l, strtold_l): Remove __wur.
13164 It is not necessarily an error to ignore strtol's return value.
13165 One can reliably look at the stored endptr to decide whether
13166 the number had valid syntax.
13167
7c0616fa
AJ
131682012-04-21 Andreas Jaeger <aj@suse.de>
13169
803cb6b7 13170 [BZ #13739]
7c0616fa
AJ
13171 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
13172
b0fe253f
JM
131732012-04-21 Joseph Myers <joseph@codesourcery.com>
13174
13175 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
13176 * sysdeps/unix/sysv/Versions: Remove file.
13177
8280f22d
MT
131782012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
13179
13180 [BZ #13927]
13181 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13182
75ce411f 131832012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
13184
13185 [BZ #7064]
13186 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
13187 version from __vm86.
13188
097d59fa
JM
131892012-04-20 Joseph Myers <joseph@codesourcery.com>
13190
a90f3bcb
JM
13191 * sysdeps/unix/common/lxstat.c: Remove file.
13192 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
13193
edc7ea78
JM
13194 * sysdeps/unix/sysv/Makefile: Remove file.
13195
cb78c221
JM
13196 * sysdeps/unix/sysv/direct.h: Remove file.
13197
efa6a45f
JM
13198 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
13199 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
13200 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
13201 * sysdeps/unix/sysv/bits/signum.h: Likewise.
13202 * sysdeps/unix/sysv/bits/stat.h: Likewise.
13203 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
13204 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
13205
9c9f2d0c
JM
13206 * sysdeps/unix/sysv/setrlimit.c: Remove file.
13207
4541c83b
JM
13208 * sysdeps/unix/xmknod.c: Remove file.
13209 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
13210
f5d153a0
JM
13211 * sysdeps/unix/sysv/settimeofday.c: Remove file.
13212
aa746595
JM
13213 * sysdeps/unix/sysv/i386/time.S: Remove file.
13214
cce5905e
JM
13215 * sysdeps/unix/fxstat.c: Remove file.
13216 * sysdeps/unix/xstat.c: Likewise.
13217 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
13218
37fa3841
JM
13219 * sysdeps/unix/sysv/sigaction.c: Remove file.
13220
ff1962a3
JM
13221 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
13222 (sysdep_headers): Remove variable.
13223 [termio.h not in sysdep_headers] (generated): Likewise.
13224 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
13225 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
13226 * sysdeps/unix/sysv/tcdrain.c: Likewise.
13227 * sysdeps/unix/sysv/tcflow.c: Likewise.
13228 * sysdeps/unix/sysv/tcflush.c: Likewise.
13229 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
13230 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
13231 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
13232 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
13233 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
13234
e7740d31
JM
13235 * sysdeps/unix/siglist.c: Remove file.
13236
ee06f18b
JM
13237 * sysdeps/unix/getppid.S: Remove file.
13238
097d59fa
JM
13239 * sysdeps/unix/mkdir.c: Remove file.
13240 * sysdeps/unix/rmdir.c: Likewise.
13241
ff3d51ec
AS
132422012-04-19 Andreas Schwab <schwab@linux-m68k.org>
13243
13244 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
13245 ERR_MAX value.
13246 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
13247 errlist-compat value.
13248
50f81fd7
DM
132492012-04-18 David S. Miller <davem@davemloft.net>
13250
13251 * sysdeps/generic/memcopy.h (reg_char): Delete.
13252 * debug/strcat_chk.c: Use char, not reg_char.
13253 * debug/strcpy_chk.c: Likewise.
13254 * debug/strncat_chk.c: Likewise.
13255 * debug/strncpy_chk.c: Likewise.
13256 * string/memchr.c: Likewise.
13257 * string/memrchr.c: Likewise.
13258 * string/rawmemchr.c: Likewise.
13259 * string/strcat.c: Likewise.
13260 * string/strchr.c: Likewise.
13261 * string/strchrnul.c: Likewise.
13262 * string/strcmp.c: Likewise.
13263 * string/strcpy.c: Likewise.
13264 * string/strncat.c: Likewise.
13265 * string/strncmp.c: Likewise.
13266 * string/strncpy.c: Likewise.
13267
8ff41c46
WS
132682012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
13269
13270 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
13271 __builtin_memcopy is called when src and dest ranges are known to not
13272 overlap.
13273
6b652f46
WS
132742012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
13275
13276 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
13277 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
13278 fwd_align_merge macro call.
13279 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
13280 bwd_align_merge macro call.
13281 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
13282
b282631e
WS
132832012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
13284
13285 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
13286 bwd_align_merge macros.
13287 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
13288 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
13289 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
13290
95aa737c
DM
132912012-04-18 David S. Miller <davem@davemloft.net>
13292
13293 * sysdeps/sparc/sparc64/memcopy.h: Delete.
13294
7a99a614
AJ
132952012-04-18 Andreas Jaeger <aj@suse.de>
13296
13297 [BZ# 6794]
13298 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
13299 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
13300 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
13301
13302 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
13303 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
13304 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
13305
13306 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
13307 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
13308 Adjust for changed ldbl-128 files.
13309
13310 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
13311 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
13312 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
13313
e5270c23
DM
133142012-04-17 David S. Miller <davem@davemloft.net>
13315
13316 * sysdeps/sparc/sparc32/memcopy.h: Delete.
13317
fb5e92c9
AS
133182012-04-17 Andreas Schwab <schwab@linux-m68k.org>
13319
13320 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
13321 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
13322 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
13323 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
13324 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
13325 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
13326
76da7265
AZ
133272012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13328
13329 [BZ #6794]
13330 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
13331 * math/libm-test.inc: Add ilogb errno and exception tests.
13332 * math/w_ilogb.c: New file: ilogb wrapper.
13333 * math/w_ilogbf.c: New file: ilogbf wrapper.
13334 * math/w_ilogbl.c: New file: ilogbl wrapper.
13335 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
13336 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
13337 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
13338 exception being thrown with 0.0 as argument.
13339 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
13340 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
13341 exception being thrown with 0.0 as argument.
13342 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
13343 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
13344 exception being thrown with 0.0 as argument.
13345 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
13346 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
13347 exception being thrown with 0.0 as argument.
13348 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
13349 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 13350 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
13351 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
13352 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
13353 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
13354 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
13355 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
13356 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
13357
0396e69d
PB
133582012-04-17 Petr Baudis <pasky@ucw.cz>
13359
13360 * include/sys/uio.h: Change __vector to __iovec to avoid clash
13361 with altivec.
13362
750b5926
MP
133632012-04-16 Marek Polacek <polacek@redhat.com>
13364
13365 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
13366
751728a1
MP
133672012-04-16 Marek Polacek <polacek@redhat.com>
13368
13369 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
13370 operands of fdivp instruction.
13371
34a27407
L
133722012-04-13 H.J. Lu <hongjiu.lu@intel.com>
13373
13374 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
13375 * elf/tst-auditmod3b.c: Likewise.
13376 * elf/tst-auditmod4b.c: Likewise.
13377 * elf/tst-auditmod5b.c: Likewise.
13378 * elf/tst-auditmod6b.c: Likewise.
13379 * elf/tst-auditmod6c.c: Likewise.
13380 * elf/tst-auditmod7b.c: Likewise.
13381 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
13382 * sysdeps/x86_64/preconfigure.in: Likewise.
13383 * sysdeps/x86_64/preconfigure: Regenerated.
13384
7e73e17d
L
133852012-04-13 H.J. Lu <hongjiu.lu@intel.com>
13386
13387 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
13388 __ILP32__.
13389
c7a6ab72
AB
133902012-04-13 Antoine Balestrat <merkil33@gmail.com>
13391
13392 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
13393 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
13394
a9e8e0e0
CL
133952012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
13396
13397 [BZ #13973]
13398 * locale/iso-639.def: Fix gl language name. Spotted by
13399 Yaron Shahrabani.
13400
ec98af7d
RM
134012012-04-12 Roland McGrath <roland@hack.frob.com>
13402
13403 [BZ #2074]
13404 * libio/libio.h (__io_write_fn): Update comment.
13405
247c3ede
PB
134062012-04-12 Petr Baudis <pasky@ucw.cz>
13407
13408 [BZ #2074]
13409 * stdio.texi (Hook Functions): The user provided writer function
13410 is not allowed to return -1.
13411
55939d6d
DM
134122012-04-11 David S. Miller <davem@davemloft.net>
13413
13414 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13415
90020f5a
MF
134162012-04-11 Mike Frysinger <vapier@gentoo.org>
13417
13418 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
13419 Add a leading slash to rtkaio.
13420
288f9098
JM
134212012-04-11 Jim Meyering <meyering@redhat.com>
13422
90020f5a
MF
13423 [BZ #11959]
13424 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
13425 It is not necessarily an error to ignore fwrite's return
13426 value. One can reliably use ferror to test for errors after
13427 the fact.
288f9098 13428
4be2b570
L
134292012-04-10 H.J. Lu <hongjiu.lu@intel.com>
13430
13431 * bits/types.h (__snseconds_t): New type.
13432 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
13433
13434 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
13435 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13436 (__SNSECONDS_T_TYPE): Likewise.
13437 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13438 (__SNSECONDS_T_TYPE): Likewise.
13439 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13440 (__SNSECONDS_T_TYPE): Likewise.
13441
288f9098 134422012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
13443
13444 [BZ #2636]
13445 * manual/time.texi (Processor Time): Return type of times is
13446 elapsed real time since an arbitrary point in the past.
13447 (CPU Time): Move CLK_TCK from here...
13448 (Processor Time): ...to here. Correct description.
13449 * manual/conf.texi (Constants for Sysconf): Correct description of
13450 _SC_CLK_TCK.
13451
d7dd4413
DM
134522012-04-10 David S. Miller <davem@davemloft.net>
13453
13454 [BZ #13967]
13455 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
13456 where the is a gap between DT_REL(A) and DT_JMPREL.
13457
b46068fc
L
134582012-04-10 H.J. Lu <hongjiu.lu@intel.com>
13459
13460 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
13461 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
13462 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
13463
73d65cc3
SP
134642012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
13465
13466 * elf/dl-support.c (_dl_inhibit_cache): New variable.
13467 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
13468 (dl_main): Handle --inhibit-cache.
13469 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
13470 _dl_inhibit_cache.
13471 * elf/dl-load.c (_dl_map_object): Use it.
13472 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
13473
bcc8d661
JM
134742012-04-09 Joseph Myers <joseph@codesourcery.com>
13475
8f9a2fae
JM
13476 [BZ #13872]
13477 * sysdeps/i386/fpu/e_powl.S (p78): New object.
13478 (__ieee754_powl): Saturate large exponents rather than testing for
13479 overflow of y*log2(x).
13480 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
13481 * math/libm-test.inc (pow_test): Do not permit spurious overflow
13482 exceptions.
13483
bcc8d661
JM
13484 [BZ #11521]
13485 * math/s_ctan.c: Include <float.h>.
13486 (__ctan): Avoid internal overflow or cancellation in calculating
13487 denominator.
13488 * math/s_ctanf.c: Likewise.
13489 * math/s_ctanl.c: Likewise.
13490 * math/s_ctanh.c: Likewise.
13491 * math/s_ctanhf.c: Likewise.
13492 * math/s_ctanhl.c: Likewise.
13493 * math/libm-test.inc (ctan_test): Add more tests.
13494 (ctanh_test): Likewise.
13495 * sysdeps/i386/fpu/libm-test-ulps: Update.
13496 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13497
823fbbb4
AJ
134982012-04-09 Andreas Jaeger <aj@suse.de>
13499
03879793
AJ
13500 [BZ #6894]
13501 * manual/filesys.texi (Directory Entries): Mention that d_namlen
13502 is an optional BSD extension.
13503
823fbbb4
AJ
13504 [BZ #10254]
13505 * manual/stdio.texi (Opening Streams): Document additional fopen
13506 parameters.
13507
8de131cb
RM
135082012-04-09 Roland McGrath <roland@hack.frob.com>
13509
13510 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
13511 %eax without telling the compiler.
13512
c0ed9d7d
CD
135132012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
13514
13515 [BZ # 13963]
13516 * manual/install.texi: Use sourceware.org.
13517
c483f6b4
JM
135182012-04-09 Joseph Myers <joseph@codesourcery.com>
13519
d7dd9453
JM
13520 [BZ #13873]
13521 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
13522 (__ieee754_pow): Generate overflow and underflow using huge*huge
13523 and tiny*tiny rather than just returning constant infinity or zero
13524 for large exponents.
13525 * math/libm-test.inc (pow_test): Require overflow exceptions for
13526 applicable cases of large exponents.
13527
c483f6b4
JM
13528 [BZ #706]
13529 * sysdeps/i386/fpu/e_pow.S (p10): New object.
13530 (__ieee754_pow): Use iterative multiplication algorithm only for
13531 integer exponents with absolute value below 1024. Check for odd
13532 integer exponents when using algorithm for real exponents.
13533 * math/libm-test.inc (pow_test): Add more tests.
13534 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13535
d2de7579
JM
135362012-04-08 Joseph Myers <joseph@codesourcery.com>
13537
13538 [BZ #13705]
13539 * math/libm-test.inc (exp_test): Do not allow overflow exception
13540 on underflow test.
13541
f77f1232
AJ
135422012-04-08 Aurelien Jarno <aurelien@aurel32.net>
13543
13544 [BZ #13705]
13545 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
13546 instead of __kernel_standard_f.
13547
3884932b
MF
135482012-04-08 Mike Frysinger <vapier@gentoo.org>
13549
13550 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
13551 * sysdeps/x86_64/memset_chk.S: Likewise.
13552
54472e9c
AJ
135532012-04-08 Andreas Jaeger <aj@suse.de>
13554
6ab0fbfc
AJ
13555 [BZ #10153]
13556 * manual/startup.texi (Environment Access): Describe return value
13557 for putenv and setenv.
13558
61efba8c
AJ
13559 [BZ #6895]
13560 * manual/filesys.texi (Directory Entries): Add description for
13561 DT_LNK.
13562
95c3f29a
AJ
13563 [BZ #6890]
13564 * manual/filesys.texi (Directory Entries): Clarify that it's file
13565 system not operating system in the description of DT_UNKNOWN.
13566
54472e9c
AJ
13567 [BZ #6578]
13568 * manual/syslog.texi (closelog): Fix reference, it's openlog.
13569
624254b1
SC
135702012-04-08 Stephen Compall <s11@member.fsf.org>
13571
13572 [BZ #6649]
13573 * manual/llio.texi (Opening and Closing Files): Add cross
13574 reference to explain mode argument.
13575
1e4920e0
MF
135762012-04-07 Mike Frysinger <vapier@gentoo.org>
13577
13578 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
13579 * sysdeps/x86_64/memset_chk.S: Likewise.
13580
5ed848f3
DM
135812012-04-07 David S. Miller <davem@davemloft.net>
13582
13583 * elf/elf.h (R_SPARC_WDISP10): Define.
13584 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
13585 R_SPARC_SIZE32.
13586 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
13587 R_SPARC_SIZE64 and R_SPARC_H34.
13588
96154cd8
CD
135892012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
13590
13591 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
13592 conditions and remove no longer applicable assertion.
13593
9904dc47
L
135942012-04-06 H.J. Lu <hongjiu.lu@intel.com>
13595
13596 * bits/byteswap.h: Include <features.h>.
13597 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
13598 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
13599
f8887d0a
L
136002012-04-06 H.J. Lu <hongjiu.lu@intel.com>
13601
13602 * bits/byteswap.h (__bswap_16): Removed.
13603 Include <bits/byteswap-16.h> to get __bswap_16.
13604 * sysdeps/i386/bits/byteswap.h: Likewise.
13605 * sysdeps/s390/bits/byteswap.h: Likewise.
13606 * sysdeps/x86_64/bits/byteswap.h: Likewise.
13607 * bits/byteswap-16.h: New file.
13608 * sysdeps/i386/bits/byteswap-16.h: Likewise.
13609 * sysdeps/s390/bits/byteswap-16.h: Likewise.
13610 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
13611 * string/Makefile (headers): Add bits/byteswap-16.h.
13612
62470f60
PP
136132012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
13614
13615 [BZ #13895]
13616 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
13617 extra indirection.
13618 * nss/Makefile (tests-static, tests): Add tst-nss-static.
13619 * nss/tst-nss-static.c: New.
13620
4dad7bab
RM
136212012-04-06 Robert Millan <rmh@gnu.org>
13622
13623 [BZ #6486]
13624 * manual/llio.texi (File Position Primitive): lseek
13625 refers to WHENCE when it really means OFFSET.
13626
e9142a17
AJ
136272012-04-06 Andreas Jaeger <aj@suse.de>
13628
2c040eff
AJ
13629 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
13630 strncmp declarations.
13631
e9142a17
AJ
13632 * abilist/libc.abilist: Add __poll and __ppoll.
13633
ff9f1c5f
DM
136342012-04-05 David S. Miller <davem@davemloft.net>
13635
dcd2ae90
DM
13636 * scripts/check-local-headers.sh: Accept a host triplet in the
13637 path matched by the exclude regexp.
13638
993eb054
DM
13639 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
13640 definition.
13641 * sysdeps/powerpc/powerpc32/dl-machine.h
13642 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
13643 * sysdeps/s390/s390-32/dl-machine.h
13644 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
13645 * sysdeps/sparc/sparc32/dl-machine.h
13646 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
13647 * sysdeps/sparc/sparc64/dl-machine.h
13648 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
13649
ff9f1c5f
DM
13650 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
13651 lazy binding.
48e2e132 13652 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
13653 undefined symbol errors.
13654
48e2e132 13655 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
13656 DT_NEEDED entries.
13657
e80d6f94
MM
136582012-04-05 Michael Matz <matz@suse.de>
13659
13660 [BZ #13592]
13661 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
13662
349fa79f
AJ
136632012-04-05 Andreas Jaeger <aj@suse.de>
13664
13665 [BZ #13908]
13666 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
13667 comment.
13668
f402708f
KK
136692012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
13670
13671 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
13672 which ROUND is no valid rounding mode.
13673
2ecccfc9
KK
136742012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
13675
13676 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
13677 read again.
13678 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
13679
8a53f50f
KK
136802012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
13681
13682 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
13683 an exception using FPU order intentionally.
13684
136852012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
13686
13687 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
13688 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
13689 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
13690 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
13691
d653abb7
SJ
136922012-04-05 Simon Josefsson <simon@josefsson.org>
13693
13694 [BZ #12340]
13695 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
13696 EINVAL when BUFLEN is too smal.
13697
c3b1bf7d
TS
136982012-04-05 Thomas Schwinge <thomas@codesourcery.com>
13699
13700 [BZ #13553]
13701 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
13702 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
13703
b1aa60f3
AJ
137042012-04-03 Andreas Jaeger <aj@suse.de>
13705
c3b1bf7d 13706 [BZ #13938]
67f60a26
AJ
13707 * manual/setjmp.texi (System V contexts): Fix sentence.
13708
b1aa60f3
AJ
13709 [BZ #13926]
13710 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
13711 New macro for this case.
13712 [!__GNUC__] (__bswap_64): New inline function for this case.
13713 * sysdeps/x86_64/bits/byteswap.h: Likewise.
13714 * bits/byteswap.h: Likewise.
13715 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
13716 ull, guard with __GLIBC_HAVE_LONG_LONG.
13717
13718 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
13719 __GLIBC_HAVE_LONG_LONG.
13720
13721 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
13722 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
13723
39c59c35
TMQMF
137242012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13725
13726 [BZ #13691]
13727 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
13728 inptr and inend, rather than using last_ch.
13729
135ffda8
DM
137302012-04-02 David S. Miller <davem@davemloft.net>
13731
13732 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
13733 * stdio-common/printf-parse.h (read_int): Change return type to
13734 'int', return -1 on INT_MAX overflow.
13735 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
13736 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
13737 overflows INT_MAX. Check for overflow of in-format-string precision
13738 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
13739 SIZE_MAX not INT_MAX for integer overflow test.
13740 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
13741 skip the construct in the format string but do not record anything.
13742 * stdio-common/bug22.c: Adjust to test both width/prevision
13743 INT_MAX overflow as well as total length INT_MAX overflow. Check
13744 explicitly for proper errno values.
13745
228c019e
TS
137462012-04-02 Thomas Schwinge <thomas@codesourcery.com>
13747
302cadd3
TS
13748 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
13749 CHAR_MAX.
13750 * string/test-strcmp.c [! WIDE]: Likewise.
13751 * time/tst-mktime2.c: Likewise for INT_MAX.
13752 * string/test-string.h: #include <sys/param.h> for MIN.
13753
228c019e
TS
13754 * csu/init-first.c (__libc_init_first): Call __ctype_init.
13755 * sysdeps/i386/init-first.c (init): Likewise.
13756 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
13757 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
13758 * sysdeps/sh/init-first.c (init): Likewise.
13759
cfa633f5
UD
137602012-04-01 Ulrich Drepper <drepper@gmail.com>
13761
13762 * po/ru.po: Update from translation team.
d1635ef8 13763 * po/vi.po: Likewise.
cfa633f5 13764
6cd0a5ea
SP
137652012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
13766
13767 * resolv/nss_dns/dns-host.c: Merge copyright years.
13768
4b43400f
LD
137692012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13770
13771 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
13772 Optimize memcpy with prefetch if
13773 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
13774 src, dst pointers have unequal 16 byte alignments.
13775
48c41d04
SP
137762012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
13777
13778 [BZ #13928]
13779 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
13780 from a CNAME entry and return the minimum ttl for the query.
13781 (gaih_getanswer_slice): Likewise.
13782
b8dc394d
JL
137832012-03-30 Jeff Law <law@redhat.com>
13784
13785 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
13786 due to long keys.
13787 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
13788 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
13789
2f5a5ed0
JL
13790 * resolv/nss_dns/dns-host.c: Update copyright year.
13791
1d39e359
UD
137922012-03-30 Ulrich Drepper <drepper@gmail.com>
13793
c030f70c 13794 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 13795 requests to save a system call. Fix check that all bytes are sent.
c030f70c 13796
1d39e359
UD
13797 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
13798 comments for sendmmsg.
13799
138002012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
13801
13802 [BZ #13691]
13803 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
13804 with only 1 character between 0x0041 and 0x01b0.
13805 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
13806 * wcsmbs/tst-mbsnrtowcs.c: New file.
13807
20fde227
DM
138082012-03-29 David S. Miller <davem@davemloft.net>
13809
13810 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
13811 small copies by hand.
13812
984a4237
JL
138132012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13814
13815 [BZ #13761]
13816 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
13817 _nss_compat_initgroups_dyn): Fall back to malloc/free
13818 for large group memberships.
13819
18c9d62b
DM
138202012-03-28 David S. Miller <davem@davemloft.net>
13821
88d85d4f
DM
13822 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
13823 that branches into memcpy.
13824 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
13825 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
13826 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
13827 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
13828 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
13829 bits.
13830 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
13831 implementation too.
13832 * sysdeps/sparc/mempcpy.S: New file.
13833
e5aa83e1
DM
13834 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
13835 the IFUNC routine in the libc case.
13836 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
13837
88570753
DM
13838 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
13839 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
13840 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
13841 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
13842 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
13843 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
13844 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
13845 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
13846
249d7567
DM
13847 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
13848 loop to 256 bytes instead of 64 bytes and fix test signedness.
13849
18c9d62b
DM
13850 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
13851 * sysdeps/sparc/sparc32/Makefile: rather than here...
13852 * sysdeps/sparc/sparc64/Makefile: and here.
13853
05f3d1f6
UD
138542012-03-28 Ulrich Drepper <drepper@gmail.com>
13855
13856 * malloc/mallocbug.c: Avoid warnings about unused variables.
13857
86ae07a8
JL
138582012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
13859
13860 [BZ #13760]
13861 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
13862 in the right place. Discard and retry query if response is
13863 larger than input buffer size.
13864
41bf21a1
JM
138652012-03-28 Joseph Myers <joseph@codesourcery.com>
13866
d6270972
JM
13867 [BZ #369]
13868 [BZ #2678]
13869 [BZ #3866]
13870 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
13871 x for large integer exponent.
13872 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
13873 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
13874 sign of result as needed afterwards.
13875 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
13876 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
13877 result for underflowing pow the same as for overflow.
13878 (__kernel_standard_l): Handle powl overflow and underflow here
13879 rather than calling __kernel_standard.
13880 * math/libm-test.inc (pow_test): Add more tests.
13881
414fca03 13882 [BZ #3868]
41bf21a1
JM
13883 [BZ #13879]
13884 [BZ #13910]
13885 [BZ #13911]
13886 [BZ #13912]
13887 [BZ #13913]
13888 [BZ #13915]
13889 [BZ #13916]
13890 [BZ #13917]
13891 [BZ #13918]
13892 [BZ #13919]
13893 [BZ #13920]
13894 [BZ #13921]
13895 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
13896 * sysdeps/ieee754/k_standard.c: Include <float.h>.
13897 (__kernel_standard_l): New function.
13898 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
13899 __kernel_standard.
13900 * math/w_acosl.c (__acosl): Likewise.
13901 * math/w_asinl.c (__asinl): Likewise.
13902 * math/w_atan2l.c (__atan2l): Likewise.
13903 * math/w_atanhl.c (__atanhl): Likewise.
13904 * math/w_coshl.c (__coshl): Likewise.
13905 * math/w_exp10l.c (__exp10l): Likewise.
13906 * math/w_exp2l.c (__exp2l): Likewise.
13907 * math/w_fmodl.c (__fmodl): Likewise.
13908 * math/w_hypotl.c (__hypotl): Likewise.
13909 * math/w_j0l.c (__j0l, __y0l): Likewise.
13910 * math/w_j1l.c (__j1l, __y1l): Likewise.
13911 * math/w_jnl.c (__jnl, __ynl): Likewise.
13912 * math/w_lgammal.c (__lgammal): Likewise.
13913 * math/w_log10l.c (__log10l): Likewise.
13914 * math/w_log2l.c (__log2l): Likewise.
13915 * math/w_logl.c (__logl): Likewise.
13916 * math/w_powl.c (__powl): Likewise.
13917 * math/w_remainderl.c (__remainderl): Likewise.
13918 * math/w_scalbl.c (sysv_scalbl): Likewise.
13919 * math/w_sinhl.c (__sinhl): Likewise.
13920 * math/w_sqrtl.c (__sqrtl): Likewise.
13921 * math/w_tgammal.c (__tgammal): Likewise.
13922 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
13923 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
13924 * math/libm-test.inc (acos_test): Add more tests.
13925 (acosh_test): Likewise.
13926 (asin_test): Likewise.
13927 (atanh_test): Likewise.
13928 (exp_test): Likewise.
13929 (exp10_test): Likewise.
13930 (exp2_test): Likewise.
13931 (expm1_test): Likewise.
13932 (lgamma_test): Likewise.
13933 (log_test): Likewise.
13934 (log10_test): Likewise.
13935 (log1p_test): Likewise.
13936 (log2_test): Likewise.
13937 (pow_test): Do not allow some spurious overflow exceptions.
13938 (sqrt_test): Add more tests.
13939 (tgamma_test): Likewise.
13940 (y0_test): Likewise.
13941 (y1_test): Likewise.
13942 (yn_test): Likewise.
13943
dd62fda6
AB
139442012-03-27 Anton Blanchard <anton@samba.org>
13945
13946 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
13947 MAP_HUGETLB.
13948 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
13949 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
13950 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
13951
1e3cdfda
AJ
139522012-03-27 David S. Miller <davem@davemloft.net>
13953
b855ab85
DM
13954 * conform/Makefile: Run run-conformtest.sh using $(BASH).
13955
1e3cdfda
AJ
13956 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
13957 have-as-vis3 check.
13958
139592012-03-27 Andreas Jaeger <aj@suse.de>
13960
13961 * sysdeps/x86_64/elf/configure.in: Moved to ...
13962 * sysdeps/x86_64/configure.in: ... here.
13963 * sysdeps/x86_64/elf/start.S: Moved to ...
13964 * sysdeps/x86_64/start.S: ... here.
13965 * sysdeps/x86_64/elf/configure: Delete.
13966
13967 * sysdeps/x86_64/configure.in: Merge contents from
13968 sysdeps/i386/configure.in (without i686 check).
13969
13970 * sysdeps/i386/elf/Versions: Merge into ...
13971 * sysdeps/i386/Versions: ... this.
13972 * sysdeps/i386/elf/Versions: Delete file.
13973 * sysdeps/i386/elf/start.S: Moved to ...
13974 * sysdeps/i386/start.S: ...here.
13975 * sysdeps/i386/elf/configure.in: Merge into...
13976 * sysdeps/i386/configure.in: ...here.
13977 * sysdeps/i386/elf/configure.in: Delete file.
13978 * sysdeps/i386/elf/configure: Delete file.
13979
13980 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
13981 * debug/backtracesyms.c: ... here.
13982 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
13983 * debug/backtracesymsfd.c: ... here.
13984 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
13985 * sysdeps/generic/ifunc-sel.h: ... here.
13986
13987 * sysdeps/unix/i386/start.c: Delete file.
13988 * sysdeps/unix/sparc/start.c: Delete file.
13989 * sysdeps/unix/start.c: Delete file.
13990
13991 * sysdeps/sh/elf/configure.in: Moved to ...
13992 * sysdeps/sh/configure.in: ... here.
13993 * sysdeps/sh/elf/start.S: Moved to ...
13994 * sysdeps/sh/start.S: ... here.
13995 * sysdeps/sh/elf/configure: Delete file.
13996
13997 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
13998 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
13999 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
14000 * sysdeps/powerpc/powerpc64/entry.h: ... here.
14001 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
14002 * sysdeps/powerpc/powerpc64/start.S: here.
14003 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
14004 * sysdeps/powerpc/powerpc64/Makefile: ... this.
14005 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
14006 * sysdeps/powerpc/powerpc64/configure.in: ... this.
14007 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
14008
14009 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
14010 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
14011 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
14012 * sysdeps/powerpc/powerpc32/start.S: ... here.
14013 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
14014 * sysdeps/powerpc/powerpc32/configure.in: ... this.
14015 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
14016
14017 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
14018 * sysdeps/powerpc/ifunc-sel.h: ... here.
14019 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
14020 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
14021
14022 * sysdeps/sparc/elf/configure.in: Moved to ...
14023 * sysdeps/sparc/configure.in: ... here.
14024 * sysdeps/sparc/elf/configure: Delete file.
14025 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
14026 * sysdeps/sparc/sparc32/start.S: ... here.
14027 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
14028 * sysdeps/sparc/sparc64/start.S: ... here.
14029 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
14030 * sysdeps/sparc/sparc32/Makefile: ... this.
14031 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
14032 * sysdeps/sparc/sparc64/Makefile: ... this.
14033
14034 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
14035 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
14036 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
14037 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
14038 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
14039 * sysdeps/s390/s390-32/setjmp.S: ... here.
14040 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
14041 * sysdeps/s390/s390-32/configure.in: ... here.
14042 * sysdeps/s390/s390-32/elf/configure: Delete file.
14043 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
14044 * sysdeps/s390/s390-32/start.S: ... here.
14045
14046 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
14047 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
14048 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
14049 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
14050 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
14051 * sysdeps/s390/s390-64/setjmp.S: ... here.
14052 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
14053 * sysdeps/s390/s390-64/configure.in: ... here
14054 * sysdeps/s390/s390-64/elf/configure: Delete file.
14055 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
14056 * sysdeps/s390/s390-64/start.S: ... here.
14057 * sysdeps/s390/s390-64/elf/configure: Delete.
14058
14059 * configure.in: Remove support for elf directories in sysdeps.
14060
14061 * configure: Regenerated.
14062 * sysdeps/i386/configure: Regenerated.
14063 * sysdeps/powerpc/powerpc32/configure: Regenerated.
14064 * sysdeps/powerpc/powerpc64/configure: Regenerated.
14065 * sysdeps/s390/s390-32/configure: Regenerated.
14066 * sysdeps/s390/s390-64/configure: Regenerated.
14067 * sysdeps/sh/configure: Regenerated.
14068 * sysdeps/sparc/configure: Regenerated.
14069 * sysdeps/x86_64/configure: Regenerated.
14070
a3f61311
AS
140712012-03-26 Andreas Schwab <schwab@linux-m68k.org>
14072
c876e002
AS
14073 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14074
a3f61311
AS
14075 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
14076 denormal result into account.
14077
ac4c54f0
RM
140782012-03-25 Roland McGrath <roland@hack.frob.com>
14079
14080 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
14081 Reported by Allan McRae <allan@archlinux.org>.
14082
6a9b9c02
JL
140832012-03-23 Jeff Law <law@redhat.com>
14084
14085 * nss/getnssent.c (__nss_getent): Fix typo.
14086
4c42a0c1
DM
140872012-03-23 David S. Miller <davem@davemloft.net>
14088
14089 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14090
1532c7ac
L
140912012-03-23 H.J. Lu <hongjiu.lu@intel.com>
14092
14093 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
14094 to pad to uint64_t for each field.
14095 (dl_tls_index): Replace unsigned long with uint64_t.
14096
3ff42526
PP
140972012-03-23 Daniel Jacobowitz <dmj@google.com>
14098 Paul Pluzhnikov <ppluzhnikov@google.com>
14099
14100 [BZ #6528]
14101 * grp/Makefile (otherlibs): Don't set it.
14102 * inet/Makefile (otherlibs): Likewise.
14103 * login/Makefile (otherlibs): Likewise.
14104 * nscd/Makefile (otherlibs): Likewise.
14105 * posix/Makefile (otherlibs): Likewise.
14106 * pwd/Makefile (otherlibs): Likewise.
14107 * rt/Makefile (otherlibs): Likewise.
14108 * sunrpc/Makefile (otherlibs): Likewise.
14109 * nss/Makefile (otherlibs): Likewise.
14110 Add libnss_files to routines and static-only-routines.
14111 ($(objpfx)getent): Remove rule.
14112 * resolv/Makefile: Add libnss_dns and libresolv to routines and
14113 static-only-routines.
14114
7c69cd14
JM
141152012-03-22 Joseph Myers <joseph@codesourcery.com>
14116
14117 [BZ #13892]
14118 * math/s_cexp.c: Include <float.h>.
14119 (__cexp): Handle exp result overflowing not necessarily
14120 overflowing both real and imaginary parts of result.
14121 * math/s_cexpf.c: Likewise.
14122 * math/s_cexpl.c: Likewise.
14123 * math/libm-test.inc (cexp_test): Add more tests.
14124 * sysdeps/i386/fpu/libm-test-ulps: Update.
14125 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14126
81b035fe
L
141272012-03-22 H.J. Lu <hongjiu.lu@intel.com>
14128
14129 * include/link.h (ELFW): New macro.
14130 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
14131 Replace ELF64_R_TYPE with ELFW(R_TYPE).
14132
1da7940c
L
141332012-03-22 H.J. Lu <hongjiu.lu@intel.com>
14134
14135 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
14136 with uint64_t.
14137
b749dbb9
L
141382012-03-22 H.J. Lu <hongjiu.lu@intel.com>
14139
14140 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
14141 declaration.
14142 (struct La_x32_retval): Likewise.
14143
2ff87f3f
L
141442012-03-22 H.J. Lu <hongjiu.lu@intel.com>
14145
14146 * sysdeps/x86_64/preconfigure.in: New file.
14147 * sysdeps/x86_64/preconfigure: New generated file.
14148
c0df8e69
JM
141492012-03-22 Joseph Myers <joseph@codesourcery.com>
14150
48e44791
JM
14151 [BZ #13824]
14152 * math/e_exp2l.c: Include <float.h>.
14153 (__ieee754_exp2l): Handle overflow and underflow cases
14154 separately. Only pass fractional part of argument to
14155 __ieee754_expl.
14156 * math/libm-test.inc (exp2_test): Add more tests.
14157
c0df8e69
JM
14158 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
14159 negating x to take absolute value.
14160 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
14161 Likewise.
14162 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
14163 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
14164 Likewise.
14165 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
14166 computing low part if x was negated.
14167 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
14168
c8e43ba7
L
141692012-03-21 H.J. Lu <hongjiu.lu@intel.com>
14170
14171 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
14172 la_x32_gnu_pltexit.
14173 (pltexit): Cast int_retval to ptrdiff_t.
14174 * elf/tst-auditmod3b.c: Likewise.
14175 * elf/tst-auditmod4b.c: Likewise.
14176 * elf/tst-auditmod5b.c: Likewise.
14177 * elf/tst-auditmod6b.c: Likewise.
14178 * elf/tst-auditmod6c.c: Likewise.
14179 * elf/tst-auditmod7b.c: Likewise.
14180
14181 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
14182 and x32_gnu_pltexit.
14183
14184 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
14185 __ELF_NATIVE_CLASS.
14186 (La_x32_regs): New macro.
14187 (La_x32_retval): Likewise.
14188 (la_x32_gnu_pltenter): New function prototype.
14189 (la_x32_gnu_pltexit): Likewise.
14190
7998fa78
AS
141912012-03-21 Andreas Schwab <schwab@linux-m68k.org>
14192
dcb33988
AS
14193 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
14194 exponent.
14195
233fc563
AS
14196 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14197
7998fa78
AS
14198 * configure.in (libc_cv_cc_nofma): Check for option to disable
14199 generation of FMA instructions.
14200 * configure: Regenerate.
14201 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
14202 * sysdeps/ieee754/dbl-64/Makefile: New file.
14203 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
14204 Remove brandred-fma4.
14205 (CFLAGS-brandred-fma4.c): Remove.
14206 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
14207 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
14208 define.
14209 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
14210 define.
14211
8e95c99a
L
142122012-03-21 H.J. Lu <hongjiu.lu@intel.com>
14213
14214 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
14215 LLONG_MAX != LONG_MAX.
14216 (_itoa_word): Use _ITOA_WORD_TYPE on value.
14217 (_fitoa_word): Likewise.
14218 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
14219 LLONG_MAX != LONG_MAX.
14220 * stdio-common/_itowa.h: Include <_itoa.h>.
14221 (_itowa_word): Use _ITOA_WORD_TYPE on value.
14222 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
14223 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
14224 only if not defined.
14225 (_ITOA_WORD_TYPE): Likewise.
14226 (_itoa_word): Use _ITOA_WORD_TYPE on value.
14227 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
14228
6f4db457
DM
142292012-03-21 David S. Miller <davem@davemloft.net>
14230
14231 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14232
7785fe5a
L
142332012-03-21 H.J. Lu <hongjiu.lu@intel.com>
14234
14235 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
14236 of x86_64 when setting libc_cv_slibdir, libdir and
14237 libc_cv_localedir.
14238 * sysdeps/unix/sysv/linux/configure: Regenerated.
14239
4535cd55
JM
142402012-03-21 Joseph Myers <joseph@codesourcery.com>
14241
14242 * manual/lang.texi (Old Varargs): Remove section.
14243 (How Variadic): Update menu.
14244 (va_start): Do not mention varargs.h.
14245
17228132
TS
142462012-03-21 Thomas Schwinge <thomas@codesourcery.com>
14247 Joseph Myers <joseph@codesourcery.com>
14248
14249 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
14250 link test.
14251 * configure: Regenerated.
14252
8149f976
TS
142532012-03-21 Thomas Schwinge <thomas@codesourcery.com>
14254
05f3d1f6
UD
14255 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
14256 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
14257 conformtest.pl
8149f976 14258
1a4ac776
JM
142592012-03-21 Joseph Myers <joseph@codesourcery.com>
14260
be22ce65
JM
14261 * NOTES: Remove.
14262 * Makefile (files-for-dist): Remove NOTES.
14263 (NOTES): Remove rule.
14264 * README: Don't refer to NOTES.
14265 * manual/creature.texi: Don't include macros.texi.
14266 * manual/intro.texi (creature.texi): Remove comment referring to
14267 NOTES.
14268
40b601fb
JM
14269 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
14270 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
14271 * configure: Regenerated.
14272 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
14273 LIBC_TRY_CC_OPTION.
14274 (libc_cv_as_i686): Likewise.
14275 (libc_cv_cc_avx): Likewise.
14276 (libc_cv_cc_sse2avx): Likewise.
14277 (libc_cv_cc_fma4): Likewise.
14278 (libc_cv_cc_novzeroupper): Likewise.
14279 * sysdeps/i386/configure: Regenerated.
14280
1a4ac776
JM
14281 [BZ #13883]
14282 * sysdeps/i386/fpu/s_cexp.S: Remove.
14283 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
14284 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
14285 * math/libm-test.inc (cexp_test): Add more tests.
14286 * sysdeps/i386/fpu/libm-test-ulps: Update.
14287 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14288
a458e7fe
AM
142892012-03-21 Allan McRae <allan@archlinux.org>
14290
14291 * timezone/Makefile: Do not install iso3166.tab and zone.tab
14292
0cb7efc5
JM
142932012-03-21 Joseph Myers <joseph@codesourcery.com>
14294
14295 [BZ #13871]
14296 * math/w_exp2.c: Do not include <float.h>.
14297 (o_threshold, u_threshold): Remove.
14298 (__exp2): Calculate result before checking finiteness and calling
14299 __kernel_standard.
14300 * math/w_exp2f.c: Likewise.
14301 * math/w_exp2l.c: Likewise.
14302 * math/libm-test.inc (exp2_test): Require overflow exception for
14303 1e6 input.
2460d3aa
JM
14304
14305 [BZ #3866]
14306 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
14307 range of signed 64-bit integers before using fistpll. Remove
14308 checks for whether integers fit in mantissa bits.
14309 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
14310 the range of signed 32-bit integers before using fistpl. Remove
14311 checks for whether integers fit in mantissa bits.
14312 * sysdeps/i386/fpu/e_powl.S (p64): New object.
14313 (__ieee754_powl): Test for y outside the range of signed 64-bit
14314 integers before using fistpll. Reduce 64-bit values to 63-bit
14315 ones as needed.
14316 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
14317 divide-by-zero is raised for zero to large negative powers.
14318 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
14319 (__ieee754_powl): Test for y outside the range of signed 64-bit
14320 integers before using fistpll. Reduce 64-bit values to 63-bit
14321 ones as needed.
14322 * math/libm-test.inc (pow_test): Add more tests.
14323
eb96ffb0
L
143242012-03-20 H.J. Lu <hongjiu.lu@intel.com>
14325
14326 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
14327 <stdio-common/_itoa.h>.
14328 * debug/segfault.c: Likewise.
14329 * elf/dl-cache.c: Likewise.
14330 * elf/dl-minimal.c: Likewise.
14331 * elf/dl-misc.c: Likewise.
14332 * elf/dl-sysdep.c: Likewise.
14333 * elf/dl-version.c: Likewise.
14334 * elf/rtld.c: Likewise.
14335 * hurd/hurdsock.c: Likewise.
14336 * hurd/lookup-retry.c: Likewise.
14337 * malloc/malloc.c: Likewise.
14338 * malloc/mtrace.c: Likewise.
14339 * nscd/nscd_getgr_r.c: Likewise.
14340 * nscd/nscd_getpw_r.c: Likewise.
14341 * nscd/nscd_getserv_r.c: Likewise.
14342 * posix/getopt_init.c: Likewise.
14343 * posix/wordexp.c: Likewise.
14344 * stdio-common/_itoa.c: Likewise.
14345 * stdio-common/printf_fphex.c: Likewise.
14346 * stdio-common/vfprintf.c: Likewise.
14347 * string/_strerror.c: Likewise.
14348 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
14349 * sysdeps/i386/i686/hp-timing.h: Likewise.
14350 * sysdeps/mach/_strerror.c: Likewise.
14351 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
14352 * sysdeps/mach/hurd/sethostid.c: Likewise.
14353 * sysdeps/mach/hurd/xmknodat.c: Likewise.
14354 * sysdeps/mach/xpg-strerror.c: Likewise.
14355 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
14356 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
14357 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
14358 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
14359 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
14360 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
14361 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
14362 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
14363 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
14364 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
14365 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
14366 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
14367 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
14368 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
14369 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
14370 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
14371 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
14372 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
14373 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
14374 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
14375 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
14376
14377 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
14378
14379 * stdio-common/_itoa.h: Moved to ...
14380 * sysdeps/generic/_itoa.h: Here.
14381
14382 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
14383
14384 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
14385 instead of "_itoa.h" and "_itowa.h".
14386 * stdio-common/vfprintf.: Likewise.
14387
d1af992d
L
143882012-03-20 H.J. Lu <hongjiu.lu@intel.com>
14389
14390 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
14391 <bits/wordsize.h>.
14392 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
14393 (__signbit): Likwise.
14394 (llrintf): Likwise.
14395 (llrint): Likwise.
14396
114883e0
L
143972012-03-20 H.J. Lu <hongjiu.lu@intel.com>
14398
14399 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
14400 __WORDSIZE != 64.
14401
c135cc1b
JM
144022012-03-20 Joseph Myers <joseph@codesourcery.com>
14403
14404 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
14405 OVERFLOW_EXCEPTION_OK.
14406 * math/libm-test.inc ("Philosophy"): Update comment about
14407 exception testing.
14408 (OVERFLOW_EXCEPTION): Define.
14409 (OVERFLOW_EXCEPTION_OK): Likewise.
14410 (INVALID_EXCEPTION_OK): Renumber.
14411 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
14412 (IGNORE_ZERO_INF_SIGN): Likewise.
14413 (test_exceptions): Handle FE_OVERFLOW.
14414 (exp10_test): Expect overflow exceptions.
14415 (exp2_test): Likewise.
14416 (expm1_test): Likewise.
14417 (nextafter_test): Likewise.
14418 (pow_test): Likewise.
14419 (scalbn_test): Likewise.
14420 (scalbln_test): Likewise.
14421
95443d88
L
144222012-03-19 H.J. Lu <hongjiu.lu@intel.com>
14423
14424 * sysdeps/x86_64/bits/atomic.h
14425 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
14426 64bit integer.
14427 (atomic_exchange_acq): Likewise.
14428 (__arch_exchange_and_add_body): Likewise.
14429 (__arch_add_body): Likewise.
14430 (atomic_add_negative): Likewise.
14431 (atomic_add_zero): Likewise.
14432
490df6c4
L
144332012-03-19 H.J. Lu <hongjiu.lu@intel.com>
14434
c2722551 14435 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
14436 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
14437
5e52b189
L
144382012-03-19 H.J. Lu <hongjiu.lu@intel.com>
14439
14440 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
14441 Check __x86_64__ instead of __WORDSIZE.
14442
a9879d4c
L
144432012-03-19 H.J. Lu <hongjiu.lu@intel.com>
14444
14445 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
14446
5df98260
DM
144472012-03-19 David S. Miller <davem@davemloft.net>
14448
e1497744
DM
14449 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14450
5df98260
DM
14451 * sysdeps/sparc/fpu/fenv_private.h: New file.
14452 * sysdeps/sparc/fpu/math_private.h: Use it.
14453 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
14454 Remove.
14455 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
14456 (libc_feholdexcept_setroundl): Remove.
14457 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
14458 Remove.
14459 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
14460 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
14461
b4c35121
L
144622012-03-19 H.J. Lu <hongjiu.lu@intel.com>
14463
14464 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
14465 int64_t instead of long int.
14466 (INSERT_WORDS64): Likwise.
14467
56965fd7
L
144682012-03-19 H.J. Lu <hongjiu.lu@intel.com>
14469
14470 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
14471 _Unwind_GetCFA return to _Unwind_Ptr first.
14472
83d1aec8
JM
144732012-03-19 Joseph Myers <joseph@codesourcery.com>
14474
1897ad44
JM
14475 [BZ #13629]
14476 * math/s_clog.c: Include <float.h>.
14477 (__clog): Scale large or subnormal inputs.
14478 * math/s_clogf.c: Likewise.
14479 * math/s_clogl.c: Likewise.
14480 * math/s_clog10.c: Include <float.h>.
14481 (M_LOG10_2): Define.
14482 (__clog10): Scale large or subnormal inputs.
14483 * math/s_clog10f.c: Likewise.
14484 * math/s_clog10l.c: Likewise.
14485 * math/libm-test.inc (clog_test): Add more tests.
14486 (clog10_test): Likewise.
14487 * sysdeps/i386/fpu/libm-test-ulps: Update.
14488 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14489
7726d6a9
JM
14490 [BZ #11451]
14491 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
14492 x and y.
14493 * math/libm-test.inc (atan2_test): Add another test.
14494
83d1aec8
JM
14495 * Makerules (common-objdir-compile): Remove.
14496 * sysdeps/unix/Makefile (config-generated): Do not add
14497 $(unix-generated) to variable.
14498 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
14499 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
14500 Remove rule.
14501 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
14502 Likewise.
14503 [generic bits/local_lim.h] (before-compile): Do not append to
14504 variable.
14505 [generic bits/local_lim.h] (common-generated): Likewise.
14506 [generic sys/param.h] (before-compile): Do not append to variable.
14507 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
14508 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
14509 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
14510 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
14511 include.
14512 [generic sys/param.h] (sys/param.h-includes): Remove variable.
14513 [generic sys/param.h] (sys/param.h-includes): Remove rule.
14514 [generic sys/param.h] ($(addprefix
14515 $(common-objpfx),$(sys/param.h-includes))): Likewise.
14516 [generic sys/param.h] (common-generated): Do not append to
14517 variable.
14518 [generic sys/param.h] (sysdep_headers): Likewise.
14519 [generic bits/errno.h] (before-compile): Do not append to
14520 variable.
14521 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
14522 rule.
14523 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
14524 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
14525 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
14526 [generic bits/errno.h] (common-generated): Do not append to
14527 variable.
14528 [generic bits/ioctls.h] (before-compile): Do not append to
14529 variable.
14530 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
14531 rule.
14532 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
14533 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
14534 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
14535 rule.
14536 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
14537 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
14538 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
14539 [generic bits/ioctls.h] (common-generated): Do not append to
14540 variable.
14541 [generic sys/syscall.h] (syscall.h): Remove variable.
14542 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
14543 rule.
14544 [generic sys/syscall.h] (before-compile): Do not append to
14545 variable.
14546 [generic sys/syscall.h] (common-generated): Likewise.
14547 * sysdeps/unix/errnos-tmpl.c: Remove file.
14548 * sysdeps/unix/errnos.awk: Likewise.
14549 * sysdeps/unix/ioctls-tmpl.c: Likewise.
14550 * sysdeps/unix/ioctls.awk: Likewise.
14551 * sysdeps/unix/mk-local_lim.c: Likewise.
14552 * sysdeps/unix/snarf-ioctls: Likewise.
14553
4851a949
RH
145542012-03-19 Richard Henderson <rth@twiddle.net>
14555
bd37f2ee
RH
14556 * sysdeps/i386/fpu/fenv_private.h: New file.
14557 * sysdeps/i386/fpu/math_private.h: Use it.
14558 (math_opt_barrier, math_force_eval): Remove.
14559 (libc_feholdexcept_setround_53bit): Remove.
14560 (libc_feupdateenv_53bit): Remove.
14561 * sysdeps/x86_64/fpu/math_private.h: Likewise.
14562 (math_opt_barrier, math_force_eval): Remove.
14563 (libc_feholdexcept): Remove.
14564 (libc_feholdexcept_setround): Remove.
14565 (libc_fetestexcept, libc_fesetenv): Remove.
14566 (libc_feupdateenv_test): Remove.
14567 (libc_feupdateenv, libc_feholdsetround): Remove.
14568 (libc_feresetround): Remove.
14569
d0adc922
RH
14570 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
14571 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
14572
0fe0f1f8
RH
14573 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
14574 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
14575 (libc_feupdateenv_testl): New.
14576 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
14577 (libc_feupdateenv_testf): New.
14578 (libc_feupdateenv): Use libc_feupdateenv_test.
14579 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
14580 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
14581
eb92c487
RH
14582 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
14583 (libc_feholdsetroundf, libc_feholdsetroundl): New.
14584 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
14585 (libc_feresetround_noex): New.
14586 (libc_feresetround_noexf): New.
14587 (libc_feresetround_noexl): New.
14588 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
14589 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
14590 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
14591 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
14592 SET_RESTORE_ROUND.
14593 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
14594 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
14595 (__cos): Likewise.
14596 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
14597 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
14598 SET_RESTORE_ROUND_NOEX.
14599 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
14600 SET_RESTORE_ROUND_NOEXF.
14601 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
14602 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
14603 (libc_feholdsetroundf): New.
14604 (libc_feresetround, libc_feresetroundf): New.
14605
7d2e8012
RH
14606 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
14607 (libc_feholdexcept_setround_53bit): Convert from macro to function.
14608 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
14609
b4dabbb4
RH
14610 * sysdeps/generic/math_private.h: Include <fenv.h>.
14611 (default_libc_feholdexcept): New.
14612 (default_libc_feholdexcept_setround): New.
14613 (default_libc_fesetenv, default_libc_feupdateenv): New.
14614 (libc_feholdexcept): Only define if undefined.
14615 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
14616 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
14617 (libc_feholdexcept_setroundl): Likewise.
14618 (libc_feholdexcept_setround_53bit): Likewise.
14619 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
14620 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
14621 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
14622 (libc_feupdateenv_53bit): Likewise.
14623 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
14624 (libc_feholdexcept): Convert from macro to inline function.
14625 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
14626 (libc_fesetenv, libc_feupdateenv): Likewise.
14627
4851a949
RH
14628 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
14629 not previously defined.
14630 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
14631 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
14632 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
14633 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
14634 * sysdeps/ieee754/flt-32/math_private.h: New file.
14635 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
14636 math_private.h below SET_FLOAT_WORD.
14637 (__isnan, __isinf_ns, __finite): Remove.
14638 (__isnanf, __isinf_nsf, __finitef): Remove.
14639
e79d442e
AS
146402012-03-18 Andreas Schwab <schwab@linux-m68k.org>
14641
14642 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14643
90b80344
DM
146442012-03-17 David S. Miller <davem@davemloft.net>
14645
14646 [BZ #6471]
14647 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
14648 for 2.16.
14649
edc21804
DM
146502012-03-16 David S. Miller <davem@davemloft.net>
14651
77e927af
DM
14652 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
14653 warnings.
14654
374976dd
DM
14655 [BZ #6471]
14656 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
14657 properly.
14658 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
14659 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
14660 sysdep_routines when subdir is sysvipc.
14661 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
14662 __getshmlba helper.
14663
edc21804
DM
14664 * sysdeps/sparc/fpu/libm-test/ulps: Update.
14665
473c3ef3
L
146662012-03-16 H.J. Lu <hongjiu.lu@intel.com>
14667
14668 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
14669 [__LP64__].
14670
eb0f39b6
L
146712012-03-16 H.J. Lu <hongjiu.lu@intel.com>
14672
14673 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
14674 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
14675 (__lround): Renamed to ...
14676 (__llround): This. Replace long int with long long int.
14677 Define lround functions as aliases of llround functions.
14678 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
14679
6b6cd74b
L
146802012-03-16 H.J. Lu <hongjiu.lu@intel.com>
14681
14682 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
14683 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
14684 adresses to uintptr_t. Replace "long int" and "unsigned long
14685 int" with "greg_t" on va_arg.
14686
f1a77b01
L
146872012-03-16 H.J. Lu <hongjiu.lu@intel.com>
14688
14689 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
14690 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
14691
14692 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
14693 Move e_machine check before EI_CLASS check. Handle x32
14694 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
14695 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
14696 SKIP_EM_IA_64 and include
14697 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
14698
14699 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
14700 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
14701 (add_system_dir): New macro.
14702
14703 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
14704 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
14705
11b90b9f
JM
147062012-03-16 Joseph Myers <joseph@codesourcery.com>
14707
c36e1d23
JM
14708 [BZ #2551]
14709 [BZ #2552]
14710 [BZ #2553]
14711 [BZ #2554]
14712 [BZ #2562]
14713 [BZ #2563]
14714 [BZ #2565]
14715 [BZ #2566]
14716 [BZ #2576]
14717 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
14718 (y0): Likewise.
14719 * math/w_j0f.c (j0f): Likewise.
14720 (y0f): Likewise.
14721 * math/w_j0l.c (__j0l): Likewise.
14722 (__y0l): Likewise.
14723 * math/w_j1.c (j1): Likewise.
14724 (y1): Likewise.
14725 * math/w_j1f.c (j1f): Likewise.
14726 (y1f): Likewise.
14727 * math/w_j1l.c (__j1l): Likewise.
14728 (__y1l): Likewise.
14729 * math/w_jn.c (jn): Likewise.
14730 (yn): Likewise.
14731 * math/w_jnf.c (jnf): Likewise.
14732 (ynf): Likewise.
14733 * math/w_jnl.c (__jnl): Likewise.
14734 (__ynl): Likewise.
14735 * math/libm-test.inc (j0_test): Add more tests.
14736 (j1_test): Likewise.
14737 (jn_test): Likewise. Add trailing semicolon to existing test.
14738 (y0_test): Likewise.
14739 (y1_test): Likewise.
14740 * sysdeps/i386/fpu/libm-test-ulps: Update.
14741 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14742
11b90b9f
JM
14743 [BZ #13851]
14744 [BZ #13854]
14745 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
14746 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
14747 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
14748 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
14749 (__tanl): Set errno for infinite argument.
14750 * sysdeps/i386/fpu/mptan.c: Remove.
14751 * sysdeps/i386/fpu/s_tan.S: Likewise.
14752 * sysdeps/i386/fpu/s_tanl.S: Likewise.
14753 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
14754 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
14755 * math/libm-test.inc (tan_test): Add more tests and enable more
14756 tests for double and long double.
14757 * sysdeps/i386/fpu/libm-test-ulps: Update.
14758 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14759
6a1bd2a1
JK
147602012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
14761
14762 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
14763 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
14764
10a803e0
RM
147652012-03-16 Roland McGrath <roland@hack.frob.com>
14766
14767 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
14768 * configure.in: Use it for both main tree and add-ons.
14769 * configure: Regenerated.
14770
f196c7f7
L
147712012-03-16 H.J. Lu <hongjiu.lu@intel.com>
14772
14773 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
14774
8848d99d
JM
147752012-03-16 Joseph Myers <joseph@codesourcery.com>
14776
96cbe7f4
JM
14777 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
14778 in comment.
14779
8848d99d
JM
14780 [BZ #13851]
14781 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
14782 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
14783 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
14784 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
14785 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
14786 infinite argument.
14787 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
14788 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
14789 != 0 for prec == 2.
14790 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
14791 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
14792 * sysdeps/i386/fpu/s_cosl.S: Likewise.
14793 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
14794 * sysdeps/i386/fpu/s_sinl.S: Likewise.
14795 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
14796 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
14797 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
14798 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
14799 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
14800 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
14801 * math/libm-test.inc (cos_test): Add more tests and enable more
14802 tests for long double.
14803 (sin_test): Likewise.
14804 (sincos_test): Likewise.
14805 * sysdeps/i386/fpu/libm-test-ulps: Update.
14806 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14807
dd7f4703
DM
148082012-03-16 David S. Miller <davem@davemloft.net>
14809
14810 * sysdeps/sparc/fpu/math_private.h: New file.
14811
006f1daa
DM
148122012-03-15 David S. Miller <davem@davemloft.net>
14813
c0c83bc8
DM
14814 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
14815 file.
e6a62e18 14816 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
14817 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
14818 file.
e6a62e18
DM
14819 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
14820 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
14821 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
14822 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
14823 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
14824 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
14825 sysdep routines.
14826 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
14827
88cb87d9
DM
14828 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
14829 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
14830
006f1daa 14831 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
14832 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
14833 sparc-ifunc.h
006f1daa 14834 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
14835 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
14836 Likewise.
14837 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
14838 Likewise.
006f1daa
DM
14839 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
14840 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
14841 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
14842 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
14843 Likewise.
006f1daa
DM
14844 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
14845 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
14846 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
14847 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
14848 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
14849 Likewise.
14850 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
14851 Likewise.
006f1daa
DM
14852 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
14853 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
14854 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
14855 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
14856 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
14857 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
14858 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
14859 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
14860 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
14861 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
14862 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
14863 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
14864 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
14865 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
14866 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
14867 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
14868 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
14869 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
14870 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
14871 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
14872 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
14873 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
14874 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
14875 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
14876
11e0098e
AS
148772012-03-15 Andreas Schwab <schwab@linux-m68k.org>
14878
14879 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
14880 scaling.
14881 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14882
e85b09d0
AJ
148832012-03-15 Andreas Jaeger <aj@suse.de>
14884
14885 [BZ #13852]
14886 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
14887 ieee754/flt-32 implementation for sin, cos and sincos.
14888 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
14889 * sysdeps/i386/fpu/s_cosf.S: Likewise.
14890 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
14891 * sysdeps/i386/fpu/s_sinf.S: Likewise.
14892 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
14893 ieee754/flt-32 implementation for tan.
14894
14895 * math/libm-test.inc (cos_test): Enable some large input tests for
14896 float as well
14897 (sin_test): Likewise.
14898 (sincos_test): Likewise.
14899 (tan_test): Add tests for large input.
14900
14901 * sysdeps/i386/fpu/libm-test-ulps: Update.
14902
81c64153
AJ
149032012-03-15 Andreas Jaeger <aj@suse.de>
14904
14905 [BZ #13658]
14906 * math/libm-test.inc (cos_test): Add more test cases.
14907 (sin_test): Likewise.
14908 (sincos_test): Likewise.
14909
7bbfa5c6
AJ
149102012-03-15 Andreas Jaeger <aj@suse.de>
14911
14912 [BZ #13837]
14913 * math/libm-test.inc (cos_test): Add a test case for large input
14914 value.
14915 (sin_test): Likewise.
14916 (sincos_test): Likewise.
14917
149182012-03-15 Andreas Jaeger <aj@suse.de>,
14919 Joseph Myers <joseph@codesourcery.com>
14920
14921 [BZ #13658]
0671f479 14922 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
14923 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
14924 * sysdeps/i386/fpu/branred.c: Likewise.
14925 * sysdeps/i386/fpu/dosincos.c: Likewise.
14926 * sysdeps/i386/fpu/mpa.c: Likewise.
14927 * sysdeps/i386/fpu/s_cos.S: Likewise.
14928 * sysdeps/i386/fpu/s_sin.S: Likewise.
14929 * sysdeps/i386/fpu/s_sincos.S: Likewise.
14930 * sysdeps/i386/fpu/sincos32.c: Likewise.
14931
14932 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
14933 Define.
14934 (libc_feupdateenv_53bit): Define.
14935 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
14936 Define.
14937 (libc_feupdateenv_53bit): Define.
14938
14939 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
14940 53 bit (without extend i386 double precision).
14941
14942 * math/libm-test.inc (sincos_test): Add tests for large input.
14943 (sin): Likewise.
14944 (cos): Likewise.
14945
14946 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
14947
9cad04ea
AS
149482012-03-15 Andreas Schwab <schwab@linux-m68k.org>
14949
14950 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14951
f7062b9a
DM
149522012-03-15 David S. Miller <davem@davemloft.net>
14953
14954 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
14955 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
14956 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
14957 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
14958 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
14959 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
14960 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
14961 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
14962 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
14963 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
14964 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
14965 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
14966 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
14967 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
14968 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
14969 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
14970 file.
f7062b9a 14971 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
14972 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
14973 file.
f7062b9a 14974 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
14975 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
14976 file.
f7062b9a 14977 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
14978 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
14979 file.
f7062b9a
DM
14980 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
14981 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
14982 fmin/fmax sysdep routines.
14983 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
14984
7bd951ff
DM
149852012-03-14 David S. Miller <davem@davemloft.net>
14986
559398ab
DM
14987 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
14988 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
14989 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
14990 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
14991 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
14992 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
14993 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
14994 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
14995 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
14996 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
14997 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
14998 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
14999 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
15000 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
15001 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
15002 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
15003 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
15004 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
15005 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
15006 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
15007 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
15008 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
15009 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
15010 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
15011 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
15012 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
15013 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
15014 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
15015 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
15016 routines.
15017 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
15018 file.
559398ab 15019 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
15020 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
15021 file.
559398ab 15022 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
15023 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
15024 file.
559398ab 15025 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
15026 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
15027 file.
559398ab 15028 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
15029 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
15030 file.
559398ab 15031 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
15032 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
15033 file.
15034 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
15035 file.
15036 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
15037 file.
15038 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
15039 file.
15040 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
15041 New file.
15042 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
15043 file.
15044 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
15045 file.
559398ab 15046 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
15047 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
15048 file.
559398ab 15049 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
15050 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
15051 file.
559398ab 15052 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
15053 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
15054 file.
559398ab 15055 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
15056 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
15057 VIS3 routines.
559398ab
DM
15058
15059 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
15060 New file.
15061
5a1c1e32
DM
15062 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15063
eae47a36
DM
15064 * sysdeps/sparc/configure.in: New file.
15065 * sysdeps/sparc/configure: Generate.
15066 * configure.in (libc_cv_sparc_as_vis3): Substitute.
15067 * configure: Regenerate.
15068 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
15069 * config.make.in (have-as-vis3): New.
15070 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
15071 available use -Av9d instead of -Av9a.
15072 * sysdeps/sparc/sparc64/Makefile: Likewise.
15073 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
15074 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
15075 New file.
15076 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
15077 file.
15078 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
15079 New file.
15080 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
15081 file.
eae47a36
DM
15082 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
15083 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
15084 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
15085 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
15086 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
15087
c0c83bc8
DM
15088 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
15089 fzeros/fnegs to load 0x80000000 into a float register instead of
15090 using the stack.
7bd951ff
DM
15091 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
15092
bd951ccb
JM
150932012-03-14 Joseph Myers <joseph@codesourcery.com>
15094
15095 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15096 bits/syscall.h.
15097 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
15098 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
15099 ($(inst_includedir)/bits/syscall.h): Remove rule.
15100 ($(objpfx)bits/syscall.d): Include instead of
15101 $(objpfx)syscall-list.d.
15102 (generated): Change syscall-list.h and syscall-list.d to
15103 bits/syscall.h and bits/syscall.d.
15104
bb4e6db2
RM
151052012-03-14 Roland McGrath <roland@hack.frob.com>
15106
15107 [BZ #13846]
15108 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
15109
aa4a2ae1
JM
151102012-03-14 Joseph Myers <joseph@codesourcery.com>
15111
e456826d
JM
15112 [BZ #13841]
15113 * math/s_csqrt.c: Include <float.h>.
15114 (__csqrt): Scale large or subnormal inputs.
15115 * math/s_csqrtf.c: Likewise.
15116 * math/s_csqrtl.c: Likewise.
15117 * math/libm-test.inc (csqrt_test): Add more tests.
15118 * sysdeps/i386/fpu/libm-test-ulps: Update.
15119 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15120
aa4a2ae1
JM
15121 [BZ #13840]
15122 * math/libm-test.inc (hypot_test): Add more tests.
15123
7c10fd35
DM
151242012-03-13 David S. Miller <davem@davemloft.net>
15125
15126 [BZ #13840]
15127 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
15128 double-precision for the calculation instead of scaling.
15129
f453b98b
JM
151302012-03-13 Joseph Myers <joseph@codesourcery.com>
15131
15132 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
15133 manipulate bits before adding and subtracting TWO52[sx].
15134 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
15135 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
15136 Likewise.
15137 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
15138
09a3453f
DM
151392012-03-13 David S. Miller <davem@davemloft.net>
15140
8e59da90
DM
15141 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
15142 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
15143 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
15144 rtld-global-offsets.h
15145 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
15146
2a8ab7f2
DM
15147 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
15148 large parameters.
15149
10f62770
DM
15150 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
15151
5f0bdb18
DM
15152 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
15153 'err' in the ifdef scope in which it is actually used.
15154
09a3453f
DM
15155 * nss/nss_db/db-init.c: Include string.h
15156
b4b2eb5e
DM
151572012-03-12 David S. Miller <davem@davemloft.net>
15158
98bb2f1c
DM
15159 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
15160 masking out of the most significant byte of random value used.
15161 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
15162 Fix coding style in previous change.
15163
b4b2eb5e
DM
15164 * sysdeps/unix/sysv/linux/kernel-features.h
15165 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
15166 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
15167 expression.
15168 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
15169 later.
15170
6e226b09
DM
151712012-03-11 David S. Miller <davem@davemloft.net>
15172
a1bcbd40
DM
15173 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
15174 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
15175 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
15176 for 'resultvar' otherwise things get truncated on 64-bit.
15177
cb9d6174
DM
15178 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
15179 Fix masking out of the most significant byte of random value used.
15180
6e226b09
DM
15181 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15182
058c132d
AS
151832012-03-10 Andreas Schwab <schwab@linux-m68k.org>
15184
15185 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15186
2d2cd515
DM
151872012-03-09 David S. Miller <davem@davemloft.net>
15188
15189 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
15190 variables with appropriate CPP guards.
15191 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
15192 frame pointer, not the stack pointer. Correct layout comments. Fix test
15193 on resulting framesize and the management of the outregs buffer for pltexit.
15194 Preserve floating point return values across _dl_call_pltexit call.
15195 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
15196 framesize and the management of the outregs buffer for pltexit.
15197 Preserve floating point return values across _dl_call_pltexit
15198 call.
15199 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
15200 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
15201 (print_exit): Fix format string for return register value.
15202
9a07f9d0
JM
152032012-03-10 Joseph Myers <joseph@codesourcery.com>
15204
15205 * sunrpc/Makefile (others): Add rpcgen.
15206 ($(objpfx)rpcgen): Remove special build rule and dependency on
15207 libc.
15208 * sunrpc/rpcgen.c: New file.
15209
547b5e30
PE
152102012-03-09 Paul Eggert <eggert@cs.ucla.edu>
15211
c524201a
PE
15212 [BZ #13673]
15213 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
15214 * stdio-common/bug-vfprintf-nargs.c: Likewise.
15215 * sysdeps/i386/crti.S: Likewise.
15216 * sysdeps/i386/crtn.S: Likewise.
15217 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
15218 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
15219 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
15220 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
15221 * sysdeps/sh/crti.S: Likewise.
15222 * sysdeps/sh/crtn.S: Likewise.
15223 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
15224
7b6235f2
PE
15225 [BZ #13673]
15226 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
15227 with URL.
15228 * locale/programs/locfile-kw.gperf: Likewise.
15229 * locale/programs/charmap-kw.h: Regenerated.
15230 * locale/programs/locfile-kw.h: Likewise.
15231
547b5e30
PE
15232 [BZ #13673]
15233 * intl/plural.y: Replace FSF snail mail address with URL.
15234 * intl/plural.c: Regenerated.
15235
5f0a5dae
RH
152362012-03-09 Richard Henderson <rth@twiddle.net>
15237
15238 * include/math_private.h: Remove file.
15239 * math/math_private.h: Move file ...
15240 * sysdeps/generic/math_private.h: ... here.
15241
b8c03620
RH
15242 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
15243 * sysdeps/powerpc/fpu/math_private.h: Likewise.
15244 * sysdeps/x86_64/fpu/math_private.h: Likewise.
15245
4e234f5d 15246 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
15247 and <math_private.h>.
15248 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
15249 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
15250 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
15251 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
15252 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
15253 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
15254 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
15255 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15256 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
15257 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
15258 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15259 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
15260 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
15261 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
15262 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
15263 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
15264 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
15265 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15266 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
15267 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
15268 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15269 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
15270 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
15271 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15272 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
15273 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
15274 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
15275 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15276 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15277 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15278 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
15279 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15280 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
15281 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
15282 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
15283 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15284 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
15285 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
15286 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
15287 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
15288 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
15289 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
15290 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
15291 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
15292 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
15293 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
15294 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
15295 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
15296 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
15297 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
15298 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
15299 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
15300 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
15301 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
15302 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
15303 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
15304 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
15305 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
15306 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
15307 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
15308 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15309 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
15310 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15311 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
15312 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
15313 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
15314 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
15315 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
15316 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
15317 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
15318 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
15319 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
15320 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
15321 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
15322 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
15323 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
15324 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
15325 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
15326 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
15327 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
15328 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
15329 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
15330 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
15331 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
15332 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
15333 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
15334 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
15335 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
15336 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
15337 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
15338 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
15339 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
15340 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
15341 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
15342 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
15343 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
15344 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
15345 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
15346 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
15347 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
15348 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
15349 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
15350 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
15351 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
15352 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
15353 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
15354 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
15355 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
15356 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
15357 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
15358 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
15359 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
15360 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
15361 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
15362 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
15363 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
15364 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
15365 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
15366 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
15367 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
15368 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
15369 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
15370 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
15371 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
15372 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
15373 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
15374 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
15375 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
15376 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
15377 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
15378 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
15379 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
15380 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
15381 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
15382 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
15383 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
15384 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
15385 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
15386 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
15387 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
15388 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
15389 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
15390 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
15391 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
15392 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
15393 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
15394 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
15395 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
15396 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
15397 * sysdeps/ieee754/k_standard.c: Likewise.
15398 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
15399 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
15400 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
15401 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
15402 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
15403 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
15404 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
15405 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
15406 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
15407 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
15408 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
15409 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
15410 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
15411 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
15412 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
15413 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
15414 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
15415 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
15416 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
15417 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
15418 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
15419 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
15420 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
15421 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
15422 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
15423 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
15424 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
15425 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
15426 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
15427 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
15428 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
15429 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
15430 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
15431 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
15432 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
15433 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
15434 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
15435 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
15436 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
15437 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
15438 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
15439 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
15440 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
15441 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
15442 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
15443 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
15444 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
15445 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
15446 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
15447 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
15448 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
15449 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
15450 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
15451 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
15452 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
15453 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
15454 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
15455 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
15456 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
15457 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
15458 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
15459 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
15460 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
15461 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
15462 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
15463 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
15464 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
15465 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
15466 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
15467 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
15468 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
15469 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
15470 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
15471 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
15472 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
15473 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
15474 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
15475 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
15476 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
15477 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
15478 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
15479 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
15480 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
15481 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
15482 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
15483 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
15484 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
15485 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
15486 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
15487 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
15488 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
15489 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
15490 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
15491 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
15492 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
15493 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
15494 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
15495 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
15496 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
15497 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
15498 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
15499 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
15500 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
15501 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
15502 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
15503 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
15504 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
15505 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
15506 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
15507 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
15508 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
15509 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
15510 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
15511 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
15512 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
15513 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
15514 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
15515 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
15516 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
15517 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
15518 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
15519 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
15520 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
15521 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
15522 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
15523 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
15524 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
15525 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
15526 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
15527 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
15528 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
15529 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
15530 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
15531 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
15532 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
15533 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
15534 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
15535 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
15536 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
15537 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
15538 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
15539 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
15540 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
15541 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
15542 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
15543 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
15544 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
15545 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
15546 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
15547 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
15548 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
15549 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
15550 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
15551 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
15552 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
15553 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
15554 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
15555 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
15556 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
15557 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
15558 * sysdeps/ieee754/s_lib_version.c: Likewise.
15559 * sysdeps/ieee754/s_matherr.c: Likewise.
15560 * sysdeps/ieee754/s_signgam.c: Likewise.
15561 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
15562 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
15563 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
15564 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
15565 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
15566 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
15567 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
15568 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
15569 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
15570 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
15571 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
15572 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
15573 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
15574 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
15575 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
15576 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
15577 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
15578 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
15579 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
15580 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
15581 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 15582
1991fa03
JM
155832012-03-09 Joseph Myers <joseph@codesourcery.com>
15584
15585 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
15586 * sunrpc/rpc_main.c: Likewise.
15587 * sunrpc/rpc_svcout.c: Likewise.
15588
60d6f5a6
DM
155892012-03-09 David S. Miller <davem@davemloft.net>
15590
15591 * include/math_private.h: New file.
15592
4962050e
JM
155932012-03-09 Joseph Myers <joseph@codesourcery.com>
15594
02a6f887
JM
15595 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
15596 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
15597 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
15598 from <bits/socket_type.h>.
15599 (enum __socket_type): Don't define here.
15600 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
15601 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15602 bits/socket_type.h.
15603
c6e013c1
JM
15604 [BZ #13566]
15605 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
15606 checking __USE_GNU.
15607
4962050e
JM
15608 * Makerules ($(inst_includedir)/%.h): New rule.
15609 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
15610 (install-others): Remove variable setting.
15611 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
15612
38842f45
RH
156132012-03-08 Richard Henderson <rth@twiddle.net>
15614
67bb6da6
RH
15615 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
15616 from macro to inline function; merge with the
15617 !__LIBC_INTERNAL_MATH_INLINES version.
15618 (__ieee754_sqrtf): Likewise.
15619
15194b4b
RH
15620 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
15621 to inline function.
15622 (__rintf, __floor, __floorf): Likewise.
15623
64e21ede
RH
15624 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
15625 macro to inline function.
15626 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
15627
38842f45
RH
15628 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
15629 not <math/math_private.h>.
15630
c64bf5fe
DM
156312012-03-08 David S. Miller <davem@davemloft.net>
15632
15633 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
15634 copyright year.
15635 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
15636
82d86f28
TS
156372012-03-08 Thomas Schwinge <thomas@codesourcery.com>
15638
15639 * resolv/gai_misc.c (handle_requests): Fix struct timespec
15640 normalization.
15641 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
15642 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
15643
aea5d727
UD
156442012-03-08 Ulrich Drepper <drepper@gmail.com>
15645
15646 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
15647 be defined individually, they must be defined as a block. Define
15648 S for printing a string instead of hidint the different by using a
15649 macro for adding the 'l'.
15650 * stdio-common/tst-fphex-wide.c: Adjust.
15651
70bca0a3
MP
156522012-03-07 Marek Polacek <polacek@redhat.com>
15653
15654 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
15655
65b81130
MP
156562012-03-08 Marek Polacek <polacek@redhat.com>
15657
15658 [BZ #13806]
15659 * stdio-common/Makefile (tests): Add tst-fphex-wide.
15660 * stdio-common/tst-fphex.c: Define a few macros to make the
15661 test reusable. Use them.
15662 * stdio-common/tst-fphex-wide.c: New file.
15663
07037eeb
JM
156642012-03-08 Joseph Myers <joseph@codesourcery.com>
15665
a7a93d50
JM
15666 [BZ #6911]
15667 * manual/macros.texi (gnusystems): New macro.
15668 (nongnusystems): Likewise.
15669 (gnulinuxhurdsystems): Likewise.
15670 (gnuhurdsystems): Likewise..
15671 (gnulinuxsystems): Likewise.
15672 * manual/charset.texi: Use new macros or @theglibc{} to refer to
15673 variants of the GNU system, not "GNU system".
15674 * manual/conf.texi: Likewise.
15675 * manual/errno.texi: Likewise. Update example of errno macro
15676 expansion.
15677 * manual/filesys.texi: Likewise.
15678 (getumask): Document as specific to GNU/Hurd.
15679 * manual/install.texi: Likewise. Reword some references to
15680 GNU/Linux.
15681 * manual/intro.texi: Likewise.
15682 * manual/io.texi: Likewise.
15683 (File Name Portability): Detail which constraints are inapplicable
15684 to all GNU systems and which are only inapplicable to GNU/Hurd.
15685 * manual/job.texi: Likewise.
15686 * manual/llio.texi: Likewise.
15687 (O_NOCTTY): Document as present on GNU/Linux.
15688 * manual/maint.texi: Likewise.
15689 * manual/memory.texi: Likewise.
15690 * manual/pattern.texi: Likewise.
15691 * manual/pipe.texi: Likewise.
15692 * manual/process.texi: Likewise.
15693 * manual/resource.texi: Likewise.
15694 (RUSAGE_CHILDREN): Remove statement about specifying a particular
15695 child on GNU/Hurd.
15696 * manual/setjmp.texi: Likewise.
15697 * manual/signal.texi: Likewise.
15698 * manual/startup.texi: Likewise.
15699 * manual/stdio.texi: Likewise.
15700 * manual/terminal.texi: Likewise.
15701 (ONLCR): Document as POSIX.
15702 (OXTABS): Document availability on GNU/Linux as XTABS.
15703 (ONOEOT): Document availability separately from other bits.
15704 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
15705 * manual/time.texi: Likewise.
15706 * manual/users.texi: Likewise.
15707 * INSTALL: Regenerated.
15708 * sysdeps/gnu/errlist.c: Regenerated.
15709
07037eeb
JM
15710 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
15711 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
15712 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
15713 puts.
15714 * configure: Regenerated.
15715
d1d3431a
JM
157162012-03-07 Joseph Myers <joseph@codesourcery.com>
15717
af6a1e37
JM
15718 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
15719 default includes instead of AC_HEADER_CHECK.
15720 * sysdeps/i386/configure: Regenerated.
15721
d1d3431a
JM
15722 [BZ #10716]
15723 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
15724 * math/s_cacoshf.c (__cacoshf): Likewise.
15725 * math/s_cacoshl.c (__cacoshl): Likewise.
15726 * math/s_casinh.c (__casinh): Set signs of result from argument.
15727 * math/s_casinhf.c (__casinhf): Likewise.
15728 * math/s_casinhl.c (__casinhl): Likewise.
15729 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
15730 (casinh_test): Add more tests.
15731 * sysdeps/i386/fpu/libm-test-ulps: Update.
15732 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15733
482ff4da
UD
157342012-03-07 Ulrich Drepper <drepper@gmail.com>
15735
872fda05
UD
15736 * po/zh_TW.po: Update from translation team.
15737
a4300c7a
UD
15738 * login/Makefile (distribute): Remove variable.
15739 * catgets/Makefile: Likewise.
15740 * mach/Makefile: Likewise.
15741 * malloc/Makefile: Likewise.
15742 * misc/Makefile: Likewise.
15743 * iconv/Makefile: Likewise.
15744 * nscd/Makefile: Likewise.
15745 * hurd/Makefile: Likewise.
15746 * manual/Makefile: Likewise.
15747 * locale/Makefile: Likewise.
15748 * intl/Makefile: Likewise.
15749 * conform/Makefile: Likewise.
15750 * nss/Makefile: Likewise.
15751 * time/Makefile: Likewise.
15752 * soft-fp/Makefile: Likewise.
15753 * dirent/Makefile: Likewise.
15754 * gmon/Makefile: Likewise.
15755 * po/Makefile: Likewise.
15756 * rt/Makefile: Likewise.
15757 * socket/Makefile: Likewise.
15758 * math/Makefile: Likewise.
15759 * signal/Makefile: Likewise.
15760 * debug/Makefile: Likewise.
15761 * elf/Makefile: Likewise.
15762 * timezone/Makefile: Likewise.
15763 * stdlib/Makefile: Likewise.
15764 * iconvdata/Makefile: Likewise.
15765 * sunrpc/Makefile: Likewise.
15766 * io/Makefile: Likewise.
15767 * argp/Makefile: Likewise.
15768 * inet/Makefile: Likewise.
15769 * hesiod/Makefile: Likewise.
15770 * grp/Makefile: Likewise.
15771 * csu/Makefile: Likewise.
15772 * wctype/Makefile: Likewise.
15773 * crypt/Makefile: Likewise.
15774 * libio/Makefile: Likewise.
15775 * string/Makefile: Likewise.
15776 * nis/Makefile: Likewise.
15777 * resolv/Makefile: Likewise.
15778 * stdio-common/Makefile: Likewise.
15779 * wcsmbs/Makefile: Likewise.
15780 * dlfcn/Makefile: Likewise.
15781 * posix/Makefile: Likewise.
15782
3b7c4e74 15783 [BZ #6959]
482ff4da
UD
15784 * timezone/Makefile: Don't install timezone files, just the programs
15785 and scripts.
15786
f72ed77d
UD
157872012-03-06 Ulrich Drepper <drepper@gmail.com>
15788
a000466f
UD
15789 * nss/databases.def: Add missing gshadow entry.
15790
f72ed77d
UD
15791 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
15792
a53b7a4e
MP
157932012-03-06 Marek Polacek <polacek@redhat.com>
15794
15795 [BZ #13726]
15796 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
15797 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
15798 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
15799 * stdio-common/tst-long-dbl-fphex.c: New file.
15800
e9258400
DM
158012012-03-06 David S. Miller <davem@davemloft.net>
15802
15803 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
15804 (set_obp_int): New function.
15805 (get_obp_int): New function.
15806 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
15807 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
15808 Avoid unused variable warnings on 'val' and use builtin_expect.
15809 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
15810 __builtin_expect.
e9258400
DM
15811 (INLINE_CLONE_SYSCALL): Likewise.
15812
3bd2c723
DM
158132012-03-05 David S. Miller <davem@davemloft.net>
15814
15815 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15816
bbb78d03
AS
158172012-03-05 Andreas Schwab <schwab@linux-m68k.org>
15818
884c5db4
AS
15819 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15820
bbb78d03
AS
15821 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
15822 only for |x| >= 40.
15823 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
15824
1c9f702a 158252012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
15826
15827 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
15828 Replace gettimeofday with __vdso_gettimeofday.
15829
7be16f82
RM
15830 * sysdeps/unix/sysv/linux/x86_64/init-first.c
15831 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
15832 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
15833
15834 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
15835 time with __vdso_time.
15836
ed58a00f
JM
158372012-03-05 Joseph Myers <joseph@codesourcery.com>
15838
15839 * manual/lang.texi (size_t): Note types to which size_t may be
15840 equivalent with the GNU C Library, but do not describe when
15841 differences between them are significant.
15842
30ee4ced
AJ
158432012-03-05 Andreas Jaeger <aj@suse.de>
15844
15845 * sysdeps/i386/fpu/libm-test-ulps: Update.
15846
b7cd39e8
JM
158472012-03-05 Joseph Myers <joseph@codesourcery.com>
15848
15849 [BZ #3976]
15850 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
15851 (__ieee754_pow): Save and restore rounding mode and use
15852 round-to-nearest for main computations.
15853 * math/libm-test.inc (pow_test_tonearest): New function.
15854 (pow_test_towardzero): Likewise.
15855 (pow_test_downward): Likewise.
15856 (pow_test_upward): Likewise.
15857 (main): Call the new functions.
15858 * sysdeps/i386/fpu/libm-test-ulps: Update.
15859 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
15860
15861 [BZ #3976]
15862 * math/libm-test.inc (cosh_test_tonearest): New function.
15863 (cosh_test_towardzero): Likewise.
15864 (cosh_test_downward): Likewise.
15865 (cosh_test_upward): Likewise.
15866 (sinh_test_tonearest): Likewise.
15867 (sinh_test_towardzero): Likewise.
15868 (sinh_test_downward): Likewise.
15869 (sinh_test_upward): Likewise.
15870 (main): Call the new functions.
15871 * sysdeps/i386/fpu/libm-test-ulps: Update.
15872 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15873
6c6a98c9
TV
158742012-03-05 Tom de Vries <tom@codesourcery.com>
15875
15876 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
15877 default stack guard is set in last bytes.
15878 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
15879
21bb2d2e 158802012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 15881
21bb2d2e 15882 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 15883
21bb2d2e
AJ
15884 [BZ #13656]
15885 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
15886 possibly allocate from heap instead of stack.
15887 * stdio-common/bug-vfprintf-nargs.c: New file.
15888 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 15889
c6922934
AS
158902012-03-03 Andreas Schwab <schwab@linux-m68k.org>
15891
15892 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15893
bc957d53
MP
158942012-03-03 Marek Polacek <polacek@redhat.com>
15895
15896 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
15897 * math/math_private.h: Likewise.
15898 * stdlib/tst-strtod.c: Likewise.
15899 * sysdeps/i386/i486/bits/atomic.h: Likewise.
15900 * sysdeps/x86_64/bits/atomic.h: Likewise.
15901
6358490d
DM
159022012-03-02 David S. Miller <davem@davemloft.net>
15903
15904 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
15905 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
15906 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
15907 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
15908 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
15909 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
15910 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
15911 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
15912
01ae168d
RM
159132012-03-02 Roland McGrath <roland@hack.frob.com>
15914
d9a17c07
RM
15915 [BZ #13792]
15916 * manual/examples/README: New file, says the example source files
15917 can be used under GPL>=2.
15918 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
15919 line containing just "*/".
15920 * manual/examples/add.c: Add copyright header (GPL>=2).
15921 * manual/examples/argp-ex1.c: Likewise.
15922 * manual/examples/argp-ex2.c: Likewise.
15923 * manual/examples/argp-ex3.c: Likewise.
15924 * manual/examples/argp-ex4.c: Likewise.
15925 * manual/examples/atexit.c: Likewise.
15926 * manual/examples/db.c: Likewise.
15927 * manual/examples/dir.c: Likewise.
15928 * manual/examples/dir2.c: Likewise.
15929 * manual/examples/execinfo.c: Likewise.
15930 * manual/examples/filecli.c: Likewise.
15931 * manual/examples/filesrv.c: Likewise.
15932 * manual/examples/fmtmsgexpl.c: Likewise.
15933 * manual/examples/genpass.c: Likewise.
15934 * manual/examples/inetcli.c: Likewise.
15935 * manual/examples/inetsrv.c: Likewise.
15936 * manual/examples/isockad.c: Likewise.
15937 * manual/examples/longopt.c: Likewise.
15938 * manual/examples/memopen.c: Likewise.
15939 * manual/examples/memstrm.c: Likewise.
15940 * manual/examples/mkfsock.c: Likewise.
15941 * manual/examples/mkisock.c: Likewise.
15942 * manual/examples/mygetpass.c: Likewise.
15943 * manual/examples/pipe.c: Likewise.
15944 * manual/examples/popen.c: Likewise.
15945 * manual/examples/rprintf.c: Likewise.
15946 * manual/examples/search.c: Likewise.
15947 * manual/examples/select.c: Likewise.
15948 * manual/examples/setjmp.c: Likewise.
15949 * manual/examples/sigh1.c: Likewise.
15950 * manual/examples/sigusr.c: Likewise.
15951 * manual/examples/stpcpy.c: Likewise.
15952 * manual/examples/strdupa.c: Likewise.
15953 * manual/examples/strftim.c: Likewise.
15954 * manual/examples/strncat.c: Likewise.
15955 * manual/examples/subopt.c: Likewise.
15956 * manual/examples/swapcontext.c: Likewise.
15957 * manual/examples/termios.c: Likewise.
15958 * manual/examples/testopt.c: Likewise.
15959 * manual/examples/testpass.c: Likewise.
15960 * manual/examples/timeval_subtract.c: Likewise.
15961
01ae168d
RM
15962 [BZ #13792]
15963 * manual/time.texi (Elapsed Time): Move timeval_subtract example
15964 function to ...
15965 * manual/timeval_subtract.c.texi: ... here, new file.
15966
49efa33d
DM
159672012-03-02 David S. Miller <davem@davemloft.net>
15968
15969 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
15970
28afd92d
JM
159712012-03-02 Joseph Myers <joseph@codesourcery.com>
15972
804360ed
JM
15973 [BZ #3976]
15974 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
15975 (__sin): Save and restore rounding mode and use round-to-nearest
15976 for all computations.
15977 (__cos): Save and restore rounding mode and use round-to-nearest
15978 for all computations.
15979 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
15980 <fenv.h>.
15981 (tan): Save and restore rounding mode and use round-to-nearest for
15982 all computations.
15983 * math/libm-test.inc (cos_test_tonearest): New function.
15984 (cos_test_towardzero): Likewise.
15985 (cos_test_downward): Likewise.
15986 (cos_test_upward): Likewise.
15987 (sin_test_tonearest): Likewise.
15988 (sin_test_towardzero): Likewise.
15989 (sin_test_downward): Likewise.
15990 (sin_test_upward): Likewise.
15991 (tan_test_tonearest): Likewise.
15992 (tan_test_towardzero): Likewise.
15993 (tan_test_downward): Likewise.
15994 (tan_test_upward): Likewise.
15995 (main): Call the new functions.
15996 * sysdeps/i386/fpu/libm-test-ulps: Update.
15997 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15998
a6d06d7b
JM
15999 [BZ #10135]
16000 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
16001 small n, then large n, before computing and testing k+n.
16002 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
16003 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
16004 Likewise.
16005 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
16006 Likewise.
16007 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
16008 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
16009 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
16010 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
16011 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
16012 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
16013 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
16014 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
16015 * math/libm-test.inc (scalbn_test): Add more tests.
16016 (scalbln_test): Likewise.
16017
07e12bb3
JM
16018 * manual/filesys.texi (mode_t): Describe constraints on size and
16019 signedness, not exact equivalence to a particular type.
16020 (ino_t): Likewise.
16021 (ino64_t): Likewise.
16022 (dev_t): Likewise.
16023 (nlink_t): Likewise.
16024 (blkcnt_t): Likewise.
16025 (blkcnt64_t): Likewise.
16026 * manual/llio.texi (off_t): Likewise.
16027
28afd92d
JM
16028 [BZ #3976]
16029 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
16030 (__ieee754_exp): Save and restore rounding mode and use
16031 round-to-nearest for all computations.
16032 * math/libm-test.inc (exp_test_tonearest): New function.
16033 (exp_test_towardzero): Likewise.
16034 (exp_test_downward): Likewise.
16035 (exp_test_upward): Likewise.
16036 (main): Call the new functions.
16037 * sysdeps/i386/fpu/libm-test-ulps: Update.
16038 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16039
b1eeb65d
CD
160402012-03-01 Chris Demetriou <cgd@google.com>
16041
16042 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
16043 have predictable order.
16044
53362a4b
DM
160452012-03-01 David S. Miller <davem@davemloft.net>
16046
3c969083
DM
16047 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
16048
759707de
DM
16049 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
16050 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
16051 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
16052 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
16053
dfdb8ff2
DM
16054 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
16055 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
16056 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
16057 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
16058 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
16059 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
16060 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
16061 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
16062 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
16063
ead89f96
DM
16064 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16065
7f66bd07
DM
16066 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
16067 * sysdeps/sparc/fpu/libm-test-ulps: to here.
16068 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
16069
53362a4b
DM
16070 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
16071 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
16072 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
16073 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
16074 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
16075 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
16076 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
16077 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
16078 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
16079 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
16080 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
16081 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
16082 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
16083 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
16084 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
16085 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
16086 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
16087 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
16088 * sysdeps/sparc/elf/configure: Regenerated.
16089
7b1902cb
JM
160902012-03-01 Joseph Myers <joseph@codesourcery.com>
16091
bec039bc
JM
16092 * configure.in (AS, LD): Require binutils 2.20 or later.
16093 * configure: Regenerated.
16094 * manual/install.texi (Tools for Compilation): Give binutils 2.20
16095 as required minimum version.
16096 * INSTALL: Regenerated.
16097
7b1902cb
JM
16098 [BZ #2541]
16099 [BZ #4108]
16100 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
16101 before squaring exponent.
16102 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
16103 bottom long double and 27 bits of top long double before squaring
16104 exponent.
16105 * math/libm-test.inc (erfc_test): Add more tests.
16106 * sysdeps/i386/fpu/libm-test-ulps: Update.
16107 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16108 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16109
f775c276
KT
161102012-03-01 Kai Tietz <ktietz@redhat.com>
16111
16112 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
16113 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
16114 containing bit-fields.
16115 * soft-fp/extended.h (_FP_UNION_E): Likewise.
16116 * soft-fp/single.h (_FP_UNION_S): Likewise.
16117 * soft-fp/double.h (_FP_UNION_D): Likewise.
16118
5b8a4d4a
JM
161192012-02-29 Joseph Myers <joseph@codesourcery.com>
16120
0bab47b6
JM
16121 [BZ #13786]
16122 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
16123 not include ../strcmp.S.
16124 [USE_AS_STRNCASECMP_L]: Likewise.
16125 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
16126 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
16127 * sysdeps/i386/i686/multiarch/strncase_l-c.c
16128 (__strncasecmp_l_ia32): Define as alias to
16129 __strncasecmp_l_nonascii.
16130
0fcad3e2
JM
16131 [BZ #5794]
16132 * math/libm-test.inc (expm1_test): Add test for bug 5794.
16133 * sysdeps/i386/fpu/libm-test-ulps: Update.
16134 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16135
5b8a4d4a
JM
16136 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
16137 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16138
8fdceb2e
JL
161392012-02-29 Jeff Law <law@redhat.com>
16140
16141 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
16142 out of bounds read.
16143
1f393a11
MP
161442012-02-29 Marek Polacek <polacek@redhat.com>
16145
16146 [BZ #13706]
16147 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
16148 * elf/Makefile: Add rules to run tst-unused-dep.out.
16149
8847f037
DM
161502012-02-28 David S. Miller <davem@davemloft.net>
16151
16152 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
16153 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
16154 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
16155 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
16156 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
16157 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
16158
169d7f11
JM
161592012-02-29 Joseph Myers <joseph@codesourcery.com>
16160
16161 * math/libm-test.inc (llround_test): Move one test from
16162 lround_test. Use TEST_f_L in moved test.
16163 (lround_test): Move misplaced test to llround_test. Add testcase
16164 from bug 2561.
16165
39adf059
UD
161662012-02-28 Ulrich Drepper <drepper@gmail.com>
16167
16168 * sysdeps/x86_64/fpu/e_expf.S: New file.
16169 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
16170
71b5d1c5
SB
161712012-02-28 Stanislav Brabec <sbrabec@suse.cz>
16172
16173 [BZ #13637]
16174 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
16175 of remain_len that may cause incomplete multi-byte character and
16176 false match.
16177 * posix/bug-regex33.c: New file.
16178 * posix/Makefile (tests): Add bug-regex33.
16179
1f77f049
JM
161802012-02-28 Joseph Myers <joseph@codesourcery.com>
16181
16182 * manual/macros.texi: New file.
16183 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
16184 * manual/libc.texinfo: Include macros.texi.
16185 * manual/creatute.texi: Likewise.
16186 * manual/install.texi: Likewise.
16187 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
16188 @glibcadj{} in references to the GNU C Library.
16189 * manual/charset.texi: Likewise.
16190 * manual/conf.texi: Likewise.
16191 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
16192 when not using those macros.
16193 * manual/creature.texi: Likewise.
16194 * manual/crypt.texi: Likewise.
16195 * manual/errno.texi: Likewise.
16196 * manual/filesys.texi: Likewise.
16197 * manual/header.texi: Likewise.
16198 * manual/install.texi: Likewise.
16199 * manual/intro.texi: Likewise.
16200 * manual/io.texi: Likewise.
16201 * manual/job.texi: Likewise.
16202 * manual/lang.texi: Likewise.
16203 * manual/libc.texiinfo: Likewise.
16204 * manual/llio.texi: Likewise.
16205 * manual/locale.texi: Likewise.
16206 * manual/maint.texi: Likewise.
16207 * manual/math.texi: Likewise.
16208 * manual/memory.texi: Likewise.
16209 * manual/message.texi: Likewise.
16210 * manual/nss.texi: Likewise.
16211 * manual/pattern.texi: Likewise.
16212 * manual/process.texi: Likewise.
16213 * manual/resource.texi: Likewise.
16214 * manual/search.texi: Likewise.
16215 * manual/setjmp.texi: Likewise.
16216 * manual/signal.texi: Likewise.
16217 * manual/socket.texi: Likewise.
16218 * manual/startup.texi: Likewise.
16219 * manual/stdio.texi: Likewise.
16220 * manual/string.texi: Likewise.
16221 * manual/sysinfo.texi: Likewise.
16222 * manual/syslog.texi: Likewise.
16223 * manual/terminal.texi: Likewise.
16224 * manual/time.texi: Likewise.
16225 * manual/users.texi: Likewise.
16226 * INSTALL: Regenerated.
16227 * NOTES: Regenerated.
d40c5d54 16228 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 16229
450bf206
AS
162302012-02-28 Andreas Schwab <schwab@linux-m68k.org>
16231
16232 * include/dirent.h: Include <dirstream.h> before
16233 <dirent/dirent.h>.
16234
741a235b
DM
162352012-02-28 David S. Miller <davem@davemloft.net>
16236
16237 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
16238 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
16239 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
16240 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
16241
d6b5aa58
DM
162422012-02-27 David S. Miller <davem@davemloft.net>
16243
1aff59a3
DM
16244 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
16245 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
16246 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
16247 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
16248
d6b5aa58
DM
16249 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
16250 frame pointer instead of stack pointer relative arg slot.
16251 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
16252 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
16253 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
16254
433f48bf
CD
162552012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
16256
16257 [BZ #3992]
16258 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
16259
d674b76d
DM
162602012-02-27 David S. Miller <davem@davemloft.net>
16261
16262 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
16263 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
16264 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
16265 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
16266 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
16267 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
16268 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
16269 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
16270
0e7727f7
JM
162712012-02-27 Joseph Myers <joseph@codesourcery.com>
16272
16273 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
16274 later. Allow versions 5-9.
43be4ca2 16275 * configure: Regenerated.
0e7727f7
JM
16276 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
16277 required minimum version and 4.6 as recommended version. Do not
16278 mention bugs in GCC 2.7 and 2.8.
43be4ca2 16279 * INSTALL: Regenerated.
0e7727f7 16280
a78bc654
DM
162812012-02-27 David S. Miller <davem@davemloft.net>
16282
428d5830
DM
16283 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
16284 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
16285 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
16286 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
16287 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
16288 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
16289 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
16290 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
16291
a78bc654
DM
16292 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
16293 manipulate bits before adding and subtracting TWO112[sx].
16294 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
16295
4579f81c
RM
162962012-02-27 Roland McGrath <roland@hack.frob.com>
16297
36c8acb4
RM
16298 [BZ #13775]
16299 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
16300 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
16301 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
16302 being in POSIX, because they are in 1003.1-2008.
16303
84ad622b
RM
16304 * rt/tst-aio.c: Include <fcntl.h>.
16305 * rt/tst-aio7.c: Likewise.
16306 * rt/tst-aio64.c: Likewise.
16307
4579f81c
RM
16308 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
16309
abd923db
JM
163102012-02-27 Joseph Myers <joseph@codesourcery.com>
16311
16312 * manual/install.texi (--with-headers): Describe headers as
16313 interface headers, not private headers.
16314 (Specific advice for GNU/Linux systems): Describe use of headers
16315 from "make headers_install", not private headers from older
16316 kernels.
43be4ca2 16317 * INSTALL: Regenerated.
abd923db
JM
16318 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
16319 Change to 2.6.19.
16320 * sysdeps/unix/sysv/linux/configure: Regenerated.
16321
6664049b
JM
16322 * manual/llio.texi (fclean): Remove documentation.
16323
bb8b6697
JM
16324 * manual/Makefile (libc-texi-generated): New variable. Include
16325 version.texi.
16326 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
16327 $(libc-texi-generated), not duplicated list of files.
16328 (version.texi, stamp-version): New rules.
16329 (realclean): Remove $(libc-texi-generated), not individual files
16330 from that list. Do not remove dir-add.texinfo.
16331 * manual/libc.texinfo: Comment out uses of edition numbers and
16332 references to printed manual. Remove last-updated dates.
16333 (EDITION): Comment out.
16334 (ISBN): Likewise.
16335 (VERSION, UPDATED): Remove.
16336 (version.texi): Include.
16337
12e5c3b9
AS
163382012-02-27 Andreas Schwab <schwab@linux-m68k.org>
16339
16340 * sysdeps/posix/spawni.c: Include <signal.h>.
16341 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
16342 * sysdeps/pthread/aio_fsync.c: Likewise.
16343
4efeffc1 163442012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 16345
ba63ba08
UD
16346 * conform/Makefile (tests): Run only when not cross-compiling and
16347 when fast-check is not defined.
16348
d94a4670
UD
16349 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
16350 * conform/data/limits.h-data: Fixes for POSIX2008.
16351 * conform/run-conformtest.sh: Run all tests.
16352 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
16353 headers.
16354 * include/bits/dlfcn.h: Likewise.
16355 * include/langinfo.h: Likewise.
16356 * include/monetary.h: Likewise.
16357 * include/sys/poll.h: Likewise.
16358
16359 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
16360 for __USE_GNU.
16361 * posix/spawn.h: Define __need_sigset_t.
16362 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
16363 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
16364 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
16365 to get sigevent_t only.
16366 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
16367 only for __USE_GNU.
16368 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
16369 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
16370 process_vm_writev only for __USE_GNU.
16371 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
16372
16373 * conform/Makefile: For now ignore errors from run-conformtest.
16374 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
16375 POSIX to avoid namespace pollution. Don't prepend headers.
16376 * conform/data/aio.h-data: Fixes for POSIX testing.
16377 * conform/data/fcntl.h-data: Likewise.
16378 * conform/data/glob.h-data: Likewise.
16379 * conform/data/grp.h-data: Likewise.
16380 * conform/data/pthread.h-data: Likewise.
16381 * conform/data/pwd.h-data: Likewise.
16382 * conform/data/signal.h-data: Likewise.
16383 * conform/data/spawn.h-data: Likewise.
16384 * conform/data/stdio.h-data: Likewise.
16385 * conform/data/stdlib.h-data: Likewise.
16386 * conform/data/stropts.h-data: Likewise.
16387 * conform/data/sys/mman.h-data: Likewise.
16388 * conform/data/sys/stat.h-data: Likewise.
16389 * conform/data/sys/types.h-data: Likewise.
16390 * conform/data/sys/wait.h-data: Likewise.
16391 * conform/data/time.h-data: Likewise.
16392 * conform/data/unistd.h-data: Likewise.
16393 * conform/data/utime.h-data: Likewise.
16394
16395 * io/sys/stat.h: fchmod was always in POSIX.
16396 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
16397 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
16398 * rt/aio.h: Define __need_timespec before including <time.h>.
16399 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
16400 struct. Add forward declaration of pthread_attr_t and use it in
16401 sigevent.
16402 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
16403 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
16404 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
16405 always remove CLK_TCK definition.
16406
c20105c3
AS
164072012-02-26 Andreas Schwab <schwab@linux-m68k.org>
16408
16409 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
16410
7a270350
UD
164112012-02-25 Ulrich Drepper <drepper@gmail.com>
16412
31341567
UD
16413 * conform/run-conformtest.sh: New file.
16414 * conform/Makefile: Run run-conformtest for tests.
16415 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
16416 support.
16417
16418 * conform/data/uchar.h-data: New file.
16419 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
16420 * conform/data/arpa/inet.h-data: Likewise.
16421 * conform/data/assert.h-data: Likewise.
16422 * conform/data/complex.h-data: Likewise.
16423 * conform/data/cpio.h-data: Likewise.
16424 * conform/data/ctype.h-data: Likewise.
16425 * conform/data/dirent.h-data: Likewise.
16426 * conform/data/dlfcn.h-data: Likewise.
16427 * conform/data/errno.h-data: Likewise.
16428 * conform/data/fcntl.h-data: Likewise.
16429 * conform/data/float.h-data: Likewise.
16430 * conform/data/fmtmsg.h-data: Likewise.
16431 * conform/data/fnmatch.h-data: Likewise.
16432 * conform/data/ftw.h-data: Likewise.
16433 * conform/data/glob.h-data: Likewise.
16434 * conform/data/grp.h-data: Likewise.
16435 * conform/data/iconv.h-data: Likewise.
16436 * conform/data/inttypes.h-data: Likewise.
16437 * conform/data/langinfo.h-data: Likewise.
16438 * conform/data/libgen.h-data: Likewise.
16439 * conform/data/limits.h-data: Likewise.
16440 * conform/data/locale.h-data: Likewise.
16441 * conform/data/math.h-data: Likewise.
16442 * conform/data/monetary.h-data: Likewise.
16443 * conform/data/mqueue.h-data: Likewise.
16444 * conform/data/ndbm.h-data: Likewise.
16445 * conform/data/net/if.h-data: Likewise.
16446 * conform/data/netdb.h-data: Likewise.
16447 * conform/data/netinet/in.h-data: Likewise.
16448 * conform/data/nl_types.h-data: Likewise.
16449 * conform/data/poll.h-data: Likewise.
16450 * conform/data/pthread.h-data: Likewise.
16451 * conform/data/pwd.h-data: Likewise.
16452 * conform/data/regex.h-data: Likewise.
16453 * conform/data/sched.h-data: Likewise.
16454 * conform/data/search.h-data: Likewise.
16455 * conform/data/semaphore.h-data: Likewise.
16456 * conform/data/setjmp.h-data: Likewise.
16457 * conform/data/signal.h-data: Likewise.
16458 * conform/data/spawn.h-data: Likewise.
16459 * conform/data/stdarg.h-data: Likewise.
16460 * conform/data/stdio.h-data: Likewise.
16461 * conform/data/stdlib.h-data: Likewise.
16462 * conform/data/string.h-data: Likewise.
16463 * conform/data/strings.h-data: Likewise.
16464 * conform/data/stropts.h-data: Likewise.
16465 * conform/data/sys/ipc.h-data: Likewise.
16466 * conform/data/sys/mman.h-data: Likewise.
16467 * conform/data/sys/msg.h-data: Likewise.
16468 * conform/data/sys/resource.h-data: Likewise.
16469 * conform/data/sys/select.h-data: Likewise.
16470 * conform/data/sys/sem.h-data: Likewise.
16471 * conform/data/sys/shm.h-data: Likewise.
16472 * conform/data/sys/socket.h-data: Likewise.
16473 * conform/data/sys/stat.h-data: Likewise.
16474 * conform/data/sys/statvfs.h-data: Likewise.
16475 * conform/data/sys/time.h-data: Likewise.
16476 * conform/data/sys/timeb.h-data: Likewise.
16477 * conform/data/sys/times.h-data: Likewise.
16478 * conform/data/sys/types.h-data: Likewise.
16479 * conform/data/sys/uio.h-data: Likewise.
16480 * conform/data/sys/un.h-data: Likewise.
16481 * conform/data/sys/utsname.h-data: Likewise.
16482 * conform/data/sys/wait.h-data: Likewise.
16483 * conform/data/syslog.h-data: Likewise.
16484 * conform/data/tar.h-data: Likewise.
16485 * conform/data/termios.h-data: Likewise.
16486 * conform/data/utime.h-data: Likewise.
16487 * conform/data/utmpx.h-data: Likewise.
16488 * conform/data/varargs.h-data: Likewise.
16489 * conform/data/wchar.h-data: Likewise.
16490 * conform/data/wctype.h-data: Likewise.
16491 * conform/data/wordexp.h-data: Likewise.
16492
16493 * include/stropts.h: New file.
16494 * include/uchar.h: New file.
16495 * include/aio.h: Changes to allow conformtest.pl to use the headers.
16496 * include/assert.h: Likewise.
16497 * include/ctype.h: Likewise.
16498 * include/dirent.h: Likewise.
16499 * include/dlfcn.h: Likewise.
16500 * include/fcntl.h: Likewise.
16501 * include/fnmatch.h: Likewise.
16502 * include/glob.h: Likewise.
16503 * include/grp.h: Likewise.
16504 * include/libio.h: Likewise.
16505 * include/locale.h: Likewise.
16506 * include/math.h: Likewise.
16507 * include/net/if.h: Likewise.
16508 * include/netdb.h: Likewise.
16509 * include/netinet/in.h: Likewise.
16510 * include/pthread.h: Likewise.
16511 * include/pwd.h: Likewise.
16512 * include/regex.h: Likewise.
16513 * include/sched.h: Likewise.
16514 * include/search.h: Likewise.
16515 * include/setjmp.h: Likewise.
16516 * include/signal.h: Likewise.
16517 * include/stdio.h: Likewise.
16518 * include/stdlib.h: Likewise.
16519 * include/string.h: Likewise.
16520 * include/sys/cdefs.h: Likewise.
16521 * include/sys/mman.h: Likewise.
16522 * include/sys/msg.h: Likewise.
16523 * include/sys/resource.h: Likewise.
16524 * include/sys/select.h: Likewise.
16525 * include/sys/socket.h: Likewise.
16526 * include/sys/stat.h: Likewise.
16527 * include/sys/statvfs.h: Likewise.
16528 * include/sys/time.h: Likewise.
16529 * include/sys/times.h: Likewise.
16530 * include/sys/uio.h: Likewise.
16531 * include/sys/utsname.h: Likewise.
16532 * include/sys/wait.h: Likewise.
16533 * include/termios.h: Likewise.
16534 * include/time.h: Likewise.
16535 * include/ulimit.h: Likewise.
16536 * include/unistd.h: Likewise.
16537 * include/utime.h: Likewise.
16538 * include/wchar.h: Likewise.
16539 * include/wctype.h: Likewise.
16540 * include/wordexp.h: Likewise.
16541
16542 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
16543
7a270350
UD
16544 * time/time.h: TIME_UTC must be a macro.
16545 Make timespec_get available for ISO C11 only as well.
16546
7724defc
UD
165472012-02-24 Ulrich Drepper <drepper@gmail.com>
16548
16549 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
16550 Reported by Peng Haitao <penght@cn.fujitsu.com>.
16551
6b1d1d46
JM
165522012-02-24 Joseph Myers <joseph@codesourcery.com>
16553
16554 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 16555
0f8bbd69
JM
165562012-02-24 Joseph Myers <joseph@codesourcery.com>
16557
16558 * manual/texinfo.tex: Update to version 2012-01-19.16.
16559
66ab80bc
JM
165602012-02-24 Joseph Myers <joseph@codesourcery.com>
16561
16562 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
16563
74981cc5
RM
165642012-02-24 Roland McGrath <roland@hack.frob.com>
16565
ee968201
RM
16566 [BZ #13738]
16567 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
16568 * manual/fdl-1.3.texi: New file.
16569 * manual/fdl-1.1.texi: File removed.
16570
74981cc5
RM
16571 [BZ #13738]
16572 * manual/libc.texinfo (FDL_VERSION): New @set.
16573 Use it for mention of FDL in cover text.
16574 (Documentation License): Use it in @include file name.
16575
7bb764bc
JM
165762012-02-22 Joseph Myers <joseph@codesourcery.com>
16577 Roland McGrath <roland@hack.frob.com>
16578
16579 [BZ #5461]
16580 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
16581 not LONG_LONG_MAX and LONG_LONG_MIN.
16582 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
16583 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
16584 name.
16585 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
16586
6cbeae47
JM
165872012-02-22 Joseph Myers <joseph@codesourcery.com>
16588
16589 [BZ #2547]
16590 [BZ #11365]
16591 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
16592 manipulate bits before adding and subtracting TWO23[sx].
16593 * math/libm-test.inc (nearbyint_test): Add more tests.
16594
fe45ce09
JM
165952012-02-22 Joseph Myers <joseph@codesourcery.com>
16596
16597 [BZ #2548]
16598 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
16599 bits before adding and subtracting TWO23[sx].
16600 * math/libm-test.inc (rint_test): Add more tests.
16601 (rint_test_tonearest): Likewise.
16602 (rint_test_towardzero): Likewise.
16603 (rint_test_downward): Likewise.
16604 (rint_test_upward: Likewise.
16605
ff3b3d82
JM
166062012-02-22 Joseph Myers <joseph@codesourcery.com>
16607
16608 [BZ #10110]
16609 * include/stdc-predef.h: New file. Extracted from features.h.
16610 * include/features.h: Include stdc-predef.h.
16611 * Makefile (headers): Add stdc-predef.h.
16612 * CONFORMANCE (Compiler limitations): Update.
16613
ef0aab35
JM
166142012-02-22 Joseph Myers <joseph@codesourcery.com>
16615
16616 * manual/libc.texinfo (VERSION, UPDATED): Revert.
16617
58639409
DM
166182012-02-21 David S. Miller <davem@davemloft.net>
16619
16620 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
16621 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
16622
c0e70b25
DM
166232012-02-20 David S. Miller <davem@davemloft.net>
16624
16625 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
16626 using a normal save/restore sequence, rather than allocating a
16627 dummy stack frame just to store a frame pointer and restore.
16628 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
16629
fb06851d
JM
166302012-02-21 Joseph Myers <joseph@codesourcery.com>
16631
16632 * manual/install.texi: Fix stray word in line-wrapped comment.
16633
7a8b71c3
DM
166342012-02-20 David S. Miller <davem@davemloft.net>
16635
d510c123
DM
16636 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
16637 both binutils and gcc support GOTDATA.
16638
0722d7c2
DM
16639 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
16640 "rd %pc" in the PIC register setup sequences.
16641
3d2b3019
DM
16642 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
16643 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
16644 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
16645 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
16646 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
16647 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
16648 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
16649 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
16650 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
16651 (SYSCALL_ERROR_HANDLER): Likewise.
16652 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
16653 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
16654 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
16655 (SYSCALL_ERROR_HANDLER): Likewise.
16656
c80098a9
DM
16657 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
16658 (HAVE_GCC_GOTDATA): New.
16659 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
16660 relocation support in both binutils and gcc.
16661 * sysdeps/sparc/elf/configure: Regenerate.
16662
3a2545a0
DM
16663 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
16664 * sysdeps/sparc/sparc32/elf/configure: Delete.
16665 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
16666 * sysdeps/sparc/sparc64/elf/configure: Delete.
16667 * sysdeps/sparc/elf/configure.in: New file.
16668 * sysdeps/sparc/elf/configure: Generate.
16669
7a8b71c3
DM
16670 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
16671 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
16672 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
16673 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
16674 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
16675
f1e86fca
JM
166762012-02-21 Joseph Myers <joseph@codesourcery.com>
16677
16678 * manual/install.texi: Do not mention specific glibc version
16679 numbers.
16680 * manual/libc.texinfo (VERSION, UPDATED): Update.
16681 (@copying): Use @copyright{} and range of years.
16682
0e7dfaef
JM
166832012-02-21 Joseph Myers <joseph@codesourcery.com>
16684
16685 [BZ #13695]
16686 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
16687 [crti.S not in sysdirs] (generated): Do not append.
16688 [crti.S not in sysdirs] (omit-deps): Likewise.
16689 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
16690 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
16691 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
16692 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
16693 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
16694 Likewise.
16695 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
16696 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
16697 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
16698 * csu/defs.awk: Remove file.
16699 * sysdeps/generic/initfini.c: Likewise.
16700 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
16701 variable.
16702 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
16703 Likewise.
16704
599af3ca
JM
167052012-02-20 Joseph Myers <joseph@codesourcery.com>
16706
16707 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
16708 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
16709 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
16710 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
16711 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
16712 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
16713 <bits/epoll.h>.
16714 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
16715 (__EPOLL_PACKED): Define to empty if not defined by
16716 <bits/epoll.h>.
16717 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
16718 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16719 bits/epoll.h.
16720
0e499750
JM
167212012-02-20 Joseph Myers <joseph@codesourcery.com>
16722
16723 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
16724 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
16725 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
16726 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
16727 <bits/timerfd.h>.
16728 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
16729 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16730 bits/timerfd.h.
16731
5ad91f6e
JM
167322012-02-20 Joseph Myers <joseph@codesourcery.com>
16733
16734 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
16735 in C locale.
16736 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16737 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
16738 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
16739 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16740
06b99b02
AJ
167412012-02-20 Aurelien Jarno <aurelien@aurel32.net>
16742
16743 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
16744 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
16745
7638c0fd
AS
167462012-02-19 Andreas Schwab <schwab@linux-m68k.org>
16747
16748 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
16749 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
16750 defined.
16751 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
16752 Likewise.
16753 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
16754 entry for 2.16.
16755
92221550
AJ
167562012-02-19 Aurelien Jarno <aurelien@aurel32.net>
16757
16758 * math/w_acos.c: Use non-signaling floating-point comparisons.
16759 * math/w_acosf.c: Likewise.
16760 * math/w_acosh.c: Likewise.
16761 * math/w_acoshf.c: Likewise.
16762 * math/w_acoshl.c: Likewise.
16763 * math/w_acosl.c: Likewise.
16764 * math/w_asin.c: Likewise.
16765 * math/w_asinf.c: Likewise.
16766 * math/w_asinl.c: Likewise.
16767 * math/w_atanh.c: Likewise.
16768 * math/w_atanhf.c: Likewise.
16769 * math/w_atanhl.c: Likewise.
16770 * math/w_exp2.c: Likewise.
16771 * math/w_exp2f.c: Likewise.
16772 * math/w_exp2l.c: Likewise.
16773 * math/w_j0.c: Likewise.
16774 * math/w_j0f.c: Likewise.
16775 * math/w_j0l.c: Likewise.
16776 * math/w_j1.c: Likewise.
16777 * math/w_j1f.c: Likewise.
16778 * math/w_j1l.c: Likewise.
16779 * math/w_jn.c: Likewise.
16780 * math/w_jnf.c: Likewise.
16781 * math/w_log.c: Likewise.
16782 * math/w_log10.c: Likewise.
16783 * math/w_log10f.c: Likewise.
16784 * math/w_log10l.c: Likewise.
16785 * math/w_log2.c: Likewise.
16786 * math/w_log2f.c: Likewise.
16787 * math/w_log2l.c: Likewise.
16788 * math/w_logf.c: Likewise.
16789 * math/w_logl.c: Likewise.
16790 * math/w_sqrt.c: Likewise.
16791 * math/w_sqrtf.c: Likewise.
16792 * math/w_sqrtl.c: Likewise.
16793 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
16794 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
16795 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
16796 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
16797 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
16798
ebaf36eb
JM
167992012-02-19 Joseph Myers <joseph@codesourcery.com>
16800
16801 [BZ #9739]
16802 * manual/string.texi (strnlen): Use correct parameter name in
16803 equivalent expression.
16804
71c254a6
JM
168052012-02-19 Joseph Myers <joseph@codesourcery.com>
16806
16807 [BZ #11174]
16808 * manual/users.texi (seteuid): Consistently use neweuid for
16809 argument name.
16810
16d2c631
JM
168112012-02-19 Joseph Myers <joseph@codesourcery.com>
16812
16813 [BZ #13704]
16814 * manual/nss.texi (Services in the NSS configuration): Correct
16815 list of services in example configuration file.
16816
cd837b09
NB
168172012-02-19 Nick Bowler <nbowler@draconx.ca>
16818
16819 [BZ #11322]
16820 * manual/arith.texi: Remove statements about negative zero
16821 behaving identically to zero.
16822
02c4bbad
JM
168232012-02-18 Joseph Myers <joseph@codesourcery.com>
16824
16825 [BZ #5993]
16826 * manual/install.texi: Do not document upgrading from libc5.
16827
366842e7
JM
168282012-02-18 Joseph Myers <joseph@codesourcery.com>
16829
16830 [BZ #4596]
16831 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
16832
dd54084d
DM
168332012-02-18 David S. Miller <davem@davemloft.net>
16834
16835 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
16836 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
16837 %o7 across the call.
16838 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
16839 instead.
16840 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
16841 SETUP_PIC_REG_LEAF.
16842 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
16843 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
16844 * sysdeps/sparc/crtn.S: Likewise.
16845
2bcc53a3
UD
168462012-02-17 Ulrich Drepper <drepper@gmail.com>
16847
16848 * aout/Makefile: Remove.
16849
09c093b5
RK
168502012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
16851
16852 [BZ #13058]
16853 * manual/examples/argp-ex1.c (main): Format definition in GNU
16854 style.
16855 * manual/examples/argp-ex2.c (main): Likewise.
16856 * manual/examples/argp-ex3.c (main): Likewise.
16857 * manual/examples/argp-ex4.c (main): Likewise.
16858 * manual/examples/longopt.c (main): Use new-style prototype
16859 definition.
16860 * manual/examples/strncat.c (main): Specify return type and use
16861 (void) for arguments.
16862 * manual/examples/subopt.c (main): Use char **argv argument.
16863
2ee633a2
JM
168642012-02-17 Joseph Myers <joseph@codesourcery.com>
16865
16866 [BZ #5077]
16867 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
16868 rounding modes.
16869
0520adde
FB
168702012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
16871
16872 [BZ #6907]
16873 * manual/string.texi (strchr): Change when strchrnul is
16874 recommended.
16875
3f4081cd
DGM
168762012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
16877
16878 [BZ #174]
16879 * manual/locale.texi (setlocale): Document LOCPATH.
16880
d1b10e78
JM
168812012-02-17 Joseph Myers <joseph@codesourcery.com>
16882
16883 [BZ #10210]
16884 * manual/process.texi (execle): Move @dots{} before last argument.
16885
79c6869c
PB
168862012-02-17 Paul Bolle <pebolle@tiscali.nl>
16887
16888 [BZ #12047]
16889 * manual/charset.texi (Generic Charset Conversion): Fix typo
16890 (LC_TYPE -> LC_CTYPE).
16891
cc6e48bc
NB
168922012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
16893
16894 [BZ #5805]
16895 * manual/arith.texi (scalbn): Use @var{} on parameter names.
16896 (scalbnf): Likewise.
16897 (scalbnl): Likewise.
16898 (scalbln): Likewise.
16899 (scalblnf): Likewise.
16900 (scalblnl): Likewise.
16901 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
16902 (vwarnx): Likewise.
16903 (verr): Likewise.
16904 (verrx): Likewise.
16905 * manual/filesys.texi (telldir): Use braces around return type.
16906 * manual/llio.texi (mmap): Add space after comma.
16907 (mmap64): Likewise.
16908 * manual/math.texi (jn): Use @var{} on parameter names.
16909 (jnf): Likewise.
16910 (jnl): Likewise.
16911 (yn): Likewise.
16912 (ynf): Likewise.
16913 (ynl): Likewise.
16914 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
16915 line.
16916 * manual/resource.texi (ulimit): Use @dots{} instead of literal
16917 "...".
16918 (sched_get_priority_min): Remove semicolon on @deftypefun line.
16919 (sched_get_priority_max): Likewise.
16920 * manual/signal.texi (sigvec): Add space after comma.
16921 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
16922 names.
16923 (if_indextoname): Likewise.
16924 (if_freenameindex): Likewise.
16925 (sendto): Use ',' instead of '.' in prototype.
16926 * manual/startup.texi (syscall): Use @dots{} instead of literal
16927 "...".
16928 * manual/stdio.texi (__fpending): Separate initial words of
16929 paragraph from @deftypefun line.
16930 * manual/syslog.texi (syslog): Use @dots{} instead of literal
16931 "...".
16932 (vsyslog): Use @var{} on parameter names.
16933 * manual/terminal.texi (stty): Use @var{} on parameter names.
16934 * manual/users.texi (getutmp): Use @var{} on parameter names.
16935 (getutmpx): Likewise.
16936
5b23062f
JM
169372012-02-17 Joseph Myers <joseph@codesourcery.com>
16938
16939 [BZ #6884]
16940 * manual/stdio.texi (fopen): Fix typos in description of
16941 ",ccs=STRING".
16942
8dee4833
AJ
169432012-02-17 Aurelien Jarno <aurelien@aurel32.net>
16944
16945 [BZ #4026]
16946 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
16947 get clock_id definition.
16948
9078ce93
TS
169492012-02-17 Thomas Schwinge <thomas@schwinge.name>
16950
16951 [BZ #4822]
16952 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
16953 (madvise): Cast every argument to void on its own.
16954
3835c55f
JM
169552012-02-17 Joseph Myers <joseph@codesourcery.com>
16956
16957 [BZ #9902]
16958 * manual/startup.texi (Exit Status): Fix typo.
16959
35c47e37
JM
169602012-02-17 Joseph Myers <joseph@codesourcery.com>
16961
16962 [BZ #10140]
16963 * manual/examples/argp-ex1.c: Include <stdlib.h>.
16964 * manual/examples/argp-ex2.c: Likewise.
16965 * manual/examples/argp-ex3.c: Likewise.
16966
e3b69ca7
RH
169672012-02-16 Richard Henderson <rth@redhat.com>
16968
16969 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
16970 * sysdeps/s390/s390-32/initfini.c: Remove.
16971 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
16972 * sysdeps/s390/s390-64/initfini.c: Remove.
16973
df83af67
KK
169742012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16975
16976 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
16977 compiler output for sysdeps/generic/initfini.c.
16978 * sysdeps/sh/elf/initfini.c: Remove file.
16979
f63f3380
DM
169802012-02-16 David S. Miller <davem@davemloft.net>
16981
fb59b3a4
DM
16982 [BZ #11494]
16983 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
16984
f63f3380
DM
16985 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
16986 * sysdeps/sparc/crti.S: New file.
16987 * sysdeps/sparc/crtn.S: New file.
16988 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
16989 * sysdeps/sparc/sparc64/Makefile: Likewise.
16990
df6a4a4a
MF
169912012-02-15 Mike Frysinger <vapier@gentoo.org>
16992
6dd8f3dc 16993 [BZ #3335]
df6a4a4a
MF
16994 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
16995
1cac7236
RM
169962012-02-15 Roland McGrath <roland@hack.frob.com>
16997
d2c736f8
RM
16998 [BZ #4822]
16999 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
17000
1cac7236
RM
17001 * mach/devstream.c (cookie_io_functions_t): Macro removed.
17002 (write, read, close): Likewise.
17003 Patch by Aurelien Jarno <aurelien@aurel32.net>.
17004
8e475601
JM
170052012-02-15 Joseph Myers <joseph@codesourcery.com>
17006
17007 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
17008 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
17009 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
17010 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
17011 <bits/signalfd.h>.
17012 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
17013 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17014 bits/signalfd.h.
17015
ed656b40
MP
170162012-02-14 Marek Polacek <polacek@redhat.com>
17017
17018 * sysdeps/x86_64/crti.S: New file.
17019 * sysdeps/x86_64/crtn.S: New file.
17020 * sysdeps/x86_64/elf/initfini.c: Remove file.
17021
2a979d3a
JM
170222012-02-13 Joseph Myers <joseph@codesourcery.com>
17023
17024 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
17025 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
17026 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
17027 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
17028 <bits/inotify.h>.
17029 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
17030 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17031 bits/inotify.h.
17032
2a418ac3
JM
170332012-02-13 Joseph Myers <joseph@codesourcery.com>
17034
17035 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
17036 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
17037 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
17038 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
17039 <bits/eventfd.h>.
17040 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
17041 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17042 bits/eventfd.h.
17043
fb779be7
TS
170442012-02-10 Thomas Schwinge <thomas@codesourcery.com>
17045
e19e83c5
RM
17046 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
17047 __feraiseexcept instead of feraiseexcept.
7c35ffed 17048
fb779be7
TS
17049 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
17050 nanosleep invocations.
17051 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
17052 strings, and add error checking for a nanosleep invocations.
17053
59ba27a6
PE
170542012-02-09 Paul Eggert <eggert@cs.ucla.edu>
17055
17056 Replace FSF snail mail address with URLs, as per GNU coding standards.
17057 Most of the snail mail addresses were wrong anyway, and omitting
17058 them makes the source code easier to maintain. Almost all of the
17059 changes are to license notices and to locale LC_IDENTIFICATION
17060 addresses, except for this one:
17061 * manual/libc.texinfo: In "Published by", give the FSF's URL,
17062 not its snail mail address.
17063
57b957eb
RH
170642012-02-09 Richard Henderson <rth@twiddle.net>
17065
af850b1c
RH
17066 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
17067 of kernel-features.h.
17068
57b957eb
RH
17069 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
17070
6b73181a
MP
170712012-02-08 Marek Polacek <polacek@redhat.com>
17072
17073 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
17074 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
17075 * sysdeps/gnu/_G_config.h: Likewise.
17076 * sysdeps/generic/_G_config.h: Likewise.
17077
26ecc33a
AS
170782012-02-08 Andreas Schwab <schwab@linux-m68k.org>
17079
6c6dbc63
AS
17080 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
17081 tests.
17082 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17083
e216c012
AS
17084 * sysdeps/powerpc/powerpc32/crti.S: New file.
17085 * sysdeps/powerpc/powerpc32/crtn.S: New file.
17086 * sysdeps/powerpc/powerpc64/crti.S: New file.
17087 * sysdeps/powerpc/powerpc64/crtn.S: New file.
17088
26ecc33a
AS
17089 * Makeconfig (have-initfini): Don't set.
17090 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
17091 * configure.in (nopic_initfini): Don't substitute.
17092 * config.h.in (HAVE_INITFINI): Don't #undef.
17093 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
17094 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
17095
3add8e13
JM
170962012-02-08 Joseph Myers <joseph@codesourcery.com>
17097
17098 Support crti.S and crtn.S provided directly by architectures.
17099 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
17100 [crti.S in sysdirs] (omit-deps): Likewise.
17101 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
17102 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
17103 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
17104 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
17105 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
17106 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
17107 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
17108 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
17109 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
17110 compiler output for sysdeps/generic/initfini.c.
17111 * sysdeps/i386/elf/Makefile: Remove file.
17112 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
17113
a22f12b4
MP
171142012-02-07 Marek Polacek <polacek@redhat.com>
17115
17116 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
17117 * sysdeps/gnu/_G_config.h: Likewise.
17118 * sysdeps/mach/hurd/_G_config.h: Likewise.
17119
148cf100
MP
171202012-02-07 Marek Polacek <polacek@redhat.com>
17121
17122 * math/Makefile (tests): Add tst-CMPLX2.
17123 * math/tst-CMPLX2.c: New file.
17124
cfdc0dd7
AS
171252012-02-07 Andreas Schwab <schwab@linux-m68k.org>
17126
84ba42c4
AS
17127 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
17128
cfdc0dd7
AS
17129 * math/libm-test.inc (jn_test): Add missing L suffix.
17130
622c86f4
MP
171312012-02-06 Marek Polacek <polacek@redhat.com>
17132
17133 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
17134 * sysdeps/i386/fpu/e_powf.S: Likewise.
17135 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
17136 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
17137 * sysdeps/i386/fpu/e_acosh.S: Likewise.
17138 * sysdeps/i386/fpu/e_pow.S: Likewise.
17139 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
17140 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
17141 * sysdeps/i386/fpu/s_expm1.S: Likewise.
17142 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
17143 * sysdeps/i386/fpu/e_log2.S: Likewise.
17144 * sysdeps/i386/fpu/e_log2l.S: Likewise.
17145 * sysdeps/i386/fpu/e_scalb.S: Likewise.
17146 * sysdeps/i386/fpu/e_powl.S: Likewise.
17147 * sysdeps/i386/fpu/s_log1p.S: Likewise.
17148 * sysdeps/i386/fpu/e_log10f.S: Likewise.
17149 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
17150 * sysdeps/i386/fpu/e_logl.S: Likewise.
17151 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
17152 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
17153 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
17154 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
17155 * sysdeps/i386/fpu/e_log2f.S: Likewise.
17156 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
17157 * sysdeps/i386/fpu/e_log.S: Likewise.
17158 * sysdeps/i386/fpu/s_cexp.S: Likewise.
17159 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
17160 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
17161 * sysdeps/i386/fpu/e_logf.S: Likewise.
17162 * sysdeps/i386/fpu/e_log10l.S: Likewise.
17163 * sysdeps/i386/fpu/e_atanh.S: Likewise.
17164 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
17165 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
17166 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
17167 * sysdeps/i386/fpu/e_log10.S: Likewise.
17168 * sysdeps/i386/fpu/s_frexp.S: Likewise.
17169 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
17170 * sysdeps/i386/fpu/s_asinh.S: Likewise.
17171 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
17172 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
17173 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
17174 * sysdeps/i386/asm-syntax.h: Likewise.
17175 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
17176 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
17177 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
17178 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
17179 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
17180 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
17181 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
17182 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
17183 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
17184 * sysdeps/powerpc/sysdep.h: Likewise.
17185 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
17186 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
17187
d4a54ac6
JM
171882012-02-06 Joseph Myers <joseph@codesourcery.com>
17189
17190 [BZ #411]
17191 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
17192
314054ea
JM
171932012-02-06 Joseph Myers <joseph@codesourcery.com>
17194
17195 * sysdeps/i386/sysdep.h: Include <features.h>.
17196 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
17197 version.
17198
d8e0ca50
JM
171992012-02-05 Joseph Myers <joseph@codesourcery.com>
17200
17201 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
17202 Define.
17203 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
17204 LOAD_PIC_REG_STR.
17205
b1da7dd9
JM
172062012-02-03 Joseph Myers <joseph@codesourcery.com>
17207
17208 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
17209 (SETUP_PIC_REG): Use GET_PC_THUNK.
17210 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
17211 macro.
17212
9a1d9254
JM
172132012-02-03 Joseph Myers <joseph@codesourcery.com>
17214
17215 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
17216 for non-PIC compilation.
17217 (SETUP_PIC_REG): Add .p2align directive.
17218 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
17219 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
17220 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
17221 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
17222 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
17223 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
17224 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
17225 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
17226 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
17227 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
17228 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
17229 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
17230 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
17231 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
17232 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
17233 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
17234 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
17235 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
17236 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
17237 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
17238 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
17239 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
17240 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
17241 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
17242 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
17243 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
17244 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
17245 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
17246 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
17247 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
17248 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
17249 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
17250 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
17251 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
17252 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
17253 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
17254 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
17255 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
17256 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
17257 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
17258 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
17259
65dc3b75
JM
172602012-02-03 Joseph Myers <joseph@codesourcery.com>
17261
17262 * math/tst-CMPLX.c: Include <stdio.h>.
17263
d55bf177
JM
172642012-01-31 Joseph Myers <joseph@codesourcery.com>
17265
17266 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
17267 float.
17268 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
17269 * sysdeps/sparc/bits/mathdef.h: Likewise.
17270
69db4f8f
MP
172712012-01-31 Marek Polacek <polacek@redhat.com>
17272
17273 * libio/libio.h: Don't define _PARAMS.
17274 * locale/programs/config.h: Don't define PARAMS.
17275 * stdlib/strtol_l.c: Likewise.
17276 (__strtol_l): Remove PARAMS from the prototype.
17277
41b81892
UD
172782012-01-31 Ulrich Drepper <drepper@gmail.com>
17279
3b49edc0
UD
17280 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
17281 names. Just use the correct names. Remove unnecessary wrapper
17282 functions.
17283 * malloc/arena.c: Likewise.
17284 * malloc/hooks.c: Likewise.
17285
41b81892
UD
17286 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
17287 ARENA_TEST says not to. Simplify test for creation of a new arena.
17288 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
17289
27a25b6e
UD
172902012-01-30 Ulrich Drepper <drepper@gmail.com>
17291
17292 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
17293 into tail calls.
17294 (update_get_addr): New function.
17295 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
17296 GET_ADDR_MODULE parameter.
17297
c8a89e7d
JM
172982012-01-30 Joseph Myers <joseph@codesourcery.com>
17299
17300 * crypt/cert.c: Remove __STDC__ conditionals.
17301 * crypt/crypt-entry.c: Likewise.
17302 * crypt/crypt_util.c: Likewise.
17303 * libio/filedoalloc.c: Likewise.
17304 * libio/fileops.c: Likewise.
17305 * libio/genops.c: Likewise.
17306 * libio/iofclose.c: Likewise.
17307 * libio/iofdopen.c: Likewise.
17308 * libio/iofopen.c: Likewise.
17309 * libio/iofopen64.c: Likewise.
17310 * libio/iogetdelim.c: Likewise.
17311 * libio/iopopen.c: Likewise.
17312 * libio/obprintf.c: Likewise.
17313 * libio/oldfileops.c: Likewise.
17314 * libio/oldiofclose.c: Likewise.
17315 * libio/oldiofdopen.c: Likewise.
17316 * libio/oldiofopen.c: Likewise.
17317 * libio/oldiopopen.c: Likewise.
17318 * libio/wfiledoalloc.c: Likewise.
17319 * libio/wgenops.c: Likewise.
17320 * locale/programs/xmalloc.c: Likewise.
17321 * misc/syslog.c: Likewise.
17322 * stdio-common/xbug.c: Likewise.
17323 * string/memchr.c: Likewise.
17324 * string/memcmp.c: Likewise.
17325 * string/memrchr.c: Likewise.
17326 * string/rawmemchr.c: Likewise.
17327 * sysdeps/posix/getcwd.c: Likewise.
17328 * time/strftime_l.c: Likewise.
17329
3b100462
JM
173302012-01-30 Joseph Myers <joseph@codesourcery.com>
17331
17332 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
17333 * config.make.in (config-cflags-sse2avx): Define.
17334 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
17335 Fix typo.
17336
607998af
CM
173372012-01-29 Chris Metcalf <cmetcalf@tilera.com>
17338
17339 * scripts/config.guess: Update from upstream config git repository.
17340 * scripts/config.sub: Likewise.
17341
3601428f
CM
173422012-01-28 Chris Metcalf <cmetcalf@tilera.com>
17343
3ac8b282
CM
17344 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
17345 (EM_NUM): Update.
17346 (R_TILEPRO_*, R_TILEGX_*): New macros.
17347
e034841e
CM
17348 * scripts/firstversions.awk: Fix bug in version range handling.
17349
540d7568
CM
17350 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
17351
3601428f
CM
17352 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
17353
463de862
CM
17354 * include/sys/epoll.h: New file.
17355 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
17356 libc_hidden_def.
17357
73139a76
UD
173582012-01-28 Ulrich Drepper <drepper@gmail.com>
17359
96bc5b45
UD
17360 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
17361 Avoid unnecessary __WORDSIZE == 64 test.
17362 (fmaxf): Use VEX format if possible.
17363 (fmax): Likewise.
17364 (fminf): Likewise.
17365 (fmin): Likewise.
17366
56f6f6a2
UD
17367 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
17368 * math/math_private.h: Remove libc_fegetround* and
17369 libc_fesetround*.
17370 * sysdeps/i386/configure.in: Check for -msse2avx.
17371 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
17372 also if SSE2AVX is defined.
17373 Remove libc_fegetround* and libc_fesetround*.
17374 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
17375 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
17376 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
17377 of HAS_YMM_USABLE.
17378 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
17379 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
17380 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
17381 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
17382 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
17383
73139a76
UD
17384 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
17385
d73f93a4
AZ
173862012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17387
17388 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
17389 size is not set.
17390 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
17391
6ee65ed6
UD
173922012-01-27 Ulrich Drepper <drepper@gmail.com>
17393
17394 [BZ #13618]
17395 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
17396 relocation.
17397 * Makeconfig (libm): Define.
17398 * elf/Makefile: Add rules to build and run tst-relsort1.
17399 * elf/tst-relsort1.c: New file.
17400 * elf/tst-relsort1mod1.c: New file.
17401 * elf/tst-relsort1mod2.c: New file.
17402
8db21882
JM
174032012-01-27 Joseph Myers <joseph@codesourcery.com>
17404
17405 * math/s_ldexp.c: Remove __STDC__ conditionals.
17406 * math/s_ldexpf.c: Likewise.
17407 * math/s_ldexpl.c: Likewise.
17408 * math/s_nextafter.c: Likewise.
17409 * math/s_nexttowardf.c: Likewise.
17410 * math/s_significand.c: Likewise.
17411 * math/s_significandf.c: Likewise.
17412 * math/s_significandl.c: Likewise.
17413 * math/w_jnl.c: Likewise.
17414 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
17415 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
17416 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
17417 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
17418 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
17419 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
17420 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
17421 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
17422 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
17423 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
17424 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
17425 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17426 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
17427 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
17428 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
17429 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
17430 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
17431 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
17432 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
17433 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
17434 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
17435 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
17436 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
17437 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
17438 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
17439 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
17440 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
17441 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
17442 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
17443 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
17444 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
17445 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
17446 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
17447 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
17448 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
17449 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
17450 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
17451 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
17452 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
17453 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
17454 * sysdeps/ieee754/k_standard.c: Likewise.
17455 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
17456 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
17457 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
17458 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
17459 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
17460 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
17461 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
17462 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
17463 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
17464 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
17465 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
17466 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
17467 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
17468 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
17469 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
17470 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
17471 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
17472 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
17473 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
17474 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
17475 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
17476 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
17477 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
17478 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
17479 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
17480 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
17481 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
17482 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
17483 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
17484 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
17485 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
17486 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
17487 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
17488 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
17489 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
17490 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
17491 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
17492 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
17493 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
17494 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
17495 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
17496 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
17497 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
17498 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
17499 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
17500 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
17501 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
17502 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
17503 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
17504 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
17505 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
17506 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
17507 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
17508 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
17509 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
17510 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
17511 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
17512 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
17513 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
17514 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
17515 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
17516 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
17517 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
17518 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
17519 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
17520 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
17521 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
17522 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
17523 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
17524 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
17525 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
17526 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
17527 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
17528 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
17529 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
17530 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
17531 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
17532 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
17533 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
17534 * sysdeps/ieee754/s_matherr.c: Likewise.
17535 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
17536 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
17537 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
17538 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
17539
965a54a4
JM
175402012-01-26 Joseph Myers <joseph@codesourcery.com>
17541
17542 * crypt/md5.h: Remove __STDC__ conditionals.
17543 * libio/libioP.h: Likewise.
17544 * locale/programs/config.h: Likewise.
17545 * sysdeps/generic/sysdep.h: Likewise.
17546 * sysdeps/i386/asm-syntax.h: Likewise.
17547 * sysdeps/s390/asm-syntax.h: Likewise.
17548 * sysdeps/unix/sysdep.h: Likewise.
17549 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
17550 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
17551
7071ad79
JM
175522012-01-26 Joseph Myers <joseph@codesourcery.com>
17553
17554 * libio/libio.h: Remove __STDC__ conditionals.
17555 * malloc/obstack.h: Likewise.
17556 * math/complex.h: Likewise.
17557 * math/math.h: Likewise.
17558 * sysdeps/generic/_G_config.h: Likewise.
17559 * sysdeps/gnu/_G_config.h: Likewise.
17560 * sysdeps/mach/hurd/_G_config.h: Likewise.
17561 * sysdeps/powerpc/bits/mathdef.h: Likewise.
17562 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
17563 * sysdeps/sparc/bits/mathdef.h: Likewise.
17564
afc5ed09
UD
175652012-01-26 Ulrich Drepper <drepper@gmail.com>
17566
17567 [BZ #13583]
17568 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 17569 Clean up HAS_* macros.
afc5ed09 17570 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
17571 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
17572 possible.
17573 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
17574 HAS_AVX.
17575 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
17576 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
17577 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
17578 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
17579 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 17580
bdb6de1d
JM
175812012-01-25 Joseph Myers <joseph@codesourcery.com>
17582
17583 * elf/tst-unique3.cc (gets): Remove declaration.
17584 * elf/tst-unique3lib.cc (gets): Likewise.
17585 * elf/tst-unique3lib2.cc (gets): Likewise.
17586 * elf/tst-unique4.cc (gets): Likewise.
17587
b15549e6
UD
175882012-01-24 Ulrich Drepper <drepper@gmail.com>
17589
17590 * include/stdio.h: Add C++ protection. Add gets declarations and
17591 definitions.
17592 * debug/tst-chk1.c: Don't declare gets here.
17593 * stdio-common/tst-gets.c: Likewise.
17594
a037381f
JM
175952012-01-24 Joseph Myers <joseph@codesourcery.com>
17596
17597 * posix/glob: Remove directory.
17598
f1d4aa75
JM
175992012-01-24 Joseph Myers <joseph@codesourcery.com>
17600
17601 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
17602
81c0c964
PT
176032012-01-22 Pino Toscano <toscano.pino@tiscali.it>
17604
17605 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
17606 of the non-standard EPFNOSUPPORT.
17607
0ea698ae
ST
176082011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
17609
17610 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
17611 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
17612 ANYWHERE set to 1 only on KERN_NO_SPACE error.
17613
d220b117
UD
176142012-01-21 Ulrich Drepper <drepper@gmail.com>
17615
17616 * wcsmbs/uchar.h: Test __STDC_VERSION__.
17617
3e1aa84e
UD
176182012-01-20 Ulrich Drepper <drepper@gmail.com>
17619
17620 * nscd/aicache.c (addhstaiX): Do not cache negative results of
17621 transient errors.
17622 * nscd/grpcache.c (cache_addgr): Likewise.
17623 * nscd/hstcache.c (cache_addhst): Likewise.
17624 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17625 * nscd/pwdcache.c (cache_addpw): Likewise.
17626 * nscd/servicescache.c (cache_addserv): Likewise.
17627
400aa020
UD
176282012-01-16 Ulrich Drepper <drepper@gmail.com>
17629
d77e7869
UD
17630 * malloc/malloc.c: Various cleanups.
17631 * malloc/hooks.c: Likewise.
17632
400aa020
UD
17633 * stdlib/Makefile (tests): Add bug-fmtmsg1.
17634 * stdlib/bug-fmtmsg1.c: New file.
17635
17636 * stdlib/fmtmsg.c (init): Add missing unlock.
17637 Patch by Peng Haitao <penght@cn.fujitsu.com>.
17638
e0a309cf
MP
176392012-01-12 Marek Polacek <polacek@redhat.com>
17640
17641 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
17642 and _GNU_SOURCE.
17643
929d11c7
WS
176442012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
17645
17646 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
17647 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
17648 macro to ensure uniqueness of label name.
17649 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
17650 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
17651
41d0e869
UD
176522012-01-11 Ulrich Drepper <drepper@gmail.com>
17653
0cc5ed3b
UD
17654 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
17655
41d0e869
UD
17656 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
17657 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
17658 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
17659 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
17660
a47a831a
UD
176612012-01-10 Ulrich Drepper <drepper@gmail.com>
17662
daa891c0
UD
17663 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
17664
17665 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
17666 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
17667 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
17668
e58ef0f2
UD
17669 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
17670
a47a831a 17671 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
17672 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
17673 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 17674 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
17675
17676 * math/bits/math-finite.h: Add ldexp support.
17677
a0bfc9c7
MP
176782012-01-10 Marek Polacek <polacek@redhat.com>
17679
17680 * locale/programs/localedef.h (show_archive_content): Add noreturn
17681 attribute.
17682
d6e97a1d
UD
176832012-01-09 Ulrich Drepper <drepper@gmail.com>
17684
17685 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
17686
d5835c26
UD
176872012-01-08 Ulrich Drepper <drepper@gmail.com>
17688
e5f484c6
UD
17689 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
17690
d5835c26
UD
17691 * io/Makefile (headers): Add bits/poll2.h.
17692
d1f741e9
WS
176932011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
17694
17695 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
17696 typo #include statement.
17697
ec09c1c4
UD
176982012-01-08 Ulrich Drepper <drepper@gmail.com>
17699
17700 * include/sys/cdefs.h: Define __attribute_alloc_size.
17701 * catgets/gencat.c: Add alloc_size attribute and apply consistently
17702 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
17703 * elf/pldd.c: Likewise.
17704 * iconv/iconv_charmap.c: Likewise.
17705 * iconv/iconvconfig.c: Likewise.
17706 * iconv/strtab.c: Likewise.
17707 * locale/programs/locale.c: Likewise.
17708 * locale/programs/localedef.h: Likewise.
17709 * locale/programs/simple-hash.c: Likewise.
17710 * nscd/nscd.h: Likewise.
17711 * nss/makedb.c: Likewise.
17712 * sysdeps/generic/ldconfig.h: Likewise.
17713 * locale/programs/localedef.c: Remove xmalloc prototype.
17714 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
17715
20b38e03
PP
177162012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
17717
17718 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
17719 appropriate.
17720
a0da5fe1
UD
177212012-01-08 Ulrich Drepper <drepper@gmail.com>
17722
1d5a644a 17723 * math/Makefile (tests): Add tst-CMPLX.
669704fd 17724 * math/tst-CMPLX.c: New file.
1d5a644a 17725
8784a6db
UD
17726 * math/complex.h (CMPLXL): Fix typo.
17727
d9a216c0
UD
17728 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
17729 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
17730 GLIBC_2.16.
17731 * debug/tst-chk1.c: Add poll and ppoll tests.
17732 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
17733 * include/sys/poll.h: Add hidden proto for ppoll.
17734 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
17735 * sysdeps/mach/hurd/ppoll.c: Likewise.
17736 * io/ppoll.c: Likewise.
17737 * debug/poll_chk.c: New file.
17738 * debug/ppoll_chk.c: New file.
17739 * include/bits/poll2.h: New file.
17740 * io/bits/poll2.h: New file.
17741
ac097f5c
UD
17742 [BZ #1350]
17743 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
17744
2119dcfa
UD
17745 * configure.in: static is always set to yes. Remove.
17746 * config.make.in: Don't set build-static.
17747 * Makeconfig: Remove use of build-static.
17748 * dlfcn/Makefile: Likewise.
17749 * elf/Makefile: Likewise.
17750 * math/Makefile: Likewise.
17751 * misc/Makefile: Likewise.
17752 * nptl/Makefile: Likewise.
17753 * sysdeps/mach/hurd/Makefile: Likewise.
17754
121766a9
UD
17755 * configure.in: PWD_P is not used anymore.
17756 * config.make.in: Remove PWD_P entry.
17757
51a1d39c 17758 * configure.in: Remove last remnants of RANLIB.
8720d066 17759 No need to check for signed size_t anymore.
215f4bdc
UD
17760 Don't set libc_commonpagesize and libc_relro_required here for Alpha
17761 and IA-64.
3857022a 17762 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
17763 * aclocal.m4: Likewise.
17764
d3ed7225
UD
17765 * wcsmbs/mbrtoc16.c: Implement using towc function.
17766 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
17767 * wcsmbs/wcsmbsload.c: Likewise.
17768 * iconv/gconv_simple.c: Likewise.
17769 * iconv/gconv_int.h: Likewise.
17770 * iconv/gconv_builtin.h: Likewise.
17771 * iconv/iconv_prog.c: Remove CHAR16 handling.
17772
17773 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
17774
17775 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
17776
a0da5fe1
UD
17777 * configure.in: Remove --with-elf and --enable-bounded options.
17778 Dont set base_machine for ia64. More non-ELF conditions removed.
17779 Remove testing and setting of leading underscore information.
17780 * config.make.in (build-bounded): Set to no.
17781 * config.h.in: Remove NO_UNDERSCORES entry.
17782 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
17783 them.
17784 * csu/start.c: Remove !NO_UNDERSCORE code.
17785 * locale/localeinfo.h: Likewise.
17786 * sysdeps/generic/machine-gmon.h: Likewise.
17787 * sysdeps/generic/sysdep.h: Likewise.
17788 * sysdeps/i386/sysdep.h: Likewise.
17789 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
17790 * sysdeps/mach/sysdep.h: Likewise.
17791 * sysdeps/s390/s390-32/sysdep.h: Likewise.
17792 * sysdeps/s390/s390-64/sysdep.h: Likewise.
17793 * sysdeps/sh/sysdep.h: Likewise.
17794 * sysdeps/sparc/sparc32/alloca.S: Likewise.
17795 * sysdeps/unix/i386/sysdep.S: Likewise.
17796 * sysdeps/unix/sparc/start.c: Likewise.
17797 * sysdeps/unix/sparc/sysdep.S: Likewise.
17798 * sysdeps/unix/sparc/sysdep.h: Likewise.
17799 * sysdeps/unix/start.c: Likewise.
17800 * sysdeps/unix/x86_64/sysdep.S: Likewise.
17801 * sysdeps/x86_64/sysdep.h: Likewise.
17802
df78418a
UD
178032012-01-07 Ulrich Drepper <drepper@gmail.com>
17804
a784e502
UD
17805 [BZ #13553]
17806 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
17807 for non-gcc.
17808 * argp/argp-fmtstream.h: Use const instead __const.
17809 * argp/argp.h: Likewise.
17810 * assert/assert.h: Likewise.
17811 * bits/fenv.h: Likewise.
17812 * bits/sched.h: Likewise.
17813 * bits/sigset.h: Likewise.
17814 * bits/sigthread.h: Likewise.
17815 * catgets/nl_types.h: Likewise.
17816 * conform/data/pthread.h-data: Likewise.
17817 * crypt/crypt-private.h: Likewise.
17818 * crypt/crypt.h: Likewise.
17819 * crypt/crypt_util.c: Likewise.
17820 * ctype/ctype.h: Likewise.
17821 * debug/execinfo.h: Likewise.
17822 * debug/mbsnrtowcs_chk.c: Likewise.
17823 * debug/mbsrtowcs_chk.c: Likewise.
17824 * debug/wcsnrtombs_chk.c: Likewise.
17825 * debug/wcsrtombs_chk.c: Likewise.
17826 * debug/wcstombs_chk.c: Likewise.
17827 * dirent/dirent.h: Likewise.
17828 * dlfcn/dlfcn.h: Likewise.
17829 * elf/neededtest4.c: Likewise.
17830 * grp/grp.h: Likewise.
17831 * gshadow/gshadow.h: Likewise.
17832 * iconv/gconv.h: Likewise.
17833 * iconv/gconv_int.h: Likewise.
17834 * iconv/gconv_simple.c: Likewise.
17835 * iconv/iconv.h: Likewise.
17836 * iconv/loop.c: Likewise.
17837 * iconv/skeleton.c: Likewise.
17838 * include/aio.h: Likewise.
17839 * include/aliases.h: Likewise.
17840 * include/argz.h: Likewise.
17841 * include/arpa/inet.h: Likewise.
17842 * include/assert.h: Likewise.
17843 * include/dirent.h: Likewise.
17844 * include/dlfcn.h: Likewise.
17845 * include/execinfo.h: Likewise.
17846 * include/fcntl.h: Likewise.
17847 * include/fenv.h: Likewise.
17848 * include/glob.h: Likewise.
17849 * include/grp.h: Likewise.
17850 * include/libintl.h: Likewise.
17851 * include/mntent.h: Likewise.
17852 * include/netdb.h: Likewise.
17853 * include/pwd.h: Likewise.
17854 * include/rpc/netdb.h: Likewise.
17855 * include/sched.h: Likewise.
17856 * include/search.h: Likewise.
17857 * include/shadow.h: Likewise.
17858 * include/signal.h: Likewise.
17859 * include/stdio.h: Likewise.
17860 * include/stdlib.h: Likewise.
17861 * include/string.h: Likewise.
17862 * include/sys/socket.h: Likewise.
17863 * include/sys/stat.h: Likewise.
17864 * include/sys/statfs.h: Likewise.
17865 * include/sys/statvfs.h: Likewise.
17866 * include/sys/syslog.h: Likewise.
17867 * include/sys/time.h: Likewise.
17868 * include/sys/uio.h: Likewise.
17869 * include/time.h: Likewise.
17870 * include/unistd.h: Likewise.
17871 * include/utmp.h: Likewise.
17872 * include/wchar.h: Likewise.
17873 * include/wctype.h: Likewise.
17874 * inet/aliases.h: Likewise.
17875 * inet/arpa/inet.h: Likewise.
17876 * inet/netinet/ether.h: Likewise.
17877 * inet/netinet/in.h: Likewise.
17878 * intl/libintl.h: Likewise.
17879 * io/bits/fcntl2.h: Likewise.
17880 * io/fcntl.h: Likewise.
17881 * io/ftw.h: Likewise.
17882 * io/sys/poll.h: Likewise.
17883 * io/sys/stat.h: Likewise.
17884 * io/sys/statfs.h: Likewise.
17885 * io/sys/statvfs.h: Likewise.
17886 * io/utime.h: Likewise.
17887 * libio/bits/stdio.h: Likewise.
17888 * libio/bits/stdio2.h: Likewise.
17889 * libio/libio.h: Likewise.
17890 * libio/libioP.h: Likewise.
17891 * libio/stdio.h: Likewise.
17892 * locale/lc-ctype.c: Likewise.
17893 * locale/locale.h: Likewise.
17894 * login/utmp.h: Likewise.
17895 * malloc/arena.c: Likewise.
17896 * malloc/malloc.c: Likewise.
17897 * malloc/malloc.h: Likewise.
17898 * malloc/mcheck.c: Likewise.
17899 * malloc/mtrace.c: Likewise.
17900 * math/bits/mathcalls.h: Likewise.
17901 * math/fenv.h: Likewise.
17902 * math/math_private.h: Likewise.
17903 * misc/bits/error.h: Likewise.
17904 * misc/bits/syslog.h: Likewise.
17905 * misc/err.h: Likewise.
17906 * misc/error.h: Likewise.
17907 * misc/fstab.h: Likewise.
17908 * misc/mntent.h: Likewise.
17909 * misc/regexp.h: Likewise.
17910 * misc/search.h: Likewise.
17911 * misc/sgtty.h: Likewise.
17912 * misc/sys/mman.h: Likewise.
17913 * misc/sys/syslog.h: Likewise.
17914 * misc/sys/uio.h: Likewise.
17915 * misc/sys/xattr.h: Likewise.
17916 * misc/ttyent.h: Likewise.
17917 * nis/rpcsvc/ypclnt.h: Likewise.
17918 * nss/nss.h: Likewise.
17919 * posix/bits/unistd.h: Likewise.
17920 * posix/fnmatch.h: Likewise.
17921 * posix/glob.h: Likewise.
17922 * posix/sched.h: Likewise.
17923 * posix/spawn.h: Likewise.
17924 * posix/sys/wait.h: Likewise.
17925 * posix/unistd.h: Likewise.
17926 * posix/wordexp.h: Likewise.
17927 * pwd/pwd.h: Likewise.
17928 * resolv/netdb.h: Likewise.
17929 * resource/sys/resource.h: Likewise.
17930 * rt/aio.h: Likewise.
17931 * rt/bits/mqueue2.h: Likewise.
17932 * rt/mqueue.h: Likewise.
17933 * shadow/shadow.h: Likewise.
17934 * signal/signal.h: Likewise.
17935 * socket/send.c: Likewise.
17936 * socket/sendto.c: Likewise.
17937 * socket/sys/socket.h: Likewise.
17938 * stdio-common/printf.h: Likewise.
17939 * stdlib/bits/stdlib.h: Likewise.
17940 * stdlib/fmtmsg.h: Likewise.
17941 * stdlib/monetary.h: Likewise.
17942 * stdlib/stdlib.h: Likewise.
17943 * stdlib/ucontext.h: Likewise.
17944 * streams/stropts.h: Likewise.
17945 * string/argz.h: Likewise.
17946 * string/bits/string2.h: Likewise.
17947 * string/string.h: Likewise.
17948 * string/strings.h: Likewise.
17949 * sunrpc/rpc/auth.h: Likewise.
17950 * sunrpc/rpc/auth_des.h: Likewise.
17951 * sunrpc/rpc/clnt.h: Likewise.
17952 * sunrpc/rpc/netdb.h: Likewise.
17953 * sunrpc/rpc/pmap_clnt.h: Likewise.
17954 * sunrpc/rpc/xdr.h: Likewise.
17955 * sysdeps/generic/inttypes.h: Likewise.
17956 * sysdeps/generic/net/if.h: Likewise.
17957 * sysdeps/generic/sys/swap.h: Likewise.
17958 * sysdeps/gnu/net/if.h: Likewise.
17959 * sysdeps/gnu/utmpx.h: Likewise.
17960 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
17961 * sysdeps/i386/i486/bits/string.h: Likewise.
17962 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
17963 * sysdeps/s390/bits/string.h: Likewise.
17964 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
17965 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
17966 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
17967 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
17968 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
17969 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
17970 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
17971 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
17972 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
17973 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
17974 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
17975 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
17976 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
17977 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
17978 * sysdeps/unix/sysv/linux/readv.c: Likewise.
17979 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
17980 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
17981 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
17982 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
17983 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
17984 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
17985 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
17986 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
17987 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
17988 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
17989 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
17990 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
17991 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
17992 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
17993 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
17994 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
17995 * sysvipc/sys/ipc.h: Likewise.
17996 * sysvipc/sys/msg.h: Likewise.
17997 * sysvipc/sys/sem.h: Likewise.
17998 * sysvipc/sys/shm.h: Likewise.
17999 * termios/termios.h: Likewise.
18000 * time/sys/time.h: Likewise.
18001 * time/time.h: Likewise.
18002 * wcsmbs/bits/wchar2.h: Likewise.
18003 * wcsmbs/uchar.h: Likewise.
18004 * wcsmbs/wchar.h: Likewise.
18005 * wctype/wctype.h: Likewise.
18006
0269750c
UD
18007 [BZ #13551]
18008 * Makeconfig: Remove all but ELF support including AIX support.
18009 * Makerules: Likewise.
18010 * config.h.in: Likewise.
18011 * config.make.in: Likewise.
18012 * configure: Likewise.
18013 * configure.in: Likewise.
18014 * csu/Makefile: Likewise.
18015 * csu/version.c: Likewise.
18016 * debug/Makefile: Likewise.
18017 * dlfcn/Makefile: Likewise.
18018 * elf/Makefile: Likewise.
18019 * extra-lib.mk: Likewise.
18020 * iconv/Makefile: Likewise.
18021 * include/libc-symbols.h: Likewise.
18022 * include/shlib-compat.h: Likewise.
18023 * resolv/Makefile: Likewise.
18024 * resolv/res_libc.c: Likewise.
18025 * rt/Makefile: Likewise.
18026 * sysdeps/i386/asm-syntax.h: Likewise.
18027 * sysdeps/i386/sysdep.h: Likewise.
18028 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
18029 * sysdeps/mach/sysdep.h: Likewise.
18030 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
18031 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
18032 * sysdeps/s390/asm-syntax.h: Likewise.
18033 * sysdeps/s390/s390-32/sysdep.h: Likewise.
18034 * sysdeps/s390/s390-64/sysdep.h: Likewise.
18035 * sysdeps/sh/sysdep.h: Likewise.
18036 * sysdeps/unix/sparc/sysdep.h: Likewise.
18037 * sysdeps/wordsize-32/divdi3.c: Likewise.
18038 * sysdeps/x86_64/sysdep.h: Likewise.
18039
00bbd29b
UD
18040 * argp/Versions: Remove _argp_unlock_xxx.
18041
18042 [BZ #13559]
18043 * abilist/ld.abilist: Update. Adjust for removal of tls option.
18044 * abilist/libBrokenLocale.abilist: Likewise.
18045 * abilist/libanl.abilist: Likewise.
18046 * abilist/libc.abilist: Likewise.
18047 * abilist/libcrypt.abilist: Likewise.
18048 * abilist/libdl.abilist: Likewise.
18049 * abilist/libm.abilist: Likewise.
18050 * abilist/libnsl.abilist: Likewise.
18051 * abilist/libpthread.abilist: Likewise.
18052 * abilist/libresolv.abilist: Likewise.
18053 * abilist/librt.abilist: Likewise.
18054 * abilist/libthread_db.abilist: Likewise.
18055 * abilist/libutil.abilist: Likewise.
18056 * abilist/libnss_db.abilist: New file.
18057
18058 * scripts/abilist.awk: Add support for indirect functions.
18059
a2693a0e
UD
18060 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
18061
3f05895f
UD
18062 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
18063
ecb6fb48
UD
18064 * shlib-versions: Remove entries for ports architectures.
18065
664f8cb9
UD
18066 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
18067 files in ports.
18068 * elf/stackguard-macros.h: Remove support for IA-64.
18069 * elf/tst-auditmod1.c: Likewise.
18070 * sysdeps/generic/ldsodefs.h: Likewise.
18071
7ae81d88
UD
18072 * sysdeps/unix/sysv/linux/configure.in: Ports should define
18073 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
18074 configure files.
18075
bdeba135
UD
18076 [BZ #13552]
18077 * configure.in: Remove --enable-omitfp support.
18078 * FAQ.in: Adjust.
18079 * config.make.in: Likewise.
18080 * Makeconfig: Likewise.
18081 * manual/install.texi: Likewise.
18082
d75a0a62
UD
18083 In case anyone cares, the IA-64 architecture could move to ports.
18084 * sysdeps/ia64/*: Removed.
18085 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 18086 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 18087
dcc9756b
UD
18088 [BZ #13555]
18089 * configure.in: Remove entries for unsupported architectures.
18090
d3761ebc 18091 [BZ #13533]
9954432e
UD
18092 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
18093 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
18094 routines.
18095 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
18096 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
18097 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
18098 fall back to using wcrtomb.
18099 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
18100 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
18101 renaming.
18102 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
18103 * wcsmbs/tst-c16c32-1.c: New file.
18104
18105 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
18106 local variable.
18107
c3a87236
UD
18108 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
18109
28926a1b
UD
18110 * elf/tst-unique3.cc: Add explicit declaration of gets.
18111 * elf/tst-unique3lib.cc: Likewise.
18112 * elf/tst-unique3lib2.cc: Likewise.
18113 * elf/tst-unique4.cc: Likewise.
18114
df78418a
UD
18115 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
18116
8ecd6b2a
JM
181172012-01-06 Joseph Myers <joseph@codesourcery.com>
18118
18119 [BZ #13566]
18120 * assert/assert.h (static_assert): Don't define for C++.
18121 * libio/stdio.h (gets): Do declare for C++ <= C++11.
18122 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
18123
9f115170
UD
181242012-01-03 Ulrich Drepper <drepper@gmail.com>
18125
5e0d0300
UD
18126 * iconv/loop.c (single loop): Fix assertion in storing of
18127 remaining bytes.
18128
9f115170
UD
18129 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
18130
81fb02b0
UD
181312012-01-01 Ulrich Drepper <drepper@gmail.com>
18132
18133 * posix/getconf.c: Update copyright year.
18134 * nss/getent.c: Likewise.
a316c1f6 18135 * nss/makedb.c: Likewise.
81fb02b0
UD
18136 * iconv/iconvconfig.c: Likewise.
18137 * iconv/iconv_prog.c: Likewise.
18138 * elf/ldconfig.c: Likewise.
a316c1f6
UD
18139 * elf/pldd.c: Likewise.
18140 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
18141 * catgets/gencat.c: Likewise.
18142 * csu/version.c: Likewise.
18143 * elf/ldd.bash.in: Likewise.
18144 * elf/sprof.c (print_version): Likewise.
18145 * locale/programs/locale.c: Likewise.
18146 * locale/programs/localedef.c: Likewise.
a316c1f6 18147 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
18148 * nscd/nscd.c (print_version): Likewise.
18149 * debug/xtrace.sh: Likewise.
18150 * malloc/memusage.sh: Likewise.
18151 * malloc/mtrace.pl: Likewise.
18152 * debug/catchsegv.sh: Likewise.
18153
2ba92745
JJ
181542011-12-30 Jakub Jelinek <jakub@redhat.com>
18155
18156 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
18157 pure attribute.
18158
dadebdae
UD
181592011-12-24 Ulrich Drepper <drepper@gmail.com>
18160
d3761ebc 18161 [BZ #13533]
db6af3eb
UD
18162 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
18163 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
18164 transformations.
18165 * iconv/gconv_int.h: Likewise.
18166 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
18167 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
18168 from libc for GLIBC_2.16.
18169 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
18170 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
18171 * wcsmbs/uchar.h: Really define mbstate_t.
18172 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
18173 * wcsmbs/c16rtomb.c: New file.
18174 * wcsmbs/mbrtoc16.c: New file.
18175 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
18176 for C/POSIX locale.
18177 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
18178 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
18179
dadebdae
UD
18180 * wcsmbs/wchar.h: Add missing __restrict.
18181
67371b56
UD
181822011-12-23 Ulrich Drepper <drepper@gmail.com>
18183
74033a25
UD
18184 [BZ #13532]
18185 * time/Makefile (routines): Add timespec_get.
18186 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
18187 * time/time.h: Define TIME_UTC and declare timespec_get. Define
18188 timespec for ISO C11.
18189 * time/timespec_get.c: New file.
18190 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
18191 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
18192
380d7e87
UD
18193 [BZ #13531]
18194 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
18195 * stdlib/stdlib.h: Declare aligned_alloc.
18196 * Versions.def: Add GLIBC_2.16 for libc.
18197 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
18198
4e9e7a35
UD
18199 [BZ 13527]
18200 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
18201 ISO C11.
18202
380d7e87 18203 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
18204 code.
18205
03a71829
UD
18206 [BZ #13528]
18207 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
18208
839e283e
UD
18209 [BZ #13529]
18210 * assert/assert.h (static_assert): Define.
18211
ce5294e2 18212 * version.h: Update for 2.16 development version.
90fa7312 18213
8d44e150 18214 [BZ #13526]
d7809905
UD
18215 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
18216 _ISOC11_SOURCE.
18217
c0da14cd
UD
18218 * version.h (RELEASE): Bump for 2.15 release.
18219 * include/features.h (__GLIBC_MINOR__): Bump to 15.
18220
530a3249
MP
18221 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
18222 Patch by Marek Polacek <mpolacek@redhat.com>.
18223
67371b56
UD
18224 * bits/byteswap.h: Protect long long constants with __extension__.
18225 * sysdeps/i386/bits/byteswap.h: Likewise.
18226 * sysdeps/ia64/bits/byteswap.h: Likewise.
18227 * sysdeps/s390/bits/byteswap.h: Likewise.
18228 * sysdeps/x86_64/bits/byteswap.h: Likewise.
18229
15db4de1
LD
182302011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18231
18232 [BZ #13540]
bbe315ea
LD
18233 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
18234 destination buffer.
15db4de1
LD
18235 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
18236
2b2596b1
MP
182372011-12-23 Marek Polacek <polacek@redhat.com>
18238
18239 * elf/dl-addr.c (determine_info): Add inline keyword.
18240 * elf/tst-auditmod4b.c (check_avx): Likewise.
18241 * elf/tst-auditmod6b.c (check_avx): Likewise.
18242 * elf/tst-auditmod6c.c (check_avx): Likewise.
18243 * elf/tst-auditmod7b.c (check_avx): Likewise.
18244
70c6c246
UD
182452011-12-23 Ulrich Drepper <drepper@gmail.com>
18246
18247 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
18248 !__SSE_MATH__.
18249
c044cf14
LD
182502011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18251
15db4de1 18252 [BZ #13540]
c044cf14
LD
18253 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
18254 processing for last bytes.
18255
6b13d9d9
BH
182562011-08-06 Bruno Haible <bruno@clisp.org>
18257
d455f537
BH
18258 [BZ #13061]
18259 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
18260 U+0385, not to U+1FEE.
18261
6b13d9d9
BH
18262 [BZ #13062]
18263 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
18264 entry for U+00A5 U+0301.
18265
db910efd
UD
182662011-12-22 Ulrich Drepper <drepper@gmail.com>
18267
27deeafc
UD
18268 [BZ #13166]
18269 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
18270 buffer for the output is too small.
18271
aed9d171
UD
18272 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
18273 optimization.
18274
db910efd
UD
18275 [BZ #13185]
18276 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
18277 SSE flags if possible.
18278
2bd779ae
LD
182792011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18280
e7f9dac3 18281 [BZ #13540]
2bd779ae
LD
18282 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
18283 processing for last bytes.
18284
154bfc16
JM
182852011-12-22 Joseph Myers <joseph@codesourcery.com>
18286
18287 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
18288 (syscall-list-default-options, syscall-list-default-condition)
18289 (syscall-list-includes): Define.
18290 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
18291 list of ABIs and options and #if conditions for each ABI. Do not
18292 handle common syscalls between ABIs specially.
18293 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
18294 Remove.
18295 (syscall-list-variants, syscall-list-32bit-options)
18296 (syscall-list-32bit-condition, syscall-list-64bit-options)
18297 (syscall-list-64bit-condition): Define.
18298 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
18299 (syscall-list-variants, syscall-list-32bit-options)
18300 (syscall-list-32bit-condition, syscall-list-64bit-options)
18301 (syscall-list-64bit-condition): Define.
18302 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
18303 Remove.
18304 (syscall-list-variants, syscall-list-32bit-options)
18305 (syscall-list-32bit-condition, syscall-list-64bit-options)
18306 (syscall-list-64bit-condition): Define.
18307 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
18308 Remove.
18309 (syscall-list-variants, syscall-list-32bit-options)
18310 (syscall-list-32bit-condition, syscall-list-64bit-options)
18311 (syscall-list-64bit-condition): Define.
18312
21eaf3a5
UD
183132011-12-22 Ulrich Drepper <drepper@gmail.com>
18314
16c6f992
UD
18315 * locale/iso-639.def: Add brx entry.
18316
41043168
UD
18317 [BZ #13328]
18318 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
18319 Proposed by Mariusz_Cukr <marcukr@op.pl>.
18320
21eaf3a5
UD
18321 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
18322 __feraiseexcept_renamed.
18323
e3a851a2
UD
183242011-12-21 Ulrich Drepper <drepper@gmail.com>
18325
4920765e
UD
18326 [BZ #13538]
18327 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
18328 EPOLLET with unsigned values.
18329 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
18330 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
18331
e3a851a2
UD
18332 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
18333 to large cancellation.
18334 * math/s_cacoshf.c: Likewise.
18335 * math/s_cacoshl.c: Likewise.
18336
b27e24b8
RK
183372011-11-18 Richard B. Kreckel <kreckel@ginac.de>
18338
18339 [BZ #13305]
aebefeee 18340 [BZ #12786]
b27e24b8
RK
18341 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
18342 * math/s_cacoshf.c: Likewise.
18343 * math/s_cacoshl.c: Likewise.
18344
ee190f67
UD
183452011-12-21 Ulrich Drepper <drepper@gmail.com>
18346
18347 [BZ #13439]
18348 * iconv/gconv.h: Define __GCONV_SWAP.
18349 * iconvdata/unicode.c: The swap bit must be stored in __flags.
18350 * iconvdata/utf-16.c: Likewise.
18351 * iconvdata/utf-32.c: Likewise.
18352
707f25df
AS
183532011-12-21 Andreas Schwab <schwab@linux-m68k.org>
18354
18355 [BZ #13524]
18356 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
18357 numerator after shifting it by one limb.
18358
d2daaa1e
RÁE
183592011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
18360
18361 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
18362 under [__USE_EXTERN_INLINES].
18363
a4647e72
UD
183642011-12-17 Ulrich Drepper <drepper@gmail.com>
18365
18366 [BZ #13446]
18367 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
18368
f0b264f1
AZ
183692011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18370
18371 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
18372 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
18373 optimized code.
18374 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
18375 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
18376 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
18377 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
18378 for strncasecmp/strncasecmp_l compilation.
18379 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
18380 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
18381
8ef4f244
MP
183822011-12-08 Marek Polacek <mpolacek@redhat.com>
18383
18384 [BZ #13484]
18385 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
18386 of __asm__.
18387
97ac2654
UD
183882011-12-17 Ulrich Drepper <drepper@gmail.com>
18389
18390 [BZ #13506]
18391 * time/tzfile.c (__tzfile_read): Check values from file header.
18392
91d2a845
WS
183932011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
18394
18395 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
18396 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
18397 * powerpc/powerpc32/dl-start.S: Likewise.
18398 * powerpc/powerpc32/elf/start.S: Likewise.
18399 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
18400 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
18401 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
18402 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
18403 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
18404 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
18405 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
18406 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
18407 * powerpc/powerpc32/fpu/s_round.S: Likewise.
18408 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
18409 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
18410 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
18411 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
18412 * powerpc/powerpc32/memset.S: Likewise.
18413 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
18414 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
18415 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
18416 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
18417 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
18418 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
18419 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
18420 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
18421 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
18422 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
18423 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
18424 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
18425 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
18426
a1267ba1
AZ
184272011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18428
18429 * math/libm-test.inc: Added more nearbyint tests.
18430 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
18431 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
18432 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
18433 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
18434
ad8ac1bd
RL
184352011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
18436
18437 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
18438 FD_CLOEXEC.
18439
1d3e4b61
UD
184402011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18441
18442 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
18443 Add wcscpy-ssse3 wcscpy-c.
18444 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
18445 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
18446 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
18447 * sysdeps/x86_64/wcschr.S: New file.
18448 * sysdeps/x86_64/wcsrchr.S: New file.
18449 * string/test-strcmp.c: Remove checking of wcscmp function for
18450 wrong alignments.
18451 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
18452 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
18453 wcsrchr-sse2 wcsrchr-c.
18454 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
18455 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
18456 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
18457 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
18458 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
18459 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
18460 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
18461 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
18462 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
18463 * wcsmbc/wcschr.c (WCSCHR): New macro.
18464
5b330a2d
UD
184652011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18466
18467 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
18468 * wcsmbs/test-wcsrchr.c: New file.
18469 * string/test-strrchr.c: Add wcsrchr support.
18470 (WIDE): New macro.
18471 * wcsmbs/test-wcscpy.c: New file.
18472 * string/test-strcpy.c: Add wcscpy support.
18473 (WIDE): New macro.
26428b7c 18474
f039c043
UD
184752011-12-10 Ulrich Drepper <drepper@gmail.com>
18476
18477 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
18478 the inner loop.
18479
850fb039
AS
184802011-12-06 Andreas Schwab <schwab@linux-m68k.org>
18481
18482 [BZ #13472]
18483 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
18484
4efbd5cb
UD
184852011-12-04 Ulrich Drepper <drepper@gmail.com>
18486
52ff5dd0 18487 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 18488 Minor optimizations.
52ff5dd0 18489
4efbd5cb
UD
18490 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
18491 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
18492 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
18493
8a426e12
UD
184942011-12-03 Ulrich Drepper <drepper@gmail.com>
18495
aff2453d
UD
18496 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
18497 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
18498 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
18499 for gcc to avoid warnings.
18500 * inet/Makefile (tests): Add tst-checks.
18501 * inet/tst-checks.c: New file.
18502
18503 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
18504 warning.
18505
18506 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
18507 __wmemcmp_sse2.
18508
18509 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
18510 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
18511
8a426e12
UD
18512 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
18513
9bea3473
UD
185142011-12-02 Ulrich Drepper <drepper@gmail.com>
18515
3a965496
UD
18516 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
18517 problem.
18518
9bea3473
UD
18519 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
18520
f101631b
UD
185212011-11-29 Joseph Myers <joseph@codesourcery.com>
18522
18523 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
18524 conditional on GCC version.
18525 (__arch_compare_and_exchange_val_8_acq)
18526 (__arch_compare_and_exchange_val_16_acq)
18527 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
18528 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
18529 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
18530
a98275aa
UD
185312011-12-02 Joseph Myers <joseph@codesourcery.com>
18532
18533 * sysdeps/sh/backtrace.c: New file.
18534
d4cc29a2
AS
185352011-12-02 Andreas Schwab <schwab@redhat.com>
18536
18537 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
18538 parenthesis.
18539
6257af2d
AS
185402011-12-01 Andreas Schwab <schwab@redhat.com>
18541
18542 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
18543 falling back to utime.
18544
b5f44c1a
AS
185452011-11-30 Andreas Schwab <schwab@redhat.com>
18546
18547 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
18548 expectations for float.
18549
f3a6cc0a
AS
185502011-11-29 Andreas Schwab <schwab@redhat.com>
18551
18552 * locale/weight.h (findidx): Add parameter len.
18553 * locale/weightwc.h (findidx): Likewise.
18554 * posix/fnmatch_loop.c (FCT): Adjust caller.
18555 * posix/regcomp.c (build_equiv_class): Likewise.
18556 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
18557 * posix/regexec.c (check_node_accept_bytes): Likewise.
18558 * string/strcoll_l.c (STRCOLL): Likewise.
18559 * string/strxfrm_l.c (STRXFRM): Likewise.
18560
9d65ea3a
UD
185612011-11-17 Ulrich Drepper <drepper@gmail.com>
18562
18563 * Makefile.in: Remove CVSOPT handling.
18564 * configure.in: Remove use of AC_REVISION.
18565 * iconvdata/Makefile (distribute): No need to filter out CVS.
18566 * scripts/list-sources.sh: Remove CVS, subversion and monotone
18567 handling.
18568
5583a086
AS
185692011-11-16 Andreas Schwab <schwab@redhat.com>
18570
18571 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
18572 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
18573 [USE_AS_STRNCASECMP_L]: Likewise.
18574 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
18575 NO_TLS_DIRECT_SEG_REFS.
18576 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
18577 Fix argument offsets for non-PIC.
18578 [USE_AS_STRNCASECMP_L]: Likewise.
18579 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
18580 NO_TLS_DIRECT_SEG_REFS.
18581
d62a8200
UD
185822011-11-15 Ulrich Drepper <drepper@gmail.com>
18583
9d65ea3a 18584 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
18585 O_CLOEXEC.
18586 * locale/loadlocale.c (_nl_load_locale): Likewise.
18587
09f93bd3
AS
185882011-11-15 Andreas Schwab <schwab@redhat.com>
18589
446514f9
AS
18590 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
18591 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
18592 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
18593 (SYSCALL_GETTIME): Set errno on error.
18594
09f93bd3
AS
18595 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
18596 count references to noai6ai_cached.
18597
312be3f9
UD
185982011-11-15 Ulrich Drepper <drepper@gmail.com>
18599
18600 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
18601
18602 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
18603 FD_CLOEXEC for /proc/self/maps.
18604
18605 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
18606 FD_CLOEXEC for /proc/meminfo.
18607
18608 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
18609 gai.conf.
18610
18611 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
18612 FD_CLOEXEC for given file.
18613
18614 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
18615
18616 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
18617 FD_CLOEXEC for /etc/hosts.
18618 (_gethtent): Likewise.
18619
18620 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
18621
18622 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
18623 cancellation and set FD_CLOEXEC for /etc/netgroup.
18624
18625 * nss/nss_files/files-key.c (search): Don't allow cancellation when
18626 reading /etc/publickey.
18627
18628 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
18629 allow cancellation when reading /etc/group.
18630
18631 * nss/nss_files/files-alias.c (internal_setent): Don't allow
18632 cancellation.
18633 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
18634
18635 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
18636 when using data file.
18637
18638 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
18639
18640 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
18641 (write_nis_obj): Use "c" and "e" in fopen.
18642
18643 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
18644
18645 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
18646
18647 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
18648
18649 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
18650
18651 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
18652 locale.alias.
18653
18654 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
18655
18656 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
18657
18658 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
18659
18660 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
18661 file parsing and set FD_CLOEXEC.
18662
82af0fa8
UD
186632011-11-14 Ulrich Drepper <drepper@gmail.com>
18664
18665 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
18666
a5fb313c
AS
186672011-11-14 Andreas Schwab <schwab@redhat.com>
18668
18669 * malloc/arena.c (arena_get2): Don't call reused_arena when
18670 _int_new_arena failed.
18671
6abf3465
UD
186722011-11-14 Ulrich Drepper <drepper@gmail.com>
18673
18674 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
18675 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
18676 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
18677 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
18678 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
18679 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
18680 to compile strcasecmp and strncasecmp.
18681 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
18682 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
18683
18684 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
18685
76e3966e
UD
186862011-11-13 Ulrich Drepper <drepper@gmail.com>
18687
18688 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
18689 locale-defines.sym to gen-as-const-headers.
18690 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
18691 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
18692 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
18693 to compile strcasecmp and strncasecmp.
18694 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
18695 strcasecmp_l and strncasecmp_l.
18696 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
18697 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
18698 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
18699 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
18700 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
18701 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
18702 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
18703 * sysdeps/i386/i686/multiarch/strncase.S: New file.
18704 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
18705 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
18706 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
18707
ab26144e
UD
187082011-11-12 Ulrich Drepper <drepper@gmail.com>
18709
7edb22ef
UD
18710 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
18711 result of SYSDEP_GETTIME_CPU to retval.
18712 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
18713 parameter list to macro. Remove trailing semicolon. Adjust users.
18714
9694fc44
UD
18715 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
18716 variable.
18717
8ad89ef8
UD
18718 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
18719 mantissa words.
18720 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
18721
0c822ef9
UD
18722 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
18723 from unused variable.
18724
874e0564
UD
18725 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
18726 DWARF definitions.
18727 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
18728 for assembling.
18729
3a2edc79
UD
18730 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
18731 over namespaces.
18732
f3c2577f
UD
18733 * sunrpc/rpc_prot.c (rejected): Fix case value.
18734
294ce126
UD
18735 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
18736 unsigned long long int to avoid warnings in shift.
18737
5e2b63c6
UD
18738 * posix/regex_internal.c (re_string_reconstruct): Actually use result
18739 of use of trans.
18740 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
18741 variable tmp.
18742
e7f4b08e
UD
18743 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
18744 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
18745 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
18746
ab26144e
UD
18747 * nis/nis_table.c (nis_list): Use variable of correct type for
18748 result of __follow_path call.
18749
8a6d5255
AZ
187502011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18751
18752 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
18753 of math functions ceil, trunc, floor, round, and sqrt, when
18754 avaliable on the platform.
18755 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
18756 name clash.
18757 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
18758 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
18759 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
18760
aaddc98c
MP
187612011-10-30 Marek Polacek <mpolacek@redhat.com>
18762
18763 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
18764 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
18765
95b7042b
RM
187662011-11-11 Roland McGrath <roland@hack.frob.com>
18767
18768 * include/unistd.h: Fix __readlink return type.
18769 Reported by Chris Metcalf <cmetcalf@tilera.com>.
18770
57769839
UD
187712011-11-11 Ulrich Drepper <drepper@gmail.com>
18772
18773 * stdlib/ucontext.h: Undo last change for makecontext.
18774
edc5984d
AS
187752011-11-11 Andreas Schwab <schwab@redhat.com>
18776
98591e58
AS
18777 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
18778
edc5984d
AS
18779 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
18780 * setjmp/setjmp.h: Mark functions as non-leaf.
18781 * setjmp/bits/setjmp2.h: Likewise.
18782 * stdlib/ucontext.h: Likewise.
18783
77cdc054
AS
187842011-11-10 Andreas Schwab <schwab@redhat.com>
18785
18786 * malloc/arena.c (_int_new_arena): Don't increment narenas.
18787 (reused_arena): Don't check arena limit.
18788 (arena_get2): Atomically check arena limit.
18789
fe72eebd
UD
187902011-11-08 Ulrich Drepper <drepper@gmail.com>
18791
5f078c32
UD
18792 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
18793 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
18794
fe72eebd
UD
18795 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
18796 instructions.
18797
ae1bc2fa
AS
187982011-11-07 Andreas Schwab <schwab@redhat.com>
18799
7583a88d
AS
18800 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
18801 handler when locking.
18802
ae1bc2fa
AS
18803 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
18804 Fix size of allocated buffer.
18805
10fb0bfa
AS
188062011-11-04 Andreas Schwab <schwab@redhat.com>
18807
998832a4
AS
18808 [BZ #10103]
18809 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
18810 declarations for long double functions.
18811 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
18812
10fb0bfa
AS
18813 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
18814
3d7ba52b
AS
188152011-11-03 Andreas Schwab <schwab@redhat.com>
18816
a9ae54a1
AS
18817 * nscd/nscd.c (main): Don't start AVC thread until credentials are
18818 installed.
18819
3d7ba52b
AS
18820 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
18821 is disabled.
18822
bc8db248
ST
188232011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
18824
18825 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
18826
45b96dd6
AS
188272011-11-01 Andreas Schwab <schwab@linux-m68k.org>
18828
647776f6
AS
18829 * include/alloca.h (stackinfo_alloca_round): Define.
18830 (extend_alloca): Use it.
18831 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
18832 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
18833 here.
18834
d91a8b93
AS
18835 * scripts/check-local-headers.sh: Ignore libaudit.h.
18836
45b96dd6
AS
18837 * nscd/Makefile (extra-objs): Make recursively expanded.
18838
432d41ce
UD
188392011-11-01 Ulrich Drepper <drepper@gmail.com>
18840
34372fc6
UD
18841 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
18842 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
18843
fadb59f8
UD
18844 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
18845 * posix/tst-rfc3484-2.c: Likewise.
18846 * posix/tst-rfc3484-3.c: Likewise.
18847
78239589
UD
18848 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
18849 process_vm_writev.
18850 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
18851 process_vm_writev.
18852 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
18853 process_vm_writev from libc using GLIBC_2.15 version.
18854
432d41ce
UD
18855 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
18856
02f9c6cf
PP
188572011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
18858
18859 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
18860 stack usage.
18861
3a2c0242
UD
188622011-10-31 Ulrich Drepper <drepper@gmail.com>
18863
f4ec4833
UD
18864 [BZ #13367]
18865 * nss/getent.c (initgroups_keys): Show error message in case no group
18866 names are given.
18867
3a2c0242
UD
18868 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
18869 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
18870 __bump_nl_timestamp.
18871 * nscd/connections (nscd_init): When host database is served open
18872 netlink socket and request notification about configuration changes.
18873 (main_loop_poll): Track netlink file descriptor and bump timestamp
18874 in case data becomes available.
18875 (main_loop_epoll): Likewise.
18876 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
18877 (database_pers_head): Add extra_data fileds.
18878 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
18879 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
18880 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
18881 Adjust caller.
18882 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
18883 in6ai data, call __free_in6ai.
18884 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
18885 Add -DHAVE_NETLINK.
18886 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
18887 interface information. Reuse previous data if netlink timestamp
18888 is not changed.
18889 (__bump_nl_timestamp): New function.
18890 (__free_in6ai): New function.
18891
636064eb
UD
188922011-10-30 Ulrich Drepper <drepper@gmail.com>
18893
18894 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
18895 close_not_cancel_no_status here.
18896 (__check_pf): Reorganize code a bit to not call close twice if OOM.
18897
9beb2334
UD
188982011-10-29 Ulrich Drepper <drepper@gmail.com>
18899
6ef76f3b
UD
18900 [BZ #13276]
18901 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
18902 return value.
18903
0ffc4f3e 18904 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
18905 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
18906 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
18907
cb95113e
UD
189082011-07-03 Andreas Jaeger <aj@suse.de>
18909
18910 [BZ #10709]
18911 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
18912 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
18913 * math/libm-test.inc (sin_test): Add test case.
18914
a1b560ff
UD
189152011-10-29 Ulrich Drepper <drepper@gmail.com>
18916
c9aaface
UD
18917 [BZ #13337]
18918 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
18919 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
18920
d272e7f1
UD
18921 * elf/chroot_canon.c (chroot_canon): Cleanups.
18922
1bc33071
UD
18923 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
18924
1760874d
TJ
18925 [BZ #13335]
18926 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
18927 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
18928
51d91b18
UD
18929 * string/test-strchr.c: Make usable for strchrnul testing.
18930 * string/test-strchrnul.c: New file.
18931 * string/Makefile (strop-tests): Add strchrnul.
18932
a1b560ff 18933 * po/it.po: Update from translation team.
b611fb81 18934 * po/es.po: Likewise.
a1b560ff 18935
a5b81e1f
UD
189362011-10-28 Ulrich Drepper <drepper@gmail.com>
18937
fd52bc6d
UD
18938 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
18939 the three constants needed as parameters. Drop the others.
18940 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
18941 __m128i_strloadu_tolower.
52e4b9eb
UD
18942 Create and initialize variable zero and use it in all the places
18943 where _mm_setzero_si128 was used.
fd52bc6d 18944
a5b81e1f
UD
18945 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
18946 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
18947 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
18948 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
18949 anymore.
18950 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
18951 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
18952 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
18953 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
18954 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
18955 __mpranred, __mptan.
18956 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
18957 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
18958 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
18959 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
18960 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
18961 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
18962 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
18963 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
18964 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
18965
b4343346
AS
189662011-10-28 Andreas Schwab <schwab@redhat.com>
18967
0c92d8a8
AS
18968 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
18969 redefine if SHARED.
18970 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
18971
b4343346
AS
18972 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
18973 wide char related routines to wcsmbs subdir.
18974
3871f58f
AS
189752011-10-27 Andreas Schwab <schwab@redhat.com>
18976
18977 [BZ #13344]
18978 * misc/sys/cdefs.h (__THROWNL): Define.
18979 * posix/unistd.h: Use __THREADNL instead of __THREAD
18980 for memory synchronization functions.
18981
94d44d9f
RM
189822011-10-26 Roland McGrath <roland@hack.frob.com>
18983
21b64b15 18984 [BZ #13349]
94d44d9f
RM
18985 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
18986 doesn't exist.
18987 * manual/stdio.texi (Obstack Streams): Node removed.
18988
f6ce9294
AS
189892011-10-26 Andreas Schwab <schwab@redhat.com>
18990
80479147
AS
18991 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
18992 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
18993 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
18994
f6ce9294
AS
18995 * math/math_private.h (math_force_eval): Allow non-addressable
18996 arguments.
18997 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
18998
618280a1
UD
189992011-10-25 Ulrich Drepper <drepper@gmail.com>
19000
e0016b11
UD
19001 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
19002 file is not needed.
19003
19004 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
19005 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
19006 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
19007 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
19008 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
19009 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
19010 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
19011 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
19012 Add AVX variants.
19013 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
19014 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
19015 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
19016 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
19017 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
19018 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
19019 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
19020 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
19021 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
19022 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
19023 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
19024 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
19025 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
19026 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
19027 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
19028 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
19029 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
19030 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
19031 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
19032
19033 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
19034 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
19035
618280a1
UD
19036 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
19037 place. Use VEX encoding when compiling for AVX.
19038
37822576
AS
190392011-10-25 Andreas Schwab <schwab@redhat.com>
19040
1f1e1947
AS
19041 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
19042 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
19043
37822576
AS
19044 * string/test-strchr.c (do_test): Don't generate NUL bytes.
19045
31ea014d
UD
190462011-10-25 Ulrich Drepper <drepper@gmail.com>
19047
d7826aa1 19048 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 19049 useless if() expression.
d7826aa1
UD
19050 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
19051 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
19052 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
19053 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
19054 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
19055 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
19056 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
19057 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
19058 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
19059 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
19060 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
19061 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
19062 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
19063 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
19064 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
19065 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
19066 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
19067 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
19068 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
19069
31ea014d
UD
19070 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
19071
16437fec
AS
190722011-10-25 Andreas Schwab <schwab@redhat.com>
19073
19074 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
19075 condition.
19076 * elf/dl-fini.c (_dl_sort_fini): Likewise.
19077
31d3cc00
UD
190782011-10-25 Ulrich Drepper <drepper@gmail.com>
19079
19080 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
19081 .text section. Avoid duplicate constants.
19082 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
19083 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19084 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
19085 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19086 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
19087 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19088 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19089 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19090 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
19091 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
19092 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
19093 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
19094 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
19095 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
19096 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
19097 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
19098 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
19099 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
19100 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
19101 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19102 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
19103 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
19104 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
19105 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
19106 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
19107 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
19108 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
19109 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
19110 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
19111 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
19112 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
19113 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
19114 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
19115 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
19116 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
19117 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
19118 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
19119 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
19120 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
19121 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
19122 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
19123 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
19124 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
19125 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
19126 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
19127
58985aa9
UD
191282011-10-24 Ulrich Drepper <drepper@gmail.com>
19129
202c9deb
UD
19130 * sysdeps/x86_64/dla.h: Move to ...
19131 * sysdeps/x86_64/fpu/dla.h: ...here.
19132 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
19133 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 19134
af968f62
UD
19135 * config.make.in: Add have-mfma4 entry.
19136 * configure.in: Substitute libc_cv_cc_fma4.
19137 * math/Makefile (dbl-only-routines): Add sincostab.
19138 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
19139 Use __sincostab not sincos.
19140 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
19141 name is a macro.
19142 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
19143 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19144 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19145 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
19146 using __copysign.
19147 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
19148 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
19149 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
19150 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
19151 and __inv.
19152 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
19153 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
19154 __copysign.
19155 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
19156 define aliases when function name is a macro.
19157 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
19158 sysdeps/ieee754/dbl-64/sincos.tbl.
19159 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
19160 fma4-enabled routines.
19161 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
19162 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
19163 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
19164 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
19165 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
19166 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
19167 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
19168 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
19169 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
19170 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
19171 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
19172 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
19173 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
19174 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
19175 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
19176 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
19177 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
19178 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
19179 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
19180 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
19181 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
19182 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
19183 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
19184 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
19185 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
19186 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
19187 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
19188 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
19189 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
19190 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
19191
58985aa9
UD
19192 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
19193 rename.
19194 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19195 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19196 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19197 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19198 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19199 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19200 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19201 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19202
a201fbcf
AS
192032011-10-24 Andreas Schwab <schwab@redhat.com>
19204
19205 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
19206
fc2ee42a
LD
192072011-10-23 Ulrich Drepper <drepper@gmail.com>
19208
bb3129bd
UD
19209 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
19210
0275fff8
UD
19211 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
19212 prediction.
19213 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
19214
2fa2ae85
UD
19215 * string/strnlen.c: Don't define STRNLEN, reverse logic.
19216 Remove unused variable magic_bits.
19217 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
19218
fc2ee42a
LD
19219 * string/strnlen.c: Define and use STRNLEN macro.
19220 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
19221 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
19222 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
19223 * wcsmbs/wcslen.c: Define and use WCSLEN.
19224 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
19225 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
19226 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
19227 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
19228 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
19229 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
19230 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
19231
ce7dd29f
LD
192322011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19233
19234 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19235 strnlen-sse2-no-bsf.
19236 Rename strlen-no-bsf to strlen-sse2-no-bsf.
19237 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
19238 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
19239 Add strnlen support.
19240 (USE_AS_STRNLEN): New macro.
19241 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
19242 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
19243 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
19244 * sysdeps/x86_64/wcslen.S: New file.
19245
979c70a3
MZ
192462011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
19247
19248 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
19249 XMM-moves are used for copying on small sizes.
19250
2d09f82f
LD
192512011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19252
19253 * wcsmbs/Makefile (strop-tests): Add wcschr.
19254 * wcsmbs/test-wcschr.c: New file.
19255 * string/test-strchr.c: Update.
19256 Add wcschr support.
19257 (WIDE): New macro.
19258
619fccca
LD
192592011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19260
2d09f82f 19261 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
19262 * wcsmbs/test-wcslen.c: New file.
19263 * string/test-strlen.c: Update.
19264 Add wcslen support.
19265 (WIDE): New macro.
19266
09f699ea
UD
192672011-10-23 Ulrich Drepper <drepper@gmail.com>
19268
19269 * po/it.po: Update from translation team.
19270
95584d3b
LD
192712011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19272
19273 * sysdeps/x86_64/wcscmp.S: Update.
19274 Fix wrong comparison semantics.
19275 wcscmp shall use signed comparison not unsigned.
19276 Don't use substraction to avoid overflow bug.
19277 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
19278 * wcsmbc/wcscmp.c: Likewise.
19279 * string/test-strcmp.c: Likewise.
19280 Add new tests to check cases with negative values.
19281
c8b3296b
UD
192822011-10-23 Ulrich Drepper <drepper@gmail.com>
19283
19284 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
19285 * sysdeps/x86_64/dla.h: ...here. New file.
19286 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
19287 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19288 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19289 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19290 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19291 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
19292 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19293 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19294 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19295
246ad57a
AS
192962011-10-23 Andreas Schwab <schwab@linux-m68k.org>
19297
19298 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
19299 __ynl_finite aliases.
19300
a1a87169
UD
193012011-10-22 Ulrich Drepper <drepper@gmail.com>
19302
0d355eb7
UD
19303 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19304
a1a87169
UD
19305 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
19306 define DLA_FMA.
19307 [DLA_FMA] (EMULV): Use DLA_FMA.
19308 [DLA_FMA] (MUL12): Use EMULV.
19309 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
19310 that are not needed.
19311 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19312 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19313 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19314 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19315 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19316 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19317 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19318
ee2aafe0
AS
193192011-10-22 Andreas Schwab <schwab@linux-m68k.org>
19320
19321 * math/s_nan.c: Undef __nan.
19322 * math/s_nanf.c: Undef __nanf.
19323 * math/s_nanl.c: Undef __nanl.
19324 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
19325 "math_private.h".
19326
bc62c2fb
UD
193272011-10-22 Ulrich Drepper <drepper@gmail.com>
19328
77425c63
UD
19329 * math/s_catan.c: Add branch predictions.
19330 * math/s_catanf.c: Likewise.
19331 * math/s_catanh.c: Likewise.
19332 * math/s_catanhf.c: Likewise.
19333 * math/s_catanhl.c: Likewise.
19334 * math/s_catanl.c: Likewise.
19335 * math/s_cexp.c: Likewise.
19336 * math/s_cexpf.c: Likewise.
19337 * math/s_cexpl.c: Likewise.
19338 * math/s_clog.c: Likewise.
19339 * math/s_clog10.c: Likewise.
19340 * math/s_clog10f.c: Likewise.
19341 * math/s_clog10l.c: Likewise.
19342 * math/s_clogf.c: Likewise.
19343 * math/s_clogl.c: Likewise.
19344 * math/s_csqrt.c: Likewise.
19345 * math/s_csqrtf.c: Likewise.
19346 * math/s_csqrtl.c: Likewise.
19347 * math/s_ctanf.c: Likewise.
19348 * math/s_ctanh.c: Likewise.
19349 * math/s_ctanhf.c: Likewise.
19350 * math/s_ctanhl.c: Likewise.
19351 * math/s_ctanl.c: Likewise.
19352
bc62c2fb
UD
19353 * math/math_private.h: Define __nan, __nanf, __nanl.
19354 * math/s_cacosh.c: Include <math_private.h>.
19355 * math/s_cacoshl.c: Likewise.
19356 * math/s_casinh.c: Likewise.
19357 * math/s_casinhf.c: Likewise.
19358 * math/s_casinhl.c: Likewise.
19359 * math/s_ccos.c: Rely entire on ccosh.
19360 * math/s_ccosf.c: Rely entire on ccoshf.
19361 * math/s_ccosl.c: Rely entirely on ccoshl.
19362 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
19363 Remove tests for FE_INVALID.
19364 * math/s_ccoshf.c: Likewise.
19365 * math/s_ccoshl.c: Likewise.
19366 * math/s_csin.c: Likewise.
19367 * math/s_csinf.c: Likewise.
19368 * math/s_csinh.c Likewise.
19369 * math/s_csinhf.c: Likewise.
19370 * math/s_csinhl.c: Likewise.
19371 * math/s_csinl.c: Likewise.
19372 * math/s_ctan.c: Likewise.
19373 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
19374 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
19375 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
19376
8ec250a4
UD
193772011-10-21 Ulrich Drepper <drepper@gmail.com>
19378
c196fed8
UD
19379 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
19380 compilation problems.
19381
8ec250a4
UD
19382 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
19383 __builtin_expect.
19384
8d4f46c6
UD
193852011-10-20 Ulrich Drepper <drepper@gmail.com>
19386
ed72b654
UD
19387 * sysdeps/i386/configure.in: Test for -mfma4 option.
19388 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
19389 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
19390 COMMON_CPUID_INDEX_80000001.
19391 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
19392 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
19393 use it if FMA3 is not supported.
19394 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
19395
8d4f46c6
UD
19396 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
19397 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
19398
d45c60c2
AS
193992011-10-20 Andreas Schwab <schwab@redhat.com>
19400
19401 [BZ #12892]
19402 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
19403 it would create a cycle with a link time dependency.
19404
d9a4d2ab
UD
194052011-10-19 Ulrich Drepper <drepper@gmail.com>
19406
855d1560
UD
19407 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
19408 instruction.
19409 * string/Makefile (strop-tests): Add rawmemchr.
19410 * string/test-rawmemchr.c: New file.
19411
d9a4d2ab
UD
19412 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
19413 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
19414 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
19415 when compiling str{,n}casecmp and when AVX is available. Hook up
19416 new optimized code in initializers.
19417
8f3b1ffe
AS
194182011-10-19 Andreas Schwab <schwab@redhat.com>
19419
19420 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
19421 __feraiseexcept instead of feraiseexcept.
19422
d38f1dba
UD
194232011-10-18 Ulrich Drepper <drepper@gmail.com>
19424
d9a8d0ab
UD
19425 * math/math_private.h: Define defaults for libc_fetestexcept and
19426 libc_feupdateenv.
19427 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
19428 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
19429 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
19430 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
19431 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
19432 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
19433 libc_fetestexcept and libc_feupdateenv.
19434
4855e3dd
UD
19435 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
19436 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
19437 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
19438 * sysdeps/x86_64/fpu/math_private.h: Define special version of
19439 libc_feholdexcept_setround.
19440
581d30e3
UD
19441 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
19442 Add s_nearbyint-c and s_nearbyintf-c.
19443 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
19444 nearbyintf inlines.
19445 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
19446 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
19447 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
19448 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
19449
d38f1dba
UD
19450 * math/math_private.h: Define defaults for libc_fegetround,
19451 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
19452 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
19453 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
19454 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
19455 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
19456 standard functions.
19457 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
19458 Remove comments and hacks for old compiler versions.
19459 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
19460 libc_fegetround, libc_fesetround, libc_feholdexcept, and
19461 libc_feholdexceptl.
19462
caa6c9d8
AS
194632011-10-18 Andreas Schwab <schwab@redhat.com>
19464
19465 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
19466 (__feraiseexcept_renamed): Add __NTH.
19467 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
19468 namespace violations.
19469
97c066e6
UD
194702011-10-17 Ulrich Drepper <drepper@gmail.com>
19471
99ce7b04
UD
19472 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
19473
1004d182
UD
19474 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
19475
228a984d
UD
19476 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
19477 recently added interfaces.
19478 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
19479
c8553a6a
UD
19480 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
19481 about macro parameter expansion.
19482
ed22dcf6
UD
19483 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
19484 __NO_MATH_INLINES is defined. Cleanups.
19485
19486 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
19487 and __floorf is target has SSE4.1.
19488 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
19489 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
19490 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
19491 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
19492
b171c137
UD
19493 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
19494 name.
19495 (floorf): Likewise.
19496
97c066e6
UD
19497 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
19498
629f62ef
AS
194992011-10-17 Andreas Schwab <schwab@redhat.com>
19500
49a43d80
AS
19501 * misc/sys/cdefs.h: Fix last change.
19502
629f62ef
AS
19503 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
19504 database lookup.
19505
e453f6cd
UD
195062011-10-16 Ulrich Drepper <drepper@gmail.com>
19507
aa78043a
UD
19508 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
19509
ad0f5cad
UD
19510 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
19511 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
19512 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
19513 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
19514 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
19515 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
19516 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
19517 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
19518 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
19519 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
19520 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
19521 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
19522 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
19523 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
19524 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
19525 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
19526 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
19527 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
19528 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
19529 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
19530 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
19531 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
19532
19533 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
19534 ceil, ceilf, floor, floorf.
19535
19536 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
19537 Perform IRELATIVE relocations last.
19538
e453f6cd
UD
19539 * elf/do-rel.h: Add another parameter nrelative, replacing the
19540 local variable with the same name. Change name of the function
19541 to end in Rel or Rela (uppercase).
19542 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
19543 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
19544 elf_dynamic_do_##reloc function.
19545
fd5bdc09
UD
195462011-10-15 Ulrich Drepper <drepper@gmail.com>
19547
79b195b5
UD
19548 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
19549 is sufficient, at least on modern CPUs.
19550
d4a28569
UD
19551 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
19552
b61099b5
UD
19553 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
19554 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
19555
bcf01e6d
UD
19556 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
19557 __expl_finite.
19558 * math/bits/math-finite.h: Add entries for exp.
19559 * math/e_expl.c: Add __*_finite alias.
19560 * sysdeps/i386/fpu/e_exp.S: Likewise.
19561 * sysdeps/i386/fpu/e_expf.S: Likewise.
19562 * sysdeps/i386/fpu/e_expl.c: Likewise.
19563 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
19564 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
19565 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
19566 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
19567 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
19568 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
19569 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
19570
ba1a0d59
UD
19571 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
19572 is sufficient, at least on modern CPUs.
19573
fd5bdc09
UD
19574 * ctype/ctype-info.c (__ctype_init): Define.
19575 * include/ctype.h (__ctype_init): Declare.
19576 (__ctype_b_loc): The variable is always initialized.
19577 (__ctype_toupper_loc): Likewise.
19578 (__ctype_tolower_loc): Likewise.
19579 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
19580 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
19581
7872cfb0
AS
195822011-10-15 Andreas Schwab <schwab@linux-m68k.org>
19583
b468825a
AS
19584 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
19585
7872cfb0
AS
19586 * configure.in: Also look in $cxxmachine/include for C++ system
19587 headers.
19588
be13f7bf
LD
195892011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19590
19591 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
19592 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
19593 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
19594 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
19595 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
19596 (USE_AS_WMEMCMP): New macro.
19597 Fixing indents.
19598 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
19599 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
19600 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
19601 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
19602 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19603 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
19604 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
19605 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
19606 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
19607 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
19608 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
19609 (USE_AS_WMEMCMP): New macro.
19610 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
19611 * sysdeps/string/test-memcmp.c: Update.
19612 Fix simple_wmemcmp.
19613 Add new tests.
19614 * wcsmbs/wmemcmp.c: Update.
19615 (WMEMCMP): New macro.
19616 Fix overflow bug.
19617
556a2007
AJ
196182011-10-12 Andreas Jaeger <aj@suse.de>
19619
19620 [BZ #13268]
19621 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
19622
538faaa7
UD
196232011-10-15 Ulrich Drepper <drepper@gmail.com>
19624
ab6737ff
UD
19625 * libio/iofwide.c (do_length): Avoid warning.
19626
538faaa7
UD
19627 * ctype/ctype.h (__isctype_f): Add missing __THROW.
19628
396a21b1
UD
196292011-10-14 Ulrich Drepper <drepper@gmail.com>
19630
cdf2901f
UD
19631 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
19632
38ad40ce
UD
19633 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
19634 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
19635 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
19636 * sysdeps/i386/i686/fpu/e_log.S: New file.
19637 * sysdeps/i386/i686/fpu/e_logf.S: New file.
19638 * sysdeps/i386/i686/fpu/e_logl.S: New file.
19639
396a21b1
UD
19640 * ctype/ctype.h: Add support for inlined isXXX functions when
19641 compiling C++ code.
19642
6b1f68c9
AS
196432011-10-14 Andreas Schwab <schwab@redhat.com>
19644
349290c0
AS
19645 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19646
6b1f68c9
AS
19647 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
19648
f2282d42
RM
196492011-10-13 Roland McGrath <roland@hack.frob.com>
19650
19651 [BZ #13291]
19652 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
19653
5298ffa8
AS
196542011-10-13 Andreas Schwab <schwab@redhat.com>
19655
714fad23
AS
19656 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
19657 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
19658 feraiseexcept.
19659
81dcc7fb
AS
19660 * sysdeps/x86_64/memrchr.S: Check for zero size.
19661
5298ffa8
AS
19662 * string/stratcliff.c: Add memrchr tests.
19663
951fbcec
LD
196642011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19665
19666 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19667 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
19668 rawmemchr-sse2 rawmemchr-sse2-bsf.
19669 * sysdeps/i386/i686/multiarch/memchr.S: New file.
19670 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
19671 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
19672 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
19673 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
19674 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
19675 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
19676 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
19677 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
19678 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
19679 * string/memrchr.c (MEMRCHR): New macro.
19680
0ac5ae23
UD
196812011-10-12 Ulrich Drepper <drepper@gmail.com>
19682
19683 Add integration with gcc's -ffinite-math-only and optimize wrapper
19684 functions in libm.
19685 * Versions.def: Define GLIBC_2.15 version for libm.
19686 * math/Makefile (headers): Add bits/math-finite.h.
19687 * math/bits/math-finite.h: New file.
19688 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
19689 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
19690 * math/e_acoshl.c: Add __*_finite alias.
19691 * math/e_acosl.c: Likewise.
19692 * math/e_asinl.c: Likewise.
19693 * math/e_atan2l.c: Likewise.
19694 * math/e_atanhl.c: Likewise.
19695 * math/e_coshl.c: Likewise.
19696 * math/e_exp10.c: Likewise.
19697 * math/e_exp10f.c: Likewise.
19698 * math/e_exp10l.c: Likewise.
19699 * math/e_exp2l.c: Likewise.
19700 * math/e_fmodl.c: Likewise.
19701 * math/e_gammal_r.c: Likewise.
19702 * math/e_hypotl.c: Likewise.
19703 * math/e_j0l.c: Likewise.
19704 * math/e_j1l.c: Likewise.
19705 * math/e_jnl.c: Likewise.
19706 * math/e_lgammal_r.c: Likewise.
19707 * math/e_log10l.c: Likewise.
19708 * math/e_log2l.c: Likewise.
19709 * math/e_logl.c: Likewise.
19710 * math/e_powl.c: Likewise.
19711 * math/e_sinhl.c: Likewise.
19712 * math/e_sqrtl.c: Likewise.
19713 * math/e_scalb.c: Completely rewritten and optimized.
19714 * math/e_scalbf.c: Likewise.
19715 * math/e_scalbl.c: Likewise.
19716 * math/w_acos.c: Likewise.
19717 * math/w_acosf.c: Likewise.
19718 * math/w_acosl.c: Likewise.
19719 * math/w_acosh.c: Likewise.
19720 * math/w_acoshf.c: Likewise.
19721 * math/w_acoshl.c: Likewise.
19722 * math/w_asin.c: Likewise.
19723 * math/w_asinf.c: Likewise.
19724 * math/w_asinl.c: Likewise.
19725 * math/w_atan2.c: Likewise.
19726 * math/w_atan2f.c: Likewise.
19727 * math/w_atan2l.c: Likewise.
19728 * math/w_atanh.c: Likewise.
19729 * math/w_atanhf.c: Likewise.
19730 * math/w_atanhl.c: Likewise.
19731 * math/w_exp10.c: Likewise.
19732 * math/w_exp10f.c: Likewise.
19733 * math/w_exp10l.c: Likewise.
19734 * math/w_fmod.c: Likewise.
19735 * math/w_fmodf.c: Likewise.
19736 * math/w_fmodl.c: Likewise.
19737 * math/w_j0.c: Likewise.
19738 * math/w_j0f.c: Likewise.
19739 * math/w_j0l.c: Likewise.
19740 * math/w_j1.c: Likewise.
19741 * math/w_j1f.c: Likewise.
19742 * math/w_j1l.c: Likewise.
19743 * math/w_jn.c: Likewise.
19744 * math/w_jnf.c: Likewise.
19745 * math/w_log.c: Likewise.
19746 * math/w_logf.c: Likewise.
19747 * math/w_logl.c: Likewise.
19748 * math/w_log10.c: Likewise.
19749 * math/w_log10f.c: Likewise.
19750 * math/w_log10l.c: Likewise.
19751 * math/w_log2.c: Likewise.
19752 * math/w_log2f.c: Likewise.
19753 * math/w_log2l.c: Likewise.
19754 * math/w_pow.c: Likewise.
19755 * math/w_powf.c: Likewise.
19756 * math/w_powl.c: Likewise.
19757 * math/w_remainder.c: Likewise.
19758 * math/w_remainderf.c: Likewise.
19759 * math/w_remainderl.c: Likewise.
19760 * math/w_scalb.c: Likewise.
19761 * math/w_scalbf.c: Likewise.
19762 * math/w_scalbl.c: Likewise.
19763 * math/w_sqrt.c: Likewise.
19764 * math/w_sqrtf.c: Likewise.
19765 * math/w_sqrtl.c: Likewise.
19766 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
19767 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
19768 used.
19769 * math/math_private.h: Declare __kernel_standard_f.
19770 * math/w_cosh.c: Remove cruft and optimize a bit.
19771 * math/w_coshf.c: Likewise.
19772 * math/w_coshl.c: Likewise.
19773 * math/w_exp2.c: Likewise.
19774 * math/w_exp2f.c: Likewise.
19775 * math/w_exp2l.c: Likewise.
19776 * math/w_hypot.c: Likewise.
19777 * math/w_hypotf.c: Likewise.
19778 * math/w_hypotl.c: Likewise.
19779 * math/w_lgamma.c: Likewise.
19780 * math/w_lgamma_r.c: Likewise.
19781 * math/w_lgammaf.c: Likewise.
19782 * math/w_lgammaf_r.c: Likewise.
19783 * math/w_lgammal.c: Likewise.
19784 * math/w_lgammal_r.c: Likewise.
19785 * math/w_sinh.c: Likewise.
19786 * math/w_sinhf.c: Likewise.
19787 * math/w_sinhl.c: Likewise.
19788 * math/w_tgamma.c: Likewise.
19789 * math/w_tgammaf.c: Likewise.
19790 * math/w_tgammal.c: Likewise.
19791 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
19792 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
19793 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
19794 Minor optimizations. Pretty printing. Remove cruft.
19795 * sysdeps/i386/fpu/e_acosf.S: Likewise.
19796 * sysdeps/i386/fpu/e_acosh.S: Likewise.
19797 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
19798 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
19799 * sysdeps/i386/fpu/e_acosl.c: Likewise.
19800 * sysdeps/i386/fpu/e_asin.S: Likewise.
19801 * sysdeps/i386/fpu/e_asinf.S: Likewise.
19802 * sysdeps/i386/fpu/e_atan2.S: Likewise.
19803 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
19804 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
19805 * sysdeps/i386/fpu/e_atanh.S: Likewise.
19806 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
19807 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
19808 * sysdeps/i386/fpu/e_exp10.S: Likewise.
19809 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
19810 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
19811 * sysdeps/i386/fpu/e_exp2.S: Likewise.
19812 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
19813 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
19814 * sysdeps/i386/fpu/e_fmod.S: Likewise.
19815 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
19816 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
19817 * sysdeps/i386/fpu/e_hypot.S: Likewise.
19818 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
19819 * sysdeps/i386/fpu/e_log.S: Likewise.
19820 * sysdeps/i386/fpu/e_log10.S: Likewise.
19821 * sysdeps/i386/fpu/e_log10f.S: Likewise.
19822 * sysdeps/i386/fpu/e_log10l.S: Likewise.
19823 * sysdeps/i386/fpu/e_log2.S: Likewise.
19824 * sysdeps/i386/fpu/e_log2f.S: Likewise.
19825 * sysdeps/i386/fpu/e_log2l.S: Likewise.
19826 * sysdeps/i386/fpu/e_logf.S: Likewise.
19827 * sysdeps/i386/fpu/e_logl.S: Likewise.
19828 * sysdeps/i386/fpu/e_pow.S: Likewise.
19829 * sysdeps/i386/fpu/e_powf.S: Likewise.
19830 * sysdeps/i386/fpu/e_powl.S: Likewise.
19831 * sysdeps/i386/fpu/e_remainder.S: Likewise.
19832 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
19833 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
19834 * sysdeps/i386/fpu/e_scalb.S: Likewise.
19835 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
19836 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
19837 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
19838 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
19839 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
19840 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
19841 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
19842 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19843 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
19844 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
19845 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
19846 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
19847 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
19848 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
19849 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
19850 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
19851 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
19852 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19853 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
19854 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
19855 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19856 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
19857 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
19858 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
19859 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19860 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
19861 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
19862 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
19863 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
19864 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
19865 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
19866 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
19867 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
19868 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
19869 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
19870 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
19871 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
19872 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
19873 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
19874 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
19875 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
19876 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
19877 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
19878 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
19879 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
19880 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
19881 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
19882 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
19883 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
19884 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
19885 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
19886 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
19887 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
19888 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
19889 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
19890 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
19891 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
19892 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
19893 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
19894 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
19895 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
19896 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
19897 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
19898 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
19899 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
19900 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
19901 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
19902 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
19903 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
19904 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
19905 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
19906 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
19907 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
19908 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
19909 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
19910 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
19911 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
19912 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
19913 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
19914 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
19915 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
19916 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
19917 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
19918 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
19919 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
19920 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
19921 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
19922 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
19923 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
19924 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
19925 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
19926 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
19927 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
19928 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
19929 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
19930 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
19931 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
19932 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
19933 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
19934 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
19935 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
19936 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
19937 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
19938 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
19939 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
19940 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
19941 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
19942 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
19943 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
19944 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
19945 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
19946 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
19947 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
19948 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
19949 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
19950 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
19951 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
19952 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
19953 (__isnanf): Likewise.
19954 (__isinf_ns): Likewise.
19955 (__isinf_nsf): Likewise.
19956 (__finite): Likewise.
19957 (__finitef): Likewise.
19958 (__ieee754_sqrt): Define as macro.
19959 (__ieee754_sqrtf): Define as macro.
19960 (__ieee754_sqrtl): Define as macro.
19961 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
19962 inlined copy.
19963 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
19964 __FINITE_MATH_ONLY__ consistent.
19965 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
19966
12cc2fcd
AS
199672011-10-10 Andreas Schwab <schwab@linux-m68k.org>
19968
a843a204
AS
19969 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
19970 of rawmemchr.
19971
12cc2fcd
AS
19972 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
19973
c853acd5
UD
199742011-10-09 Ulrich Drepper <drepper@gmail.com>
19975
19976 * po/ja.po: Update from translation team.
19977
c658d255
RM
199782011-10-08 Roland McGrath <roland@hack.frob.com>
19979
110946e4
RM
19980 * locale/programs/locarchive.c (prepare_address_space): New function.
19981 (create_archive, enlarge_archive, open_archive): Use it.
19982
50604220
RM
19983 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
19984 inside [SHARED], where it is used.
19985
c658d255
RM
19986 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
19987
19988 * nss/getent.c (netgroup_keys): Remove unused variable.
19989 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
19990
6a621eb7
UD
199912011-10-08 Ulrich Drepper <drepper@gmail.com>
19992
7edb55ce
UD
19993 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
19994 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
19995 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
19996 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
19997 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
19998 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
19999 * math/Makefile (libm-calls): Add s_isinf_ns.
20000 * math/divtc3.c: Use __isinf_nsl instead of isinf.
20001 * math/multc3.c: Likewise.
20002 * math/s_casin.c: Likewise.
20003 * math/s_casinf.c: Likewise.
20004 * math/s_casinl.c: Likewise.
20005 * math/s_ccos.c: Likewise.
20006 * math/s_ccosf.c: Likewise.
20007 * math/s_ccosl.c: Likewise.
20008 * math/s_ctan.c: Likewise.
20009 * math/s_ctanf.c: Likewise.
20010 * math/s_ctanh.c: Likewise.
20011 * math/s_ctanhf.c: Likewise.
20012 * math/s_ctanhl.c: Likewise.
20013 * math/s_ctanl.c: Likewise.
20014 * math/w_fmod.c: Likewise.
20015 * math/w_fmodf.c: Likewise.
20016 * math/w_fmodl.c: Likewise.
20017 * math/w_remainder.c: Likewise.
20018 * math/w_remainderf.c: Likewise.
20019 * math/w_remainderl.c: Likewise.
20020 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
20021 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
20022 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
20023 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
20024 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
20025 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
20026 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
20027 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
20028
187da0ae
UD
20029 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
20030 of the number.
20031 * stdio-common/printf_fphex.c: Likewise.
20032 * stdio-common/printf_size.c: Likewise.
20033
9277c064
UD
20034 * math/e_exp10.c: Include math_private.h using <...> not "...".
20035 * math/e_exp10f.c: Likewise.
20036 * math/e_exp10l.c: Likewise.
20037 * math/e_exp2l.c: Likewise.
20038 * math/e_j0l.c: Likewise.
20039 * math/e_j1l.c: Likewise.
20040 * math/e_jnl.c: Likewise.
20041 * math/e_lgammal_r.c: Likewise.
20042 * math/e_rem_pio2l.c: Likewise.
20043 * math/e_scalb.c: Likewise.
20044 * math/e_scalbf.c: Likewise.
20045 * math/e_scalbl.c: Likewise.
20046 * math/k_cosl.c: Likewise.
20047 * math/k_sinl.c: Likewise.
20048 * math/k_tanl.c: Likewise.
20049 * math/s_cacoshf.c: Likewise.
20050 * math/s_catan.c: Likewise.
20051 * math/s_catanf.c: Likewise.
20052 * math/s_catanh.c: Likewise.
20053 * math/s_catanhf.c: Likewise.
20054 * math/s_catanhl.c: Likewise.
20055 * math/s_catanl.c: Likewise.
20056 * math/s_ccosh.c: Likewise.
20057 * math/s_ccoshf.c: Likewise.
20058 * math/s_ccoshl.c: Likewise.
20059 * math/s_cexp.c: Likewise.
20060 * math/s_cexpf.c: Likewise.
20061 * math/s_cexpl.c: Likewise.
20062 * math/s_clog.c: Likewise.
20063 * math/s_clog10.c: Likewise.
20064 * math/s_clog10f.c: Likewise.
20065 * math/s_clog10l.c: Likewise.
20066 * math/s_clogf.c: Likewise.
20067 * math/s_clogl.c: Likewise.
20068 * math/s_csin.c: Likewise.
20069 * math/s_csinf.c: Likewise.
20070 * math/s_csinh.c: Likewise.
20071 * math/s_csinhf.c: Likewise.
20072 * math/s_csinhl.c: Likewise.
20073 * math/s_csinl.c: Likewise.
20074 * math/s_csqrt.c: Likewise.
20075 * math/s_csqrtf.c: Likewise.
20076 * math/s_csqrtl.c: Likewise.
20077 * math/s_ctan.c: Likewise.
20078 * math/s_ctanf.c: Likewise.
20079 * math/s_ctanh.c: Likewise.
20080 * math/s_ctanhf.c: Likewise.
20081 * math/s_ctanhl.c: Likewise.
20082 * math/s_ctanl.c: Likewise.
20083 * math/s_ldexp.c: Likewise.
20084 * math/s_ldexpf.c: Likewise.
20085 * math/s_ldexpl.c: Likewise.
20086 * math/s_significand.c: Likewise.
20087 * math/s_significandf.c: Likewise.
20088 * math/s_significandl.c: Likewise.
20089 * math/w_acos.c: Likewise.
20090 * math/w_acosf.c: Likewise.
20091 * math/w_acosh.c: Likewise.
20092 * math/w_acoshf.c: Likewise.
20093 * math/w_acoshl.c: Likewise.
20094 * math/w_acosl.c: Likewise.
20095 * math/w_asin.c: Likewise.
20096 * math/w_asinf.c: Likewise.
20097 * math/w_asinl.c: Likewise.
20098 * math/w_atan2.c: Likewise.
20099 * math/w_atan2f.c: Likewise.
20100 * math/w_atan2l.c: Likewise.
20101 * math/w_atanh.c: Likewise.
20102 * math/w_atanhf.c: Likewise.
20103 * math/w_atanhl.c: Likewise.
20104 * math/w_cosh.c: Likewise.
20105 * math/w_coshf.c: Likewise.
20106 * math/w_coshl.c: Likewise.
20107 * math/w_dremf.c: Likewise.
20108 * math/w_exp10.c: Likewise.
20109 * math/w_exp10f.c: Likewise.
20110 * math/w_exp10l.c: Likewise.
20111 * math/w_exp2.c: Likewise.
20112 * math/w_exp2f.c: Likewise.
20113 * math/w_fmod.c: Likewise.
20114 * math/w_fmodf.c: Likewise.
20115 * math/w_fmodl.c: Likewise.
20116 * math/w_hypot.c: Likewise.
20117 * math/w_hypotf.c: Likewise.
20118 * math/w_hypotl.c: Likewise.
20119 * math/w_j0.c: Likewise.
20120 * math/w_j0f.c: Likewise.
20121 * math/w_j0l.c: Likewise.
20122 * math/w_j1.c: Likewise.
20123 * math/w_j1f.c: Likewise.
20124 * math/w_j1l.c: Likewise.
20125 * math/w_jn.c: Likewise.
20126 * math/w_jnf.c: Likewise.
20127 * math/w_jnl.c: Likewise.
20128 * math/w_lgamma.c: Likewise.
20129 * math/w_lgamma_r.c: Likewise.
20130 * math/w_lgammaf.c: Likewise.
20131 * math/w_lgammaf_r.c: Likewise.
20132 * math/w_lgammal.c: Likewise.
20133 * math/w_lgammal_r.c: Likewise.
20134 * math/w_log.c: Likewise.
20135 * math/w_log10.c: Likewise.
20136 * math/w_log10f.c: Likewise.
20137 * math/w_log10l.c: Likewise.
20138 * math/w_log2.c: Likewise.
20139 * math/w_log2f.c: Likewise.
20140 * math/w_log2l.c: Likewise.
20141 * math/w_logf.c: Likewise.
20142 * math/w_logl.c: Likewise.
20143 * math/w_pow.c: Likewise.
20144 * math/w_powf.c: Likewise.
20145 * math/w_powl.c: Likewise.
20146 * math/w_remainder.c: Likewise.
20147 * math/w_remainderf.c: Likewise.
20148 * math/w_remainderl.c: Likewise.
20149 * math/w_scalb.c: Likewise.
20150 * math/w_scalbf.c: Likewise.
20151 * math/w_scalbl.c: Likewise.
20152 * math/w_sinh.c: Likewise.
20153 * math/w_sinhf.c: Likewise.
20154 * math/w_sinhl.c: Likewise.
20155 * math/w_sqrt.c: Likewise.
20156 * math/w_sqrtf.c: Likewise.
20157 * math/w_sqrtl.c: Likewise.
20158 * math/w_tgamma.c: Likewise.
20159 * math/w_tgammaf.c: Likewise.
20160 * math/w_tgammal.c: Likewise.
20161
6a621eb7
UD
20162 * po/ja.po: Update from translation team.
20163
bf582445
AJ
201642011-09-29 Andreas Jaeger <aj@suse.de>
20165
f9efbf3a
AJ
20166 [BZ #13179]
20167 * sunrpc/netname.c (netname2host): Fix logic.
20168
bf582445
AJ
20169 [BZ #6779]
20170 [BZ #6783]
20171 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
20172 correctly.
20173 * math/w_remainder.c (__remainder): Likewise.
20174 * math/w_remainderf.c (__remainderf): Likewise.
20175 * math/libm-test.inc (remainder_test): Add test cases.
20176
48693bea
AK
201772011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20178
20179 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
20180 sdiv_qrnnd.
20181
42622229
LD
201822011-10-07 Ulrich Drepper <drepper@gmail.com>
20183
20184 * string/test-memcmp.c: Avoid unncessary #defines.
20185 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
20186
093ecf92
LD
201872011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20188
20189 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
20190 Use new sse2 version for core i3 - i7 as it's faster
20191 than sse42 version.
20192 (bit_Prefer_PMINUB_for_stringop): New.
20193 * sysdeps/x86_64/rawmemchr.S: Update.
20194 Replace with faster SSE2 version.
20195 * sysdeps/x86_64/memrchr.S: New file.
20196 * sysdeps/x86_64/memchr.S: Update.
20197 Replace with faster SSE2 version.
20198
fde56e5c
MP
201992011-09-12 Marek Polacek <mpolacek@redhat.com>
20200
20201 * elf/dl-load.c (lose): Add cast to avoid warning.
20202
21fd49a9
UD
202032011-10-07 Ulrich Drepper <drepper@gmail.com>
20204
5a06e643
UD
20205 * po/ca.po: Update from translation team.
20206
684ae515
UD
20207 * inet/getnetgrent_r.c: Hook up nscd.
20208 * nscd/Makefile (routines): Add nscd_netgroup.
20209 (nscd-modules): Add netgroupcache.
20210 (CFLAGS-netgroupcache.c): Define.
20211 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
20212 (cache_search): Add const to second parameter.
20213 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
20214 INNETGR.
20215 (dbs): Add netgrdb entry.
20216 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
20217 (verify_persistent_db): Handle netgrdb.
20218 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
20219 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
20220 GETFDNETGR.
20221 (netgroup_response_header): Define.
20222 (innetgroup_response_header): Define.
20223 (datahead): Add netgroup_response_header and innetgroup_response_header
20224 elements.
20225 * nscd/nscd.conf: Add entries for netgroup cache.
20226 * nscd/nscd.h (dbtype): Add netgrdb.
20227 (_PATH_NSCD_NETGROUP_DB): Define.
20228 (netgroup_iov_disabled): Declare.
20229 (xmalloc, xcalloc, xrealloc): Move declarations here.
20230 (cache_search): Adjust prototype.
20231 Add netgroup-related prototypes.
20232 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
20233 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
20234 (__nscd_innetgr): Declare.
20235 * nscd/selinux.c (perms): Use access_vector_t as element type and
20236 add netgroup-related initializers.
20237 * nscd/netgroupcache.c: New file.
20238 * nscd/nscd_netgroup.c: New file.
20239 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
20240 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
20241 For four parameters use innetgr.
20242 * nss/nss_files/files-init.c: Add definition and callback for netgr.
20243 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
20244 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
20245 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
20246
21fd49a9
UD
20247 * nscd/connections.c (register_traced_file): Don't register file
20248 for disabled databases.
20249
054c0457
UD
202502011-10-06 Ulrich Drepper <drepper@gmail.com>
20251
32b63198
UD
20252 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
20253
054c0457
UD
20254 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
20255 from tree and freeing node.
20256
64031225
JO
202572011-09-25 Jiri Olsa <jolsa@redhat.com>
20258
20259 * nss/nsswitch.c (__nss_database_lookup): Handle
20260 nss_parse_service_list out of memory case.
20261
0490345c
JO
202622011-09-15 Jiri Olsa <jolsa@redhat.com>
20263
20264 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
20265 out of memory case.
20266
3a62d00d
AS
202672011-10-04 Andreas Schwab <schwab@redhat.com>
20268
20269 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
20270 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
20271 pass it down.
20272 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
20273 elf_machine_rela, elf_machine_lazy_rel.
20274 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
20275 (ELF_DYNAMIC_DO_REL): Likewise.
20276 (ELF_DYNAMIC_DO_RELA): Likewise.
20277 (ELF_DYNAMIC_RELOCATE): Likewise.
20278 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
20279 to ELF_DYNAMIC_DO_REL.
20280 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
20281 (dl_main): In trace mode always set __RTLD_NOIFUNC.
20282 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
20283 elf_machine_rela.
20284 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
20285 skip_ifunc, don't call ifunc function if non-zero.
20286 (elf_machine_rela): Likewise.
20287 (elf_machine_lazy_rel): Likewise.
20288 (elf_machine_lazy_rela): Likewise.
20289 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
20290 (elf_machine_lazy_rel): Likewise.
20291 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
20292 Likewise.
20293 (elf_machine_lazy_rel): Likewise.
20294 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
20295 Likewise.
20296 (elf_machine_lazy_rel): Likewise.
20297 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
20298 (elf_machine_lazy_rel): Likewise.
20299 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
20300 (elf_machine_lazy_rel): Likewise.
20301 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
20302 (elf_machine_lazy_rel): Likewise.
20303 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
20304 (elf_machine_lazy_rel): Likewise.
20305 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
20306 (elf_machine_lazy_rel): Likewise.
20307 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
20308 (elf_machine_lazy_rel): Likewise.
20309
68577918
UD
203102011-09-28 Ulrich Drepper <drepper@gmail.com>
20311
20312 * nss/nss_files/files-init.c (_nss_files_init): Use static
20313 initialization for all the *_traced_file variables.
20314
68822d74
AS
203152011-09-28 Andreas Schwab <schwab@redhat.com>
20316
20317 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
20318
2056100b
RM
203192011-09-27 Roland McGrath <roland@hack.frob.com>
20320
20321 [BZ #13226]
20322 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
20323
32c76b63
AS
203242011-09-27 Andreas Schwab <schwab@redhat.com>
20325
20326 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
20327 Reread the line before reparsing it.
20328
bf972c9d
AS
203292011-09-26 Andreas Schwab <schwab@redhat.com>
20330
20331 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
20332
e057a1b5
JM
203332011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
20334 Maxim Kuvyrkov <maxim@codesourcery.com>
20335 Joseph Myers <joseph@codesourcery.com>
20336
20337 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
20338 if needed for __stack_chk_guard.
20339
bc7e1c36
RM
203402011-09-19 Roland McGrath <roland@hack.frob.com>
20341
ecb1482f
RM
20342 * sysdeps/posix/spawni.c (script_execute): Always define it.
20343 It will be optimized away if unused.
20344 (maybe_script_execute): New function.
20345 (__spawni): Call it.
20346
bc7e1c36
RM
20347 * Makerules: Don't include tls.make.
20348 (config-tls): Always set to thread.
20349 * tls.make.c: File removed.
20350
1c3b002b
MF
203512011-09-19 Mike Frysinger <vapier@gentoo.org>
20352
20353 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
20354 * config.make.in (CPPFLAGS-config): New substituted variable.
20355
2840865d
UD
203562011-09-15 Ulrich Drepper <drepper@gmail.com>
20357
88738eb6
UD
20358 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
20359
cbf645a6 20360 [BZ #13192]
2840865d
UD
20361 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
20362 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
20363
b402e91a
RM
203642011-09-15 Roland McGrath <roland@hack.frob.com>
20365
20366 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
20367 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
20368 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
20369 (CALL_FAIL): Likewise.
20370 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
20371 (CALL_FAIL): Macro removed.
20372 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
20373
4c1a1f71
UD
203742011-09-15 Ulrich Drepper <drepper@gmail.com>
20375
20376 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
20377 for __FINITE_MATH_ONLY__ == 1.
20378
edc121be
AS
203792011-09-15 Andreas Schwab <schwab@redhat.com>
20380
20381 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
20382 __ieee754_sqrt instead of sqrt.
20383 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
20384 __ieee754_sqrtf instead of sqrtf.
20385 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
20386 __floorf instead of floorf.
20387 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
20388 __floorf, __truncf instead of floorf, truncf.
20389
cd205654
UD
203902011-09-14 Ulrich Drepper <drepper@gmail.com>
20391
ee4d0315
UD
20392 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
20393
cd205654
UD
20394 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
20395 __extern_always_inline.
20396 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
20397 32-bit.
20398
48b67d71
AS
203992011-09-14 Andreas Schwab <schwab@redhat.com>
20400
20401 * elf/rtld.c (dl_main): Also relocate in dependency order when
20402 doing symbol dependency testing.
20403
1ae12c75
AS
204042011-09-13 Andreas Schwab <schwab@linux-m68k.org>
20405
20406 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
20407 Always define `refsym'.
20408
995a80df
AS
204092011-09-13 Andreas Schwab <schwab@redhat.com>
20410
e529793b
AS
20411 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
20412 (__FD_ELT): Renamed from __FDELT.
20413 * misc/bits/select2.h (__FD_ELT): Likewise.
20414 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
20415 __FD_MASK instead of __FDELT, __FDMASK.
20416 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
20417 Likewise.
20418 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
20419 Likewise.
20420
52d4fef8
AS
20421 * elf/Makefile (gen-ldd): Fix pattern.
20422
995a80df
AS
20423 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
20424 (init_tls): Likewise.
20425
8682f8b0
UD
204262011-09-12 Ulrich Drepper <drepper@gmail.com>
20427
20428 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
20429
de82006d
AS
204302011-09-12 Andreas Schwab <schwab@redhat.com>
20431
a7c8e6a1
AS
20432 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
20433 `struct cmsghdr *' instead of `void *'.
20434 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
20435 Likewise.
20436
0f31fe77
AS
204372011-09-11 Andreas Schwab <schwab@linux-m68k.org>
20438
20439 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
20440 if non-absolute.
20441 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
20442 ldd_rewrite_script.
0f31fe77 20443
32b4c839
UD
204442011-09-11 Ulrich Drepper <drepper@gmail.com>
20445
83cd1420
UD
20446 * configure.in: Remove --with-tls option.
20447 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
20448 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
20449 out in case it is missing.
20450 * sysdeps/ia64/elf/configure.in: Likewise.
20451 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
20452 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
20453 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
20454 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
20455 * sysdeps/sh/elf/configure.in: Likewise.
20456 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
20457 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
20458 * sysdeps/x86_64/elf/configure.in: Likewise.
20459 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
20460 * sysdeps/mach/hurd/tls.h: Likewise.
20461
633f745d
UD
20462 [BZ #13067]
20463 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
20464
f318beb8
UD
20465 [BZ #13090]
20466 * configure.in: Fix use of AC_INIT.
20467
32b4c839
UD
20468 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
20469
3ce1f295
UD
204702011-09-10 Ulrich Drepper <drepper@gmail.com>
20471
bb016596
UD
20472 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
20473 __set_errno.
8e58439c
UD
20474 * malloc/hooks.c: Likewise.
20475
aebae053 20476 [BZ #11929]
02d46fc4
UD
20477 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
20478 variables statically.
20479 (narenas): Initialize.
20480 (list_lock): Initialize.
bb016596
UD
20481 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
20482 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
20483 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
20484 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
20485 Add initializers to main_arena and mp_.
20486 (malloc_state): Remove pagesize member. Change all users to use
20487 GLRO(dl_pagesize).
20488
20489 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
20490 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
20491 is always initialized.
20492
22a89187
UD
20493 * malloc/malloc.c: Removed unused configurations and dead code.
20494 * malloc/arena.c: Likewise.
20495 * malloc/hooks.c: Likewise.
02d46fc4 20496 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 20497
d063d164
UD
20498 * include/tls.h: Removed. USE___THREAD must always be defined.
20499 * bits/libc-tsd.h: Don't handle !USE___THREAD.
20500 * elf/dl-libc.c: Likewise.
20501 * elf/dl-tsd.c: Likewise.
20502 * include/errno.h: Likewise.
20503 * include/netdb.h: Likewise.
20504 * include/resolv.h: Likewise.
20505 * inet/herrno-loc.c: Likewise.
20506 * inet/herrno.c: Likewise.
20507 * malloc/arena.c: Likewise.
20508 * malloc/hooks.c: Likewise.
20509 * malloc/malloc.c: Likewise.
20510 * resolv/res-state.c: Likewise.
20511 * resolv/res_libc.c: Likewise.
20512 * sysdeps/i386/dl-machine.h: Likewise.
20513 * sysdeps/ia64/dl-machine.h: Likewise.
20514 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
20515 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
20516 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
20517 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
20518 * sysdeps/sh/dl-machine.h: Likewise.
20519 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
20520 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
20521 * sysdeps/unix/i386/sysdep.S: Likewise.
20522 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
20523 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
20524 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
20525 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
20526 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
20527 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
20528 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
20529 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
20530 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
20531 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
20532 * sysdeps/unix/x86_64/sysdep.S: Likewise.
20533 * sysdeps/x86_64/dl-machine.h: Likewise.
20534 * tls.make.c: Likewise.
20535
3ce1f295
UD
20536 * configure.in: Remove --with-__thread option. Make tests for
20537 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
20538 tls_model attribute fail if no support is available. Remove
20539 USE_IN_LIBIO.
20540 * Makeconfig: Adjust for dropped configure option. All features are
20541 now mandatory.
20542 * Makerules: Likewise.
20543 * Versions.def: Likewise.
20544 * argp/argp-fmtstream.c: Likewise.
20545 * argp/argp-fmtstream.h: Likewise.
20546 * argp/argp-help.c: Likewise.
20547 * assert/assert.c: Likewise.
20548 * config.h.in: Likewise.
20549 * config.make.in: Likewise.
20550 * configure: Likewise.
20551 * configure.in: Likewise.
20552 * csu/Versions: Likewise.
20553 * csu/init.c: Likewise.
20554 * elf/tst-audit2.c: Likewise.
20555 * elf/tst-tls10.c: Likewise.
20556 * elf/tst-tls10.h: Likewise.
20557 * elf/tst-tls11.c: Likewise.
20558 * elf/tst-tls12.c: Likewise.
20559 * elf/tst-tls14.c: Likewise.
20560 * elf/tst-tlsmod11.c: Likewise.
20561 * elf/tst-tlsmod12.c: Likewise.
20562 * elf/tst-tlsmod13.c: Likewise.
20563 * elf/tst-tlsmod13a.c: Likewise.
20564 * elf/tst-tlsmod14a.c: Likewise.
20565 * elf/tst-tlsmod15b.c: Likewise.
20566 * elf/tst-tlsmod16a.c: Likewise.
20567 * elf/tst-tlsmod16b.c: Likewise.
20568 * elf/tst-tlsmod7.c: Likewise.
20569 * elf/tst-tlsmod8.c: Likewise.
20570 * elf/tst-tlsmod9.c: Likewise.
20571 * gmon/gmon.c: Likewise.
20572 * grp/fgetgrent_r.c: Likewise.
20573 * grp/putgrent.c: Likewise.
20574 * hurd/fopenport.c: Likewise.
20575 * include/libc-symbols.h: Likewise.
20576 * include/tls.h: Likewise.
20577 * intl/gettextP.h: Likewise.
20578 * intl/loadinfo.h: Likewise.
20579 * locale/global-locale.c: Likewise.
20580 * locale/localeinfo.h: Likewise.
20581 * mach/devstream.c: Likewise.
20582 * malloc/arena.c: Likewise.
20583 * malloc/set-freeres.c: Likewise.
20584 * misc/err.c: Likewise.
20585 * misc/getttyent.c: Likewise.
20586 * misc/mntent_r.c: Likewise.
20587 * posix/getopt.c: Likewise.
20588 * posix/wordexp.c: Likewise.
20589 * pwd/fgetpwent_r.c: Likewise.
20590 * resolv/Versions: Likewise.
20591 * resolv/res_hconf.c: Likewise.
20592 * shadow/fgetspent_r.c: Likewise.
20593 * shadow/putspent.c: Likewise.
20594 * stdio-common/printf_fphex.c: Likewise.
20595 * stdio-common/tmpfile.c: Likewise.
20596 * stdlib/abort.c: Likewise.
20597 * stdlib/fmtmsg.c: Likewise.
20598 * sunrpc/auth_unix.c: Likewise.
20599 * sunrpc/clnt_perr.c: Likewise.
20600 * sunrpc/clnt_tcp.c: Likewise.
20601 * sunrpc/clnt_udp.c: Likewise.
20602 * sunrpc/clnt_unix.c: Likewise.
20603 * sunrpc/openchild.c: Likewise.
20604 * sunrpc/svc_simple.c: Likewise.
20605 * sunrpc/svc_tcp.c: Likewise.
20606 * sunrpc/svc_udp.c: Likewise.
20607 * sunrpc/svc_unix.c: Likewise.
20608 * sunrpc/xdr.c: Likewise.
20609 * sunrpc/xdr_array.c: Likewise.
20610 * sunrpc/xdr_rec.c: Likewise.
20611 * sunrpc/xdr_ref.c: Likewise.
20612 * sunrpc/xdr_stdio.c: Likewise.
20613
1248c1c4
PB
206142011-09-09 Ulrich Drepper <drepper@gmail.com>
20615
20616 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
20617
206182011-07-03 Andreas Jaeger <aj@suse.de>
20619
20620 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
20621 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
20622 regenerate with gen-libm-tests.pl.
20623
206242010-05-12 Petr Baudis <pasky@suse.cz>
20625
20626 [BZ #11589]
20627 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
20628 around j0() zero points by switching to j1().
20629 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
20630 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
20631 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
20632 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
20633
f22e1074
UD
206342011-09-09 Ulrich Drepper <drepper@gmail.com>
20635
f19009c1
UD
20636 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
20637 instead of 0.
20638 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 20639 instead of 0.
f19009c1
UD
20640 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
20641 Patch in part by Pavel Roskin <proski@gnu.org>.
20642
3f8cc204
UD
20643 [BZ #13138]
20644 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
20645 realloc.
20646 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
20647 Free memory block if necessary.
20648
f22e1074
UD
20649 [BZ #12847]
20650 * libio/genops.c (INTDEF): For string streams the _lock pointer can
20651 be NULL. Don't lock in this case.
20652
0a2349f9
RM
206532011-09-09 Roland McGrath <roland@hack.frob.com>
20654
20655 * elf/elf.h (ELFOSABI_GNU): New macro.
20656 (ELFOSABI_LINUX): Define to that.
20657
f3cdd467
DZ
206582011-07-29 Denis Zaitceff <zaitceff@gmail.com>
20659
20660 * string/strncat.c (strncat): Undef the symbol in case it has been
20661 defined in bits/string.h.
20662
74718d13
UD
206632011-09-09 Ulrich Drepper <drepper@gmail.com>
20664
633e9e0f
UD
20665 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
20666
0a2349f9 20667 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
20668 link map.
20669
f9924780
AJ
206702011-08-17 Andreas Jaeger <aj@suse.de>
20671
20672 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
20673
7f5517aa
PP
206742011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
20675 Ian Lance Taylor <iant@google.com>
20676
20677 * math/libm-test.inc (lround_test): New testcase.
20678 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
20679
762011fe
UD
206802011-09-08 Ulrich Drepper <drepper@gmail.com>
20681
92963737
UD
20682 * Makefile: Remove support for automatic cvs check-ins.
20683 * Makerules: Likewise.
20684 * config.make.in: Likewise.
20685 * configure.in: Likewise.
20686 * intl/Makefile: Likewise.
20687 * locale/Makefile: Likewise.
20688 * po/Makefile: Likewise.
20689 * posix/Makefile: Likewise.
20690 * sysdeps/gnu/Makefile: Likewise.
20691 * sysdeps/mach/hurd/Makefile: Likewise.
20692 * sysdeps/sparc/sparc32/Makefile: Likewise.
20693
b0727fd8
JS
20694 [BZ #13118]
20695 * posix/Makefile (bug-regex32-ENV): Define.
20696 Patch by John Stanley <jpsinthemix@verizon.net>.
20697
a0f33f99
UD
20698 * misc/Makefile (headers): Add bits/select2.h.
20699 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
20700 * misc/bits/select2.h: New file.
20701 * include/bits/select2.h: New file.
20702 * debug/Makefile (routines): Add fdelt_chk.
20703 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
20704 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
20705 FD_ISSET.
20706 * debug/fdelt_chk.c: New file.
20707
762011fe
UD
20708 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
20709 * wcsmbs/test-wmemcmp.c: Likewise.
20710 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 20711 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
20712
207132011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20714
20715 * string/Makefile (strop-tests): Add memcmp.
20716 * string/test-wmemcmp.c: New file.
20717 * string/test-memcmp.c: Add wmemcmp support.
20718
7f513ec8
RM
207192011-09-08 Roland McGrath <roland@hack.frob.com>
20720
0442afb4
RM
20721 [BZ #13153]
20722 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
20723 2011-07-19 change.
20724
7f513ec8
RM
20725 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
20726 garbage value in a __mach_port_mod_refs call in the cases of the
20727 task-self and thread-self ports.
20728
a12b2239
ST
207292011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
20730
20731 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
20732
610f9ab4
AS
207332011-09-08 Andreas Schwab <schwab@redhat.com>
20734
7f513ec8 20735 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 20736
48882a1a
LD
207372011-09-07 Ulrich Drepper <drepper@gmail.com>
20738
b49865be
UD
20739 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
20740
fdc86bc9
UD
20741 * elf/dl-libc.c (dlerror_run): Pass back error code from
20742 dl_catch_error.
20743
c966526a
UD
20744 [BZ #13123]
20745 * elf/dl-load.c (lose): Free l_origin if it is valid.
20746
48882a1a
LD
20747 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
20748 names.
20749 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
20750 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
20751 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
20752 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
20753 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
20754 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
20755
77a2a8b4
AZ
207562011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20757
20758 * sysdeps/powerpc/fpu/e_hypot.c: New file.
20759 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
20760 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
20761 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
20762 * sysdeps/powerpc/fpu/k_cosf.c: New file.
20763 * sysdeps/powerpc/fpu/k_sinf.c: New file.
20764 * sysdeps/powerpc/fpu/s_cosf.c: New file.
20765 * sysdeps/powerpc/fpu/s_sinf.c: New file.
20766 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
20767 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
20768
24f579d8
AM
207692011-08-15 Alan Modra <amodra@gmail.com>
20770
20771 [BZ #13092]
20772 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
20773 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
20774 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
20775 ppc_mcount to static-only-routines.
20776 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
20777 __mcount_internal.
20778 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
20779 __mcount_internal with usual JUMPTARGET. Remove useless nop.
20780
3d4837df
UD
207812011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
20782
20783 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
20784 for finite and infinity parameters.
20785
22700377
WS
207862011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
20787
20788 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
20789 and add nop instructions for throughput optimization.
20790 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
20791
5025581e
WS
207922011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
20793
20794 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
20795 aligned copy for power7 with vector-scalar instructions.
20796 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
20797
08a300c9
L
207982011-07-24 H.J. Lu <hongjiu.lu@intel.com>
20799
20800 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
20801 AVX check.
20802
59178ef9
AS
208032011-09-07 Andreas Schwab <schwab@redhat.com>
20804
20805 [BZ #13144]
20806 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
20807 last change.
20808
e38ba7ab
UD
208092011-09-07 Ulrich Drepper <drepper@gmail.com>
20810
20811 * sysdeps/unix/sysv/linux/x86_64/init-first.c
20812 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
20813 syscall wrapper around clock_gettime in __vdso_clock_gettime.
20814 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
20815 clock_gettime.
20816
d53a73ac
UD
208172011-09-06 Ulrich Drepper <drepper@gmail.com>
20818
fc8bffcc
UD
20819 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
20820 Forgot to demangle the pointer.
20821
ceaa0c5d
UD
20822 * sysdeps/i386/sysdep.h: Define atom_text_section.
20823 * sysdeps/x86_64/sysdep.h: Likewise.
20824 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
20825 section with atom_text_section.
20826 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
20827 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
20828 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
20829 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
20830 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
20831
a77d3c17
UD
20832 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
20833 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
20834 already be defined. Change to take two parameters and don't assign
20835 result to variable. Adjust all users.
20836 Define INTERNAL_GETTIME if not already defined.
20837 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
20838 call.
20839 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
20840 HAVE_CLOCK_GETTIME_VSYSCALL.
20841 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
20842
d53a73ac
UD
20843 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
20844 gettimeofday vsyscall, just use time.
20845
a8f84144
AS
208462011-09-06 Andreas Schwab <schwab@redhat.com>
20847
20848 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
20849 <errno.h>.
20850
ef606249
UD
208512011-09-06 Ulrich Drepper <drepper@gmail.com>
20852
20853 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
20854 syscall on x86-64.
20855 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
20856 syscall.
20857 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
20858 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
20859 syscall if possible.
20860
6585cb60
UD
208612011-09-05 Ulrich Drepper <drepper@gmail.com>
20862
20863 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
20864 e_ident. Don't pass to find_mapsXX.
20865 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
20866
a5f524e4
LD
208672011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20868
20869 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20870 strchr-sse2-no-bsf strrchr-sse2-no-bsf
20871 * sysdeps/x86_64/multiarch/strchr.S: Update.
20872 Check bit_slow_BSF bit.
20873 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
20874 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
20875 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
20876
554881ef
UD
208772011-09-05 Ulrich Drepper <drepper@gmail.com>
20878
d96de963
UD
20879 [BZ #13134]
20880 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
20881 before glibc 2.15.
20882 (tryshell): Define.
20883 (__spawni): Change last parameter to be flag. Test
20884 SPAWN_XFLAGS_USE_PATH flag to use path or not.
20885 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
20886 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
20887 * posix/spawni.c: Likewise.
20888 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
20889 * posix/spawnp.c: Likewise. Change normal version to use
20890 SPAWN_XFLAGS_USE_PATH.
20891 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
20892 SPAWN_XFLAGS_TRY_SHELL.
20893
d48e5868
UD
20894 [BZ #13150]
20895 * posix/glob.h: Remove gcc 1.x support.
20896
554881ef
UD
20897 [BZ #13068]
20898 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
20899
693fb948
LD
209002011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20901
20902 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20903 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
20904 strrchr-sse2-bsf
20905 * sysdeps/i386/i686/multiarch/strchr.S: New file.
20906 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
20907 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
20908 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
20909 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
20910 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
20911
1b48c537
UD
209122011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20913
49d42c37
UD
20914 * sysdeps/x86_64/wcscmp.S: New file.
20915
1b48c537
UD
20916 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
20917 wcscmp-c wcscmp-sse2
20918 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
20919 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
20920 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
20921 * wcsmbs/wcscmp.c: Allow renaming.
20922
15c95c5d
DM
209232011-09-05 David S. Miller <davem@davemloft.net>
20924
20925 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
20926 stack slot, rather than the struct return pointer slot.
20927 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
20928 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
20929 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
20930 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
20931
2f0ad8f3
UD
209322011-09-05 Ulrich Drepper <drepper@gmail.com>
20933
d88ae418
UD
20934 * po/ja.po: Update from translation team.
20935
2f0ad8f3
UD
20936 [BZ #13144]
20937 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
20938 kernel in 64-bit binaries.
20939
5f4318d1
DM
209402011-09-01 David S. Miller <davem@davemloft.net>
20941
20942 * elf/elf.h (HWCAP_SPARC_*): Move to..
20943 * sysdeps/sparc/sysdep.h: this new file and add new values.
20944 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
20945 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
20946 _DL_HWCAP_COUNT to 24.
20947 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
20948 entries.
20949 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
20950 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
20951 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
20952 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
20953 instead of magic constants.
20954 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
20955
3ba57516
DM
209562011-08-31 David S. Miller <davem@davemloft.net>
20957
20958 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
20959 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
20960 Reimplement to do errno handling inline.
20961 (SYSCALL_ERROR_HANDLER): New macro.
20962 (__SYSCALL_STRING): Do not do errno handling in asm.
20963 (__CLONE_SYSCALL_STRING): Delete.
20964 (__INTERNAL_SYSCALL_STRING): Delete.
20965 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
20966 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
20967 (PSEUDO): Reimplement to do errno handling inline.
20968 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
20969 (SYSCALL_ERROR_HANDLER): New macro.
20970 (__SYSCALL_STRING): Do not do errno handling in asm.
20971 (__CLONE_SYSCALL_STRING): Delete.
20972 (__INTERNAL_SYSCALL_STRING): Delete.
20973 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
20974 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
20975 i386.
20976 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
20977 (inline_syscall*): Add 'err' argument.
20978 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
20979 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
20980 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
20981 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
20982
20983 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
20984 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
20985
2bc17433
AS
209862011-08-30 Andreas Schwab <schwab@redhat.com>
20987
20988 * elf/rtld.c (dl_main): Relocate objects in dependency order.
20989
fbeb5f4d
JO
209902011-08-29 Jiri Olsa <jolsa@redhat.com>
20991
20992 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
20993 directive.
20994
ad69cc26
DM
209952011-08-24 David S. Miller <davem@davemloft.net>
20996
20997 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
20998
39dd69df
AS
209992011-08-24 Andreas Schwab <schwab@redhat.com>
21000
21001 * elf/Makefile: Add rules to build and run unload8 test.
21002 * elf/unload8.c: New file.
21003 * elf/unload8mod1.c: New file.
21004 * elf/unload8mod1x.c: New file.
21005 * elf/unload8mod2.c: New file.
21006 * elf/unload8mod3.c: New file.
21007
21008 * elf/dl-close.c (_dl_close_worker): Reset private search list if
21009 it wasn't used.
21010
2c0b250a
DM
210112011-08-23 David S. Miller <davem@davemloft.net>
21012
21013 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
21014 subtract stack bias.
21015 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
21016 %sp not %fp in calculations.
21017 (_JMPBUF_UNWINDS_ADJ): Likewise.
21018
22044b48
DM
21019 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
21020 (aio_suspend): Call it to force an exception region around the
21021 AIO_MISC_WAIT() invocation.
21022
2cae4995
AS
210232011-08-23 Andreas Schwab <schwab@redhat.com>
21024
21025 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
21026 backslash.
21027
873a772e
AJ
210282011-07-04 Aurelien Jarno <aurelien@aurel32.net>
21029
21030 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
21031 protection macro.
21032 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
21033 and <dl-machine.h>.
21034 (Elf64_FuncDesc): Remove.
21035
25ad0df1
DM
210362011-08-22 David S. Miller <davem@davemloft.net>
21037
21038 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
21039 sigaltstack check, add missing cfi directives.
21040 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
21041 missing cfi directives, and sigaltstack handling.
21042
e888bcbe
AS
210432011-08-16 Andreas Schwab <schwab@redhat.com>
21044
21045 [BZ #11724]
21046 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
21047 object is seen twice.
21048 * elf/dl-fini.c (_dl_sort_fini): Likewise.
21049
21050 * elf/Makefile (distribute): Add tst-initorder2.c.
21051 (tests): Add tst-initorder2.
21052 (modules-names): Add tst-initorder2a tst-initorder2b
21053 tst-initorder2c tst-initorder2d. Add rules to build them.
21054 ($(objpfx)tst-initorder2.out): New rule.
21055 * elf/tst-initorder2.c: New file.
21056 * elf/tst-initorder2.exp: New file.
21057
87162f46
AS
210582011-08-22 Andreas Schwab <schwab@redhat.com>
21059
70538b7f
AS
21060 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
21061
f55ffe58
AS
21062 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
21063 dependencies back to end of function.
21064
87162f46
AS
21065 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
21066 $(elfobjdir)/ld.so.
21067
91b392a4
UD
210682011-08-21 Ulrich Drepper <drepper@gmail.com>
21069
21070 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
21071 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
21072 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
21073 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
21074 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
21075 of __vdso_gettimeofday.
21076 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
21077 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
21078 attribute_hidden.
21079 (_libc_vdso_platform_setup): Remove initialization of
21080 __vdso_gettimeofday and __vdso_time.
21081
5c43483f
UD
210822011-08-20 Ulrich Drepper <drepper@gmail.com>
21083
775a77e7
UD
21084 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
21085 and fgetc_unlocked.
21086 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
21087 getc_unlocked.
89f447ed 21088
49c74ba9
UD
21089 * elf/dl-open.c (add_to_global): Report additions to the global scope
21090 for LD_DEBUG=scopes.
21091 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 21092 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 21093
5c43483f
UD
21094 [BZ #13114]
21095 * stdio-common/Makefile (tests): Add bug24.
21096 * stdio-common/bug24.c: New file.
21097
a101b025
AJ
210982011-08-19 Andreas Jaeger <aj@suse.de>
21099
21100 [BZ #13114]
21101 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
21102 non-existant file when using close-on-exec mode.
21103
c88f1766
UD
211042011-08-20 Ulrich Drepper <drepper@gmail.com>
21105
0276a718
UD
21106 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
21107 the very first instruction.
21108
c88f1766
UD
21109 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
21110 the CFI state in the end.
21111 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
21112 inclusion of dl-trampoline.h.
21113 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
21114
51ccffa0
AS
211152011-08-19 Andreas Schwab <schwab@redhat.com>
21116
94d7165f
AS
21117 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
21118 expectations for long double.
21119
51ccffa0
AS
21120 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
21121 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
21122
fd708658 211232011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
21124
21125 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
21126 artificual limit depends upon the system page size.
21127
44f0a71e
UD
211282011-08-17 Ulrich Drepper <drepper@gmail.com>
21129
21130 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
21131 * resolv/Makefile: Define CFLAGS-libresolv.
21132
8de79a24
AS
211332011-08-17 Andreas Schwab <schwab@redhat.com>
21134
21135 * nss/makedb.c (compute_tables): Make variables used in nested
21136 function static.
21137
27724598
UD
211382011-08-17 Ulrich Drepper <drepper@gmail.com>
21139
c5305d88
UD
21140 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
21141 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
21142 if buffer was too small.
21143
27724598
UD
21144 * elf/pldd.c (main): Attach to all threads in the process.
21145 Rewrite /proc handling to use *at functions.
21146
076fe015
UD
211472011-08-16 Ulrich Drepper <drepper@gmail.com>
21148
174baab3
UD
21149 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
21150 specifies first scope to show.
21151 (dl_open_worker): Update callers. Move printing scope of new
21152 object to before the relocation.
44f0a71e 21153 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
21154 * sysdeps/generic/ldsodefs.h: Update declaration.
21155
076fe015
UD
21156 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
21157 string for the scope number.
21158
a60df2c3
UD
211592011-08-14 Ulrich Drepper <drepper@gmail.com>
21160
21161 * nscd/servicescache.c (cache_addserv): Make sure written is always
21162 initialized.
21163
5e4287d1
RM
211642011-08-14 Roland McGrath <roland@hack.frob.com>
21165
85ae0589
RM
21166 * sysdeps/i386/i486/bits/atomic.h
21167 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
21168 statement expression, so as to suppress "set but not used" warning.
21169 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
21170
69f63097
RM
21171 * string/strncat.c (STRNCAT): Use prototype definition.
21172
675456ef
RM
21173 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
21174 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
21175 -Iprograms here.
21176 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
21177 (localedef-modules): Add localedef.
21178 (locale-modules): Add locale.
21179
5e4287d1
RM
21180 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
21181 * elf/rtld.c (dl_main): Invert order of assignment in last change,
21182 to avoid a warning.
21183
9c96ff23
DM
211842011-08-14 David S. Miller <davem@davemloft.net>
21185
21186 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
21187 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
21188
f9ddf089
UD
211892011-08-13 Ulrich Drepper <drepper@gmail.com>
21190
44f0a71e 21191 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
21192 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
21193 * elf/rtld.c (dl_main): Set l_name of vDSO.
21194 Call _dl_show_scope when DL_DEBUG_SCOPES.
21195 (process_dl_debug): Recognize scopes flag and also set it for all.
21196 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
21197 Declare _dl_show_scope.
21198
1dc27704
UD
21199 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
21200 (do_dlopen): Pass caller_dlopen to dl_open.
21201 (__libc_dlopen_mode): Initialize caller_dlopen.
21202
f9ddf089
UD
21203 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
21204 of libc. Make tolower call locale-independent. Optimize a bit by
21205 using isdigit instead of isalnum.
21206 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
21207
9ac533d3
UD
212082011-08-12 Ulrich Drepper <drepper@gmail.com>
21209
21210 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
21211 was a dependency or dynamically loaded.
21212
89edf2e9
UD
212132011-08-11 Ulrich Drepper <drepper@gmail.com>
21214
8e999d29
UD
21215 * intl/l10nflist.c: Allow architecture-specific pop function.
21216 * sysdeps/x86_64/l10nflist.c: New file.
21217
89edf2e9
UD
21218 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
21219 classification.
21220
14d96785
AS
212212011-08-10 Andreas Schwab <schwab@redhat.com>
21222
21223 * include/dirent.h: Add libc_hidden_proto for scandirat and
21224 scandirat64. Don't declare __scandirat64.
21225 * dirent/scandirat.c: Add libc_hidden_def.
21226 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
21227 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
21228
6761ac04
DM
212292011-08-10 David S. Miller <davem@davemloft.net>
21230
21231 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
21232 enum.
21233 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
21234 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
21235 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
21236
c55fbd1e
UD
212372011-08-09 Ulrich Drepper <drepper@gmail.com>
21238
21239 * Versions.def [libc]: Add GLIBC_2.15.
21240 * dirent/Makefile (routines): Add scandirat and scandirat64.
21241 * dirent/Versions [libc]: Export scandirat and scandirat64 for
21242 GLIBC_2.15.
21243 * dirent/dirent.h: Declare scandirat and scandirat64.
21244 * dirent/scandirat.c: New file.
21245 * dirent/scandirat64.c: New file.
21246 * sysdeps/wordsize-64/scandirat.c: New file.
21247 * sysdeps/wordsize-64/scandirat64.c: New file.
21248 * dirent/opendir.c: Define opendirat.
21249 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
21250 using scandirat.
21251 * dirent/scandir64.c: Adjust for scandir.c change.
21252 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
21253 __scandirat64, and __scandir_cancel_handler.
21254 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
21255 additional parameter and use openat instead of open (outside of ld.so).
21256 Add new __opendir as wrapper around __opendirat.
21257 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
21258 here without requiring old scandirat implementation.
21259
879165f2
UD
212602011-08-08 Ulrich Drepper <drepper@gmail.com>
21261
21262 * dirent/scandir.c (cancel_handler): Renamed to
21263 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
21264 defined. Adjust users.
21265 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
21266 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
21267
cb7e923b
UD
212682011-08-04 Ulrich Drepper <drepper@gmail.com>
21269
16292edd
UD
21270 * string/test-string.h (IMPL): Use __STRING to expand name and then
21271 stringify it.
21272
cb7e923b
UD
21273 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
21274 of cleanups.
21275
cff82933
LD
212762011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21277
21278 * string/Makefile: Update.
21279 (strop-tests): Append strncat.
21280 * string/test-wcscmp.c: New file.
21281 New comprehensive test for wcscmp.
21282 * string/test-strcmp.c: Update.
21283 (WIDE): New define.
21284
9be9bfcc
AS
212852011-07-22 Andreas Schwab <schwab@redhat.com>
21286
21287 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
21288 line.
21289
2e96f1c7
AS
212902011-07-26 Andreas Schwab <schwab@redhat.com>
21291
21292 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
21293 encoding to ACE if AI_IDN.
21294
85188888
JJ
212952011-08-01 Jakub Jelinek <jakub@redhat.com>
21296
21297 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
21298 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
21299
5fa16e9b
LD
213002011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21301
21302 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
21303 Fix overflow bug in strncat.
21304 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
21305
21306 * string/test-strncat.c: Update.
21307 Add new tests for checking overflow bugs.
21308
213092011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21310
21311 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21312 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
21313 * sysdeps/i386/i686/multiarch/strcat.S: New file.
21314 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
21315 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
21316 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
21317 * sysdeps/i386/i686/multiarch/strncat.S: New file.
21318 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
21319 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
21320
21321 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
21322 (USE_AS_STRCAT): Define.
21323 Add strcat and strncat support.
21324 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
21325
8c1a459f
AS
213262011-07-25 Andreas Schwab <schwab@redhat.com>
21327
21328 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
21329 __n bigger than INT_MAX+1.
21330 (__strncmp_g): Likewise.
21331
bba33c28
UD
213322011-07-23 Ulrich Drepper <drepper@gmail.com>
21333
798be72d
UD
21334 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
21335 * libio/stido.h: Likewise.
21336
8accd4dc
UD
21337 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
21338 (AF_NFC): Define.
21339 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
21340 (AF_NFC): Define.
21341
cbff0d96
UD
21342 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
21343 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
21344 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
21345 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
21346 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
21347
9191c04a
UD
21348 [BZ #13021]
21349 * scripts/test-installation.pl: Don't expect libnss_test1 to be
21350 installed.
21351
bba33c28
UD
21352 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
21353 typo.
21354 (_dl_x86_64_save_sse): Likewise.
21355
90f139dd
UD
213562011-07-22 Ulrich Drepper <drepper@gmail.com>
21357
1aae088a
UD
21358 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
21359 OSXSAVE.
21360 (_dl_x86_64_save_sse): Likewise.
21361
8e2045f5
UD
21362 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
21363
90f139dd
UD
21364 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
21365
1d002f25
AS
213662011-07-21 Andreas Schwab <schwab@redhat.com>
21367
21368 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
21369 change.
21370 (_dl_x86_64_save_sse): Use correct AVX check.
21371
21137f89
UD
213722011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21373
21374 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
21375 bug in strncpy/strncat.
21376 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
21377
a65c0b7a
UD
213782011-07-21 Ulrich Drepper <drepper@gmail.com>
21379
21380 * string/tester.c (test_strcat): Add tests for different alignments
21381 of source and destination.
21382 (test_strncat): Likewise.
21383
6986b98a
UD
213842011-07-20 Ulrich Drepper <drepper@gmail.com>
21385
90bb2039
UD
21386 [BZ #12852]
21387 * posix/glob.c (glob): Check passed in values before using them in
21388 expressions to avoid some overflows.
21389 (glob_in_dir): Likewise.
21390
5644ef54
UD
21391 [BZ #13007]
21392 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
21393 check for AVX enablement so that we don't crash with old kernels and
21394 new hardware.
21395 * elf/tst-audit4.c: Add same checks here.
21396 * elf/tst-audit6.c: Likewise.
21397
21398 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 21399
bfc9dc9b
AS
214002011-07-09 Andreas Schwab <schwab@linux-m68k.org>
21401
21402 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
21403
702e64bb
UD
214042011-07-20 Ulrich Drepper <drepper@gmail.com>
21405
21406 * po/cs.po: Update from translation team.
21407 * po/bg.po: Likewise.
21408
295e904f
MP
214092011-07-12 Marek Polacek <mpolacek@redhat.com>
21410
21411 * misc/sys/cdefs.h: Add support for const attribute.
21412 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
21413 to gnu_dev_{major,minor,makedev} functions.
21414
3ff94596
MP
214152011-07-20 Marek Polacek <mpolacek@redhat.com>
21416
21417 * intl/dcigettext.c (get_output_charset): Add missing bracket.
21418
28b59fca
AS
214192011-07-20 Andreas Schwab <schwab@redhat.com>
21420
21421 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
21422 strlen results.
21423
19df733e
AK
214242011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21425
21426 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
21427 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
21428 register in order to avoid conflicts with the soft frame pointer
21429 being held in r11 when necessary.
21430 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
21431 (INTERNAL_VSYSCALL_NCS): Likewise.
21432
c8835729
MP
214332011-07-14 Marek Polacek <mpolacek@redhat.com>
21434
21435 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
21436 * elf/dl-fini.c (_dl_fini): Adjust caller.
21437 * elf/dl-close.c (_dl_close_worker): Likewise.
21438 * sysdeps/generic/ldsodefs.h: Adjust declaration.
21439
b902330c
MP
214402011-07-15 Marek Polacek <mpolacek@redhat.com>
21441
8991e135
MP
21442 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
21443 "aux_cache->nlibs < 0".
21444
b902330c
MP
21445 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
21446 in the reload-count case.
21447
99710781
LD
214482011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21449
21450 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21451 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
21452 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
21453 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
21454 * sysdeps/x86_64/multiarch/strcat.S: New file.
21455 * sysdeps/x86_64/multiarch/strncat.S: New file.
21456 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
21457 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
21458 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
21459 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
21460 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
21461 (USE_AS_STRCAT): Define.
21462 Add strcat and strncat support.
21463 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
21464 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
21465 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
21466 * string/strncat.c: Update.
21467 (USE_AS_STRNCAT): Define.
21468 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21469 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
21470 and i7.
21471 * sysdeps/x86_64/multiarch/init-arch.h
21472 (bit_Prefer_PMINUB_for_stringop): New.
21473 (index_Prefer_PMINUB_for_stringop): Likewise.
21474 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
21475 bit_Prefer_PMINUB_for_stringop.
21476
7dc6bd90
UD
214772011-07-19 Ulrich Drepper <drepper@gmail.com>
21478
21479 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
21480 buffer64.
21481 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
21482 of casting of buffer.
21483 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
21484 buffer32 and buffer64.
21485 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
21486 writes instead of casting of buffer.
21487 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
21488 buffer32.
21489 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
21490 casting of buffer.
21491
e0e72284
AS
214922011-07-19 Andreas Schwab <schwab@redhat.com>
21493
21494 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
21495
feb1eb0b
UD
214962011-07-19 Ulrich Drepper <drepper@gmail.com>
21497
21498 * nscd/nscd.c (termination_handler): Don't do anything for a database
21499 if it has not yet been initialized.
21500
298711ff
UD
215012011-07-18 Ulrich Drepper <drepper@gmail.com>
21502
21503 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
21504
215052011-07-15 Marek Polacek <mpolacek@redhat.com>
21506
21507 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
21508
f9d68389
UD
215092011-07-18 Ulrich Drepper <drepper@gmail.com>
21510
21511 * po/nl.po: Update from translation team.
21512 * po/sv.po: Likewise.
21513
db290cf5
RM
215142011-07-16 Roland McGrath <roland@hack.frob.com>
21515
21516 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
21517 now disallowed by GCC.
5c550700 21518
fd5e21c7
RM
21519 * configure.in (use-default-link): Default to yes if a test -shared
21520 link meets our qualifications.
21521 * configure: Regenerated.
21522
5c550700
RM
21523 * config.make.in (output-format): New variable.
21524 * configure.in: Check for ld --print-output-format support.
21525 * configure: Regenerated.
21526 * Makerules ($(common-objpfx)format.lds)
21527 [$(output-format) != unknown]: Just use $(output-format),
21528 instead of the linker-script munging.
21529
9fa2c032
RM
215302011-07-14 Roland McGrath <roland@hack.frob.com>
21531
a6928d51
RM
21532 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
21533 of $(common-objpfx)shlib.lds.
21534 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
21535
661607b3
RM
21536 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
21537 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
21538
9fa2c032
RM
21539 * configure.in (-z relro check): Adjust test code to add a large
21540 writable data section after it.
21541 * configure: Regenerated.
21542
defe9061
RM
215432011-07-11 Roland McGrath <roland@hack.frob.com>
21544
21545 * configure.in (-z relro check): Fix test code to make the variable
21546 truly const.
21547 * configure: Regenerated.
21548
319b9ad4
UD
215492011-07-11 Ulrich Drepper <drepper@gmail.com>
21550
21551 * nscd/nscd.h (struct traced_file): Define.
21552 (struct database_dyn): Remove inotify_descr, reset_res, and filename
21553 elements. Add traced_files.
21554 (inotify_fd): Declare.
21555 (register_traced_file): Declare.
21556 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
21557 (inotify_fd): Export.
21558 (resolv_conf_descr): Remove.
21559 (nscd_init): Move inotify descriptor creation to main.
21560 Don't register files for notification here.
21561 (register_traced_file): New function.
21562 (invalidate_cache): Don't use reset_res to determine whether to call
21563 res_init, go through the list of registered files.
21564 (main_loop_poll): The inotify descriptors are now stored in the
21565 structures for the traced files.
21566 (main_loop_epoll): Likewise
21567 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
21568 to __nss_disable_nscd.
21569 * nscd/cache.c (prune_cache): There is no single inotify descriptor
21570 for a database anymore. Check the records for all the registered
21571 files instead.
21572 * nss/Makefile (libnss_files-routines): Add files-init.
21573 (libnss_db-routines): Add db-init.
21574 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
21575 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
21576 * nss/nss_db/db-init.c: New file.
21577 * nss/nss_files/files-init.c: New file.
21578 * nss/nsswitch.c (nss_load_library): New function. Broken out of
21579 __nss_lookup_function.
21580 (__nss_lookup_function): Call nss_load_library.
21581 (nss_load_all_libraries): New function.
21582 (__nss_disable_nscd): Take parameter with callback function for files
21583 to register. Set is_nscd. Load all the DSOs for the NSS modules
21584 used for the cached services.
21585 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
21586 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
21587 options for features to all the files in nscd.
21588
21589 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
21590
23bee3e8
RM
215912011-07-10 Roland McGrath <roland@hack.frob.com>
21592
21593 * csu/elf-init.c (__libc_csu_init): Comment typo.
21594
46a5b7f0
UD
215952011-07-09 Ulrich Drepper <drepper@gmail.com>
21596
21597 * po/pl.po: Update from translation team.
21598 * po/ja.po: Likewise.
21599 * po/ru.po: Likewise.
21600 * po/ko.po: Likewise.
21601 * po/fr.po: Likewise.
21602
d30cf5bb
RM
216032011-07-09 Roland McGrath <roland@hack.frob.com>
21604
113ddea4
RM
21605 * configure.in (.ctors/.dtors header and trailer check):
21606 Use an empirical test on a built program.
21607 * configure: Regenerated.
21608
574920b4
RM
21609 * configure.in (-z relro check): Use an empirical test on a built DSO.
21610 Detect, but do not require, on ia64.
21611 * configure: Regenerated.
21612
d30cf5bb
RM
21613 * configure.in (READELF): Find it with AC_CHECK_TOOL.
21614 Update tests that use readelf to use $READELF instead.
21615 * configure: Regenerated.
21616
8538fdb3
UD
216172011-07-08 Ulrich Drepper <drepper@gmail.com>
21618
21619 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
21620 if the result is not used.
21621
04d08991
AJ
216222011-07-05 Andreas Jaeger <aj@suse.de>
21623
21624 [BZ#9696]
21625 * stdlib/tst-strtod.c: Add testcase.
21626
de283087
AD
216272011-07-07 Ulrich Drepper <drepper@gmail.com>
21628
4e5f31c8 21629 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 21630 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
21631 The latter has a higher limit. Take additional parameter to pass to
21632 the new function.
21633 (__pathconf): Pass file to __statfs_link_max.
21634 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
21635 __statfs_link_max.
21636 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
21637 __statfs_link_max.
21638
de283087
AD
21639 [BZ #12868]
21640 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
21641 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
21642 Handle Lustre.
21643 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
21644 (__statfs_filesize_max): Likewise.
21645 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
21646
c75fa153
AJ
216472011-07-05 Andreas Jaeger <aj@suse.de>
21648
21649 * resolv/res_comp.c (dn_skipname): Remove unused variable.
21650
1a544854
UD
216512011-07-06 Marek Polacek <mpolacek@redhat.com>
21652
21653 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
21654 `status' variable.
21655 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
21656 Likewise.
21657
6f0eec67
UD
216582011-07-04 H.J. Lu <hongjiu.lu@intel.com>
21659
21660 * Makefile (strop-tests): Add strncat.
21661 * string/test-strncat.c: New file.
21662
aae30307
UD
216632011-06-30 Marek Polacek <mpolacek@redhat.com>
21664
21665 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
21666
c0cfb5eb
UD
216672011-06-21 Andreas Jaeger <aj@suse.de>
21668
21669 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
21670 Copy rule from iconvdata/Makefile.
21671
01636b21
UD
216722011-07-06 Ulrich Drepper <drepper@gmail.com>
21673
21674 [BZ #12922]
21675 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
21676 but no long options are defined, just return 'W'.
21677
9895c8bc
UD
216782011-06-22 Marek Polacek <mpolacek@redhat.com>
21679
21680 [BZ #9696]
21681 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
21682
5d4cf042
UD
216832011-07-06 Ulrich Drepper <drepper@gmail.com>
21684
21685 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
21686 netgroups to read.
960e5535 21687 (innetgr): Likewise.
5d4cf042 21688
751eb97e
RM
216892011-07-05 Roland McGrath <roland@hack.frob.com>
21690
21691 * config.make.in (install_root): Default to $(DESTDIR).
21692
f15f1e45
UD
216932011-07-05 Ulrich Drepper <drepper@gmail.com>
21694
21695 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
21696
4e34ac6a
RM
216972011-07-02 Roland McGrath <roland@hack.frob.com>
21698
5e9b6af4
RM
21699 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
21700
84f9ea0f
RM
21701 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
21702 containing directory rather than embedding absolute directory names.
21703
ea5ee9f7
RM
21704 * scripts/check-local-headers.sh: Rewritten using awk.
21705 Match by word, not by line. Print error messages for matches.
21706 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
21707
1b74661a
RM
21708 * Makerules [shlib-lds-flags empty]:
21709 ($(common-objpfx)libc_pic.opts): New target.
21710 ($(common-objpfx)libc_pic.os.clean): New target.
21711 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
21712
21713 * config.make.in (OBJCOPY): New variable.
21714 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
21715 * configure: Regenerated.
21716
f781ef40
RM
21717 * config.make.in (use-default-link): New variable.
21718 * configure.in (use_default_link): Grok --with-default-link to set it.
21719 * configure: Regenerated.
21720 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
21721 (shlib-lds, shlib-lds-flags): Define to empty.
21722
2d4fa81e
RM
21723 * Makerules (shlib-lds): New variable.
21724 (shlib-lds-flags): New variable.
21725 (build-shlib, build-moduile, build-module-asneeded): Use it.
21726 ($(common-objpfx)libc.so): Use $(shlib-lds).
21727 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
21728 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
21729
31fffa6b
RM
21730 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
21731 DT_FLAGS/DT_FLAGS_1 with zero flags.
21732
4e34ac6a
RM
21733 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
21734 linker script munging.
21735
fcfc776b
UD
217362011-07-02 Ulrich Drepper <drepper@gmail.com>
21737
21738 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
21739 as 128-bit value.
21740 * crypt/sha512.c (sha512_process_block): Perform total addition using
21741 128-bit if possible.
21742 (__sha512_finish_ctx): Likewise.
21743 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
21744 as 64-bit value.
21745 * crypt/sha256.c (SWAP64): Define.
21746 (sha256_process_block): Perform total addition using 64-bit if
21747 possible.
21748 (__sha256_finish_ctx): Likewise.
21749
99231d9a
UD
217502011-07-01 Ulrich Drepper <drepper@gmail.com>
21751
21752 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
21753 * nscd/initgrcache.c (addinitgroupsX): Likewise.
21754 * nscd/hstcache.c (cache_addhst): Likewise.
21755 * nscd/grpcache.c (cache_addgr): Likewise.
21756 * nscd/aicache.c (addhstaiX): Likewise
21757 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
21758
445b4a53
TK
217592011-07-01 Thorsten Kukuk <kukuk@suse.de>
21760
21761 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
21762 * nscd/initgrcache.c (addinitgroupsX): Likewise.
21763 * nscd/hstcache.c (cache_addhst): Likewise.
21764 * nscd/grpcache.c (cache_addgr): Likewise.
21765 * nscd/aicache.c (addhstaiX): Likewise
21766
6d4d8e8e
AS
217672011-07-01 Andreas Schwab <schwab@redhat.com>
21768
21769 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
21770 domain only when needed.
21771
89f654c5
AS
217722011-06-30 Andreas Schwab <schwab@redhat.com>
21773
21774 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
21775 is always restored.
21776
cf3b23ff
UD
217772011-06-29 Ulrich Drepper <drepper@gmail.com>
21778
21779 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
21780 are re-adding the entry.
21781 * nscd/servicescache.c (cache_addserv): Likewise.
21782
751626f9
AJ
217832011-06-30 Aurelien Jarno <aurelien@aurel32.net>
21784
21785 * sysdeps/generic/dl-irel.h: fix protection against multiple
21786 inclusions.
21787 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
21788
9113ea1f
UD
217892011-06-28 Ulrich Drepper <drepper@gmail.com>
21790
5c0b8d90
UD
21791 [BZ #12935]
21792 * malloc/memusage.sh: Fix quoting in message.
21793 * debug/xtrace.sh: Likewise.
21794
9113ea1f
UD
21795 * configure.in: Remove support for --experimental-malloc option, make
21796 it the default.
21797 * config.make.in: Likewise.
21798 * malloc/Makefile: Likewise.
21799
a4172181
AS
218002011-06-27 Andreas Schwab <schwab@redhat.com>
21801
21802 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
21803 two-byte characters.
21804
78a7eee7
RM
218052011-06-27 Roland McGrath <roland@hack.frob.com>
21806
62bede13
RM
21807 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
21808 AC_CACHE_CHECK invocation.
21809 * configure: Regenerated.
21810
78a7eee7
RM
21811 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
21812
5ce33a62
UD
218132011-06-27 Ulrich Drepper <drepper@gmail.com>
21814
034807a9
UD
21815 [BZ #12350]
21816 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
21817 bit from old_res_options.
21818
4902da17
UD
21819 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
21820
5ce33a62
UD
21821 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
21822 value type for setfct.
21823
c2344f56
L
218242011-06-23 H.J. Lu <hongjiu.lu@intel.com>
21825
21826 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
21827 __gettimeofday instead of gettimeofday.
21828
68468076
UD
218292011-06-26 Ulrich Drepper <drepper@gmail.com>
21830
21831 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
21832
acb0d739
L
218332011-06-24 H.J. Lu <hongjiu.lu@intel.com>
21834
21835 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
21836
21837 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
21838 info.
21839
8912479f
L
218402011-06-22 H.J. Lu <hongjiu.lu@intel.com>
21841
21842 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21843 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
21844 strcpy-sse2-unaligned strncpy-sse2-unaligned
21845 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
21846 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
21847 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
21848 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
21849 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
21850 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
21851 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
21852 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
21853 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
21854 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
21855 (STRCPY): Support SSE2 and SSSE3 versions.
21856
d5495a11
UD
218572011-06-24 Ulrich Drepper <drepper@gmail.com>
21858
21859 [BZ #12874]
21860 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
21861 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
21862 kernels which artificially limit size of requests.
21863
0b1cbaae
L
218642011-06-22 H.J. Lu <hongjiu.lu@intel.com>
21865
21866 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21867 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
21868 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
21869 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
21870 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
21871 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
21872 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
21873 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
21874 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
21875 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
21876 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
21877 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
21878 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
21879 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
21880 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
21881 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21882 Enable unaligned load optimization for Intel Core i3, i5 and i7
21883 processors.
21884 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
21885 Define.
21886 (index_Fast_Unaligned_Load): Define.
21887 (HAS_FAST_UNALIGNED_LOAD): Define.
21888
07f494a0
MP
218892011-06-23 Marek Polacek <mpolacek@redhat.com>
21890
21891 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
21892
fa3fc0fe
UD
218932011-06-22 Ulrich Drepper <drepper@gmail.com>
21894
21895 [BZ #12907]
21896 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
21897 until it is clear that the information is realy needed.
21898 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
21899
e12df166
AS
219002011-06-22 Andreas Schwab <schwab@redhat.com>
21901
21902 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
21903
852eb34d
UD
219042011-06-22 Ulrich Drepper <drepper@gmail.com>
21905
84e2a551
UD
21906 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
21907 /sys/devices/system/cpu/online if it is usable.
21908
852eb34d
UD
21909 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
21910 reading the information from the /proc filesystem to once a second.
21911
6e502e19
UD
219122011-06-21 Andreas Jaeger <aj@suse.de>
21913
21914 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
21915 NULL after inclusion of kernel headers.
21916
75d39ff2
UD
219172011-06-21 Ulrich Drepper <drepper@gmail.com>
21918
51f9aa6a
UD
21919 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
21920 calls to internal_setent.
21921
c0244a9d
UD
21922 [BZ #12885]
21923 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
21924 addresses using gethostbyname4_r ignore IPv4 addresses.
21925
c5e3c2ae
UD
21926 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
21927 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
21928
75d39ff2
UD
21929 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
21930
42675c6f
DM
219312011-06-20 David S. Miller <davem@davemloft.net>
21932
21933 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
21934 inclusions.
21935 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
21936
21937 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
21938 (elf_irel): Use it.
21939 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
21940 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
21941 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
21942 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
21943 * sysdeps/x86_64/dl-irel.h: Likewise.
21944
21945 * elf/dl-runtime.c: Use elf_ifunc_invoke.
21946 * elf/dl-sym.c: Likewise.
21947
57912a71
UD
219482011-06-15 Ulrich Drepper <drepper@gmail.com>
21949
21950 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
21951 need to dereference resplen2.
21952
ee22793d
AS
219532011-06-14 Andreas Schwab <schwab@redhat.com>
21954
21955 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
21956
a9e836b0
UD
219572011-06-15 Ulrich Drepper <drepper@gmail.com>
21958
77fb9117
UD
21959 * Makeconfig: Define vardbdir and inst_vardbdir.
21960 * nss/Makefile: Add rules to install db-Makefile.
21961
40c1b22c
UD
21962 * nss/nss_db/db-XXX.c: Cleanup.
21963
9f2da732
UD
21964 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
21965 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
21966 GLIBC_PRIVATE.
21967 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
21968 * nss/makedb.c: Implement -g option to specify that value strings
21969 are generated and should not be added to table iterated over for
21970 get*ent calls.
21971 * nss/nss_db/db-initgroups.c: New file.
21972
82e9a1f7
UD
21973 * nss/getent.c: Add support for initgroups lookups through getgrouplist
21974 interface.
21975
c41af17e
UD
21976 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
21977 (internal_getgrouplist): Adjust to name change.
21978 Update use_initgroups_entry if this is not the first call.
21979 * nss/databases.def: Add initgroups entry.
21980
a9e836b0
UD
21981 * nss/makedb.c (compute_tables): Check result of multiple hash table
21982 sizes to minimize maximum chain length.
21983
2666d441
UD
219842011-06-14 Ulrich Drepper <drepper@gmail.com>
21985
21986 * Versions.def: Add entry for libnss_db.
21987 * shlib-versions: Likewise.
21988 * nss/Makefile: Add rules to build libnss_db.
21989 * nss/Versions: Add libnss_db information. Organize libnss_files
21990 entries better.
21991 * nss/db-Makefile: Add gshadow support. Change rules for the new
21992 makedb progra. Some minor improvements to generate smaller files.
21993 * nss/nss_db/nss_db.h: Move NSS database header data structures to
21994 here from...
21995 * nss/makedb.c: ...here.
21996 Improve database format to be smaller and require less memory at
21997 runtime.
21998 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
21999 db anymore.
22000 * nss/nss_db/db-netgrp.c: Likewise.
22001 * nss/nss_db/db-open.c: Likewise.
22002 * nss/nss_files/flies-XXX.x: Adjust comments.
22003 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
22004 * nss/nss_files/files-grp.c: Likewise.
22005 * nss/nss_files/files-hosts.c: Likewise.
22006 * nss/nss_files/files-network.c: Likewise.
22007 * nss/nss_files/files-proto.c: Likewise.
22008 * nss/nss_files/files-pwd.c: Likewise.
22009 * nss/nss_files/files-rpc.c: Likewise.
22010 * nss/nss_files/files-service.c: Likewise.
22011 * nss/nss_files/files-sgrp.c: Likewise.
22012 * nss/nss_files/files-spwd.c: Likewise.
22013 * nss/nss_db/db-alias.c: Removed.
22014 * nss/nss_db/dummy-db.h: Removed.
22015
9ee76b5a
UD
220162011-06-02 Ulrich Drepper <drepper@gmail.com>
22017
22018 * nss/makedb.c: Rewritten to not use database library.
22019 * nss/Makefile: Update to build new makedb program.
22020
c71ca1f8
AJ
220212011-06-14 Andreas Jaeger <aj@suse.de>
22022
22023 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
22024 memset declaration.
22025
3154bfb8
UD
220262011-06-10 Andreas Schwab <schwab@redhat.com>
22027
22028 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
22029 tmpbuf.
22030
b350afab
RM
220312011-06-10 Roland McGrath <roland@hack.frob.com>
22032
decd4e50
RM
22033 * Makerules (shlib.lds): Fail if the linker script comes out empty.
22034 * elf/Makefile ($(objpfx)ld.so): Likewise.
22035
5615eaf2
RM
22036 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
22037 Don't list ld.so twice in dependencies.
22038
22039 * posix/bug-regex31.c: Include <stdlib.h>.
22040
22041 * nscd/hstcache.c (cache_addhst): Remove unused variable.
22042
22043 * nis/nss_compat/compat-spwd.c
22044 (getspent_next_nss_netgr): Remove unused variable.
22045 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
22046
22047 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
22048 nonmembers" output to use the right array.
22049
22050 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
22051
22052 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
22053
22054 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
22055 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
22056 * catgets/gencat.c (read_input_file): Likewise.
22057 * locale/programs/locarchive.c (enlarge_archive): Likewise.
22058
22059 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
22060 variable definition inside #if's controlling its use.
22061
22062 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
22063
22064 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
22065
22066 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
22067
22068 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
22069 unreachable code.
22070
22071 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
22072
b68e08db
RM
22073 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
22074 * configure: Regenerated.
22075
b350afab
RM
22076 * Makerules: Revert last change.
22077 * elf/Makefile: Likewise.
22078
28368601
RM
220792011-06-09 Roland McGrath <roland@hack.frob.com>
22080
22081 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
22082 * elf/Makefile ($(objpfx)librtld.os): Likewise.
22083 (reloc-link): Likewise.
22084
11988f8f
UD
220852011-06-09 Ulrich Drepper <drepper@gmail.com>
22086
22087 * elf/Makefile: Add rules to build pldd.
22088 * elf/pldd.c: New file.
22089 * elf/pldd-xx.c: New file.
22090
e80fab37
UD
220912011-06-07 Ulrich Drepper <drepper@gmail.com>
22092
22093 * version.h: Update for 2.15 development version.
22094
9b849836
DM
220952011-06-07 David S. Miller <davem@davemloft.net>
22096
22097 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
22098 ifuncs.
22099 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
22100 elf_machine_lazy_rel): Likewise.
22101 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
22102 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
22103 elf_machine_lazy_rel): Likewise.
22104 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
22105 dl_hwcap via passed in argument.
22106 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
22107 Likewise.
22108
5a31b283
AK
221092011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22110
22111 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
22112
069e52f8
RM
221132011-06-06 Roland McGrath <roland@hack.frob.com>
22114
22115 [BZ #12849]
22116 * manual/fdl-1.1.texi: New file, verbatim from:
22117 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
22118 * manual/lgpl-2.1.texi: New file, verbatim from:
22119 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
22120 * manual/Makefile (licenses): New variable, list those new file names.
22121 (texis): Use it.
22122 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
22123
22124 * manual/fdl.texi: File removed.
22125 * manual/lesser.texi: File removed.
22126 * manual/libc.texinfo (Copying, Documentation License):
22127 Use new @include file names, put @appendix directive before @include.
22128
f16846a5
JJ
221292011-06-04 Jakub Jelinek <jakub@redhat.com>
22130
22131 [BZ #12841]
22132 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
22133 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
22134 (mq_open): Add __NTH.
22135
3d29045b
L
221362011-06-02 H.J. Lu <hongjiu.lu@intel.com>
22137
22138 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22139 Assume Intel Core i3/i5/i7 processor if AVX is available.
22140
8c297311
UD
221412011-05-31 Ulrich Drepper <drepper@gmail.com>
22142
22143 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
22144 typo.
22145
c8fc0c91
UD
221462011-05-31 Andreas Schwab <schwab@redhat.com>
22147
22148 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
22149 memory. Use alloca_account. Fix memory leak when retrying.
22150
5b27a807
UD
221512011-05-31 Ulrich Drepper <drepper@gmail.com>
22152
356f8bc6
UD
22153 * version.h (RELEASE): Bump for 2.14 release.
22154 * include/features.h (__GLIBC_MINOR__): Bump to 14.
22155
5b27a807
UD
22156 * config.make.in (RANLIB): Remove entry.
22157
01f16ab0
UD
221582011-05-30 Ulrich Drepper <drepper@gmail.com>
22159
41fce8bd
UD
22160 * po/Makefile (po-sed-cmd): Add ksh to extensions.
22161 (libc.pot): Work around missing support for .ksh extension in xgettext.
22162
4769ae77
UD
22163 [BZ #12684]
22164 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
22165 if both request failed.
22166 (send_dg): In case of server errors clear resplen or *resplen2.
22167
6b1e7d19
UD
22168 [BZ #12454]
22169 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
22170 when there are multiple maps.
22171 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
22172 (_dl_fini): Remove test here.
22173
01f16ab0
UD
22174 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
22175
b1ebd700
UD
221762011-05-29 Ulrich Drepper <drepper@gmail.com>
22177
7ae22829
UD
22178 [BZ #12350]
22179 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
22180 bit from old_res_options.
22181 (gaih_inet): Likewise.
22182
553149f6 22183 [BZ #11099]
18a84741 22184 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
22185 as signed.
22186
652ffab1
UD
22187 * resolv/res_init.c (res_setoptions): Make the code more compact.
22188
16985fd0
UD
22189 [BZ #11558]
22190 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
22191 set RES_USEVC.
22192
0464f746
UD
22193 [BZ #11634]
22194 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
22195
7d17596c
UD
22196 * malloc/malloc.h: Mark malloc hook variables as deprecated.
22197
cf6bbbd7
UD
22198 [BZ #11781]
22199 * malloc/malloc.h: Declare malloc hook variables as volatile.
22200
13f1ab36
UD
22201 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
22202 in last patch.
22203
b1ebd700
UD
22204 [BZ #11799]
22205 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 22206 raise in the comment.
80e2212d
UD
22207 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
22208 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
22209 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 22210
ce67228d
UD
222112011-05-28 Ulrich Drepper <drepper@gmail.com>
22212
8887a920
UD
22213 [BZ #12811]
22214 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
22215 grow the buffers more if it already has to be sufficient.
22216 (build_wcs_upper_buffer): Likewise.
22217 * posix/regexec.c (check_matching): Likewise.
22218 (clean_state_log_if_needed): Likewise.
22219 (extend_buffers): Don't enlarge buffers beyond size of the input
22220 buffer.
22221 Patches mostly by Emil Wojak <emil@wojak.eu>.
22222 * posix/bug-regex32.c: New file.
22223 * posix/Makefile (tests): Add bug-regex32.
22224
4f031072
UD
22225 * locale/findlocale.c (_nl_find_locale): Return right away if
22226 _nl_explode_name failed.
22227 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
22228
d0478f0c
UD
22229 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
22230
de81b246
UD
22231 * debug/xtrace.sh: Unify messages.
22232 * malloc/memusage.sh: Likewise.
22233
c738465a
UD
22234 [BZ #12813]
22235 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
22236 time symbol from vDSO. Substitute with vsyscall if not available.
22237 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
22238 __vdso_time.
22239
f1f929d7
UD
22240 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
22241 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
22242 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
22243 Add sendmmsg and internal_sendmmsg.
22244 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
22245 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
22246 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
22247
ce67228d
UD
22248 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
22249 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
22250 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
22251
e57420c6
UD
222522011-05-27 Ulrich Drepper <drepper@gmail.com>
22253
a8509ca5
UD
22254 [BZ #12813]
22255 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
22256 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
22257 available.
22258 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
22259 __vdso_getcpu.
22260
e57420c6
UD
22261 [BZ #12814]
22262 * iconvdata/Makefile (tests): Add bug-iconv9.
22263 * iconvdata/bug-iconv9.c: New file.
22264
4d07db15
AS
222652011-05-27 Andreas Schwab <schwab@redhat.com>
22266
22267 [BZ #12814]
22268 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
22269
ea486f69
JJ
222702011-05-25 Jakub Jelinek <jakub@redhat.com>
22271
22272 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
22273 (struct user_regs_struct): Change intcs field back to cs.
22274
6f038433
UD
222752011-05-25 Ulrich Drepper <drepper@gmail.com>
22276
22277 * po/ja.po: Update from translation team.
22278
67f86a25
UD
222792011-05-23 Ulrich Drepper <drepper@gmail.com>
22280
22281 [BZ #12795]
22282 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
22283 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
22284
def7fbd6
AS
222852011-05-20 Andreas Schwab <schwab@redhat.com>
22286
22287 * stdlib/longlong.h: Update from GCC.
22288
f50ef8f1
AS
222892011-05-23 Andreas Schwab <schwab@redhat.com>
22290
22291 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
22292 parameter name.
22293 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
22294 Add parameter name.
22295 (__sysconf): Pass it down.
22296
de7ce8f1
UD
222972011-05-22 Ulrich Drepper <drepper@gmail.com>
22298
f2962a71
UD
22299 [BZ #12671]
22300 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
22301 some situations.
22302 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
22303 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
22304 add in in __libc_use_alloca calls. Adjust callers.
22305 (glob): Use malloc in some situations.
22306
de7ce8f1
UD
22307 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
22308 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
22309 pltexit.
22310
aec84f53
UD
223112011-05-21 Ulrich Drepper <drepper@gmail.com>
22312
05bb4a68
UD
22313 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
22314 and CLOCK_BOOTTIME_ALARM.
22315
7ea72f99
UD
22316 [BZ #12782]
22317 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
22318 is returned.
22319
7e4afad5
UD
22320 * string/_strerror.c (__strerror_r): Print negative errors as signed
22321 numbers.
22322
8e211fec
UD
22323 [BZ #12777]
22324 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
22325 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
22326 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
22327
f7d82dc9
UD
22328 * configure.in: Fix typo in redirection and correct removal of test
22329 files in two cases.
22330
cc9e536d
UD
22331 [BZ #12788]
22332 * locale/setlocale.c (new_composite_name): Fix test to check for
22333 identical name of all categories.
22334
aec84f53
UD
22335 [BZ #12792]
22336 * libio/filedoalloc.c (local_isatty): New function.
22337 (_IO_file_doallocate): Use local_isatty.
22338 * stdio-common/perror.c (perror): In case a new stream is used
22339 forward the stream error.
22340 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
22341 error flag.
22342
78e64fdc
RT
223432011-05-20 Ulrich Drepper <drepper@gmail.com>
22344
34a9094f
UD
22345 [BZ #11869]
22346 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
22347 alloca.
22348 * include/alloca.h (extend_alloca_account): Define.
22349
78e64fdc
RT
22350 [BZ #11857]
22351 * posix/regex.h: Fix comments with documentation of user-accessible
22352 fields after compilation and describe correct free'ing of pattern
22353 after re_compile_pattern.
22354 Patch by Reuben Thomas <rrt@sc3d.org>.
22355
457bddfc
RA
223562011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
22357
22358 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
22359 and -mno-altivec to prevent the compiler from using Altivec and/or
22360 VSX instructions when the corresponding registers are not available.
22361
a4527b51
AS
223622011-05-19 Andreas Schwab <schwab@redhat.com>
22363
22364 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
22365
ed690b2f
UD
223662011-05-19 Ulrich Drepper <drepper@gmail.com>
22367
22368 * libio/freopen.c (freopen): Use __dup2, not dup2.
22369 * libio/freopen64.c (freopen64): Likewise.
22370
8db73634
L
223712011-05-17 H.J. Lu <hongjiu.lu@intel.com>
22372
22373 [BZ #12775]
22374 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
22375 * math/Makefile (tests): Add test-powl.
22376 (CFLAGS-test-powl.c): Define.
22377 * math/test-powl.c: New file.
22378
0a197a9d
L
223792011-05-16 H.J. Lu <hongjiu.lu@intel.com>
22380
22381 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
22382
ee30c380
UD
223832011-05-17 Ulrich Drepper <drepper@gmail.com>
22384
22385 [BZ #11837]
22386 * iconvdata/gb18030.c: Update to GB18020-2005.
22387
6ce75379
UD
223882011-05-16 Ulrich Drepper <drepper@gmail.com>
22389
a4b89fd8
AR
22390 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
22391 RE_SYNTAX_POSIX_AWK): Update to match recent development.
22392 Patch by Aharon Robbins <arnold@skeeve.com>.
22393
ea389b12
UD
22394 [BZ #11892]
22395 * stdlib/putenv.c (putenv): Don't always create copy of the variable
22396 on the stack.
22397
68a3f91f
UD
22398 [BZ #11895]
22399 * misc/pselect.c (__pselect): Handle timeout value errors hidden
22400 through underflows.
22401
15cc7dd1
UD
22402 [BZ #12766]
22403 * misc/error.c (error_at_line): Ensure file_name and old_file_name
22404 point to strings before performing equality test for error_one_per_line
22405 mode.
22406
f3799213
UD
22407 [BZ #11697]
22408 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
22409
d79a9c94
UD
22410 [BZ #11820]
22411 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
22412 (struct user_fpregs_struct): Avoid __uint*_t types.
22413
56e5eb46
UD
22414 [BZ #6420]
22415 * malloc/mtrace.c (tr_where): Add additional parameter to point to
22416 symbol info. Use it instead of calling _dl_addr locally.
22417 (lock_and_info): New function.
22418 (tr_freehook): Call lock_and_info and pass symbol info as additional
22419 parameter to tr_where.
22420 (tr_mallochook): Likewise.
22421 (tr_reallochook): Likewise.
22422 (tr_memalignhook): Likewise.
22423
6ce75379
UD
22424 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
22425 used and couldn't be at all thread-safe.
22426
f8a3b5bf
UD
224272011-05-15 Ulrich Drepper <drepper@gmail.com>
22428
94b7cc37
UD
22429 * libio/freopen.c (freopen): Don't close old file descriptor
22430 before the new one is opened. Instead dup the new file descriptor
22431 to the old one after the new stream is created.
22432 * libio/freopen64.c (freopen64): Likewise.
22433 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
22434 * libio/fileops.c (_IO_new_file_close_it): Handle new
22435 _IO_FLAGS2_NOCLOSE flag.
22436 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
22437 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
22438 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
22439 _IO_FLAGS2_NOCLOSE flag.
22440 * include/unistd.h: Add hidden_proto for dup3.
22441 Define __have_dup3.
22442 * io/dup3.c: Define hidden symbol.
22443 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
22444
bd25564e
UD
22445 [BZ #7101]
22446 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
22447 when an incomplete long option is used.
22448 * posix/tst-getopt_long1.c: New file.
22449 * posix/Makefile (tests): Add tst-getopt_long1.
22450
c84cfef4
UD
22451 [BZ #10138]
22452 * scripts/config.guess: Update from autoconf-2.68.
22453 * scripts/config.sub: Likewise.
22454
3b85df27
UD
22455 [BZ #10157]
22456 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
22457 tests into ...
22458 (has_cpuclock): ...this. New function.
22459 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
22460 macro here based on has_cpuclock code.
22461
15a856b1
UD
22462 [BZ #10149]
22463 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
22464 First byte (not low byte) is now always NUL.
22465 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
22466
05f399e6
UD
22467 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
22468 Use non-cancelable interfaces.
22469
10a52685 22470 [BZ #9809]
94ecc67d
UD
22471 * locale/iso-639.def: Add entry for Sorani.
22472
f8a3b5bf
UD
22473 [BZ #11901]
22474 * include/stdlib.h: Move include protection to the right place.
22475 Define abort_msg_s. Declare __abort_msg with it.
22476 * stdlib/abort.c (__abort_msg): Adjust type.
22477 * assert/assert.c (__assert_fail_base): New function. Majority
22478 of code from __assert_fail. Allocate memory for __abort_msg with
22479 mmap.
22480 (__assert_fail): Now call __assert_fail_base.
22481 * assert/assert-perr.c: Remove bulk of implementation. Use
22482 __assert_fail_base.
22483 * include/assert.hL Declare __assert_fail_base.
22484 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
22485 mmap.
22486 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
22487
1af4e298
UD
224882011-05-14 Ulrich Drepper <drepper@gmail.com>
22489
f8a3b5bf 22490 [BZ #11952]
d26dfc60
MG
22491 [BZ #12453]
22492 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
22493 until all modules are registered in the DTV.
22494 * elf/Makefile: Add rules to build and run tst-tls19.
22495 * elf/tst-tls19.c: New file.
22496 * elf/tst-tls19mod1.c: New file.
22497 * elf/tst-tls19mod2.c: New file.
22498 * elf/tst-tls19mod3.c: New file.
22499 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
22500
2fc54d6f
UD
22501 [BZ #12083]
22502 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
22503 correctly.
22504
98d76b46
UD
22505 [BZ #12601]
22506 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
22507 two-byte sequence errors.
22508 * iconvdata/Makefile (tests): Add bug-iconv8.
22509 * iconvdata/bug-iconv8.c: New file.
22510
da3c19ef
UD
22511 [BZ #12626]
22512 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
22513 buf2 definition.
22514
ca408c15
UD
22515 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
22516
d6f67f7d
UD
22517 [BZ #12432]
22518 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
22519 (dummy_getcfa): New function.
22520 (init): Get _Unwind_GetCFA address, use dummy if not found.
22521 (backtrace_helper): In recursion check, also check whether CFA changes.
22522 (__backtrace): Completely initialize arg.
22523
1af4e298 22524 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
22525 storing incomplete byte sequence in state object. Avoid testing for
22526 guaranteed too small input if we know there is enough data available.
1af4e298 22527
da62f81b
AS
225282011-05-11 Andreas Schwab <schwab@redhat.com>
22529
22530 * Makeconfig (+link-pie): Indent.
22531 * Rules (binaries-pie): Define if $(have-fpie) and
22532 $(build-shared).
22533 (binaries-shared): Also filter out $(binaries-pie).
22534 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
22535 * nscd/Makefile (others-pie): Add nscd.
22536 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
22537 ($(objpfx)nscd): Remove command override.
22538 * login/Makefile (others-pie): Add pt_chown.
22539 ($(objpfx)pt_chown): Remove command override.
22540 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
22541 remove command overrides.
22542
fcabc0f8
UD
225432011-05-13 Ulrich Drepper <drepper@gmail.com>
22544
20030ae6
UD
22545 * libio/tst_putwc.c: Fix error messages.
22546
fcabc0f8
UD
22547 [BZ #12724]
22548 * libio/fileops.c (_IO_new_file_close_it): Always flush when
22549 currently writing and seek to current position when not.
22550 * libio/Makefile (tests): Add bug-fclose1.
22551 * libio/bug-fclose1.c: New file.
22552
320a5dc0
PB
225532011-05-12 Ulrich Drepper <drepper@gmail.com>
22554
22555 [BZ #12511]
22556 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
22557 don't set DF_1_NODELETE here.
22558 (do_lookup_x): When entering new entry test for copy relocation
22559 and if necessary set DF_1_NODELETE flag.
22560 * elf/tst-unique4.cc: New file.
22561 * elf/tst-unique4.h: New file.
22562 * elf/tst-unique4lib.cc: New file.
22563 * elf/Makefile: Add rules to build and run tst-unique4.
22564 Patch by Piotr Bury <pbury@goahead.com>.
22565
22836f52
UD
225662011-05-11 Ulrich Drepper <drepper@gmail.com>
22567
f574184a
UD
22568 [BZ #12052]
22569 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
22570
e1fb097f
UD
22571 [BZ #12625]
22572 * misc/mntent_r.c (addmntent): Flush the stream after the output
22573
22836f52
UD
22574 [BZ #12393]
22575 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
22576 (is_trusted_path_normalize): Skip initial colon. Append slash
22577 to empty buffer. Duplicate is_trusted_path code but allow
22578 constructed patch to be prefix.
22579 (is_dst): Allow $ORIGIN followed by /.
22580 (_dl_dst_substitute): Correct clearing of check_for_trusted.
22581 Correct testing of result of is_trusted_path_normalize
22582 (decompose_rpath): Fix warning.
22583
7b3b0b2a
UD
225842011-05-10 Ulrich Drepper <drepper@gmail.com>
22585
22586 [BZ #11257]
22587 * grp/initgroups.c (internal_getgrouplist): When we found the service
22588 list through the initgroups entry in nsswitch.conf do not always
22589 continue on a successful lookup. Don't always use the
eac80ce2 22590 __nss_group_database value if it is set.
7b3b0b2a
UD
22591 * nss/nsswitch.conf (initgroups): Change action for successful db
22592 lookup to continue for compatibility.
22593
2a81eaa5
UD
225942011-05-09 Ulrich Drepper <drepper@gmail.com>
22595
be97a69e
UD
22596 [BZ #11532]
22597 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
22598 and CP774 modules.
22599 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
22600 and CP774 modules.
22601 * iconvdata/tst-tables.sh: Likewise.
22602 * iconvdata/cp770.c: New file.
22603 * iconvdata/cp771.c: New file.
22604 * iconvdata/cp772.c: New file.
22605 * iconvdata/cp773.c: New file.
22606 * iconvdata/cp774.c: New file.
22607 * iconvdata/testdata/CP770: New file.
22608 * iconvdata/testdata/CP770..UTF8: New file.
22609 * iconvdata/testdata/CP771: New file.
22610 * iconvdata/testdata/CP771..UTF8: New file.
22611 * iconvdata/testdata/CP772: New file.
22612 * iconvdata/testdata/CP772..UTF8: New file.
22613 * iconvdata/testdata/CP773: New file.
22614 * iconvdata/testdata/CP773..UTF8: New file.
22615 * iconvdata/testdata/CP774: New file.
22616 * iconvdata/testdata/CP774..UTF8: New file.
22617
22618 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
22619 END CHARMAP line.
22620 * iconvdata/gen-8bit-gap.sh: Likewise.
22621 * iconvdata/gen-8bit.sh: Likewise.
22622
c1e9e399
UD
22623 * locale/iso-639.def: Add ary entry.
22624
24c55fb3 22625 [BZ #11258]
96b4b1b0
UD
22626 * locale/C-translit.h.in: Add U20A1 transliteration.
22627
bdc2f971
KB
22628 [BZ #12178]
22629 * locale/iso-639.def: Add wae entry.
22630 Patch by Kevin Bortis <bortis@translate-wae.ch>.
22631
2952b117
UD
22632 [BZ #12545]
22633 * locale/programs/localedef.c (construct_output_path): Use ssize_t
22634 for n.
22635
2a81eaa5
UD
22636 [BZ #12711]
22637 * locale/C-translit.h.in: Add entry for U20B9.
22638 Patch by pravin.d.s@gmail.com.
22639
28377d1b
UD
226402011-05-08 Ulrich Drepper <drepper@gmail.com>
22641
7fb90fb8
UD
22642 [BZ #12713]
22643 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
22644 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
22645 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
22646 in rtld. Use *stat64.
7fb90fb8 22647 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 22648 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 22649 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
22650 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
22651 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
22652 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
22653 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
22654 __fstatat64 macros.
7fb90fb8
UD
22655 * include/dirent.h: Add libc_hidden_proto for rewinddir.
22656 * dirent/rewinddir.c: Add libc_hidden_def.
22657 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 22658 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 22659
28377d1b
UD
22660 * include/dirent.h (__alloc_dir): Add flags parameter.
22661 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
22662 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
22663 __alloc_dir.
22664 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
22665 from fdopendir if O_CLOEXEC is already set.
22666
66bdbaa4
AM
226672011-03-15 Alan Modra <amodra@gmail.com>
22668
22669 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
22670 l_tls_firstbyte_offset non-zero. Save padding offset in
22671 l_tls_firstbyte_offset for later use.
22672 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
22673 freeing static tls block.
22674
95721191
JN
226752011-03-05 Jonathan Nieder <jrnieder@gmail.com>
22676
22677 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
22678 where #ifdef was intended. The intent is to prevent ARG_MAX from
22679 being defined by the kernel headers.
22680
f87dfb1f
UD
226812011-05-07 Ulrich Drepper <drepper@gmail.com>
22682
22683 [BZ #12734]
22684 * resolv/resolv.h: Define RES_NOTLDQUERY.
22685 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
22686 no-tld-query and set RES_NOTLDQUERY.
22687 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
22688 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
22689 modern BIND to search name as TLD unless forbidden.
22690
47c3cd7a
UD
226912011-05-07 Petr Baudis <pasky@suse.cz>
22692 Ulrich Drepper <drepper@gmail.com>
22693
22694 [BZ #12393]
22695 * elf/dl-load.c (fillin_rpath): Move trusted path check...
22696 (is_trusted_path): ...to here.
c1e9ea35 22697 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 22698 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 22699 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 22700
8a35c912
PP
227012011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
22702
22703 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
22704 __BEGIN/__END_DECLS.
22705
acd41f47
UD
227062011-05-06 Ulrich Drepper <drepper@gmail.com>
22707
22708 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
22709 NSS_STATUS_NOTFOUND if no record was found.
22710
597df647
AS
227112011-05-05 Andreas Schwab <schwab@redhat.com>
22712
22713 * sunrpc/Makefile (headers): Add rpc/netdb.h.
22714 (headers-not-in-tirpc): Remove rpc/netdb.h
22715 * resolv/netdb.h: Revert last change.
22716
b9af1301
PP
227172011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
22718
22719 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
22720 circular dependency between libgcc.a and libc.a.
22721
4e34d5f5
AS
227222011-05-05 Andreas Schwab <schwab@redhat.com>
22723
22724 * resolv/netdb.h: Don't include <rpc/netdb.h>.
22725 * nis/Makefile: Don't install rpcsvc/*.
22726 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
22727 instead of <rpc/types.h>.
22728 (MAXHOSTNAMELEN): Define.
22729
00ee369c
AS
227302011-05-03 Andreas Schwab <schwab@redhat.com>
22731
22732 * elf/ldconfig.c (add_dir): Don't crash on empty path.
22733
0b592a30
MB
227342011-04-28 Maciej Babinski <mbabinski@google.com>
22735
22736 [BZ #12714]
22737 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
22738 gethostbyname4_r when IPv6 results are possible.
22739
6e04cbbe
UD
227402011-05-02 Ulrich Drepper <drepper@gmail.com>
22741
22742 [BZ #12723]
22743 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
22744 _PC_PIPE_BUF handling.
22745
e4ecafe0
BH
227462011-04-30 Bruno Haible <bruno@clisp.org>
22747
22748 [BZ #12717]
22749 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
22750 * resolv/netdb.h (getnameinfo): Change type of flags parameter
22751 to 'int'.
22752 * inet/getnameinfo.c (getnameinfo): Likewise.
22753
125ee683
UD
227542011-04-29 Ulrich Drepper <drepper@gmail.com>
22755
22756 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
22757 to groups setting in database lookup.
22758 * nss/nsswitch.conf: Add initgroups entry.
22759
b722481a
EB
227602011-04-22 Ulrich Drepper <drepper@gmail.com>
22761
22762 [BZ #12685]
22763 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
22764 mode string.
22765 Patch by Eric Blake <eblake@redhat.com>.
22766
4df46dbd
L
227672011-04-20 H.J. Lu <hongjiu.lu@intel.com>
22768
22769 * sunrpc/Makefile (need-export-routines): Add svc_run.
22770 (routines): Remove svc_run.
22771 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
22772 * sunrpc/clnt_perr.c (clnt_perrno): Export.
22773 * sunrpc/svc_run.c (svc_run): Likewise.
22774 * sunrpc/svc_udp.c (svcudp_create): Likewise.
22775
e84142d2
UD
227762011-04-21 Ulrich Drepper <drepper@gmail.com>
22777
22778 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
22779 problem in reallocation in last patch.
22780
877175d8
UD
227812011-04-20 Ulrich Drepper <drepper@gmail.com>
22782
22783 * sunrpc/Makefile: Move inclusion of Rules.
22784
ab8eed78
UD
227852011-04-19 Ulrich Drepper <drepper@gmail.com>
22786
22787 * nss/nss_files/files-initgroups.c: New file.
22788 * nss/Makefile (libnss_files-routines): Add files-initgroups.
22789 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
22790 _nss_files_initgroups_dyn.
22791
e3d8f584
RS
227922011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
22793
22794 * elf/elf.h (R_ARM_IRELATIVE): Define.
22795
af190f45
UD
227962011-04-19 Ulrich Drepper <drepper@gmail.com>
22797
22798 * po/ru.po: Update from translation team.
22799
53cf59ef
UD
228002011-04-17 Ulrich Drepper <drepper@gmail.com>
22801
22802 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
22803 dependencies.
22804
4c559bcd
MF
228052011-02-06 Mike Frysinger <vapier@gentoo.org>
22806
22807 [BZ #12653]
22808 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
22809 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
22810 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
22811 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
22812 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
22813
4420675c
AS
228142011-03-28 Andreas Schwab <schwab@linux-m68k.org>
22815
22816 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
22817 differing bytes.
22818 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
22819 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
22820 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
22821
75ea32ab
UD
228222011-04-17 Ulrich Drepper <drepper@gmail.com>
22823
22824 [BZ #12420]
22825 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
22826 storing it.
22827 * stdlib/bug-getcontext.c: New file.
22828 * stdlib/Makefile: Add rules to build and run bug-getcontext.
22829
27390476
AK
228302011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22831
22832 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
22833 instructions into .machine "z9-109".
22834 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
22835 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
22836
10442705
AK
228372011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22838
22839 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
22840 between environment variables and auxiliary vector.
22841
7b57bfe5
UD
228422011-04-16 Ulrich Drepper <drepper@gmail.com>
22843
22844 * Makefile: Add rules to build linkobj/libc.so.
22845 * include/libc-symbols.h: Define libc_hidden_nolink.
22846 * include/rpc/auth.h: Mark functions which are to be hidden.
22847 * include/rpc/auth_des.h: Likewise.
22848 * include/rpc/auth_unix.h: Likewise.
22849 * include/rpc/clnt.h: Likewise.
22850 * include/rpc/des_crypt.h: Likewise.
22851 * include/rpc/key_prot.h: Likewise.
22852 * include/rpc/pmap_clnt.h: Likewise.
22853 * include/rpc/pmap_prot.h: Likewise.
22854 * include/rpc/pmap_rmt.h: Likewise.
22855 * include/rpc/rpc_msg.h: Likewise.
22856 * include/rpc/svc.h: Likewise.
22857 * include/rpc/svc_auth.h: Likewise.
22858 * include/rpc/xdr.h: Likewise.
22859 * nis/Makefile: Link all DSOs against linkobj/libc.so.
22860 * nss/Makefile: Likewise.
22861 * sunrpc/Makefile: Don't install headers. Build library with normal
22862 entry points. Don't build rpcinfo. Link RPC tests appropriately.
22863 * sunrpc/auth_des.c: Hide exported symbols by default, export some
22864 for the compat linking library. Remove use of INTDEF/INTUSE.
22865 * sunrpc/auth_none.c: Likewise.
22866 * sunrpc/auth_unix.c: Likewise.
22867 * sunrpc/authdes_prot.c: Likewise.
22868 * sunrpc/authuxprot.c: Likewise.
22869 * sunrpc/clnt_gen.c: Likewise.
22870 * sunrpc/clnt_perr.c: Likewise.
22871 * sunrpc/clnt_raw.c: Likewise.
22872 * sunrpc/clnt_simp.c: Likewise.
22873 * sunrpc/clnt_tcp.c: Likewise.
22874 * sunrpc/clnt_udp.c: Likewise.
22875 * sunrpc/clnt_unix.c: Likewise.
22876 * sunrpc/des_crypt.c: Likewise.
22877 * sunrpc/des_soft.c: Likewise.
22878 * sunrpc/get_myaddr.c: Likewise.
22879 * sunrpc/key_call.c: Likewise.
22880 * sunrpc/key_prot.c: Likewise.
22881 * sunrpc/netname.c: Likewise.
22882 * sunrpc/pm_getmaps.c: Likewise.
22883 * sunrpc/pm_getport.c: Likewise.
22884 * sunrpc/pmap_clnt.c: Likewise.
22885 * sunrpc/pmap_prot.c: Likewise.
22886 * sunrpc/pmap_prot2.c: Likewise.
22887 * sunrpc/pmap_rmt.c: Likewise.
22888 * sunrpc/publickey.c: Likewise.
22889 * sunrpc/rpc_cmsg.c: Likewise.
22890 * sunrpc/rpc_common.c: Likewise.
22891 * sunrpc/rpc_dtable.c: Likewise.
22892 * sunrpc/rpc_prot.c: Likewise.
22893 * sunrpc/rpc_thread.c: Likewise.
22894 * sunrpc/rtime.c: Likewise.
22895 * sunrpc/svc.c: Likewise.
22896 * sunrpc/svc_auth.c: Likewise.
22897 * sunrpc/svc_authux.c: Likewise.
22898 * sunrpc/svc_raw.c: Likewise.
22899 * sunrpc/svc_run.c: Likewise.
22900 * sunrpc/svc_simple.c: Likewise.
22901 * sunrpc/svc_tcp.c: Likewise.
22902 * sunrpc/svc_udp.c: Likewise.
22903 * sunrpc/svc_unix.c: Likewise.
22904 * sunrpc/svcauth_des.c: Likewise.
22905 * sunrpc/xcrypt.c: Likewise.
22906 * sunrpc/xdr.c: Likewise.
22907 * sunrpc/xdr_array.c: Likewise.
22908 * sunrpc/xdr_float.c: Likewise.
22909 * sunrpc/xdr_intXX_t.c: Likewise.
22910 * sunrpc/xdr_mem.c: Likewise.
22911 * sunrpc/xdr_rec.c: Likewise.
22912 * sunrpc/xdr_ref.c: Likewise.
22913 * sunrpc/xdr_sizeof.c: Likewise.
22914 * sunrpc/xdr_stdio.c: Likewise.
22915
e6c61494
UD
229162011-04-10 Ulrich Drepper <drepper@gmail.com>
22917
22918 [BZ #12650]
22919 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
22920 * sysdeps/ia64/dl-tls.h: Likewise.
22921 * sysdeps/powerpc/dl-tls.h: Likewise.
22922 * sysdeps/s390/dl-tls.h: Likewise.
22923 * sysdeps/sh/dl-tls.h: Likewise.
22924 * sysdeps/sparc/dl-tls.h: Likewise.
22925 * sysdeps/x86_64/dl-tls.h: Likewise.
22926 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
22927
34fe483e
AS
229282011-03-14 Andreas Schwab <schwab@redhat.com>
22929
22930 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
22931 rpath element also skip the following colon.
22932 (expand_dynamic_string_token): Add is_path parameter and pass
22933 down to DL_DST_REQUIRED and _dl_dst_substitute.
22934 (decompose_rpath): Call expand_dynamic_string_token with
22935 non-zero is_path. Ignore empty rpaths.
22936 (_dl_map_object_from_fd): Call expand_dynamic_string_token
22937 with zero is_path.
22938
f12a32e6
AS
229392011-04-08 Andreas Schwab <schwab@linux-m68k.org>
22940
22941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
22942 Make cancelable.
22943
38a7d692
UD
229442011-04-09 Ulrich Drepper <drepper@gmail.com>
22945
22946 [BZ #12655]
22947 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
22948 Patch by Filipe David Manana <fdmanana@apache.org>.
22949
e451d22b
AS
229502011-04-07 Andreas Schwab <schwab@redhat.com>
22951
22952 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
22953 Maintain aligned stack.
22954 (CHECK_RSP): Remove unused macro.
22955
dedc7c7b
UD
229562011-04-03 Ulrich Drepper <drepper@gmail.com>
22957
22958 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
22959 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
22960
94521213
UD
229612011-04-02 Ulrich Drepper <drepper@gmail.com>
22962
22963 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
22964
8cb700c0 22965 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 22966
0354e355
L
229672011-03-26 H.J. Lu <hongjiu.lu@intel.com>
22968
22969 [BZ #12518]
22970 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
22971 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
22972 * sysdeps/x86_64/memmove.c: New file.
22973 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
22974 (memcpy): Renamed to ...
22975 (__new_memcpy): This.
22976 (memcpy): Provide GLIBC_2_14 memcpy.
22977 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
22978 (memcpy): Provide GLIBC_2_2_5 memcpy.
22979
8593482f
UD
229802011-04-01 Ulrich Drepper <drepper@gmail.com>
22981
22982 [BZ #12631]
22983 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
22984
81a5726b
AS
229852011-03-30 Andreas Schwab <schwab@redhat.com>
22986
22987 * misc/syncfs.c: New file.
22988 * misc/Makefile (routines): Add syncfs.
22989 * posix/unistd.h: Declare syncfs.
22990 * sysdeps/unix/syscalls.list: Add syncfs.
22991
00e5419f
AS
229922011-04-01 Andreas Schwab <schwab@redhat.com>
22993
22994 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
22995 open_by_handle_at.
22996 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
22997 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
22998 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22999 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
23000 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
23001 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
23002 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
23003
748876bf
UD
230042011-04-01 Ulrich Drepper <drepper@gmail.com>
23005
658e451d
UD
23006 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
23007 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
23008 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
23009 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
23010 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
23011 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
23012 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
23013
748876bf
UD
23014 * io/Makefile: Compile fallocate.c, fallocate64.c, and
23015 sync_file_range.c with -fexceptions.
23016 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
23017 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
23018 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
23019 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
23020 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
23021 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
23022 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
23023 sync_file_range as cancellation point
23024 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
23025 now a wrapper around __call_sync_file_range with cancellation handling.
23026 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
23027 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
23028 function name to __call_sync_file_range.
23029 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
23030 Add call_sync_file_range.
748876bf 23031
6e63d5e1
AS
230322011-04-01 Andreas Schwab <schwab@redhat.com>
23033
23034 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 23035 bits/timex.h.
6e63d5e1 23036
46998f74
UD
230372011-04-01 Ulrich Drepper <drepper@gmail.com>
23038
4c1423ed
UD
23039 * iconv/iconv.h: Fix typo in comment.
23040 * io/fcntl.h: Likewise.
23041 * libio/stdio.h: Likewise.
23042 * posix/spawn.h: Likewise.
23043 * posix/unistd.h: Likewise.
23044 * stdlib/stdlib.h: Likewise.
23045 * time/time.h: Likewise.
23046 * wcsmbs/wchar.h: Likewise.
23047
158648c0
UD
23048 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
23049 open_by_handle): Add.
23050 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
23051 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
23052 Augment a few comments.
23053 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
23054 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
23055 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
23056 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
23057 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
23058 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
23059 open_by_handle.
23060
46998f74
UD
23061 * io/fcntl.h (AT_EMPTY_PATH): Define.
23062
83fe108b
UD
230632011-03-30 Ulrich Drepper <drepper@gmail.com>
23064
23065 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
23066 * sysdeps/unix/sysv/linux/bits/time.h: New file.
23067 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
23068 to...
23069 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
23070 * Versions.def: Add GLIBC_2.14.
23071 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
23072 Export.
83fe108b 23073
bb242059
UD
230742011-03-22 Ulrich Drepper <drepper@gmail.com>
23075
23076 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
23077 round counter.
23078 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
23079
c97a1282
L
230802011-03-20 H.J. Lu <hongjiu.lu@intel.com>
23081
23082 [BZ #12597]
23083 * string/test-strncmp.c (do_page_test): New function.
23084 (check2): Likewise.
23085 (test_main): Call check2.
23086 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
23087
2a115601
UD
230882011-03-20 Ulrich Drepper <drepper@gmail.com>
23089
23090 [BZ #12587]
23091 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
23092 Handle cache information in CPU leaf 4.
23093 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
23094
8126d904
UD
230952011-03-18 Ulrich Drepper <drepper@gmail.com>
23096
042c49c6 23097 [BZ #12583]
8126d904
UD
23098 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
23099 character representation.
23100 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
23101
ccfe366e
RA
231022011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
23103
23104 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
23105 END(__isnan) to END(__isnanf) to match function entry point/label
23106 EALIGN(__isnanf,...).
23107
c6e13027
JJ
231082011-03-10 Jakub Jelinek <jakub@redhat.com>
23109
23110 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
23111
33f85a3f
UD
231122011-03-10 Ulrich Drepper <drepper@gmail.com>
23113
028478fa
UD
23114 [BZ #12510]
23115 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
23116 copy from the symbol referenced in the relocation to initialize the
23117 used variable.
23118 Patch by Piotr Bury <pbury@goahead.com>.
23119 * elf/Makefile: Add rules to build and tst-unique3.
23120 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
23121 * elf/tst-unique3.cc: New file.
23122 * elf/tst-unique3.h: New file.
23123 * elf/tst-unique3lib.cc: New file.
23124 * elf/tst-unique3lib2.cc: New file.
23125
33f85a3f
UD
23126 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
23127
03592fc7
MF
231282011-03-10 Mike Frysinger <vapier@gentoo.org>
23129
23130 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
23131 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
23132 to _start.
03592fc7 23133
6a5ee102
UD
231342011-03-06 Ulrich Drepper <drepper@gmail.com>
23135
23136 * elf/dl-load.c (_dl_map_object): If we are looking for the first
23137 to-be-loaded object along a path to loader is ld.so.
23138
7e4ba49c
HJ
231392011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
23140 Ulrich Drepper <drepper@gmail.com>
23141
23142 * sysdeps/x86_64/memset.S: After aligning destination, code
23143 branches to different locations depending on the value of
23144 misalignment, when multiarch is enabled. Fix this.
23145
231462011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
23147
23148 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
23149 Set _x86_64_preferred_memory_instruction for AMD processsors.
23150 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23151 Set bit_Prefer_SSE_for_memop for AMD processors.
23152
13a804de
UD
231532011-03-04 Ulrich Drepper <drepper@gmail.com>
23154
23155 * libio/fmemopen.c (fmemopen): Optimize a bit.
23156
9d25c392
AS
231572011-03-03 Andreas Schwab <schwab@redhat.com>
23158
23159 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
23160
a5543c6a
RM
231612011-03-03 Roland McGrath <roland@redhat.com>
23162
23163 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
23164
012d35f7
DM
231652011-02-28 Aurelien Jarno <aurelien@aurel32.net>
23166
7e4ba49c 23167 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
23168 __bzero_ultra1 instead of __memset_ultra1.
23169
4bff6e01
AS
231702011-02-23 Andreas Schwab <schwab@redhat.com>
23171 Ulrich Drepper <drepper@gmail.com>
23172
23173 [BZ #12509]
23174 * include/link.h (struct link_map): Add l_orig_initfini.
23175 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
23176 returning unsuccessfully.
23177 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
23178 close of a file loaded at startup, restore the original l_initfini
23179 list.
23180 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
23181 list, store the pointer.
23182 * elf/Makefile ($(objpfx)noload-mem): New rule.
23183 (noload-ENV): Define.
23184 (tests): Add $(objpfx)noload-mem.
23185 * elf/noload.c: Include <memcheck.h>.
23186 (main): Call mtrace. Close all opened handles.
23187
f2092faf
AS
231882011-02-17 Andreas Schwab <schwab@redhat.com>
23189
23190 [BZ #12454]
23191 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
23192 dependencies are missing.
23193
6c8a2e88
ST
231942011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
23195
f2092faf 23196 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
23197 Hurd needs munmap.
23198 * sysdeps/mach/hurd/ifreq.h: New file.
23199
84a42118
PB
232002011-01-27 Petr Baudis <pasky@suse.cz>
23201 Ulrich Drepper <drepper@gmail.com>
23202
071f805e 23203 [BZ 12445]#
84a42118
PB
23204 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
23205 to extend_alloca().
23206 * stdio-common/bug23.c: New file.
23207 * stdio-common/Makefile (tests): Add bug23.
23208
e23fe25b
AS
232092010-09-28 Andreas Schwab <schwab@redhat.com>
23210 Ulrich Drepper <drepper@gmail.com>
23211
23212 [BZ #12489]
23213 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
23214 before performing relro protection. At old place add assertion
23215 to make sure nothing changed.
23216
d3f02e10
NS
232172011-02-17 Nathan Sidwell <nathan@codesourcery.com>
23218 Glauber de Oliveira Costa <glommer@gmail.com>
23219
23220 * elf/elf.h: Add new ARM TLS relocs.
23221
d55fd7a5
RA
232222011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
23223
23224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
23225 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
23226 cast from r3.
23227 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
23228 'tests' variable.
23229 * sysdeps/wordsize-64/tst-writev.c: New file.
23230
2206397e
RA
232312011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
23232
23233 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
23234 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
23235 insns in _dl_start to prevent a TOC reference before relocs are
23236 resolved.
23237
e9433893
UD
232382011-02-15 Ulrich Drepper <drepper@gmail.com>
23239
23240 [BZ #12469]
23241 * Makeconfig: Remove RANLIB definition.
23242 * Makerules: Don't use RANLIB.
23243 * aclocal.m4: Remove ranlib test.
23244 * configure.in: No need to check for ranlib.
23245 * elf/rtld-Rules: Don't use RANLIB.
23246
f75286c6
ST
232472011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
23248
8e31c82d
ST
23249 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
23250 protection macro.
23251 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
23252 inclusion protection macro.
23253
f75286c6
ST
23254 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
23255 SIGRTMIN and SIGRTMAX and print information in that case only when
23256 SIGRTMIN is defined.
23257
c1d0e639
JJ
232582011-02-11 Jakub Jelinek <jakub@redhat.com>
23259
23260 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
23261 arginfo fn returning -1.
23262
23263 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
23264 and thousands string is zero terminated.
23265
edf9294e
AS
232662011-02-03 Andreas Schwab <schwab@redhat.com>
23267
23268 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
23269 sysdeps/unix/sysv/linux/bits/socket.h.
23270
2b7e92df
ST
232712011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
23272
edf9294e
AS
23273 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
23274 (__CPU_COUNT): Remove old macros.
23275 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
23276 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
23277 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
23278 (__sched_cpualloc, __sched_cpufree): Add declarations.
23279
a4c7ea7b
UD
232802011-02-05 Ulrich Drepper <drepper@gmail.com>
23281
23282 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
23283 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
23284 * nscd/aicache.c (addhstaiX): Return timeout of added value.
23285 (readdhstai): Return value of addhstaiX call.
23286 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
23287 (addgrbyX): Return value returned by cache_addgr.
23288 (readdgrbyname): Return value returned by addgrbyX.
23289 (readdgrbygid): Likewise.
23290 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
23291 (addpwbyX): Return value returned by cache_addpw.
23292 (readdpwbyname): Return value returned by addhstbyX.
23293 (readdpwbyuid): Likewise.
23294 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
23295 (addservbyX): Return value returned by cache_addserv.
23296 (readdservbyname): Return value returned by addservbyX:
23297 (readdservbyport): Likewise.
23298 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
23299 (addhstbyX): Return value returned by cache_addhst.
23300 (readdhstbyname): Return value returned by addhstbyX.
23301 (readdhstbyaddr): Likewise.
23302 (readdhstbynamev6): Likewise.
23303 (readdhstbyaddrv6): Likewise.
23304 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
23305 (readdinitgroups): Return value returned by addinitgroupsX.
23306 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
23307 (prune_cache): Keep track of timeout value of re-added entries.
23308 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
23309 * nscd/nscd.h: Adjust prototypes of readd* functions.
23310
a0bf67cc
RM
233112011-02-04 Roland McGrath <roland@redhat.com>
23312
23313 * nis/nis_server.c (nis_servstate): Use the right name for 0.
23314 (nis_stats): Likewise.
23315 * nis/nis_modify.c (nis_modify): Likewise.
23316 * nis/nis_remove.c (nis_remove): Likewise.
23317 * nis/nis_add.c (nis_add): Likewise.
23318
23319 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
23320
23321 * posix/fnmatch_loop.c: Add some consts.
23322
23323 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
23324
435b95eb
L
233252011-02-02 H.J. Lu <hongjiu.lu@intel.com>
23326
23327 [BZ #12460]
23328 * config.make.in (config-cflags-novzeroupper): Define.
23329 * configure.in: Substitute libc_cv_cc_novzeroupper.
23330 * elf/Makefile (AVX-CFLAGS): Define.
23331 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
23332 (CFLAGS-tst-auditmod4a.c): Likewise.
23333 (CFLAGS-tst-auditmod4b.c): Likewise.
23334 (CFLAGS-tst-auditmod6b.c): Likewise.
23335 (CFLAGS-tst-auditmod6c.c): Likewise.
23336 (CFLAGS-tst-auditmod7b.c): Likewise.
23337 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
23338
8517b15e
UD
233392011-02-02 Ulrich Drepper <drepper@gmail.com>
23340
23341 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
23342 function to the callback.
23343 Patch partly by Jiri Olsa <jolsa@redhat.com>.
23344
10a656fe
AS
233452011-02-02 Andreas Schwab <schwab@redhat.com>
23346
23347 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
23348 of errno.
23349
968dad0a
UD
233502011-01-19 Ulrich Drepper <drepper@gmail.com>
23351
9f94d2ea 23352 [BZ #11724]
968dad0a
UD
23353 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
23354 of constructors.
23355 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
23356 of destructors.
23357 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
23358
23359 [BZ #11724]
23360 * elf/Makefile: Add rules to build and run new test.
23361 * elf/tst-initorder.c: New file.
23362 * elf/tst-initorder.exp: New file.
23363 * elf/tst-initordera1.c: New file.
23364 * elf/tst-initordera2.c: New file.
23365 * elf/tst-initordera3.c: New file.
23366 * elf/tst-initordera4.c: New file.
23367 * elf/tst-initorderb1.c: New file.
23368 * elf/tst-initorderb2.c: New file.
23369 * elf/tst-order-a1.c: New file.
23370 * elf/tst-order-a2.c: New file.
23371 * elf/tst-order-a3.c: New file.
23372 * elf/tst-order-a4.c: New file.
23373 * elf/tst-order-b1.c: New file.
23374 * elf/tst-order-b2.c: New file.
23375 * elf/tst-order-main.c: New file.
23376 New test case by George Gensure <werkt0@gmail.com>.
23377
86e92359
UD
233782010-10-01 Andreas Schwab <schwab@redhat.com>
23379
23380 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
23381 decoding ACE if AI_CANONIDN.
23382
5d5732b0
UD
233832011-01-18 Ulrich Drepper <drepper@gmail.com>
23384
23385 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
23386
a77e8cbc
UD
233872011-01-17 Ulrich Drepper <drepper@gmail.com>
23388
6392473f
UD
23389 * version.h (RELEASE): Bump for 2.13 release.
23390 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
23391
620a0529
UD
23392 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
23393
18ba70a5
UD
23394 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
23395 MADV_NOHUGEPAGE.
32465c3e
UD
23396 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
23397 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
23398 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
23399 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
23400 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
23401 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
23402
c0dafcf1
UD
23403 * posix/getconf.c: Update copyright year.
23404 * catgets/gencat.c: Likewise.
23405 * csu/version.c: Likewise.
23406 * debug/catchsegv.sh: Likewise.
23407 * debug/xtrace.sh: Likewise.
23408 * elf/ldconfig.c: Likewise.
23409 * elf/ldd.bash.in: Likewise.
23410 * elf/sprof.c (print_version): Likewise.
23411 * iconv/iconv_prog.c: Likewise.
23412 * iconv/iconvconfig.c: Likewise.
23413 * locale/programs/locale.c: Likewise.
23414 * locale/programs/localedef.c: Likewise.
23415 * malloc/memusage.sh: Likewise.
23416 * malloc/mtrace.pl: Likewise.
23417 * nscd/nscd.c (print_version): Likewise.
23418 * nss/getent.c: Likewise.
23419
a77e8cbc
UD
23420 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
23421 PF_CAIF, and PF_ALG.
23422 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
23423
77e8bddf
AS
234242011-01-16 Andreas Schwab <schwab@linux-m68k.org>
23425
1f20b93a
AS
23426 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
23427 (modules-names): Use them.
23428 (ifunc-test-modules, ifunc-pie-tests): Define.
23429 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
23430 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
23431 (test-extras): Likewise.
23432 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
23433 $(compile-command.c).
23434 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
23435 (all-built-dso): Define.
23436 (check-textrel.out, check-execstack.out): Depend on it.
23437
77e8bddf
AS
23438 * configure.in: Don't override --enable-multi-arch.
23439
bc425b33
UD
234402011-01-15 Ulrich Drepper <drepper@gmail.com>
23441
23442 [BZ #6812]
23443 * nscd/hstcache.c (tryagain): Define.
23444 (cache_addhst): Return tryagain not notfound for temporary errors.
23445 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
23446 failed.
23447
794c3ad3
UD
234482011-01-14 Ulrich Drepper <drepper@gmail.com>
23449
70181fdd
UD
23450 [BZ #10563]
23451 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
23452 to make the syscall.
23453 * sysdeps/unix/sysv/linux/setgroups.c: New file.
23454
794c3ad3
UD
23455 [BZ #12378]
23456 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
23457 and fall back to matching as normal character if the string ends before
23458 the matching ']' is found. This is what POSIX requires.
23459 * posix/testfnm.c: Adjust test result.
23460 * posix/globtest.sh: Adjust test result. Add new test.
23461 * posix/tst-fnmatch.input: Likewise.
23462 * posix/tst-fnmatch2.c: Add new test.
23463
68dc9497
AS
234642010-12-28 Andreas Schwab <schwab@linux-m68k.org>
23465
23466 * elf/Makefile (check-execstack): Revert last change. Depend on
23467 check-execstack.h.
23468 (check-execstack.h): New target.
23469 (generated): Add check-execstack.h.
23470 * elf/check-execstack.c: Include "check-execstack.h".
23471 (main): Revert last change.
23472 (handle_file): Return zero if GNU_STACK is absent and
23473 DEFAULT_STACK_PERMS doesn't include PF_X.
23474
451f001b
UD
234752011-01-13 Ulrich Drepper <drepper@gmail.com>
23476
cfa28e56
UD
23477 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
23478 in child fails because the descriptor is already closed.
8cf8ce17
UD
23479 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
23480 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
23481 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 23482
1086d70d
UD
23483 [BZ #12397]
23484 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
23485 syscall.
23486
451f001b
UD
23487 [BZ #10484]
23488 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
23489 temporary buffer used to handle multi lookups locally.
a85b5cb4 23490 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 23491
08769175
UD
234922011-01-12 Ulrich Drepper <drepper@gmail.com>
23493
23494 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
23495 loader is ld.so.
23496
5e49c52e
UD
234972011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
23498
23499 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
23500 alignment for SSE2.
23501
60522a5f
UD
235022011-01-12 Ulrich Drepper <drepper@gmail.com>
23503
23504 [BZ #12394]
23505 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
23506 characters. When rounding increased number of integer digits recompute
23507 number of groups.
23508 * stdio-common/tst-grouping.c: New file.
23509 * stdio-common/Makefile: Add rules to build and run tst-grouping.
23510
f257bbd7
UD
235112011-01-09 Ulrich Drepper <drepper@gmail.com>
23512
23513 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
23514 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
23515
23516 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
23517 void.
23518 * bits/select.h: Likewise.
23519
fa9c15cb
UD
235202011-01-08 Ulrich Drepper <drepper@gmail.com>
23521
23522 * po/ja.po: Update from translation team.
23523
16c2895f
DM
235242011-01-04 David S. Miller <davem@sunset.davemloft.net>
23525
23526 [BZ #11155]
23527 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
23528 implementation just like for lxstat, fxstatat, et al.
23529
2543fef2
JM
235302010-12-27 Jim Meyering <meyering@redhat.com>
23531
23532 [BZ #12348]
23533 * posix/regexec.c (build_trtable): Return failure indication upon
23534 calloc failure. Otherwise, re_search_internal could infloop on OOM.
23535
98727dbe
UD
235362010-12-25 Ulrich Drepper <drepper@gmail.com>
23537
5bd6dc5c
UD
23538 [BZ #12201]
23539 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
23540 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
23541 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
23542 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
23543
97983464
UD
23544 [BZ #12207]
23545 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
23546
98727dbe
UD
23547 [BZ #12204]
23548 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
23549 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
23550
4a531bb0
L
235512010-12-15 H.J. Lu <hongjiu.lu@intel.com>
23552
23553 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
23554 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
23555 script has SORT_BY_INIT_PRIORITY.
23556 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
23557 NO_CTORS_DTORS_SECTIONS is defined.
23558 * elf/soinit.c: Likewise.
23559 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
23560 NO_CTORS_DTORS_SECTIONS is defined.
23561 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
23562 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
23563 * sysdeps/sh/init-first.c: Likewise.
23564 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
23565
07eb4b71
UD
235662010-12-24 Ulrich Drepper <drepper@gmail.com>
23567
23568 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
23569 always use the slow path.
23570
30950a5f
RA
235712010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
23572
23573 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
23574 similar rule which adds the sysdep directories to the header search in
23575 order to pick up the correct platform stackinfo.h.
23576 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
23577 perform test if it is, otherwise return successfully without testing.
23578 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
23579 DEFAULT_STACK_PERMS define in stackinfo.h.
23580 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
23581 defined in stackinfo.h.
23582 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
23583 DEFAULT_STACK_PERMS defined in stackinfo.h.
23584 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
23585 * sysdeps/ia64/stackinfo.h: Likewise.
23586 * sysdeps/s390/stackinfo.h: Likewise.
23587 * sysdeps/sh/stackinfo.h: Likewise.
23588 * sysdeps/sparc/stackinfo.h: Likewise.
23589 * sysdeps/x86_64/stackinfo.h: Likewise.
23590 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
23591 PF_X for powerpc64. Retain PF_X for powerpc32.
23592
db753e2c
UD
235932010-12-19 Ulrich Drepper <drepper@gmail.com>
23594
14b697f7
UD
23595 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
23596 accurately.
db753e2c
UD
23597 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
23598 GETDENTS_64BIT_ALIGNED.
23599
28300719
UD
236002010-12-14 Ulrich Drepper <dreper@gmail.com>
23601
14b697f7 23602 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 23603
4f197237
AS
236042010-12-10 Andreas Schwab <schwab@redhat.com>
23605
dbb0472f
AS
23606 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
23607 _GNU_SOURCE.
23608
4f197237
AS
23609 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
23610 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
23611 Remove __restrict.
23612 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
23613 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
23614
fb88ac72
UD
236152010-12-09 Ulrich Drepper <drepper@gmail.com>
23616
23617 [BZ #11655]
23618 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
23619 are initialized.
23620
42acbb92
JJ
236212010-12-09 Jakub Jelinek <jakub@redhat.com>
23622
23623 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
23624
c038d98d
UD
236252010-12-03 Ulrich Drepper <drepper@gmail.com>
23626
23627 * po/it.po: Update from translation team.
23628
3a4a2499
L
236292010-12-01 H.J. Lu <hongjiu.lu@intel.com>
23630
23631 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
23632 unused codes.
23633
1e24cf6e
UD
236342010-11-30 Ulrich Drepper <drepper@gmail.com>
23635
23636 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
23637
a7690819
AS
236382010-11-24 Andreas Schwab <schwab@redhat.com>
23639
23640 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
23641 specially.
23642 (gaih_getanswer_slice): Likewise.
23643
3bf8d1b1
JJ
236442010-10-20 Jakub Jelinek <jakub@redhat.com>
23645
23646 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
23647
6db52fbb
PB
236482010-05-31 Petr Baudis <pasky@suse.cz>
23649
23650 [BZ #11149]
23651 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
23652 silently even in the chroot mode.
23653
eaca7569
UD
236542010-11-22 Ulrich Drepper <drepper@gmail.com>
23655
23656 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
23657 last patch a bit. Pretty printing
23658
3056dcdb
UD
236592010-05-31 Petr Baudis <pasky@suse.cz>
23660
23661 [BZ #10085]
23662 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
23663 initialization of skip_initgroups_dyn.
23664
cf7c9078
UD
236652010-11-19 Ulrich Drepper <drepper@gmail.com>
23666
23667 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
23668 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
23669
a1fb5e3e
UD
236702010-11-16 Ulrich Drepper <drepper@gmail.com>
23671
23672 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
23673
3540d66b
AS
236742010-11-11 Andreas Schwab <schwab@redhat.com>
23675
23676 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
23677 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
23678 (tst-fnmatch-ENV): Set MALLOC_TRACE.
23679 ($(objpfx)tst-fnmatch-mem): New rule.
23680 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
23681 * posix/tst-fnmatch.c (main): Call mtrace.
23682
13b69574
L
236832010-11-11 H.J. Lu <hongjiu.lu@intel.com>
23684
23685 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23686 Support Intel processor model 6 and model 0x2c.
23687
da93d214
LM
236882010-11-10 Luis Machado <luisgpm@br.ibm.com>
23689
23690 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
23691 signed comparison.
23692
8ca52c6e
L
236932010-11-09 H.J. Lu <hongjiu.lu@intel.com>
23694
23695 [BZ #12205]
23696 * string/test-strncasecmp.c (check_result): New function.
23697 (do_one_test): Use it.
23698 (check1): New function.
23699 (test_main): Use it.
23700 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
23701 Support strcasecmp and strncasecmp.
23702
69da074d
UD
237032010-11-08 Ulrich Drepper <drepper@gmail.com>
23704
23705 [BZ #12194]
23706 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
23707 * sysdeps/x86_64/bits/byteswap.h: Likewise.
23708
ff02d528
L
237092010-11-07 H.J. Lu <hongjiu.lu@intel.com>
23710
23711 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
23712 IFUNC support.
23713 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23714 memset-x86-64.
23715 * sysdeps/x86_64/multiarch/bzero.S: New file.
23716 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
23717 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
23718 * sysdeps/x86_64/multiarch/memset.S: New file.
23719 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
23720 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23721 Set bit_Prefer_SSE_for_memop for Intel processors.
23722 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
23723 Define.
23724 (index_Prefer_SSE_for_memop): Define.
23725 (HAS_PREFER_SSE_FOR_MEMOP): Define.
23726
344d0b54
LM
237272010-11-04 Luis Machado <luisgpm@br.ibm.com>
23728
23729 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
23730 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
23731
c0dde15b
UD
237322010-11-03 H.J. Lu <hongjiu.lu@intel.com>
23733
23734 [BZ #12191]
23735 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
23736 (__x86_64_raw_data_cache_size_half): Likewise.
23737 (__x86_64_raw_shared_cache_size): Likewise.
23738 (__x86_64_raw_shared_cache_size_half): Likewise.
23739
23740 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
23741 (__x86_64_raw_data_cache_size_half): Likewise.
23742 (__x86_64_raw_shared_cache_size): Likewise.
23743 (__x86_64_raw_shared_cache_size_half): Likewise.
23744 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
23745 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
23746 and __x86_64_raw_shared_cache_size_half. Round
23747 __x86_64_data_cache_size_half, __x86_64_data_cache_size
23748 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
23749 to multiple of 256 bytes.
23750
0e516e0e
MS
237512010-11-03 Ulrich Drepper <drepper@gmail.com>
23752
23753 [BZ #12167]
23754 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
23755 of inacessible symlinks. Verify result of symlink before returning it.
23756 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
23757 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
23758
0e012e87
ER
237592010-10-28 Erich Ritz <erichritz@gmail.com>
23760
23761 * math/math.h (isinf): Fix typo in comment.
23762
de0ff7bc
UD
237632010-11-01 Ulrich Drepper <drepper@gmail.com>
23764
23765 * po/da.po: Update from translation team.
23766
fa41c84d
UD
237672010-10-26 Ulrich Drepper <drepper@gmail.com>
23768
23769 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
23770 is added to the list.
23771
f0967738
AK
237722010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23773 Ulrich Drepper <drepper@gmail.com>
23774
23775 * elf/dl-object.c (_dl_new_object): Don't append the new object to
23776 the global list here. Move code to...
23777 (_dl_add_to_namespace_list): ...here. New function.
23778 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
23779 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
23780 * elf/dl-load.c (lose): Don't remove the element from the list.
23781 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
23782 (_dl_map_object): Likewise.
23783
237842010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
23785
23786 [BZ #12159]
23787 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
23788 into all bytes of SSE register.
23789 Patch by Richard Li <richardpku@gmail.com>.
23790
f0967738 237912010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
23792
23793 [BZ #12140]
23794 * malloc/malloc.c (_int_free): Fill correct number of bytes when
23795 perturbing.
23796
d0b9e94f
MB
237972010-10-20 Michael B. Brutman <brutman@us.ibm.com>
23798
23799 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
23800 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
23801 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
23802 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
23803 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
23804 submachine.
23805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
23806
8e9f92e9
AS
238072010-10-22 Andreas Schwab <schwab@redhat.com>
23808
23809 * include/dlfcn.h (__RTLD_SECURE): Define.
23810 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
23811 mode & __RTLD_SECURE instead.
23812 (open_path): Rename preloaded parameter to secure.
23813 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
23814 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
23815 * elf/dl-deps.c (openaux): Likewise.
23816 * elf/rtld.c (struct map_args): Remove is_preloaded.
23817 (map_doit): Don't use it.
23818 (dl_main): Likewise.
23819 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
23820 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
23821
bc96fbda
AS
238222010-09-09 Andreas Schwab <schwab@redhat.com>
23823
23824 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
23825 (sysd-rules-targets): Remove duplicates.
23826 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
23827 rtld-%.$o dependency.
23828
22cd1c9b
AS
238292010-10-18 Andreas Schwab <schwab@redhat.com>
23830
23831 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
23832 _dl_map_object do it.
23833
18edac48
UD
238342010-10-19 Ulrich Drepper <drepper@gmail.com>
23835
23836 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
23837 fast fma builtins, define the macros in the C99 standard.
23838 (FP_FAST_FMAF): Likewise.
23839 (FP_FAST_FMAL): Likewise.
23840 * sysdeps/x86_64/bits/mathdef.h: Likewise.
23841
23842 * bits/mathdef.h: Update copyright year.
23843 * sysdeps/powerpc/bits/mathdef.h: Likewise.
23844
d2050124
MM
238452010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
23846
23847 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
23848 builtins, define the macros in the C99 standard.
23849 (FP_FAST_FMAF): Likewise.
23850 (FP_FAST_FMAL): Likewise.
23851 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
23852 multiply/add.
23853 (FP_FAST_FMAF): Likewise.
23854
475facd1
JJ
238552010-10-15 Jakub Jelinek <jakub@redhat.com>
23856
23857 [BZ #3268]
23858 * math/libm-test.inc (fma_test): Some new testcases.
23859 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
23860 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
23861 y and infinite z. Do multiplication by C already in long double.
23862 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
23863 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
23864 y and infinite z. Do bitwise or of inexact bit into u.d.
23865 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
23866 * sysdeps/i386/fpu/s_fmaf.S: Removed.
23867 * sysdeps/i386/fpu/s_fma.S: Removed.
23868 * sysdeps/i386/fpu/s_fmal.S: Removed.
23869
7c08a05c
JJ
238702010-10-16 Jakub Jelinek <jakub@redhat.com>
23871
23872 [BZ #3268]
23873 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
23874 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
23875 computation is not scheduled after fetestexcept. Fix value
23876 of minimum denormal long double.
23877
f3f7372d
JJ
238782010-10-14 Jakub Jelinek <jakub@redhat.com>
23879
23880 [BZ #3268]
23881 * math/libm-test.inc (fma_test): Add some more tests.
23882 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
23883 correctly.
23884
14d43591
AS
238852010-10-15 Andreas Schwab <schwab@redhat.com>
23886
23887 * scripts/data/localplt-s390-linux-gnu.data: New file.
23888 * scripts/data/localplt-s390x-linux-gnu.data: New file.
23889
5e908464
JJ
238902010-10-13 Jakub Jelinek <jakub@redhat.com>
23891
23892 [BZ #3268]
23893 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
23894 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
23895 instead of dbl-64.
23896 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
23897 inlines.
23898 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
23899 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
23900 if one of x and y is very large and the other is subnormal.
23901 * sysdeps/s390/fpu/s_fmaf.c: New file.
23902 * sysdeps/s390/fpu/s_fma.c: New file.
23903 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
23904 * sysdeps/powerpc/fpu/s_fma.S: New file.
23905 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
23906 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
23907 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
23908
239092010-10-12 Jakub Jelinek <jakub@redhat.com>
23910
23911 [BZ #3268]
23912 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
23913 fma tests.
23914 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
23915 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
23916 * sysdeps/i386/i686/multiarch/s_fma.c: Include
23917 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
23918 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
23919 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
23920 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
23921
b833d51f
UD
239222010-10-12 Ulrich Drepper <drepper@redhat.com>
23923
23924 [BZ #12078]
23925 * posix/regcomp.c (parse_branch): One more memory leak plugged.
23926 * posix/bug-regex31.input: Add test case.
23927
1751705d
UD
239282010-10-11 Ulrich Drepper <drepper@gmail.com>
23929
e9b9cbf5
UD
23930 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
23931 * posix/bug-regex31.input: New file.
23932
23933 [BZ #12078]
23934 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
23935 (parse_sub_exp): Fix last change, use postorder.
23936
ef06edbe
UD
23937 * posix/bug-regex31.c: New file.
23938 * posix/Makefile: Add rules to build and run bug-regex31.
23939
a129c80d
UD
23940 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
23941
23942 [BZ #12078]
23943 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
23944
b76b818e
UD
23945 [BZ #12108]
23946 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
23947 to have entries in sys_siglist.
23948
1751705d
UD
23949 [BZ #12093]
23950 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
23951 be NULL.
23952
9ff8d36f
JJ
239532010-10-07 Jakub Jelinek <jakub@redhat.com>
23954
23955 [BZ #3268]
23956 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
23957 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
23958 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
23959 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
23960 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
23961 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
23962 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
23963 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
23964 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
23965 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
23966 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
23967 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
23968 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
23969 * math/ftestexcept.c (fetestexcept): Likewise.
23970 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
23971 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
23972 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
23973 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
23974 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
23975 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
23976 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
23977
af325969
UD
239782010-10-11 Ulrich Drepper <drepper@gmail.com>
23979
c579b202 23980 [BZ #12107]
af325969
UD
23981 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
23982 newline.
23983
67a67b95
UD
239842010-10-06 Ulrich Drepper <drepper@gmail.com>
23985
23986 * string/bug-strstr1.c: New file.
23987 * string/Makefile: Add rules to build and run bug-strstr1.
23988
5fb308bc
EB
239892010-10-05 Eric Blake <eblake@redhat.com>
23990
23991 [BZ #12092]
23992 * string/str-two-way.h (two_way_long_needle): Always clear memory
23993 when skipping input due to the shift table.
23994
45db99c7
UD
239952010-10-03 Ulrich Drepper <drepper@gmail.com>
23996
3b111893
UD
23997 [BZ #12005]
23998 * malloc/mcheck.c: Handle large requests.
23999
45db99c7
UD
24000 [BZ #12077]
24001 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
24002 for strncmp and strncasecmp.
24003 * string/stratcliff.c: Add tests for strcmp and strncmp.
24004 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
24005
cf7a1eb8
NI
240062010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
24007
24008 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
24009 __set_fpscr.
24010
6484ba5e
AJ
240112010-09-30 Andreas Jaeger <aj@suse.de>
24012
24013 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
24014 (CGROUP_SUPER_MAGIC): Define.
24015 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
24016 Handle btrfs and cgroup file systems.
24017 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
24018 Likewise.
24019
91c42559
LM
240202010-09-27 Luis Machado <luisgpm@br.ibm.com>
24021
24022 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
24023 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
24024
87a97932
AK
240252010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24026
24027 [BZ #12067]
24028 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
24029 trying to locate the ELF header.
24030
c21cc9bc
AS
240312010-09-27 Andreas Schwab <schwab@redhat.com>
24032
24033 [BZ #11611]
24034 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
24035 Mask out sign-bit copies when constructing f_fsid.
24036
315970f6
PB
240372010-09-24 Petr Baudis <pasky@suse.cz>
24038
24039 * debug/stack_chk_fail_local.c: Add missing licence exception.
24040 * debug/warning-nop.c: Likewise.
24041
1ac7a2c7
JM
240422010-09-15 Joseph Myers <joseph@codesourcery.com>
24043
24044 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
24045 implementing getdents64 using getdents syscall, set d_type if
24046 __ASSUME_GETDENTS32_D_TYPE.
24047
56801c50
AS
240482010-09-16 Andreas Schwab <schwab@redhat.com>
24049
24050 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
24051 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
24052
dda51327
UD
240532010-09-21 Ulrich Drepper <drepper@redhat.com>
24054
24055 [BZ #12037]
24056 * posix/unistd.h: Undo change of feature selection for ftruncate from
24057 2010-01-11.
24058
8ffcee4a
UD
240592010-09-20 Ulrich Drepper <drepper@redhat.com>
24060
a545ecd9 24061 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
24062 detection.
24063
e24f0a8b
AS
240642010-09-20 Andreas Schwab <schwab@redhat.com>
24065
24066 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
24067 fanotify_mark.
24068 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
24069
7291c56f
AS
240702010-09-14 Andreas Schwab <schwab@redhat.com>
24071
24072 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
24073 variables after CHECK_SP call.
24074 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
24075
bc5fb037
AS
240762010-09-13 Andreas Schwab <schwab@redhat.com>
24077 Ulrich Drepper <drepper@redhat.com>
24078
24079 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
24080 re-relocationg ld.so.
24081 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
24082 _dl_init_paths call.
24083 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
24084 here anymore.
24085
e66e7419
UD
240862010-09-14 Ulrich Drepper <drepper@redhat.com>
24087
24088 * resolv/res_init.c (__res_vinit): Count the default server we added.
24089
c044aa75
CLT
240902010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
24091 Ulrich Drepper <drepper@redhat.com>
24092
24093 [BZ #11968]
24094 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
24095 (____longjmp_chk): Use %ebx for saving value across system call.
24096 Add unwind info.
24097
32cf4069
AS
240982010-09-06 Andreas Schwab <schwab@redhat.com>
24099
24100 * manual/Makefile: Don't mix pattern rules with normal rules.
24101
817328ee
AS
241022010-09-05 Andreas Schwab <schwab@linux-m68k.org>
24103
24104 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
24105 operation.
24106 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
24107 * libio/iofopncook.c (_IO_cookie_init): Likewise.
24108 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
24109 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
24110 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
24111 Likewise.
24112
29fddf61
UD
241132010-09-04 Ulrich Drepper <drepper@redhat.com>
24114
24115 [BZ #11979]
24116 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
24117 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
24118
0959ffc9
UD
241192010-09-02 Ulrich Drepper <drepper@redhat.com>
24120
24121 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
24122 * sysdeps/x86_64/addmul_1.S: Likewise.
24123 * sysdeps/x86_64/lshift.S: Likewise.
24124 * sysdeps/x86_64/mul_1.S: Likewise.
24125 * sysdeps/x86_64/rshift.S: Likewise.
24126 * sysdeps/x86_64/sub_n.S: Likewise.
24127 * sysdeps/x86_64/submul_1.S: Likewise.
24128
ece29840
ST
241292010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
24130
0959ffc9
UD
24131 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
24132 Define __sched_param instead of SCHED_* and sched_param when
ece29840 24133 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 24134 * bits/sched.h [__need_schedparam]
ece29840 24135 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
24136 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
24137 (__defined_schedparam): Define to 1.
ece29840
ST
24138 (__sched_param): New structure, identical to sched_param.
24139 (__need_schedparam): Undefine.
24140
e53a31fe
MF
241412010-08-31 Mike Frysinger <vapier@gentoo.org>
24142
fdc0c10d
MF
24143 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
24144 (epoll_create1): Declare.
24145
e53a31fe
MF
24146 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
24147
a726d796
AS
241482010-08-31 Andreas Schwab <schwab@redhat.com>
24149
24150 [BZ #7066]
24151 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
24152 shifting retval into place.
24153
2f3e3dc7
UD
241542010-09-01 Ulrich Drepper <drepper@redhat.com>
24155
f2933da9
UD
24156 * nis/rpcsvc/nis.h: Update copyright notice.
24157 * nis/rpcsvc/nis.x: Likewise.
24158 * nis/rpcsvc/nis_callback.h: Likewise.
24159 * nis/rpcsvc/nis_callback.x: Likewise.
24160 * nis/rpcsvc/nis_object.x: Likewise.
24161 * nis/rpcsvc/nis_tags.h: Likewise.
24162 * nis/rpcsvc/yp.h: Likewise.
24163 * nis/rpcsvc/yp.x: Likewise.
24164 * nis/rpcsvc/ypupd.h: Likewise.
24165 * nis/yp_xdr.c: Likewise.
24166 * nis/ypupdate_xdr.c: Likewise.
24167
2f3e3dc7
UD
24168 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
24169 mainly the body of pmap_getport. Add parameters to specify timeouts.
24170 (pmap_getport): Use __libc_rpc_getport.
24171 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
24172 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
24173 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
24174
f3dcc2f9
AS
241752010-08-31 Andreas Schwab <schwab@linux-m68k.org>
24176
24177 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
24178 fanotify_mark.
24179
6d34eb5b
RM
241802010-08-27 Roland McGrath <roland@redhat.com>
24181
24182 * sysdeps/i386/i686/multiarch/Makefile
24183 (CFLAGS-varshift.c): New variable.
24184
9ea3de11
UD
241852010-08-27 Ulrich Drepper <drepper@redhat.com>
24186
c96d23fc
UD
24187 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
24188 * sysdeps/i386/i686/multiarch/varshift.c: New file.
24189
9ea3de11
UD
24190 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
24191
24192 * sysdeps/x86_64/strlen.S: Minimal code improvement.
24193
623aac7f
L
241942010-08-26 H.J. Lu <hongjiu.lu@intel.com>
24195
24196 * sysdeps/x86_64/strlen.S: Unroll the loop.
24197 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24198 strlen-sse2 strlen-sse2-bsf.
24199 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
24200 __strlen_no_bsf if bit_Slow_BSF is set.
24201 (__strlen_sse42): Removed.
24202 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
24203 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
24204
8b2b7715
RM
242052010-08-25 Roland McGrath <roland@redhat.com>
24206
24207 * sysdeps/x86_64/multiarch/varshift.S: File removed.
24208 * sysdeps/x86_64/multiarch/varshift.c: New file.
24209 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
24210 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
24211 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
24212 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
24213
e73015f2
L
242142010-08-25 H.J. Lu <hongjiu.lu@intel.com>
24215
24216 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24217 strlen-sse2 strlen-sse2-bsf.
24218 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
24219 __strlen_sse2_bsf if bit_Slow_BSF is unset.
24220 (__strlen_sse2): Removed.
24221 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
24222 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
24223 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
24224 bit_Slow_BSF for Atom.
24225 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
24226 (index_Slow_BSF): Define.
24227 (HAS_SLOW_BSF): Define.
24228
df24a73e
UD
242292010-08-25 Ulrich Drepper <drepper@redhat.com>
24230
24231 [BZ #10851]
24232 * resolv/res_init.c (__res_vinit): When no server address at all
24233 is given default to loopback.
24234
f2ac4868
RM
242352010-08-24 Roland McGrath <roland@redhat.com>
24236
09055553
RM
24237 * configure.in: Remove config-name.h generation.
24238 * configure: Regenerated.
24239 * config-name.in: File removed.
24240 * scripts/config-uname.sh: New file.
24241 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
24242 ($(objdir)config-name.h): New target.
24243
f2ac4868
RM
24244 * sunrpc/rpc_parse.h: Avoid nested comment.
24245
73f27d5e
RH
242462010-08-24 Richard Henderson <rth@redhat.com>
24247 Ulrich Drepper <drepper@redhat.com>
24248 H.J. Lu <hongjiu.lu@intel.com>
24249
24250 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
24251 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
24252 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
24253 Replace _mm_srli_si128 with __m128i_shift_right. Replace
24254 _mm_alignr_epi8 with _mm_loadu_si128.
24255 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
24256 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
24257 (__m128i_shift_right): Removed.
24258 * sysdeps/i386/i686/multiarch/varshift.h: New file.
24259 * sysdeps/i386/i686/multiarch/varshift.S: New file.
24260 * sysdeps/x86_64/multiarch/varshift.h: New file.
24261 * sysdeps/x86_64/multiarch/varshift.S: New file.
24262
84b9230c
MF
242632010-08-21 Mike Frysinger <vapier@gentoo.org>
24264
24265 * configure.in: Move assembler checks to before sysdep dir checking.
24266
9bbd0ddc
PB
242672010-08-20 Petr Baudis <pasky@suse.cz>
24268
24269 * LICENSES: Sync the sunrpc license.
24270
9da4bb31
UD
242712010-08-19 Ulrich Drepper <drepper@redhat.com>
24272
a7ab6ec8
UD
24273 * sunrpc/auth_des.c: Update copyright notice once again.
24274 * sunrpc/auth_none.c: Likewise.
24275 * sunrpc/auth_unix.c: Likewise.
24276 * sunrpc/authdes_prot.c: Likewise.
24277 * sunrpc/authuxprot.c: Likewise.
24278 * sunrpc/bindrsvprt.c: Likewise.
24279 * sunrpc/clnt_gen.c: Likewise.
24280 * sunrpc/clnt_perr.c: Likewise.
24281 * sunrpc/clnt_raw.c: Likewise.
24282 * sunrpc/clnt_simp.c: Likewise.
24283 * sunrpc/clnt_tcp.c: Likewise.
24284 * sunrpc/clnt_udp.c: Likewise.
24285 * sunrpc/clnt_unix.c: Likewise.
24286 * sunrpc/des_crypt.c: Likewise.
24287 * sunrpc/des_soft.c: Likewise.
24288 * sunrpc/get_myaddr.c: Likewise.
24289 * sunrpc/getrpcport.c: Likewise.
24290 * sunrpc/key_call.c: Likewise.
24291 * sunrpc/key_prot.c: Likewise.
24292 * sunrpc/openchild.c: Likewise.
24293 * sunrpc/pm_getmaps.c: Likewise.
24294 * sunrpc/pm_getport.c: Likewise.
24295 * sunrpc/pmap_clnt.c: Likewise.
24296 * sunrpc/pmap_prot.c: Likewise.
24297 * sunrpc/pmap_prot2.c: Likewise.
24298 * sunrpc/pmap_rmt.c: Likewise.
24299 * sunrpc/rpc/auth.h: Likewise.
24300 * sunrpc/rpc/auth_unix.h: Likewise.
24301 * sunrpc/rpc/clnt.h: Likewise.
24302 * sunrpc/rpc/des_crypt.h: Likewise.
24303 * sunrpc/rpc/key_prot.h: Likewise.
24304 * sunrpc/rpc/netdb.h: Likewise.
24305 * sunrpc/rpc/pmap_clnt.h: Likewise.
24306 * sunrpc/rpc/pmap_prot.h: Likewise.
24307 * sunrpc/rpc/pmap_rmt.h: Likewise.
24308 * sunrpc/rpc/rpc.h: Likewise.
24309 * sunrpc/rpc/rpc_des.h: Likewise.
24310 * sunrpc/rpc/rpc_msg.h: Likewise.
24311 * sunrpc/rpc/svc.h: Likewise.
24312 * sunrpc/rpc/svc_auth.h: Likewise.
24313 * sunrpc/rpc/types.h: Likewise.
24314 * sunrpc/rpc/xdr.h: Likewise.
24315 * sunrpc/rpc_clntout.c: Likewise.
24316 * sunrpc/rpc_cmsg.c: Likewise.
24317 * sunrpc/rpc_common.c: Likewise.
24318 * sunrpc/rpc_cout.c: Likewise.
24319 * sunrpc/rpc_dtable.c: Likewise.
24320 * sunrpc/rpc_hout.c: Likewise.
24321 * sunrpc/rpc_main.c: Likewise.
24322 * sunrpc/rpc_parse.c: Likewise.
24323 * sunrpc/rpc_parse.h: Likewise.
24324 * sunrpc/rpc_prot.c: Likewise.
24325 * sunrpc/rpc_sample.c: Likewise.
24326 * sunrpc/rpc_scan.c: Likewise.
24327 * sunrpc/rpc_scan.h: Likewise.
24328 * sunrpc/rpc_svcout.c: Likewise.
24329 * sunrpc/rpc_tblout.c: Likewise.
24330 * sunrpc/rpc_util.c: Likewise.
24331 * sunrpc/rpc_util.h: Likewise.
24332 * sunrpc/rpcinfo.c: Likewise.
24333 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
24334 * sunrpc/rpcsvc/key_prot.x: Likewise.
24335 * sunrpc/rpcsvc/klm_prot.x: Likewise.
24336 * sunrpc/rpcsvc/mount.x: Likewise.
24337 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
24338 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
24339 * sunrpc/rpcsvc/rex.x: Likewise.
24340 * sunrpc/rpcsvc/rstat.x: Likewise.
24341 * sunrpc/rpcsvc/rusers.x: Likewise.
24342 * sunrpc/rpcsvc/sm_inter.x: Likewise.
24343 * sunrpc/rpcsvc/spray.x: Likewise.
24344 * sunrpc/rpcsvc/yppasswd.x: Likewise.
24345 * sunrpc/rtime.c: Likewise.
24346 * sunrpc/svc.c: Likewise.
24347 * sunrpc/svc_auth.c: Likewise.
24348 * sunrpc/svc_authux.c: Likewise.
24349 * sunrpc/svc_raw.c: Likewise.
24350 * sunrpc/svc_run.c: Likewise.
24351 * sunrpc/svc_simple.c: Likewise.
24352 * sunrpc/svc_tcp.c: Likewise.
24353 * sunrpc/svc_udp.c: Likewise.
24354 * sunrpc/svc_unix.c: Likewise.
24355 * sunrpc/svcauth_des.c: Likewise.
24356 * sunrpc/xcrypt.c: Likewise.
24357 * sunrpc/xdr.c: Likewise.
24358 * sunrpc/xdr_array.c: Likewise.
24359 * sunrpc/xdr_float.c: Likewise.
24360 * sunrpc/xdr_mem.c: Likewise.
24361 * sunrpc/xdr_rec.c: Likewise.
24362 * sunrpc/xdr_ref.c: Likewise.
24363 * sunrpc/xdr_sizeof.c: Likewise.
24364 * sunrpc/xdr_stdio.c: Likewise.
24365
9da4bb31
UD
24366 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
24367 handling.
24368
bdaa77bc
AS
243692010-08-19 Andreas Schwab <schwab@redhat.com>
24370
24371 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
24372
fe2f79db
LM
243732010-08-19 Luis Machado <luisgpm@br.ibm.com>
24374
24375 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
24376 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
24377 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
24378 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
24379 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
24380 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
24381 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
24382 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
24383 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
24384 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
24385 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
24386 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
24387 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
24388 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
24389
b9b42ee0
AB
243902010-07-26 Anton Blanchard <anton@samba.org>
24391
24392 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
24393 * malloc/arena.c (heap_trim): Likewise.
24394
1c06ba31
UD
243952010-08-16 Ulrich Drepper <drepper@redhat.com>
24396
24397 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
24398 here. Not...
24399 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
24400 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
24401
f8392f40
L
244022010-08-12 H.J. Lu <hongjiu.lu@intel.com>
24403
24404 * sysdeps/i386/elf/Makefile: New file.
24405
3162f12e
AS
244062010-08-14 Andreas Schwab <schwab@linux-m68k.org>
24407
24408 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
24409 from fanotify_init.
24410 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
24411 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
24412
28c90b2c
UD
244132010-08-15 Ulrich Drepper <drepper@redhat.com>
24414
24415 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
24416 of strncasecmp_l.
1feccb6c 24417 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 24418
ca6bb004
UD
244192010-08-14 Ulrich Drepper <drepper@redhat.com>
24420
e9f82e0d
UD
24421 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
24422 strncase_l-nonascii.
24423 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
24424 Add strncase_l-ssse3.
24425 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
24426 * sysdeps/x86_64/strcmp.S: Likewise.
24427 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
24428 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
24429 * sysdeps/x86_64/strncase.S: New file.
24430 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
24431 * sysdeps/x86_64/strncase_l.S: New file.
24432 * string/Makefile (strop-tests): Add strncasecmp.
24433 * string/test-strncasecmp.c: New file.
24434
24435 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
24436 warning.
24437
ca6bb004
UD
24438 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
24439 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
24440
052fa7b3
AS
244412010-08-14 Andreas Schwab <schwab@linux-m68k.org>
24442
24443 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
24444
962dba78
UD
244452010-08-12 Ulrich Drepper <drepper@redhat.com>
24446
24447 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
24448 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
24449 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
24450
bebff237
AM
244512010-05-01 Alan Modra <amodra@gmail.com>
24452
24453 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
24454 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
24455 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
24456 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
24457 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
24458 tidying. Don't tail-call __sigjmp_save for static lib.
24459 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
24460 save location.
24461 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
24462 (CALL_MCOUNT): Add eh info, and nop after bl.
24463 (TAIL_CALL_SYSCALL_ERROR): New macro.
24464 (PSEUDO_RET): Use it.
24465 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
24466 Correct save location of integer regs and cr.
24467 (_dl_profile_resolve): Correct cr save location. Delete nops
24468 after bl when SHARED. Reduce cfi size a little by better
24469 placement of cfi directives.
24470 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
24471 make a stack frame. Instead use parm save area as a temp.
24472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
24473 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
24474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
24475 Don't make a stack frame for parent, use parm save area.
24476 Increase child stack frame to 112 bytes. Don't save unused reg,
24477 and adjust reg usage. Set up cfi on error recovery and
24478 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
24479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
24480 (__makecontext): Add dummy nop after jump to exit.
24481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
24482 Use correct parm save area and cr save, reduce stack frame.
24483 Correct cfi for possible PSEUDO_RET frame setup.
24484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
24485 Branch to local label emitted by PSEUDO_RET rather than
24486 __syscall_error.
24487
02637374
AS
244882010-08-12 Andreas Schwab <schwab@redhat.com>
24489
24490 [BZ #11904]
24491 * locale/programs/locale.c (print_assignment): New function.
24492 (show_locale_vars): Use it.
24493
c3e2f19b
UD
244942010-08-11 Ulrich Drepper <drepper@redhat.com>
24495
3cdaa6ad
UD
24496 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
24497 field.
24498 (struct statfs64): Likewise.
24499 (_STATFS_F_FLAGS): Define.
24500 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
24501 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
24502 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
24503 (ST_VALID): Define locally.
24504 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
24505 __statvfs_getflags, use the provided value.
24506 * sysdeps/unix/sysv/linux/kernel-features.h: Define
24507 __ASSUME_STATFS_F_FLAGS.
24508
754f7da3
UD
24509 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
24510
10b3bedc
UD
24511 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
24512 Add sys/fanotify.h.
24513 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
24514 fanotify_mask for GLIBC_2.13.
24515 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
24516 fanotify_init and fanotify_mark.
24517 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
24518 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
24519
c08fb0d7
UD
24520 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
24521 Add prlimit.
24522 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
24523 prlimit64 for GLIBC_2.13.
24524 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
24525 prlimit64.
24526 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
24527 syscall.
24528 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
24529 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
24530 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
24531 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
24532 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
24533 add prlimit alias.
24534 * sysdeps/unix/sysv/linux/prlimit.c: New file.
24535
15bac72b
UD
24536 [BZ #11903]
24537 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
24538 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
24539
c3e2f19b
UD
24540 * nss/Makefile: Add rules to build and run tst-nss-test1.
24541 * shlib-versions: Add entry for libnss_test1.
24542 * nss/nss_test1.c: New file.
24543 * nss/tst-nss-test1.c: New file.
24544
24545 * nss/nsswitch.c (__nss_database_custom): Define new variable.
24546 (__nss_configure_lookup): Set appropriate entry in
24547 __nss_configure_lookup to true.
24548 * nss/nsswitch.h: Define enum with indeces of databases in
24549 databases and __nss_database_custom arrays. Declare
24550 __nss_database_custom.
24551 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
24552 to avoid using nscd when custom rules are installed.
24553 * nss/getXXbyYY_r.c: Likewise.
24554 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
24555
24556 * nss/nss_files/files-parse.c: Whitespace fixes.
24557
f15ce4d8
UD
245582010-08-09 Ulrich Drepper <drepper@redhat.com>
24559
24560 [BZ #11883]
24561 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
24562 * posix/fnmatch_loop.c: Likewise.
24563
d22e4cc9
AK
245642010-07-17 Andi Kleen <ak@linux.intel.com>
24565
24566 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
24567 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
24568 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
24569 * Versions.def [GLIBC_2.13]: Add.
24570
805bc17d
UD
245712010-08-06 Ulrich Drepper <drepper@redhat.com>
24572
24573 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
24574 Also fail if tpwd after pwuid call is NULL.
24575
5a42321d
ST
245762010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
24577
24578 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
24579 when converting to ms.
24580
fd3ebeda
ST
245812010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
24582
24583 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
24584 EOPNOTSUPP errors with ENOTTY.
24585 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
24586 EOPNOTSUPP errors with ENOTTY.
24587
73507d3a
UD
245882010-07-31 Ulrich Drepper <drepper@redhat.com>
24589
24590 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
24591 Add strcasecmp_l-ssse3.
24592 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
24593 strcasecmp.
24594 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
24595 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
24596 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
24597
fe36dd02
UD
245982010-07-30 Ulrich Drepper <drepper@redhat.com>
24599
66f6765a
UD
24600 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
24601
42e08a54
UD
24602 * string/Makefile (strop-tests): Add strcasecmp.
24603 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
24604 strcasecmp_l-nonascii.
24605 (gen-as-const-headers): Add locale-defines.sym.
24606 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
24607 * sysdeps/x86_64/strcasecmp.S: New file.
24608 * sysdeps/x86_64/strcasecmp_l.S: New file.
24609 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
24610 * sysdeps/x86_64/locale-defines.sym: New file.
24611 * string/test-strcasecmp.c: New file.
24612
fe36dd02
UD
24613 * string/test-strcasestr.c: Test both ends of the range of characters.
24614 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
24615
48cbc0d6
RM
246162010-07-29 Roland McGrath <roland@redhat.com>
24617
76e6d6bc 24618 [BZ #11856]
48cbc0d6
RM
24619 * manual/locale.texi (Yes-or-No Questions): Fix example code.
24620
880113d9
UD
246212010-07-27 Ulrich Drepper <drepper@redhat.com>
24622
24623 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
24624 for ld.so.
24625
deb9cabb
AS
246262010-07-27 Andreas Schwab <schwab@redhat.com>
24627
24628 * manual/memory.texi (Malloc Tunable Parameters): Document
24629 M_PERTURB.
24630
1c7570ff
RM
246312010-07-26 Roland McGrath <roland@redhat.com>
24632
24633 [BZ #11840]
24634 * configure.in (-fgnu89-inline check): Set and substitute
24635 gnu89_inline, not libc_cv_gnu89_inline.
24636 * configure: Regenerated.
24637 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
24638
24fb0f88
UD
246392010-07-26 Ulrich Drepper <drepper@redhat.com>
24640
24641 * string/test-strnlen.c: New file.
24642 * string/Makefile (strop-tests): Add strnlen.
24643 * string/tester.c (test_strnlen): Add a few more test cases.
24644 * string/tst-strlen.c: Better error reporting.
24645
24646 * sysdeps/x86_64/strnlen.S: New file.
24647
8e96b93a
UD
246482010-07-24 Ulrich Drepper <drepper@redhat.com>
24649
24650 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
24651 lower-latency instructions.
24652
dbc676d4
UD
246532010-07-23 Ulrich Drepper <drepper@redhat.com>
24654
24655 * string/test-strcasestr.c: New file.
24656 * string/test-strstr.c: New file.
24657 * string/Makefile (strop-tests): Add strstr and strcasestr.
24658 * string/str-two-way.h: Don't undefine MAX.
24659 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
24660
f6a31e0e
AS
246612010-07-21 Andreas Schwab <schwab@redhat.com>
24662
24663 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24664 strcasestr-nonascii.
24665 (CFLAGS-strcasestr-nonascii.c): Define.
24666 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
24667 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
24668 Remove unused attribute.
24669
5dbc3b6c
RM
246702010-07-20 Roland McGrath <roland@redhat.com>
24671
24672 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
24673 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
24674 ld.so.cache was broken. With it, there is no way to disable dsocaps
24675 like LD_HWCAP_MASK can disable hwcaps.
24676
23d101d8
EPM
246772010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
24678
24679 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
24680
cc9f2e47
UD
246812010-07-16 Ulrich Drepper <drepper@redhat.com>
24682
24683 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
24684 call in strcasestr.
24685 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
24686 __strcasestr_sse42_nonascii.
24687 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
24688 strcasestr-nonascii.c.
24689 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
24690
77c1b069
LM
246912010-06-15 Luis Machado <luisgpm@br.ibm.com>
24692
24693 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
24694 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
24695 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
24696 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
24697
440566c3
UD
246982010-07-09 Ulrich Drepper <drepper@redhat.com>
24699
24700 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
24701 fcntl.
24702
5be9d05d
AS
247032010-07-06 Andreas Schwab <schwab@redhat.com>
24704
c30b7ee2 24705 [BZ #11577]
5be9d05d
AS
24706 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
24707 dl_signal_cerror.
24708
8a492a67
UD
247092010-07-06 Ulrich Drepper <drepper@redhat.com>
24710
24711 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
24712 _PC_PIPE_BUF using F_GETPIPE_SZ.
24713
713df3d5
RM
247142010-07-05 Roland McGrath <roland@redhat.com>
24715
24716 * manual/arith.texi (Rounding Functions): Fix rint description
24717 implicit in round description.
24718
702e8f14
UD
247192010-07-02 Ulrich Drepper <drepper@redhat.com>
24720
24721 * elf/Makefile: Fix linking for a few tests to make recent linker
24722 happy.
24723
52ed8be9
AS
247242010-06-30 Andreas Schwab <schwab@redhat.com>
24725
24726 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
24727 $(common-objpfx)libc_nonshared.a.
24728
f47c9a11
LM
247292010-06-21 Luis Machado <luisgpm@br.ibm.com>
24730
24731 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
24732 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
24733 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
24734 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
24735 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
24736 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
24737 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
24738 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
24739 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
24740 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
24741 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
24742 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
24743 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
24744 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
24745 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
24746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
24747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
24748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
24749 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
24750 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
24751 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
24752 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
24753 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
24754 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
24755 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
24756 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
24757 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
24758 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
24759 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
24760 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
24761 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
24762 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
24763 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
24764 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
24765 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
24766 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
24767 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
24768 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
24769 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
24770 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
24771 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
24772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
24773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
24774 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
24775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
24776 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
24777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
24778 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
24779
6fb8cbcb
L
247802010-06-25 H.J. Lu <hongjiu.lu@intel.com>
24781
24782 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
24783 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
24784 * string/memmove.c (memmove): Renamed to ...
24785 (MEMMOVE): ...this. Default to memmove.
24786 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
24787 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
24788 (END_CHK): Define.
24789 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24790 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
24791 mempcpy-ssse3-back memmove-ssse3-back.
24792 * sysdeps/x86_64/multiarch/bcopy.S: New file .
24793 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
24794 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
24795 * sysdeps/x86_64/multiarch/memcpy.S: New file.
24796 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
24797 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
24798 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
24799 * sysdeps/x86_64/multiarch/memmove.c: New file.
24800 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
24801 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
24802 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
24803 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
24804 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
24805 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
24806 Define.
24807 (index_Fast_Copy_Backward): Define.
24808 (HAS_ARCH_FEATURE): Define.
24809 (HAS_FAST_REP_STRING): Define.
24810 (HAS_FAST_COPY_BACKWARD): Define.
24811
4e733bac 248122010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
24813
24814 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
24815 Restore proper fallback handling.
24816
63c4ed22
UD
248172010-06-19 Ulrich Drepper <drepper@redhat.com>
24818
ac2b484c
UD
24819 [BZ #11701]
24820 * posix/group_member.c (__group_member): Correct checking loop.
24821
63c4ed22
UD
24822 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
24823 OOM in getpwuid_r correctly. Return error number when the caller
24824 should return, otherwise -1.
24825 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
24826 call returning > 0 value.
24827 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
24828
765ade4b
AS
248292010-06-07 Andreas Schwab <schwab@redhat.com>
24830
24831 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
24832 libc_nonshared.a from targets in modules-names.
24833
80da2e09
KS
248342010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
24835
24836 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
24837 requires it.
24838
158db122
LM
248392010-06-10 Luis Machado <luisgpm@br.ibm.com>
24840
24841 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
24842 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
24843 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
24844 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
24845
caa78cf8
AS
248462010-06-02 Andreas Schwab <schwab@redhat.com>
24847
24848 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
24849
b2ef2c01
UD
248502010-06-14 Ulrich Drepper <drepper@redhat.com>
24851
24852 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
24853 and F_GETPIPE_SZ.
24854 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
24855 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
24856 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
24857 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24858 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
24859 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
24860
fbd643b6
RM
248612010-06-14 Roland McGrath <roland@redhat.com>
24862
24863 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
24864
f32f2869
JJ
248652010-06-07 Jakub Jelinek <jakub@redhat.com>
24866
24867 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
24868 __REDIRECT followed by __THROW.
24869 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
24870 * posix/getopt.h (getopt): Likewise.
24871
2a50c078
EPM
248722010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
24873
24874 * hurd/lookup-at.c (__file_name_lookup_at): Accept
24875 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
24876 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
24877 in AT_FLAGS.
24878 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
24879 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
24880
eb5ad2eb
LM
248812010-05-28 Luis Machado <luisgpm@br.ibm.com>
24882
24883 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
24884
3c88fe1e
L
248852010-05-26 H.J. Lu <hongjiu.lu@intel.com>
24886
24887 [BZ #11640]
24888 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24889 Properly check family and model.
24890
d2f73151
TY
248912010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
24892
24893 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
24894
ebd2e13d
LM
248952010-05-24 Luis Machado <luisgpm@br.ibm.com>
24896
24897 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
24898
b32b8b45
UD
248992010-05-21 Ulrich Drepper <drepper@redhat.com>
24900
24901 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
24902 symbol reference.
24903
9acbe24d
AS
249042010-05-19 Andreas Schwab <schwab@redhat.com>
24905
24906 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
24907 symbol reference.
24908
f0ccf6ea
AS
249092010-05-21 Andreas Schwab <schwab@redhat.com>
24910
3d04ff3a
AS
24911 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
24912 and internal_recvmmsg.
24913 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
24914 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
24915 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
24916 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
24917
f0ccf6ea
AS
24918 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
24919 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
24920 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
24921
5b08ac57
AS
249222010-05-20 Andreas Schwab <schwab@redhat.com>
24923
24924 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
24925
4828935d
LM
249262010-05-17 Luis Machado <luisgpm@br.ibm.com>
24927
24928 POWER7 optimizations.
24929 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
24930 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
24931
373d545e
UD
249322010-05-19 Ulrich Drepper <drepper@redhat.com>
24933
24934 * version.h: Update for 2.13 development version.
24935
21a2b1ae
AS
249362010-05-12 Andrew Stubbs <ams@codesourcery.com>
24937
24938 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
24939 exceptions. Return 0.
24940
3f7dcb2b
RM
249412010-05-07 Roland McGrath <roland@redhat.com>
24942
24943 * elf/ldconfig.c (main): Add a const.
24944
5f24d53a 249452010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 24946
a160f8d8
UD
24947 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
24948 (args_options): Add no-idn option.
24949 (ahosts_keys_int): Add idn_flags to ai_flags.
24950 (parse_option): Handle 'i' option to clear idn_flags.
24951
5f24d53a
UD
24952 * malloc/malloc.c (_int_free): Possible race in the most recently
24953 added check. Only act on the data if no current modification
24954 happened.
265bb1ce
UD
24955
24956See ChangeLog.17 for earlier changes.