]> sourceware.org Git - glibc.git/blame - ChangeLog
Add versions of wcscpy, wcschr, wcsrchr for power6/power7.
[glibc.git] / ChangeLog
CommitLineData
15d0da8c
WS
12012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
2
3 [BZ #14252]
4 * powerpc32/power6/wcschr.c: New file.
5 * powerpc32/power6/wcscpy.c: New file.
6 * powerpc32/power6/wcsrchr.c: New file.
7 * powerpc64/power6/wcschr.c: New file.
8 * powerpc64/power6/wcscpy.c: New file.
9 * powerpc64/power6/wcsrchr.c: New file.
10
bcca0895
MK
112012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
12
13 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
14 (two_way_short_needle): Use it.
15 * string/{strstr.c, strcasestr.c} (AVAILABLE1_USES_J): Define.
16
99677e57
MK
172012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
18
19 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
20 array references.
21 * string/strcasestr.c (TOLOWER): Make side-effect safe.
22
400726de
MK
232012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
24
25 [BZ #11607]
26 * NEWS: Add an entry.
27 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
28 define their defaults.
29 (two_way_short_needle): Detect end-of-string on-the-fly.
30 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
31 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
32 * string/bug-strcasestr1.c: New test.
33 * string/Makefile: Run it.
34
20a71f2c
MK
352012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
36
37 [BZ #11607]
38 * string/str-two-way.h (two_way_short_needle): Optimize matching of
39 the first character.
40
21ad0558
RM
412012-08-21 Roland McGrath <roland@hack.frob.com>
42
43 * csu/elf-init.c (__libc_csu_irel): Function removed.
44 * csu/libc-start.c (apply_irel): New function.
45 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
46
0e1d9911
JM
472012-08-21 Joseph Myers <joseph@codesourcery.com>
48
49 * sysdeps/unix/sysv/linux/kernel-features.h
50 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
51 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
52 <kernel-features.h>.
53 [__NR_fadvise64_64]: Make code unconditional.
54 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
55 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
56 !__NR_fadvise64_64)]: Likewise.
57 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
58 !__NR_fadvise64_64))]: Likewise.
59 [__NR_fadvise64]: Make code unconditional.
60 [!__NR_fadvise64]: Remove conditional code.
61 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
62 <kernel-features.h>.
63 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
64 unconditional.
65 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
66 conditional code.
67 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
68 not include <kernel-features.h>.
69 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
70 unconditional.
71 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
72 conditional code.
73 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
74 include <kernel-features.h>.
75 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
76 unconditional.
77 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
78 conditional code.
79
14a50c9d
WS
802012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
81
82 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
83 slight instruction rearrangements per scrollpipe analysis.
84 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
85
c0f4faf0
RM
862012-08-20 Roland McGrath <roland@hack.frob.com>
87
696da859
RM
88 * manual/syslog.texi (syslog; vsyslog, closelog):
89 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
90 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
91
c0f4faf0
RM
92 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
93 DSOCAPS to match condition on defining it.
94
348363b2
JM
952012-08-20 Joseph Myers <joseph@codesourcery.com>
96
a35cbf28
JM
97 * sysdeps/unix/sysv/linux/kernel-features.h
98 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
99 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
100 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
101 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
102 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
103 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
104 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
105 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
106 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
107 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
108
445f7ecd
JM
109 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
110 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
111
348363b2
JM
112 * sysdeps/unix/sysv/linux/kernel-features.h
113 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
114 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
115 unconditional.
116 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
117 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
118 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
119 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
120 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
121 Make code unconditional.
122 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
123 (__mmap64) [!__NR_mmap2]: Likewise.
124 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
125 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
126 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
127 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
128 [__NR_mmap2]: Make code unconditional.
129 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
130 (__mmap64) [!__NR_mmap2]: Likewise.
131
bc5bc0e5
AK
1322012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
133
134 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
135
88d506de
AJ
1362012-08-18 Andreas Jaeger <aj@suse.de>
137
138 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
139
493387d2
MF
1402012-08-18 Mike Frysinger <vapier@gentoo.org>
141
142 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
143 * include/unistd.h (__have_sock_cloexec): Likewise.
144 (__have_pipe2): Likewise.
145 (__have_dup3): Likewise.
146
a277af22
MF
1472012-08-18 Mike Frysinger <vapier@gentoo.org>
148
149 [BZ #9685]
150 * include/unistd.h (__have_pipe2): Change define into an extern int.
151 (__have_dup3): Likewise.
152 * socket/have_sock_cloexec.c: Include fcntl.h.
153 (__have_pipe2): New variable.
154 (__have_dup3): Likewise.
155
fdab8fd3
MF
1562012-08-17 Mike Frysinger <vapier@gentoo.org>
157
158 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
159
31035e80
MP
1602012-08-17 Marek Polacek <polacek@redhat.com>
161
162 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
163 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
164
3bd9e993
RM
1652012-08-17 Roland McGrath <roland@hack.frob.com>
166
c91c505f
RM
167 * configure.in: Add AC_SUBST for sysheaders.
168 * configure: Regenerated.
169 * config.make.in (sysheaders): New substituted variable.
170
7c6f9d53
RM
171 * sysdeps/unix/mkfifo.c: Moved ...
172 * sysdeps/posix/mkfifo.c: ... here.
173 * sysdeps/unix/mkfifoat.c: Moved ...
174 * sysdeps/posix/mkfifoat.c: ... here.
175
176 * sysdeps/unix/utime.c: Moved ...
177 * sysdeps/posix/utime.c: ... here.
178
179 * sysdeps/unix/time.c: Moved ...
180 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
181 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
182 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
183
184 * sysdeps/unix/nice.c: Moved ...
185 * sysdeps/posix/nice.c: ... here.
186
187 * sysdeps/unix/alarm.c: Moved ...
188 * sysdeps/posix/alarm.c: ... here.
189
3bd9e993
RM
190 * intl/Makefile ($(codeset_mo)): Depend on the input file.
191
d1f09384
JL
1922012-08-17 Jeff Law <law@redhat.com>
193
194 * intl/Makefile (codeset_mo): New variable.
195 ($(codeset_mo)): New target.
196 (tst-codeset.out): Depend on that. Remove explicit rule.
197 (tst-gettext3.out, tst-gettext5.out): Likewise.
198 (LOCPATH-ENV, tst-codeset-ENV): New variables.
199 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
200 * intl/tst-codeset.sh: Remove.
201 * intl/tst-gettext3.sh: Likewise.
202 * intl/tst-gettext5.sh: Likewise.
203
2ae1ae5c
RM
2042012-08-17 Roland McGrath <roland@hack.frob.com>
205
c31fdb83
RM
206 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
207 * sysdeps/unix/syscalls.list: ... here.
208
a0844057
RM
209 * sysdeps/posix/getaddrinfo.c
210 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
211 (gaiconf_init, gaiconf_reload): Use them.
212 [!_STATBUF_ST_NSEC]
213 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
214 Define using time_t rather than struct timespec.
215
750c1f2a
RM
216 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
217 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
218 Macros removed.
219 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
220 [!NO_THREADS].
221 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
222 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
223 Likewise.
224
2ae1ae5c
RM
225 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
226 __libc_cleanup_push argument.
227
e66a42f5
RM
228 * bits/param.h: New file.
229 * misc/sys/param.h: New file.
230 * include/sys/param.h: New file.
231 * misc/Makefile (headers): Add bits/param.h.
232 * sysdeps/generic/sys/param.h: File removed.
233 * sysdeps/unix/sysv/linux/bits/param.h: New file.
234 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
235 * sysdeps/mach/hurd/bits/param.h: New file.
236 * sysdeps/mach/hurd/sys/param.h: New file.
237
b7c08a66
RM
238 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
239 last change.
240
b2e1c562
RM
241 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
242 [_IO_MTSAFE_IO].
243 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
244 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
245 New macros.
246
c75ccd4c
RM
247 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
248 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
249 rather than -D_IO_MTSAFE_IO conditionally.
250 * stdio-common/Makefile (CPPFLAGS): Likewise.
251 * wcsmbs/Makefile (CPPFLAGS): Likewise.
252 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
253 Use $(libio-mtsafe).
254 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
255 of -D_IO_MTSAFE_IO.
256 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
257 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
258 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
259 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
260 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
261 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
262 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
263 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
264 (CFLAGS-fread_u_chk.c): Likewise.
265 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
266 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
267 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
268 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
269 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
270 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
271 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
272 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
273 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
274
275 * libio/Makefile: Test [$(libc-reentrant) = yes]
276 instead of [$(filter %REENTRANT, $(defines)) nonempty].
277
278 * Makeconfig
279 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
280 * sysdeps/pthread/configure: File removed.
281 * sysdeps/pthread/Makeconfig: New file.
282 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
283 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
284
d9195db8
GB
2852012-08-16 Gary Benson <gbenson@redhat.com>
286
287 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
288 unmapping the first object in a namespace.
289
86466cd9
RM
2902012-08-16 Roland McGrath <roland@hack.frob.com>
291
292 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
293 (__internal_setnetgrent): ... this. Add internal_function to
294 definition. Add libc_hidden_def.
295 (setnetgrent): Update caller.
296 (internal_endnetgrent): Renamed to ...
297 (__internal_endnetgrent): ... this. Add internal_function to
298 definition. Add libc_hidden_def.
299 (endnetgrent): Update caller.
300 (internal_getnetgrent_r): Renamed to ...
301 (__internal_getnetgrent_r): ... this. Add internal_function to
302 definition. Add libc_hidden_def.
303 (__getnetgrent_r): Update caller.
304 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
305
c3c8283c
JM
3062012-08-16 Joseph Myers <joseph@codesourcery.com>
307
308 * stdlib/longlong.h: Update from GCC.
309
db1ee0a8
RM
3102012-08-16 Roland McGrath <roland@hack.frob.com>
311
312 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
313 on _QL, which is set by umul_ppmm but never used.
314 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
315 variables, which are set by GMP macros but never used.
316 * stdio-common/_itowa.c (_itowa): Likewise.
317 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
318 * stdlib/mod_1.c (mpn_mod_1): Likewise.
319
30f69637
CD
3202012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
321
322 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
323 struct La_sh_regs is not constant.
324 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
325 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
326 and struct La_sparc64_regs are not constant.
327
93a78ac4
JM
3282012-08-16 Joseph Myers <joseph@codesourcery.com>
329
330 * sysdeps/unix/sysv/linux/kernel-features.h
331 (__ASSUME_POSIX_TIMERS): Remove.
332 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
333 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
334 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
335 Make code unconditional.
336 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
337 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
338 Make code unconditional.
339 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
340 * sysdeps/unix/sysv/linux/clock_nanosleep.c
341 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
342 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
343 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
344 Make code unconditional.
345 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
346 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
347 (__libc_missing_posix_timers): Remove.
348
dd924cd7
RM
3492012-08-15 Roland McGrath <roland@hack.frob.com>
350
4b4f2771
RM
351 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
352 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
353
601c888b
RM
354 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
355
176790a7
RM
356 * elf/dl-sym.c: Include <stdlib.h>.
357
329bc018
RM
358 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
359 constants, which avoids warnings in 32-bit builds.
360
e04e272d
RM
361 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
362 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
363
952bf94a
RM
364 * misc/lseek.c: File moved to ...
365 * io/lseek.c: ... here.
366
7c99b50a
RM
367 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
368
dd924cd7
RM
369 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
370 shifting LEN more than 31 bits at once.
371
b3f479a8
LD
3722012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
373
374 [BZ #14195]
375 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
376 segmentation fault for a case of two empty input strings.
377 * string/test-strncasecmp.c (check1): Renamed to...
378 (bz12205): ...this.
379 (bz14195): Add new testcase for two empty input strings and N > 0.
380 (test_main): Call new testcase, adapt for renamed function.
381
9c55864e
AJ
3822012-08-15 Andreas Jaeger <aj@suse.de>
383
384 [BZ #14090]
385 * crypt/md5test2.c: New test, based on test supplied by Serge
386 Belyshev <belyshev@depni.sinp.msu.ru>.
387 * crypt/Makefile (xtests): Add md5test-giant..
388 * crypt/Makefile ($(objpfx)md5test-giant): Add.
389
02dcb6c5
PE
3902012-08-15 Paul Eggert <eggert@cs.ucla.edu>
391
392 [BZ #14090]
393 * crypt/md5.c (md5_process_block): Don't assume the buffer
394 length is less than 2**32.
395 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
396 length is less than 2**64.
397
a3f95dcc
RM
3982012-08-15 Roland McGrath <roland@hack.frob.com>
399
be75d758
RM
400 * string/str-two-way.h: Include <sys/param.h>.
401 (MAX): Macro removed.
402
7312ca90
RM
403 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
404 Move #define and #undef of memmove to just before and after
405 including <string.h>.
406
9a0a5486
RM
407 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
408 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
409 and after including <string.h>. Move declarations of
410 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
411 to before #include "string/memmove.c".
412
67cc348d
RM
413 * include/dirent.h: Declare __getdirentries.
414
a3f95dcc
RM
415 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
416 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
417
ca98e171
MF
4182012-08-14 Mike Frysinger <vapier@gentoo.org>
419
420 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
421 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
422 * sysdeps/i386/configure: Regenerated.
423 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
424 STABS_CURRENT_FILE, and STABS_FUN.
425 (END): Remove call to STABS_FUN_END.
426 (STABS_CURRENT_FILE1): Delete.
427 (STABS_CURRENT_FILE): Likewise.
428 (STABS_FUN): Likewise.
429 (STABS_FUN_END): Likewise.
430 (STABS_FUN2): Likewise.
431 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
432 * sysdeps/x86_64/configure: Regenerated.
433
5908bf46
RM
4342012-08-14 Roland McGrath <roland@hack.frob.com>
435
436 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 437 * elf/dl-lookup.c: Likewise.
5908bf46 438
f2c05b9e
JM
4392012-08-14 Joseph Myers <joseph@codesourcery.com>
440
441 * sysdeps/unix/sysv/linux/kernel-features.h
442 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
443 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
444 unconditionally.
445 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
446 unconditionally.
447 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
448 condition on __ASSUME_CLONE_THREAD_FLAGS.
449
e11f5155
AJ
4502012-08-14 Andreas Jaeger <aj@suse.de>
451
452 * sysdeps/i386/fpu/libm-test-ulps: Update.
453
51a9ba86
MK
4542012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
455
2fdd4f78
AJ
456 * include/atomic.h (atomic_exchange_and_add): Split into ...
457 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
458 New atomic macros.
51a9ba86 459
ba6cba9e
MT
4602012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
461
462 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
463
42443a47
JL
4642012-08-13 Jeff Law <law@redhat.com>
465
466 * manual/stdio.texi (snprintf): Clarify handling of the trailing
467 null byte in the output string.
468
121dce05
JM
4692012-08-10 Joseph Myers <joseph@codesourcery.com>
470
471 * sysdeps/unix/sysv/linux/kernel-features.h
472 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
473 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
474 (__ASSUME_ARG_MAX_STACK_BASED): Define.
475 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
476 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
477 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
478 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
479
bf51f568
JL
4802012-08-09 Jeff Law <law@redhat.com>
481
482 [BZ #13939]
483 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
484 When avoid_arena is set, don't retry in the that arena. Pick the
485 next one, whatever it might be.
486 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
487 (arena_lock): Pass in new parameter to arena_get2.
488 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
489 arena_get2.
490 (__libc_malloc): Unify retrying after main arena failure with
491 __libc_memalign version.
492 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
493
f85fa270
L
4942012-08-09 H.J. Lu <hongjiu.lu@intel.com>
495
496 [BZ #14166]
497 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
498 to __redirect_strstr.
499 (__strstr_sse42): Use typeof __redirect_strstr.
500 (__strstr_ia32): Likewise.
501 (__libc_strstr): New prototype.
502 (strstr): Renamed to ...
503 (__libc_strstr): This.
504 (strstr): New strong alias of __libc_strstr.
505 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
506 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
507 __redirect_time.
508 Include <time.h>.
509 (__libc_time): New prototype.
510 (time_ifunc): Replace time with __libc_time.
511 (time): New strong alias and hidden definition of __libc_time.
512 (__GI_time): Remove strong alias.
513 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
514 Include <stddef.h>.
515 (memmove): Redefined to __redirect_memmove.
516 (__memmove_sse2): Use typeof __redirect_memmove.
517 (__memmove_ssse3): Likewise.
518 (__memmove_ssse3_back): Likewise.
519 (__libc_memmove): New prototype.
520 (memmove): Renamed to ...
521 (__libc_memmove): This.
522 (memmove): New strong alias of __libc_memmove.
523
33b4a91e
MS
5242012-08-08 Mark Salter <msalter@redhat.com>
525
526 * elf/elf.h
527 (R_MN10300_TLS_GD): Define.
528 (R_MN10300_TLS_LD): Likewise.
529 (R_MN10300_TLS_LDO): Likewise.
530 (R_MN10300_TLS_GOTIE): Likewise.
531 (R_MN10300_TLS_IE): Likewise.
532 (R_MN10300_TLS_LE): Likewise.
533 (R_MN10300_TLS_DTPMOD): Likewise.
534 (R_MN10300_TLS_DTPOFF): Likewise.
535 (R_MN10300_TLS_TPOFF): Likewise.
536 (R_MN10300_SYM_DIFF): Likewise.
537 (R_MN10300_ALIGN): Likewise.
538 (R_MN10300_NUM): Update.
539
b36137f1
JM
5402012-08-08 Joseph Myers <joseph@codesourcery.com>
541
542 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
543 Remove.
544
cdd915fd
RM
5452012-08-08 Roland McGrath <roland@hack.frob.com>
546
a2433aac
RM
547 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
548
cdd915fd
RM
549 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
550 sysdeps/unix -> sysdeps/posix move.
551 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
552
bf9b740a
AM
5532012-08-07 Allan McRae <allan@archlinux.org>
554
555 [BZ #14303]
556 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
557 (SUNOS_CPP): Likewise.
558 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
559 not found.
560 (open_input): Call CPP using execvp.
561
93df14ee
JM
5622012-08-07 Joseph Myers <joseph@codesourcery.com>
563
564 * sysdeps/unix/sysv/linux/kernel-features.h
565 (__ASSUME_PROT_GROWSUPDOWN): Remove.
566 (__ASSUME_NO_CLONE_DETACHED): Likewise.
567 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
568 (__ASSUME_WAITID_SYSCALL): Likewise.
569 * sysdeps/unix/sysv/linux/dl-execstack.c
570 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
571 code unconditional.
572 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
573 conditional code.
574 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
575 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
576 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
577 code.
578 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
579 unconditional.
580 [__ASSUME_WAITID_SYSCALL]: Likewise.
581 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
582
d34689de
RM
5832012-08-07 Roland McGrath <roland@hack.frob.com>
584
a281decc
RM
585 * sysdeps/unix/closedir.c: Renamed to ...
586 * sysdeps/posix/closedir.c: ... here.
587 * sysdeps/unix/dirfd.c: Renamed to ...
588 * sysdeps/posix/dirfd.c: ... here.
589 * sysdeps/unix/dirstream.h: Renamed to ...
590 * sysdeps/posix/dirstream.h: ... here.
591 * sysdeps/unix/fdopendir.c: Renamed to ...
592 * sysdeps/posix/fdopendir.c: ... here.
593 * sysdeps/unix/opendir.c: Renamed to ...
594 * sysdeps/posix/opendir.c: ... here.
595 * sysdeps/unix/readdir.c: Renamed to ...
596 * sysdeps/posix/readdir.c: ... here.
597 * sysdeps/unix/readdir_r.c: Renamed to ...
598 * sysdeps/posix/readdir_r.c: ... here.
599 * sysdeps/unix/rewinddir.c: Renamed to ...
600 * sysdeps/posix/rewinddir.c: ... here.
601 * sysdeps/unix/seekdir.c: Renamed to ...
602 * sysdeps/posix/seekdir.c: ... here.
603 * sysdeps/unix/telldir.c: Renamed to ...
604 * sysdeps/posix/telldir.c: ... here.
605 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
606 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
607 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
608 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
609
22895b47
RM
610 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
611 * bits/fcntl.h: ... here.
612
707a53b6
RM
613 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
614 not 0.
615 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
616 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
617 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
618 (struct flock): Move l_start, l_len to the beginning.
619 Use __pid_t for l_pid.
620 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
621 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
622 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
623 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
624 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
625 [__USE_LARGEFILE64] (struct flock64): New type.
626 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
627
f0bd3e25
RM
628 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
629 * bits/dirent.h: ... here.
630
d34689de
RM
631 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
632 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
633
6dad2c06
JM
6342012-08-07 Joseph Myers <joseph@codesourcery.com>
635
636 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
637 Change from 2.6.0 to 2.6.16.
638 * sysdeps/unix/sysv/linux/configure: Regenerated.
639 * sysdeps/unix/sysv/linux/kernel-features.h
640 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
641 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
642 version.
643 (__ASSUME_UTIMES): Likewise.
644 (__ASSUME_CLONE_STOPPED): Remove.
645 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
646 architectures, not kernel version.
647 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
648 (__ASSUME_NO_CLONE_DETACHED): Likewise.
649 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
650 (__ASSUME_WAITID_SYSCALL): Likewise.
651 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
652 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
653 * README: State 2.6.16 as minimum Linux kernel version. Do not
654 refer to older versions.
655
03af9520
RM
6562012-08-06 Roland McGrath <roland@hack.frob.com>
657
8e49df1d
RM
658 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
659 Define alphasort64 as an alias.
660 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
661 Define versionsort64 as an alias.
662 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
663 Define scandir64 as an alias.
664 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
665 Define scandirat64 as an alias.
666 * dirent/alphasort64.c (alphasort64):
667 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
668 * dirent/versionsort64.c: Likewise.
669 * dirent/scandir64.c: Likewise.
670 * dirent/scandirat64.c: Likewise.
671 * sysdeps/wordsize-64/alphasort.c: File removed.
672 * sysdeps/wordsize-64/alphasort64.c: File removed.
673 * sysdeps/wordsize-64/scandir.c: File removed.
674 * sysdeps/wordsize-64/scandir64.c: File removed.
675 * sysdeps/wordsize-64/scandirat.c: File removed.
676 * sysdeps/wordsize-64/scandirat64.c: File removed.
677 * sysdeps/wordsize-64/versionsort.c: File removed.
678 * sysdeps/wordsize-64/versionsort64.c: File removed.
679 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
680 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
681 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
682 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
683 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
684 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
685 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
686 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
687
688 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
689 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
690 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
691 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
692 [defined __arch64__ || defined __sparcv9]
693 (__INO_T_MATCHES_INO64_T): New macro.
694 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
695 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
696 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
697 * sysdeps/unix/sysv/linux/bits/dirent.h
698 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
699 (_DIRENT_MATCHES_DIRENT64): New macro.
700
03af9520
RM
701 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
702 Define lockf64 as an alias.
703 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
704 Define fseeko64 as an alias.
705 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
706 Define ftello64 as an alias.
707 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
708 Define _IO_fgetpos64 and fgetpos64 as aliases.
709 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
710 Define _IO_fsetpos64 and fsetpos64 as aliases.
711 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
712 Conditionalize body on this.
713 * libio/fseeko64.c: Likewise.
714 * libio/ftello64.c: Likewise.
715 * libio/iofgetpos64.c: Likewise.
716 * libio/iofsetpos64.c: Likewise.
717 * sysdeps/wordsize-64/lockf.c: File removed.
718 * sysdeps/wordsize-64/lockf64.c: File removed.
719 * sysdeps/wordsize-64/fseeko.c: File removed.
720 * sysdeps/wordsize-64/fseeko64.c: File removed.
721 * sysdeps/wordsize-64/ftello.c: File removed.
722 * sysdeps/wordsize-64/ftello64.c: File removed.
723 * sysdeps/wordsize-64/iofgetpos.c: File removed.
724 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
725 * sysdeps/wordsize-64/iofsetpos.c: File removed.
726 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
727 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
728 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
729 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
730 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
731 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
732 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
733 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
734 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
735 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
736 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
737
738 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
739 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
740 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
741 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
742 [defined __arch64__ || defined __sparcv9]
743 (__OFF_T_MATCHES_OFF64_T): New macro.
744 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
745 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
746 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
747 (__OFF_T_MATCHES_OFF64_T): New macro.
748
c5757acd
L
7492012-08-06 H.J. Lu <hongjiu.lu@intel.com>
750
751 * stdlib/secure-getenv.c (__secure_getenv): Replace
752 GLIBC_2_16 with GLIBC_2_17.
753
3a31811e
L
7542012-08-06 H.J. Lu <hongjiu.lu@intel.com>
755
756 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
757 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
758
faa2bccb
DM
7592012-08-03 David S. Miller <davem@davemloft.net>
760
761 * sysdeps/sparc/fpu/libm-test-ulps: Update.
762
85fe1997
JM
7632012-08-03 Joseph Myers <joseph@codesourcery.com>
764
765 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
766 Remove.
767 (__ASSUME_CORRECT_SI_PID): Likewise.
768 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
769 (__ASSUME_TMPFS_NAME): Likewise.
770 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
771 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
772 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
773 (HAVE_AUX_SECURE): Make definition unconditional.
774 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
775 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
776
4f75b7a0
RM
7772012-08-03 Roland McGrath <roland@hack.frob.com>
778
779 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
780 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
781 * sysdeps/mach/hurd/eloop-threshold.h: New file.
782 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
783 __eloop_threshold instead of SYMLOOP_MAX.
784
785 * sysdeps/generic/eloop-threshold.h: New file.
786 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
787 of MAXSYMLINKS.
788 * elf/chroot_canon.c (chroot_canon): Likewise.
789
7aab07e4
JM
7902012-08-03 Joseph Myers <joseph@codesourcery.com>
791
792 [BZ #13717]
793 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
794 Change to 2.6.0 everywhere.
795 * sysdeps/unix/sysv/linux/configure: Regenerated.
796 * sysdeps/unix/sysv/linux/kernel-features.h
797 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
798 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
799 kernel versions.
800 (__ASSUME_POSIX_TIMERS): Define unconditionally.
801 (__ASSUME_FUTEX_REQUEUE): Remove.
802 (__ASSUME_STATFS64): Define unconditionally.
803 (__ASSUME_AT_SECURE): Likewise.
804 (__ASSUME_CORRECT_SI_PID): Likewise.
805 (__ASSUME_TGKILL): Define without depending on kernel version for
806 i386.
807 (__ASSUME_UTIMES): Likewise.
808 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
809 kernel version.
810 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
811 (__ASSUME_TMPFS_NAME): Likewise.
812 * README: Update reference to Linux kernel versions.
813
b67e9372
MP
8142012-08-02 Marek Polacek <polacek@redhat.com>
815
816 [BZ#14150]
817 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
818 libc_cv_asm_type_prefix with %.
819 * configure: Regenerated.
d2441631
RM
820 * include/libc-symbols.h: Remove comment about
821 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
822 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
823 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
824 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
825 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
826 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
827 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
828 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
829 * elf/tst-unique2mod1.c: Likewise.
830 * elf/tst-unique1mod2.c: Likewise.
831 * elf/tst-unique1mod1.c: Likewise.
832 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
833 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
834 Replace ASM_TYPE_DIRECTIVE with .type.
835 * sysdeps/s390/s390-64/sysdep.h: Likewise.
836 * sysdeps/i386/sysdep.h: Likewise.
837 * sysdeps/x86_64/sysdep.h: Likewise.
838 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
840 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 841 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
842 * sysdeps/powerpc/powerpc32/sysdep.h:
843 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
844 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
845 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
846 * sysdeps/i386/fpu/e_powf.S: Likewise.
847 * sysdeps/i386/fpu/e_expl.S: Likewise.
848 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
849 * sysdeps/i386/fpu/e_acosh.S: Likewise.
850 * sysdeps/i386/fpu/e_pow.S: Likewise.
851 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
852 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
853 * sysdeps/i386/fpu/s_expm1.S: Likewise.
854 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
855 * sysdeps/i386/fpu/e_log2.S: Likewise.
856 * sysdeps/i386/fpu/e_log2l.S: Likewise.
857 * sysdeps/i386/fpu/e_scalb.S: Likewise.
858 * sysdeps/i386/fpu/e_powl.S: Likewise.
859 * sysdeps/i386/fpu/e_log10f.S: Likewise.
860 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
861 * sysdeps/i386/fpu/e_logl.S: Likewise.
862 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
863 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
864 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
865 * sysdeps/i386/fpu/e_log2f.S: Likewise.
866 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
867 * sysdeps/i386/fpu/e_log.S: Likewise.
868 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
869 * sysdeps/i386/fpu/e_logf.S: Likewise.
870 * sysdeps/i386/fpu/e_log10l.S: Likewise.
871 * sysdeps/i386/fpu/e_atanh.S: Likewise.
872 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
873 * sysdeps/i386/fpu/e_log10.S: Likewise.
874 * sysdeps/i386/fpu/s_frexp.S: Likewise.
875 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
876 * sysdeps/i386/fpu/s_asinh.S: Likewise.
877 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
878 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
879 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
880 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
881 * sysdeps/i386/i686/strtok.S: Likewise.
882 * sysdeps/i386/i386-mcount.S: Likewise.
883 * sysdeps/i386/strtok.S: Likewise.
884 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
885 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
886 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
887 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
888 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
889 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
890 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
891 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
892 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
893 * sysdeps/x86_64/_mcount.S: Likewise.
894 * sysdeps/x86_64/strtok.S: Likewise.
895 * sysdeps/sh/_mcount.S: Likewise.
896
2747bf9a
RM
8972012-08-01 Roland McGrath <roland@hack.frob.com>
898
899 * libio/iofopen.c: Include <fcntl.h>.
900 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
901 (_IO_fopen64, fopen64): Define as aliases.
902 * libio/iofopen64.c: Include <fcntl.h>.
903 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
904 Conditionalize body on this.
905 * sysdeps/wordsize-64/iofopen.c: File removed.
906 * sysdeps/wordsize-64/iofopen64.c: File removed.
907
3fb791b8
MP
9082012-08-01 Marek Polacek <polacek@redhat.com>
909
910 * libc/Makeconfig: Use elf in place of binfmt-subdir.
911 Use dlfcn directly instead of a variable.
912 (binfmt-subdir): Do not define.
913 (dlfcn): Likewise.
914
a9f1039f
JM
9152012-08-01 Joseph Myers <joseph@codesourcery.com>
916
23bddc06
JM
917 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
918 Remove all definitions.
919 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
920 <kernel-features.h>.
921 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
922 (miss_F_GETOWN_EX): Remove all definitions.
923 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
924 macro definition.
925 [!__ASSUME_FCNTL64]: Remove conditional code.
926 [__ASSUME_FCNTL64]: Make code unconditional.
927 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
928 <kernel-features.h>.
929 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
930 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
931 (lockf64) [__NR_fcntl64]: Make code unconditional.
932 (lockf64) [__ASSUME_FCNTL64]: Likewise.
933
a9f1039f
JM
934 * sysdeps/unix/sysv/linux/kernel-features.h
935 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
936 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
937 Make code unconditional.
938 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
939 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
940 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
941 [__NR_vfork]: Make code unconditional.
942 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
943 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
944 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
945 [__NR_vfork]: Make code unconditional.
946 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
947 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
948
09c0ee5f
RM
9492012-08-01 Roland McGrath <roland@hack.frob.com>
950
48aec5b9
RM
951 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
952 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
953
cd97c966
RM
954 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
955 Define mkstemp64 as an alias.
3f55550c
RM
956 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
957 Define mkstemps64 as an alias.
cd97c966
RM
958 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
959 Define mkostemp64 as an alias.
b8625cfc
RM
960 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
961 Define mkostemps64 as an alias.
cd97c966
RM
962 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
963 Conditionalize body on this.
964 * misc/mkostemp64.c: Likewise.
b8625cfc 965 * misc/mkostemps64.c: Likewise.
3f55550c 966 * misc/mkstemps64.c: Likewise.
cd97c966
RM
967 * sysdeps/wordsize-64/mkstemp64.c: File removed.
968 * sysdeps/wordsize-64/mkostemp64.c: File removed.
969 * sysdeps/wordsize-64/mkostemp.c: File removed.
970 * sysdeps/wordsize-64/mkstemp.c: File removed.
971 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
972 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
973 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
974 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
975
09c0ee5f
RM
976 [BZ #14138]
977 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
978 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
979 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
980 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
981
982 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
983 compat_symbol macros from <shlib-compat.h> rather than the underlying
984 default_symbol_version and symbol_version macros, so that DEFAULT
985 lines in shlib-versions are respected.
986 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
987
7e66ee51
FW
9882012-08-01 Florian Weimer <fweimer@redhat.com>
989
990 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
991 Declare with warn_unused_result.
992 (setgid, setregid, setegid, setresgid): Likewise.
993 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
994 Likewise.
995 * WUR-REPORT: Remove set*id functions.
996
d2a54255
PT
9972012-07-31 Pino Toscano <toscano.pino@tiscali.it>
998
999 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
1000
7ecdb005
RM
10012012-07-31 Roland McGrath <roland@hack.frob.com>
1002
789bd351
RM
1003 * include/sys/socket.h (__libc_accept, __libc_accept4):
1004 Add attribute_hidden.
1005 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
1006
40ce302d
RM
1007 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
1008 use of PTR_MANGLE.
1009 * inet/getnetgrent_r.c (setup): Likewise.
1010
7ecdb005
RM
1011 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
1012
e2eabb2c
DM
10132012-07-31 David S. Miller <davem@davemloft.net>
1014
1015 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1016
d0419dbf
JM
10172012-07-31 Joseph Myers <joseph@codesourcery.com>
1018
1019 [BZ #13629]
1020 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
1021 value between 1.0 and 2.0 and smaller part has absolute value less
1022 than 1.0.
1023 * math/s_clog10.c (__clog10): Likewise.
1024 * math/s_clog10f.c (__clog10f): Likewise.
1025 * math/s_clog10l.c (__clog10l): Likewise.
1026 * math/s_clogf.c (__clogf): Likewise.
1027 * math/s_clogl.c (__clogl): Likewise.
1028 * math/libm-test.inc (clog_test): Add more tests.
1029 (clog10_test): Likewise.
1030 * sysdeps/i386/fpu/libm-test-ulps: Update.
1031 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1032
2bc13872
FW
10332012-07-31 Florian Weimer <fweimer@redhat.com>
1034
1035 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
1036 Exit with zero in case no suitable GID is found, and write a
1037 message to standard error.
1038
bea9b193
RM
10392012-07-30 Roland McGrath <roland@hack.frob.com>
1040
1041 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
1042 rather than to 1.
1043 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
1044 (MAXPATHLEN): Removed.
1045 (NOGROUP, NODEV): New macros.
1046 (setbit, clrbit, isset, isclr): New macros.
1047 (howmany, roundup, powerof2): New macros.
1048 (DEV_BSIZE): New macro.
1049
1050 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
1051 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
1052
1053 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
1054 definition on [!__NO_LONG_DOUBLE_MATH].
1055
1056 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
1057 PTR_MANGLE and PTR_DEMANGLE.
1058
1059 * socket/accept4.c (accept4): Rename to __libc_accept4.
1060 Define accept4 as a weak alias.
1061
1062 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
1063 on [_DIRENT_HAVE_D_TYPE].
1064 * io/ftw.c (ftw_dir): Likewise.
1065
1066 * io/xmknod.c (__xmknod): Don't check PATH for being null.
1067
1068 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
1069
1070 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
1071 Use the BSD numbers rather than the arbitrary ones we had.
1072 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
1073 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
1074 (SIGXCPU, SIGXFSZ): New macros.
1075 (_NSIG): Now 32.
1076
1077 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
1078 initializer on [_LIBC_REENTRANT].
1079
1080 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
1081 definitions inside [_POSIX_MAPPED_FILES].
1082
1083 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
1084
1085 * dirent/opendir.c: Include <fcntl.h>.
1086
1087 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
1088 (__libc_getspecific): Likewise.
1089 (__libc_key_create): Likewise.
1090
1091 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
1092 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
1093 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
1094 (tmpfile64): Define as alias.
1095 * sysdeps/wordsize-64/tmpfile.c: File removed.
1096 * sysdeps/wordsize-64/tmpfile64.c: File removed.
1097 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
1098 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
1099
1100 * stdio-common/vfscanf.c: Include <stdbool.h>.
1101 * nss/makedb.c: Likewise.
1102 * stdio-common/_i18n_number.h: Likewise.
1103 * argp/argp-help.c: Likewise.
1104 * posix/wordexp.c: Likewise.
1105 * sysdeps/posix/spawni.c: Likewise.
1106 * nss/nss_files/files-initgroups.c: Likewise.
1107 * stdio-common/reg-modifier.c: Include <stdlib.h>.
1108 * nss/nss_files/files-initgroups.c: Likewise.
1109 * nss/nss_db/db-netgrp.c: Likewise.
1110 * nss/nss_db/db-initgroups.c: Likewise.
1111 * io/fchmodat.c: Include <sys/stat.h>.
1112
1113 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
1114 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
1115
1116 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
1117 [HAVE_MMAP].
1118
1119 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
1120 Add multiple inclusion protection.
1121
e5abc686
DM
11222012-07-27 David S. Miller <davem@davemloft.net>
1123
1124 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1125
815e6fa3
GB
11262012-07-27 Gary Benson <gbenson@redhat.com>
1127
1128 [BZ #14298]
1129 * elf/rtld.c: Include <stap-probe.h>.
1130 (dl_main): Added static probes "init_start" and "init_complete".
1131 * elf/dl-load.c: Include <stap-probe.h>.
1132 (lose): Take new parameter "nsid".
1133 Added static probe "map_failed".
1134 (_dl_map_object_from_fd): Pass namespace id to lose.
1135 Added static probe "map_start".
1136 (open_verify): Pass namespace id to lose.
1137 * elf/dl-open.c: Include <stap-probe.h>.
1138 (dl_open_worker) Added static probes "map_complete", "reloc_start"
1139 and "reloc_complete".
1140 * elf/dl-close.c: Include <stap-probe.h>.
1141 (_dl_close_worker): Added static probes "unmap_start" and
1142 "unmap_complete".
1143 * elf/rtld-debugger-interface.txt: New file documenting the above.
1144
9f98c16c
RM
11452012-07-26 Roland McGrath <roland@hack.frob.com>
1146
1147 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
1148 rather than a string variable.
1149 * sunrpc/rpc_main.c (h_output): Likewise.
1150 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
1151
f3c22df3
PT
11522012-07-26 Pino Toscano <toscano.pino@tiscali.it>
1153
1154 * inet/check_native.c: New file.
1155
3129cfc6
JM
11562012-07-26 Joseph Myers <joseph@codesourcery.com>
1157
da865e95
JM
1158 [BZ #13629]
1159 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
1160 if larger part has absolute value 1.0.
1161 * math/s_clog10.c (__clog10): Likewise.
1162 * math/s_clog10f.c (__clog10f): Likewise.
1163 * math/s_clog10l.c (__clog10l): Likewise.
1164 * math/s_clogf.c (__clogf): Likewise.
1165 * math/s_clogl.c (__clogl): Likewise.
1166 * math/libm-test.inc (clog_test): Add more tests.
1167 (clog10_test): Likewise.
1168 * sysdeps/i386/fpu/libm-test-ulps: Update.
1169 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1170
3129cfc6
JM
1171 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
1172 (pltexit): Likewise.
1173 (La_regs): Likewise.
1174 (La_retval): Likewise.
1175 (int_retval): Likewise.
1176 Update #error for removed macros to refer only to definitions in
1177 tst-audit.h.
1178 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
1179 macro.
1180 (pltexit): Likewise.
1181 (La_regs): Likewise.
1182 (La_retval): Likewise.
1183 (int_retval): Likewise.
1184 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
1185 macro.
1186 (pltexit): Likewise.
1187 (La_regs): Likewise.
1188 (La_retval): Likewise.
1189 (int_retval): Likewise.
1190 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
1191 macro.
1192 (pltexit): Likewise.
1193 (La_regs): Likewise.
1194 (La_retval): Likewise.
1195 (int_retval): Likewise.
1196 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
1197 macro.
1198 (pltexit): Likewise.
1199 (La_regs): Likewise.
1200 (La_retval): Likewise.
1201 (int_retval): Likewise.
1202 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
1203 macro.
1204 (pltexit): Likewise.
1205 (La_regs): Likewise.
1206 (La_retval): Likewise.
1207 (int_retval): Likewise.
1208 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
1209 macro.
1210 (pltexit): Likewise.
1211 (La_regs): Likewise.
1212 (La_retval): Likewise.
1213 (int_retval): Likewise.
1214 * sysdeps/generic/tst-audit.h: Update comment to refer only to
1215 macro definitions in tst-audit.h.
1216 * sysdeps/i386/tst-audit.h: New file.
1217 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
1218 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
1219 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
1220 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
1221 * sysdeps/sh/tst-audit.h: Likewise.
1222 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
1223 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
1224 * sysdeps/x86_64/tst-audit.h: Likewise.
1225
bfc07087
AJ
12262012-07-26 Andreas Jaeger <aj@suse.de>
1227
b1b2aaf8
AJ
1228 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
1229 ptrace.
1230
1231 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
1232 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
1233 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
1234 PTRACE_O_MASK.
1235 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
1236 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
1237 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
1238
bfc07087
AJ
1239 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
1240 value.
1241
1242 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
1243 _sigsys.
1244 (si_call_addr, si_syscall, si_arch): Define new macro.
1245 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
1246 _sigsys.
1247 (si_call_addr, si_syscall, si_arch): Define new marcro.
1248 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
1249 _sigsys.
1250 (si_call_addr, si_syscall, si_arch): Define new macro.
1251 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
1252 _sigsys.
1253 (si_call_addr, si_syscall, si_arch): Define new macro.
1254
89b4b02f
JM
12552012-07-25 Joseph Myers <joseph@codesourcery.com>
1256
1257 [BZ #13717]
1258 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1259 Change to 2.4.21 where previously 2.4.1.
1260 * sysdeps/unix/sysv/linux/configure: Regenerated.
1261 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
1262 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
1263 Linux kernel version.
1264 (__ASSUME_STD_AUXV): Remove.
1265 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
1266 kernel version.
1267 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
1268 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
1269 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
1270 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
1271 (__ASSUME_NETLINK_SUPPORT): Likewise.
1272 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
1273 (__no_netlink_support): Remove conditional definition.
1274 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
1275 Remove.
1276 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
1277 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
1278 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
1279 (if_nameindex_ioctl): Remove.
1280 (if_nameindex_netlink): Do not handle __no_netlink_support.
1281 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
1282 code.
1283 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
1284 Remove conditional code.
1285 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
1286 code.
1287 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
1288 unconditional.
1289 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
1290 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
1291 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
1292 Remove.
1293 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
1294 [!__ASSUME_STD_AUXV]: Remove conditional code.
1295 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
1296 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
1297 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
1298 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
1299 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
1300 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
1301 code.
1302 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
1303 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
1304 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
1305 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
1306 conditional code.
1307 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
1308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
1309 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
1310 code.
1311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
1312 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
1313 conditional code.
1314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
1315 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
1316 code unconditional.
1317 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1318 conditional code.
1319 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
1320 unconditional.
1321 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1322 conditional code.
1323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
1324 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
1325 unconditional.
1326 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1327 conditional code.
1328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
1329 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
1330 code unconditional.
1331 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1332 conditional code.
1333 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
1334 unconditional.
1335 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1336 conditional code.
1337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
1338 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
1339 code unconditional.
1340 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1341 conditional code.
1342 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
1343 unconditional.
1344 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1345 conditional code.
1346
842a39cd
AS
13472012-07-25 Andreas Schwab <schwab@linux-m68k.org>
1348
1349 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
1350 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
1351 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
1352 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
1353 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
1354 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
1355 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
1356 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
1357 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
1358 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
1359 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
1360 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
1361 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
1362 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
1363 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
1364 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
1365 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
1366 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
1367 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
1368 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
1369 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
1370 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
1371 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
1372
84b3fd84
FW
13732012-07-25 Florian Weimer <fweimer@redhat.com>
1374
1375 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
1376 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
1377 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
1378 Introduce __libc_secure_getenv.
0c7936d5
FW
1379 * stdlib/Versions (2.17): Add secure_getenv
1380 (GLIBC_PRIVATE): Add __libc_secure_getenv.
1381 * stdlib/secure-getenv.c: Rename __secure_getenv to
1382 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
1383 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
1384 * stdlib/tst-secure-getenv.c: New.
1385 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
1386 * manual/startup.texi (Environment Access): Document
1387 secure_getenv.
84b3fd84
FW
1388 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
1389 __libc_secure_getenv.
1390 * inet/ruserpass.c (ruserpass): Likewise.
1391 * malloc/mtrace.c (mtrace): Likewise.
1392 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 1393 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
1394 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
1395 * sysdeps/posix/tempname.c: Likewise. Evaluate
1396 HAVE_SECURE_GETENV.
1397 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 1398 __secure_getenv to __libc_secure_getenv.
84b3fd84 1399 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
1400 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1401 Likewise.
1402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1403 Likewise.
1404 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
1405 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
1406 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
1407 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
1408 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
1409 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
1410 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 1411
56e49b71
JM
14122012-07-25 Joseph Myers <joseph@codesourcery.com>
1413
1414 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
1415 (struct La_i86_retval): Likewise.
1416 (struct La_x86_64_regs): Likewise.
1417 (struct La_x86_64_retval): Likewise.
1418 (struct La_x32_regs): Likewise.
1419 (struct La_x32_retval): Likewise.
1420 (struct La_ppc32_regs): Likewise.
1421 (struct La_ppc32_retval): Likewise.
1422 (struct La_ppc64_regs): Likewise.
1423 (struct La_ppc64_retval): Likewise.
1424 (struct La_sh_regs): Likewise.
1425 (struct La_sh_retval): Likewise.
1426 (struct La_s390_32_regs): Likewise.
1427 (struct La_s390_32_retval): Likewise.
1428 (struct La_s390_64_regs): Likewise.
1429 (struct La_s390_64_retval): Likewise.
1430 (struct La_sparc32_regs): Likewise.
1431 (struct La_sparc32_retval): Likewise.
1432 (struct La_sparc64_regs): Likewise.
1433 (struct La_sparc64_retval): Likewise.
1434 (struct audit_ifaces): Remove architecture-specific pltenter and
1435 pltexit members.
1436 * sysdeps/i386/ldsodefs.h: New file.
1437 * sysdeps/powerpc/ldsodefs.h: Likewise.
1438 * sysdeps/s390/ldsodefs.h: Likewise.
1439 * sysdeps/sh/ldsodefs.h: Likewise.
1440 * sysdeps/sparc/ldsodefs.h: Likewise.
1441 * sysdeps/x86_64/ldsodefs.h: Likewise.
1442
354691b7
MP
14432012-07-25 Marek Polacek <polacek@redhat.com>
1444
1445 [BZ #6808]
1446 * math/libm-test.inc (yn_test): Add another test.
1447 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
1448 to ERANGE when the result is +-Inf.
1449 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
1450 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
1451 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
1452 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
1453
bf9e2071
JM
14542012-07-24 Joseph Myers <joseph@codesourcery.com>
1455
1456 * conform/data/time.h-data (NULL): Use macro-constant. Require
1457 equal to 0.
1458 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
1459 clock_t.
1460 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
1461
57633811
TS
14622012-07-23 Thomas Schwinge <thomas@codesourcery.com>
1463
1464 * configure.in <sysdeps resolving>: Correct printing
1465 Implies_before.
1466 * configure: Regenerate.
1467
c23c33b0
TS
14682012-07-22 Thomas Schwinge <thomas@codesourcery.com>
1469
1470 * math/w_ilogb.c: Include <limits.h>.
1471 * math/w_ilogbl.c: Likewise.
1472
b5982523
JM
14732012-07-20 Joseph Myers <joseph@codesourcery.com>
1474
1475 * manual/lang.texi (__va_copy): Document primarily as ISO C99
1476 va_copy. Document allowing for unavailable va_copy only as
1477 pre-C99 compatibility.
1478 * manual/string.texi (Copying and Concatenation): Use va_copy
1479 instead of __va_copy in concat example.
1480
ac4ea442
PT
14812012-07-20 Pino Toscano <toscano.pino@tiscali.it>
1482
1483 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
1484 (__sendto): Use create_address_port. Initialize APORT and deallocate
1485 it if not null.
1486
f98eafbd
PT
1487 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
1488 with O_NOLINK passed to __file_name_lookup.
1489
898c7aab
PT
1490 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
1491 with O_NOLINK passed to __file_name_lookup.
1492
0ced335a
PT
1493 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
1494 negative N or less than NGIDS.
1495
b3404dbd
PT
1496 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
1497 type to string_t. Set ERANGE as errno and return it if NAME is not big
1498 enough. Use memcpy instead of strncpy.
1499
0f48659e
JM
15002012-07-20 Joseph Myers <joseph@codesourcery.com>
1501
1502 * elf/Makefile (check-data): Remove.
1503 (localplt.data): New vpath directive.
1504 ($(objpfx)check-localplt.out): Use localplt.data from vpath
1505 instead of $(check-data).
1506 * scripts/data/localplt-generic.data: Move to ...
1507 * sysdeps/generic/localplt.data: ... here.
1508 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
1509 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
1510 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
1511 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
1512 ... here.
1513 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
1514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
1515 ... here.
1516 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
1517 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
1518 ... here.
1519 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
1520 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
1521 ... here.
1522 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
1523 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
1524 ... here.
1525 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
1526 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
1527 ... here.
1528
d37cbdaa
AZ
15292012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1530
1531 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
1532 PPC32 and PPC64 files.
1533 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
1534 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
1535
46f85fc2
AK
15362012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1537
1538 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
1539 __makecontext_ret to ...
1540 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
1541 ... here and call exit if uc_link is NULL. New file.
1542 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
1543 __makecontext_ret.S.
1544 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
1545 __makecontext_ret to ...
1546 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
1547 ... here and call exit if uc_link is NULL. New file.
1548 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
1549 __makecontext_ret.S.
1550
08f43f9b
AK
15512012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1552
1553 * elf/elf.h (R_390_IRELATIVE): New definition.
1554 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
1555 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
1556 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
1557 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
1558 (elf_machine_lazy_rel): Likewise.
1559 * sysdeps/s390/dl-irel.h: New file.
1560 * sysdeps/s390/s390-64/memcpy.S: New asm code.
1561 * sysdeps/s390/s390-64/memset.S: New asm code.
1562 * sysdeps/s390/s390-64/memcmp.S: New asm code.
1563 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
1564 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
1565 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
1566 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
1567 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
1568 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
1569 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
1570 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
1571 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
1572 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
1573 * sysdeps/s390/s390-32/memcpy.S: New asm code.
1574 * sysdeps/s390/s390-32/memset.S: New asm code.
1575 * sysdeps/s390/s390-32/memcmp.S: New asm code.
1576
3b05db33
MP
15772012-07-17 Marek Polacek <polacek@redhat.com>
1578
1579 [BZ #14349]
1580 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
1581 * sysdeps/s390/s390-64/configure.in: Likewise.
1582 * sysdeps/sparc/configure.in: Likewise.
1583 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
1584 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
1585 * sysdeps/i386/configure.in: Likewise.
1586 * sysdeps/x86_64/configure.in: Likewise.
1587 * sysdeps/sh/configure.in: Likewise.
1588 * sysdeps/s390/s390-32/configure: Regenerated.
1589 * sysdeps/s390/s390-64/configure: Likewise.
1590 * sysdeps/x86_64/configure: Likewise.
1591 * sysdeps/sh/configure: Likewise.
1592 * sysdeps/powerpc/powerpc64/configure: Likewise.
1593 * sysdeps/powerpc/powerpc32/configure: Likewise.
1594 * sysdeps/sparc/configure: Likwise.
1595 * sysdeps/i386/configure: Likewise.
1596
a66877c6
MP
1597 * elf/dl-open.c: Comment fixes.
1598
cfc82fd8
JM
15992012-07-17 Joseph Myers <joseph@codesourcery.com>
1600
bd29910a
JM
1601 * Makefile [CXX] (check-data): Remove.
1602 [CXX] (c++-types.data): New vpath directive.
1603 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
1604 vpath. Do not allow for C++ type data being missing.
1605 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
1606 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
1607 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
1608 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
1609 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
1610 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
1611 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
1612 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
1613 ... here.
1614 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
1615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
1616 ... here.
1617 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
1618 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
1619 ... here.
1620 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
1621 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
1622 ... here.
1623 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
1624 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
1625 ... here.
1626 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
1627 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
1628 ... here.
1629 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
1630 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
1631 ... here.
1632 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
1633 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
1634
cfc82fd8
JM
1635 * elf/tls-macros.h (TLS_LE): Move architecture-specific
1636 definitions to architecture-specific files.
1637 (TLS_IE): Likewise.
1638 (TLS_LD): Likewise.
1639 (TLS_GD): Likewise.
1640 * sysdeps/i386/tls-macros.h: New file.
1641 * sysdeps/powerpc/tls-macros.h: Likewise.
1642 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
1643 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
1644 * sysdeps/sh/tls-macros.h: Likewise.
1645 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
1646 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
1647 * sysdeps/x86_64/tls-macros.h: Likewise.
1648
f7db3170
TS
16492012-07-17 Thomas Schwinge <thomas@codesourcery.com>
1650
07cbfc23
TS
1651 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
1652 zero value for regular exit case.
1653
f7db3170
TS
1654 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
1655 (__start_context): Preserve zero value for regular exit case.
1656
dc97c227
TS
16572012-07-17 Thomas Schwinge <thomas@codesourcery.com>
1658 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1659
1660 * manual/setjmp.texi (setcontext): Clarify normal process
1661 termination when uc_link is the null pointer.
1662 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
1663 exit call.
1664
d0cd7d02
AS
16652012-07-16 Andreas Schwab <schwab@linux-m68k.org>
1666
1667 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
1668 preprocessor. Test for each exception mask separately.
1669
dd318934
AJ
16702012-07-16 Andreas Jaeger <aj@suse.de>
1671
1672 * po/ru.po: Update from translation team.
1673
8048311a
JM
16742012-07-15 Joseph Myers <joseph@codesourcery.com>
1675
1676 * conform/data/string.h-data (NULL): Use macro-constant. Require
1677 equal to 0.
1678 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
1679 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
1680 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
1681 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
1682 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1683
b637d46e
AJ
16842012-07-13 Andreas Jaeger <aj@suse.de>
1685
1686 * po/fr.po: Update from translation team.
1687
541428fe
MP
16882012-07-12 Marek Polacek <polacek@redhat.com>
1689
1690 [BZ #14173]
1691 * math/libm-test.inc (yn_test): Add test for BZ #14173.
1692 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
1693 loop condition.
1694
ec332e94
JM
16952012-07-12 Joseph Myers <joseph@codesourcery.com>
1696
1697 [BZ #13717]
1698 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1699 Change to 2.4.1 where previously 2.4.0.
1700 * sysdeps/unix/sysv/linux/configure: Regenerated.
1701 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
1702 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
1703 version.
1704 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
1705 (__ASSUME_AT_CLKTCK): Remove.
1706 (__ASSUME_AT_PAGESIZE): Likewise.
1707 (__ASSUME_AT_XID): Likewise.
1708 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
1709 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
1710 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
1711 unconditionally.
1712 (HAVE_AUX_PAGESIZE): Likewise.
1713 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
1714 [__ASSUME_AT_CLKTCK]: Make code unconditional.
1715 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
1716
7b6e99be
JB
17172012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
1718
1719 [BZ #14307]
1720 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
1721 the temporary buffer used to invoke __gethostbyname2_r,
1722 __gethostbyaddr_r and gethostbyname4_r to make room for struct
1723 host_data / struct gaih_addrtuple.
1724 * resolv/nss_dns/dns-host.c (global scope): Move definition of
1725 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
1726 header file nss/nsswitch.h.
1727 * nss/nsswitch.h (global scope): Add definition of implementation
1728 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
1729 resolv/nss_dns/dns-host.c).
1730
608404eb
AJ
17312012-07-11 Andreas Jaeger <aj@suse.de>
1732
1733 * po/fr.po: Update from translation team.
1734
71220aca
AJ
1735 * po/sv.po: Update from translation team
1736 * po/fr.po: Another update from translation team.
1737
28cfe843
AZ
17382012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1739
1740 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
1741 for subnormals or multiply small sinh result by itself.
1742 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
1743 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1744
6b90f981
DM
17452012-07-11 David S. Miller <davem@davemloft.net>
1746
1747 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1748
c6825772
AS
17492012-07-10 Andreas Schwab <schwab@linux-m68k.org>
1750
1751 [BZ #14347]
1752 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
1753 (INTERNAL_MARK): Shift it here.
1754
7b8e0d49
MP
17552012-07-10 Marek Polacek <polacek@redhat.com>
1756
1757 [BZ #14151]
1758 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
1759 libc_cv_asm_global_directive with .globl.
1760 * configure: Regenerated.
1761 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
1762 with .globl.
1763 * sysdeps/i386/configure: Regenerated.
1764 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
1765 with .globl.
1766 * sysdeps/x86_64/configure: Regenerated.
1767 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
1768 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
1769 * elf/tst-unique2mod2.c: Likewise.
1770 * elf/tst-unique2mod1.c: Likewise.
1771 * elf/tst-unique1mod2.c: Likewise.
1772 * elf/tst-unique1mod1.c: Likewise.
1773 * sysdeps/s390/s390-32/sysdep.h: Likewise.
1774 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
1775 * sysdeps/s390/s390-64/sysdep.h: Likewise.
1776 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
1777 * sysdeps/mach/sysdep.h: Likewise.
1778 * sysdeps/i386/sysdep.h: Likewise.
1779 * sysdeps/i386/i386-mcount.S: Likewise.
1780 * sysdeps/x86_64/_mcount.S: Likewise.
1781 * sysdeps/x86_64/sysdep.h: Likewise.
1782 * sysdeps/sh/_mcount.S: Likewise.
1783 * sysdeps/sh/sysdep.h: Likewise.
1784 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
1785 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
1786 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
1787 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
1788 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
1789 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
1790 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
1791 * locale/localeinfo.h: Likewise.
1792 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
1793 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
1794
6c55cda3
RM
17952012-07-09 Roland McGrath <roland@hack.frob.com>
1796
1797 [BZ #14336]
1798 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
1799 system".
1800 * manual/message.texi (The Uniforum approach): Likewise.
1801 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
1802 (glibc iconv Implementation): Likewise.
1803
638a572e
JM
18042012-07-09 Joseph Myers <joseph@codesourcery.com>
1805
1806 [BZ #14337]
1807 * math/s_clog.c (__clog): Avoid scaling a value down where that
1808 could result in underflow.
1809 * math/s_clog10.c (__clog10): Likewise.
1810 * math/s_clog10f.c (__clog10f): Likewise.
1811 * math/s_clog10l.c (__clog10l): Likewise.
1812 * math/s_clogf.c (__clogf): Likewise.
1813 * math/s_clogl.c (__clogl): Likewise.
1814 * math/libm-test.inc (clog_test): Add more tests.
1815 (clog10_test): Likewise.
1816 * sysdeps/i386/fpu/libm-test-ulps: Update.
1817 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1818
261f4859
AS
18192012-07-06 Andreas Schwab <schwab@linux-m68k.org>
1820
0abaf3e4
AS
1821 [BZ #14283]
1822 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
1823 by 7 not 8 to examine high bit of fractional part.
1824
261f4859
AS
1825 [BZ #14042]
1826 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
1827 for call to __mcount_internal.
1828 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
1829 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
1830 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
1831
f17ac40d
JM
18322012-07-06 Joseph Myers <joseph@codesourcery.com>
1833
9ad63c23
JM
1834 [BZ #14154]
1835 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
1836 approximation for values within 0x1p-13f of an odd multiple of
1837 pi/4.
1838 * math/libm-test.inc (tan_test): Do not allow spurious underflow
1839 exception. Add more tests.
1840 * sysdeps/i386/fpu/libm-test-ulps: Update.
1841
f17ac40d
JM
1842 [BZ #6778]
1843 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
1844 inputs and return -1 for them. Do not check for +Inf in case not
1845 reachable for +Inf.
1846 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
1847 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
1848 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
1849 and return -1 for them. Do not check for +Inf in case not
1850 reachable for +Inf.
1851 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
1852 define.
1853 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
1854 and return -1 for them. Do not check for +Inf in case not
1855 reachable for +Inf.
1856 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
1857 spurious underflow.
1858 * sysdeps/i386/fpu/libm-test-ulps: Update.
1859 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1860
fb21f89b
MF
18612012-07-06 Mike Frysinger <vapier@gentoo.org>
1862
1863 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
1864
cdfe2c5e
JM
18652012-07-05 Joseph Myers <joseph@codesourcery.com>
1866
1867 [BZ #14157]
1868 [BZ #14331]
1869 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
1870 could result in spurious underflow. Scale down values above
1871 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
1872 * math/s_csqrtf.c (__csqrtf): Likewise.
1873 * math/s_csqrtl.c (__csqrtl): Likewise.
1874 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
1875 spurious underflow.
1876 * sysdeps/i386/fpu/libm-test-ulps: Update.
1877 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1878
70d35b67
AS
18792012-07-04 Andreas Schwab <schwab@linux-m68k.org>
1880
704bc459
AS
1881 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
1882 xopen-msg.sed.
1883 * catgets/xopen-msg.awk: New file.
1884 * catgets/xopen-msg.sed: Removed.
1885
70d35b67
AS
1886 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
1887 po2text.sed.
1888 * intl/po2test.awk: New file.
1889 * intl/po2test.sed: Removed.
1890
ca61cf32
JM
18912012-07-04 Joseph Myers <joseph@codesourcery.com>
1892
1893 [BZ #14328]
1894 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
1895 or multiply small sinh result by itself.
1896 * math/s_ctanf.c (__ctanf): Likewise.
1897 * math/s_ctanh.c (__ctanh): Likewise.
1898 * math/s_ctanhf.c (__ctanhf): Likewise.
1899 * math/s_ctanhl.c (__ctanhl): Likewise.
1900 * math/s_ctanl.c (__ctanl): Likewise.
1901 * math/libm-test.inc (ctan_test_tonearest): New function.
1902 (ctan_test_towardzero): Likewise.
1903 (ctan_test_downward): Likewise.
1904 (ctan_test_upward): Likewise.
1905 (ctanh_test_tonearest): Likewise.
1906 (ctanh_test_towardzero): Likewise.
1907 (ctanh_test_downward): Likewise.
1908 (ctanh_test_upward): Likewise.
1909 (main): Call these new functions.
1910 * sysdeps/i386/fpu/libm-test-ulps: Update.
1911 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1912
ca48a46a
MF
19132012-07-03 Mike Frysinger <vapier@gentoo.org>
1914
1915 * .gitignore: Delete /ports entry.
1916
9d63d37d
AJ
19172012-07-03 Andreas Jaeger <aj@suse.de>
1918
1919 * po/bg.po: Update from translation team.
1920 * po/cs.po: Likewise.
1921 * po/de.po: Likewise.
1922 * po/hr.po: Likewise.
1923 * po/nl.pl: Likewise.
1924 * po/pl.po: Likewise.
1925 * po/vi.po: Likewise.
1926
370ca3d2
JM
19272012-07-03 Joseph Myers <joseph@codesourcery.com>
1928
95f5a9a8
JM
1929 * Makeconfig [!+link] (+link-before-libc): New variable.
1930 [!+link] (+link-after-libc): Likewise.
1931 [!+link] (+link-tests): Likewise.
1932 [!+link] (+link): Define in terms of $(+link-before-libc) and
1933 $(+link-after-libc).
1934 [!+link-static] (+link-static-before-libc): New variable.
1935 [!+link-static] (+link-static-after-libc): Likewise.
1936 [!+link-static] (+link-static-tests): Likewise.
1937 [!+link-static] (+link-static): Define in terms of
1938 $(+link-static-before-libc) and $(+link-static-after-libc).
1939 [build-shared] (link-libc-before-gnulib): New variable.
1940 [build-shared] (link-libc-tests): Likewise.
1941 [build-shared] (link-libc): Define in terms of
1942 $(link-libc-before-gnulib).
1943 [!build-shared] (link-libc-tests): New variable.
1944 (link-libc-static-tests): New variable.
1945 [!gnulib] (gnulib-arch): New variable.
1946 [!gnulib] (gnulib-tests): Likewise.
1947 [!gnulib] (static-gnulib-arch): Likewise.
1948 [!gnulib] (static-gnulib-tests): Likewise.
1949 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
1950 Define with "=" instead of ":=".
1951 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
1952 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
1953 * Rules (binaries-all-notests): New variable.
1954 (binaries-all-tests): Likewise.
1955 (binaries-static-notests): Likewise.
1956 (binaries-static-tests): Likewise.
1957 (binaries-all): Define using $(binaries-all-notests) and
1958 $(binaries-all-tests).
1959 (binaries-static): Define using $(binaries-static-notests) and
1960 $(binaries-static-tests).
1961 (binaries-shared-tests): New variable.
1962 (binaries-shared-notests): Likewise.
1963 (binaries-shared): Remove variable.
1964 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
1965 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
1966 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
1967 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
1968 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
1969 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
1970 * elf/Makefile (sln-modules): New variable.
1971 (extra-objs): Add $(sln-modules:=.o).
1972 (ldconfig-modules): Add static-stubs.
1973 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
1974 * elf/static-stubs.c: New file.
1975
7a845b2c
JM
1976 [BZ #14283]
1977 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
1978 by 7 not 8 to examine high bit of fractional part. Use volatile
1979 variables when splitting into final array of floats if
1980 __FLT_EVAL_METHOD__ != 0.
1981 * math/libm-test.inc (cos_test): Add another test.
1982 (sin_test): Likewise.
1983 * sysdeps/i386/fpu/libm-test-ulps: Update.
1984
e2283f38
JM
1985 [BZ #14273]
1986 * math/libm-test.inc (cosh_test): Add more tests.
1987
370ca3d2
JM
1988 * version.h (RELEASE): Set to "development".
1989 (VERSION): Set to "2.16.90".
1990
ee9247c3
CD
19912012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
1992
1993 * NEWS: Update copyright. Remove last-updated date.
1994 Mention math library bug fixes and timezone data changes.
1995 * README: Mention GNU/Hurd, x32, and HPPA support status.
1996
4648c381
TS
19972012-06-28 Thomas Schwinge <thomas@codesourcery.com>
1998
1999 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
2000
aac78a43
AJ
20012012-06-27 Andreas Jaeger <aj@suse.de>
2002
2003 * manual/contrib.texi (Contributors): Add Samuel Thibault.
2004
ed3dbfad
AJ
20052012-06-25 Andreas Jaeger <aj@suse.de>
2006
2007 * sysdeps/s390/fpu/libm-test-ulps: Update.
2008
4d0ee855
AS
20092012-06-23 Andreas Schwab <schwab@linux-m68k.org>
2010 Thomas Schwinge <thomas@codesourcery.com>
2011
2012 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
2013 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
2014 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
2015 fanotify_mark.
2016
af1bce34
TS
20172012-06-23 Thomas Schwinge <thomas@codesourcery.com>
2018
a9fa33ba
TS
2019 * sysdeps/mach/start.c: Remove file.
2020 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
2021 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
2022 * sysdeps/sh/init-first.c: Likewise.
2023
58f902b8
TS
2024 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
2025 registers for frame unwinding purposes, add CFI directives.
2026 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
2027 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
2028 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
2029 Likewise.
2030
1518f58b
TS
2031 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
2032 __fortify_fail returning.
2033 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
2034
db9b5059
TS
2035 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
2036 sysdeps/sh/____longjmp_chk.S.
2037 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
2038 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
2039 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
2040 (gen-as-const-headers): Append sigaltstack-offsets.sym.
2041
967705fe
TS
2042 * sysdeps/sh/abort-instr.h: New file.
2043 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
2044 process in case exit returns.
2045
a9def8c4
TS
2046 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
2047 initialize the GOT register before use.
2048
2a649725
TS
2049 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
2050 calculation of ARGC > 4.
2051
af1bce34
TS
2052 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
2053 meaningful names to some local labels.
2054
d230f50a
KK
20552012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2056 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2057
2058 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
2059 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
2060 (__arch_compare_and_exchange_val_16_acq): Likewise.
2061 (__arch_compare_and_exchange_val_32_acq): Likewise.
2062 (atomic_exchange_and_add): Fix gUSA sequence.
2063 (atomic_add): Likewise.
2064 (atomic_add_negative): Likewise.
2065 (atomic_add_zero): Likewise.
2066 (atomic_bit_test_set): Likewise.
2067
0479b305
AS
20682012-06-22 Andreas Schwab <schwab@redhat.com>
2069
2070 [BZ #13579]
2071 * include/link.h (struct link_map): Add l_free_initfini.
2072 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
2073 l_initfini.
2074 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
2075 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
2076 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
2077 set.
2078
0e3933b9
CD
20792012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
2080
2081 * configure.in: Use AC_LANG_SOURCE.
2082 * configure: Regenerate.
2083
4248b1b1
RM
20842012-06-22 Roland McGrath <roland@hack.frob.com>
2085
2086 * configure.in (libc_cv_localstatedir): New substituted variable.
2087 * configure: Regenerated.
2088 * config.make.in (localstatedir): New variable, substituted from
2089 libc_cv_localstatedir.
2090 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
2091 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
2092 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
2093 * sysdeps/gnu/configure: Regenerated.
2094
006dd861
JL
20952012-06-21 Jeff Law <law@redhat.com>
2096
2097 [BZ #14277]
2098 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
2099 free. Simplify list management for _LIBC case.
2100
79662d42
JM
21012012-06-21 Joseph Myers <joseph@codesourcery.com>
2102
b7abb4bf
JM
2103 [BZ #14273]
2104 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
2105 Clear sign bit of 64-bit integer value before comparing against
2106 overflow value.
2107
79662d42
JM
2108 * sysdeps/mach/configure: Regenerated.
2109
1f150908
L
21102012-06-21 H.J. Lu <hongjiu.lu@intel.com>
2111
2112 [BZ #14278]
2113 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
2114
28363bbf
JL
21152012-06-21 Jeff Law <law@redhat.com>
2116
2117 [BZ #13882]
2118 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
2119 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 2120 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
2121 * elf/dl-open.c (dl_open_worker): Likewise.
2122
09615db4
CD
21232012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
2124
2125 * scripts/list-sources.sh: Scan PORTS for translations.
2126 * po/libc.pot: Regenerated.
2127
2174c6dd
AJ
21282012-06-21 Andreas Jaeger <aj@suse.de>
2129
2130 [BZ #12194]
2131 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
2132 warning.
2133 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
2134 * bits/byteswap-16.h (__bswap_16): Likewise.
2135 * bits/byteswap.h (__bswap_constant_16): Likewise.
2136
3ee947b1
L
21372012-06-18 H.J. Lu <hongjiu.lu@intel.com>
2138
2139 [BZ #14117]
a2f34833
L
2140 * sysdeps/i386/fpu_control.h: Removed.
2141 * sysdeps/x86_64/fpu_control.h: Moved to ...
2142 * sysdeps/x86/fpu_control.h: Here.
2143
3ee947b1
L
2144 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
2145 (_FPU_SETCW): Likewise.
2146
ed1825f8
L
21472012-06-15 H.J. Lu <hongjiu.lu@intel.com>
2148
25f1282a
L
2149 [BZ #14117]
2150 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
2151 * sysdeps/x86/fpu/bits/mathinline.h: This.
2152 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
2153
ed1825f8
L
2154 [BZ #14050]
2155 [BZ #14117]
2156 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
2157 functions if __x86_64__ is defined.
2158
36d54b74
CLT
21592012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
2160
2161 * string/endian.h: Add !__ASSEMBLER__ condition for including
2162 conversion interfaces.
2163
10285c21
JM
21642012-06-15 Joseph Myers <joseph@codesourcery.com>
2165
2166 [BZ #14241]
2167 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
2168 of ABS(x) in calculating zero to negative powers other than odd
2169 integers.
2170 * math/libm-test.inc (pow_test): Add more tests.
2171
06c5abbd
AJ
21722012-06-15 Andreas Jaeger <aj@suse.de>
2173
2174 * manual/contrib.texi (Contributors): Update entry of Liubov
2175 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
2176 Machado Filho.
2177
a3aeac40
CH
21782012-06-15 Cyril Hrubis <metan@ucw.cz>
2179
2180 * string/string.h: Add __wur to GNU version of strerror_r.
2181
49bdf4c1
L
21822012-06-14 H.J. Lu <hongjiu.lu@intel.com>
2183
2184 [BZ #14229]
2185 * string/Makefile (tests): Add tst-strtok_r.
2186 * string/tst-strtok_r.c: New file.
2187 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
2188 RAX_LP/RDX_LP on SAVE_PTR.
2189
834f9b8d
RM
21902012-06-14 Roland McGrath <roland@hack.frob.com>
2191
2192 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
2193
75fa1921
JM
21942012-06-14 Joseph Myers <joseph@codesourcery.com>
2195
2196 * libm_test.inc (csqrt_test): Allow more spurious underflow
2197 exceptions.
2198 (j0_test): Likewise.
2199 (j1_test): Likewise.
2200 (y0_test): Likewise.
2201 (y1_test): Likewise.
2202
771766df
CD
22032012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
2204
2205 * po/Makefile (libc.pot): Use UTF-8 charset.
2206
ceb9e56b
PP
22072012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
2208
2209 [BZ #14210]
2210 Suppress sign-conversion warning from FD_SET.
2211 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
2212 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
2213 not unsigned long int.
2214 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
2215
ddb28975
L
22162012-06-12 H.J. Lu <hongjiu.lu@intel.com>
2217
2218 [BZ #14050]
2219 [BZ #14117]
2220 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
2221 __extern_always_inline instead of __extern_inline.
2222 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
2223 (__signbit): Likewise.
2224 (__signbitl): Support C++ namespace.
2225 (lrintf): New inline function.
2226 (lrint): Likewise.
2227 (llrintf): Likewise.
2228 (llrint): Likewise.
2229 (fmaxf): Likewise.
2230 (fmax): Likewise.
2231 (fminf): Likewise.
2232 (fmin): Likewise.
2233 (rint): Likewise.
2234 (rintf): Likewise.
2235 (ceil): Likewise.
2236 (ceilf): Likewise.
2237 (floor): Likewise.
2238 (floorf): Likewise.
2239 (nearbyint): Likewise.
2240 (nearbyintf): Likewise.
2241
d7b4fb26
TS
22422012-06-12 Thomas Schwinge <thomas@codesourcery.com>
2243
2244 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
2245 non-default versions.
2246
eb55f5c2
RM
22472012-06-11 Roland McGrath <roland@hack.frob.com>
2248
2249 [BZ #14218]
2250 * manual/argp.texi (Argp): Reword argp_parse description slightly.
2251
366af02c
TS
22522012-06-09 Thomas Schwinge <thomas@codesourcery.com>
2253
99ff6e5c
TS
2254 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
2255 (FE_UPWARD, FE_DOWNWARD): Don't define.
2256 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
2257 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
2258
366af02c
TS
2259 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
2260 reading it.
2261 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
2262 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
2263
793ea851
KK
22642012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2265
2266 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
2267 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
2268 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
2269 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
2270
a728a38f
L
22712012-06-06 H.J. Lu <hongjiu.lu@intel.com>
2272
2273 [BZ #14117]
c08010c7
L
2274 * sysdeps/i386/fpu/bits/fenv.h: Removed.
2275 * sysdeps/i386/fpu/Implies: New file.
2276 * sysdeps/x86_64/fpu/Implies: Likewise.
2277 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
2278 * sysdeps/x86/fpu/bits/fenv.h: This.
2279
a728a38f
L
2280 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
2281 __SSE_MATH__.
2282
6e230d11
SP
22832012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
2284
2285 [BZ #14134]
2286 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
2287 character 0xffff that matches the last element of the
2288 conversion table.
2289
1b671feb
AZ
22902012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2291
2292 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
2293 fmodl commit.
2294
6043738b
AZ
22952012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2296
2297 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
2298 values higher than 25.6283.
2299
34ae0b32
AZ
23002012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2301
2302 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
2303 subnormal exponent extraction and add some __builtin_expect.
2304 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
2305 Fix for subnormal mantissa calculation.
2306
1214ec8f
MF
23072012-06-04 Mike Frysinger <vapier@gentoo.org>
2308
2309 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
2310 cpu2 is -1 and errno is not ENOSYS.
2311
f3d1f93c
L
23122012-06-04 H.J. Lu <hongjiu.lu@intel.com>
2313
2314 [BZ #14117]
0e4a3cd7
L
2315 * sysdeps/i386/i486/bits/string.h: Renamed to ...
2316 * sysdeps/x86/bits/string.h: This.
2317 * sysdeps/x86_64/bits/string.h: Removed.
2318
6704c645
L
2319 * sysdeps/i386/i486/bits/string.h: Define inline functions only
2320 if not compiling for x86-64, but compiling for >= i486.
2321
48495318
L
2322 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
2323 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
2324
14adcbfc
L
2325 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
2326 New macro from Linux kernel 3.4.0.
2327 (FP_XSTATE_MAGIC2): Likewise.
2328 (FP_XSTATE_MAGIC2_SIZE): Likewise.
2329 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
2330 (struct _fpx_sw_bytes): New struct.
2331 (struct _xsave_hdr): Likewise.
2332 (struct _ymmh_state): Likewise.
2333 (struct _xstate): Likewise.
2334
68e408ab
L
2335 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
2336 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
2337 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
2338 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
2339 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
2340 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
2341
f3d1f93c
L
2342 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
2343 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
2344 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
2345 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
2346 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
2347 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
2348
d9dc34cd
TMQMF
23492012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2350
2351 [BZ #13743]
2352 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
2353 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
2354 (sysdep_headers): Include sys/platform/ppc.h.
2355 * sysdeps/powerpc/test-gettimebase.c: Test for
2356 __ppc_get_timebase() to catch future ISA opcode/insn changes.
2357 * manual/Makefile (appendices): Include platform.texi.
2358 * manual/contrib.texi (Contributors): Update @node pointers.
2359 * manual/maint.texi (Maintenance): Likewise.
2360 (Platform): New node.
2361 * manual/platform.texi: New file. Document the new features.
2362
4af3879c
SP
23632012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2364 Jakub Jelinek <jakub@redhat.com>
2365
2366 [BZ #14188]
2367 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
2368 where __builtin_expect is unavailable.
2369
2fd6ff13
DM
23702012-06-03 David S. Miller <davem@davemloft.net>
2371
2372 * stdlib/longlong.h: Updated from GCC.
2373
173f7220
AS
23742012-06-02 Andreas Schwab <schwab@linux-m68k.org>
2375
2376 [BZ #14042]
2377 * sysdeps/powerpc/powerpc32/mcount.c: New file.
2378 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
2379 __mcount_internal.
2380 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
2381 (GLIBC_2.16): Likewise.
2382
f34a1c6f
L
23832012-06-01 H.J. Lu <hongjiu.lu@intel.com>
2384
2385 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
2386
88a4576f
JM
23872012-06-01 Joseph Myers <joseph@codesourcery.com>
2388
ea32bcdd
JM
2389 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
2390 (default-abi): New variable.
2391 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
2392 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
2393 variable.
2394 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
2395 Likewise.
2396 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
2397 Likewise.
2398 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
2399 Likewise.
2400
88a4576f
JM
2401 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
2402 definition. Document in comment.
2403
402fe938
DM
24042012-06-01 David S. Miller <davem@davemloft.net>
2405
2406 * stdlib/longlong.h: Updated from GCC.
2407
3553723f
L
24082012-06-01 H.J. Lu <hongjiu.lu@intel.com>
2409
2410 [BZ #14117]
3bd872c4
L
2411 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
2412 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
2413 sys/debugreg.h sys/io.h here.
2414 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
2415 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
2416 sys/io.h.
2417 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
2418 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
2419 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
2420 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
2421 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
2422 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
2423
3553723f
L
2424 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
2425 Define only if __x86_64__ is defined.
2426
4842e4fe
JM
24272012-06-01 Joseph Myers <joseph@codesourcery.com>
2428
c5bfe3d5
JM
2429 [BZ #14048]
2430 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
2431 Use int64_t for variable i.
2432 * math/libm-test.inc (fmod_test): Add more tests.
2433
4842e4fe
JM
2434 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
2435 z computation is not scheduled after fetestexcept.
2436 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
2437 Use math_force_eval instead of asm to ensure calculation scheduled
2438 before exception test.
2439 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
2440 Ensure a1 + u.d computation is not scheduled after fetestexcept.
2441
efb73488
AJ
24422012-06-01 Aurelien Jarno <aurelien@aurel32.net>
2443
2444 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
2445 computation is not scheduled after fetestexcept.
2446
29bcce7c
L
24472012-06-01 H.J. Lu <hongjiu.lu@intel.com>
2448
2449 [BZ #14117]
2450 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
2451 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
2452
73a68f94
AZ
24532012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2454
2455 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
2456 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
2457
67b6df78
L
24582012-05-31 H.J. Lu <hongjiu.lu@intel.com>
2459
edf2933a 2460 [BZ #14117]
ebc64a18
L
2461 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
2462 <bits/wordsize.h>.
2463 (__WCHAR_MIN): Support __WORDSIZE == 64.
2464 (__WCHAR_MAX): Likewise.
2465
edf2933a
L
2466 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
2467 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
2468
57c6cf40
L
2469 [BZ #14183]
2470 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
2471 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
2472
67b6df78 2473 [BZ #14117]
8eb6281e
L
2474 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
2475 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
2476
aac639f4
L
2477 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
2478 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
2479
67b6df78
L
2480 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
2481 Defined to 1 if __x86_64__ isn't defined.
2482 (_STAT_VER_LINUX_OLD): New.
2483 (st_atime): Remove duplicate.
2484 (st_mtime): Likewise.
2485 (st_ctime): Likewise.
2486
1c2cfe81
DM
24872012-05-31 David S. Miller <davem@davemloft.net>
2488
2489 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
2490 entries.
2491
5be8418c
AS
24922012-06-01 Andreas Schwab <schwab@linux-m68k.org>
2493
e7725326
AS
2494 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
2495 gen-libm-test.pl.
2496
5be8418c
AS
2497 [BZ #14132]
2498 * elf/dl-reloc.c: Include <_itoa.h>.
2499 (_dl_reloc_bad_type): Remove use of INTUSE.
2500 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
2501 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
2502 * stdio-common/psiginfo.c (psiginfo): Likewise.
2503 * stdio-common/psignal.c (psignal): Likewise.
2504 * string/strsignal.c (strsignal): Likewise.
2505 * include/signal.h (_sys_siglist): Declare hidden proto.
2506 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
2507 INTVARDEF with libc_hidden_data_def.
2508 * stdio-common/itoa-udigits.c: Likewise.
2509 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
2510 (_itoa_lower_digits_internal): Remove declaration.
2511 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
2512 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
2513 (_sys_sigabbrev_internal): Remove aliases.
2514 (_sys_siglist): Define hidden alias.
2515
507352f1
MT
25162012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
2517
2518 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2519 bits/sysctl.h.
2520
42bbb1c3
L
25212012-05-31 H.J. Lu <hongjiu.lu@intel.com>
2522
2523 [BZ #14117]
6bd784b6
L
2524 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
2525 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
2526
8bca20f0
L
2527 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
2528 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
2529 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
2530 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
2531 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
2532 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
2533
f9e890a9
L
2534 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
2535 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
2536 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
2537
471101a1
L
2538 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
2539 with __addr.
2540 (insw): Likewise.
2541 (insl): Likewise.
2542 (outsb): Likewise.
2543 (outsw): Likewise.
2544 (outsl): Likewise.
2545
6451c862
L
2546 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
2547 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
2548 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
2549
a254b8c9
L
2550 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
2551 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
2552 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
2553 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
2554 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
2555 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
2556
b8dfdd92
L
2557 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
2558 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
2559
578cd270
L
2560 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
2561 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
2562
de662f5f
L
2563 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
2564 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
2565 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
2566
25653439
L
2567 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
2568 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
2569 to ...
2570 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
2571
6bad24a0
L
2572 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
2573 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
2574 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
2575
42bbb1c3
L
2576 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
2577 for x86-64.
2578 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
2579
2d10d547
JM
25802012-05-31 Joseph Myers <joseph@codesourcery.com>
2581
2582 * math/math.h (M_El): Use two more decimal places.
2583 (M_LOG2El): Likewise.
2584 (M_LOG10El): Likewise.
2585 (M_LN2l): Likewise.
2586 (M_LN10l): Likewise.
2587 (M_PIl): Likewise.
2588 (M_PI_2l): Likewise.
2589 (M_PI_4l): Likewise.
2590 (M_1_PIl): Likewise.
2591 (M_2_PIl): Likewise.
2592 (M_2_SQRTPIl): Likewise.
2593 (M_SQRT2l): Likewise.
2594 (M_SQRT1_2l): Likewise.
2595
f230c29b
DM
25962012-05-31 David S. Miller <davem@davemloft.net>
2597
2598 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
2599 values between float registers.
2600 * sysdeps/sparc/sparc64/memset.S: Likewise.
2601 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
2602
fed806c3
MF
26032012-05-31 Mike Frysinger <vapier@gentoo.org>
2604
2605 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
2606 -D_FORTIFY_SOURCE=1.
2607 (CPPFLAGS-tst-longjmp_chk.c): Define.
2608 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
2609 (CPPFLAGS-tst-longjmp_chk2.c): Define.
2610 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
2611 CFLAGS-tst-wchar-h.c.
2612
30917259
MP
26132012-05-31 Marek Polacek <polacek@redhat.com>
2614
2615 [BZ #14132]
2616 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
2617 __endmntent_internal): Remove declaration.
2618 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
2619 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
2620 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
2621
1c58d5dc
DM
26222012-05-30 David S. Miller <davem@davemloft.net>
2623
2624 * sysdeps/sparc/sparc32/soft-fp/q_util.c
2625 (___Q_simulate_exceptions): Use real FP ops rather than writing
2626 into the %fsr.
2627 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
2628 Likewise.
2629
7dc00e0d
L
26302012-05-30 H.J. Lu <hongjiu.lu@intel.com>
2631
2632 [BZ #14117]
0bd53985
L
2633 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
2634 * sysdeps/x86/bits/xtitypes.h: This.
2635
3a257e66
L
2636 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
2637 * sysdeps/x86/bits/wordsize.h: This.
2638
62f62904
L
2639 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
2640 * sysdeps/x86/bits/huge_vall.h: This.
2641
404fe9d9
L
2642 * sysdeps/i386/bits/select.h: Removed.
2643 * sysdeps/x86_64/bits/select.h: Renamed to ...
2644 * sysdeps/x86/bits/select.h: This.
2645
d48d0446
L
2646 * sysdeps/i386/bits/setjmp.h: Removed.
2647 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
2648 * sysdeps/x86/bits/setjmp.h: This.
2649
7dc00e0d
L
2650 * sysdeps/i386/bits/mathdef.h: Removed.
2651 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
2652 * sysdeps/x86/bits/mathdef.h: This.
2653
03277f8f
AS
26542012-05-30 Andreas Schwab <schwab@linux-m68k.org>
2655
2656 [BZ #14132]
2657 * include/sys/socket.h (__connect_internal)
2658 (__libc_sa_len_internal): Remove declaration.
2659 (__connect, __libc_sa_len): Declare hidden_proto.
2660 (SA_LEN): Remove use of INTUSE.
2661 * socket/connect.c: Add libc_hidden_def.
2662 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
2663 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
2664 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
2665 alias.
2666 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
2667 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
2668 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
2669 of adding _internal alias.
2670
13764867
L
26712012-05-30 H.J. Lu <hongjiu.lu@intel.com>
2672
2673 [BZ #14117]
6bd97696
L
2674 * sysdeps/i386/bits/link.h: Removed.
2675 * sysdeps/i386/bits/linkmap.h: Likewise.
2676 * sysdeps/x86_64/bits/link.h: Renamed to ...
2677 * sysdeps/x86/bits/link.h: This.
2678 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
2679 * sysdeps/x86/bits/linkmap.h: This.
2680
f726f0bb
L
2681 * sysdeps/i386/bits/endian.h: Removed.
2682 * sysdeps/x86_64/bits/endian.h: Renamed to ...
2683 * sysdeps/x86/bits/endian.h: This.
2684
13764867
L
2685 * sysdeps/i386/bits/byteswap.h: Removed.
2686 * sysdeps/i386/bits/byteswap-16.h: Likewise.
2687 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
2688 * sysdeps/x86/bits/byteswap.h: This.
2689 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
2690 * sysdeps/x86/bits/byteswap-16.h: This.
2691 * sysdeps/i386/Implies: Add x86.
2692 * sysdeps/x86_64/Implies: Likewise.
2693
ae251b0b
DM
26942012-05-30 David S. Miller <davem@davemloft.net>
2695
2696 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
2697 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
2698 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
2699 (FP_TRAPPING_EXCEPTIONS): Define.
2700 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
2701 (FP_TRAPPING_EXCEPTIONS): Define.
2702 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
2703 subnormals only when inexact has been signalled or underflow
2704 exceptions are enabled.
2705 (_FP_PACK_CANONICAL): Likewise.
2706
d5c90867
L
27072012-05-30 H.J. Lu <hongjiu.lu@intel.com>
2708
2709 [BZ #14183]
2710 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
2711 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
2712
63f1549e
RH
27132012-05-30 Richard Henderson <rth@twiddle.net>
2714
8d8f2279
RH
2715 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
2716 with #ifndef NOT_IN_libc.
2717
63f1549e
RH
2718 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
2719 marked to avoid plt entry.
2720
0ab0291b
L
27212012-05-30 H.J. Lu <hongjiu.lu@intel.com>
2722
2723 [BZ #14112]
2724 * Makeconfig (default-abi): New macro.
2725 (abi-includes): Likewise.
2726 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
2727 $(abi-$(default-abi)-lib-soname) for soname if defined.
2728 ($(common-objpfx)gnu/lib-names.stmp): Generate from
2729 abi-variants.
2730 * Makefile (installed-stubs): Likewise.
2731 * include/stubs-biarch.h: Removed.
2732 * scripts/lib-names.awk: Only handle one library at a time.
2733 * scripts/soversions.awk: Remove WORDSIZE support.
2734 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
2735 entries.
2736 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
2737 Removed.
2738 (syscall-list-default-condition): Likewise.
2739 (syscall-list-default-condition): Likewise.
2740 (syscall-list-includes): Likewise.
2741 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
2742 syscall-list-* with abi-*. Handle undefined abi-variants.
2743 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
2744 * sysdeps/unix/sysv/linux/i386/Implies: New file.
2745 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
2746 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
2747 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
2748 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
2749 Removed.
2750 (syscall-list-32-options): Likewise.
2751 (syscall-list-32-condition): Likewise.
2752 (syscall-list-64-options): Likewise.
2753 (syscall-list-64-condition): Likewise.
2754 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
2755 macro.
2756 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
2757 Renamed to ...
2758 (abi-*): This.
2759 (abi-64-ld-soname): New macro.
2760 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
2761 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
2762 Renamed to ...
2763 (abi-*): This.
2764 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
2765 * sysdeps/x86_64/x32/shlib-versions: Likewise.
2766
4da0431d
JM
27672012-05-30 Joseph Myers <joseph@codesourcery.com>
2768
3a85279c
JM
2769 * sysdeps/unix/sysv/linux/kernel-features.h
2770 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
2771 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
2772 include <kernel-features.h>.
2773 [!__NR_ftruncate64]: Remove conditional code.
2774 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2775 [__NR_ftruncate64]: Make code unconditional.
2776 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2777 * sysdeps/unix/sysv/linux/truncate64.c: Do not
2778 include <kernel-features.h>.
2779 [!__NR_ftruncate64]: Remove conditional code.
2780 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2781 [__NR_ftruncate64]: Make code unconditional.
2782 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2783 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
2784 include <kernel-features.h>.
2785 [!__NR_ftruncate64]: Remove conditional code.
2786 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2787 [__NR_ftruncate64]: Make code unconditional.
2788 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2789 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
2790 include <kernel-features.h>.
2791 [!__NR_ftruncate64]: Remove conditional code.
2792 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2793 [__NR_ftruncate64]: Make code unconditional.
2794 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2795
4da0431d
JM
2796 * configure.in (libc_cv_fpie): Weaken to a compile test using
2797 LIBC_TRY_CC_OPTION.
2798 * configure: Regenerated.
2799
11ef492c
AK
28002012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2801
2802 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
2803 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
2804 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
2805 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
2806 Refreshed.
2807 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
2808 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
2809 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
2810 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
2811 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
2812 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2813 Refreshed.
2814
d66ef399
DM
28152012-05-27 David S. Miller <davem@davemloft.net>
2816
2817 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
2818 (___Q_zero): New.
2819 (__Q_simulate_exceptions): Return void. Change to simulate
2820 exceptions by writing into the %fsr.
2821 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
2822 (__Qp_handle_exceptions): Likewise.
2823 (numbers): Delete.
2824 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
2825 __Qp_handle_exceptions.
2826 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
2827 __Qp_handle_exceptions.
2828 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
2829 as unused and give dummy FP_RND_NEAREST initializer.
2830 (FP_INHIBIT_RESULTS): Define.
2831 (___Q_simulate_exceptions): Update declaration.
2832 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
2833 formatting.
2834 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
2835 as unused and give dummy FP_RND_NEAREST initializer.
2836 (__Qp_handle_exceptions): Update declaration.
2837 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
2838 formatting.
2839
04fb54b5
TS
28402012-05-27 Thomas Schwinge <thomas@codesourcery.com>
2841
2842 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
2843 the temporary FPU control word.
2844 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
2845 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
2846 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
2847 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
2848 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
2849 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
2850 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
2851 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
2852 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
2853 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
2854 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
2855
3f99608f
KK
28562012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2857
2858 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
2859 fields.
2860
65a4de4e
CLT
28612012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
2862
2863 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
2864 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
2865 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
2866 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
2867 Likewise.
2868 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
2869 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
2870 Likewise.
2871
15749d40
UD
28722012-05-27 Ulrich Drepper <drepper@gmail.com>
2873
2874 * po/h.po: Update from translation team.
2875
25dbcb27
AS
28762012-05-26 Andreas Schwab <schwab@linux-m68k.org>
2877
3d3f8e55
AS
2878 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
2879
25dbcb27
AS
2880 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
2881 handling of denormals.
2882 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
2883 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
2884 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
2885 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
2886 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
2887 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
2888 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
2889 Likewise.
2890
7ad47a80 28912012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
2892
2893 [BZ #14152]
2894 * math/libm-test.inc (fma_test): Don't always expect underflow
2895 exception.
2896
9c6ea9fa
SP
28972012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2898
2899 [BZ #12416]
2900 * elf/tst-execstack.c: Include stackinfo.h.
2901 (do_test): Adjust test case to ensure that pthread_getattr_np
2902 behaviour remains the same after marking stack executable.
2903
a8239222
JM
29042012-05-25 Joseph Myers <joseph@codesourcery.com>
2905
2906 * sysdeps/unix/sysv/linux/kernel-features.h
2907 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
2908 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
2909 kernel-features.h.
2910 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
2911 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
2912 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
2913 kernel-features.h.
2914 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
2915 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
2916
918b5606
L
29172012-05-25 H.J. Lu <hongjiu.lu@intel.com>
2918
2919 * configure.in: Define the default includes to being none.
2920 * configure: Regenerated.
2921
3a097cc7
RM
29222012-05-25 Roland McGrath <roland@hack.frob.com>
2923
8422c9a5
RM
2924 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
2925 * sysdeps/x86_64/setjmp.S: Likewise.
2926 * sysdeps/i386/bsd-setjmp.S: Likewise.
2927 * sysdeps/i386/bsd-_setjmp.S: Likewise.
2928 * sysdeps/i386/setjmp.S: Likewise.
2929 * sysdeps/i386/__longjmp.S: Likewise.
2930 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
2931 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
2932
3a097cc7
RM
2933 * include/stap-probe.h: New file.
2934 * configure.in: Handle --enable-systemtap.
2935 * configure: Regenerated.
2936 * config.h.in (USE_STAP_PROBE): New #undef.
2937 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
2938 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
2939 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
2940
21708942
JM
29412012-05-25 Joseph Myers <joseph@codesourcery.com>
2942
2943 [BZ #13717]
2944 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
2945 to 2.4.0 where earlier.
2946 * sysdeps/unix/sysv/linux/configure: Regenerated.
2947 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
2948 <kernel-features.h>.
2949 [__ASSUME_32BITUIDS]: Make code unconditional.
2950 [!__ASSUME_32BITUIDS]: Remove conditional code.
2951 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
2952 <kernel-features.h>.
2953 [__ASSUME_32BITUIDS]: Make code unconditional.
2954 [!__ASSUME_32BITUIDS]: Remove conditional code.
2955 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
2956 [__ASSUME_32BITUIDS]: Make code unconditional.
2957 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
2958 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
2959 <kernel-features.h>.
2960 [__ASSUME_32BITUIDS]: Make code unconditional.
2961 [!__ASSUME_32BITUIDS]: Remove conditional code.
2962 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
2963 <kernel-features.h>.
2964 [__ASSUME_32BITUIDS]: Make code unconditional.
2965 [!__ASSUME_32BITUIDS]: Remove conditional code.
2966 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
2967 <kernel-features.h>.
2968 [__ASSUME_32BITUIDS]: Make code unconditional.
2969 [!__ASSUME_32BITUIDS]: Remove conditional code.
2970 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
2971 <kernel-features.h>.
2972 [__ASSUME_32BITUIDS]: Make code unconditional.
2973 [!__ASSUME_32BITUIDS]: Remove conditional code.
2974 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
2975 <kernel-features.h>.
2976 [__ASSUME_32BITUIDS]: Make code unconditional.
2977 [!__ASSUME_32BITUIDS]: Remove conditional code.
2978 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
2979 <kernel-features.h>.
2980 [__ASSUME_32BITUIDS]: Make code unconditional.
2981 [!__ASSUME_32BITUIDS]: Remove conditional code.
2982 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
2983 <kernel-features.h>.
2984 [__ASSUME_32BITUIDS]: Make code unconditional.
2985 [!__ASSUME_32BITUIDS]: Remove conditional code.
2986 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
2987 <kernel-features.h>.
2988 [__ASSUME_32BITUIDS]: Make code unconditional.
2989 [!__ASSUME_32BITUIDS]: Remove conditional code.
2990 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
2991 <kernel-features.h>.
2992 [__ASSUME_32BITUIDS]: Make code unconditional.
2993 [!__ASSUME_32BITUIDS]: Remove conditional code.
2994 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
2995 <kernel-features.h>.
2996 [__ASSUME_32BITUIDS]: Make code unconditional.
2997 [!__ASSUME_32BITUIDS]: Remove conditional code.
2998 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
2999 <kernel-features.h>.
3000 [__NR_setresgid] (__setresgid): Do not declare.
3001 [__ASSUME_32BITUIDS]: Make code unconditional.
3002 [!__ASSUME_32BITUIDS]: Remove conditional code.
3003 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
3004 <kernel-features.h>.
3005 [__NR_setresuid] (__setresuid): Do not declare.
3006 [__ASSUME_32BITUIDS]: Make code unconditional.
3007 [!__ASSUME_32BITUIDS]: Remove conditional code.
3008 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
3009 <kernel-features.h>.
3010 [__ASSUME_32BITUIDS]: Make code unconditional.
3011 [!__ASSUME_32BITUIDS]: Remove conditional code.
3012 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
3013 <kernel-features.h>.
3014 [__ASSUME_32BITUIDS]: Make code unconditional.
3015 [!__ASSUME_32BITUIDS]: Remove conditional code.
3016 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
3017 <kernel-features.h>.
3018 [__ASSUME_32BITUIDS]: Make code unconditional.
3019 [!__ASSUME_32BITUIDS]: Remove conditional code.
3020 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
3021 <kernel-features.h>.
3022 [__ASSUME_32BITUIDS]: Make code unconditional.
3023 [!__ASSUME_32BITUIDS]: Remove conditional code.
3024 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
3025 <kernel-features.h>.
3026 [__ASSUME_32BITUIDS]: Make code unconditional.
3027 [!__ASSUME_32BITUIDS]: Remove conditional code.
3028 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
3029 <kernel-features.h>.
3030 [__ASSUME_32BITUIDS]: Make code unconditional.
3031 [!__ASSUME_32BITUIDS]: Remove conditional code.
3032 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
3033 <kernel-features.h>.
3034 [__ASSUME_32BITUIDS]: Make code unconditional.
3035 [!__ASSUME_32BITUIDS]: Remove conditional code.
3036 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
3037 <kernel-features.h>.
3038 [__ASSUME_32BITUIDS]: Make code unconditional.
3039 [!__ASSUME_32BITUIDS]: Remove conditional code.
3040 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
3041 <kernel-features.h>.
3042 [__ASSUME_32BITUIDS]: Make code unconditional.
3043 [!__ASSUME_32BITUIDS]: Remove conditional code.
3044 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
3045 <kernel-features.h>.
3046 [__ASSUME_32BITUIDS]: Make code unconditional.
3047 [!__ASSUME_32BITUIDS]: Remove conditional code.
3048 * sysdeps/unix/sysv/linux/kernel-features.h
3049 (__ASSUME_SETRESUID_SYSCALL): Remove.
3050 (__ASSUME_SETRESGID_SYSCALL): Likewise.
3051 (__ASSUME_32BITUIDS): Likewise.
3052 (__ASSUME_LDT_WORKS): Likewise.
3053 (__ASSUME_O_DIRECTORY): Likewise.
3054 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
3055 architecture but not kernel version.
3056 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
3057 (__ASSUME_MMAP2_SYSCALL): Likewise.
3058 (__ASSUME_STAT64_SYSCALL): Likewise.
3059 (__ASSUME_IPC64): Likewise.
3060 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
3061 <kernel-features.h>.
3062 [__ASSUME_32BITUIDS]: Make code unconditional.
3063 [!__ASSUME_32BITUIDS]: Remove conditional code.
3064 * sysdeps/unix/sysv/linux/opendir.c: Do not include
3065 <kernel-features.h>.
3066 [__ASSUME_O_DIRECTORY]: Make code unconditional.
3067 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
3068 132096]: Remove conditional code.
3069 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
3070 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
3071 <kernel-features.h>.
3072 [__ASSUME_32BITUIDS]: Make code unconditional.
3073 [!__ASSUME_32BITUIDS]: Remove conditional code.
3074 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
3075 <kernel-features.h>.
3076 [__ASSUME_32BITUIDS]: Make code unconditional.
3077 [!__ASSUME_32BITUIDS]: Remove conditional code.
3078 * sysdeps/unix/sysv/linux/setegid.c: Do not include
3079 <kernel-features.h>.
3080 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
3081 unconditional.
3082 (__setresgid): Do not declare.
3083 [__ASSUME_32BITUIDS]: Make code unconditional.
3084 [!__ASSUME_32BITUIDS]: Remove conditional code.
3085 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
3086 <kernel-features.h>.
3087 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
3088 unconditional.
3089 (__setresuid): Do not declare.
3090 [__ASSUME_32BITUIDS]: Make code unconditional.
3091 [!__ASSUME_32BITUIDS]: Remove conditional code.
3092 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
3093 <kernel-features.h>.
3094 [__ASSUME_32BITUIDS]: Make code unconditional.
3095 [!__ASSUME_32BITUIDS]: Remove conditional code.
3096 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
3097 <kernel-features.h>.
3098 [__ASSUME_32BITUIDS]: Make code unconditional.
3099 [!__ASSUME_32BITUIDS]: Remove conditional code.
3100
a386f1cc
RH
31012012-05-25 Richard Henderson <rth@twiddle.net>
3102
3103 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
3104 dl_hwcap to ifunc resolver.
3105 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
3106 elf_ifunc_invoke.
3107 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
3108 dl_hwcap to ifunc resolver.
3109 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
3110
b6550497
JM
31112012-05-24 Joseph Myers <joseph@codesourcery.com>
3112
3113 [BZ #14153]
3114 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
3115 for |x| <= 2**-26, not 2**-57.
3116 * math/libm-test.inc (acos_test): Do not allow spurious underflow
3117 exception.
3118
b0bc23a1
JL
31192012-05-24 Jeff Law <law@redhat.com>
3120
3121 * stdio-common/Makefile (tests): Add bug25.
3122 * stdio-common/bug25.c: New test.
3123
347c92e9
L
31242012-05-24 H.J. Lu <hongjiu.lu@intel.com>
3125
3126 [BZ #13576]
3127 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
3128 multiple of MALLOC_ALIGNMENT in size.
3129 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
3130
6bcc8b3f
JM
31312012-05-24 Joseph Myers <joseph@codesourcery.com>
3132
3133 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
3134 Require >= 256.
3135 (FILENAME_MAX): Use macro-int-constant.
3136 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
3137 (_IOFBF): Use macro-int-constant.
3138 (_IOLBF): Likewise.
3139 (_IONBF): Likewise.
3140 (SEEK_CUR): Likewise.
3141 (SEEK_END): Likewise.
3142 (SEEK_SET): Likewise.
3143 (TMP_MAX): Likewise.
3144 (EOF): Use macro-int-constant. Require < 0.
3145 (NULL): Use macro-constant. Require == 0.
3146 (stdin): Require type to be FILE *.
3147 (stdout): Likewise.
3148 (stderr): Likewise.
3149 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
3150 macro-int-constant.
3151 (EXIT_SUCCESS): Likewise.
3152 (NULL): Use macro-constant. Require == 0.
3153 (RAND_MAX): Use macro-int-constant.
3154 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
3155 [C99-based standards] (strtof): Require function.
3156 [C99-based standards] (strtold): Likewise.
3157 [C99-based standards] (strtoll): Likewise.
3158 [C99-based standards] (strtoull): Likewise.
3159 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
3160 [ISO || ISO99 || ISO11] (limits.h): Likewise.
3161 [ISO || ISO99 || ISO11] (math.h): Likewise.
3162 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
3163 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
3164 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3165
d18ea0c5
AS
31662012-05-24 Andreas Schwab <schwab@linux-m68k.org>
3167
3168 [BZ #14132]
56d25bb8
AS
3169 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
3170 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
3171 * intl/dgettext.c (DCGETTEXT): Likewise.
3172 * intl/gettext.c (DCGETTEXT): Likewise.
3173 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
3174 * posix/regex_internal.h (gettext): Likewise.
3175 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
3176 Remove declaration.
3177 * include/argz.h (__argz_count_internal)
3178 (__argz_stringify_internal): Remove declaration.
3179 (__argz_count, __argz_stringify): Declare hidden proto.
3180 * intl/dcgettext.c: Remove use of INTDEF.
3181 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
3182 * string/argz-stringify.c: Likewise.
3183 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
3184 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
3185 Declare hidden proto.
d18ea0c5
AS
3186 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
3187 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
3188 Declare hidden proto.
3189 * include/stdio.h (__asprintf_internal): Don't declare.
3190 (__asprintf): Don't define as macro. Declare hidden proto.
3191 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
3192 (__fsetlocking): Declare hidden proto.
3193 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
3194 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
3195 hidden proto.
3196 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
3197 (_IO_setlinebuf): Remove use of INTUSE.
3198 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
3199 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
3200 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
3201 Remove declaration.
3202 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
3203 (_IO_do_flush): Remove use of INTUSE.
3204 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
3205 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
3206 (_IO_adjust_column, _IO_least_wmarker)
3207 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
3208 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
3209 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
3210 (_IO_default_doallocate, _IO_wdefault_doallocate)
3211 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
3212 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
3213 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
3214 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
3215 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
3216 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
3217 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
3218 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
3219 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
3220 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
3221 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
3222 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
3223 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
3224 proto.
3225 (_IO_flush_all_internal, _IO_adjust_column_internal)
3226 (_IO_default_uflow_internal, _IO_default_finish_internal)
3227 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
3228 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
3229 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
3230 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
3231 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
3232 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
3233 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
3234 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
3235 (_IO_file_close_internal, _IO_file_close_it_internal)
3236 (_IO_file_underflow_internal, _IO_file_overflow_internal)
3237 (_IO_file_init_internal, _IO_file_attach_internal)
3238 (_IO_file_fopen_internal, _IO_file_read_internal)
3239 (_IO_file_sync_internal, _IO_file_seek_internal)
3240 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
3241 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
3242 (_IO_str_underflow_internal, _IO_str_overflow_internal)
3243 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
3244 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
3245 (_IO_list_all_internal, _IO_link_in_internal)
3246 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
3247 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
3248 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
3249 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
3250 (_IO_do_write_internal, _IO_padn_internal)
3251 (_IO_getline_info_internal, _IO_getline_internal)
3252 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
3253 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
3254 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
3255 (_IO_vfscanf_internal, _IO_vfprintf_internal)
3256 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
3257 (_IO_init_internal, _IO_un_link_internal): Don't declare.
3258 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
3259 with libc_hidden_ver, remove use of INTUSE.
3260 * libio/genops.c: Likewise.
3261 * libio/freopen.c: Likewise.
3262 * libio/freopen64.c: Likewise.
3263 * libio/iofclose.c: Likewise.
3264 * libio/iofdopen.c: Likewise.
3265 * libio/iofflush.c: Likewise.
3266 * libio/iofflush_u.c: Likewise.
3267 * libio/iofgets.c: Likewise.
3268 * libio/iofgets_u.c: Likewise.
3269 * libio/iofopen.c: Likewise.
3270 * libio/iofopncook.c: Likewise.
3271 * libio/iofread.c: Likewise.
3272 * libio/iofread_u.c: Likewise.
3273 * libio/ioftell.c: Likewise.
3274 * libio/iofwrite.c: Likewise.
3275 * libio/iogetline.c: Likewise.
3276 * libio/iogets.c: Likewise.
3277 * libio/iogetwline.c: Likewise.
3278 * libio/iopadn.c: Likewise.
3279 * libio/iopopen.c: Likewise.
3280 * libio/ioseekoff.c: Likewise.
3281 * libio/ioseekpos.c: Likewise.
3282 * libio/iosetbuffer.c: Likewise.
3283 * libio/iosetvbuf.c: Likewise.
3284 * libio/ioungetc.c: Likewise.
3285 * libio/ioungetwc.c: Likewise.
3286 * libio/iovdprintf.c: Likewise.
3287 * libio/iovsprintf.c: Likewise.
3288 * libio/iovsscanf.c: Likewise.
3289 * libio/memstream.c: Likewise.
3290 * libio/obprintf.c: Likewise.
3291 * libio/oldfileops.c: Likewise.
3292 * libio/oldiofclose.c: Likewise.
3293 * libio/oldiofdopen.c: Likewise.
3294 * libio/oldiofopen.c: Likewise.
3295 * libio/oldiopopen.c: Likewise.
3296 * libio/oldstdfiles.c: Likewise.
3297 * libio/putc.c: Likewise.
3298 * libio/setbuf.c: Likewise.
3299 * libio/setlinebuf.c: Likewise.
3300 * libio/stdfiles.c: Likewise.
3301 * libio/strops.c: Likewise.
3302 * libio/vasprintf.c: Likewise.
3303 * libio/vscanf.c: Likewise.
3304 * libio/vsnprintf.c: Likewise.
3305 * libio/vswprintf.c: Likewise.
3306 * libio/wfiledoalloc.c: Likewise.
3307 * libio/wfileops.c: Likewise.
3308 * libio/wgenops.c: Likewise.
3309 * libio/wmemstream.c: Likewise.
3310 * libio/wstrops.c: Likewise.
3311 * libio/__fpurge.c: Likewise.
3312 * libio/__fsetlocking.c: Likewise.
3313 * assert/assert.c: Likewise.
3314 * debug/fgets_chk.c: Likewise.
3315 * debug/fgets_u_chk.c: Likewise.
3316 * debug/fread_chk.c: Likewise.
3317 * debug/fread_u_chk.c: Likewise.
3318 * debug/gets_chk.c: Likewise.
3319 * debug/obprintf_chk.c: Likewise.
3320 * debug/vasprintf_chk.c: Likewise.
3321 * debug/vdprintf_chk.c: Likewise.
3322 * debug/vsnprintf_chk.c: Likewise.
3323 * debug/vsprintf_chk.c: Likewise.
3324 * malloc/mtrace.c: Likewise.
3325 * misc/error.c: Likewise.
3326 * misc/syslog.c: Likewise.
3327 * stdio-common/asprintf.c: Likewise.
3328 * stdio-common/fxprintf.c: Likewise.
3329 * stdio-common/getw.c: Likewise.
3330 * stdio-common/isoc99_fscanf.c: Likewise.
3331 * stdio-common/isoc99_scanf.c: Likewise.
3332 * stdio-common/isoc99_vfscanf.c: Likewise.
3333 * stdio-common/isoc99_vscanf.c: Likewise.
3334 * stdio-common/isoc99_vsscanf.c: Likewise.
3335 * stdio-common/printf-prs.c: Likewise.
3336 * stdio-common/printf_fp.c: Likewise.
3337 * stdio-common/printf_fphex.c: Likewise.
3338 * stdio-common/printf_size.c: Likewise.
3339 * stdio-common/putw.c: Likewise.
3340 * stdio-common/scanf.c: Likewise.
3341 * stdio-common/sprintf.c: Likewise.
3342 * stdio-common/tmpfile.c: Likewise.
3343 * stdio-common/vfprintf.c: Likewise.
3344 * stdio-common/vfscanf.c: Likewise.
3345 * stdlib/strfmon_l.c: Likewise.
3346 * sunrpc/openchild.c: Likewise.
3347 * sunrpc/xdr_stdio.c: Likewise.
3348 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
3349 * sysdeps/mach/hurd/tmpfile.c: Likewise.
3350
d6c33fda
RM
33512012-05-24 Roland McGrath <roland@hack.frob.com>
3352
c1487492
RM
3353 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
3354
3355 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
3356 in the third column, to generate for the shared library an IFUNC
3357 that uses _dl_vdso_vsym.
3358 * Makerules (COMPILE.c, compile-stdin.c): New variables.
3359 * Makeconfig (object-suffixes-noshared): New variable.
3360
3361 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
3362 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
3363 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
3364 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
3365
d6c33fda
RM
3366 [BZ #14132]
3367 * include/sys/time.h (__gettimeofday): Remove macro.
3368 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
3369 * time/gettimeofday.c (__gettimeofday): Remove #undef.
3370 Remove INTDEF.
3371 (__gettimeofday): Add libc_hidden_def.
3372 (gettimeofday): Add libc_hidden_weak.
3373 * sysdeps/mach/gettimeofday.c: Likewise.
3374 * sysdeps/posix/gettimeofday.c: Likewise.
3375 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
3376 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
3377 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
3378 (__gettimeofday_internal): Remove strong_alias.
3379 (__gettimeofday): Add libc_hidden_def.
3380 (gettimeofday): Add libc_hidden_weak.
3381 * sysdeps/unix/syscalls.list (gettimeofday):
3382 Remove __gettimeofday_internal alias.
3383
b5a2bbe6
L
33842012-05-24 Daniel Jacobowitz <drow@false.org>
3385 H.J. Lu <hongjiu.lu@intel.com>
3386
3387 [BZ #12495]
3388 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
3389 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
3390 (largebin_index_32_big): New.
3391 (largebin_index): Use it for 16-byte alignment.
3392 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
3393 correction with front_misalign.
3394
cfba4fda
L
33952012-05-24 H.J. Lu <hongjiu.lu@intel.com>
3396
7f907421
L
3397 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
3398 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
3399 Likewise.
3400 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
3401 Likewise.
3402 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
3403 Likewise.
3404 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
3405 Likewise.
3406 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
3407 Likewise.
3408 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
3409 Likewise.
3410 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
3411 Likewise.
3412 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
3413 Likewise.
3414 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
3415 Likewise.
3416 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
3417 Likewise.
3418 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
3419 Likewise.
3420 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
3421 Likewise.
3422
cfba4fda
L
3423 * scripts/data/c++-types-x32-linux-gnu.data: New file.
3424 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
3425
80bad0cc
JM
34262012-05-24 Joseph Myers <joseph@codesourcery.com>
3427
7a25eb06
JM
3428 [BZ #10846]
3429 [BZ #14036]
3430 * math/libm-test.inc (exp_test): Add test from bug 14036.
3431 (pow_test): Add test from bug 10846.
3432
795405f9
JM
3433 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
3434 and other flags.
3435 (special_function): Do not include flags in test name.
3436 (parse_args): Likewise.
3437 * sysdeps/i386/fpu/libm-test-ulps: Update.
3438 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3439 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3440 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
3441 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3442
80bad0cc
JM
3443 * math/gen-libm-test.pl (%beautify): Add entries for underflow
3444 exceptions.
3445 * math/libm-test.inc ("Philosophy"): Update comment about
3446 exception testing.
3447 (UNDERFLOW_EXCEPTION): New macro.
3448 (UNDERFLOW_EXCEPTION_OK): Likewise.
3449 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
3450 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
3451 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
3452 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
3453 (INVALID_EXCEPTION_OK): Update value.
3454 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
3455 (OVERFLOW_EXCEPTION_OK): Likewise.
3456 (IGNORE_ZERO_INF_SIGN): Likewise.
3457 (test_exceptions): Handle underflow exceptions.
3458 (acos_test): Update for underflow exception expectations.
3459 (cexp_test): Likewise.
3460 (clog_test): Likewise.
3461 (clog10_test): Likewise.
3462 (csqrt_test): Likewise.
3463 (ctan_test): Likewise.
3464 (ctanh_test): Likewise.
3465 (exp_test): Likewise.
3466 (exp10_test): Likewise.
3467 (exp2_test): Likewise.
3468 (expm1_test): Likewise.
3469 (fma_test): Likewise.
3470 (j0_test): Likewise.
3471 (jn_test): Likewise.
3472 (nexttoward_test): Likewise.
3473 (pow_test): Likewise.
3474 (scalbn_test): Likewise.
3475 (scalbln_test): Likewise.
3476 (tan_test): Likewise.
3477 (y1_test): Likewise.
3478 * sysdeps/i386/fpu/libm-test-ulps: Update.
3479 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3480
9e0e3d0b
DM
34812012-05-23 David S. Miller <davem@davemloft.net>
3482
3483 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
3484 (__libc_sigaction): Remove unused local variables.
3485
ccd0a08f
L
34862012-05-23 H.J. Lu <hongjiu.lu@intel.com>
3487
3488 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
3489
62bdf9a6
PE
34902012-05-23 Paul Eggert <eggert@cs.ucla.edu>
3491
f8591f80
PE
3492 mktime: avoid signed integer overflow
3493 * time/mktime.c (__mktime_internal): Do not mishandle the case
3494 where diff == INT_MIN.
3495
94c7d826
PE
3496 mktime: simplify computation of average
3497 * time/mktime.c (ranged_convert): Use new time_t_avg function
3498 instead of rolling our own (probably-slower) code.
3499
ce73d683
PE
3500 mktime: do not assume signed right shift propagates sign bit
3501 * time/mktime.c (isdst_differ): New static function.
3502 (__mktime_internal): No need to normalize tm_isdst now.
3503 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
3504 tm_isdst values.
3505
72a22e59
PE
3506 mktime: merge another wrapv change from gnulib
3507 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
3508 from some compilers.
3509
68605433
PE
3510 mktime: remove incorrect attempt at unusual arithmetics
3511 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
3512 The code didn't really work on such machines anyway.
3513 (TYPE_MINIMUM): Assume two's complement.
3514 (twos_complement_arithmetic): Verify that long_int and time_t
3515 are two's complement (or unsigned, in the latter case).
3516
03cf7fe3
PE
3517 mktime: check signed shifts on long_int and time_t, too
3518 * time/mktime.c (SHR): Check that shifts work as desired
3519 on the types long_int and time_t too, as SHR is used on
3520 such types.
3521
f04dfbc2
PE
3522 mktime: do not assume 'long' is wide enough
3523 * time/mktime.c (verify): Move decl up.
3524 (long_int): New type.
3525 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
3526 to remove assumption in the code that 'long' is wide enough to
3527 store year values. This assumption is not true on x32 and on
3528 some non-glibc platforms.
3529
62bdf9a6
PE
3530 mktime: merge wrapv change from gnulib
3531 * time/mktime.c (WRAPV): New macro.
3532 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
3533 (guess_time_tm, __mktime_internal): Do not assume that signed
3534 integer overflow wraps around; modern compilers generate code
3535 where this assumption is no longer valid.
3536
5e292e4f
L
35372012-05-23 H.J. Lu <hongjiu.lu@intel.com>
3538
3539 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
3540 Replace "jmp L(pseudo_end)" with "ret".
3541 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
3542 Likewise.
3543
8caf8c87
AJ
35442012-05-23 Andreas Jaeger <aj@suse.de>
3545
3546 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
3547 * sysdeps/unix/sysv/linux/poll.c: Remove file.
3548
1a09dc56
AJ
35492012-05-23 Andreas Jaeger <aj@suse.de>
3550 Maximilian Attems <max@stro.at>
3551
3552 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
3553 New macros.
3554
1c87aba0
L
35552012-05-23 H.J. Lu <hongjiu.lu@intel.com>
3556
3557 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
3558 code so that pseudo_end is just ret and the stack pointer is
3559 correct also for static library in error case.
3560
40e45bd5
JM
35612012-05-23 Joseph Myers <joseph@codesourcery.com>
3562
c2670533
JM
3563 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
3564 move to syscalls.list.
3565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
3566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
3567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
3568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
3569
40e45bd5
JM
3570 * manual/install.texi (Running make install): Do not mention Linux
3571 kernel version for which pt_chown is not needed.
3572 (Linux): Do not mention problems with nscd with 2.0 kernels.
3573 * INSTALL: Regenerated.
3574
be08eda5
AJ
35752012-05-23 Andreas Jaeger <aj@suse.de>
3576
3577 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
3578 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
3579 macro.
3580 * sysdeps/unix/sysv/linux/s390/bits/mman.h
3581 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3582 * sysdeps/unix/sysv/linux/sh/bits/mman.h
3583 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3584 * sysdeps/unix/sysv/linux/i386/bits/mman.h
3585 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3586 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
3587 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3588 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
3589 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3590 * sysdeps/unix/sysv/linux/bits/in.h
3591 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
3592
a6a056bb
RM
35932012-05-22 Roland McGrath <roland@hack.frob.com>
3594
3595 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
3596 (PREPARE_VERSION): Just use assert instead, it will be elided
3597 under [NDEBUG] anyway.
3598
c9009328
L
35992012-05-22 H.J. Lu <hongjiu.lu@intel.com>
3600
3601 * sysdeps/unix/sysv/linux/Makefile: Include
3602 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 3603 (sysdep_routines): Remove sysctl.
c9009328
L
3604 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
3605 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
3606 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
3607 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
3608 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
3609
73338355
AJ
36102012-05-22 Andreas Jaeger <aj@suse.de>
3611
3612 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
3613 that pseudo_end is just ret and the stack pointer is correct also
3614 for static library in error case.
3615
d44638b0
PP
36162012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
3617
3618 [BZ #14122]
3619 * nss/nsswitch.c (defconfig_entries): New variable.
3620 (__nss_database_lookup): Don't leak defconfig entries.
3621 (nss_parse_service_list): Don't leak on error paths.
3622 (free_database_entries): New function.
3623 (free_defconfig): New function.
3624 (free_mem): Move common code to free_database_entries.
3625
31a39bd8
L
36262012-05-22 H.J. Lu <hongjiu.lu@intel.com>
3627
da0331a8
L
3628 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
3629 Add arch_prctl.
3630 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
3631
31a39bd8
L
3632 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
3633 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
3634 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
3635 New macro.
3636 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
3637 (INTERNAL_SYSCALL_TYPES): Likewise.
3638 (LOAD_ARGS_TYPES_[1-6]): Likewise.
3639 (LOAD_REGS_TYPES_[1-6]): Likewise.
3640 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
3641 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
3642
45470df3
AZ
36432012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3644
3645 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
3646 copysignl for GLIBC_2_0.
3647 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
3648 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
3649 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
3650 logbl for GLIBC_2_0.
3651 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
3652 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
3653
98a61bcb
L
36542012-05-22 H.J. Lu <hongjiu.lu@intel.com>
3655
a4f6e481
L
3656 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
3657 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
3658
f63d5db6
L
3659 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
3660 Use "neg %eax".
3661
98a61bcb
L
3662 * time/mktime.c: Update copyright years.
3663
95770f14
PE
36642012-05-22 Paul Eggert <eggert@cs.ucla.edu>
3665
6226efbd
PE
3666 mktime: merge comment-quoting-style change from gnulib
3667 * time/mktime.c: Quote 'like this' in comments.
3668 The GNU coding standards suggest that we no longer quote `like this',
3669 as "`" and "'" are typically rendered asymmetrically nowadays.
3670 The typical gnulib style is to quote 'like this' when quoting
3671 code, and "like this" when quoting English.
3672
b99e4f78
PE
3673 * time/mktime.c (compile-command): Add "-I.".
3674
643e01e6
PE
3675 mktime: merge mktime-internal.h change from gnulib
3676 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
3677
2554247d
PE
3678 mktime: merge time_r change from gnulib
3679 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
3680
826dd0ab
PE
3681 mktime: merge DEBUG change from gnulib
3682 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
3683 case system <time.h> has a #define.
3684
bd83aabe
PE
3685 mktime: merge <sys/types.h> change from gnulib
3686 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
3687 since <time.t> is now guaranteed to define time_t.
3688
95770f14
PE
3689 mktime: merge HAVE_CONFIG_H change from gnulib
3690 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
3691
5e1a27a9
L
36922012-05-22 H.J. Lu <hongjiu.lu@intel.com>
3693
0e44a77e
L
3694 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
3695 Use "neg %eax".
3696
5e1a27a9
L
3697 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
3698 __rlim_t cast.
3699 (struct rusage): Use anonymous union to pad each field to
3700 __syscall_slong_t.
3701
46259bec
DM
37022012-05-21 David S. Miller <davem@davemloft.net>
3703
3704 * Makefules (o-iterator): Remove .s cases.
3705 (compile-command.s): Delete.
3706 (COMPILE.s): Delete.
3707 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
3708
59f0c22e
JM
37092012-05-21 Joseph Myers <joseph@codesourcery.com>
3710
3711 * configure.in (libc_cv_predef_stack_protector): Only consider
3712 "foobar" and "__stack_chk_fail" lines in libc_undefs.
3713 * configure: Regenerated.
3714
20c07380
L
37152012-05-21 H.J. Lu <hongjiu.lu@intel.com>
3716
bbb3154b
L
3717 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
3718 New macro. Use R*LP on int and pointer.
3719 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
3720 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
3721 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
3722 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
3723
20c07380
L
3724 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
3725 [__WORDSIZE_TIME64_COMPAT32] instead of
3726 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
3727 (struct utmp): Likewise.
3728 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
3729 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
3730 Renamed to ...
3731 (__WORDSIZE_TIME64_COMPAT32): This.
3732 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
3733 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
3734 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
3735 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
3736 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
3737 (__WORDSIZE_TIME64_COMPAT32): New macro.
3738
d8d1017e
AJ
37392012-05-21 Andreas Jaeger <aj@suse.de>
3740
3741 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
3742 only if [SHARED]. Add prototype for __wcschr_ia32.
3743
6c7fb145
RM
37442012-05-21 Roland McGrath <roland@hack.frob.com>
3745
3746 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
3747 of %rbp unmolested in the jmp_buf while mangling the low bits.
3748 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
3749 unmolested high bits of %rbp while demangling the low bits.
3750 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
3751
66274218
AJ
37522012-05-21 Andreas Jaeger <aj@suse.de>
3753
07c58f8f
AJ
3754 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
3755 * sunrpc/svc_simple.c: Use it for registerrpc.
3756 * sunrpc/xcrypt.c: Use it for passwd2des.
3757
66274218
AJ
3758 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
3759
61f65140
L
37602012-05-21 H.J. Lu <hongjiu.lu@intel.com>
3761
3762 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
3763 Don't define if [__SYSCALL_WORDSIZE != 32].
3764 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
3765 New macro.
3766
5fefb436
AJ
37672012-05-21 Bruno Haible <bruno@clisp.org>
3768 Andreas Jaeger <aj@suse.de>
3769
3770 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
3771 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
3772 inptr and inend for must_buffer_ch.
3773 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
3774 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
3775 * stdio-common/Makefile (tests): Remove bug15.
3776 (bug15-ENV): Remove macro.
3777 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
3778 anymore.
3779
d8e272ab
AJ
37802012-05-19 Andreas Jaeger <aj@suse.de>
3781 Roland McGrath <roland@hack.frob.com>
3782
3783 * manual/contrib.texi: Completely rewritten. It contains now an
3784 alphabetical list of contributors and their contributions.
3785
4a56a162
RH
37862012-05-21 Richard Henderson <rth@twiddle.net>
3787
3788 * misc/getauxval.c (__getauxval): Use unsigned long int.
3789 * misc/sys/auxv.h: Include <sys/cdefs.h>.
3790 (getauxval): Use unsigned long int.
3791
d024d23c
L
37922012-05-21 H.J. Lu <hongjiu.lu@intel.com>
3793
3794 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
3795
cbc00a03
RM
37962012-05-21 Roland McGrath <roland@hack.frob.com>
3797
3798 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
3799 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
3800 __alignof__ (long double).
3801
478143fa
AZ
38022012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3803
3804 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3805
c7683a6d
RH
38062012-05-20 Richard Henderson <rth@twiddle.net>
3807
3808 * misc/getauxval.c: New file.
3809 * misc/sys/auxv.h: New file.
3810 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
3811 (routines): Add getauxval.
3812 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
3813 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
3814 * elf/dl-sysdep.c (_dl_auxv): Remove.
3815 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
3816 * elf/dl-support.c (_dl_auxv): New variable.
3817 (_dl_aux_init): Initialize it.
3818 * manual/startup.texi (Auxiliary Vector): New node.
3819 * sysdeps/generic/bits/hwcap.h: New file.
3820 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
3821 * sysdeps/powerpc/sysdep.h: ... here. Include it.
3822 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
3823 * sysdeps/sparc/sysdep.h: ... here. Include it.
3824 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
3825 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
3826 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3827 Update.
c7683a6d
RH
3828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
3829 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
3830 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
3831 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
3832 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
3833 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
3834 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
3835 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
3836
a6f1845d
AZ
38372012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3838
3839 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3840
cbcbe830
DM
38412012-05-19 David S. Miller <davem@davemloft.net>
3842
3843 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3844
e0b16cc2
JM
38452012-05-19 Joseph Myers <joseph@codesourcery.com>
3846
3847 [BZ #14123]
3848 * math/s_ccosh.c: Include <float.h>
3849 (__ccosh): Avoid internal overflow calculating sinh and cosh
3850 values before multiplying by sin and cos values.
3851 * math/s_ccoshf.c: Likewise.
3852 * math/s_ccoshl.c: Likewise.
3853 * math/s_csin.c: Likewise.
3854 * math/s_csinf.c: Likewise.
3855 * math/s_csinl.c: Likewise.
3856 * math/s_csinh.c: Likewise.
3857 * math/s_csinhf.c: Likewise.
3858 * math/s_csinhl.c: Likewise.
3859 * math/libm-test.inc (ccos_test): Add more tests.
3860 (ccosh_test): Likewise.
3861 (csin_test): Likewise.
3862 (csinh_test): Likewise.
3863 * sysdeps/i386/fpu/libm-test-ulps: Update.
3864 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3865
6ad13e08
L
38662012-05-19 H.J. Lu <hongjiu.lu@intel.com>
3867
f66f0ce8
L
3868 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
3869 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
3870
6ad13e08
L
3871 * sysdeps/x86_64/x32/_itoa.h: Add comment.
3872
b1d072a7
JM
38732012-05-19 Joseph Myers <joseph@codesourcery.com>
3874
3875 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
3876 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
3877 * sysdeps/powerpc/soft-fp/Versions: Likewise.
3878 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
3879 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
3880 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
3881 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
3882 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
3883 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
3884 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
3885 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
3886 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
3887 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
3888 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
3889 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
3890 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
3891 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
3892 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
3893 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
3894 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
3895 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
3896 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
3897 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
3898 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
3899 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
3900 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
3901 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
3902 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
3903 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
3904 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
3905 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
3906
9eae47cb
AJ
39072012-05-18 Andreas Jaeger <aj@suse.de>
3908
3909 * csu/.gitignore: Delete.
3910
bb07f69f
L
39112012-05-18 H.J. Lu <hongjiu.lu@intel.com>
3912
3913 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
3914 (timex): Use __syscall_slong_t.
3915
e6bdb741
AJ
39162012-05-18 Andreas Jaeger <aj@suse.de>
3917 Carlos O'Donell <carlos_odonell@mentor.com>
3918
3919 * manual/install.texi (Configuring and compiling): Update
3920 description about files modified in the source directory.
d6c33fda 3921 * INSTALL: Regenerated.
e6bdb741 3922
1b74487e
L
39232012-05-18 H.J. Lu <hongjiu.lu@intel.com>
3924
3925 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
3926 value. Use "or" to set return value to -1.
3927 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
3928 negate return value.
3929
a88b64b9
TMQMF
39302012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3931
3932 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
3933 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
3934 failure if the compiler has Graphite support disabled.
3935 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
3936 Likewise.
3937 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
3938 CFLAGS-memmove.c): Likewise.
3939 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
3940 Likewise.
3941
3707636e
L
39422012-05-18 H.J. Lu <hongjiu.lu@intel.com>
3943
610b8622
L
3944 * sysdeps/x86_64/x32/_itoa.h: New file.
3945
7cd195df
L
3946 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
3947 getdents system call only if kernel and user dirents have the
3948 same d_ino and d_off.
3949
94b07d20
L
3950 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
3951 LLONG_MAX != LONG_MAX.
3952 (_itoa_word): Use _ITOA_WORD_TYPE on value.
3953 (_fitoa_word): Likewise.
3954
18298070
L
3955 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
3956 years.
3957 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
3958 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
3959 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
3960
553c7ea4
L
3961 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
3962 include <bits/wordsize.h>. Check __x86_64__ instead of
3963 __WORDSIZE.
3964 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
3965 if __x86_64__ is defined. Use anonymous union on fpstate.
3966
3707636e
L
3967 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
3968 anonymous union.
3969
b53ef01a
AS
39702012-05-18 Andreas Schwab <schwab@linux-m68k.org>
3971
37fb1dc0
AS
3972 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
3973 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
3974 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
3975 Refer to _rtld_local_ro instead of _rtld_global_ro.
3976 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
3977 Likewise.
3978 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
3979 Likewise.
3980 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
3981 Likewise.
3982 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
3983 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
3984 of _rtld_global, and rtld_progname instead of _dl_argv[0].
3985
b53ef01a
AS
3986 * sysdeps/powerpc/powerpc32/dl-machine.c
3987 (__elf_machine_runtime_setup) [PROF]: Don't reference
3988 _dl_prof_resolve.
3989
7a185db2
AJ
39902012-05-18 Andreas Jaeger <aj@suse.de>
3991
3992 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
3993 function only available for GCCs before 3.4 since GCC 3.4
3994 introduced a builtin.
3995 (lrint): Likewise.
3996 (llrintf): Likewise.
3997 (llrint): Likewise.
3998 (fmaxf): Likewise.
3999 (fmax): Likewise.
4000 (fminf): Likewise.
4001 (fmin): Likewise.
4002 (rint): Likewise.
4003 (rintf): Likewise.
4004 (nearbyint): Likewise.
4005 (nearbyintf): Likewise.
4006 (ceil): Likewise.
4007 (ceilf): Likewise.
4008 (floor): Likewise.
4009 (floorf): Likewise.
4010
3e5aef87
L
40112012-05-17 H.J. Lu <hongjiu.lu@intel.com>
4012
428bd707
L
4013 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
4014 on both fields and cast pointer to __syscall_ulong_t.
4015
3e5aef87
L
4016 * bits/types.h (__fsword_t): New type.
4017 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
4018 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
4019 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4020 (__FSWORD_T_TYPE): Likewise.
4021 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4022 (__FSWORD_T_TYPE): Likewise.
4023 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4024 (__FSWORD_T_TYPE): Likewise.
4025 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
4026 (__FSWORD_T_TYPE): Likewise.
4027 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
4028 __SWORD_TYPE with __fsword_t.
4029 (statfs64): Likewise.
4030
1ba7c3dc
DM
40312012-05-17 David S. Miller <davem@davemloft.net>
4032
4033 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
4034
59910343
AJ
40352012-05-17 Andreas Jaeger <aj@suse.de>
4036
4037 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
4038 warning.
4039
2e4c1e9e
L
40402012-05-17 H.J. Lu <hongjiu.lu@intel.com>
4041
4042 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
4043
de7f5ce7
AJ
40442012-05-17 Andreas Jaeger <aj@suse.de>
4045
4046 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
4047 when it is used.
4048
286abc3d
CM
40492012-05-17 Chris Metcalf <cmetcalf@tilera.com>
4050
4051 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
4052
477cc68e
L
40532012-05-17 H.J. Lu <hongjiu.lu@intel.com>
4054
4055 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
4056 * sysdeps/x86_64/tst-mallocalign1.c: New file.
4057
1a0994f5
CD
40582012-05-17 Andreas Jaeger <aj@suse.de>
4059 Carlos O'Donell <carlos_odonell@mentor.com>
4060
4061 [BZ #14059]
4062 * sysdeps/x86_64/multiarch/init-arch.h
4063 (bit_YMM_Usable): Rename to...
4064 (bit_AVX_Usable): ... this.
4065 (bit_FMA4_Usable): New macro.
4066 (bit_XMM_state): New macro.
4067 (bit_YMM_state): New macro.
4068 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
4069 [__ASSEMBLER__] (index_AVX_Usable): ... this.
4070 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
4071 (CPUID_OSXSAVE): New macro.
4072 (CPUID_AVX): New macro.
4073 (CPUID_FMA4): New macro.
4074 (index_YMM_Usable): Rename to...
4075 (index_AVX_Usable): ... this.
4076 (HAS_AVX): Use HAS_ARCH_FEATURE.
4077 (HAS_FMA4): Likewise.
4078 (HAS_YMM_USABLE): Remove.
4079 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4080 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
4081 are present.
4082 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
4083 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
4084 * sysdeps/x86_64/multiarch/Makefile: Likewise.
4085 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
4086 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
4087
0af797de
CM
40882012-05-17 Chris Metcalf <cmetcalf@tilera.com>
4089
4090 * math/libm-test.c: Support platforms without multiple rounding modes.
4091 * math/bug-nextafter.c: Support platforms without FP exceptions.
4092 * math/bug-nexttoward.c: Likewise.
4093 * math/test-fenv.c: Likewise.
4094 * math/test-misc.c: Likewise.
4095 * stdlib/bug-getcontext.c: Likewise.
4096
e39745ff
AJ
40972012-05-17 Andreas Jaeger <aj@suse.de>
4098
4099 * manual/examples/search.c (critter_cmp): Change signature to
4100 avoid warnings.
4101 * manual/string.texi (Collation Functions): Likewise.
4102
48970aba
L
41032012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4104
4105 * bits/types.h: Fold copyright years.
4106 * bits/typesizes.h: Likewise.
4107 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
4108 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
4109 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
4110 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
4111 * time/time.h: Likewise.
4112
bedee953
PP
41132012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
4114
4115 [BZ #208]
4116 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
4117 in instead of returning them. Return void.
4118 (__libc_mallinfo): Accumulate over all arenas.
4119 (__malloc_stats): Adjust for change in int_mallinfo interface.
4120
61653dfb
RM
41212012-05-16 Roland McGrath <roland@hack.frob.com>
4122
30b99d79
RM
4123 [BZ #10375]
4124 * configure.in (NM): Add AC_CHECK_TOOL for it.
4125 (libc_extra_cflags): New substituted variable.
4126 Check for -fstack-protector being used implicitly.
4127 * configure: Regenerated.
4128 * config.make.in (config-extra-cflags): New variable,
4129 gets @libc_extra_cflags@.
4130 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
4131
61653dfb
RM
4132 [BZ #10375]
4133 * configure.in: Check for _FORTIFY_SOURCE being predefined.
4134 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
4135 * configure: Regenerated.
4136 * config.make.in (CPPUNDEFS): New substituted variable.
4137 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
4138 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
4139 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
4140
661768bb
L
41412012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4142
4143 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
4144 (mq_attr): Use __syscall_slong_t.
4145
d4261567
L
41462012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4147
4148 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
4149 Check __x86_64__ instead of __WORDSIZE.
4150 (_STAT_VER_LINUX): Likewise.
4151 (stat): Check __x86_64__ instead of __WORDSIZE. Use
4152 __syscall_ulong_t and __syscall_slong_t.
4153 (stat64): Likewise.
4154
cf3ff365
L
41552012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4156
4157 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
4158
76cf3e4d
L
41592012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4160
4161 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
4162
a637753a
L
41632012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4164
4165 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
4166 __syscall_ulong_t.
4167
d5e05119
L
4168 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
4169 include <bits/wordsize.h>. Check __x86_64__ instead of
4170 __WORDSIZE.
4171 (greg_t): Use "__extension__ long long int" if __x86_64__ is
4172 defined.
4173 (mcontext_t): Replace "unsigned long" with "unsigned long long".
4174
f62ee380
L
4175 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
4176 include <bits/wordsize.h>. Check __x86_64__ instead of
4177 __WORDSIZE.
4178 (user_regs_struct): Use "__extension__ unsigned long long"
4179 instead of "unsigned long" if __x86_64__ is defined.
4180 (user): Likewise. Pad after pointer field if __ILP32__ is
4181 defined.
4182
4e124ced
JM
41832012-05-16 Joseph Myers <joseph@codesourcery.com>
4184
6a3951a0
JM
4185 * configure.in (makeinfo): Require version 4.5 or later. Allow
4186 versions 5 to 9.
4187 * configure: Regenerated.
4188 * manual/install.texi (texinfo): Increase version requirement to
4189 4.5 or later.
4190 * INSTALL: Regenerated.
4191
4e124ced
JM
4192 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
4193
953ca31a
L
41942012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4195
4196 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
4197
617aca05
L
4198 * sysdeps/x86_64/x32/ffs.c: New file.
4199
5762f7ae
L
4200 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
4201 __syscall_ulong_t.
4202 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
4203 defined. Use __syscall_ulong_t.
4204 (shminfo): Use __syscall_ulong_t.
4205 (shm_info): Likewise.
4206
a26b6856
L
4207 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
4208 __syscall_ulong_t.
4209
cb2b9ef7
L
4210 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
4211 <bits/wordsize.h>.
4212 (msgqnum_t): Use __syscall_ulong_t.
4213 (msglen_t): Likewise.
4214 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
4215 __syscall_ulong_t.
4216
34683bb0
L
4217 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
4218 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
4219
84a68786
L
4220 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
4221
48baa5f1
L
4222 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
4223 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
4224
180be88b
L
4225 * sysvipc/sys/msg.h (msgbuf): Replace long int with
4226 __syscall_slong_t.
4227
5e90c8ad
L
4228 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
4229 include <bits/wordsize.h>. Check __x86_64__ instead of
4230 __WORDSIZE.
4231
23dfb58b
L
4232 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
4233 "unsigned long long int" if __x86_64__ is defined.
4234 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
4235
ce5d54b0
L
4236 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
4237 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
4238 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
4239
13dc9eac
L
4240 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
4241 <stdint.h>.
4242 (GET_PC): Cast to uintptr_t first.
4243 (GET_FRAME): Likewise.
4244 (GET_STACK): Likewise.
4245
a7895d15
L
4246 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
4247 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
4248 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
4249 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
4250 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
4251 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
4252 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
4253 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
4254 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
4255 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
4256 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
4257 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
4258 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
4259 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
4260 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
4261 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
4262 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
4263 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
4264 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
4265 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
4266 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
4267 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
4268 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
4269 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
4270 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
4271 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
4272 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
4273 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
4274 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
4275
656416c9
AS
42762012-05-16 Andreas Schwab <schwab@linux-m68k.org>
4277
5bd66283
AS
4278 * Makerules (+depfiles): Also collect depfiles from .oS in
4279 $(extra-objs).
4280 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
4281 .oS, $(libnldbl-routines)).
4282
656416c9
AS
4283 * Makerules (native-compile-mkdep-flags): Define.
4284 * sunrpc/Makefile (extra-objs): Add $(addprefix
4285 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
4286 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
4287 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
4288 calling $(make-target-directory).
4289
a46f2169
L
42902012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4291
4292 * bits/types.h (__snseconds_t): Removed.
4293 * time/time.h (struct timespec): Replace __snseconds_t with
4294 __syscall_slong_t.
4295 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
4296 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
4297 Likewise.
4298 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4299 (__SNSECONDS_T_TYPE): Likewise.
4300 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4301 (__SNSECONDS_T_TYPE): Likewise.
4302 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4303 (__SNSECONDS_T_TYPE): Likewise.
4304
6af6528b
L
43052012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4306
4307 * sysdeps/mach/hurd/bits/typesizes.h
4308 (__SYSCALL_SLONG_TYPE): New macro.
4309 (__SYSCALL_ULONG_TYPE): Likewise.
4310
de986b56
L
43112012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4312
4313 * bits/types.h (__syscall_slong_t): New type.
4314 (__syscall_ulong_t): Likewise.
4315
4316 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
4317 (__SYSCALL_ULONG_TYPE): Likewise.
4318 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4319 (__SYSCALL_SLONG_TYPE): Likewise.
4320 (__SYSCALL_ULONG_TYPE): Likewise.
4321 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4322 (__SYSCALL_SLONG_TYPE): Likewise.
4323 (__SYSCALL_ULONG_TYPE): Likewise.
4324 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4325 (__SYSCALL_SLONG_TYPE): Likewise.
4326 (__SYSCALL_ULONG_TYPE): Likewise.
4327
85736dc7
L
43282012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4329
4330 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
4331 Add sigaltstack-offsets.sym.
4332 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
4333 <sigaltstack-offsets.h>.
4334 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
4335 longjmp_msg pointer.
4336 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
4337 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
4338 signal stack.
4339 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
4340
cc03b296
JM
43412012-05-15 Joseph Myers <joseph@codesourcery.com>
4342
a9538892
JM
4343 * elf/stackguard-macros.h: Remove file.
4344 * sysdeps/generic/stackguard-macros.h: New file.
4345 * sysdeps/i386/stackguard-macros.h: Likewise.
4346 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
4347 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
4348 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
4349 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
4350 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
4351 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
4352 * sysdeps/x86_64/stackguard-macros.h: Likewise.
4353 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
4354 <elf/stackguard-macros.h>.
4355
cc03b296
JM
4356 [BZ #14109]
4357 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
4358 __aligned__ in attribute.
4359 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
4360 (gregset_t): Likewise.
4361
93171016
L
43622012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4363
4364 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
4365 * sysdeps/x86_64/64/Implies-after: Here. New file.
4366 * sysdeps/x86_64/x32/Implies-after: New file.
4367
d86813a0
L
43682012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4369
4370 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
4371 and access return value for _dl_profile_fixup. Use R10_LP to
4372 load frame size.
4373
2953ec75
L
43742012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4375
4376 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
4377
3b550e9e
L
43782012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4379
4380 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
4381 * sysdeps/x86_64/x32/sysdep.h: New file.
4382
eda41706
L
43832012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4384
4385 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
4386 * sysdeps/x86_64/setjmp.S: Likewise.
4387
9ea01d93
AZ
43882012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4389
4390 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
4391 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
4392 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
4393 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
4394 remove unused global constant.
4395
02a91938
CM
43962012-05-15 Chris Metcalf <cmetcalf@tilera.com>
4397
4398 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
4399 include of <not-cancel.h>.
4400
6540185f
RM
44012012-05-15 Roland McGrath <roland@hack.frob.com>
4402
4403 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
4404
509072a0
AJ
44052012-05-15 Jeff Law <law@redhat.com>
4406 Andreas Jaeger <aj@suse.de>
4407
4408 [BZ #13594]
4409 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
4410 out from...
4411 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
4412 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
4413 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
4414 code changing __hst_map_handle.map.
4415
ba75122d
RM
44162012-05-15 Roland McGrath <roland@hack.frob.com>
4417
4418 * configure.in (sysnames): Look for Implies-before and Implies-after
4419 files.
4420 * configure: Regenerated.
4421
890d8bd8
L
44222012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4423
4424 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
4425 8-byte data alignment with LP_SIZE alignment.
4426
f6ee6623
L
44272012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4428
4429 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
4430 into R10_LP.
4431
ea2626f6
L
44322012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4433
4434 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
4435
085f715e
L
44362012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4437
4438 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
4439 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
4440 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
4441 Likewise.
4442 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
4443
be8498fc
L
44442012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4445
4446 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
4447 (stackinfo_sub_sp): Likewise.
4448
70bc83b9
L
44492012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4450
4451 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
4452 RAX_LP.
4453
9bc0b730
L
44542012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4455
4456 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
4457 into R*_LP.
4458
6d2850e7
L
44592012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4460
4461 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
4462 sizes into R*_LP.
4463
3cb84561
L
44642012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4465
4466 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
4467
54e2ed81
L
44682012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4469
4470 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
4471 into R11_LP and load __x86_64_shared_cache_size_half into
4472 R8_LP.
4473
8a17f349
L
44742012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4475
4476 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
4477 R8_LP.
4478
777b1eea
AZ
44792012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4480
4481 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
4482 logb for POWER7.
4483 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
4484 logbf for POWER7.
4485 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
4486 logbl for POWER7.
4487 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
4488 powerpc32/power7/fpu/s_logb.c via #include.
4489 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
4490 powerpc32/power7/fpu/s_logbf.c via #include.
4491 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
4492 powerpc32/power7/fpu/s_logbl.c via #include.
4493
d20d4ac2
JM
44942012-05-15 Joseph Myers <joseph@codesourcery.com>
4495
4496 * README.libm: Remove file.
4497
6cdef1ab
L
44982012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4499
4500 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
4501 count for x32. Use R*_LP and omit operand-size suffix.
4502
0b254d8f
L
45032012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4504
4505 * shlib-versions: Move x86_64-.*-linux.* entries to ...
4506 * sysdeps/x86_64/64/shlib-versions: Here. New file.
4507 * sysdeps/x86_64/x32/shlib-versions: New file.
4508
ceb809dc
RM
45092012-05-14 Roland McGrath <roland@hack.frob.com>
4510
4511 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
4512 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
4513 Use _dl_fatal_printf instead.
4514
37f1abd4
JM
45152012-05-14 Joseph Myers <joseph@codesourcery.com>
4516
4517 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
4518 set if not set by the user. Do not allow for being unset.
4519 * sysdeps/unix/sysv/linux/configure: Regenerated.
4520
11de3a33
L
45212012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4522
4523 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
4524 the `q' suffix from lea and replace .quad with ASM_ADDR.
4525
e02f153a
L
45262012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4527
4528 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
4529 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
4530 instead of $17.
4531 (PTR_DEMANGLE): Likewise.
4532
520ae0fd
L
45332012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4534
4535 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
4536 (LP_OP): Likewise.
4537 (ASM_ADDR): Likewise.
4538 (RAX_LP): Likewise.
4539 (RBP_LP): Likewise.
4540 (RBX_LP): Likewise.
4541 (RCX_LP): Likewise.
4542 (RDI_LP): Likewise.
4543 (RSI_LP): Likewise.
4544 (RSP_LP): Likewise.
4545 (R8_LP): Likewise.
4546 (R9_LP): Likewise.
4547 (R10_LP): Likewise.
4548 (R10_LP): Likewise.
4549 (R11_LP): Likewise.
4550 (R12_LP): Likewise.
4551 (R13_LP): Likewise.
4552 (R14_LP): Likewise.
4553 (R15_LP): Likewise.
4554
b985be81
L
45552012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4556
4557 * sysdeps/x86_64/x32/dl-machine.h: New file.
4558
6a4888ff
AJ
45592012-05-14 Andreas Jaeger <aj@suse.de>
4560
4561 * manual/Makefile (subdir): Remove export of subdir.
4562 (all): Remove target.
4563 (.PHONY): Remove all from list.
4564 (mkinstalldirs): Remove.
4565 (.PHONY): Remove installdirs from list.
4566 ($(inst_infodir)/libc.info): Use make-target-directory.
4567 (installdirs): Remove.
4568 (subdir_%): Remove.
4569 (glibc-targets): Remove.
4570 (lib): Remove.
4571 (stubs): Remove.
4572 ($(objpfx)stubs ../po/manual.pot): Remove.
4573 ($(objpfx)stamp%): Remove.
4574 (make-target-directory): Remove.
4575 (subdir_install): Remove.
4576 (routines): Remove.
4577 (aux): Remove.
4578 (sources): Remove.
4579 (objects): Remove.
4580 (headers): Remove.
4581
4582 [BZ #13750]
4583 * manual/.gitignore: Remove, it's not needed anymore.
4584 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
4585 all files in it.
4586 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
4587 directory.
4588 (texis): Renamed to $(objpfx)texis.
4589 (texis-path): New, contains path to generated files.
4590 (chapters.%): Use texis-path for complete path, add extra argument
4591 libc-texinfo.sh.
4592 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
4593 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
4594 (summary,texi, stamp-summary): Use complete path of
4595 files. Generate files in build dir.
4596 (dir-add.texi): Build in build dir.
4597 (libm-err.texi,stamp-libm-err): Likewise.
4598 (version.texi, stamp-version): Likewise.
4599 (.%c.texi): Likewise.
4600 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
4601 (mostlyclean): Remove target.
4602 (realclean): Remove target.
4603 (generated): Add new variable with contents from mostlyclean and
4604 realclean, remove entries duplicated in common-mostlyclean, add
4605 stamp-libm-err and stamp-version.
4606 (generated-dirs): Add libc directory.
4607 ($(inst_infodir)/libc.info): Install files from build dir.
4608
4609 * manual/install.texi (Configuring and compiling): Adjust since
4610 the info files are not part of the tar ball anymore.
4611
7ac77294
AJ
46122012-05-14 Andreas Jaeger <aj@suse.de>
4613
4614 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
4615 variable.
4616
ffb7875d
JM
46172012-05-14 Joseph Myers <joseph@codesourcery.com>
4618
4619 [BZ #13717]
4620 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
4621 to 2.2.0 where earlier.
4622 * sysdeps/unix/sysv/linux/configure: Regenerated.
4623 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
4624 Remove conditional code.
4625 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
4626 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
4627 Remove conditional code.
4628 [!__NR_lchown]: Likewise.
4629 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
4630 [__NR_lchown]: Likewise.
4631 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
4632 comment referencing __ASSUME_LCHOWN_SYSCALL.
4633 * sysdeps/unix/sysv/linux/i386/sigaction.c
4634 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4635 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4636 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
4637 Remove conditional code.
4638 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
4639 (__protocol_available): Remove #if 0 code.
4640 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
4641 conditional code.
4642 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
4643 * sysdeps/unix/sysv/linux/kernel-features.h
4644 (__ASSUME_GETCWD_SYSCALL): Don't define.
4645 (__ASSUME_REALTIME_SIGNALS): Likewise.
4646 (__ASSUME_PREAD_SYSCALL): Likewise.
4647 (__ASSUME_PWRITE_SYSCALL): Likewise.
4648 (__ASSUME_POLL_SYSCALL): Likewise.
4649 (__ASSUME_LCHOWN_SYSCALL): Likewise.
4650 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
4651 non-SPARC.
4652 (__ASSUME_SIOCGIFNAME): Don't define.
4653 (__ASSUME_MSG_NOSIGNAL): Likewise.
4654 (__ASSUME_SENDFILE): Define unconditionally.
4655 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
4656 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
4657 conditional code.
4658 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
4659 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
4660 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
4661 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
4662 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
4663 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
4664 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
4665 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
4666 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
4667 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4668 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
4669 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
4670 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4671 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
4672 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4673 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4674 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
4675 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4676 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
4678 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
4679 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
4681 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
4682 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
4684 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4685 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
4687 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4688 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4689 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
4690 Remove conditional code.
4691 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4692 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
4693 Remove conditional code.
4694 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4695 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
4696 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
4697 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
4698 Remove conditional code.
4699 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4700 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
4701 Remove conditional code.
4702 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4703 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
4704 Remove conditional code.
4705 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4706 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
4707 Remove conditional code.
4708 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4709 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
4710 Remove conditional code.
4711 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4712 * sysdeps/unix/sysv/linux/sh/pwrite64.c
4713 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4714 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4715 * sysdeps/unix/sysv/linux/sigaction.c
4716 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4717 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4718 * sysdeps/unix/sysv/linux/sigpending.c
4719 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4720 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4721 * sysdeps/unix/sysv/linux/sigprocmask.c
4722 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4723 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4724 * sysdeps/unix/sysv/linux/sigsuspend.c
4725 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4726 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4727 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
4728 (__libc_missing_rt_sigs): Remove.
4729 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
4730 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
4731 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
4732 Remove conditional code.
4733 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
4734 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
4735 return 1.
4736 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
4737 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
4738 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
4739 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
4740
1bfb7291
AJ
47412012-05-14 Andreas Jaeger <aj@suse.de>
4742
caae5a81
AJ
4743 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
4744 it's not used in glibc.
4745 (__coshm1): Likewise.
4746 (__acosh1p): Likewise.
4747 (__sgn): Likewise.
4748
1bfb7291
AJ
4749 * manual/string.texi (Copying and Concatenation): Add missing
4750 variable in concat example.
4751 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
4752
c044d724
L
47532012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4754
144c5467 4755 [BZ #14103]
c044d724
L
4756 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
4757 __builtin_clzl with __builtin_clzll.
4758
2523c62b
L
47592012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4760
4761 [BZ #14104]
4762 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
4763 libc_freeres_ptr.
4764
d7bb4c42
LD
47652012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4766
4767 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
4768 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
4769 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
4770 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
4771
9dc4e1fb
MF
47722012-05-14 Mike Frysinger <vapier@gentoo.org>
4773
4774 * NEWS: Update ia64 info.
4775
c7df0112
AS
47762012-05-12 Andreas Schwab <schwab@linux-m68k.org>
4777
4778 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
4779 used as bcopy.
4780
dc70356c
TS
47812012-05-12 Thomas Schwinge <thomas@codesourcery.com>
4782
4783 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
4784 * sysdeps/unix/syscalls.list (dup3): Likewise.
4785 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
4786 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
4787
9fb1a21f
L
47882012-05-11 H.J. Lu <hongjiu.lu@intel.com>
4789
4790 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
4791 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
4792
4822a2a5
L
47932012-05-11 H.J. Lu <hongjiu.lu@intel.com>
4794
4795 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
4796 thread pointer.
4797 (TLS_IE): Use mov/add instead of movq/addq to load thread
4798 pointer.
4799 (TLS_GD_PREFIX): New.
4800 (TLS_GD): Use it.
4801
842b81d6
DM
48022012-05-11 David S. Miller <davem@davemloft.net>
4803
4804 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
4805 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
4806 (_FPU_SETCW): Likewise.
4807
1cf463cd
L
48082012-05-10 H.J. Lu <hongjiu.lu@intel.com>
4809
4810 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
4811 is 32-byte aligned.
4812
60cc4a18
AS
48132012-05-11 Andreas Schwab <schwab@linux-m68k.org>
4814
4815 [BZ #11837]
4816 * iconvdata/gb18030.c: Update tables.
4817 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
4818 characters specially.
4819 (BODY for TO_LOOP): Add encoding of missing ranges.
4820
febb44a4
TS
48212012-05-11 Thomas Schwinge <thomas@codesourcery.com>
4822
4823 [BZ #13673]
4824 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
4825 * sysdeps/mach/hurd/dup3.c: Likewise.
4826 * sysdeps/mach/hurd/readlinkat.c: Likewise.
4827 * sysdeps/powerpc/memmove.c:: Likewise.
4828
0a10fb9e
L
48292012-05-10 H.J. Lu <hongjiu.lu@intel.com>
4830
4831 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
4832 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
4833
df8a552f
L
48342012-05-10 H.J. Lu <hongjiu.lu@intel.com>
4835
4836 * elf/elf.h (R_X86_64_RELATIVE64): New.
4837 (R_X86_64_NUM): Updated.
4838 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
4839 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
4840 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
4841 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
4842 tst-quad1pie tst-quad2pie
4843 (modules-names): Add tst-quadmod1 tst-quadmod2.
4844 ($(objpfx)tst-quad1): New dependency.
4845 ($(objpfx)tst-quad2): Likewise.
4846 ($(objpfx)tst-quad1pie): Likewise.
4847 ($(objpfx)tst-quad2pie): Likewise.
4848 * sysdeps/x86_64/tst-quad1.c: New file.
4849 * sysdeps/x86_64/tst-quad1pie.c: New file.
4850 * sysdeps/x86_64/tst-quad2.c: Likewise.
4851 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
4852 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
4853 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
4854 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
4855 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
4856
f34d6f84
ST
48572012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4858
f42d41d1
ST
4859 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
4860 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
4861 * streams/stropts.h (t_scalar_t): Define type.
4862
3c3571fc
ST
4863 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
4864 (_PATH_PRESERVE): Set to "/var/lib".
4865 (_PATH_RWHODIR): Set to "/var/spool/rwho".
4866
61f06bd3
ST
4867 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
4868 instead of int.
4869
918d4d71
ST
4870 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
4871 if __dir_mkfile succeeded.
4872
f34d6f84
ST
4873 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
4874 checking for _hurd_dtablesize. Unlock it right after having
4875 finished _hurd_dtable allocation.
4876
10589b4a
TS
48772012-05-10 Thomas Schwinge <thomas@schwinge.name>
4878
674cdbc7
TS
4879 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
4880 * sysdeps/mach/hurd/configure: Regenerated.
4881 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
4882 special-casing to...
4883 * sysdeps/gnu/configure.in: ... this new file.
4884 * sysdeps/unix/sysv/linux/configure: Regenerated.
4885 * sysdeps/gnu/configure: New generated file.
4886
8e41b99f
TS
4887 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
4888 for Linux: use nsec instead of usec, as well as:
4889 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
4890 members of type struct timespec.
4891 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
4892 New macros.
4893 (struct stat64): Likewise.
4894 (_STATBUF_ST_NSEC): New macro.
4895 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
4896
10589b4a
TS
4897 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
4898 __strtoul_internal rather than strtoul.
4899
63643c85
PT
49002012-05-10 Pino Toscano <toscano.pino@tiscali.it>
4901
4902 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
4903 and reject them.
4904
3faebe6a
ST
49052012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4906
4907 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
4908 which preserves existing values.
4909 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
4910
c6474b07
PT
49112012-05-10 Pino Toscano <toscano.pino@tiscali.it>
4912
4913 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
4914 TIMEOUT values. Return EINVAL for NFDS values either negative or
4915 greater than FD_SETSIZE.
4916
1043890b
ST
49172012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4918
4919 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
4920 allocated, call __vm_protect to finish enabling the existing space, and
4921 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
4922 allocate the remainder.
4923
37ed8b9b
PT
49242012-05-10 Pino Toscano <toscano.pino@tiscali.it>
4925
4926 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
4927 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
4928
db653660
ST
49292012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4930
37ed8b9b
PT
4931 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
4932 sysdeps/mach/hurd/readlink.c.
b29d4053 4933
db653660
ST
4934 * posix/tst-sysconf.c (posix_options): Only use
4935 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
4936 _POSIX_SYNCHRONIZED_IO when they are defined
4937 * sysdeps/mach/hurd/bits/posix_opt.h:
4938 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
4939 (_XOPEN_REALTIME): Undefine macro.
4940 (_XOPEN_REALTIME_THREADS): Undefine macro.
4941 (_XOPEN_SHM): Undefine macro.
4942 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
4943 macro to -1.
4944 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
4945 macro to -1.
4946 (_POSIX_ASYNC_IO): Undefine macro.
4947 (_POSIX_PRIORITIZED_IO): Undefine macro.
4948 (_POSIX_SPIN_LOCKS): Define macro to -1.
4949
ee16e894
ST
4950 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
4951 SA_NODEFER, SA_RESETHAND.
4952 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
4953 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
4954 F_DUPFD_CLOEXEC.
4955
6103ae3b
TS
49562012-05-10 Thomas Schwinge <thomas@schwinge.name>
4957
4958 * elf/Makefile (pldd-modules): Define unconditionally.
4959
80b4e5f3
TS
49602012-05-10 Thomas Schwinge <thomas@schwinge.name>
4961
4962 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
4963
edadcbd6
ST
49642012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4965
4966 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
4967 Return ENOENT when name is empty.
4968 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
4969
80694780
TS
49702012-05-10 Thomas Schwinge <thomas@schwinge.name>
4971
1792c087
TS
4972 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
4973
80694780
TS
4974 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
4975
6b645f0d
ST
49762012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4977
80694780
TS
4978 Fix mlock in all cases except non-readable pages.
4979 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
4980 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 4981
6b645f0d
ST
4982 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
4983 (__mkdir): When path is `/', just fail with EEXIST.
4984 * sysdeps/mach/hurd/mkdirat.c: Likewise.
4985
e468f8a3
TS
49862012-05-10 Thomas Schwinge <thomas@schwinge.name>
4987
4988 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
4989 <sys/uio.h> (for writev).
4990 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
4991 and <sys/param.h> (for MIN).
4992
a4186cff
PT
49932012-05-10 Pino Toscano <toscano.pino@tiscali.it>
4994
4995 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
4996 REQUESTED_TIME. Properly set the remaining time and return EINTR
4997 if interrupted.
4998
510bbf14
TS
49992012-05-10 Thomas Schwinge <thomas@schwinge.name>
5000
5001 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
5002 Depend on against $(link-rpcuserlibs).
5003
5d5722e8
ST
50042012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5005
a4186cff
PT
5006 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
5007 (__libc_stack_end): Do not use attribute_relro.
5008 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
5009 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 5010 to libthread-provided value.
a4186cff
PT
5011 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
5012 attribute_relro.
5d5722e8 5013
37233df9
TS
50142012-05-10 Thomas Schwinge <thomas@schwinge.name>
5015
be971a2b
TS
5016 [BZ #3748]
5017 * bits/libc-lock.h (__libc_once_get): New macro.
5018 * sysdeps/mach/bits/libc-lock.h: Likewise.
5019 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
5020 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
5021 instead of using implementation details.
5022
37233df9
TS
5023 * libio/fileops.c: Unconditionally include <kernel-features.h>.
5024 * libio/freopen.c: Likewise.
5025 * libio/freopen64.c: Likewise.
5026 * misc/syslog.c: Likewise.
5027 * nscd/connections.c: Likewise.
5028 * nscd/netgroupcache.c: Likewise.
5029 * sysdeps/posix/getcwd.c: Likewise.
5030
38de94a5
RM
50312012-05-10 Roland McGrath <roland@hack.frob.com>
5032
5033 * math/w_ilogbf.c: Add #include <limits.h>.
5034
67530489
ST
50352012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5036
a4186cff 5037 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
5038 path instead of returning without unlocking.
5039
67530489
ST
5040 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
5041 immediate-write ioctls.
5042 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
5043
5aa3a74a
TS
50442012-05-10 Thomas Schwinge <thomas@schwinge.name>
5045
18bad2ae
TS
5046 * sysdeps/mach/hurd/i386/init-first.c (init): Use
5047 __builtin_frame_address instead of making assumptions about the
5048 location of the return address relative to DATA. Force early load of
5049 the return address.
5050 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
5051 __builtin_frame_address.
5052
5aa3a74a
TS
5053 dup3 for GNU Hurd.
5054 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
5055 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
5056 implement dup3 and do some further code clean-ups.
5057 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
5058 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
5059
ecd0de9a
ST
50602012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5061
cd9fa985
ST
5062 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
5063
a4186cff
PT
5064 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
5065 HURD_CRITICAL_END around holding _hurd_dtable_lock.
5066 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
5067 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
5068 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
5069 d->port.lock.
802ca5a5 5070
a4186cff
PT
5071 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
5072 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
5073 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 5074
bcf55240
TS
50752012-05-10 Thomas Schwinge <thomas@schwinge.name>
5076
6960eb42
TS
5077 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
5078 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
5079 definitions.
5080
eb43375f
TS
5081 accept4 for GNU Hurd.
5082 * include/sys/socket.h (__libc_accept4): New prototype.
5083 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
5084 to implement __libc_accept4.
5085 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
5086 __libc_accept4.
5087 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
5088
bcf55240
TS
5089 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
5090 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
5091 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
5092 signal-defines.sym.
5093
6178c55b
ST
50942012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5095
a4186cff 5096 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 5097
6f080c2f
TS
50982012-05-10 Thomas Schwinge <thomas@schwinge.name>
5099
5100 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
5101 assertion on O_CLOEXEC flag.
5102 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
5103 * hurd/intern-fd.c: Likewise.
5104 * hurd/port2fd.c: Likewise.
5105
bcfe3a54
ST
51062012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5107
5108 [BZ #3906]
5109 * bits/in.h (IPV6_PKTINFO): Define new macro.
5110 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
5111
89c9aa49
AZ
51122012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5113
5114 [BZ #13954]
5115 [BZ #13955]
5116 [BZ #13956]
5117 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
5118 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
5119 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
5120 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
5121 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5122 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
5123 * math/libm-test.inc (logb_test) : Additional logb tests.
5124
021db4be
AJ
51252012-05-09 Andreas Schwab <schwab@linux-m68k.org>
5126 Andreas Jaeger <aj@suse.de>
5127
5128 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
5129 * configure: Regenerated.
5130 * config.h.in (LINK_OBSOLETE_RPC): New macro.
5131 * config.make.in (link-obsolete-rpc): New substituted variable.
5132 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
5133 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
5134 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
5135 (shared-only-routines): Don't set it under [link-obsolete-rpc],
5136 so that libc.a contains the symbols.
5137 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
5138 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
5139 * sunrpc/auth_none.c: Likewise.
5140 * sunrpc/auth_unix.c: Likewise.
5141 * sunrpc/authdes_prot.c: Likewise.
5142 * sunrpc/authuxprot.c: Likewise.
5143 * sunrpc/clnt_gen.c: Likewise.
5144 * sunrpc/clnt_perr.c: Likewise.
5145 * sunrpc/clnt_raw.c: Likewise.
5146 * sunrpc/clnt_simp.c: Likewise.
5147 * sunrpc/clnt_tcp.c: Likewise.
5148 * sunrpc/clnt_udp.c: Likewise.
5149 * sunrpc/clnt_unix.c: Likewise.
5150 * sunrpc/des_crypt.c: Likewise.
5151 * sunrpc/des_soft.c: Likewise.
5152 * sunrpc/get_myaddr.c: Likewise.
5153 * sunrpc/key_call.c: Likewise.
5154 * sunrpc/key_prot.c: Likewise.
5155 * sunrpc/netname.c: Likewise.
5156 * sunrpc/pm_getmaps.c: Likewise.
5157 * sunrpc/pm_getport.c: Likewise.
5158 * sunrpc/pmap_clnt.c: Likewise.
5159 * sunrpc/pmap_prot.c: Likewise.
5160 * sunrpc/pmap_prot2.c: Likewise.
5161 * sunrpc/pmap_rmt.c: Likewise.
5162 * sunrpc/publickey.c: Likewise.
5163 * sunrpc/rpc_cmsg.c: Likewise.
5164 * sunrpc/rpc_common.c: Likewise.
5165 * sunrpc/rpc_dtable.c: Likewise.
5166 * sunrpc/rpc_prot.c: Likewise.
5167 * sunrpc/rpc_thread.c: Likewise.
5168 * sunrpc/rtime.c: Likewise.
5169 * sunrpc/svc.c: Likewise.
5170 * sunrpc/svc_auth.c: Likewise.
5171 * sunrpc/svc_raw.c: Likewise.
5172 * sunrpc/svc_run.c: Likewise.
5173 * sunrpc/svc_tcp.c: Likewise.
5174 * sunrpc/svc_udp.c: Likewise.
5175 * sunrpc/svc_unix.c: Likewise.
5176 * sunrpc/svcauth_des.c: Likewise.
5177 * sunrpc/xcrypt.c: Likewise.
5178 * sunrpc/xdr.c: Likewise.
5179 * sunrpc/xdr_array.c: Likewise.
5180 * sunrpc/xdr_float.c: Likewise.
5181 * sunrpc/xdr_intXX_t.c: Likewise.
5182 * sunrpc/xdr_mem.c: Likewise.
5183 * sunrpc/xdr_rec.c: Likewise.
5184 * sunrpc/xdr_ref.c: Likewise.
5185 * sunrpc/xdr_sizeof.c: Likewise.
5186 * sunrpc/xdr_stdio.c: Likewise.
5187
b5c086a2
RM
51882012-05-10 Roland McGrath <roland@hack.frob.com>
5189
5190 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
5191 change. Update copyright years.
5192
6d74dd09
JM
51932012-05-10 Joseph Myers <joseph@codesourcery.com>
5194
5195 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
5196
28e72501
MK
51972012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
5198 Joseph Myers <joseph@codesourcery.com>
5199 Paul Pluzhnikov <ppluzhnikov@google.com>
5200
5201 [BZ #14012]
5202 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
5203 requiring rpcgen.
5204 [cross-compiling] (extra-libs): Likewise.
5205 [cross-compiling] (extra-libs-others): Likewise.
5206 [cross-compiling] (librpcsvc-routines): Likewise.
5207 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
5208 [cross-compiling] (omit-deps): Likewise.
5209 (sunrpc-CPPFLAGS): New variable.
5210 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
5211 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
5212 (cross-rpcgen-objs): New variable.
5213 (extra-objs): Append $(cross-rpcgen-objs).
5214 ($(cross-rpcgen-objs)): New rule.
5215 ($(objpfx)cross-rpcgen): Likewise.
5216 (rpcgen-cmd): Define to use $(built-program-file). Expand
5217 comment.
5218 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
5219 ($(objpfx)x%.stmp): Likewise.
5220 * sunrpc/proto.h [IS_IN_build] (_): Define.
5221 [IS_IN_build] (_libc_intl_domainname): Likewise.
5222
c8c59454
L
52232012-05-10 H.J. Lu <hongjiu.lu@intel.com>
5224
5225 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
5226 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
5227 and R_X86_64_TPOFF64.
5228
6f27cd16
JM
52292012-05-10 Joseph Myers <joseph@codesourcery.com>
5230
5231 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
5232 sysdeps/unix/sysv/syscalls.list.
5233 (stime): Likewise.
5234 (utime): Likewise.
5235 * sysdeps/unix/sysv/syscalls.list: Remove file.
5236
02467e1c
PE
52372012-05-10 Paul Eggert <eggert@cs.ucla.edu>
5238
5239 [BZ #3440]
5240 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
5241 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
5242 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
5243 (__LC_IDENTIFICATION): Make these macros useful in #if
5244 expressions, as required by C99.
5245
da392631
AS
52462012-05-10 Andreas Schwab <schwab@linux-m68k.org>
5247
5248 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
5249 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
5250 after this.
5251
8115f29b
L
52522012-05-09 H.J. Lu <hongjiu.lu@intel.com>
5253
5254 * stdlib/longlong.h: Updated from GCC.
5255
bdd74070
AJ
52562012-05-09 Andreas Jaeger <aj@suse.de>
5257
edfe0dbe
AJ
5258 * nscd/nscd.c (run_modes): Make named enum, reorder so that
5259 default is first entry.
5260 (run_mode): Set type.
5261 (main): Remove informal message about syslog.
5262 (options): Fix typo.
5263
bcfe3a54
ST
5264 [BZ #14053]
5265 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 5266 to asm.
bcfe3a54
ST
5267 (lrint): Likewise.
5268 (llrintf): Likewise.
5269 (llrint): Likewise.
5270 (rint): Likewise.
5271 (rintf): Likewise.
5272 (nearbyint): Likewise.
5273 (nearbyintf): Likewise.
bdd74070 5274
91d8d69e
AJ
52752012-05-09 Andreas Jaeger <aj@suse.de>
5276 Pedro Alves <palves@redhat.com>
5277
5278 * nscd/nscd.c (run_mode): Use enum.
5279 (main): Cleanup coding style issue.
5280
bb90b80b
AJ
52812012-05-09 Alexandre Oliva <aoliva@redhat.com>
5282 Andreas Jaeger <aj@suse.de>
5283
bcfe3a54
ST
5284 * nscd/nscd.c (go_background): Replaced with...
5285 (run_mode): ... this.
bb90b80b 5286 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
5287 (options): Add -F --foreground.
5288 (main): Implement it.
5289 (parse_opt): Parse it.
bb90b80b 5290
1a4b75a1
AJ
52912012-05-09 Andreas Jaeger <aj@suse.de>
5292
5293 [BZ #14083]
5294 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
5295 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
5296 -Wconversion warning.
5297 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
5298 Likewise.
5299
b1cc2472
JM
53002012-05-09 Joseph Myers <joseph@codesourcery.com>
5301
5302 * conform/data/locale.h-data (NULL): Use macro-constant. Require
5303 == 0.
5304 (LC_ALL): Use macro-int-constant.
5305 (LC_COLLATE): Likewise.
5306 (LC_CTYPE): Likewise.
5307 (LC_MESSAGES): Likewise.
5308 (LC_MONETARY): Likewise.
5309 (LC_NUMERIC): Likewise.
5310 (LC_TIME): Likewise.
5311 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
5312 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
5313 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5314 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
5315 Specify type.
5316 [C99-based standards] (float_t): Expect type.
5317 [C99-based standards] (double_t): Expect type.
5318 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
5319 type.
5320 [C99-based standards] (HUGE_VALL): Likewise.
5321 [C99-based standards] (INFINITY): Likewise.
5322 [C99-based standards] (NAN): Likewise.
5323 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
5324 [C99-based standards] (FP_NAN): Likewise.
5325 [C99-based standards] (FP_NORMAL): Likewise.
5326 [C99-based standards] (FP_SUBNORMAL): Likewise.
5327 [C99-based standards] (FP_ZERO): Likewise.
5328 [C99-based standards] (FP_FAST_FMA): Use
5329 optional-macro-int-constant. Specify type. Require == 1.
5330 [C99-based standards] (FP_FAST_FMAF): Likewise.
5331 [C99-based standards] (FP_FAST_FMAL): Likewise.
5332 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
5333 [C99-based standards] (FP_ILOGBNAN): Likewise.
5334 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
5335 Specify type.
5336 [C99-based standards] (MATH_ERREXCEPT): Likewise.
5337 [C99-based standards] (math_errhandling): Specify type.
5338 [ISO99 || ISO11] (signgam): Do not allow.
5339 [non-C99-based standards] (copysignf): Do not allow.
5340 [non-C99-based standards] (exp2f): Likewise.
5341 [non-C99-based standards] (log2f): Likewise.
5342 [non-C99-based standards] (modff): Allow.
5343 [non-C99-based standards] (erff): Do not allow.
5344 [non-C99-based standards] (erfcf): Likewise.
5345 [non-C99-based standards] (gammaf): Likewise.
5346 [non-C99-based standards] (hypotf): Likewise.
5347 [non-C99-based standards] (j0f): Likewise.
5348 [non-C99-based standards] (j1f): Likewise.
5349 [non-C99-based standards] (jnf): Likewise.
5350 [non-C99-based standards] (lgammaf): Likewise.
5351 [non-C99-based standards] (tgammaf): Likewise.
5352 [non-C99-based standards] (y0f): Likewise.
5353 [non-C99-based standards] (y1f): Likewise.
5354 [non-C99-based standards] (ynf): Likewise.
5355 [non-C99-based standards] (isnanf): Likewise.
5356 [non-C99-based standards] (acoshf): Likewise.
5357 [non-C99-based standards] (asinhf): Likewise.
5358 [non-C99-based standards] (atanhf): Likewise.
5359 [non-C99-based standards] (cbrtf): Likewise.
5360 [non-C99-based standards] (expm1f): Likewise.
5361 [non-C99-based standards] (ilogbf): Likewise.
5362 [non-C99-based standards] (log1pf): Likewise.
5363 [non-C99-based standards] (logbf): Likewise.
5364 [non-C99-based standards] (nextafterf): Likewise.
5365 [non-C99-based standards] (remainderf): Likewise.
5366 [non-C99-based standards] (rintf): Likewise.
5367 [non-C99-based standards] (scalbf): Likewise.
5368 [non-C99-based standards] (copysignl): Likewise.
5369 [non-C99-based standards] (exp2l): Likewise.
5370 [non-C99-based standards] (log2l): Likewise.
5371 [non-C99-based standards] (modfl): Allow.
5372 [non-C99-based standards] (erfl): Do not allow.
5373 [non-C99-based standards] (erfcl): Likewise.
5374 [non-C99-based standards] (gammal): Likewise.
5375 [non-C99-based standards] (hypotl): Likewise.
5376 [non-C99-based standards] (j0l): Likewise.
5377 [non-C99-based standards] (j1l): Likewise.
5378 [non-C99-based standards] (jnl): Likewise.
5379 [non-C99-based standards] (lgammal): Likewise.
5380 [non-C99-based standards] (tgammal): Likewise.
5381 [non-C99-based standards] (y0l): Likewise.
5382 [non-C99-based standards] (y1l): Likewise.
5383 [non-C99-based standards] (ynl): Likewise.
5384 [non-C99-based standards] (isnanl): Likewise.
5385 [non-C99-based standards] (acoshl): Likewise.
5386 [non-C99-based standards] (asinhl): Likewise.
5387 [non-C99-based standards] (atanhl): Likewise.
5388 [non-C99-based standards] (cbrtl): Likewise.
5389 [non-C99-based standards] (expm1l): Likewise.
5390 [non-C99-based standards] (ilogbl): Likewise.
5391 [non-C99-based standards] (log1pl): Likewise.
5392 [non-C99-based standards] (logbl): Likewise.
5393 [non-C99-based standards] (nextafterl): Likewise.
5394 [non-C99-based standards] (remainderl): Likewise.
5395 [non-C99-based standards] (rintl): Likewise.
5396 [non-C99-based standards] (scalbl): Likewise.
5397 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5398 [non-C99-based standards] (FP_*): Do not allow.
5399 [C99-based standards] (FP_*): Change to
5400 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
5401 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
5402 allow.
5403 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
5404 (SIG_ERR): Likewise.
5405 [X/Open-based standards] (SIG_HOLD): Likewise.
5406 (SIG_IGN): Likewise.
5407 (SIGABRT): Use macro-int-constant. Specify type. Require
5408 positive value.
5409 (SIGFPE): Likewise.
5410 (SIGILL): Likewise.
5411 (SIGINT): Likewise.
5412 (SIGSEGV): Likewise.
5413 (SIGTER): Likewise.
5414 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
5415 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
5416 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
5417 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
5418 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
5419 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
5420 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
5421 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
5422 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
5423 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
5424 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
5425 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
5426 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
5427 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
5428 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
5429 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
5430 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
5431 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
5432 [X/Open-based standards] (SIGTRAP): Likewise.
5433 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
5434 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
5435 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
5436 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
5437 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
5438 allow.
5439
b9f1922d
IW
54402012-05-08 Ian Wienand <ianw@vmware.com>
5441
5442 [BZ #14080]
5443 * time/tzset.c (__tzset_parse_tz): Update default rules for
5444 daylight time changes in the Energy Policy Act of 2005.
5445
1db86e88
AJ
54462012-05-09 Andreas Jaeger <aj@suse.de>
5447
5448 [BZ #13983]
5449 * elf/ldconfig.c (parse_conf): Change string to make clear that
5450 ldconfig only issued a warning if ld.so.conf does not exist.
5451
dee4a4e3
DM
54522012-05-08 David S. Miller <davem@davemloft.net>
5453
ee0db190
DM
5454 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
5455 movxtod instead of popping the value on the stack.
5456
dee4a4e3
DM
5457 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5458
6a43ec98
CD
54592012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
5460
5461 * config.h.in: Add HAVE_ARM_PCS_VFP.
5462
05c2c961
RMG
54632012-05-08 Roland Mc Grath <roland@hack.frob.com>
5464
bcfe3a54
ST
5465 [BZ #13979]
5466 * include/features.h: Warn if user requests __FORTIFY_SOURCE
5467 checking but the checks are disabled for any reason.
05c2c961 5468
4b30f61a
L
54692012-05-08 H.J. Lu <hongjiu.lu@intel.com>
5470
5471 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
5472 and ELF64_R_TYPE with ELFW(R_TYPE).
5473
eee2bc67
JM
54742012-05-08 Joseph Myers <joseph@codesourcery.com>
5475
7ea5391a
JM
5476 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
5477 (ulimit): Likewise.
5478
eee2bc67
JM
5479 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
5480 (settimeofday): Likewise.
5481
abb66a67
MF
54822012-05-08 Mike Frysinger <vapier@gentoo.org>
5483
5484 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
5485 a struct th_u2 inside the union, and move tu_block/tu_code into
5486 a new th_u3 union of tu_block/tu_code inside of that. Move
5487 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
5488 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
5489 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
5490 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
5491 (th_stuff): Change to th_u1.tu_stuff.
5492 (th_data): Define.
5493 (th_msg): Change to th_u1.th_u2.tu_data.
5494
7f18b530
DM
54952012-05-07 David S. Miller <davem@davemloft.net>
5496
05760585
DM
5497 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5498
7f18b530
DM
5499 [BZ #14074]
5500 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
5501 (SETUP_PIC_REG): Use it.
5502 (SETUP_PIC_REG_LEAF): Use it.
5503
495fd99f
JM
55042012-05-07 Joseph Myers <joseph@codesourcery.com>
5505
5506 [BZ #13885]
5507 [BZ #13923]
5508 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5509 USE_AS_EXPM1L.
5510 (EXPL_FINITE): Likewise.
5511 (FLDLOG): Likewise.
5512 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
5513 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
5514 e_expl.S.
5515 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5516 USE_AS_EXPM1L.
5517 (EXPL_FINITE): Likewise.
5518 (FLDLOG): Likewise.
5519 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
5520 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
5521 e_expl.S.
5522 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
5523 test of -max_value argument for long double.
5524 * sysdeps/i386/fpu/libm-test-ulps: Update.
5525 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5526
6693d694
DM
55272012-05-06 David S. Miller <davem@davemloft.net>
5528
5529 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
5530 quad soft-float symbols whose references which are compiler
5531 generated.
5532 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
5533
6c23e11c
JM
55342012-05-06 Joseph Myers <joseph@codesourcery.com>
5535
d8b82cad
JM
5536 [BZ #13884]
5537 [BZ #13914]
5538 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5539 USE_AS_EXP10L.
5540 (EXPL_FINITE): Likewise.
5541 (FLDLOG): Likewise.
5542 (c0): Likewise.
5543 (c1): Likewise.
5544 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
5545 Adjust comments for base varying.
5546 (__expl_finite): Change alias to EXPL_FINITE.
5547 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
5548 e_expl.S.
5549 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
5550 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
5551 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
5552 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
5553 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5554 USE_AS_EXP10L.
5555 (EXPL_FINITE): Likewise.
5556 (FLDLOG): Likewise.
5557 (c0): Likewise.
5558 (c1): Likewise.
5559 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
5560 Adjust comments for base varying.
5561 (__expl_finite): Change alias to EXPL_FINITE.
5562 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
5563 tests for bugs.
5564 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5565
6c23e11c
JM
5566 [BZ #14064]
5567 * math/libm-test.inc (check_float_internal): Correct ulp
5568 calculation for subnormal expected results.
5569
29ba805c
AJ
55702012-05-06 Andreas Jaeger <aj@suse.de>
5571
5572 * Makeconfig (+math-flags): New, set to -frounding-math.
5573 (+cflags): Add +math-flags so that all of glibc gets compiled with
5574 it.
5575
5576 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
5577
7b17aeda
JM
55782012-05-05 Joseph Myers <joseph@codesourcery.com>
5579
5779f134
JM
5580 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
5581 Disable one test.
5582
41498f4d
JM
5583 [BZ #13787]
5584 [BZ #13922]
5585 [BZ #14036]
5586 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
5587 (__ieee754_expl): Allow for and saturate large arguments.
5588 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
5589 (u_threshold): Likewise.
5590 (__exp): Call __ieee754_exp before checking for overflow and
5591 underflow.
5592 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
5593 (u_threshold): Likewise.
5594 (__expf): Call __ieee754_expf before checking for overflow and
5595 underflow.
5596 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
5597 (u_threshold): Likewise.
5598 (__expl): Call __ieee754_expl before checking for overflow and
5599 underflow.
5600 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
5601 (__ieee754_expl): Allow for and saturate large arguments.
5602 * math/libm-test.inc (exp_test): Add another test. Do not allow
5603 missing overflow exception on overflow.
5604 (expm1_test): Do not allow missing overflow exception on overflow.
5605
6698b8bf
JM
5606 * sysdeps/i386/fpu/e_expl.c: Move to ...
5607 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
5608 rather than using inline asm.
5609 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
5610 * sysdeps/x86_64/fpu/e_expl.S: Copy from
5611 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
5612
7b17aeda
JM
5613 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
5614 (nice): Likewise.
5615 (poll): Likewise.
5616 (signal): Likewise.
5617 (time): Likewise.
5618 (times): Likewise.
5619
f7c85819
JM
56202012-05-04 Joseph Myers <joseph@codesourcery.com>
5621
5622 * sysdeps/unix/syscalls.list (adjtime): Add entry from
5623 sysdeps/unix/common/syscalls.list.
5624 (fchmod): Likewise.
5625 (fchown): Likewise.
5626 (ftruncate): Likewise.
5627 (getrusage): Likewise.
5628 (gettimeofday): Likewise.
5629 (setpgid): Likewise.
5630 (setregid): Likewise.
5631 (setreuid): Likewise.
5632 (sigaction): Likewise.
5633 (truncate): Likewise.
5634 (vhangup): Likewise.
5635 * sysdeps/unix/common/syscalls.list: Remove file.
5636 * sysdeps/unix/bsd/Implies: Don't include unix/common.
5637 * sysdeps/unix/sysv/linux/Implies: Likewise.
5638
336270d0
L
56392012-05-04 H.J. Lu <hongjiu.lu@intel.com>
5640
5641 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
5642 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
5643 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
5644 Moved to ...
5645 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
5646 Here.
5647 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
5648 to ...
5649 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
5650 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
5651 to ...
5652 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
5653 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
5654 to ...
5655 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
5656 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
5657 to ...
5658 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
5659 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
5660 to ...
5661 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
5662 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
5663 to ...
5664 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
5665 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
5666 to ...
5667 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
5668 Here.
5669 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
5670 to ...
5671 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
5672 Here.
5673 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
5674 to ...
5675 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
5676 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
5677 Moved to ...
5678 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
5679 Here.
5680 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
5681 to ...
5682 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
5683
d128e450
JM
56842012-05-04 Joseph Myers <joseph@codesourcery.com>
5685
fa8ee516
JM
5686 * sysdeps/unix/common/bits/dirent.h: Remove file.
5687 * sysdeps/unix/common/bits/fcntl.h: Likewise.
5688
d128e450
JM
5689 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
5690 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
5691 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
5692 * sysdeps/unix/bsd/isatty.c: Likewise.
5693 * sysdeps/unix/bsd/tcdrain.c: Likewise.
5694 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
5695 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
5696
ff8faaf0 56972012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 5698
62881be4 5699 [BZ #13563]
31dc8730
AZ
5700 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
5701 long double comparison inaccuracies.
5702 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
5703 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5704
6fef930c
AS
57052012-05-04 Andreas Schwab <schwab@linux-m68k.org>
5706
5707 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
5708 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
5709
8f203e6c
JM
57102012-05-04 Joseph Myers <joseph@codesourcery.com>
5711
5712 [BZ #14049]
5713 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
5714 nonzero digits before rounding a hex value.
5715 * stdlib/tst-strtod.c (tests): Add another test.
5716
5197d9c2
AK
57172012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5718
5719 * sysdeps/s390/fpu/libm-test-ulps: Update.
5720
f0c1dedf
AJ
57212012-05-03 Andreas Jaeger <aj@suse.de>
5722
5723 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
5724 does not get optimized out.
5725 (malloc_opt_barrier): New.
5726
a65ef2ae 57272012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 5728 Roland McGrath <roland@hack.frob.com>
a65ef2ae 5729
2b942cb7 5730 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 5731 intermediate file deletion.
2b942cb7 5732 (generated): Add .symlist files.
a65ef2ae 5733
54b71e02
JM
57342012-05-03 Joseph Myers <joseph@codesourcery.com>
5735
5736 [BZ #13775]
5737 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
5738 Redirect under this condition.
5739 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
5740 [__USE_GNU] (__dprintf_chk): Not under this condition.
5741 [__USE_GNU] (__vdprintf_chk): Likewise.
5742 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
5743 under this condition.
5744 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
5745 [__USE_XOPEN2K8] (dprintf): Define under this condition.
5746 [__USE_XOPEN2K8] (vdprintf): Likewise.
5747 [__USE_GNU] (__dprintf_chk): Not under this condition.
5748 [__USE_GNU] (__vdprintf_chk): Likewise.
5749 [__USE_GNU] (dprintf): Likewise.
5750 [__USE_GNU] (vdprintf): Likewise.
5751
d3dfcc41
RM
57522012-05-03 Roland McGrath <roland@hack.frob.com>
5753
5754 * elf/Makefile (common-generated): Set this instead of generated for
5755 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
5756 $(all-built-dso)-derived lists.
5757
7ac30cc5
AJ
57582012-05-03 Andreas Jaeger <aj@suse.de>
5759
0c51e550
AJ
5760 * sysdeps/i386/fpu/libm-test-ulps: Update.
5761
7ac30cc5
AJ
5762 * FAQ: Removed.
5763 * FAQ.in: Likewise.
5764 * scripts/gen-FAQ.pl: Likewise.
5765 * manual/install.texi (Installation): Point to online location of
5766 FAQ.
5767 * Makefile (files-for-dist): Remove FAQ.
5768 (FAQ): Remove.
5769
d4c2917f
AM
57702012-05-02 Allan McRae <allan@archlinux.org>
5771
5772 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
5773 (LDFLAGS-reldepmod5.so): Likewise.
5774 (LDFLAGS-reldep6mod1.so): Likewise.
5775 (LDFLAGS-reldep6mod4.so): Likewise.
5776 (LDFLAGS-reldep8mod3.so): Likewise.
5777 (LDFLAGS-unload4mod1.so): Likewise.
5778 (LDFLAGS-unload4mod2.so): Likewise.
5779 (LDFLAGS-tst-initorder): Likewise.
5780 (LDFLAGS-tst-initordera2.so): Likewise.
5781 (LDFLAGS-tst-initordera3.so): Likewise.
5782 (LDFLAGS-tst-initordera4.so): Likewise.
5783 (LDFLAGS-tst-initorderb2.so): Likewise.
5784 (LDFLAGS-noload): Likewise.
5785 (LDFLAGS-next): Likewise.
5786 (LDFLAGS-order2mod1.so): Likewise.
5787 (LDFLAGS-order2mod2.so): Likewise.
5788 (LDFLAGS-tst-initorder2): Likewise.
5789 (LDFLAGS-tst-initorder2a.so): Likewise.
5790 (LDFLAGS-tst-initorder2b.so): Likewise.
5791 (LDFLAGS-tst-initorder2c.so): Likewise.
5792 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
5793
d77f993f
DM
57942012-05-02 David S. Miller <davem@davemloft.net>
5795
5796 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5797
171a70b4
PP
57982012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
5799
5800 [BZ #14055]
5801 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
5802
0be196ad
AJ
58032012-05-02 Andreas Jaeger <aj@suse.de>
5804
5805 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
5806 since we manipulate rounding mode.
5807 (CPPFLAGS-test-idouble.c): Likewise.
5808 (CPPFLAGS-test-ifloat.c): Likewise.
5809 (CFLAGS-test-ldouble.c): Likewise.
5810 (CFLAGS-test-double.c): Likewise.
5811 (CFLAGS-test-float.c): Likewise.
5812 (CFLAGS-test-misc.c): Likewise.
5813 (CFLAGS-test-test-fenv.c): Likewise.
5814
4f9d04aa
AZ
58152012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5816
2b942cb7
RM
5817 [BZ #2550]
5818 [BZ #2570]
5819 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
5820 comparisons to determine direction to adjust input.
4f9d04aa 5821
82a79e7d
RM
58222012-05-01 Roland McGrath <roland@hack.frob.com>
5823
f5a01ca9
RM
5824 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
5825 output to the target.
5826
90fe4186
RM
5827 * scripts/localplt.awk: New file.
5828 * elf/Makefile ($(objpfx)check-localplt): Target removed.
5829 (check-localplt-CFLAGS): Variable removed.
5830 ($(all-built-dso:=.jmprel)): New static pattern rule.
5831 (generated): Add those targets.
5832 (localplt-built-dso): New variable.
5833 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
5834
5835 * elf/check-localplt.c: File removed.
5836
82397ed6
RM
5837 * scripts/check-execstack.awk: New file.
5838 * elf/Makefile ($(objpfx)check-execstack): Target removed.
5839 (check-execstack-CFLAGS): Variable removed.
5840 ($(objpfx)check-execstack.h): Target removed.
5841 ($(objpfx)execstack-default): New target.
5842 (generated): Add that instead of check-execstack.h.
5843 ($(all-built-dso:=.phdr)): New static pattern rule.
5844 (generated): Add those targets.
5845 * elf/check-execstack.c: File removed.
5846
82a79e7d
RM
5847 * scripts/check-textrel.awk: New file.
5848 * elf/Makefile ($(objpfx)check-textrel): Target removed.
5849 (check-textrel-CFLAGS): Variable removed.
5850 (all-built-dso): Use := to define.o
5851 ($(all-built-dso:=.dyn)): New static pattern rule.
5852 (generated): Add those targets.
5853 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
5854 * config.make.in (READELF): New substituted variable.
5855 * elf/check-textrel.c: File removed.
5856
62fde54f 58572012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 5858
615605c9
JM
5859 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
5860 allow.
5861 * conform/data/ctype.h-data [C99-based standards] (isblank):
5862 Expect function.
5863 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
5864 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
5865 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5866 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
5867 Specify type. Require positive value.
5868 (EILSEQ): Likewise.
5869 (ERANGE): Likewise.
5870 [ISO || POSIX] (EILSEQ): Do not expect.
5871 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
5872 Specify type. Require positive value.
5873 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
5874 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
5875 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
5876 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
5877 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
5878 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
5879 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
5880 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
5881 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
5882 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
5883 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
5884 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
5885 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
5886 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
5887 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
5888 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
5889 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
5890 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
5891 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
5892 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
5893 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
5894 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
5895 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
5896 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
5897 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
5898 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
5899 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
5900 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
5901 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
5902 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
5903 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
5904 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
5905 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
5906 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
5907 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
5908 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
5909 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
5910 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
5911 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
5912 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
5913 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
5914 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
5915 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
5916 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
5917 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
5918 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
5919 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
5920 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
5921 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
5922 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
5923 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
5924 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
5925 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
5926 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
5927 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
5928 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
5929 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
5930 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
5931 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
5932 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
5933 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
5934 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
5935 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
5936 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
5937 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
5938 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
5939 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
5940 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
5941 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
5942 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
5943 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
5944 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
5945 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
5946 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
5947 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
5948 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
5949 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
5950 Require >= 2.
5951 (FLT_ROUNDS): Expect as macro, not constant.
5952 (FLT_MANT_DIG): Use macro-int-constant.
5953 (DBL_MANT_DIG): Likewise.
5954 (LDBL_MANT_DIG): Likewise.
5955 (FLT_DIG): Likewise.
5956 (DBL_DIG): Likewise.
5957 (LDBL_DIG): Likewise.
5958 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
5959 (DBL_MIN_EXP): Likewise.
5960 (LDBL_MIN_EXP): Likewise.
5961 (FLT_MAX_EXP): Use macro-int-constant.
5962 (DBL_MAX_EXP): Likewise.
5963 (LDBL_MAX_EXP): Likewise.
5964 (FLT_MAX_10_EXP): Likewise.
5965 (DBL_MAX_10_EXP): Likewise.
5966 (LDBL_MAX_10_EXP): Likewise.
5967 (FLT_MAX): Use macro-constant.
5968 (DBL_MAX): Likewise.
5969 (LDBL_MAX): Likewise.
5970 (FLT_EPSILON): Use macro-constant. Give upper bound.
5971 (DBL_EPSILON): Likewise.
5972 (LDBL_EPSILON): Likewise.
5973 (FLT_MIN): Likewise.
5974 (DBL_MIN): Likewise.
5975 (LDBL_MIN): Likewise.
5976 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
5977 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
5978 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
5979 [ISO11] (FLT_HAS_SUBNORM): Likewise.
5980 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
5981 [ISO11] (DBL_DECIMAL_DIG): Likewise.
5982 [ISO11] (FLT_DECIMAL_DIG): Likewise.
5983 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
5984 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
5985 [ISO11] (FLT_TRUE_MIN): Likewise.
5986 [ISO11] (LDBL_TRUE_MIN): Likewise.
5987 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5988 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
5989 (SCHAR_MIN): Use macro-int-constant. Specify type.
5990 (SCHAR_MAX): Likewise.
5991 (UCHAR_MAX): Likewise.
5992 (CHAR_MIN): Likewise.
5993 (CHAR_MAX): Likewise.
5994 (MB_LEN_MAX): Use macro-int-constant.
5995 (SHRT_MIN): Use macro-int-constant. Specify type.
5996 (SHRT_MAX): Likewise.
5997 (USHRT_MAX): Likewise.
5998 (INT_MAX): Likewise.
5999 (INT_MIN): Use macro-int-constant. Specify type. Make upper
6000 bound negative.
6001 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
6002 bound with "U".
6003 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
6004 bound with "L".
6005 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
6006 bound negative. Suffix upper bound with "L".
6007 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
6008 bound with "UL".
6009 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
6010 Specify type.
6011 [C99-based standards] (LLONG_MAX): Likewise.
6012 [C99-based standards] (ULLONG_MAX): Likewise.
6013 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
6014 == 0.
6015 [ISO11] (max_align_t): Require type.
6016 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6017
c9140a62
JM
6018 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
6019 from $CFLAGS, without defining away __attribute__ calls.
6020 (checknamespace): Use $CFLAGS_namespace.
6021
9af0bf29
JM
6022 * conform/conformtest.pl (@keywords): Only include C99 keywords
6023 for standards based on C99 or C11.
6024
343222a2
JM
6025 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
6026 Disable tests.
6027 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
6028 UNIX98]: Likewise.
6029
661f8cf0
JM
6030 * conform/conformtest.pl: Handle "macro-int-constant" and test for
6031 usability of symbols in #if.
6032
ee74b9cb
JM
6033 * conform/conformtest.pl: If macro or constant types start
6034 "promoted:", expect the symbol to be of the following type
6035 promoted by the integer promotions.
62fde54f 6036
aafc49b3
JM
6037 * conform/conformtest.pl: Parse all "constant" and "macro" lines
6038 in one place. Also handle "macro-constant".
6039
fefdf574
JM
6040 * conform/conformtest.pl: Only accept expected macro values with
6041 "==". Parse all "macro" lines in one place.
6042 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
6043
f2d922fe
JM
6044 * conform/conformtest.pl: Handle braced types on "constant" lines
6045 instead of handling "typed-constant".
6046 * conform/data/signal.h-data: Use "constant" instead of
6047 "typed-constant".
6048
d22956c9
JM
6049 * conform/conformtest.pl: Handle "optional-" at start of lines in
6050 one place rather than duplicating several cases. Handle each
6051 format of "macro" line with initial "optional-".
6052
028e2e38
JM
6053 * conform/conformtest.pl: Only accept expected constant or
6054 optional-constant values with "==". Parse all "constant" lines in
6055 one place. Parse all "optional-constant" lines in one place.
6056 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
6057 * conform/data/fmtmsg.h-data: Likewise.
6058 * conform/data/netinet/in.h-data: Likewise.
6059 * conform/data/tar.h-data: Likewise.
6060 * conform/data/limits.h-data: Use "==" form on "constant" and
6061 "optional-constant" lines.
6062
1b8f2850
JM
6063 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
6064 Use -std=c99 for XOPEN2K.
6065 (@knownproblems): Remove.
6066 (newtoken): Don't check %isknown.
6067
a05a144b
JM
6068 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
6069 Do not expect macro.
6070 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
6071 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
6072 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
6073 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
6074 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
6075 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
6076 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
6077 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
6078 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
6079 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
6080 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
6081 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
6082 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
6083 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
6084 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
6085 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
6086 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
6087 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
6088 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
6089 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
6090 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
6091 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
6092 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
6093 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
6094 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
6095 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
6096 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
6097 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
6098 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
6099 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
6100 [XPG3] (acosh): Likewise.
6101 [XPG3] (asinh): Likewise.
6102 [XPG3] (atanh): Likewise.
6103 [XPG3] (cbrt): Likewise.
6104 [XPG3] (expm1): Likewise.
6105 [XPG3] (ilogb): Likewise.
6106 [XPG3] (log1p): Likewise.
6107 [XPG3] (logb): Likewise.
6108 [XPG3] (nextafter): Likewise.
6109 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
6110 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
6111 [XPG3] (remainder): Likewise.
6112 [XPG3] (rint): Likewise.
6113 [XPG3 || XPG4 || UNIX98] (round): Likewise.
6114 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
6115 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
6116 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
6117 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
6118 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
6119 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
6120 [UNIX98 || XOPEN2K] (scalb): Expect.
6121 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
6122 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
6123 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
6124 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
6125 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
6126 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
6127 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
6128 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
6129 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
6130 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
6131 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
6132 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
6133 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
6134 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
6135 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
6136 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
6137 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
6138 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
6139 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
6140 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
6141 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
6142 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
6143 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
6144 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
6145 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
6146 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
6147 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
6148 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
6149 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
6150 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
6151 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
6152 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
6153 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
6154 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
6155 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
6156 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
6157 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
6158 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
6159 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
6160 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
6161 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
6162 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
6163 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
6164 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
6165 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
6166 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
6167 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
6168 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
6169 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
6170 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
6171 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
6172 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
6173 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
6174 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
6175 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
6176 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
6177 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
6178 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
6179 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
6180 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
6181 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
6182 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
6183 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
6184 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
6185 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
6186 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
6187 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
6188 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
6189 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
6190 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
6191 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
6192 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
6193 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
6194 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
6195 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
6196 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
6197 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
6198 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
6199 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
6200 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
6201 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
6202 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
6203 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
6204 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
6205 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
6206 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
6207 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
6208 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
6209 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
6210 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
6211 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
6212 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
6213 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
6214 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
6215 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
6216 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
6217 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
6218 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
6219 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
6220 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
6221 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
6222 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
6223 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
6224 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
6225 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
6226 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
6227 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
6228 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
6229 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
6230 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
6231 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
6232 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
6233 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
6234 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
6235 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
6236 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
6237 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
6238 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
6239 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
6240 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
6241 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
6242 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
6243 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
6244 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
6245 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
6246 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
6247 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
6248 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
6249 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
6250 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
6251 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
6252 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
6253 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
6254 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
6255 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
6256 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
6257 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
6258
73c5ebe3
JM
6259 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
6260 _XOPEN_SOURCE_EXTENDED for XPG4.
6261
39c33b6c
JM
6262 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
6263
62fde54f
JM
6264 * Makeconfig (localtime): Remove variable.
6265 (inst_localtime-file): Likewise.
6266
0741d64c
AS
62672012-05-01 Andreas Schwab <schwab@linux-m68k.org>
6268
6269 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
6270 Update.
6271 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6272 Update.
6273 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
6274 Update.
6275 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
6276 Update.
6277 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
6278 Update.
6279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
6280 Update.
6281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6282 Update.
6283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
6284 Update.
6285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
6286 Update.
6287
7cb029ee
JM
62882012-05-01 Joseph Myers <joseph@codesourcery.com>
6289
6290 [BZ #2550]
6291 [BZ #2570]
6292 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
6293 comparisons to determine direction to adjust input.
6294 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
6295 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
6296 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
6297 Likewise.
6298 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
6299 Likewise.
6300 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
6301 Likewise.
6302 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
6303 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
6304 Likewise.
6305 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
6306 Likewise.
6307 * math/libm-test.inc (nexttoward_test): Add more tests.
6308
412bd966
AS
63092012-05-01 Andreas Schwab <schwab@linux-m68k.org>
6310
6311 [BZ #14040]
6312 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
6313 in version GLIBC_2.1, not GLIBC_2.0.
6314 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
6315 Likewise.
6316
9568c0c2
JM
63172012-04-30 Joseph Myers <joseph@codesourcery.com>
6318
adfbc8ac
JM
6319 [BZ #13942]
6320 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
6321 (1 - x) * (1 + x).
6322 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
6323 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
6324 * math/libm-test.inc (acos_test): Add more tests.
6325 (asin_test): Likewise.
6326 * sysdeps/i386/fpu/libm-test-ulps: Update.
6327 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6328
5ba3cc69
JM
6329 [BZ #14034]
6330 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
6331 of square root.
6332 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
6333 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
6334 * math/libm-test.inc (acos_test_tonearest): New function.
6335 (acos_test_towardzero): Likewise.
6336 (acos_test_downward): Likewise.
6337 (acos_test_upward): Likewise.
6338 (asin_test_tonearest): Likewise.
6339 (asin_test_towardzero): Likewise.
6340 (asin_test_downward): Likewise.
6341 (asin_test_upward): Likewise.
6342 (main): Call the new functions.
6343 * sysdeps/i386/fpu/libm-test-ulps: Update.
6344 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6345
9568c0c2
JM
6346 [BZ #13884]
6347 [BZ #13924]
6348 * math/e_exp10.c: Include <float.h>.
6349 (__ieee754_exp10): Handle underflow here rather than multiplying
6350 large negative argument by M_LN10.
6351 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
6352 of __ieee754_expf.
6353 * math/e_exp10l.c: Include <float.h>.
6354 (__ieee754_exp10l): Handle underflow here rather than multiplying
6355 large negative argument by M_LN10l.
6356 * math/libm-test.inc (exp10_test): Add another test. Do not allow
6357 spurious overflow exception on underflow.
6358
5ac3ea17
MP
63592012-04-29 Marek Polacek <polacek@redhat.com>
6360
6361 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
6362 (__fortify_function): New macro.
6363 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
6364 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
6365 __extern_always_inline.
6366 * libio/bits/stdio2.h: Likewise.
6367 * libio/bits/stdio.h: Likewise.
6368 * string/string.h: Likewise.
6369 * string/bits/string3.h: Likewise.
6370 * include/stdio.h: Likewise.
6371 * stdlib/bits/stdlib.h: Likewise.
6372 * stdlib/stdlib.h: Likewise.
6373 * rt/bits/mqueue2.h: Likewise.
6374 * rt/mqueue.h: Likewise.
6375 * posix/bits/unistd.h: Likewise.
6376 * posix/unistd.h: Likewise.
6377 * io/bits/poll2.h: Likewise.
6378 * io/bits/fcntl2.h: Likewise.
6379 * io/fcntl.h: Likewise.
6380 * io/sys/poll.h: Likewise.
6381 * misc/bits/syslog.h: Likewise.
6382 * misc/bits/syslog-ldbl.h: Likewise.
6383 * misc/sys/syslog.h: Likewise.
6384 * socket/bits/socket2.h: Likewise.
6385 * socket/sys/socket.h: Likewise.
6386 * debug/tst-chk1.c: Likewise.
6387 * wcsmbs/bits/wchar2.h: Likewise.
6388 * wcsmbs/bits/wchar-ldbl.h: Likewise.
6389 * wcsmbs/wchar.h: Likewise.
6390
ecf0ebfb
AJ
63912012-04-29 Andreas Jaeger <aj@suse.de>
6392
6393 * Makerules (tests): Remove enable-check-abi protection.
6394 (check-abi-warn): Remove.
6395 (check-abi-%): Remove check-abi-warn usage.
6396
6397 * configure.in: Remove check-abi configure option.
6398 * configure: Regenerated.
6399 * config.make.in (enable-check-abi): Remove.
6400
6d5c57fa
AS
64012012-04-28 Andreas Schwab <schwab@linux-m68k.org>
6402
24c5d07e 6403 [BZ #14033]
ded5180a
AS
6404 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
6405 double functions to double *_finite functions.
6406
7e0d315d
AS
6407 [BZ #13941]
6408 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
6409 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
6410 LDBL_MIN_EXP.
6411 * stdio-common/Makefile (tests): Add tst-sprintf3.
6412 * stdio-common/tst-sprintf3.c: New file.
6413
6d5c57fa
AS
6414 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
6415 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
6416
0749ff8b
JM
64172012-04-28 Joseph Myers <joseph@codesourcery.com>
6418
6419 * conform/conformtest.pl: Remove duplicate typed-constant
6420 handling.
6421
8dbd5d7b
DM
64222012-04-28 David S. Miller <davem@davemloft.net>
6423
6424 * Makerules (%.abilist): Add vpath on sysdep_dirs.
6425 (check-abi-%): Remove AWK script prerequisite and explicit
6426 abilist directory.
6427 (check-abi): Rewrite to just diff the symlist with the abilist.
6428 (config-tls, config-abi-config): Delete, no longer used.
6429 (update-abi-%): Remove AWK script and explicit abilist directory.
6430 (update-abi): Rewrite to simply compare and conditionally copy the
6431 symlist and the sysdep abilist file. Remove update-abi-config
6432 checks.
6433 * abilist/ld.abilist: Remove.
6434 * abilist/libBrokenLocale.abilist: Remove.
6435 * abilist/libanl.abilist: Remove.
6436 * abilist/libcrypt.abilist: Remove.
6437 * abilist/libdl.abilist: Remove.
6438 * abilist/librt.abilist: Remove.
6439 * abilist/libthread_db.abilist: Remove.
6440 * abilist/libutil.abilist: Remove.
6441 * scripts/extract-abilist.awk: Remove.
6442 * scripts/merge-abilist.awk: Remove.
6443 * sysdeps/generic/libcidn.abilist: New file.
6444 * sysdeps/generic/libnss_compat.abilist: New file.
6445 * sysdeps/generic/libnss_db.abilist: New file.
6446 * sysdeps/generic/libnss_dns.abilist: New file.
6447 * sysdeps/generic/libnss_files.abilist: New file.
6448 * sysdeps/generic/libnss_hesiod.abilist: New file.
6449 * sysdeps/generic/libnss_nis.abilist: New file.
6450 * sysdeps/generic/libnss_nisplus.abilist: New file.
6451 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
6452 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
6453 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
6454 file.
6455 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
6456 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
6457 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
6458 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
6459 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
6460 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
6461 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
6462 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
6463 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
6464 file.
6465 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
6466 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
6467 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
6468 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
6469 file.
6470 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
6471 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
6472 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
6473 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
6474 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
6475 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
6476 file.
6477 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
6478 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
6479 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
6480 file.
6481 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
6482 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
6483 New file.
6484 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
6485 New file.
6486 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
6487 New file.
6488 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
6489 New file.
6490 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
6491 New file.
6492 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
6493 New file.
6494 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
6495 New file.
6496 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
6497 New file.
6498 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
6499 New file.
6500 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
6501 New file.
6502 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
6503 New file.
6504 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
6505 New file.
6506 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
6507 New file.
6508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
6509 file.
6510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
6511 New file.
6512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
6513 New file.
6514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
6515 file.
6516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
6517 New file.
6518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
6519 New file.
6520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
6521 file.
6522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
6523 New file.
6524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
6525 New file.
6526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
6527 New file.
6528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
6529 New file.
6530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
6531 New file.
6532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
6533 New file.
6534 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
6535 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
6536 file.
6537 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
6538 New file.
6539 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
6540 file.
6541 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
6542 file.
6543 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
6544 file.
6545 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
6546 file.
6547 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
6548 file.
6549 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6550 New file.
6551 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
6552 file.
6553 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
6554 file.
6555 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
6556 New file.
6557 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
6558 file.
6559 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
6560 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
6561 file.
6562 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
6563 New file.
6564 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
6565 file.
6566 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
6567 file.
6568 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
6569 file.
6570 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
6571 file.
6572 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
6573 file.
6574 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6575 New file.
6576 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
6577 file.
6578 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
6579 file.
6580 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
6581 New file.
6582 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
6583 file.
6584 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
6585 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
6586 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
6587 file.
6588 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
6589 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
6590 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
6591 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
6592 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
6593 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
6594 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
6595 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
6596 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
6597 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
6598 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
6599 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
6600 file.
6601 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
6602 New file.
6603 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
6604 file.
6605 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
6606 file.
6607 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
6608 file.
6609 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
6610 file.
6611 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
6612 file.
6613 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
6614 New file.
6615 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
6616 New file.
6617 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
6618 file.
6619 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
6620 New file.
6621 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
6622 file.
6623 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
6624 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
6625 file.
6626 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
6627 New file.
6628 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
6629 file.
6630 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
6631 file.
6632 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
6633 file.
6634 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
6635 file.
6636 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
6637 file.
6638 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
6639 New file.
6640 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
6641 New file.
6642 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
6643 file.
6644 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
6645 New file.
6646 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
6647 file.
6648
41d73a1b
JM
66492012-04-28 Joseph Myers <joseph@codesourcery.com>
6650
6651 * conform/conformtest.pl: Fix typo in handling typed-constant from
6652 allow-header.
6653
28aeeda4
JM
66542012-04-27 Joseph Myers <joseph@codesourcery.com>
6655
adae8f5e
JM
6656 * README: Cut down references to pre-2.6 Linux kernels and
6657 Linuxthreads. Update lists of configurations in libc and ports
6658 and sort alphabetically. Say "or newer" with Linux kernel version
6659 requirements.
6660
28aeeda4
JM
6661 * config.h.in [IS_IN_build]: Allow compiling without optimization.
6662
a462cb63
RA
66632012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6664
6665 [BZ #887]
6666 * math/libm-test.inc (logb_test_downward): New test to expose
6667 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
6668 rounding mode.
6669
6ad3493e
JM
66702012-04-27 Joseph Myers <joseph@codesourcery.com>
6671
6672 [BZ #14027]
6673 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
6674 to be done.
6675 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
6676 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
6677
2ce4f015
JM
66782012-04-26 Joseph Myers <joseph@codesourcery.com>
6679
5aeb141a
JM
6680 * sysdeps/unix/i386/brk.S: Remove file.
6681 * sysdeps/unix/i386/dl-brk.S: Likewise.
6682 * sysdeps/unix/i386/pipe.S: Likewise.
6683 * sysdeps/unix/i386/sigreturn.S: Likewise.
6684 * sysdeps/unix/i386/syscall.S: Likewise.
6685 * sysdeps/unix/i386/vfork.S: Likewise.
6686 * sysdeps/unix/i386/wait.S: Likewise.
6687
7143acae
JM
6688 * sysdeps/unix/common/tcsendbrk.c: Move to ...
6689 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
6690
2ce4f015
JM
6691 * configure.in (arm*-none*): Do not allow without
6692 --enable-hacker-mode.
6693 (netbsd*): Remove case setting base_os.
6694 (386bsd*): Likewise.
6695 (freebsd*): Likewise.
6696 (bsdi*): Likewise.
6697 (osf*): Likewise.
6698 (sunos*): Likewise.
6699 (ultrix*): Likewise.
6700 (newsos*): Likewise.
6701 (dynix*): Likewise.
6702 (*bsd*): Likewise.
6703 (sysv*): Likewise.
6704 (isc*): Likewise.
6705 (esix*): Likewise.
6706 (sco*): Likewise.
6707 (minix*): Likewise.
6708 (irix4*): Likewise.
6709 (irix6*): Likewise.
6710 (solaris[2-9]*): Likewise.
6711 (none): Likewise.
6712 * configure: Regenerated.
6713
0ac229c8
AZ
67142012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6715
6716 [BZ #11521]
6717 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
6718 overflow or cancellation in calculating denominator.
6719 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
6720 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
6721 down expression to avoid unexpected rounding in newer GCCs.
6722 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
6723
33f244f4
DM
67242012-04-26 David S. Miller <davem@davemloft.net>
6725
6726 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
6727 long-double compat symbols.
6728 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
6729 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
6730 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
6731 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
6732 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
6733 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
6734 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
6735 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
6736 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
6737 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
6738 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
6739 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
6740 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
6741
cfa1f3e8
DM
67422012-04-25 David S. Miller <davem@davemloft.net>
6743
6744 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
6745 HWCAP_* values only after the memory barriers have been defined.
6746 (atomic_full_barrier): Define.
6747 (atomic_read_barrier): Define.
6748 (atomic_write_barrier): Define.
6749
6e236b92
SP
67502012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6751
6752 * shlib-versions: Add libgcc_s version information.
6753 * sysdeps/generic/libgcc_s.h: Remove.
6754 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
6755 libgcc_s.h.
6756 * sysdeps/gnu/unwind-resume.c: Likewise.
6757 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
6758
aab39a09
DM
67592012-04-25 David S. Miller <davem@davemloft.net>
6760
6761 * sysdeps/unix/sparc/brk.S: Delete.
6762 * sysdeps/unix/sparc/dl-brk.S: Delete.
6763 * sysdeps/unix/sparc/pipe.S: Delete.
6764 * sysdeps/unix/sparc/sysdep.S: Delete.
6765 * sysdeps/unix/sparc/sysdep.h: Delete.
6766 * sysdeps/unix/sparc/vfork.S: Delete.
6767 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
6768 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
6769 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
6770 ret_ERRVAL, r0, r1, MOVE): Define.
6771 (JUMPTARGET): Remove.
6772 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
6773 sysdeps/unix/sparc/sysdep.h
6774 (ENTRY, END): Remove.
6775 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6776
a3cc4f48
JM
67772012-04-25 Joseph Myers <joseph@codesourcery.com>
6778
2ed8cda2
JM
6779 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
6780 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
6781 -DIS_IN_build.
6782
35d76d59
JM
6783 * timezone/README: Update upstream location and email address for
6784 tzcode and tzdata.
6785 * timezone/zdump.c: Update from tzcode 2012b.
6786 * timezone/zic.c: Likewise.
6787
a3cc4f48
JM
6788 * configure.in (libc_cv_as_needed): Remove test.
6789 * configure: Regenerated.
6790 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
6791 conditional definition.
6792 [$(have-as-needed) != yes] (no-as-needed): Likewise.
6793 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
6794 * config.make.in (have-as-needed): Remove variable.
6795
ceab42c3
SP
67962012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
6797 Paul Pluzhnikov <ppluzhnikov@google.com>
6798
6799 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
6800 strings correctly.
6801
3ce2865f
CLT
68022012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
6803
6804 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
6805 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
6806 * sysdeps/sh/strlen.S: Likewise.
6807
f37e0d68
JM
68082012-04-24 Joseph Myers <joseph@codesourcery.com>
6809
ae186e9a
JM
6810 * sysdeps/unix/fork.S: Remove file.
6811 * sysdeps/unix/i386/fork.S: Likewise.
6812 * sysdeps/unix/sparc/fork.S: Likewise.
6813
b96914af
JM
6814 * sysdeps/unix/system.c: Remove file.
6815 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
6816
f37e0d68
JM
6817 * sysdeps/unix/getegid.S: Remove file.
6818 * sysdeps/unix/geteuid.S: Likewise.
6819
87ef29ca
RM
68202012-04-24 Roland McGrath <roland@hack.frob.com>
6821
83bcd236
RM
6822 * scripts/check-localplt.awk: New file.
6823 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
6824 of diff.
6825 * scripts/data/localplt-generic.data: Add a comment.
6826
87ef29ca
RM
6827 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
6828 NODE when __dir_mkfile failed.
6829 * sysdeps/mach/hurd/symlinkat.c: Likewise.
6830 Reported by Ludovic Courtès <ludo@gnu.org>.
6831
e5a6e567
AJ
68322012-04-24 Andreas Jaeger <aj@suse.de>
6833
6834 * Makerules (common-clean): Also remove gen-as-const-headers
6835 files.
6836
c1820385
JM
68372012-04-24 Joseph Myers <joseph@codesourcery.com>
6838
6839 * Makerules (native-compile): Do not change working directory for
6840 build. Use $(OUTPUT_OPTION) in command.
6841 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
6842
94e02fc4
AZ
68432012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6844
6845 [BZ #13886]
6846 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
6847 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
6848 * math/libm-test.inc (floor_test): Add more tests.
6849 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
6850
3a533ca3
JM
68512012-04-24 Joseph Myers <joseph@codesourcery.com>
6852
940ab4b3
JM
6853 * sysdeps/unix/getdents.c: Remove file.
6854 * sysdeps/unix/sysv/getdents.c: Likewise.
6855 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
6856
90e037bd
JM
6857 * sysdeps/unix/syscalls.list (madvise): Add syscall from
6858 sysdeps/unix/mman/syscalls.list.
6859 (mmap): Likewise.
6860 (mprotect): Likewise.
6861 (msync): Likewise.
6862 (munmap): Likewise.
6863 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
6864 * sysdeps/unix/mman/syscalls.list: Remove.
6865 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
6866
3a533ca3
JM
6867 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
6868 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
6869 * configure: Regenerated.
6870 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
6871 $(libgcc_s_suffix).
6872 * config.make.in (libgcc_s_suffix): Remove variable.
6873
1ad743de
JM
68742012-04-23 Joseph Myers <joseph@codesourcery.com>
6875
4ad451e2
JM
6876 * sysdeps/unix/sysv/gethostname.c: Move to ...
6877 * sysdeps/posix/gethostname.c: ... here.
6878
5e37ce39
JM
6879 * sysdeps/unix/execve.S: Remove file.
6880
1ad743de
JM
6881 * sysdeps/unix/_exit.S: Remove file.
6882
4e681b5b
AJ
68832012-04-23 Andreas Jaeger <aj@suse.de>
6884
6885 [BZ #13739]
6886 * manual/Makefile: Remove make dist support, there's no
6887 need for a stand-alone documentation tar ball.
6888 (TEXI2DVI): Define always, it's not in Makeconfig.
6889 (dist): Removed.
6890 (tar-it): Removed.
6891 (edition): Removed.
6892 (glibc-doc-$(edition).tar): Removed
6893 (%.Z): Removed.
6894 (%.gz): Removed.
6895 (%.uu): Removed.
6896 (ETAGS): Remove, it's in Makeconfig.
6897 (move-if-change): Remove, it's in Makeconfig.
6898
c0baea34
PE
68992013-04-23 Paul Eggert <eggert@cs.ucla.edu>
6900
6901 [BZ #13970]
6902 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
6903 (strtod, strtof, strtold, strtol, strtoul, strtoq)
6904 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
6905 (strtod_l, strtof_l, strtold_l): Remove __wur.
6906 It is not necessarily an error to ignore strtol's return value.
6907 One can reliably look at the stored endptr to decide whether
6908 the number had valid syntax.
6909
7c0616fa
AJ
69102012-04-21 Andreas Jaeger <aj@suse.de>
6911
803cb6b7 6912 [BZ #13739]
7c0616fa
AJ
6913 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
6914
b0fe253f
JM
69152012-04-21 Joseph Myers <joseph@codesourcery.com>
6916
6917 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
6918 * sysdeps/unix/sysv/Versions: Remove file.
6919
8280f22d
MT
69202012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
6921
6922 [BZ #13927]
6923 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6924
75ce411f 69252012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
6926
6927 [BZ #7064]
6928 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
6929 version from __vm86.
6930
097d59fa
JM
69312012-04-20 Joseph Myers <joseph@codesourcery.com>
6932
a90f3bcb
JM
6933 * sysdeps/unix/common/lxstat.c: Remove file.
6934 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
6935
edc7ea78
JM
6936 * sysdeps/unix/sysv/Makefile: Remove file.
6937
cb78c221
JM
6938 * sysdeps/unix/sysv/direct.h: Remove file.
6939
efa6a45f
JM
6940 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
6941 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
6942 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
6943 * sysdeps/unix/sysv/bits/signum.h: Likewise.
6944 * sysdeps/unix/sysv/bits/stat.h: Likewise.
6945 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
6946 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
6947
9c9f2d0c
JM
6948 * sysdeps/unix/sysv/setrlimit.c: Remove file.
6949
4541c83b
JM
6950 * sysdeps/unix/xmknod.c: Remove file.
6951 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
6952
f5d153a0
JM
6953 * sysdeps/unix/sysv/settimeofday.c: Remove file.
6954
aa746595
JM
6955 * sysdeps/unix/sysv/i386/time.S: Remove file.
6956
cce5905e
JM
6957 * sysdeps/unix/fxstat.c: Remove file.
6958 * sysdeps/unix/xstat.c: Likewise.
6959 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
6960
37fa3841
JM
6961 * sysdeps/unix/sysv/sigaction.c: Remove file.
6962
ff1962a3
JM
6963 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
6964 (sysdep_headers): Remove variable.
6965 [termio.h not in sysdep_headers] (generated): Likewise.
6966 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
6967 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
6968 * sysdeps/unix/sysv/tcdrain.c: Likewise.
6969 * sysdeps/unix/sysv/tcflow.c: Likewise.
6970 * sysdeps/unix/sysv/tcflush.c: Likewise.
6971 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
6972 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
6973 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
6974 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
6975 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
6976
e7740d31
JM
6977 * sysdeps/unix/siglist.c: Remove file.
6978
ee06f18b
JM
6979 * sysdeps/unix/getppid.S: Remove file.
6980
097d59fa
JM
6981 * sysdeps/unix/mkdir.c: Remove file.
6982 * sysdeps/unix/rmdir.c: Likewise.
6983
ff3d51ec
AS
69842012-04-19 Andreas Schwab <schwab@linux-m68k.org>
6985
6986 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
6987 ERR_MAX value.
6988 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
6989 errlist-compat value.
6990
50f81fd7
DM
69912012-04-18 David S. Miller <davem@davemloft.net>
6992
6993 * sysdeps/generic/memcopy.h (reg_char): Delete.
6994 * debug/strcat_chk.c: Use char, not reg_char.
6995 * debug/strcpy_chk.c: Likewise.
6996 * debug/strncat_chk.c: Likewise.
6997 * debug/strncpy_chk.c: Likewise.
6998 * string/memchr.c: Likewise.
6999 * string/memrchr.c: Likewise.
7000 * string/rawmemchr.c: Likewise.
7001 * string/strcat.c: Likewise.
7002 * string/strchr.c: Likewise.
7003 * string/strchrnul.c: Likewise.
7004 * string/strcmp.c: Likewise.
7005 * string/strcpy.c: Likewise.
7006 * string/strncat.c: Likewise.
7007 * string/strncmp.c: Likewise.
7008 * string/strncpy.c: Likewise.
7009
8ff41c46
WS
70102012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
7011
7012 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
7013 __builtin_memcopy is called when src and dest ranges are known to not
7014 overlap.
7015
6b652f46
WS
70162012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
7017
7018 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
7019 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
7020 fwd_align_merge macro call.
7021 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
7022 bwd_align_merge macro call.
7023 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
7024
b282631e
WS
70252012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
7026
7027 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
7028 bwd_align_merge macros.
7029 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
7030 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
7031 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
7032
95aa737c
DM
70332012-04-18 David S. Miller <davem@davemloft.net>
7034
7035 * sysdeps/sparc/sparc64/memcopy.h: Delete.
7036
7a99a614
AJ
70372012-04-18 Andreas Jaeger <aj@suse.de>
7038
7039 [BZ# 6794]
7040 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
7041 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
7042 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
7043
7044 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
7045 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
7046 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
7047
7048 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
7049 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
7050 Adjust for changed ldbl-128 files.
7051
7052 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
7053 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
7054 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
7055
e5270c23
DM
70562012-04-17 David S. Miller <davem@davemloft.net>
7057
7058 * sysdeps/sparc/sparc32/memcopy.h: Delete.
7059
fb5e92c9
AS
70602012-04-17 Andreas Schwab <schwab@linux-m68k.org>
7061
7062 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
7063 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
7064 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
7065 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
7066 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
7067 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
7068
76da7265
AZ
70692012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7070
7071 [BZ #6794]
7072 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
7073 * math/libm-test.inc: Add ilogb errno and exception tests.
7074 * math/w_ilogb.c: New file: ilogb wrapper.
7075 * math/w_ilogbf.c: New file: ilogbf wrapper.
7076 * math/w_ilogbl.c: New file: ilogbl wrapper.
7077 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
7078 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
7079 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
7080 exception being thrown with 0.0 as argument.
7081 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
7082 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
7083 exception being thrown with 0.0 as argument.
7084 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
7085 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
7086 exception being thrown with 0.0 as argument.
7087 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
7088 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
7089 exception being thrown with 0.0 as argument.
7090 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
7091 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 7092 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
7093 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
7094 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
7095 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
7096 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
7097 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
7098 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
7099
0396e69d
PB
71002012-04-17 Petr Baudis <pasky@ucw.cz>
7101
7102 * include/sys/uio.h: Change __vector to __iovec to avoid clash
7103 with altivec.
7104
750b5926
MP
71052012-04-16 Marek Polacek <polacek@redhat.com>
7106
7107 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
7108
751728a1
MP
71092012-04-16 Marek Polacek <polacek@redhat.com>
7110
7111 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
7112 operands of fdivp instruction.
7113
34a27407
L
71142012-04-13 H.J. Lu <hongjiu.lu@intel.com>
7115
7116 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
7117 * elf/tst-auditmod3b.c: Likewise.
7118 * elf/tst-auditmod4b.c: Likewise.
7119 * elf/tst-auditmod5b.c: Likewise.
7120 * elf/tst-auditmod6b.c: Likewise.
7121 * elf/tst-auditmod6c.c: Likewise.
7122 * elf/tst-auditmod7b.c: Likewise.
7123 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
7124 * sysdeps/x86_64/preconfigure.in: Likewise.
7125 * sysdeps/x86_64/preconfigure: Regenerated.
7126
7e73e17d
L
71272012-04-13 H.J. Lu <hongjiu.lu@intel.com>
7128
7129 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
7130 __ILP32__.
7131
c7a6ab72
AB
71322012-04-13 Antoine Balestrat <merkil33@gmail.com>
7133
7134 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7135 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
7136
a9e8e0e0
CL
71372012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
7138
7139 [BZ #13973]
7140 * locale/iso-639.def: Fix gl language name. Spotted by
7141 Yaron Shahrabani.
7142
ec98af7d
RM
71432012-04-12 Roland McGrath <roland@hack.frob.com>
7144
7145 [BZ #2074]
7146 * libio/libio.h (__io_write_fn): Update comment.
7147
247c3ede
PB
71482012-04-12 Petr Baudis <pasky@ucw.cz>
7149
7150 [BZ #2074]
7151 * stdio.texi (Hook Functions): The user provided writer function
7152 is not allowed to return -1.
7153
55939d6d
DM
71542012-04-11 David S. Miller <davem@davemloft.net>
7155
7156 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7157
90020f5a
MF
71582012-04-11 Mike Frysinger <vapier@gentoo.org>
7159
7160 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
7161 Add a leading slash to rtkaio.
7162
288f9098
JM
71632012-04-11 Jim Meyering <meyering@redhat.com>
7164
90020f5a
MF
7165 [BZ #11959]
7166 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
7167 It is not necessarily an error to ignore fwrite's return
7168 value. One can reliably use ferror to test for errors after
7169 the fact.
288f9098 7170
4be2b570
L
71712012-04-10 H.J. Lu <hongjiu.lu@intel.com>
7172
7173 * bits/types.h (__snseconds_t): New type.
7174 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
7175
7176 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
7177 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
7178 (__SNSECONDS_T_TYPE): Likewise.
7179 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
7180 (__SNSECONDS_T_TYPE): Likewise.
7181 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7182 (__SNSECONDS_T_TYPE): Likewise.
7183
288f9098 71842012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
7185
7186 [BZ #2636]
7187 * manual/time.texi (Processor Time): Return type of times is
7188 elapsed real time since an arbitrary point in the past.
7189 (CPU Time): Move CLK_TCK from here...
7190 (Processor Time): ...to here. Correct description.
7191 * manual/conf.texi (Constants for Sysconf): Correct description of
7192 _SC_CLK_TCK.
7193
d7dd4413
DM
71942012-04-10 David S. Miller <davem@davemloft.net>
7195
7196 [BZ #13967]
7197 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
7198 where the is a gap between DT_REL(A) and DT_JMPREL.
7199
b46068fc
L
72002012-04-10 H.J. Lu <hongjiu.lu@intel.com>
7201
7202 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
7203 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
7204 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
7205
73d65cc3
SP
72062012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7207
7208 * elf/dl-support.c (_dl_inhibit_cache): New variable.
7209 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
7210 (dl_main): Handle --inhibit-cache.
7211 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
7212 _dl_inhibit_cache.
7213 * elf/dl-load.c (_dl_map_object): Use it.
7214 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
7215
bcc8d661
JM
72162012-04-09 Joseph Myers <joseph@codesourcery.com>
7217
8f9a2fae
JM
7218 [BZ #13872]
7219 * sysdeps/i386/fpu/e_powl.S (p78): New object.
7220 (__ieee754_powl): Saturate large exponents rather than testing for
7221 overflow of y*log2(x).
7222 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
7223 * math/libm-test.inc (pow_test): Do not permit spurious overflow
7224 exceptions.
7225
bcc8d661
JM
7226 [BZ #11521]
7227 * math/s_ctan.c: Include <float.h>.
7228 (__ctan): Avoid internal overflow or cancellation in calculating
7229 denominator.
7230 * math/s_ctanf.c: Likewise.
7231 * math/s_ctanl.c: Likewise.
7232 * math/s_ctanh.c: Likewise.
7233 * math/s_ctanhf.c: Likewise.
7234 * math/s_ctanhl.c: Likewise.
7235 * math/libm-test.inc (ctan_test): Add more tests.
7236 (ctanh_test): Likewise.
7237 * sysdeps/i386/fpu/libm-test-ulps: Update.
7238 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7239
823fbbb4
AJ
72402012-04-09 Andreas Jaeger <aj@suse.de>
7241
03879793
AJ
7242 [BZ #6894]
7243 * manual/filesys.texi (Directory Entries): Mention that d_namlen
7244 is an optional BSD extension.
7245
823fbbb4
AJ
7246 [BZ #10254]
7247 * manual/stdio.texi (Opening Streams): Document additional fopen
7248 parameters.
7249
8de131cb
RM
72502012-04-09 Roland McGrath <roland@hack.frob.com>
7251
7252 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
7253 %eax without telling the compiler.
7254
c0ed9d7d
CD
72552012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
7256
7257 [BZ # 13963]
7258 * manual/install.texi: Use sourceware.org.
7259
c483f6b4
JM
72602012-04-09 Joseph Myers <joseph@codesourcery.com>
7261
d7dd9453
JM
7262 [BZ #13873]
7263 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
7264 (__ieee754_pow): Generate overflow and underflow using huge*huge
7265 and tiny*tiny rather than just returning constant infinity or zero
7266 for large exponents.
7267 * math/libm-test.inc (pow_test): Require overflow exceptions for
7268 applicable cases of large exponents.
7269
c483f6b4
JM
7270 [BZ #706]
7271 * sysdeps/i386/fpu/e_pow.S (p10): New object.
7272 (__ieee754_pow): Use iterative multiplication algorithm only for
7273 integer exponents with absolute value below 1024. Check for odd
7274 integer exponents when using algorithm for real exponents.
7275 * math/libm-test.inc (pow_test): Add more tests.
7276 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7277
d2de7579
JM
72782012-04-08 Joseph Myers <joseph@codesourcery.com>
7279
7280 [BZ #13705]
7281 * math/libm-test.inc (exp_test): Do not allow overflow exception
7282 on underflow test.
7283
f77f1232
AJ
72842012-04-08 Aurelien Jarno <aurelien@aurel32.net>
7285
7286 [BZ #13705]
7287 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
7288 instead of __kernel_standard_f.
7289
3884932b
MF
72902012-04-08 Mike Frysinger <vapier@gentoo.org>
7291
7292 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
7293 * sysdeps/x86_64/memset_chk.S: Likewise.
7294
54472e9c
AJ
72952012-04-08 Andreas Jaeger <aj@suse.de>
7296
6ab0fbfc
AJ
7297 [BZ #10153]
7298 * manual/startup.texi (Environment Access): Describe return value
7299 for putenv and setenv.
7300
61efba8c
AJ
7301 [BZ #6895]
7302 * manual/filesys.texi (Directory Entries): Add description for
7303 DT_LNK.
7304
95c3f29a
AJ
7305 [BZ #6890]
7306 * manual/filesys.texi (Directory Entries): Clarify that it's file
7307 system not operating system in the description of DT_UNKNOWN.
7308
54472e9c
AJ
7309 [BZ #6578]
7310 * manual/syslog.texi (closelog): Fix reference, it's openlog.
7311
624254b1
SC
73122012-04-08 Stephen Compall <s11@member.fsf.org>
7313
7314 [BZ #6649]
7315 * manual/llio.texi (Opening and Closing Files): Add cross
7316 reference to explain mode argument.
7317
1e4920e0
MF
73182012-04-07 Mike Frysinger <vapier@gentoo.org>
7319
7320 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
7321 * sysdeps/x86_64/memset_chk.S: Likewise.
7322
5ed848f3
DM
73232012-04-07 David S. Miller <davem@davemloft.net>
7324
7325 * elf/elf.h (R_SPARC_WDISP10): Define.
7326 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
7327 R_SPARC_SIZE32.
7328 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
7329 R_SPARC_SIZE64 and R_SPARC_H34.
7330
96154cd8
CD
73312012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
7332
7333 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
7334 conditions and remove no longer applicable assertion.
7335
9904dc47
L
73362012-04-06 H.J. Lu <hongjiu.lu@intel.com>
7337
7338 * bits/byteswap.h: Include <features.h>.
7339 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
7340 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
7341
f8887d0a
L
73422012-04-06 H.J. Lu <hongjiu.lu@intel.com>
7343
7344 * bits/byteswap.h (__bswap_16): Removed.
7345 Include <bits/byteswap-16.h> to get __bswap_16.
7346 * sysdeps/i386/bits/byteswap.h: Likewise.
7347 * sysdeps/s390/bits/byteswap.h: Likewise.
7348 * sysdeps/x86_64/bits/byteswap.h: Likewise.
7349 * bits/byteswap-16.h: New file.
7350 * sysdeps/i386/bits/byteswap-16.h: Likewise.
7351 * sysdeps/s390/bits/byteswap-16.h: Likewise.
7352 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
7353 * string/Makefile (headers): Add bits/byteswap-16.h.
7354
62470f60
PP
73552012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
7356
7357 [BZ #13895]
7358 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
7359 extra indirection.
7360 * nss/Makefile (tests-static, tests): Add tst-nss-static.
7361 * nss/tst-nss-static.c: New.
7362
4dad7bab
RM
73632012-04-06 Robert Millan <rmh@gnu.org>
7364
7365 [BZ #6486]
7366 * manual/llio.texi (File Position Primitive): lseek
7367 refers to WHENCE when it really means OFFSET.
7368
e9142a17
AJ
73692012-04-06 Andreas Jaeger <aj@suse.de>
7370
2c040eff
AJ
7371 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
7372 strncmp declarations.
7373
e9142a17
AJ
7374 * abilist/libc.abilist: Add __poll and __ppoll.
7375
ff9f1c5f
DM
73762012-04-05 David S. Miller <davem@davemloft.net>
7377
dcd2ae90
DM
7378 * scripts/check-local-headers.sh: Accept a host triplet in the
7379 path matched by the exclude regexp.
7380
993eb054
DM
7381 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
7382 definition.
7383 * sysdeps/powerpc/powerpc32/dl-machine.h
7384 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
7385 * sysdeps/s390/s390-32/dl-machine.h
7386 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
7387 * sysdeps/sparc/sparc32/dl-machine.h
7388 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
7389 * sysdeps/sparc/sparc64/dl-machine.h
7390 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
7391
ff9f1c5f
DM
7392 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
7393 lazy binding.
48e2e132 7394 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
7395 undefined symbol errors.
7396
48e2e132 7397 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
7398 DT_NEEDED entries.
7399
e80d6f94
MM
74002012-04-05 Michael Matz <matz@suse.de>
7401
7402 [BZ #13592]
7403 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
7404
349fa79f
AJ
74052012-04-05 Andreas Jaeger <aj@suse.de>
7406
7407 [BZ #13908]
7408 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
7409 comment.
7410
f402708f
KK
74112012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7412
7413 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
7414 which ROUND is no valid rounding mode.
7415
2ecccfc9
KK
74162012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7417
7418 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
7419 read again.
7420 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
7421
8a53f50f
KK
74222012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7423
7424 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
7425 an exception using FPU order intentionally.
7426
74272012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7428
7429 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
7430 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
7431 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
7432 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
7433
d653abb7
SJ
74342012-04-05 Simon Josefsson <simon@josefsson.org>
7435
7436 [BZ #12340]
7437 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
7438 EINVAL when BUFLEN is too smal.
7439
c3b1bf7d
TS
74402012-04-05 Thomas Schwinge <thomas@codesourcery.com>
7441
7442 [BZ #13553]
7443 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
7444 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
7445
b1aa60f3
AJ
74462012-04-03 Andreas Jaeger <aj@suse.de>
7447
c3b1bf7d 7448 [BZ #13938]
67f60a26
AJ
7449 * manual/setjmp.texi (System V contexts): Fix sentence.
7450
b1aa60f3
AJ
7451 [BZ #13926]
7452 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
7453 New macro for this case.
7454 [!__GNUC__] (__bswap_64): New inline function for this case.
7455 * sysdeps/x86_64/bits/byteswap.h: Likewise.
7456 * bits/byteswap.h: Likewise.
7457 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
7458 ull, guard with __GLIBC_HAVE_LONG_LONG.
7459
7460 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
7461 __GLIBC_HAVE_LONG_LONG.
7462
7463 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
7464 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
7465
39c59c35
TMQMF
74662012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7467
7468 [BZ #13691]
7469 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
7470 inptr and inend, rather than using last_ch.
7471
135ffda8
DM
74722012-04-02 David S. Miller <davem@davemloft.net>
7473
7474 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
7475 * stdio-common/printf-parse.h (read_int): Change return type to
7476 'int', return -1 on INT_MAX overflow.
7477 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
7478 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
7479 overflows INT_MAX. Check for overflow of in-format-string precision
7480 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
7481 SIZE_MAX not INT_MAX for integer overflow test.
7482 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
7483 skip the construct in the format string but do not record anything.
7484 * stdio-common/bug22.c: Adjust to test both width/prevision
7485 INT_MAX overflow as well as total length INT_MAX overflow. Check
7486 explicitly for proper errno values.
7487
228c019e
TS
74882012-04-02 Thomas Schwinge <thomas@codesourcery.com>
7489
302cadd3
TS
7490 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
7491 CHAR_MAX.
7492 * string/test-strcmp.c [! WIDE]: Likewise.
7493 * time/tst-mktime2.c: Likewise for INT_MAX.
7494 * string/test-string.h: #include <sys/param.h> for MIN.
7495
228c019e
TS
7496 * csu/init-first.c (__libc_init_first): Call __ctype_init.
7497 * sysdeps/i386/init-first.c (init): Likewise.
7498 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
7499 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
7500 * sysdeps/sh/init-first.c (init): Likewise.
7501
cfa633f5
UD
75022012-04-01 Ulrich Drepper <drepper@gmail.com>
7503
7504 * po/ru.po: Update from translation team.
d1635ef8 7505 * po/vi.po: Likewise.
cfa633f5 7506
6cd0a5ea
SP
75072012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
7508
7509 * resolv/nss_dns/dns-host.c: Merge copyright years.
7510
4b43400f
LD
75112012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7512
7513 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
7514 Optimize memcpy with prefetch if
7515 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
7516 src, dst pointers have unequal 16 byte alignments.
7517
48c41d04
SP
75182012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7519
7520 [BZ #13928]
7521 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
7522 from a CNAME entry and return the minimum ttl for the query.
7523 (gaih_getanswer_slice): Likewise.
7524
b8dc394d
JL
75252012-03-30 Jeff Law <law@redhat.com>
7526
7527 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
7528 due to long keys.
7529 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
7530 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
7531
2f5a5ed0
JL
7532 * resolv/nss_dns/dns-host.c: Update copyright year.
7533
1d39e359
UD
75342012-03-30 Ulrich Drepper <drepper@gmail.com>
7535
c030f70c 7536 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 7537 requests to save a system call. Fix check that all bytes are sent.
c030f70c 7538
1d39e359
UD
7539 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
7540 comments for sendmmsg.
7541
75422012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
7543
7544 [BZ #13691]
7545 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
7546 with only 1 character between 0x0041 and 0x01b0.
7547 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
7548 * wcsmbs/tst-mbsnrtowcs.c: New file.
7549
20fde227
DM
75502012-03-29 David S. Miller <davem@davemloft.net>
7551
7552 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
7553 small copies by hand.
7554
984a4237
JL
75552012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7556
7557 [BZ #13761]
7558 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
7559 _nss_compat_initgroups_dyn): Fall back to malloc/free
7560 for large group memberships.
7561
18c9d62b
DM
75622012-03-28 David S. Miller <davem@davemloft.net>
7563
88d85d4f
DM
7564 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
7565 that branches into memcpy.
7566 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
7567 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
7568 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
7569 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
7570 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
7571 bits.
7572 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
7573 implementation too.
7574 * sysdeps/sparc/mempcpy.S: New file.
7575
e5aa83e1
DM
7576 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
7577 the IFUNC routine in the libc case.
7578 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
7579
88570753
DM
7580 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
7581 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
7582 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
7583 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
7584 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
7585 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
7586 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
7587 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
7588
249d7567
DM
7589 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
7590 loop to 256 bytes instead of 64 bytes and fix test signedness.
7591
18c9d62b
DM
7592 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
7593 * sysdeps/sparc/sparc32/Makefile: rather than here...
7594 * sysdeps/sparc/sparc64/Makefile: and here.
7595
05f3d1f6
UD
75962012-03-28 Ulrich Drepper <drepper@gmail.com>
7597
7598 * malloc/mallocbug.c: Avoid warnings about unused variables.
7599
86ae07a8
JL
76002012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
7601
7602 [BZ #13760]
7603 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
7604 in the right place. Discard and retry query if response is
7605 larger than input buffer size.
7606
41bf21a1
JM
76072012-03-28 Joseph Myers <joseph@codesourcery.com>
7608
d6270972
JM
7609 [BZ #369]
7610 [BZ #2678]
7611 [BZ #3866]
7612 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
7613 x for large integer exponent.
7614 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
7615 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
7616 sign of result as needed afterwards.
7617 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
7618 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
7619 result for underflowing pow the same as for overflow.
7620 (__kernel_standard_l): Handle powl overflow and underflow here
7621 rather than calling __kernel_standard.
7622 * math/libm-test.inc (pow_test): Add more tests.
7623
414fca03 7624 [BZ #3868]
41bf21a1
JM
7625 [BZ #13879]
7626 [BZ #13910]
7627 [BZ #13911]
7628 [BZ #13912]
7629 [BZ #13913]
7630 [BZ #13915]
7631 [BZ #13916]
7632 [BZ #13917]
7633 [BZ #13918]
7634 [BZ #13919]
7635 [BZ #13920]
7636 [BZ #13921]
7637 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
7638 * sysdeps/ieee754/k_standard.c: Include <float.h>.
7639 (__kernel_standard_l): New function.
7640 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
7641 __kernel_standard.
7642 * math/w_acosl.c (__acosl): Likewise.
7643 * math/w_asinl.c (__asinl): Likewise.
7644 * math/w_atan2l.c (__atan2l): Likewise.
7645 * math/w_atanhl.c (__atanhl): Likewise.
7646 * math/w_coshl.c (__coshl): Likewise.
7647 * math/w_exp10l.c (__exp10l): Likewise.
7648 * math/w_exp2l.c (__exp2l): Likewise.
7649 * math/w_fmodl.c (__fmodl): Likewise.
7650 * math/w_hypotl.c (__hypotl): Likewise.
7651 * math/w_j0l.c (__j0l, __y0l): Likewise.
7652 * math/w_j1l.c (__j1l, __y1l): Likewise.
7653 * math/w_jnl.c (__jnl, __ynl): Likewise.
7654 * math/w_lgammal.c (__lgammal): Likewise.
7655 * math/w_log10l.c (__log10l): Likewise.
7656 * math/w_log2l.c (__log2l): Likewise.
7657 * math/w_logl.c (__logl): Likewise.
7658 * math/w_powl.c (__powl): Likewise.
7659 * math/w_remainderl.c (__remainderl): Likewise.
7660 * math/w_scalbl.c (sysv_scalbl): Likewise.
7661 * math/w_sinhl.c (__sinhl): Likewise.
7662 * math/w_sqrtl.c (__sqrtl): Likewise.
7663 * math/w_tgammal.c (__tgammal): Likewise.
7664 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
7665 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
7666 * math/libm-test.inc (acos_test): Add more tests.
7667 (acosh_test): Likewise.
7668 (asin_test): Likewise.
7669 (atanh_test): Likewise.
7670 (exp_test): Likewise.
7671 (exp10_test): Likewise.
7672 (exp2_test): Likewise.
7673 (expm1_test): Likewise.
7674 (lgamma_test): Likewise.
7675 (log_test): Likewise.
7676 (log10_test): Likewise.
7677 (log1p_test): Likewise.
7678 (log2_test): Likewise.
7679 (pow_test): Do not allow some spurious overflow exceptions.
7680 (sqrt_test): Add more tests.
7681 (tgamma_test): Likewise.
7682 (y0_test): Likewise.
7683 (y1_test): Likewise.
7684 (yn_test): Likewise.
7685
dd62fda6
AB
76862012-03-27 Anton Blanchard <anton@samba.org>
7687
7688 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
7689 MAP_HUGETLB.
7690 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
7691 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
7692 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
7693
1e3cdfda
AJ
76942012-03-27 David S. Miller <davem@davemloft.net>
7695
b855ab85
DM
7696 * conform/Makefile: Run run-conformtest.sh using $(BASH).
7697
1e3cdfda
AJ
7698 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
7699 have-as-vis3 check.
7700
77012012-03-27 Andreas Jaeger <aj@suse.de>
7702
7703 * sysdeps/x86_64/elf/configure.in: Moved to ...
7704 * sysdeps/x86_64/configure.in: ... here.
7705 * sysdeps/x86_64/elf/start.S: Moved to ...
7706 * sysdeps/x86_64/start.S: ... here.
7707 * sysdeps/x86_64/elf/configure: Delete.
7708
7709 * sysdeps/x86_64/configure.in: Merge contents from
7710 sysdeps/i386/configure.in (without i686 check).
7711
7712 * sysdeps/i386/elf/Versions: Merge into ...
7713 * sysdeps/i386/Versions: ... this.
7714 * sysdeps/i386/elf/Versions: Delete file.
7715 * sysdeps/i386/elf/start.S: Moved to ...
7716 * sysdeps/i386/start.S: ...here.
7717 * sysdeps/i386/elf/configure.in: Merge into...
7718 * sysdeps/i386/configure.in: ...here.
7719 * sysdeps/i386/elf/configure.in: Delete file.
7720 * sysdeps/i386/elf/configure: Delete file.
7721
7722 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
7723 * debug/backtracesyms.c: ... here.
7724 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
7725 * debug/backtracesymsfd.c: ... here.
7726 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
7727 * sysdeps/generic/ifunc-sel.h: ... here.
7728
7729 * sysdeps/unix/i386/start.c: Delete file.
7730 * sysdeps/unix/sparc/start.c: Delete file.
7731 * sysdeps/unix/start.c: Delete file.
7732
7733 * sysdeps/sh/elf/configure.in: Moved to ...
7734 * sysdeps/sh/configure.in: ... here.
7735 * sysdeps/sh/elf/start.S: Moved to ...
7736 * sysdeps/sh/start.S: ... here.
7737 * sysdeps/sh/elf/configure: Delete file.
7738
7739 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
7740 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
7741 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
7742 * sysdeps/powerpc/powerpc64/entry.h: ... here.
7743 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
7744 * sysdeps/powerpc/powerpc64/start.S: here.
7745 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
7746 * sysdeps/powerpc/powerpc64/Makefile: ... this.
7747 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
7748 * sysdeps/powerpc/powerpc64/configure.in: ... this.
7749 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
7750
7751 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
7752 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
7753 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
7754 * sysdeps/powerpc/powerpc32/start.S: ... here.
7755 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
7756 * sysdeps/powerpc/powerpc32/configure.in: ... this.
7757 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
7758
7759 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
7760 * sysdeps/powerpc/ifunc-sel.h: ... here.
7761 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
7762 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
7763
7764 * sysdeps/sparc/elf/configure.in: Moved to ...
7765 * sysdeps/sparc/configure.in: ... here.
7766 * sysdeps/sparc/elf/configure: Delete file.
7767 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
7768 * sysdeps/sparc/sparc32/start.S: ... here.
7769 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
7770 * sysdeps/sparc/sparc64/start.S: ... here.
7771 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
7772 * sysdeps/sparc/sparc32/Makefile: ... this.
7773 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
7774 * sysdeps/sparc/sparc64/Makefile: ... this.
7775
7776 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
7777 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
7778 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
7779 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
7780 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
7781 * sysdeps/s390/s390-32/setjmp.S: ... here.
7782 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
7783 * sysdeps/s390/s390-32/configure.in: ... here.
7784 * sysdeps/s390/s390-32/elf/configure: Delete file.
7785 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
7786 * sysdeps/s390/s390-32/start.S: ... here.
7787
7788 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
7789 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
7790 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
7791 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
7792 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
7793 * sysdeps/s390/s390-64/setjmp.S: ... here.
7794 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
7795 * sysdeps/s390/s390-64/configure.in: ... here
7796 * sysdeps/s390/s390-64/elf/configure: Delete file.
7797 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
7798 * sysdeps/s390/s390-64/start.S: ... here.
7799 * sysdeps/s390/s390-64/elf/configure: Delete.
7800
7801 * configure.in: Remove support for elf directories in sysdeps.
7802
7803 * configure: Regenerated.
7804 * sysdeps/i386/configure: Regenerated.
7805 * sysdeps/powerpc/powerpc32/configure: Regenerated.
7806 * sysdeps/powerpc/powerpc64/configure: Regenerated.
7807 * sysdeps/s390/s390-32/configure: Regenerated.
7808 * sysdeps/s390/s390-64/configure: Regenerated.
7809 * sysdeps/sh/configure: Regenerated.
7810 * sysdeps/sparc/configure: Regenerated.
7811 * sysdeps/x86_64/configure: Regenerated.
7812
a3f61311
AS
78132012-03-26 Andreas Schwab <schwab@linux-m68k.org>
7814
c876e002
AS
7815 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7816
a3f61311
AS
7817 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
7818 denormal result into account.
7819
ac4c54f0
RM
78202012-03-25 Roland McGrath <roland@hack.frob.com>
7821
7822 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
7823 Reported by Allan McRae <allan@archlinux.org>.
7824
6a9b9c02
JL
78252012-03-23 Jeff Law <law@redhat.com>
7826
7827 * nss/getnssent.c (__nss_getent): Fix typo.
7828
4c42a0c1
DM
78292012-03-23 David S. Miller <davem@davemloft.net>
7830
7831 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7832
1532c7ac
L
78332012-03-23 H.J. Lu <hongjiu.lu@intel.com>
7834
7835 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
7836 to pad to uint64_t for each field.
7837 (dl_tls_index): Replace unsigned long with uint64_t.
7838
3ff42526
PP
78392012-03-23 Daniel Jacobowitz <dmj@google.com>
7840 Paul Pluzhnikov <ppluzhnikov@google.com>
7841
7842 [BZ #6528]
7843 * grp/Makefile (otherlibs): Don't set it.
7844 * inet/Makefile (otherlibs): Likewise.
7845 * login/Makefile (otherlibs): Likewise.
7846 * nscd/Makefile (otherlibs): Likewise.
7847 * posix/Makefile (otherlibs): Likewise.
7848 * pwd/Makefile (otherlibs): Likewise.
7849 * rt/Makefile (otherlibs): Likewise.
7850 * sunrpc/Makefile (otherlibs): Likewise.
7851 * nss/Makefile (otherlibs): Likewise.
7852 Add libnss_files to routines and static-only-routines.
7853 ($(objpfx)getent): Remove rule.
7854 * resolv/Makefile: Add libnss_dns and libresolv to routines and
7855 static-only-routines.
7856
7c69cd14
JM
78572012-03-22 Joseph Myers <joseph@codesourcery.com>
7858
7859 [BZ #13892]
7860 * math/s_cexp.c: Include <float.h>.
7861 (__cexp): Handle exp result overflowing not necessarily
7862 overflowing both real and imaginary parts of result.
7863 * math/s_cexpf.c: Likewise.
7864 * math/s_cexpl.c: Likewise.
7865 * math/libm-test.inc (cexp_test): Add more tests.
7866 * sysdeps/i386/fpu/libm-test-ulps: Update.
7867 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7868
81b035fe
L
78692012-03-22 H.J. Lu <hongjiu.lu@intel.com>
7870
7871 * include/link.h (ELFW): New macro.
7872 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
7873 Replace ELF64_R_TYPE with ELFW(R_TYPE).
7874
1da7940c
L
78752012-03-22 H.J. Lu <hongjiu.lu@intel.com>
7876
7877 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
7878 with uint64_t.
7879
b749dbb9
L
78802012-03-22 H.J. Lu <hongjiu.lu@intel.com>
7881
7882 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
7883 declaration.
7884 (struct La_x32_retval): Likewise.
7885
2ff87f3f
L
78862012-03-22 H.J. Lu <hongjiu.lu@intel.com>
7887
7888 * sysdeps/x86_64/preconfigure.in: New file.
7889 * sysdeps/x86_64/preconfigure: New generated file.
7890
c0df8e69
JM
78912012-03-22 Joseph Myers <joseph@codesourcery.com>
7892
48e44791
JM
7893 [BZ #13824]
7894 * math/e_exp2l.c: Include <float.h>.
7895 (__ieee754_exp2l): Handle overflow and underflow cases
7896 separately. Only pass fractional part of argument to
7897 __ieee754_expl.
7898 * math/libm-test.inc (exp2_test): Add more tests.
7899
c0df8e69
JM
7900 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
7901 negating x to take absolute value.
7902 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
7903 Likewise.
7904 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
7905 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
7906 Likewise.
7907 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
7908 computing low part if x was negated.
7909 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
7910
c8e43ba7
L
79112012-03-21 H.J. Lu <hongjiu.lu@intel.com>
7912
7913 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
7914 la_x32_gnu_pltexit.
7915 (pltexit): Cast int_retval to ptrdiff_t.
7916 * elf/tst-auditmod3b.c: Likewise.
7917 * elf/tst-auditmod4b.c: Likewise.
7918 * elf/tst-auditmod5b.c: Likewise.
7919 * elf/tst-auditmod6b.c: Likewise.
7920 * elf/tst-auditmod6c.c: Likewise.
7921 * elf/tst-auditmod7b.c: Likewise.
7922
7923 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
7924 and x32_gnu_pltexit.
7925
7926 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
7927 __ELF_NATIVE_CLASS.
7928 (La_x32_regs): New macro.
7929 (La_x32_retval): Likewise.
7930 (la_x32_gnu_pltenter): New function prototype.
7931 (la_x32_gnu_pltexit): Likewise.
7932
7998fa78
AS
79332012-03-21 Andreas Schwab <schwab@linux-m68k.org>
7934
dcb33988
AS
7935 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
7936 exponent.
7937
233fc563
AS
7938 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7939
7998fa78
AS
7940 * configure.in (libc_cv_cc_nofma): Check for option to disable
7941 generation of FMA instructions.
7942 * configure: Regenerate.
7943 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
7944 * sysdeps/ieee754/dbl-64/Makefile: New file.
7945 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
7946 Remove brandred-fma4.
7947 (CFLAGS-brandred-fma4.c): Remove.
7948 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
7949 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
7950 define.
7951 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
7952 define.
7953
8e95c99a
L
79542012-03-21 H.J. Lu <hongjiu.lu@intel.com>
7955
7956 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
7957 LLONG_MAX != LONG_MAX.
7958 (_itoa_word): Use _ITOA_WORD_TYPE on value.
7959 (_fitoa_word): Likewise.
7960 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
7961 LLONG_MAX != LONG_MAX.
7962 * stdio-common/_itowa.h: Include <_itoa.h>.
7963 (_itowa_word): Use _ITOA_WORD_TYPE on value.
7964 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
7965 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
7966 only if not defined.
7967 (_ITOA_WORD_TYPE): Likewise.
7968 (_itoa_word): Use _ITOA_WORD_TYPE on value.
7969 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
7970
6f4db457
DM
79712012-03-21 David S. Miller <davem@davemloft.net>
7972
7973 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7974
7785fe5a
L
79752012-03-21 H.J. Lu <hongjiu.lu@intel.com>
7976
7977 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
7978 of x86_64 when setting libc_cv_slibdir, libdir and
7979 libc_cv_localedir.
7980 * sysdeps/unix/sysv/linux/configure: Regenerated.
7981
4535cd55
JM
79822012-03-21 Joseph Myers <joseph@codesourcery.com>
7983
7984 * manual/lang.texi (Old Varargs): Remove section.
7985 (How Variadic): Update menu.
7986 (va_start): Do not mention varargs.h.
7987
17228132
TS
79882012-03-21 Thomas Schwinge <thomas@codesourcery.com>
7989 Joseph Myers <joseph@codesourcery.com>
7990
7991 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
7992 link test.
7993 * configure: Regenerated.
7994
8149f976
TS
79952012-03-21 Thomas Schwinge <thomas@codesourcery.com>
7996
05f3d1f6
UD
7997 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
7998 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
7999 conformtest.pl
8149f976 8000
1a4ac776
JM
80012012-03-21 Joseph Myers <joseph@codesourcery.com>
8002
be22ce65
JM
8003 * NOTES: Remove.
8004 * Makefile (files-for-dist): Remove NOTES.
8005 (NOTES): Remove rule.
8006 * README: Don't refer to NOTES.
8007 * manual/creature.texi: Don't include macros.texi.
8008 * manual/intro.texi (creature.texi): Remove comment referring to
8009 NOTES.
8010
40b601fb
JM
8011 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
8012 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
8013 * configure: Regenerated.
8014 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
8015 LIBC_TRY_CC_OPTION.
8016 (libc_cv_as_i686): Likewise.
8017 (libc_cv_cc_avx): Likewise.
8018 (libc_cv_cc_sse2avx): Likewise.
8019 (libc_cv_cc_fma4): Likewise.
8020 (libc_cv_cc_novzeroupper): Likewise.
8021 * sysdeps/i386/configure: Regenerated.
8022
1a4ac776
JM
8023 [BZ #13883]
8024 * sysdeps/i386/fpu/s_cexp.S: Remove.
8025 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
8026 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
8027 * math/libm-test.inc (cexp_test): Add more tests.
8028 * sysdeps/i386/fpu/libm-test-ulps: Update.
8029 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8030
a458e7fe
AM
80312012-03-21 Allan McRae <allan@archlinux.org>
8032
8033 * timezone/Makefile: Do not install iso3166.tab and zone.tab
8034
0cb7efc5
JM
80352012-03-21 Joseph Myers <joseph@codesourcery.com>
8036
8037 [BZ #13871]
8038 * math/w_exp2.c: Do not include <float.h>.
8039 (o_threshold, u_threshold): Remove.
8040 (__exp2): Calculate result before checking finiteness and calling
8041 __kernel_standard.
8042 * math/w_exp2f.c: Likewise.
8043 * math/w_exp2l.c: Likewise.
8044 * math/libm-test.inc (exp2_test): Require overflow exception for
8045 1e6 input.
2460d3aa
JM
8046
8047 [BZ #3866]
8048 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
8049 range of signed 64-bit integers before using fistpll. Remove
8050 checks for whether integers fit in mantissa bits.
8051 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
8052 the range of signed 32-bit integers before using fistpl. Remove
8053 checks for whether integers fit in mantissa bits.
8054 * sysdeps/i386/fpu/e_powl.S (p64): New object.
8055 (__ieee754_powl): Test for y outside the range of signed 64-bit
8056 integers before using fistpll. Reduce 64-bit values to 63-bit
8057 ones as needed.
8058 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
8059 divide-by-zero is raised for zero to large negative powers.
8060 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
8061 (__ieee754_powl): Test for y outside the range of signed 64-bit
8062 integers before using fistpll. Reduce 64-bit values to 63-bit
8063 ones as needed.
8064 * math/libm-test.inc (pow_test): Add more tests.
8065
eb96ffb0
L
80662012-03-20 H.J. Lu <hongjiu.lu@intel.com>
8067
8068 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
8069 <stdio-common/_itoa.h>.
8070 * debug/segfault.c: Likewise.
8071 * elf/dl-cache.c: Likewise.
8072 * elf/dl-minimal.c: Likewise.
8073 * elf/dl-misc.c: Likewise.
8074 * elf/dl-sysdep.c: Likewise.
8075 * elf/dl-version.c: Likewise.
8076 * elf/rtld.c: Likewise.
8077 * hurd/hurdsock.c: Likewise.
8078 * hurd/lookup-retry.c: Likewise.
8079 * malloc/malloc.c: Likewise.
8080 * malloc/mtrace.c: Likewise.
8081 * nscd/nscd_getgr_r.c: Likewise.
8082 * nscd/nscd_getpw_r.c: Likewise.
8083 * nscd/nscd_getserv_r.c: Likewise.
8084 * posix/getopt_init.c: Likewise.
8085 * posix/wordexp.c: Likewise.
8086 * stdio-common/_itoa.c: Likewise.
8087 * stdio-common/printf_fphex.c: Likewise.
8088 * stdio-common/vfprintf.c: Likewise.
8089 * string/_strerror.c: Likewise.
8090 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
8091 * sysdeps/i386/i686/hp-timing.h: Likewise.
8092 * sysdeps/mach/_strerror.c: Likewise.
8093 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
8094 * sysdeps/mach/hurd/sethostid.c: Likewise.
8095 * sysdeps/mach/hurd/xmknodat.c: Likewise.
8096 * sysdeps/mach/xpg-strerror.c: Likewise.
8097 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
8098 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
8099 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
8100 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
8101 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
8102 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
8103 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
8104 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
8105 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
8106 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
8107 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
8108 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
8109 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
8110 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
8111 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
8112 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
8113 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
8114 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
8115 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
8116 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
8117 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
8118
8119 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
8120
8121 * stdio-common/_itoa.h: Moved to ...
8122 * sysdeps/generic/_itoa.h: Here.
8123
8124 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
8125
8126 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
8127 instead of "_itoa.h" and "_itowa.h".
8128 * stdio-common/vfprintf.: Likewise.
8129
d1af992d
L
81302012-03-20 H.J. Lu <hongjiu.lu@intel.com>
8131
8132 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
8133 <bits/wordsize.h>.
8134 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
8135 (__signbit): Likwise.
8136 (llrintf): Likwise.
8137 (llrint): Likwise.
8138
114883e0
L
81392012-03-20 H.J. Lu <hongjiu.lu@intel.com>
8140
8141 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
8142 __WORDSIZE != 64.
8143
c135cc1b
JM
81442012-03-20 Joseph Myers <joseph@codesourcery.com>
8145
8146 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
8147 OVERFLOW_EXCEPTION_OK.
8148 * math/libm-test.inc ("Philosophy"): Update comment about
8149 exception testing.
8150 (OVERFLOW_EXCEPTION): Define.
8151 (OVERFLOW_EXCEPTION_OK): Likewise.
8152 (INVALID_EXCEPTION_OK): Renumber.
8153 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
8154 (IGNORE_ZERO_INF_SIGN): Likewise.
8155 (test_exceptions): Handle FE_OVERFLOW.
8156 (exp10_test): Expect overflow exceptions.
8157 (exp2_test): Likewise.
8158 (expm1_test): Likewise.
8159 (nextafter_test): Likewise.
8160 (pow_test): Likewise.
8161 (scalbn_test): Likewise.
8162 (scalbln_test): Likewise.
8163
95443d88
L
81642012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8165
8166 * sysdeps/x86_64/bits/atomic.h
8167 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
8168 64bit integer.
8169 (atomic_exchange_acq): Likewise.
8170 (__arch_exchange_and_add_body): Likewise.
8171 (__arch_add_body): Likewise.
8172 (atomic_add_negative): Likewise.
8173 (atomic_add_zero): Likewise.
8174
490df6c4
L
81752012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8176
c2722551 8177 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
8178 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
8179
5e52b189
L
81802012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8181
8182 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
8183 Check __x86_64__ instead of __WORDSIZE.
8184
a9879d4c
L
81852012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8186
8187 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
8188
5df98260
DM
81892012-03-19 David S. Miller <davem@davemloft.net>
8190
e1497744
DM
8191 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8192
5df98260
DM
8193 * sysdeps/sparc/fpu/fenv_private.h: New file.
8194 * sysdeps/sparc/fpu/math_private.h: Use it.
8195 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
8196 Remove.
8197 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
8198 (libc_feholdexcept_setroundl): Remove.
8199 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
8200 Remove.
8201 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
8202 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
8203
b4c35121
L
82042012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8205
8206 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
8207 int64_t instead of long int.
8208 (INSERT_WORDS64): Likwise.
8209
56965fd7
L
82102012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8211
8212 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
8213 _Unwind_GetCFA return to _Unwind_Ptr first.
8214
83d1aec8
JM
82152012-03-19 Joseph Myers <joseph@codesourcery.com>
8216
1897ad44
JM
8217 [BZ #13629]
8218 * math/s_clog.c: Include <float.h>.
8219 (__clog): Scale large or subnormal inputs.
8220 * math/s_clogf.c: Likewise.
8221 * math/s_clogl.c: Likewise.
8222 * math/s_clog10.c: Include <float.h>.
8223 (M_LOG10_2): Define.
8224 (__clog10): Scale large or subnormal inputs.
8225 * math/s_clog10f.c: Likewise.
8226 * math/s_clog10l.c: Likewise.
8227 * math/libm-test.inc (clog_test): Add more tests.
8228 (clog10_test): Likewise.
8229 * sysdeps/i386/fpu/libm-test-ulps: Update.
8230 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8231
7726d6a9
JM
8232 [BZ #11451]
8233 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
8234 x and y.
8235 * math/libm-test.inc (atan2_test): Add another test.
8236
83d1aec8
JM
8237 * Makerules (common-objdir-compile): Remove.
8238 * sysdeps/unix/Makefile (config-generated): Do not add
8239 $(unix-generated) to variable.
8240 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
8241 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
8242 Remove rule.
8243 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
8244 Likewise.
8245 [generic bits/local_lim.h] (before-compile): Do not append to
8246 variable.
8247 [generic bits/local_lim.h] (common-generated): Likewise.
8248 [generic sys/param.h] (before-compile): Do not append to variable.
8249 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
8250 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
8251 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
8252 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
8253 include.
8254 [generic sys/param.h] (sys/param.h-includes): Remove variable.
8255 [generic sys/param.h] (sys/param.h-includes): Remove rule.
8256 [generic sys/param.h] ($(addprefix
8257 $(common-objpfx),$(sys/param.h-includes))): Likewise.
8258 [generic sys/param.h] (common-generated): Do not append to
8259 variable.
8260 [generic sys/param.h] (sysdep_headers): Likewise.
8261 [generic bits/errno.h] (before-compile): Do not append to
8262 variable.
8263 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
8264 rule.
8265 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
8266 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
8267 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
8268 [generic bits/errno.h] (common-generated): Do not append to
8269 variable.
8270 [generic bits/ioctls.h] (before-compile): Do not append to
8271 variable.
8272 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
8273 rule.
8274 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
8275 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
8276 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
8277 rule.
8278 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
8279 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
8280 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
8281 [generic bits/ioctls.h] (common-generated): Do not append to
8282 variable.
8283 [generic sys/syscall.h] (syscall.h): Remove variable.
8284 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
8285 rule.
8286 [generic sys/syscall.h] (before-compile): Do not append to
8287 variable.
8288 [generic sys/syscall.h] (common-generated): Likewise.
8289 * sysdeps/unix/errnos-tmpl.c: Remove file.
8290 * sysdeps/unix/errnos.awk: Likewise.
8291 * sysdeps/unix/ioctls-tmpl.c: Likewise.
8292 * sysdeps/unix/ioctls.awk: Likewise.
8293 * sysdeps/unix/mk-local_lim.c: Likewise.
8294 * sysdeps/unix/snarf-ioctls: Likewise.
8295
4851a949
RH
82962012-03-19 Richard Henderson <rth@twiddle.net>
8297
bd37f2ee
RH
8298 * sysdeps/i386/fpu/fenv_private.h: New file.
8299 * sysdeps/i386/fpu/math_private.h: Use it.
8300 (math_opt_barrier, math_force_eval): Remove.
8301 (libc_feholdexcept_setround_53bit): Remove.
8302 (libc_feupdateenv_53bit): Remove.
8303 * sysdeps/x86_64/fpu/math_private.h: Likewise.
8304 (math_opt_barrier, math_force_eval): Remove.
8305 (libc_feholdexcept): Remove.
8306 (libc_feholdexcept_setround): Remove.
8307 (libc_fetestexcept, libc_fesetenv): Remove.
8308 (libc_feupdateenv_test): Remove.
8309 (libc_feupdateenv, libc_feholdsetround): Remove.
8310 (libc_feresetround): Remove.
8311
d0adc922
RH
8312 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
8313 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
8314
0fe0f1f8
RH
8315 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
8316 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
8317 (libc_feupdateenv_testl): New.
8318 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
8319 (libc_feupdateenv_testf): New.
8320 (libc_feupdateenv): Use libc_feupdateenv_test.
8321 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
8322 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
8323
eb92c487
RH
8324 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
8325 (libc_feholdsetroundf, libc_feholdsetroundl): New.
8326 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
8327 (libc_feresetround_noex): New.
8328 (libc_feresetround_noexf): New.
8329 (libc_feresetround_noexl): New.
8330 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
8331 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
8332 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
8333 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
8334 SET_RESTORE_ROUND.
8335 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
8336 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
8337 (__cos): Likewise.
8338 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
8339 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
8340 SET_RESTORE_ROUND_NOEX.
8341 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
8342 SET_RESTORE_ROUND_NOEXF.
8343 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
8344 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
8345 (libc_feholdsetroundf): New.
8346 (libc_feresetround, libc_feresetroundf): New.
8347
7d2e8012
RH
8348 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
8349 (libc_feholdexcept_setround_53bit): Convert from macro to function.
8350 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
8351
b4dabbb4
RH
8352 * sysdeps/generic/math_private.h: Include <fenv.h>.
8353 (default_libc_feholdexcept): New.
8354 (default_libc_feholdexcept_setround): New.
8355 (default_libc_fesetenv, default_libc_feupdateenv): New.
8356 (libc_feholdexcept): Only define if undefined.
8357 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
8358 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
8359 (libc_feholdexcept_setroundl): Likewise.
8360 (libc_feholdexcept_setround_53bit): Likewise.
8361 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
8362 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
8363 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
8364 (libc_feupdateenv_53bit): Likewise.
8365 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
8366 (libc_feholdexcept): Convert from macro to inline function.
8367 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
8368 (libc_fesetenv, libc_feupdateenv): Likewise.
8369
4851a949
RH
8370 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
8371 not previously defined.
8372 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
8373 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
8374 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
8375 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
8376 * sysdeps/ieee754/flt-32/math_private.h: New file.
8377 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
8378 math_private.h below SET_FLOAT_WORD.
8379 (__isnan, __isinf_ns, __finite): Remove.
8380 (__isnanf, __isinf_nsf, __finitef): Remove.
8381
e79d442e
AS
83822012-03-18 Andreas Schwab <schwab@linux-m68k.org>
8383
8384 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8385
90b80344
DM
83862012-03-17 David S. Miller <davem@davemloft.net>
8387
8388 [BZ #6471]
8389 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
8390 for 2.16.
8391
edc21804
DM
83922012-03-16 David S. Miller <davem@davemloft.net>
8393
77e927af
DM
8394 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
8395 warnings.
8396
374976dd
DM
8397 [BZ #6471]
8398 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
8399 properly.
8400 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
8401 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
8402 sysdep_routines when subdir is sysvipc.
8403 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
8404 __getshmlba helper.
8405
edc21804
DM
8406 * sysdeps/sparc/fpu/libm-test/ulps: Update.
8407
473c3ef3
L
84082012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8409
8410 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
8411 [__LP64__].
8412
eb0f39b6
L
84132012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8414
8415 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
8416 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
8417 (__lround): Renamed to ...
8418 (__llround): This. Replace long int with long long int.
8419 Define lround functions as aliases of llround functions.
8420 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
8421
6b6cd74b
L
84222012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8423
8424 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
8425 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
8426 adresses to uintptr_t. Replace "long int" and "unsigned long
8427 int" with "greg_t" on va_arg.
8428
f1a77b01
L
84292012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8430
8431 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
8432 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
8433
8434 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
8435 Move e_machine check before EI_CLASS check. Handle x32
8436 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
8437 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
8438 SKIP_EM_IA_64 and include
8439 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
8440
8441 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
8442 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
8443 (add_system_dir): New macro.
8444
8445 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
8446 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
8447
11b90b9f
JM
84482012-03-16 Joseph Myers <joseph@codesourcery.com>
8449
c36e1d23
JM
8450 [BZ #2551]
8451 [BZ #2552]
8452 [BZ #2553]
8453 [BZ #2554]
8454 [BZ #2562]
8455 [BZ #2563]
8456 [BZ #2565]
8457 [BZ #2566]
8458 [BZ #2576]
8459 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
8460 (y0): Likewise.
8461 * math/w_j0f.c (j0f): Likewise.
8462 (y0f): Likewise.
8463 * math/w_j0l.c (__j0l): Likewise.
8464 (__y0l): Likewise.
8465 * math/w_j1.c (j1): Likewise.
8466 (y1): Likewise.
8467 * math/w_j1f.c (j1f): Likewise.
8468 (y1f): Likewise.
8469 * math/w_j1l.c (__j1l): Likewise.
8470 (__y1l): Likewise.
8471 * math/w_jn.c (jn): Likewise.
8472 (yn): Likewise.
8473 * math/w_jnf.c (jnf): Likewise.
8474 (ynf): Likewise.
8475 * math/w_jnl.c (__jnl): Likewise.
8476 (__ynl): Likewise.
8477 * math/libm-test.inc (j0_test): Add more tests.
8478 (j1_test): Likewise.
8479 (jn_test): Likewise. Add trailing semicolon to existing test.
8480 (y0_test): Likewise.
8481 (y1_test): Likewise.
8482 * sysdeps/i386/fpu/libm-test-ulps: Update.
8483 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8484
11b90b9f
JM
8485 [BZ #13851]
8486 [BZ #13854]
8487 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
8488 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
8489 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
8490 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
8491 (__tanl): Set errno for infinite argument.
8492 * sysdeps/i386/fpu/mptan.c: Remove.
8493 * sysdeps/i386/fpu/s_tan.S: Likewise.
8494 * sysdeps/i386/fpu/s_tanl.S: Likewise.
8495 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
8496 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
8497 * math/libm-test.inc (tan_test): Add more tests and enable more
8498 tests for double and long double.
8499 * sysdeps/i386/fpu/libm-test-ulps: Update.
8500 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8501
6a1bd2a1
JK
85022012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
8503
8504 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
8505 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
8506
10a803e0
RM
85072012-03-16 Roland McGrath <roland@hack.frob.com>
8508
8509 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
8510 * configure.in: Use it for both main tree and add-ons.
8511 * configure: Regenerated.
8512
f196c7f7
L
85132012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8514
8515 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
8516
8848d99d
JM
85172012-03-16 Joseph Myers <joseph@codesourcery.com>
8518
96cbe7f4
JM
8519 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
8520 in comment.
8521
8848d99d
JM
8522 [BZ #13851]
8523 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
8524 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
8525 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
8526 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
8527 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
8528 infinite argument.
8529 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
8530 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
8531 != 0 for prec == 2.
8532 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
8533 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
8534 * sysdeps/i386/fpu/s_cosl.S: Likewise.
8535 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
8536 * sysdeps/i386/fpu/s_sinl.S: Likewise.
8537 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
8538 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
8539 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
8540 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
8541 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
8542 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
8543 * math/libm-test.inc (cos_test): Add more tests and enable more
8544 tests for long double.
8545 (sin_test): Likewise.
8546 (sincos_test): Likewise.
8547 * sysdeps/i386/fpu/libm-test-ulps: Update.
8548 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8549
dd7f4703
DM
85502012-03-16 David S. Miller <davem@davemloft.net>
8551
8552 * sysdeps/sparc/fpu/math_private.h: New file.
8553
006f1daa
DM
85542012-03-15 David S. Miller <davem@davemloft.net>
8555
c0c83bc8
DM
8556 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
8557 file.
e6a62e18 8558 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
8559 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
8560 file.
e6a62e18
DM
8561 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
8562 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
8563 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
8564 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
8565 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
8566 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
8567 sysdep routines.
8568 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
8569
88cb87d9
DM
8570 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
8571 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
8572
006f1daa 8573 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
8574 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
8575 sparc-ifunc.h
006f1daa 8576 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
8577 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
8578 Likewise.
8579 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
8580 Likewise.
006f1daa
DM
8581 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
8582 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
8583 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
8584 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
8585 Likewise.
006f1daa
DM
8586 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
8587 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
8588 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
8589 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
8590 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
8591 Likewise.
8592 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
8593 Likewise.
006f1daa
DM
8594 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
8595 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
8596 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
8597 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
8598 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
8599 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
8600 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
8601 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
8602 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
8603 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
8604 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
8605 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
8606 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
8607 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
8608 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
8609 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
8610 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
8611 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
8612 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
8613 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
8614 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
8615 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
8616 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
8617 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
8618
11e0098e
AS
86192012-03-15 Andreas Schwab <schwab@linux-m68k.org>
8620
8621 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
8622 scaling.
8623 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8624
e85b09d0
AJ
86252012-03-15 Andreas Jaeger <aj@suse.de>
8626
8627 [BZ #13852]
8628 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
8629 ieee754/flt-32 implementation for sin, cos and sincos.
8630 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
8631 * sysdeps/i386/fpu/s_cosf.S: Likewise.
8632 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
8633 * sysdeps/i386/fpu/s_sinf.S: Likewise.
8634 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
8635 ieee754/flt-32 implementation for tan.
8636
8637 * math/libm-test.inc (cos_test): Enable some large input tests for
8638 float as well
8639 (sin_test): Likewise.
8640 (sincos_test): Likewise.
8641 (tan_test): Add tests for large input.
8642
8643 * sysdeps/i386/fpu/libm-test-ulps: Update.
8644
81c64153
AJ
86452012-03-15 Andreas Jaeger <aj@suse.de>
8646
8647 [BZ #13658]
8648 * math/libm-test.inc (cos_test): Add more test cases.
8649 (sin_test): Likewise.
8650 (sincos_test): Likewise.
8651
7bbfa5c6
AJ
86522012-03-15 Andreas Jaeger <aj@suse.de>
8653
8654 [BZ #13837]
8655 * math/libm-test.inc (cos_test): Add a test case for large input
8656 value.
8657 (sin_test): Likewise.
8658 (sincos_test): Likewise.
8659
86602012-03-15 Andreas Jaeger <aj@suse.de>,
8661 Joseph Myers <joseph@codesourcery.com>
8662
8663 [BZ #13658]
0671f479 8664 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
8665 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
8666 * sysdeps/i386/fpu/branred.c: Likewise.
8667 * sysdeps/i386/fpu/dosincos.c: Likewise.
8668 * sysdeps/i386/fpu/mpa.c: Likewise.
8669 * sysdeps/i386/fpu/s_cos.S: Likewise.
8670 * sysdeps/i386/fpu/s_sin.S: Likewise.
8671 * sysdeps/i386/fpu/s_sincos.S: Likewise.
8672 * sysdeps/i386/fpu/sincos32.c: Likewise.
8673
8674 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
8675 Define.
8676 (libc_feupdateenv_53bit): Define.
8677 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
8678 Define.
8679 (libc_feupdateenv_53bit): Define.
8680
8681 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
8682 53 bit (without extend i386 double precision).
8683
8684 * math/libm-test.inc (sincos_test): Add tests for large input.
8685 (sin): Likewise.
8686 (cos): Likewise.
8687
8688 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
8689
9cad04ea
AS
86902012-03-15 Andreas Schwab <schwab@linux-m68k.org>
8691
8692 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8693
f7062b9a
DM
86942012-03-15 David S. Miller <davem@davemloft.net>
8695
8696 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
8697 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
8698 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
8699 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
8700 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
8701 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
8702 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
8703 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
8704 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
8705 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
8706 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
8707 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
8708 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
8709 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
8710 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
8711 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
8712 file.
f7062b9a 8713 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
8714 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
8715 file.
f7062b9a 8716 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
8717 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
8718 file.
f7062b9a 8719 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
8720 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
8721 file.
f7062b9a
DM
8722 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
8723 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
8724 fmin/fmax sysdep routines.
8725 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
8726
7bd951ff
DM
87272012-03-14 David S. Miller <davem@davemloft.net>
8728
559398ab
DM
8729 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
8730 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
8731 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
8732 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
8733 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
8734 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
8735 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
8736 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
8737 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
8738 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
8739 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
8740 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
8741 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
8742 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
8743 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
8744 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
8745 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
8746 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
8747 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
8748 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
8749 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
8750 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
8751 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
8752 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
8753 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
8754 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
8755 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
8756 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
8757 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
8758 routines.
8759 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
8760 file.
559398ab 8761 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
8762 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
8763 file.
559398ab 8764 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
8765 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
8766 file.
559398ab 8767 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
8768 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
8769 file.
559398ab 8770 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
8771 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
8772 file.
559398ab 8773 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
8774 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
8775 file.
8776 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
8777 file.
8778 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
8779 file.
8780 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
8781 file.
8782 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
8783 New file.
8784 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
8785 file.
8786 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
8787 file.
559398ab 8788 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
8789 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
8790 file.
559398ab 8791 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
8792 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
8793 file.
559398ab 8794 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
8795 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
8796 file.
559398ab 8797 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
8798 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
8799 VIS3 routines.
559398ab
DM
8800
8801 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
8802 New file.
8803
5a1c1e32
DM
8804 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8805
eae47a36
DM
8806 * sysdeps/sparc/configure.in: New file.
8807 * sysdeps/sparc/configure: Generate.
8808 * configure.in (libc_cv_sparc_as_vis3): Substitute.
8809 * configure: Regenerate.
8810 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
8811 * config.make.in (have-as-vis3): New.
8812 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
8813 available use -Av9d instead of -Av9a.
8814 * sysdeps/sparc/sparc64/Makefile: Likewise.
8815 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
8816 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
8817 New file.
8818 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
8819 file.
8820 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
8821 New file.
8822 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
8823 file.
eae47a36
DM
8824 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
8825 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
8826 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
8827 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
8828 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
8829
c0c83bc8
DM
8830 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
8831 fzeros/fnegs to load 0x80000000 into a float register instead of
8832 using the stack.
7bd951ff
DM
8833 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
8834
bd951ccb
JM
88352012-03-14 Joseph Myers <joseph@codesourcery.com>
8836
8837 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8838 bits/syscall.h.
8839 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
8840 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
8841 ($(inst_includedir)/bits/syscall.h): Remove rule.
8842 ($(objpfx)bits/syscall.d): Include instead of
8843 $(objpfx)syscall-list.d.
8844 (generated): Change syscall-list.h and syscall-list.d to
8845 bits/syscall.h and bits/syscall.d.
8846
bb4e6db2
RM
88472012-03-14 Roland McGrath <roland@hack.frob.com>
8848
8849 [BZ #13846]
8850 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
8851
aa4a2ae1
JM
88522012-03-14 Joseph Myers <joseph@codesourcery.com>
8853
e456826d
JM
8854 [BZ #13841]
8855 * math/s_csqrt.c: Include <float.h>.
8856 (__csqrt): Scale large or subnormal inputs.
8857 * math/s_csqrtf.c: Likewise.
8858 * math/s_csqrtl.c: Likewise.
8859 * math/libm-test.inc (csqrt_test): Add more tests.
8860 * sysdeps/i386/fpu/libm-test-ulps: Update.
8861 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8862
aa4a2ae1
JM
8863 [BZ #13840]
8864 * math/libm-test.inc (hypot_test): Add more tests.
8865
7c10fd35
DM
88662012-03-13 David S. Miller <davem@davemloft.net>
8867
8868 [BZ #13840]
8869 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
8870 double-precision for the calculation instead of scaling.
8871
f453b98b
JM
88722012-03-13 Joseph Myers <joseph@codesourcery.com>
8873
8874 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
8875 manipulate bits before adding and subtracting TWO52[sx].
8876 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
8877 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
8878 Likewise.
8879 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
8880
09a3453f
DM
88812012-03-13 David S. Miller <davem@davemloft.net>
8882
8e59da90
DM
8883 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
8884 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
8885 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
8886 rtld-global-offsets.h
8887 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
8888
2a8ab7f2
DM
8889 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
8890 large parameters.
8891
10f62770
DM
8892 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
8893
5f0bdb18
DM
8894 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
8895 'err' in the ifdef scope in which it is actually used.
8896
09a3453f
DM
8897 * nss/nss_db/db-init.c: Include string.h
8898
b4b2eb5e
DM
88992012-03-12 David S. Miller <davem@davemloft.net>
8900
98bb2f1c
DM
8901 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
8902 masking out of the most significant byte of random value used.
8903 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8904 Fix coding style in previous change.
8905
b4b2eb5e
DM
8906 * sysdeps/unix/sysv/linux/kernel-features.h
8907 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
8908 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
8909 expression.
8910 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
8911 later.
8912
6e226b09
DM
89132012-03-11 David S. Miller <davem@davemloft.net>
8914
a1bcbd40
DM
8915 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
8916 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
8917 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
8918 for 'resultvar' otherwise things get truncated on 64-bit.
8919
cb9d6174
DM
8920 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8921 Fix masking out of the most significant byte of random value used.
8922
6e226b09
DM
8923 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8924
058c132d
AS
89252012-03-10 Andreas Schwab <schwab@linux-m68k.org>
8926
8927 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8928
2d2cd515
DM
89292012-03-09 David S. Miller <davem@davemloft.net>
8930
8931 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
8932 variables with appropriate CPP guards.
8933 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
8934 frame pointer, not the stack pointer. Correct layout comments. Fix test
8935 on resulting framesize and the management of the outregs buffer for pltexit.
8936 Preserve floating point return values across _dl_call_pltexit call.
8937 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
8938 framesize and the management of the outregs buffer for pltexit.
8939 Preserve floating point return values across _dl_call_pltexit
8940 call.
8941 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
8942 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
8943 (print_exit): Fix format string for return register value.
8944
9a07f9d0
JM
89452012-03-10 Joseph Myers <joseph@codesourcery.com>
8946
8947 * sunrpc/Makefile (others): Add rpcgen.
8948 ($(objpfx)rpcgen): Remove special build rule and dependency on
8949 libc.
8950 * sunrpc/rpcgen.c: New file.
8951
547b5e30
PE
89522012-03-09 Paul Eggert <eggert@cs.ucla.edu>
8953
c524201a
PE
8954 [BZ #13673]
8955 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
8956 * stdio-common/bug-vfprintf-nargs.c: Likewise.
8957 * sysdeps/i386/crti.S: Likewise.
8958 * sysdeps/i386/crtn.S: Likewise.
8959 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
8960 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
8961 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
8962 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
8963 * sysdeps/sh/crti.S: Likewise.
8964 * sysdeps/sh/crtn.S: Likewise.
8965 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
8966
7b6235f2
PE
8967 [BZ #13673]
8968 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
8969 with URL.
8970 * locale/programs/locfile-kw.gperf: Likewise.
8971 * locale/programs/charmap-kw.h: Regenerated.
8972 * locale/programs/locfile-kw.h: Likewise.
8973
547b5e30
PE
8974 [BZ #13673]
8975 * intl/plural.y: Replace FSF snail mail address with URL.
8976 * intl/plural.c: Regenerated.
8977
5f0a5dae
RH
89782012-03-09 Richard Henderson <rth@twiddle.net>
8979
8980 * include/math_private.h: Remove file.
8981 * math/math_private.h: Move file ...
8982 * sysdeps/generic/math_private.h: ... here.
8983
b8c03620
RH
8984 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
8985 * sysdeps/powerpc/fpu/math_private.h: Likewise.
8986 * sysdeps/x86_64/fpu/math_private.h: Likewise.
8987
4e234f5d 8988 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
8989 and <math_private.h>.
8990 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
8991 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
8992 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
8993 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
8994 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
8995 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
8996 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
8997 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8998 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
8999 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
9000 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9001 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
9002 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
9003 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9004 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
9005 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
9006 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
9007 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
9008 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
9009 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
9010 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9011 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
9012 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
9013 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9014 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
9015 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
9016 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
9017 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9018 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9019 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
9020 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
9021 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9022 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
9023 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
9024 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
9025 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
9026 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
9027 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
9028 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
9029 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9030 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
9031 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
9032 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
9033 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
9034 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
9035 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
9036 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
9037 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
9038 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
9039 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
9040 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
9041 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
9042 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
9043 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
9044 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
9045 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
9046 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
9047 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
9048 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
9049 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
9050 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9051 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
9052 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9053 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
9054 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
9055 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
9056 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
9057 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
9058 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
9059 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
9060 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
9061 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
9062 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
9063 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
9064 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
9065 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
9066 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
9067 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
9068 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
9069 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
9070 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
9071 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
9072 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
9073 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
9074 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
9075 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
9076 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
9077 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
9078 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
9079 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
9080 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
9081 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
9082 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
9083 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
9084 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
9085 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
9086 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
9087 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
9088 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
9089 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
9090 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
9091 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
9092 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
9093 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
9094 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
9095 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
9096 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
9097 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
9098 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
9099 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
9100 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
9101 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
9102 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
9103 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
9104 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
9105 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
9106 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
9107 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
9108 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
9109 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
9110 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
9111 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
9112 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
9113 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
9114 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
9115 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
9116 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
9117 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
9118 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
9119 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
9120 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
9121 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
9122 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
9123 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
9124 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
9125 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
9126 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
9127 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
9128 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
9129 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
9130 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
9131 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
9132 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
9133 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
9134 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
9135 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
9136 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
9137 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
9138 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
9139 * sysdeps/ieee754/k_standard.c: Likewise.
9140 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
9141 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
9142 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
9143 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
9144 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
9145 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
9146 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
9147 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
9148 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
9149 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
9150 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9151 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
9152 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
9153 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
9154 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
9155 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
9156 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
9157 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
9158 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
9159 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
9160 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
9161 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
9162 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
9163 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
9164 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
9165 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
9166 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
9167 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
9168 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
9169 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
9170 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
9171 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
9172 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
9173 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
9174 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
9175 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
9176 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
9177 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
9178 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
9179 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
9180 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
9181 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
9182 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
9183 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
9184 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
9185 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
9186 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
9187 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
9188 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
9189 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
9190 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
9191 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
9192 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
9193 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
9194 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
9195 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
9196 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
9197 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
9198 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
9199 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
9200 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
9201 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
9202 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
9203 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
9204 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
9205 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
9206 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
9207 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
9208 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
9209 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
9210 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
9211 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
9212 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
9213 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
9214 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
9215 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
9216 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
9217 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
9218 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
9219 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
9220 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
9221 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
9222 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
9223 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
9224 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
9225 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
9226 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
9227 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
9228 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
9229 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
9230 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
9231 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
9232 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
9233 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
9234 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
9235 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
9236 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
9237 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
9238 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
9239 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
9240 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
9241 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
9242 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
9243 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
9244 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
9245 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
9246 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
9247 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
9248 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
9249 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
9250 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
9251 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
9252 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
9253 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
9254 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
9255 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
9256 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
9257 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
9258 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
9259 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
9260 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9261 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
9262 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
9263 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
9264 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
9265 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
9266 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
9267 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
9268 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
9269 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
9270 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
9271 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
9272 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
9273 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
9274 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
9275 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
9276 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
9277 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
9278 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
9279 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
9280 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
9281 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
9282 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
9283 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
9284 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
9285 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
9286 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
9287 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
9288 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
9289 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
9290 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
9291 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
9292 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
9293 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
9294 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
9295 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
9296 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
9297 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
9298 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
9299 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
9300 * sysdeps/ieee754/s_lib_version.c: Likewise.
9301 * sysdeps/ieee754/s_matherr.c: Likewise.
9302 * sysdeps/ieee754/s_signgam.c: Likewise.
9303 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
9304 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9305 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
9306 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
9307 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
9308 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
9309 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
9310 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
9311 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
9312 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
9313 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
9314 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
9315 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
9316 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
9317 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
9318 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
9319 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
9320 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
9321 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
9322 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
9323 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 9324
1991fa03
JM
93252012-03-09 Joseph Myers <joseph@codesourcery.com>
9326
9327 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
9328 * sunrpc/rpc_main.c: Likewise.
9329 * sunrpc/rpc_svcout.c: Likewise.
9330
60d6f5a6
DM
93312012-03-09 David S. Miller <davem@davemloft.net>
9332
9333 * include/math_private.h: New file.
9334
4962050e
JM
93352012-03-09 Joseph Myers <joseph@codesourcery.com>
9336
02a6f887
JM
9337 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
9338 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
9339 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
9340 from <bits/socket_type.h>.
9341 (enum __socket_type): Don't define here.
9342 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
9343 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9344 bits/socket_type.h.
9345
c6e013c1
JM
9346 [BZ #13566]
9347 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
9348 checking __USE_GNU.
9349
4962050e
JM
9350 * Makerules ($(inst_includedir)/%.h): New rule.
9351 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
9352 (install-others): Remove variable setting.
9353 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
9354
38842f45
RH
93552012-03-08 Richard Henderson <rth@twiddle.net>
9356
67bb6da6
RH
9357 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
9358 from macro to inline function; merge with the
9359 !__LIBC_INTERNAL_MATH_INLINES version.
9360 (__ieee754_sqrtf): Likewise.
9361
15194b4b
RH
9362 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
9363 to inline function.
9364 (__rintf, __floor, __floorf): Likewise.
9365
64e21ede
RH
9366 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
9367 macro to inline function.
9368 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
9369
38842f45
RH
9370 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
9371 not <math/math_private.h>.
9372
c64bf5fe
DM
93732012-03-08 David S. Miller <davem@davemloft.net>
9374
9375 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
9376 copyright year.
9377 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
9378
82d86f28
TS
93792012-03-08 Thomas Schwinge <thomas@codesourcery.com>
9380
9381 * resolv/gai_misc.c (handle_requests): Fix struct timespec
9382 normalization.
9383 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
9384 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
9385
aea5d727
UD
93862012-03-08 Ulrich Drepper <drepper@gmail.com>
9387
9388 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
9389 be defined individually, they must be defined as a block. Define
9390 S for printing a string instead of hidint the different by using a
9391 macro for adding the 'l'.
9392 * stdio-common/tst-fphex-wide.c: Adjust.
9393
70bca0a3
MP
93942012-03-07 Marek Polacek <polacek@redhat.com>
9395
9396 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
9397
65b81130
MP
93982012-03-08 Marek Polacek <polacek@redhat.com>
9399
9400 [BZ #13806]
9401 * stdio-common/Makefile (tests): Add tst-fphex-wide.
9402 * stdio-common/tst-fphex.c: Define a few macros to make the
9403 test reusable. Use them.
9404 * stdio-common/tst-fphex-wide.c: New file.
9405
07037eeb
JM
94062012-03-08 Joseph Myers <joseph@codesourcery.com>
9407
a7a93d50
JM
9408 [BZ #6911]
9409 * manual/macros.texi (gnusystems): New macro.
9410 (nongnusystems): Likewise.
9411 (gnulinuxhurdsystems): Likewise.
9412 (gnuhurdsystems): Likewise..
9413 (gnulinuxsystems): Likewise.
9414 * manual/charset.texi: Use new macros or @theglibc{} to refer to
9415 variants of the GNU system, not "GNU system".
9416 * manual/conf.texi: Likewise.
9417 * manual/errno.texi: Likewise. Update example of errno macro
9418 expansion.
9419 * manual/filesys.texi: Likewise.
9420 (getumask): Document as specific to GNU/Hurd.
9421 * manual/install.texi: Likewise. Reword some references to
9422 GNU/Linux.
9423 * manual/intro.texi: Likewise.
9424 * manual/io.texi: Likewise.
9425 (File Name Portability): Detail which constraints are inapplicable
9426 to all GNU systems and which are only inapplicable to GNU/Hurd.
9427 * manual/job.texi: Likewise.
9428 * manual/llio.texi: Likewise.
9429 (O_NOCTTY): Document as present on GNU/Linux.
9430 * manual/maint.texi: Likewise.
9431 * manual/memory.texi: Likewise.
9432 * manual/pattern.texi: Likewise.
9433 * manual/pipe.texi: Likewise.
9434 * manual/process.texi: Likewise.
9435 * manual/resource.texi: Likewise.
9436 (RUSAGE_CHILDREN): Remove statement about specifying a particular
9437 child on GNU/Hurd.
9438 * manual/setjmp.texi: Likewise.
9439 * manual/signal.texi: Likewise.
9440 * manual/startup.texi: Likewise.
9441 * manual/stdio.texi: Likewise.
9442 * manual/terminal.texi: Likewise.
9443 (ONLCR): Document as POSIX.
9444 (OXTABS): Document availability on GNU/Linux as XTABS.
9445 (ONOEOT): Document availability separately from other bits.
9446 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
9447 * manual/time.texi: Likewise.
9448 * manual/users.texi: Likewise.
9449 * INSTALL: Regenerated.
9450 * sysdeps/gnu/errlist.c: Regenerated.
9451
07037eeb
JM
9452 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
9453 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
9454 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
9455 puts.
9456 * configure: Regenerated.
9457
d1d3431a
JM
94582012-03-07 Joseph Myers <joseph@codesourcery.com>
9459
af6a1e37
JM
9460 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
9461 default includes instead of AC_HEADER_CHECK.
9462 * sysdeps/i386/configure: Regenerated.
9463
d1d3431a
JM
9464 [BZ #10716]
9465 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
9466 * math/s_cacoshf.c (__cacoshf): Likewise.
9467 * math/s_cacoshl.c (__cacoshl): Likewise.
9468 * math/s_casinh.c (__casinh): Set signs of result from argument.
9469 * math/s_casinhf.c (__casinhf): Likewise.
9470 * math/s_casinhl.c (__casinhl): Likewise.
9471 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
9472 (casinh_test): Add more tests.
9473 * sysdeps/i386/fpu/libm-test-ulps: Update.
9474 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9475
482ff4da
UD
94762012-03-07 Ulrich Drepper <drepper@gmail.com>
9477
872fda05
UD
9478 * po/zh_TW.po: Update from translation team.
9479
a4300c7a
UD
9480 * login/Makefile (distribute): Remove variable.
9481 * catgets/Makefile: Likewise.
9482 * mach/Makefile: Likewise.
9483 * malloc/Makefile: Likewise.
9484 * misc/Makefile: Likewise.
9485 * iconv/Makefile: Likewise.
9486 * nscd/Makefile: Likewise.
9487 * hurd/Makefile: Likewise.
9488 * manual/Makefile: Likewise.
9489 * locale/Makefile: Likewise.
9490 * intl/Makefile: Likewise.
9491 * conform/Makefile: Likewise.
9492 * nss/Makefile: Likewise.
9493 * time/Makefile: Likewise.
9494 * soft-fp/Makefile: Likewise.
9495 * dirent/Makefile: Likewise.
9496 * gmon/Makefile: Likewise.
9497 * po/Makefile: Likewise.
9498 * rt/Makefile: Likewise.
9499 * socket/Makefile: Likewise.
9500 * math/Makefile: Likewise.
9501 * signal/Makefile: Likewise.
9502 * debug/Makefile: Likewise.
9503 * elf/Makefile: Likewise.
9504 * timezone/Makefile: Likewise.
9505 * stdlib/Makefile: Likewise.
9506 * iconvdata/Makefile: Likewise.
9507 * sunrpc/Makefile: Likewise.
9508 * io/Makefile: Likewise.
9509 * argp/Makefile: Likewise.
9510 * inet/Makefile: Likewise.
9511 * hesiod/Makefile: Likewise.
9512 * grp/Makefile: Likewise.
9513 * csu/Makefile: Likewise.
9514 * wctype/Makefile: Likewise.
9515 * crypt/Makefile: Likewise.
9516 * libio/Makefile: Likewise.
9517 * string/Makefile: Likewise.
9518 * nis/Makefile: Likewise.
9519 * resolv/Makefile: Likewise.
9520 * stdio-common/Makefile: Likewise.
9521 * wcsmbs/Makefile: Likewise.
9522 * dlfcn/Makefile: Likewise.
9523 * posix/Makefile: Likewise.
9524
3b7c4e74 9525 [BZ #6959]
482ff4da
UD
9526 * timezone/Makefile: Don't install timezone files, just the programs
9527 and scripts.
9528
f72ed77d
UD
95292012-03-06 Ulrich Drepper <drepper@gmail.com>
9530
a000466f
UD
9531 * nss/databases.def: Add missing gshadow entry.
9532
f72ed77d
UD
9533 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
9534
a53b7a4e
MP
95352012-03-06 Marek Polacek <polacek@redhat.com>
9536
9537 [BZ #13726]
9538 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
9539 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
9540 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
9541 * stdio-common/tst-long-dbl-fphex.c: New file.
9542
e9258400
DM
95432012-03-06 David S. Miller <davem@davemloft.net>
9544
9545 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
9546 (set_obp_int): New function.
9547 (get_obp_int): New function.
9548 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
9549 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
9550 Avoid unused variable warnings on 'val' and use builtin_expect.
9551 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
9552 __builtin_expect.
e9258400
DM
9553 (INLINE_CLONE_SYSCALL): Likewise.
9554
3bd2c723
DM
95552012-03-05 David S. Miller <davem@davemloft.net>
9556
9557 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9558
bbb78d03
AS
95592012-03-05 Andreas Schwab <schwab@linux-m68k.org>
9560
884c5db4
AS
9561 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9562
bbb78d03
AS
9563 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
9564 only for |x| >= 40.
9565 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
9566
1c9f702a 95672012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
9568
9569 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
9570 Replace gettimeofday with __vdso_gettimeofday.
9571
7be16f82
RM
9572 * sysdeps/unix/sysv/linux/x86_64/init-first.c
9573 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
9574 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
9575
9576 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
9577 time with __vdso_time.
9578
ed58a00f
JM
95792012-03-05 Joseph Myers <joseph@codesourcery.com>
9580
9581 * manual/lang.texi (size_t): Note types to which size_t may be
9582 equivalent with the GNU C Library, but do not describe when
9583 differences between them are significant.
9584
30ee4ced
AJ
95852012-03-05 Andreas Jaeger <aj@suse.de>
9586
9587 * sysdeps/i386/fpu/libm-test-ulps: Update.
9588
b7cd39e8
JM
95892012-03-05 Joseph Myers <joseph@codesourcery.com>
9590
9591 [BZ #3976]
9592 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
9593 (__ieee754_pow): Save and restore rounding mode and use
9594 round-to-nearest for main computations.
9595 * math/libm-test.inc (pow_test_tonearest): New function.
9596 (pow_test_towardzero): Likewise.
9597 (pow_test_downward): Likewise.
9598 (pow_test_upward): Likewise.
9599 (main): Call the new functions.
9600 * sysdeps/i386/fpu/libm-test-ulps: Update.
9601 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
9602
9603 [BZ #3976]
9604 * math/libm-test.inc (cosh_test_tonearest): New function.
9605 (cosh_test_towardzero): Likewise.
9606 (cosh_test_downward): Likewise.
9607 (cosh_test_upward): Likewise.
9608 (sinh_test_tonearest): Likewise.
9609 (sinh_test_towardzero): Likewise.
9610 (sinh_test_downward): Likewise.
9611 (sinh_test_upward): Likewise.
9612 (main): Call the new functions.
9613 * sysdeps/i386/fpu/libm-test-ulps: Update.
9614 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9615
6c6a98c9
TV
96162012-03-05 Tom de Vries <tom@codesourcery.com>
9617
9618 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
9619 default stack guard is set in last bytes.
9620 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
9621
21bb2d2e 96222012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 9623
21bb2d2e 9624 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 9625
21bb2d2e
AJ
9626 [BZ #13656]
9627 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
9628 possibly allocate from heap instead of stack.
9629 * stdio-common/bug-vfprintf-nargs.c: New file.
9630 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 9631
c6922934
AS
96322012-03-03 Andreas Schwab <schwab@linux-m68k.org>
9633
9634 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9635
bc957d53
MP
96362012-03-03 Marek Polacek <polacek@redhat.com>
9637
9638 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
9639 * math/math_private.h: Likewise.
9640 * stdlib/tst-strtod.c: Likewise.
9641 * sysdeps/i386/i486/bits/atomic.h: Likewise.
9642 * sysdeps/x86_64/bits/atomic.h: Likewise.
9643
6358490d
DM
96442012-03-02 David S. Miller <davem@davemloft.net>
9645
9646 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
9647 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
9648 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
9649 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
9650 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
9651 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
9652 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
9653 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
9654
01ae168d
RM
96552012-03-02 Roland McGrath <roland@hack.frob.com>
9656
d9a17c07
RM
9657 [BZ #13792]
9658 * manual/examples/README: New file, says the example source files
9659 can be used under GPL>=2.
9660 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
9661 line containing just "*/".
9662 * manual/examples/add.c: Add copyright header (GPL>=2).
9663 * manual/examples/argp-ex1.c: Likewise.
9664 * manual/examples/argp-ex2.c: Likewise.
9665 * manual/examples/argp-ex3.c: Likewise.
9666 * manual/examples/argp-ex4.c: Likewise.
9667 * manual/examples/atexit.c: Likewise.
9668 * manual/examples/db.c: Likewise.
9669 * manual/examples/dir.c: Likewise.
9670 * manual/examples/dir2.c: Likewise.
9671 * manual/examples/execinfo.c: Likewise.
9672 * manual/examples/filecli.c: Likewise.
9673 * manual/examples/filesrv.c: Likewise.
9674 * manual/examples/fmtmsgexpl.c: Likewise.
9675 * manual/examples/genpass.c: Likewise.
9676 * manual/examples/inetcli.c: Likewise.
9677 * manual/examples/inetsrv.c: Likewise.
9678 * manual/examples/isockad.c: Likewise.
9679 * manual/examples/longopt.c: Likewise.
9680 * manual/examples/memopen.c: Likewise.
9681 * manual/examples/memstrm.c: Likewise.
9682 * manual/examples/mkfsock.c: Likewise.
9683 * manual/examples/mkisock.c: Likewise.
9684 * manual/examples/mygetpass.c: Likewise.
9685 * manual/examples/pipe.c: Likewise.
9686 * manual/examples/popen.c: Likewise.
9687 * manual/examples/rprintf.c: Likewise.
9688 * manual/examples/search.c: Likewise.
9689 * manual/examples/select.c: Likewise.
9690 * manual/examples/setjmp.c: Likewise.
9691 * manual/examples/sigh1.c: Likewise.
9692 * manual/examples/sigusr.c: Likewise.
9693 * manual/examples/stpcpy.c: Likewise.
9694 * manual/examples/strdupa.c: Likewise.
9695 * manual/examples/strftim.c: Likewise.
9696 * manual/examples/strncat.c: Likewise.
9697 * manual/examples/subopt.c: Likewise.
9698 * manual/examples/swapcontext.c: Likewise.
9699 * manual/examples/termios.c: Likewise.
9700 * manual/examples/testopt.c: Likewise.
9701 * manual/examples/testpass.c: Likewise.
9702 * manual/examples/timeval_subtract.c: Likewise.
9703
01ae168d
RM
9704 [BZ #13792]
9705 * manual/time.texi (Elapsed Time): Move timeval_subtract example
9706 function to ...
9707 * manual/timeval_subtract.c.texi: ... here, new file.
9708
49efa33d
DM
97092012-03-02 David S. Miller <davem@davemloft.net>
9710
9711 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
9712
28afd92d
JM
97132012-03-02 Joseph Myers <joseph@codesourcery.com>
9714
804360ed
JM
9715 [BZ #3976]
9716 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
9717 (__sin): Save and restore rounding mode and use round-to-nearest
9718 for all computations.
9719 (__cos): Save and restore rounding mode and use round-to-nearest
9720 for all computations.
9721 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
9722 <fenv.h>.
9723 (tan): Save and restore rounding mode and use round-to-nearest for
9724 all computations.
9725 * math/libm-test.inc (cos_test_tonearest): New function.
9726 (cos_test_towardzero): Likewise.
9727 (cos_test_downward): Likewise.
9728 (cos_test_upward): Likewise.
9729 (sin_test_tonearest): Likewise.
9730 (sin_test_towardzero): Likewise.
9731 (sin_test_downward): Likewise.
9732 (sin_test_upward): Likewise.
9733 (tan_test_tonearest): Likewise.
9734 (tan_test_towardzero): Likewise.
9735 (tan_test_downward): Likewise.
9736 (tan_test_upward): Likewise.
9737 (main): Call the new functions.
9738 * sysdeps/i386/fpu/libm-test-ulps: Update.
9739 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9740
a6d06d7b
JM
9741 [BZ #10135]
9742 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
9743 small n, then large n, before computing and testing k+n.
9744 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
9745 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
9746 Likewise.
9747 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
9748 Likewise.
9749 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
9750 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
9751 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
9752 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
9753 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
9754 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
9755 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
9756 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
9757 * math/libm-test.inc (scalbn_test): Add more tests.
9758 (scalbln_test): Likewise.
9759
07e12bb3
JM
9760 * manual/filesys.texi (mode_t): Describe constraints on size and
9761 signedness, not exact equivalence to a particular type.
9762 (ino_t): Likewise.
9763 (ino64_t): Likewise.
9764 (dev_t): Likewise.
9765 (nlink_t): Likewise.
9766 (blkcnt_t): Likewise.
9767 (blkcnt64_t): Likewise.
9768 * manual/llio.texi (off_t): Likewise.
9769
28afd92d
JM
9770 [BZ #3976]
9771 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
9772 (__ieee754_exp): Save and restore rounding mode and use
9773 round-to-nearest for all computations.
9774 * math/libm-test.inc (exp_test_tonearest): New function.
9775 (exp_test_towardzero): Likewise.
9776 (exp_test_downward): Likewise.
9777 (exp_test_upward): Likewise.
9778 (main): Call the new functions.
9779 * sysdeps/i386/fpu/libm-test-ulps: Update.
9780 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9781
b1eeb65d
CD
97822012-03-01 Chris Demetriou <cgd@google.com>
9783
9784 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
9785 have predictable order.
9786
53362a4b
DM
97872012-03-01 David S. Miller <davem@davemloft.net>
9788
3c969083
DM
9789 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
9790
759707de
DM
9791 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
9792 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
9793 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
9794 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
9795
dfdb8ff2
DM
9796 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
9797 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
9798 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
9799 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
9800 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
9801 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
9802 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
9803 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
9804 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
9805
ead89f96
DM
9806 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9807
7f66bd07
DM
9808 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
9809 * sysdeps/sparc/fpu/libm-test-ulps: to here.
9810 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
9811
53362a4b
DM
9812 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
9813 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
9814 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
9815 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
9816 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
9817 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
9818 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
9819 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
9820 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
9821 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
9822 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
9823 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
9824 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
9825 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
9826 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
9827 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9828 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
9829 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
9830 * sysdeps/sparc/elf/configure: Regenerated.
9831
7b1902cb
JM
98322012-03-01 Joseph Myers <joseph@codesourcery.com>
9833
bec039bc
JM
9834 * configure.in (AS, LD): Require binutils 2.20 or later.
9835 * configure: Regenerated.
9836 * manual/install.texi (Tools for Compilation): Give binutils 2.20
9837 as required minimum version.
9838 * INSTALL: Regenerated.
9839
7b1902cb
JM
9840 [BZ #2541]
9841 [BZ #4108]
9842 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
9843 before squaring exponent.
9844 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
9845 bottom long double and 27 bits of top long double before squaring
9846 exponent.
9847 * math/libm-test.inc (erfc_test): Add more tests.
9848 * sysdeps/i386/fpu/libm-test-ulps: Update.
9849 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9850 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9851
f775c276
KT
98522012-03-01 Kai Tietz <ktietz@redhat.com>
9853
9854 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
9855 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
9856 containing bit-fields.
9857 * soft-fp/extended.h (_FP_UNION_E): Likewise.
9858 * soft-fp/single.h (_FP_UNION_S): Likewise.
9859 * soft-fp/double.h (_FP_UNION_D): Likewise.
9860
5b8a4d4a
JM
98612012-02-29 Joseph Myers <joseph@codesourcery.com>
9862
0bab47b6
JM
9863 [BZ #13786]
9864 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
9865 not include ../strcmp.S.
9866 [USE_AS_STRNCASECMP_L]: Likewise.
9867 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
9868 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
9869 * sysdeps/i386/i686/multiarch/strncase_l-c.c
9870 (__strncasecmp_l_ia32): Define as alias to
9871 __strncasecmp_l_nonascii.
9872
0fcad3e2
JM
9873 [BZ #5794]
9874 * math/libm-test.inc (expm1_test): Add test for bug 5794.
9875 * sysdeps/i386/fpu/libm-test-ulps: Update.
9876 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9877
5b8a4d4a
JM
9878 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
9879 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9880
8fdceb2e
JL
98812012-02-29 Jeff Law <law@redhat.com>
9882
9883 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
9884 out of bounds read.
9885
1f393a11
MP
98862012-02-29 Marek Polacek <polacek@redhat.com>
9887
9888 [BZ #13706]
9889 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
9890 * elf/Makefile: Add rules to run tst-unused-dep.out.
9891
8847f037
DM
98922012-02-28 David S. Miller <davem@davemloft.net>
9893
9894 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
9895 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
9896 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
9897 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
9898 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
9899 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
9900
169d7f11
JM
99012012-02-29 Joseph Myers <joseph@codesourcery.com>
9902
9903 * math/libm-test.inc (llround_test): Move one test from
9904 lround_test. Use TEST_f_L in moved test.
9905 (lround_test): Move misplaced test to llround_test. Add testcase
9906 from bug 2561.
9907
39adf059
UD
99082012-02-28 Ulrich Drepper <drepper@gmail.com>
9909
9910 * sysdeps/x86_64/fpu/e_expf.S: New file.
9911 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
9912
71b5d1c5
SB
99132012-02-28 Stanislav Brabec <sbrabec@suse.cz>
9914
9915 [BZ #13637]
9916 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
9917 of remain_len that may cause incomplete multi-byte character and
9918 false match.
9919 * posix/bug-regex33.c: New file.
9920 * posix/Makefile (tests): Add bug-regex33.
9921
1f77f049
JM
99222012-02-28 Joseph Myers <joseph@codesourcery.com>
9923
9924 * manual/macros.texi: New file.
9925 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
9926 * manual/libc.texinfo: Include macros.texi.
9927 * manual/creatute.texi: Likewise.
9928 * manual/install.texi: Likewise.
9929 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
9930 @glibcadj{} in references to the GNU C Library.
9931 * manual/charset.texi: Likewise.
9932 * manual/conf.texi: Likewise.
9933 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
9934 when not using those macros.
9935 * manual/creature.texi: Likewise.
9936 * manual/crypt.texi: Likewise.
9937 * manual/errno.texi: Likewise.
9938 * manual/filesys.texi: Likewise.
9939 * manual/header.texi: Likewise.
9940 * manual/install.texi: Likewise.
9941 * manual/intro.texi: Likewise.
9942 * manual/io.texi: Likewise.
9943 * manual/job.texi: Likewise.
9944 * manual/lang.texi: Likewise.
9945 * manual/libc.texiinfo: Likewise.
9946 * manual/llio.texi: Likewise.
9947 * manual/locale.texi: Likewise.
9948 * manual/maint.texi: Likewise.
9949 * manual/math.texi: Likewise.
9950 * manual/memory.texi: Likewise.
9951 * manual/message.texi: Likewise.
9952 * manual/nss.texi: Likewise.
9953 * manual/pattern.texi: Likewise.
9954 * manual/process.texi: Likewise.
9955 * manual/resource.texi: Likewise.
9956 * manual/search.texi: Likewise.
9957 * manual/setjmp.texi: Likewise.
9958 * manual/signal.texi: Likewise.
9959 * manual/socket.texi: Likewise.
9960 * manual/startup.texi: Likewise.
9961 * manual/stdio.texi: Likewise.
9962 * manual/string.texi: Likewise.
9963 * manual/sysinfo.texi: Likewise.
9964 * manual/syslog.texi: Likewise.
9965 * manual/terminal.texi: Likewise.
9966 * manual/time.texi: Likewise.
9967 * manual/users.texi: Likewise.
9968 * INSTALL: Regenerated.
9969 * NOTES: Regenerated.
d40c5d54 9970 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 9971
450bf206
AS
99722012-02-28 Andreas Schwab <schwab@linux-m68k.org>
9973
9974 * include/dirent.h: Include <dirstream.h> before
9975 <dirent/dirent.h>.
9976
741a235b
DM
99772012-02-28 David S. Miller <davem@davemloft.net>
9978
9979 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
9980 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
9981 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
9982 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
9983
d6b5aa58
DM
99842012-02-27 David S. Miller <davem@davemloft.net>
9985
1aff59a3
DM
9986 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
9987 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
9988 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
9989 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
9990
d6b5aa58
DM
9991 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
9992 frame pointer instead of stack pointer relative arg slot.
9993 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
9994 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
9995 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
9996
433f48bf
CD
99972012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
9998
9999 [BZ #3992]
10000 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
10001
d674b76d
DM
100022012-02-27 David S. Miller <davem@davemloft.net>
10003
10004 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
10005 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
10006 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
10007 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
10008 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
10009 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
10010 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
10011 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
10012
0e7727f7
JM
100132012-02-27 Joseph Myers <joseph@codesourcery.com>
10014
10015 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
10016 later. Allow versions 5-9.
43be4ca2 10017 * configure: Regenerated.
0e7727f7
JM
10018 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
10019 required minimum version and 4.6 as recommended version. Do not
10020 mention bugs in GCC 2.7 and 2.8.
43be4ca2 10021 * INSTALL: Regenerated.
0e7727f7 10022
a78bc654
DM
100232012-02-27 David S. Miller <davem@davemloft.net>
10024
428d5830
DM
10025 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
10026 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
10027 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
10028 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
10029 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
10030 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
10031 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
10032 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
10033
a78bc654
DM
10034 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
10035 manipulate bits before adding and subtracting TWO112[sx].
10036 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
10037
4579f81c
RM
100382012-02-27 Roland McGrath <roland@hack.frob.com>
10039
36c8acb4
RM
10040 [BZ #13775]
10041 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
10042 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
10043 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
10044 being in POSIX, because they are in 1003.1-2008.
10045
84ad622b
RM
10046 * rt/tst-aio.c: Include <fcntl.h>.
10047 * rt/tst-aio7.c: Likewise.
10048 * rt/tst-aio64.c: Likewise.
10049
4579f81c
RM
10050 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
10051
abd923db
JM
100522012-02-27 Joseph Myers <joseph@codesourcery.com>
10053
10054 * manual/install.texi (--with-headers): Describe headers as
10055 interface headers, not private headers.
10056 (Specific advice for GNU/Linux systems): Describe use of headers
10057 from "make headers_install", not private headers from older
10058 kernels.
43be4ca2 10059 * INSTALL: Regenerated.
abd923db
JM
10060 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
10061 Change to 2.6.19.
10062 * sysdeps/unix/sysv/linux/configure: Regenerated.
10063
6664049b
JM
10064 * manual/llio.texi (fclean): Remove documentation.
10065
bb8b6697
JM
10066 * manual/Makefile (libc-texi-generated): New variable. Include
10067 version.texi.
10068 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
10069 $(libc-texi-generated), not duplicated list of files.
10070 (version.texi, stamp-version): New rules.
10071 (realclean): Remove $(libc-texi-generated), not individual files
10072 from that list. Do not remove dir-add.texinfo.
10073 * manual/libc.texinfo: Comment out uses of edition numbers and
10074 references to printed manual. Remove last-updated dates.
10075 (EDITION): Comment out.
10076 (ISBN): Likewise.
10077 (VERSION, UPDATED): Remove.
10078 (version.texi): Include.
10079
12e5c3b9
AS
100802012-02-27 Andreas Schwab <schwab@linux-m68k.org>
10081
10082 * sysdeps/posix/spawni.c: Include <signal.h>.
10083 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
10084 * sysdeps/pthread/aio_fsync.c: Likewise.
10085
4efeffc1 100862012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 10087
ba63ba08
UD
10088 * conform/Makefile (tests): Run only when not cross-compiling and
10089 when fast-check is not defined.
10090
d94a4670
UD
10091 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
10092 * conform/data/limits.h-data: Fixes for POSIX2008.
10093 * conform/run-conformtest.sh: Run all tests.
10094 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
10095 headers.
10096 * include/bits/dlfcn.h: Likewise.
10097 * include/langinfo.h: Likewise.
10098 * include/monetary.h: Likewise.
10099 * include/sys/poll.h: Likewise.
10100
10101 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
10102 for __USE_GNU.
10103 * posix/spawn.h: Define __need_sigset_t.
10104 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
10105 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
10106 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
10107 to get sigevent_t only.
10108 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
10109 only for __USE_GNU.
10110 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
10111 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
10112 process_vm_writev only for __USE_GNU.
10113 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
10114
10115 * conform/Makefile: For now ignore errors from run-conformtest.
10116 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
10117 POSIX to avoid namespace pollution. Don't prepend headers.
10118 * conform/data/aio.h-data: Fixes for POSIX testing.
10119 * conform/data/fcntl.h-data: Likewise.
10120 * conform/data/glob.h-data: Likewise.
10121 * conform/data/grp.h-data: Likewise.
10122 * conform/data/pthread.h-data: Likewise.
10123 * conform/data/pwd.h-data: Likewise.
10124 * conform/data/signal.h-data: Likewise.
10125 * conform/data/spawn.h-data: Likewise.
10126 * conform/data/stdio.h-data: Likewise.
10127 * conform/data/stdlib.h-data: Likewise.
10128 * conform/data/stropts.h-data: Likewise.
10129 * conform/data/sys/mman.h-data: Likewise.
10130 * conform/data/sys/stat.h-data: Likewise.
10131 * conform/data/sys/types.h-data: Likewise.
10132 * conform/data/sys/wait.h-data: Likewise.
10133 * conform/data/time.h-data: Likewise.
10134 * conform/data/unistd.h-data: Likewise.
10135 * conform/data/utime.h-data: Likewise.
10136
10137 * io/sys/stat.h: fchmod was always in POSIX.
10138 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
10139 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
10140 * rt/aio.h: Define __need_timespec before including <time.h>.
10141 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
10142 struct. Add forward declaration of pthread_attr_t and use it in
10143 sigevent.
10144 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
10145 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
10146 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
10147 always remove CLK_TCK definition.
10148
c20105c3
AS
101492012-02-26 Andreas Schwab <schwab@linux-m68k.org>
10150
10151 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
10152
7a270350
UD
101532012-02-25 Ulrich Drepper <drepper@gmail.com>
10154
31341567
UD
10155 * conform/run-conformtest.sh: New file.
10156 * conform/Makefile: Run run-conformtest for tests.
10157 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
10158 support.
10159
10160 * conform/data/uchar.h-data: New file.
10161 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
10162 * conform/data/arpa/inet.h-data: Likewise.
10163 * conform/data/assert.h-data: Likewise.
10164 * conform/data/complex.h-data: Likewise.
10165 * conform/data/cpio.h-data: Likewise.
10166 * conform/data/ctype.h-data: Likewise.
10167 * conform/data/dirent.h-data: Likewise.
10168 * conform/data/dlfcn.h-data: Likewise.
10169 * conform/data/errno.h-data: Likewise.
10170 * conform/data/fcntl.h-data: Likewise.
10171 * conform/data/float.h-data: Likewise.
10172 * conform/data/fmtmsg.h-data: Likewise.
10173 * conform/data/fnmatch.h-data: Likewise.
10174 * conform/data/ftw.h-data: Likewise.
10175 * conform/data/glob.h-data: Likewise.
10176 * conform/data/grp.h-data: Likewise.
10177 * conform/data/iconv.h-data: Likewise.
10178 * conform/data/inttypes.h-data: Likewise.
10179 * conform/data/langinfo.h-data: Likewise.
10180 * conform/data/libgen.h-data: Likewise.
10181 * conform/data/limits.h-data: Likewise.
10182 * conform/data/locale.h-data: Likewise.
10183 * conform/data/math.h-data: Likewise.
10184 * conform/data/monetary.h-data: Likewise.
10185 * conform/data/mqueue.h-data: Likewise.
10186 * conform/data/ndbm.h-data: Likewise.
10187 * conform/data/net/if.h-data: Likewise.
10188 * conform/data/netdb.h-data: Likewise.
10189 * conform/data/netinet/in.h-data: Likewise.
10190 * conform/data/nl_types.h-data: Likewise.
10191 * conform/data/poll.h-data: Likewise.
10192 * conform/data/pthread.h-data: Likewise.
10193 * conform/data/pwd.h-data: Likewise.
10194 * conform/data/regex.h-data: Likewise.
10195 * conform/data/sched.h-data: Likewise.
10196 * conform/data/search.h-data: Likewise.
10197 * conform/data/semaphore.h-data: Likewise.
10198 * conform/data/setjmp.h-data: Likewise.
10199 * conform/data/signal.h-data: Likewise.
10200 * conform/data/spawn.h-data: Likewise.
10201 * conform/data/stdarg.h-data: Likewise.
10202 * conform/data/stdio.h-data: Likewise.
10203 * conform/data/stdlib.h-data: Likewise.
10204 * conform/data/string.h-data: Likewise.
10205 * conform/data/strings.h-data: Likewise.
10206 * conform/data/stropts.h-data: Likewise.
10207 * conform/data/sys/ipc.h-data: Likewise.
10208 * conform/data/sys/mman.h-data: Likewise.
10209 * conform/data/sys/msg.h-data: Likewise.
10210 * conform/data/sys/resource.h-data: Likewise.
10211 * conform/data/sys/select.h-data: Likewise.
10212 * conform/data/sys/sem.h-data: Likewise.
10213 * conform/data/sys/shm.h-data: Likewise.
10214 * conform/data/sys/socket.h-data: Likewise.
10215 * conform/data/sys/stat.h-data: Likewise.
10216 * conform/data/sys/statvfs.h-data: Likewise.
10217 * conform/data/sys/time.h-data: Likewise.
10218 * conform/data/sys/timeb.h-data: Likewise.
10219 * conform/data/sys/times.h-data: Likewise.
10220 * conform/data/sys/types.h-data: Likewise.
10221 * conform/data/sys/uio.h-data: Likewise.
10222 * conform/data/sys/un.h-data: Likewise.
10223 * conform/data/sys/utsname.h-data: Likewise.
10224 * conform/data/sys/wait.h-data: Likewise.
10225 * conform/data/syslog.h-data: Likewise.
10226 * conform/data/tar.h-data: Likewise.
10227 * conform/data/termios.h-data: Likewise.
10228 * conform/data/utime.h-data: Likewise.
10229 * conform/data/utmpx.h-data: Likewise.
10230 * conform/data/varargs.h-data: Likewise.
10231 * conform/data/wchar.h-data: Likewise.
10232 * conform/data/wctype.h-data: Likewise.
10233 * conform/data/wordexp.h-data: Likewise.
10234
10235 * include/stropts.h: New file.
10236 * include/uchar.h: New file.
10237 * include/aio.h: Changes to allow conformtest.pl to use the headers.
10238 * include/assert.h: Likewise.
10239 * include/ctype.h: Likewise.
10240 * include/dirent.h: Likewise.
10241 * include/dlfcn.h: Likewise.
10242 * include/fcntl.h: Likewise.
10243 * include/fnmatch.h: Likewise.
10244 * include/glob.h: Likewise.
10245 * include/grp.h: Likewise.
10246 * include/libio.h: Likewise.
10247 * include/locale.h: Likewise.
10248 * include/math.h: Likewise.
10249 * include/net/if.h: Likewise.
10250 * include/netdb.h: Likewise.
10251 * include/netinet/in.h: Likewise.
10252 * include/pthread.h: Likewise.
10253 * include/pwd.h: Likewise.
10254 * include/regex.h: Likewise.
10255 * include/sched.h: Likewise.
10256 * include/search.h: Likewise.
10257 * include/setjmp.h: Likewise.
10258 * include/signal.h: Likewise.
10259 * include/stdio.h: Likewise.
10260 * include/stdlib.h: Likewise.
10261 * include/string.h: Likewise.
10262 * include/sys/cdefs.h: Likewise.
10263 * include/sys/mman.h: Likewise.
10264 * include/sys/msg.h: Likewise.
10265 * include/sys/resource.h: Likewise.
10266 * include/sys/select.h: Likewise.
10267 * include/sys/socket.h: Likewise.
10268 * include/sys/stat.h: Likewise.
10269 * include/sys/statvfs.h: Likewise.
10270 * include/sys/time.h: Likewise.
10271 * include/sys/times.h: Likewise.
10272 * include/sys/uio.h: Likewise.
10273 * include/sys/utsname.h: Likewise.
10274 * include/sys/wait.h: Likewise.
10275 * include/termios.h: Likewise.
10276 * include/time.h: Likewise.
10277 * include/ulimit.h: Likewise.
10278 * include/unistd.h: Likewise.
10279 * include/utime.h: Likewise.
10280 * include/wchar.h: Likewise.
10281 * include/wctype.h: Likewise.
10282 * include/wordexp.h: Likewise.
10283
10284 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
10285
7a270350
UD
10286 * time/time.h: TIME_UTC must be a macro.
10287 Make timespec_get available for ISO C11 only as well.
10288
7724defc
UD
102892012-02-24 Ulrich Drepper <drepper@gmail.com>
10290
10291 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
10292 Reported by Peng Haitao <penght@cn.fujitsu.com>.
10293
6b1d1d46
JM
102942012-02-24 Joseph Myers <joseph@codesourcery.com>
10295
10296 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 10297
0f8bbd69
JM
102982012-02-24 Joseph Myers <joseph@codesourcery.com>
10299
10300 * manual/texinfo.tex: Update to version 2012-01-19.16.
10301
66ab80bc
JM
103022012-02-24 Joseph Myers <joseph@codesourcery.com>
10303
10304 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
10305
74981cc5
RM
103062012-02-24 Roland McGrath <roland@hack.frob.com>
10307
ee968201
RM
10308 [BZ #13738]
10309 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
10310 * manual/fdl-1.3.texi: New file.
10311 * manual/fdl-1.1.texi: File removed.
10312
74981cc5
RM
10313 [BZ #13738]
10314 * manual/libc.texinfo (FDL_VERSION): New @set.
10315 Use it for mention of FDL in cover text.
10316 (Documentation License): Use it in @include file name.
10317
7bb764bc
JM
103182012-02-22 Joseph Myers <joseph@codesourcery.com>
10319 Roland McGrath <roland@hack.frob.com>
10320
10321 [BZ #5461]
10322 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
10323 not LONG_LONG_MAX and LONG_LONG_MIN.
10324 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
10325 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
10326 name.
10327 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
10328
6cbeae47
JM
103292012-02-22 Joseph Myers <joseph@codesourcery.com>
10330
10331 [BZ #2547]
10332 [BZ #11365]
10333 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
10334 manipulate bits before adding and subtracting TWO23[sx].
10335 * math/libm-test.inc (nearbyint_test): Add more tests.
10336
fe45ce09
JM
103372012-02-22 Joseph Myers <joseph@codesourcery.com>
10338
10339 [BZ #2548]
10340 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
10341 bits before adding and subtracting TWO23[sx].
10342 * math/libm-test.inc (rint_test): Add more tests.
10343 (rint_test_tonearest): Likewise.
10344 (rint_test_towardzero): Likewise.
10345 (rint_test_downward): Likewise.
10346 (rint_test_upward: Likewise.
10347
ff3b3d82
JM
103482012-02-22 Joseph Myers <joseph@codesourcery.com>
10349
10350 [BZ #10110]
10351 * include/stdc-predef.h: New file. Extracted from features.h.
10352 * include/features.h: Include stdc-predef.h.
10353 * Makefile (headers): Add stdc-predef.h.
10354 * CONFORMANCE (Compiler limitations): Update.
10355
ef0aab35
JM
103562012-02-22 Joseph Myers <joseph@codesourcery.com>
10357
10358 * manual/libc.texinfo (VERSION, UPDATED): Revert.
10359
58639409
DM
103602012-02-21 David S. Miller <davem@davemloft.net>
10361
10362 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
10363 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
10364
c0e70b25
DM
103652012-02-20 David S. Miller <davem@davemloft.net>
10366
10367 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
10368 using a normal save/restore sequence, rather than allocating a
10369 dummy stack frame just to store a frame pointer and restore.
10370 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
10371
fb06851d
JM
103722012-02-21 Joseph Myers <joseph@codesourcery.com>
10373
10374 * manual/install.texi: Fix stray word in line-wrapped comment.
10375
7a8b71c3
DM
103762012-02-20 David S. Miller <davem@davemloft.net>
10377
d510c123
DM
10378 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
10379 both binutils and gcc support GOTDATA.
10380
0722d7c2
DM
10381 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
10382 "rd %pc" in the PIC register setup sequences.
10383
3d2b3019
DM
10384 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
10385 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
10386 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
10387 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
10388 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
10389 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
10390 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
10391 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
10392 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
10393 (SYSCALL_ERROR_HANDLER): Likewise.
10394 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
10395 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
10396 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
10397 (SYSCALL_ERROR_HANDLER): Likewise.
10398
c80098a9
DM
10399 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
10400 (HAVE_GCC_GOTDATA): New.
10401 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
10402 relocation support in both binutils and gcc.
10403 * sysdeps/sparc/elf/configure: Regenerate.
10404
3a2545a0
DM
10405 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
10406 * sysdeps/sparc/sparc32/elf/configure: Delete.
10407 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
10408 * sysdeps/sparc/sparc64/elf/configure: Delete.
10409 * sysdeps/sparc/elf/configure.in: New file.
10410 * sysdeps/sparc/elf/configure: Generate.
10411
7a8b71c3
DM
10412 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
10413 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
10414 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
10415 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
10416 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
10417
f1e86fca
JM
104182012-02-21 Joseph Myers <joseph@codesourcery.com>
10419
10420 * manual/install.texi: Do not mention specific glibc version
10421 numbers.
10422 * manual/libc.texinfo (VERSION, UPDATED): Update.
10423 (@copying): Use @copyright{} and range of years.
10424
0e7dfaef
JM
104252012-02-21 Joseph Myers <joseph@codesourcery.com>
10426
10427 [BZ #13695]
10428 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
10429 [crti.S not in sysdirs] (generated): Do not append.
10430 [crti.S not in sysdirs] (omit-deps): Likewise.
10431 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
10432 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
10433 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
10434 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
10435 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
10436 Likewise.
10437 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
10438 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
10439 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
10440 * csu/defs.awk: Remove file.
10441 * sysdeps/generic/initfini.c: Likewise.
10442 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
10443 variable.
10444 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
10445 Likewise.
10446
599af3ca
JM
104472012-02-20 Joseph Myers <joseph@codesourcery.com>
10448
10449 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
10450 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
10451 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
10452 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
10453 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
10454 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
10455 <bits/epoll.h>.
10456 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
10457 (__EPOLL_PACKED): Define to empty if not defined by
10458 <bits/epoll.h>.
10459 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
10460 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10461 bits/epoll.h.
10462
0e499750
JM
104632012-02-20 Joseph Myers <joseph@codesourcery.com>
10464
10465 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
10466 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
10467 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
10468 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
10469 <bits/timerfd.h>.
10470 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
10471 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10472 bits/timerfd.h.
10473
5ad91f6e
JM
104742012-02-20 Joseph Myers <joseph@codesourcery.com>
10475
10476 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
10477 in C locale.
10478 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10479 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
10480 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
10481 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10482
06b99b02
AJ
104832012-02-20 Aurelien Jarno <aurelien@aurel32.net>
10484
10485 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10486 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
10487
7638c0fd
AS
104882012-02-19 Andreas Schwab <schwab@linux-m68k.org>
10489
10490 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
10491 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
10492 defined.
10493 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
10494 Likewise.
10495 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
10496 entry for 2.16.
10497
92221550
AJ
104982012-02-19 Aurelien Jarno <aurelien@aurel32.net>
10499
10500 * math/w_acos.c: Use non-signaling floating-point comparisons.
10501 * math/w_acosf.c: Likewise.
10502 * math/w_acosh.c: Likewise.
10503 * math/w_acoshf.c: Likewise.
10504 * math/w_acoshl.c: Likewise.
10505 * math/w_acosl.c: Likewise.
10506 * math/w_asin.c: Likewise.
10507 * math/w_asinf.c: Likewise.
10508 * math/w_asinl.c: Likewise.
10509 * math/w_atanh.c: Likewise.
10510 * math/w_atanhf.c: Likewise.
10511 * math/w_atanhl.c: Likewise.
10512 * math/w_exp2.c: Likewise.
10513 * math/w_exp2f.c: Likewise.
10514 * math/w_exp2l.c: Likewise.
10515 * math/w_j0.c: Likewise.
10516 * math/w_j0f.c: Likewise.
10517 * math/w_j0l.c: Likewise.
10518 * math/w_j1.c: Likewise.
10519 * math/w_j1f.c: Likewise.
10520 * math/w_j1l.c: Likewise.
10521 * math/w_jn.c: Likewise.
10522 * math/w_jnf.c: Likewise.
10523 * math/w_log.c: Likewise.
10524 * math/w_log10.c: Likewise.
10525 * math/w_log10f.c: Likewise.
10526 * math/w_log10l.c: Likewise.
10527 * math/w_log2.c: Likewise.
10528 * math/w_log2f.c: Likewise.
10529 * math/w_log2l.c: Likewise.
10530 * math/w_logf.c: Likewise.
10531 * math/w_logl.c: Likewise.
10532 * math/w_sqrt.c: Likewise.
10533 * math/w_sqrtf.c: Likewise.
10534 * math/w_sqrtl.c: Likewise.
10535 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
10536 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
10537 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10538 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
10539 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
10540
ebaf36eb
JM
105412012-02-19 Joseph Myers <joseph@codesourcery.com>
10542
10543 [BZ #9739]
10544 * manual/string.texi (strnlen): Use correct parameter name in
10545 equivalent expression.
10546
71c254a6
JM
105472012-02-19 Joseph Myers <joseph@codesourcery.com>
10548
10549 [BZ #11174]
10550 * manual/users.texi (seteuid): Consistently use neweuid for
10551 argument name.
10552
16d2c631
JM
105532012-02-19 Joseph Myers <joseph@codesourcery.com>
10554
10555 [BZ #13704]
10556 * manual/nss.texi (Services in the NSS configuration): Correct
10557 list of services in example configuration file.
10558
cd837b09
NB
105592012-02-19 Nick Bowler <nbowler@draconx.ca>
10560
10561 [BZ #11322]
10562 * manual/arith.texi: Remove statements about negative zero
10563 behaving identically to zero.
10564
02c4bbad
JM
105652012-02-18 Joseph Myers <joseph@codesourcery.com>
10566
10567 [BZ #5993]
10568 * manual/install.texi: Do not document upgrading from libc5.
10569
366842e7
JM
105702012-02-18 Joseph Myers <joseph@codesourcery.com>
10571
10572 [BZ #4596]
10573 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
10574
dd54084d
DM
105752012-02-18 David S. Miller <davem@davemloft.net>
10576
10577 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
10578 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
10579 %o7 across the call.
10580 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
10581 instead.
10582 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
10583 SETUP_PIC_REG_LEAF.
10584 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10585 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
10586 * sysdeps/sparc/crtn.S: Likewise.
10587
2bcc53a3
UD
105882012-02-17 Ulrich Drepper <drepper@gmail.com>
10589
10590 * aout/Makefile: Remove.
10591
09c093b5
RK
105922012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
10593
10594 [BZ #13058]
10595 * manual/examples/argp-ex1.c (main): Format definition in GNU
10596 style.
10597 * manual/examples/argp-ex2.c (main): Likewise.
10598 * manual/examples/argp-ex3.c (main): Likewise.
10599 * manual/examples/argp-ex4.c (main): Likewise.
10600 * manual/examples/longopt.c (main): Use new-style prototype
10601 definition.
10602 * manual/examples/strncat.c (main): Specify return type and use
10603 (void) for arguments.
10604 * manual/examples/subopt.c (main): Use char **argv argument.
10605
2ee633a2
JM
106062012-02-17 Joseph Myers <joseph@codesourcery.com>
10607
10608 [BZ #5077]
10609 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
10610 rounding modes.
10611
0520adde
FB
106122012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
10613
10614 [BZ #6907]
10615 * manual/string.texi (strchr): Change when strchrnul is
10616 recommended.
10617
3f4081cd
DGM
106182012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
10619
10620 [BZ #174]
10621 * manual/locale.texi (setlocale): Document LOCPATH.
10622
d1b10e78
JM
106232012-02-17 Joseph Myers <joseph@codesourcery.com>
10624
10625 [BZ #10210]
10626 * manual/process.texi (execle): Move @dots{} before last argument.
10627
79c6869c
PB
106282012-02-17 Paul Bolle <pebolle@tiscali.nl>
10629
10630 [BZ #12047]
10631 * manual/charset.texi (Generic Charset Conversion): Fix typo
10632 (LC_TYPE -> LC_CTYPE).
10633
cc6e48bc
NB
106342012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
10635
10636 [BZ #5805]
10637 * manual/arith.texi (scalbn): Use @var{} on parameter names.
10638 (scalbnf): Likewise.
10639 (scalbnl): Likewise.
10640 (scalbln): Likewise.
10641 (scalblnf): Likewise.
10642 (scalblnl): Likewise.
10643 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
10644 (vwarnx): Likewise.
10645 (verr): Likewise.
10646 (verrx): Likewise.
10647 * manual/filesys.texi (telldir): Use braces around return type.
10648 * manual/llio.texi (mmap): Add space after comma.
10649 (mmap64): Likewise.
10650 * manual/math.texi (jn): Use @var{} on parameter names.
10651 (jnf): Likewise.
10652 (jnl): Likewise.
10653 (yn): Likewise.
10654 (ynf): Likewise.
10655 (ynl): Likewise.
10656 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
10657 line.
10658 * manual/resource.texi (ulimit): Use @dots{} instead of literal
10659 "...".
10660 (sched_get_priority_min): Remove semicolon on @deftypefun line.
10661 (sched_get_priority_max): Likewise.
10662 * manual/signal.texi (sigvec): Add space after comma.
10663 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
10664 names.
10665 (if_indextoname): Likewise.
10666 (if_freenameindex): Likewise.
10667 (sendto): Use ',' instead of '.' in prototype.
10668 * manual/startup.texi (syscall): Use @dots{} instead of literal
10669 "...".
10670 * manual/stdio.texi (__fpending): Separate initial words of
10671 paragraph from @deftypefun line.
10672 * manual/syslog.texi (syslog): Use @dots{} instead of literal
10673 "...".
10674 (vsyslog): Use @var{} on parameter names.
10675 * manual/terminal.texi (stty): Use @var{} on parameter names.
10676 * manual/users.texi (getutmp): Use @var{} on parameter names.
10677 (getutmpx): Likewise.
10678
5b23062f
JM
106792012-02-17 Joseph Myers <joseph@codesourcery.com>
10680
10681 [BZ #6884]
10682 * manual/stdio.texi (fopen): Fix typos in description of
10683 ",ccs=STRING".
10684
8dee4833
AJ
106852012-02-17 Aurelien Jarno <aurelien@aurel32.net>
10686
10687 [BZ #4026]
10688 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
10689 get clock_id definition.
10690
9078ce93
TS
106912012-02-17 Thomas Schwinge <thomas@schwinge.name>
10692
10693 [BZ #4822]
10694 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
10695 (madvise): Cast every argument to void on its own.
10696
3835c55f
JM
106972012-02-17 Joseph Myers <joseph@codesourcery.com>
10698
10699 [BZ #9902]
10700 * manual/startup.texi (Exit Status): Fix typo.
10701
35c47e37
JM
107022012-02-17 Joseph Myers <joseph@codesourcery.com>
10703
10704 [BZ #10140]
10705 * manual/examples/argp-ex1.c: Include <stdlib.h>.
10706 * manual/examples/argp-ex2.c: Likewise.
10707 * manual/examples/argp-ex3.c: Likewise.
10708
e3b69ca7
RH
107092012-02-16 Richard Henderson <rth@redhat.com>
10710
10711 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
10712 * sysdeps/s390/s390-32/initfini.c: Remove.
10713 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
10714 * sysdeps/s390/s390-64/initfini.c: Remove.
10715
df83af67
KK
107162012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10717
10718 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
10719 compiler output for sysdeps/generic/initfini.c.
10720 * sysdeps/sh/elf/initfini.c: Remove file.
10721
f63f3380
DM
107222012-02-16 David S. Miller <davem@davemloft.net>
10723
fb59b3a4
DM
10724 [BZ #11494]
10725 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
10726
f63f3380
DM
10727 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
10728 * sysdeps/sparc/crti.S: New file.
10729 * sysdeps/sparc/crtn.S: New file.
10730 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
10731 * sysdeps/sparc/sparc64/Makefile: Likewise.
10732
df6a4a4a
MF
107332012-02-15 Mike Frysinger <vapier@gentoo.org>
10734
6dd8f3dc 10735 [BZ #3335]
df6a4a4a
MF
10736 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
10737
1cac7236
RM
107382012-02-15 Roland McGrath <roland@hack.frob.com>
10739
d2c736f8
RM
10740 [BZ #4822]
10741 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
10742
1cac7236
RM
10743 * mach/devstream.c (cookie_io_functions_t): Macro removed.
10744 (write, read, close): Likewise.
10745 Patch by Aurelien Jarno <aurelien@aurel32.net>.
10746
8e475601
JM
107472012-02-15 Joseph Myers <joseph@codesourcery.com>
10748
10749 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
10750 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
10751 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
10752 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
10753 <bits/signalfd.h>.
10754 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
10755 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10756 bits/signalfd.h.
10757
ed656b40
MP
107582012-02-14 Marek Polacek <polacek@redhat.com>
10759
10760 * sysdeps/x86_64/crti.S: New file.
10761 * sysdeps/x86_64/crtn.S: New file.
10762 * sysdeps/x86_64/elf/initfini.c: Remove file.
10763
2a979d3a
JM
107642012-02-13 Joseph Myers <joseph@codesourcery.com>
10765
10766 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
10767 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
10768 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
10769 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
10770 <bits/inotify.h>.
10771 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
10772 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10773 bits/inotify.h.
10774
2a418ac3
JM
107752012-02-13 Joseph Myers <joseph@codesourcery.com>
10776
10777 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
10778 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
10779 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
10780 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
10781 <bits/eventfd.h>.
10782 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
10783 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10784 bits/eventfd.h.
10785
fb779be7
TS
107862012-02-10 Thomas Schwinge <thomas@codesourcery.com>
10787
e19e83c5
RM
10788 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
10789 __feraiseexcept instead of feraiseexcept.
7c35ffed 10790
fb779be7
TS
10791 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
10792 nanosleep invocations.
10793 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
10794 strings, and add error checking for a nanosleep invocations.
10795
59ba27a6
PE
107962012-02-09 Paul Eggert <eggert@cs.ucla.edu>
10797
10798 Replace FSF snail mail address with URLs, as per GNU coding standards.
10799 Most of the snail mail addresses were wrong anyway, and omitting
10800 them makes the source code easier to maintain. Almost all of the
10801 changes are to license notices and to locale LC_IDENTIFICATION
10802 addresses, except for this one:
10803 * manual/libc.texinfo: In "Published by", give the FSF's URL,
10804 not its snail mail address.
10805
57b957eb
RH
108062012-02-09 Richard Henderson <rth@twiddle.net>
10807
af850b1c
RH
10808 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
10809 of kernel-features.h.
10810
57b957eb
RH
10811 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
10812
6b73181a
MP
108132012-02-08 Marek Polacek <polacek@redhat.com>
10814
10815 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
10816 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
10817 * sysdeps/gnu/_G_config.h: Likewise.
10818 * sysdeps/generic/_G_config.h: Likewise.
10819
26ecc33a
AS
108202012-02-08 Andreas Schwab <schwab@linux-m68k.org>
10821
6c6dbc63
AS
10822 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
10823 tests.
10824 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10825
e216c012
AS
10826 * sysdeps/powerpc/powerpc32/crti.S: New file.
10827 * sysdeps/powerpc/powerpc32/crtn.S: New file.
10828 * sysdeps/powerpc/powerpc64/crti.S: New file.
10829 * sysdeps/powerpc/powerpc64/crtn.S: New file.
10830
26ecc33a
AS
10831 * Makeconfig (have-initfini): Don't set.
10832 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
10833 * configure.in (nopic_initfini): Don't substitute.
10834 * config.h.in (HAVE_INITFINI): Don't #undef.
10835 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
10836 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
10837
3add8e13
JM
108382012-02-08 Joseph Myers <joseph@codesourcery.com>
10839
10840 Support crti.S and crtn.S provided directly by architectures.
10841 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
10842 [crti.S in sysdirs] (omit-deps): Likewise.
10843 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
10844 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
10845 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
10846 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
10847 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
10848 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
10849 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
10850 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
10851 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
10852 compiler output for sysdeps/generic/initfini.c.
10853 * sysdeps/i386/elf/Makefile: Remove file.
10854 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
10855
a22f12b4
MP
108562012-02-07 Marek Polacek <polacek@redhat.com>
10857
10858 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
10859 * sysdeps/gnu/_G_config.h: Likewise.
10860 * sysdeps/mach/hurd/_G_config.h: Likewise.
10861
148cf100
MP
108622012-02-07 Marek Polacek <polacek@redhat.com>
10863
10864 * math/Makefile (tests): Add tst-CMPLX2.
10865 * math/tst-CMPLX2.c: New file.
10866
cfdc0dd7
AS
108672012-02-07 Andreas Schwab <schwab@linux-m68k.org>
10868
84ba42c4
AS
10869 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10870
cfdc0dd7
AS
10871 * math/libm-test.inc (jn_test): Add missing L suffix.
10872
622c86f4
MP
108732012-02-06 Marek Polacek <polacek@redhat.com>
10874
10875 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
10876 * sysdeps/i386/fpu/e_powf.S: Likewise.
10877 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
10878 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
10879 * sysdeps/i386/fpu/e_acosh.S: Likewise.
10880 * sysdeps/i386/fpu/e_pow.S: Likewise.
10881 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
10882 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
10883 * sysdeps/i386/fpu/s_expm1.S: Likewise.
10884 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
10885 * sysdeps/i386/fpu/e_log2.S: Likewise.
10886 * sysdeps/i386/fpu/e_log2l.S: Likewise.
10887 * sysdeps/i386/fpu/e_scalb.S: Likewise.
10888 * sysdeps/i386/fpu/e_powl.S: Likewise.
10889 * sysdeps/i386/fpu/s_log1p.S: Likewise.
10890 * sysdeps/i386/fpu/e_log10f.S: Likewise.
10891 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
10892 * sysdeps/i386/fpu/e_logl.S: Likewise.
10893 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
10894 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
10895 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
10896 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
10897 * sysdeps/i386/fpu/e_log2f.S: Likewise.
10898 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
10899 * sysdeps/i386/fpu/e_log.S: Likewise.
10900 * sysdeps/i386/fpu/s_cexp.S: Likewise.
10901 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
10902 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
10903 * sysdeps/i386/fpu/e_logf.S: Likewise.
10904 * sysdeps/i386/fpu/e_log10l.S: Likewise.
10905 * sysdeps/i386/fpu/e_atanh.S: Likewise.
10906 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
10907 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
10908 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
10909 * sysdeps/i386/fpu/e_log10.S: Likewise.
10910 * sysdeps/i386/fpu/s_frexp.S: Likewise.
10911 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
10912 * sysdeps/i386/fpu/s_asinh.S: Likewise.
10913 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
10914 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
10915 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
10916 * sysdeps/i386/asm-syntax.h: Likewise.
10917 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
10918 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
10919 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
10920 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
10921 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
10922 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
10923 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
10924 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
10925 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
10926 * sysdeps/powerpc/sysdep.h: Likewise.
10927 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
10928 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
10929
d4a54ac6
JM
109302012-02-06 Joseph Myers <joseph@codesourcery.com>
10931
10932 [BZ #411]
10933 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
10934
314054ea
JM
109352012-02-06 Joseph Myers <joseph@codesourcery.com>
10936
10937 * sysdeps/i386/sysdep.h: Include <features.h>.
10938 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
10939 version.
10940
d8e0ca50
JM
109412012-02-05 Joseph Myers <joseph@codesourcery.com>
10942
10943 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
10944 Define.
10945 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
10946 LOAD_PIC_REG_STR.
10947
b1da7dd9
JM
109482012-02-03 Joseph Myers <joseph@codesourcery.com>
10949
10950 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
10951 (SETUP_PIC_REG): Use GET_PC_THUNK.
10952 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
10953 macro.
10954
9a1d9254
JM
109552012-02-03 Joseph Myers <joseph@codesourcery.com>
10956
10957 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
10958 for non-PIC compilation.
10959 (SETUP_PIC_REG): Add .p2align directive.
10960 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
10961 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
10962 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
10963 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
10964 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
10965 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
10966 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
10967 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
10968 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
10969 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
10970 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
10971 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
10972 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
10973 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
10974 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
10975 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
10976 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
10977 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
10978 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
10979 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
10980 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
10981 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
10982 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
10983 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
10984 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
10985 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
10986 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
10987 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
10988 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
10989 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
10990 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
10991 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
10992 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
10993 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
10994 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
10995 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
10996 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
10997 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
10998 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
10999 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
11000 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
11001
65dc3b75
JM
110022012-02-03 Joseph Myers <joseph@codesourcery.com>
11003
11004 * math/tst-CMPLX.c: Include <stdio.h>.
11005
d55bf177
JM
110062012-01-31 Joseph Myers <joseph@codesourcery.com>
11007
11008 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
11009 float.
11010 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
11011 * sysdeps/sparc/bits/mathdef.h: Likewise.
11012
69db4f8f
MP
110132012-01-31 Marek Polacek <polacek@redhat.com>
11014
11015 * libio/libio.h: Don't define _PARAMS.
11016 * locale/programs/config.h: Don't define PARAMS.
11017 * stdlib/strtol_l.c: Likewise.
11018 (__strtol_l): Remove PARAMS from the prototype.
11019
41b81892
UD
110202012-01-31 Ulrich Drepper <drepper@gmail.com>
11021
3b49edc0
UD
11022 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
11023 names. Just use the correct names. Remove unnecessary wrapper
11024 functions.
11025 * malloc/arena.c: Likewise.
11026 * malloc/hooks.c: Likewise.
11027
41b81892
UD
11028 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
11029 ARENA_TEST says not to. Simplify test for creation of a new arena.
11030 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
11031
27a25b6e
UD
110322012-01-30 Ulrich Drepper <drepper@gmail.com>
11033
11034 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
11035 into tail calls.
11036 (update_get_addr): New function.
11037 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
11038 GET_ADDR_MODULE parameter.
11039
c8a89e7d
JM
110402012-01-30 Joseph Myers <joseph@codesourcery.com>
11041
11042 * crypt/cert.c: Remove __STDC__ conditionals.
11043 * crypt/crypt-entry.c: Likewise.
11044 * crypt/crypt_util.c: Likewise.
11045 * libio/filedoalloc.c: Likewise.
11046 * libio/fileops.c: Likewise.
11047 * libio/genops.c: Likewise.
11048 * libio/iofclose.c: Likewise.
11049 * libio/iofdopen.c: Likewise.
11050 * libio/iofopen.c: Likewise.
11051 * libio/iofopen64.c: Likewise.
11052 * libio/iogetdelim.c: Likewise.
11053 * libio/iopopen.c: Likewise.
11054 * libio/obprintf.c: Likewise.
11055 * libio/oldfileops.c: Likewise.
11056 * libio/oldiofclose.c: Likewise.
11057 * libio/oldiofdopen.c: Likewise.
11058 * libio/oldiofopen.c: Likewise.
11059 * libio/oldiopopen.c: Likewise.
11060 * libio/wfiledoalloc.c: Likewise.
11061 * libio/wgenops.c: Likewise.
11062 * locale/programs/xmalloc.c: Likewise.
11063 * misc/syslog.c: Likewise.
11064 * stdio-common/xbug.c: Likewise.
11065 * string/memchr.c: Likewise.
11066 * string/memcmp.c: Likewise.
11067 * string/memrchr.c: Likewise.
11068 * string/rawmemchr.c: Likewise.
11069 * sysdeps/posix/getcwd.c: Likewise.
11070 * time/strftime_l.c: Likewise.
11071
3b100462
JM
110722012-01-30 Joseph Myers <joseph@codesourcery.com>
11073
11074 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
11075 * config.make.in (config-cflags-sse2avx): Define.
11076 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
11077 Fix typo.
11078
607998af
CM
110792012-01-29 Chris Metcalf <cmetcalf@tilera.com>
11080
11081 * scripts/config.guess: Update from upstream config git repository.
11082 * scripts/config.sub: Likewise.
11083
3601428f
CM
110842012-01-28 Chris Metcalf <cmetcalf@tilera.com>
11085
3ac8b282
CM
11086 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
11087 (EM_NUM): Update.
11088 (R_TILEPRO_*, R_TILEGX_*): New macros.
11089
e034841e
CM
11090 * scripts/firstversions.awk: Fix bug in version range handling.
11091
540d7568
CM
11092 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
11093
3601428f
CM
11094 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
11095
463de862
CM
11096 * include/sys/epoll.h: New file.
11097 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
11098 libc_hidden_def.
11099
73139a76
UD
111002012-01-28 Ulrich Drepper <drepper@gmail.com>
11101
96bc5b45
UD
11102 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
11103 Avoid unnecessary __WORDSIZE == 64 test.
11104 (fmaxf): Use VEX format if possible.
11105 (fmax): Likewise.
11106 (fminf): Likewise.
11107 (fmin): Likewise.
11108
56f6f6a2
UD
11109 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
11110 * math/math_private.h: Remove libc_fegetround* and
11111 libc_fesetround*.
11112 * sysdeps/i386/configure.in: Check for -msse2avx.
11113 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
11114 also if SSE2AVX is defined.
11115 Remove libc_fegetround* and libc_fesetround*.
11116 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
11117 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
11118 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
11119 of HAS_YMM_USABLE.
11120 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
11121 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
11122 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
11123 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
11124 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
11125
73139a76
UD
11126 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
11127
d73f93a4
AZ
111282012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11129
11130 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
11131 size is not set.
11132 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
11133
6ee65ed6
UD
111342012-01-27 Ulrich Drepper <drepper@gmail.com>
11135
11136 [BZ #13618]
11137 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
11138 relocation.
11139 * Makeconfig (libm): Define.
11140 * elf/Makefile: Add rules to build and run tst-relsort1.
11141 * elf/tst-relsort1.c: New file.
11142 * elf/tst-relsort1mod1.c: New file.
11143 * elf/tst-relsort1mod2.c: New file.
11144
8db21882
JM
111452012-01-27 Joseph Myers <joseph@codesourcery.com>
11146
11147 * math/s_ldexp.c: Remove __STDC__ conditionals.
11148 * math/s_ldexpf.c: Likewise.
11149 * math/s_ldexpl.c: Likewise.
11150 * math/s_nextafter.c: Likewise.
11151 * math/s_nexttowardf.c: Likewise.
11152 * math/s_significand.c: Likewise.
11153 * math/s_significandf.c: Likewise.
11154 * math/s_significandl.c: Likewise.
11155 * math/w_jnl.c: Likewise.
11156 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
11157 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
11158 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
11159 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
11160 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
11161 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
11162 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
11163 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
11164 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
11165 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
11166 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
11167 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11168 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
11169 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
11170 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
11171 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
11172 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
11173 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
11174 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
11175 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
11176 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
11177 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
11178 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
11179 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
11180 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
11181 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
11182 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
11183 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
11184 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
11185 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
11186 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
11187 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
11188 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
11189 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
11190 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
11191 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
11192 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
11193 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
11194 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
11195 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
11196 * sysdeps/ieee754/k_standard.c: Likewise.
11197 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11198 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
11199 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
11200 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
11201 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
11202 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
11203 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
11204 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
11205 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
11206 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
11207 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
11208 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
11209 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
11210 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
11211 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
11212 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
11213 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
11214 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
11215 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
11216 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
11217 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
11218 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
11219 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
11220 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
11221 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
11222 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
11223 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
11224 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11225 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
11226 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
11227 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
11228 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
11229 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
11230 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
11231 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
11232 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
11233 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
11234 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
11235 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
11236 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
11237 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
11238 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
11239 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
11240 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
11241 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
11242 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
11243 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
11244 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
11245 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
11246 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
11247 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
11248 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
11249 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
11250 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
11251 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
11252 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
11253 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
11254 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
11255 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
11256 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
11257 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
11258 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
11259 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
11260 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
11261 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
11262 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
11263 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
11264 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
11265 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
11266 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
11267 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
11268 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
11269 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
11270 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
11271 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
11272 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
11273 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
11274 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
11275 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
11276 * sysdeps/ieee754/s_matherr.c: Likewise.
11277 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
11278 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
11279 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
11280 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
11281
965a54a4
JM
112822012-01-26 Joseph Myers <joseph@codesourcery.com>
11283
11284 * crypt/md5.h: Remove __STDC__ conditionals.
11285 * libio/libioP.h: Likewise.
11286 * locale/programs/config.h: Likewise.
11287 * sysdeps/generic/sysdep.h: Likewise.
11288 * sysdeps/i386/asm-syntax.h: Likewise.
11289 * sysdeps/s390/asm-syntax.h: Likewise.
11290 * sysdeps/unix/sysdep.h: Likewise.
11291 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
11292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
11293
7071ad79
JM
112942012-01-26 Joseph Myers <joseph@codesourcery.com>
11295
11296 * libio/libio.h: Remove __STDC__ conditionals.
11297 * malloc/obstack.h: Likewise.
11298 * math/complex.h: Likewise.
11299 * math/math.h: Likewise.
11300 * sysdeps/generic/_G_config.h: Likewise.
11301 * sysdeps/gnu/_G_config.h: Likewise.
11302 * sysdeps/mach/hurd/_G_config.h: Likewise.
11303 * sysdeps/powerpc/bits/mathdef.h: Likewise.
11304 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
11305 * sysdeps/sparc/bits/mathdef.h: Likewise.
11306
afc5ed09
UD
113072012-01-26 Ulrich Drepper <drepper@gmail.com>
11308
11309 [BZ #13583]
11310 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 11311 Clean up HAS_* macros.
afc5ed09 11312 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
11313 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
11314 possible.
11315 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
11316 HAS_AVX.
11317 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
11318 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
11319 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
11320 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
11321 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 11322
bdb6de1d
JM
113232012-01-25 Joseph Myers <joseph@codesourcery.com>
11324
11325 * elf/tst-unique3.cc (gets): Remove declaration.
11326 * elf/tst-unique3lib.cc (gets): Likewise.
11327 * elf/tst-unique3lib2.cc (gets): Likewise.
11328 * elf/tst-unique4.cc (gets): Likewise.
11329
b15549e6
UD
113302012-01-24 Ulrich Drepper <drepper@gmail.com>
11331
11332 * include/stdio.h: Add C++ protection. Add gets declarations and
11333 definitions.
11334 * debug/tst-chk1.c: Don't declare gets here.
11335 * stdio-common/tst-gets.c: Likewise.
11336
a037381f
JM
113372012-01-24 Joseph Myers <joseph@codesourcery.com>
11338
11339 * posix/glob: Remove directory.
11340
f1d4aa75
JM
113412012-01-24 Joseph Myers <joseph@codesourcery.com>
11342
11343 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
11344
81c0c964
PT
113452012-01-22 Pino Toscano <toscano.pino@tiscali.it>
11346
11347 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
11348 of the non-standard EPFNOSUPPORT.
11349
0ea698ae
ST
113502011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
11351
11352 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
11353 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
11354 ANYWHERE set to 1 only on KERN_NO_SPACE error.
11355
d220b117
UD
113562012-01-21 Ulrich Drepper <drepper@gmail.com>
11357
11358 * wcsmbs/uchar.h: Test __STDC_VERSION__.
11359
3e1aa84e
UD
113602012-01-20 Ulrich Drepper <drepper@gmail.com>
11361
11362 * nscd/aicache.c (addhstaiX): Do not cache negative results of
11363 transient errors.
11364 * nscd/grpcache.c (cache_addgr): Likewise.
11365 * nscd/hstcache.c (cache_addhst): Likewise.
11366 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11367 * nscd/pwdcache.c (cache_addpw): Likewise.
11368 * nscd/servicescache.c (cache_addserv): Likewise.
11369
400aa020
UD
113702012-01-16 Ulrich Drepper <drepper@gmail.com>
11371
d77e7869
UD
11372 * malloc/malloc.c: Various cleanups.
11373 * malloc/hooks.c: Likewise.
11374
400aa020
UD
11375 * stdlib/Makefile (tests): Add bug-fmtmsg1.
11376 * stdlib/bug-fmtmsg1.c: New file.
11377
11378 * stdlib/fmtmsg.c (init): Add missing unlock.
11379 Patch by Peng Haitao <penght@cn.fujitsu.com>.
11380
e0a309cf
MP
113812012-01-12 Marek Polacek <polacek@redhat.com>
11382
11383 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
11384 and _GNU_SOURCE.
11385
929d11c7
WS
113862012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
11387
11388 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
11389 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
11390 macro to ensure uniqueness of label name.
11391 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
11392 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
11393
41d0e869
UD
113942012-01-11 Ulrich Drepper <drepper@gmail.com>
11395
0cc5ed3b
UD
11396 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
11397
41d0e869
UD
11398 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
11399 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
11400 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
11401 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
11402
a47a831a
UD
114032012-01-10 Ulrich Drepper <drepper@gmail.com>
11404
daa891c0
UD
11405 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
11406
11407 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
11408 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
11409 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
11410
e58ef0f2
UD
11411 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
11412
a47a831a 11413 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
11414 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
11415 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 11416 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
11417
11418 * math/bits/math-finite.h: Add ldexp support.
11419
a0bfc9c7
MP
114202012-01-10 Marek Polacek <polacek@redhat.com>
11421
11422 * locale/programs/localedef.h (show_archive_content): Add noreturn
11423 attribute.
11424
d6e97a1d
UD
114252012-01-09 Ulrich Drepper <drepper@gmail.com>
11426
11427 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
11428
d5835c26
UD
114292012-01-08 Ulrich Drepper <drepper@gmail.com>
11430
e5f484c6
UD
11431 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
11432
d5835c26
UD
11433 * io/Makefile (headers): Add bits/poll2.h.
11434
d1f741e9
WS
114352011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
11436
11437 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
11438 typo #include statement.
11439
ec09c1c4
UD
114402012-01-08 Ulrich Drepper <drepper@gmail.com>
11441
11442 * include/sys/cdefs.h: Define __attribute_alloc_size.
11443 * catgets/gencat.c: Add alloc_size attribute and apply consistently
11444 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
11445 * elf/pldd.c: Likewise.
11446 * iconv/iconv_charmap.c: Likewise.
11447 * iconv/iconvconfig.c: Likewise.
11448 * iconv/strtab.c: Likewise.
11449 * locale/programs/locale.c: Likewise.
11450 * locale/programs/localedef.h: Likewise.
11451 * locale/programs/simple-hash.c: Likewise.
11452 * nscd/nscd.h: Likewise.
11453 * nss/makedb.c: Likewise.
11454 * sysdeps/generic/ldconfig.h: Likewise.
11455 * locale/programs/localedef.c: Remove xmalloc prototype.
11456 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
11457
20b38e03
PP
114582012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
11459
11460 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
11461 appropriate.
11462
a0da5fe1
UD
114632012-01-08 Ulrich Drepper <drepper@gmail.com>
11464
1d5a644a 11465 * math/Makefile (tests): Add tst-CMPLX.
669704fd 11466 * math/tst-CMPLX.c: New file.
1d5a644a 11467
8784a6db
UD
11468 * math/complex.h (CMPLXL): Fix typo.
11469
d9a216c0
UD
11470 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
11471 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
11472 GLIBC_2.16.
11473 * debug/tst-chk1.c: Add poll and ppoll tests.
11474 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
11475 * include/sys/poll.h: Add hidden proto for ppoll.
11476 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
11477 * sysdeps/mach/hurd/ppoll.c: Likewise.
11478 * io/ppoll.c: Likewise.
11479 * debug/poll_chk.c: New file.
11480 * debug/ppoll_chk.c: New file.
11481 * include/bits/poll2.h: New file.
11482 * io/bits/poll2.h: New file.
11483
ac097f5c
UD
11484 [BZ #1350]
11485 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
11486
2119dcfa
UD
11487 * configure.in: static is always set to yes. Remove.
11488 * config.make.in: Don't set build-static.
11489 * Makeconfig: Remove use of build-static.
11490 * dlfcn/Makefile: Likewise.
11491 * elf/Makefile: Likewise.
11492 * math/Makefile: Likewise.
11493 * misc/Makefile: Likewise.
11494 * nptl/Makefile: Likewise.
11495 * sysdeps/mach/hurd/Makefile: Likewise.
11496
121766a9
UD
11497 * configure.in: PWD_P is not used anymore.
11498 * config.make.in: Remove PWD_P entry.
11499
51a1d39c 11500 * configure.in: Remove last remnants of RANLIB.
8720d066 11501 No need to check for signed size_t anymore.
215f4bdc
UD
11502 Don't set libc_commonpagesize and libc_relro_required here for Alpha
11503 and IA-64.
3857022a 11504 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
11505 * aclocal.m4: Likewise.
11506
d3ed7225
UD
11507 * wcsmbs/mbrtoc16.c: Implement using towc function.
11508 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
11509 * wcsmbs/wcsmbsload.c: Likewise.
11510 * iconv/gconv_simple.c: Likewise.
11511 * iconv/gconv_int.h: Likewise.
11512 * iconv/gconv_builtin.h: Likewise.
11513 * iconv/iconv_prog.c: Remove CHAR16 handling.
11514
11515 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
11516
11517 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
11518
a0da5fe1
UD
11519 * configure.in: Remove --with-elf and --enable-bounded options.
11520 Dont set base_machine for ia64. More non-ELF conditions removed.
11521 Remove testing and setting of leading underscore information.
11522 * config.make.in (build-bounded): Set to no.
11523 * config.h.in: Remove NO_UNDERSCORES entry.
11524 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
11525 them.
11526 * csu/start.c: Remove !NO_UNDERSCORE code.
11527 * locale/localeinfo.h: Likewise.
11528 * sysdeps/generic/machine-gmon.h: Likewise.
11529 * sysdeps/generic/sysdep.h: Likewise.
11530 * sysdeps/i386/sysdep.h: Likewise.
11531 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
11532 * sysdeps/mach/sysdep.h: Likewise.
11533 * sysdeps/s390/s390-32/sysdep.h: Likewise.
11534 * sysdeps/s390/s390-64/sysdep.h: Likewise.
11535 * sysdeps/sh/sysdep.h: Likewise.
11536 * sysdeps/sparc/sparc32/alloca.S: Likewise.
11537 * sysdeps/unix/i386/sysdep.S: Likewise.
11538 * sysdeps/unix/sparc/start.c: Likewise.
11539 * sysdeps/unix/sparc/sysdep.S: Likewise.
11540 * sysdeps/unix/sparc/sysdep.h: Likewise.
11541 * sysdeps/unix/start.c: Likewise.
11542 * sysdeps/unix/x86_64/sysdep.S: Likewise.
11543 * sysdeps/x86_64/sysdep.h: Likewise.
11544
df78418a
UD
115452012-01-07 Ulrich Drepper <drepper@gmail.com>
11546
a784e502
UD
11547 [BZ #13553]
11548 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
11549 for non-gcc.
11550 * argp/argp-fmtstream.h: Use const instead __const.
11551 * argp/argp.h: Likewise.
11552 * assert/assert.h: Likewise.
11553 * bits/fenv.h: Likewise.
11554 * bits/sched.h: Likewise.
11555 * bits/sigset.h: Likewise.
11556 * bits/sigthread.h: Likewise.
11557 * catgets/nl_types.h: Likewise.
11558 * conform/data/pthread.h-data: Likewise.
11559 * crypt/crypt-private.h: Likewise.
11560 * crypt/crypt.h: Likewise.
11561 * crypt/crypt_util.c: Likewise.
11562 * ctype/ctype.h: Likewise.
11563 * debug/execinfo.h: Likewise.
11564 * debug/mbsnrtowcs_chk.c: Likewise.
11565 * debug/mbsrtowcs_chk.c: Likewise.
11566 * debug/wcsnrtombs_chk.c: Likewise.
11567 * debug/wcsrtombs_chk.c: Likewise.
11568 * debug/wcstombs_chk.c: Likewise.
11569 * dirent/dirent.h: Likewise.
11570 * dlfcn/dlfcn.h: Likewise.
11571 * elf/neededtest4.c: Likewise.
11572 * grp/grp.h: Likewise.
11573 * gshadow/gshadow.h: Likewise.
11574 * iconv/gconv.h: Likewise.
11575 * iconv/gconv_int.h: Likewise.
11576 * iconv/gconv_simple.c: Likewise.
11577 * iconv/iconv.h: Likewise.
11578 * iconv/loop.c: Likewise.
11579 * iconv/skeleton.c: Likewise.
11580 * include/aio.h: Likewise.
11581 * include/aliases.h: Likewise.
11582 * include/argz.h: Likewise.
11583 * include/arpa/inet.h: Likewise.
11584 * include/assert.h: Likewise.
11585 * include/dirent.h: Likewise.
11586 * include/dlfcn.h: Likewise.
11587 * include/execinfo.h: Likewise.
11588 * include/fcntl.h: Likewise.
11589 * include/fenv.h: Likewise.
11590 * include/glob.h: Likewise.
11591 * include/grp.h: Likewise.
11592 * include/libintl.h: Likewise.
11593 * include/mntent.h: Likewise.
11594 * include/netdb.h: Likewise.
11595 * include/pwd.h: Likewise.
11596 * include/rpc/netdb.h: Likewise.
11597 * include/sched.h: Likewise.
11598 * include/search.h: Likewise.
11599 * include/shadow.h: Likewise.
11600 * include/signal.h: Likewise.
11601 * include/stdio.h: Likewise.
11602 * include/stdlib.h: Likewise.
11603 * include/string.h: Likewise.
11604 * include/sys/socket.h: Likewise.
11605 * include/sys/stat.h: Likewise.
11606 * include/sys/statfs.h: Likewise.
11607 * include/sys/statvfs.h: Likewise.
11608 * include/sys/syslog.h: Likewise.
11609 * include/sys/time.h: Likewise.
11610 * include/sys/uio.h: Likewise.
11611 * include/time.h: Likewise.
11612 * include/unistd.h: Likewise.
11613 * include/utmp.h: Likewise.
11614 * include/wchar.h: Likewise.
11615 * include/wctype.h: Likewise.
11616 * inet/aliases.h: Likewise.
11617 * inet/arpa/inet.h: Likewise.
11618 * inet/netinet/ether.h: Likewise.
11619 * inet/netinet/in.h: Likewise.
11620 * intl/libintl.h: Likewise.
11621 * io/bits/fcntl2.h: Likewise.
11622 * io/fcntl.h: Likewise.
11623 * io/ftw.h: Likewise.
11624 * io/sys/poll.h: Likewise.
11625 * io/sys/stat.h: Likewise.
11626 * io/sys/statfs.h: Likewise.
11627 * io/sys/statvfs.h: Likewise.
11628 * io/utime.h: Likewise.
11629 * libio/bits/stdio.h: Likewise.
11630 * libio/bits/stdio2.h: Likewise.
11631 * libio/libio.h: Likewise.
11632 * libio/libioP.h: Likewise.
11633 * libio/stdio.h: Likewise.
11634 * locale/lc-ctype.c: Likewise.
11635 * locale/locale.h: Likewise.
11636 * login/utmp.h: Likewise.
11637 * malloc/arena.c: Likewise.
11638 * malloc/malloc.c: Likewise.
11639 * malloc/malloc.h: Likewise.
11640 * malloc/mcheck.c: Likewise.
11641 * malloc/mtrace.c: Likewise.
11642 * math/bits/mathcalls.h: Likewise.
11643 * math/fenv.h: Likewise.
11644 * math/math_private.h: Likewise.
11645 * misc/bits/error.h: Likewise.
11646 * misc/bits/syslog.h: Likewise.
11647 * misc/err.h: Likewise.
11648 * misc/error.h: Likewise.
11649 * misc/fstab.h: Likewise.
11650 * misc/mntent.h: Likewise.
11651 * misc/regexp.h: Likewise.
11652 * misc/search.h: Likewise.
11653 * misc/sgtty.h: Likewise.
11654 * misc/sys/mman.h: Likewise.
11655 * misc/sys/syslog.h: Likewise.
11656 * misc/sys/uio.h: Likewise.
11657 * misc/sys/xattr.h: Likewise.
11658 * misc/ttyent.h: Likewise.
11659 * nis/rpcsvc/ypclnt.h: Likewise.
11660 * nss/nss.h: Likewise.
11661 * posix/bits/unistd.h: Likewise.
11662 * posix/fnmatch.h: Likewise.
11663 * posix/glob.h: Likewise.
11664 * posix/sched.h: Likewise.
11665 * posix/spawn.h: Likewise.
11666 * posix/sys/wait.h: Likewise.
11667 * posix/unistd.h: Likewise.
11668 * posix/wordexp.h: Likewise.
11669 * pwd/pwd.h: Likewise.
11670 * resolv/netdb.h: Likewise.
11671 * resource/sys/resource.h: Likewise.
11672 * rt/aio.h: Likewise.
11673 * rt/bits/mqueue2.h: Likewise.
11674 * rt/mqueue.h: Likewise.
11675 * shadow/shadow.h: Likewise.
11676 * signal/signal.h: Likewise.
11677 * socket/send.c: Likewise.
11678 * socket/sendto.c: Likewise.
11679 * socket/sys/socket.h: Likewise.
11680 * stdio-common/printf.h: Likewise.
11681 * stdlib/bits/stdlib.h: Likewise.
11682 * stdlib/fmtmsg.h: Likewise.
11683 * stdlib/monetary.h: Likewise.
11684 * stdlib/stdlib.h: Likewise.
11685 * stdlib/ucontext.h: Likewise.
11686 * streams/stropts.h: Likewise.
11687 * string/argz.h: Likewise.
11688 * string/bits/string2.h: Likewise.
11689 * string/string.h: Likewise.
11690 * string/strings.h: Likewise.
11691 * sunrpc/rpc/auth.h: Likewise.
11692 * sunrpc/rpc/auth_des.h: Likewise.
11693 * sunrpc/rpc/clnt.h: Likewise.
11694 * sunrpc/rpc/netdb.h: Likewise.
11695 * sunrpc/rpc/pmap_clnt.h: Likewise.
11696 * sunrpc/rpc/xdr.h: Likewise.
11697 * sysdeps/generic/inttypes.h: Likewise.
11698 * sysdeps/generic/net/if.h: Likewise.
11699 * sysdeps/generic/sys/swap.h: Likewise.
11700 * sysdeps/gnu/net/if.h: Likewise.
11701 * sysdeps/gnu/utmpx.h: Likewise.
11702 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
11703 * sysdeps/i386/i486/bits/string.h: Likewise.
11704 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
11705 * sysdeps/s390/bits/string.h: Likewise.
11706 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
11707 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
11708 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
11709 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
11710 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
11711 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
11712 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
11713 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
11714 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
11715 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
11716 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
11717 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
11718 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
11719 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
11720 * sysdeps/unix/sysv/linux/readv.c: Likewise.
11721 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
11722 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
11723 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
11724 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
11725 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
11726 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
11727 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
11728 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
11729 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
11730 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
11731 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
11732 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
11733 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
11734 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
11735 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
11736 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
11737 * sysvipc/sys/ipc.h: Likewise.
11738 * sysvipc/sys/msg.h: Likewise.
11739 * sysvipc/sys/sem.h: Likewise.
11740 * sysvipc/sys/shm.h: Likewise.
11741 * termios/termios.h: Likewise.
11742 * time/sys/time.h: Likewise.
11743 * time/time.h: Likewise.
11744 * wcsmbs/bits/wchar2.h: Likewise.
11745 * wcsmbs/uchar.h: Likewise.
11746 * wcsmbs/wchar.h: Likewise.
11747 * wctype/wctype.h: Likewise.
11748
0269750c
UD
11749 [BZ #13551]
11750 * Makeconfig: Remove all but ELF support including AIX support.
11751 * Makerules: Likewise.
11752 * config.h.in: Likewise.
11753 * config.make.in: Likewise.
11754 * configure: Likewise.
11755 * configure.in: Likewise.
11756 * csu/Makefile: Likewise.
11757 * csu/version.c: Likewise.
11758 * debug/Makefile: Likewise.
11759 * dlfcn/Makefile: Likewise.
11760 * elf/Makefile: Likewise.
11761 * extra-lib.mk: Likewise.
11762 * iconv/Makefile: Likewise.
11763 * include/libc-symbols.h: Likewise.
11764 * include/shlib-compat.h: Likewise.
11765 * resolv/Makefile: Likewise.
11766 * resolv/res_libc.c: Likewise.
11767 * rt/Makefile: Likewise.
11768 * sysdeps/i386/asm-syntax.h: Likewise.
11769 * sysdeps/i386/sysdep.h: Likewise.
11770 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
11771 * sysdeps/mach/sysdep.h: Likewise.
11772 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
11773 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
11774 * sysdeps/s390/asm-syntax.h: Likewise.
11775 * sysdeps/s390/s390-32/sysdep.h: Likewise.
11776 * sysdeps/s390/s390-64/sysdep.h: Likewise.
11777 * sysdeps/sh/sysdep.h: Likewise.
11778 * sysdeps/unix/sparc/sysdep.h: Likewise.
11779 * sysdeps/wordsize-32/divdi3.c: Likewise.
11780 * sysdeps/x86_64/sysdep.h: Likewise.
11781
00bbd29b
UD
11782 * argp/Versions: Remove _argp_unlock_xxx.
11783
11784 [BZ #13559]
11785 * abilist/ld.abilist: Update. Adjust for removal of tls option.
11786 * abilist/libBrokenLocale.abilist: Likewise.
11787 * abilist/libanl.abilist: Likewise.
11788 * abilist/libc.abilist: Likewise.
11789 * abilist/libcrypt.abilist: Likewise.
11790 * abilist/libdl.abilist: Likewise.
11791 * abilist/libm.abilist: Likewise.
11792 * abilist/libnsl.abilist: Likewise.
11793 * abilist/libpthread.abilist: Likewise.
11794 * abilist/libresolv.abilist: Likewise.
11795 * abilist/librt.abilist: Likewise.
11796 * abilist/libthread_db.abilist: Likewise.
11797 * abilist/libutil.abilist: Likewise.
11798 * abilist/libnss_db.abilist: New file.
11799
11800 * scripts/abilist.awk: Add support for indirect functions.
11801
a2693a0e
UD
11802 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
11803
3f05895f
UD
11804 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
11805
ecb6fb48
UD
11806 * shlib-versions: Remove entries for ports architectures.
11807
664f8cb9
UD
11808 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
11809 files in ports.
11810 * elf/stackguard-macros.h: Remove support for IA-64.
11811 * elf/tst-auditmod1.c: Likewise.
11812 * sysdeps/generic/ldsodefs.h: Likewise.
11813
7ae81d88
UD
11814 * sysdeps/unix/sysv/linux/configure.in: Ports should define
11815 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
11816 configure files.
11817
bdeba135
UD
11818 [BZ #13552]
11819 * configure.in: Remove --enable-omitfp support.
11820 * FAQ.in: Adjust.
11821 * config.make.in: Likewise.
11822 * Makeconfig: Likewise.
11823 * manual/install.texi: Likewise.
11824
d75a0a62
UD
11825 In case anyone cares, the IA-64 architecture could move to ports.
11826 * sysdeps/ia64/*: Removed.
11827 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 11828 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 11829
dcc9756b
UD
11830 [BZ #13555]
11831 * configure.in: Remove entries for unsupported architectures.
11832
d3761ebc 11833 [BZ #13533]
9954432e
UD
11834 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
11835 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
11836 routines.
11837 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
11838 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
11839 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
11840 fall back to using wcrtomb.
11841 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
11842 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
11843 renaming.
11844 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
11845 * wcsmbs/tst-c16c32-1.c: New file.
11846
11847 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
11848 local variable.
11849
c3a87236
UD
11850 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
11851
28926a1b
UD
11852 * elf/tst-unique3.cc: Add explicit declaration of gets.
11853 * elf/tst-unique3lib.cc: Likewise.
11854 * elf/tst-unique3lib2.cc: Likewise.
11855 * elf/tst-unique4.cc: Likewise.
11856
df78418a
UD
11857 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
11858
8ecd6b2a
JM
118592012-01-06 Joseph Myers <joseph@codesourcery.com>
11860
11861 [BZ #13566]
11862 * assert/assert.h (static_assert): Don't define for C++.
11863 * libio/stdio.h (gets): Do declare for C++ <= C++11.
11864 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
11865
9f115170
UD
118662012-01-03 Ulrich Drepper <drepper@gmail.com>
11867
5e0d0300
UD
11868 * iconv/loop.c (single loop): Fix assertion in storing of
11869 remaining bytes.
11870
9f115170
UD
11871 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
11872
81fb02b0
UD
118732012-01-01 Ulrich Drepper <drepper@gmail.com>
11874
11875 * posix/getconf.c: Update copyright year.
11876 * nss/getent.c: Likewise.
a316c1f6 11877 * nss/makedb.c: Likewise.
81fb02b0
UD
11878 * iconv/iconvconfig.c: Likewise.
11879 * iconv/iconv_prog.c: Likewise.
11880 * elf/ldconfig.c: Likewise.
a316c1f6
UD
11881 * elf/pldd.c: Likewise.
11882 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
11883 * catgets/gencat.c: Likewise.
11884 * csu/version.c: Likewise.
11885 * elf/ldd.bash.in: Likewise.
11886 * elf/sprof.c (print_version): Likewise.
11887 * locale/programs/locale.c: Likewise.
11888 * locale/programs/localedef.c: Likewise.
a316c1f6 11889 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
11890 * nscd/nscd.c (print_version): Likewise.
11891 * debug/xtrace.sh: Likewise.
11892 * malloc/memusage.sh: Likewise.
11893 * malloc/mtrace.pl: Likewise.
11894 * debug/catchsegv.sh: Likewise.
11895
2ba92745
JJ
118962011-12-30 Jakub Jelinek <jakub@redhat.com>
11897
11898 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
11899 pure attribute.
11900
dadebdae
UD
119012011-12-24 Ulrich Drepper <drepper@gmail.com>
11902
d3761ebc 11903 [BZ #13533]
db6af3eb
UD
11904 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
11905 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
11906 transformations.
11907 * iconv/gconv_int.h: Likewise.
11908 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
11909 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
11910 from libc for GLIBC_2.16.
11911 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
11912 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
11913 * wcsmbs/uchar.h: Really define mbstate_t.
11914 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
11915 * wcsmbs/c16rtomb.c: New file.
11916 * wcsmbs/mbrtoc16.c: New file.
11917 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
11918 for C/POSIX locale.
11919 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
11920 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
11921
dadebdae
UD
11922 * wcsmbs/wchar.h: Add missing __restrict.
11923
67371b56
UD
119242011-12-23 Ulrich Drepper <drepper@gmail.com>
11925
74033a25
UD
11926 [BZ #13532]
11927 * time/Makefile (routines): Add timespec_get.
11928 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
11929 * time/time.h: Define TIME_UTC and declare timespec_get. Define
11930 timespec for ISO C11.
11931 * time/timespec_get.c: New file.
11932 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
11933 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
11934
380d7e87
UD
11935 [BZ #13531]
11936 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
11937 * stdlib/stdlib.h: Declare aligned_alloc.
11938 * Versions.def: Add GLIBC_2.16 for libc.
11939 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
11940
4e9e7a35
UD
11941 [BZ 13527]
11942 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
11943 ISO C11.
11944
380d7e87 11945 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
11946 code.
11947
03a71829
UD
11948 [BZ #13528]
11949 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
11950
839e283e
UD
11951 [BZ #13529]
11952 * assert/assert.h (static_assert): Define.
11953
ce5294e2 11954 * version.h: Update for 2.16 development version.
90fa7312 11955
8d44e150 11956 [BZ #13526]
d7809905
UD
11957 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
11958 _ISOC11_SOURCE.
11959
c0da14cd
UD
11960 * version.h (RELEASE): Bump for 2.15 release.
11961 * include/features.h (__GLIBC_MINOR__): Bump to 15.
11962
530a3249
MP
11963 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
11964 Patch by Marek Polacek <mpolacek@redhat.com>.
11965
67371b56
UD
11966 * bits/byteswap.h: Protect long long constants with __extension__.
11967 * sysdeps/i386/bits/byteswap.h: Likewise.
11968 * sysdeps/ia64/bits/byteswap.h: Likewise.
11969 * sysdeps/s390/bits/byteswap.h: Likewise.
11970 * sysdeps/x86_64/bits/byteswap.h: Likewise.
11971
15db4de1
LD
119722011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11973
11974 [BZ #13540]
bbe315ea
LD
11975 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
11976 destination buffer.
15db4de1
LD
11977 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
11978
2b2596b1
MP
119792011-12-23 Marek Polacek <polacek@redhat.com>
11980
11981 * elf/dl-addr.c (determine_info): Add inline keyword.
11982 * elf/tst-auditmod4b.c (check_avx): Likewise.
11983 * elf/tst-auditmod6b.c (check_avx): Likewise.
11984 * elf/tst-auditmod6c.c (check_avx): Likewise.
11985 * elf/tst-auditmod7b.c (check_avx): Likewise.
11986
70c6c246
UD
119872011-12-23 Ulrich Drepper <drepper@gmail.com>
11988
11989 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
11990 !__SSE_MATH__.
11991
c044cf14
LD
119922011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11993
15db4de1 11994 [BZ #13540]
c044cf14
LD
11995 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
11996 processing for last bytes.
11997
6b13d9d9
BH
119982011-08-06 Bruno Haible <bruno@clisp.org>
11999
d455f537
BH
12000 [BZ #13061]
12001 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
12002 U+0385, not to U+1FEE.
12003
6b13d9d9
BH
12004 [BZ #13062]
12005 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
12006 entry for U+00A5 U+0301.
12007
db910efd
UD
120082011-12-22 Ulrich Drepper <drepper@gmail.com>
12009
27deeafc
UD
12010 [BZ #13166]
12011 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
12012 buffer for the output is too small.
12013
aed9d171
UD
12014 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
12015 optimization.
12016
db910efd
UD
12017 [BZ #13185]
12018 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
12019 SSE flags if possible.
12020
2bd779ae
LD
120212011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12022
e7f9dac3 12023 [BZ #13540]
2bd779ae
LD
12024 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
12025 processing for last bytes.
12026
154bfc16
JM
120272011-12-22 Joseph Myers <joseph@codesourcery.com>
12028
12029 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
12030 (syscall-list-default-options, syscall-list-default-condition)
12031 (syscall-list-includes): Define.
12032 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
12033 list of ABIs and options and #if conditions for each ABI. Do not
12034 handle common syscalls between ABIs specially.
12035 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
12036 Remove.
12037 (syscall-list-variants, syscall-list-32bit-options)
12038 (syscall-list-32bit-condition, syscall-list-64bit-options)
12039 (syscall-list-64bit-condition): Define.
12040 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
12041 (syscall-list-variants, syscall-list-32bit-options)
12042 (syscall-list-32bit-condition, syscall-list-64bit-options)
12043 (syscall-list-64bit-condition): Define.
12044 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
12045 Remove.
12046 (syscall-list-variants, syscall-list-32bit-options)
12047 (syscall-list-32bit-condition, syscall-list-64bit-options)
12048 (syscall-list-64bit-condition): Define.
12049 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
12050 Remove.
12051 (syscall-list-variants, syscall-list-32bit-options)
12052 (syscall-list-32bit-condition, syscall-list-64bit-options)
12053 (syscall-list-64bit-condition): Define.
12054
21eaf3a5
UD
120552011-12-22 Ulrich Drepper <drepper@gmail.com>
12056
16c6f992
UD
12057 * locale/iso-639.def: Add brx entry.
12058
41043168
UD
12059 [BZ #13328]
12060 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
12061 Proposed by Mariusz_Cukr <marcukr@op.pl>.
12062
21eaf3a5
UD
12063 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
12064 __feraiseexcept_renamed.
12065
e3a851a2
UD
120662011-12-21 Ulrich Drepper <drepper@gmail.com>
12067
4920765e
UD
12068 [BZ #13538]
12069 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
12070 EPOLLET with unsigned values.
12071 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
12072 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
12073
e3a851a2
UD
12074 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
12075 to large cancellation.
12076 * math/s_cacoshf.c: Likewise.
12077 * math/s_cacoshl.c: Likewise.
12078
b27e24b8
RK
120792011-11-18 Richard B. Kreckel <kreckel@ginac.de>
12080
12081 [BZ #13305]
aebefeee 12082 [BZ #12786]
b27e24b8
RK
12083 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
12084 * math/s_cacoshf.c: Likewise.
12085 * math/s_cacoshl.c: Likewise.
12086
ee190f67
UD
120872011-12-21 Ulrich Drepper <drepper@gmail.com>
12088
12089 [BZ #13439]
12090 * iconv/gconv.h: Define __GCONV_SWAP.
12091 * iconvdata/unicode.c: The swap bit must be stored in __flags.
12092 * iconvdata/utf-16.c: Likewise.
12093 * iconvdata/utf-32.c: Likewise.
12094
707f25df
AS
120952011-12-21 Andreas Schwab <schwab@linux-m68k.org>
12096
12097 [BZ #13524]
12098 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
12099 numerator after shifting it by one limb.
12100
d2daaa1e
RÁE
121012011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
12102
12103 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
12104 under [__USE_EXTERN_INLINES].
12105
a4647e72
UD
121062011-12-17 Ulrich Drepper <drepper@gmail.com>
12107
12108 [BZ #13446]
12109 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
12110
f0b264f1
AZ
121112011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12112
12113 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
12114 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
12115 optimized code.
12116 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
12117 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
12118 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
12119 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
12120 for strncasecmp/strncasecmp_l compilation.
12121 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
12122 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
12123
8ef4f244
MP
121242011-12-08 Marek Polacek <mpolacek@redhat.com>
12125
12126 [BZ #13484]
12127 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
12128 of __asm__.
12129
97ac2654
UD
121302011-12-17 Ulrich Drepper <drepper@gmail.com>
12131
12132 [BZ #13506]
12133 * time/tzfile.c (__tzfile_read): Check values from file header.
12134
91d2a845
WS
121352011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
12136
12137 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
12138 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
12139 * powerpc/powerpc32/dl-start.S: Likewise.
12140 * powerpc/powerpc32/elf/start.S: Likewise.
12141 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
12142 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
12143 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
12144 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
12145 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
12146 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
12147 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
12148 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
12149 * powerpc/powerpc32/fpu/s_round.S: Likewise.
12150 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
12151 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
12152 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
12153 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
12154 * powerpc/powerpc32/memset.S: Likewise.
12155 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
12156 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
12157 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
12158 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
12159 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
12160 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
12161 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
12162 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
12163 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
12164 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
12165 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
12166 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
12167 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
12168
a1267ba1
AZ
121692011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12170
12171 * math/libm-test.inc: Added more nearbyint tests.
12172 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
12173 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
12174 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
12175 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
12176
ad8ac1bd
RL
121772011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
12178
12179 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
12180 FD_CLOEXEC.
12181
1d3e4b61
UD
121822011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12183
12184 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
12185 Add wcscpy-ssse3 wcscpy-c.
12186 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
12187 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
12188 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
12189 * sysdeps/x86_64/wcschr.S: New file.
12190 * sysdeps/x86_64/wcsrchr.S: New file.
12191 * string/test-strcmp.c: Remove checking of wcscmp function for
12192 wrong alignments.
12193 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
12194 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
12195 wcsrchr-sse2 wcsrchr-c.
12196 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
12197 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
12198 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
12199 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
12200 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
12201 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
12202 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
12203 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
12204 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
12205 * wcsmbc/wcschr.c (WCSCHR): New macro.
12206
5b330a2d
UD
122072011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12208
12209 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
12210 * wcsmbs/test-wcsrchr.c: New file.
12211 * string/test-strrchr.c: Add wcsrchr support.
12212 (WIDE): New macro.
12213 * wcsmbs/test-wcscpy.c: New file.
12214 * string/test-strcpy.c: Add wcscpy support.
12215 (WIDE): New macro.
26428b7c 12216
f039c043
UD
122172011-12-10 Ulrich Drepper <drepper@gmail.com>
12218
12219 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
12220 the inner loop.
12221
850fb039
AS
122222011-12-06 Andreas Schwab <schwab@linux-m68k.org>
12223
12224 [BZ #13472]
12225 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
12226
4efbd5cb
UD
122272011-12-04 Ulrich Drepper <drepper@gmail.com>
12228
52ff5dd0 12229 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 12230 Minor optimizations.
52ff5dd0 12231
4efbd5cb
UD
12232 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
12233 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
12234 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
12235
8a426e12
UD
122362011-12-03 Ulrich Drepper <drepper@gmail.com>
12237
aff2453d
UD
12238 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
12239 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
12240 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
12241 for gcc to avoid warnings.
12242 * inet/Makefile (tests): Add tst-checks.
12243 * inet/tst-checks.c: New file.
12244
12245 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
12246 warning.
12247
12248 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
12249 __wmemcmp_sse2.
12250
12251 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
12252 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
12253
8a426e12
UD
12254 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
12255
9bea3473
UD
122562011-12-02 Ulrich Drepper <drepper@gmail.com>
12257
3a965496
UD
12258 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
12259 problem.
12260
9bea3473
UD
12261 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
12262
f101631b
UD
122632011-11-29 Joseph Myers <joseph@codesourcery.com>
12264
12265 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
12266 conditional on GCC version.
12267 (__arch_compare_and_exchange_val_8_acq)
12268 (__arch_compare_and_exchange_val_16_acq)
12269 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
12270 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
12271 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
12272
a98275aa
UD
122732011-12-02 Joseph Myers <joseph@codesourcery.com>
12274
12275 * sysdeps/sh/backtrace.c: New file.
12276
d4cc29a2
AS
122772011-12-02 Andreas Schwab <schwab@redhat.com>
12278
12279 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
12280 parenthesis.
12281
6257af2d
AS
122822011-12-01 Andreas Schwab <schwab@redhat.com>
12283
12284 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
12285 falling back to utime.
12286
b5f44c1a
AS
122872011-11-30 Andreas Schwab <schwab@redhat.com>
12288
12289 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
12290 expectations for float.
12291
f3a6cc0a
AS
122922011-11-29 Andreas Schwab <schwab@redhat.com>
12293
12294 * locale/weight.h (findidx): Add parameter len.
12295 * locale/weightwc.h (findidx): Likewise.
12296 * posix/fnmatch_loop.c (FCT): Adjust caller.
12297 * posix/regcomp.c (build_equiv_class): Likewise.
12298 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
12299 * posix/regexec.c (check_node_accept_bytes): Likewise.
12300 * string/strcoll_l.c (STRCOLL): Likewise.
12301 * string/strxfrm_l.c (STRXFRM): Likewise.
12302
9d65ea3a
UD
123032011-11-17 Ulrich Drepper <drepper@gmail.com>
12304
12305 * Makefile.in: Remove CVSOPT handling.
12306 * configure.in: Remove use of AC_REVISION.
12307 * iconvdata/Makefile (distribute): No need to filter out CVS.
12308 * scripts/list-sources.sh: Remove CVS, subversion and monotone
12309 handling.
12310
5583a086
AS
123112011-11-16 Andreas Schwab <schwab@redhat.com>
12312
12313 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
12314 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
12315 [USE_AS_STRNCASECMP_L]: Likewise.
12316 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
12317 NO_TLS_DIRECT_SEG_REFS.
12318 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
12319 Fix argument offsets for non-PIC.
12320 [USE_AS_STRNCASECMP_L]: Likewise.
12321 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
12322 NO_TLS_DIRECT_SEG_REFS.
12323
d62a8200
UD
123242011-11-15 Ulrich Drepper <drepper@gmail.com>
12325
9d65ea3a 12326 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
12327 O_CLOEXEC.
12328 * locale/loadlocale.c (_nl_load_locale): Likewise.
12329
09f93bd3
AS
123302011-11-15 Andreas Schwab <schwab@redhat.com>
12331
446514f9
AS
12332 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
12333 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
12334 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
12335 (SYSCALL_GETTIME): Set errno on error.
12336
09f93bd3
AS
12337 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
12338 count references to noai6ai_cached.
12339
312be3f9
UD
123402011-11-15 Ulrich Drepper <drepper@gmail.com>
12341
12342 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
12343
12344 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
12345 FD_CLOEXEC for /proc/self/maps.
12346
12347 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
12348 FD_CLOEXEC for /proc/meminfo.
12349
12350 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
12351 gai.conf.
12352
12353 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
12354 FD_CLOEXEC for given file.
12355
12356 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
12357
12358 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
12359 FD_CLOEXEC for /etc/hosts.
12360 (_gethtent): Likewise.
12361
12362 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
12363
12364 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
12365 cancellation and set FD_CLOEXEC for /etc/netgroup.
12366
12367 * nss/nss_files/files-key.c (search): Don't allow cancellation when
12368 reading /etc/publickey.
12369
12370 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
12371 allow cancellation when reading /etc/group.
12372
12373 * nss/nss_files/files-alias.c (internal_setent): Don't allow
12374 cancellation.
12375 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
12376
12377 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
12378 when using data file.
12379
12380 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
12381
12382 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
12383 (write_nis_obj): Use "c" and "e" in fopen.
12384
12385 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
12386
12387 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
12388
12389 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
12390
12391 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
12392
12393 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
12394 locale.alias.
12395
12396 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
12397
12398 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
12399
12400 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
12401
12402 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
12403 file parsing and set FD_CLOEXEC.
12404
82af0fa8
UD
124052011-11-14 Ulrich Drepper <drepper@gmail.com>
12406
12407 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
12408
a5fb313c
AS
124092011-11-14 Andreas Schwab <schwab@redhat.com>
12410
12411 * malloc/arena.c (arena_get2): Don't call reused_arena when
12412 _int_new_arena failed.
12413
6abf3465
UD
124142011-11-14 Ulrich Drepper <drepper@gmail.com>
12415
12416 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
12417 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
12418 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
12419 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
12420 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12421 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
12422 to compile strcasecmp and strncasecmp.
12423 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
12424 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
12425
12426 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
12427
76e3966e
UD
124282011-11-13 Ulrich Drepper <drepper@gmail.com>
12429
12430 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
12431 locale-defines.sym to gen-as-const-headers.
12432 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
12433 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
12434 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
12435 to compile strcasecmp and strncasecmp.
12436 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
12437 strcasecmp_l and strncasecmp_l.
12438 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
12439 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
12440 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
12441 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
12442 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
12443 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
12444 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
12445 * sysdeps/i386/i686/multiarch/strncase.S: New file.
12446 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
12447 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
12448 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
12449
ab26144e
UD
124502011-11-12 Ulrich Drepper <drepper@gmail.com>
12451
7edb22ef
UD
12452 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
12453 result of SYSDEP_GETTIME_CPU to retval.
12454 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
12455 parameter list to macro. Remove trailing semicolon. Adjust users.
12456
9694fc44
UD
12457 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
12458 variable.
12459
8ad89ef8
UD
12460 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
12461 mantissa words.
12462 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
12463
0c822ef9
UD
12464 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
12465 from unused variable.
12466
874e0564
UD
12467 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
12468 DWARF definitions.
12469 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
12470 for assembling.
12471
3a2edc79
UD
12472 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
12473 over namespaces.
12474
f3c2577f
UD
12475 * sunrpc/rpc_prot.c (rejected): Fix case value.
12476
294ce126
UD
12477 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
12478 unsigned long long int to avoid warnings in shift.
12479
5e2b63c6
UD
12480 * posix/regex_internal.c (re_string_reconstruct): Actually use result
12481 of use of trans.
12482 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
12483 variable tmp.
12484
e7f4b08e
UD
12485 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
12486 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
12487 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
12488
ab26144e
UD
12489 * nis/nis_table.c (nis_list): Use variable of correct type for
12490 result of __follow_path call.
12491
8a6d5255
AZ
124922011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12493
12494 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
12495 of math functions ceil, trunc, floor, round, and sqrt, when
12496 avaliable on the platform.
12497 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
12498 name clash.
12499 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
12500 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
12501 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
12502
aaddc98c
MP
125032011-10-30 Marek Polacek <mpolacek@redhat.com>
12504
12505 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
12506 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
12507
95b7042b
RM
125082011-11-11 Roland McGrath <roland@hack.frob.com>
12509
12510 * include/unistd.h: Fix __readlink return type.
12511 Reported by Chris Metcalf <cmetcalf@tilera.com>.
12512
57769839
UD
125132011-11-11 Ulrich Drepper <drepper@gmail.com>
12514
12515 * stdlib/ucontext.h: Undo last change for makecontext.
12516
edc5984d
AS
125172011-11-11 Andreas Schwab <schwab@redhat.com>
12518
98591e58
AS
12519 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
12520
edc5984d
AS
12521 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
12522 * setjmp/setjmp.h: Mark functions as non-leaf.
12523 * setjmp/bits/setjmp2.h: Likewise.
12524 * stdlib/ucontext.h: Likewise.
12525
77cdc054
AS
125262011-11-10 Andreas Schwab <schwab@redhat.com>
12527
12528 * malloc/arena.c (_int_new_arena): Don't increment narenas.
12529 (reused_arena): Don't check arena limit.
12530 (arena_get2): Atomically check arena limit.
12531
fe72eebd
UD
125322011-11-08 Ulrich Drepper <drepper@gmail.com>
12533
5f078c32
UD
12534 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
12535 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
12536
fe72eebd
UD
12537 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
12538 instructions.
12539
ae1bc2fa
AS
125402011-11-07 Andreas Schwab <schwab@redhat.com>
12541
7583a88d
AS
12542 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
12543 handler when locking.
12544
ae1bc2fa
AS
12545 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
12546 Fix size of allocated buffer.
12547
10fb0bfa
AS
125482011-11-04 Andreas Schwab <schwab@redhat.com>
12549
998832a4
AS
12550 [BZ #10103]
12551 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
12552 declarations for long double functions.
12553 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
12554
10fb0bfa
AS
12555 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
12556
3d7ba52b
AS
125572011-11-03 Andreas Schwab <schwab@redhat.com>
12558
a9ae54a1
AS
12559 * nscd/nscd.c (main): Don't start AVC thread until credentials are
12560 installed.
12561
3d7ba52b
AS
12562 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
12563 is disabled.
12564
bc8db248
ST
125652011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
12566
12567 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
12568
45b96dd6
AS
125692011-11-01 Andreas Schwab <schwab@linux-m68k.org>
12570
647776f6
AS
12571 * include/alloca.h (stackinfo_alloca_round): Define.
12572 (extend_alloca): Use it.
12573 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
12574 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
12575 here.
12576
d91a8b93
AS
12577 * scripts/check-local-headers.sh: Ignore libaudit.h.
12578
45b96dd6
AS
12579 * nscd/Makefile (extra-objs): Make recursively expanded.
12580
432d41ce
UD
125812011-11-01 Ulrich Drepper <drepper@gmail.com>
12582
34372fc6
UD
12583 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
12584 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
12585
fadb59f8
UD
12586 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
12587 * posix/tst-rfc3484-2.c: Likewise.
12588 * posix/tst-rfc3484-3.c: Likewise.
12589
78239589
UD
12590 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
12591 process_vm_writev.
12592 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
12593 process_vm_writev.
12594 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
12595 process_vm_writev from libc using GLIBC_2.15 version.
12596
432d41ce
UD
12597 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
12598
02f9c6cf
PP
125992011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
12600
12601 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
12602 stack usage.
12603
3a2c0242
UD
126042011-10-31 Ulrich Drepper <drepper@gmail.com>
12605
f4ec4833
UD
12606 [BZ #13367]
12607 * nss/getent.c (initgroups_keys): Show error message in case no group
12608 names are given.
12609
3a2c0242
UD
12610 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
12611 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
12612 __bump_nl_timestamp.
12613 * nscd/connections (nscd_init): When host database is served open
12614 netlink socket and request notification about configuration changes.
12615 (main_loop_poll): Track netlink file descriptor and bump timestamp
12616 in case data becomes available.
12617 (main_loop_epoll): Likewise.
12618 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
12619 (database_pers_head): Add extra_data fileds.
12620 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
12621 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
12622 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
12623 Adjust caller.
12624 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
12625 in6ai data, call __free_in6ai.
12626 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
12627 Add -DHAVE_NETLINK.
12628 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
12629 interface information. Reuse previous data if netlink timestamp
12630 is not changed.
12631 (__bump_nl_timestamp): New function.
12632 (__free_in6ai): New function.
12633
636064eb
UD
126342011-10-30 Ulrich Drepper <drepper@gmail.com>
12635
12636 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
12637 close_not_cancel_no_status here.
12638 (__check_pf): Reorganize code a bit to not call close twice if OOM.
12639
9beb2334
UD
126402011-10-29 Ulrich Drepper <drepper@gmail.com>
12641
6ef76f3b
UD
12642 [BZ #13276]
12643 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
12644 return value.
12645
0ffc4f3e 12646 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
12647 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
12648 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
12649
cb95113e
UD
126502011-07-03 Andreas Jaeger <aj@suse.de>
12651
12652 [BZ #10709]
12653 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
12654 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
12655 * math/libm-test.inc (sin_test): Add test case.
12656
a1b560ff
UD
126572011-10-29 Ulrich Drepper <drepper@gmail.com>
12658
c9aaface
UD
12659 [BZ #13337]
12660 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
12661 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
12662
d272e7f1
UD
12663 * elf/chroot_canon.c (chroot_canon): Cleanups.
12664
1bc33071
UD
12665 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
12666
1760874d
TJ
12667 [BZ #13335]
12668 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
12669 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
12670
51d91b18
UD
12671 * string/test-strchr.c: Make usable for strchrnul testing.
12672 * string/test-strchrnul.c: New file.
12673 * string/Makefile (strop-tests): Add strchrnul.
12674
a1b560ff 12675 * po/it.po: Update from translation team.
b611fb81 12676 * po/es.po: Likewise.
a1b560ff 12677
a5b81e1f
UD
126782011-10-28 Ulrich Drepper <drepper@gmail.com>
12679
fd52bc6d
UD
12680 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
12681 the three constants needed as parameters. Drop the others.
12682 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
12683 __m128i_strloadu_tolower.
52e4b9eb
UD
12684 Create and initialize variable zero and use it in all the places
12685 where _mm_setzero_si128 was used.
fd52bc6d 12686
a5b81e1f
UD
12687 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
12688 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
12689 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
12690 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
12691 anymore.
12692 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
12693 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
12694 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
12695 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
12696 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
12697 __mpranred, __mptan.
12698 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
12699 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
12700 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
12701 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
12702 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
12703 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
12704 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
12705 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
12706 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
12707
b4343346
AS
127082011-10-28 Andreas Schwab <schwab@redhat.com>
12709
0c92d8a8
AS
12710 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
12711 redefine if SHARED.
12712 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
12713
b4343346
AS
12714 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
12715 wide char related routines to wcsmbs subdir.
12716
3871f58f
AS
127172011-10-27 Andreas Schwab <schwab@redhat.com>
12718
12719 [BZ #13344]
12720 * misc/sys/cdefs.h (__THROWNL): Define.
12721 * posix/unistd.h: Use __THREADNL instead of __THREAD
12722 for memory synchronization functions.
12723
94d44d9f
RM
127242011-10-26 Roland McGrath <roland@hack.frob.com>
12725
21b64b15 12726 [BZ #13349]
94d44d9f
RM
12727 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
12728 doesn't exist.
12729 * manual/stdio.texi (Obstack Streams): Node removed.
12730
f6ce9294
AS
127312011-10-26 Andreas Schwab <schwab@redhat.com>
12732
80479147
AS
12733 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
12734 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
12735 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
12736
f6ce9294
AS
12737 * math/math_private.h (math_force_eval): Allow non-addressable
12738 arguments.
12739 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
12740
618280a1
UD
127412011-10-25 Ulrich Drepper <drepper@gmail.com>
12742
e0016b11
UD
12743 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
12744 file is not needed.
12745
12746 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
12747 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
12748 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
12749 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
12750 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
12751 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
12752 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
12753 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
12754 Add AVX variants.
12755 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
12756 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
12757 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
12758 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
12759 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
12760 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
12761 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
12762 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
12763 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
12764 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
12765 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
12766 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
12767 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
12768 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
12769 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
12770 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
12771 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
12772 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
12773 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
12774
12775 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
12776 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
12777
618280a1
UD
12778 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
12779 place. Use VEX encoding when compiling for AVX.
12780
37822576
AS
127812011-10-25 Andreas Schwab <schwab@redhat.com>
12782
1f1e1947
AS
12783 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
12784 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
12785
37822576
AS
12786 * string/test-strchr.c (do_test): Don't generate NUL bytes.
12787
31ea014d
UD
127882011-10-25 Ulrich Drepper <drepper@gmail.com>
12789
d7826aa1 12790 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 12791 useless if() expression.
d7826aa1
UD
12792 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
12793 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
12794 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12795 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12796 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12797 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
12798 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
12799 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
12800 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
12801 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
12802 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
12803 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
12804 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
12805 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
12806 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
12807 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
12808 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
12809 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
12810 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
12811
31ea014d
UD
12812 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
12813
16437fec
AS
128142011-10-25 Andreas Schwab <schwab@redhat.com>
12815
12816 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
12817 condition.
12818 * elf/dl-fini.c (_dl_sort_fini): Likewise.
12819
31d3cc00
UD
128202011-10-25 Ulrich Drepper <drepper@gmail.com>
12821
12822 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
12823 .text section. Avoid duplicate constants.
12824 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
12825 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12826 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
12827 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12828 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12829 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12830 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12831 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12832 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
12833 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
12834 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
12835 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
12836 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
12837 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
12838 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
12839 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
12840 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
12841 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
12842 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12843 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12844 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
12845 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
12846 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
12847 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
12848 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
12849 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
12850 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
12851 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
12852 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
12853 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
12854 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
12855 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
12856 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
12857 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
12858 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
12859 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
12860 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
12861 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
12862 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
12863 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
12864 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
12865 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
12866 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
12867 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
12868 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
12869
58985aa9
UD
128702011-10-24 Ulrich Drepper <drepper@gmail.com>
12871
202c9deb
UD
12872 * sysdeps/x86_64/dla.h: Move to ...
12873 * sysdeps/x86_64/fpu/dla.h: ...here.
12874 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
12875 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 12876
af968f62
UD
12877 * config.make.in: Add have-mfma4 entry.
12878 * configure.in: Substitute libc_cv_cc_fma4.
12879 * math/Makefile (dbl-only-routines): Add sincostab.
12880 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
12881 Use __sincostab not sincos.
12882 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
12883 name is a macro.
12884 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12885 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12886 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12887 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
12888 using __copysign.
12889 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
12890 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
12891 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
12892 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
12893 and __inv.
12894 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
12895 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
12896 __copysign.
12897 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
12898 define aliases when function name is a macro.
12899 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
12900 sysdeps/ieee754/dbl-64/sincos.tbl.
12901 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
12902 fma4-enabled routines.
12903 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
12904 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
12905 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
12906 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
12907 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
12908 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
12909 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
12910 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
12911 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
12912 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
12913 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
12914 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
12915 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
12916 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
12917 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
12918 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
12919 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
12920 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
12921 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
12922 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
12923 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
12924 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
12925 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
12926 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
12927 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
12928 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
12929 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
12930 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
12931 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
12932 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
12933
58985aa9
UD
12934 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
12935 rename.
12936 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12937 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12938 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12939 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12940 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12941 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12942 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12943 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12944
a201fbcf
AS
129452011-10-24 Andreas Schwab <schwab@redhat.com>
12946
12947 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
12948
fc2ee42a
LD
129492011-10-23 Ulrich Drepper <drepper@gmail.com>
12950
bb3129bd
UD
12951 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
12952
0275fff8
UD
12953 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
12954 prediction.
12955 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
12956
2fa2ae85
UD
12957 * string/strnlen.c: Don't define STRNLEN, reverse logic.
12958 Remove unused variable magic_bits.
12959 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
12960
fc2ee42a
LD
12961 * string/strnlen.c: Define and use STRNLEN macro.
12962 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
12963 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
12964 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
12965 * wcsmbs/wcslen.c: Define and use WCSLEN.
12966 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
12967 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
12968 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
12969 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
12970 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
12971 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
12972 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
12973
ce7dd29f
LD
129742011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12975
12976 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12977 strnlen-sse2-no-bsf.
12978 Rename strlen-no-bsf to strlen-sse2-no-bsf.
12979 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
12980 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
12981 Add strnlen support.
12982 (USE_AS_STRNLEN): New macro.
12983 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
12984 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
12985 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
12986 * sysdeps/x86_64/wcslen.S: New file.
12987
979c70a3
MZ
129882011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
12989
12990 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
12991 XMM-moves are used for copying on small sizes.
12992
2d09f82f
LD
129932011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12994
12995 * wcsmbs/Makefile (strop-tests): Add wcschr.
12996 * wcsmbs/test-wcschr.c: New file.
12997 * string/test-strchr.c: Update.
12998 Add wcschr support.
12999 (WIDE): New macro.
13000
619fccca
LD
130012011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13002
2d09f82f 13003 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
13004 * wcsmbs/test-wcslen.c: New file.
13005 * string/test-strlen.c: Update.
13006 Add wcslen support.
13007 (WIDE): New macro.
13008
09f699ea
UD
130092011-10-23 Ulrich Drepper <drepper@gmail.com>
13010
13011 * po/it.po: Update from translation team.
13012
95584d3b
LD
130132011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13014
13015 * sysdeps/x86_64/wcscmp.S: Update.
13016 Fix wrong comparison semantics.
13017 wcscmp shall use signed comparison not unsigned.
13018 Don't use substraction to avoid overflow bug.
13019 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
13020 * wcsmbc/wcscmp.c: Likewise.
13021 * string/test-strcmp.c: Likewise.
13022 Add new tests to check cases with negative values.
13023
c8b3296b
UD
130242011-10-23 Ulrich Drepper <drepper@gmail.com>
13025
13026 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
13027 * sysdeps/x86_64/dla.h: ...here. New file.
13028 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
13029 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13030 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13031 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13032 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13033 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13034 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13035 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13036 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13037
246ad57a
AS
130382011-10-23 Andreas Schwab <schwab@linux-m68k.org>
13039
13040 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
13041 __ynl_finite aliases.
13042
a1a87169
UD
130432011-10-22 Ulrich Drepper <drepper@gmail.com>
13044
0d355eb7
UD
13045 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13046
a1a87169
UD
13047 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
13048 define DLA_FMA.
13049 [DLA_FMA] (EMULV): Use DLA_FMA.
13050 [DLA_FMA] (MUL12): Use EMULV.
13051 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
13052 that are not needed.
13053 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13054 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13055 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13056 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13057 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13058 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13059 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13060
ee2aafe0
AS
130612011-10-22 Andreas Schwab <schwab@linux-m68k.org>
13062
13063 * math/s_nan.c: Undef __nan.
13064 * math/s_nanf.c: Undef __nanf.
13065 * math/s_nanl.c: Undef __nanl.
13066 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
13067 "math_private.h".
13068
bc62c2fb
UD
130692011-10-22 Ulrich Drepper <drepper@gmail.com>
13070
77425c63
UD
13071 * math/s_catan.c: Add branch predictions.
13072 * math/s_catanf.c: Likewise.
13073 * math/s_catanh.c: Likewise.
13074 * math/s_catanhf.c: Likewise.
13075 * math/s_catanhl.c: Likewise.
13076 * math/s_catanl.c: Likewise.
13077 * math/s_cexp.c: Likewise.
13078 * math/s_cexpf.c: Likewise.
13079 * math/s_cexpl.c: Likewise.
13080 * math/s_clog.c: Likewise.
13081 * math/s_clog10.c: Likewise.
13082 * math/s_clog10f.c: Likewise.
13083 * math/s_clog10l.c: Likewise.
13084 * math/s_clogf.c: Likewise.
13085 * math/s_clogl.c: Likewise.
13086 * math/s_csqrt.c: Likewise.
13087 * math/s_csqrtf.c: Likewise.
13088 * math/s_csqrtl.c: Likewise.
13089 * math/s_ctanf.c: Likewise.
13090 * math/s_ctanh.c: Likewise.
13091 * math/s_ctanhf.c: Likewise.
13092 * math/s_ctanhl.c: Likewise.
13093 * math/s_ctanl.c: Likewise.
13094
bc62c2fb
UD
13095 * math/math_private.h: Define __nan, __nanf, __nanl.
13096 * math/s_cacosh.c: Include <math_private.h>.
13097 * math/s_cacoshl.c: Likewise.
13098 * math/s_casinh.c: Likewise.
13099 * math/s_casinhf.c: Likewise.
13100 * math/s_casinhl.c: Likewise.
13101 * math/s_ccos.c: Rely entire on ccosh.
13102 * math/s_ccosf.c: Rely entire on ccoshf.
13103 * math/s_ccosl.c: Rely entirely on ccoshl.
13104 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
13105 Remove tests for FE_INVALID.
13106 * math/s_ccoshf.c: Likewise.
13107 * math/s_ccoshl.c: Likewise.
13108 * math/s_csin.c: Likewise.
13109 * math/s_csinf.c: Likewise.
13110 * math/s_csinh.c Likewise.
13111 * math/s_csinhf.c: Likewise.
13112 * math/s_csinhl.c: Likewise.
13113 * math/s_csinl.c: Likewise.
13114 * math/s_ctan.c: Likewise.
13115 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
13116 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
13117 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
13118
8ec250a4
UD
131192011-10-21 Ulrich Drepper <drepper@gmail.com>
13120
c196fed8
UD
13121 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
13122 compilation problems.
13123
8ec250a4
UD
13124 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
13125 __builtin_expect.
13126
8d4f46c6
UD
131272011-10-20 Ulrich Drepper <drepper@gmail.com>
13128
ed72b654
UD
13129 * sysdeps/i386/configure.in: Test for -mfma4 option.
13130 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
13131 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
13132 COMMON_CPUID_INDEX_80000001.
13133 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
13134 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
13135 use it if FMA3 is not supported.
13136 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
13137
8d4f46c6
UD
13138 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
13139 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
13140
d45c60c2
AS
131412011-10-20 Andreas Schwab <schwab@redhat.com>
13142
13143 [BZ #12892]
13144 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
13145 it would create a cycle with a link time dependency.
13146
d9a4d2ab
UD
131472011-10-19 Ulrich Drepper <drepper@gmail.com>
13148
855d1560
UD
13149 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
13150 instruction.
13151 * string/Makefile (strop-tests): Add rawmemchr.
13152 * string/test-rawmemchr.c: New file.
13153
d9a4d2ab
UD
13154 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
13155 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
13156 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
13157 when compiling str{,n}casecmp and when AVX is available. Hook up
13158 new optimized code in initializers.
13159
8f3b1ffe
AS
131602011-10-19 Andreas Schwab <schwab@redhat.com>
13161
13162 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
13163 __feraiseexcept instead of feraiseexcept.
13164
d38f1dba
UD
131652011-10-18 Ulrich Drepper <drepper@gmail.com>
13166
d9a8d0ab
UD
13167 * math/math_private.h: Define defaults for libc_fetestexcept and
13168 libc_feupdateenv.
13169 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
13170 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
13171 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
13172 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
13173 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
13174 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
13175 libc_fetestexcept and libc_feupdateenv.
13176
4855e3dd
UD
13177 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
13178 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
13179 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
13180 * sysdeps/x86_64/fpu/math_private.h: Define special version of
13181 libc_feholdexcept_setround.
13182
581d30e3
UD
13183 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
13184 Add s_nearbyint-c and s_nearbyintf-c.
13185 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
13186 nearbyintf inlines.
13187 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
13188 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
13189 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
13190 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
13191
d38f1dba
UD
13192 * math/math_private.h: Define defaults for libc_fegetround,
13193 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
13194 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
13195 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
13196 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
13197 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
13198 standard functions.
13199 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13200 Remove comments and hacks for old compiler versions.
13201 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
13202 libc_fegetround, libc_fesetround, libc_feholdexcept, and
13203 libc_feholdexceptl.
13204
caa6c9d8
AS
132052011-10-18 Andreas Schwab <schwab@redhat.com>
13206
13207 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
13208 (__feraiseexcept_renamed): Add __NTH.
13209 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
13210 namespace violations.
13211
97c066e6
UD
132122011-10-17 Ulrich Drepper <drepper@gmail.com>
13213
99ce7b04
UD
13214 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
13215
1004d182
UD
13216 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
13217
228a984d
UD
13218 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
13219 recently added interfaces.
13220 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
13221
c8553a6a
UD
13222 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
13223 about macro parameter expansion.
13224
ed22dcf6
UD
13225 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
13226 __NO_MATH_INLINES is defined. Cleanups.
13227
13228 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
13229 and __floorf is target has SSE4.1.
13230 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
13231 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
13232 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
13233 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
13234
b171c137
UD
13235 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
13236 name.
13237 (floorf): Likewise.
13238
97c066e6
UD
13239 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
13240
629f62ef
AS
132412011-10-17 Andreas Schwab <schwab@redhat.com>
13242
49a43d80
AS
13243 * misc/sys/cdefs.h: Fix last change.
13244
629f62ef
AS
13245 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
13246 database lookup.
13247
e453f6cd
UD
132482011-10-16 Ulrich Drepper <drepper@gmail.com>
13249
aa78043a
UD
13250 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
13251
ad0f5cad
UD
13252 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
13253 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13254 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
13255 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
13256 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13257 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
13258 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
13259 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
13260 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
13261 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
13262 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
13263 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
13264 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
13265 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
13266 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
13267 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
13268 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
13269 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
13270 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
13271 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
13272 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
13273 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
13274
13275 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
13276 ceil, ceilf, floor, floorf.
13277
13278 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
13279 Perform IRELATIVE relocations last.
13280
e453f6cd
UD
13281 * elf/do-rel.h: Add another parameter nrelative, replacing the
13282 local variable with the same name. Change name of the function
13283 to end in Rel or Rela (uppercase).
13284 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
13285 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
13286 elf_dynamic_do_##reloc function.
13287
fd5bdc09
UD
132882011-10-15 Ulrich Drepper <drepper@gmail.com>
13289
79b195b5
UD
13290 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
13291 is sufficient, at least on modern CPUs.
13292
d4a28569
UD
13293 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
13294
b61099b5
UD
13295 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
13296 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
13297
bcf01e6d
UD
13298 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
13299 __expl_finite.
13300 * math/bits/math-finite.h: Add entries for exp.
13301 * math/e_expl.c: Add __*_finite alias.
13302 * sysdeps/i386/fpu/e_exp.S: Likewise.
13303 * sysdeps/i386/fpu/e_expf.S: Likewise.
13304 * sysdeps/i386/fpu/e_expl.c: Likewise.
13305 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13306 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
13307 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13308 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
13309 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
13310 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
13311 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
13312
ba1a0d59
UD
13313 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
13314 is sufficient, at least on modern CPUs.
13315
fd5bdc09
UD
13316 * ctype/ctype-info.c (__ctype_init): Define.
13317 * include/ctype.h (__ctype_init): Declare.
13318 (__ctype_b_loc): The variable is always initialized.
13319 (__ctype_toupper_loc): Likewise.
13320 (__ctype_tolower_loc): Likewise.
13321 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
13322 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
13323
7872cfb0
AS
133242011-10-15 Andreas Schwab <schwab@linux-m68k.org>
13325
b468825a
AS
13326 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
13327
7872cfb0
AS
13328 * configure.in: Also look in $cxxmachine/include for C++ system
13329 headers.
13330
be13f7bf
LD
133312011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13332
13333 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
13334 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
13335 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
13336 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
13337 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
13338 (USE_AS_WMEMCMP): New macro.
13339 Fixing indents.
13340 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
13341 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
13342 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
13343 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
13344 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13345 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
13346 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
13347 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
13348 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
13349 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
13350 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
13351 (USE_AS_WMEMCMP): New macro.
13352 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
13353 * sysdeps/string/test-memcmp.c: Update.
13354 Fix simple_wmemcmp.
13355 Add new tests.
13356 * wcsmbs/wmemcmp.c: Update.
13357 (WMEMCMP): New macro.
13358 Fix overflow bug.
13359
556a2007
AJ
133602011-10-12 Andreas Jaeger <aj@suse.de>
13361
13362 [BZ #13268]
13363 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
13364
538faaa7
UD
133652011-10-15 Ulrich Drepper <drepper@gmail.com>
13366
ab6737ff
UD
13367 * libio/iofwide.c (do_length): Avoid warning.
13368
538faaa7
UD
13369 * ctype/ctype.h (__isctype_f): Add missing __THROW.
13370
396a21b1
UD
133712011-10-14 Ulrich Drepper <drepper@gmail.com>
13372
cdf2901f
UD
13373 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
13374
38ad40ce
UD
13375 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
13376 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
13377 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
13378 * sysdeps/i386/i686/fpu/e_log.S: New file.
13379 * sysdeps/i386/i686/fpu/e_logf.S: New file.
13380 * sysdeps/i386/i686/fpu/e_logl.S: New file.
13381
396a21b1
UD
13382 * ctype/ctype.h: Add support for inlined isXXX functions when
13383 compiling C++ code.
13384
6b1f68c9
AS
133852011-10-14 Andreas Schwab <schwab@redhat.com>
13386
349290c0
AS
13387 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
13388
6b1f68c9
AS
13389 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
13390
f2282d42
RM
133912011-10-13 Roland McGrath <roland@hack.frob.com>
13392
13393 [BZ #13291]
13394 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
13395
5298ffa8
AS
133962011-10-13 Andreas Schwab <schwab@redhat.com>
13397
714fad23
AS
13398 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
13399 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
13400 feraiseexcept.
13401
81dcc7fb
AS
13402 * sysdeps/x86_64/memrchr.S: Check for zero size.
13403
5298ffa8
AS
13404 * string/stratcliff.c: Add memrchr tests.
13405
951fbcec
LD
134062011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13407
13408 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13409 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
13410 rawmemchr-sse2 rawmemchr-sse2-bsf.
13411 * sysdeps/i386/i686/multiarch/memchr.S: New file.
13412 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
13413 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
13414 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
13415 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
13416 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
13417 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
13418 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
13419 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
13420 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
13421 * string/memrchr.c (MEMRCHR): New macro.
13422
0ac5ae23
UD
134232011-10-12 Ulrich Drepper <drepper@gmail.com>
13424
13425 Add integration with gcc's -ffinite-math-only and optimize wrapper
13426 functions in libm.
13427 * Versions.def: Define GLIBC_2.15 version for libm.
13428 * math/Makefile (headers): Add bits/math-finite.h.
13429 * math/bits/math-finite.h: New file.
13430 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
13431 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
13432 * math/e_acoshl.c: Add __*_finite alias.
13433 * math/e_acosl.c: Likewise.
13434 * math/e_asinl.c: Likewise.
13435 * math/e_atan2l.c: Likewise.
13436 * math/e_atanhl.c: Likewise.
13437 * math/e_coshl.c: Likewise.
13438 * math/e_exp10.c: Likewise.
13439 * math/e_exp10f.c: Likewise.
13440 * math/e_exp10l.c: Likewise.
13441 * math/e_exp2l.c: Likewise.
13442 * math/e_fmodl.c: Likewise.
13443 * math/e_gammal_r.c: Likewise.
13444 * math/e_hypotl.c: Likewise.
13445 * math/e_j0l.c: Likewise.
13446 * math/e_j1l.c: Likewise.
13447 * math/e_jnl.c: Likewise.
13448 * math/e_lgammal_r.c: Likewise.
13449 * math/e_log10l.c: Likewise.
13450 * math/e_log2l.c: Likewise.
13451 * math/e_logl.c: Likewise.
13452 * math/e_powl.c: Likewise.
13453 * math/e_sinhl.c: Likewise.
13454 * math/e_sqrtl.c: Likewise.
13455 * math/e_scalb.c: Completely rewritten and optimized.
13456 * math/e_scalbf.c: Likewise.
13457 * math/e_scalbl.c: Likewise.
13458 * math/w_acos.c: Likewise.
13459 * math/w_acosf.c: Likewise.
13460 * math/w_acosl.c: Likewise.
13461 * math/w_acosh.c: Likewise.
13462 * math/w_acoshf.c: Likewise.
13463 * math/w_acoshl.c: Likewise.
13464 * math/w_asin.c: Likewise.
13465 * math/w_asinf.c: Likewise.
13466 * math/w_asinl.c: Likewise.
13467 * math/w_atan2.c: Likewise.
13468 * math/w_atan2f.c: Likewise.
13469 * math/w_atan2l.c: Likewise.
13470 * math/w_atanh.c: Likewise.
13471 * math/w_atanhf.c: Likewise.
13472 * math/w_atanhl.c: Likewise.
13473 * math/w_exp10.c: Likewise.
13474 * math/w_exp10f.c: Likewise.
13475 * math/w_exp10l.c: Likewise.
13476 * math/w_fmod.c: Likewise.
13477 * math/w_fmodf.c: Likewise.
13478 * math/w_fmodl.c: Likewise.
13479 * math/w_j0.c: Likewise.
13480 * math/w_j0f.c: Likewise.
13481 * math/w_j0l.c: Likewise.
13482 * math/w_j1.c: Likewise.
13483 * math/w_j1f.c: Likewise.
13484 * math/w_j1l.c: Likewise.
13485 * math/w_jn.c: Likewise.
13486 * math/w_jnf.c: Likewise.
13487 * math/w_log.c: Likewise.
13488 * math/w_logf.c: Likewise.
13489 * math/w_logl.c: Likewise.
13490 * math/w_log10.c: Likewise.
13491 * math/w_log10f.c: Likewise.
13492 * math/w_log10l.c: Likewise.
13493 * math/w_log2.c: Likewise.
13494 * math/w_log2f.c: Likewise.
13495 * math/w_log2l.c: Likewise.
13496 * math/w_pow.c: Likewise.
13497 * math/w_powf.c: Likewise.
13498 * math/w_powl.c: Likewise.
13499 * math/w_remainder.c: Likewise.
13500 * math/w_remainderf.c: Likewise.
13501 * math/w_remainderl.c: Likewise.
13502 * math/w_scalb.c: Likewise.
13503 * math/w_scalbf.c: Likewise.
13504 * math/w_scalbl.c: Likewise.
13505 * math/w_sqrt.c: Likewise.
13506 * math/w_sqrtf.c: Likewise.
13507 * math/w_sqrtl.c: Likewise.
13508 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
13509 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
13510 used.
13511 * math/math_private.h: Declare __kernel_standard_f.
13512 * math/w_cosh.c: Remove cruft and optimize a bit.
13513 * math/w_coshf.c: Likewise.
13514 * math/w_coshl.c: Likewise.
13515 * math/w_exp2.c: Likewise.
13516 * math/w_exp2f.c: Likewise.
13517 * math/w_exp2l.c: Likewise.
13518 * math/w_hypot.c: Likewise.
13519 * math/w_hypotf.c: Likewise.
13520 * math/w_hypotl.c: Likewise.
13521 * math/w_lgamma.c: Likewise.
13522 * math/w_lgamma_r.c: Likewise.
13523 * math/w_lgammaf.c: Likewise.
13524 * math/w_lgammaf_r.c: Likewise.
13525 * math/w_lgammal.c: Likewise.
13526 * math/w_lgammal_r.c: Likewise.
13527 * math/w_sinh.c: Likewise.
13528 * math/w_sinhf.c: Likewise.
13529 * math/w_sinhl.c: Likewise.
13530 * math/w_tgamma.c: Likewise.
13531 * math/w_tgammaf.c: Likewise.
13532 * math/w_tgammal.c: Likewise.
13533 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
13534 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13535 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
13536 Minor optimizations. Pretty printing. Remove cruft.
13537 * sysdeps/i386/fpu/e_acosf.S: Likewise.
13538 * sysdeps/i386/fpu/e_acosh.S: Likewise.
13539 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
13540 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
13541 * sysdeps/i386/fpu/e_acosl.c: Likewise.
13542 * sysdeps/i386/fpu/e_asin.S: Likewise.
13543 * sysdeps/i386/fpu/e_asinf.S: Likewise.
13544 * sysdeps/i386/fpu/e_atan2.S: Likewise.
13545 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
13546 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
13547 * sysdeps/i386/fpu/e_atanh.S: Likewise.
13548 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
13549 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
13550 * sysdeps/i386/fpu/e_exp10.S: Likewise.
13551 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
13552 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
13553 * sysdeps/i386/fpu/e_exp2.S: Likewise.
13554 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
13555 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
13556 * sysdeps/i386/fpu/e_fmod.S: Likewise.
13557 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
13558 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
13559 * sysdeps/i386/fpu/e_hypot.S: Likewise.
13560 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
13561 * sysdeps/i386/fpu/e_log.S: Likewise.
13562 * sysdeps/i386/fpu/e_log10.S: Likewise.
13563 * sysdeps/i386/fpu/e_log10f.S: Likewise.
13564 * sysdeps/i386/fpu/e_log10l.S: Likewise.
13565 * sysdeps/i386/fpu/e_log2.S: Likewise.
13566 * sysdeps/i386/fpu/e_log2f.S: Likewise.
13567 * sysdeps/i386/fpu/e_log2l.S: Likewise.
13568 * sysdeps/i386/fpu/e_logf.S: Likewise.
13569 * sysdeps/i386/fpu/e_logl.S: Likewise.
13570 * sysdeps/i386/fpu/e_pow.S: Likewise.
13571 * sysdeps/i386/fpu/e_powf.S: Likewise.
13572 * sysdeps/i386/fpu/e_powl.S: Likewise.
13573 * sysdeps/i386/fpu/e_remainder.S: Likewise.
13574 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
13575 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
13576 * sysdeps/i386/fpu/e_scalb.S: Likewise.
13577 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
13578 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
13579 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
13580 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
13581 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
13582 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
13583 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13584 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13585 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
13586 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13587 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
13588 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
13589 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
13590 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13591 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13592 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13593 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
13594 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13595 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
13596 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
13597 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13598 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13599 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
13600 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13601 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13602 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
13603 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
13604 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
13605 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
13606 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
13607 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
13608 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
13609 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
13610 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
13611 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
13612 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
13613 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
13614 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13615 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
13616 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
13617 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
13618 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
13619 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
13620 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
13621 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
13622 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
13623 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
13624 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
13625 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
13626 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
13627 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
13628 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
13629 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
13630 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
13631 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
13632 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
13633 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
13634 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
13635 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13636 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
13637 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
13638 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
13639 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
13640 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
13641 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
13642 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
13643 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
13644 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
13645 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
13646 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
13647 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
13648 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
13649 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
13650 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
13651 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
13652 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
13653 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
13654 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
13655 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
13656 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
13657 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
13658 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
13659 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
13660 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
13661 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
13662 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
13663 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
13664 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
13665 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
13666 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
13667 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
13668 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
13669 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
13670 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
13671 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
13672 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
13673 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
13674 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
13675 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
13676 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
13677 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
13678 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
13679 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
13680 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
13681 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
13682 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
13683 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
13684 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
13685 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
13686 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
13687 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
13688 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
13689 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
13690 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
13691 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
13692 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
13693 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
13694 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
13695 (__isnanf): Likewise.
13696 (__isinf_ns): Likewise.
13697 (__isinf_nsf): Likewise.
13698 (__finite): Likewise.
13699 (__finitef): Likewise.
13700 (__ieee754_sqrt): Define as macro.
13701 (__ieee754_sqrtf): Define as macro.
13702 (__ieee754_sqrtl): Define as macro.
13703 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
13704 inlined copy.
13705 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
13706 __FINITE_MATH_ONLY__ consistent.
13707 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
13708
12cc2fcd
AS
137092011-10-10 Andreas Schwab <schwab@linux-m68k.org>
13710
a843a204
AS
13711 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
13712 of rawmemchr.
13713
12cc2fcd
AS
13714 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
13715
c853acd5
UD
137162011-10-09 Ulrich Drepper <drepper@gmail.com>
13717
13718 * po/ja.po: Update from translation team.
13719
c658d255
RM
137202011-10-08 Roland McGrath <roland@hack.frob.com>
13721
110946e4
RM
13722 * locale/programs/locarchive.c (prepare_address_space): New function.
13723 (create_archive, enlarge_archive, open_archive): Use it.
13724
50604220
RM
13725 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
13726 inside [SHARED], where it is used.
13727
c658d255
RM
13728 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
13729
13730 * nss/getent.c (netgroup_keys): Remove unused variable.
13731 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
13732
6a621eb7
UD
137332011-10-08 Ulrich Drepper <drepper@gmail.com>
13734
7edb55ce
UD
13735 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
13736 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
13737 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
13738 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
13739 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
13740 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
13741 * math/Makefile (libm-calls): Add s_isinf_ns.
13742 * math/divtc3.c: Use __isinf_nsl instead of isinf.
13743 * math/multc3.c: Likewise.
13744 * math/s_casin.c: Likewise.
13745 * math/s_casinf.c: Likewise.
13746 * math/s_casinl.c: Likewise.
13747 * math/s_ccos.c: Likewise.
13748 * math/s_ccosf.c: Likewise.
13749 * math/s_ccosl.c: Likewise.
13750 * math/s_ctan.c: Likewise.
13751 * math/s_ctanf.c: Likewise.
13752 * math/s_ctanh.c: Likewise.
13753 * math/s_ctanhf.c: Likewise.
13754 * math/s_ctanhl.c: Likewise.
13755 * math/s_ctanl.c: Likewise.
13756 * math/w_fmod.c: Likewise.
13757 * math/w_fmodf.c: Likewise.
13758 * math/w_fmodl.c: Likewise.
13759 * math/w_remainder.c: Likewise.
13760 * math/w_remainderf.c: Likewise.
13761 * math/w_remainderl.c: Likewise.
13762 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
13763 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
13764 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
13765 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
13766 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
13767 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
13768 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
13769 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
13770
187da0ae
UD
13771 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
13772 of the number.
13773 * stdio-common/printf_fphex.c: Likewise.
13774 * stdio-common/printf_size.c: Likewise.
13775
9277c064
UD
13776 * math/e_exp10.c: Include math_private.h using <...> not "...".
13777 * math/e_exp10f.c: Likewise.
13778 * math/e_exp10l.c: Likewise.
13779 * math/e_exp2l.c: Likewise.
13780 * math/e_j0l.c: Likewise.
13781 * math/e_j1l.c: Likewise.
13782 * math/e_jnl.c: Likewise.
13783 * math/e_lgammal_r.c: Likewise.
13784 * math/e_rem_pio2l.c: Likewise.
13785 * math/e_scalb.c: Likewise.
13786 * math/e_scalbf.c: Likewise.
13787 * math/e_scalbl.c: Likewise.
13788 * math/k_cosl.c: Likewise.
13789 * math/k_sinl.c: Likewise.
13790 * math/k_tanl.c: Likewise.
13791 * math/s_cacoshf.c: Likewise.
13792 * math/s_catan.c: Likewise.
13793 * math/s_catanf.c: Likewise.
13794 * math/s_catanh.c: Likewise.
13795 * math/s_catanhf.c: Likewise.
13796 * math/s_catanhl.c: Likewise.
13797 * math/s_catanl.c: Likewise.
13798 * math/s_ccosh.c: Likewise.
13799 * math/s_ccoshf.c: Likewise.
13800 * math/s_ccoshl.c: Likewise.
13801 * math/s_cexp.c: Likewise.
13802 * math/s_cexpf.c: Likewise.
13803 * math/s_cexpl.c: Likewise.
13804 * math/s_clog.c: Likewise.
13805 * math/s_clog10.c: Likewise.
13806 * math/s_clog10f.c: Likewise.
13807 * math/s_clog10l.c: Likewise.
13808 * math/s_clogf.c: Likewise.
13809 * math/s_clogl.c: Likewise.
13810 * math/s_csin.c: Likewise.
13811 * math/s_csinf.c: Likewise.
13812 * math/s_csinh.c: Likewise.
13813 * math/s_csinhf.c: Likewise.
13814 * math/s_csinhl.c: Likewise.
13815 * math/s_csinl.c: Likewise.
13816 * math/s_csqrt.c: Likewise.
13817 * math/s_csqrtf.c: Likewise.
13818 * math/s_csqrtl.c: Likewise.
13819 * math/s_ctan.c: Likewise.
13820 * math/s_ctanf.c: Likewise.
13821 * math/s_ctanh.c: Likewise.
13822 * math/s_ctanhf.c: Likewise.
13823 * math/s_ctanhl.c: Likewise.
13824 * math/s_ctanl.c: Likewise.
13825 * math/s_ldexp.c: Likewise.
13826 * math/s_ldexpf.c: Likewise.
13827 * math/s_ldexpl.c: Likewise.
13828 * math/s_significand.c: Likewise.
13829 * math/s_significandf.c: Likewise.
13830 * math/s_significandl.c: Likewise.
13831 * math/w_acos.c: Likewise.
13832 * math/w_acosf.c: Likewise.
13833 * math/w_acosh.c: Likewise.
13834 * math/w_acoshf.c: Likewise.
13835 * math/w_acoshl.c: Likewise.
13836 * math/w_acosl.c: Likewise.
13837 * math/w_asin.c: Likewise.
13838 * math/w_asinf.c: Likewise.
13839 * math/w_asinl.c: Likewise.
13840 * math/w_atan2.c: Likewise.
13841 * math/w_atan2f.c: Likewise.
13842 * math/w_atan2l.c: Likewise.
13843 * math/w_atanh.c: Likewise.
13844 * math/w_atanhf.c: Likewise.
13845 * math/w_atanhl.c: Likewise.
13846 * math/w_cosh.c: Likewise.
13847 * math/w_coshf.c: Likewise.
13848 * math/w_coshl.c: Likewise.
13849 * math/w_dremf.c: Likewise.
13850 * math/w_exp10.c: Likewise.
13851 * math/w_exp10f.c: Likewise.
13852 * math/w_exp10l.c: Likewise.
13853 * math/w_exp2.c: Likewise.
13854 * math/w_exp2f.c: Likewise.
13855 * math/w_fmod.c: Likewise.
13856 * math/w_fmodf.c: Likewise.
13857 * math/w_fmodl.c: Likewise.
13858 * math/w_hypot.c: Likewise.
13859 * math/w_hypotf.c: Likewise.
13860 * math/w_hypotl.c: Likewise.
13861 * math/w_j0.c: Likewise.
13862 * math/w_j0f.c: Likewise.
13863 * math/w_j0l.c: Likewise.
13864 * math/w_j1.c: Likewise.
13865 * math/w_j1f.c: Likewise.
13866 * math/w_j1l.c: Likewise.
13867 * math/w_jn.c: Likewise.
13868 * math/w_jnf.c: Likewise.
13869 * math/w_jnl.c: Likewise.
13870 * math/w_lgamma.c: Likewise.
13871 * math/w_lgamma_r.c: Likewise.
13872 * math/w_lgammaf.c: Likewise.
13873 * math/w_lgammaf_r.c: Likewise.
13874 * math/w_lgammal.c: Likewise.
13875 * math/w_lgammal_r.c: Likewise.
13876 * math/w_log.c: Likewise.
13877 * math/w_log10.c: Likewise.
13878 * math/w_log10f.c: Likewise.
13879 * math/w_log10l.c: Likewise.
13880 * math/w_log2.c: Likewise.
13881 * math/w_log2f.c: Likewise.
13882 * math/w_log2l.c: Likewise.
13883 * math/w_logf.c: Likewise.
13884 * math/w_logl.c: Likewise.
13885 * math/w_pow.c: Likewise.
13886 * math/w_powf.c: Likewise.
13887 * math/w_powl.c: Likewise.
13888 * math/w_remainder.c: Likewise.
13889 * math/w_remainderf.c: Likewise.
13890 * math/w_remainderl.c: Likewise.
13891 * math/w_scalb.c: Likewise.
13892 * math/w_scalbf.c: Likewise.
13893 * math/w_scalbl.c: Likewise.
13894 * math/w_sinh.c: Likewise.
13895 * math/w_sinhf.c: Likewise.
13896 * math/w_sinhl.c: Likewise.
13897 * math/w_sqrt.c: Likewise.
13898 * math/w_sqrtf.c: Likewise.
13899 * math/w_sqrtl.c: Likewise.
13900 * math/w_tgamma.c: Likewise.
13901 * math/w_tgammaf.c: Likewise.
13902 * math/w_tgammal.c: Likewise.
13903
6a621eb7
UD
13904 * po/ja.po: Update from translation team.
13905
bf582445
AJ
139062011-09-29 Andreas Jaeger <aj@suse.de>
13907
f9efbf3a
AJ
13908 [BZ #13179]
13909 * sunrpc/netname.c (netname2host): Fix logic.
13910
bf582445
AJ
13911 [BZ #6779]
13912 [BZ #6783]
13913 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
13914 correctly.
13915 * math/w_remainder.c (__remainder): Likewise.
13916 * math/w_remainderf.c (__remainderf): Likewise.
13917 * math/libm-test.inc (remainder_test): Add test cases.
13918
48693bea
AK
139192011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13920
13921 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
13922 sdiv_qrnnd.
13923
42622229
LD
139242011-10-07 Ulrich Drepper <drepper@gmail.com>
13925
13926 * string/test-memcmp.c: Avoid unncessary #defines.
13927 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
13928
093ecf92
LD
139292011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13930
13931 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
13932 Use new sse2 version for core i3 - i7 as it's faster
13933 than sse42 version.
13934 (bit_Prefer_PMINUB_for_stringop): New.
13935 * sysdeps/x86_64/rawmemchr.S: Update.
13936 Replace with faster SSE2 version.
13937 * sysdeps/x86_64/memrchr.S: New file.
13938 * sysdeps/x86_64/memchr.S: Update.
13939 Replace with faster SSE2 version.
13940
fde56e5c
MP
139412011-09-12 Marek Polacek <mpolacek@redhat.com>
13942
13943 * elf/dl-load.c (lose): Add cast to avoid warning.
13944
21fd49a9
UD
139452011-10-07 Ulrich Drepper <drepper@gmail.com>
13946
5a06e643
UD
13947 * po/ca.po: Update from translation team.
13948
684ae515
UD
13949 * inet/getnetgrent_r.c: Hook up nscd.
13950 * nscd/Makefile (routines): Add nscd_netgroup.
13951 (nscd-modules): Add netgroupcache.
13952 (CFLAGS-netgroupcache.c): Define.
13953 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
13954 (cache_search): Add const to second parameter.
13955 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
13956 INNETGR.
13957 (dbs): Add netgrdb entry.
13958 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
13959 (verify_persistent_db): Handle netgrdb.
13960 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
13961 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
13962 GETFDNETGR.
13963 (netgroup_response_header): Define.
13964 (innetgroup_response_header): Define.
13965 (datahead): Add netgroup_response_header and innetgroup_response_header
13966 elements.
13967 * nscd/nscd.conf: Add entries for netgroup cache.
13968 * nscd/nscd.h (dbtype): Add netgrdb.
13969 (_PATH_NSCD_NETGROUP_DB): Define.
13970 (netgroup_iov_disabled): Declare.
13971 (xmalloc, xcalloc, xrealloc): Move declarations here.
13972 (cache_search): Adjust prototype.
13973 Add netgroup-related prototypes.
13974 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
13975 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
13976 (__nscd_innetgr): Declare.
13977 * nscd/selinux.c (perms): Use access_vector_t as element type and
13978 add netgroup-related initializers.
13979 * nscd/netgroupcache.c: New file.
13980 * nscd/nscd_netgroup.c: New file.
13981 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
13982 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
13983 For four parameters use innetgr.
13984 * nss/nss_files/files-init.c: Add definition and callback for netgr.
13985 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
13986 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
13987 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
13988
21fd49a9
UD
13989 * nscd/connections.c (register_traced_file): Don't register file
13990 for disabled databases.
13991
054c0457
UD
139922011-10-06 Ulrich Drepper <drepper@gmail.com>
13993
32b63198
UD
13994 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
13995
054c0457
UD
13996 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
13997 from tree and freeing node.
13998
64031225
JO
139992011-09-25 Jiri Olsa <jolsa@redhat.com>
14000
14001 * nss/nsswitch.c (__nss_database_lookup): Handle
14002 nss_parse_service_list out of memory case.
14003
0490345c
JO
140042011-09-15 Jiri Olsa <jolsa@redhat.com>
14005
14006 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
14007 out of memory case.
14008
3a62d00d
AS
140092011-10-04 Andreas Schwab <schwab@redhat.com>
14010
14011 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
14012 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
14013 pass it down.
14014 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
14015 elf_machine_rela, elf_machine_lazy_rel.
14016 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
14017 (ELF_DYNAMIC_DO_REL): Likewise.
14018 (ELF_DYNAMIC_DO_RELA): Likewise.
14019 (ELF_DYNAMIC_RELOCATE): Likewise.
14020 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
14021 to ELF_DYNAMIC_DO_REL.
14022 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
14023 (dl_main): In trace mode always set __RTLD_NOIFUNC.
14024 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
14025 elf_machine_rela.
14026 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
14027 skip_ifunc, don't call ifunc function if non-zero.
14028 (elf_machine_rela): Likewise.
14029 (elf_machine_lazy_rel): Likewise.
14030 (elf_machine_lazy_rela): Likewise.
14031 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
14032 (elf_machine_lazy_rel): Likewise.
14033 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
14034 Likewise.
14035 (elf_machine_lazy_rel): Likewise.
14036 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14037 Likewise.
14038 (elf_machine_lazy_rel): Likewise.
14039 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
14040 (elf_machine_lazy_rel): Likewise.
14041 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
14042 (elf_machine_lazy_rel): Likewise.
14043 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
14044 (elf_machine_lazy_rel): Likewise.
14045 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
14046 (elf_machine_lazy_rel): Likewise.
14047 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
14048 (elf_machine_lazy_rel): Likewise.
14049 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
14050 (elf_machine_lazy_rel): Likewise.
14051
68577918
UD
140522011-09-28 Ulrich Drepper <drepper@gmail.com>
14053
14054 * nss/nss_files/files-init.c (_nss_files_init): Use static
14055 initialization for all the *_traced_file variables.
14056
68822d74
AS
140572011-09-28 Andreas Schwab <schwab@redhat.com>
14058
14059 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14060
2056100b
RM
140612011-09-27 Roland McGrath <roland@hack.frob.com>
14062
14063 [BZ #13226]
14064 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
14065
32c76b63
AS
140662011-09-27 Andreas Schwab <schwab@redhat.com>
14067
14068 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
14069 Reread the line before reparsing it.
14070
bf972c9d
AS
140712011-09-26 Andreas Schwab <schwab@redhat.com>
14072
14073 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
14074
e057a1b5
JM
140752011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
14076 Maxim Kuvyrkov <maxim@codesourcery.com>
14077 Joseph Myers <joseph@codesourcery.com>
14078
14079 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
14080 if needed for __stack_chk_guard.
14081
bc7e1c36
RM
140822011-09-19 Roland McGrath <roland@hack.frob.com>
14083
ecb1482f
RM
14084 * sysdeps/posix/spawni.c (script_execute): Always define it.
14085 It will be optimized away if unused.
14086 (maybe_script_execute): New function.
14087 (__spawni): Call it.
14088
bc7e1c36
RM
14089 * Makerules: Don't include tls.make.
14090 (config-tls): Always set to thread.
14091 * tls.make.c: File removed.
14092
1c3b002b
MF
140932011-09-19 Mike Frysinger <vapier@gentoo.org>
14094
14095 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
14096 * config.make.in (CPPFLAGS-config): New substituted variable.
14097
2840865d
UD
140982011-09-15 Ulrich Drepper <drepper@gmail.com>
14099
88738eb6
UD
14100 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
14101
cbf645a6 14102 [BZ #13192]
2840865d
UD
14103 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
14104 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
14105
b402e91a
RM
141062011-09-15 Roland McGrath <roland@hack.frob.com>
14107
14108 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
14109 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
14110 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
14111 (CALL_FAIL): Likewise.
14112 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
14113 (CALL_FAIL): Macro removed.
14114 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
14115
4c1a1f71
UD
141162011-09-15 Ulrich Drepper <drepper@gmail.com>
14117
14118 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
14119 for __FINITE_MATH_ONLY__ == 1.
14120
edc121be
AS
141212011-09-15 Andreas Schwab <schwab@redhat.com>
14122
14123 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
14124 __ieee754_sqrt instead of sqrt.
14125 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
14126 __ieee754_sqrtf instead of sqrtf.
14127 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
14128 __floorf instead of floorf.
14129 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
14130 __floorf, __truncf instead of floorf, truncf.
14131
cd205654
UD
141322011-09-14 Ulrich Drepper <drepper@gmail.com>
14133
ee4d0315
UD
14134 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
14135
cd205654
UD
14136 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
14137 __extern_always_inline.
14138 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
14139 32-bit.
14140
48b67d71
AS
141412011-09-14 Andreas Schwab <schwab@redhat.com>
14142
14143 * elf/rtld.c (dl_main): Also relocate in dependency order when
14144 doing symbol dependency testing.
14145
1ae12c75
AS
141462011-09-13 Andreas Schwab <schwab@linux-m68k.org>
14147
14148 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14149 Always define `refsym'.
14150
995a80df
AS
141512011-09-13 Andreas Schwab <schwab@redhat.com>
14152
e529793b
AS
14153 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
14154 (__FD_ELT): Renamed from __FDELT.
14155 * misc/bits/select2.h (__FD_ELT): Likewise.
14156 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
14157 __FD_MASK instead of __FDELT, __FDMASK.
14158 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
14159 Likewise.
14160 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
14161 Likewise.
14162
52d4fef8
AS
14163 * elf/Makefile (gen-ldd): Fix pattern.
14164
995a80df
AS
14165 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
14166 (init_tls): Likewise.
14167
8682f8b0
UD
141682011-09-12 Ulrich Drepper <drepper@gmail.com>
14169
14170 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
14171
de82006d
AS
141722011-09-12 Andreas Schwab <schwab@redhat.com>
14173
a7c8e6a1
AS
14174 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
14175 `struct cmsghdr *' instead of `void *'.
14176 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
14177 Likewise.
14178
0f31fe77
AS
141792011-09-11 Andreas Schwab <schwab@linux-m68k.org>
14180
14181 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
14182 if non-absolute.
14183 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
14184 ldd_rewrite_script.
0f31fe77 14185
32b4c839
UD
141862011-09-11 Ulrich Drepper <drepper@gmail.com>
14187
83cd1420
UD
14188 * configure.in: Remove --with-tls option.
14189 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
14190 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
14191 out in case it is missing.
14192 * sysdeps/ia64/elf/configure.in: Likewise.
14193 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
14194 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
14195 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
14196 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
14197 * sysdeps/sh/elf/configure.in: Likewise.
14198 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
14199 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
14200 * sysdeps/x86_64/elf/configure.in: Likewise.
14201 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
14202 * sysdeps/mach/hurd/tls.h: Likewise.
14203
633f745d
UD
14204 [BZ #13067]
14205 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
14206
f318beb8
UD
14207 [BZ #13090]
14208 * configure.in: Fix use of AC_INIT.
14209
32b4c839
UD
14210 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
14211
3ce1f295
UD
142122011-09-10 Ulrich Drepper <drepper@gmail.com>
14213
bb016596
UD
14214 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
14215 __set_errno.
8e58439c
UD
14216 * malloc/hooks.c: Likewise.
14217
aebae053 14218 [BZ #11929]
02d46fc4
UD
14219 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
14220 variables statically.
14221 (narenas): Initialize.
14222 (list_lock): Initialize.
bb016596
UD
14223 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
14224 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
14225 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
14226 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
14227 Add initializers to main_arena and mp_.
14228 (malloc_state): Remove pagesize member. Change all users to use
14229 GLRO(dl_pagesize).
14230
14231 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
14232 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
14233 is always initialized.
14234
22a89187
UD
14235 * malloc/malloc.c: Removed unused configurations and dead code.
14236 * malloc/arena.c: Likewise.
14237 * malloc/hooks.c: Likewise.
02d46fc4 14238 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 14239
d063d164
UD
14240 * include/tls.h: Removed. USE___THREAD must always be defined.
14241 * bits/libc-tsd.h: Don't handle !USE___THREAD.
14242 * elf/dl-libc.c: Likewise.
14243 * elf/dl-tsd.c: Likewise.
14244 * include/errno.h: Likewise.
14245 * include/netdb.h: Likewise.
14246 * include/resolv.h: Likewise.
14247 * inet/herrno-loc.c: Likewise.
14248 * inet/herrno.c: Likewise.
14249 * malloc/arena.c: Likewise.
14250 * malloc/hooks.c: Likewise.
14251 * malloc/malloc.c: Likewise.
14252 * resolv/res-state.c: Likewise.
14253 * resolv/res_libc.c: Likewise.
14254 * sysdeps/i386/dl-machine.h: Likewise.
14255 * sysdeps/ia64/dl-machine.h: Likewise.
14256 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
14257 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
14258 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
14259 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
14260 * sysdeps/sh/dl-machine.h: Likewise.
14261 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
14262 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
14263 * sysdeps/unix/i386/sysdep.S: Likewise.
14264 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
14265 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
14266 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
14267 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
14268 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
14269 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
14270 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
14271 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
14272 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14273 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
14274 * sysdeps/unix/x86_64/sysdep.S: Likewise.
14275 * sysdeps/x86_64/dl-machine.h: Likewise.
14276 * tls.make.c: Likewise.
14277
3ce1f295
UD
14278 * configure.in: Remove --with-__thread option. Make tests for
14279 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
14280 tls_model attribute fail if no support is available. Remove
14281 USE_IN_LIBIO.
14282 * Makeconfig: Adjust for dropped configure option. All features are
14283 now mandatory.
14284 * Makerules: Likewise.
14285 * Versions.def: Likewise.
14286 * argp/argp-fmtstream.c: Likewise.
14287 * argp/argp-fmtstream.h: Likewise.
14288 * argp/argp-help.c: Likewise.
14289 * assert/assert.c: Likewise.
14290 * config.h.in: Likewise.
14291 * config.make.in: Likewise.
14292 * configure: Likewise.
14293 * configure.in: Likewise.
14294 * csu/Versions: Likewise.
14295 * csu/init.c: Likewise.
14296 * elf/tst-audit2.c: Likewise.
14297 * elf/tst-tls10.c: Likewise.
14298 * elf/tst-tls10.h: Likewise.
14299 * elf/tst-tls11.c: Likewise.
14300 * elf/tst-tls12.c: Likewise.
14301 * elf/tst-tls14.c: Likewise.
14302 * elf/tst-tlsmod11.c: Likewise.
14303 * elf/tst-tlsmod12.c: Likewise.
14304 * elf/tst-tlsmod13.c: Likewise.
14305 * elf/tst-tlsmod13a.c: Likewise.
14306 * elf/tst-tlsmod14a.c: Likewise.
14307 * elf/tst-tlsmod15b.c: Likewise.
14308 * elf/tst-tlsmod16a.c: Likewise.
14309 * elf/tst-tlsmod16b.c: Likewise.
14310 * elf/tst-tlsmod7.c: Likewise.
14311 * elf/tst-tlsmod8.c: Likewise.
14312 * elf/tst-tlsmod9.c: Likewise.
14313 * gmon/gmon.c: Likewise.
14314 * grp/fgetgrent_r.c: Likewise.
14315 * grp/putgrent.c: Likewise.
14316 * hurd/fopenport.c: Likewise.
14317 * include/libc-symbols.h: Likewise.
14318 * include/tls.h: Likewise.
14319 * intl/gettextP.h: Likewise.
14320 * intl/loadinfo.h: Likewise.
14321 * locale/global-locale.c: Likewise.
14322 * locale/localeinfo.h: Likewise.
14323 * mach/devstream.c: Likewise.
14324 * malloc/arena.c: Likewise.
14325 * malloc/set-freeres.c: Likewise.
14326 * misc/err.c: Likewise.
14327 * misc/getttyent.c: Likewise.
14328 * misc/mntent_r.c: Likewise.
14329 * posix/getopt.c: Likewise.
14330 * posix/wordexp.c: Likewise.
14331 * pwd/fgetpwent_r.c: Likewise.
14332 * resolv/Versions: Likewise.
14333 * resolv/res_hconf.c: Likewise.
14334 * shadow/fgetspent_r.c: Likewise.
14335 * shadow/putspent.c: Likewise.
14336 * stdio-common/printf_fphex.c: Likewise.
14337 * stdio-common/tmpfile.c: Likewise.
14338 * stdlib/abort.c: Likewise.
14339 * stdlib/fmtmsg.c: Likewise.
14340 * sunrpc/auth_unix.c: Likewise.
14341 * sunrpc/clnt_perr.c: Likewise.
14342 * sunrpc/clnt_tcp.c: Likewise.
14343 * sunrpc/clnt_udp.c: Likewise.
14344 * sunrpc/clnt_unix.c: Likewise.
14345 * sunrpc/openchild.c: Likewise.
14346 * sunrpc/svc_simple.c: Likewise.
14347 * sunrpc/svc_tcp.c: Likewise.
14348 * sunrpc/svc_udp.c: Likewise.
14349 * sunrpc/svc_unix.c: Likewise.
14350 * sunrpc/xdr.c: Likewise.
14351 * sunrpc/xdr_array.c: Likewise.
14352 * sunrpc/xdr_rec.c: Likewise.
14353 * sunrpc/xdr_ref.c: Likewise.
14354 * sunrpc/xdr_stdio.c: Likewise.
14355
1248c1c4
PB
143562011-09-09 Ulrich Drepper <drepper@gmail.com>
14357
14358 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14359
143602011-07-03 Andreas Jaeger <aj@suse.de>
14361
14362 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
14363 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
14364 regenerate with gen-libm-tests.pl.
14365
143662010-05-12 Petr Baudis <pasky@suse.cz>
14367
14368 [BZ #11589]
14369 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
14370 around j0() zero points by switching to j1().
14371 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
14372 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
14373 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
14374 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
14375
f22e1074
UD
143762011-09-09 Ulrich Drepper <drepper@gmail.com>
14377
f19009c1
UD
14378 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
14379 instead of 0.
14380 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
14381 instead of 0. .
14382 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
14383 Patch in part by Pavel Roskin <proski@gnu.org>.
14384
3f8cc204
UD
14385 [BZ #13138]
14386 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
14387 realloc.
14388 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
14389 Free memory block if necessary.
14390
f22e1074
UD
14391 [BZ #12847]
14392 * libio/genops.c (INTDEF): For string streams the _lock pointer can
14393 be NULL. Don't lock in this case.
14394
0a2349f9
RM
143952011-09-09 Roland McGrath <roland@hack.frob.com>
14396
14397 * elf/elf.h (ELFOSABI_GNU): New macro.
14398 (ELFOSABI_LINUX): Define to that.
14399
f3cdd467
DZ
144002011-07-29 Denis Zaitceff <zaitceff@gmail.com>
14401
14402 * string/strncat.c (strncat): Undef the symbol in case it has been
14403 defined in bits/string.h.
14404
74718d13
UD
144052011-09-09 Ulrich Drepper <drepper@gmail.com>
14406
633e9e0f
UD
14407 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
14408
0a2349f9 14409 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
14410 link map.
14411
f9924780
AJ
144122011-08-17 Andreas Jaeger <aj@suse.de>
14413
14414 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
14415
7f5517aa
PP
144162011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
14417 Ian Lance Taylor <iant@google.com>
14418
14419 * math/libm-test.inc (lround_test): New testcase.
14420 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
14421
762011fe
UD
144222011-09-08 Ulrich Drepper <drepper@gmail.com>
14423
92963737
UD
14424 * Makefile: Remove support for automatic cvs check-ins.
14425 * Makerules: Likewise.
14426 * config.make.in: Likewise.
14427 * configure.in: Likewise.
14428 * intl/Makefile: Likewise.
14429 * locale/Makefile: Likewise.
14430 * po/Makefile: Likewise.
14431 * posix/Makefile: Likewise.
14432 * sysdeps/gnu/Makefile: Likewise.
14433 * sysdeps/mach/hurd/Makefile: Likewise.
14434 * sysdeps/sparc/sparc32/Makefile: Likewise.
14435
b0727fd8
JS
14436 [BZ #13118]
14437 * posix/Makefile (bug-regex32-ENV): Define.
14438 Patch by John Stanley <jpsinthemix@verizon.net>.
14439
a0f33f99
UD
14440 * misc/Makefile (headers): Add bits/select2.h.
14441 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
14442 * misc/bits/select2.h: New file.
14443 * include/bits/select2.h: New file.
14444 * debug/Makefile (routines): Add fdelt_chk.
14445 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
14446 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
14447 FD_ISSET.
14448 * debug/fdelt_chk.c: New file.
14449
762011fe
UD
14450 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
14451 * wcsmbs/test-wmemcmp.c: Likewise.
14452 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 14453 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
14454
144552011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14456
14457 * string/Makefile (strop-tests): Add memcmp.
14458 * string/test-wmemcmp.c: New file.
14459 * string/test-memcmp.c: Add wmemcmp support.
14460
7f513ec8
RM
144612011-09-08 Roland McGrath <roland@hack.frob.com>
14462
0442afb4
RM
14463 [BZ #13153]
14464 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
14465 2011-07-19 change.
14466
7f513ec8
RM
14467 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
14468 garbage value in a __mach_port_mod_refs call in the cases of the
14469 task-self and thread-self ports.
14470
a12b2239
ST
144712011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
14472
14473 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
14474
610f9ab4
AS
144752011-09-08 Andreas Schwab <schwab@redhat.com>
14476
7f513ec8 14477 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 14478
48882a1a
LD
144792011-09-07 Ulrich Drepper <drepper@gmail.com>
14480
b49865be
UD
14481 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
14482
fdc86bc9
UD
14483 * elf/dl-libc.c (dlerror_run): Pass back error code from
14484 dl_catch_error.
14485
c966526a
UD
14486 [BZ #13123]
14487 * elf/dl-load.c (lose): Free l_origin if it is valid.
14488
48882a1a
LD
14489 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
14490 names.
14491 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
14492 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
14493 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
14494 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
14495 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
14496 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
14497
77a2a8b4
AZ
144982011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14499
14500 * sysdeps/powerpc/fpu/e_hypot.c: New file.
14501 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
14502 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
14503 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
14504 * sysdeps/powerpc/fpu/k_cosf.c: New file.
14505 * sysdeps/powerpc/fpu/k_sinf.c: New file.
14506 * sysdeps/powerpc/fpu/s_cosf.c: New file.
14507 * sysdeps/powerpc/fpu/s_sinf.c: New file.
14508 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
14509 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
14510
24f579d8
AM
145112011-08-15 Alan Modra <amodra@gmail.com>
14512
14513 [BZ #13092]
14514 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
14515 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
14516 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
14517 ppc_mcount to static-only-routines.
14518 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
14519 __mcount_internal.
14520 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
14521 __mcount_internal with usual JUMPTARGET. Remove useless nop.
14522
3d4837df
UD
145232011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
14524
14525 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
14526 for finite and infinity parameters.
14527
22700377
WS
145282011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
14529
14530 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
14531 and add nop instructions for throughput optimization.
14532 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14533
5025581e
WS
145342011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
14535
14536 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
14537 aligned copy for power7 with vector-scalar instructions.
14538 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
14539
08a300c9
L
145402011-07-24 H.J. Lu <hongjiu.lu@intel.com>
14541
14542 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
14543 AVX check.
14544
59178ef9
AS
145452011-09-07 Andreas Schwab <schwab@redhat.com>
14546
14547 [BZ #13144]
14548 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
14549 last change.
14550
e38ba7ab
UD
145512011-09-07 Ulrich Drepper <drepper@gmail.com>
14552
14553 * sysdeps/unix/sysv/linux/x86_64/init-first.c
14554 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
14555 syscall wrapper around clock_gettime in __vdso_clock_gettime.
14556 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
14557 clock_gettime.
14558
d53a73ac
UD
145592011-09-06 Ulrich Drepper <drepper@gmail.com>
14560
fc8bffcc
UD
14561 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
14562 Forgot to demangle the pointer.
14563
ceaa0c5d
UD
14564 * sysdeps/i386/sysdep.h: Define atom_text_section.
14565 * sysdeps/x86_64/sysdep.h: Likewise.
14566 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
14567 section with atom_text_section.
14568 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
14569 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
14570 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
14571 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
14572 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
14573
a77d3c17
UD
14574 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
14575 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
14576 already be defined. Change to take two parameters and don't assign
14577 result to variable. Adjust all users.
14578 Define INTERNAL_GETTIME if not already defined.
14579 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
14580 call.
14581 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
14582 HAVE_CLOCK_GETTIME_VSYSCALL.
14583 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
14584
d53a73ac
UD
14585 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
14586 gettimeofday vsyscall, just use time.
14587
a8f84144
AS
145882011-09-06 Andreas Schwab <schwab@redhat.com>
14589
14590 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
14591 <errno.h>.
14592
ef606249
UD
145932011-09-06 Ulrich Drepper <drepper@gmail.com>
14594
14595 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
14596 syscall on x86-64.
14597 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
14598 syscall.
14599 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
14600 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
14601 syscall if possible.
14602
6585cb60
UD
146032011-09-05 Ulrich Drepper <drepper@gmail.com>
14604
14605 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
14606 e_ident. Don't pass to find_mapsXX.
14607 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
14608
a5f524e4
LD
146092011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14610
14611 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14612 strchr-sse2-no-bsf strrchr-sse2-no-bsf
14613 * sysdeps/x86_64/multiarch/strchr.S: Update.
14614 Check bit_slow_BSF bit.
14615 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
14616 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
14617 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
14618
554881ef
UD
146192011-09-05 Ulrich Drepper <drepper@gmail.com>
14620
d96de963
UD
14621 [BZ #13134]
14622 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
14623 before glibc 2.15.
14624 (tryshell): Define.
14625 (__spawni): Change last parameter to be flag. Test
14626 SPAWN_XFLAGS_USE_PATH flag to use path or not.
14627 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
14628 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
14629 * posix/spawni.c: Likewise.
14630 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
14631 * posix/spawnp.c: Likewise. Change normal version to use
14632 SPAWN_XFLAGS_USE_PATH.
14633 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
14634 SPAWN_XFLAGS_TRY_SHELL.
14635
d48e5868
UD
14636 [BZ #13150]
14637 * posix/glob.h: Remove gcc 1.x support.
14638
554881ef
UD
14639 [BZ #13068]
14640 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
14641
693fb948
LD
146422011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14643
14644 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14645 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
14646 strrchr-sse2-bsf
14647 * sysdeps/i386/i686/multiarch/strchr.S: New file.
14648 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
14649 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
14650 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
14651 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
14652 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
14653
1b48c537
UD
146542011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14655
49d42c37
UD
14656 * sysdeps/x86_64/wcscmp.S: New file.
14657
1b48c537
UD
14658 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
14659 wcscmp-c wcscmp-sse2
14660 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
14661 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
14662 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
14663 * wcsmbs/wcscmp.c: Allow renaming.
14664
15c95c5d
DM
146652011-09-05 David S. Miller <davem@davemloft.net>
14666
14667 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
14668 stack slot, rather than the struct return pointer slot.
14669 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
14670 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
14671 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
14672 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
14673
2f0ad8f3
UD
146742011-09-05 Ulrich Drepper <drepper@gmail.com>
14675
d88ae418
UD
14676 * po/ja.po: Update from translation team.
14677
2f0ad8f3
UD
14678 [BZ #13144]
14679 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
14680 kernel in 64-bit binaries.
14681
5f4318d1
DM
146822011-09-01 David S. Miller <davem@davemloft.net>
14683
14684 * elf/elf.h (HWCAP_SPARC_*): Move to..
14685 * sysdeps/sparc/sysdep.h: this new file and add new values.
14686 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
14687 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
14688 _DL_HWCAP_COUNT to 24.
14689 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
14690 entries.
14691 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
14692 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
14693 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
14694 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
14695 instead of magic constants.
14696 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
14697
3ba57516
DM
146982011-08-31 David S. Miller <davem@davemloft.net>
14699
14700 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
14701 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
14702 Reimplement to do errno handling inline.
14703 (SYSCALL_ERROR_HANDLER): New macro.
14704 (__SYSCALL_STRING): Do not do errno handling in asm.
14705 (__CLONE_SYSCALL_STRING): Delete.
14706 (__INTERNAL_SYSCALL_STRING): Delete.
14707 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
14708 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
14709 (PSEUDO): Reimplement to do errno handling inline.
14710 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
14711 (SYSCALL_ERROR_HANDLER): New macro.
14712 (__SYSCALL_STRING): Do not do errno handling in asm.
14713 (__CLONE_SYSCALL_STRING): Delete.
14714 (__INTERNAL_SYSCALL_STRING): Delete.
14715 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
14716 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
14717 i386.
14718 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
14719 (inline_syscall*): Add 'err' argument.
14720 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
14721 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
14722 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
14723 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
14724
14725 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
14726 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
14727
2bc17433
AS
147282011-08-30 Andreas Schwab <schwab@redhat.com>
14729
14730 * elf/rtld.c (dl_main): Relocate objects in dependency order.
14731
fbeb5f4d
JO
147322011-08-29 Jiri Olsa <jolsa@redhat.com>
14733
14734 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
14735 directive.
14736
ad69cc26
DM
147372011-08-24 David S. Miller <davem@davemloft.net>
14738
14739 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
14740
39dd69df
AS
147412011-08-24 Andreas Schwab <schwab@redhat.com>
14742
14743 * elf/Makefile: Add rules to build and run unload8 test.
14744 * elf/unload8.c: New file.
14745 * elf/unload8mod1.c: New file.
14746 * elf/unload8mod1x.c: New file.
14747 * elf/unload8mod2.c: New file.
14748 * elf/unload8mod3.c: New file.
14749
14750 * elf/dl-close.c (_dl_close_worker): Reset private search list if
14751 it wasn't used.
14752
2c0b250a
DM
147532011-08-23 David S. Miller <davem@davemloft.net>
14754
14755 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
14756 subtract stack bias.
14757 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
14758 %sp not %fp in calculations.
14759 (_JMPBUF_UNWINDS_ADJ): Likewise.
14760
22044b48
DM
14761 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
14762 (aio_suspend): Call it to force an exception region around the
14763 AIO_MISC_WAIT() invocation.
14764
2cae4995
AS
147652011-08-23 Andreas Schwab <schwab@redhat.com>
14766
14767 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
14768 backslash.
14769
873a772e
AJ
147702011-07-04 Aurelien Jarno <aurelien@aurel32.net>
14771
14772 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
14773 protection macro.
14774 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
14775 and <dl-machine.h>.
14776 (Elf64_FuncDesc): Remove.
14777
25ad0df1
DM
147782011-08-22 David S. Miller <davem@davemloft.net>
14779
14780 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
14781 sigaltstack check, add missing cfi directives.
14782 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
14783 missing cfi directives, and sigaltstack handling.
14784
e888bcbe
AS
147852011-08-16 Andreas Schwab <schwab@redhat.com>
14786
14787 [BZ #11724]
14788 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
14789 object is seen twice.
14790 * elf/dl-fini.c (_dl_sort_fini): Likewise.
14791
14792 * elf/Makefile (distribute): Add tst-initorder2.c.
14793 (tests): Add tst-initorder2.
14794 (modules-names): Add tst-initorder2a tst-initorder2b
14795 tst-initorder2c tst-initorder2d. Add rules to build them.
14796 ($(objpfx)tst-initorder2.out): New rule.
14797 * elf/tst-initorder2.c: New file.
14798 * elf/tst-initorder2.exp: New file.
14799
87162f46
AS
148002011-08-22 Andreas Schwab <schwab@redhat.com>
14801
70538b7f
AS
14802 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
14803
f55ffe58
AS
14804 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
14805 dependencies back to end of function.
14806
87162f46
AS
14807 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
14808 $(elfobjdir)/ld.so.
14809
91b392a4
UD
148102011-08-21 Ulrich Drepper <drepper@gmail.com>
14811
14812 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
14813 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
14814 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
14815 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
14816 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
14817 of __vdso_gettimeofday.
14818 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
14819 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
14820 attribute_hidden.
14821 (_libc_vdso_platform_setup): Remove initialization of
14822 __vdso_gettimeofday and __vdso_time.
14823
5c43483f
UD
148242011-08-20 Ulrich Drepper <drepper@gmail.com>
14825
775a77e7
UD
14826 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
14827 and fgetc_unlocked.
14828 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
14829 getc_unlocked.
89f447ed 14830
49c74ba9
UD
14831 * elf/dl-open.c (add_to_global): Report additions to the global scope
14832 for LD_DEBUG=scopes.
14833 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 14834 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 14835
5c43483f
UD
14836 [BZ #13114]
14837 * stdio-common/Makefile (tests): Add bug24.
14838 * stdio-common/bug24.c: New file.
14839
a101b025
AJ
148402011-08-19 Andreas Jaeger <aj@suse.de>
14841
14842 [BZ #13114]
14843 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
14844 non-existant file when using close-on-exec mode.
14845
c88f1766
UD
148462011-08-20 Ulrich Drepper <drepper@gmail.com>
14847
0276a718
UD
14848 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
14849 the very first instruction.
14850
c88f1766
UD
14851 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
14852 the CFI state in the end.
14853 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
14854 inclusion of dl-trampoline.h.
14855 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
14856
51ccffa0
AS
148572011-08-19 Andreas Schwab <schwab@redhat.com>
14858
94d7165f
AS
14859 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
14860 expectations for long double.
14861
51ccffa0
AS
14862 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
14863 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
14864
fd708658 148652011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
14866
14867 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
14868 artificual limit depends upon the system page size.
14869
44f0a71e
UD
148702011-08-17 Ulrich Drepper <drepper@gmail.com>
14871
14872 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
14873 * resolv/Makefile: Define CFLAGS-libresolv.
14874
8de79a24
AS
148752011-08-17 Andreas Schwab <schwab@redhat.com>
14876
14877 * nss/makedb.c (compute_tables): Make variables used in nested
14878 function static.
14879
27724598
UD
148802011-08-17 Ulrich Drepper <drepper@gmail.com>
14881
c5305d88
UD
14882 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
14883 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
14884 if buffer was too small.
14885
27724598
UD
14886 * elf/pldd.c (main): Attach to all threads in the process.
14887 Rewrite /proc handling to use *at functions.
14888
076fe015
UD
148892011-08-16 Ulrich Drepper <drepper@gmail.com>
14890
174baab3
UD
14891 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
14892 specifies first scope to show.
14893 (dl_open_worker): Update callers. Move printing scope of new
14894 object to before the relocation.
44f0a71e 14895 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
14896 * sysdeps/generic/ldsodefs.h: Update declaration.
14897
076fe015
UD
14898 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
14899 string for the scope number.
14900
a60df2c3
UD
149012011-08-14 Ulrich Drepper <drepper@gmail.com>
14902
14903 * nscd/servicescache.c (cache_addserv): Make sure written is always
14904 initialized.
14905
5e4287d1
RM
149062011-08-14 Roland McGrath <roland@hack.frob.com>
14907
85ae0589
RM
14908 * sysdeps/i386/i486/bits/atomic.h
14909 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
14910 statement expression, so as to suppress "set but not used" warning.
14911 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
14912
69f63097
RM
14913 * string/strncat.c (STRNCAT): Use prototype definition.
14914
675456ef
RM
14915 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
14916 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
14917 -Iprograms here.
14918 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
14919 (localedef-modules): Add localedef.
14920 (locale-modules): Add locale.
14921
5e4287d1
RM
14922 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
14923 * elf/rtld.c (dl_main): Invert order of assignment in last change,
14924 to avoid a warning.
14925
9c96ff23
DM
149262011-08-14 David S. Miller <davem@davemloft.net>
14927
14928 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
14929 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
14930
f9ddf089
UD
149312011-08-13 Ulrich Drepper <drepper@gmail.com>
14932
44f0a71e 14933 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
14934 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
14935 * elf/rtld.c (dl_main): Set l_name of vDSO.
14936 Call _dl_show_scope when DL_DEBUG_SCOPES.
14937 (process_dl_debug): Recognize scopes flag and also set it for all.
14938 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
14939 Declare _dl_show_scope.
14940
1dc27704
UD
14941 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
14942 (do_dlopen): Pass caller_dlopen to dl_open.
14943 (__libc_dlopen_mode): Initialize caller_dlopen.
14944
f9ddf089
UD
14945 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
14946 of libc. Make tolower call locale-independent. Optimize a bit by
14947 using isdigit instead of isalnum.
14948 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
14949
9ac533d3
UD
149502011-08-12 Ulrich Drepper <drepper@gmail.com>
14951
14952 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
14953 was a dependency or dynamically loaded.
14954
89edf2e9
UD
149552011-08-11 Ulrich Drepper <drepper@gmail.com>
14956
8e999d29
UD
14957 * intl/l10nflist.c: Allow architecture-specific pop function.
14958 * sysdeps/x86_64/l10nflist.c: New file.
14959
89edf2e9
UD
14960 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
14961 classification.
14962
14d96785
AS
149632011-08-10 Andreas Schwab <schwab@redhat.com>
14964
14965 * include/dirent.h: Add libc_hidden_proto for scandirat and
14966 scandirat64. Don't declare __scandirat64.
14967 * dirent/scandirat.c: Add libc_hidden_def.
14968 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
14969 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
14970
6761ac04
DM
149712011-08-10 David S. Miller <davem@davemloft.net>
14972
14973 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
14974 enum.
14975 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
14976 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
14977 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
14978
c55fbd1e
UD
149792011-08-09 Ulrich Drepper <drepper@gmail.com>
14980
14981 * Versions.def [libc]: Add GLIBC_2.15.
14982 * dirent/Makefile (routines): Add scandirat and scandirat64.
14983 * dirent/Versions [libc]: Export scandirat and scandirat64 for
14984 GLIBC_2.15.
14985 * dirent/dirent.h: Declare scandirat and scandirat64.
14986 * dirent/scandirat.c: New file.
14987 * dirent/scandirat64.c: New file.
14988 * sysdeps/wordsize-64/scandirat.c: New file.
14989 * sysdeps/wordsize-64/scandirat64.c: New file.
14990 * dirent/opendir.c: Define opendirat.
14991 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
14992 using scandirat.
14993 * dirent/scandir64.c: Adjust for scandir.c change.
14994 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
14995 __scandirat64, and __scandir_cancel_handler.
14996 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
14997 additional parameter and use openat instead of open (outside of ld.so).
14998 Add new __opendir as wrapper around __opendirat.
14999 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
15000 here without requiring old scandirat implementation.
15001
879165f2
UD
150022011-08-08 Ulrich Drepper <drepper@gmail.com>
15003
15004 * dirent/scandir.c (cancel_handler): Renamed to
15005 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
15006 defined. Adjust users.
15007 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
15008 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
15009
cb7e923b
UD
150102011-08-04 Ulrich Drepper <drepper@gmail.com>
15011
16292edd
UD
15012 * string/test-string.h (IMPL): Use __STRING to expand name and then
15013 stringify it.
15014
cb7e923b
UD
15015 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
15016 of cleanups.
15017
cff82933
LD
150182011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15019
15020 * string/Makefile: Update.
15021 (strop-tests): Append strncat.
15022 * string/test-wcscmp.c: New file.
15023 New comprehensive test for wcscmp.
15024 * string/test-strcmp.c: Update.
15025 (WIDE): New define.
15026
9be9bfcc
AS
150272011-07-22 Andreas Schwab <schwab@redhat.com>
15028
15029 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
15030 line.
15031
2e96f1c7
AS
150322011-07-26 Andreas Schwab <schwab@redhat.com>
15033
15034 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
15035 encoding to ACE if AI_IDN.
15036
85188888
JJ
150372011-08-01 Jakub Jelinek <jakub@redhat.com>
15038
15039 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
15040 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
15041
5fa16e9b
LD
150422011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15043
15044 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
15045 Fix overflow bug in strncat.
15046 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
15047
15048 * string/test-strncat.c: Update.
15049 Add new tests for checking overflow bugs.
15050
150512011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15052
15053 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15054 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
15055 * sysdeps/i386/i686/multiarch/strcat.S: New file.
15056 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
15057 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
15058 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
15059 * sysdeps/i386/i686/multiarch/strncat.S: New file.
15060 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
15061 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
15062
15063 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
15064 (USE_AS_STRCAT): Define.
15065 Add strcat and strncat support.
15066 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
15067
8c1a459f
AS
150682011-07-25 Andreas Schwab <schwab@redhat.com>
15069
15070 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
15071 __n bigger than INT_MAX+1.
15072 (__strncmp_g): Likewise.
15073
bba33c28
UD
150742011-07-23 Ulrich Drepper <drepper@gmail.com>
15075
798be72d
UD
15076 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
15077 * libio/stido.h: Likewise.
15078
8accd4dc
UD
15079 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
15080 (AF_NFC): Define.
15081 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
15082 (AF_NFC): Define.
15083
cbff0d96
UD
15084 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
15085 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
15086 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
15087 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
15088 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
15089
9191c04a
UD
15090 [BZ #13021]
15091 * scripts/test-installation.pl: Don't expect libnss_test1 to be
15092 installed.
15093
bba33c28
UD
15094 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
15095 typo.
15096 (_dl_x86_64_save_sse): Likewise.
15097
90f139dd
UD
150982011-07-22 Ulrich Drepper <drepper@gmail.com>
15099
1aae088a
UD
15100 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
15101 OSXSAVE.
15102 (_dl_x86_64_save_sse): Likewise.
15103
8e2045f5
UD
15104 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
15105
90f139dd
UD
15106 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
15107
1d002f25
AS
151082011-07-21 Andreas Schwab <schwab@redhat.com>
15109
15110 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
15111 change.
15112 (_dl_x86_64_save_sse): Use correct AVX check.
15113
21137f89
UD
151142011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15115
15116 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
15117 bug in strncpy/strncat.
15118 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
15119
a65c0b7a
UD
151202011-07-21 Ulrich Drepper <drepper@gmail.com>
15121
15122 * string/tester.c (test_strcat): Add tests for different alignments
15123 of source and destination.
15124 (test_strncat): Likewise.
15125
6986b98a
UD
151262011-07-20 Ulrich Drepper <drepper@gmail.com>
15127
90bb2039
UD
15128 [BZ #12852]
15129 * posix/glob.c (glob): Check passed in values before using them in
15130 expressions to avoid some overflows.
15131 (glob_in_dir): Likewise.
15132
5644ef54
UD
15133 [BZ #13007]
15134 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
15135 check for AVX enablement so that we don't crash with old kernels and
15136 new hardware.
15137 * elf/tst-audit4.c: Add same checks here.
15138 * elf/tst-audit6.c: Likewise.
15139
15140 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 15141
bfc9dc9b
AS
151422011-07-09 Andreas Schwab <schwab@linux-m68k.org>
15143
15144 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
15145
702e64bb
UD
151462011-07-20 Ulrich Drepper <drepper@gmail.com>
15147
15148 * po/cs.po: Update from translation team.
15149 * po/bg.po: Likewise.
15150
295e904f
MP
151512011-07-12 Marek Polacek <mpolacek@redhat.com>
15152
15153 * misc/sys/cdefs.h: Add support for const attribute.
15154 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
15155 to gnu_dev_{major,minor,makedev} functions.
15156
3ff94596
MP
151572011-07-20 Marek Polacek <mpolacek@redhat.com>
15158
15159 * intl/dcigettext.c (get_output_charset): Add missing bracket.
15160
28b59fca
AS
151612011-07-20 Andreas Schwab <schwab@redhat.com>
15162
15163 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
15164 strlen results.
15165
19df733e
AK
151662011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15167
15168 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
15169 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
15170 register in order to avoid conflicts with the soft frame pointer
15171 being held in r11 when necessary.
15172 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
15173 (INTERNAL_VSYSCALL_NCS): Likewise.
15174
c8835729
MP
151752011-07-14 Marek Polacek <mpolacek@redhat.com>
15176
15177 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
15178 * elf/dl-fini.c (_dl_fini): Adjust caller.
15179 * elf/dl-close.c (_dl_close_worker): Likewise.
15180 * sysdeps/generic/ldsodefs.h: Adjust declaration.
15181
b902330c
MP
151822011-07-15 Marek Polacek <mpolacek@redhat.com>
15183
8991e135
MP
15184 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
15185 "aux_cache->nlibs < 0".
15186
b902330c
MP
15187 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
15188 in the reload-count case.
15189
99710781
LD
151902011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15191
15192 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15193 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
15194 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
15195 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
15196 * sysdeps/x86_64/multiarch/strcat.S: New file.
15197 * sysdeps/x86_64/multiarch/strncat.S: New file.
15198 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
15199 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
15200 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
15201 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
15202 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
15203 (USE_AS_STRCAT): Define.
15204 Add strcat and strncat support.
15205 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
15206 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
15207 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
15208 * string/strncat.c: Update.
15209 (USE_AS_STRNCAT): Define.
15210 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15211 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
15212 and i7.
15213 * sysdeps/x86_64/multiarch/init-arch.h
15214 (bit_Prefer_PMINUB_for_stringop): New.
15215 (index_Prefer_PMINUB_for_stringop): Likewise.
15216 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
15217 bit_Prefer_PMINUB_for_stringop.
15218
7dc6bd90
UD
152192011-07-19 Ulrich Drepper <drepper@gmail.com>
15220
15221 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
15222 buffer64.
15223 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
15224 of casting of buffer.
15225 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
15226 buffer32 and buffer64.
15227 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
15228 writes instead of casting of buffer.
15229 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
15230 buffer32.
15231 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
15232 casting of buffer.
15233
e0e72284
AS
152342011-07-19 Andreas Schwab <schwab@redhat.com>
15235
15236 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
15237
feb1eb0b
UD
152382011-07-19 Ulrich Drepper <drepper@gmail.com>
15239
15240 * nscd/nscd.c (termination_handler): Don't do anything for a database
15241 if it has not yet been initialized.
15242
298711ff
UD
152432011-07-18 Ulrich Drepper <drepper@gmail.com>
15244
15245 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
15246
152472011-07-15 Marek Polacek <mpolacek@redhat.com>
15248
15249 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
15250
f9d68389
UD
152512011-07-18 Ulrich Drepper <drepper@gmail.com>
15252
15253 * po/nl.po: Update from translation team.
15254 * po/sv.po: Likewise.
15255
db290cf5
RM
152562011-07-16 Roland McGrath <roland@hack.frob.com>
15257
15258 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
15259 now disallowed by GCC.
5c550700 15260
fd5e21c7
RM
15261 * configure.in (use-default-link): Default to yes if a test -shared
15262 link meets our qualifications.
15263 * configure: Regenerated.
15264
5c550700
RM
15265 * config.make.in (output-format): New variable.
15266 * configure.in: Check for ld --print-output-format support.
15267 * configure: Regenerated.
15268 * Makerules ($(common-objpfx)format.lds)
15269 [$(output-format) != unknown]: Just use $(output-format),
15270 instead of the linker-script munging.
15271
9fa2c032
RM
152722011-07-14 Roland McGrath <roland@hack.frob.com>
15273
a6928d51
RM
15274 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
15275 of $(common-objpfx)shlib.lds.
15276 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
15277
661607b3
RM
15278 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
15279 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
15280
9fa2c032
RM
15281 * configure.in (-z relro check): Adjust test code to add a large
15282 writable data section after it.
15283 * configure: Regenerated.
15284
defe9061
RM
152852011-07-11 Roland McGrath <roland@hack.frob.com>
15286
15287 * configure.in (-z relro check): Fix test code to make the variable
15288 truly const.
15289 * configure: Regenerated.
15290
319b9ad4
UD
152912011-07-11 Ulrich Drepper <drepper@gmail.com>
15292
15293 * nscd/nscd.h (struct traced_file): Define.
15294 (struct database_dyn): Remove inotify_descr, reset_res, and filename
15295 elements. Add traced_files.
15296 (inotify_fd): Declare.
15297 (register_traced_file): Declare.
15298 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
15299 (inotify_fd): Export.
15300 (resolv_conf_descr): Remove.
15301 (nscd_init): Move inotify descriptor creation to main.
15302 Don't register files for notification here.
15303 (register_traced_file): New function.
15304 (invalidate_cache): Don't use reset_res to determine whether to call
15305 res_init, go through the list of registered files.
15306 (main_loop_poll): The inotify descriptors are now stored in the
15307 structures for the traced files.
15308 (main_loop_epoll): Likewise
15309 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
15310 to __nss_disable_nscd.
15311 * nscd/cache.c (prune_cache): There is no single inotify descriptor
15312 for a database anymore. Check the records for all the registered
15313 files instead.
15314 * nss/Makefile (libnss_files-routines): Add files-init.
15315 (libnss_db-routines): Add db-init.
15316 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
15317 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
15318 * nss/nss_db/db-init.c: New file.
15319 * nss/nss_files/files-init.c: New file.
15320 * nss/nsswitch.c (nss_load_library): New function. Broken out of
15321 __nss_lookup_function.
15322 (__nss_lookup_function): Call nss_load_library.
15323 (nss_load_all_libraries): New function.
15324 (__nss_disable_nscd): Take parameter with callback function for files
15325 to register. Set is_nscd. Load all the DSOs for the NSS modules
15326 used for the cached services.
15327 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
15328 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
15329 options for features to all the files in nscd.
15330
15331 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
15332
23bee3e8
RM
153332011-07-10 Roland McGrath <roland@hack.frob.com>
15334
15335 * csu/elf-init.c (__libc_csu_init): Comment typo.
15336
46a5b7f0
UD
153372011-07-09 Ulrich Drepper <drepper@gmail.com>
15338
15339 * po/pl.po: Update from translation team.
15340 * po/ja.po: Likewise.
15341 * po/ru.po: Likewise.
15342 * po/ko.po: Likewise.
15343 * po/fr.po: Likewise.
15344
d30cf5bb
RM
153452011-07-09 Roland McGrath <roland@hack.frob.com>
15346
113ddea4
RM
15347 * configure.in (.ctors/.dtors header and trailer check):
15348 Use an empirical test on a built program.
15349 * configure: Regenerated.
15350
574920b4
RM
15351 * configure.in (-z relro check): Use an empirical test on a built DSO.
15352 Detect, but do not require, on ia64.
15353 * configure: Regenerated.
15354
d30cf5bb
RM
15355 * configure.in (READELF): Find it with AC_CHECK_TOOL.
15356 Update tests that use readelf to use $READELF instead.
15357 * configure: Regenerated.
15358
8538fdb3
UD
153592011-07-08 Ulrich Drepper <drepper@gmail.com>
15360
15361 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
15362 if the result is not used.
15363
04d08991
AJ
153642011-07-05 Andreas Jaeger <aj@suse.de>
15365
15366 [BZ#9696]
15367 * stdlib/tst-strtod.c: Add testcase.
15368
de283087
AD
153692011-07-07 Ulrich Drepper <drepper@gmail.com>
15370
4e5f31c8 15371 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 15372 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
15373 The latter has a higher limit. Take additional parameter to pass to
15374 the new function.
15375 (__pathconf): Pass file to __statfs_link_max.
15376 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
15377 __statfs_link_max.
15378 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
15379 __statfs_link_max.
15380
de283087
AD
15381 [BZ #12868]
15382 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
15383 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15384 Handle Lustre.
15385 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
15386 (__statfs_filesize_max): Likewise.
15387 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
15388
c75fa153
AJ
153892011-07-05 Andreas Jaeger <aj@suse.de>
15390
15391 * resolv/res_comp.c (dn_skipname): Remove unused variable.
15392
1a544854
UD
153932011-07-06 Marek Polacek <mpolacek@redhat.com>
15394
15395 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
15396 `status' variable.
15397 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
15398 Likewise.
15399
6f0eec67
UD
154002011-07-04 H.J. Lu <hongjiu.lu@intel.com>
15401
15402 * Makefile (strop-tests): Add strncat.
15403 * string/test-strncat.c: New file.
15404
aae30307
UD
154052011-06-30 Marek Polacek <mpolacek@redhat.com>
15406
15407 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
15408
c0cfb5eb
UD
154092011-06-21 Andreas Jaeger <aj@suse.de>
15410
15411 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
15412 Copy rule from iconvdata/Makefile.
15413
01636b21
UD
154142011-07-06 Ulrich Drepper <drepper@gmail.com>
15415
15416 [BZ #12922]
15417 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
15418 but no long options are defined, just return 'W'.
15419
9895c8bc
UD
154202011-06-22 Marek Polacek <mpolacek@redhat.com>
15421
15422 [BZ #9696]
15423 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
15424
5d4cf042
UD
154252011-07-06 Ulrich Drepper <drepper@gmail.com>
15426
15427 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
15428 netgroups to read.
960e5535 15429 (innetgr): Likewise.
5d4cf042 15430
751eb97e
RM
154312011-07-05 Roland McGrath <roland@hack.frob.com>
15432
15433 * config.make.in (install_root): Default to $(DESTDIR).
15434
f15f1e45
UD
154352011-07-05 Ulrich Drepper <drepper@gmail.com>
15436
15437 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
15438
4e34ac6a
RM
154392011-07-02 Roland McGrath <roland@hack.frob.com>
15440
5e9b6af4
RM
15441 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
15442
84f9ea0f
RM
15443 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
15444 containing directory rather than embedding absolute directory names.
15445
ea5ee9f7
RM
15446 * scripts/check-local-headers.sh: Rewritten using awk.
15447 Match by word, not by line. Print error messages for matches.
15448 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
15449
1b74661a
RM
15450 * Makerules [shlib-lds-flags empty]:
15451 ($(common-objpfx)libc_pic.opts): New target.
15452 ($(common-objpfx)libc_pic.os.clean): New target.
15453 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
15454
15455 * config.make.in (OBJCOPY): New variable.
15456 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
15457 * configure: Regenerated.
15458
f781ef40
RM
15459 * config.make.in (use-default-link): New variable.
15460 * configure.in (use_default_link): Grok --with-default-link to set it.
15461 * configure: Regenerated.
15462 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
15463 (shlib-lds, shlib-lds-flags): Define to empty.
15464
2d4fa81e
RM
15465 * Makerules (shlib-lds): New variable.
15466 (shlib-lds-flags): New variable.
15467 (build-shlib, build-moduile, build-module-asneeded): Use it.
15468 ($(common-objpfx)libc.so): Use $(shlib-lds).
15469 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
15470 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
15471
31fffa6b
RM
15472 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
15473 DT_FLAGS/DT_FLAGS_1 with zero flags.
15474
4e34ac6a
RM
15475 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
15476 linker script munging.
15477
fcfc776b
UD
154782011-07-02 Ulrich Drepper <drepper@gmail.com>
15479
15480 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
15481 as 128-bit value.
15482 * crypt/sha512.c (sha512_process_block): Perform total addition using
15483 128-bit if possible.
15484 (__sha512_finish_ctx): Likewise.
15485 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
15486 as 64-bit value.
15487 * crypt/sha256.c (SWAP64): Define.
15488 (sha256_process_block): Perform total addition using 64-bit if
15489 possible.
15490 (__sha256_finish_ctx): Likewise.
15491
99231d9a
UD
154922011-07-01 Ulrich Drepper <drepper@gmail.com>
15493
15494 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
15495 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15496 * nscd/hstcache.c (cache_addhst): Likewise.
15497 * nscd/grpcache.c (cache_addgr): Likewise.
15498 * nscd/aicache.c (addhstaiX): Likewise
15499 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
15500
445b4a53
TK
155012011-07-01 Thorsten Kukuk <kukuk@suse.de>
15502
15503 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
15504 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15505 * nscd/hstcache.c (cache_addhst): Likewise.
15506 * nscd/grpcache.c (cache_addgr): Likewise.
15507 * nscd/aicache.c (addhstaiX): Likewise
15508
6d4d8e8e
AS
155092011-07-01 Andreas Schwab <schwab@redhat.com>
15510
15511 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
15512 domain only when needed.
15513
89f654c5
AS
155142011-06-30 Andreas Schwab <schwab@redhat.com>
15515
15516 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
15517 is always restored.
15518
cf3b23ff
UD
155192011-06-29 Ulrich Drepper <drepper@gmail.com>
15520
15521 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
15522 are re-adding the entry.
15523 * nscd/servicescache.c (cache_addserv): Likewise.
15524
751626f9
AJ
155252011-06-30 Aurelien Jarno <aurelien@aurel32.net>
15526
15527 * sysdeps/generic/dl-irel.h: fix protection against multiple
15528 inclusions.
15529 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
15530
9113ea1f
UD
155312011-06-28 Ulrich Drepper <drepper@gmail.com>
15532
5c0b8d90
UD
15533 [BZ #12935]
15534 * malloc/memusage.sh: Fix quoting in message.
15535 * debug/xtrace.sh: Likewise.
15536
9113ea1f
UD
15537 * configure.in: Remove support for --experimental-malloc option, make
15538 it the default.
15539 * config.make.in: Likewise.
15540 * malloc/Makefile: Likewise.
15541
a4172181
AS
155422011-06-27 Andreas Schwab <schwab@redhat.com>
15543
15544 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
15545 two-byte characters.
15546
78a7eee7
RM
155472011-06-27 Roland McGrath <roland@hack.frob.com>
15548
62bede13
RM
15549 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
15550 AC_CACHE_CHECK invocation.
15551 * configure: Regenerated.
15552
78a7eee7
RM
15553 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
15554
5ce33a62
UD
155552011-06-27 Ulrich Drepper <drepper@gmail.com>
15556
034807a9
UD
15557 [BZ #12350]
15558 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
15559 bit from old_res_options.
15560
4902da17
UD
15561 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
15562
5ce33a62
UD
15563 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
15564 value type for setfct.
15565
c2344f56
L
155662011-06-23 H.J. Lu <hongjiu.lu@intel.com>
15567
15568 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
15569 __gettimeofday instead of gettimeofday.
15570
68468076
UD
155712011-06-26 Ulrich Drepper <drepper@gmail.com>
15572
15573 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
15574
acb0d739
L
155752011-06-24 H.J. Lu <hongjiu.lu@intel.com>
15576
15577 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
15578
15579 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
15580 info.
15581
8912479f
L
155822011-06-22 H.J. Lu <hongjiu.lu@intel.com>
15583
15584 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15585 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
15586 strcpy-sse2-unaligned strncpy-sse2-unaligned
15587 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
15588 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
15589 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
15590 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
15591 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
15592 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
15593 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
15594 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
15595 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
15596 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
15597 (STRCPY): Support SSE2 and SSSE3 versions.
15598
d5495a11
UD
155992011-06-24 Ulrich Drepper <drepper@gmail.com>
15600
15601 [BZ #12874]
15602 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
15603 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
15604 kernels which artificially limit size of requests.
15605
0b1cbaae
L
156062011-06-22 H.J. Lu <hongjiu.lu@intel.com>
15607
15608 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15609 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
15610 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
15611 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
15612 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
15613 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
15614 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
15615 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
15616 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
15617 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
15618 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
15619 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
15620 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
15621 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
15622 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
15623 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15624 Enable unaligned load optimization for Intel Core i3, i5 and i7
15625 processors.
15626 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
15627 Define.
15628 (index_Fast_Unaligned_Load): Define.
15629 (HAS_FAST_UNALIGNED_LOAD): Define.
15630
07f494a0
MP
156312011-06-23 Marek Polacek <mpolacek@redhat.com>
15632
15633 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
15634
fa3fc0fe
UD
156352011-06-22 Ulrich Drepper <drepper@gmail.com>
15636
15637 [BZ #12907]
15638 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
15639 until it is clear that the information is realy needed.
15640 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
15641
e12df166
AS
156422011-06-22 Andreas Schwab <schwab@redhat.com>
15643
15644 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
15645
852eb34d
UD
156462011-06-22 Ulrich Drepper <drepper@gmail.com>
15647
84e2a551
UD
15648 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
15649 /sys/devices/system/cpu/online if it is usable.
15650
852eb34d
UD
15651 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
15652 reading the information from the /proc filesystem to once a second.
15653
6e502e19
UD
156542011-06-21 Andreas Jaeger <aj@suse.de>
15655
15656 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
15657 NULL after inclusion of kernel headers.
15658
75d39ff2
UD
156592011-06-21 Ulrich Drepper <drepper@gmail.com>
15660
51f9aa6a
UD
15661 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
15662 calls to internal_setent.
15663
c0244a9d
UD
15664 [BZ #12885]
15665 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
15666 addresses using gethostbyname4_r ignore IPv4 addresses.
15667
c5e3c2ae
UD
15668 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
15669 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
15670
75d39ff2
UD
15671 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
15672
42675c6f
DM
156732011-06-20 David S. Miller <davem@davemloft.net>
15674
15675 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
15676 inclusions.
15677 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
15678
15679 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
15680 (elf_irel): Use it.
15681 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
15682 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
15683 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
15684 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
15685 * sysdeps/x86_64/dl-irel.h: Likewise.
15686
15687 * elf/dl-runtime.c: Use elf_ifunc_invoke.
15688 * elf/dl-sym.c: Likewise.
15689
57912a71
UD
156902011-06-15 Ulrich Drepper <drepper@gmail.com>
15691
15692 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
15693 need to dereference resplen2.
15694
ee22793d
AS
156952011-06-14 Andreas Schwab <schwab@redhat.com>
15696
15697 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
15698
a9e836b0
UD
156992011-06-15 Ulrich Drepper <drepper@gmail.com>
15700
77fb9117
UD
15701 * Makeconfig: Define vardbdir and inst_vardbdir.
15702 * nss/Makefile: Add rules to install db-Makefile.
15703
40c1b22c
UD
15704 * nss/nss_db/db-XXX.c: Cleanup.
15705
9f2da732
UD
15706 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
15707 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
15708 GLIBC_PRIVATE.
15709 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
15710 * nss/makedb.c: Implement -g option to specify that value strings
15711 are generated and should not be added to table iterated over for
15712 get*ent calls.
15713 * nss/nss_db/db-initgroups.c: New file.
15714
82e9a1f7
UD
15715 * nss/getent.c: Add support for initgroups lookups through getgrouplist
15716 interface.
15717
c41af17e
UD
15718 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
15719 (internal_getgrouplist): Adjust to name change.
15720 Update use_initgroups_entry if this is not the first call.
15721 * nss/databases.def: Add initgroups entry.
15722
a9e836b0
UD
15723 * nss/makedb.c (compute_tables): Check result of multiple hash table
15724 sizes to minimize maximum chain length.
15725
2666d441
UD
157262011-06-14 Ulrich Drepper <drepper@gmail.com>
15727
15728 * Versions.def: Add entry for libnss_db.
15729 * shlib-versions: Likewise.
15730 * nss/Makefile: Add rules to build libnss_db.
15731 * nss/Versions: Add libnss_db information. Organize libnss_files
15732 entries better.
15733 * nss/db-Makefile: Add gshadow support. Change rules for the new
15734 makedb progra. Some minor improvements to generate smaller files.
15735 * nss/nss_db/nss_db.h: Move NSS database header data structures to
15736 here from...
15737 * nss/makedb.c: ...here.
15738 Improve database format to be smaller and require less memory at
15739 runtime.
15740 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
15741 db anymore.
15742 * nss/nss_db/db-netgrp.c: Likewise.
15743 * nss/nss_db/db-open.c: Likewise.
15744 * nss/nss_files/flies-XXX.x: Adjust comments.
15745 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
15746 * nss/nss_files/files-grp.c: Likewise.
15747 * nss/nss_files/files-hosts.c: Likewise.
15748 * nss/nss_files/files-network.c: Likewise.
15749 * nss/nss_files/files-proto.c: Likewise.
15750 * nss/nss_files/files-pwd.c: Likewise.
15751 * nss/nss_files/files-rpc.c: Likewise.
15752 * nss/nss_files/files-service.c: Likewise.
15753 * nss/nss_files/files-sgrp.c: Likewise.
15754 * nss/nss_files/files-spwd.c: Likewise.
15755 * nss/nss_db/db-alias.c: Removed.
15756 * nss/nss_db/dummy-db.h: Removed.
15757
9ee76b5a
UD
157582011-06-02 Ulrich Drepper <drepper@gmail.com>
15759
15760 * nss/makedb.c: Rewritten to not use database library.
15761 * nss/Makefile: Update to build new makedb program.
15762
c71ca1f8
AJ
157632011-06-14 Andreas Jaeger <aj@suse.de>
15764
15765 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
15766 memset declaration.
15767
3154bfb8
UD
157682011-06-10 Andreas Schwab <schwab@redhat.com>
15769
15770 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
15771 tmpbuf.
15772
b350afab
RM
157732011-06-10 Roland McGrath <roland@hack.frob.com>
15774
decd4e50
RM
15775 * Makerules (shlib.lds): Fail if the linker script comes out empty.
15776 * elf/Makefile ($(objpfx)ld.so): Likewise.
15777
5615eaf2
RM
15778 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
15779 Don't list ld.so twice in dependencies.
15780
15781 * posix/bug-regex31.c: Include <stdlib.h>.
15782
15783 * nscd/hstcache.c (cache_addhst): Remove unused variable.
15784
15785 * nis/nss_compat/compat-spwd.c
15786 (getspent_next_nss_netgr): Remove unused variable.
15787 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
15788
15789 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
15790 nonmembers" output to use the right array.
15791
15792 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
15793
15794 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
15795
15796 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
15797 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
15798 * catgets/gencat.c (read_input_file): Likewise.
15799 * locale/programs/locarchive.c (enlarge_archive): Likewise.
15800
15801 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
15802 variable definition inside #if's controlling its use.
15803
15804 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
15805
15806 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
15807
15808 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
15809
15810 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
15811 unreachable code.
15812
15813 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
15814
b68e08db
RM
15815 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
15816 * configure: Regenerated.
15817
b350afab
RM
15818 * Makerules: Revert last change.
15819 * elf/Makefile: Likewise.
15820
28368601
RM
158212011-06-09 Roland McGrath <roland@hack.frob.com>
15822
15823 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
15824 * elf/Makefile ($(objpfx)librtld.os): Likewise.
15825 (reloc-link): Likewise.
15826
11988f8f
UD
158272011-06-09 Ulrich Drepper <drepper@gmail.com>
15828
15829 * elf/Makefile: Add rules to build pldd.
15830 * elf/pldd.c: New file.
15831 * elf/pldd-xx.c: New file.
15832
e80fab37
UD
158332011-06-07 Ulrich Drepper <drepper@gmail.com>
15834
15835 * version.h: Update for 2.15 development version.
15836
9b849836
DM
158372011-06-07 David S. Miller <davem@davemloft.net>
15838
15839 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
15840 ifuncs.
15841 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
15842 elf_machine_lazy_rel): Likewise.
15843 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
15844 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
15845 elf_machine_lazy_rel): Likewise.
15846 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
15847 dl_hwcap via passed in argument.
15848 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
15849 Likewise.
15850
5a31b283
AK
158512011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15852
15853 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
15854
069e52f8
RM
158552011-06-06 Roland McGrath <roland@hack.frob.com>
15856
15857 [BZ #12849]
15858 * manual/fdl-1.1.texi: New file, verbatim from:
15859 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
15860 * manual/lgpl-2.1.texi: New file, verbatim from:
15861 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
15862 * manual/Makefile (licenses): New variable, list those new file names.
15863 (texis): Use it.
15864 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
15865
15866 * manual/fdl.texi: File removed.
15867 * manual/lesser.texi: File removed.
15868 * manual/libc.texinfo (Copying, Documentation License):
15869 Use new @include file names, put @appendix directive before @include.
15870
f16846a5
JJ
158712011-06-04 Jakub Jelinek <jakub@redhat.com>
15872
15873 [BZ #12841]
15874 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
15875 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
15876 (mq_open): Add __NTH.
15877
3d29045b
L
158782011-06-02 H.J. Lu <hongjiu.lu@intel.com>
15879
15880 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15881 Assume Intel Core i3/i5/i7 processor if AVX is available.
15882
8c297311
UD
158832011-05-31 Ulrich Drepper <drepper@gmail.com>
15884
15885 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
15886 typo.
15887
c8fc0c91
UD
158882011-05-31 Andreas Schwab <schwab@redhat.com>
15889
15890 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
15891 memory. Use alloca_account. Fix memory leak when retrying.
15892
5b27a807
UD
158932011-05-31 Ulrich Drepper <drepper@gmail.com>
15894
356f8bc6
UD
15895 * version.h (RELEASE): Bump for 2.14 release.
15896 * include/features.h (__GLIBC_MINOR__): Bump to 14.
15897
5b27a807
UD
15898 * config.make.in (RANLIB): Remove entry.
15899
01f16ab0
UD
159002011-05-30 Ulrich Drepper <drepper@gmail.com>
15901
41fce8bd
UD
15902 * po/Makefile (po-sed-cmd): Add ksh to extensions.
15903 (libc.pot): Work around missing support for .ksh extension in xgettext.
15904
4769ae77
UD
15905 [BZ #12684]
15906 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
15907 if both request failed.
15908 (send_dg): In case of server errors clear resplen or *resplen2.
15909
6b1e7d19
UD
15910 [BZ #12454]
15911 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
15912 when there are multiple maps.
15913 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
15914 (_dl_fini): Remove test here.
15915
01f16ab0
UD
15916 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
15917
b1ebd700
UD
159182011-05-29 Ulrich Drepper <drepper@gmail.com>
15919
7ae22829
UD
15920 [BZ #12350]
15921 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
15922 bit from old_res_options.
15923 (gaih_inet): Likewise.
15924
553149f6 15925 [BZ #11099]
18a84741 15926 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
15927 as signed.
15928
652ffab1
UD
15929 * resolv/res_init.c (res_setoptions): Make the code more compact.
15930
16985fd0
UD
15931 [BZ #11558]
15932 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
15933 set RES_USEVC.
15934
0464f746
UD
15935 [BZ #11634]
15936 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
15937
7d17596c
UD
15938 * malloc/malloc.h: Mark malloc hook variables as deprecated.
15939
cf6bbbd7
UD
15940 [BZ #11781]
15941 * malloc/malloc.h: Declare malloc hook variables as volatile.
15942
13f1ab36
UD
15943 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
15944 in last patch.
15945
b1ebd700
UD
15946 [BZ #11799]
15947 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 15948 raise in the comment.
80e2212d
UD
15949 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
15950 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
15951 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 15952
ce67228d
UD
159532011-05-28 Ulrich Drepper <drepper@gmail.com>
15954
8887a920
UD
15955 [BZ #12811]
15956 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
15957 grow the buffers more if it already has to be sufficient.
15958 (build_wcs_upper_buffer): Likewise.
15959 * posix/regexec.c (check_matching): Likewise.
15960 (clean_state_log_if_needed): Likewise.
15961 (extend_buffers): Don't enlarge buffers beyond size of the input
15962 buffer.
15963 Patches mostly by Emil Wojak <emil@wojak.eu>.
15964 * posix/bug-regex32.c: New file.
15965 * posix/Makefile (tests): Add bug-regex32.
15966
4f031072
UD
15967 * locale/findlocale.c (_nl_find_locale): Return right away if
15968 _nl_explode_name failed.
15969 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
15970
d0478f0c
UD
15971 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
15972
de81b246
UD
15973 * debug/xtrace.sh: Unify messages.
15974 * malloc/memusage.sh: Likewise.
15975
c738465a
UD
15976 [BZ #12813]
15977 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
15978 time symbol from vDSO. Substitute with vsyscall if not available.
15979 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
15980 __vdso_time.
15981
f1f929d7
UD
15982 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
15983 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
15984 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
15985 Add sendmmsg and internal_sendmmsg.
15986 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
15987 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
15988 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
15989
ce67228d
UD
15990 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
15991 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
15992 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
15993
e57420c6
UD
159942011-05-27 Ulrich Drepper <drepper@gmail.com>
15995
a8509ca5
UD
15996 [BZ #12813]
15997 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
15998 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
15999 available.
16000 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
16001 __vdso_getcpu.
16002
e57420c6
UD
16003 [BZ #12814]
16004 * iconvdata/Makefile (tests): Add bug-iconv9.
16005 * iconvdata/bug-iconv9.c: New file.
16006
4d07db15
AS
160072011-05-27 Andreas Schwab <schwab@redhat.com>
16008
16009 [BZ #12814]
16010 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
16011
ea486f69
JJ
160122011-05-25 Jakub Jelinek <jakub@redhat.com>
16013
16014 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
16015 (struct user_regs_struct): Change intcs field back to cs.
16016
6f038433
UD
160172011-05-25 Ulrich Drepper <drepper@gmail.com>
16018
16019 * po/ja.po: Update from translation team.
16020
67f86a25
UD
160212011-05-23 Ulrich Drepper <drepper@gmail.com>
16022
16023 [BZ #12795]
16024 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
16025 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
16026
def7fbd6
AS
160272011-05-20 Andreas Schwab <schwab@redhat.com>
16028
16029 * stdlib/longlong.h: Update from GCC.
16030
f50ef8f1
AS
160312011-05-23 Andreas Schwab <schwab@redhat.com>
16032
16033 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
16034 parameter name.
16035 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
16036 Add parameter name.
16037 (__sysconf): Pass it down.
16038
de7ce8f1
UD
160392011-05-22 Ulrich Drepper <drepper@gmail.com>
16040
f2962a71
UD
16041 [BZ #12671]
16042 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
16043 some situations.
16044 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
16045 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
16046 add in in __libc_use_alloca calls. Adjust callers.
16047 (glob): Use malloc in some situations.
16048
de7ce8f1
UD
16049 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
16050 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
16051 pltexit.
16052
aec84f53
UD
160532011-05-21 Ulrich Drepper <drepper@gmail.com>
16054
05bb4a68
UD
16055 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
16056 and CLOCK_BOOTTIME_ALARM.
16057
7ea72f99
UD
16058 [BZ #12782]
16059 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
16060 is returned.
16061
7e4afad5
UD
16062 * string/_strerror.c (__strerror_r): Print negative errors as signed
16063 numbers.
16064
8e211fec
UD
16065 [BZ #12777]
16066 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
16067 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
16068 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
16069
f7d82dc9
UD
16070 * configure.in: Fix typo in redirection and correct removal of test
16071 files in two cases.
16072
cc9e536d
UD
16073 [BZ #12788]
16074 * locale/setlocale.c (new_composite_name): Fix test to check for
16075 identical name of all categories.
16076
aec84f53
UD
16077 [BZ #12792]
16078 * libio/filedoalloc.c (local_isatty): New function.
16079 (_IO_file_doallocate): Use local_isatty.
16080 * stdio-common/perror.c (perror): In case a new stream is used
16081 forward the stream error.
16082 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
16083 error flag.
16084
78e64fdc
RT
160852011-05-20 Ulrich Drepper <drepper@gmail.com>
16086
34a9094f
UD
16087 [BZ #11869]
16088 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
16089 alloca.
16090 * include/alloca.h (extend_alloca_account): Define.
16091
78e64fdc
RT
16092 [BZ #11857]
16093 * posix/regex.h: Fix comments with documentation of user-accessible
16094 fields after compilation and describe correct free'ing of pattern
16095 after re_compile_pattern.
16096 Patch by Reuben Thomas <rrt@sc3d.org>.
16097
457bddfc
RA
160982011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
16099
16100 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
16101 and -mno-altivec to prevent the compiler from using Altivec and/or
16102 VSX instructions when the corresponding registers are not available.
16103
a4527b51
AS
161042011-05-19 Andreas Schwab <schwab@redhat.com>
16105
16106 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
16107
ed690b2f
UD
161082011-05-19 Ulrich Drepper <drepper@gmail.com>
16109
16110 * libio/freopen.c (freopen): Use __dup2, not dup2.
16111 * libio/freopen64.c (freopen64): Likewise.
16112
8db73634
L
161132011-05-17 H.J. Lu <hongjiu.lu@intel.com>
16114
16115 [BZ #12775]
16116 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
16117 * math/Makefile (tests): Add test-powl.
16118 (CFLAGS-test-powl.c): Define.
16119 * math/test-powl.c: New file.
16120
0a197a9d
L
161212011-05-16 H.J. Lu <hongjiu.lu@intel.com>
16122
16123 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
16124
ee30c380
UD
161252011-05-17 Ulrich Drepper <drepper@gmail.com>
16126
16127 [BZ #11837]
16128 * iconvdata/gb18030.c: Update to GB18020-2005.
16129
6ce75379
UD
161302011-05-16 Ulrich Drepper <drepper@gmail.com>
16131
a4b89fd8
AR
16132 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
16133 RE_SYNTAX_POSIX_AWK): Update to match recent development.
16134 Patch by Aharon Robbins <arnold@skeeve.com>.
16135
ea389b12
UD
16136 [BZ #11892]
16137 * stdlib/putenv.c (putenv): Don't always create copy of the variable
16138 on the stack.
16139
68a3f91f
UD
16140 [BZ #11895]
16141 * misc/pselect.c (__pselect): Handle timeout value errors hidden
16142 through underflows.
16143
15cc7dd1
UD
16144 [BZ #12766]
16145 * misc/error.c (error_at_line): Ensure file_name and old_file_name
16146 point to strings before performing equality test for error_one_per_line
16147 mode.
16148
f3799213
UD
16149 [BZ #11697]
16150 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
16151
d79a9c94
UD
16152 [BZ #11820]
16153 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
16154 (struct user_fpregs_struct): Avoid __uint*_t types.
16155
56e5eb46
UD
16156 [BZ #6420]
16157 * malloc/mtrace.c (tr_where): Add additional parameter to point to
16158 symbol info. Use it instead of calling _dl_addr locally.
16159 (lock_and_info): New function.
16160 (tr_freehook): Call lock_and_info and pass symbol info as additional
16161 parameter to tr_where.
16162 (tr_mallochook): Likewise.
16163 (tr_reallochook): Likewise.
16164 (tr_memalignhook): Likewise.
16165
6ce75379
UD
16166 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
16167 used and couldn't be at all thread-safe.
16168
f8a3b5bf
UD
161692011-05-15 Ulrich Drepper <drepper@gmail.com>
16170
94b7cc37
UD
16171 * libio/freopen.c (freopen): Don't close old file descriptor
16172 before the new one is opened. Instead dup the new file descriptor
16173 to the old one after the new stream is created.
16174 * libio/freopen64.c (freopen64): Likewise.
16175 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
16176 * libio/fileops.c (_IO_new_file_close_it): Handle new
16177 _IO_FLAGS2_NOCLOSE flag.
16178 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
16179 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
16180 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
16181 _IO_FLAGS2_NOCLOSE flag.
16182 * include/unistd.h: Add hidden_proto for dup3.
16183 Define __have_dup3.
16184 * io/dup3.c: Define hidden symbol.
16185 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
16186
bd25564e
UD
16187 [BZ #7101]
16188 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
16189 when an incomplete long option is used.
16190 * posix/tst-getopt_long1.c: New file.
16191 * posix/Makefile (tests): Add tst-getopt_long1.
16192
c84cfef4
UD
16193 [BZ #10138]
16194 * scripts/config.guess: Update from autoconf-2.68.
16195 * scripts/config.sub: Likewise.
16196
3b85df27
UD
16197 [BZ #10157]
16198 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
16199 tests into ...
16200 (has_cpuclock): ...this. New function.
16201 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
16202 macro here based on has_cpuclock code.
16203
15a856b1
UD
16204 [BZ #10149]
16205 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16206 First byte (not low byte) is now always NUL.
16207 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
16208
05f399e6
UD
16209 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16210 Use non-cancelable interfaces.
16211
10a52685 16212 [BZ #9809]
94ecc67d
UD
16213 * locale/iso-639.def: Add entry for Sorani.
16214
f8a3b5bf
UD
16215 [BZ #11901]
16216 * include/stdlib.h: Move include protection to the right place.
16217 Define abort_msg_s. Declare __abort_msg with it.
16218 * stdlib/abort.c (__abort_msg): Adjust type.
16219 * assert/assert.c (__assert_fail_base): New function. Majority
16220 of code from __assert_fail. Allocate memory for __abort_msg with
16221 mmap.
16222 (__assert_fail): Now call __assert_fail_base.
16223 * assert/assert-perr.c: Remove bulk of implementation. Use
16224 __assert_fail_base.
16225 * include/assert.hL Declare __assert_fail_base.
16226 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
16227 mmap.
16228 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
16229
1af4e298
UD
162302011-05-14 Ulrich Drepper <drepper@gmail.com>
16231
f8a3b5bf 16232 [BZ #11952]
d26dfc60
MG
16233 [BZ #12453]
16234 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
16235 until all modules are registered in the DTV.
16236 * elf/Makefile: Add rules to build and run tst-tls19.
16237 * elf/tst-tls19.c: New file.
16238 * elf/tst-tls19mod1.c: New file.
16239 * elf/tst-tls19mod2.c: New file.
16240 * elf/tst-tls19mod3.c: New file.
16241 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
16242
2fc54d6f
UD
16243 [BZ #12083]
16244 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
16245 correctly.
16246
98d76b46
UD
16247 [BZ #12601]
16248 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
16249 two-byte sequence errors.
16250 * iconvdata/Makefile (tests): Add bug-iconv8.
16251 * iconvdata/bug-iconv8.c: New file.
16252
da3c19ef
UD
16253 [BZ #12626]
16254 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
16255 buf2 definition.
16256
ca408c15
UD
16257 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
16258
d6f67f7d
UD
16259 [BZ #12432]
16260 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
16261 (dummy_getcfa): New function.
16262 (init): Get _Unwind_GetCFA address, use dummy if not found.
16263 (backtrace_helper): In recursion check, also check whether CFA changes.
16264 (__backtrace): Completely initialize arg.
16265
1af4e298 16266 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
16267 storing incomplete byte sequence in state object. Avoid testing for
16268 guaranteed too small input if we know there is enough data available.
1af4e298 16269
da62f81b
AS
162702011-05-11 Andreas Schwab <schwab@redhat.com>
16271
16272 * Makeconfig (+link-pie): Indent.
16273 * Rules (binaries-pie): Define if $(have-fpie) and
16274 $(build-shared).
16275 (binaries-shared): Also filter out $(binaries-pie).
16276 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
16277 * nscd/Makefile (others-pie): Add nscd.
16278 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
16279 ($(objpfx)nscd): Remove command override.
16280 * login/Makefile (others-pie): Add pt_chown.
16281 ($(objpfx)pt_chown): Remove command override.
16282 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
16283 remove command overrides.
16284
fcabc0f8
UD
162852011-05-13 Ulrich Drepper <drepper@gmail.com>
16286
20030ae6
UD
16287 * libio/tst_putwc.c: Fix error messages.
16288
fcabc0f8
UD
16289 [BZ #12724]
16290 * libio/fileops.c (_IO_new_file_close_it): Always flush when
16291 currently writing and seek to current position when not.
16292 * libio/Makefile (tests): Add bug-fclose1.
16293 * libio/bug-fclose1.c: New file.
16294
320a5dc0
PB
162952011-05-12 Ulrich Drepper <drepper@gmail.com>
16296
16297 [BZ #12511]
16298 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
16299 don't set DF_1_NODELETE here.
16300 (do_lookup_x): When entering new entry test for copy relocation
16301 and if necessary set DF_1_NODELETE flag.
16302 * elf/tst-unique4.cc: New file.
16303 * elf/tst-unique4.h: New file.
16304 * elf/tst-unique4lib.cc: New file.
16305 * elf/Makefile: Add rules to build and run tst-unique4.
16306 Patch by Piotr Bury <pbury@goahead.com>.
16307
22836f52
UD
163082011-05-11 Ulrich Drepper <drepper@gmail.com>
16309
f574184a
UD
16310 [BZ #12052]
16311 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
16312
e1fb097f
UD
16313 [BZ #12625]
16314 * misc/mntent_r.c (addmntent): Flush the stream after the output
16315
22836f52
UD
16316 [BZ #12393]
16317 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
16318 (is_trusted_path_normalize): Skip initial colon. Append slash
16319 to empty buffer. Duplicate is_trusted_path code but allow
16320 constructed patch to be prefix.
16321 (is_dst): Allow $ORIGIN followed by /.
16322 (_dl_dst_substitute): Correct clearing of check_for_trusted.
16323 Correct testing of result of is_trusted_path_normalize
16324 (decompose_rpath): Fix warning.
16325
7b3b0b2a
UD
163262011-05-10 Ulrich Drepper <drepper@gmail.com>
16327
16328 [BZ #11257]
16329 * grp/initgroups.c (internal_getgrouplist): When we found the service
16330 list through the initgroups entry in nsswitch.conf do not always
16331 continue on a successful lookup. Don't always use the
eac80ce2 16332 __nss_group_database value if it is set.
7b3b0b2a
UD
16333 * nss/nsswitch.conf (initgroups): Change action for successful db
16334 lookup to continue for compatibility.
16335
2a81eaa5
UD
163362011-05-09 Ulrich Drepper <drepper@gmail.com>
16337
be97a69e
UD
16338 [BZ #11532]
16339 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
16340 and CP774 modules.
16341 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
16342 and CP774 modules.
16343 * iconvdata/tst-tables.sh: Likewise.
16344 * iconvdata/cp770.c: New file.
16345 * iconvdata/cp771.c: New file.
16346 * iconvdata/cp772.c: New file.
16347 * iconvdata/cp773.c: New file.
16348 * iconvdata/cp774.c: New file.
16349 * iconvdata/testdata/CP770: New file.
16350 * iconvdata/testdata/CP770..UTF8: New file.
16351 * iconvdata/testdata/CP771: New file.
16352 * iconvdata/testdata/CP771..UTF8: New file.
16353 * iconvdata/testdata/CP772: New file.
16354 * iconvdata/testdata/CP772..UTF8: New file.
16355 * iconvdata/testdata/CP773: New file.
16356 * iconvdata/testdata/CP773..UTF8: New file.
16357 * iconvdata/testdata/CP774: New file.
16358 * iconvdata/testdata/CP774..UTF8: New file.
16359
16360 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
16361 END CHARMAP line.
16362 * iconvdata/gen-8bit-gap.sh: Likewise.
16363 * iconvdata/gen-8bit.sh: Likewise.
16364
c1e9e399
UD
16365 * locale/iso-639.def: Add ary entry.
16366
24c55fb3 16367 [BZ #11258]
96b4b1b0
UD
16368 * locale/C-translit.h.in: Add U20A1 transliteration.
16369
bdc2f971
KB
16370 [BZ #12178]
16371 * locale/iso-639.def: Add wae entry.
16372 Patch by Kevin Bortis <bortis@translate-wae.ch>.
16373
2952b117
UD
16374 [BZ #12545]
16375 * locale/programs/localedef.c (construct_output_path): Use ssize_t
16376 for n.
16377
2a81eaa5
UD
16378 [BZ #12711]
16379 * locale/C-translit.h.in: Add entry for U20B9.
16380 Patch by pravin.d.s@gmail.com.
16381
28377d1b
UD
163822011-05-08 Ulrich Drepper <drepper@gmail.com>
16383
7fb90fb8
UD
16384 [BZ #12713]
16385 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
16386 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
16387 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
16388 in rtld. Use *stat64.
7fb90fb8 16389 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 16390 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 16391 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
16392 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
16393 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
16394 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
16395 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
16396 __fstatat64 macros.
7fb90fb8
UD
16397 * include/dirent.h: Add libc_hidden_proto for rewinddir.
16398 * dirent/rewinddir.c: Add libc_hidden_def.
16399 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 16400 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 16401
28377d1b
UD
16402 * include/dirent.h (__alloc_dir): Add flags parameter.
16403 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
16404 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
16405 __alloc_dir.
16406 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
16407 from fdopendir if O_CLOEXEC is already set.
16408
66bdbaa4
AM
164092011-03-15 Alan Modra <amodra@gmail.com>
16410
16411 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
16412 l_tls_firstbyte_offset non-zero. Save padding offset in
16413 l_tls_firstbyte_offset for later use.
16414 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
16415 freeing static tls block.
16416
95721191
JN
164172011-03-05 Jonathan Nieder <jrnieder@gmail.com>
16418
16419 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
16420 where #ifdef was intended. The intent is to prevent ARG_MAX from
16421 being defined by the kernel headers.
16422
f87dfb1f
UD
164232011-05-07 Ulrich Drepper <drepper@gmail.com>
16424
16425 [BZ #12734]
16426 * resolv/resolv.h: Define RES_NOTLDQUERY.
16427 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
16428 no-tld-query and set RES_NOTLDQUERY.
16429 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
16430 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
16431 modern BIND to search name as TLD unless forbidden.
16432
47c3cd7a
UD
164332011-05-07 Petr Baudis <pasky@suse.cz>
16434 Ulrich Drepper <drepper@gmail.com>
16435
16436 [BZ #12393]
16437 * elf/dl-load.c (fillin_rpath): Move trusted path check...
16438 (is_trusted_path): ...to here.
c1e9ea35 16439 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 16440 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 16441 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 16442
8a35c912
PP
164432011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
16444
16445 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
16446 __BEGIN/__END_DECLS.
16447
acd41f47
UD
164482011-05-06 Ulrich Drepper <drepper@gmail.com>
16449
16450 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
16451 NSS_STATUS_NOTFOUND if no record was found.
16452
597df647
AS
164532011-05-05 Andreas Schwab <schwab@redhat.com>
16454
16455 * sunrpc/Makefile (headers): Add rpc/netdb.h.
16456 (headers-not-in-tirpc): Remove rpc/netdb.h
16457 * resolv/netdb.h: Revert last change.
16458
b9af1301
PP
164592011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
16460
16461 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
16462 circular dependency between libgcc.a and libc.a.
16463
4e34d5f5
AS
164642011-05-05 Andreas Schwab <schwab@redhat.com>
16465
16466 * resolv/netdb.h: Don't include <rpc/netdb.h>.
16467 * nis/Makefile: Don't install rpcsvc/*.
16468 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
16469 instead of <rpc/types.h>.
16470 (MAXHOSTNAMELEN): Define.
16471
00ee369c
AS
164722011-05-03 Andreas Schwab <schwab@redhat.com>
16473
16474 * elf/ldconfig.c (add_dir): Don't crash on empty path.
16475
0b592a30
MB
164762011-04-28 Maciej Babinski <mbabinski@google.com>
16477
16478 [BZ #12714]
16479 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
16480 gethostbyname4_r when IPv6 results are possible.
16481
6e04cbbe
UD
164822011-05-02 Ulrich Drepper <drepper@gmail.com>
16483
16484 [BZ #12723]
16485 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
16486 _PC_PIPE_BUF handling.
16487
e4ecafe0
BH
164882011-04-30 Bruno Haible <bruno@clisp.org>
16489
16490 [BZ #12717]
16491 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
16492 * resolv/netdb.h (getnameinfo): Change type of flags parameter
16493 to 'int'.
16494 * inet/getnameinfo.c (getnameinfo): Likewise.
16495
125ee683
UD
164962011-04-29 Ulrich Drepper <drepper@gmail.com>
16497
16498 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
16499 to groups setting in database lookup.
16500 * nss/nsswitch.conf: Add initgroups entry.
16501
b722481a
EB
165022011-04-22 Ulrich Drepper <drepper@gmail.com>
16503
16504 [BZ #12685]
16505 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
16506 mode string.
16507 Patch by Eric Blake <eblake@redhat.com>.
16508
4df46dbd
L
165092011-04-20 H.J. Lu <hongjiu.lu@intel.com>
16510
16511 * sunrpc/Makefile (need-export-routines): Add svc_run.
16512 (routines): Remove svc_run.
16513 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
16514 * sunrpc/clnt_perr.c (clnt_perrno): Export.
16515 * sunrpc/svc_run.c (svc_run): Likewise.
16516 * sunrpc/svc_udp.c (svcudp_create): Likewise.
16517
e84142d2
UD
165182011-04-21 Ulrich Drepper <drepper@gmail.com>
16519
16520 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
16521 problem in reallocation in last patch.
16522
877175d8
UD
165232011-04-20 Ulrich Drepper <drepper@gmail.com>
16524
16525 * sunrpc/Makefile: Move inclusion of Rules.
16526
ab8eed78
UD
165272011-04-19 Ulrich Drepper <drepper@gmail.com>
16528
16529 * nss/nss_files/files-initgroups.c: New file.
16530 * nss/Makefile (libnss_files-routines): Add files-initgroups.
16531 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
16532 _nss_files_initgroups_dyn.
16533
e3d8f584
RS
165342011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
16535
16536 * elf/elf.h (R_ARM_IRELATIVE): Define.
16537
af190f45
UD
165382011-04-19 Ulrich Drepper <drepper@gmail.com>
16539
16540 * po/ru.po: Update from translation team.
16541
53cf59ef
UD
165422011-04-17 Ulrich Drepper <drepper@gmail.com>
16543
16544 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
16545 dependencies.
16546
4c559bcd
MF
165472011-02-06 Mike Frysinger <vapier@gentoo.org>
16548
16549 [BZ #12653]
16550 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
16551 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
16552 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
16553 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
16554 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
16555
4420675c
AS
165562011-03-28 Andreas Schwab <schwab@linux-m68k.org>
16557
16558 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
16559 differing bytes.
16560 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
16561 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
16562 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
16563
75ea32ab
UD
165642011-04-17 Ulrich Drepper <drepper@gmail.com>
16565
16566 [BZ #12420]
16567 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
16568 storing it.
16569 * stdlib/bug-getcontext.c: New file.
16570 * stdlib/Makefile: Add rules to build and run bug-getcontext.
16571
27390476
AK
165722011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16573
16574 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
16575 instructions into .machine "z9-109".
16576 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
16577 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
16578
10442705
AK
165792011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16580
16581 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
16582 between environment variables and auxiliary vector.
16583
7b57bfe5
UD
165842011-04-16 Ulrich Drepper <drepper@gmail.com>
16585
16586 * Makefile: Add rules to build linkobj/libc.so.
16587 * include/libc-symbols.h: Define libc_hidden_nolink.
16588 * include/rpc/auth.h: Mark functions which are to be hidden.
16589 * include/rpc/auth_des.h: Likewise.
16590 * include/rpc/auth_unix.h: Likewise.
16591 * include/rpc/clnt.h: Likewise.
16592 * include/rpc/des_crypt.h: Likewise.
16593 * include/rpc/key_prot.h: Likewise.
16594 * include/rpc/pmap_clnt.h: Likewise.
16595 * include/rpc/pmap_prot.h: Likewise.
16596 * include/rpc/pmap_rmt.h: Likewise.
16597 * include/rpc/rpc_msg.h: Likewise.
16598 * include/rpc/svc.h: Likewise.
16599 * include/rpc/svc_auth.h: Likewise.
16600 * include/rpc/xdr.h: Likewise.
16601 * nis/Makefile: Link all DSOs against linkobj/libc.so.
16602 * nss/Makefile: Likewise.
16603 * sunrpc/Makefile: Don't install headers. Build library with normal
16604 entry points. Don't build rpcinfo. Link RPC tests appropriately.
16605 * sunrpc/auth_des.c: Hide exported symbols by default, export some
16606 for the compat linking library. Remove use of INTDEF/INTUSE.
16607 * sunrpc/auth_none.c: Likewise.
16608 * sunrpc/auth_unix.c: Likewise.
16609 * sunrpc/authdes_prot.c: Likewise.
16610 * sunrpc/authuxprot.c: Likewise.
16611 * sunrpc/clnt_gen.c: Likewise.
16612 * sunrpc/clnt_perr.c: Likewise.
16613 * sunrpc/clnt_raw.c: Likewise.
16614 * sunrpc/clnt_simp.c: Likewise.
16615 * sunrpc/clnt_tcp.c: Likewise.
16616 * sunrpc/clnt_udp.c: Likewise.
16617 * sunrpc/clnt_unix.c: Likewise.
16618 * sunrpc/des_crypt.c: Likewise.
16619 * sunrpc/des_soft.c: Likewise.
16620 * sunrpc/get_myaddr.c: Likewise.
16621 * sunrpc/key_call.c: Likewise.
16622 * sunrpc/key_prot.c: Likewise.
16623 * sunrpc/netname.c: Likewise.
16624 * sunrpc/pm_getmaps.c: Likewise.
16625 * sunrpc/pm_getport.c: Likewise.
16626 * sunrpc/pmap_clnt.c: Likewise.
16627 * sunrpc/pmap_prot.c: Likewise.
16628 * sunrpc/pmap_prot2.c: Likewise.
16629 * sunrpc/pmap_rmt.c: Likewise.
16630 * sunrpc/publickey.c: Likewise.
16631 * sunrpc/rpc_cmsg.c: Likewise.
16632 * sunrpc/rpc_common.c: Likewise.
16633 * sunrpc/rpc_dtable.c: Likewise.
16634 * sunrpc/rpc_prot.c: Likewise.
16635 * sunrpc/rpc_thread.c: Likewise.
16636 * sunrpc/rtime.c: Likewise.
16637 * sunrpc/svc.c: Likewise.
16638 * sunrpc/svc_auth.c: Likewise.
16639 * sunrpc/svc_authux.c: Likewise.
16640 * sunrpc/svc_raw.c: Likewise.
16641 * sunrpc/svc_run.c: Likewise.
16642 * sunrpc/svc_simple.c: Likewise.
16643 * sunrpc/svc_tcp.c: Likewise.
16644 * sunrpc/svc_udp.c: Likewise.
16645 * sunrpc/svc_unix.c: Likewise.
16646 * sunrpc/svcauth_des.c: Likewise.
16647 * sunrpc/xcrypt.c: Likewise.
16648 * sunrpc/xdr.c: Likewise.
16649 * sunrpc/xdr_array.c: Likewise.
16650 * sunrpc/xdr_float.c: Likewise.
16651 * sunrpc/xdr_intXX_t.c: Likewise.
16652 * sunrpc/xdr_mem.c: Likewise.
16653 * sunrpc/xdr_rec.c: Likewise.
16654 * sunrpc/xdr_ref.c: Likewise.
16655 * sunrpc/xdr_sizeof.c: Likewise.
16656 * sunrpc/xdr_stdio.c: Likewise.
16657
e6c61494
UD
166582011-04-10 Ulrich Drepper <drepper@gmail.com>
16659
16660 [BZ #12650]
16661 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
16662 * sysdeps/ia64/dl-tls.h: Likewise.
16663 * sysdeps/powerpc/dl-tls.h: Likewise.
16664 * sysdeps/s390/dl-tls.h: Likewise.
16665 * sysdeps/sh/dl-tls.h: Likewise.
16666 * sysdeps/sparc/dl-tls.h: Likewise.
16667 * sysdeps/x86_64/dl-tls.h: Likewise.
16668 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
16669
34fe483e
AS
166702011-03-14 Andreas Schwab <schwab@redhat.com>
16671
16672 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
16673 rpath element also skip the following colon.
16674 (expand_dynamic_string_token): Add is_path parameter and pass
16675 down to DL_DST_REQUIRED and _dl_dst_substitute.
16676 (decompose_rpath): Call expand_dynamic_string_token with
16677 non-zero is_path. Ignore empty rpaths.
16678 (_dl_map_object_from_fd): Call expand_dynamic_string_token
16679 with zero is_path.
16680
f12a32e6
AS
166812011-04-08 Andreas Schwab <schwab@linux-m68k.org>
16682
16683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
16684 Make cancelable.
16685
38a7d692
UD
166862011-04-09 Ulrich Drepper <drepper@gmail.com>
16687
16688 [BZ #12655]
16689 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
16690 Patch by Filipe David Manana <fdmanana@apache.org>.
16691
e451d22b
AS
166922011-04-07 Andreas Schwab <schwab@redhat.com>
16693
16694 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
16695 Maintain aligned stack.
16696 (CHECK_RSP): Remove unused macro.
16697
dedc7c7b
UD
166982011-04-03 Ulrich Drepper <drepper@gmail.com>
16699
16700 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
16701 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
16702
94521213
UD
167032011-04-02 Ulrich Drepper <drepper@gmail.com>
16704
16705 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
16706
8cb700c0 16707 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 16708
0354e355
L
167092011-03-26 H.J. Lu <hongjiu.lu@intel.com>
16710
16711 [BZ #12518]
16712 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
16713 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
16714 * sysdeps/x86_64/memmove.c: New file.
16715 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
16716 (memcpy): Renamed to ...
16717 (__new_memcpy): This.
16718 (memcpy): Provide GLIBC_2_14 memcpy.
16719 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
16720 (memcpy): Provide GLIBC_2_2_5 memcpy.
16721
8593482f
UD
167222011-04-01 Ulrich Drepper <drepper@gmail.com>
16723
16724 [BZ #12631]
16725 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
16726
81a5726b
AS
167272011-03-30 Andreas Schwab <schwab@redhat.com>
16728
16729 * misc/syncfs.c: New file.
16730 * misc/Makefile (routines): Add syncfs.
16731 * posix/unistd.h: Declare syncfs.
16732 * sysdeps/unix/syscalls.list: Add syncfs.
16733
00e5419f
AS
167342011-04-01 Andreas Schwab <schwab@redhat.com>
16735
16736 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
16737 open_by_handle_at.
16738 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
16739 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
16740 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16741 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
16742 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16743 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
16744 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
16745
748876bf
UD
167462011-04-01 Ulrich Drepper <drepper@gmail.com>
16747
658e451d
UD
16748 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
16749 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
16750 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
16751 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16752 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
16753 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16754 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
16755
748876bf
UD
16756 * io/Makefile: Compile fallocate.c, fallocate64.c, and
16757 sync_file_range.c with -fexceptions.
16758 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
16759 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
16760 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
16761 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
16762 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
16763 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
16764 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
16765 sync_file_range as cancellation point
16766 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
16767 now a wrapper around __call_sync_file_range with cancellation handling.
16768 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
16769 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
16770 function name to __call_sync_file_range.
16771 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
16772 Add call_sync_file_range.
748876bf 16773
6e63d5e1
AS
167742011-04-01 Andreas Schwab <schwab@redhat.com>
16775
16776 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 16777 bits/timex.h.
6e63d5e1 16778
46998f74
UD
167792011-04-01 Ulrich Drepper <drepper@gmail.com>
16780
4c1423ed
UD
16781 * iconv/iconv.h: Fix typo in comment.
16782 * io/fcntl.h: Likewise.
16783 * libio/stdio.h: Likewise.
16784 * posix/spawn.h: Likewise.
16785 * posix/unistd.h: Likewise.
16786 * stdlib/stdlib.h: Likewise.
16787 * time/time.h: Likewise.
16788 * wcsmbs/wchar.h: Likewise.
16789
158648c0
UD
16790 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
16791 open_by_handle): Add.
16792 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
16793 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
16794 Augment a few comments.
16795 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
16796 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16797 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
16798 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16799 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
16800 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
16801 open_by_handle.
16802
46998f74
UD
16803 * io/fcntl.h (AT_EMPTY_PATH): Define.
16804
83fe108b
UD
168052011-03-30 Ulrich Drepper <drepper@gmail.com>
16806
16807 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
16808 * sysdeps/unix/sysv/linux/bits/time.h: New file.
16809 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
16810 to...
16811 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
16812 * Versions.def: Add GLIBC_2.14.
16813 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
16814 Export.
83fe108b 16815
bb242059
UD
168162011-03-22 Ulrich Drepper <drepper@gmail.com>
16817
16818 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
16819 round counter.
16820 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
16821
c97a1282
L
168222011-03-20 H.J. Lu <hongjiu.lu@intel.com>
16823
16824 [BZ #12597]
16825 * string/test-strncmp.c (do_page_test): New function.
16826 (check2): Likewise.
16827 (test_main): Call check2.
16828 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
16829
2a115601
UD
168302011-03-20 Ulrich Drepper <drepper@gmail.com>
16831
16832 [BZ #12587]
16833 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
16834 Handle cache information in CPU leaf 4.
16835 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
16836
8126d904
UD
168372011-03-18 Ulrich Drepper <drepper@gmail.com>
16838
042c49c6 16839 [BZ #12583]
8126d904
UD
16840 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
16841 character representation.
16842 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
16843
ccfe366e
RA
168442011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
16845
16846 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
16847 END(__isnan) to END(__isnanf) to match function entry point/label
16848 EALIGN(__isnanf,...).
16849
c6e13027
JJ
168502011-03-10 Jakub Jelinek <jakub@redhat.com>
16851
16852 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
16853
33f85a3f
UD
168542011-03-10 Ulrich Drepper <drepper@gmail.com>
16855
028478fa
UD
16856 [BZ #12510]
16857 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
16858 copy from the symbol referenced in the relocation to initialize the
16859 used variable.
16860 Patch by Piotr Bury <pbury@goahead.com>.
16861 * elf/Makefile: Add rules to build and tst-unique3.
16862 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
16863 * elf/tst-unique3.cc: New file.
16864 * elf/tst-unique3.h: New file.
16865 * elf/tst-unique3lib.cc: New file.
16866 * elf/tst-unique3lib2.cc: New file.
16867
33f85a3f
UD
16868 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
16869
03592fc7
MF
168702011-03-10 Mike Frysinger <vapier@gentoo.org>
16871
16872 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
16873 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
16874 to _start.
03592fc7 16875
6a5ee102
UD
168762011-03-06 Ulrich Drepper <drepper@gmail.com>
16877
16878 * elf/dl-load.c (_dl_map_object): If we are looking for the first
16879 to-be-loaded object along a path to loader is ld.so.
16880
7e4ba49c
HJ
168812011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
16882 Ulrich Drepper <drepper@gmail.com>
16883
16884 * sysdeps/x86_64/memset.S: After aligning destination, code
16885 branches to different locations depending on the value of
16886 misalignment, when multiarch is enabled. Fix this.
16887
168882011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
16889
16890 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
16891 Set _x86_64_preferred_memory_instruction for AMD processsors.
16892 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16893 Set bit_Prefer_SSE_for_memop for AMD processors.
16894
13a804de
UD
168952011-03-04 Ulrich Drepper <drepper@gmail.com>
16896
16897 * libio/fmemopen.c (fmemopen): Optimize a bit.
16898
9d25c392
AS
168992011-03-03 Andreas Schwab <schwab@redhat.com>
16900
16901 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
16902
a5543c6a
RM
169032011-03-03 Roland McGrath <roland@redhat.com>
16904
16905 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
16906
012d35f7
DM
169072011-02-28 Aurelien Jarno <aurelien@aurel32.net>
16908
7e4ba49c 16909 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
16910 __bzero_ultra1 instead of __memset_ultra1.
16911
4bff6e01
AS
169122011-02-23 Andreas Schwab <schwab@redhat.com>
16913 Ulrich Drepper <drepper@gmail.com>
16914
16915 [BZ #12509]
16916 * include/link.h (struct link_map): Add l_orig_initfini.
16917 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
16918 returning unsuccessfully.
16919 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
16920 close of a file loaded at startup, restore the original l_initfini
16921 list.
16922 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
16923 list, store the pointer.
16924 * elf/Makefile ($(objpfx)noload-mem): New rule.
16925 (noload-ENV): Define.
16926 (tests): Add $(objpfx)noload-mem.
16927 * elf/noload.c: Include <memcheck.h>.
16928 (main): Call mtrace. Close all opened handles.
16929
f2092faf
AS
169302011-02-17 Andreas Schwab <schwab@redhat.com>
16931
16932 [BZ #12454]
16933 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
16934 dependencies are missing.
16935
6c8a2e88
ST
169362011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
16937
f2092faf 16938 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
16939 Hurd needs munmap.
16940 * sysdeps/mach/hurd/ifreq.h: New file.
16941
84a42118
PB
169422011-01-27 Petr Baudis <pasky@suse.cz>
16943 Ulrich Drepper <drepper@gmail.com>
16944
071f805e 16945 [BZ 12445]#
84a42118
PB
16946 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
16947 to extend_alloca().
16948 * stdio-common/bug23.c: New file.
16949 * stdio-common/Makefile (tests): Add bug23.
16950
e23fe25b
AS
169512010-09-28 Andreas Schwab <schwab@redhat.com>
16952 Ulrich Drepper <drepper@gmail.com>
16953
16954 [BZ #12489]
16955 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
16956 before performing relro protection. At old place add assertion
16957 to make sure nothing changed.
16958
d3f02e10
NS
169592011-02-17 Nathan Sidwell <nathan@codesourcery.com>
16960 Glauber de Oliveira Costa <glommer@gmail.com>
16961
16962 * elf/elf.h: Add new ARM TLS relocs.
16963
d55fd7a5
RA
169642011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
16965
16966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
16967 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
16968 cast from r3.
16969 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
16970 'tests' variable.
16971 * sysdeps/wordsize-64/tst-writev.c: New file.
16972
2206397e
RA
169732011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
16974
16975 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
16976 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
16977 insns in _dl_start to prevent a TOC reference before relocs are
16978 resolved.
16979
e9433893
UD
169802011-02-15 Ulrich Drepper <drepper@gmail.com>
16981
16982 [BZ #12469]
16983 * Makeconfig: Remove RANLIB definition.
16984 * Makerules: Don't use RANLIB.
16985 * aclocal.m4: Remove ranlib test.
16986 * configure.in: No need to check for ranlib.
16987 * elf/rtld-Rules: Don't use RANLIB.
16988
f75286c6
ST
169892011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
16990
8e31c82d
ST
16991 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
16992 protection macro.
16993 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
16994 inclusion protection macro.
16995
f75286c6
ST
16996 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
16997 SIGRTMIN and SIGRTMAX and print information in that case only when
16998 SIGRTMIN is defined.
16999
c1d0e639
JJ
170002011-02-11 Jakub Jelinek <jakub@redhat.com>
17001
17002 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
17003 arginfo fn returning -1.
17004
17005 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
17006 and thousands string is zero terminated.
17007
edf9294e
AS
170082011-02-03 Andreas Schwab <schwab@redhat.com>
17009
17010 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
17011 sysdeps/unix/sysv/linux/bits/socket.h.
17012
2b7e92df
ST
170132011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
17014
edf9294e
AS
17015 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
17016 (__CPU_COUNT): Remove old macros.
17017 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
17018 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
17019 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
17020 (__sched_cpualloc, __sched_cpufree): Add declarations.
17021
a4c7ea7b
UD
170222011-02-05 Ulrich Drepper <drepper@gmail.com>
17023
17024 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
17025 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
17026 * nscd/aicache.c (addhstaiX): Return timeout of added value.
17027 (readdhstai): Return value of addhstaiX call.
17028 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
17029 (addgrbyX): Return value returned by cache_addgr.
17030 (readdgrbyname): Return value returned by addgrbyX.
17031 (readdgrbygid): Likewise.
17032 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
17033 (addpwbyX): Return value returned by cache_addpw.
17034 (readdpwbyname): Return value returned by addhstbyX.
17035 (readdpwbyuid): Likewise.
17036 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
17037 (addservbyX): Return value returned by cache_addserv.
17038 (readdservbyname): Return value returned by addservbyX:
17039 (readdservbyport): Likewise.
17040 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
17041 (addhstbyX): Return value returned by cache_addhst.
17042 (readdhstbyname): Return value returned by addhstbyX.
17043 (readdhstbyaddr): Likewise.
17044 (readdhstbynamev6): Likewise.
17045 (readdhstbyaddrv6): Likewise.
17046 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
17047 (readdinitgroups): Return value returned by addinitgroupsX.
17048 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
17049 (prune_cache): Keep track of timeout value of re-added entries.
17050 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
17051 * nscd/nscd.h: Adjust prototypes of readd* functions.
17052
a0bf67cc
RM
170532011-02-04 Roland McGrath <roland@redhat.com>
17054
17055 * nis/nis_server.c (nis_servstate): Use the right name for 0.
17056 (nis_stats): Likewise.
17057 * nis/nis_modify.c (nis_modify): Likewise.
17058 * nis/nis_remove.c (nis_remove): Likewise.
17059 * nis/nis_add.c (nis_add): Likewise.
17060
17061 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
17062
17063 * posix/fnmatch_loop.c: Add some consts.
17064
17065 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
17066
435b95eb
L
170672011-02-02 H.J. Lu <hongjiu.lu@intel.com>
17068
17069 [BZ #12460]
17070 * config.make.in (config-cflags-novzeroupper): Define.
17071 * configure.in: Substitute libc_cv_cc_novzeroupper.
17072 * elf/Makefile (AVX-CFLAGS): Define.
17073 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
17074 (CFLAGS-tst-auditmod4a.c): Likewise.
17075 (CFLAGS-tst-auditmod4b.c): Likewise.
17076 (CFLAGS-tst-auditmod6b.c): Likewise.
17077 (CFLAGS-tst-auditmod6c.c): Likewise.
17078 (CFLAGS-tst-auditmod7b.c): Likewise.
17079 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
17080
8517b15e
UD
170812011-02-02 Ulrich Drepper <drepper@gmail.com>
17082
17083 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
17084 function to the callback.
17085 Patch partly by Jiri Olsa <jolsa@redhat.com>.
17086
10a656fe
AS
170872011-02-02 Andreas Schwab <schwab@redhat.com>
17088
17089 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
17090 of errno.
17091
968dad0a
UD
170922011-01-19 Ulrich Drepper <drepper@gmail.com>
17093
9f94d2ea 17094 [BZ #11724]
968dad0a
UD
17095 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
17096 of constructors.
17097 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
17098 of destructors.
17099 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
17100
17101 [BZ #11724]
17102 * elf/Makefile: Add rules to build and run new test.
17103 * elf/tst-initorder.c: New file.
17104 * elf/tst-initorder.exp: New file.
17105 * elf/tst-initordera1.c: New file.
17106 * elf/tst-initordera2.c: New file.
17107 * elf/tst-initordera3.c: New file.
17108 * elf/tst-initordera4.c: New file.
17109 * elf/tst-initorderb1.c: New file.
17110 * elf/tst-initorderb2.c: New file.
17111 * elf/tst-order-a1.c: New file.
17112 * elf/tst-order-a2.c: New file.
17113 * elf/tst-order-a3.c: New file.
17114 * elf/tst-order-a4.c: New file.
17115 * elf/tst-order-b1.c: New file.
17116 * elf/tst-order-b2.c: New file.
17117 * elf/tst-order-main.c: New file.
17118 New test case by George Gensure <werkt0@gmail.com>.
17119
86e92359
UD
171202010-10-01 Andreas Schwab <schwab@redhat.com>
17121
17122 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
17123 decoding ACE if AI_CANONIDN.
17124
5d5732b0
UD
171252011-01-18 Ulrich Drepper <drepper@gmail.com>
17126
17127 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
17128
a77e8cbc
UD
171292011-01-17 Ulrich Drepper <drepper@gmail.com>
17130
6392473f
UD
17131 * version.h (RELEASE): Bump for 2.13 release.
17132 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
17133
620a0529
UD
17134 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
17135
18ba70a5
UD
17136 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
17137 MADV_NOHUGEPAGE.
32465c3e
UD
17138 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
17139 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
17140 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
17141 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
17142 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
17143 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
17144
c0dafcf1
UD
17145 * posix/getconf.c: Update copyright year.
17146 * catgets/gencat.c: Likewise.
17147 * csu/version.c: Likewise.
17148 * debug/catchsegv.sh: Likewise.
17149 * debug/xtrace.sh: Likewise.
17150 * elf/ldconfig.c: Likewise.
17151 * elf/ldd.bash.in: Likewise.
17152 * elf/sprof.c (print_version): Likewise.
17153 * iconv/iconv_prog.c: Likewise.
17154 * iconv/iconvconfig.c: Likewise.
17155 * locale/programs/locale.c: Likewise.
17156 * locale/programs/localedef.c: Likewise.
17157 * malloc/memusage.sh: Likewise.
17158 * malloc/mtrace.pl: Likewise.
17159 * nscd/nscd.c (print_version): Likewise.
17160 * nss/getent.c: Likewise.
17161
a77e8cbc
UD
17162 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
17163 PF_CAIF, and PF_ALG.
17164 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
17165
77e8bddf
AS
171662011-01-16 Andreas Schwab <schwab@linux-m68k.org>
17167
1f20b93a
AS
17168 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
17169 (modules-names): Use them.
17170 (ifunc-test-modules, ifunc-pie-tests): Define.
17171 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
17172 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
17173 (test-extras): Likewise.
17174 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
17175 $(compile-command.c).
17176 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
17177 (all-built-dso): Define.
17178 (check-textrel.out, check-execstack.out): Depend on it.
17179
77e8bddf
AS
17180 * configure.in: Don't override --enable-multi-arch.
17181
bc425b33
UD
171822011-01-15 Ulrich Drepper <drepper@gmail.com>
17183
17184 [BZ #6812]
17185 * nscd/hstcache.c (tryagain): Define.
17186 (cache_addhst): Return tryagain not notfound for temporary errors.
17187 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
17188 failed.
17189
794c3ad3
UD
171902011-01-14 Ulrich Drepper <drepper@gmail.com>
17191
70181fdd
UD
17192 [BZ #10563]
17193 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
17194 to make the syscall.
17195 * sysdeps/unix/sysv/linux/setgroups.c: New file.
17196
794c3ad3
UD
17197 [BZ #12378]
17198 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
17199 and fall back to matching as normal character if the string ends before
17200 the matching ']' is found. This is what POSIX requires.
17201 * posix/testfnm.c: Adjust test result.
17202 * posix/globtest.sh: Adjust test result. Add new test.
17203 * posix/tst-fnmatch.input: Likewise.
17204 * posix/tst-fnmatch2.c: Add new test.
17205
68dc9497
AS
172062010-12-28 Andreas Schwab <schwab@linux-m68k.org>
17207
17208 * elf/Makefile (check-execstack): Revert last change. Depend on
17209 check-execstack.h.
17210 (check-execstack.h): New target.
17211 (generated): Add check-execstack.h.
17212 * elf/check-execstack.c: Include "check-execstack.h".
17213 (main): Revert last change.
17214 (handle_file): Return zero if GNU_STACK is absent and
17215 DEFAULT_STACK_PERMS doesn't include PF_X.
17216
451f001b
UD
172172011-01-13 Ulrich Drepper <drepper@gmail.com>
17218
cfa28e56
UD
17219 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
17220 in child fails because the descriptor is already closed.
8cf8ce17
UD
17221 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
17222 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
17223 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 17224
1086d70d
UD
17225 [BZ #12397]
17226 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
17227 syscall.
17228
451f001b
UD
17229 [BZ #10484]
17230 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
17231 temporary buffer used to handle multi lookups locally.
a85b5cb4 17232 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 17233
08769175
UD
172342011-01-12 Ulrich Drepper <drepper@gmail.com>
17235
17236 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
17237 loader is ld.so.
17238
5e49c52e
UD
172392011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
17240
17241 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
17242 alignment for SSE2.
17243
60522a5f
UD
172442011-01-12 Ulrich Drepper <drepper@gmail.com>
17245
17246 [BZ #12394]
17247 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
17248 characters. When rounding increased number of integer digits recompute
17249 number of groups.
17250 * stdio-common/tst-grouping.c: New file.
17251 * stdio-common/Makefile: Add rules to build and run tst-grouping.
17252
f257bbd7
UD
172532011-01-09 Ulrich Drepper <drepper@gmail.com>
17254
17255 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
17256 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
17257
17258 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
17259 void.
17260 * bits/select.h: Likewise.
17261
fa9c15cb
UD
172622011-01-08 Ulrich Drepper <drepper@gmail.com>
17263
17264 * po/ja.po: Update from translation team.
17265
16c2895f
DM
172662011-01-04 David S. Miller <davem@sunset.davemloft.net>
17267
17268 [BZ #11155]
17269 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
17270 implementation just like for lxstat, fxstatat, et al.
17271
2543fef2
JM
172722010-12-27 Jim Meyering <meyering@redhat.com>
17273
17274 [BZ #12348]
17275 * posix/regexec.c (build_trtable): Return failure indication upon
17276 calloc failure. Otherwise, re_search_internal could infloop on OOM.
17277
98727dbe
UD
172782010-12-25 Ulrich Drepper <drepper@gmail.com>
17279
5bd6dc5c
UD
17280 [BZ #12201]
17281 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
17282 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
17283 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
17284 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
17285
97983464
UD
17286 [BZ #12207]
17287 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
17288
98727dbe
UD
17289 [BZ #12204]
17290 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
17291 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
17292
4a531bb0
L
172932010-12-15 H.J. Lu <hongjiu.lu@intel.com>
17294
17295 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
17296 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
17297 script has SORT_BY_INIT_PRIORITY.
17298 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
17299 NO_CTORS_DTORS_SECTIONS is defined.
17300 * elf/soinit.c: Likewise.
17301 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
17302 NO_CTORS_DTORS_SECTIONS is defined.
17303 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
17304 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
17305 * sysdeps/sh/init-first.c: Likewise.
17306 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
17307
07eb4b71
UD
173082010-12-24 Ulrich Drepper <drepper@gmail.com>
17309
17310 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
17311 always use the slow path.
17312
30950a5f
RA
173132010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
17314
17315 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
17316 similar rule which adds the sysdep directories to the header search in
17317 order to pick up the correct platform stackinfo.h.
17318 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
17319 perform test if it is, otherwise return successfully without testing.
17320 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
17321 DEFAULT_STACK_PERMS define in stackinfo.h.
17322 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
17323 defined in stackinfo.h.
17324 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
17325 DEFAULT_STACK_PERMS defined in stackinfo.h.
17326 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
17327 * sysdeps/ia64/stackinfo.h: Likewise.
17328 * sysdeps/s390/stackinfo.h: Likewise.
17329 * sysdeps/sh/stackinfo.h: Likewise.
17330 * sysdeps/sparc/stackinfo.h: Likewise.
17331 * sysdeps/x86_64/stackinfo.h: Likewise.
17332 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
17333 PF_X for powerpc64. Retain PF_X for powerpc32.
17334
db753e2c
UD
173352010-12-19 Ulrich Drepper <drepper@gmail.com>
17336
14b697f7
UD
17337 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
17338 accurately.
db753e2c
UD
17339 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
17340 GETDENTS_64BIT_ALIGNED.
17341
28300719
UD
173422010-12-14 Ulrich Drepper <dreper@gmail.com>
17343
14b697f7 17344 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 17345
4f197237
AS
173462010-12-10 Andreas Schwab <schwab@redhat.com>
17347
dbb0472f
AS
17348 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
17349 _GNU_SOURCE.
17350
4f197237
AS
17351 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
17352 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
17353 Remove __restrict.
17354 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
17355 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
17356
fb88ac72
UD
173572010-12-09 Ulrich Drepper <drepper@gmail.com>
17358
17359 [BZ #11655]
17360 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
17361 are initialized.
17362
42acbb92
JJ
173632010-12-09 Jakub Jelinek <jakub@redhat.com>
17364
17365 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
17366
c038d98d
UD
173672010-12-03 Ulrich Drepper <drepper@gmail.com>
17368
17369 * po/it.po: Update from translation team.
17370
3a4a2499
L
173712010-12-01 H.J. Lu <hongjiu.lu@intel.com>
17372
17373 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
17374 unused codes.
17375
1e24cf6e
UD
173762010-11-30 Ulrich Drepper <drepper@gmail.com>
17377
17378 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
17379
a7690819
AS
173802010-11-24 Andreas Schwab <schwab@redhat.com>
17381
17382 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
17383 specially.
17384 (gaih_getanswer_slice): Likewise.
17385
3bf8d1b1
JJ
173862010-10-20 Jakub Jelinek <jakub@redhat.com>
17387
17388 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
17389
6db52fbb
PB
173902010-05-31 Petr Baudis <pasky@suse.cz>
17391
17392 [BZ #11149]
17393 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
17394 silently even in the chroot mode.
17395
eaca7569
UD
173962010-11-22 Ulrich Drepper <drepper@gmail.com>
17397
17398 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
17399 last patch a bit. Pretty printing
17400
3056dcdb
UD
174012010-05-31 Petr Baudis <pasky@suse.cz>
17402
17403 [BZ #10085]
17404 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
17405 initialization of skip_initgroups_dyn.
17406
cf7c9078
UD
174072010-11-19 Ulrich Drepper <drepper@gmail.com>
17408
17409 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
17410 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
17411
a1fb5e3e
UD
174122010-11-16 Ulrich Drepper <drepper@gmail.com>
17413
17414 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
17415
3540d66b
AS
174162010-11-11 Andreas Schwab <schwab@redhat.com>
17417
17418 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
17419 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
17420 (tst-fnmatch-ENV): Set MALLOC_TRACE.
17421 ($(objpfx)tst-fnmatch-mem): New rule.
17422 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
17423 * posix/tst-fnmatch.c (main): Call mtrace.
17424
13b69574
L
174252010-11-11 H.J. Lu <hongjiu.lu@intel.com>
17426
17427 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17428 Support Intel processor model 6 and model 0x2c.
17429
da93d214
LM
174302010-11-10 Luis Machado <luisgpm@br.ibm.com>
17431
17432 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
17433 signed comparison.
17434
8ca52c6e
L
174352010-11-09 H.J. Lu <hongjiu.lu@intel.com>
17436
17437 [BZ #12205]
17438 * string/test-strncasecmp.c (check_result): New function.
17439 (do_one_test): Use it.
17440 (check1): New function.
17441 (test_main): Use it.
17442 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
17443 Support strcasecmp and strncasecmp.
17444
69da074d
UD
174452010-11-08 Ulrich Drepper <drepper@gmail.com>
17446
17447 [BZ #12194]
17448 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
17449 * sysdeps/x86_64/bits/byteswap.h: Likewise.
17450
ff02d528
L
174512010-11-07 H.J. Lu <hongjiu.lu@intel.com>
17452
17453 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
17454 IFUNC support.
17455 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17456 memset-x86-64.
17457 * sysdeps/x86_64/multiarch/bzero.S: New file.
17458 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
17459 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
17460 * sysdeps/x86_64/multiarch/memset.S: New file.
17461 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
17462 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17463 Set bit_Prefer_SSE_for_memop for Intel processors.
17464 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
17465 Define.
17466 (index_Prefer_SSE_for_memop): Define.
17467 (HAS_PREFER_SSE_FOR_MEMOP): Define.
17468
344d0b54
LM
174692010-11-04 Luis Machado <luisgpm@br.ibm.com>
17470
17471 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
17472 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
17473
c0dde15b
UD
174742010-11-03 H.J. Lu <hongjiu.lu@intel.com>
17475
17476 [BZ #12191]
17477 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
17478 (__x86_64_raw_data_cache_size_half): Likewise.
17479 (__x86_64_raw_shared_cache_size): Likewise.
17480 (__x86_64_raw_shared_cache_size_half): Likewise.
17481
17482 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
17483 (__x86_64_raw_data_cache_size_half): Likewise.
17484 (__x86_64_raw_shared_cache_size): Likewise.
17485 (__x86_64_raw_shared_cache_size_half): Likewise.
17486 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
17487 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
17488 and __x86_64_raw_shared_cache_size_half. Round
17489 __x86_64_data_cache_size_half, __x86_64_data_cache_size
17490 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
17491 to multiple of 256 bytes.
17492
0e516e0e
MS
174932010-11-03 Ulrich Drepper <drepper@gmail.com>
17494
17495 [BZ #12167]
17496 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
17497 of inacessible symlinks. Verify result of symlink before returning it.
17498 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
17499 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
17500
0e012e87
ER
175012010-10-28 Erich Ritz <erichritz@gmail.com>
17502
17503 * math/math.h (isinf): Fix typo in comment.
17504
de0ff7bc
UD
175052010-11-01 Ulrich Drepper <drepper@gmail.com>
17506
17507 * po/da.po: Update from translation team.
17508
fa41c84d
UD
175092010-10-26 Ulrich Drepper <drepper@gmail.com>
17510
17511 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
17512 is added to the list.
17513
f0967738
AK
175142010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17515 Ulrich Drepper <drepper@gmail.com>
17516
17517 * elf/dl-object.c (_dl_new_object): Don't append the new object to
17518 the global list here. Move code to...
17519 (_dl_add_to_namespace_list): ...here. New function.
17520 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
17521 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
17522 * elf/dl-load.c (lose): Don't remove the element from the list.
17523 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
17524 (_dl_map_object): Likewise.
17525
175262010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
17527
17528 [BZ #12159]
17529 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
17530 into all bytes of SSE register.
17531 Patch by Richard Li <richardpku@gmail.com>.
17532
f0967738 175332010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
17534
17535 [BZ #12140]
17536 * malloc/malloc.c (_int_free): Fill correct number of bytes when
17537 perturbing.
17538
d0b9e94f
MB
175392010-10-20 Michael B. Brutman <brutman@us.ibm.com>
17540
17541 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
17542 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
17543 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
17544 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
17545 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
17546 submachine.
17547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
17548
8e9f92e9
AS
175492010-10-22 Andreas Schwab <schwab@redhat.com>
17550
17551 * include/dlfcn.h (__RTLD_SECURE): Define.
17552 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
17553 mode & __RTLD_SECURE instead.
17554 (open_path): Rename preloaded parameter to secure.
17555 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
17556 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
17557 * elf/dl-deps.c (openaux): Likewise.
17558 * elf/rtld.c (struct map_args): Remove is_preloaded.
17559 (map_doit): Don't use it.
17560 (dl_main): Likewise.
17561 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
17562 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
17563
bc96fbda
AS
175642010-09-09 Andreas Schwab <schwab@redhat.com>
17565
17566 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
17567 (sysd-rules-targets): Remove duplicates.
17568 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
17569 rtld-%.$o dependency.
17570
22cd1c9b
AS
175712010-10-18 Andreas Schwab <schwab@redhat.com>
17572
17573 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
17574 _dl_map_object do it.
17575
18edac48
UD
175762010-10-19 Ulrich Drepper <drepper@gmail.com>
17577
17578 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
17579 fast fma builtins, define the macros in the C99 standard.
17580 (FP_FAST_FMAF): Likewise.
17581 (FP_FAST_FMAL): Likewise.
17582 * sysdeps/x86_64/bits/mathdef.h: Likewise.
17583
17584 * bits/mathdef.h: Update copyright year.
17585 * sysdeps/powerpc/bits/mathdef.h: Likewise.
17586
d2050124
MM
175872010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
17588
17589 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
17590 builtins, define the macros in the C99 standard.
17591 (FP_FAST_FMAF): Likewise.
17592 (FP_FAST_FMAL): Likewise.
17593 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
17594 multiply/add.
17595 (FP_FAST_FMAF): Likewise.
17596
475facd1
JJ
175972010-10-15 Jakub Jelinek <jakub@redhat.com>
17598
17599 [BZ #3268]
17600 * math/libm-test.inc (fma_test): Some new testcases.
17601 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
17602 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
17603 y and infinite z. Do multiplication by C already in long double.
17604 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
17605 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
17606 y and infinite z. Do bitwise or of inexact bit into u.d.
17607 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
17608 * sysdeps/i386/fpu/s_fmaf.S: Removed.
17609 * sysdeps/i386/fpu/s_fma.S: Removed.
17610 * sysdeps/i386/fpu/s_fmal.S: Removed.
17611
7c08a05c
JJ
176122010-10-16 Jakub Jelinek <jakub@redhat.com>
17613
17614 [BZ #3268]
17615 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
17616 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
17617 computation is not scheduled after fetestexcept. Fix value
17618 of minimum denormal long double.
17619
f3f7372d
JJ
176202010-10-14 Jakub Jelinek <jakub@redhat.com>
17621
17622 [BZ #3268]
17623 * math/libm-test.inc (fma_test): Add some more tests.
17624 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
17625 correctly.
17626
14d43591
AS
176272010-10-15 Andreas Schwab <schwab@redhat.com>
17628
17629 * scripts/data/localplt-s390-linux-gnu.data: New file.
17630 * scripts/data/localplt-s390x-linux-gnu.data: New file.
17631
5e908464
JJ
176322010-10-13 Jakub Jelinek <jakub@redhat.com>
17633
17634 [BZ #3268]
17635 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
17636 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
17637 instead of dbl-64.
17638 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
17639 inlines.
17640 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
17641 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
17642 if one of x and y is very large and the other is subnormal.
17643 * sysdeps/s390/fpu/s_fmaf.c: New file.
17644 * sysdeps/s390/fpu/s_fma.c: New file.
17645 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
17646 * sysdeps/powerpc/fpu/s_fma.S: New file.
17647 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
17648 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
17649 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
17650
176512010-10-12 Jakub Jelinek <jakub@redhat.com>
17652
17653 [BZ #3268]
17654 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
17655 fma tests.
17656 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
17657 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
17658 * sysdeps/i386/i686/multiarch/s_fma.c: Include
17659 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
17660 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
17661 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
17662 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
17663
b833d51f
UD
176642010-10-12 Ulrich Drepper <drepper@redhat.com>
17665
17666 [BZ #12078]
17667 * posix/regcomp.c (parse_branch): One more memory leak plugged.
17668 * posix/bug-regex31.input: Add test case.
17669
1751705d
UD
176702010-10-11 Ulrich Drepper <drepper@gmail.com>
17671
e9b9cbf5
UD
17672 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
17673 * posix/bug-regex31.input: New file.
17674
17675 [BZ #12078]
17676 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
17677 (parse_sub_exp): Fix last change, use postorder.
17678
ef06edbe
UD
17679 * posix/bug-regex31.c: New file.
17680 * posix/Makefile: Add rules to build and run bug-regex31.
17681
a129c80d
UD
17682 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
17683
17684 [BZ #12078]
17685 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
17686
b76b818e
UD
17687 [BZ #12108]
17688 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
17689 to have entries in sys_siglist.
17690
1751705d
UD
17691 [BZ #12093]
17692 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
17693 be NULL.
17694
9ff8d36f
JJ
176952010-10-07 Jakub Jelinek <jakub@redhat.com>
17696
17697 [BZ #3268]
17698 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
17699 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
17700 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
17701 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
17702 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
17703 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
17704 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
17705 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
17706 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
17707 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
17708 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
17709 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
17710 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
17711 * math/ftestexcept.c (fetestexcept): Likewise.
17712 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
17713 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
17714 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
17715 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
17716 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
17717 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
17718 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
17719
af325969
UD
177202010-10-11 Ulrich Drepper <drepper@gmail.com>
17721
c579b202 17722 [BZ #12107]
af325969
UD
17723 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
17724 newline.
17725
67a67b95
UD
177262010-10-06 Ulrich Drepper <drepper@gmail.com>
17727
17728 * string/bug-strstr1.c: New file.
17729 * string/Makefile: Add rules to build and run bug-strstr1.
17730
5fb308bc
EB
177312010-10-05 Eric Blake <eblake@redhat.com>
17732
17733 [BZ #12092]
17734 * string/str-two-way.h (two_way_long_needle): Always clear memory
17735 when skipping input due to the shift table.
17736
45db99c7
UD
177372010-10-03 Ulrich Drepper <drepper@gmail.com>
17738
3b111893
UD
17739 [BZ #12005]
17740 * malloc/mcheck.c: Handle large requests.
17741
45db99c7
UD
17742 [BZ #12077]
17743 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
17744 for strncmp and strncasecmp.
17745 * string/stratcliff.c: Add tests for strcmp and strncmp.
17746 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
17747
cf7a1eb8
NI
177482010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17749
17750 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
17751 __set_fpscr.
17752
6484ba5e
AJ
177532010-09-30 Andreas Jaeger <aj@suse.de>
17754
17755 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
17756 (CGROUP_SUPER_MAGIC): Define.
17757 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
17758 Handle btrfs and cgroup file systems.
17759 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
17760 Likewise.
17761
91c42559
LM
177622010-09-27 Luis Machado <luisgpm@br.ibm.com>
17763
17764 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
17765 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
17766
87a97932
AK
177672010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17768
17769 [BZ #12067]
17770 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
17771 trying to locate the ELF header.
17772
c21cc9bc
AS
177732010-09-27 Andreas Schwab <schwab@redhat.com>
17774
17775 [BZ #11611]
17776 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
17777 Mask out sign-bit copies when constructing f_fsid.
17778
315970f6
PB
177792010-09-24 Petr Baudis <pasky@suse.cz>
17780
17781 * debug/stack_chk_fail_local.c: Add missing licence exception.
17782 * debug/warning-nop.c: Likewise.
17783
1ac7a2c7
JM
177842010-09-15 Joseph Myers <joseph@codesourcery.com>
17785
17786 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
17787 implementing getdents64 using getdents syscall, set d_type if
17788 __ASSUME_GETDENTS32_D_TYPE.
17789
56801c50
AS
177902010-09-16 Andreas Schwab <schwab@redhat.com>
17791
17792 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
17793 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
17794
dda51327
UD
177952010-09-21 Ulrich Drepper <drepper@redhat.com>
17796
17797 [BZ #12037]
17798 * posix/unistd.h: Undo change of feature selection for ftruncate from
17799 2010-01-11.
17800
8ffcee4a
UD
178012010-09-20 Ulrich Drepper <drepper@redhat.com>
17802
a545ecd9 17803 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
17804 detection.
17805
e24f0a8b
AS
178062010-09-20 Andreas Schwab <schwab@redhat.com>
17807
17808 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
17809 fanotify_mark.
17810 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
17811
7291c56f
AS
178122010-09-14 Andreas Schwab <schwab@redhat.com>
17813
17814 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
17815 variables after CHECK_SP call.
17816 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
17817
bc5fb037
AS
178182010-09-13 Andreas Schwab <schwab@redhat.com>
17819 Ulrich Drepper <drepper@redhat.com>
17820
17821 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
17822 re-relocationg ld.so.
17823 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
17824 _dl_init_paths call.
17825 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
17826 here anymore.
17827
e66e7419
UD
178282010-09-14 Ulrich Drepper <drepper@redhat.com>
17829
17830 * resolv/res_init.c (__res_vinit): Count the default server we added.
17831
c044aa75
CLT
178322010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
17833 Ulrich Drepper <drepper@redhat.com>
17834
17835 [BZ #11968]
17836 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
17837 (____longjmp_chk): Use %ebx for saving value across system call.
17838 Add unwind info.
17839
32cf4069
AS
178402010-09-06 Andreas Schwab <schwab@redhat.com>
17841
17842 * manual/Makefile: Don't mix pattern rules with normal rules.
17843
817328ee
AS
178442010-09-05 Andreas Schwab <schwab@linux-m68k.org>
17845
17846 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
17847 operation.
17848 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
17849 * libio/iofopncook.c (_IO_cookie_init): Likewise.
17850 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
17851 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
17852 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
17853 Likewise.
17854
29fddf61
UD
178552010-09-04 Ulrich Drepper <drepper@redhat.com>
17856
17857 [BZ #11979]
17858 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
17859 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
17860
0959ffc9
UD
178612010-09-02 Ulrich Drepper <drepper@redhat.com>
17862
17863 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
17864 * sysdeps/x86_64/addmul_1.S: Likewise.
17865 * sysdeps/x86_64/lshift.S: Likewise.
17866 * sysdeps/x86_64/mul_1.S: Likewise.
17867 * sysdeps/x86_64/rshift.S: Likewise.
17868 * sysdeps/x86_64/sub_n.S: Likewise.
17869 * sysdeps/x86_64/submul_1.S: Likewise.
17870
ece29840
ST
178712010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
17872
0959ffc9
UD
17873 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
17874 Define __sched_param instead of SCHED_* and sched_param when
ece29840 17875 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 17876 * bits/sched.h [__need_schedparam]
ece29840 17877 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
17878 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
17879 (__defined_schedparam): Define to 1.
ece29840
ST
17880 (__sched_param): New structure, identical to sched_param.
17881 (__need_schedparam): Undefine.
17882
e53a31fe
MF
178832010-08-31 Mike Frysinger <vapier@gentoo.org>
17884
fdc0c10d
MF
17885 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
17886 (epoll_create1): Declare.
17887
e53a31fe
MF
17888 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
17889
a726d796
AS
178902010-08-31 Andreas Schwab <schwab@redhat.com>
17891
17892 [BZ #7066]
17893 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
17894 shifting retval into place.
17895
2f3e3dc7
UD
178962010-09-01 Ulrich Drepper <drepper@redhat.com>
17897
f2933da9
UD
17898 * nis/rpcsvc/nis.h: Update copyright notice.
17899 * nis/rpcsvc/nis.x: Likewise.
17900 * nis/rpcsvc/nis_callback.h: Likewise.
17901 * nis/rpcsvc/nis_callback.x: Likewise.
17902 * nis/rpcsvc/nis_object.x: Likewise.
17903 * nis/rpcsvc/nis_tags.h: Likewise.
17904 * nis/rpcsvc/yp.h: Likewise.
17905 * nis/rpcsvc/yp.x: Likewise.
17906 * nis/rpcsvc/ypupd.h: Likewise.
17907 * nis/yp_xdr.c: Likewise.
17908 * nis/ypupdate_xdr.c: Likewise.
17909
2f3e3dc7
UD
17910 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
17911 mainly the body of pmap_getport. Add parameters to specify timeouts.
17912 (pmap_getport): Use __libc_rpc_getport.
17913 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
17914 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
17915 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
17916
f3dcc2f9
AS
179172010-08-31 Andreas Schwab <schwab@linux-m68k.org>
17918
17919 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
17920 fanotify_mark.
17921
6d34eb5b
RM
179222010-08-27 Roland McGrath <roland@redhat.com>
17923
17924 * sysdeps/i386/i686/multiarch/Makefile
17925 (CFLAGS-varshift.c): New variable.
17926
9ea3de11
UD
179272010-08-27 Ulrich Drepper <drepper@redhat.com>
17928
c96d23fc
UD
17929 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
17930 * sysdeps/i386/i686/multiarch/varshift.c: New file.
17931
9ea3de11
UD
17932 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
17933
17934 * sysdeps/x86_64/strlen.S: Minimal code improvement.
17935
623aac7f
L
179362010-08-26 H.J. Lu <hongjiu.lu@intel.com>
17937
17938 * sysdeps/x86_64/strlen.S: Unroll the loop.
17939 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17940 strlen-sse2 strlen-sse2-bsf.
17941 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
17942 __strlen_no_bsf if bit_Slow_BSF is set.
17943 (__strlen_sse42): Removed.
17944 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
17945 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
17946
8b2b7715
RM
179472010-08-25 Roland McGrath <roland@redhat.com>
17948
17949 * sysdeps/x86_64/multiarch/varshift.S: File removed.
17950 * sysdeps/x86_64/multiarch/varshift.c: New file.
17951 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
17952 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
17953 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
17954 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
17955
e73015f2
L
179562010-08-25 H.J. Lu <hongjiu.lu@intel.com>
17957
17958 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17959 strlen-sse2 strlen-sse2-bsf.
17960 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
17961 __strlen_sse2_bsf if bit_Slow_BSF is unset.
17962 (__strlen_sse2): Removed.
17963 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
17964 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
17965 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
17966 bit_Slow_BSF for Atom.
17967 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
17968 (index_Slow_BSF): Define.
17969 (HAS_SLOW_BSF): Define.
17970
df24a73e
UD
179712010-08-25 Ulrich Drepper <drepper@redhat.com>
17972
17973 [BZ #10851]
17974 * resolv/res_init.c (__res_vinit): When no server address at all
17975 is given default to loopback.
17976
f2ac4868
RM
179772010-08-24 Roland McGrath <roland@redhat.com>
17978
09055553
RM
17979 * configure.in: Remove config-name.h generation.
17980 * configure: Regenerated.
17981 * config-name.in: File removed.
17982 * scripts/config-uname.sh: New file.
17983 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
17984 ($(objdir)config-name.h): New target.
17985
f2ac4868
RM
17986 * sunrpc/rpc_parse.h: Avoid nested comment.
17987
73f27d5e
RH
179882010-08-24 Richard Henderson <rth@redhat.com>
17989 Ulrich Drepper <drepper@redhat.com>
17990 H.J. Lu <hongjiu.lu@intel.com>
17991
17992 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
17993 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
17994 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
17995 Replace _mm_srli_si128 with __m128i_shift_right. Replace
17996 _mm_alignr_epi8 with _mm_loadu_si128.
17997 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
17998 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
17999 (__m128i_shift_right): Removed.
18000 * sysdeps/i386/i686/multiarch/varshift.h: New file.
18001 * sysdeps/i386/i686/multiarch/varshift.S: New file.
18002 * sysdeps/x86_64/multiarch/varshift.h: New file.
18003 * sysdeps/x86_64/multiarch/varshift.S: New file.
18004
84b9230c
MF
180052010-08-21 Mike Frysinger <vapier@gentoo.org>
18006
18007 * configure.in: Move assembler checks to before sysdep dir checking.
18008
9bbd0ddc
PB
180092010-08-20 Petr Baudis <pasky@suse.cz>
18010
18011 * LICENSES: Sync the sunrpc license.
18012
9da4bb31
UD
180132010-08-19 Ulrich Drepper <drepper@redhat.com>
18014
a7ab6ec8
UD
18015 * sunrpc/auth_des.c: Update copyright notice once again.
18016 * sunrpc/auth_none.c: Likewise.
18017 * sunrpc/auth_unix.c: Likewise.
18018 * sunrpc/authdes_prot.c: Likewise.
18019 * sunrpc/authuxprot.c: Likewise.
18020 * sunrpc/bindrsvprt.c: Likewise.
18021 * sunrpc/clnt_gen.c: Likewise.
18022 * sunrpc/clnt_perr.c: Likewise.
18023 * sunrpc/clnt_raw.c: Likewise.
18024 * sunrpc/clnt_simp.c: Likewise.
18025 * sunrpc/clnt_tcp.c: Likewise.
18026 * sunrpc/clnt_udp.c: Likewise.
18027 * sunrpc/clnt_unix.c: Likewise.
18028 * sunrpc/des_crypt.c: Likewise.
18029 * sunrpc/des_soft.c: Likewise.
18030 * sunrpc/get_myaddr.c: Likewise.
18031 * sunrpc/getrpcport.c: Likewise.
18032 * sunrpc/key_call.c: Likewise.
18033 * sunrpc/key_prot.c: Likewise.
18034 * sunrpc/openchild.c: Likewise.
18035 * sunrpc/pm_getmaps.c: Likewise.
18036 * sunrpc/pm_getport.c: Likewise.
18037 * sunrpc/pmap_clnt.c: Likewise.
18038 * sunrpc/pmap_prot.c: Likewise.
18039 * sunrpc/pmap_prot2.c: Likewise.
18040 * sunrpc/pmap_rmt.c: Likewise.
18041 * sunrpc/rpc/auth.h: Likewise.
18042 * sunrpc/rpc/auth_unix.h: Likewise.
18043 * sunrpc/rpc/clnt.h: Likewise.
18044 * sunrpc/rpc/des_crypt.h: Likewise.
18045 * sunrpc/rpc/key_prot.h: Likewise.
18046 * sunrpc/rpc/netdb.h: Likewise.
18047 * sunrpc/rpc/pmap_clnt.h: Likewise.
18048 * sunrpc/rpc/pmap_prot.h: Likewise.
18049 * sunrpc/rpc/pmap_rmt.h: Likewise.
18050 * sunrpc/rpc/rpc.h: Likewise.
18051 * sunrpc/rpc/rpc_des.h: Likewise.
18052 * sunrpc/rpc/rpc_msg.h: Likewise.
18053 * sunrpc/rpc/svc.h: Likewise.
18054 * sunrpc/rpc/svc_auth.h: Likewise.
18055 * sunrpc/rpc/types.h: Likewise.
18056 * sunrpc/rpc/xdr.h: Likewise.
18057 * sunrpc/rpc_clntout.c: Likewise.
18058 * sunrpc/rpc_cmsg.c: Likewise.
18059 * sunrpc/rpc_common.c: Likewise.
18060 * sunrpc/rpc_cout.c: Likewise.
18061 * sunrpc/rpc_dtable.c: Likewise.
18062 * sunrpc/rpc_hout.c: Likewise.
18063 * sunrpc/rpc_main.c: Likewise.
18064 * sunrpc/rpc_parse.c: Likewise.
18065 * sunrpc/rpc_parse.h: Likewise.
18066 * sunrpc/rpc_prot.c: Likewise.
18067 * sunrpc/rpc_sample.c: Likewise.
18068 * sunrpc/rpc_scan.c: Likewise.
18069 * sunrpc/rpc_scan.h: Likewise.
18070 * sunrpc/rpc_svcout.c: Likewise.
18071 * sunrpc/rpc_tblout.c: Likewise.
18072 * sunrpc/rpc_util.c: Likewise.
18073 * sunrpc/rpc_util.h: Likewise.
18074 * sunrpc/rpcinfo.c: Likewise.
18075 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
18076 * sunrpc/rpcsvc/key_prot.x: Likewise.
18077 * sunrpc/rpcsvc/klm_prot.x: Likewise.
18078 * sunrpc/rpcsvc/mount.x: Likewise.
18079 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
18080 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
18081 * sunrpc/rpcsvc/rex.x: Likewise.
18082 * sunrpc/rpcsvc/rstat.x: Likewise.
18083 * sunrpc/rpcsvc/rusers.x: Likewise.
18084 * sunrpc/rpcsvc/sm_inter.x: Likewise.
18085 * sunrpc/rpcsvc/spray.x: Likewise.
18086 * sunrpc/rpcsvc/yppasswd.x: Likewise.
18087 * sunrpc/rtime.c: Likewise.
18088 * sunrpc/svc.c: Likewise.
18089 * sunrpc/svc_auth.c: Likewise.
18090 * sunrpc/svc_authux.c: Likewise.
18091 * sunrpc/svc_raw.c: Likewise.
18092 * sunrpc/svc_run.c: Likewise.
18093 * sunrpc/svc_simple.c: Likewise.
18094 * sunrpc/svc_tcp.c: Likewise.
18095 * sunrpc/svc_udp.c: Likewise.
18096 * sunrpc/svc_unix.c: Likewise.
18097 * sunrpc/svcauth_des.c: Likewise.
18098 * sunrpc/xcrypt.c: Likewise.
18099 * sunrpc/xdr.c: Likewise.
18100 * sunrpc/xdr_array.c: Likewise.
18101 * sunrpc/xdr_float.c: Likewise.
18102 * sunrpc/xdr_mem.c: Likewise.
18103 * sunrpc/xdr_rec.c: Likewise.
18104 * sunrpc/xdr_ref.c: Likewise.
18105 * sunrpc/xdr_sizeof.c: Likewise.
18106 * sunrpc/xdr_stdio.c: Likewise.
18107
9da4bb31
UD
18108 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
18109 handling.
18110
bdaa77bc
AS
181112010-08-19 Andreas Schwab <schwab@redhat.com>
18112
18113 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
18114
fe2f79db
LM
181152010-08-19 Luis Machado <luisgpm@br.ibm.com>
18116
18117 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
18118 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
18119 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
18120 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
18121 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
18122 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
18123 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
18124 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
18125 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
18126 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
18127 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
18128 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
18129 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
18130 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
18131
b9b42ee0
AB
181322010-07-26 Anton Blanchard <anton@samba.org>
18133
18134 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
18135 * malloc/arena.c (heap_trim): Likewise.
18136
1c06ba31
UD
181372010-08-16 Ulrich Drepper <drepper@redhat.com>
18138
18139 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
18140 here. Not...
18141 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
18142 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
18143
f8392f40
L
181442010-08-12 H.J. Lu <hongjiu.lu@intel.com>
18145
18146 * sysdeps/i386/elf/Makefile: New file.
18147
3162f12e
AS
181482010-08-14 Andreas Schwab <schwab@linux-m68k.org>
18149
18150 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
18151 from fanotify_init.
18152 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
18153 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
18154
28c90b2c
UD
181552010-08-15 Ulrich Drepper <drepper@redhat.com>
18156
18157 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
18158 of strncasecmp_l.
1feccb6c 18159 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 18160
ca6bb004
UD
181612010-08-14 Ulrich Drepper <drepper@redhat.com>
18162
e9f82e0d
UD
18163 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
18164 strncase_l-nonascii.
18165 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
18166 Add strncase_l-ssse3.
18167 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
18168 * sysdeps/x86_64/strcmp.S: Likewise.
18169 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
18170 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
18171 * sysdeps/x86_64/strncase.S: New file.
18172 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
18173 * sysdeps/x86_64/strncase_l.S: New file.
18174 * string/Makefile (strop-tests): Add strncasecmp.
18175 * string/test-strncasecmp.c: New file.
18176
18177 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
18178 warning.
18179
ca6bb004
UD
18180 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
18181 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
18182
052fa7b3
AS
181832010-08-14 Andreas Schwab <schwab@linux-m68k.org>
18184
18185 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
18186
962dba78
UD
181872010-08-12 Ulrich Drepper <drepper@redhat.com>
18188
18189 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
18190 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
18191 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
18192
bebff237
AM
181932010-05-01 Alan Modra <amodra@gmail.com>
18194
18195 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
18196 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
18197 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
18198 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
18199 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
18200 tidying. Don't tail-call __sigjmp_save for static lib.
18201 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
18202 save location.
18203 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
18204 (CALL_MCOUNT): Add eh info, and nop after bl.
18205 (TAIL_CALL_SYSCALL_ERROR): New macro.
18206 (PSEUDO_RET): Use it.
18207 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
18208 Correct save location of integer regs and cr.
18209 (_dl_profile_resolve): Correct cr save location. Delete nops
18210 after bl when SHARED. Reduce cfi size a little by better
18211 placement of cfi directives.
18212 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
18213 make a stack frame. Instead use parm save area as a temp.
18214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
18215 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
18216 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
18217 Don't make a stack frame for parent, use parm save area.
18218 Increase child stack frame to 112 bytes. Don't save unused reg,
18219 and adjust reg usage. Set up cfi on error recovery and
18220 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
18221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
18222 (__makecontext): Add dummy nop after jump to exit.
18223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
18224 Use correct parm save area and cr save, reduce stack frame.
18225 Correct cfi for possible PSEUDO_RET frame setup.
18226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
18227 Branch to local label emitted by PSEUDO_RET rather than
18228 __syscall_error.
18229
02637374
AS
182302010-08-12 Andreas Schwab <schwab@redhat.com>
18231
18232 [BZ #11904]
18233 * locale/programs/locale.c (print_assignment): New function.
18234 (show_locale_vars): Use it.
18235
c3e2f19b
UD
182362010-08-11 Ulrich Drepper <drepper@redhat.com>
18237
3cdaa6ad
UD
18238 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
18239 field.
18240 (struct statfs64): Likewise.
18241 (_STATFS_F_FLAGS): Define.
18242 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
18243 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
18244 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
18245 (ST_VALID): Define locally.
18246 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
18247 __statvfs_getflags, use the provided value.
18248 * sysdeps/unix/sysv/linux/kernel-features.h: Define
18249 __ASSUME_STATFS_F_FLAGS.
18250
754f7da3
UD
18251 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
18252
10b3bedc
UD
18253 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
18254 Add sys/fanotify.h.
18255 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
18256 fanotify_mask for GLIBC_2.13.
18257 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
18258 fanotify_init and fanotify_mark.
18259 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
18260 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
18261
c08fb0d7
UD
18262 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
18263 Add prlimit.
18264 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
18265 prlimit64 for GLIBC_2.13.
18266 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
18267 prlimit64.
18268 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
18269 syscall.
18270 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
18271 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
18272 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
18273 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
18274 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
18275 add prlimit alias.
18276 * sysdeps/unix/sysv/linux/prlimit.c: New file.
18277
15bac72b
UD
18278 [BZ #11903]
18279 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
18280 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
18281
c3e2f19b
UD
18282 * nss/Makefile: Add rules to build and run tst-nss-test1.
18283 * shlib-versions: Add entry for libnss_test1.
18284 * nss/nss_test1.c: New file.
18285 * nss/tst-nss-test1.c: New file.
18286
18287 * nss/nsswitch.c (__nss_database_custom): Define new variable.
18288 (__nss_configure_lookup): Set appropriate entry in
18289 __nss_configure_lookup to true.
18290 * nss/nsswitch.h: Define enum with indeces of databases in
18291 databases and __nss_database_custom arrays. Declare
18292 __nss_database_custom.
18293 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
18294 to avoid using nscd when custom rules are installed.
18295 * nss/getXXbyYY_r.c: Likewise.
18296 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
18297
18298 * nss/nss_files/files-parse.c: Whitespace fixes.
18299
f15ce4d8
UD
183002010-08-09 Ulrich Drepper <drepper@redhat.com>
18301
18302 [BZ #11883]
18303 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
18304 * posix/fnmatch_loop.c: Likewise.
18305
d22e4cc9
AK
183062010-07-17 Andi Kleen <ak@linux.intel.com>
18307
18308 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
18309 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
18310 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
18311 * Versions.def [GLIBC_2.13]: Add.
18312
805bc17d
UD
183132010-08-06 Ulrich Drepper <drepper@redhat.com>
18314
18315 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
18316 Also fail if tpwd after pwuid call is NULL.
18317
5a42321d
ST
183182010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
18319
18320 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
18321 when converting to ms.
18322
fd3ebeda
ST
183232010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
18324
18325 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
18326 EOPNOTSUPP errors with ENOTTY.
18327 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
18328 EOPNOTSUPP errors with ENOTTY.
18329
73507d3a
UD
183302010-07-31 Ulrich Drepper <drepper@redhat.com>
18331
18332 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
18333 Add strcasecmp_l-ssse3.
18334 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
18335 strcasecmp.
18336 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
18337 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
18338 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
18339
fe36dd02
UD
183402010-07-30 Ulrich Drepper <drepper@redhat.com>
18341
66f6765a
UD
18342 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
18343
42e08a54
UD
18344 * string/Makefile (strop-tests): Add strcasecmp.
18345 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
18346 strcasecmp_l-nonascii.
18347 (gen-as-const-headers): Add locale-defines.sym.
18348 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
18349 * sysdeps/x86_64/strcasecmp.S: New file.
18350 * sysdeps/x86_64/strcasecmp_l.S: New file.
18351 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
18352 * sysdeps/x86_64/locale-defines.sym: New file.
18353 * string/test-strcasecmp.c: New file.
18354
fe36dd02
UD
18355 * string/test-strcasestr.c: Test both ends of the range of characters.
18356 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
18357
48cbc0d6
RM
183582010-07-29 Roland McGrath <roland@redhat.com>
18359
76e6d6bc 18360 [BZ #11856]
48cbc0d6
RM
18361 * manual/locale.texi (Yes-or-No Questions): Fix example code.
18362
880113d9
UD
183632010-07-27 Ulrich Drepper <drepper@redhat.com>
18364
18365 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
18366 for ld.so.
18367
deb9cabb
AS
183682010-07-27 Andreas Schwab <schwab@redhat.com>
18369
18370 * manual/memory.texi (Malloc Tunable Parameters): Document
18371 M_PERTURB.
18372
1c7570ff
RM
183732010-07-26 Roland McGrath <roland@redhat.com>
18374
18375 [BZ #11840]
18376 * configure.in (-fgnu89-inline check): Set and substitute
18377 gnu89_inline, not libc_cv_gnu89_inline.
18378 * configure: Regenerated.
18379 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
18380
24fb0f88
UD
183812010-07-26 Ulrich Drepper <drepper@redhat.com>
18382
18383 * string/test-strnlen.c: New file.
18384 * string/Makefile (strop-tests): Add strnlen.
18385 * string/tester.c (test_strnlen): Add a few more test cases.
18386 * string/tst-strlen.c: Better error reporting.
18387
18388 * sysdeps/x86_64/strnlen.S: New file.
18389
8e96b93a
UD
183902010-07-24 Ulrich Drepper <drepper@redhat.com>
18391
18392 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
18393 lower-latency instructions.
18394
dbc676d4
UD
183952010-07-23 Ulrich Drepper <drepper@redhat.com>
18396
18397 * string/test-strcasestr.c: New file.
18398 * string/test-strstr.c: New file.
18399 * string/Makefile (strop-tests): Add strstr and strcasestr.
18400 * string/str-two-way.h: Don't undefine MAX.
18401 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
18402
f6a31e0e
AS
184032010-07-21 Andreas Schwab <schwab@redhat.com>
18404
18405 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18406 strcasestr-nonascii.
18407 (CFLAGS-strcasestr-nonascii.c): Define.
18408 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
18409 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
18410 Remove unused attribute.
18411
5dbc3b6c
RM
184122010-07-20 Roland McGrath <roland@redhat.com>
18413
18414 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
18415 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
18416 ld.so.cache was broken. With it, there is no way to disable dsocaps
18417 like LD_HWCAP_MASK can disable hwcaps.
18418
23d101d8
EPM
184192010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
18420
18421 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
18422
cc9f2e47
UD
184232010-07-16 Ulrich Drepper <drepper@redhat.com>
18424
18425 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
18426 call in strcasestr.
18427 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
18428 __strcasestr_sse42_nonascii.
18429 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
18430 strcasestr-nonascii.c.
18431 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
18432
77c1b069
LM
184332010-06-15 Luis Machado <luisgpm@br.ibm.com>
18434
18435 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
18436 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
18437 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
18438 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
18439
440566c3
UD
184402010-07-09 Ulrich Drepper <drepper@redhat.com>
18441
18442 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
18443 fcntl.
18444
5be9d05d
AS
184452010-07-06 Andreas Schwab <schwab@redhat.com>
18446
c30b7ee2 18447 [BZ #11577]
5be9d05d
AS
18448 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
18449 dl_signal_cerror.
18450
8a492a67
UD
184512010-07-06 Ulrich Drepper <drepper@redhat.com>
18452
18453 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
18454 _PC_PIPE_BUF using F_GETPIPE_SZ.
18455
713df3d5
RM
184562010-07-05 Roland McGrath <roland@redhat.com>
18457
18458 * manual/arith.texi (Rounding Functions): Fix rint description
18459 implicit in round description.
18460
702e8f14
UD
184612010-07-02 Ulrich Drepper <drepper@redhat.com>
18462
18463 * elf/Makefile: Fix linking for a few tests to make recent linker
18464 happy.
18465
52ed8be9
AS
184662010-06-30 Andreas Schwab <schwab@redhat.com>
18467
18468 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
18469 $(common-objpfx)libc_nonshared.a.
18470
f47c9a11
LM
184712010-06-21 Luis Machado <luisgpm@br.ibm.com>
18472
18473 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
18474 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
18475 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
18476 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
18477 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
18478 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
18479 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
18480 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
18481 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
18482 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
18483 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
18484 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
18485 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
18486 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
18487 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
18488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
18489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
18490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
18491 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
18492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
18493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
18494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
18495 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
18496 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
18497 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
18498 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
18499 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
18500 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
18501 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
18502 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
18503 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
18504 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
18505 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
18506 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
18507 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
18508 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
18509 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
18510 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
18511 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
18512 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
18513 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
18514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
18515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
18516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
18517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
18518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
18519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
18520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
18521
6fb8cbcb
L
185222010-06-25 H.J. Lu <hongjiu.lu@intel.com>
18523
18524 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
18525 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
18526 * string/memmove.c (memmove): Renamed to ...
18527 (MEMMOVE): ...this. Default to memmove.
18528 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
18529 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
18530 (END_CHK): Define.
18531 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18532 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
18533 mempcpy-ssse3-back memmove-ssse3-back.
18534 * sysdeps/x86_64/multiarch/bcopy.S: New file .
18535 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
18536 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
18537 * sysdeps/x86_64/multiarch/memcpy.S: New file.
18538 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
18539 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
18540 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
18541 * sysdeps/x86_64/multiarch/memmove.c: New file.
18542 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
18543 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
18544 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
18545 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
18546 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
18547 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
18548 Define.
18549 (index_Fast_Copy_Backward): Define.
18550 (HAS_ARCH_FEATURE): Define.
18551 (HAS_FAST_REP_STRING): Define.
18552 (HAS_FAST_COPY_BACKWARD): Define.
18553
4e733bac 185542010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
18555
18556 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
18557 Restore proper fallback handling.
18558
63c4ed22
UD
185592010-06-19 Ulrich Drepper <drepper@redhat.com>
18560
ac2b484c
UD
18561 [BZ #11701]
18562 * posix/group_member.c (__group_member): Correct checking loop.
18563
63c4ed22
UD
18564 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
18565 OOM in getpwuid_r correctly. Return error number when the caller
18566 should return, otherwise -1.
18567 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
18568 call returning > 0 value.
18569 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
18570
765ade4b
AS
185712010-06-07 Andreas Schwab <schwab@redhat.com>
18572
18573 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
18574 libc_nonshared.a from targets in modules-names.
18575
80da2e09
KS
185762010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
18577
18578 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
18579 requires it.
18580
158db122
LM
185812010-06-10 Luis Machado <luisgpm@br.ibm.com>
18582
18583 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
18584 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
18585 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
18586 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
18587
caa78cf8
AS
185882010-06-02 Andreas Schwab <schwab@redhat.com>
18589
18590 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
18591
b2ef2c01
UD
185922010-06-14 Ulrich Drepper <drepper@redhat.com>
18593
18594 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
18595 and F_GETPIPE_SZ.
18596 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
18597 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
18598 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18599 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18600 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
18601 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
18602
fbd643b6
RM
186032010-06-14 Roland McGrath <roland@redhat.com>
18604
18605 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
18606
f32f2869
JJ
186072010-06-07 Jakub Jelinek <jakub@redhat.com>
18608
18609 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
18610 __REDIRECT followed by __THROW.
18611 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
18612 * posix/getopt.h (getopt): Likewise.
18613
2a50c078
EPM
186142010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
18615
18616 * hurd/lookup-at.c (__file_name_lookup_at): Accept
18617 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
18618 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
18619 in AT_FLAGS.
18620 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
18621 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
18622
eb5ad2eb
LM
186232010-05-28 Luis Machado <luisgpm@br.ibm.com>
18624
18625 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
18626
3c88fe1e
L
186272010-05-26 H.J. Lu <hongjiu.lu@intel.com>
18628
18629 [BZ #11640]
18630 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18631 Properly check family and model.
18632
d2f73151
TY
186332010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
18634
18635 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
18636
ebd2e13d
LM
186372010-05-24 Luis Machado <luisgpm@br.ibm.com>
18638
18639 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
18640
b32b8b45
UD
186412010-05-21 Ulrich Drepper <drepper@redhat.com>
18642
18643 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
18644 symbol reference.
18645
9acbe24d
AS
186462010-05-19 Andreas Schwab <schwab@redhat.com>
18647
18648 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
18649 symbol reference.
18650
f0ccf6ea
AS
186512010-05-21 Andreas Schwab <schwab@redhat.com>
18652
3d04ff3a
AS
18653 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
18654 and internal_recvmmsg.
18655 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
18656 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
18657 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
18658 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
18659
f0ccf6ea
AS
18660 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
18661 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
18662 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
18663
5b08ac57
AS
186642010-05-20 Andreas Schwab <schwab@redhat.com>
18665
18666 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
18667
4828935d
LM
186682010-05-17 Luis Machado <luisgpm@br.ibm.com>
18669
18670 POWER7 optimizations.
18671 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
18672 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
18673
373d545e
UD
186742010-05-19 Ulrich Drepper <drepper@redhat.com>
18675
18676 * version.h: Update for 2.13 development version.
18677
21a2b1ae
AS
186782010-05-12 Andrew Stubbs <ams@codesourcery.com>
18679
18680 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
18681 exceptions. Return 0.
18682
3f7dcb2b
RM
186832010-05-07 Roland McGrath <roland@redhat.com>
18684
18685 * elf/ldconfig.c (main): Add a const.
18686
5f24d53a 186872010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 18688
a160f8d8
UD
18689 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
18690 (args_options): Add no-idn option.
18691 (ahosts_keys_int): Add idn_flags to ai_flags.
18692 (parse_option): Handle 'i' option to clear idn_flags.
18693
5f24d53a
UD
18694 * malloc/malloc.c (_int_free): Possible race in the most recently
18695 added check. Only act on the data if no current modification
18696 happened.
265bb1ce
UD
18697
18698See ChangeLog.17 for earlier changes.
This page took 2.415815 seconds and 5 git commands to generate.