]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Remove __ASSUME_FADVISE64_64_SYSCALL.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
0e1d9911
JM
12012-08-21 Joseph Myers <joseph@codesourcery.com>
2
3 * sysdeps/unix/sysv/linux/kernel-features.h
4 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
5 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
6 <kernel-features.h>.
7 [__NR_fadvise64_64]: Make code unconditional.
8 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
9 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
10 !__NR_fadvise64_64)]: Likewise.
11 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
12 !__NR_fadvise64_64))]: Likewise.
13 [__NR_fadvise64]: Make code unconditional.
14 [!__NR_fadvise64]: Remove conditional code.
15 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
16 <kernel-features.h>.
17 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
18 unconditional.
19 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
20 conditional code.
21 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
22 not include <kernel-features.h>.
23 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24 unconditional.
25 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
26 conditional code.
27 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
28 include <kernel-features.h>.
29 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
30 unconditional.
31 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
32 conditional code.
33
14a50c9d
WS
342012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
35
36 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
37 slight instruction rearrangements per scrollpipe analysis.
38 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
39
c0f4faf0
RM
402012-08-20 Roland McGrath <roland@hack.frob.com>
41
696da859
RM
42 * manual/syslog.texi (syslog; vsyslog, closelog):
43 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
44 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
45
c0f4faf0
RM
46 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
47 DSOCAPS to match condition on defining it.
48
348363b2
JM
492012-08-20 Joseph Myers <joseph@codesourcery.com>
50
a35cbf28
JM
51 * sysdeps/unix/sysv/linux/kernel-features.h
52 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
53 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
54 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
55 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
56 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
57 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
58 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
59 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
60 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
61 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
62
445f7ecd
JM
63 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
64 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
65
348363b2
JM
66 * sysdeps/unix/sysv/linux/kernel-features.h
67 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
68 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
69 unconditional.
70 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
71 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
72 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
73 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
74 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
75 Make code unconditional.
76 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
77 (__mmap64) [!__NR_mmap2]: Likewise.
78 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
79 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
80 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
81 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
82 [__NR_mmap2]: Make code unconditional.
83 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
84 (__mmap64) [!__NR_mmap2]: Likewise.
85
bc5bc0e5
AK
862012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
87
88 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
89
88d506de
AJ
902012-08-18 Andreas Jaeger <aj@suse.de>
91
92 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
93
493387d2
MF
942012-08-18 Mike Frysinger <vapier@gentoo.org>
95
96 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
97 * include/unistd.h (__have_sock_cloexec): Likewise.
98 (__have_pipe2): Likewise.
99 (__have_dup3): Likewise.
100
a277af22
MF
1012012-08-18 Mike Frysinger <vapier@gentoo.org>
102
103 [BZ #9685]
104 * include/unistd.h (__have_pipe2): Change define into an extern int.
105 (__have_dup3): Likewise.
106 * socket/have_sock_cloexec.c: Include fcntl.h.
107 (__have_pipe2): New variable.
108 (__have_dup3): Likewise.
109
fdab8fd3
MF
1102012-08-17 Mike Frysinger <vapier@gentoo.org>
111
112 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
113
31035e80
MP
1142012-08-17 Marek Polacek <polacek@redhat.com>
115
116 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
117 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
118
3bd9e993
RM
1192012-08-17 Roland McGrath <roland@hack.frob.com>
120
c91c505f
RM
121 * configure.in: Add AC_SUBST for sysheaders.
122 * configure: Regenerated.
123 * config.make.in (sysheaders): New substituted variable.
124
7c6f9d53
RM
125 * sysdeps/unix/mkfifo.c: Moved ...
126 * sysdeps/posix/mkfifo.c: ... here.
127 * sysdeps/unix/mkfifoat.c: Moved ...
128 * sysdeps/posix/mkfifoat.c: ... here.
129
130 * sysdeps/unix/utime.c: Moved ...
131 * sysdeps/posix/utime.c: ... here.
132
133 * sysdeps/unix/time.c: Moved ...
134 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
135 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
136 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
137
138 * sysdeps/unix/nice.c: Moved ...
139 * sysdeps/posix/nice.c: ... here.
140
141 * sysdeps/unix/alarm.c: Moved ...
142 * sysdeps/posix/alarm.c: ... here.
143
3bd9e993
RM
144 * intl/Makefile ($(codeset_mo)): Depend on the input file.
145
d1f09384
JL
1462012-08-17 Jeff Law <law@redhat.com>
147
148 * intl/Makefile (codeset_mo): New variable.
149 ($(codeset_mo)): New target.
150 (tst-codeset.out): Depend on that. Remove explicit rule.
151 (tst-gettext3.out, tst-gettext5.out): Likewise.
152 (LOCPATH-ENV, tst-codeset-ENV): New variables.
153 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
154 * intl/tst-codeset.sh: Remove.
155 * intl/tst-gettext3.sh: Likewise.
156 * intl/tst-gettext5.sh: Likewise.
157
2ae1ae5c
RM
1582012-08-17 Roland McGrath <roland@hack.frob.com>
159
c31fdb83
RM
160 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
161 * sysdeps/unix/syscalls.list: ... here.
162
a0844057
RM
163 * sysdeps/posix/getaddrinfo.c
164 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
165 (gaiconf_init, gaiconf_reload): Use them.
166 [!_STATBUF_ST_NSEC]
167 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
168 Define using time_t rather than struct timespec.
169
750c1f2a
RM
170 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
171 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
172 Macros removed.
173 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
174 [!NO_THREADS].
175 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
176 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
177 Likewise.
178
2ae1ae5c
RM
179 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
180 __libc_cleanup_push argument.
181
e66a42f5
RM
182 * bits/param.h: New file.
183 * misc/sys/param.h: New file.
184 * include/sys/param.h: New file.
185 * misc/Makefile (headers): Add bits/param.h.
186 * sysdeps/generic/sys/param.h: File removed.
187 * sysdeps/unix/sysv/linux/bits/param.h: New file.
188 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
189 * sysdeps/mach/hurd/bits/param.h: New file.
190 * sysdeps/mach/hurd/sys/param.h: New file.
191
b7c08a66
RM
192 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
193 last change.
194
b2e1c562
RM
195 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
196 [_IO_MTSAFE_IO].
197 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
198 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
199 New macros.
200
c75ccd4c
RM
201 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
202 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
203 rather than -D_IO_MTSAFE_IO conditionally.
204 * stdio-common/Makefile (CPPFLAGS): Likewise.
205 * wcsmbs/Makefile (CPPFLAGS): Likewise.
206 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
207 Use $(libio-mtsafe).
208 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
209 of -D_IO_MTSAFE_IO.
210 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
211 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
212 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
213 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
214 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
215 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
216 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
217 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
218 (CFLAGS-fread_u_chk.c): Likewise.
219 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
220 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
221 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
222 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
223 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
224 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
225 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
226 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
227 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
228
229 * libio/Makefile: Test [$(libc-reentrant) = yes]
230 instead of [$(filter %REENTRANT, $(defines)) nonempty].
231
232 * Makeconfig
233 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
234 * sysdeps/pthread/configure: File removed.
235 * sysdeps/pthread/Makeconfig: New file.
236 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
237 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
238
d9195db8
GB
2392012-08-16 Gary Benson <gbenson@redhat.com>
240
241 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
242 unmapping the first object in a namespace.
243
86466cd9
RM
2442012-08-16 Roland McGrath <roland@hack.frob.com>
245
246 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
247 (__internal_setnetgrent): ... this. Add internal_function to
248 definition. Add libc_hidden_def.
249 (setnetgrent): Update caller.
250 (internal_endnetgrent): Renamed to ...
251 (__internal_endnetgrent): ... this. Add internal_function to
252 definition. Add libc_hidden_def.
253 (endnetgrent): Update caller.
254 (internal_getnetgrent_r): Renamed to ...
255 (__internal_getnetgrent_r): ... this. Add internal_function to
256 definition. Add libc_hidden_def.
257 (__getnetgrent_r): Update caller.
258 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
259
c3c8283c
JM
2602012-08-16 Joseph Myers <joseph@codesourcery.com>
261
262 * stdlib/longlong.h: Update from GCC.
263
db1ee0a8
RM
2642012-08-16 Roland McGrath <roland@hack.frob.com>
265
266 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
267 on _QL, which is set by umul_ppmm but never used.
268 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
269 variables, which are set by GMP macros but never used.
270 * stdio-common/_itowa.c (_itowa): Likewise.
271 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
272 * stdlib/mod_1.c (mpn_mod_1): Likewise.
273
30f69637
CD
2742012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
275
276 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
277 struct La_sh_regs is not constant.
278 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
279 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
280 and struct La_sparc64_regs are not constant.
281
93a78ac4
JM
2822012-08-16 Joseph Myers <joseph@codesourcery.com>
283
284 * sysdeps/unix/sysv/linux/kernel-features.h
285 (__ASSUME_POSIX_TIMERS): Remove.
286 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
287 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
288 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
289 Make code unconditional.
290 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
291 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
292 Make code unconditional.
293 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
294 * sysdeps/unix/sysv/linux/clock_nanosleep.c
295 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
296 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
297 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
298 Make code unconditional.
299 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
300 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
301 (__libc_missing_posix_timers): Remove.
302
dd924cd7
RM
3032012-08-15 Roland McGrath <roland@hack.frob.com>
304
4b4f2771
RM
305 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
306 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
307
601c888b
RM
308 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
309
176790a7
RM
310 * elf/dl-sym.c: Include <stdlib.h>.
311
329bc018
RM
312 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
313 constants, which avoids warnings in 32-bit builds.
314
e04e272d
RM
315 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
316 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
317
952bf94a
RM
318 * misc/lseek.c: File moved to ...
319 * io/lseek.c: ... here.
320
7c99b50a
RM
321 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
322
dd924cd7
RM
323 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
324 shifting LEN more than 31 bits at once.
325
b3f479a8
LD
3262012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
327
328 [BZ #14195]
329 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
330 segmentation fault for a case of two empty input strings.
331 * string/test-strncasecmp.c (check1): Renamed to...
332 (bz12205): ...this.
333 (bz14195): Add new testcase for two empty input strings and N > 0.
334 (test_main): Call new testcase, adapt for renamed function.
335
9c55864e
AJ
3362012-08-15 Andreas Jaeger <aj@suse.de>
337
338 [BZ #14090]
339 * crypt/md5test2.c: New test, based on test supplied by Serge
340 Belyshev <belyshev@depni.sinp.msu.ru>.
341 * crypt/Makefile (xtests): Add md5test-giant..
342 * crypt/Makefile ($(objpfx)md5test-giant): Add.
343
02dcb6c5
PE
3442012-08-15 Paul Eggert <eggert@cs.ucla.edu>
345
346 [BZ #14090]
347 * crypt/md5.c (md5_process_block): Don't assume the buffer
348 length is less than 2**32.
349 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
350 length is less than 2**64.
351
a3f95dcc
RM
3522012-08-15 Roland McGrath <roland@hack.frob.com>
353
be75d758
RM
354 * string/str-two-way.h: Include <sys/param.h>.
355 (MAX): Macro removed.
356
7312ca90
RM
357 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
358 Move #define and #undef of memmove to just before and after
359 including <string.h>.
360
9a0a5486
RM
361 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
362 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
363 and after including <string.h>. Move declarations of
364 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
365 to before #include "string/memmove.c".
366
67cc348d
RM
367 * include/dirent.h: Declare __getdirentries.
368
a3f95dcc
RM
369 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
370 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
371
ca98e171
MF
3722012-08-14 Mike Frysinger <vapier@gentoo.org>
373
374 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
375 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
376 * sysdeps/i386/configure: Regenerated.
377 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
378 STABS_CURRENT_FILE, and STABS_FUN.
379 (END): Remove call to STABS_FUN_END.
380 (STABS_CURRENT_FILE1): Delete.
381 (STABS_CURRENT_FILE): Likewise.
382 (STABS_FUN): Likewise.
383 (STABS_FUN_END): Likewise.
384 (STABS_FUN2): Likewise.
385 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
386 * sysdeps/x86_64/configure: Regenerated.
387
5908bf46
RM
3882012-08-14 Roland McGrath <roland@hack.frob.com>
389
390 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 391 * elf/dl-lookup.c: Likewise.
5908bf46 392
f2c05b9e
JM
3932012-08-14 Joseph Myers <joseph@codesourcery.com>
394
395 * sysdeps/unix/sysv/linux/kernel-features.h
396 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
397 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
398 unconditionally.
399 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
400 unconditionally.
401 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
402 condition on __ASSUME_CLONE_THREAD_FLAGS.
403
e11f5155
AJ
4042012-08-14 Andreas Jaeger <aj@suse.de>
405
406 * sysdeps/i386/fpu/libm-test-ulps: Update.
407
51a9ba86
MK
4082012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
409
2fdd4f78
AJ
410 * include/atomic.h (atomic_exchange_and_add): Split into ...
411 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
412 New atomic macros.
51a9ba86 413
ba6cba9e
MT
4142012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
415
416 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
417
42443a47
JL
4182012-08-13 Jeff Law <law@redhat.com>
419
420 * manual/stdio.texi (snprintf): Clarify handling of the trailing
421 null byte in the output string.
422
121dce05
JM
4232012-08-10 Joseph Myers <joseph@codesourcery.com>
424
425 * sysdeps/unix/sysv/linux/kernel-features.h
426 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
427 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
428 (__ASSUME_ARG_MAX_STACK_BASED): Define.
429 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
430 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
431 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
432 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
433
bf51f568
JL
4342012-08-09 Jeff Law <law@redhat.com>
435
436 [BZ #13939]
437 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
438 When avoid_arena is set, don't retry in the that arena. Pick the
439 next one, whatever it might be.
440 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
441 (arena_lock): Pass in new parameter to arena_get2.
442 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
443 arena_get2.
444 (__libc_malloc): Unify retrying after main arena failure with
445 __libc_memalign version.
446 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
447
f85fa270
L
4482012-08-09 H.J. Lu <hongjiu.lu@intel.com>
449
450 [BZ #14166]
451 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
452 to __redirect_strstr.
453 (__strstr_sse42): Use typeof __redirect_strstr.
454 (__strstr_ia32): Likewise.
455 (__libc_strstr): New prototype.
456 (strstr): Renamed to ...
457 (__libc_strstr): This.
458 (strstr): New strong alias of __libc_strstr.
459 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
460 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
461 __redirect_time.
462 Include <time.h>.
463 (__libc_time): New prototype.
464 (time_ifunc): Replace time with __libc_time.
465 (time): New strong alias and hidden definition of __libc_time.
466 (__GI_time): Remove strong alias.
467 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
468 Include <stddef.h>.
469 (memmove): Redefined to __redirect_memmove.
470 (__memmove_sse2): Use typeof __redirect_memmove.
471 (__memmove_ssse3): Likewise.
472 (__memmove_ssse3_back): Likewise.
473 (__libc_memmove): New prototype.
474 (memmove): Renamed to ...
475 (__libc_memmove): This.
476 (memmove): New strong alias of __libc_memmove.
477
33b4a91e
MS
4782012-08-08 Mark Salter <msalter@redhat.com>
479
480 * elf/elf.h
481 (R_MN10300_TLS_GD): Define.
482 (R_MN10300_TLS_LD): Likewise.
483 (R_MN10300_TLS_LDO): Likewise.
484 (R_MN10300_TLS_GOTIE): Likewise.
485 (R_MN10300_TLS_IE): Likewise.
486 (R_MN10300_TLS_LE): Likewise.
487 (R_MN10300_TLS_DTPMOD): Likewise.
488 (R_MN10300_TLS_DTPOFF): Likewise.
489 (R_MN10300_TLS_TPOFF): Likewise.
490 (R_MN10300_SYM_DIFF): Likewise.
491 (R_MN10300_ALIGN): Likewise.
492 (R_MN10300_NUM): Update.
493
b36137f1
JM
4942012-08-08 Joseph Myers <joseph@codesourcery.com>
495
496 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
497 Remove.
498
cdd915fd
RM
4992012-08-08 Roland McGrath <roland@hack.frob.com>
500
a2433aac
RM
501 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
502
cdd915fd
RM
503 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
504 sysdeps/unix -> sysdeps/posix move.
505 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
506
bf9b740a
AM
5072012-08-07 Allan McRae <allan@archlinux.org>
508
509 [BZ #14303]
510 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
511 (SUNOS_CPP): Likewise.
512 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
513 not found.
514 (open_input): Call CPP using execvp.
515
93df14ee
JM
5162012-08-07 Joseph Myers <joseph@codesourcery.com>
517
518 * sysdeps/unix/sysv/linux/kernel-features.h
519 (__ASSUME_PROT_GROWSUPDOWN): Remove.
520 (__ASSUME_NO_CLONE_DETACHED): Likewise.
521 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
522 (__ASSUME_WAITID_SYSCALL): Likewise.
523 * sysdeps/unix/sysv/linux/dl-execstack.c
524 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
525 code unconditional.
526 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
527 conditional code.
528 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
529 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
530 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
531 code.
532 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
533 unconditional.
534 [__ASSUME_WAITID_SYSCALL]: Likewise.
535 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
536
d34689de
RM
5372012-08-07 Roland McGrath <roland@hack.frob.com>
538
a281decc
RM
539 * sysdeps/unix/closedir.c: Renamed to ...
540 * sysdeps/posix/closedir.c: ... here.
541 * sysdeps/unix/dirfd.c: Renamed to ...
542 * sysdeps/posix/dirfd.c: ... here.
543 * sysdeps/unix/dirstream.h: Renamed to ...
544 * sysdeps/posix/dirstream.h: ... here.
545 * sysdeps/unix/fdopendir.c: Renamed to ...
546 * sysdeps/posix/fdopendir.c: ... here.
547 * sysdeps/unix/opendir.c: Renamed to ...
548 * sysdeps/posix/opendir.c: ... here.
549 * sysdeps/unix/readdir.c: Renamed to ...
550 * sysdeps/posix/readdir.c: ... here.
551 * sysdeps/unix/readdir_r.c: Renamed to ...
552 * sysdeps/posix/readdir_r.c: ... here.
553 * sysdeps/unix/rewinddir.c: Renamed to ...
554 * sysdeps/posix/rewinddir.c: ... here.
555 * sysdeps/unix/seekdir.c: Renamed to ...
556 * sysdeps/posix/seekdir.c: ... here.
557 * sysdeps/unix/telldir.c: Renamed to ...
558 * sysdeps/posix/telldir.c: ... here.
559 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
560 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
561 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
562 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
563
22895b47
RM
564 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
565 * bits/fcntl.h: ... here.
566
707a53b6
RM
567 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
568 not 0.
569 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
570 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
571 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
572 (struct flock): Move l_start, l_len to the beginning.
573 Use __pid_t for l_pid.
574 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
575 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
576 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
577 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
578 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
579 [__USE_LARGEFILE64] (struct flock64): New type.
580 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
581
f0bd3e25
RM
582 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
583 * bits/dirent.h: ... here.
584
d34689de
RM
585 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
586 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
587
6dad2c06
JM
5882012-08-07 Joseph Myers <joseph@codesourcery.com>
589
590 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
591 Change from 2.6.0 to 2.6.16.
592 * sysdeps/unix/sysv/linux/configure: Regenerated.
593 * sysdeps/unix/sysv/linux/kernel-features.h
594 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
595 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
596 version.
597 (__ASSUME_UTIMES): Likewise.
598 (__ASSUME_CLONE_STOPPED): Remove.
599 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
600 architectures, not kernel version.
601 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
602 (__ASSUME_NO_CLONE_DETACHED): Likewise.
603 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
604 (__ASSUME_WAITID_SYSCALL): Likewise.
605 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
606 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
607 * README: State 2.6.16 as minimum Linux kernel version. Do not
608 refer to older versions.
609
03af9520
RM
6102012-08-06 Roland McGrath <roland@hack.frob.com>
611
8e49df1d
RM
612 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
613 Define alphasort64 as an alias.
614 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
615 Define versionsort64 as an alias.
616 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
617 Define scandir64 as an alias.
618 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
619 Define scandirat64 as an alias.
620 * dirent/alphasort64.c (alphasort64):
621 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
622 * dirent/versionsort64.c: Likewise.
623 * dirent/scandir64.c: Likewise.
624 * dirent/scandirat64.c: Likewise.
625 * sysdeps/wordsize-64/alphasort.c: File removed.
626 * sysdeps/wordsize-64/alphasort64.c: File removed.
627 * sysdeps/wordsize-64/scandir.c: File removed.
628 * sysdeps/wordsize-64/scandir64.c: File removed.
629 * sysdeps/wordsize-64/scandirat.c: File removed.
630 * sysdeps/wordsize-64/scandirat64.c: File removed.
631 * sysdeps/wordsize-64/versionsort.c: File removed.
632 * sysdeps/wordsize-64/versionsort64.c: File removed.
633 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
634 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
635 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
636 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
637 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
638 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
639 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
640 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
641
642 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
643 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
644 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
645 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
646 [defined __arch64__ || defined __sparcv9]
647 (__INO_T_MATCHES_INO64_T): New macro.
648 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
649 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
650 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
651 * sysdeps/unix/sysv/linux/bits/dirent.h
652 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
653 (_DIRENT_MATCHES_DIRENT64): New macro.
654
03af9520
RM
655 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
656 Define lockf64 as an alias.
657 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
658 Define fseeko64 as an alias.
659 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
660 Define ftello64 as an alias.
661 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
662 Define _IO_fgetpos64 and fgetpos64 as aliases.
663 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
664 Define _IO_fsetpos64 and fsetpos64 as aliases.
665 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
666 Conditionalize body on this.
667 * libio/fseeko64.c: Likewise.
668 * libio/ftello64.c: Likewise.
669 * libio/iofgetpos64.c: Likewise.
670 * libio/iofsetpos64.c: Likewise.
671 * sysdeps/wordsize-64/lockf.c: File removed.
672 * sysdeps/wordsize-64/lockf64.c: File removed.
673 * sysdeps/wordsize-64/fseeko.c: File removed.
674 * sysdeps/wordsize-64/fseeko64.c: File removed.
675 * sysdeps/wordsize-64/ftello.c: File removed.
676 * sysdeps/wordsize-64/ftello64.c: File removed.
677 * sysdeps/wordsize-64/iofgetpos.c: File removed.
678 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
679 * sysdeps/wordsize-64/iofsetpos.c: File removed.
680 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
681 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
682 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
683 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
684 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
685 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
686 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
687 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
688 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
689 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
690 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
691
692 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
693 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
694 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
695 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
696 [defined __arch64__ || defined __sparcv9]
697 (__OFF_T_MATCHES_OFF64_T): New macro.
698 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
699 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
700 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
701 (__OFF_T_MATCHES_OFF64_T): New macro.
702
c5757acd
L
7032012-08-06 H.J. Lu <hongjiu.lu@intel.com>
704
705 * stdlib/secure-getenv.c (__secure_getenv): Replace
706 GLIBC_2_16 with GLIBC_2_17.
707
3a31811e
L
7082012-08-06 H.J. Lu <hongjiu.lu@intel.com>
709
710 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
711 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
712
faa2bccb
DM
7132012-08-03 David S. Miller <davem@davemloft.net>
714
715 * sysdeps/sparc/fpu/libm-test-ulps: Update.
716
85fe1997
JM
7172012-08-03 Joseph Myers <joseph@codesourcery.com>
718
719 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
720 Remove.
721 (__ASSUME_CORRECT_SI_PID): Likewise.
722 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
723 (__ASSUME_TMPFS_NAME): Likewise.
724 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
725 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
726 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
727 (HAVE_AUX_SECURE): Make definition unconditional.
728 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
729 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
730
4f75b7a0
RM
7312012-08-03 Roland McGrath <roland@hack.frob.com>
732
733 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
734 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
735 * sysdeps/mach/hurd/eloop-threshold.h: New file.
736 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
737 __eloop_threshold instead of SYMLOOP_MAX.
738
739 * sysdeps/generic/eloop-threshold.h: New file.
740 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
741 of MAXSYMLINKS.
742 * elf/chroot_canon.c (chroot_canon): Likewise.
743
7aab07e4
JM
7442012-08-03 Joseph Myers <joseph@codesourcery.com>
745
746 [BZ #13717]
747 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
748 Change to 2.6.0 everywhere.
749 * sysdeps/unix/sysv/linux/configure: Regenerated.
750 * sysdeps/unix/sysv/linux/kernel-features.h
751 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
752 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
753 kernel versions.
754 (__ASSUME_POSIX_TIMERS): Define unconditionally.
755 (__ASSUME_FUTEX_REQUEUE): Remove.
756 (__ASSUME_STATFS64): Define unconditionally.
757 (__ASSUME_AT_SECURE): Likewise.
758 (__ASSUME_CORRECT_SI_PID): Likewise.
759 (__ASSUME_TGKILL): Define without depending on kernel version for
760 i386.
761 (__ASSUME_UTIMES): Likewise.
762 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
763 kernel version.
764 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
765 (__ASSUME_TMPFS_NAME): Likewise.
766 * README: Update reference to Linux kernel versions.
767
b67e9372
MP
7682012-08-02 Marek Polacek <polacek@redhat.com>
769
770 [BZ#14150]
771 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
772 libc_cv_asm_type_prefix with %.
773 * configure: Regenerated.
d2441631
RM
774 * include/libc-symbols.h: Remove comment about
775 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
776 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
777 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
778 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
779 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
780 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
781 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
782 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
783 * elf/tst-unique2mod1.c: Likewise.
784 * elf/tst-unique1mod2.c: Likewise.
785 * elf/tst-unique1mod1.c: Likewise.
786 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
787 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
788 Replace ASM_TYPE_DIRECTIVE with .type.
789 * sysdeps/s390/s390-64/sysdep.h: Likewise.
790 * sysdeps/i386/sysdep.h: Likewise.
791 * sysdeps/x86_64/sysdep.h: Likewise.
792 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
794 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 795 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
796 * sysdeps/powerpc/powerpc32/sysdep.h:
797 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
798 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
799 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
800 * sysdeps/i386/fpu/e_powf.S: Likewise.
801 * sysdeps/i386/fpu/e_expl.S: Likewise.
802 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
803 * sysdeps/i386/fpu/e_acosh.S: Likewise.
804 * sysdeps/i386/fpu/e_pow.S: Likewise.
805 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
806 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
807 * sysdeps/i386/fpu/s_expm1.S: Likewise.
808 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
809 * sysdeps/i386/fpu/e_log2.S: Likewise.
810 * sysdeps/i386/fpu/e_log2l.S: Likewise.
811 * sysdeps/i386/fpu/e_scalb.S: Likewise.
812 * sysdeps/i386/fpu/e_powl.S: Likewise.
813 * sysdeps/i386/fpu/e_log10f.S: Likewise.
814 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
815 * sysdeps/i386/fpu/e_logl.S: Likewise.
816 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
817 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
818 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
819 * sysdeps/i386/fpu/e_log2f.S: Likewise.
820 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
821 * sysdeps/i386/fpu/e_log.S: Likewise.
822 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
823 * sysdeps/i386/fpu/e_logf.S: Likewise.
824 * sysdeps/i386/fpu/e_log10l.S: Likewise.
825 * sysdeps/i386/fpu/e_atanh.S: Likewise.
826 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
827 * sysdeps/i386/fpu/e_log10.S: Likewise.
828 * sysdeps/i386/fpu/s_frexp.S: Likewise.
829 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
830 * sysdeps/i386/fpu/s_asinh.S: Likewise.
831 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
832 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
833 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
834 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
835 * sysdeps/i386/i686/strtok.S: Likewise.
836 * sysdeps/i386/i386-mcount.S: Likewise.
837 * sysdeps/i386/strtok.S: Likewise.
838 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
839 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
840 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
841 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
842 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
843 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
844 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
845 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
846 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
847 * sysdeps/x86_64/_mcount.S: Likewise.
848 * sysdeps/x86_64/strtok.S: Likewise.
849 * sysdeps/sh/_mcount.S: Likewise.
850
2747bf9a
RM
8512012-08-01 Roland McGrath <roland@hack.frob.com>
852
853 * libio/iofopen.c: Include <fcntl.h>.
854 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
855 (_IO_fopen64, fopen64): Define as aliases.
856 * libio/iofopen64.c: Include <fcntl.h>.
857 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
858 Conditionalize body on this.
859 * sysdeps/wordsize-64/iofopen.c: File removed.
860 * sysdeps/wordsize-64/iofopen64.c: File removed.
861
3fb791b8
MP
8622012-08-01 Marek Polacek <polacek@redhat.com>
863
864 * libc/Makeconfig: Use elf in place of binfmt-subdir.
865 Use dlfcn directly instead of a variable.
866 (binfmt-subdir): Do not define.
867 (dlfcn): Likewise.
868
a9f1039f
JM
8692012-08-01 Joseph Myers <joseph@codesourcery.com>
870
23bddc06
JM
871 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
872 Remove all definitions.
873 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
874 <kernel-features.h>.
875 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
876 (miss_F_GETOWN_EX): Remove all definitions.
877 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
878 macro definition.
879 [!__ASSUME_FCNTL64]: Remove conditional code.
880 [__ASSUME_FCNTL64]: Make code unconditional.
881 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
882 <kernel-features.h>.
883 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
884 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
885 (lockf64) [__NR_fcntl64]: Make code unconditional.
886 (lockf64) [__ASSUME_FCNTL64]: Likewise.
887
a9f1039f
JM
888 * sysdeps/unix/sysv/linux/kernel-features.h
889 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
890 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
891 Make code unconditional.
892 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
893 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
894 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
895 [__NR_vfork]: Make code unconditional.
896 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
897 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
899 [__NR_vfork]: Make code unconditional.
900 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
901 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
902
09c0ee5f
RM
9032012-08-01 Roland McGrath <roland@hack.frob.com>
904
48aec5b9
RM
905 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
906 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
907
cd97c966
RM
908 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
909 Define mkstemp64 as an alias.
3f55550c
RM
910 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
911 Define mkstemps64 as an alias.
cd97c966
RM
912 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
913 Define mkostemp64 as an alias.
b8625cfc
RM
914 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
915 Define mkostemps64 as an alias.
cd97c966
RM
916 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
917 Conditionalize body on this.
918 * misc/mkostemp64.c: Likewise.
b8625cfc 919 * misc/mkostemps64.c: Likewise.
3f55550c 920 * misc/mkstemps64.c: Likewise.
cd97c966
RM
921 * sysdeps/wordsize-64/mkstemp64.c: File removed.
922 * sysdeps/wordsize-64/mkostemp64.c: File removed.
923 * sysdeps/wordsize-64/mkostemp.c: File removed.
924 * sysdeps/wordsize-64/mkstemp.c: File removed.
925 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
926 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
927 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
928 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
929
09c0ee5f
RM
930 [BZ #14138]
931 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
932 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
933 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
934 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
935
936 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
937 compat_symbol macros from <shlib-compat.h> rather than the underlying
938 default_symbol_version and symbol_version macros, so that DEFAULT
939 lines in shlib-versions are respected.
940 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
941
7e66ee51
FW
9422012-08-01 Florian Weimer <fweimer@redhat.com>
943
944 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
945 Declare with warn_unused_result.
946 (setgid, setregid, setegid, setresgid): Likewise.
947 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
948 Likewise.
949 * WUR-REPORT: Remove set*id functions.
950
d2a54255
PT
9512012-07-31 Pino Toscano <toscano.pino@tiscali.it>
952
953 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
954
7ecdb005
RM
9552012-07-31 Roland McGrath <roland@hack.frob.com>
956
789bd351
RM
957 * include/sys/socket.h (__libc_accept, __libc_accept4):
958 Add attribute_hidden.
959 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
960
40ce302d
RM
961 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
962 use of PTR_MANGLE.
963 * inet/getnetgrent_r.c (setup): Likewise.
964
7ecdb005
RM
965 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
966
e2eabb2c
DM
9672012-07-31 David S. Miller <davem@davemloft.net>
968
969 * sysdeps/sparc/fpu/libm-test-ulps: Update.
970
d0419dbf
JM
9712012-07-31 Joseph Myers <joseph@codesourcery.com>
972
973 [BZ #13629]
974 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
975 value between 1.0 and 2.0 and smaller part has absolute value less
976 than 1.0.
977 * math/s_clog10.c (__clog10): Likewise.
978 * math/s_clog10f.c (__clog10f): Likewise.
979 * math/s_clog10l.c (__clog10l): Likewise.
980 * math/s_clogf.c (__clogf): Likewise.
981 * math/s_clogl.c (__clogl): Likewise.
982 * math/libm-test.inc (clog_test): Add more tests.
983 (clog10_test): Likewise.
984 * sysdeps/i386/fpu/libm-test-ulps: Update.
985 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
986
2bc13872
FW
9872012-07-31 Florian Weimer <fweimer@redhat.com>
988
989 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
990 Exit with zero in case no suitable GID is found, and write a
991 message to standard error.
992
bea9b193
RM
9932012-07-30 Roland McGrath <roland@hack.frob.com>
994
995 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
996 rather than to 1.
997 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
998 (MAXPATHLEN): Removed.
999 (NOGROUP, NODEV): New macros.
1000 (setbit, clrbit, isset, isclr): New macros.
1001 (howmany, roundup, powerof2): New macros.
1002 (DEV_BSIZE): New macro.
1003
1004 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
1005 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
1006
1007 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
1008 definition on [!__NO_LONG_DOUBLE_MATH].
1009
1010 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
1011 PTR_MANGLE and PTR_DEMANGLE.
1012
1013 * socket/accept4.c (accept4): Rename to __libc_accept4.
1014 Define accept4 as a weak alias.
1015
1016 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
1017 on [_DIRENT_HAVE_D_TYPE].
1018 * io/ftw.c (ftw_dir): Likewise.
1019
1020 * io/xmknod.c (__xmknod): Don't check PATH for being null.
1021
1022 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
1023
1024 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
1025 Use the BSD numbers rather than the arbitrary ones we had.
1026 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
1027 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
1028 (SIGXCPU, SIGXFSZ): New macros.
1029 (_NSIG): Now 32.
1030
1031 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
1032 initializer on [_LIBC_REENTRANT].
1033
1034 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
1035 definitions inside [_POSIX_MAPPED_FILES].
1036
1037 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
1038
1039 * dirent/opendir.c: Include <fcntl.h>.
1040
1041 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
1042 (__libc_getspecific): Likewise.
1043 (__libc_key_create): Likewise.
1044
1045 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
1046 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
1047 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
1048 (tmpfile64): Define as alias.
1049 * sysdeps/wordsize-64/tmpfile.c: File removed.
1050 * sysdeps/wordsize-64/tmpfile64.c: File removed.
1051 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
1052 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
1053
1054 * stdio-common/vfscanf.c: Include <stdbool.h>.
1055 * nss/makedb.c: Likewise.
1056 * stdio-common/_i18n_number.h: Likewise.
1057 * argp/argp-help.c: Likewise.
1058 * posix/wordexp.c: Likewise.
1059 * sysdeps/posix/spawni.c: Likewise.
1060 * nss/nss_files/files-initgroups.c: Likewise.
1061 * stdio-common/reg-modifier.c: Include <stdlib.h>.
1062 * nss/nss_files/files-initgroups.c: Likewise.
1063 * nss/nss_db/db-netgrp.c: Likewise.
1064 * nss/nss_db/db-initgroups.c: Likewise.
1065 * io/fchmodat.c: Include <sys/stat.h>.
1066
1067 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
1068 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
1069
1070 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
1071 [HAVE_MMAP].
1072
1073 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
1074 Add multiple inclusion protection.
1075
e5abc686
DM
10762012-07-27 David S. Miller <davem@davemloft.net>
1077
1078 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1079
815e6fa3
GB
10802012-07-27 Gary Benson <gbenson@redhat.com>
1081
1082 [BZ #14298]
1083 * elf/rtld.c: Include <stap-probe.h>.
1084 (dl_main): Added static probes "init_start" and "init_complete".
1085 * elf/dl-load.c: Include <stap-probe.h>.
1086 (lose): Take new parameter "nsid".
1087 Added static probe "map_failed".
1088 (_dl_map_object_from_fd): Pass namespace id to lose.
1089 Added static probe "map_start".
1090 (open_verify): Pass namespace id to lose.
1091 * elf/dl-open.c: Include <stap-probe.h>.
1092 (dl_open_worker) Added static probes "map_complete", "reloc_start"
1093 and "reloc_complete".
1094 * elf/dl-close.c: Include <stap-probe.h>.
1095 (_dl_close_worker): Added static probes "unmap_start" and
1096 "unmap_complete".
1097 * elf/rtld-debugger-interface.txt: New file documenting the above.
1098
9f98c16c
RM
10992012-07-26 Roland McGrath <roland@hack.frob.com>
1100
1101 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
1102 rather than a string variable.
1103 * sunrpc/rpc_main.c (h_output): Likewise.
1104 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
1105
f3c22df3
PT
11062012-07-26 Pino Toscano <toscano.pino@tiscali.it>
1107
1108 * inet/check_native.c: New file.
1109
3129cfc6
JM
11102012-07-26 Joseph Myers <joseph@codesourcery.com>
1111
da865e95
JM
1112 [BZ #13629]
1113 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
1114 if larger part has absolute value 1.0.
1115 * math/s_clog10.c (__clog10): Likewise.
1116 * math/s_clog10f.c (__clog10f): Likewise.
1117 * math/s_clog10l.c (__clog10l): Likewise.
1118 * math/s_clogf.c (__clogf): Likewise.
1119 * math/s_clogl.c (__clogl): Likewise.
1120 * math/libm-test.inc (clog_test): Add more tests.
1121 (clog10_test): Likewise.
1122 * sysdeps/i386/fpu/libm-test-ulps: Update.
1123 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1124
3129cfc6
JM
1125 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
1126 (pltexit): Likewise.
1127 (La_regs): Likewise.
1128 (La_retval): Likewise.
1129 (int_retval): Likewise.
1130 Update #error for removed macros to refer only to definitions in
1131 tst-audit.h.
1132 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
1133 macro.
1134 (pltexit): Likewise.
1135 (La_regs): Likewise.
1136 (La_retval): Likewise.
1137 (int_retval): Likewise.
1138 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
1139 macro.
1140 (pltexit): Likewise.
1141 (La_regs): Likewise.
1142 (La_retval): Likewise.
1143 (int_retval): Likewise.
1144 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
1145 macro.
1146 (pltexit): Likewise.
1147 (La_regs): Likewise.
1148 (La_retval): Likewise.
1149 (int_retval): Likewise.
1150 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
1151 macro.
1152 (pltexit): Likewise.
1153 (La_regs): Likewise.
1154 (La_retval): Likewise.
1155 (int_retval): Likewise.
1156 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
1157 macro.
1158 (pltexit): Likewise.
1159 (La_regs): Likewise.
1160 (La_retval): Likewise.
1161 (int_retval): Likewise.
1162 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
1163 macro.
1164 (pltexit): Likewise.
1165 (La_regs): Likewise.
1166 (La_retval): Likewise.
1167 (int_retval): Likewise.
1168 * sysdeps/generic/tst-audit.h: Update comment to refer only to
1169 macro definitions in tst-audit.h.
1170 * sysdeps/i386/tst-audit.h: New file.
1171 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
1172 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
1173 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
1174 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
1175 * sysdeps/sh/tst-audit.h: Likewise.
1176 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
1177 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
1178 * sysdeps/x86_64/tst-audit.h: Likewise.
1179
bfc07087
AJ
11802012-07-26 Andreas Jaeger <aj@suse.de>
1181
b1b2aaf8
AJ
1182 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
1183 ptrace.
1184
1185 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
1186 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
1187 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
1188 PTRACE_O_MASK.
1189 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
1190 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
1191 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
1192
bfc07087
AJ
1193 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
1194 value.
1195
1196 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
1197 _sigsys.
1198 (si_call_addr, si_syscall, si_arch): Define new macro.
1199 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
1200 _sigsys.
1201 (si_call_addr, si_syscall, si_arch): Define new marcro.
1202 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
1203 _sigsys.
1204 (si_call_addr, si_syscall, si_arch): Define new macro.
1205 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
1206 _sigsys.
1207 (si_call_addr, si_syscall, si_arch): Define new macro.
1208
89b4b02f
JM
12092012-07-25 Joseph Myers <joseph@codesourcery.com>
1210
1211 [BZ #13717]
1212 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1213 Change to 2.4.21 where previously 2.4.1.
1214 * sysdeps/unix/sysv/linux/configure: Regenerated.
1215 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
1216 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
1217 Linux kernel version.
1218 (__ASSUME_STD_AUXV): Remove.
1219 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
1220 kernel version.
1221 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
1222 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
1223 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
1224 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
1225 (__ASSUME_NETLINK_SUPPORT): Likewise.
1226 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
1227 (__no_netlink_support): Remove conditional definition.
1228 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
1229 Remove.
1230 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
1231 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
1232 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
1233 (if_nameindex_ioctl): Remove.
1234 (if_nameindex_netlink): Do not handle __no_netlink_support.
1235 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
1236 code.
1237 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
1238 Remove conditional code.
1239 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
1240 code.
1241 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
1242 unconditional.
1243 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
1244 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
1245 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
1246 Remove.
1247 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
1248 [!__ASSUME_STD_AUXV]: Remove conditional code.
1249 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
1250 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
1251 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
1252 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
1253 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
1254 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
1255 code.
1256 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
1257 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
1258 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
1259 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
1260 conditional code.
1261 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
1262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
1263 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
1264 code.
1265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
1266 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
1267 conditional code.
1268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
1269 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
1270 code unconditional.
1271 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1272 conditional code.
1273 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
1274 unconditional.
1275 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1276 conditional code.
1277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
1278 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
1279 unconditional.
1280 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1281 conditional code.
1282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
1283 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
1284 code unconditional.
1285 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1286 conditional code.
1287 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
1288 unconditional.
1289 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1290 conditional code.
1291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
1292 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
1293 code unconditional.
1294 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1295 conditional code.
1296 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
1297 unconditional.
1298 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1299 conditional code.
1300
842a39cd
AS
13012012-07-25 Andreas Schwab <schwab@linux-m68k.org>
1302
1303 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
1304 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
1305 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
1306 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
1307 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
1308 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
1309 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
1310 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
1311 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
1312 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
1313 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
1314 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
1315 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
1316 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
1317 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
1318 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
1319 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
1320 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
1321 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
1322 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
1323 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
1324 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
1325 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
1326
84b3fd84
FW
13272012-07-25 Florian Weimer <fweimer@redhat.com>
1328
1329 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
1330 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
1331 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
1332 Introduce __libc_secure_getenv.
0c7936d5
FW
1333 * stdlib/Versions (2.17): Add secure_getenv
1334 (GLIBC_PRIVATE): Add __libc_secure_getenv.
1335 * stdlib/secure-getenv.c: Rename __secure_getenv to
1336 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
1337 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
1338 * stdlib/tst-secure-getenv.c: New.
1339 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
1340 * manual/startup.texi (Environment Access): Document
1341 secure_getenv.
84b3fd84
FW
1342 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
1343 __libc_secure_getenv.
1344 * inet/ruserpass.c (ruserpass): Likewise.
1345 * malloc/mtrace.c (mtrace): Likewise.
1346 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 1347 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
1348 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
1349 * sysdeps/posix/tempname.c: Likewise. Evaluate
1350 HAVE_SECURE_GETENV.
1351 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 1352 __secure_getenv to __libc_secure_getenv.
84b3fd84 1353 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
1354 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1355 Likewise.
1356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1357 Likewise.
1358 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
1359 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
1360 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
1361 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
1362 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
1363 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
1364 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 1365
56e49b71
JM
13662012-07-25 Joseph Myers <joseph@codesourcery.com>
1367
1368 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
1369 (struct La_i86_retval): Likewise.
1370 (struct La_x86_64_regs): Likewise.
1371 (struct La_x86_64_retval): Likewise.
1372 (struct La_x32_regs): Likewise.
1373 (struct La_x32_retval): Likewise.
1374 (struct La_ppc32_regs): Likewise.
1375 (struct La_ppc32_retval): Likewise.
1376 (struct La_ppc64_regs): Likewise.
1377 (struct La_ppc64_retval): Likewise.
1378 (struct La_sh_regs): Likewise.
1379 (struct La_sh_retval): Likewise.
1380 (struct La_s390_32_regs): Likewise.
1381 (struct La_s390_32_retval): Likewise.
1382 (struct La_s390_64_regs): Likewise.
1383 (struct La_s390_64_retval): Likewise.
1384 (struct La_sparc32_regs): Likewise.
1385 (struct La_sparc32_retval): Likewise.
1386 (struct La_sparc64_regs): Likewise.
1387 (struct La_sparc64_retval): Likewise.
1388 (struct audit_ifaces): Remove architecture-specific pltenter and
1389 pltexit members.
1390 * sysdeps/i386/ldsodefs.h: New file.
1391 * sysdeps/powerpc/ldsodefs.h: Likewise.
1392 * sysdeps/s390/ldsodefs.h: Likewise.
1393 * sysdeps/sh/ldsodefs.h: Likewise.
1394 * sysdeps/sparc/ldsodefs.h: Likewise.
1395 * sysdeps/x86_64/ldsodefs.h: Likewise.
1396
354691b7
MP
13972012-07-25 Marek Polacek <polacek@redhat.com>
1398
1399 [BZ #6808]
1400 * math/libm-test.inc (yn_test): Add another test.
1401 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
1402 to ERANGE when the result is +-Inf.
1403 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
1404 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
1405 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
1406 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
1407
bf9e2071
JM
14082012-07-24 Joseph Myers <joseph@codesourcery.com>
1409
1410 * conform/data/time.h-data (NULL): Use macro-constant. Require
1411 equal to 0.
1412 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
1413 clock_t.
1414 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
1415
57633811
TS
14162012-07-23 Thomas Schwinge <thomas@codesourcery.com>
1417
1418 * configure.in <sysdeps resolving>: Correct printing
1419 Implies_before.
1420 * configure: Regenerate.
1421
c23c33b0
TS
14222012-07-22 Thomas Schwinge <thomas@codesourcery.com>
1423
1424 * math/w_ilogb.c: Include <limits.h>.
1425 * math/w_ilogbl.c: Likewise.
1426
b5982523
JM
14272012-07-20 Joseph Myers <joseph@codesourcery.com>
1428
1429 * manual/lang.texi (__va_copy): Document primarily as ISO C99
1430 va_copy. Document allowing for unavailable va_copy only as
1431 pre-C99 compatibility.
1432 * manual/string.texi (Copying and Concatenation): Use va_copy
1433 instead of __va_copy in concat example.
1434
ac4ea442
PT
14352012-07-20 Pino Toscano <toscano.pino@tiscali.it>
1436
1437 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
1438 (__sendto): Use create_address_port. Initialize APORT and deallocate
1439 it if not null.
1440
f98eafbd
PT
1441 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
1442 with O_NOLINK passed to __file_name_lookup.
1443
898c7aab
PT
1444 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
1445 with O_NOLINK passed to __file_name_lookup.
1446
0ced335a
PT
1447 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
1448 negative N or less than NGIDS.
1449
b3404dbd
PT
1450 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
1451 type to string_t. Set ERANGE as errno and return it if NAME is not big
1452 enough. Use memcpy instead of strncpy.
1453
0f48659e
JM
14542012-07-20 Joseph Myers <joseph@codesourcery.com>
1455
1456 * elf/Makefile (check-data): Remove.
1457 (localplt.data): New vpath directive.
1458 ($(objpfx)check-localplt.out): Use localplt.data from vpath
1459 instead of $(check-data).
1460 * scripts/data/localplt-generic.data: Move to ...
1461 * sysdeps/generic/localplt.data: ... here.
1462 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
1463 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
1464 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
1465 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
1466 ... here.
1467 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
1468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
1469 ... here.
1470 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
1471 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
1472 ... here.
1473 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
1474 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
1475 ... here.
1476 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
1477 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
1478 ... here.
1479 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
1480 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
1481 ... here.
1482
d37cbdaa
AZ
14832012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1484
1485 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
1486 PPC32 and PPC64 files.
1487 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
1488 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
1489
46f85fc2
AK
14902012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1491
1492 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
1493 __makecontext_ret to ...
1494 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
1495 ... here and call exit if uc_link is NULL. New file.
1496 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
1497 __makecontext_ret.S.
1498 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
1499 __makecontext_ret to ...
1500 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
1501 ... here and call exit if uc_link is NULL. New file.
1502 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
1503 __makecontext_ret.S.
1504
08f43f9b
AK
15052012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1506
1507 * elf/elf.h (R_390_IRELATIVE): New definition.
1508 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
1509 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
1510 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
1511 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
1512 (elf_machine_lazy_rel): Likewise.
1513 * sysdeps/s390/dl-irel.h: New file.
1514 * sysdeps/s390/s390-64/memcpy.S: New asm code.
1515 * sysdeps/s390/s390-64/memset.S: New asm code.
1516 * sysdeps/s390/s390-64/memcmp.S: New asm code.
1517 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
1518 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
1519 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
1520 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
1521 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
1522 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
1523 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
1524 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
1525 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
1526 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
1527 * sysdeps/s390/s390-32/memcpy.S: New asm code.
1528 * sysdeps/s390/s390-32/memset.S: New asm code.
1529 * sysdeps/s390/s390-32/memcmp.S: New asm code.
1530
3b05db33
MP
15312012-07-17 Marek Polacek <polacek@redhat.com>
1532
1533 [BZ #14349]
1534 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
1535 * sysdeps/s390/s390-64/configure.in: Likewise.
1536 * sysdeps/sparc/configure.in: Likewise.
1537 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
1538 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
1539 * sysdeps/i386/configure.in: Likewise.
1540 * sysdeps/x86_64/configure.in: Likewise.
1541 * sysdeps/sh/configure.in: Likewise.
1542 * sysdeps/s390/s390-32/configure: Regenerated.
1543 * sysdeps/s390/s390-64/configure: Likewise.
1544 * sysdeps/x86_64/configure: Likewise.
1545 * sysdeps/sh/configure: Likewise.
1546 * sysdeps/powerpc/powerpc64/configure: Likewise.
1547 * sysdeps/powerpc/powerpc32/configure: Likewise.
1548 * sysdeps/sparc/configure: Likwise.
1549 * sysdeps/i386/configure: Likewise.
1550
a66877c6
MP
1551 * elf/dl-open.c: Comment fixes.
1552
cfc82fd8
JM
15532012-07-17 Joseph Myers <joseph@codesourcery.com>
1554
bd29910a
JM
1555 * Makefile [CXX] (check-data): Remove.
1556 [CXX] (c++-types.data): New vpath directive.
1557 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
1558 vpath. Do not allow for C++ type data being missing.
1559 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
1560 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
1561 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
1562 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
1563 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
1564 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
1565 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
1566 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
1567 ... here.
1568 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
1569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
1570 ... here.
1571 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
1572 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
1573 ... here.
1574 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
1575 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
1576 ... here.
1577 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
1578 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
1579 ... here.
1580 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
1581 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
1582 ... here.
1583 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
1584 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
1585 ... here.
1586 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
1587 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
1588
cfc82fd8
JM
1589 * elf/tls-macros.h (TLS_LE): Move architecture-specific
1590 definitions to architecture-specific files.
1591 (TLS_IE): Likewise.
1592 (TLS_LD): Likewise.
1593 (TLS_GD): Likewise.
1594 * sysdeps/i386/tls-macros.h: New file.
1595 * sysdeps/powerpc/tls-macros.h: Likewise.
1596 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
1597 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
1598 * sysdeps/sh/tls-macros.h: Likewise.
1599 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
1600 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
1601 * sysdeps/x86_64/tls-macros.h: Likewise.
1602
f7db3170
TS
16032012-07-17 Thomas Schwinge <thomas@codesourcery.com>
1604
07cbfc23
TS
1605 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
1606 zero value for regular exit case.
1607
f7db3170
TS
1608 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
1609 (__start_context): Preserve zero value for regular exit case.
1610
dc97c227
TS
16112012-07-17 Thomas Schwinge <thomas@codesourcery.com>
1612 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1613
1614 * manual/setjmp.texi (setcontext): Clarify normal process
1615 termination when uc_link is the null pointer.
1616 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
1617 exit call.
1618
d0cd7d02
AS
16192012-07-16 Andreas Schwab <schwab@linux-m68k.org>
1620
1621 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
1622 preprocessor. Test for each exception mask separately.
1623
dd318934
AJ
16242012-07-16 Andreas Jaeger <aj@suse.de>
1625
1626 * po/ru.po: Update from translation team.
1627
8048311a
JM
16282012-07-15 Joseph Myers <joseph@codesourcery.com>
1629
1630 * conform/data/string.h-data (NULL): Use macro-constant. Require
1631 equal to 0.
1632 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
1633 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
1634 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
1635 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
1636 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1637
b637d46e
AJ
16382012-07-13 Andreas Jaeger <aj@suse.de>
1639
1640 * po/fr.po: Update from translation team.
1641
541428fe
MP
16422012-07-12 Marek Polacek <polacek@redhat.com>
1643
1644 [BZ #14173]
1645 * math/libm-test.inc (yn_test): Add test for BZ #14173.
1646 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
1647 loop condition.
1648
ec332e94
JM
16492012-07-12 Joseph Myers <joseph@codesourcery.com>
1650
1651 [BZ #13717]
1652 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1653 Change to 2.4.1 where previously 2.4.0.
1654 * sysdeps/unix/sysv/linux/configure: Regenerated.
1655 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
1656 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
1657 version.
1658 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
1659 (__ASSUME_AT_CLKTCK): Remove.
1660 (__ASSUME_AT_PAGESIZE): Likewise.
1661 (__ASSUME_AT_XID): Likewise.
1662 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
1663 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
1664 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
1665 unconditionally.
1666 (HAVE_AUX_PAGESIZE): Likewise.
1667 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
1668 [__ASSUME_AT_CLKTCK]: Make code unconditional.
1669 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
1670
7b6e99be
JB
16712012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
1672
1673 [BZ #14307]
1674 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
1675 the temporary buffer used to invoke __gethostbyname2_r,
1676 __gethostbyaddr_r and gethostbyname4_r to make room for struct
1677 host_data / struct gaih_addrtuple.
1678 * resolv/nss_dns/dns-host.c (global scope): Move definition of
1679 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
1680 header file nss/nsswitch.h.
1681 * nss/nsswitch.h (global scope): Add definition of implementation
1682 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
1683 resolv/nss_dns/dns-host.c).
1684
608404eb
AJ
16852012-07-11 Andreas Jaeger <aj@suse.de>
1686
1687 * po/fr.po: Update from translation team.
1688
71220aca
AJ
1689 * po/sv.po: Update from translation team
1690 * po/fr.po: Another update from translation team.
1691
28cfe843
AZ
16922012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1693
1694 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
1695 for subnormals or multiply small sinh result by itself.
1696 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
1697 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1698
6b90f981
DM
16992012-07-11 David S. Miller <davem@davemloft.net>
1700
1701 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1702
c6825772
AS
17032012-07-10 Andreas Schwab <schwab@linux-m68k.org>
1704
1705 [BZ #14347]
1706 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
1707 (INTERNAL_MARK): Shift it here.
1708
7b8e0d49
MP
17092012-07-10 Marek Polacek <polacek@redhat.com>
1710
1711 [BZ #14151]
1712 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
1713 libc_cv_asm_global_directive with .globl.
1714 * configure: Regenerated.
1715 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
1716 with .globl.
1717 * sysdeps/i386/configure: Regenerated.
1718 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
1719 with .globl.
1720 * sysdeps/x86_64/configure: Regenerated.
1721 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
1722 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
1723 * elf/tst-unique2mod2.c: Likewise.
1724 * elf/tst-unique2mod1.c: Likewise.
1725 * elf/tst-unique1mod2.c: Likewise.
1726 * elf/tst-unique1mod1.c: Likewise.
1727 * sysdeps/s390/s390-32/sysdep.h: Likewise.
1728 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
1729 * sysdeps/s390/s390-64/sysdep.h: Likewise.
1730 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
1731 * sysdeps/mach/sysdep.h: Likewise.
1732 * sysdeps/i386/sysdep.h: Likewise.
1733 * sysdeps/i386/i386-mcount.S: Likewise.
1734 * sysdeps/x86_64/_mcount.S: Likewise.
1735 * sysdeps/x86_64/sysdep.h: Likewise.
1736 * sysdeps/sh/_mcount.S: Likewise.
1737 * sysdeps/sh/sysdep.h: Likewise.
1738 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
1739 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
1740 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
1741 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
1742 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
1743 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
1744 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
1745 * locale/localeinfo.h: Likewise.
1746 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
1747 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
1748
6c55cda3
RM
17492012-07-09 Roland McGrath <roland@hack.frob.com>
1750
1751 [BZ #14336]
1752 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
1753 system".
1754 * manual/message.texi (The Uniforum approach): Likewise.
1755 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
1756 (glibc iconv Implementation): Likewise.
1757
638a572e
JM
17582012-07-09 Joseph Myers <joseph@codesourcery.com>
1759
1760 [BZ #14337]
1761 * math/s_clog.c (__clog): Avoid scaling a value down where that
1762 could result in underflow.
1763 * math/s_clog10.c (__clog10): Likewise.
1764 * math/s_clog10f.c (__clog10f): Likewise.
1765 * math/s_clog10l.c (__clog10l): Likewise.
1766 * math/s_clogf.c (__clogf): Likewise.
1767 * math/s_clogl.c (__clogl): Likewise.
1768 * math/libm-test.inc (clog_test): Add more tests.
1769 (clog10_test): Likewise.
1770 * sysdeps/i386/fpu/libm-test-ulps: Update.
1771 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1772
261f4859
AS
17732012-07-06 Andreas Schwab <schwab@linux-m68k.org>
1774
0abaf3e4
AS
1775 [BZ #14283]
1776 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
1777 by 7 not 8 to examine high bit of fractional part.
1778
261f4859
AS
1779 [BZ #14042]
1780 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
1781 for call to __mcount_internal.
1782 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
1783 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
1784 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
1785
f17ac40d
JM
17862012-07-06 Joseph Myers <joseph@codesourcery.com>
1787
9ad63c23
JM
1788 [BZ #14154]
1789 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
1790 approximation for values within 0x1p-13f of an odd multiple of
1791 pi/4.
1792 * math/libm-test.inc (tan_test): Do not allow spurious underflow
1793 exception. Add more tests.
1794 * sysdeps/i386/fpu/libm-test-ulps: Update.
1795
f17ac40d
JM
1796 [BZ #6778]
1797 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
1798 inputs and return -1 for them. Do not check for +Inf in case not
1799 reachable for +Inf.
1800 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
1801 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
1802 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
1803 and return -1 for them. Do not check for +Inf in case not
1804 reachable for +Inf.
1805 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
1806 define.
1807 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
1808 and return -1 for them. Do not check for +Inf in case not
1809 reachable for +Inf.
1810 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
1811 spurious underflow.
1812 * sysdeps/i386/fpu/libm-test-ulps: Update.
1813 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1814
fb21f89b
MF
18152012-07-06 Mike Frysinger <vapier@gentoo.org>
1816
1817 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
1818
cdfe2c5e
JM
18192012-07-05 Joseph Myers <joseph@codesourcery.com>
1820
1821 [BZ #14157]
1822 [BZ #14331]
1823 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
1824 could result in spurious underflow. Scale down values above
1825 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
1826 * math/s_csqrtf.c (__csqrtf): Likewise.
1827 * math/s_csqrtl.c (__csqrtl): Likewise.
1828 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
1829 spurious underflow.
1830 * sysdeps/i386/fpu/libm-test-ulps: Update.
1831 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1832
70d35b67
AS
18332012-07-04 Andreas Schwab <schwab@linux-m68k.org>
1834
704bc459
AS
1835 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
1836 xopen-msg.sed.
1837 * catgets/xopen-msg.awk: New file.
1838 * catgets/xopen-msg.sed: Removed.
1839
70d35b67
AS
1840 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
1841 po2text.sed.
1842 * intl/po2test.awk: New file.
1843 * intl/po2test.sed: Removed.
1844
ca61cf32
JM
18452012-07-04 Joseph Myers <joseph@codesourcery.com>
1846
1847 [BZ #14328]
1848 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
1849 or multiply small sinh result by itself.
1850 * math/s_ctanf.c (__ctanf): Likewise.
1851 * math/s_ctanh.c (__ctanh): Likewise.
1852 * math/s_ctanhf.c (__ctanhf): Likewise.
1853 * math/s_ctanhl.c (__ctanhl): Likewise.
1854 * math/s_ctanl.c (__ctanl): Likewise.
1855 * math/libm-test.inc (ctan_test_tonearest): New function.
1856 (ctan_test_towardzero): Likewise.
1857 (ctan_test_downward): Likewise.
1858 (ctan_test_upward): Likewise.
1859 (ctanh_test_tonearest): Likewise.
1860 (ctanh_test_towardzero): Likewise.
1861 (ctanh_test_downward): Likewise.
1862 (ctanh_test_upward): Likewise.
1863 (main): Call these new functions.
1864 * sysdeps/i386/fpu/libm-test-ulps: Update.
1865 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1866
ca48a46a
MF
18672012-07-03 Mike Frysinger <vapier@gentoo.org>
1868
1869 * .gitignore: Delete /ports entry.
1870
9d63d37d
AJ
18712012-07-03 Andreas Jaeger <aj@suse.de>
1872
1873 * po/bg.po: Update from translation team.
1874 * po/cs.po: Likewise.
1875 * po/de.po: Likewise.
1876 * po/hr.po: Likewise.
1877 * po/nl.pl: Likewise.
1878 * po/pl.po: Likewise.
1879 * po/vi.po: Likewise.
1880
370ca3d2
JM
18812012-07-03 Joseph Myers <joseph@codesourcery.com>
1882
95f5a9a8
JM
1883 * Makeconfig [!+link] (+link-before-libc): New variable.
1884 [!+link] (+link-after-libc): Likewise.
1885 [!+link] (+link-tests): Likewise.
1886 [!+link] (+link): Define in terms of $(+link-before-libc) and
1887 $(+link-after-libc).
1888 [!+link-static] (+link-static-before-libc): New variable.
1889 [!+link-static] (+link-static-after-libc): Likewise.
1890 [!+link-static] (+link-static-tests): Likewise.
1891 [!+link-static] (+link-static): Define in terms of
1892 $(+link-static-before-libc) and $(+link-static-after-libc).
1893 [build-shared] (link-libc-before-gnulib): New variable.
1894 [build-shared] (link-libc-tests): Likewise.
1895 [build-shared] (link-libc): Define in terms of
1896 $(link-libc-before-gnulib).
1897 [!build-shared] (link-libc-tests): New variable.
1898 (link-libc-static-tests): New variable.
1899 [!gnulib] (gnulib-arch): New variable.
1900 [!gnulib] (gnulib-tests): Likewise.
1901 [!gnulib] (static-gnulib-arch): Likewise.
1902 [!gnulib] (static-gnulib-tests): Likewise.
1903 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
1904 Define with "=" instead of ":=".
1905 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
1906 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
1907 * Rules (binaries-all-notests): New variable.
1908 (binaries-all-tests): Likewise.
1909 (binaries-static-notests): Likewise.
1910 (binaries-static-tests): Likewise.
1911 (binaries-all): Define using $(binaries-all-notests) and
1912 $(binaries-all-tests).
1913 (binaries-static): Define using $(binaries-static-notests) and
1914 $(binaries-static-tests).
1915 (binaries-shared-tests): New variable.
1916 (binaries-shared-notests): Likewise.
1917 (binaries-shared): Remove variable.
1918 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
1919 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
1920 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
1921 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
1922 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
1923 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
1924 * elf/Makefile (sln-modules): New variable.
1925 (extra-objs): Add $(sln-modules:=.o).
1926 (ldconfig-modules): Add static-stubs.
1927 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
1928 * elf/static-stubs.c: New file.
1929
7a845b2c
JM
1930 [BZ #14283]
1931 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
1932 by 7 not 8 to examine high bit of fractional part. Use volatile
1933 variables when splitting into final array of floats if
1934 __FLT_EVAL_METHOD__ != 0.
1935 * math/libm-test.inc (cos_test): Add another test.
1936 (sin_test): Likewise.
1937 * sysdeps/i386/fpu/libm-test-ulps: Update.
1938
e2283f38
JM
1939 [BZ #14273]
1940 * math/libm-test.inc (cosh_test): Add more tests.
1941
370ca3d2
JM
1942 * version.h (RELEASE): Set to "development".
1943 (VERSION): Set to "2.16.90".
1944
ee9247c3
CD
19452012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
1946
1947 * NEWS: Update copyright. Remove last-updated date.
1948 Mention math library bug fixes and timezone data changes.
1949 * README: Mention GNU/Hurd, x32, and HPPA support status.
1950
4648c381
TS
19512012-06-28 Thomas Schwinge <thomas@codesourcery.com>
1952
1953 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
1954
aac78a43
AJ
19552012-06-27 Andreas Jaeger <aj@suse.de>
1956
1957 * manual/contrib.texi (Contributors): Add Samuel Thibault.
1958
ed3dbfad
AJ
19592012-06-25 Andreas Jaeger <aj@suse.de>
1960
1961 * sysdeps/s390/fpu/libm-test-ulps: Update.
1962
4d0ee855
AS
19632012-06-23 Andreas Schwab <schwab@linux-m68k.org>
1964 Thomas Schwinge <thomas@codesourcery.com>
1965
1966 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
1967 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
1968 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
1969 fanotify_mark.
1970
af1bce34
TS
19712012-06-23 Thomas Schwinge <thomas@codesourcery.com>
1972
a9fa33ba
TS
1973 * sysdeps/mach/start.c: Remove file.
1974 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
1975 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
1976 * sysdeps/sh/init-first.c: Likewise.
1977
58f902b8
TS
1978 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
1979 registers for frame unwinding purposes, add CFI directives.
1980 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
1981 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
1982 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
1983 Likewise.
1984
1518f58b
TS
1985 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
1986 __fortify_fail returning.
1987 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
1988
db9b5059
TS
1989 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
1990 sysdeps/sh/____longjmp_chk.S.
1991 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
1992 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
1993 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
1994 (gen-as-const-headers): Append sigaltstack-offsets.sym.
1995
967705fe
TS
1996 * sysdeps/sh/abort-instr.h: New file.
1997 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
1998 process in case exit returns.
1999
a9def8c4
TS
2000 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
2001 initialize the GOT register before use.
2002
2a649725
TS
2003 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
2004 calculation of ARGC > 4.
2005
af1bce34
TS
2006 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
2007 meaningful names to some local labels.
2008
d230f50a
KK
20092012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2010 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2011
2012 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
2013 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
2014 (__arch_compare_and_exchange_val_16_acq): Likewise.
2015 (__arch_compare_and_exchange_val_32_acq): Likewise.
2016 (atomic_exchange_and_add): Fix gUSA sequence.
2017 (atomic_add): Likewise.
2018 (atomic_add_negative): Likewise.
2019 (atomic_add_zero): Likewise.
2020 (atomic_bit_test_set): Likewise.
2021
0479b305
AS
20222012-06-22 Andreas Schwab <schwab@redhat.com>
2023
2024 [BZ #13579]
2025 * include/link.h (struct link_map): Add l_free_initfini.
2026 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
2027 l_initfini.
2028 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
2029 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
2030 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
2031 set.
2032
0e3933b9
CD
20332012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
2034
2035 * configure.in: Use AC_LANG_SOURCE.
2036 * configure: Regenerate.
2037
4248b1b1
RM
20382012-06-22 Roland McGrath <roland@hack.frob.com>
2039
2040 * configure.in (libc_cv_localstatedir): New substituted variable.
2041 * configure: Regenerated.
2042 * config.make.in (localstatedir): New variable, substituted from
2043 libc_cv_localstatedir.
2044 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
2045 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
2046 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
2047 * sysdeps/gnu/configure: Regenerated.
2048
006dd861
JL
20492012-06-21 Jeff Law <law@redhat.com>
2050
2051 [BZ #14277]
2052 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
2053 free. Simplify list management for _LIBC case.
2054
79662d42
JM
20552012-06-21 Joseph Myers <joseph@codesourcery.com>
2056
b7abb4bf
JM
2057 [BZ #14273]
2058 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
2059 Clear sign bit of 64-bit integer value before comparing against
2060 overflow value.
2061
79662d42
JM
2062 * sysdeps/mach/configure: Regenerated.
2063
1f150908
L
20642012-06-21 H.J. Lu <hongjiu.lu@intel.com>
2065
2066 [BZ #14278]
2067 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
2068
28363bbf
JL
20692012-06-21 Jeff Law <law@redhat.com>
2070
2071 [BZ #13882]
2072 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
2073 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 2074 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
2075 * elf/dl-open.c (dl_open_worker): Likewise.
2076
09615db4
CD
20772012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
2078
2079 * scripts/list-sources.sh: Scan PORTS for translations.
2080 * po/libc.pot: Regenerated.
2081
2174c6dd
AJ
20822012-06-21 Andreas Jaeger <aj@suse.de>
2083
2084 [BZ #12194]
2085 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
2086 warning.
2087 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
2088 * bits/byteswap-16.h (__bswap_16): Likewise.
2089 * bits/byteswap.h (__bswap_constant_16): Likewise.
2090
3ee947b1
L
20912012-06-18 H.J. Lu <hongjiu.lu@intel.com>
2092
2093 [BZ #14117]
a2f34833
L
2094 * sysdeps/i386/fpu_control.h: Removed.
2095 * sysdeps/x86_64/fpu_control.h: Moved to ...
2096 * sysdeps/x86/fpu_control.h: Here.
2097
3ee947b1
L
2098 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
2099 (_FPU_SETCW): Likewise.
2100
ed1825f8
L
21012012-06-15 H.J. Lu <hongjiu.lu@intel.com>
2102
25f1282a
L
2103 [BZ #14117]
2104 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
2105 * sysdeps/x86/fpu/bits/mathinline.h: This.
2106 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
2107
ed1825f8
L
2108 [BZ #14050]
2109 [BZ #14117]
2110 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
2111 functions if __x86_64__ is defined.
2112
36d54b74
CLT
21132012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
2114
2115 * string/endian.h: Add !__ASSEMBLER__ condition for including
2116 conversion interfaces.
2117
10285c21
JM
21182012-06-15 Joseph Myers <joseph@codesourcery.com>
2119
2120 [BZ #14241]
2121 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
2122 of ABS(x) in calculating zero to negative powers other than odd
2123 integers.
2124 * math/libm-test.inc (pow_test): Add more tests.
2125
06c5abbd
AJ
21262012-06-15 Andreas Jaeger <aj@suse.de>
2127
2128 * manual/contrib.texi (Contributors): Update entry of Liubov
2129 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
2130 Machado Filho.
2131
a3aeac40
CH
21322012-06-15 Cyril Hrubis <metan@ucw.cz>
2133
2134 * string/string.h: Add __wur to GNU version of strerror_r.
2135
49bdf4c1
L
21362012-06-14 H.J. Lu <hongjiu.lu@intel.com>
2137
2138 [BZ #14229]
2139 * string/Makefile (tests): Add tst-strtok_r.
2140 * string/tst-strtok_r.c: New file.
2141 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
2142 RAX_LP/RDX_LP on SAVE_PTR.
2143
834f9b8d
RM
21442012-06-14 Roland McGrath <roland@hack.frob.com>
2145
2146 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
2147
75fa1921
JM
21482012-06-14 Joseph Myers <joseph@codesourcery.com>
2149
2150 * libm_test.inc (csqrt_test): Allow more spurious underflow
2151 exceptions.
2152 (j0_test): Likewise.
2153 (j1_test): Likewise.
2154 (y0_test): Likewise.
2155 (y1_test): Likewise.
2156
771766df
CD
21572012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
2158
2159 * po/Makefile (libc.pot): Use UTF-8 charset.
2160
ceb9e56b
PP
21612012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
2162
2163 [BZ #14210]
2164 Suppress sign-conversion warning from FD_SET.
2165 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
2166 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
2167 not unsigned long int.
2168 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
2169
ddb28975
L
21702012-06-12 H.J. Lu <hongjiu.lu@intel.com>
2171
2172 [BZ #14050]
2173 [BZ #14117]
2174 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
2175 __extern_always_inline instead of __extern_inline.
2176 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
2177 (__signbit): Likewise.
2178 (__signbitl): Support C++ namespace.
2179 (lrintf): New inline function.
2180 (lrint): Likewise.
2181 (llrintf): Likewise.
2182 (llrint): Likewise.
2183 (fmaxf): Likewise.
2184 (fmax): Likewise.
2185 (fminf): Likewise.
2186 (fmin): Likewise.
2187 (rint): Likewise.
2188 (rintf): Likewise.
2189 (ceil): Likewise.
2190 (ceilf): Likewise.
2191 (floor): Likewise.
2192 (floorf): Likewise.
2193 (nearbyint): Likewise.
2194 (nearbyintf): Likewise.
2195
d7b4fb26
TS
21962012-06-12 Thomas Schwinge <thomas@codesourcery.com>
2197
2198 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
2199 non-default versions.
2200
eb55f5c2
RM
22012012-06-11 Roland McGrath <roland@hack.frob.com>
2202
2203 [BZ #14218]
2204 * manual/argp.texi (Argp): Reword argp_parse description slightly.
2205
366af02c
TS
22062012-06-09 Thomas Schwinge <thomas@codesourcery.com>
2207
99ff6e5c
TS
2208 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
2209 (FE_UPWARD, FE_DOWNWARD): Don't define.
2210 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
2211 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
2212
366af02c
TS
2213 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
2214 reading it.
2215 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
2216 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
2217
793ea851
KK
22182012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2219
2220 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
2221 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
2222 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
2223 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
2224
a728a38f
L
22252012-06-06 H.J. Lu <hongjiu.lu@intel.com>
2226
2227 [BZ #14117]
c08010c7
L
2228 * sysdeps/i386/fpu/bits/fenv.h: Removed.
2229 * sysdeps/i386/fpu/Implies: New file.
2230 * sysdeps/x86_64/fpu/Implies: Likewise.
2231 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
2232 * sysdeps/x86/fpu/bits/fenv.h: This.
2233
a728a38f
L
2234 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
2235 __SSE_MATH__.
2236
6e230d11
SP
22372012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
2238
2239 [BZ #14134]
2240 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
2241 character 0xffff that matches the last element of the
2242 conversion table.
2243
1b671feb
AZ
22442012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2245
2246 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
2247 fmodl commit.
2248
6043738b
AZ
22492012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2250
2251 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
2252 values higher than 25.6283.
2253
34ae0b32
AZ
22542012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2255
2256 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
2257 subnormal exponent extraction and add some __builtin_expect.
2258 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
2259 Fix for subnormal mantissa calculation.
2260
1214ec8f
MF
22612012-06-04 Mike Frysinger <vapier@gentoo.org>
2262
2263 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
2264 cpu2 is -1 and errno is not ENOSYS.
2265
f3d1f93c
L
22662012-06-04 H.J. Lu <hongjiu.lu@intel.com>
2267
2268 [BZ #14117]
0e4a3cd7
L
2269 * sysdeps/i386/i486/bits/string.h: Renamed to ...
2270 * sysdeps/x86/bits/string.h: This.
2271 * sysdeps/x86_64/bits/string.h: Removed.
2272
6704c645
L
2273 * sysdeps/i386/i486/bits/string.h: Define inline functions only
2274 if not compiling for x86-64, but compiling for >= i486.
2275
48495318
L
2276 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
2277 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
2278
14adcbfc
L
2279 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
2280 New macro from Linux kernel 3.4.0.
2281 (FP_XSTATE_MAGIC2): Likewise.
2282 (FP_XSTATE_MAGIC2_SIZE): Likewise.
2283 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
2284 (struct _fpx_sw_bytes): New struct.
2285 (struct _xsave_hdr): Likewise.
2286 (struct _ymmh_state): Likewise.
2287 (struct _xstate): Likewise.
2288
68e408ab
L
2289 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
2290 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
2291 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
2292 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
2293 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
2294 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
2295
f3d1f93c
L
2296 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
2297 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
2298 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
2299 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
2300 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
2301 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
2302
d9dc34cd
TMQMF
23032012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2304
2305 [BZ #13743]
2306 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
2307 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
2308 (sysdep_headers): Include sys/platform/ppc.h.
2309 * sysdeps/powerpc/test-gettimebase.c: Test for
2310 __ppc_get_timebase() to catch future ISA opcode/insn changes.
2311 * manual/Makefile (appendices): Include platform.texi.
2312 * manual/contrib.texi (Contributors): Update @node pointers.
2313 * manual/maint.texi (Maintenance): Likewise.
2314 (Platform): New node.
2315 * manual/platform.texi: New file. Document the new features.
2316
4af3879c
SP
23172012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2318 Jakub Jelinek <jakub@redhat.com>
2319
2320 [BZ #14188]
2321 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
2322 where __builtin_expect is unavailable.
2323
2fd6ff13
DM
23242012-06-03 David S. Miller <davem@davemloft.net>
2325
2326 * stdlib/longlong.h: Updated from GCC.
2327
173f7220
AS
23282012-06-02 Andreas Schwab <schwab@linux-m68k.org>
2329
2330 [BZ #14042]
2331 * sysdeps/powerpc/powerpc32/mcount.c: New file.
2332 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
2333 __mcount_internal.
2334 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
2335 (GLIBC_2.16): Likewise.
2336
f34a1c6f
L
23372012-06-01 H.J. Lu <hongjiu.lu@intel.com>
2338
2339 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
2340
88a4576f
JM
23412012-06-01 Joseph Myers <joseph@codesourcery.com>
2342
ea32bcdd
JM
2343 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
2344 (default-abi): New variable.
2345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
2346 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
2347 variable.
2348 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
2349 Likewise.
2350 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
2351 Likewise.
2352 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
2353 Likewise.
2354
88a4576f
JM
2355 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
2356 definition. Document in comment.
2357
402fe938
DM
23582012-06-01 David S. Miller <davem@davemloft.net>
2359
2360 * stdlib/longlong.h: Updated from GCC.
2361
3553723f
L
23622012-06-01 H.J. Lu <hongjiu.lu@intel.com>
2363
2364 [BZ #14117]
3bd872c4
L
2365 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
2366 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
2367 sys/debugreg.h sys/io.h here.
2368 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
2369 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
2370 sys/io.h.
2371 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
2372 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
2373 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
2374 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
2375 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
2376 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
2377
3553723f
L
2378 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
2379 Define only if __x86_64__ is defined.
2380
4842e4fe
JM
23812012-06-01 Joseph Myers <joseph@codesourcery.com>
2382
c5bfe3d5
JM
2383 [BZ #14048]
2384 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
2385 Use int64_t for variable i.
2386 * math/libm-test.inc (fmod_test): Add more tests.
2387
4842e4fe
JM
2388 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
2389 z computation is not scheduled after fetestexcept.
2390 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
2391 Use math_force_eval instead of asm to ensure calculation scheduled
2392 before exception test.
2393 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
2394 Ensure a1 + u.d computation is not scheduled after fetestexcept.
2395
efb73488
AJ
23962012-06-01 Aurelien Jarno <aurelien@aurel32.net>
2397
2398 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
2399 computation is not scheduled after fetestexcept.
2400
29bcce7c
L
24012012-06-01 H.J. Lu <hongjiu.lu@intel.com>
2402
2403 [BZ #14117]
2404 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
2405 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
2406
73a68f94
AZ
24072012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2408
2409 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
2410 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
2411
67b6df78
L
24122012-05-31 H.J. Lu <hongjiu.lu@intel.com>
2413
edf2933a 2414 [BZ #14117]
ebc64a18
L
2415 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
2416 <bits/wordsize.h>.
2417 (__WCHAR_MIN): Support __WORDSIZE == 64.
2418 (__WCHAR_MAX): Likewise.
2419
edf2933a
L
2420 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
2421 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
2422
57c6cf40
L
2423 [BZ #14183]
2424 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
2425 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
2426
67b6df78 2427 [BZ #14117]
8eb6281e
L
2428 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
2429 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
2430
aac639f4
L
2431 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
2432 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
2433
67b6df78
L
2434 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
2435 Defined to 1 if __x86_64__ isn't defined.
2436 (_STAT_VER_LINUX_OLD): New.
2437 (st_atime): Remove duplicate.
2438 (st_mtime): Likewise.
2439 (st_ctime): Likewise.
2440
1c2cfe81
DM
24412012-05-31 David S. Miller <davem@davemloft.net>
2442
2443 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
2444 entries.
2445
5be8418c
AS
24462012-06-01 Andreas Schwab <schwab@linux-m68k.org>
2447
e7725326
AS
2448 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
2449 gen-libm-test.pl.
2450
5be8418c
AS
2451 [BZ #14132]
2452 * elf/dl-reloc.c: Include <_itoa.h>.
2453 (_dl_reloc_bad_type): Remove use of INTUSE.
2454 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
2455 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
2456 * stdio-common/psiginfo.c (psiginfo): Likewise.
2457 * stdio-common/psignal.c (psignal): Likewise.
2458 * string/strsignal.c (strsignal): Likewise.
2459 * include/signal.h (_sys_siglist): Declare hidden proto.
2460 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
2461 INTVARDEF with libc_hidden_data_def.
2462 * stdio-common/itoa-udigits.c: Likewise.
2463 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
2464 (_itoa_lower_digits_internal): Remove declaration.
2465 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
2466 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
2467 (_sys_sigabbrev_internal): Remove aliases.
2468 (_sys_siglist): Define hidden alias.
2469
507352f1
MT
24702012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
2471
2472 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2473 bits/sysctl.h.
2474
42bbb1c3
L
24752012-05-31 H.J. Lu <hongjiu.lu@intel.com>
2476
2477 [BZ #14117]
6bd784b6
L
2478 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
2479 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
2480
8bca20f0
L
2481 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
2482 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
2483 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
2484 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
2485 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
2486 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
2487
f9e890a9
L
2488 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
2489 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
2490 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
2491
471101a1
L
2492 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
2493 with __addr.
2494 (insw): Likewise.
2495 (insl): Likewise.
2496 (outsb): Likewise.
2497 (outsw): Likewise.
2498 (outsl): Likewise.
2499
6451c862
L
2500 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
2501 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
2502 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
2503
a254b8c9
L
2504 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
2505 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
2506 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
2507 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
2508 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
2509 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
2510
b8dfdd92
L
2511 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
2512 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
2513
578cd270
L
2514 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
2515 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
2516
de662f5f
L
2517 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
2518 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
2519 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
2520
25653439
L
2521 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
2522 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
2523 to ...
2524 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
2525
6bad24a0
L
2526 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
2527 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
2528 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
2529
42bbb1c3
L
2530 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
2531 for x86-64.
2532 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
2533
2d10d547
JM
25342012-05-31 Joseph Myers <joseph@codesourcery.com>
2535
2536 * math/math.h (M_El): Use two more decimal places.
2537 (M_LOG2El): Likewise.
2538 (M_LOG10El): Likewise.
2539 (M_LN2l): Likewise.
2540 (M_LN10l): Likewise.
2541 (M_PIl): Likewise.
2542 (M_PI_2l): Likewise.
2543 (M_PI_4l): Likewise.
2544 (M_1_PIl): Likewise.
2545 (M_2_PIl): Likewise.
2546 (M_2_SQRTPIl): Likewise.
2547 (M_SQRT2l): Likewise.
2548 (M_SQRT1_2l): Likewise.
2549
f230c29b
DM
25502012-05-31 David S. Miller <davem@davemloft.net>
2551
2552 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
2553 values between float registers.
2554 * sysdeps/sparc/sparc64/memset.S: Likewise.
2555 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
2556
fed806c3
MF
25572012-05-31 Mike Frysinger <vapier@gentoo.org>
2558
2559 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
2560 -D_FORTIFY_SOURCE=1.
2561 (CPPFLAGS-tst-longjmp_chk.c): Define.
2562 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
2563 (CPPFLAGS-tst-longjmp_chk2.c): Define.
2564 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
2565 CFLAGS-tst-wchar-h.c.
2566
30917259
MP
25672012-05-31 Marek Polacek <polacek@redhat.com>
2568
2569 [BZ #14132]
2570 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
2571 __endmntent_internal): Remove declaration.
2572 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
2573 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
2574 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
2575
1c58d5dc
DM
25762012-05-30 David S. Miller <davem@davemloft.net>
2577
2578 * sysdeps/sparc/sparc32/soft-fp/q_util.c
2579 (___Q_simulate_exceptions): Use real FP ops rather than writing
2580 into the %fsr.
2581 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
2582 Likewise.
2583
7dc00e0d
L
25842012-05-30 H.J. Lu <hongjiu.lu@intel.com>
2585
2586 [BZ #14117]
0bd53985
L
2587 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
2588 * sysdeps/x86/bits/xtitypes.h: This.
2589
3a257e66
L
2590 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
2591 * sysdeps/x86/bits/wordsize.h: This.
2592
62f62904
L
2593 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
2594 * sysdeps/x86/bits/huge_vall.h: This.
2595
404fe9d9
L
2596 * sysdeps/i386/bits/select.h: Removed.
2597 * sysdeps/x86_64/bits/select.h: Renamed to ...
2598 * sysdeps/x86/bits/select.h: This.
2599
d48d0446
L
2600 * sysdeps/i386/bits/setjmp.h: Removed.
2601 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
2602 * sysdeps/x86/bits/setjmp.h: This.
2603
7dc00e0d
L
2604 * sysdeps/i386/bits/mathdef.h: Removed.
2605 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
2606 * sysdeps/x86/bits/mathdef.h: This.
2607
03277f8f
AS
26082012-05-30 Andreas Schwab <schwab@linux-m68k.org>
2609
2610 [BZ #14132]
2611 * include/sys/socket.h (__connect_internal)
2612 (__libc_sa_len_internal): Remove declaration.
2613 (__connect, __libc_sa_len): Declare hidden_proto.
2614 (SA_LEN): Remove use of INTUSE.
2615 * socket/connect.c: Add libc_hidden_def.
2616 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
2617 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
2618 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
2619 alias.
2620 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
2621 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
2622 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
2623 of adding _internal alias.
2624
13764867
L
26252012-05-30 H.J. Lu <hongjiu.lu@intel.com>
2626
2627 [BZ #14117]
6bd97696
L
2628 * sysdeps/i386/bits/link.h: Removed.
2629 * sysdeps/i386/bits/linkmap.h: Likewise.
2630 * sysdeps/x86_64/bits/link.h: Renamed to ...
2631 * sysdeps/x86/bits/link.h: This.
2632 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
2633 * sysdeps/x86/bits/linkmap.h: This.
2634
f726f0bb
L
2635 * sysdeps/i386/bits/endian.h: Removed.
2636 * sysdeps/x86_64/bits/endian.h: Renamed to ...
2637 * sysdeps/x86/bits/endian.h: This.
2638
13764867
L
2639 * sysdeps/i386/bits/byteswap.h: Removed.
2640 * sysdeps/i386/bits/byteswap-16.h: Likewise.
2641 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
2642 * sysdeps/x86/bits/byteswap.h: This.
2643 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
2644 * sysdeps/x86/bits/byteswap-16.h: This.
2645 * sysdeps/i386/Implies: Add x86.
2646 * sysdeps/x86_64/Implies: Likewise.
2647
ae251b0b
DM
26482012-05-30 David S. Miller <davem@davemloft.net>
2649
2650 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
2651 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
2652 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
2653 (FP_TRAPPING_EXCEPTIONS): Define.
2654 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
2655 (FP_TRAPPING_EXCEPTIONS): Define.
2656 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
2657 subnormals only when inexact has been signalled or underflow
2658 exceptions are enabled.
2659 (_FP_PACK_CANONICAL): Likewise.
2660
d5c90867
L
26612012-05-30 H.J. Lu <hongjiu.lu@intel.com>
2662
2663 [BZ #14183]
2664 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
2665 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
2666
63f1549e
RH
26672012-05-30 Richard Henderson <rth@twiddle.net>
2668
8d8f2279
RH
2669 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
2670 with #ifndef NOT_IN_libc.
2671
63f1549e
RH
2672 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
2673 marked to avoid plt entry.
2674
0ab0291b
L
26752012-05-30 H.J. Lu <hongjiu.lu@intel.com>
2676
2677 [BZ #14112]
2678 * Makeconfig (default-abi): New macro.
2679 (abi-includes): Likewise.
2680 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
2681 $(abi-$(default-abi)-lib-soname) for soname if defined.
2682 ($(common-objpfx)gnu/lib-names.stmp): Generate from
2683 abi-variants.
2684 * Makefile (installed-stubs): Likewise.
2685 * include/stubs-biarch.h: Removed.
2686 * scripts/lib-names.awk: Only handle one library at a time.
2687 * scripts/soversions.awk: Remove WORDSIZE support.
2688 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
2689 entries.
2690 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
2691 Removed.
2692 (syscall-list-default-condition): Likewise.
2693 (syscall-list-default-condition): Likewise.
2694 (syscall-list-includes): Likewise.
2695 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
2696 syscall-list-* with abi-*. Handle undefined abi-variants.
2697 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
2698 * sysdeps/unix/sysv/linux/i386/Implies: New file.
2699 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
2700 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
2701 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
2702 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
2703 Removed.
2704 (syscall-list-32-options): Likewise.
2705 (syscall-list-32-condition): Likewise.
2706 (syscall-list-64-options): Likewise.
2707 (syscall-list-64-condition): Likewise.
2708 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
2709 macro.
2710 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
2711 Renamed to ...
2712 (abi-*): This.
2713 (abi-64-ld-soname): New macro.
2714 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
2715 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
2716 Renamed to ...
2717 (abi-*): This.
2718 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
2719 * sysdeps/x86_64/x32/shlib-versions: Likewise.
2720
4da0431d
JM
27212012-05-30 Joseph Myers <joseph@codesourcery.com>
2722
3a85279c
JM
2723 * sysdeps/unix/sysv/linux/kernel-features.h
2724 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
2725 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
2726 include <kernel-features.h>.
2727 [!__NR_ftruncate64]: Remove conditional code.
2728 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2729 [__NR_ftruncate64]: Make code unconditional.
2730 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2731 * sysdeps/unix/sysv/linux/truncate64.c: Do not
2732 include <kernel-features.h>.
2733 [!__NR_ftruncate64]: Remove conditional code.
2734 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2735 [__NR_ftruncate64]: Make code unconditional.
2736 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2737 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
2738 include <kernel-features.h>.
2739 [!__NR_ftruncate64]: Remove conditional code.
2740 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2741 [__NR_ftruncate64]: Make code unconditional.
2742 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2743 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
2744 include <kernel-features.h>.
2745 [!__NR_ftruncate64]: Remove conditional code.
2746 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2747 [__NR_ftruncate64]: Make code unconditional.
2748 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2749
4da0431d
JM
2750 * configure.in (libc_cv_fpie): Weaken to a compile test using
2751 LIBC_TRY_CC_OPTION.
2752 * configure: Regenerated.
2753
11ef492c
AK
27542012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2755
2756 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
2757 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
2758 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
2759 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
2760 Refreshed.
2761 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
2762 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
2763 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
2764 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
2765 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
2766 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2767 Refreshed.
2768
d66ef399
DM
27692012-05-27 David S. Miller <davem@davemloft.net>
2770
2771 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
2772 (___Q_zero): New.
2773 (__Q_simulate_exceptions): Return void. Change to simulate
2774 exceptions by writing into the %fsr.
2775 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
2776 (__Qp_handle_exceptions): Likewise.
2777 (numbers): Delete.
2778 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
2779 __Qp_handle_exceptions.
2780 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
2781 __Qp_handle_exceptions.
2782 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
2783 as unused and give dummy FP_RND_NEAREST initializer.
2784 (FP_INHIBIT_RESULTS): Define.
2785 (___Q_simulate_exceptions): Update declaration.
2786 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
2787 formatting.
2788 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
2789 as unused and give dummy FP_RND_NEAREST initializer.
2790 (__Qp_handle_exceptions): Update declaration.
2791 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
2792 formatting.
2793
04fb54b5
TS
27942012-05-27 Thomas Schwinge <thomas@codesourcery.com>
2795
2796 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
2797 the temporary FPU control word.
2798 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
2799 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
2800 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
2801 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
2802 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
2803 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
2804 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
2805 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
2806 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
2807 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
2808 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
2809
3f99608f
KK
28102012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2811
2812 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
2813 fields.
2814
65a4de4e
CLT
28152012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
2816
2817 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
2818 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
2819 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
2820 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
2821 Likewise.
2822 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
2823 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
2824 Likewise.
2825
15749d40
UD
28262012-05-27 Ulrich Drepper <drepper@gmail.com>
2827
2828 * po/h.po: Update from translation team.
2829
25dbcb27
AS
28302012-05-26 Andreas Schwab <schwab@linux-m68k.org>
2831
3d3f8e55
AS
2832 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
2833
25dbcb27
AS
2834 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
2835 handling of denormals.
2836 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
2837 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
2838 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
2839 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
2840 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
2841 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
2842 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
2843 Likewise.
2844
7ad47a80 28452012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
2846
2847 [BZ #14152]
2848 * math/libm-test.inc (fma_test): Don't always expect underflow
2849 exception.
2850
9c6ea9fa
SP
28512012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2852
2853 [BZ #12416]
2854 * elf/tst-execstack.c: Include stackinfo.h.
2855 (do_test): Adjust test case to ensure that pthread_getattr_np
2856 behaviour remains the same after marking stack executable.
2857
a8239222
JM
28582012-05-25 Joseph Myers <joseph@codesourcery.com>
2859
2860 * sysdeps/unix/sysv/linux/kernel-features.h
2861 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
2862 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
2863 kernel-features.h.
2864 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
2865 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
2866 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
2867 kernel-features.h.
2868 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
2869 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
2870
918b5606
L
28712012-05-25 H.J. Lu <hongjiu.lu@intel.com>
2872
2873 * configure.in: Define the default includes to being none.
2874 * configure: Regenerated.
2875
3a097cc7
RM
28762012-05-25 Roland McGrath <roland@hack.frob.com>
2877
8422c9a5
RM
2878 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
2879 * sysdeps/x86_64/setjmp.S: Likewise.
2880 * sysdeps/i386/bsd-setjmp.S: Likewise.
2881 * sysdeps/i386/bsd-_setjmp.S: Likewise.
2882 * sysdeps/i386/setjmp.S: Likewise.
2883 * sysdeps/i386/__longjmp.S: Likewise.
2884 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
2885 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
2886
3a097cc7
RM
2887 * include/stap-probe.h: New file.
2888 * configure.in: Handle --enable-systemtap.
2889 * configure: Regenerated.
2890 * config.h.in (USE_STAP_PROBE): New #undef.
2891 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
2892 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
2893 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
2894
21708942
JM
28952012-05-25 Joseph Myers <joseph@codesourcery.com>
2896
2897 [BZ #13717]
2898 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
2899 to 2.4.0 where earlier.
2900 * sysdeps/unix/sysv/linux/configure: Regenerated.
2901 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
2902 <kernel-features.h>.
2903 [__ASSUME_32BITUIDS]: Make code unconditional.
2904 [!__ASSUME_32BITUIDS]: Remove conditional code.
2905 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
2906 <kernel-features.h>.
2907 [__ASSUME_32BITUIDS]: Make code unconditional.
2908 [!__ASSUME_32BITUIDS]: Remove conditional code.
2909 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
2910 [__ASSUME_32BITUIDS]: Make code unconditional.
2911 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
2912 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
2913 <kernel-features.h>.
2914 [__ASSUME_32BITUIDS]: Make code unconditional.
2915 [!__ASSUME_32BITUIDS]: Remove conditional code.
2916 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
2917 <kernel-features.h>.
2918 [__ASSUME_32BITUIDS]: Make code unconditional.
2919 [!__ASSUME_32BITUIDS]: Remove conditional code.
2920 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
2921 <kernel-features.h>.
2922 [__ASSUME_32BITUIDS]: Make code unconditional.
2923 [!__ASSUME_32BITUIDS]: Remove conditional code.
2924 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
2925 <kernel-features.h>.
2926 [__ASSUME_32BITUIDS]: Make code unconditional.
2927 [!__ASSUME_32BITUIDS]: Remove conditional code.
2928 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
2929 <kernel-features.h>.
2930 [__ASSUME_32BITUIDS]: Make code unconditional.
2931 [!__ASSUME_32BITUIDS]: Remove conditional code.
2932 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
2933 <kernel-features.h>.
2934 [__ASSUME_32BITUIDS]: Make code unconditional.
2935 [!__ASSUME_32BITUIDS]: Remove conditional code.
2936 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
2937 <kernel-features.h>.
2938 [__ASSUME_32BITUIDS]: Make code unconditional.
2939 [!__ASSUME_32BITUIDS]: Remove conditional code.
2940 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
2941 <kernel-features.h>.
2942 [__ASSUME_32BITUIDS]: Make code unconditional.
2943 [!__ASSUME_32BITUIDS]: Remove conditional code.
2944 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
2945 <kernel-features.h>.
2946 [__ASSUME_32BITUIDS]: Make code unconditional.
2947 [!__ASSUME_32BITUIDS]: Remove conditional code.
2948 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
2949 <kernel-features.h>.
2950 [__ASSUME_32BITUIDS]: Make code unconditional.
2951 [!__ASSUME_32BITUIDS]: Remove conditional code.
2952 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
2953 <kernel-features.h>.
2954 [__NR_setresgid] (__setresgid): Do not declare.
2955 [__ASSUME_32BITUIDS]: Make code unconditional.
2956 [!__ASSUME_32BITUIDS]: Remove conditional code.
2957 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
2958 <kernel-features.h>.
2959 [__NR_setresuid] (__setresuid): Do not declare.
2960 [__ASSUME_32BITUIDS]: Make code unconditional.
2961 [!__ASSUME_32BITUIDS]: Remove conditional code.
2962 * sysdeps/unix/sysv/linux/i386/setfsgid.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/setfsuid.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/setgid.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/setgroups.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/setregid.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/setresgid.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/setresuid.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/setreuid.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/setuid.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/shmctl.c: Do not include
2999 <kernel-features.h>.
3000 [__ASSUME_32BITUIDS]: Make code unconditional.
3001 [!__ASSUME_32BITUIDS]: Remove conditional code.
3002 * sysdeps/unix/sysv/linux/kernel-features.h
3003 (__ASSUME_SETRESUID_SYSCALL): Remove.
3004 (__ASSUME_SETRESGID_SYSCALL): Likewise.
3005 (__ASSUME_32BITUIDS): Likewise.
3006 (__ASSUME_LDT_WORKS): Likewise.
3007 (__ASSUME_O_DIRECTORY): Likewise.
3008 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
3009 architecture but not kernel version.
3010 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
3011 (__ASSUME_MMAP2_SYSCALL): Likewise.
3012 (__ASSUME_STAT64_SYSCALL): Likewise.
3013 (__ASSUME_IPC64): Likewise.
3014 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
3015 <kernel-features.h>.
3016 [__ASSUME_32BITUIDS]: Make code unconditional.
3017 [!__ASSUME_32BITUIDS]: Remove conditional code.
3018 * sysdeps/unix/sysv/linux/opendir.c: Do not include
3019 <kernel-features.h>.
3020 [__ASSUME_O_DIRECTORY]: Make code unconditional.
3021 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
3022 132096]: Remove conditional code.
3023 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
3024 * sysdeps/unix/sysv/linux/s390/s390-32/chown.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/s390/s390-32/lchown.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/setegid.c: Do not include
3033 <kernel-features.h>.
3034 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
3035 unconditional.
3036 (__setresgid): Do not declare.
3037 [__ASSUME_32BITUIDS]: Make code unconditional.
3038 [!__ASSUME_32BITUIDS]: Remove conditional code.
3039 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
3040 <kernel-features.h>.
3041 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
3042 unconditional.
3043 (__setresuid): Do not declare.
3044 [__ASSUME_32BITUIDS]: Make code unconditional.
3045 [!__ASSUME_32BITUIDS]: Remove conditional code.
3046 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
3047 <kernel-features.h>.
3048 [__ASSUME_32BITUIDS]: Make code unconditional.
3049 [!__ASSUME_32BITUIDS]: Remove conditional code.
3050 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
3051 <kernel-features.h>.
3052 [__ASSUME_32BITUIDS]: Make code unconditional.
3053 [!__ASSUME_32BITUIDS]: Remove conditional code.
3054
a386f1cc
RH
30552012-05-25 Richard Henderson <rth@twiddle.net>
3056
3057 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
3058 dl_hwcap to ifunc resolver.
3059 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
3060 elf_ifunc_invoke.
3061 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
3062 dl_hwcap to ifunc resolver.
3063 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
3064
b6550497
JM
30652012-05-24 Joseph Myers <joseph@codesourcery.com>
3066
3067 [BZ #14153]
3068 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
3069 for |x| <= 2**-26, not 2**-57.
3070 * math/libm-test.inc (acos_test): Do not allow spurious underflow
3071 exception.
3072
b0bc23a1
JL
30732012-05-24 Jeff Law <law@redhat.com>
3074
3075 * stdio-common/Makefile (tests): Add bug25.
3076 * stdio-common/bug25.c: New test.
3077
347c92e9
L
30782012-05-24 H.J. Lu <hongjiu.lu@intel.com>
3079
3080 [BZ #13576]
3081 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
3082 multiple of MALLOC_ALIGNMENT in size.
3083 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
3084
6bcc8b3f
JM
30852012-05-24 Joseph Myers <joseph@codesourcery.com>
3086
3087 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
3088 Require >= 256.
3089 (FILENAME_MAX): Use macro-int-constant.
3090 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
3091 (_IOFBF): Use macro-int-constant.
3092 (_IOLBF): Likewise.
3093 (_IONBF): Likewise.
3094 (SEEK_CUR): Likewise.
3095 (SEEK_END): Likewise.
3096 (SEEK_SET): Likewise.
3097 (TMP_MAX): Likewise.
3098 (EOF): Use macro-int-constant. Require < 0.
3099 (NULL): Use macro-constant. Require == 0.
3100 (stdin): Require type to be FILE *.
3101 (stdout): Likewise.
3102 (stderr): Likewise.
3103 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
3104 macro-int-constant.
3105 (EXIT_SUCCESS): Likewise.
3106 (NULL): Use macro-constant. Require == 0.
3107 (RAND_MAX): Use macro-int-constant.
3108 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
3109 [C99-based standards] (strtof): Require function.
3110 [C99-based standards] (strtold): Likewise.
3111 [C99-based standards] (strtoll): Likewise.
3112 [C99-based standards] (strtoull): Likewise.
3113 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
3114 [ISO || ISO99 || ISO11] (limits.h): Likewise.
3115 [ISO || ISO99 || ISO11] (math.h): Likewise.
3116 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
3117 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
3118 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3119
d18ea0c5
AS
31202012-05-24 Andreas Schwab <schwab@linux-m68k.org>
3121
3122 [BZ #14132]
56d25bb8
AS
3123 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
3124 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
3125 * intl/dgettext.c (DCGETTEXT): Likewise.
3126 * intl/gettext.c (DCGETTEXT): Likewise.
3127 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
3128 * posix/regex_internal.h (gettext): Likewise.
3129 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
3130 Remove declaration.
3131 * include/argz.h (__argz_count_internal)
3132 (__argz_stringify_internal): Remove declaration.
3133 (__argz_count, __argz_stringify): Declare hidden proto.
3134 * intl/dcgettext.c: Remove use of INTDEF.
3135 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
3136 * string/argz-stringify.c: Likewise.
3137 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
3138 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
3139 Declare hidden proto.
d18ea0c5
AS
3140 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
3141 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
3142 Declare hidden proto.
3143 * include/stdio.h (__asprintf_internal): Don't declare.
3144 (__asprintf): Don't define as macro. Declare hidden proto.
3145 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
3146 (__fsetlocking): Declare hidden proto.
3147 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
3148 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
3149 hidden proto.
3150 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
3151 (_IO_setlinebuf): Remove use of INTUSE.
3152 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
3153 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
3154 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
3155 Remove declaration.
3156 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
3157 (_IO_do_flush): Remove use of INTUSE.
3158 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
3159 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
3160 (_IO_adjust_column, _IO_least_wmarker)
3161 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
3162 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
3163 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
3164 (_IO_default_doallocate, _IO_wdefault_doallocate)
3165 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
3166 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
3167 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
3168 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
3169 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
3170 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
3171 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
3172 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
3173 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
3174 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
3175 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
3176 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
3177 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
3178 proto.
3179 (_IO_flush_all_internal, _IO_adjust_column_internal)
3180 (_IO_default_uflow_internal, _IO_default_finish_internal)
3181 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
3182 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
3183 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
3184 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
3185 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
3186 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
3187 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
3188 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
3189 (_IO_file_close_internal, _IO_file_close_it_internal)
3190 (_IO_file_underflow_internal, _IO_file_overflow_internal)
3191 (_IO_file_init_internal, _IO_file_attach_internal)
3192 (_IO_file_fopen_internal, _IO_file_read_internal)
3193 (_IO_file_sync_internal, _IO_file_seek_internal)
3194 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
3195 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
3196 (_IO_str_underflow_internal, _IO_str_overflow_internal)
3197 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
3198 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
3199 (_IO_list_all_internal, _IO_link_in_internal)
3200 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
3201 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
3202 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
3203 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
3204 (_IO_do_write_internal, _IO_padn_internal)
3205 (_IO_getline_info_internal, _IO_getline_internal)
3206 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
3207 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
3208 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
3209 (_IO_vfscanf_internal, _IO_vfprintf_internal)
3210 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
3211 (_IO_init_internal, _IO_un_link_internal): Don't declare.
3212 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
3213 with libc_hidden_ver, remove use of INTUSE.
3214 * libio/genops.c: Likewise.
3215 * libio/freopen.c: Likewise.
3216 * libio/freopen64.c: Likewise.
3217 * libio/iofclose.c: Likewise.
3218 * libio/iofdopen.c: Likewise.
3219 * libio/iofflush.c: Likewise.
3220 * libio/iofflush_u.c: Likewise.
3221 * libio/iofgets.c: Likewise.
3222 * libio/iofgets_u.c: Likewise.
3223 * libio/iofopen.c: Likewise.
3224 * libio/iofopncook.c: Likewise.
3225 * libio/iofread.c: Likewise.
3226 * libio/iofread_u.c: Likewise.
3227 * libio/ioftell.c: Likewise.
3228 * libio/iofwrite.c: Likewise.
3229 * libio/iogetline.c: Likewise.
3230 * libio/iogets.c: Likewise.
3231 * libio/iogetwline.c: Likewise.
3232 * libio/iopadn.c: Likewise.
3233 * libio/iopopen.c: Likewise.
3234 * libio/ioseekoff.c: Likewise.
3235 * libio/ioseekpos.c: Likewise.
3236 * libio/iosetbuffer.c: Likewise.
3237 * libio/iosetvbuf.c: Likewise.
3238 * libio/ioungetc.c: Likewise.
3239 * libio/ioungetwc.c: Likewise.
3240 * libio/iovdprintf.c: Likewise.
3241 * libio/iovsprintf.c: Likewise.
3242 * libio/iovsscanf.c: Likewise.
3243 * libio/memstream.c: Likewise.
3244 * libio/obprintf.c: Likewise.
3245 * libio/oldfileops.c: Likewise.
3246 * libio/oldiofclose.c: Likewise.
3247 * libio/oldiofdopen.c: Likewise.
3248 * libio/oldiofopen.c: Likewise.
3249 * libio/oldiopopen.c: Likewise.
3250 * libio/oldstdfiles.c: Likewise.
3251 * libio/putc.c: Likewise.
3252 * libio/setbuf.c: Likewise.
3253 * libio/setlinebuf.c: Likewise.
3254 * libio/stdfiles.c: Likewise.
3255 * libio/strops.c: Likewise.
3256 * libio/vasprintf.c: Likewise.
3257 * libio/vscanf.c: Likewise.
3258 * libio/vsnprintf.c: Likewise.
3259 * libio/vswprintf.c: Likewise.
3260 * libio/wfiledoalloc.c: Likewise.
3261 * libio/wfileops.c: Likewise.
3262 * libio/wgenops.c: Likewise.
3263 * libio/wmemstream.c: Likewise.
3264 * libio/wstrops.c: Likewise.
3265 * libio/__fpurge.c: Likewise.
3266 * libio/__fsetlocking.c: Likewise.
3267 * assert/assert.c: Likewise.
3268 * debug/fgets_chk.c: Likewise.
3269 * debug/fgets_u_chk.c: Likewise.
3270 * debug/fread_chk.c: Likewise.
3271 * debug/fread_u_chk.c: Likewise.
3272 * debug/gets_chk.c: Likewise.
3273 * debug/obprintf_chk.c: Likewise.
3274 * debug/vasprintf_chk.c: Likewise.
3275 * debug/vdprintf_chk.c: Likewise.
3276 * debug/vsnprintf_chk.c: Likewise.
3277 * debug/vsprintf_chk.c: Likewise.
3278 * malloc/mtrace.c: Likewise.
3279 * misc/error.c: Likewise.
3280 * misc/syslog.c: Likewise.
3281 * stdio-common/asprintf.c: Likewise.
3282 * stdio-common/fxprintf.c: Likewise.
3283 * stdio-common/getw.c: Likewise.
3284 * stdio-common/isoc99_fscanf.c: Likewise.
3285 * stdio-common/isoc99_scanf.c: Likewise.
3286 * stdio-common/isoc99_vfscanf.c: Likewise.
3287 * stdio-common/isoc99_vscanf.c: Likewise.
3288 * stdio-common/isoc99_vsscanf.c: Likewise.
3289 * stdio-common/printf-prs.c: Likewise.
3290 * stdio-common/printf_fp.c: Likewise.
3291 * stdio-common/printf_fphex.c: Likewise.
3292 * stdio-common/printf_size.c: Likewise.
3293 * stdio-common/putw.c: Likewise.
3294 * stdio-common/scanf.c: Likewise.
3295 * stdio-common/sprintf.c: Likewise.
3296 * stdio-common/tmpfile.c: Likewise.
3297 * stdio-common/vfprintf.c: Likewise.
3298 * stdio-common/vfscanf.c: Likewise.
3299 * stdlib/strfmon_l.c: Likewise.
3300 * sunrpc/openchild.c: Likewise.
3301 * sunrpc/xdr_stdio.c: Likewise.
3302 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
3303 * sysdeps/mach/hurd/tmpfile.c: Likewise.
3304
d6c33fda
RM
33052012-05-24 Roland McGrath <roland@hack.frob.com>
3306
c1487492
RM
3307 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
3308
3309 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
3310 in the third column, to generate for the shared library an IFUNC
3311 that uses _dl_vdso_vsym.
3312 * Makerules (COMPILE.c, compile-stdin.c): New variables.
3313 * Makeconfig (object-suffixes-noshared): New variable.
3314
3315 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
3316 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
3317 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
3318 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
3319
d6c33fda
RM
3320 [BZ #14132]
3321 * include/sys/time.h (__gettimeofday): Remove macro.
3322 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
3323 * time/gettimeofday.c (__gettimeofday): Remove #undef.
3324 Remove INTDEF.
3325 (__gettimeofday): Add libc_hidden_def.
3326 (gettimeofday): Add libc_hidden_weak.
3327 * sysdeps/mach/gettimeofday.c: Likewise.
3328 * sysdeps/posix/gettimeofday.c: Likewise.
3329 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
3330 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
3331 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
3332 (__gettimeofday_internal): Remove strong_alias.
3333 (__gettimeofday): Add libc_hidden_def.
3334 (gettimeofday): Add libc_hidden_weak.
3335 * sysdeps/unix/syscalls.list (gettimeofday):
3336 Remove __gettimeofday_internal alias.
3337
b5a2bbe6
L
33382012-05-24 Daniel Jacobowitz <drow@false.org>
3339 H.J. Lu <hongjiu.lu@intel.com>
3340
3341 [BZ #12495]
3342 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
3343 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
3344 (largebin_index_32_big): New.
3345 (largebin_index): Use it for 16-byte alignment.
3346 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
3347 correction with front_misalign.
3348
cfba4fda
L
33492012-05-24 H.J. Lu <hongjiu.lu@intel.com>
3350
7f907421
L
3351 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
3352 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
3353 Likewise.
3354 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
3355 Likewise.
3356 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
3357 Likewise.
3358 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
3359 Likewise.
3360 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
3361 Likewise.
3362 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
3363 Likewise.
3364 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
3365 Likewise.
3366 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
3367 Likewise.
3368 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
3369 Likewise.
3370 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
3371 Likewise.
3372 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
3373 Likewise.
3374 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
3375 Likewise.
3376
cfba4fda
L
3377 * scripts/data/c++-types-x32-linux-gnu.data: New file.
3378 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
3379
80bad0cc
JM
33802012-05-24 Joseph Myers <joseph@codesourcery.com>
3381
7a25eb06
JM
3382 [BZ #10846]
3383 [BZ #14036]
3384 * math/libm-test.inc (exp_test): Add test from bug 14036.
3385 (pow_test): Add test from bug 10846.
3386
795405f9
JM
3387 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
3388 and other flags.
3389 (special_function): Do not include flags in test name.
3390 (parse_args): Likewise.
3391 * sysdeps/i386/fpu/libm-test-ulps: Update.
3392 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3393 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3394 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
3395 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3396
80bad0cc
JM
3397 * math/gen-libm-test.pl (%beautify): Add entries for underflow
3398 exceptions.
3399 * math/libm-test.inc ("Philosophy"): Update comment about
3400 exception testing.
3401 (UNDERFLOW_EXCEPTION): New macro.
3402 (UNDERFLOW_EXCEPTION_OK): Likewise.
3403 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
3404 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
3405 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
3406 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
3407 (INVALID_EXCEPTION_OK): Update value.
3408 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
3409 (OVERFLOW_EXCEPTION_OK): Likewise.
3410 (IGNORE_ZERO_INF_SIGN): Likewise.
3411 (test_exceptions): Handle underflow exceptions.
3412 (acos_test): Update for underflow exception expectations.
3413 (cexp_test): Likewise.
3414 (clog_test): Likewise.
3415 (clog10_test): Likewise.
3416 (csqrt_test): Likewise.
3417 (ctan_test): Likewise.
3418 (ctanh_test): Likewise.
3419 (exp_test): Likewise.
3420 (exp10_test): Likewise.
3421 (exp2_test): Likewise.
3422 (expm1_test): Likewise.
3423 (fma_test): Likewise.
3424 (j0_test): Likewise.
3425 (jn_test): Likewise.
3426 (nexttoward_test): Likewise.
3427 (pow_test): Likewise.
3428 (scalbn_test): Likewise.
3429 (scalbln_test): Likewise.
3430 (tan_test): Likewise.
3431 (y1_test): Likewise.
3432 * sysdeps/i386/fpu/libm-test-ulps: Update.
3433 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3434
9e0e3d0b
DM
34352012-05-23 David S. Miller <davem@davemloft.net>
3436
3437 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
3438 (__libc_sigaction): Remove unused local variables.
3439
ccd0a08f
L
34402012-05-23 H.J. Lu <hongjiu.lu@intel.com>
3441
3442 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
3443
62bdf9a6
PE
34442012-05-23 Paul Eggert <eggert@cs.ucla.edu>
3445
f8591f80
PE
3446 mktime: avoid signed integer overflow
3447 * time/mktime.c (__mktime_internal): Do not mishandle the case
3448 where diff == INT_MIN.
3449
94c7d826
PE
3450 mktime: simplify computation of average
3451 * time/mktime.c (ranged_convert): Use new time_t_avg function
3452 instead of rolling our own (probably-slower) code.
3453
ce73d683
PE
3454 mktime: do not assume signed right shift propagates sign bit
3455 * time/mktime.c (isdst_differ): New static function.
3456 (__mktime_internal): No need to normalize tm_isdst now.
3457 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
3458 tm_isdst values.
3459
72a22e59
PE
3460 mktime: merge another wrapv change from gnulib
3461 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
3462 from some compilers.
3463
68605433
PE
3464 mktime: remove incorrect attempt at unusual arithmetics
3465 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
3466 The code didn't really work on such machines anyway.
3467 (TYPE_MINIMUM): Assume two's complement.
3468 (twos_complement_arithmetic): Verify that long_int and time_t
3469 are two's complement (or unsigned, in the latter case).
3470
03cf7fe3
PE
3471 mktime: check signed shifts on long_int and time_t, too
3472 * time/mktime.c (SHR): Check that shifts work as desired
3473 on the types long_int and time_t too, as SHR is used on
3474 such types.
3475
f04dfbc2
PE
3476 mktime: do not assume 'long' is wide enough
3477 * time/mktime.c (verify): Move decl up.
3478 (long_int): New type.
3479 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
3480 to remove assumption in the code that 'long' is wide enough to
3481 store year values. This assumption is not true on x32 and on
3482 some non-glibc platforms.
3483
62bdf9a6
PE
3484 mktime: merge wrapv change from gnulib
3485 * time/mktime.c (WRAPV): New macro.
3486 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
3487 (guess_time_tm, __mktime_internal): Do not assume that signed
3488 integer overflow wraps around; modern compilers generate code
3489 where this assumption is no longer valid.
3490
5e292e4f
L
34912012-05-23 H.J. Lu <hongjiu.lu@intel.com>
3492
3493 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
3494 Replace "jmp L(pseudo_end)" with "ret".
3495 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
3496 Likewise.
3497
8caf8c87
AJ
34982012-05-23 Andreas Jaeger <aj@suse.de>
3499
3500 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
3501 * sysdeps/unix/sysv/linux/poll.c: Remove file.
3502
1a09dc56
AJ
35032012-05-23 Andreas Jaeger <aj@suse.de>
3504 Maximilian Attems <max@stro.at>
3505
3506 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
3507 New macros.
3508
1c87aba0
L
35092012-05-23 H.J. Lu <hongjiu.lu@intel.com>
3510
3511 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
3512 code so that pseudo_end is just ret and the stack pointer is
3513 correct also for static library in error case.
3514
40e45bd5
JM
35152012-05-23 Joseph Myers <joseph@codesourcery.com>
3516
c2670533
JM
3517 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
3518 move to syscalls.list.
3519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
3520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
3521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
3522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
3523
40e45bd5
JM
3524 * manual/install.texi (Running make install): Do not mention Linux
3525 kernel version for which pt_chown is not needed.
3526 (Linux): Do not mention problems with nscd with 2.0 kernels.
3527 * INSTALL: Regenerated.
3528
be08eda5
AJ
35292012-05-23 Andreas Jaeger <aj@suse.de>
3530
3531 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
3532 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
3533 macro.
3534 * sysdeps/unix/sysv/linux/s390/bits/mman.h
3535 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3536 * sysdeps/unix/sysv/linux/sh/bits/mman.h
3537 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3538 * sysdeps/unix/sysv/linux/i386/bits/mman.h
3539 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3540 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
3541 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3542 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
3543 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3544 * sysdeps/unix/sysv/linux/bits/in.h
3545 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
3546
a6a056bb
RM
35472012-05-22 Roland McGrath <roland@hack.frob.com>
3548
3549 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
3550 (PREPARE_VERSION): Just use assert instead, it will be elided
3551 under [NDEBUG] anyway.
3552
c9009328
L
35532012-05-22 H.J. Lu <hongjiu.lu@intel.com>
3554
3555 * sysdeps/unix/sysv/linux/Makefile: Include
3556 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 3557 (sysdep_routines): Remove sysctl.
c9009328
L
3558 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
3559 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
3560 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
3561 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
3562 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
3563
73338355
AJ
35642012-05-22 Andreas Jaeger <aj@suse.de>
3565
3566 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
3567 that pseudo_end is just ret and the stack pointer is correct also
3568 for static library in error case.
3569
d44638b0
PP
35702012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
3571
3572 [BZ #14122]
3573 * nss/nsswitch.c (defconfig_entries): New variable.
3574 (__nss_database_lookup): Don't leak defconfig entries.
3575 (nss_parse_service_list): Don't leak on error paths.
3576 (free_database_entries): New function.
3577 (free_defconfig): New function.
3578 (free_mem): Move common code to free_database_entries.
3579
31a39bd8
L
35802012-05-22 H.J. Lu <hongjiu.lu@intel.com>
3581
da0331a8
L
3582 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
3583 Add arch_prctl.
3584 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
3585
31a39bd8
L
3586 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
3587 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
3588 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
3589 New macro.
3590 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
3591 (INTERNAL_SYSCALL_TYPES): Likewise.
3592 (LOAD_ARGS_TYPES_[1-6]): Likewise.
3593 (LOAD_REGS_TYPES_[1-6]): Likewise.
3594 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
3595 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
3596
45470df3
AZ
35972012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3598
3599 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
3600 copysignl for GLIBC_2_0.
3601 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
3602 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
3603 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
3604 logbl for GLIBC_2_0.
3605 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
3606 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
3607
98a61bcb
L
36082012-05-22 H.J. Lu <hongjiu.lu@intel.com>
3609
a4f6e481
L
3610 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
3611 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
3612
f63d5db6
L
3613 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
3614 Use "neg %eax".
3615
98a61bcb
L
3616 * time/mktime.c: Update copyright years.
3617
95770f14
PE
36182012-05-22 Paul Eggert <eggert@cs.ucla.edu>
3619
6226efbd
PE
3620 mktime: merge comment-quoting-style change from gnulib
3621 * time/mktime.c: Quote 'like this' in comments.
3622 The GNU coding standards suggest that we no longer quote `like this',
3623 as "`" and "'" are typically rendered asymmetrically nowadays.
3624 The typical gnulib style is to quote 'like this' when quoting
3625 code, and "like this" when quoting English.
3626
b99e4f78
PE
3627 * time/mktime.c (compile-command): Add "-I.".
3628
643e01e6
PE
3629 mktime: merge mktime-internal.h change from gnulib
3630 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
3631
2554247d
PE
3632 mktime: merge time_r change from gnulib
3633 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
3634
826dd0ab
PE
3635 mktime: merge DEBUG change from gnulib
3636 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
3637 case system <time.h> has a #define.
3638
bd83aabe
PE
3639 mktime: merge <sys/types.h> change from gnulib
3640 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
3641 since <time.t> is now guaranteed to define time_t.
3642
95770f14
PE
3643 mktime: merge HAVE_CONFIG_H change from gnulib
3644 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
3645
5e1a27a9
L
36462012-05-22 H.J. Lu <hongjiu.lu@intel.com>
3647
0e44a77e
L
3648 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
3649 Use "neg %eax".
3650
5e1a27a9
L
3651 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
3652 __rlim_t cast.
3653 (struct rusage): Use anonymous union to pad each field to
3654 __syscall_slong_t.
3655
46259bec
DM
36562012-05-21 David S. Miller <davem@davemloft.net>
3657
3658 * Makefules (o-iterator): Remove .s cases.
3659 (compile-command.s): Delete.
3660 (COMPILE.s): Delete.
3661 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
3662
59f0c22e
JM
36632012-05-21 Joseph Myers <joseph@codesourcery.com>
3664
3665 * configure.in (libc_cv_predef_stack_protector): Only consider
3666 "foobar" and "__stack_chk_fail" lines in libc_undefs.
3667 * configure: Regenerated.
3668
20c07380
L
36692012-05-21 H.J. Lu <hongjiu.lu@intel.com>
3670
bbb3154b
L
3671 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
3672 New macro. Use R*LP on int and pointer.
3673 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
3674 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
3675 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
3676 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
3677
20c07380
L
3678 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
3679 [__WORDSIZE_TIME64_COMPAT32] instead of
3680 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
3681 (struct utmp): Likewise.
3682 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
3683 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
3684 Renamed to ...
3685 (__WORDSIZE_TIME64_COMPAT32): This.
3686 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
3687 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
3688 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
3689 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
3690 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
3691 (__WORDSIZE_TIME64_COMPAT32): New macro.
3692
d8d1017e
AJ
36932012-05-21 Andreas Jaeger <aj@suse.de>
3694
3695 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
3696 only if [SHARED]. Add prototype for __wcschr_ia32.
3697
6c7fb145
RM
36982012-05-21 Roland McGrath <roland@hack.frob.com>
3699
3700 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
3701 of %rbp unmolested in the jmp_buf while mangling the low bits.
3702 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
3703 unmolested high bits of %rbp while demangling the low bits.
3704 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
3705
66274218
AJ
37062012-05-21 Andreas Jaeger <aj@suse.de>
3707
07c58f8f
AJ
3708 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
3709 * sunrpc/svc_simple.c: Use it for registerrpc.
3710 * sunrpc/xcrypt.c: Use it for passwd2des.
3711
66274218
AJ
3712 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
3713
61f65140
L
37142012-05-21 H.J. Lu <hongjiu.lu@intel.com>
3715
3716 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
3717 Don't define if [__SYSCALL_WORDSIZE != 32].
3718 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
3719 New macro.
3720
5fefb436
AJ
37212012-05-21 Bruno Haible <bruno@clisp.org>
3722 Andreas Jaeger <aj@suse.de>
3723
3724 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
3725 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
3726 inptr and inend for must_buffer_ch.
3727 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
3728 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
3729 * stdio-common/Makefile (tests): Remove bug15.
3730 (bug15-ENV): Remove macro.
3731 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
3732 anymore.
3733
d8e272ab
AJ
37342012-05-19 Andreas Jaeger <aj@suse.de>
3735 Roland McGrath <roland@hack.frob.com>
3736
3737 * manual/contrib.texi: Completely rewritten. It contains now an
3738 alphabetical list of contributors and their contributions.
3739
4a56a162
RH
37402012-05-21 Richard Henderson <rth@twiddle.net>
3741
3742 * misc/getauxval.c (__getauxval): Use unsigned long int.
3743 * misc/sys/auxv.h: Include <sys/cdefs.h>.
3744 (getauxval): Use unsigned long int.
3745
d024d23c
L
37462012-05-21 H.J. Lu <hongjiu.lu@intel.com>
3747
3748 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
3749
cbc00a03
RM
37502012-05-21 Roland McGrath <roland@hack.frob.com>
3751
3752 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
3753 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
3754 __alignof__ (long double).
3755
478143fa
AZ
37562012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3757
3758 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3759
c7683a6d
RH
37602012-05-20 Richard Henderson <rth@twiddle.net>
3761
3762 * misc/getauxval.c: New file.
3763 * misc/sys/auxv.h: New file.
3764 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
3765 (routines): Add getauxval.
3766 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
3767 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
3768 * elf/dl-sysdep.c (_dl_auxv): Remove.
3769 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
3770 * elf/dl-support.c (_dl_auxv): New variable.
3771 (_dl_aux_init): Initialize it.
3772 * manual/startup.texi (Auxiliary Vector): New node.
3773 * sysdeps/generic/bits/hwcap.h: New file.
3774 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
3775 * sysdeps/powerpc/sysdep.h: ... here. Include it.
3776 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
3777 * sysdeps/sparc/sysdep.h: ... here. Include it.
3778 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
3779 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
3780 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3781 Update.
c7683a6d
RH
3782 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
3783 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
3784 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
3785 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
3786 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
3787 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
3788 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
3789 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
3790
a6f1845d
AZ
37912012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3792
3793 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3794
cbcbe830
DM
37952012-05-19 David S. Miller <davem@davemloft.net>
3796
3797 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3798
e0b16cc2
JM
37992012-05-19 Joseph Myers <joseph@codesourcery.com>
3800
3801 [BZ #14123]
3802 * math/s_ccosh.c: Include <float.h>
3803 (__ccosh): Avoid internal overflow calculating sinh and cosh
3804 values before multiplying by sin and cos values.
3805 * math/s_ccoshf.c: Likewise.
3806 * math/s_ccoshl.c: Likewise.
3807 * math/s_csin.c: Likewise.
3808 * math/s_csinf.c: Likewise.
3809 * math/s_csinl.c: Likewise.
3810 * math/s_csinh.c: Likewise.
3811 * math/s_csinhf.c: Likewise.
3812 * math/s_csinhl.c: Likewise.
3813 * math/libm-test.inc (ccos_test): Add more tests.
3814 (ccosh_test): Likewise.
3815 (csin_test): Likewise.
3816 (csinh_test): Likewise.
3817 * sysdeps/i386/fpu/libm-test-ulps: Update.
3818 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3819
6ad13e08
L
38202012-05-19 H.J. Lu <hongjiu.lu@intel.com>
3821
f66f0ce8
L
3822 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
3823 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
3824
6ad13e08
L
3825 * sysdeps/x86_64/x32/_itoa.h: Add comment.
3826
b1d072a7
JM
38272012-05-19 Joseph Myers <joseph@codesourcery.com>
3828
3829 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
3830 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
3831 * sysdeps/powerpc/soft-fp/Versions: Likewise.
3832 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
3833 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
3834 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
3835 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
3836 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
3837 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
3838 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
3839 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
3840 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
3841 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
3842 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
3843 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
3844 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
3845 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
3846 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
3847 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
3848 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
3849 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
3850 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
3851 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
3852 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
3853 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
3854 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
3855 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
3856 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
3857 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
3858 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
3859 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
3860
9eae47cb
AJ
38612012-05-18 Andreas Jaeger <aj@suse.de>
3862
3863 * csu/.gitignore: Delete.
3864
bb07f69f
L
38652012-05-18 H.J. Lu <hongjiu.lu@intel.com>
3866
3867 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
3868 (timex): Use __syscall_slong_t.
3869
e6bdb741
AJ
38702012-05-18 Andreas Jaeger <aj@suse.de>
3871 Carlos O'Donell <carlos_odonell@mentor.com>
3872
3873 * manual/install.texi (Configuring and compiling): Update
3874 description about files modified in the source directory.
d6c33fda 3875 * INSTALL: Regenerated.
e6bdb741 3876
1b74487e
L
38772012-05-18 H.J. Lu <hongjiu.lu@intel.com>
3878
3879 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
3880 value. Use "or" to set return value to -1.
3881 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
3882 negate return value.
3883
a88b64b9
TMQMF
38842012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3885
3886 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
3887 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
3888 failure if the compiler has Graphite support disabled.
3889 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
3890 Likewise.
3891 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
3892 CFLAGS-memmove.c): Likewise.
3893 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
3894 Likewise.
3895
3707636e
L
38962012-05-18 H.J. Lu <hongjiu.lu@intel.com>
3897
610b8622
L
3898 * sysdeps/x86_64/x32/_itoa.h: New file.
3899
7cd195df
L
3900 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
3901 getdents system call only if kernel and user dirents have the
3902 same d_ino and d_off.
3903
94b07d20
L
3904 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
3905 LLONG_MAX != LONG_MAX.
3906 (_itoa_word): Use _ITOA_WORD_TYPE on value.
3907 (_fitoa_word): Likewise.
3908
18298070
L
3909 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
3910 years.
3911 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
3912 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
3913 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
3914
553c7ea4
L
3915 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
3916 include <bits/wordsize.h>. Check __x86_64__ instead of
3917 __WORDSIZE.
3918 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
3919 if __x86_64__ is defined. Use anonymous union on fpstate.
3920
3707636e
L
3921 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
3922 anonymous union.
3923
b53ef01a
AS
39242012-05-18 Andreas Schwab <schwab@linux-m68k.org>
3925
37fb1dc0
AS
3926 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
3927 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
3928 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
3929 Refer to _rtld_local_ro instead of _rtld_global_ro.
3930 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
3931 Likewise.
3932 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
3933 Likewise.
3934 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
3935 Likewise.
3936 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
3937 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
3938 of _rtld_global, and rtld_progname instead of _dl_argv[0].
3939
b53ef01a
AS
3940 * sysdeps/powerpc/powerpc32/dl-machine.c
3941 (__elf_machine_runtime_setup) [PROF]: Don't reference
3942 _dl_prof_resolve.
3943
7a185db2
AJ
39442012-05-18 Andreas Jaeger <aj@suse.de>
3945
3946 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
3947 function only available for GCCs before 3.4 since GCC 3.4
3948 introduced a builtin.
3949 (lrint): Likewise.
3950 (llrintf): Likewise.
3951 (llrint): Likewise.
3952 (fmaxf): Likewise.
3953 (fmax): Likewise.
3954 (fminf): Likewise.
3955 (fmin): Likewise.
3956 (rint): Likewise.
3957 (rintf): Likewise.
3958 (nearbyint): Likewise.
3959 (nearbyintf): Likewise.
3960 (ceil): Likewise.
3961 (ceilf): Likewise.
3962 (floor): Likewise.
3963 (floorf): Likewise.
3964
3e5aef87
L
39652012-05-17 H.J. Lu <hongjiu.lu@intel.com>
3966
428bd707
L
3967 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
3968 on both fields and cast pointer to __syscall_ulong_t.
3969
3e5aef87
L
3970 * bits/types.h (__fsword_t): New type.
3971 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
3972 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
3973 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3974 (__FSWORD_T_TYPE): Likewise.
3975 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3976 (__FSWORD_T_TYPE): Likewise.
3977 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3978 (__FSWORD_T_TYPE): Likewise.
3979 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
3980 (__FSWORD_T_TYPE): Likewise.
3981 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
3982 __SWORD_TYPE with __fsword_t.
3983 (statfs64): Likewise.
3984
1ba7c3dc
DM
39852012-05-17 David S. Miller <davem@davemloft.net>
3986
3987 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
3988
59910343
AJ
39892012-05-17 Andreas Jaeger <aj@suse.de>
3990
3991 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
3992 warning.
3993
2e4c1e9e
L
39942012-05-17 H.J. Lu <hongjiu.lu@intel.com>
3995
3996 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
3997
de7f5ce7
AJ
39982012-05-17 Andreas Jaeger <aj@suse.de>
3999
4000 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
4001 when it is used.
4002
286abc3d
CM
40032012-05-17 Chris Metcalf <cmetcalf@tilera.com>
4004
4005 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
4006
477cc68e
L
40072012-05-17 H.J. Lu <hongjiu.lu@intel.com>
4008
4009 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
4010 * sysdeps/x86_64/tst-mallocalign1.c: New file.
4011
1a0994f5
CD
40122012-05-17 Andreas Jaeger <aj@suse.de>
4013 Carlos O'Donell <carlos_odonell@mentor.com>
4014
4015 [BZ #14059]
4016 * sysdeps/x86_64/multiarch/init-arch.h
4017 (bit_YMM_Usable): Rename to...
4018 (bit_AVX_Usable): ... this.
4019 (bit_FMA4_Usable): New macro.
4020 (bit_XMM_state): New macro.
4021 (bit_YMM_state): New macro.
4022 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
4023 [__ASSEMBLER__] (index_AVX_Usable): ... this.
4024 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
4025 (CPUID_OSXSAVE): New macro.
4026 (CPUID_AVX): New macro.
4027 (CPUID_FMA4): New macro.
4028 (index_YMM_Usable): Rename to...
4029 (index_AVX_Usable): ... this.
4030 (HAS_AVX): Use HAS_ARCH_FEATURE.
4031 (HAS_FMA4): Likewise.
4032 (HAS_YMM_USABLE): Remove.
4033 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4034 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
4035 are present.
4036 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
4037 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
4038 * sysdeps/x86_64/multiarch/Makefile: Likewise.
4039 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
4040 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
4041
0af797de
CM
40422012-05-17 Chris Metcalf <cmetcalf@tilera.com>
4043
4044 * math/libm-test.c: Support platforms without multiple rounding modes.
4045 * math/bug-nextafter.c: Support platforms without FP exceptions.
4046 * math/bug-nexttoward.c: Likewise.
4047 * math/test-fenv.c: Likewise.
4048 * math/test-misc.c: Likewise.
4049 * stdlib/bug-getcontext.c: Likewise.
4050
e39745ff
AJ
40512012-05-17 Andreas Jaeger <aj@suse.de>
4052
4053 * manual/examples/search.c (critter_cmp): Change signature to
4054 avoid warnings.
4055 * manual/string.texi (Collation Functions): Likewise.
4056
48970aba
L
40572012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4058
4059 * bits/types.h: Fold copyright years.
4060 * bits/typesizes.h: Likewise.
4061 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
4062 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
4063 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
4064 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
4065 * time/time.h: Likewise.
4066
bedee953
PP
40672012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
4068
4069 [BZ #208]
4070 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
4071 in instead of returning them. Return void.
4072 (__libc_mallinfo): Accumulate over all arenas.
4073 (__malloc_stats): Adjust for change in int_mallinfo interface.
4074
61653dfb
RM
40752012-05-16 Roland McGrath <roland@hack.frob.com>
4076
30b99d79
RM
4077 [BZ #10375]
4078 * configure.in (NM): Add AC_CHECK_TOOL for it.
4079 (libc_extra_cflags): New substituted variable.
4080 Check for -fstack-protector being used implicitly.
4081 * configure: Regenerated.
4082 * config.make.in (config-extra-cflags): New variable,
4083 gets @libc_extra_cflags@.
4084 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
4085
61653dfb
RM
4086 [BZ #10375]
4087 * configure.in: Check for _FORTIFY_SOURCE being predefined.
4088 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
4089 * configure: Regenerated.
4090 * config.make.in (CPPUNDEFS): New substituted variable.
4091 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
4092 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
4093 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
4094
661768bb
L
40952012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4096
4097 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
4098 (mq_attr): Use __syscall_slong_t.
4099
d4261567
L
41002012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4101
4102 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
4103 Check __x86_64__ instead of __WORDSIZE.
4104 (_STAT_VER_LINUX): Likewise.
4105 (stat): Check __x86_64__ instead of __WORDSIZE. Use
4106 __syscall_ulong_t and __syscall_slong_t.
4107 (stat64): Likewise.
4108
cf3ff365
L
41092012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4110
4111 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
4112
76cf3e4d
L
41132012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4114
4115 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
4116
a637753a
L
41172012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4118
4119 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
4120 __syscall_ulong_t.
4121
d5e05119
L
4122 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
4123 include <bits/wordsize.h>. Check __x86_64__ instead of
4124 __WORDSIZE.
4125 (greg_t): Use "__extension__ long long int" if __x86_64__ is
4126 defined.
4127 (mcontext_t): Replace "unsigned long" with "unsigned long long".
4128
f62ee380
L
4129 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
4130 include <bits/wordsize.h>. Check __x86_64__ instead of
4131 __WORDSIZE.
4132 (user_regs_struct): Use "__extension__ unsigned long long"
4133 instead of "unsigned long" if __x86_64__ is defined.
4134 (user): Likewise. Pad after pointer field if __ILP32__ is
4135 defined.
4136
4e124ced
JM
41372012-05-16 Joseph Myers <joseph@codesourcery.com>
4138
6a3951a0
JM
4139 * configure.in (makeinfo): Require version 4.5 or later. Allow
4140 versions 5 to 9.
4141 * configure: Regenerated.
4142 * manual/install.texi (texinfo): Increase version requirement to
4143 4.5 or later.
4144 * INSTALL: Regenerated.
4145
4e124ced
JM
4146 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
4147
953ca31a
L
41482012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4149
4150 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
4151
617aca05
L
4152 * sysdeps/x86_64/x32/ffs.c: New file.
4153
5762f7ae
L
4154 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
4155 __syscall_ulong_t.
4156 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
4157 defined. Use __syscall_ulong_t.
4158 (shminfo): Use __syscall_ulong_t.
4159 (shm_info): Likewise.
4160
a26b6856
L
4161 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
4162 __syscall_ulong_t.
4163
cb2b9ef7
L
4164 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
4165 <bits/wordsize.h>.
4166 (msgqnum_t): Use __syscall_ulong_t.
4167 (msglen_t): Likewise.
4168 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
4169 __syscall_ulong_t.
4170
34683bb0
L
4171 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
4172 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
4173
84a68786
L
4174 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
4175
48baa5f1
L
4176 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
4177 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
4178
180be88b
L
4179 * sysvipc/sys/msg.h (msgbuf): Replace long int with
4180 __syscall_slong_t.
4181
5e90c8ad
L
4182 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
4183 include <bits/wordsize.h>. Check __x86_64__ instead of
4184 __WORDSIZE.
4185
23dfb58b
L
4186 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
4187 "unsigned long long int" if __x86_64__ is defined.
4188 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
4189
ce5d54b0
L
4190 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
4191 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
4192 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
4193
13dc9eac
L
4194 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
4195 <stdint.h>.
4196 (GET_PC): Cast to uintptr_t first.
4197 (GET_FRAME): Likewise.
4198 (GET_STACK): Likewise.
4199
a7895d15
L
4200 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
4201 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
4202 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
4203 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
4204 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
4205 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
4206 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
4207 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
4208 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
4209 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
4210 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
4211 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
4212 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
4213 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
4214 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
4215 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
4216 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
4217 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
4218 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
4219 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
4220 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
4221 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
4222 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
4223 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
4224 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
4225 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
4226 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
4227 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
4228 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
4229
656416c9
AS
42302012-05-16 Andreas Schwab <schwab@linux-m68k.org>
4231
5bd66283
AS
4232 * Makerules (+depfiles): Also collect depfiles from .oS in
4233 $(extra-objs).
4234 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
4235 .oS, $(libnldbl-routines)).
4236
656416c9
AS
4237 * Makerules (native-compile-mkdep-flags): Define.
4238 * sunrpc/Makefile (extra-objs): Add $(addprefix
4239 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
4240 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
4241 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
4242 calling $(make-target-directory).
4243
a46f2169
L
42442012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4245
4246 * bits/types.h (__snseconds_t): Removed.
4247 * time/time.h (struct timespec): Replace __snseconds_t with
4248 __syscall_slong_t.
4249 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
4250 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
4251 Likewise.
4252 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4253 (__SNSECONDS_T_TYPE): Likewise.
4254 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4255 (__SNSECONDS_T_TYPE): Likewise.
4256 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4257 (__SNSECONDS_T_TYPE): Likewise.
4258
6af6528b
L
42592012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4260
4261 * sysdeps/mach/hurd/bits/typesizes.h
4262 (__SYSCALL_SLONG_TYPE): New macro.
4263 (__SYSCALL_ULONG_TYPE): Likewise.
4264
de986b56
L
42652012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4266
4267 * bits/types.h (__syscall_slong_t): New type.
4268 (__syscall_ulong_t): Likewise.
4269
4270 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
4271 (__SYSCALL_ULONG_TYPE): Likewise.
4272 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4273 (__SYSCALL_SLONG_TYPE): Likewise.
4274 (__SYSCALL_ULONG_TYPE): Likewise.
4275 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4276 (__SYSCALL_SLONG_TYPE): Likewise.
4277 (__SYSCALL_ULONG_TYPE): Likewise.
4278 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4279 (__SYSCALL_SLONG_TYPE): Likewise.
4280 (__SYSCALL_ULONG_TYPE): Likewise.
4281
85736dc7
L
42822012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4283
4284 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
4285 Add sigaltstack-offsets.sym.
4286 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
4287 <sigaltstack-offsets.h>.
4288 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
4289 longjmp_msg pointer.
4290 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
4291 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
4292 signal stack.
4293 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
4294
cc03b296
JM
42952012-05-15 Joseph Myers <joseph@codesourcery.com>
4296
a9538892
JM
4297 * elf/stackguard-macros.h: Remove file.
4298 * sysdeps/generic/stackguard-macros.h: New file.
4299 * sysdeps/i386/stackguard-macros.h: Likewise.
4300 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
4301 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
4302 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
4303 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
4304 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
4305 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
4306 * sysdeps/x86_64/stackguard-macros.h: Likewise.
4307 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
4308 <elf/stackguard-macros.h>.
4309
cc03b296
JM
4310 [BZ #14109]
4311 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
4312 __aligned__ in attribute.
4313 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
4314 (gregset_t): Likewise.
4315
93171016
L
43162012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4317
4318 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
4319 * sysdeps/x86_64/64/Implies-after: Here. New file.
4320 * sysdeps/x86_64/x32/Implies-after: New file.
4321
d86813a0
L
43222012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4323
4324 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
4325 and access return value for _dl_profile_fixup. Use R10_LP to
4326 load frame size.
4327
2953ec75
L
43282012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4329
4330 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
4331
3b550e9e
L
43322012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4333
4334 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
4335 * sysdeps/x86_64/x32/sysdep.h: New file.
4336
eda41706
L
43372012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4338
4339 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
4340 * sysdeps/x86_64/setjmp.S: Likewise.
4341
9ea01d93
AZ
43422012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4343
4344 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
4345 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
4346 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
4347 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
4348 remove unused global constant.
4349
02a91938
CM
43502012-05-15 Chris Metcalf <cmetcalf@tilera.com>
4351
4352 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
4353 include of <not-cancel.h>.
4354
6540185f
RM
43552012-05-15 Roland McGrath <roland@hack.frob.com>
4356
4357 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
4358
509072a0
AJ
43592012-05-15 Jeff Law <law@redhat.com>
4360 Andreas Jaeger <aj@suse.de>
4361
4362 [BZ #13594]
4363 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
4364 out from...
4365 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
4366 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
4367 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
4368 code changing __hst_map_handle.map.
4369
ba75122d
RM
43702012-05-15 Roland McGrath <roland@hack.frob.com>
4371
4372 * configure.in (sysnames): Look for Implies-before and Implies-after
4373 files.
4374 * configure: Regenerated.
4375
890d8bd8
L
43762012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4377
4378 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
4379 8-byte data alignment with LP_SIZE alignment.
4380
f6ee6623
L
43812012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4382
4383 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
4384 into R10_LP.
4385
ea2626f6
L
43862012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4387
4388 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
4389
085f715e
L
43902012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4391
4392 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
4393 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
4394 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
4395 Likewise.
4396 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
4397
be8498fc
L
43982012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4399
4400 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
4401 (stackinfo_sub_sp): Likewise.
4402
70bc83b9
L
44032012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4404
4405 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
4406 RAX_LP.
4407
9bc0b730
L
44082012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4409
4410 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
4411 into R*_LP.
4412
6d2850e7
L
44132012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4414
4415 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
4416 sizes into R*_LP.
4417
3cb84561
L
44182012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4419
4420 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
4421
54e2ed81
L
44222012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4423
4424 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
4425 into R11_LP and load __x86_64_shared_cache_size_half into
4426 R8_LP.
4427
8a17f349
L
44282012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4429
4430 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
4431 R8_LP.
4432
777b1eea
AZ
44332012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4434
4435 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
4436 logb for POWER7.
4437 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
4438 logbf for POWER7.
4439 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
4440 logbl for POWER7.
4441 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
4442 powerpc32/power7/fpu/s_logb.c via #include.
4443 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
4444 powerpc32/power7/fpu/s_logbf.c via #include.
4445 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
4446 powerpc32/power7/fpu/s_logbl.c via #include.
4447
d20d4ac2
JM
44482012-05-15 Joseph Myers <joseph@codesourcery.com>
4449
4450 * README.libm: Remove file.
4451
6cdef1ab
L
44522012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4453
4454 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
4455 count for x32. Use R*_LP and omit operand-size suffix.
4456
0b254d8f
L
44572012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4458
4459 * shlib-versions: Move x86_64-.*-linux.* entries to ...
4460 * sysdeps/x86_64/64/shlib-versions: Here. New file.
4461 * sysdeps/x86_64/x32/shlib-versions: New file.
4462
ceb809dc
RM
44632012-05-14 Roland McGrath <roland@hack.frob.com>
4464
4465 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
4466 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
4467 Use _dl_fatal_printf instead.
4468
37f1abd4
JM
44692012-05-14 Joseph Myers <joseph@codesourcery.com>
4470
4471 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
4472 set if not set by the user. Do not allow for being unset.
4473 * sysdeps/unix/sysv/linux/configure: Regenerated.
4474
11de3a33
L
44752012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4476
4477 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
4478 the `q' suffix from lea and replace .quad with ASM_ADDR.
4479
e02f153a
L
44802012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4481
4482 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
4483 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
4484 instead of $17.
4485 (PTR_DEMANGLE): Likewise.
4486
520ae0fd
L
44872012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4488
4489 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
4490 (LP_OP): Likewise.
4491 (ASM_ADDR): Likewise.
4492 (RAX_LP): Likewise.
4493 (RBP_LP): Likewise.
4494 (RBX_LP): Likewise.
4495 (RCX_LP): Likewise.
4496 (RDI_LP): Likewise.
4497 (RSI_LP): Likewise.
4498 (RSP_LP): Likewise.
4499 (R8_LP): Likewise.
4500 (R9_LP): Likewise.
4501 (R10_LP): Likewise.
4502 (R10_LP): Likewise.
4503 (R11_LP): Likewise.
4504 (R12_LP): Likewise.
4505 (R13_LP): Likewise.
4506 (R14_LP): Likewise.
4507 (R15_LP): Likewise.
4508
b985be81
L
45092012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4510
4511 * sysdeps/x86_64/x32/dl-machine.h: New file.
4512
6a4888ff
AJ
45132012-05-14 Andreas Jaeger <aj@suse.de>
4514
4515 * manual/Makefile (subdir): Remove export of subdir.
4516 (all): Remove target.
4517 (.PHONY): Remove all from list.
4518 (mkinstalldirs): Remove.
4519 (.PHONY): Remove installdirs from list.
4520 ($(inst_infodir)/libc.info): Use make-target-directory.
4521 (installdirs): Remove.
4522 (subdir_%): Remove.
4523 (glibc-targets): Remove.
4524 (lib): Remove.
4525 (stubs): Remove.
4526 ($(objpfx)stubs ../po/manual.pot): Remove.
4527 ($(objpfx)stamp%): Remove.
4528 (make-target-directory): Remove.
4529 (subdir_install): Remove.
4530 (routines): Remove.
4531 (aux): Remove.
4532 (sources): Remove.
4533 (objects): Remove.
4534 (headers): Remove.
4535
4536 [BZ #13750]
4537 * manual/.gitignore: Remove, it's not needed anymore.
4538 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
4539 all files in it.
4540 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
4541 directory.
4542 (texis): Renamed to $(objpfx)texis.
4543 (texis-path): New, contains path to generated files.
4544 (chapters.%): Use texis-path for complete path, add extra argument
4545 libc-texinfo.sh.
4546 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
4547 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
4548 (summary,texi, stamp-summary): Use complete path of
4549 files. Generate files in build dir.
4550 (dir-add.texi): Build in build dir.
4551 (libm-err.texi,stamp-libm-err): Likewise.
4552 (version.texi, stamp-version): Likewise.
4553 (.%c.texi): Likewise.
4554 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
4555 (mostlyclean): Remove target.
4556 (realclean): Remove target.
4557 (generated): Add new variable with contents from mostlyclean and
4558 realclean, remove entries duplicated in common-mostlyclean, add
4559 stamp-libm-err and stamp-version.
4560 (generated-dirs): Add libc directory.
4561 ($(inst_infodir)/libc.info): Install files from build dir.
4562
4563 * manual/install.texi (Configuring and compiling): Adjust since
4564 the info files are not part of the tar ball anymore.
4565
7ac77294
AJ
45662012-05-14 Andreas Jaeger <aj@suse.de>
4567
4568 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
4569 variable.
4570
ffb7875d
JM
45712012-05-14 Joseph Myers <joseph@codesourcery.com>
4572
4573 [BZ #13717]
4574 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
4575 to 2.2.0 where earlier.
4576 * sysdeps/unix/sysv/linux/configure: Regenerated.
4577 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
4578 Remove conditional code.
4579 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
4580 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
4581 Remove conditional code.
4582 [!__NR_lchown]: Likewise.
4583 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
4584 [__NR_lchown]: Likewise.
4585 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
4586 comment referencing __ASSUME_LCHOWN_SYSCALL.
4587 * sysdeps/unix/sysv/linux/i386/sigaction.c
4588 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4589 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4590 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
4591 Remove conditional code.
4592 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
4593 (__protocol_available): Remove #if 0 code.
4594 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
4595 conditional code.
4596 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
4597 * sysdeps/unix/sysv/linux/kernel-features.h
4598 (__ASSUME_GETCWD_SYSCALL): Don't define.
4599 (__ASSUME_REALTIME_SIGNALS): Likewise.
4600 (__ASSUME_PREAD_SYSCALL): Likewise.
4601 (__ASSUME_PWRITE_SYSCALL): Likewise.
4602 (__ASSUME_POLL_SYSCALL): Likewise.
4603 (__ASSUME_LCHOWN_SYSCALL): Likewise.
4604 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
4605 non-SPARC.
4606 (__ASSUME_SIOCGIFNAME): Don't define.
4607 (__ASSUME_MSG_NOSIGNAL): Likewise.
4608 (__ASSUME_SENDFILE): Define unconditionally.
4609 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
4610 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
4611 conditional code.
4612 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
4613 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
4614 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
4615 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
4616 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
4617 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
4618 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
4619 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
4620 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
4621 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
4623 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
4624 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4625 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
4626 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4627 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4628 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
4629 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4630 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
4632 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
4633 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
4635 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
4636 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
4638 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4639 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
4641 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4642 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4643 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
4644 Remove conditional code.
4645 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4646 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
4647 Remove conditional code.
4648 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4649 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
4650 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
4651 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
4652 Remove conditional code.
4653 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4654 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
4655 Remove conditional code.
4656 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4657 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
4658 Remove conditional code.
4659 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4660 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
4661 Remove conditional code.
4662 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4663 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
4664 Remove conditional code.
4665 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4666 * sysdeps/unix/sysv/linux/sh/pwrite64.c
4667 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4668 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4669 * sysdeps/unix/sysv/linux/sigaction.c
4670 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4671 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4672 * sysdeps/unix/sysv/linux/sigpending.c
4673 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4674 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4675 * sysdeps/unix/sysv/linux/sigprocmask.c
4676 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4677 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4678 * sysdeps/unix/sysv/linux/sigsuspend.c
4679 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4680 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4681 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
4682 (__libc_missing_rt_sigs): Remove.
4683 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
4684 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
4685 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
4686 Remove conditional code.
4687 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
4688 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
4689 return 1.
4690 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
4691 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
4692 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
4693 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
4694
1bfb7291
AJ
46952012-05-14 Andreas Jaeger <aj@suse.de>
4696
caae5a81
AJ
4697 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
4698 it's not used in glibc.
4699 (__coshm1): Likewise.
4700 (__acosh1p): Likewise.
4701 (__sgn): Likewise.
4702
1bfb7291
AJ
4703 * manual/string.texi (Copying and Concatenation): Add missing
4704 variable in concat example.
4705 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
4706
c044d724
L
47072012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4708
144c5467 4709 [BZ #14103]
c044d724
L
4710 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
4711 __builtin_clzl with __builtin_clzll.
4712
2523c62b
L
47132012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4714
4715 [BZ #14104]
4716 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
4717 libc_freeres_ptr.
4718
d7bb4c42
LD
47192012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4720
4721 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
4722 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
4723 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
4724 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
4725
9dc4e1fb
MF
47262012-05-14 Mike Frysinger <vapier@gentoo.org>
4727
4728 * NEWS: Update ia64 info.
4729
c7df0112
AS
47302012-05-12 Andreas Schwab <schwab@linux-m68k.org>
4731
4732 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
4733 used as bcopy.
4734
dc70356c
TS
47352012-05-12 Thomas Schwinge <thomas@codesourcery.com>
4736
4737 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
4738 * sysdeps/unix/syscalls.list (dup3): Likewise.
4739 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
4740 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
4741
9fb1a21f
L
47422012-05-11 H.J. Lu <hongjiu.lu@intel.com>
4743
4744 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
4745 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
4746
4822a2a5
L
47472012-05-11 H.J. Lu <hongjiu.lu@intel.com>
4748
4749 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
4750 thread pointer.
4751 (TLS_IE): Use mov/add instead of movq/addq to load thread
4752 pointer.
4753 (TLS_GD_PREFIX): New.
4754 (TLS_GD): Use it.
4755
842b81d6
DM
47562012-05-11 David S. Miller <davem@davemloft.net>
4757
4758 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
4759 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
4760 (_FPU_SETCW): Likewise.
4761
1cf463cd
L
47622012-05-10 H.J. Lu <hongjiu.lu@intel.com>
4763
4764 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
4765 is 32-byte aligned.
4766
60cc4a18
AS
47672012-05-11 Andreas Schwab <schwab@linux-m68k.org>
4768
4769 [BZ #11837]
4770 * iconvdata/gb18030.c: Update tables.
4771 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
4772 characters specially.
4773 (BODY for TO_LOOP): Add encoding of missing ranges.
4774
febb44a4
TS
47752012-05-11 Thomas Schwinge <thomas@codesourcery.com>
4776
4777 [BZ #13673]
4778 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
4779 * sysdeps/mach/hurd/dup3.c: Likewise.
4780 * sysdeps/mach/hurd/readlinkat.c: Likewise.
4781 * sysdeps/powerpc/memmove.c:: Likewise.
4782
0a10fb9e
L
47832012-05-10 H.J. Lu <hongjiu.lu@intel.com>
4784
4785 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
4786 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
4787
df8a552f
L
47882012-05-10 H.J. Lu <hongjiu.lu@intel.com>
4789
4790 * elf/elf.h (R_X86_64_RELATIVE64): New.
4791 (R_X86_64_NUM): Updated.
4792 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
4793 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
4794 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
4795 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
4796 tst-quad1pie tst-quad2pie
4797 (modules-names): Add tst-quadmod1 tst-quadmod2.
4798 ($(objpfx)tst-quad1): New dependency.
4799 ($(objpfx)tst-quad2): Likewise.
4800 ($(objpfx)tst-quad1pie): Likewise.
4801 ($(objpfx)tst-quad2pie): Likewise.
4802 * sysdeps/x86_64/tst-quad1.c: New file.
4803 * sysdeps/x86_64/tst-quad1pie.c: New file.
4804 * sysdeps/x86_64/tst-quad2.c: Likewise.
4805 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
4806 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
4807 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
4808 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
4809 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
4810
f34d6f84
ST
48112012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4812
f42d41d1
ST
4813 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
4814 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
4815 * streams/stropts.h (t_scalar_t): Define type.
4816
3c3571fc
ST
4817 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
4818 (_PATH_PRESERVE): Set to "/var/lib".
4819 (_PATH_RWHODIR): Set to "/var/spool/rwho".
4820
61f06bd3
ST
4821 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
4822 instead of int.
4823
918d4d71
ST
4824 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
4825 if __dir_mkfile succeeded.
4826
f34d6f84
ST
4827 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
4828 checking for _hurd_dtablesize. Unlock it right after having
4829 finished _hurd_dtable allocation.
4830
10589b4a
TS
48312012-05-10 Thomas Schwinge <thomas@schwinge.name>
4832
674cdbc7
TS
4833 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
4834 * sysdeps/mach/hurd/configure: Regenerated.
4835 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
4836 special-casing to...
4837 * sysdeps/gnu/configure.in: ... this new file.
4838 * sysdeps/unix/sysv/linux/configure: Regenerated.
4839 * sysdeps/gnu/configure: New generated file.
4840
8e41b99f
TS
4841 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
4842 for Linux: use nsec instead of usec, as well as:
4843 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
4844 members of type struct timespec.
4845 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
4846 New macros.
4847 (struct stat64): Likewise.
4848 (_STATBUF_ST_NSEC): New macro.
4849 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
4850
10589b4a
TS
4851 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
4852 __strtoul_internal rather than strtoul.
4853
63643c85
PT
48542012-05-10 Pino Toscano <toscano.pino@tiscali.it>
4855
4856 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
4857 and reject them.
4858
3faebe6a
ST
48592012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4860
4861 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
4862 which preserves existing values.
4863 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
4864
c6474b07
PT
48652012-05-10 Pino Toscano <toscano.pino@tiscali.it>
4866
4867 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
4868 TIMEOUT values. Return EINVAL for NFDS values either negative or
4869 greater than FD_SETSIZE.
4870
1043890b
ST
48712012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4872
4873 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
4874 allocated, call __vm_protect to finish enabling the existing space, and
4875 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
4876 allocate the remainder.
4877
37ed8b9b
PT
48782012-05-10 Pino Toscano <toscano.pino@tiscali.it>
4879
4880 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
4881 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
4882
db653660
ST
48832012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4884
37ed8b9b
PT
4885 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
4886 sysdeps/mach/hurd/readlink.c.
b29d4053 4887
db653660
ST
4888 * posix/tst-sysconf.c (posix_options): Only use
4889 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
4890 _POSIX_SYNCHRONIZED_IO when they are defined
4891 * sysdeps/mach/hurd/bits/posix_opt.h:
4892 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
4893 (_XOPEN_REALTIME): Undefine macro.
4894 (_XOPEN_REALTIME_THREADS): Undefine macro.
4895 (_XOPEN_SHM): Undefine macro.
4896 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
4897 macro to -1.
4898 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
4899 macro to -1.
4900 (_POSIX_ASYNC_IO): Undefine macro.
4901 (_POSIX_PRIORITIZED_IO): Undefine macro.
4902 (_POSIX_SPIN_LOCKS): Define macro to -1.
4903
ee16e894
ST
4904 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
4905 SA_NODEFER, SA_RESETHAND.
4906 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
4907 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
4908 F_DUPFD_CLOEXEC.
4909
6103ae3b
TS
49102012-05-10 Thomas Schwinge <thomas@schwinge.name>
4911
4912 * elf/Makefile (pldd-modules): Define unconditionally.
4913
80b4e5f3
TS
49142012-05-10 Thomas Schwinge <thomas@schwinge.name>
4915
4916 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
4917
edadcbd6
ST
49182012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4919
4920 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
4921 Return ENOENT when name is empty.
4922 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
4923
80694780
TS
49242012-05-10 Thomas Schwinge <thomas@schwinge.name>
4925
1792c087
TS
4926 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
4927
80694780
TS
4928 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
4929
6b645f0d
ST
49302012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4931
80694780
TS
4932 Fix mlock in all cases except non-readable pages.
4933 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
4934 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 4935
6b645f0d
ST
4936 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
4937 (__mkdir): When path is `/', just fail with EEXIST.
4938 * sysdeps/mach/hurd/mkdirat.c: Likewise.
4939
e468f8a3
TS
49402012-05-10 Thomas Schwinge <thomas@schwinge.name>
4941
4942 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
4943 <sys/uio.h> (for writev).
4944 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
4945 and <sys/param.h> (for MIN).
4946
a4186cff
PT
49472012-05-10 Pino Toscano <toscano.pino@tiscali.it>
4948
4949 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
4950 REQUESTED_TIME. Properly set the remaining time and return EINTR
4951 if interrupted.
4952
510bbf14
TS
49532012-05-10 Thomas Schwinge <thomas@schwinge.name>
4954
4955 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
4956 Depend on against $(link-rpcuserlibs).
4957
5d5722e8
ST
49582012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4959
a4186cff
PT
4960 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
4961 (__libc_stack_end): Do not use attribute_relro.
4962 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
4963 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 4964 to libthread-provided value.
a4186cff
PT
4965 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
4966 attribute_relro.
5d5722e8 4967
37233df9
TS
49682012-05-10 Thomas Schwinge <thomas@schwinge.name>
4969
be971a2b
TS
4970 [BZ #3748]
4971 * bits/libc-lock.h (__libc_once_get): New macro.
4972 * sysdeps/mach/bits/libc-lock.h: Likewise.
4973 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
4974 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
4975 instead of using implementation details.
4976
37233df9
TS
4977 * libio/fileops.c: Unconditionally include <kernel-features.h>.
4978 * libio/freopen.c: Likewise.
4979 * libio/freopen64.c: Likewise.
4980 * misc/syslog.c: Likewise.
4981 * nscd/connections.c: Likewise.
4982 * nscd/netgroupcache.c: Likewise.
4983 * sysdeps/posix/getcwd.c: Likewise.
4984
38de94a5
RM
49852012-05-10 Roland McGrath <roland@hack.frob.com>
4986
4987 * math/w_ilogbf.c: Add #include <limits.h>.
4988
67530489
ST
49892012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4990
a4186cff 4991 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
4992 path instead of returning without unlocking.
4993
67530489
ST
4994 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
4995 immediate-write ioctls.
4996 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
4997
5aa3a74a
TS
49982012-05-10 Thomas Schwinge <thomas@schwinge.name>
4999
18bad2ae
TS
5000 * sysdeps/mach/hurd/i386/init-first.c (init): Use
5001 __builtin_frame_address instead of making assumptions about the
5002 location of the return address relative to DATA. Force early load of
5003 the return address.
5004 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
5005 __builtin_frame_address.
5006
5aa3a74a
TS
5007 dup3 for GNU Hurd.
5008 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
5009 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
5010 implement dup3 and do some further code clean-ups.
5011 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
5012 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
5013
ecd0de9a
ST
50142012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5015
cd9fa985
ST
5016 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
5017
a4186cff
PT
5018 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
5019 HURD_CRITICAL_END around holding _hurd_dtable_lock.
5020 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
5021 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
5022 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
5023 d->port.lock.
802ca5a5 5024
a4186cff
PT
5025 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
5026 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
5027 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 5028
bcf55240
TS
50292012-05-10 Thomas Schwinge <thomas@schwinge.name>
5030
6960eb42
TS
5031 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
5032 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
5033 definitions.
5034
eb43375f
TS
5035 accept4 for GNU Hurd.
5036 * include/sys/socket.h (__libc_accept4): New prototype.
5037 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
5038 to implement __libc_accept4.
5039 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
5040 __libc_accept4.
5041 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
5042
bcf55240
TS
5043 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
5044 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
5045 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
5046 signal-defines.sym.
5047
6178c55b
ST
50482012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5049
a4186cff 5050 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 5051
6f080c2f
TS
50522012-05-10 Thomas Schwinge <thomas@schwinge.name>
5053
5054 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
5055 assertion on O_CLOEXEC flag.
5056 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
5057 * hurd/intern-fd.c: Likewise.
5058 * hurd/port2fd.c: Likewise.
5059
bcfe3a54
ST
50602012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5061
5062 [BZ #3906]
5063 * bits/in.h (IPV6_PKTINFO): Define new macro.
5064 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
5065
89c9aa49
AZ
50662012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5067
5068 [BZ #13954]
5069 [BZ #13955]
5070 [BZ #13956]
5071 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
5072 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
5073 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
5074 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
5075 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5076 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
5077 * math/libm-test.inc (logb_test) : Additional logb tests.
5078
021db4be
AJ
50792012-05-09 Andreas Schwab <schwab@linux-m68k.org>
5080 Andreas Jaeger <aj@suse.de>
5081
5082 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
5083 * configure: Regenerated.
5084 * config.h.in (LINK_OBSOLETE_RPC): New macro.
5085 * config.make.in (link-obsolete-rpc): New substituted variable.
5086 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
5087 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
5088 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
5089 (shared-only-routines): Don't set it under [link-obsolete-rpc],
5090 so that libc.a contains the symbols.
5091 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
5092 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
5093 * sunrpc/auth_none.c: Likewise.
5094 * sunrpc/auth_unix.c: Likewise.
5095 * sunrpc/authdes_prot.c: Likewise.
5096 * sunrpc/authuxprot.c: Likewise.
5097 * sunrpc/clnt_gen.c: Likewise.
5098 * sunrpc/clnt_perr.c: Likewise.
5099 * sunrpc/clnt_raw.c: Likewise.
5100 * sunrpc/clnt_simp.c: Likewise.
5101 * sunrpc/clnt_tcp.c: Likewise.
5102 * sunrpc/clnt_udp.c: Likewise.
5103 * sunrpc/clnt_unix.c: Likewise.
5104 * sunrpc/des_crypt.c: Likewise.
5105 * sunrpc/des_soft.c: Likewise.
5106 * sunrpc/get_myaddr.c: Likewise.
5107 * sunrpc/key_call.c: Likewise.
5108 * sunrpc/key_prot.c: Likewise.
5109 * sunrpc/netname.c: Likewise.
5110 * sunrpc/pm_getmaps.c: Likewise.
5111 * sunrpc/pm_getport.c: Likewise.
5112 * sunrpc/pmap_clnt.c: Likewise.
5113 * sunrpc/pmap_prot.c: Likewise.
5114 * sunrpc/pmap_prot2.c: Likewise.
5115 * sunrpc/pmap_rmt.c: Likewise.
5116 * sunrpc/publickey.c: Likewise.
5117 * sunrpc/rpc_cmsg.c: Likewise.
5118 * sunrpc/rpc_common.c: Likewise.
5119 * sunrpc/rpc_dtable.c: Likewise.
5120 * sunrpc/rpc_prot.c: Likewise.
5121 * sunrpc/rpc_thread.c: Likewise.
5122 * sunrpc/rtime.c: Likewise.
5123 * sunrpc/svc.c: Likewise.
5124 * sunrpc/svc_auth.c: Likewise.
5125 * sunrpc/svc_raw.c: Likewise.
5126 * sunrpc/svc_run.c: Likewise.
5127 * sunrpc/svc_tcp.c: Likewise.
5128 * sunrpc/svc_udp.c: Likewise.
5129 * sunrpc/svc_unix.c: Likewise.
5130 * sunrpc/svcauth_des.c: Likewise.
5131 * sunrpc/xcrypt.c: Likewise.
5132 * sunrpc/xdr.c: Likewise.
5133 * sunrpc/xdr_array.c: Likewise.
5134 * sunrpc/xdr_float.c: Likewise.
5135 * sunrpc/xdr_intXX_t.c: Likewise.
5136 * sunrpc/xdr_mem.c: Likewise.
5137 * sunrpc/xdr_rec.c: Likewise.
5138 * sunrpc/xdr_ref.c: Likewise.
5139 * sunrpc/xdr_sizeof.c: Likewise.
5140 * sunrpc/xdr_stdio.c: Likewise.
5141
b5c086a2
RM
51422012-05-10 Roland McGrath <roland@hack.frob.com>
5143
5144 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
5145 change. Update copyright years.
5146
6d74dd09
JM
51472012-05-10 Joseph Myers <joseph@codesourcery.com>
5148
5149 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
5150
28e72501
MK
51512012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
5152 Joseph Myers <joseph@codesourcery.com>
5153 Paul Pluzhnikov <ppluzhnikov@google.com>
5154
5155 [BZ #14012]
5156 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
5157 requiring rpcgen.
5158 [cross-compiling] (extra-libs): Likewise.
5159 [cross-compiling] (extra-libs-others): Likewise.
5160 [cross-compiling] (librpcsvc-routines): Likewise.
5161 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
5162 [cross-compiling] (omit-deps): Likewise.
5163 (sunrpc-CPPFLAGS): New variable.
5164 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
5165 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
5166 (cross-rpcgen-objs): New variable.
5167 (extra-objs): Append $(cross-rpcgen-objs).
5168 ($(cross-rpcgen-objs)): New rule.
5169 ($(objpfx)cross-rpcgen): Likewise.
5170 (rpcgen-cmd): Define to use $(built-program-file). Expand
5171 comment.
5172 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
5173 ($(objpfx)x%.stmp): Likewise.
5174 * sunrpc/proto.h [IS_IN_build] (_): Define.
5175 [IS_IN_build] (_libc_intl_domainname): Likewise.
5176
c8c59454
L
51772012-05-10 H.J. Lu <hongjiu.lu@intel.com>
5178
5179 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
5180 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
5181 and R_X86_64_TPOFF64.
5182
6f27cd16
JM
51832012-05-10 Joseph Myers <joseph@codesourcery.com>
5184
5185 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
5186 sysdeps/unix/sysv/syscalls.list.
5187 (stime): Likewise.
5188 (utime): Likewise.
5189 * sysdeps/unix/sysv/syscalls.list: Remove file.
5190
02467e1c
PE
51912012-05-10 Paul Eggert <eggert@cs.ucla.edu>
5192
5193 [BZ #3440]
5194 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
5195 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
5196 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
5197 (__LC_IDENTIFICATION): Make these macros useful in #if
5198 expressions, as required by C99.
5199
da392631
AS
52002012-05-10 Andreas Schwab <schwab@linux-m68k.org>
5201
5202 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
5203 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
5204 after this.
5205
8115f29b
L
52062012-05-09 H.J. Lu <hongjiu.lu@intel.com>
5207
5208 * stdlib/longlong.h: Updated from GCC.
5209
bdd74070
AJ
52102012-05-09 Andreas Jaeger <aj@suse.de>
5211
edfe0dbe
AJ
5212 * nscd/nscd.c (run_modes): Make named enum, reorder so that
5213 default is first entry.
5214 (run_mode): Set type.
5215 (main): Remove informal message about syslog.
5216 (options): Fix typo.
5217
bcfe3a54
ST
5218 [BZ #14053]
5219 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 5220 to asm.
bcfe3a54
ST
5221 (lrint): Likewise.
5222 (llrintf): Likewise.
5223 (llrint): Likewise.
5224 (rint): Likewise.
5225 (rintf): Likewise.
5226 (nearbyint): Likewise.
5227 (nearbyintf): Likewise.
bdd74070 5228
91d8d69e
AJ
52292012-05-09 Andreas Jaeger <aj@suse.de>
5230 Pedro Alves <palves@redhat.com>
5231
5232 * nscd/nscd.c (run_mode): Use enum.
5233 (main): Cleanup coding style issue.
5234
bb90b80b
AJ
52352012-05-09 Alexandre Oliva <aoliva@redhat.com>
5236 Andreas Jaeger <aj@suse.de>
5237
bcfe3a54
ST
5238 * nscd/nscd.c (go_background): Replaced with...
5239 (run_mode): ... this.
bb90b80b 5240 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
5241 (options): Add -F --foreground.
5242 (main): Implement it.
5243 (parse_opt): Parse it.
bb90b80b 5244
1a4b75a1
AJ
52452012-05-09 Andreas Jaeger <aj@suse.de>
5246
5247 [BZ #14083]
5248 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
5249 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
5250 -Wconversion warning.
5251 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
5252 Likewise.
5253
b1cc2472
JM
52542012-05-09 Joseph Myers <joseph@codesourcery.com>
5255
5256 * conform/data/locale.h-data (NULL): Use macro-constant. Require
5257 == 0.
5258 (LC_ALL): Use macro-int-constant.
5259 (LC_COLLATE): Likewise.
5260 (LC_CTYPE): Likewise.
5261 (LC_MESSAGES): Likewise.
5262 (LC_MONETARY): Likewise.
5263 (LC_NUMERIC): Likewise.
5264 (LC_TIME): Likewise.
5265 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
5266 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
5267 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5268 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
5269 Specify type.
5270 [C99-based standards] (float_t): Expect type.
5271 [C99-based standards] (double_t): Expect type.
5272 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
5273 type.
5274 [C99-based standards] (HUGE_VALL): Likewise.
5275 [C99-based standards] (INFINITY): Likewise.
5276 [C99-based standards] (NAN): Likewise.
5277 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
5278 [C99-based standards] (FP_NAN): Likewise.
5279 [C99-based standards] (FP_NORMAL): Likewise.
5280 [C99-based standards] (FP_SUBNORMAL): Likewise.
5281 [C99-based standards] (FP_ZERO): Likewise.
5282 [C99-based standards] (FP_FAST_FMA): Use
5283 optional-macro-int-constant. Specify type. Require == 1.
5284 [C99-based standards] (FP_FAST_FMAF): Likewise.
5285 [C99-based standards] (FP_FAST_FMAL): Likewise.
5286 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
5287 [C99-based standards] (FP_ILOGBNAN): Likewise.
5288 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
5289 Specify type.
5290 [C99-based standards] (MATH_ERREXCEPT): Likewise.
5291 [C99-based standards] (math_errhandling): Specify type.
5292 [ISO99 || ISO11] (signgam): Do not allow.
5293 [non-C99-based standards] (copysignf): Do not allow.
5294 [non-C99-based standards] (exp2f): Likewise.
5295 [non-C99-based standards] (log2f): Likewise.
5296 [non-C99-based standards] (modff): Allow.
5297 [non-C99-based standards] (erff): Do not allow.
5298 [non-C99-based standards] (erfcf): Likewise.
5299 [non-C99-based standards] (gammaf): Likewise.
5300 [non-C99-based standards] (hypotf): Likewise.
5301 [non-C99-based standards] (j0f): Likewise.
5302 [non-C99-based standards] (j1f): Likewise.
5303 [non-C99-based standards] (jnf): Likewise.
5304 [non-C99-based standards] (lgammaf): Likewise.
5305 [non-C99-based standards] (tgammaf): Likewise.
5306 [non-C99-based standards] (y0f): Likewise.
5307 [non-C99-based standards] (y1f): Likewise.
5308 [non-C99-based standards] (ynf): Likewise.
5309 [non-C99-based standards] (isnanf): Likewise.
5310 [non-C99-based standards] (acoshf): Likewise.
5311 [non-C99-based standards] (asinhf): Likewise.
5312 [non-C99-based standards] (atanhf): Likewise.
5313 [non-C99-based standards] (cbrtf): Likewise.
5314 [non-C99-based standards] (expm1f): Likewise.
5315 [non-C99-based standards] (ilogbf): Likewise.
5316 [non-C99-based standards] (log1pf): Likewise.
5317 [non-C99-based standards] (logbf): Likewise.
5318 [non-C99-based standards] (nextafterf): Likewise.
5319 [non-C99-based standards] (remainderf): Likewise.
5320 [non-C99-based standards] (rintf): Likewise.
5321 [non-C99-based standards] (scalbf): Likewise.
5322 [non-C99-based standards] (copysignl): Likewise.
5323 [non-C99-based standards] (exp2l): Likewise.
5324 [non-C99-based standards] (log2l): Likewise.
5325 [non-C99-based standards] (modfl): Allow.
5326 [non-C99-based standards] (erfl): Do not allow.
5327 [non-C99-based standards] (erfcl): Likewise.
5328 [non-C99-based standards] (gammal): Likewise.
5329 [non-C99-based standards] (hypotl): Likewise.
5330 [non-C99-based standards] (j0l): Likewise.
5331 [non-C99-based standards] (j1l): Likewise.
5332 [non-C99-based standards] (jnl): Likewise.
5333 [non-C99-based standards] (lgammal): Likewise.
5334 [non-C99-based standards] (tgammal): Likewise.
5335 [non-C99-based standards] (y0l): Likewise.
5336 [non-C99-based standards] (y1l): Likewise.
5337 [non-C99-based standards] (ynl): Likewise.
5338 [non-C99-based standards] (isnanl): Likewise.
5339 [non-C99-based standards] (acoshl): Likewise.
5340 [non-C99-based standards] (asinhl): Likewise.
5341 [non-C99-based standards] (atanhl): Likewise.
5342 [non-C99-based standards] (cbrtl): Likewise.
5343 [non-C99-based standards] (expm1l): Likewise.
5344 [non-C99-based standards] (ilogbl): Likewise.
5345 [non-C99-based standards] (log1pl): Likewise.
5346 [non-C99-based standards] (logbl): Likewise.
5347 [non-C99-based standards] (nextafterl): Likewise.
5348 [non-C99-based standards] (remainderl): Likewise.
5349 [non-C99-based standards] (rintl): Likewise.
5350 [non-C99-based standards] (scalbl): Likewise.
5351 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5352 [non-C99-based standards] (FP_*): Do not allow.
5353 [C99-based standards] (FP_*): Change to
5354 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
5355 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
5356 allow.
5357 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
5358 (SIG_ERR): Likewise.
5359 [X/Open-based standards] (SIG_HOLD): Likewise.
5360 (SIG_IGN): Likewise.
5361 (SIGABRT): Use macro-int-constant. Specify type. Require
5362 positive value.
5363 (SIGFPE): Likewise.
5364 (SIGILL): Likewise.
5365 (SIGINT): Likewise.
5366 (SIGSEGV): Likewise.
5367 (SIGTER): Likewise.
5368 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
5369 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
5370 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
5371 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
5372 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
5373 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
5374 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
5375 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
5376 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
5377 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
5378 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
5379 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
5380 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
5381 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
5382 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
5383 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
5384 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
5385 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
5386 [X/Open-based standards] (SIGTRAP): Likewise.
5387 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
5388 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
5389 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
5390 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
5391 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
5392 allow.
5393
b9f1922d
IW
53942012-05-08 Ian Wienand <ianw@vmware.com>
5395
5396 [BZ #14080]
5397 * time/tzset.c (__tzset_parse_tz): Update default rules for
5398 daylight time changes in the Energy Policy Act of 2005.
5399
1db86e88
AJ
54002012-05-09 Andreas Jaeger <aj@suse.de>
5401
5402 [BZ #13983]
5403 * elf/ldconfig.c (parse_conf): Change string to make clear that
5404 ldconfig only issued a warning if ld.so.conf does not exist.
5405
dee4a4e3
DM
54062012-05-08 David S. Miller <davem@davemloft.net>
5407
ee0db190
DM
5408 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
5409 movxtod instead of popping the value on the stack.
5410
dee4a4e3
DM
5411 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5412
6a43ec98
CD
54132012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
5414
5415 * config.h.in: Add HAVE_ARM_PCS_VFP.
5416
05c2c961
RMG
54172012-05-08 Roland Mc Grath <roland@hack.frob.com>
5418
bcfe3a54
ST
5419 [BZ #13979]
5420 * include/features.h: Warn if user requests __FORTIFY_SOURCE
5421 checking but the checks are disabled for any reason.
05c2c961 5422
4b30f61a
L
54232012-05-08 H.J. Lu <hongjiu.lu@intel.com>
5424
5425 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
5426 and ELF64_R_TYPE with ELFW(R_TYPE).
5427
eee2bc67
JM
54282012-05-08 Joseph Myers <joseph@codesourcery.com>
5429
7ea5391a
JM
5430 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
5431 (ulimit): Likewise.
5432
eee2bc67
JM
5433 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
5434 (settimeofday): Likewise.
5435
abb66a67
MF
54362012-05-08 Mike Frysinger <vapier@gentoo.org>
5437
5438 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
5439 a struct th_u2 inside the union, and move tu_block/tu_code into
5440 a new th_u3 union of tu_block/tu_code inside of that. Move
5441 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
5442 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
5443 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
5444 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
5445 (th_stuff): Change to th_u1.tu_stuff.
5446 (th_data): Define.
5447 (th_msg): Change to th_u1.th_u2.tu_data.
5448
7f18b530
DM
54492012-05-07 David S. Miller <davem@davemloft.net>
5450
05760585
DM
5451 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5452
7f18b530
DM
5453 [BZ #14074]
5454 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
5455 (SETUP_PIC_REG): Use it.
5456 (SETUP_PIC_REG_LEAF): Use it.
5457
495fd99f
JM
54582012-05-07 Joseph Myers <joseph@codesourcery.com>
5459
5460 [BZ #13885]
5461 [BZ #13923]
5462 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5463 USE_AS_EXPM1L.
5464 (EXPL_FINITE): Likewise.
5465 (FLDLOG): Likewise.
5466 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
5467 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
5468 e_expl.S.
5469 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5470 USE_AS_EXPM1L.
5471 (EXPL_FINITE): Likewise.
5472 (FLDLOG): Likewise.
5473 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
5474 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
5475 e_expl.S.
5476 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
5477 test of -max_value argument for long double.
5478 * sysdeps/i386/fpu/libm-test-ulps: Update.
5479 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5480
6693d694
DM
54812012-05-06 David S. Miller <davem@davemloft.net>
5482
5483 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
5484 quad soft-float symbols whose references which are compiler
5485 generated.
5486 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
5487
6c23e11c
JM
54882012-05-06 Joseph Myers <joseph@codesourcery.com>
5489
d8b82cad
JM
5490 [BZ #13884]
5491 [BZ #13914]
5492 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5493 USE_AS_EXP10L.
5494 (EXPL_FINITE): Likewise.
5495 (FLDLOG): Likewise.
5496 (c0): Likewise.
5497 (c1): Likewise.
5498 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
5499 Adjust comments for base varying.
5500 (__expl_finite): Change alias to EXPL_FINITE.
5501 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
5502 e_expl.S.
5503 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
5504 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
5505 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
5506 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
5507 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5508 USE_AS_EXP10L.
5509 (EXPL_FINITE): Likewise.
5510 (FLDLOG): Likewise.
5511 (c0): Likewise.
5512 (c1): Likewise.
5513 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
5514 Adjust comments for base varying.
5515 (__expl_finite): Change alias to EXPL_FINITE.
5516 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
5517 tests for bugs.
5518 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5519
6c23e11c
JM
5520 [BZ #14064]
5521 * math/libm-test.inc (check_float_internal): Correct ulp
5522 calculation for subnormal expected results.
5523
29ba805c
AJ
55242012-05-06 Andreas Jaeger <aj@suse.de>
5525
5526 * Makeconfig (+math-flags): New, set to -frounding-math.
5527 (+cflags): Add +math-flags so that all of glibc gets compiled with
5528 it.
5529
5530 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
5531
7b17aeda
JM
55322012-05-05 Joseph Myers <joseph@codesourcery.com>
5533
5779f134
JM
5534 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
5535 Disable one test.
5536
41498f4d
JM
5537 [BZ #13787]
5538 [BZ #13922]
5539 [BZ #14036]
5540 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
5541 (__ieee754_expl): Allow for and saturate large arguments.
5542 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
5543 (u_threshold): Likewise.
5544 (__exp): Call __ieee754_exp before checking for overflow and
5545 underflow.
5546 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
5547 (u_threshold): Likewise.
5548 (__expf): Call __ieee754_expf before checking for overflow and
5549 underflow.
5550 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
5551 (u_threshold): Likewise.
5552 (__expl): Call __ieee754_expl before checking for overflow and
5553 underflow.
5554 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
5555 (__ieee754_expl): Allow for and saturate large arguments.
5556 * math/libm-test.inc (exp_test): Add another test. Do not allow
5557 missing overflow exception on overflow.
5558 (expm1_test): Do not allow missing overflow exception on overflow.
5559
6698b8bf
JM
5560 * sysdeps/i386/fpu/e_expl.c: Move to ...
5561 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
5562 rather than using inline asm.
5563 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
5564 * sysdeps/x86_64/fpu/e_expl.S: Copy from
5565 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
5566
7b17aeda
JM
5567 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
5568 (nice): Likewise.
5569 (poll): Likewise.
5570 (signal): Likewise.
5571 (time): Likewise.
5572 (times): Likewise.
5573
f7c85819
JM
55742012-05-04 Joseph Myers <joseph@codesourcery.com>
5575
5576 * sysdeps/unix/syscalls.list (adjtime): Add entry from
5577 sysdeps/unix/common/syscalls.list.
5578 (fchmod): Likewise.
5579 (fchown): Likewise.
5580 (ftruncate): Likewise.
5581 (getrusage): Likewise.
5582 (gettimeofday): Likewise.
5583 (setpgid): Likewise.
5584 (setregid): Likewise.
5585 (setreuid): Likewise.
5586 (sigaction): Likewise.
5587 (truncate): Likewise.
5588 (vhangup): Likewise.
5589 * sysdeps/unix/common/syscalls.list: Remove file.
5590 * sysdeps/unix/bsd/Implies: Don't include unix/common.
5591 * sysdeps/unix/sysv/linux/Implies: Likewise.
5592
336270d0
L
55932012-05-04 H.J. Lu <hongjiu.lu@intel.com>
5594
5595 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
5596 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
5597 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
5598 Moved to ...
5599 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
5600 Here.
5601 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
5602 to ...
5603 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
5604 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
5605 to ...
5606 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
5607 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
5608 to ...
5609 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
5610 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
5611 to ...
5612 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
5613 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
5614 to ...
5615 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
5616 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
5617 to ...
5618 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
5619 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
5620 to ...
5621 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
5622 Here.
5623 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
5624 to ...
5625 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
5626 Here.
5627 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
5628 to ...
5629 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
5630 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
5631 Moved to ...
5632 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
5633 Here.
5634 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
5635 to ...
5636 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
5637
d128e450
JM
56382012-05-04 Joseph Myers <joseph@codesourcery.com>
5639
fa8ee516
JM
5640 * sysdeps/unix/common/bits/dirent.h: Remove file.
5641 * sysdeps/unix/common/bits/fcntl.h: Likewise.
5642
d128e450
JM
5643 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
5644 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
5645 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
5646 * sysdeps/unix/bsd/isatty.c: Likewise.
5647 * sysdeps/unix/bsd/tcdrain.c: Likewise.
5648 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
5649 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
5650
ff8faaf0 56512012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 5652
62881be4 5653 [BZ #13563]
31dc8730
AZ
5654 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
5655 long double comparison inaccuracies.
5656 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
5657 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5658
6fef930c
AS
56592012-05-04 Andreas Schwab <schwab@linux-m68k.org>
5660
5661 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
5662 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
5663
8f203e6c
JM
56642012-05-04 Joseph Myers <joseph@codesourcery.com>
5665
5666 [BZ #14049]
5667 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
5668 nonzero digits before rounding a hex value.
5669 * stdlib/tst-strtod.c (tests): Add another test.
5670
5197d9c2
AK
56712012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5672
5673 * sysdeps/s390/fpu/libm-test-ulps: Update.
5674
f0c1dedf
AJ
56752012-05-03 Andreas Jaeger <aj@suse.de>
5676
5677 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
5678 does not get optimized out.
5679 (malloc_opt_barrier): New.
5680
a65ef2ae 56812012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 5682 Roland McGrath <roland@hack.frob.com>
a65ef2ae 5683
2b942cb7 5684 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 5685 intermediate file deletion.
2b942cb7 5686 (generated): Add .symlist files.
a65ef2ae 5687
54b71e02
JM
56882012-05-03 Joseph Myers <joseph@codesourcery.com>
5689
5690 [BZ #13775]
5691 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
5692 Redirect under this condition.
5693 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
5694 [__USE_GNU] (__dprintf_chk): Not under this condition.
5695 [__USE_GNU] (__vdprintf_chk): Likewise.
5696 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
5697 under this condition.
5698 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
5699 [__USE_XOPEN2K8] (dprintf): Define under this condition.
5700 [__USE_XOPEN2K8] (vdprintf): Likewise.
5701 [__USE_GNU] (__dprintf_chk): Not under this condition.
5702 [__USE_GNU] (__vdprintf_chk): Likewise.
5703 [__USE_GNU] (dprintf): Likewise.
5704 [__USE_GNU] (vdprintf): Likewise.
5705
d3dfcc41
RM
57062012-05-03 Roland McGrath <roland@hack.frob.com>
5707
5708 * elf/Makefile (common-generated): Set this instead of generated for
5709 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
5710 $(all-built-dso)-derived lists.
5711
7ac30cc5
AJ
57122012-05-03 Andreas Jaeger <aj@suse.de>
5713
0c51e550
AJ
5714 * sysdeps/i386/fpu/libm-test-ulps: Update.
5715
7ac30cc5
AJ
5716 * FAQ: Removed.
5717 * FAQ.in: Likewise.
5718 * scripts/gen-FAQ.pl: Likewise.
5719 * manual/install.texi (Installation): Point to online location of
5720 FAQ.
5721 * Makefile (files-for-dist): Remove FAQ.
5722 (FAQ): Remove.
5723
d4c2917f
AM
57242012-05-02 Allan McRae <allan@archlinux.org>
5725
5726 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
5727 (LDFLAGS-reldepmod5.so): Likewise.
5728 (LDFLAGS-reldep6mod1.so): Likewise.
5729 (LDFLAGS-reldep6mod4.so): Likewise.
5730 (LDFLAGS-reldep8mod3.so): Likewise.
5731 (LDFLAGS-unload4mod1.so): Likewise.
5732 (LDFLAGS-unload4mod2.so): Likewise.
5733 (LDFLAGS-tst-initorder): Likewise.
5734 (LDFLAGS-tst-initordera2.so): Likewise.
5735 (LDFLAGS-tst-initordera3.so): Likewise.
5736 (LDFLAGS-tst-initordera4.so): Likewise.
5737 (LDFLAGS-tst-initorderb2.so): Likewise.
5738 (LDFLAGS-noload): Likewise.
5739 (LDFLAGS-next): Likewise.
5740 (LDFLAGS-order2mod1.so): Likewise.
5741 (LDFLAGS-order2mod2.so): Likewise.
5742 (LDFLAGS-tst-initorder2): Likewise.
5743 (LDFLAGS-tst-initorder2a.so): Likewise.
5744 (LDFLAGS-tst-initorder2b.so): Likewise.
5745 (LDFLAGS-tst-initorder2c.so): Likewise.
5746 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
5747
d77f993f
DM
57482012-05-02 David S. Miller <davem@davemloft.net>
5749
5750 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5751
171a70b4
PP
57522012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
5753
5754 [BZ #14055]
5755 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
5756
0be196ad
AJ
57572012-05-02 Andreas Jaeger <aj@suse.de>
5758
5759 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
5760 since we manipulate rounding mode.
5761 (CPPFLAGS-test-idouble.c): Likewise.
5762 (CPPFLAGS-test-ifloat.c): Likewise.
5763 (CFLAGS-test-ldouble.c): Likewise.
5764 (CFLAGS-test-double.c): Likewise.
5765 (CFLAGS-test-float.c): Likewise.
5766 (CFLAGS-test-misc.c): Likewise.
5767 (CFLAGS-test-test-fenv.c): Likewise.
5768
4f9d04aa
AZ
57692012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5770
2b942cb7
RM
5771 [BZ #2550]
5772 [BZ #2570]
5773 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
5774 comparisons to determine direction to adjust input.
4f9d04aa 5775
82a79e7d
RM
57762012-05-01 Roland McGrath <roland@hack.frob.com>
5777
f5a01ca9
RM
5778 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
5779 output to the target.
5780
90fe4186
RM
5781 * scripts/localplt.awk: New file.
5782 * elf/Makefile ($(objpfx)check-localplt): Target removed.
5783 (check-localplt-CFLAGS): Variable removed.
5784 ($(all-built-dso:=.jmprel)): New static pattern rule.
5785 (generated): Add those targets.
5786 (localplt-built-dso): New variable.
5787 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
5788
5789 * elf/check-localplt.c: File removed.
5790
82397ed6
RM
5791 * scripts/check-execstack.awk: New file.
5792 * elf/Makefile ($(objpfx)check-execstack): Target removed.
5793 (check-execstack-CFLAGS): Variable removed.
5794 ($(objpfx)check-execstack.h): Target removed.
5795 ($(objpfx)execstack-default): New target.
5796 (generated): Add that instead of check-execstack.h.
5797 ($(all-built-dso:=.phdr)): New static pattern rule.
5798 (generated): Add those targets.
5799 * elf/check-execstack.c: File removed.
5800
82a79e7d
RM
5801 * scripts/check-textrel.awk: New file.
5802 * elf/Makefile ($(objpfx)check-textrel): Target removed.
5803 (check-textrel-CFLAGS): Variable removed.
5804 (all-built-dso): Use := to define.o
5805 ($(all-built-dso:=.dyn)): New static pattern rule.
5806 (generated): Add those targets.
5807 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
5808 * config.make.in (READELF): New substituted variable.
5809 * elf/check-textrel.c: File removed.
5810
62fde54f 58112012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 5812
615605c9
JM
5813 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
5814 allow.
5815 * conform/data/ctype.h-data [C99-based standards] (isblank):
5816 Expect function.
5817 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
5818 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
5819 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5820 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
5821 Specify type. Require positive value.
5822 (EILSEQ): Likewise.
5823 (ERANGE): Likewise.
5824 [ISO || POSIX] (EILSEQ): Do not expect.
5825 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
5826 Specify type. Require positive value.
5827 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
5828 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
5829 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
5830 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
5831 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
5832 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
5833 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
5834 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
5835 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
5836 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
5837 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
5838 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
5839 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
5840 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
5841 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
5842 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
5843 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
5844 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
5845 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
5846 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
5847 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
5848 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
5849 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
5850 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
5851 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
5852 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
5853 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
5854 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
5855 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
5856 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
5857 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
5858 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
5859 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
5860 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
5861 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
5862 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
5863 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
5864 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
5865 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
5866 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
5867 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
5868 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
5869 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
5870 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
5871 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
5872 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
5873 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
5874 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
5875 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
5876 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
5877 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
5878 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
5879 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
5880 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
5881 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
5882 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
5883 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
5884 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
5885 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
5886 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
5887 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
5888 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
5889 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
5890 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
5891 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
5892 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
5893 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
5894 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
5895 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
5896 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
5897 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
5898 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
5899 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
5900 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
5901 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
5902 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
5903 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
5904 Require >= 2.
5905 (FLT_ROUNDS): Expect as macro, not constant.
5906 (FLT_MANT_DIG): Use macro-int-constant.
5907 (DBL_MANT_DIG): Likewise.
5908 (LDBL_MANT_DIG): Likewise.
5909 (FLT_DIG): Likewise.
5910 (DBL_DIG): Likewise.
5911 (LDBL_DIG): Likewise.
5912 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
5913 (DBL_MIN_EXP): Likewise.
5914 (LDBL_MIN_EXP): Likewise.
5915 (FLT_MAX_EXP): Use macro-int-constant.
5916 (DBL_MAX_EXP): Likewise.
5917 (LDBL_MAX_EXP): Likewise.
5918 (FLT_MAX_10_EXP): Likewise.
5919 (DBL_MAX_10_EXP): Likewise.
5920 (LDBL_MAX_10_EXP): Likewise.
5921 (FLT_MAX): Use macro-constant.
5922 (DBL_MAX): Likewise.
5923 (LDBL_MAX): Likewise.
5924 (FLT_EPSILON): Use macro-constant. Give upper bound.
5925 (DBL_EPSILON): Likewise.
5926 (LDBL_EPSILON): Likewise.
5927 (FLT_MIN): Likewise.
5928 (DBL_MIN): Likewise.
5929 (LDBL_MIN): Likewise.
5930 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
5931 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
5932 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
5933 [ISO11] (FLT_HAS_SUBNORM): Likewise.
5934 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
5935 [ISO11] (DBL_DECIMAL_DIG): Likewise.
5936 [ISO11] (FLT_DECIMAL_DIG): Likewise.
5937 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
5938 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
5939 [ISO11] (FLT_TRUE_MIN): Likewise.
5940 [ISO11] (LDBL_TRUE_MIN): Likewise.
5941 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5942 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
5943 (SCHAR_MIN): Use macro-int-constant. Specify type.
5944 (SCHAR_MAX): Likewise.
5945 (UCHAR_MAX): Likewise.
5946 (CHAR_MIN): Likewise.
5947 (CHAR_MAX): Likewise.
5948 (MB_LEN_MAX): Use macro-int-constant.
5949 (SHRT_MIN): Use macro-int-constant. Specify type.
5950 (SHRT_MAX): Likewise.
5951 (USHRT_MAX): Likewise.
5952 (INT_MAX): Likewise.
5953 (INT_MIN): Use macro-int-constant. Specify type. Make upper
5954 bound negative.
5955 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
5956 bound with "U".
5957 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
5958 bound with "L".
5959 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
5960 bound negative. Suffix upper bound with "L".
5961 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
5962 bound with "UL".
5963 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
5964 Specify type.
5965 [C99-based standards] (LLONG_MAX): Likewise.
5966 [C99-based standards] (ULLONG_MAX): Likewise.
5967 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
5968 == 0.
5969 [ISO11] (max_align_t): Require type.
5970 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5971
c9140a62
JM
5972 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
5973 from $CFLAGS, without defining away __attribute__ calls.
5974 (checknamespace): Use $CFLAGS_namespace.
5975
9af0bf29
JM
5976 * conform/conformtest.pl (@keywords): Only include C99 keywords
5977 for standards based on C99 or C11.
5978
343222a2
JM
5979 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
5980 Disable tests.
5981 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
5982 UNIX98]: Likewise.
5983
661f8cf0
JM
5984 * conform/conformtest.pl: Handle "macro-int-constant" and test for
5985 usability of symbols in #if.
5986
ee74b9cb
JM
5987 * conform/conformtest.pl: If macro or constant types start
5988 "promoted:", expect the symbol to be of the following type
5989 promoted by the integer promotions.
62fde54f 5990
aafc49b3
JM
5991 * conform/conformtest.pl: Parse all "constant" and "macro" lines
5992 in one place. Also handle "macro-constant".
5993
fefdf574
JM
5994 * conform/conformtest.pl: Only accept expected macro values with
5995 "==". Parse all "macro" lines in one place.
5996 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
5997
f2d922fe
JM
5998 * conform/conformtest.pl: Handle braced types on "constant" lines
5999 instead of handling "typed-constant".
6000 * conform/data/signal.h-data: Use "constant" instead of
6001 "typed-constant".
6002
d22956c9
JM
6003 * conform/conformtest.pl: Handle "optional-" at start of lines in
6004 one place rather than duplicating several cases. Handle each
6005 format of "macro" line with initial "optional-".
6006
028e2e38
JM
6007 * conform/conformtest.pl: Only accept expected constant or
6008 optional-constant values with "==". Parse all "constant" lines in
6009 one place. Parse all "optional-constant" lines in one place.
6010 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
6011 * conform/data/fmtmsg.h-data: Likewise.
6012 * conform/data/netinet/in.h-data: Likewise.
6013 * conform/data/tar.h-data: Likewise.
6014 * conform/data/limits.h-data: Use "==" form on "constant" and
6015 "optional-constant" lines.
6016
1b8f2850
JM
6017 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
6018 Use -std=c99 for XOPEN2K.
6019 (@knownproblems): Remove.
6020 (newtoken): Don't check %isknown.
6021
a05a144b
JM
6022 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
6023 Do not expect macro.
6024 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
6025 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
6026 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
6027 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
6028 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
6029 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
6030 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
6031 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
6032 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
6033 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
6034 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
6035 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
6036 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
6037 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
6038 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
6039 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
6040 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
6041 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
6042 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
6043 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
6044 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
6045 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
6046 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
6047 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
6048 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
6049 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
6050 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
6051 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
6052 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
6053 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
6054 [XPG3] (acosh): Likewise.
6055 [XPG3] (asinh): Likewise.
6056 [XPG3] (atanh): Likewise.
6057 [XPG3] (cbrt): Likewise.
6058 [XPG3] (expm1): Likewise.
6059 [XPG3] (ilogb): Likewise.
6060 [XPG3] (log1p): Likewise.
6061 [XPG3] (logb): Likewise.
6062 [XPG3] (nextafter): Likewise.
6063 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
6064 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
6065 [XPG3] (remainder): Likewise.
6066 [XPG3] (rint): Likewise.
6067 [XPG3 || XPG4 || UNIX98] (round): Likewise.
6068 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
6069 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
6070 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
6071 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
6072 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
6073 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
6074 [UNIX98 || XOPEN2K] (scalb): Expect.
6075 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
6076 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
6077 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
6078 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
6079 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
6080 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
6081 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
6082 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
6083 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
6084 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
6085 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
6086 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
6087 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
6088 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
6089 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
6090 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
6091 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
6092 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
6093 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
6094 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
6095 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
6096 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
6097 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
6098 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
6099 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
6100 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
6101 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
6102 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
6103 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
6104 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
6105 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
6106 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
6107 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
6108 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
6109 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
6110 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
6111 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
6112 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
6113 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
6114 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
6115 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
6116 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
6117 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
6118 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
6119 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
6120 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
6121 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
6122 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
6123 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
6124 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
6125 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
6126 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
6127 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
6128 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
6129 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
6130 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
6131 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
6132 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
6133 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
6134 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
6135 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
6136 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
6137 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
6138 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
6139 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
6140 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
6141 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
6142 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
6143 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
6144 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
6145 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
6146 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
6147 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
6148 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
6149 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
6150 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
6151 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
6152 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
6153 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
6154 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
6155 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
6156 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
6157 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
6158 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
6159 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
6160 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
6161 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
6162 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
6163 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
6164 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
6165 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
6166 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
6167 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
6168 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
6169 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
6170 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
6171 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
6172 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
6173 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
6174 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
6175 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
6176 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
6177 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
6178 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
6179 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
6180 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
6181 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
6182 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
6183 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
6184 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
6185 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
6186 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
6187 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
6188 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
6189 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
6190 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
6191 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
6192 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
6193 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
6194 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
6195 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
6196 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
6197 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
6198 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
6199 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
6200 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
6201 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
6202 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
6203 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
6204 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
6205 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
6206 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
6207 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
6208 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
6209 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
6210 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
6211 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
6212
73c5ebe3
JM
6213 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
6214 _XOPEN_SOURCE_EXTENDED for XPG4.
6215
39c33b6c
JM
6216 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
6217
62fde54f
JM
6218 * Makeconfig (localtime): Remove variable.
6219 (inst_localtime-file): Likewise.
6220
0741d64c
AS
62212012-05-01 Andreas Schwab <schwab@linux-m68k.org>
6222
6223 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
6224 Update.
6225 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6226 Update.
6227 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
6228 Update.
6229 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
6230 Update.
6231 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
6232 Update.
6233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
6234 Update.
6235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6236 Update.
6237 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
6238 Update.
6239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
6240 Update.
6241
7cb029ee
JM
62422012-05-01 Joseph Myers <joseph@codesourcery.com>
6243
6244 [BZ #2550]
6245 [BZ #2570]
6246 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
6247 comparisons to determine direction to adjust input.
6248 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
6249 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
6250 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
6251 Likewise.
6252 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
6253 Likewise.
6254 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
6255 Likewise.
6256 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
6257 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
6258 Likewise.
6259 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
6260 Likewise.
6261 * math/libm-test.inc (nexttoward_test): Add more tests.
6262
412bd966
AS
62632012-05-01 Andreas Schwab <schwab@linux-m68k.org>
6264
6265 [BZ #14040]
6266 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
6267 in version GLIBC_2.1, not GLIBC_2.0.
6268 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
6269 Likewise.
6270
9568c0c2
JM
62712012-04-30 Joseph Myers <joseph@codesourcery.com>
6272
adfbc8ac
JM
6273 [BZ #13942]
6274 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
6275 (1 - x) * (1 + x).
6276 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
6277 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
6278 * math/libm-test.inc (acos_test): Add more tests.
6279 (asin_test): Likewise.
6280 * sysdeps/i386/fpu/libm-test-ulps: Update.
6281 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6282
5ba3cc69
JM
6283 [BZ #14034]
6284 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
6285 of square root.
6286 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
6287 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
6288 * math/libm-test.inc (acos_test_tonearest): New function.
6289 (acos_test_towardzero): Likewise.
6290 (acos_test_downward): Likewise.
6291 (acos_test_upward): Likewise.
6292 (asin_test_tonearest): Likewise.
6293 (asin_test_towardzero): Likewise.
6294 (asin_test_downward): Likewise.
6295 (asin_test_upward): Likewise.
6296 (main): Call the new functions.
6297 * sysdeps/i386/fpu/libm-test-ulps: Update.
6298 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6299
9568c0c2
JM
6300 [BZ #13884]
6301 [BZ #13924]
6302 * math/e_exp10.c: Include <float.h>.
6303 (__ieee754_exp10): Handle underflow here rather than multiplying
6304 large negative argument by M_LN10.
6305 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
6306 of __ieee754_expf.
6307 * math/e_exp10l.c: Include <float.h>.
6308 (__ieee754_exp10l): Handle underflow here rather than multiplying
6309 large negative argument by M_LN10l.
6310 * math/libm-test.inc (exp10_test): Add another test. Do not allow
6311 spurious overflow exception on underflow.
6312
5ac3ea17
MP
63132012-04-29 Marek Polacek <polacek@redhat.com>
6314
6315 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
6316 (__fortify_function): New macro.
6317 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
6318 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
6319 __extern_always_inline.
6320 * libio/bits/stdio2.h: Likewise.
6321 * libio/bits/stdio.h: Likewise.
6322 * string/string.h: Likewise.
6323 * string/bits/string3.h: Likewise.
6324 * include/stdio.h: Likewise.
6325 * stdlib/bits/stdlib.h: Likewise.
6326 * stdlib/stdlib.h: Likewise.
6327 * rt/bits/mqueue2.h: Likewise.
6328 * rt/mqueue.h: Likewise.
6329 * posix/bits/unistd.h: Likewise.
6330 * posix/unistd.h: Likewise.
6331 * io/bits/poll2.h: Likewise.
6332 * io/bits/fcntl2.h: Likewise.
6333 * io/fcntl.h: Likewise.
6334 * io/sys/poll.h: Likewise.
6335 * misc/bits/syslog.h: Likewise.
6336 * misc/bits/syslog-ldbl.h: Likewise.
6337 * misc/sys/syslog.h: Likewise.
6338 * socket/bits/socket2.h: Likewise.
6339 * socket/sys/socket.h: Likewise.
6340 * debug/tst-chk1.c: Likewise.
6341 * wcsmbs/bits/wchar2.h: Likewise.
6342 * wcsmbs/bits/wchar-ldbl.h: Likewise.
6343 * wcsmbs/wchar.h: Likewise.
6344
ecf0ebfb
AJ
63452012-04-29 Andreas Jaeger <aj@suse.de>
6346
6347 * Makerules (tests): Remove enable-check-abi protection.
6348 (check-abi-warn): Remove.
6349 (check-abi-%): Remove check-abi-warn usage.
6350
6351 * configure.in: Remove check-abi configure option.
6352 * configure: Regenerated.
6353 * config.make.in (enable-check-abi): Remove.
6354
6d5c57fa
AS
63552012-04-28 Andreas Schwab <schwab@linux-m68k.org>
6356
24c5d07e 6357 [BZ #14033]
ded5180a
AS
6358 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
6359 double functions to double *_finite functions.
6360
7e0d315d
AS
6361 [BZ #13941]
6362 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
6363 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
6364 LDBL_MIN_EXP.
6365 * stdio-common/Makefile (tests): Add tst-sprintf3.
6366 * stdio-common/tst-sprintf3.c: New file.
6367
6d5c57fa
AS
6368 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
6369 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
6370
0749ff8b
JM
63712012-04-28 Joseph Myers <joseph@codesourcery.com>
6372
6373 * conform/conformtest.pl: Remove duplicate typed-constant
6374 handling.
6375
8dbd5d7b
DM
63762012-04-28 David S. Miller <davem@davemloft.net>
6377
6378 * Makerules (%.abilist): Add vpath on sysdep_dirs.
6379 (check-abi-%): Remove AWK script prerequisite and explicit
6380 abilist directory.
6381 (check-abi): Rewrite to just diff the symlist with the abilist.
6382 (config-tls, config-abi-config): Delete, no longer used.
6383 (update-abi-%): Remove AWK script and explicit abilist directory.
6384 (update-abi): Rewrite to simply compare and conditionally copy the
6385 symlist and the sysdep abilist file. Remove update-abi-config
6386 checks.
6387 * abilist/ld.abilist: Remove.
6388 * abilist/libBrokenLocale.abilist: Remove.
6389 * abilist/libanl.abilist: Remove.
6390 * abilist/libcrypt.abilist: Remove.
6391 * abilist/libdl.abilist: Remove.
6392 * abilist/librt.abilist: Remove.
6393 * abilist/libthread_db.abilist: Remove.
6394 * abilist/libutil.abilist: Remove.
6395 * scripts/extract-abilist.awk: Remove.
6396 * scripts/merge-abilist.awk: Remove.
6397 * sysdeps/generic/libcidn.abilist: New file.
6398 * sysdeps/generic/libnss_compat.abilist: New file.
6399 * sysdeps/generic/libnss_db.abilist: New file.
6400 * sysdeps/generic/libnss_dns.abilist: New file.
6401 * sysdeps/generic/libnss_files.abilist: New file.
6402 * sysdeps/generic/libnss_hesiod.abilist: New file.
6403 * sysdeps/generic/libnss_nis.abilist: New file.
6404 * sysdeps/generic/libnss_nisplus.abilist: New file.
6405 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
6406 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
6407 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
6408 file.
6409 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
6410 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
6411 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
6412 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
6413 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
6414 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
6415 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
6416 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
6417 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
6418 file.
6419 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
6420 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
6421 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
6422 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
6423 file.
6424 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
6425 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
6426 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
6427 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
6428 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
6429 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
6430 file.
6431 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
6432 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
6433 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
6434 file.
6435 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
6436 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
6437 New file.
6438 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
6439 New file.
6440 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
6441 New file.
6442 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
6443 New file.
6444 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
6445 New file.
6446 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
6447 New file.
6448 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
6449 New file.
6450 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
6451 New file.
6452 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
6453 New file.
6454 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
6455 New file.
6456 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
6457 New file.
6458 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
6459 New file.
6460 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
6461 New file.
6462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
6463 file.
6464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
6465 New file.
6466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
6467 New file.
6468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
6469 file.
6470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
6471 New file.
6472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
6473 New file.
6474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
6475 file.
6476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
6477 New file.
6478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
6479 New file.
6480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
6481 New file.
6482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
6483 New file.
6484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
6485 New file.
6486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
6487 New file.
6488 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
6489 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
6490 file.
6491 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
6492 New file.
6493 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
6494 file.
6495 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
6496 file.
6497 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
6498 file.
6499 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
6500 file.
6501 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
6502 file.
6503 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6504 New file.
6505 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
6506 file.
6507 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
6508 file.
6509 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
6510 New file.
6511 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
6512 file.
6513 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
6514 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
6515 file.
6516 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
6517 New file.
6518 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
6519 file.
6520 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
6521 file.
6522 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
6523 file.
6524 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
6525 file.
6526 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
6527 file.
6528 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6529 New file.
6530 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
6531 file.
6532 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
6533 file.
6534 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
6535 New file.
6536 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
6537 file.
6538 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
6539 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
6540 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
6541 file.
6542 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
6543 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
6544 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
6545 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
6546 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
6547 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
6548 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
6549 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
6550 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
6551 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
6552 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
6553 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
6554 file.
6555 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
6556 New file.
6557 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
6558 file.
6559 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
6560 file.
6561 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
6562 file.
6563 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
6564 file.
6565 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
6566 file.
6567 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
6568 New file.
6569 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
6570 New file.
6571 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
6572 file.
6573 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
6574 New file.
6575 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
6576 file.
6577 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
6578 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
6579 file.
6580 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
6581 New file.
6582 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
6583 file.
6584 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
6585 file.
6586 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
6587 file.
6588 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
6589 file.
6590 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
6591 file.
6592 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
6593 New file.
6594 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
6595 New file.
6596 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
6597 file.
6598 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
6599 New file.
6600 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
6601 file.
6602
41d73a1b
JM
66032012-04-28 Joseph Myers <joseph@codesourcery.com>
6604
6605 * conform/conformtest.pl: Fix typo in handling typed-constant from
6606 allow-header.
6607
28aeeda4
JM
66082012-04-27 Joseph Myers <joseph@codesourcery.com>
6609
adae8f5e
JM
6610 * README: Cut down references to pre-2.6 Linux kernels and
6611 Linuxthreads. Update lists of configurations in libc and ports
6612 and sort alphabetically. Say "or newer" with Linux kernel version
6613 requirements.
6614
28aeeda4
JM
6615 * config.h.in [IS_IN_build]: Allow compiling without optimization.
6616
a462cb63
RA
66172012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6618
6619 [BZ #887]
6620 * math/libm-test.inc (logb_test_downward): New test to expose
6621 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
6622 rounding mode.
6623
6ad3493e
JM
66242012-04-27 Joseph Myers <joseph@codesourcery.com>
6625
6626 [BZ #14027]
6627 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
6628 to be done.
6629 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
6630 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
6631
2ce4f015
JM
66322012-04-26 Joseph Myers <joseph@codesourcery.com>
6633
5aeb141a
JM
6634 * sysdeps/unix/i386/brk.S: Remove file.
6635 * sysdeps/unix/i386/dl-brk.S: Likewise.
6636 * sysdeps/unix/i386/pipe.S: Likewise.
6637 * sysdeps/unix/i386/sigreturn.S: Likewise.
6638 * sysdeps/unix/i386/syscall.S: Likewise.
6639 * sysdeps/unix/i386/vfork.S: Likewise.
6640 * sysdeps/unix/i386/wait.S: Likewise.
6641
7143acae
JM
6642 * sysdeps/unix/common/tcsendbrk.c: Move to ...
6643 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
6644
2ce4f015
JM
6645 * configure.in (arm*-none*): Do not allow without
6646 --enable-hacker-mode.
6647 (netbsd*): Remove case setting base_os.
6648 (386bsd*): Likewise.
6649 (freebsd*): Likewise.
6650 (bsdi*): Likewise.
6651 (osf*): Likewise.
6652 (sunos*): Likewise.
6653 (ultrix*): Likewise.
6654 (newsos*): Likewise.
6655 (dynix*): Likewise.
6656 (*bsd*): Likewise.
6657 (sysv*): Likewise.
6658 (isc*): Likewise.
6659 (esix*): Likewise.
6660 (sco*): Likewise.
6661 (minix*): Likewise.
6662 (irix4*): Likewise.
6663 (irix6*): Likewise.
6664 (solaris[2-9]*): Likewise.
6665 (none): Likewise.
6666 * configure: Regenerated.
6667
0ac229c8
AZ
66682012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6669
6670 [BZ #11521]
6671 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
6672 overflow or cancellation in calculating denominator.
6673 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
6674 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
6675 down expression to avoid unexpected rounding in newer GCCs.
6676 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
6677
33f244f4
DM
66782012-04-26 David S. Miller <davem@davemloft.net>
6679
6680 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
6681 long-double compat symbols.
6682 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
6683 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
6684 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
6685 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
6686 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
6687 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
6688 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
6689 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
6690 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
6691 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
6692 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
6693 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
6694 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
6695
cfa1f3e8
DM
66962012-04-25 David S. Miller <davem@davemloft.net>
6697
6698 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
6699 HWCAP_* values only after the memory barriers have been defined.
6700 (atomic_full_barrier): Define.
6701 (atomic_read_barrier): Define.
6702 (atomic_write_barrier): Define.
6703
6e236b92
SP
67042012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6705
6706 * shlib-versions: Add libgcc_s version information.
6707 * sysdeps/generic/libgcc_s.h: Remove.
6708 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
6709 libgcc_s.h.
6710 * sysdeps/gnu/unwind-resume.c: Likewise.
6711 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
6712
aab39a09
DM
67132012-04-25 David S. Miller <davem@davemloft.net>
6714
6715 * sysdeps/unix/sparc/brk.S: Delete.
6716 * sysdeps/unix/sparc/dl-brk.S: Delete.
6717 * sysdeps/unix/sparc/pipe.S: Delete.
6718 * sysdeps/unix/sparc/sysdep.S: Delete.
6719 * sysdeps/unix/sparc/sysdep.h: Delete.
6720 * sysdeps/unix/sparc/vfork.S: Delete.
6721 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
6722 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
6723 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
6724 ret_ERRVAL, r0, r1, MOVE): Define.
6725 (JUMPTARGET): Remove.
6726 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
6727 sysdeps/unix/sparc/sysdep.h
6728 (ENTRY, END): Remove.
6729 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6730
a3cc4f48
JM
67312012-04-25 Joseph Myers <joseph@codesourcery.com>
6732
2ed8cda2
JM
6733 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
6734 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
6735 -DIS_IN_build.
6736
35d76d59
JM
6737 * timezone/README: Update upstream location and email address for
6738 tzcode and tzdata.
6739 * timezone/zdump.c: Update from tzcode 2012b.
6740 * timezone/zic.c: Likewise.
6741
a3cc4f48
JM
6742 * configure.in (libc_cv_as_needed): Remove test.
6743 * configure: Regenerated.
6744 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
6745 conditional definition.
6746 [$(have-as-needed) != yes] (no-as-needed): Likewise.
6747 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
6748 * config.make.in (have-as-needed): Remove variable.
6749
ceab42c3
SP
67502012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
6751 Paul Pluzhnikov <ppluzhnikov@google.com>
6752
6753 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
6754 strings correctly.
6755
3ce2865f
CLT
67562012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
6757
6758 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
6759 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
6760 * sysdeps/sh/strlen.S: Likewise.
6761
f37e0d68
JM
67622012-04-24 Joseph Myers <joseph@codesourcery.com>
6763
ae186e9a
JM
6764 * sysdeps/unix/fork.S: Remove file.
6765 * sysdeps/unix/i386/fork.S: Likewise.
6766 * sysdeps/unix/sparc/fork.S: Likewise.
6767
b96914af
JM
6768 * sysdeps/unix/system.c: Remove file.
6769 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
6770
f37e0d68
JM
6771 * sysdeps/unix/getegid.S: Remove file.
6772 * sysdeps/unix/geteuid.S: Likewise.
6773
87ef29ca
RM
67742012-04-24 Roland McGrath <roland@hack.frob.com>
6775
83bcd236
RM
6776 * scripts/check-localplt.awk: New file.
6777 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
6778 of diff.
6779 * scripts/data/localplt-generic.data: Add a comment.
6780
87ef29ca
RM
6781 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
6782 NODE when __dir_mkfile failed.
6783 * sysdeps/mach/hurd/symlinkat.c: Likewise.
6784 Reported by Ludovic Courtès <ludo@gnu.org>.
6785
e5a6e567
AJ
67862012-04-24 Andreas Jaeger <aj@suse.de>
6787
6788 * Makerules (common-clean): Also remove gen-as-const-headers
6789 files.
6790
c1820385
JM
67912012-04-24 Joseph Myers <joseph@codesourcery.com>
6792
6793 * Makerules (native-compile): Do not change working directory for
6794 build. Use $(OUTPUT_OPTION) in command.
6795 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
6796
94e02fc4
AZ
67972012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6798
6799 [BZ #13886]
6800 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
6801 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
6802 * math/libm-test.inc (floor_test): Add more tests.
6803 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
6804
3a533ca3
JM
68052012-04-24 Joseph Myers <joseph@codesourcery.com>
6806
940ab4b3
JM
6807 * sysdeps/unix/getdents.c: Remove file.
6808 * sysdeps/unix/sysv/getdents.c: Likewise.
6809 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
6810
90e037bd
JM
6811 * sysdeps/unix/syscalls.list (madvise): Add syscall from
6812 sysdeps/unix/mman/syscalls.list.
6813 (mmap): Likewise.
6814 (mprotect): Likewise.
6815 (msync): Likewise.
6816 (munmap): Likewise.
6817 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
6818 * sysdeps/unix/mman/syscalls.list: Remove.
6819 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
6820
3a533ca3
JM
6821 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
6822 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
6823 * configure: Regenerated.
6824 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
6825 $(libgcc_s_suffix).
6826 * config.make.in (libgcc_s_suffix): Remove variable.
6827
1ad743de
JM
68282012-04-23 Joseph Myers <joseph@codesourcery.com>
6829
4ad451e2
JM
6830 * sysdeps/unix/sysv/gethostname.c: Move to ...
6831 * sysdeps/posix/gethostname.c: ... here.
6832
5e37ce39
JM
6833 * sysdeps/unix/execve.S: Remove file.
6834
1ad743de
JM
6835 * sysdeps/unix/_exit.S: Remove file.
6836
4e681b5b
AJ
68372012-04-23 Andreas Jaeger <aj@suse.de>
6838
6839 [BZ #13739]
6840 * manual/Makefile: Remove make dist support, there's no
6841 need for a stand-alone documentation tar ball.
6842 (TEXI2DVI): Define always, it's not in Makeconfig.
6843 (dist): Removed.
6844 (tar-it): Removed.
6845 (edition): Removed.
6846 (glibc-doc-$(edition).tar): Removed
6847 (%.Z): Removed.
6848 (%.gz): Removed.
6849 (%.uu): Removed.
6850 (ETAGS): Remove, it's in Makeconfig.
6851 (move-if-change): Remove, it's in Makeconfig.
6852
c0baea34
PE
68532013-04-23 Paul Eggert <eggert@cs.ucla.edu>
6854
6855 [BZ #13970]
6856 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
6857 (strtod, strtof, strtold, strtol, strtoul, strtoq)
6858 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
6859 (strtod_l, strtof_l, strtold_l): Remove __wur.
6860 It is not necessarily an error to ignore strtol's return value.
6861 One can reliably look at the stored endptr to decide whether
6862 the number had valid syntax.
6863
7c0616fa
AJ
68642012-04-21 Andreas Jaeger <aj@suse.de>
6865
803cb6b7 6866 [BZ #13739]
7c0616fa
AJ
6867 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
6868
b0fe253f
JM
68692012-04-21 Joseph Myers <joseph@codesourcery.com>
6870
6871 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
6872 * sysdeps/unix/sysv/Versions: Remove file.
6873
8280f22d
MT
68742012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
6875
6876 [BZ #13927]
6877 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6878
75ce411f 68792012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
6880
6881 [BZ #7064]
6882 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
6883 version from __vm86.
6884
097d59fa
JM
68852012-04-20 Joseph Myers <joseph@codesourcery.com>
6886
a90f3bcb
JM
6887 * sysdeps/unix/common/lxstat.c: Remove file.
6888 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
6889
edc7ea78
JM
6890 * sysdeps/unix/sysv/Makefile: Remove file.
6891
cb78c221
JM
6892 * sysdeps/unix/sysv/direct.h: Remove file.
6893
efa6a45f
JM
6894 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
6895 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
6896 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
6897 * sysdeps/unix/sysv/bits/signum.h: Likewise.
6898 * sysdeps/unix/sysv/bits/stat.h: Likewise.
6899 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
6900 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
6901
9c9f2d0c
JM
6902 * sysdeps/unix/sysv/setrlimit.c: Remove file.
6903
4541c83b
JM
6904 * sysdeps/unix/xmknod.c: Remove file.
6905 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
6906
f5d153a0
JM
6907 * sysdeps/unix/sysv/settimeofday.c: Remove file.
6908
aa746595
JM
6909 * sysdeps/unix/sysv/i386/time.S: Remove file.
6910
cce5905e
JM
6911 * sysdeps/unix/fxstat.c: Remove file.
6912 * sysdeps/unix/xstat.c: Likewise.
6913 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
6914
37fa3841
JM
6915 * sysdeps/unix/sysv/sigaction.c: Remove file.
6916
ff1962a3
JM
6917 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
6918 (sysdep_headers): Remove variable.
6919 [termio.h not in sysdep_headers] (generated): Likewise.
6920 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
6921 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
6922 * sysdeps/unix/sysv/tcdrain.c: Likewise.
6923 * sysdeps/unix/sysv/tcflow.c: Likewise.
6924 * sysdeps/unix/sysv/tcflush.c: Likewise.
6925 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
6926 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
6927 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
6928 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
6929 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
6930
e7740d31
JM
6931 * sysdeps/unix/siglist.c: Remove file.
6932
ee06f18b
JM
6933 * sysdeps/unix/getppid.S: Remove file.
6934
097d59fa
JM
6935 * sysdeps/unix/mkdir.c: Remove file.
6936 * sysdeps/unix/rmdir.c: Likewise.
6937
ff3d51ec
AS
69382012-04-19 Andreas Schwab <schwab@linux-m68k.org>
6939
6940 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
6941 ERR_MAX value.
6942 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
6943 errlist-compat value.
6944
50f81fd7
DM
69452012-04-18 David S. Miller <davem@davemloft.net>
6946
6947 * sysdeps/generic/memcopy.h (reg_char): Delete.
6948 * debug/strcat_chk.c: Use char, not reg_char.
6949 * debug/strcpy_chk.c: Likewise.
6950 * debug/strncat_chk.c: Likewise.
6951 * debug/strncpy_chk.c: Likewise.
6952 * string/memchr.c: Likewise.
6953 * string/memrchr.c: Likewise.
6954 * string/rawmemchr.c: Likewise.
6955 * string/strcat.c: Likewise.
6956 * string/strchr.c: Likewise.
6957 * string/strchrnul.c: Likewise.
6958 * string/strcmp.c: Likewise.
6959 * string/strcpy.c: Likewise.
6960 * string/strncat.c: Likewise.
6961 * string/strncmp.c: Likewise.
6962 * string/strncpy.c: Likewise.
6963
8ff41c46
WS
69642012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
6965
6966 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
6967 __builtin_memcopy is called when src and dest ranges are known to not
6968 overlap.
6969
6b652f46
WS
69702012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
6971
6972 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
6973 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
6974 fwd_align_merge macro call.
6975 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
6976 bwd_align_merge macro call.
6977 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
6978
b282631e
WS
69792012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
6980
6981 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
6982 bwd_align_merge macros.
6983 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
6984 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
6985 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
6986
95aa737c
DM
69872012-04-18 David S. Miller <davem@davemloft.net>
6988
6989 * sysdeps/sparc/sparc64/memcopy.h: Delete.
6990
7a99a614
AJ
69912012-04-18 Andreas Jaeger <aj@suse.de>
6992
6993 [BZ# 6794]
6994 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
6995 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
6996 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
6997
6998 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
6999 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
7000 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
7001
7002 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
7003 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
7004 Adjust for changed ldbl-128 files.
7005
7006 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
7007 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
7008 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
7009
e5270c23
DM
70102012-04-17 David S. Miller <davem@davemloft.net>
7011
7012 * sysdeps/sparc/sparc32/memcopy.h: Delete.
7013
fb5e92c9
AS
70142012-04-17 Andreas Schwab <schwab@linux-m68k.org>
7015
7016 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
7017 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
7018 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
7019 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
7020 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
7021 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
7022
76da7265
AZ
70232012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7024
7025 [BZ #6794]
7026 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
7027 * math/libm-test.inc: Add ilogb errno and exception tests.
7028 * math/w_ilogb.c: New file: ilogb wrapper.
7029 * math/w_ilogbf.c: New file: ilogbf wrapper.
7030 * math/w_ilogbl.c: New file: ilogbl wrapper.
7031 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
7032 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
7033 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
7034 exception being thrown with 0.0 as argument.
7035 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
7036 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
7037 exception being thrown with 0.0 as argument.
7038 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
7039 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
7040 exception being thrown with 0.0 as argument.
7041 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
7042 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
7043 exception being thrown with 0.0 as argument.
7044 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
7045 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 7046 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
7047 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
7048 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
7049 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
7050 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
7051 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
7052 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
7053
0396e69d
PB
70542012-04-17 Petr Baudis <pasky@ucw.cz>
7055
7056 * include/sys/uio.h: Change __vector to __iovec to avoid clash
7057 with altivec.
7058
750b5926
MP
70592012-04-16 Marek Polacek <polacek@redhat.com>
7060
7061 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
7062
751728a1
MP
70632012-04-16 Marek Polacek <polacek@redhat.com>
7064
7065 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
7066 operands of fdivp instruction.
7067
34a27407
L
70682012-04-13 H.J. Lu <hongjiu.lu@intel.com>
7069
7070 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
7071 * elf/tst-auditmod3b.c: Likewise.
7072 * elf/tst-auditmod4b.c: Likewise.
7073 * elf/tst-auditmod5b.c: Likewise.
7074 * elf/tst-auditmod6b.c: Likewise.
7075 * elf/tst-auditmod6c.c: Likewise.
7076 * elf/tst-auditmod7b.c: Likewise.
7077 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
7078 * sysdeps/x86_64/preconfigure.in: Likewise.
7079 * sysdeps/x86_64/preconfigure: Regenerated.
7080
7e73e17d
L
70812012-04-13 H.J. Lu <hongjiu.lu@intel.com>
7082
7083 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
7084 __ILP32__.
7085
c7a6ab72
AB
70862012-04-13 Antoine Balestrat <merkil33@gmail.com>
7087
7088 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7089 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
7090
a9e8e0e0
CL
70912012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
7092
7093 [BZ #13973]
7094 * locale/iso-639.def: Fix gl language name. Spotted by
7095 Yaron Shahrabani.
7096
ec98af7d
RM
70972012-04-12 Roland McGrath <roland@hack.frob.com>
7098
7099 [BZ #2074]
7100 * libio/libio.h (__io_write_fn): Update comment.
7101
247c3ede
PB
71022012-04-12 Petr Baudis <pasky@ucw.cz>
7103
7104 [BZ #2074]
7105 * stdio.texi (Hook Functions): The user provided writer function
7106 is not allowed to return -1.
7107
55939d6d
DM
71082012-04-11 David S. Miller <davem@davemloft.net>
7109
7110 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7111
90020f5a
MF
71122012-04-11 Mike Frysinger <vapier@gentoo.org>
7113
7114 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
7115 Add a leading slash to rtkaio.
7116
288f9098
JM
71172012-04-11 Jim Meyering <meyering@redhat.com>
7118
90020f5a
MF
7119 [BZ #11959]
7120 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
7121 It is not necessarily an error to ignore fwrite's return
7122 value. One can reliably use ferror to test for errors after
7123 the fact.
288f9098 7124
4be2b570
L
71252012-04-10 H.J. Lu <hongjiu.lu@intel.com>
7126
7127 * bits/types.h (__snseconds_t): New type.
7128 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
7129
7130 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
7131 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
7132 (__SNSECONDS_T_TYPE): Likewise.
7133 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
7134 (__SNSECONDS_T_TYPE): Likewise.
7135 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7136 (__SNSECONDS_T_TYPE): Likewise.
7137
288f9098 71382012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
7139
7140 [BZ #2636]
7141 * manual/time.texi (Processor Time): Return type of times is
7142 elapsed real time since an arbitrary point in the past.
7143 (CPU Time): Move CLK_TCK from here...
7144 (Processor Time): ...to here. Correct description.
7145 * manual/conf.texi (Constants for Sysconf): Correct description of
7146 _SC_CLK_TCK.
7147
d7dd4413
DM
71482012-04-10 David S. Miller <davem@davemloft.net>
7149
7150 [BZ #13967]
7151 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
7152 where the is a gap between DT_REL(A) and DT_JMPREL.
7153
b46068fc
L
71542012-04-10 H.J. Lu <hongjiu.lu@intel.com>
7155
7156 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
7157 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
7158 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
7159
73d65cc3
SP
71602012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7161
7162 * elf/dl-support.c (_dl_inhibit_cache): New variable.
7163 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
7164 (dl_main): Handle --inhibit-cache.
7165 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
7166 _dl_inhibit_cache.
7167 * elf/dl-load.c (_dl_map_object): Use it.
7168 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
7169
bcc8d661
JM
71702012-04-09 Joseph Myers <joseph@codesourcery.com>
7171
8f9a2fae
JM
7172 [BZ #13872]
7173 * sysdeps/i386/fpu/e_powl.S (p78): New object.
7174 (__ieee754_powl): Saturate large exponents rather than testing for
7175 overflow of y*log2(x).
7176 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
7177 * math/libm-test.inc (pow_test): Do not permit spurious overflow
7178 exceptions.
7179
bcc8d661
JM
7180 [BZ #11521]
7181 * math/s_ctan.c: Include <float.h>.
7182 (__ctan): Avoid internal overflow or cancellation in calculating
7183 denominator.
7184 * math/s_ctanf.c: Likewise.
7185 * math/s_ctanl.c: Likewise.
7186 * math/s_ctanh.c: Likewise.
7187 * math/s_ctanhf.c: Likewise.
7188 * math/s_ctanhl.c: Likewise.
7189 * math/libm-test.inc (ctan_test): Add more tests.
7190 (ctanh_test): Likewise.
7191 * sysdeps/i386/fpu/libm-test-ulps: Update.
7192 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7193
823fbbb4
AJ
71942012-04-09 Andreas Jaeger <aj@suse.de>
7195
03879793
AJ
7196 [BZ #6894]
7197 * manual/filesys.texi (Directory Entries): Mention that d_namlen
7198 is an optional BSD extension.
7199
823fbbb4
AJ
7200 [BZ #10254]
7201 * manual/stdio.texi (Opening Streams): Document additional fopen
7202 parameters.
7203
8de131cb
RM
72042012-04-09 Roland McGrath <roland@hack.frob.com>
7205
7206 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
7207 %eax without telling the compiler.
7208
c0ed9d7d
CD
72092012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
7210
7211 [BZ # 13963]
7212 * manual/install.texi: Use sourceware.org.
7213
c483f6b4
JM
72142012-04-09 Joseph Myers <joseph@codesourcery.com>
7215
d7dd9453
JM
7216 [BZ #13873]
7217 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
7218 (__ieee754_pow): Generate overflow and underflow using huge*huge
7219 and tiny*tiny rather than just returning constant infinity or zero
7220 for large exponents.
7221 * math/libm-test.inc (pow_test): Require overflow exceptions for
7222 applicable cases of large exponents.
7223
c483f6b4
JM
7224 [BZ #706]
7225 * sysdeps/i386/fpu/e_pow.S (p10): New object.
7226 (__ieee754_pow): Use iterative multiplication algorithm only for
7227 integer exponents with absolute value below 1024. Check for odd
7228 integer exponents when using algorithm for real exponents.
7229 * math/libm-test.inc (pow_test): Add more tests.
7230 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7231
d2de7579
JM
72322012-04-08 Joseph Myers <joseph@codesourcery.com>
7233
7234 [BZ #13705]
7235 * math/libm-test.inc (exp_test): Do not allow overflow exception
7236 on underflow test.
7237
f77f1232
AJ
72382012-04-08 Aurelien Jarno <aurelien@aurel32.net>
7239
7240 [BZ #13705]
7241 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
7242 instead of __kernel_standard_f.
7243
3884932b
MF
72442012-04-08 Mike Frysinger <vapier@gentoo.org>
7245
7246 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
7247 * sysdeps/x86_64/memset_chk.S: Likewise.
7248
54472e9c
AJ
72492012-04-08 Andreas Jaeger <aj@suse.de>
7250
6ab0fbfc
AJ
7251 [BZ #10153]
7252 * manual/startup.texi (Environment Access): Describe return value
7253 for putenv and setenv.
7254
61efba8c
AJ
7255 [BZ #6895]
7256 * manual/filesys.texi (Directory Entries): Add description for
7257 DT_LNK.
7258
95c3f29a
AJ
7259 [BZ #6890]
7260 * manual/filesys.texi (Directory Entries): Clarify that it's file
7261 system not operating system in the description of DT_UNKNOWN.
7262
54472e9c
AJ
7263 [BZ #6578]
7264 * manual/syslog.texi (closelog): Fix reference, it's openlog.
7265
624254b1
SC
72662012-04-08 Stephen Compall <s11@member.fsf.org>
7267
7268 [BZ #6649]
7269 * manual/llio.texi (Opening and Closing Files): Add cross
7270 reference to explain mode argument.
7271
1e4920e0
MF
72722012-04-07 Mike Frysinger <vapier@gentoo.org>
7273
7274 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
7275 * sysdeps/x86_64/memset_chk.S: Likewise.
7276
5ed848f3
DM
72772012-04-07 David S. Miller <davem@davemloft.net>
7278
7279 * elf/elf.h (R_SPARC_WDISP10): Define.
7280 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
7281 R_SPARC_SIZE32.
7282 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
7283 R_SPARC_SIZE64 and R_SPARC_H34.
7284
96154cd8
CD
72852012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
7286
7287 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
7288 conditions and remove no longer applicable assertion.
7289
9904dc47
L
72902012-04-06 H.J. Lu <hongjiu.lu@intel.com>
7291
7292 * bits/byteswap.h: Include <features.h>.
7293 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
7294 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
7295
f8887d0a
L
72962012-04-06 H.J. Lu <hongjiu.lu@intel.com>
7297
7298 * bits/byteswap.h (__bswap_16): Removed.
7299 Include <bits/byteswap-16.h> to get __bswap_16.
7300 * sysdeps/i386/bits/byteswap.h: Likewise.
7301 * sysdeps/s390/bits/byteswap.h: Likewise.
7302 * sysdeps/x86_64/bits/byteswap.h: Likewise.
7303 * bits/byteswap-16.h: New file.
7304 * sysdeps/i386/bits/byteswap-16.h: Likewise.
7305 * sysdeps/s390/bits/byteswap-16.h: Likewise.
7306 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
7307 * string/Makefile (headers): Add bits/byteswap-16.h.
7308
62470f60
PP
73092012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
7310
7311 [BZ #13895]
7312 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
7313 extra indirection.
7314 * nss/Makefile (tests-static, tests): Add tst-nss-static.
7315 * nss/tst-nss-static.c: New.
7316
4dad7bab
RM
73172012-04-06 Robert Millan <rmh@gnu.org>
7318
7319 [BZ #6486]
7320 * manual/llio.texi (File Position Primitive): lseek
7321 refers to WHENCE when it really means OFFSET.
7322
e9142a17
AJ
73232012-04-06 Andreas Jaeger <aj@suse.de>
7324
2c040eff
AJ
7325 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
7326 strncmp declarations.
7327
e9142a17
AJ
7328 * abilist/libc.abilist: Add __poll and __ppoll.
7329
ff9f1c5f
DM
73302012-04-05 David S. Miller <davem@davemloft.net>
7331
dcd2ae90
DM
7332 * scripts/check-local-headers.sh: Accept a host triplet in the
7333 path matched by the exclude regexp.
7334
993eb054
DM
7335 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
7336 definition.
7337 * sysdeps/powerpc/powerpc32/dl-machine.h
7338 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
7339 * sysdeps/s390/s390-32/dl-machine.h
7340 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
7341 * sysdeps/sparc/sparc32/dl-machine.h
7342 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
7343 * sysdeps/sparc/sparc64/dl-machine.h
7344 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
7345
ff9f1c5f
DM
7346 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
7347 lazy binding.
48e2e132 7348 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
7349 undefined symbol errors.
7350
48e2e132 7351 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
7352 DT_NEEDED entries.
7353
e80d6f94
MM
73542012-04-05 Michael Matz <matz@suse.de>
7355
7356 [BZ #13592]
7357 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
7358
349fa79f
AJ
73592012-04-05 Andreas Jaeger <aj@suse.de>
7360
7361 [BZ #13908]
7362 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
7363 comment.
7364
f402708f
KK
73652012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7366
7367 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
7368 which ROUND is no valid rounding mode.
7369
2ecccfc9
KK
73702012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7371
7372 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
7373 read again.
7374 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
7375
8a53f50f
KK
73762012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7377
7378 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
7379 an exception using FPU order intentionally.
7380
73812012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7382
7383 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
7384 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
7385 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
7386 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
7387
d653abb7
SJ
73882012-04-05 Simon Josefsson <simon@josefsson.org>
7389
7390 [BZ #12340]
7391 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
7392 EINVAL when BUFLEN is too smal.
7393
c3b1bf7d
TS
73942012-04-05 Thomas Schwinge <thomas@codesourcery.com>
7395
7396 [BZ #13553]
7397 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
7398 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
7399
b1aa60f3
AJ
74002012-04-03 Andreas Jaeger <aj@suse.de>
7401
c3b1bf7d 7402 [BZ #13938]
67f60a26
AJ
7403 * manual/setjmp.texi (System V contexts): Fix sentence.
7404
b1aa60f3
AJ
7405 [BZ #13926]
7406 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
7407 New macro for this case.
7408 [!__GNUC__] (__bswap_64): New inline function for this case.
7409 * sysdeps/x86_64/bits/byteswap.h: Likewise.
7410 * bits/byteswap.h: Likewise.
7411 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
7412 ull, guard with __GLIBC_HAVE_LONG_LONG.
7413
7414 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
7415 __GLIBC_HAVE_LONG_LONG.
7416
7417 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
7418 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
7419
39c59c35
TMQMF
74202012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7421
7422 [BZ #13691]
7423 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
7424 inptr and inend, rather than using last_ch.
7425
135ffda8
DM
74262012-04-02 David S. Miller <davem@davemloft.net>
7427
7428 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
7429 * stdio-common/printf-parse.h (read_int): Change return type to
7430 'int', return -1 on INT_MAX overflow.
7431 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
7432 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
7433 overflows INT_MAX. Check for overflow of in-format-string precision
7434 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
7435 SIZE_MAX not INT_MAX for integer overflow test.
7436 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
7437 skip the construct in the format string but do not record anything.
7438 * stdio-common/bug22.c: Adjust to test both width/prevision
7439 INT_MAX overflow as well as total length INT_MAX overflow. Check
7440 explicitly for proper errno values.
7441
228c019e
TS
74422012-04-02 Thomas Schwinge <thomas@codesourcery.com>
7443
302cadd3
TS
7444 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
7445 CHAR_MAX.
7446 * string/test-strcmp.c [! WIDE]: Likewise.
7447 * time/tst-mktime2.c: Likewise for INT_MAX.
7448 * string/test-string.h: #include <sys/param.h> for MIN.
7449
228c019e
TS
7450 * csu/init-first.c (__libc_init_first): Call __ctype_init.
7451 * sysdeps/i386/init-first.c (init): Likewise.
7452 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
7453 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
7454 * sysdeps/sh/init-first.c (init): Likewise.
7455
cfa633f5
UD
74562012-04-01 Ulrich Drepper <drepper@gmail.com>
7457
7458 * po/ru.po: Update from translation team.
d1635ef8 7459 * po/vi.po: Likewise.
cfa633f5 7460
6cd0a5ea
SP
74612012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
7462
7463 * resolv/nss_dns/dns-host.c: Merge copyright years.
7464
4b43400f
LD
74652012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7466
7467 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
7468 Optimize memcpy with prefetch if
7469 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
7470 src, dst pointers have unequal 16 byte alignments.
7471
48c41d04
SP
74722012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7473
7474 [BZ #13928]
7475 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
7476 from a CNAME entry and return the minimum ttl for the query.
7477 (gaih_getanswer_slice): Likewise.
7478
b8dc394d
JL
74792012-03-30 Jeff Law <law@redhat.com>
7480
7481 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
7482 due to long keys.
7483 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
7484 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
7485
2f5a5ed0
JL
7486 * resolv/nss_dns/dns-host.c: Update copyright year.
7487
1d39e359
UD
74882012-03-30 Ulrich Drepper <drepper@gmail.com>
7489
c030f70c 7490 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 7491 requests to save a system call. Fix check that all bytes are sent.
c030f70c 7492
1d39e359
UD
7493 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
7494 comments for sendmmsg.
7495
74962012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
7497
7498 [BZ #13691]
7499 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
7500 with only 1 character between 0x0041 and 0x01b0.
7501 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
7502 * wcsmbs/tst-mbsnrtowcs.c: New file.
7503
20fde227
DM
75042012-03-29 David S. Miller <davem@davemloft.net>
7505
7506 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
7507 small copies by hand.
7508
984a4237
JL
75092012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7510
7511 [BZ #13761]
7512 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
7513 _nss_compat_initgroups_dyn): Fall back to malloc/free
7514 for large group memberships.
7515
18c9d62b
DM
75162012-03-28 David S. Miller <davem@davemloft.net>
7517
88d85d4f
DM
7518 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
7519 that branches into memcpy.
7520 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
7521 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
7522 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
7523 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
7524 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
7525 bits.
7526 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
7527 implementation too.
7528 * sysdeps/sparc/mempcpy.S: New file.
7529
e5aa83e1
DM
7530 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
7531 the IFUNC routine in the libc case.
7532 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
7533
88570753
DM
7534 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
7535 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
7536 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
7537 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
7538 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
7539 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
7540 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
7541 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
7542
249d7567
DM
7543 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
7544 loop to 256 bytes instead of 64 bytes and fix test signedness.
7545
18c9d62b
DM
7546 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
7547 * sysdeps/sparc/sparc32/Makefile: rather than here...
7548 * sysdeps/sparc/sparc64/Makefile: and here.
7549
05f3d1f6
UD
75502012-03-28 Ulrich Drepper <drepper@gmail.com>
7551
7552 * malloc/mallocbug.c: Avoid warnings about unused variables.
7553
86ae07a8
JL
75542012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
7555
7556 [BZ #13760]
7557 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
7558 in the right place. Discard and retry query if response is
7559 larger than input buffer size.
7560
41bf21a1
JM
75612012-03-28 Joseph Myers <joseph@codesourcery.com>
7562
d6270972
JM
7563 [BZ #369]
7564 [BZ #2678]
7565 [BZ #3866]
7566 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
7567 x for large integer exponent.
7568 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
7569 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
7570 sign of result as needed afterwards.
7571 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
7572 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
7573 result for underflowing pow the same as for overflow.
7574 (__kernel_standard_l): Handle powl overflow and underflow here
7575 rather than calling __kernel_standard.
7576 * math/libm-test.inc (pow_test): Add more tests.
7577
414fca03 7578 [BZ #3868]
41bf21a1
JM
7579 [BZ #13879]
7580 [BZ #13910]
7581 [BZ #13911]
7582 [BZ #13912]
7583 [BZ #13913]
7584 [BZ #13915]
7585 [BZ #13916]
7586 [BZ #13917]
7587 [BZ #13918]
7588 [BZ #13919]
7589 [BZ #13920]
7590 [BZ #13921]
7591 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
7592 * sysdeps/ieee754/k_standard.c: Include <float.h>.
7593 (__kernel_standard_l): New function.
7594 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
7595 __kernel_standard.
7596 * math/w_acosl.c (__acosl): Likewise.
7597 * math/w_asinl.c (__asinl): Likewise.
7598 * math/w_atan2l.c (__atan2l): Likewise.
7599 * math/w_atanhl.c (__atanhl): Likewise.
7600 * math/w_coshl.c (__coshl): Likewise.
7601 * math/w_exp10l.c (__exp10l): Likewise.
7602 * math/w_exp2l.c (__exp2l): Likewise.
7603 * math/w_fmodl.c (__fmodl): Likewise.
7604 * math/w_hypotl.c (__hypotl): Likewise.
7605 * math/w_j0l.c (__j0l, __y0l): Likewise.
7606 * math/w_j1l.c (__j1l, __y1l): Likewise.
7607 * math/w_jnl.c (__jnl, __ynl): Likewise.
7608 * math/w_lgammal.c (__lgammal): Likewise.
7609 * math/w_log10l.c (__log10l): Likewise.
7610 * math/w_log2l.c (__log2l): Likewise.
7611 * math/w_logl.c (__logl): Likewise.
7612 * math/w_powl.c (__powl): Likewise.
7613 * math/w_remainderl.c (__remainderl): Likewise.
7614 * math/w_scalbl.c (sysv_scalbl): Likewise.
7615 * math/w_sinhl.c (__sinhl): Likewise.
7616 * math/w_sqrtl.c (__sqrtl): Likewise.
7617 * math/w_tgammal.c (__tgammal): Likewise.
7618 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
7619 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
7620 * math/libm-test.inc (acos_test): Add more tests.
7621 (acosh_test): Likewise.
7622 (asin_test): Likewise.
7623 (atanh_test): Likewise.
7624 (exp_test): Likewise.
7625 (exp10_test): Likewise.
7626 (exp2_test): Likewise.
7627 (expm1_test): Likewise.
7628 (lgamma_test): Likewise.
7629 (log_test): Likewise.
7630 (log10_test): Likewise.
7631 (log1p_test): Likewise.
7632 (log2_test): Likewise.
7633 (pow_test): Do not allow some spurious overflow exceptions.
7634 (sqrt_test): Add more tests.
7635 (tgamma_test): Likewise.
7636 (y0_test): Likewise.
7637 (y1_test): Likewise.
7638 (yn_test): Likewise.
7639
dd62fda6
AB
76402012-03-27 Anton Blanchard <anton@samba.org>
7641
7642 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
7643 MAP_HUGETLB.
7644 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
7645 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
7646 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
7647
1e3cdfda
AJ
76482012-03-27 David S. Miller <davem@davemloft.net>
7649
b855ab85
DM
7650 * conform/Makefile: Run run-conformtest.sh using $(BASH).
7651
1e3cdfda
AJ
7652 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
7653 have-as-vis3 check.
7654
76552012-03-27 Andreas Jaeger <aj@suse.de>
7656
7657 * sysdeps/x86_64/elf/configure.in: Moved to ...
7658 * sysdeps/x86_64/configure.in: ... here.
7659 * sysdeps/x86_64/elf/start.S: Moved to ...
7660 * sysdeps/x86_64/start.S: ... here.
7661 * sysdeps/x86_64/elf/configure: Delete.
7662
7663 * sysdeps/x86_64/configure.in: Merge contents from
7664 sysdeps/i386/configure.in (without i686 check).
7665
7666 * sysdeps/i386/elf/Versions: Merge into ...
7667 * sysdeps/i386/Versions: ... this.
7668 * sysdeps/i386/elf/Versions: Delete file.
7669 * sysdeps/i386/elf/start.S: Moved to ...
7670 * sysdeps/i386/start.S: ...here.
7671 * sysdeps/i386/elf/configure.in: Merge into...
7672 * sysdeps/i386/configure.in: ...here.
7673 * sysdeps/i386/elf/configure.in: Delete file.
7674 * sysdeps/i386/elf/configure: Delete file.
7675
7676 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
7677 * debug/backtracesyms.c: ... here.
7678 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
7679 * debug/backtracesymsfd.c: ... here.
7680 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
7681 * sysdeps/generic/ifunc-sel.h: ... here.
7682
7683 * sysdeps/unix/i386/start.c: Delete file.
7684 * sysdeps/unix/sparc/start.c: Delete file.
7685 * sysdeps/unix/start.c: Delete file.
7686
7687 * sysdeps/sh/elf/configure.in: Moved to ...
7688 * sysdeps/sh/configure.in: ... here.
7689 * sysdeps/sh/elf/start.S: Moved to ...
7690 * sysdeps/sh/start.S: ... here.
7691 * sysdeps/sh/elf/configure: Delete file.
7692
7693 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
7694 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
7695 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
7696 * sysdeps/powerpc/powerpc64/entry.h: ... here.
7697 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
7698 * sysdeps/powerpc/powerpc64/start.S: here.
7699 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
7700 * sysdeps/powerpc/powerpc64/Makefile: ... this.
7701 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
7702 * sysdeps/powerpc/powerpc64/configure.in: ... this.
7703 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
7704
7705 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
7706 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
7707 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
7708 * sysdeps/powerpc/powerpc32/start.S: ... here.
7709 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
7710 * sysdeps/powerpc/powerpc32/configure.in: ... this.
7711 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
7712
7713 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
7714 * sysdeps/powerpc/ifunc-sel.h: ... here.
7715 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
7716 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
7717
7718 * sysdeps/sparc/elf/configure.in: Moved to ...
7719 * sysdeps/sparc/configure.in: ... here.
7720 * sysdeps/sparc/elf/configure: Delete file.
7721 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
7722 * sysdeps/sparc/sparc32/start.S: ... here.
7723 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
7724 * sysdeps/sparc/sparc64/start.S: ... here.
7725 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
7726 * sysdeps/sparc/sparc32/Makefile: ... this.
7727 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
7728 * sysdeps/sparc/sparc64/Makefile: ... this.
7729
7730 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
7731 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
7732 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
7733 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
7734 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
7735 * sysdeps/s390/s390-32/setjmp.S: ... here.
7736 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
7737 * sysdeps/s390/s390-32/configure.in: ... here.
7738 * sysdeps/s390/s390-32/elf/configure: Delete file.
7739 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
7740 * sysdeps/s390/s390-32/start.S: ... here.
7741
7742 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
7743 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
7744 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
7745 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
7746 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
7747 * sysdeps/s390/s390-64/setjmp.S: ... here.
7748 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
7749 * sysdeps/s390/s390-64/configure.in: ... here
7750 * sysdeps/s390/s390-64/elf/configure: Delete file.
7751 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
7752 * sysdeps/s390/s390-64/start.S: ... here.
7753 * sysdeps/s390/s390-64/elf/configure: Delete.
7754
7755 * configure.in: Remove support for elf directories in sysdeps.
7756
7757 * configure: Regenerated.
7758 * sysdeps/i386/configure: Regenerated.
7759 * sysdeps/powerpc/powerpc32/configure: Regenerated.
7760 * sysdeps/powerpc/powerpc64/configure: Regenerated.
7761 * sysdeps/s390/s390-32/configure: Regenerated.
7762 * sysdeps/s390/s390-64/configure: Regenerated.
7763 * sysdeps/sh/configure: Regenerated.
7764 * sysdeps/sparc/configure: Regenerated.
7765 * sysdeps/x86_64/configure: Regenerated.
7766
a3f61311
AS
77672012-03-26 Andreas Schwab <schwab@linux-m68k.org>
7768
c876e002
AS
7769 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7770
a3f61311
AS
7771 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
7772 denormal result into account.
7773
ac4c54f0
RM
77742012-03-25 Roland McGrath <roland@hack.frob.com>
7775
7776 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
7777 Reported by Allan McRae <allan@archlinux.org>.
7778
6a9b9c02
JL
77792012-03-23 Jeff Law <law@redhat.com>
7780
7781 * nss/getnssent.c (__nss_getent): Fix typo.
7782
4c42a0c1
DM
77832012-03-23 David S. Miller <davem@davemloft.net>
7784
7785 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7786
1532c7ac
L
77872012-03-23 H.J. Lu <hongjiu.lu@intel.com>
7788
7789 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
7790 to pad to uint64_t for each field.
7791 (dl_tls_index): Replace unsigned long with uint64_t.
7792
3ff42526
PP
77932012-03-23 Daniel Jacobowitz <dmj@google.com>
7794 Paul Pluzhnikov <ppluzhnikov@google.com>
7795
7796 [BZ #6528]
7797 * grp/Makefile (otherlibs): Don't set it.
7798 * inet/Makefile (otherlibs): Likewise.
7799 * login/Makefile (otherlibs): Likewise.
7800 * nscd/Makefile (otherlibs): Likewise.
7801 * posix/Makefile (otherlibs): Likewise.
7802 * pwd/Makefile (otherlibs): Likewise.
7803 * rt/Makefile (otherlibs): Likewise.
7804 * sunrpc/Makefile (otherlibs): Likewise.
7805 * nss/Makefile (otherlibs): Likewise.
7806 Add libnss_files to routines and static-only-routines.
7807 ($(objpfx)getent): Remove rule.
7808 * resolv/Makefile: Add libnss_dns and libresolv to routines and
7809 static-only-routines.
7810
7c69cd14
JM
78112012-03-22 Joseph Myers <joseph@codesourcery.com>
7812
7813 [BZ #13892]
7814 * math/s_cexp.c: Include <float.h>.
7815 (__cexp): Handle exp result overflowing not necessarily
7816 overflowing both real and imaginary parts of result.
7817 * math/s_cexpf.c: Likewise.
7818 * math/s_cexpl.c: Likewise.
7819 * math/libm-test.inc (cexp_test): Add more tests.
7820 * sysdeps/i386/fpu/libm-test-ulps: Update.
7821 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7822
81b035fe
L
78232012-03-22 H.J. Lu <hongjiu.lu@intel.com>
7824
7825 * include/link.h (ELFW): New macro.
7826 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
7827 Replace ELF64_R_TYPE with ELFW(R_TYPE).
7828
1da7940c
L
78292012-03-22 H.J. Lu <hongjiu.lu@intel.com>
7830
7831 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
7832 with uint64_t.
7833
b749dbb9
L
78342012-03-22 H.J. Lu <hongjiu.lu@intel.com>
7835
7836 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
7837 declaration.
7838 (struct La_x32_retval): Likewise.
7839
2ff87f3f
L
78402012-03-22 H.J. Lu <hongjiu.lu@intel.com>
7841
7842 * sysdeps/x86_64/preconfigure.in: New file.
7843 * sysdeps/x86_64/preconfigure: New generated file.
7844
c0df8e69
JM
78452012-03-22 Joseph Myers <joseph@codesourcery.com>
7846
48e44791
JM
7847 [BZ #13824]
7848 * math/e_exp2l.c: Include <float.h>.
7849 (__ieee754_exp2l): Handle overflow and underflow cases
7850 separately. Only pass fractional part of argument to
7851 __ieee754_expl.
7852 * math/libm-test.inc (exp2_test): Add more tests.
7853
c0df8e69
JM
7854 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
7855 negating x to take absolute value.
7856 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
7857 Likewise.
7858 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
7859 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
7860 Likewise.
7861 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
7862 computing low part if x was negated.
7863 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
7864
c8e43ba7
L
78652012-03-21 H.J. Lu <hongjiu.lu@intel.com>
7866
7867 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
7868 la_x32_gnu_pltexit.
7869 (pltexit): Cast int_retval to ptrdiff_t.
7870 * elf/tst-auditmod3b.c: Likewise.
7871 * elf/tst-auditmod4b.c: Likewise.
7872 * elf/tst-auditmod5b.c: Likewise.
7873 * elf/tst-auditmod6b.c: Likewise.
7874 * elf/tst-auditmod6c.c: Likewise.
7875 * elf/tst-auditmod7b.c: Likewise.
7876
7877 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
7878 and x32_gnu_pltexit.
7879
7880 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
7881 __ELF_NATIVE_CLASS.
7882 (La_x32_regs): New macro.
7883 (La_x32_retval): Likewise.
7884 (la_x32_gnu_pltenter): New function prototype.
7885 (la_x32_gnu_pltexit): Likewise.
7886
7998fa78
AS
78872012-03-21 Andreas Schwab <schwab@linux-m68k.org>
7888
dcb33988
AS
7889 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
7890 exponent.
7891
233fc563
AS
7892 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7893
7998fa78
AS
7894 * configure.in (libc_cv_cc_nofma): Check for option to disable
7895 generation of FMA instructions.
7896 * configure: Regenerate.
7897 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
7898 * sysdeps/ieee754/dbl-64/Makefile: New file.
7899 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
7900 Remove brandred-fma4.
7901 (CFLAGS-brandred-fma4.c): Remove.
7902 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
7903 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
7904 define.
7905 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
7906 define.
7907
8e95c99a
L
79082012-03-21 H.J. Lu <hongjiu.lu@intel.com>
7909
7910 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
7911 LLONG_MAX != LONG_MAX.
7912 (_itoa_word): Use _ITOA_WORD_TYPE on value.
7913 (_fitoa_word): Likewise.
7914 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
7915 LLONG_MAX != LONG_MAX.
7916 * stdio-common/_itowa.h: Include <_itoa.h>.
7917 (_itowa_word): Use _ITOA_WORD_TYPE on value.
7918 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
7919 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
7920 only if not defined.
7921 (_ITOA_WORD_TYPE): Likewise.
7922 (_itoa_word): Use _ITOA_WORD_TYPE on value.
7923 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
7924
6f4db457
DM
79252012-03-21 David S. Miller <davem@davemloft.net>
7926
7927 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7928
7785fe5a
L
79292012-03-21 H.J. Lu <hongjiu.lu@intel.com>
7930
7931 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
7932 of x86_64 when setting libc_cv_slibdir, libdir and
7933 libc_cv_localedir.
7934 * sysdeps/unix/sysv/linux/configure: Regenerated.
7935
4535cd55
JM
79362012-03-21 Joseph Myers <joseph@codesourcery.com>
7937
7938 * manual/lang.texi (Old Varargs): Remove section.
7939 (How Variadic): Update menu.
7940 (va_start): Do not mention varargs.h.
7941
17228132
TS
79422012-03-21 Thomas Schwinge <thomas@codesourcery.com>
7943 Joseph Myers <joseph@codesourcery.com>
7944
7945 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
7946 link test.
7947 * configure: Regenerated.
7948
8149f976
TS
79492012-03-21 Thomas Schwinge <thomas@codesourcery.com>
7950
05f3d1f6
UD
7951 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
7952 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
7953 conformtest.pl
8149f976 7954
1a4ac776
JM
79552012-03-21 Joseph Myers <joseph@codesourcery.com>
7956
be22ce65
JM
7957 * NOTES: Remove.
7958 * Makefile (files-for-dist): Remove NOTES.
7959 (NOTES): Remove rule.
7960 * README: Don't refer to NOTES.
7961 * manual/creature.texi: Don't include macros.texi.
7962 * manual/intro.texi (creature.texi): Remove comment referring to
7963 NOTES.
7964
40b601fb
JM
7965 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
7966 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
7967 * configure: Regenerated.
7968 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
7969 LIBC_TRY_CC_OPTION.
7970 (libc_cv_as_i686): Likewise.
7971 (libc_cv_cc_avx): Likewise.
7972 (libc_cv_cc_sse2avx): Likewise.
7973 (libc_cv_cc_fma4): Likewise.
7974 (libc_cv_cc_novzeroupper): Likewise.
7975 * sysdeps/i386/configure: Regenerated.
7976
1a4ac776
JM
7977 [BZ #13883]
7978 * sysdeps/i386/fpu/s_cexp.S: Remove.
7979 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
7980 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
7981 * math/libm-test.inc (cexp_test): Add more tests.
7982 * sysdeps/i386/fpu/libm-test-ulps: Update.
7983 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7984
a458e7fe
AM
79852012-03-21 Allan McRae <allan@archlinux.org>
7986
7987 * timezone/Makefile: Do not install iso3166.tab and zone.tab
7988
0cb7efc5
JM
79892012-03-21 Joseph Myers <joseph@codesourcery.com>
7990
7991 [BZ #13871]
7992 * math/w_exp2.c: Do not include <float.h>.
7993 (o_threshold, u_threshold): Remove.
7994 (__exp2): Calculate result before checking finiteness and calling
7995 __kernel_standard.
7996 * math/w_exp2f.c: Likewise.
7997 * math/w_exp2l.c: Likewise.
7998 * math/libm-test.inc (exp2_test): Require overflow exception for
7999 1e6 input.
2460d3aa
JM
8000
8001 [BZ #3866]
8002 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
8003 range of signed 64-bit integers before using fistpll. Remove
8004 checks for whether integers fit in mantissa bits.
8005 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
8006 the range of signed 32-bit integers before using fistpl. Remove
8007 checks for whether integers fit in mantissa bits.
8008 * sysdeps/i386/fpu/e_powl.S (p64): New object.
8009 (__ieee754_powl): Test for y outside the range of signed 64-bit
8010 integers before using fistpll. Reduce 64-bit values to 63-bit
8011 ones as needed.
8012 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
8013 divide-by-zero is raised for zero to large negative powers.
8014 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
8015 (__ieee754_powl): Test for y outside the range of signed 64-bit
8016 integers before using fistpll. Reduce 64-bit values to 63-bit
8017 ones as needed.
8018 * math/libm-test.inc (pow_test): Add more tests.
8019
eb96ffb0
L
80202012-03-20 H.J. Lu <hongjiu.lu@intel.com>
8021
8022 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
8023 <stdio-common/_itoa.h>.
8024 * debug/segfault.c: Likewise.
8025 * elf/dl-cache.c: Likewise.
8026 * elf/dl-minimal.c: Likewise.
8027 * elf/dl-misc.c: Likewise.
8028 * elf/dl-sysdep.c: Likewise.
8029 * elf/dl-version.c: Likewise.
8030 * elf/rtld.c: Likewise.
8031 * hurd/hurdsock.c: Likewise.
8032 * hurd/lookup-retry.c: Likewise.
8033 * malloc/malloc.c: Likewise.
8034 * malloc/mtrace.c: Likewise.
8035 * nscd/nscd_getgr_r.c: Likewise.
8036 * nscd/nscd_getpw_r.c: Likewise.
8037 * nscd/nscd_getserv_r.c: Likewise.
8038 * posix/getopt_init.c: Likewise.
8039 * posix/wordexp.c: Likewise.
8040 * stdio-common/_itoa.c: Likewise.
8041 * stdio-common/printf_fphex.c: Likewise.
8042 * stdio-common/vfprintf.c: Likewise.
8043 * string/_strerror.c: Likewise.
8044 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
8045 * sysdeps/i386/i686/hp-timing.h: Likewise.
8046 * sysdeps/mach/_strerror.c: Likewise.
8047 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
8048 * sysdeps/mach/hurd/sethostid.c: Likewise.
8049 * sysdeps/mach/hurd/xmknodat.c: Likewise.
8050 * sysdeps/mach/xpg-strerror.c: Likewise.
8051 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
8052 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
8053 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
8054 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
8055 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
8056 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
8057 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
8058 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
8059 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
8060 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
8061 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
8062 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
8063 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
8064 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
8065 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
8066 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
8067 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
8068 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
8069 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
8070 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
8071 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
8072
8073 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
8074
8075 * stdio-common/_itoa.h: Moved to ...
8076 * sysdeps/generic/_itoa.h: Here.
8077
8078 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
8079
8080 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
8081 instead of "_itoa.h" and "_itowa.h".
8082 * stdio-common/vfprintf.: Likewise.
8083
d1af992d
L
80842012-03-20 H.J. Lu <hongjiu.lu@intel.com>
8085
8086 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
8087 <bits/wordsize.h>.
8088 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
8089 (__signbit): Likwise.
8090 (llrintf): Likwise.
8091 (llrint): Likwise.
8092
114883e0
L
80932012-03-20 H.J. Lu <hongjiu.lu@intel.com>
8094
8095 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
8096 __WORDSIZE != 64.
8097
c135cc1b
JM
80982012-03-20 Joseph Myers <joseph@codesourcery.com>
8099
8100 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
8101 OVERFLOW_EXCEPTION_OK.
8102 * math/libm-test.inc ("Philosophy"): Update comment about
8103 exception testing.
8104 (OVERFLOW_EXCEPTION): Define.
8105 (OVERFLOW_EXCEPTION_OK): Likewise.
8106 (INVALID_EXCEPTION_OK): Renumber.
8107 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
8108 (IGNORE_ZERO_INF_SIGN): Likewise.
8109 (test_exceptions): Handle FE_OVERFLOW.
8110 (exp10_test): Expect overflow exceptions.
8111 (exp2_test): Likewise.
8112 (expm1_test): Likewise.
8113 (nextafter_test): Likewise.
8114 (pow_test): Likewise.
8115 (scalbn_test): Likewise.
8116 (scalbln_test): Likewise.
8117
95443d88
L
81182012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8119
8120 * sysdeps/x86_64/bits/atomic.h
8121 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
8122 64bit integer.
8123 (atomic_exchange_acq): Likewise.
8124 (__arch_exchange_and_add_body): Likewise.
8125 (__arch_add_body): Likewise.
8126 (atomic_add_negative): Likewise.
8127 (atomic_add_zero): Likewise.
8128
490df6c4
L
81292012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8130
c2722551 8131 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
8132 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
8133
5e52b189
L
81342012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8135
8136 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
8137 Check __x86_64__ instead of __WORDSIZE.
8138
a9879d4c
L
81392012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8140
8141 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
8142
5df98260
DM
81432012-03-19 David S. Miller <davem@davemloft.net>
8144
e1497744
DM
8145 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8146
5df98260
DM
8147 * sysdeps/sparc/fpu/fenv_private.h: New file.
8148 * sysdeps/sparc/fpu/math_private.h: Use it.
8149 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
8150 Remove.
8151 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
8152 (libc_feholdexcept_setroundl): Remove.
8153 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
8154 Remove.
8155 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
8156 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
8157
b4c35121
L
81582012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8159
8160 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
8161 int64_t instead of long int.
8162 (INSERT_WORDS64): Likwise.
8163
56965fd7
L
81642012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8165
8166 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
8167 _Unwind_GetCFA return to _Unwind_Ptr first.
8168
83d1aec8
JM
81692012-03-19 Joseph Myers <joseph@codesourcery.com>
8170
1897ad44
JM
8171 [BZ #13629]
8172 * math/s_clog.c: Include <float.h>.
8173 (__clog): Scale large or subnormal inputs.
8174 * math/s_clogf.c: Likewise.
8175 * math/s_clogl.c: Likewise.
8176 * math/s_clog10.c: Include <float.h>.
8177 (M_LOG10_2): Define.
8178 (__clog10): Scale large or subnormal inputs.
8179 * math/s_clog10f.c: Likewise.
8180 * math/s_clog10l.c: Likewise.
8181 * math/libm-test.inc (clog_test): Add more tests.
8182 (clog10_test): Likewise.
8183 * sysdeps/i386/fpu/libm-test-ulps: Update.
8184 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8185
7726d6a9
JM
8186 [BZ #11451]
8187 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
8188 x and y.
8189 * math/libm-test.inc (atan2_test): Add another test.
8190
83d1aec8
JM
8191 * Makerules (common-objdir-compile): Remove.
8192 * sysdeps/unix/Makefile (config-generated): Do not add
8193 $(unix-generated) to variable.
8194 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
8195 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
8196 Remove rule.
8197 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
8198 Likewise.
8199 [generic bits/local_lim.h] (before-compile): Do not append to
8200 variable.
8201 [generic bits/local_lim.h] (common-generated): Likewise.
8202 [generic sys/param.h] (before-compile): Do not append to variable.
8203 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
8204 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
8205 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
8206 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
8207 include.
8208 [generic sys/param.h] (sys/param.h-includes): Remove variable.
8209 [generic sys/param.h] (sys/param.h-includes): Remove rule.
8210 [generic sys/param.h] ($(addprefix
8211 $(common-objpfx),$(sys/param.h-includes))): Likewise.
8212 [generic sys/param.h] (common-generated): Do not append to
8213 variable.
8214 [generic sys/param.h] (sysdep_headers): Likewise.
8215 [generic bits/errno.h] (before-compile): Do not append to
8216 variable.
8217 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
8218 rule.
8219 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
8220 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
8221 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
8222 [generic bits/errno.h] (common-generated): Do not append to
8223 variable.
8224 [generic bits/ioctls.h] (before-compile): Do not append to
8225 variable.
8226 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
8227 rule.
8228 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
8229 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
8230 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
8231 rule.
8232 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
8233 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
8234 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
8235 [generic bits/ioctls.h] (common-generated): Do not append to
8236 variable.
8237 [generic sys/syscall.h] (syscall.h): Remove variable.
8238 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
8239 rule.
8240 [generic sys/syscall.h] (before-compile): Do not append to
8241 variable.
8242 [generic sys/syscall.h] (common-generated): Likewise.
8243 * sysdeps/unix/errnos-tmpl.c: Remove file.
8244 * sysdeps/unix/errnos.awk: Likewise.
8245 * sysdeps/unix/ioctls-tmpl.c: Likewise.
8246 * sysdeps/unix/ioctls.awk: Likewise.
8247 * sysdeps/unix/mk-local_lim.c: Likewise.
8248 * sysdeps/unix/snarf-ioctls: Likewise.
8249
4851a949
RH
82502012-03-19 Richard Henderson <rth@twiddle.net>
8251
bd37f2ee
RH
8252 * sysdeps/i386/fpu/fenv_private.h: New file.
8253 * sysdeps/i386/fpu/math_private.h: Use it.
8254 (math_opt_barrier, math_force_eval): Remove.
8255 (libc_feholdexcept_setround_53bit): Remove.
8256 (libc_feupdateenv_53bit): Remove.
8257 * sysdeps/x86_64/fpu/math_private.h: Likewise.
8258 (math_opt_barrier, math_force_eval): Remove.
8259 (libc_feholdexcept): Remove.
8260 (libc_feholdexcept_setround): Remove.
8261 (libc_fetestexcept, libc_fesetenv): Remove.
8262 (libc_feupdateenv_test): Remove.
8263 (libc_feupdateenv, libc_feholdsetround): Remove.
8264 (libc_feresetround): Remove.
8265
d0adc922
RH
8266 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
8267 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
8268
0fe0f1f8
RH
8269 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
8270 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
8271 (libc_feupdateenv_testl): New.
8272 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
8273 (libc_feupdateenv_testf): New.
8274 (libc_feupdateenv): Use libc_feupdateenv_test.
8275 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
8276 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
8277
eb92c487
RH
8278 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
8279 (libc_feholdsetroundf, libc_feholdsetroundl): New.
8280 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
8281 (libc_feresetround_noex): New.
8282 (libc_feresetround_noexf): New.
8283 (libc_feresetround_noexl): New.
8284 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
8285 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
8286 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
8287 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
8288 SET_RESTORE_ROUND.
8289 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
8290 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
8291 (__cos): Likewise.
8292 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
8293 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
8294 SET_RESTORE_ROUND_NOEX.
8295 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
8296 SET_RESTORE_ROUND_NOEXF.
8297 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
8298 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
8299 (libc_feholdsetroundf): New.
8300 (libc_feresetround, libc_feresetroundf): New.
8301
7d2e8012
RH
8302 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
8303 (libc_feholdexcept_setround_53bit): Convert from macro to function.
8304 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
8305
b4dabbb4
RH
8306 * sysdeps/generic/math_private.h: Include <fenv.h>.
8307 (default_libc_feholdexcept): New.
8308 (default_libc_feholdexcept_setround): New.
8309 (default_libc_fesetenv, default_libc_feupdateenv): New.
8310 (libc_feholdexcept): Only define if undefined.
8311 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
8312 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
8313 (libc_feholdexcept_setroundl): Likewise.
8314 (libc_feholdexcept_setround_53bit): Likewise.
8315 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
8316 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
8317 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
8318 (libc_feupdateenv_53bit): Likewise.
8319 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
8320 (libc_feholdexcept): Convert from macro to inline function.
8321 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
8322 (libc_fesetenv, libc_feupdateenv): Likewise.
8323
4851a949
RH
8324 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
8325 not previously defined.
8326 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
8327 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
8328 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
8329 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
8330 * sysdeps/ieee754/flt-32/math_private.h: New file.
8331 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
8332 math_private.h below SET_FLOAT_WORD.
8333 (__isnan, __isinf_ns, __finite): Remove.
8334 (__isnanf, __isinf_nsf, __finitef): Remove.
8335
e79d442e
AS
83362012-03-18 Andreas Schwab <schwab@linux-m68k.org>
8337
8338 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8339
90b80344
DM
83402012-03-17 David S. Miller <davem@davemloft.net>
8341
8342 [BZ #6471]
8343 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
8344 for 2.16.
8345
edc21804
DM
83462012-03-16 David S. Miller <davem@davemloft.net>
8347
77e927af
DM
8348 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
8349 warnings.
8350
374976dd
DM
8351 [BZ #6471]
8352 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
8353 properly.
8354 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
8355 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
8356 sysdep_routines when subdir is sysvipc.
8357 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
8358 __getshmlba helper.
8359
edc21804
DM
8360 * sysdeps/sparc/fpu/libm-test/ulps: Update.
8361
473c3ef3
L
83622012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8363
8364 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
8365 [__LP64__].
8366
eb0f39b6
L
83672012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8368
8369 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
8370 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
8371 (__lround): Renamed to ...
8372 (__llround): This. Replace long int with long long int.
8373 Define lround functions as aliases of llround functions.
8374 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
8375
6b6cd74b
L
83762012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8377
8378 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
8379 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
8380 adresses to uintptr_t. Replace "long int" and "unsigned long
8381 int" with "greg_t" on va_arg.
8382
f1a77b01
L
83832012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8384
8385 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
8386 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
8387
8388 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
8389 Move e_machine check before EI_CLASS check. Handle x32
8390 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
8391 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
8392 SKIP_EM_IA_64 and include
8393 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
8394
8395 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
8396 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
8397 (add_system_dir): New macro.
8398
8399 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
8400 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
8401
11b90b9f
JM
84022012-03-16 Joseph Myers <joseph@codesourcery.com>
8403
c36e1d23
JM
8404 [BZ #2551]
8405 [BZ #2552]
8406 [BZ #2553]
8407 [BZ #2554]
8408 [BZ #2562]
8409 [BZ #2563]
8410 [BZ #2565]
8411 [BZ #2566]
8412 [BZ #2576]
8413 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
8414 (y0): Likewise.
8415 * math/w_j0f.c (j0f): Likewise.
8416 (y0f): Likewise.
8417 * math/w_j0l.c (__j0l): Likewise.
8418 (__y0l): Likewise.
8419 * math/w_j1.c (j1): Likewise.
8420 (y1): Likewise.
8421 * math/w_j1f.c (j1f): Likewise.
8422 (y1f): Likewise.
8423 * math/w_j1l.c (__j1l): Likewise.
8424 (__y1l): Likewise.
8425 * math/w_jn.c (jn): Likewise.
8426 (yn): Likewise.
8427 * math/w_jnf.c (jnf): Likewise.
8428 (ynf): Likewise.
8429 * math/w_jnl.c (__jnl): Likewise.
8430 (__ynl): Likewise.
8431 * math/libm-test.inc (j0_test): Add more tests.
8432 (j1_test): Likewise.
8433 (jn_test): Likewise. Add trailing semicolon to existing test.
8434 (y0_test): Likewise.
8435 (y1_test): Likewise.
8436 * sysdeps/i386/fpu/libm-test-ulps: Update.
8437 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8438
11b90b9f
JM
8439 [BZ #13851]
8440 [BZ #13854]
8441 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
8442 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
8443 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
8444 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
8445 (__tanl): Set errno for infinite argument.
8446 * sysdeps/i386/fpu/mptan.c: Remove.
8447 * sysdeps/i386/fpu/s_tan.S: Likewise.
8448 * sysdeps/i386/fpu/s_tanl.S: Likewise.
8449 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
8450 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
8451 * math/libm-test.inc (tan_test): Add more tests and enable more
8452 tests for double and long double.
8453 * sysdeps/i386/fpu/libm-test-ulps: Update.
8454 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8455
6a1bd2a1
JK
84562012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
8457
8458 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
8459 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
8460
10a803e0
RM
84612012-03-16 Roland McGrath <roland@hack.frob.com>
8462
8463 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
8464 * configure.in: Use it for both main tree and add-ons.
8465 * configure: Regenerated.
8466
f196c7f7
L
84672012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8468
8469 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
8470
8848d99d
JM
84712012-03-16 Joseph Myers <joseph@codesourcery.com>
8472
96cbe7f4
JM
8473 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
8474 in comment.
8475
8848d99d
JM
8476 [BZ #13851]
8477 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
8478 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
8479 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
8480 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
8481 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
8482 infinite argument.
8483 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
8484 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
8485 != 0 for prec == 2.
8486 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
8487 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
8488 * sysdeps/i386/fpu/s_cosl.S: Likewise.
8489 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
8490 * sysdeps/i386/fpu/s_sinl.S: Likewise.
8491 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
8492 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
8493 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
8494 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
8495 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
8496 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
8497 * math/libm-test.inc (cos_test): Add more tests and enable more
8498 tests for long double.
8499 (sin_test): Likewise.
8500 (sincos_test): Likewise.
8501 * sysdeps/i386/fpu/libm-test-ulps: Update.
8502 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8503
dd7f4703
DM
85042012-03-16 David S. Miller <davem@davemloft.net>
8505
8506 * sysdeps/sparc/fpu/math_private.h: New file.
8507
006f1daa
DM
85082012-03-15 David S. Miller <davem@davemloft.net>
8509
c0c83bc8
DM
8510 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
8511 file.
e6a62e18 8512 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
8513 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
8514 file.
e6a62e18
DM
8515 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
8516 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
8517 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
8518 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
8519 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
8520 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
8521 sysdep routines.
8522 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
8523
88cb87d9
DM
8524 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
8525 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
8526
006f1daa 8527 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
8528 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
8529 sparc-ifunc.h
006f1daa 8530 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
8531 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
8532 Likewise.
8533 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
8534 Likewise.
006f1daa
DM
8535 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
8536 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
8537 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
8538 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
8539 Likewise.
006f1daa
DM
8540 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
8541 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
8542 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
8543 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
8544 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
8545 Likewise.
8546 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
8547 Likewise.
006f1daa
DM
8548 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
8549 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
8550 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
8551 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
8552 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
8553 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
8554 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
8555 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
8556 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
8557 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
8558 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
8559 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
8560 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
8561 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
8562 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
8563 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
8564 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
8565 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
8566 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
8567 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
8568 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
8569 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
8570 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
8571 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
8572
11e0098e
AS
85732012-03-15 Andreas Schwab <schwab@linux-m68k.org>
8574
8575 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
8576 scaling.
8577 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8578
e85b09d0
AJ
85792012-03-15 Andreas Jaeger <aj@suse.de>
8580
8581 [BZ #13852]
8582 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
8583 ieee754/flt-32 implementation for sin, cos and sincos.
8584 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
8585 * sysdeps/i386/fpu/s_cosf.S: Likewise.
8586 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
8587 * sysdeps/i386/fpu/s_sinf.S: Likewise.
8588 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
8589 ieee754/flt-32 implementation for tan.
8590
8591 * math/libm-test.inc (cos_test): Enable some large input tests for
8592 float as well
8593 (sin_test): Likewise.
8594 (sincos_test): Likewise.
8595 (tan_test): Add tests for large input.
8596
8597 * sysdeps/i386/fpu/libm-test-ulps: Update.
8598
81c64153
AJ
85992012-03-15 Andreas Jaeger <aj@suse.de>
8600
8601 [BZ #13658]
8602 * math/libm-test.inc (cos_test): Add more test cases.
8603 (sin_test): Likewise.
8604 (sincos_test): Likewise.
8605
7bbfa5c6
AJ
86062012-03-15 Andreas Jaeger <aj@suse.de>
8607
8608 [BZ #13837]
8609 * math/libm-test.inc (cos_test): Add a test case for large input
8610 value.
8611 (sin_test): Likewise.
8612 (sincos_test): Likewise.
8613
86142012-03-15 Andreas Jaeger <aj@suse.de>,
8615 Joseph Myers <joseph@codesourcery.com>
8616
8617 [BZ #13658]
0671f479 8618 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
8619 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
8620 * sysdeps/i386/fpu/branred.c: Likewise.
8621 * sysdeps/i386/fpu/dosincos.c: Likewise.
8622 * sysdeps/i386/fpu/mpa.c: Likewise.
8623 * sysdeps/i386/fpu/s_cos.S: Likewise.
8624 * sysdeps/i386/fpu/s_sin.S: Likewise.
8625 * sysdeps/i386/fpu/s_sincos.S: Likewise.
8626 * sysdeps/i386/fpu/sincos32.c: Likewise.
8627
8628 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
8629 Define.
8630 (libc_feupdateenv_53bit): Define.
8631 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
8632 Define.
8633 (libc_feupdateenv_53bit): Define.
8634
8635 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
8636 53 bit (without extend i386 double precision).
8637
8638 * math/libm-test.inc (sincos_test): Add tests for large input.
8639 (sin): Likewise.
8640 (cos): Likewise.
8641
8642 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
8643
9cad04ea
AS
86442012-03-15 Andreas Schwab <schwab@linux-m68k.org>
8645
8646 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8647
f7062b9a
DM
86482012-03-15 David S. Miller <davem@davemloft.net>
8649
8650 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
8651 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
8652 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
8653 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
8654 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
8655 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
8656 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
8657 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
8658 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
8659 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
8660 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
8661 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
8662 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
8663 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
8664 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
8665 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
8666 file.
f7062b9a 8667 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
8668 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
8669 file.
f7062b9a 8670 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
8671 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
8672 file.
f7062b9a 8673 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
8674 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
8675 file.
f7062b9a
DM
8676 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
8677 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
8678 fmin/fmax sysdep routines.
8679 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
8680
7bd951ff
DM
86812012-03-14 David S. Miller <davem@davemloft.net>
8682
559398ab
DM
8683 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
8684 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
8685 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
8686 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
8687 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
8688 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
8689 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
8690 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
8691 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
8692 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
8693 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
8694 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
8695 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
8696 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
8697 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
8698 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
8699 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
8700 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
8701 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
8702 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
8703 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
8704 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
8705 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
8706 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
8707 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
8708 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
8709 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
8710 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
8711 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
8712 routines.
8713 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
8714 file.
559398ab 8715 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
8716 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
8717 file.
559398ab 8718 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
8719 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
8720 file.
559398ab 8721 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
8722 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
8723 file.
559398ab 8724 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
8725 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
8726 file.
559398ab 8727 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
8728 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
8729 file.
8730 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
8731 file.
8732 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
8733 file.
8734 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
8735 file.
8736 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
8737 New file.
8738 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
8739 file.
8740 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
8741 file.
559398ab 8742 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
8743 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
8744 file.
559398ab 8745 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
8746 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
8747 file.
559398ab 8748 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
8749 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
8750 file.
559398ab 8751 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
8752 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
8753 VIS3 routines.
559398ab
DM
8754
8755 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
8756 New file.
8757
5a1c1e32
DM
8758 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8759
eae47a36
DM
8760 * sysdeps/sparc/configure.in: New file.
8761 * sysdeps/sparc/configure: Generate.
8762 * configure.in (libc_cv_sparc_as_vis3): Substitute.
8763 * configure: Regenerate.
8764 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
8765 * config.make.in (have-as-vis3): New.
8766 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
8767 available use -Av9d instead of -Av9a.
8768 * sysdeps/sparc/sparc64/Makefile: Likewise.
8769 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
8770 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
8771 New file.
8772 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
8773 file.
8774 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
8775 New file.
8776 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
8777 file.
eae47a36
DM
8778 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
8779 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
8780 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
8781 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
8782 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
8783
c0c83bc8
DM
8784 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
8785 fzeros/fnegs to load 0x80000000 into a float register instead of
8786 using the stack.
7bd951ff
DM
8787 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
8788
bd951ccb
JM
87892012-03-14 Joseph Myers <joseph@codesourcery.com>
8790
8791 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8792 bits/syscall.h.
8793 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
8794 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
8795 ($(inst_includedir)/bits/syscall.h): Remove rule.
8796 ($(objpfx)bits/syscall.d): Include instead of
8797 $(objpfx)syscall-list.d.
8798 (generated): Change syscall-list.h and syscall-list.d to
8799 bits/syscall.h and bits/syscall.d.
8800
bb4e6db2
RM
88012012-03-14 Roland McGrath <roland@hack.frob.com>
8802
8803 [BZ #13846]
8804 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
8805
aa4a2ae1
JM
88062012-03-14 Joseph Myers <joseph@codesourcery.com>
8807
e456826d
JM
8808 [BZ #13841]
8809 * math/s_csqrt.c: Include <float.h>.
8810 (__csqrt): Scale large or subnormal inputs.
8811 * math/s_csqrtf.c: Likewise.
8812 * math/s_csqrtl.c: Likewise.
8813 * math/libm-test.inc (csqrt_test): Add more tests.
8814 * sysdeps/i386/fpu/libm-test-ulps: Update.
8815 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8816
aa4a2ae1
JM
8817 [BZ #13840]
8818 * math/libm-test.inc (hypot_test): Add more tests.
8819
7c10fd35
DM
88202012-03-13 David S. Miller <davem@davemloft.net>
8821
8822 [BZ #13840]
8823 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
8824 double-precision for the calculation instead of scaling.
8825
f453b98b
JM
88262012-03-13 Joseph Myers <joseph@codesourcery.com>
8827
8828 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
8829 manipulate bits before adding and subtracting TWO52[sx].
8830 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
8831 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
8832 Likewise.
8833 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
8834
09a3453f
DM
88352012-03-13 David S. Miller <davem@davemloft.net>
8836
8e59da90
DM
8837 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
8838 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
8839 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
8840 rtld-global-offsets.h
8841 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
8842
2a8ab7f2
DM
8843 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
8844 large parameters.
8845
10f62770
DM
8846 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
8847
5f0bdb18
DM
8848 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
8849 'err' in the ifdef scope in which it is actually used.
8850
09a3453f
DM
8851 * nss/nss_db/db-init.c: Include string.h
8852
b4b2eb5e
DM
88532012-03-12 David S. Miller <davem@davemloft.net>
8854
98bb2f1c
DM
8855 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
8856 masking out of the most significant byte of random value used.
8857 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8858 Fix coding style in previous change.
8859
b4b2eb5e
DM
8860 * sysdeps/unix/sysv/linux/kernel-features.h
8861 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
8862 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
8863 expression.
8864 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
8865 later.
8866
6e226b09
DM
88672012-03-11 David S. Miller <davem@davemloft.net>
8868
a1bcbd40
DM
8869 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
8870 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
8871 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
8872 for 'resultvar' otherwise things get truncated on 64-bit.
8873
cb9d6174
DM
8874 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8875 Fix masking out of the most significant byte of random value used.
8876
6e226b09
DM
8877 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8878
058c132d
AS
88792012-03-10 Andreas Schwab <schwab@linux-m68k.org>
8880
8881 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8882
2d2cd515
DM
88832012-03-09 David S. Miller <davem@davemloft.net>
8884
8885 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
8886 variables with appropriate CPP guards.
8887 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
8888 frame pointer, not the stack pointer. Correct layout comments. Fix test
8889 on resulting framesize and the management of the outregs buffer for pltexit.
8890 Preserve floating point return values across _dl_call_pltexit call.
8891 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
8892 framesize and the management of the outregs buffer for pltexit.
8893 Preserve floating point return values across _dl_call_pltexit
8894 call.
8895 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
8896 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
8897 (print_exit): Fix format string for return register value.
8898
9a07f9d0
JM
88992012-03-10 Joseph Myers <joseph@codesourcery.com>
8900
8901 * sunrpc/Makefile (others): Add rpcgen.
8902 ($(objpfx)rpcgen): Remove special build rule and dependency on
8903 libc.
8904 * sunrpc/rpcgen.c: New file.
8905
547b5e30
PE
89062012-03-09 Paul Eggert <eggert@cs.ucla.edu>
8907
c524201a
PE
8908 [BZ #13673]
8909 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
8910 * stdio-common/bug-vfprintf-nargs.c: Likewise.
8911 * sysdeps/i386/crti.S: Likewise.
8912 * sysdeps/i386/crtn.S: Likewise.
8913 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
8914 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
8915 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
8916 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
8917 * sysdeps/sh/crti.S: Likewise.
8918 * sysdeps/sh/crtn.S: Likewise.
8919 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
8920
7b6235f2
PE
8921 [BZ #13673]
8922 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
8923 with URL.
8924 * locale/programs/locfile-kw.gperf: Likewise.
8925 * locale/programs/charmap-kw.h: Regenerated.
8926 * locale/programs/locfile-kw.h: Likewise.
8927
547b5e30
PE
8928 [BZ #13673]
8929 * intl/plural.y: Replace FSF snail mail address with URL.
8930 * intl/plural.c: Regenerated.
8931
5f0a5dae
RH
89322012-03-09 Richard Henderson <rth@twiddle.net>
8933
8934 * include/math_private.h: Remove file.
8935 * math/math_private.h: Move file ...
8936 * sysdeps/generic/math_private.h: ... here.
8937
b8c03620
RH
8938 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
8939 * sysdeps/powerpc/fpu/math_private.h: Likewise.
8940 * sysdeps/x86_64/fpu/math_private.h: Likewise.
8941
4e234f5d 8942 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
8943 and <math_private.h>.
8944 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
8945 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
8946 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
8947 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
8948 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
8949 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
8950 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
8951 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8952 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
8953 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8954 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8955 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
8956 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
8957 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8958 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
8959 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
8960 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8961 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
8962 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8963 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
8964 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8965 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
8966 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
8967 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8968 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
8969 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8970 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
8971 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8972 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8973 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8974 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
8975 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8976 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
8977 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
8978 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
8979 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
8980 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
8981 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
8982 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
8983 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8984 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
8985 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
8986 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
8987 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
8988 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
8989 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
8990 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
8991 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
8992 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
8993 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
8994 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
8995 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
8996 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
8997 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
8998 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
8999 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
9000 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
9001 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
9002 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
9003 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
9004 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9005 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
9006 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9007 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
9008 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
9009 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
9010 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
9011 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
9012 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
9013 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
9014 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
9015 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
9016 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
9017 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
9018 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
9019 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
9020 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
9021 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
9022 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
9023 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
9024 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
9025 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
9026 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
9027 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
9028 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
9029 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
9030 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
9031 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
9032 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
9033 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
9034 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
9035 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
9036 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
9037 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
9038 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
9039 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
9040 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
9041 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
9042 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
9043 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
9044 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
9045 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
9046 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
9047 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
9048 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
9049 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
9050 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
9051 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
9052 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
9053 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
9054 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
9055 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
9056 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
9057 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
9058 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
9059 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
9060 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
9061 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
9062 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
9063 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
9064 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
9065 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
9066 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
9067 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
9068 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
9069 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
9070 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
9071 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
9072 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
9073 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
9074 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
9075 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
9076 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
9077 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
9078 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
9079 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
9080 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
9081 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
9082 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
9083 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
9084 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
9085 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
9086 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
9087 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
9088 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
9089 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
9090 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
9091 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
9092 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
9093 * sysdeps/ieee754/k_standard.c: Likewise.
9094 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
9095 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
9096 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
9097 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
9098 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
9099 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
9100 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
9101 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
9102 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
9103 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
9104 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9105 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
9106 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
9107 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
9108 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
9109 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
9110 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
9111 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
9112 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
9113 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
9114 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
9115 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
9116 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
9117 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
9118 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
9119 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
9120 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
9121 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
9122 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
9123 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
9124 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
9125 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
9126 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
9127 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
9128 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
9129 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
9130 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
9131 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
9132 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
9133 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
9134 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
9135 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
9136 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
9137 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
9138 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
9139 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
9140 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
9141 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
9142 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
9143 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
9144 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
9145 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
9146 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
9147 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
9148 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
9149 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
9150 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
9151 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
9152 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
9153 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
9154 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
9155 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
9156 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
9157 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
9158 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
9159 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
9160 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
9161 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
9162 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
9163 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
9164 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
9165 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
9166 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
9167 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
9168 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
9169 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
9170 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
9171 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
9172 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
9173 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
9174 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
9175 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
9176 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
9177 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
9178 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
9179 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
9180 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
9181 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
9182 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
9183 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
9184 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
9185 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
9186 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
9187 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
9188 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
9189 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
9190 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
9191 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
9192 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
9193 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
9194 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
9195 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
9196 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
9197 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
9198 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
9199 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
9200 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
9201 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
9202 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
9203 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
9204 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
9205 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
9206 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
9207 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
9208 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
9209 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
9210 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
9211 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
9212 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
9213 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
9214 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9215 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
9216 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
9217 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
9218 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
9219 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
9220 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
9221 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
9222 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
9223 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
9224 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
9225 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
9226 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
9227 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
9228 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
9229 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
9230 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
9231 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
9232 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
9233 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
9234 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
9235 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
9236 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
9237 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
9238 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
9239 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
9240 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
9241 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
9242 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
9243 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
9244 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
9245 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
9246 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
9247 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
9248 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
9249 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
9250 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
9251 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
9252 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
9253 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
9254 * sysdeps/ieee754/s_lib_version.c: Likewise.
9255 * sysdeps/ieee754/s_matherr.c: Likewise.
9256 * sysdeps/ieee754/s_signgam.c: Likewise.
9257 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
9258 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9259 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
9260 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
9261 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
9262 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
9263 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
9264 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
9265 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
9266 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
9267 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
9268 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
9269 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
9270 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
9271 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
9272 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
9273 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
9274 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
9275 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
9276 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
9277 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 9278
1991fa03
JM
92792012-03-09 Joseph Myers <joseph@codesourcery.com>
9280
9281 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
9282 * sunrpc/rpc_main.c: Likewise.
9283 * sunrpc/rpc_svcout.c: Likewise.
9284
60d6f5a6
DM
92852012-03-09 David S. Miller <davem@davemloft.net>
9286
9287 * include/math_private.h: New file.
9288
4962050e
JM
92892012-03-09 Joseph Myers <joseph@codesourcery.com>
9290
02a6f887
JM
9291 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
9292 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
9293 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
9294 from <bits/socket_type.h>.
9295 (enum __socket_type): Don't define here.
9296 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
9297 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9298 bits/socket_type.h.
9299
c6e013c1
JM
9300 [BZ #13566]
9301 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
9302 checking __USE_GNU.
9303
4962050e
JM
9304 * Makerules ($(inst_includedir)/%.h): New rule.
9305 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
9306 (install-others): Remove variable setting.
9307 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
9308
38842f45
RH
93092012-03-08 Richard Henderson <rth@twiddle.net>
9310
67bb6da6
RH
9311 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
9312 from macro to inline function; merge with the
9313 !__LIBC_INTERNAL_MATH_INLINES version.
9314 (__ieee754_sqrtf): Likewise.
9315
15194b4b
RH
9316 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
9317 to inline function.
9318 (__rintf, __floor, __floorf): Likewise.
9319
64e21ede
RH
9320 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
9321 macro to inline function.
9322 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
9323
38842f45
RH
9324 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
9325 not <math/math_private.h>.
9326
c64bf5fe
DM
93272012-03-08 David S. Miller <davem@davemloft.net>
9328
9329 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
9330 copyright year.
9331 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
9332
82d86f28
TS
93332012-03-08 Thomas Schwinge <thomas@codesourcery.com>
9334
9335 * resolv/gai_misc.c (handle_requests): Fix struct timespec
9336 normalization.
9337 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
9338 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
9339
aea5d727
UD
93402012-03-08 Ulrich Drepper <drepper@gmail.com>
9341
9342 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
9343 be defined individually, they must be defined as a block. Define
9344 S for printing a string instead of hidint the different by using a
9345 macro for adding the 'l'.
9346 * stdio-common/tst-fphex-wide.c: Adjust.
9347
70bca0a3
MP
93482012-03-07 Marek Polacek <polacek@redhat.com>
9349
9350 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
9351
65b81130
MP
93522012-03-08 Marek Polacek <polacek@redhat.com>
9353
9354 [BZ #13806]
9355 * stdio-common/Makefile (tests): Add tst-fphex-wide.
9356 * stdio-common/tst-fphex.c: Define a few macros to make the
9357 test reusable. Use them.
9358 * stdio-common/tst-fphex-wide.c: New file.
9359
07037eeb
JM
93602012-03-08 Joseph Myers <joseph@codesourcery.com>
9361
a7a93d50
JM
9362 [BZ #6911]
9363 * manual/macros.texi (gnusystems): New macro.
9364 (nongnusystems): Likewise.
9365 (gnulinuxhurdsystems): Likewise.
9366 (gnuhurdsystems): Likewise..
9367 (gnulinuxsystems): Likewise.
9368 * manual/charset.texi: Use new macros or @theglibc{} to refer to
9369 variants of the GNU system, not "GNU system".
9370 * manual/conf.texi: Likewise.
9371 * manual/errno.texi: Likewise. Update example of errno macro
9372 expansion.
9373 * manual/filesys.texi: Likewise.
9374 (getumask): Document as specific to GNU/Hurd.
9375 * manual/install.texi: Likewise. Reword some references to
9376 GNU/Linux.
9377 * manual/intro.texi: Likewise.
9378 * manual/io.texi: Likewise.
9379 (File Name Portability): Detail which constraints are inapplicable
9380 to all GNU systems and which are only inapplicable to GNU/Hurd.
9381 * manual/job.texi: Likewise.
9382 * manual/llio.texi: Likewise.
9383 (O_NOCTTY): Document as present on GNU/Linux.
9384 * manual/maint.texi: Likewise.
9385 * manual/memory.texi: Likewise.
9386 * manual/pattern.texi: Likewise.
9387 * manual/pipe.texi: Likewise.
9388 * manual/process.texi: Likewise.
9389 * manual/resource.texi: Likewise.
9390 (RUSAGE_CHILDREN): Remove statement about specifying a particular
9391 child on GNU/Hurd.
9392 * manual/setjmp.texi: Likewise.
9393 * manual/signal.texi: Likewise.
9394 * manual/startup.texi: Likewise.
9395 * manual/stdio.texi: Likewise.
9396 * manual/terminal.texi: Likewise.
9397 (ONLCR): Document as POSIX.
9398 (OXTABS): Document availability on GNU/Linux as XTABS.
9399 (ONOEOT): Document availability separately from other bits.
9400 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
9401 * manual/time.texi: Likewise.
9402 * manual/users.texi: Likewise.
9403 * INSTALL: Regenerated.
9404 * sysdeps/gnu/errlist.c: Regenerated.
9405
07037eeb
JM
9406 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
9407 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
9408 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
9409 puts.
9410 * configure: Regenerated.
9411
d1d3431a
JM
94122012-03-07 Joseph Myers <joseph@codesourcery.com>
9413
af6a1e37
JM
9414 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
9415 default includes instead of AC_HEADER_CHECK.
9416 * sysdeps/i386/configure: Regenerated.
9417
d1d3431a
JM
9418 [BZ #10716]
9419 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
9420 * math/s_cacoshf.c (__cacoshf): Likewise.
9421 * math/s_cacoshl.c (__cacoshl): Likewise.
9422 * math/s_casinh.c (__casinh): Set signs of result from argument.
9423 * math/s_casinhf.c (__casinhf): Likewise.
9424 * math/s_casinhl.c (__casinhl): Likewise.
9425 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
9426 (casinh_test): Add more tests.
9427 * sysdeps/i386/fpu/libm-test-ulps: Update.
9428 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9429
482ff4da
UD
94302012-03-07 Ulrich Drepper <drepper@gmail.com>
9431
872fda05
UD
9432 * po/zh_TW.po: Update from translation team.
9433
a4300c7a
UD
9434 * login/Makefile (distribute): Remove variable.
9435 * catgets/Makefile: Likewise.
9436 * mach/Makefile: Likewise.
9437 * malloc/Makefile: Likewise.
9438 * misc/Makefile: Likewise.
9439 * iconv/Makefile: Likewise.
9440 * nscd/Makefile: Likewise.
9441 * hurd/Makefile: Likewise.
9442 * manual/Makefile: Likewise.
9443 * locale/Makefile: Likewise.
9444 * intl/Makefile: Likewise.
9445 * conform/Makefile: Likewise.
9446 * nss/Makefile: Likewise.
9447 * time/Makefile: Likewise.
9448 * soft-fp/Makefile: Likewise.
9449 * dirent/Makefile: Likewise.
9450 * gmon/Makefile: Likewise.
9451 * po/Makefile: Likewise.
9452 * rt/Makefile: Likewise.
9453 * socket/Makefile: Likewise.
9454 * math/Makefile: Likewise.
9455 * signal/Makefile: Likewise.
9456 * debug/Makefile: Likewise.
9457 * elf/Makefile: Likewise.
9458 * timezone/Makefile: Likewise.
9459 * stdlib/Makefile: Likewise.
9460 * iconvdata/Makefile: Likewise.
9461 * sunrpc/Makefile: Likewise.
9462 * io/Makefile: Likewise.
9463 * argp/Makefile: Likewise.
9464 * inet/Makefile: Likewise.
9465 * hesiod/Makefile: Likewise.
9466 * grp/Makefile: Likewise.
9467 * csu/Makefile: Likewise.
9468 * wctype/Makefile: Likewise.
9469 * crypt/Makefile: Likewise.
9470 * libio/Makefile: Likewise.
9471 * string/Makefile: Likewise.
9472 * nis/Makefile: Likewise.
9473 * resolv/Makefile: Likewise.
9474 * stdio-common/Makefile: Likewise.
9475 * wcsmbs/Makefile: Likewise.
9476 * dlfcn/Makefile: Likewise.
9477 * posix/Makefile: Likewise.
9478
3b7c4e74 9479 [BZ #6959]
482ff4da
UD
9480 * timezone/Makefile: Don't install timezone files, just the programs
9481 and scripts.
9482
f72ed77d
UD
94832012-03-06 Ulrich Drepper <drepper@gmail.com>
9484
a000466f
UD
9485 * nss/databases.def: Add missing gshadow entry.
9486
f72ed77d
UD
9487 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
9488
a53b7a4e
MP
94892012-03-06 Marek Polacek <polacek@redhat.com>
9490
9491 [BZ #13726]
9492 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
9493 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
9494 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
9495 * stdio-common/tst-long-dbl-fphex.c: New file.
9496
e9258400
DM
94972012-03-06 David S. Miller <davem@davemloft.net>
9498
9499 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
9500 (set_obp_int): New function.
9501 (get_obp_int): New function.
9502 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
9503 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
9504 Avoid unused variable warnings on 'val' and use builtin_expect.
9505 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
9506 __builtin_expect.
e9258400
DM
9507 (INLINE_CLONE_SYSCALL): Likewise.
9508
3bd2c723
DM
95092012-03-05 David S. Miller <davem@davemloft.net>
9510
9511 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9512
bbb78d03
AS
95132012-03-05 Andreas Schwab <schwab@linux-m68k.org>
9514
884c5db4
AS
9515 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9516
bbb78d03
AS
9517 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
9518 only for |x| >= 40.
9519 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
9520
1c9f702a 95212012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
9522
9523 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
9524 Replace gettimeofday with __vdso_gettimeofday.
9525
7be16f82
RM
9526 * sysdeps/unix/sysv/linux/x86_64/init-first.c
9527 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
9528 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
9529
9530 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
9531 time with __vdso_time.
9532
ed58a00f
JM
95332012-03-05 Joseph Myers <joseph@codesourcery.com>
9534
9535 * manual/lang.texi (size_t): Note types to which size_t may be
9536 equivalent with the GNU C Library, but do not describe when
9537 differences between them are significant.
9538
30ee4ced
AJ
95392012-03-05 Andreas Jaeger <aj@suse.de>
9540
9541 * sysdeps/i386/fpu/libm-test-ulps: Update.
9542
b7cd39e8
JM
95432012-03-05 Joseph Myers <joseph@codesourcery.com>
9544
9545 [BZ #3976]
9546 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
9547 (__ieee754_pow): Save and restore rounding mode and use
9548 round-to-nearest for main computations.
9549 * math/libm-test.inc (pow_test_tonearest): New function.
9550 (pow_test_towardzero): Likewise.
9551 (pow_test_downward): Likewise.
9552 (pow_test_upward): Likewise.
9553 (main): Call the new functions.
9554 * sysdeps/i386/fpu/libm-test-ulps: Update.
9555 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
9556
9557 [BZ #3976]
9558 * math/libm-test.inc (cosh_test_tonearest): New function.
9559 (cosh_test_towardzero): Likewise.
9560 (cosh_test_downward): Likewise.
9561 (cosh_test_upward): Likewise.
9562 (sinh_test_tonearest): Likewise.
9563 (sinh_test_towardzero): Likewise.
9564 (sinh_test_downward): Likewise.
9565 (sinh_test_upward): Likewise.
9566 (main): Call the new functions.
9567 * sysdeps/i386/fpu/libm-test-ulps: Update.
9568 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9569
6c6a98c9
TV
95702012-03-05 Tom de Vries <tom@codesourcery.com>
9571
9572 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
9573 default stack guard is set in last bytes.
9574 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
9575
21bb2d2e 95762012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 9577
21bb2d2e 9578 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 9579
21bb2d2e
AJ
9580 [BZ #13656]
9581 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
9582 possibly allocate from heap instead of stack.
9583 * stdio-common/bug-vfprintf-nargs.c: New file.
9584 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 9585
c6922934
AS
95862012-03-03 Andreas Schwab <schwab@linux-m68k.org>
9587
9588 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9589
bc957d53
MP
95902012-03-03 Marek Polacek <polacek@redhat.com>
9591
9592 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
9593 * math/math_private.h: Likewise.
9594 * stdlib/tst-strtod.c: Likewise.
9595 * sysdeps/i386/i486/bits/atomic.h: Likewise.
9596 * sysdeps/x86_64/bits/atomic.h: Likewise.
9597
6358490d
DM
95982012-03-02 David S. Miller <davem@davemloft.net>
9599
9600 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
9601 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
9602 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
9603 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
9604 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
9605 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
9606 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
9607 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
9608
01ae168d
RM
96092012-03-02 Roland McGrath <roland@hack.frob.com>
9610
d9a17c07
RM
9611 [BZ #13792]
9612 * manual/examples/README: New file, says the example source files
9613 can be used under GPL>=2.
9614 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
9615 line containing just "*/".
9616 * manual/examples/add.c: Add copyright header (GPL>=2).
9617 * manual/examples/argp-ex1.c: Likewise.
9618 * manual/examples/argp-ex2.c: Likewise.
9619 * manual/examples/argp-ex3.c: Likewise.
9620 * manual/examples/argp-ex4.c: Likewise.
9621 * manual/examples/atexit.c: Likewise.
9622 * manual/examples/db.c: Likewise.
9623 * manual/examples/dir.c: Likewise.
9624 * manual/examples/dir2.c: Likewise.
9625 * manual/examples/execinfo.c: Likewise.
9626 * manual/examples/filecli.c: Likewise.
9627 * manual/examples/filesrv.c: Likewise.
9628 * manual/examples/fmtmsgexpl.c: Likewise.
9629 * manual/examples/genpass.c: Likewise.
9630 * manual/examples/inetcli.c: Likewise.
9631 * manual/examples/inetsrv.c: Likewise.
9632 * manual/examples/isockad.c: Likewise.
9633 * manual/examples/longopt.c: Likewise.
9634 * manual/examples/memopen.c: Likewise.
9635 * manual/examples/memstrm.c: Likewise.
9636 * manual/examples/mkfsock.c: Likewise.
9637 * manual/examples/mkisock.c: Likewise.
9638 * manual/examples/mygetpass.c: Likewise.
9639 * manual/examples/pipe.c: Likewise.
9640 * manual/examples/popen.c: Likewise.
9641 * manual/examples/rprintf.c: Likewise.
9642 * manual/examples/search.c: Likewise.
9643 * manual/examples/select.c: Likewise.
9644 * manual/examples/setjmp.c: Likewise.
9645 * manual/examples/sigh1.c: Likewise.
9646 * manual/examples/sigusr.c: Likewise.
9647 * manual/examples/stpcpy.c: Likewise.
9648 * manual/examples/strdupa.c: Likewise.
9649 * manual/examples/strftim.c: Likewise.
9650 * manual/examples/strncat.c: Likewise.
9651 * manual/examples/subopt.c: Likewise.
9652 * manual/examples/swapcontext.c: Likewise.
9653 * manual/examples/termios.c: Likewise.
9654 * manual/examples/testopt.c: Likewise.
9655 * manual/examples/testpass.c: Likewise.
9656 * manual/examples/timeval_subtract.c: Likewise.
9657
01ae168d
RM
9658 [BZ #13792]
9659 * manual/time.texi (Elapsed Time): Move timeval_subtract example
9660 function to ...
9661 * manual/timeval_subtract.c.texi: ... here, new file.
9662
49efa33d
DM
96632012-03-02 David S. Miller <davem@davemloft.net>
9664
9665 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
9666
28afd92d
JM
96672012-03-02 Joseph Myers <joseph@codesourcery.com>
9668
804360ed
JM
9669 [BZ #3976]
9670 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
9671 (__sin): Save and restore rounding mode and use round-to-nearest
9672 for all computations.
9673 (__cos): Save and restore rounding mode and use round-to-nearest
9674 for all computations.
9675 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
9676 <fenv.h>.
9677 (tan): Save and restore rounding mode and use round-to-nearest for
9678 all computations.
9679 * math/libm-test.inc (cos_test_tonearest): New function.
9680 (cos_test_towardzero): Likewise.
9681 (cos_test_downward): Likewise.
9682 (cos_test_upward): Likewise.
9683 (sin_test_tonearest): Likewise.
9684 (sin_test_towardzero): Likewise.
9685 (sin_test_downward): Likewise.
9686 (sin_test_upward): Likewise.
9687 (tan_test_tonearest): Likewise.
9688 (tan_test_towardzero): Likewise.
9689 (tan_test_downward): Likewise.
9690 (tan_test_upward): Likewise.
9691 (main): Call the new functions.
9692 * sysdeps/i386/fpu/libm-test-ulps: Update.
9693 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9694
a6d06d7b
JM
9695 [BZ #10135]
9696 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
9697 small n, then large n, before computing and testing k+n.
9698 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
9699 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
9700 Likewise.
9701 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
9702 Likewise.
9703 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
9704 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
9705 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
9706 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
9707 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
9708 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
9709 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
9710 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
9711 * math/libm-test.inc (scalbn_test): Add more tests.
9712 (scalbln_test): Likewise.
9713
07e12bb3
JM
9714 * manual/filesys.texi (mode_t): Describe constraints on size and
9715 signedness, not exact equivalence to a particular type.
9716 (ino_t): Likewise.
9717 (ino64_t): Likewise.
9718 (dev_t): Likewise.
9719 (nlink_t): Likewise.
9720 (blkcnt_t): Likewise.
9721 (blkcnt64_t): Likewise.
9722 * manual/llio.texi (off_t): Likewise.
9723
28afd92d
JM
9724 [BZ #3976]
9725 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
9726 (__ieee754_exp): Save and restore rounding mode and use
9727 round-to-nearest for all computations.
9728 * math/libm-test.inc (exp_test_tonearest): New function.
9729 (exp_test_towardzero): Likewise.
9730 (exp_test_downward): Likewise.
9731 (exp_test_upward): Likewise.
9732 (main): Call the new functions.
9733 * sysdeps/i386/fpu/libm-test-ulps: Update.
9734 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9735
b1eeb65d
CD
97362012-03-01 Chris Demetriou <cgd@google.com>
9737
9738 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
9739 have predictable order.
9740
53362a4b
DM
97412012-03-01 David S. Miller <davem@davemloft.net>
9742
3c969083
DM
9743 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
9744
759707de
DM
9745 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
9746 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
9747 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
9748 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
9749
dfdb8ff2
DM
9750 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
9751 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
9752 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
9753 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
9754 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
9755 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
9756 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
9757 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
9758 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
9759
ead89f96
DM
9760 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9761
7f66bd07
DM
9762 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
9763 * sysdeps/sparc/fpu/libm-test-ulps: to here.
9764 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
9765
53362a4b
DM
9766 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
9767 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
9768 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
9769 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
9770 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
9771 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
9772 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
9773 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
9774 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
9775 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
9776 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
9777 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
9778 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
9779 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
9780 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
9781 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9782 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
9783 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
9784 * sysdeps/sparc/elf/configure: Regenerated.
9785
7b1902cb
JM
97862012-03-01 Joseph Myers <joseph@codesourcery.com>
9787
bec039bc
JM
9788 * configure.in (AS, LD): Require binutils 2.20 or later.
9789 * configure: Regenerated.
9790 * manual/install.texi (Tools for Compilation): Give binutils 2.20
9791 as required minimum version.
9792 * INSTALL: Regenerated.
9793
7b1902cb
JM
9794 [BZ #2541]
9795 [BZ #4108]
9796 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
9797 before squaring exponent.
9798 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
9799 bottom long double and 27 bits of top long double before squaring
9800 exponent.
9801 * math/libm-test.inc (erfc_test): Add more tests.
9802 * sysdeps/i386/fpu/libm-test-ulps: Update.
9803 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9804 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9805
f775c276
KT
98062012-03-01 Kai Tietz <ktietz@redhat.com>
9807
9808 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
9809 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
9810 containing bit-fields.
9811 * soft-fp/extended.h (_FP_UNION_E): Likewise.
9812 * soft-fp/single.h (_FP_UNION_S): Likewise.
9813 * soft-fp/double.h (_FP_UNION_D): Likewise.
9814
5b8a4d4a
JM
98152012-02-29 Joseph Myers <joseph@codesourcery.com>
9816
0bab47b6
JM
9817 [BZ #13786]
9818 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
9819 not include ../strcmp.S.
9820 [USE_AS_STRNCASECMP_L]: Likewise.
9821 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
9822 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
9823 * sysdeps/i386/i686/multiarch/strncase_l-c.c
9824 (__strncasecmp_l_ia32): Define as alias to
9825 __strncasecmp_l_nonascii.
9826
0fcad3e2
JM
9827 [BZ #5794]
9828 * math/libm-test.inc (expm1_test): Add test for bug 5794.
9829 * sysdeps/i386/fpu/libm-test-ulps: Update.
9830 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9831
5b8a4d4a
JM
9832 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
9833 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9834
8fdceb2e
JL
98352012-02-29 Jeff Law <law@redhat.com>
9836
9837 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
9838 out of bounds read.
9839
1f393a11
MP
98402012-02-29 Marek Polacek <polacek@redhat.com>
9841
9842 [BZ #13706]
9843 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
9844 * elf/Makefile: Add rules to run tst-unused-dep.out.
9845
8847f037
DM
98462012-02-28 David S. Miller <davem@davemloft.net>
9847
9848 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
9849 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
9850 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
9851 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
9852 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
9853 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
9854
169d7f11
JM
98552012-02-29 Joseph Myers <joseph@codesourcery.com>
9856
9857 * math/libm-test.inc (llround_test): Move one test from
9858 lround_test. Use TEST_f_L in moved test.
9859 (lround_test): Move misplaced test to llround_test. Add testcase
9860 from bug 2561.
9861
39adf059
UD
98622012-02-28 Ulrich Drepper <drepper@gmail.com>
9863
9864 * sysdeps/x86_64/fpu/e_expf.S: New file.
9865 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
9866
71b5d1c5
SB
98672012-02-28 Stanislav Brabec <sbrabec@suse.cz>
9868
9869 [BZ #13637]
9870 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
9871 of remain_len that may cause incomplete multi-byte character and
9872 false match.
9873 * posix/bug-regex33.c: New file.
9874 * posix/Makefile (tests): Add bug-regex33.
9875
1f77f049
JM
98762012-02-28 Joseph Myers <joseph@codesourcery.com>
9877
9878 * manual/macros.texi: New file.
9879 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
9880 * manual/libc.texinfo: Include macros.texi.
9881 * manual/creatute.texi: Likewise.
9882 * manual/install.texi: Likewise.
9883 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
9884 @glibcadj{} in references to the GNU C Library.
9885 * manual/charset.texi: Likewise.
9886 * manual/conf.texi: Likewise.
9887 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
9888 when not using those macros.
9889 * manual/creature.texi: Likewise.
9890 * manual/crypt.texi: Likewise.
9891 * manual/errno.texi: Likewise.
9892 * manual/filesys.texi: Likewise.
9893 * manual/header.texi: Likewise.
9894 * manual/install.texi: Likewise.
9895 * manual/intro.texi: Likewise.
9896 * manual/io.texi: Likewise.
9897 * manual/job.texi: Likewise.
9898 * manual/lang.texi: Likewise.
9899 * manual/libc.texiinfo: Likewise.
9900 * manual/llio.texi: Likewise.
9901 * manual/locale.texi: Likewise.
9902 * manual/maint.texi: Likewise.
9903 * manual/math.texi: Likewise.
9904 * manual/memory.texi: Likewise.
9905 * manual/message.texi: Likewise.
9906 * manual/nss.texi: Likewise.
9907 * manual/pattern.texi: Likewise.
9908 * manual/process.texi: Likewise.
9909 * manual/resource.texi: Likewise.
9910 * manual/search.texi: Likewise.
9911 * manual/setjmp.texi: Likewise.
9912 * manual/signal.texi: Likewise.
9913 * manual/socket.texi: Likewise.
9914 * manual/startup.texi: Likewise.
9915 * manual/stdio.texi: Likewise.
9916 * manual/string.texi: Likewise.
9917 * manual/sysinfo.texi: Likewise.
9918 * manual/syslog.texi: Likewise.
9919 * manual/terminal.texi: Likewise.
9920 * manual/time.texi: Likewise.
9921 * manual/users.texi: Likewise.
9922 * INSTALL: Regenerated.
9923 * NOTES: Regenerated.
d40c5d54 9924 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 9925
450bf206
AS
99262012-02-28 Andreas Schwab <schwab@linux-m68k.org>
9927
9928 * include/dirent.h: Include <dirstream.h> before
9929 <dirent/dirent.h>.
9930
741a235b
DM
99312012-02-28 David S. Miller <davem@davemloft.net>
9932
9933 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
9934 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
9935 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
9936 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
9937
d6b5aa58
DM
99382012-02-27 David S. Miller <davem@davemloft.net>
9939
1aff59a3
DM
9940 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
9941 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
9942 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
9943 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
9944
d6b5aa58
DM
9945 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
9946 frame pointer instead of stack pointer relative arg slot.
9947 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
9948 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
9949 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
9950
433f48bf
CD
99512012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
9952
9953 [BZ #3992]
9954 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
9955
d674b76d
DM
99562012-02-27 David S. Miller <davem@davemloft.net>
9957
9958 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
9959 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
9960 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
9961 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
9962 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
9963 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
9964 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
9965 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
9966
0e7727f7
JM
99672012-02-27 Joseph Myers <joseph@codesourcery.com>
9968
9969 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
9970 later. Allow versions 5-9.
43be4ca2 9971 * configure: Regenerated.
0e7727f7
JM
9972 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
9973 required minimum version and 4.6 as recommended version. Do not
9974 mention bugs in GCC 2.7 and 2.8.
43be4ca2 9975 * INSTALL: Regenerated.
0e7727f7 9976
a78bc654
DM
99772012-02-27 David S. Miller <davem@davemloft.net>
9978
428d5830
DM
9979 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
9980 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
9981 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
9982 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
9983 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
9984 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
9985 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
9986 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
9987
a78bc654
DM
9988 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
9989 manipulate bits before adding and subtracting TWO112[sx].
9990 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
9991
4579f81c
RM
99922012-02-27 Roland McGrath <roland@hack.frob.com>
9993
36c8acb4
RM
9994 [BZ #13775]
9995 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
9996 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
9997 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
9998 being in POSIX, because they are in 1003.1-2008.
9999
84ad622b
RM
10000 * rt/tst-aio.c: Include <fcntl.h>.
10001 * rt/tst-aio7.c: Likewise.
10002 * rt/tst-aio64.c: Likewise.
10003
4579f81c
RM
10004 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
10005
abd923db
JM
100062012-02-27 Joseph Myers <joseph@codesourcery.com>
10007
10008 * manual/install.texi (--with-headers): Describe headers as
10009 interface headers, not private headers.
10010 (Specific advice for GNU/Linux systems): Describe use of headers
10011 from "make headers_install", not private headers from older
10012 kernels.
43be4ca2 10013 * INSTALL: Regenerated.
abd923db
JM
10014 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
10015 Change to 2.6.19.
10016 * sysdeps/unix/sysv/linux/configure: Regenerated.
10017
6664049b
JM
10018 * manual/llio.texi (fclean): Remove documentation.
10019
bb8b6697
JM
10020 * manual/Makefile (libc-texi-generated): New variable. Include
10021 version.texi.
10022 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
10023 $(libc-texi-generated), not duplicated list of files.
10024 (version.texi, stamp-version): New rules.
10025 (realclean): Remove $(libc-texi-generated), not individual files
10026 from that list. Do not remove dir-add.texinfo.
10027 * manual/libc.texinfo: Comment out uses of edition numbers and
10028 references to printed manual. Remove last-updated dates.
10029 (EDITION): Comment out.
10030 (ISBN): Likewise.
10031 (VERSION, UPDATED): Remove.
10032 (version.texi): Include.
10033
12e5c3b9
AS
100342012-02-27 Andreas Schwab <schwab@linux-m68k.org>
10035
10036 * sysdeps/posix/spawni.c: Include <signal.h>.
10037 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
10038 * sysdeps/pthread/aio_fsync.c: Likewise.
10039
4efeffc1 100402012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 10041
ba63ba08
UD
10042 * conform/Makefile (tests): Run only when not cross-compiling and
10043 when fast-check is not defined.
10044
d94a4670
UD
10045 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
10046 * conform/data/limits.h-data: Fixes for POSIX2008.
10047 * conform/run-conformtest.sh: Run all tests.
10048 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
10049 headers.
10050 * include/bits/dlfcn.h: Likewise.
10051 * include/langinfo.h: Likewise.
10052 * include/monetary.h: Likewise.
10053 * include/sys/poll.h: Likewise.
10054
10055 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
10056 for __USE_GNU.
10057 * posix/spawn.h: Define __need_sigset_t.
10058 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
10059 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
10060 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
10061 to get sigevent_t only.
10062 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
10063 only for __USE_GNU.
10064 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
10065 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
10066 process_vm_writev only for __USE_GNU.
10067 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
10068
10069 * conform/Makefile: For now ignore errors from run-conformtest.
10070 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
10071 POSIX to avoid namespace pollution. Don't prepend headers.
10072 * conform/data/aio.h-data: Fixes for POSIX testing.
10073 * conform/data/fcntl.h-data: Likewise.
10074 * conform/data/glob.h-data: Likewise.
10075 * conform/data/grp.h-data: Likewise.
10076 * conform/data/pthread.h-data: Likewise.
10077 * conform/data/pwd.h-data: Likewise.
10078 * conform/data/signal.h-data: Likewise.
10079 * conform/data/spawn.h-data: Likewise.
10080 * conform/data/stdio.h-data: Likewise.
10081 * conform/data/stdlib.h-data: Likewise.
10082 * conform/data/stropts.h-data: Likewise.
10083 * conform/data/sys/mman.h-data: Likewise.
10084 * conform/data/sys/stat.h-data: Likewise.
10085 * conform/data/sys/types.h-data: Likewise.
10086 * conform/data/sys/wait.h-data: Likewise.
10087 * conform/data/time.h-data: Likewise.
10088 * conform/data/unistd.h-data: Likewise.
10089 * conform/data/utime.h-data: Likewise.
10090
10091 * io/sys/stat.h: fchmod was always in POSIX.
10092 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
10093 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
10094 * rt/aio.h: Define __need_timespec before including <time.h>.
10095 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
10096 struct. Add forward declaration of pthread_attr_t and use it in
10097 sigevent.
10098 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
10099 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
10100 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
10101 always remove CLK_TCK definition.
10102
c20105c3
AS
101032012-02-26 Andreas Schwab <schwab@linux-m68k.org>
10104
10105 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
10106
7a270350
UD
101072012-02-25 Ulrich Drepper <drepper@gmail.com>
10108
31341567
UD
10109 * conform/run-conformtest.sh: New file.
10110 * conform/Makefile: Run run-conformtest for tests.
10111 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
10112 support.
10113
10114 * conform/data/uchar.h-data: New file.
10115 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
10116 * conform/data/arpa/inet.h-data: Likewise.
10117 * conform/data/assert.h-data: Likewise.
10118 * conform/data/complex.h-data: Likewise.
10119 * conform/data/cpio.h-data: Likewise.
10120 * conform/data/ctype.h-data: Likewise.
10121 * conform/data/dirent.h-data: Likewise.
10122 * conform/data/dlfcn.h-data: Likewise.
10123 * conform/data/errno.h-data: Likewise.
10124 * conform/data/fcntl.h-data: Likewise.
10125 * conform/data/float.h-data: Likewise.
10126 * conform/data/fmtmsg.h-data: Likewise.
10127 * conform/data/fnmatch.h-data: Likewise.
10128 * conform/data/ftw.h-data: Likewise.
10129 * conform/data/glob.h-data: Likewise.
10130 * conform/data/grp.h-data: Likewise.
10131 * conform/data/iconv.h-data: Likewise.
10132 * conform/data/inttypes.h-data: Likewise.
10133 * conform/data/langinfo.h-data: Likewise.
10134 * conform/data/libgen.h-data: Likewise.
10135 * conform/data/limits.h-data: Likewise.
10136 * conform/data/locale.h-data: Likewise.
10137 * conform/data/math.h-data: Likewise.
10138 * conform/data/monetary.h-data: Likewise.
10139 * conform/data/mqueue.h-data: Likewise.
10140 * conform/data/ndbm.h-data: Likewise.
10141 * conform/data/net/if.h-data: Likewise.
10142 * conform/data/netdb.h-data: Likewise.
10143 * conform/data/netinet/in.h-data: Likewise.
10144 * conform/data/nl_types.h-data: Likewise.
10145 * conform/data/poll.h-data: Likewise.
10146 * conform/data/pthread.h-data: Likewise.
10147 * conform/data/pwd.h-data: Likewise.
10148 * conform/data/regex.h-data: Likewise.
10149 * conform/data/sched.h-data: Likewise.
10150 * conform/data/search.h-data: Likewise.
10151 * conform/data/semaphore.h-data: Likewise.
10152 * conform/data/setjmp.h-data: Likewise.
10153 * conform/data/signal.h-data: Likewise.
10154 * conform/data/spawn.h-data: Likewise.
10155 * conform/data/stdarg.h-data: Likewise.
10156 * conform/data/stdio.h-data: Likewise.
10157 * conform/data/stdlib.h-data: Likewise.
10158 * conform/data/string.h-data: Likewise.
10159 * conform/data/strings.h-data: Likewise.
10160 * conform/data/stropts.h-data: Likewise.
10161 * conform/data/sys/ipc.h-data: Likewise.
10162 * conform/data/sys/mman.h-data: Likewise.
10163 * conform/data/sys/msg.h-data: Likewise.
10164 * conform/data/sys/resource.h-data: Likewise.
10165 * conform/data/sys/select.h-data: Likewise.
10166 * conform/data/sys/sem.h-data: Likewise.
10167 * conform/data/sys/shm.h-data: Likewise.
10168 * conform/data/sys/socket.h-data: Likewise.
10169 * conform/data/sys/stat.h-data: Likewise.
10170 * conform/data/sys/statvfs.h-data: Likewise.
10171 * conform/data/sys/time.h-data: Likewise.
10172 * conform/data/sys/timeb.h-data: Likewise.
10173 * conform/data/sys/times.h-data: Likewise.
10174 * conform/data/sys/types.h-data: Likewise.
10175 * conform/data/sys/uio.h-data: Likewise.
10176 * conform/data/sys/un.h-data: Likewise.
10177 * conform/data/sys/utsname.h-data: Likewise.
10178 * conform/data/sys/wait.h-data: Likewise.
10179 * conform/data/syslog.h-data: Likewise.
10180 * conform/data/tar.h-data: Likewise.
10181 * conform/data/termios.h-data: Likewise.
10182 * conform/data/utime.h-data: Likewise.
10183 * conform/data/utmpx.h-data: Likewise.
10184 * conform/data/varargs.h-data: Likewise.
10185 * conform/data/wchar.h-data: Likewise.
10186 * conform/data/wctype.h-data: Likewise.
10187 * conform/data/wordexp.h-data: Likewise.
10188
10189 * include/stropts.h: New file.
10190 * include/uchar.h: New file.
10191 * include/aio.h: Changes to allow conformtest.pl to use the headers.
10192 * include/assert.h: Likewise.
10193 * include/ctype.h: Likewise.
10194 * include/dirent.h: Likewise.
10195 * include/dlfcn.h: Likewise.
10196 * include/fcntl.h: Likewise.
10197 * include/fnmatch.h: Likewise.
10198 * include/glob.h: Likewise.
10199 * include/grp.h: Likewise.
10200 * include/libio.h: Likewise.
10201 * include/locale.h: Likewise.
10202 * include/math.h: Likewise.
10203 * include/net/if.h: Likewise.
10204 * include/netdb.h: Likewise.
10205 * include/netinet/in.h: Likewise.
10206 * include/pthread.h: Likewise.
10207 * include/pwd.h: Likewise.
10208 * include/regex.h: Likewise.
10209 * include/sched.h: Likewise.
10210 * include/search.h: Likewise.
10211 * include/setjmp.h: Likewise.
10212 * include/signal.h: Likewise.
10213 * include/stdio.h: Likewise.
10214 * include/stdlib.h: Likewise.
10215 * include/string.h: Likewise.
10216 * include/sys/cdefs.h: Likewise.
10217 * include/sys/mman.h: Likewise.
10218 * include/sys/msg.h: Likewise.
10219 * include/sys/resource.h: Likewise.
10220 * include/sys/select.h: Likewise.
10221 * include/sys/socket.h: Likewise.
10222 * include/sys/stat.h: Likewise.
10223 * include/sys/statvfs.h: Likewise.
10224 * include/sys/time.h: Likewise.
10225 * include/sys/times.h: Likewise.
10226 * include/sys/uio.h: Likewise.
10227 * include/sys/utsname.h: Likewise.
10228 * include/sys/wait.h: Likewise.
10229 * include/termios.h: Likewise.
10230 * include/time.h: Likewise.
10231 * include/ulimit.h: Likewise.
10232 * include/unistd.h: Likewise.
10233 * include/utime.h: Likewise.
10234 * include/wchar.h: Likewise.
10235 * include/wctype.h: Likewise.
10236 * include/wordexp.h: Likewise.
10237
10238 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
10239
7a270350
UD
10240 * time/time.h: TIME_UTC must be a macro.
10241 Make timespec_get available for ISO C11 only as well.
10242
7724defc
UD
102432012-02-24 Ulrich Drepper <drepper@gmail.com>
10244
10245 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
10246 Reported by Peng Haitao <penght@cn.fujitsu.com>.
10247
6b1d1d46
JM
102482012-02-24 Joseph Myers <joseph@codesourcery.com>
10249
10250 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 10251
0f8bbd69
JM
102522012-02-24 Joseph Myers <joseph@codesourcery.com>
10253
10254 * manual/texinfo.tex: Update to version 2012-01-19.16.
10255
66ab80bc
JM
102562012-02-24 Joseph Myers <joseph@codesourcery.com>
10257
10258 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
10259
74981cc5
RM
102602012-02-24 Roland McGrath <roland@hack.frob.com>
10261
ee968201
RM
10262 [BZ #13738]
10263 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
10264 * manual/fdl-1.3.texi: New file.
10265 * manual/fdl-1.1.texi: File removed.
10266
74981cc5
RM
10267 [BZ #13738]
10268 * manual/libc.texinfo (FDL_VERSION): New @set.
10269 Use it for mention of FDL in cover text.
10270 (Documentation License): Use it in @include file name.
10271
7bb764bc
JM
102722012-02-22 Joseph Myers <joseph@codesourcery.com>
10273 Roland McGrath <roland@hack.frob.com>
10274
10275 [BZ #5461]
10276 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
10277 not LONG_LONG_MAX and LONG_LONG_MIN.
10278 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
10279 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
10280 name.
10281 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
10282
6cbeae47
JM
102832012-02-22 Joseph Myers <joseph@codesourcery.com>
10284
10285 [BZ #2547]
10286 [BZ #11365]
10287 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
10288 manipulate bits before adding and subtracting TWO23[sx].
10289 * math/libm-test.inc (nearbyint_test): Add more tests.
10290
fe45ce09
JM
102912012-02-22 Joseph Myers <joseph@codesourcery.com>
10292
10293 [BZ #2548]
10294 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
10295 bits before adding and subtracting TWO23[sx].
10296 * math/libm-test.inc (rint_test): Add more tests.
10297 (rint_test_tonearest): Likewise.
10298 (rint_test_towardzero): Likewise.
10299 (rint_test_downward): Likewise.
10300 (rint_test_upward: Likewise.
10301
ff3b3d82
JM
103022012-02-22 Joseph Myers <joseph@codesourcery.com>
10303
10304 [BZ #10110]
10305 * include/stdc-predef.h: New file. Extracted from features.h.
10306 * include/features.h: Include stdc-predef.h.
10307 * Makefile (headers): Add stdc-predef.h.
10308 * CONFORMANCE (Compiler limitations): Update.
10309
ef0aab35
JM
103102012-02-22 Joseph Myers <joseph@codesourcery.com>
10311
10312 * manual/libc.texinfo (VERSION, UPDATED): Revert.
10313
58639409
DM
103142012-02-21 David S. Miller <davem@davemloft.net>
10315
10316 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
10317 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
10318
c0e70b25
DM
103192012-02-20 David S. Miller <davem@davemloft.net>
10320
10321 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
10322 using a normal save/restore sequence, rather than allocating a
10323 dummy stack frame just to store a frame pointer and restore.
10324 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
10325
fb06851d
JM
103262012-02-21 Joseph Myers <joseph@codesourcery.com>
10327
10328 * manual/install.texi: Fix stray word in line-wrapped comment.
10329
7a8b71c3
DM
103302012-02-20 David S. Miller <davem@davemloft.net>
10331
d510c123
DM
10332 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
10333 both binutils and gcc support GOTDATA.
10334
0722d7c2
DM
10335 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
10336 "rd %pc" in the PIC register setup sequences.
10337
3d2b3019
DM
10338 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
10339 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
10340 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
10341 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
10342 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
10343 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
10344 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
10345 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
10346 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
10347 (SYSCALL_ERROR_HANDLER): Likewise.
10348 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
10349 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
10350 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
10351 (SYSCALL_ERROR_HANDLER): Likewise.
10352
c80098a9
DM
10353 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
10354 (HAVE_GCC_GOTDATA): New.
10355 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
10356 relocation support in both binutils and gcc.
10357 * sysdeps/sparc/elf/configure: Regenerate.
10358
3a2545a0
DM
10359 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
10360 * sysdeps/sparc/sparc32/elf/configure: Delete.
10361 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
10362 * sysdeps/sparc/sparc64/elf/configure: Delete.
10363 * sysdeps/sparc/elf/configure.in: New file.
10364 * sysdeps/sparc/elf/configure: Generate.
10365
7a8b71c3
DM
10366 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
10367 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
10368 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
10369 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
10370 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
10371
f1e86fca
JM
103722012-02-21 Joseph Myers <joseph@codesourcery.com>
10373
10374 * manual/install.texi: Do not mention specific glibc version
10375 numbers.
10376 * manual/libc.texinfo (VERSION, UPDATED): Update.
10377 (@copying): Use @copyright{} and range of years.
10378
0e7dfaef
JM
103792012-02-21 Joseph Myers <joseph@codesourcery.com>
10380
10381 [BZ #13695]
10382 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
10383 [crti.S not in sysdirs] (generated): Do not append.
10384 [crti.S not in sysdirs] (omit-deps): Likewise.
10385 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
10386 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
10387 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
10388 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
10389 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
10390 Likewise.
10391 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
10392 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
10393 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
10394 * csu/defs.awk: Remove file.
10395 * sysdeps/generic/initfini.c: Likewise.
10396 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
10397 variable.
10398 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
10399 Likewise.
10400
599af3ca
JM
104012012-02-20 Joseph Myers <joseph@codesourcery.com>
10402
10403 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
10404 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
10405 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
10406 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
10407 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
10408 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
10409 <bits/epoll.h>.
10410 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
10411 (__EPOLL_PACKED): Define to empty if not defined by
10412 <bits/epoll.h>.
10413 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
10414 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10415 bits/epoll.h.
10416
0e499750
JM
104172012-02-20 Joseph Myers <joseph@codesourcery.com>
10418
10419 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
10420 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
10421 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
10422 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
10423 <bits/timerfd.h>.
10424 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
10425 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10426 bits/timerfd.h.
10427
5ad91f6e
JM
104282012-02-20 Joseph Myers <joseph@codesourcery.com>
10429
10430 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
10431 in C locale.
10432 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10433 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
10434 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
10435 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10436
06b99b02
AJ
104372012-02-20 Aurelien Jarno <aurelien@aurel32.net>
10438
10439 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10440 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
10441
7638c0fd
AS
104422012-02-19 Andreas Schwab <schwab@linux-m68k.org>
10443
10444 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
10445 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
10446 defined.
10447 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
10448 Likewise.
10449 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
10450 entry for 2.16.
10451
92221550
AJ
104522012-02-19 Aurelien Jarno <aurelien@aurel32.net>
10453
10454 * math/w_acos.c: Use non-signaling floating-point comparisons.
10455 * math/w_acosf.c: Likewise.
10456 * math/w_acosh.c: Likewise.
10457 * math/w_acoshf.c: Likewise.
10458 * math/w_acoshl.c: Likewise.
10459 * math/w_acosl.c: Likewise.
10460 * math/w_asin.c: Likewise.
10461 * math/w_asinf.c: Likewise.
10462 * math/w_asinl.c: Likewise.
10463 * math/w_atanh.c: Likewise.
10464 * math/w_atanhf.c: Likewise.
10465 * math/w_atanhl.c: Likewise.
10466 * math/w_exp2.c: Likewise.
10467 * math/w_exp2f.c: Likewise.
10468 * math/w_exp2l.c: Likewise.
10469 * math/w_j0.c: Likewise.
10470 * math/w_j0f.c: Likewise.
10471 * math/w_j0l.c: Likewise.
10472 * math/w_j1.c: Likewise.
10473 * math/w_j1f.c: Likewise.
10474 * math/w_j1l.c: Likewise.
10475 * math/w_jn.c: Likewise.
10476 * math/w_jnf.c: Likewise.
10477 * math/w_log.c: Likewise.
10478 * math/w_log10.c: Likewise.
10479 * math/w_log10f.c: Likewise.
10480 * math/w_log10l.c: Likewise.
10481 * math/w_log2.c: Likewise.
10482 * math/w_log2f.c: Likewise.
10483 * math/w_log2l.c: Likewise.
10484 * math/w_logf.c: Likewise.
10485 * math/w_logl.c: Likewise.
10486 * math/w_sqrt.c: Likewise.
10487 * math/w_sqrtf.c: Likewise.
10488 * math/w_sqrtl.c: Likewise.
10489 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
10490 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
10491 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10492 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
10493 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
10494
ebaf36eb
JM
104952012-02-19 Joseph Myers <joseph@codesourcery.com>
10496
10497 [BZ #9739]
10498 * manual/string.texi (strnlen): Use correct parameter name in
10499 equivalent expression.
10500
71c254a6
JM
105012012-02-19 Joseph Myers <joseph@codesourcery.com>
10502
10503 [BZ #11174]
10504 * manual/users.texi (seteuid): Consistently use neweuid for
10505 argument name.
10506
16d2c631
JM
105072012-02-19 Joseph Myers <joseph@codesourcery.com>
10508
10509 [BZ #13704]
10510 * manual/nss.texi (Services in the NSS configuration): Correct
10511 list of services in example configuration file.
10512
cd837b09
NB
105132012-02-19 Nick Bowler <nbowler@draconx.ca>
10514
10515 [BZ #11322]
10516 * manual/arith.texi: Remove statements about negative zero
10517 behaving identically to zero.
10518
02c4bbad
JM
105192012-02-18 Joseph Myers <joseph@codesourcery.com>
10520
10521 [BZ #5993]
10522 * manual/install.texi: Do not document upgrading from libc5.
10523
366842e7
JM
105242012-02-18 Joseph Myers <joseph@codesourcery.com>
10525
10526 [BZ #4596]
10527 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
10528
dd54084d
DM
105292012-02-18 David S. Miller <davem@davemloft.net>
10530
10531 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
10532 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
10533 %o7 across the call.
10534 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
10535 instead.
10536 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
10537 SETUP_PIC_REG_LEAF.
10538 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10539 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
10540 * sysdeps/sparc/crtn.S: Likewise.
10541
2bcc53a3
UD
105422012-02-17 Ulrich Drepper <drepper@gmail.com>
10543
10544 * aout/Makefile: Remove.
10545
09c093b5
RK
105462012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
10547
10548 [BZ #13058]
10549 * manual/examples/argp-ex1.c (main): Format definition in GNU
10550 style.
10551 * manual/examples/argp-ex2.c (main): Likewise.
10552 * manual/examples/argp-ex3.c (main): Likewise.
10553 * manual/examples/argp-ex4.c (main): Likewise.
10554 * manual/examples/longopt.c (main): Use new-style prototype
10555 definition.
10556 * manual/examples/strncat.c (main): Specify return type and use
10557 (void) for arguments.
10558 * manual/examples/subopt.c (main): Use char **argv argument.
10559
2ee633a2
JM
105602012-02-17 Joseph Myers <joseph@codesourcery.com>
10561
10562 [BZ #5077]
10563 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
10564 rounding modes.
10565
0520adde
FB
105662012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
10567
10568 [BZ #6907]
10569 * manual/string.texi (strchr): Change when strchrnul is
10570 recommended.
10571
3f4081cd
DGM
105722012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
10573
10574 [BZ #174]
10575 * manual/locale.texi (setlocale): Document LOCPATH.
10576
d1b10e78
JM
105772012-02-17 Joseph Myers <joseph@codesourcery.com>
10578
10579 [BZ #10210]
10580 * manual/process.texi (execle): Move @dots{} before last argument.
10581
79c6869c
PB
105822012-02-17 Paul Bolle <pebolle@tiscali.nl>
10583
10584 [BZ #12047]
10585 * manual/charset.texi (Generic Charset Conversion): Fix typo
10586 (LC_TYPE -> LC_CTYPE).
10587
cc6e48bc
NB
105882012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
10589
10590 [BZ #5805]
10591 * manual/arith.texi (scalbn): Use @var{} on parameter names.
10592 (scalbnf): Likewise.
10593 (scalbnl): Likewise.
10594 (scalbln): Likewise.
10595 (scalblnf): Likewise.
10596 (scalblnl): Likewise.
10597 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
10598 (vwarnx): Likewise.
10599 (verr): Likewise.
10600 (verrx): Likewise.
10601 * manual/filesys.texi (telldir): Use braces around return type.
10602 * manual/llio.texi (mmap): Add space after comma.
10603 (mmap64): Likewise.
10604 * manual/math.texi (jn): Use @var{} on parameter names.
10605 (jnf): Likewise.
10606 (jnl): Likewise.
10607 (yn): Likewise.
10608 (ynf): Likewise.
10609 (ynl): Likewise.
10610 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
10611 line.
10612 * manual/resource.texi (ulimit): Use @dots{} instead of literal
10613 "...".
10614 (sched_get_priority_min): Remove semicolon on @deftypefun line.
10615 (sched_get_priority_max): Likewise.
10616 * manual/signal.texi (sigvec): Add space after comma.
10617 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
10618 names.
10619 (if_indextoname): Likewise.
10620 (if_freenameindex): Likewise.
10621 (sendto): Use ',' instead of '.' in prototype.
10622 * manual/startup.texi (syscall): Use @dots{} instead of literal
10623 "...".
10624 * manual/stdio.texi (__fpending): Separate initial words of
10625 paragraph from @deftypefun line.
10626 * manual/syslog.texi (syslog): Use @dots{} instead of literal
10627 "...".
10628 (vsyslog): Use @var{} on parameter names.
10629 * manual/terminal.texi (stty): Use @var{} on parameter names.
10630 * manual/users.texi (getutmp): Use @var{} on parameter names.
10631 (getutmpx): Likewise.
10632
5b23062f
JM
106332012-02-17 Joseph Myers <joseph@codesourcery.com>
10634
10635 [BZ #6884]
10636 * manual/stdio.texi (fopen): Fix typos in description of
10637 ",ccs=STRING".
10638
8dee4833
AJ
106392012-02-17 Aurelien Jarno <aurelien@aurel32.net>
10640
10641 [BZ #4026]
10642 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
10643 get clock_id definition.
10644
9078ce93
TS
106452012-02-17 Thomas Schwinge <thomas@schwinge.name>
10646
10647 [BZ #4822]
10648 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
10649 (madvise): Cast every argument to void on its own.
10650
3835c55f
JM
106512012-02-17 Joseph Myers <joseph@codesourcery.com>
10652
10653 [BZ #9902]
10654 * manual/startup.texi (Exit Status): Fix typo.
10655
35c47e37
JM
106562012-02-17 Joseph Myers <joseph@codesourcery.com>
10657
10658 [BZ #10140]
10659 * manual/examples/argp-ex1.c: Include <stdlib.h>.
10660 * manual/examples/argp-ex2.c: Likewise.
10661 * manual/examples/argp-ex3.c: Likewise.
10662
e3b69ca7
RH
106632012-02-16 Richard Henderson <rth@redhat.com>
10664
10665 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
10666 * sysdeps/s390/s390-32/initfini.c: Remove.
10667 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
10668 * sysdeps/s390/s390-64/initfini.c: Remove.
10669
df83af67
KK
106702012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10671
10672 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
10673 compiler output for sysdeps/generic/initfini.c.
10674 * sysdeps/sh/elf/initfini.c: Remove file.
10675
f63f3380
DM
106762012-02-16 David S. Miller <davem@davemloft.net>
10677
fb59b3a4
DM
10678 [BZ #11494]
10679 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
10680
f63f3380
DM
10681 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
10682 * sysdeps/sparc/crti.S: New file.
10683 * sysdeps/sparc/crtn.S: New file.
10684 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
10685 * sysdeps/sparc/sparc64/Makefile: Likewise.
10686
df6a4a4a
MF
106872012-02-15 Mike Frysinger <vapier@gentoo.org>
10688
6dd8f3dc 10689 [BZ #3335]
df6a4a4a
MF
10690 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
10691
1cac7236
RM
106922012-02-15 Roland McGrath <roland@hack.frob.com>
10693
d2c736f8
RM
10694 [BZ #4822]
10695 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
10696
1cac7236
RM
10697 * mach/devstream.c (cookie_io_functions_t): Macro removed.
10698 (write, read, close): Likewise.
10699 Patch by Aurelien Jarno <aurelien@aurel32.net>.
10700
8e475601
JM
107012012-02-15 Joseph Myers <joseph@codesourcery.com>
10702
10703 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
10704 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
10705 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
10706 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
10707 <bits/signalfd.h>.
10708 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
10709 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10710 bits/signalfd.h.
10711
ed656b40
MP
107122012-02-14 Marek Polacek <polacek@redhat.com>
10713
10714 * sysdeps/x86_64/crti.S: New file.
10715 * sysdeps/x86_64/crtn.S: New file.
10716 * sysdeps/x86_64/elf/initfini.c: Remove file.
10717
2a979d3a
JM
107182012-02-13 Joseph Myers <joseph@codesourcery.com>
10719
10720 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
10721 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
10722 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
10723 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
10724 <bits/inotify.h>.
10725 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
10726 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10727 bits/inotify.h.
10728
2a418ac3
JM
107292012-02-13 Joseph Myers <joseph@codesourcery.com>
10730
10731 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
10732 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
10733 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
10734 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
10735 <bits/eventfd.h>.
10736 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
10737 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10738 bits/eventfd.h.
10739
fb779be7
TS
107402012-02-10 Thomas Schwinge <thomas@codesourcery.com>
10741
e19e83c5
RM
10742 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
10743 __feraiseexcept instead of feraiseexcept.
7c35ffed 10744
fb779be7
TS
10745 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
10746 nanosleep invocations.
10747 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
10748 strings, and add error checking for a nanosleep invocations.
10749
59ba27a6
PE
107502012-02-09 Paul Eggert <eggert@cs.ucla.edu>
10751
10752 Replace FSF snail mail address with URLs, as per GNU coding standards.
10753 Most of the snail mail addresses were wrong anyway, and omitting
10754 them makes the source code easier to maintain. Almost all of the
10755 changes are to license notices and to locale LC_IDENTIFICATION
10756 addresses, except for this one:
10757 * manual/libc.texinfo: In "Published by", give the FSF's URL,
10758 not its snail mail address.
10759
57b957eb
RH
107602012-02-09 Richard Henderson <rth@twiddle.net>
10761
af850b1c
RH
10762 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
10763 of kernel-features.h.
10764
57b957eb
RH
10765 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
10766
6b73181a
MP
107672012-02-08 Marek Polacek <polacek@redhat.com>
10768
10769 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
10770 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
10771 * sysdeps/gnu/_G_config.h: Likewise.
10772 * sysdeps/generic/_G_config.h: Likewise.
10773
26ecc33a
AS
107742012-02-08 Andreas Schwab <schwab@linux-m68k.org>
10775
6c6dbc63
AS
10776 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
10777 tests.
10778 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10779
e216c012
AS
10780 * sysdeps/powerpc/powerpc32/crti.S: New file.
10781 * sysdeps/powerpc/powerpc32/crtn.S: New file.
10782 * sysdeps/powerpc/powerpc64/crti.S: New file.
10783 * sysdeps/powerpc/powerpc64/crtn.S: New file.
10784
26ecc33a
AS
10785 * Makeconfig (have-initfini): Don't set.
10786 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
10787 * configure.in (nopic_initfini): Don't substitute.
10788 * config.h.in (HAVE_INITFINI): Don't #undef.
10789 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
10790 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
10791
3add8e13
JM
107922012-02-08 Joseph Myers <joseph@codesourcery.com>
10793
10794 Support crti.S and crtn.S provided directly by architectures.
10795 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
10796 [crti.S in sysdirs] (omit-deps): Likewise.
10797 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
10798 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
10799 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
10800 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
10801 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
10802 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
10803 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
10804 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
10805 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
10806 compiler output for sysdeps/generic/initfini.c.
10807 * sysdeps/i386/elf/Makefile: Remove file.
10808 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
10809
a22f12b4
MP
108102012-02-07 Marek Polacek <polacek@redhat.com>
10811
10812 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
10813 * sysdeps/gnu/_G_config.h: Likewise.
10814 * sysdeps/mach/hurd/_G_config.h: Likewise.
10815
148cf100
MP
108162012-02-07 Marek Polacek <polacek@redhat.com>
10817
10818 * math/Makefile (tests): Add tst-CMPLX2.
10819 * math/tst-CMPLX2.c: New file.
10820
cfdc0dd7
AS
108212012-02-07 Andreas Schwab <schwab@linux-m68k.org>
10822
84ba42c4
AS
10823 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10824
cfdc0dd7
AS
10825 * math/libm-test.inc (jn_test): Add missing L suffix.
10826
622c86f4
MP
108272012-02-06 Marek Polacek <polacek@redhat.com>
10828
10829 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
10830 * sysdeps/i386/fpu/e_powf.S: Likewise.
10831 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
10832 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
10833 * sysdeps/i386/fpu/e_acosh.S: Likewise.
10834 * sysdeps/i386/fpu/e_pow.S: Likewise.
10835 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
10836 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
10837 * sysdeps/i386/fpu/s_expm1.S: Likewise.
10838 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
10839 * sysdeps/i386/fpu/e_log2.S: Likewise.
10840 * sysdeps/i386/fpu/e_log2l.S: Likewise.
10841 * sysdeps/i386/fpu/e_scalb.S: Likewise.
10842 * sysdeps/i386/fpu/e_powl.S: Likewise.
10843 * sysdeps/i386/fpu/s_log1p.S: Likewise.
10844 * sysdeps/i386/fpu/e_log10f.S: Likewise.
10845 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
10846 * sysdeps/i386/fpu/e_logl.S: Likewise.
10847 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
10848 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
10849 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
10850 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
10851 * sysdeps/i386/fpu/e_log2f.S: Likewise.
10852 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
10853 * sysdeps/i386/fpu/e_log.S: Likewise.
10854 * sysdeps/i386/fpu/s_cexp.S: Likewise.
10855 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
10856 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
10857 * sysdeps/i386/fpu/e_logf.S: Likewise.
10858 * sysdeps/i386/fpu/e_log10l.S: Likewise.
10859 * sysdeps/i386/fpu/e_atanh.S: Likewise.
10860 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
10861 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
10862 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
10863 * sysdeps/i386/fpu/e_log10.S: Likewise.
10864 * sysdeps/i386/fpu/s_frexp.S: Likewise.
10865 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
10866 * sysdeps/i386/fpu/s_asinh.S: Likewise.
10867 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
10868 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
10869 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
10870 * sysdeps/i386/asm-syntax.h: Likewise.
10871 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
10872 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
10873 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
10874 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
10875 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
10876 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
10877 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
10878 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
10879 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
10880 * sysdeps/powerpc/sysdep.h: Likewise.
10881 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
10882 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
10883
d4a54ac6
JM
108842012-02-06 Joseph Myers <joseph@codesourcery.com>
10885
10886 [BZ #411]
10887 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
10888
314054ea
JM
108892012-02-06 Joseph Myers <joseph@codesourcery.com>
10890
10891 * sysdeps/i386/sysdep.h: Include <features.h>.
10892 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
10893 version.
10894
d8e0ca50
JM
108952012-02-05 Joseph Myers <joseph@codesourcery.com>
10896
10897 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
10898 Define.
10899 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
10900 LOAD_PIC_REG_STR.
10901
b1da7dd9
JM
109022012-02-03 Joseph Myers <joseph@codesourcery.com>
10903
10904 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
10905 (SETUP_PIC_REG): Use GET_PC_THUNK.
10906 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
10907 macro.
10908
9a1d9254
JM
109092012-02-03 Joseph Myers <joseph@codesourcery.com>
10910
10911 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
10912 for non-PIC compilation.
10913 (SETUP_PIC_REG): Add .p2align directive.
10914 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
10915 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
10916 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
10917 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
10918 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
10919 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
10920 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
10921 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
10922 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
10923 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
10924 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
10925 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
10926 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
10927 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
10928 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
10929 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
10930 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
10931 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
10932 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
10933 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
10934 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
10935 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
10936 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
10937 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
10938 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
10939 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
10940 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
10941 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
10942 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
10943 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
10944 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
10945 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
10946 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
10947 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
10948 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
10949 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
10950 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
10951 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
10952 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
10953 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
10954 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
10955
65dc3b75
JM
109562012-02-03 Joseph Myers <joseph@codesourcery.com>
10957
10958 * math/tst-CMPLX.c: Include <stdio.h>.
10959
d55bf177
JM
109602012-01-31 Joseph Myers <joseph@codesourcery.com>
10961
10962 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
10963 float.
10964 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
10965 * sysdeps/sparc/bits/mathdef.h: Likewise.
10966
69db4f8f
MP
109672012-01-31 Marek Polacek <polacek@redhat.com>
10968
10969 * libio/libio.h: Don't define _PARAMS.
10970 * locale/programs/config.h: Don't define PARAMS.
10971 * stdlib/strtol_l.c: Likewise.
10972 (__strtol_l): Remove PARAMS from the prototype.
10973
41b81892
UD
109742012-01-31 Ulrich Drepper <drepper@gmail.com>
10975
3b49edc0
UD
10976 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
10977 names. Just use the correct names. Remove unnecessary wrapper
10978 functions.
10979 * malloc/arena.c: Likewise.
10980 * malloc/hooks.c: Likewise.
10981
41b81892
UD
10982 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
10983 ARENA_TEST says not to. Simplify test for creation of a new arena.
10984 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
10985
27a25b6e
UD
109862012-01-30 Ulrich Drepper <drepper@gmail.com>
10987
10988 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
10989 into tail calls.
10990 (update_get_addr): New function.
10991 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
10992 GET_ADDR_MODULE parameter.
10993
c8a89e7d
JM
109942012-01-30 Joseph Myers <joseph@codesourcery.com>
10995
10996 * crypt/cert.c: Remove __STDC__ conditionals.
10997 * crypt/crypt-entry.c: Likewise.
10998 * crypt/crypt_util.c: Likewise.
10999 * libio/filedoalloc.c: Likewise.
11000 * libio/fileops.c: Likewise.
11001 * libio/genops.c: Likewise.
11002 * libio/iofclose.c: Likewise.
11003 * libio/iofdopen.c: Likewise.
11004 * libio/iofopen.c: Likewise.
11005 * libio/iofopen64.c: Likewise.
11006 * libio/iogetdelim.c: Likewise.
11007 * libio/iopopen.c: Likewise.
11008 * libio/obprintf.c: Likewise.
11009 * libio/oldfileops.c: Likewise.
11010 * libio/oldiofclose.c: Likewise.
11011 * libio/oldiofdopen.c: Likewise.
11012 * libio/oldiofopen.c: Likewise.
11013 * libio/oldiopopen.c: Likewise.
11014 * libio/wfiledoalloc.c: Likewise.
11015 * libio/wgenops.c: Likewise.
11016 * locale/programs/xmalloc.c: Likewise.
11017 * misc/syslog.c: Likewise.
11018 * stdio-common/xbug.c: Likewise.
11019 * string/memchr.c: Likewise.
11020 * string/memcmp.c: Likewise.
11021 * string/memrchr.c: Likewise.
11022 * string/rawmemchr.c: Likewise.
11023 * sysdeps/posix/getcwd.c: Likewise.
11024 * time/strftime_l.c: Likewise.
11025
3b100462
JM
110262012-01-30 Joseph Myers <joseph@codesourcery.com>
11027
11028 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
11029 * config.make.in (config-cflags-sse2avx): Define.
11030 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
11031 Fix typo.
11032
607998af
CM
110332012-01-29 Chris Metcalf <cmetcalf@tilera.com>
11034
11035 * scripts/config.guess: Update from upstream config git repository.
11036 * scripts/config.sub: Likewise.
11037
3601428f
CM
110382012-01-28 Chris Metcalf <cmetcalf@tilera.com>
11039
3ac8b282
CM
11040 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
11041 (EM_NUM): Update.
11042 (R_TILEPRO_*, R_TILEGX_*): New macros.
11043
e034841e
CM
11044 * scripts/firstversions.awk: Fix bug in version range handling.
11045
540d7568
CM
11046 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
11047
3601428f
CM
11048 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
11049
463de862
CM
11050 * include/sys/epoll.h: New file.
11051 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
11052 libc_hidden_def.
11053
73139a76
UD
110542012-01-28 Ulrich Drepper <drepper@gmail.com>
11055
96bc5b45
UD
11056 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
11057 Avoid unnecessary __WORDSIZE == 64 test.
11058 (fmaxf): Use VEX format if possible.
11059 (fmax): Likewise.
11060 (fminf): Likewise.
11061 (fmin): Likewise.
11062
56f6f6a2
UD
11063 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
11064 * math/math_private.h: Remove libc_fegetround* and
11065 libc_fesetround*.
11066 * sysdeps/i386/configure.in: Check for -msse2avx.
11067 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
11068 also if SSE2AVX is defined.
11069 Remove libc_fegetround* and libc_fesetround*.
11070 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
11071 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
11072 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
11073 of HAS_YMM_USABLE.
11074 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
11075 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
11076 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
11077 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
11078 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
11079
73139a76
UD
11080 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
11081
d73f93a4
AZ
110822012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11083
11084 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
11085 size is not set.
11086 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
11087
6ee65ed6
UD
110882012-01-27 Ulrich Drepper <drepper@gmail.com>
11089
11090 [BZ #13618]
11091 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
11092 relocation.
11093 * Makeconfig (libm): Define.
11094 * elf/Makefile: Add rules to build and run tst-relsort1.
11095 * elf/tst-relsort1.c: New file.
11096 * elf/tst-relsort1mod1.c: New file.
11097 * elf/tst-relsort1mod2.c: New file.
11098
8db21882
JM
110992012-01-27 Joseph Myers <joseph@codesourcery.com>
11100
11101 * math/s_ldexp.c: Remove __STDC__ conditionals.
11102 * math/s_ldexpf.c: Likewise.
11103 * math/s_ldexpl.c: Likewise.
11104 * math/s_nextafter.c: Likewise.
11105 * math/s_nexttowardf.c: Likewise.
11106 * math/s_significand.c: Likewise.
11107 * math/s_significandf.c: Likewise.
11108 * math/s_significandl.c: Likewise.
11109 * math/w_jnl.c: Likewise.
11110 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
11111 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
11112 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
11113 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
11114 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
11115 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
11116 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
11117 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
11118 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
11119 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
11120 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
11121 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11122 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
11123 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
11124 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
11125 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
11126 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
11127 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
11128 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
11129 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
11130 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
11131 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
11132 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
11133 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
11134 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
11135 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
11136 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
11137 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
11138 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
11139 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
11140 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
11141 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
11142 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
11143 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
11144 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
11145 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
11146 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
11147 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
11148 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
11149 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
11150 * sysdeps/ieee754/k_standard.c: Likewise.
11151 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11152 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
11153 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
11154 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
11155 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
11156 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
11157 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
11158 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
11159 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
11160 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
11161 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
11162 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
11163 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
11164 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
11165 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
11166 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
11167 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
11168 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
11169 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
11170 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
11171 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
11172 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
11173 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
11174 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
11175 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
11176 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
11177 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
11178 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11179 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
11180 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
11181 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
11182 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
11183 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
11184 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
11185 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
11186 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
11187 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
11188 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
11189 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
11190 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
11191 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
11192 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
11193 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
11194 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
11195 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
11196 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
11197 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
11198 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
11199 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
11200 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
11201 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
11202 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
11203 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
11204 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
11205 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
11206 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
11207 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
11208 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
11209 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
11210 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
11211 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
11212 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
11213 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
11214 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
11215 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
11216 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
11217 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
11218 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
11219 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
11220 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
11221 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
11222 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
11223 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
11224 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
11225 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
11226 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
11227 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
11228 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
11229 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
11230 * sysdeps/ieee754/s_matherr.c: Likewise.
11231 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
11232 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
11233 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
11234 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
11235
965a54a4
JM
112362012-01-26 Joseph Myers <joseph@codesourcery.com>
11237
11238 * crypt/md5.h: Remove __STDC__ conditionals.
11239 * libio/libioP.h: Likewise.
11240 * locale/programs/config.h: Likewise.
11241 * sysdeps/generic/sysdep.h: Likewise.
11242 * sysdeps/i386/asm-syntax.h: Likewise.
11243 * sysdeps/s390/asm-syntax.h: Likewise.
11244 * sysdeps/unix/sysdep.h: Likewise.
11245 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
11246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
11247
7071ad79
JM
112482012-01-26 Joseph Myers <joseph@codesourcery.com>
11249
11250 * libio/libio.h: Remove __STDC__ conditionals.
11251 * malloc/obstack.h: Likewise.
11252 * math/complex.h: Likewise.
11253 * math/math.h: Likewise.
11254 * sysdeps/generic/_G_config.h: Likewise.
11255 * sysdeps/gnu/_G_config.h: Likewise.
11256 * sysdeps/mach/hurd/_G_config.h: Likewise.
11257 * sysdeps/powerpc/bits/mathdef.h: Likewise.
11258 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
11259 * sysdeps/sparc/bits/mathdef.h: Likewise.
11260
afc5ed09
UD
112612012-01-26 Ulrich Drepper <drepper@gmail.com>
11262
11263 [BZ #13583]
11264 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 11265 Clean up HAS_* macros.
afc5ed09 11266 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
11267 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
11268 possible.
11269 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
11270 HAS_AVX.
11271 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
11272 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
11273 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
11274 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
11275 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 11276
bdb6de1d
JM
112772012-01-25 Joseph Myers <joseph@codesourcery.com>
11278
11279 * elf/tst-unique3.cc (gets): Remove declaration.
11280 * elf/tst-unique3lib.cc (gets): Likewise.
11281 * elf/tst-unique3lib2.cc (gets): Likewise.
11282 * elf/tst-unique4.cc (gets): Likewise.
11283
b15549e6
UD
112842012-01-24 Ulrich Drepper <drepper@gmail.com>
11285
11286 * include/stdio.h: Add C++ protection. Add gets declarations and
11287 definitions.
11288 * debug/tst-chk1.c: Don't declare gets here.
11289 * stdio-common/tst-gets.c: Likewise.
11290
a037381f
JM
112912012-01-24 Joseph Myers <joseph@codesourcery.com>
11292
11293 * posix/glob: Remove directory.
11294
f1d4aa75
JM
112952012-01-24 Joseph Myers <joseph@codesourcery.com>
11296
11297 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
11298
81c0c964
PT
112992012-01-22 Pino Toscano <toscano.pino@tiscali.it>
11300
11301 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
11302 of the non-standard EPFNOSUPPORT.
11303
0ea698ae
ST
113042011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
11305
11306 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
11307 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
11308 ANYWHERE set to 1 only on KERN_NO_SPACE error.
11309
d220b117
UD
113102012-01-21 Ulrich Drepper <drepper@gmail.com>
11311
11312 * wcsmbs/uchar.h: Test __STDC_VERSION__.
11313
3e1aa84e
UD
113142012-01-20 Ulrich Drepper <drepper@gmail.com>
11315
11316 * nscd/aicache.c (addhstaiX): Do not cache negative results of
11317 transient errors.
11318 * nscd/grpcache.c (cache_addgr): Likewise.
11319 * nscd/hstcache.c (cache_addhst): Likewise.
11320 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11321 * nscd/pwdcache.c (cache_addpw): Likewise.
11322 * nscd/servicescache.c (cache_addserv): Likewise.
11323
400aa020
UD
113242012-01-16 Ulrich Drepper <drepper@gmail.com>
11325
d77e7869
UD
11326 * malloc/malloc.c: Various cleanups.
11327 * malloc/hooks.c: Likewise.
11328
400aa020
UD
11329 * stdlib/Makefile (tests): Add bug-fmtmsg1.
11330 * stdlib/bug-fmtmsg1.c: New file.
11331
11332 * stdlib/fmtmsg.c (init): Add missing unlock.
11333 Patch by Peng Haitao <penght@cn.fujitsu.com>.
11334
e0a309cf
MP
113352012-01-12 Marek Polacek <polacek@redhat.com>
11336
11337 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
11338 and _GNU_SOURCE.
11339
929d11c7
WS
113402012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
11341
11342 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
11343 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
11344 macro to ensure uniqueness of label name.
11345 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
11346 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
11347
41d0e869
UD
113482012-01-11 Ulrich Drepper <drepper@gmail.com>
11349
0cc5ed3b
UD
11350 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
11351
41d0e869
UD
11352 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
11353 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
11354 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
11355 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
11356
a47a831a
UD
113572012-01-10 Ulrich Drepper <drepper@gmail.com>
11358
daa891c0
UD
11359 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
11360
11361 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
11362 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
11363 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
11364
e58ef0f2
UD
11365 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
11366
a47a831a 11367 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
11368 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
11369 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 11370 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
11371
11372 * math/bits/math-finite.h: Add ldexp support.
11373
a0bfc9c7
MP
113742012-01-10 Marek Polacek <polacek@redhat.com>
11375
11376 * locale/programs/localedef.h (show_archive_content): Add noreturn
11377 attribute.
11378
d6e97a1d
UD
113792012-01-09 Ulrich Drepper <drepper@gmail.com>
11380
11381 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
11382
d5835c26
UD
113832012-01-08 Ulrich Drepper <drepper@gmail.com>
11384
e5f484c6
UD
11385 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
11386
d5835c26
UD
11387 * io/Makefile (headers): Add bits/poll2.h.
11388
d1f741e9
WS
113892011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
11390
11391 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
11392 typo #include statement.
11393
ec09c1c4
UD
113942012-01-08 Ulrich Drepper <drepper@gmail.com>
11395
11396 * include/sys/cdefs.h: Define __attribute_alloc_size.
11397 * catgets/gencat.c: Add alloc_size attribute and apply consistently
11398 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
11399 * elf/pldd.c: Likewise.
11400 * iconv/iconv_charmap.c: Likewise.
11401 * iconv/iconvconfig.c: Likewise.
11402 * iconv/strtab.c: Likewise.
11403 * locale/programs/locale.c: Likewise.
11404 * locale/programs/localedef.h: Likewise.
11405 * locale/programs/simple-hash.c: Likewise.
11406 * nscd/nscd.h: Likewise.
11407 * nss/makedb.c: Likewise.
11408 * sysdeps/generic/ldconfig.h: Likewise.
11409 * locale/programs/localedef.c: Remove xmalloc prototype.
11410 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
11411
20b38e03
PP
114122012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
11413
11414 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
11415 appropriate.
11416
a0da5fe1
UD
114172012-01-08 Ulrich Drepper <drepper@gmail.com>
11418
1d5a644a 11419 * math/Makefile (tests): Add tst-CMPLX.
669704fd 11420 * math/tst-CMPLX.c: New file.
1d5a644a 11421
8784a6db
UD
11422 * math/complex.h (CMPLXL): Fix typo.
11423
d9a216c0
UD
11424 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
11425 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
11426 GLIBC_2.16.
11427 * debug/tst-chk1.c: Add poll and ppoll tests.
11428 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
11429 * include/sys/poll.h: Add hidden proto for ppoll.
11430 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
11431 * sysdeps/mach/hurd/ppoll.c: Likewise.
11432 * io/ppoll.c: Likewise.
11433 * debug/poll_chk.c: New file.
11434 * debug/ppoll_chk.c: New file.
11435 * include/bits/poll2.h: New file.
11436 * io/bits/poll2.h: New file.
11437
ac097f5c
UD
11438 [BZ #1350]
11439 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
11440
2119dcfa
UD
11441 * configure.in: static is always set to yes. Remove.
11442 * config.make.in: Don't set build-static.
11443 * Makeconfig: Remove use of build-static.
11444 * dlfcn/Makefile: Likewise.
11445 * elf/Makefile: Likewise.
11446 * math/Makefile: Likewise.
11447 * misc/Makefile: Likewise.
11448 * nptl/Makefile: Likewise.
11449 * sysdeps/mach/hurd/Makefile: Likewise.
11450
121766a9
UD
11451 * configure.in: PWD_P is not used anymore.
11452 * config.make.in: Remove PWD_P entry.
11453
51a1d39c 11454 * configure.in: Remove last remnants of RANLIB.
8720d066 11455 No need to check for signed size_t anymore.
215f4bdc
UD
11456 Don't set libc_commonpagesize and libc_relro_required here for Alpha
11457 and IA-64.
3857022a 11458 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
11459 * aclocal.m4: Likewise.
11460
d3ed7225
UD
11461 * wcsmbs/mbrtoc16.c: Implement using towc function.
11462 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
11463 * wcsmbs/wcsmbsload.c: Likewise.
11464 * iconv/gconv_simple.c: Likewise.
11465 * iconv/gconv_int.h: Likewise.
11466 * iconv/gconv_builtin.h: Likewise.
11467 * iconv/iconv_prog.c: Remove CHAR16 handling.
11468
11469 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
11470
11471 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
11472
a0da5fe1
UD
11473 * configure.in: Remove --with-elf and --enable-bounded options.
11474 Dont set base_machine for ia64. More non-ELF conditions removed.
11475 Remove testing and setting of leading underscore information.
11476 * config.make.in (build-bounded): Set to no.
11477 * config.h.in: Remove NO_UNDERSCORES entry.
11478 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
11479 them.
11480 * csu/start.c: Remove !NO_UNDERSCORE code.
11481 * locale/localeinfo.h: Likewise.
11482 * sysdeps/generic/machine-gmon.h: Likewise.
11483 * sysdeps/generic/sysdep.h: Likewise.
11484 * sysdeps/i386/sysdep.h: Likewise.
11485 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
11486 * sysdeps/mach/sysdep.h: Likewise.
11487 * sysdeps/s390/s390-32/sysdep.h: Likewise.
11488 * sysdeps/s390/s390-64/sysdep.h: Likewise.
11489 * sysdeps/sh/sysdep.h: Likewise.
11490 * sysdeps/sparc/sparc32/alloca.S: Likewise.
11491 * sysdeps/unix/i386/sysdep.S: Likewise.
11492 * sysdeps/unix/sparc/start.c: Likewise.
11493 * sysdeps/unix/sparc/sysdep.S: Likewise.
11494 * sysdeps/unix/sparc/sysdep.h: Likewise.
11495 * sysdeps/unix/start.c: Likewise.
11496 * sysdeps/unix/x86_64/sysdep.S: Likewise.
11497 * sysdeps/x86_64/sysdep.h: Likewise.
11498
df78418a
UD
114992012-01-07 Ulrich Drepper <drepper@gmail.com>
11500
a784e502
UD
11501 [BZ #13553]
11502 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
11503 for non-gcc.
11504 * argp/argp-fmtstream.h: Use const instead __const.
11505 * argp/argp.h: Likewise.
11506 * assert/assert.h: Likewise.
11507 * bits/fenv.h: Likewise.
11508 * bits/sched.h: Likewise.
11509 * bits/sigset.h: Likewise.
11510 * bits/sigthread.h: Likewise.
11511 * catgets/nl_types.h: Likewise.
11512 * conform/data/pthread.h-data: Likewise.
11513 * crypt/crypt-private.h: Likewise.
11514 * crypt/crypt.h: Likewise.
11515 * crypt/crypt_util.c: Likewise.
11516 * ctype/ctype.h: Likewise.
11517 * debug/execinfo.h: Likewise.
11518 * debug/mbsnrtowcs_chk.c: Likewise.
11519 * debug/mbsrtowcs_chk.c: Likewise.
11520 * debug/wcsnrtombs_chk.c: Likewise.
11521 * debug/wcsrtombs_chk.c: Likewise.
11522 * debug/wcstombs_chk.c: Likewise.
11523 * dirent/dirent.h: Likewise.
11524 * dlfcn/dlfcn.h: Likewise.
11525 * elf/neededtest4.c: Likewise.
11526 * grp/grp.h: Likewise.
11527 * gshadow/gshadow.h: Likewise.
11528 * iconv/gconv.h: Likewise.
11529 * iconv/gconv_int.h: Likewise.
11530 * iconv/gconv_simple.c: Likewise.
11531 * iconv/iconv.h: Likewise.
11532 * iconv/loop.c: Likewise.
11533 * iconv/skeleton.c: Likewise.
11534 * include/aio.h: Likewise.
11535 * include/aliases.h: Likewise.
11536 * include/argz.h: Likewise.
11537 * include/arpa/inet.h: Likewise.
11538 * include/assert.h: Likewise.
11539 * include/dirent.h: Likewise.
11540 * include/dlfcn.h: Likewise.
11541 * include/execinfo.h: Likewise.
11542 * include/fcntl.h: Likewise.
11543 * include/fenv.h: Likewise.
11544 * include/glob.h: Likewise.
11545 * include/grp.h: Likewise.
11546 * include/libintl.h: Likewise.
11547 * include/mntent.h: Likewise.
11548 * include/netdb.h: Likewise.
11549 * include/pwd.h: Likewise.
11550 * include/rpc/netdb.h: Likewise.
11551 * include/sched.h: Likewise.
11552 * include/search.h: Likewise.
11553 * include/shadow.h: Likewise.
11554 * include/signal.h: Likewise.
11555 * include/stdio.h: Likewise.
11556 * include/stdlib.h: Likewise.
11557 * include/string.h: Likewise.
11558 * include/sys/socket.h: Likewise.
11559 * include/sys/stat.h: Likewise.
11560 * include/sys/statfs.h: Likewise.
11561 * include/sys/statvfs.h: Likewise.
11562 * include/sys/syslog.h: Likewise.
11563 * include/sys/time.h: Likewise.
11564 * include/sys/uio.h: Likewise.
11565 * include/time.h: Likewise.
11566 * include/unistd.h: Likewise.
11567 * include/utmp.h: Likewise.
11568 * include/wchar.h: Likewise.
11569 * include/wctype.h: Likewise.
11570 * inet/aliases.h: Likewise.
11571 * inet/arpa/inet.h: Likewise.
11572 * inet/netinet/ether.h: Likewise.
11573 * inet/netinet/in.h: Likewise.
11574 * intl/libintl.h: Likewise.
11575 * io/bits/fcntl2.h: Likewise.
11576 * io/fcntl.h: Likewise.
11577 * io/ftw.h: Likewise.
11578 * io/sys/poll.h: Likewise.
11579 * io/sys/stat.h: Likewise.
11580 * io/sys/statfs.h: Likewise.
11581 * io/sys/statvfs.h: Likewise.
11582 * io/utime.h: Likewise.
11583 * libio/bits/stdio.h: Likewise.
11584 * libio/bits/stdio2.h: Likewise.
11585 * libio/libio.h: Likewise.
11586 * libio/libioP.h: Likewise.
11587 * libio/stdio.h: Likewise.
11588 * locale/lc-ctype.c: Likewise.
11589 * locale/locale.h: Likewise.
11590 * login/utmp.h: Likewise.
11591 * malloc/arena.c: Likewise.
11592 * malloc/malloc.c: Likewise.
11593 * malloc/malloc.h: Likewise.
11594 * malloc/mcheck.c: Likewise.
11595 * malloc/mtrace.c: Likewise.
11596 * math/bits/mathcalls.h: Likewise.
11597 * math/fenv.h: Likewise.
11598 * math/math_private.h: Likewise.
11599 * misc/bits/error.h: Likewise.
11600 * misc/bits/syslog.h: Likewise.
11601 * misc/err.h: Likewise.
11602 * misc/error.h: Likewise.
11603 * misc/fstab.h: Likewise.
11604 * misc/mntent.h: Likewise.
11605 * misc/regexp.h: Likewise.
11606 * misc/search.h: Likewise.
11607 * misc/sgtty.h: Likewise.
11608 * misc/sys/mman.h: Likewise.
11609 * misc/sys/syslog.h: Likewise.
11610 * misc/sys/uio.h: Likewise.
11611 * misc/sys/xattr.h: Likewise.
11612 * misc/ttyent.h: Likewise.
11613 * nis/rpcsvc/ypclnt.h: Likewise.
11614 * nss/nss.h: Likewise.
11615 * posix/bits/unistd.h: Likewise.
11616 * posix/fnmatch.h: Likewise.
11617 * posix/glob.h: Likewise.
11618 * posix/sched.h: Likewise.
11619 * posix/spawn.h: Likewise.
11620 * posix/sys/wait.h: Likewise.
11621 * posix/unistd.h: Likewise.
11622 * posix/wordexp.h: Likewise.
11623 * pwd/pwd.h: Likewise.
11624 * resolv/netdb.h: Likewise.
11625 * resource/sys/resource.h: Likewise.
11626 * rt/aio.h: Likewise.
11627 * rt/bits/mqueue2.h: Likewise.
11628 * rt/mqueue.h: Likewise.
11629 * shadow/shadow.h: Likewise.
11630 * signal/signal.h: Likewise.
11631 * socket/send.c: Likewise.
11632 * socket/sendto.c: Likewise.
11633 * socket/sys/socket.h: Likewise.
11634 * stdio-common/printf.h: Likewise.
11635 * stdlib/bits/stdlib.h: Likewise.
11636 * stdlib/fmtmsg.h: Likewise.
11637 * stdlib/monetary.h: Likewise.
11638 * stdlib/stdlib.h: Likewise.
11639 * stdlib/ucontext.h: Likewise.
11640 * streams/stropts.h: Likewise.
11641 * string/argz.h: Likewise.
11642 * string/bits/string2.h: Likewise.
11643 * string/string.h: Likewise.
11644 * string/strings.h: Likewise.
11645 * sunrpc/rpc/auth.h: Likewise.
11646 * sunrpc/rpc/auth_des.h: Likewise.
11647 * sunrpc/rpc/clnt.h: Likewise.
11648 * sunrpc/rpc/netdb.h: Likewise.
11649 * sunrpc/rpc/pmap_clnt.h: Likewise.
11650 * sunrpc/rpc/xdr.h: Likewise.
11651 * sysdeps/generic/inttypes.h: Likewise.
11652 * sysdeps/generic/net/if.h: Likewise.
11653 * sysdeps/generic/sys/swap.h: Likewise.
11654 * sysdeps/gnu/net/if.h: Likewise.
11655 * sysdeps/gnu/utmpx.h: Likewise.
11656 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
11657 * sysdeps/i386/i486/bits/string.h: Likewise.
11658 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
11659 * sysdeps/s390/bits/string.h: Likewise.
11660 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
11661 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
11662 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
11663 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
11664 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
11665 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
11666 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
11667 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
11668 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
11669 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
11670 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
11671 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
11672 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
11673 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
11674 * sysdeps/unix/sysv/linux/readv.c: Likewise.
11675 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
11676 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
11677 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
11678 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
11679 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
11680 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
11681 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
11682 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
11683 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
11684 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
11685 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
11686 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
11687 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
11688 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
11689 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
11690 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
11691 * sysvipc/sys/ipc.h: Likewise.
11692 * sysvipc/sys/msg.h: Likewise.
11693 * sysvipc/sys/sem.h: Likewise.
11694 * sysvipc/sys/shm.h: Likewise.
11695 * termios/termios.h: Likewise.
11696 * time/sys/time.h: Likewise.
11697 * time/time.h: Likewise.
11698 * wcsmbs/bits/wchar2.h: Likewise.
11699 * wcsmbs/uchar.h: Likewise.
11700 * wcsmbs/wchar.h: Likewise.
11701 * wctype/wctype.h: Likewise.
11702
0269750c
UD
11703 [BZ #13551]
11704 * Makeconfig: Remove all but ELF support including AIX support.
11705 * Makerules: Likewise.
11706 * config.h.in: Likewise.
11707 * config.make.in: Likewise.
11708 * configure: Likewise.
11709 * configure.in: Likewise.
11710 * csu/Makefile: Likewise.
11711 * csu/version.c: Likewise.
11712 * debug/Makefile: Likewise.
11713 * dlfcn/Makefile: Likewise.
11714 * elf/Makefile: Likewise.
11715 * extra-lib.mk: Likewise.
11716 * iconv/Makefile: Likewise.
11717 * include/libc-symbols.h: Likewise.
11718 * include/shlib-compat.h: Likewise.
11719 * resolv/Makefile: Likewise.
11720 * resolv/res_libc.c: Likewise.
11721 * rt/Makefile: Likewise.
11722 * sysdeps/i386/asm-syntax.h: Likewise.
11723 * sysdeps/i386/sysdep.h: Likewise.
11724 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
11725 * sysdeps/mach/sysdep.h: Likewise.
11726 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
11727 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
11728 * sysdeps/s390/asm-syntax.h: Likewise.
11729 * sysdeps/s390/s390-32/sysdep.h: Likewise.
11730 * sysdeps/s390/s390-64/sysdep.h: Likewise.
11731 * sysdeps/sh/sysdep.h: Likewise.
11732 * sysdeps/unix/sparc/sysdep.h: Likewise.
11733 * sysdeps/wordsize-32/divdi3.c: Likewise.
11734 * sysdeps/x86_64/sysdep.h: Likewise.
11735
00bbd29b
UD
11736 * argp/Versions: Remove _argp_unlock_xxx.
11737
11738 [BZ #13559]
11739 * abilist/ld.abilist: Update. Adjust for removal of tls option.
11740 * abilist/libBrokenLocale.abilist: Likewise.
11741 * abilist/libanl.abilist: Likewise.
11742 * abilist/libc.abilist: Likewise.
11743 * abilist/libcrypt.abilist: Likewise.
11744 * abilist/libdl.abilist: Likewise.
11745 * abilist/libm.abilist: Likewise.
11746 * abilist/libnsl.abilist: Likewise.
11747 * abilist/libpthread.abilist: Likewise.
11748 * abilist/libresolv.abilist: Likewise.
11749 * abilist/librt.abilist: Likewise.
11750 * abilist/libthread_db.abilist: Likewise.
11751 * abilist/libutil.abilist: Likewise.
11752 * abilist/libnss_db.abilist: New file.
11753
11754 * scripts/abilist.awk: Add support for indirect functions.
11755
a2693a0e
UD
11756 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
11757
3f05895f
UD
11758 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
11759
ecb6fb48
UD
11760 * shlib-versions: Remove entries for ports architectures.
11761
664f8cb9
UD
11762 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
11763 files in ports.
11764 * elf/stackguard-macros.h: Remove support for IA-64.
11765 * elf/tst-auditmod1.c: Likewise.
11766 * sysdeps/generic/ldsodefs.h: Likewise.
11767
7ae81d88
UD
11768 * sysdeps/unix/sysv/linux/configure.in: Ports should define
11769 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
11770 configure files.
11771
bdeba135
UD
11772 [BZ #13552]
11773 * configure.in: Remove --enable-omitfp support.
11774 * FAQ.in: Adjust.
11775 * config.make.in: Likewise.
11776 * Makeconfig: Likewise.
11777 * manual/install.texi: Likewise.
11778
d75a0a62
UD
11779 In case anyone cares, the IA-64 architecture could move to ports.
11780 * sysdeps/ia64/*: Removed.
11781 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 11782 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 11783
dcc9756b
UD
11784 [BZ #13555]
11785 * configure.in: Remove entries for unsupported architectures.
11786
d3761ebc 11787 [BZ #13533]
9954432e
UD
11788 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
11789 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
11790 routines.
11791 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
11792 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
11793 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
11794 fall back to using wcrtomb.
11795 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
11796 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
11797 renaming.
11798 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
11799 * wcsmbs/tst-c16c32-1.c: New file.
11800
11801 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
11802 local variable.
11803
c3a87236
UD
11804 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
11805
28926a1b
UD
11806 * elf/tst-unique3.cc: Add explicit declaration of gets.
11807 * elf/tst-unique3lib.cc: Likewise.
11808 * elf/tst-unique3lib2.cc: Likewise.
11809 * elf/tst-unique4.cc: Likewise.
11810
df78418a
UD
11811 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
11812
8ecd6b2a
JM
118132012-01-06 Joseph Myers <joseph@codesourcery.com>
11814
11815 [BZ #13566]
11816 * assert/assert.h (static_assert): Don't define for C++.
11817 * libio/stdio.h (gets): Do declare for C++ <= C++11.
11818 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
11819
9f115170
UD
118202012-01-03 Ulrich Drepper <drepper@gmail.com>
11821
5e0d0300
UD
11822 * iconv/loop.c (single loop): Fix assertion in storing of
11823 remaining bytes.
11824
9f115170
UD
11825 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
11826
81fb02b0
UD
118272012-01-01 Ulrich Drepper <drepper@gmail.com>
11828
11829 * posix/getconf.c: Update copyright year.
11830 * nss/getent.c: Likewise.
a316c1f6 11831 * nss/makedb.c: Likewise.
81fb02b0
UD
11832 * iconv/iconvconfig.c: Likewise.
11833 * iconv/iconv_prog.c: Likewise.
11834 * elf/ldconfig.c: Likewise.
a316c1f6
UD
11835 * elf/pldd.c: Likewise.
11836 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
11837 * catgets/gencat.c: Likewise.
11838 * csu/version.c: Likewise.
11839 * elf/ldd.bash.in: Likewise.
11840 * elf/sprof.c (print_version): Likewise.
11841 * locale/programs/locale.c: Likewise.
11842 * locale/programs/localedef.c: Likewise.
a316c1f6 11843 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
11844 * nscd/nscd.c (print_version): Likewise.
11845 * debug/xtrace.sh: Likewise.
11846 * malloc/memusage.sh: Likewise.
11847 * malloc/mtrace.pl: Likewise.
11848 * debug/catchsegv.sh: Likewise.
11849
2ba92745
JJ
118502011-12-30 Jakub Jelinek <jakub@redhat.com>
11851
11852 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
11853 pure attribute.
11854
dadebdae
UD
118552011-12-24 Ulrich Drepper <drepper@gmail.com>
11856
d3761ebc 11857 [BZ #13533]
db6af3eb
UD
11858 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
11859 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
11860 transformations.
11861 * iconv/gconv_int.h: Likewise.
11862 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
11863 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
11864 from libc for GLIBC_2.16.
11865 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
11866 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
11867 * wcsmbs/uchar.h: Really define mbstate_t.
11868 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
11869 * wcsmbs/c16rtomb.c: New file.
11870 * wcsmbs/mbrtoc16.c: New file.
11871 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
11872 for C/POSIX locale.
11873 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
11874 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
11875
dadebdae
UD
11876 * wcsmbs/wchar.h: Add missing __restrict.
11877
67371b56
UD
118782011-12-23 Ulrich Drepper <drepper@gmail.com>
11879
74033a25
UD
11880 [BZ #13532]
11881 * time/Makefile (routines): Add timespec_get.
11882 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
11883 * time/time.h: Define TIME_UTC and declare timespec_get. Define
11884 timespec for ISO C11.
11885 * time/timespec_get.c: New file.
11886 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
11887 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
11888
380d7e87
UD
11889 [BZ #13531]
11890 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
11891 * stdlib/stdlib.h: Declare aligned_alloc.
11892 * Versions.def: Add GLIBC_2.16 for libc.
11893 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
11894
4e9e7a35
UD
11895 [BZ 13527]
11896 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
11897 ISO C11.
11898
380d7e87 11899 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
11900 code.
11901
03a71829
UD
11902 [BZ #13528]
11903 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
11904
839e283e
UD
11905 [BZ #13529]
11906 * assert/assert.h (static_assert): Define.
11907
ce5294e2 11908 * version.h: Update for 2.16 development version.
90fa7312 11909
8d44e150 11910 [BZ #13526]
d7809905
UD
11911 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
11912 _ISOC11_SOURCE.
11913
c0da14cd
UD
11914 * version.h (RELEASE): Bump for 2.15 release.
11915 * include/features.h (__GLIBC_MINOR__): Bump to 15.
11916
530a3249
MP
11917 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
11918 Patch by Marek Polacek <mpolacek@redhat.com>.
11919
67371b56
UD
11920 * bits/byteswap.h: Protect long long constants with __extension__.
11921 * sysdeps/i386/bits/byteswap.h: Likewise.
11922 * sysdeps/ia64/bits/byteswap.h: Likewise.
11923 * sysdeps/s390/bits/byteswap.h: Likewise.
11924 * sysdeps/x86_64/bits/byteswap.h: Likewise.
11925
15db4de1
LD
119262011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11927
11928 [BZ #13540]
bbe315ea
LD
11929 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
11930 destination buffer.
15db4de1
LD
11931 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
11932
2b2596b1
MP
119332011-12-23 Marek Polacek <polacek@redhat.com>
11934
11935 * elf/dl-addr.c (determine_info): Add inline keyword.
11936 * elf/tst-auditmod4b.c (check_avx): Likewise.
11937 * elf/tst-auditmod6b.c (check_avx): Likewise.
11938 * elf/tst-auditmod6c.c (check_avx): Likewise.
11939 * elf/tst-auditmod7b.c (check_avx): Likewise.
11940
70c6c246
UD
119412011-12-23 Ulrich Drepper <drepper@gmail.com>
11942
11943 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
11944 !__SSE_MATH__.
11945
c044cf14
LD
119462011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11947
15db4de1 11948 [BZ #13540]
c044cf14
LD
11949 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
11950 processing for last bytes.
11951
6b13d9d9
BH
119522011-08-06 Bruno Haible <bruno@clisp.org>
11953
d455f537
BH
11954 [BZ #13061]
11955 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
11956 U+0385, not to U+1FEE.
11957
6b13d9d9
BH
11958 [BZ #13062]
11959 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
11960 entry for U+00A5 U+0301.
11961
db910efd
UD
119622011-12-22 Ulrich Drepper <drepper@gmail.com>
11963
27deeafc
UD
11964 [BZ #13166]
11965 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
11966 buffer for the output is too small.
11967
aed9d171
UD
11968 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
11969 optimization.
11970
db910efd
UD
11971 [BZ #13185]
11972 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
11973 SSE flags if possible.
11974
2bd779ae
LD
119752011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11976
e7f9dac3 11977 [BZ #13540]
2bd779ae
LD
11978 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
11979 processing for last bytes.
11980
154bfc16
JM
119812011-12-22 Joseph Myers <joseph@codesourcery.com>
11982
11983 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
11984 (syscall-list-default-options, syscall-list-default-condition)
11985 (syscall-list-includes): Define.
11986 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
11987 list of ABIs and options and #if conditions for each ABI. Do not
11988 handle common syscalls between ABIs specially.
11989 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
11990 Remove.
11991 (syscall-list-variants, syscall-list-32bit-options)
11992 (syscall-list-32bit-condition, syscall-list-64bit-options)
11993 (syscall-list-64bit-condition): Define.
11994 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
11995 (syscall-list-variants, syscall-list-32bit-options)
11996 (syscall-list-32bit-condition, syscall-list-64bit-options)
11997 (syscall-list-64bit-condition): Define.
11998 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
11999 Remove.
12000 (syscall-list-variants, syscall-list-32bit-options)
12001 (syscall-list-32bit-condition, syscall-list-64bit-options)
12002 (syscall-list-64bit-condition): Define.
12003 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
12004 Remove.
12005 (syscall-list-variants, syscall-list-32bit-options)
12006 (syscall-list-32bit-condition, syscall-list-64bit-options)
12007 (syscall-list-64bit-condition): Define.
12008
21eaf3a5
UD
120092011-12-22 Ulrich Drepper <drepper@gmail.com>
12010
16c6f992
UD
12011 * locale/iso-639.def: Add brx entry.
12012
41043168
UD
12013 [BZ #13328]
12014 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
12015 Proposed by Mariusz_Cukr <marcukr@op.pl>.
12016
21eaf3a5
UD
12017 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
12018 __feraiseexcept_renamed.
12019
e3a851a2
UD
120202011-12-21 Ulrich Drepper <drepper@gmail.com>
12021
4920765e
UD
12022 [BZ #13538]
12023 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
12024 EPOLLET with unsigned values.
12025 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
12026 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
12027
e3a851a2
UD
12028 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
12029 to large cancellation.
12030 * math/s_cacoshf.c: Likewise.
12031 * math/s_cacoshl.c: Likewise.
12032
b27e24b8
RK
120332011-11-18 Richard B. Kreckel <kreckel@ginac.de>
12034
12035 [BZ #13305]
aebefeee 12036 [BZ #12786]
b27e24b8
RK
12037 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
12038 * math/s_cacoshf.c: Likewise.
12039 * math/s_cacoshl.c: Likewise.
12040
ee190f67
UD
120412011-12-21 Ulrich Drepper <drepper@gmail.com>
12042
12043 [BZ #13439]
12044 * iconv/gconv.h: Define __GCONV_SWAP.
12045 * iconvdata/unicode.c: The swap bit must be stored in __flags.
12046 * iconvdata/utf-16.c: Likewise.
12047 * iconvdata/utf-32.c: Likewise.
12048
707f25df
AS
120492011-12-21 Andreas Schwab <schwab@linux-m68k.org>
12050
12051 [BZ #13524]
12052 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
12053 numerator after shifting it by one limb.
12054
d2daaa1e
RÁE
120552011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
12056
12057 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
12058 under [__USE_EXTERN_INLINES].
12059
a4647e72
UD
120602011-12-17 Ulrich Drepper <drepper@gmail.com>
12061
12062 [BZ #13446]
12063 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
12064
f0b264f1
AZ
120652011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12066
12067 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
12068 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
12069 optimized code.
12070 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
12071 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
12072 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
12073 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
12074 for strncasecmp/strncasecmp_l compilation.
12075 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
12076 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
12077
8ef4f244
MP
120782011-12-08 Marek Polacek <mpolacek@redhat.com>
12079
12080 [BZ #13484]
12081 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
12082 of __asm__.
12083
97ac2654
UD
120842011-12-17 Ulrich Drepper <drepper@gmail.com>
12085
12086 [BZ #13506]
12087 * time/tzfile.c (__tzfile_read): Check values from file header.
12088
91d2a845
WS
120892011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
12090
12091 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
12092 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
12093 * powerpc/powerpc32/dl-start.S: Likewise.
12094 * powerpc/powerpc32/elf/start.S: Likewise.
12095 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
12096 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
12097 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
12098 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
12099 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
12100 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
12101 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
12102 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
12103 * powerpc/powerpc32/fpu/s_round.S: Likewise.
12104 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
12105 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
12106 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
12107 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
12108 * powerpc/powerpc32/memset.S: Likewise.
12109 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
12110 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
12111 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
12112 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
12113 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
12114 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
12115 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
12116 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
12117 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
12118 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
12119 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
12120 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
12121 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
12122
a1267ba1
AZ
121232011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12124
12125 * math/libm-test.inc: Added more nearbyint tests.
12126 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
12127 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
12128 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
12129 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
12130
ad8ac1bd
RL
121312011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
12132
12133 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
12134 FD_CLOEXEC.
12135
1d3e4b61
UD
121362011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12137
12138 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
12139 Add wcscpy-ssse3 wcscpy-c.
12140 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
12141 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
12142 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
12143 * sysdeps/x86_64/wcschr.S: New file.
12144 * sysdeps/x86_64/wcsrchr.S: New file.
12145 * string/test-strcmp.c: Remove checking of wcscmp function for
12146 wrong alignments.
12147 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
12148 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
12149 wcsrchr-sse2 wcsrchr-c.
12150 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
12151 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
12152 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
12153 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
12154 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
12155 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
12156 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
12157 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
12158 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
12159 * wcsmbc/wcschr.c (WCSCHR): New macro.
12160
5b330a2d
UD
121612011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12162
12163 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
12164 * wcsmbs/test-wcsrchr.c: New file.
12165 * string/test-strrchr.c: Add wcsrchr support.
12166 (WIDE): New macro.
12167 * wcsmbs/test-wcscpy.c: New file.
12168 * string/test-strcpy.c: Add wcscpy support.
12169 (WIDE): New macro.
26428b7c 12170
f039c043
UD
121712011-12-10 Ulrich Drepper <drepper@gmail.com>
12172
12173 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
12174 the inner loop.
12175
850fb039
AS
121762011-12-06 Andreas Schwab <schwab@linux-m68k.org>
12177
12178 [BZ #13472]
12179 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
12180
4efbd5cb
UD
121812011-12-04 Ulrich Drepper <drepper@gmail.com>
12182
52ff5dd0 12183 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 12184 Minor optimizations.
52ff5dd0 12185
4efbd5cb
UD
12186 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
12187 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
12188 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
12189
8a426e12
UD
121902011-12-03 Ulrich Drepper <drepper@gmail.com>
12191
aff2453d
UD
12192 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
12193 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
12194 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
12195 for gcc to avoid warnings.
12196 * inet/Makefile (tests): Add tst-checks.
12197 * inet/tst-checks.c: New file.
12198
12199 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
12200 warning.
12201
12202 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
12203 __wmemcmp_sse2.
12204
12205 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
12206 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
12207
8a426e12
UD
12208 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
12209
9bea3473
UD
122102011-12-02 Ulrich Drepper <drepper@gmail.com>
12211
3a965496
UD
12212 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
12213 problem.
12214
9bea3473
UD
12215 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
12216
f101631b
UD
122172011-11-29 Joseph Myers <joseph@codesourcery.com>
12218
12219 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
12220 conditional on GCC version.
12221 (__arch_compare_and_exchange_val_8_acq)
12222 (__arch_compare_and_exchange_val_16_acq)
12223 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
12224 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
12225 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
12226
a98275aa
UD
122272011-12-02 Joseph Myers <joseph@codesourcery.com>
12228
12229 * sysdeps/sh/backtrace.c: New file.
12230
d4cc29a2
AS
122312011-12-02 Andreas Schwab <schwab@redhat.com>
12232
12233 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
12234 parenthesis.
12235
6257af2d
AS
122362011-12-01 Andreas Schwab <schwab@redhat.com>
12237
12238 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
12239 falling back to utime.
12240
b5f44c1a
AS
122412011-11-30 Andreas Schwab <schwab@redhat.com>
12242
12243 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
12244 expectations for float.
12245
f3a6cc0a
AS
122462011-11-29 Andreas Schwab <schwab@redhat.com>
12247
12248 * locale/weight.h (findidx): Add parameter len.
12249 * locale/weightwc.h (findidx): Likewise.
12250 * posix/fnmatch_loop.c (FCT): Adjust caller.
12251 * posix/regcomp.c (build_equiv_class): Likewise.
12252 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
12253 * posix/regexec.c (check_node_accept_bytes): Likewise.
12254 * string/strcoll_l.c (STRCOLL): Likewise.
12255 * string/strxfrm_l.c (STRXFRM): Likewise.
12256
9d65ea3a
UD
122572011-11-17 Ulrich Drepper <drepper@gmail.com>
12258
12259 * Makefile.in: Remove CVSOPT handling.
12260 * configure.in: Remove use of AC_REVISION.
12261 * iconvdata/Makefile (distribute): No need to filter out CVS.
12262 * scripts/list-sources.sh: Remove CVS, subversion and monotone
12263 handling.
12264
5583a086
AS
122652011-11-16 Andreas Schwab <schwab@redhat.com>
12266
12267 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
12268 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
12269 [USE_AS_STRNCASECMP_L]: Likewise.
12270 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
12271 NO_TLS_DIRECT_SEG_REFS.
12272 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
12273 Fix argument offsets for non-PIC.
12274 [USE_AS_STRNCASECMP_L]: Likewise.
12275 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
12276 NO_TLS_DIRECT_SEG_REFS.
12277
d62a8200
UD
122782011-11-15 Ulrich Drepper <drepper@gmail.com>
12279
9d65ea3a 12280 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
12281 O_CLOEXEC.
12282 * locale/loadlocale.c (_nl_load_locale): Likewise.
12283
09f93bd3
AS
122842011-11-15 Andreas Schwab <schwab@redhat.com>
12285
446514f9
AS
12286 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
12287 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
12288 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
12289 (SYSCALL_GETTIME): Set errno on error.
12290
09f93bd3
AS
12291 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
12292 count references to noai6ai_cached.
12293
312be3f9
UD
122942011-11-15 Ulrich Drepper <drepper@gmail.com>
12295
12296 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
12297
12298 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
12299 FD_CLOEXEC for /proc/self/maps.
12300
12301 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
12302 FD_CLOEXEC for /proc/meminfo.
12303
12304 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
12305 gai.conf.
12306
12307 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
12308 FD_CLOEXEC for given file.
12309
12310 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
12311
12312 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
12313 FD_CLOEXEC for /etc/hosts.
12314 (_gethtent): Likewise.
12315
12316 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
12317
12318 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
12319 cancellation and set FD_CLOEXEC for /etc/netgroup.
12320
12321 * nss/nss_files/files-key.c (search): Don't allow cancellation when
12322 reading /etc/publickey.
12323
12324 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
12325 allow cancellation when reading /etc/group.
12326
12327 * nss/nss_files/files-alias.c (internal_setent): Don't allow
12328 cancellation.
12329 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
12330
12331 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
12332 when using data file.
12333
12334 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
12335
12336 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
12337 (write_nis_obj): Use "c" and "e" in fopen.
12338
12339 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
12340
12341 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
12342
12343 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
12344
12345 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
12346
12347 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
12348 locale.alias.
12349
12350 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
12351
12352 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
12353
12354 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
12355
12356 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
12357 file parsing and set FD_CLOEXEC.
12358
82af0fa8
UD
123592011-11-14 Ulrich Drepper <drepper@gmail.com>
12360
12361 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
12362
a5fb313c
AS
123632011-11-14 Andreas Schwab <schwab@redhat.com>
12364
12365 * malloc/arena.c (arena_get2): Don't call reused_arena when
12366 _int_new_arena failed.
12367
6abf3465
UD
123682011-11-14 Ulrich Drepper <drepper@gmail.com>
12369
12370 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
12371 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
12372 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
12373 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
12374 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12375 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
12376 to compile strcasecmp and strncasecmp.
12377 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
12378 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
12379
12380 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
12381
76e3966e
UD
123822011-11-13 Ulrich Drepper <drepper@gmail.com>
12383
12384 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
12385 locale-defines.sym to gen-as-const-headers.
12386 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
12387 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
12388 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
12389 to compile strcasecmp and strncasecmp.
12390 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
12391 strcasecmp_l and strncasecmp_l.
12392 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
12393 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
12394 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
12395 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
12396 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
12397 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
12398 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
12399 * sysdeps/i386/i686/multiarch/strncase.S: New file.
12400 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
12401 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
12402 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
12403
ab26144e
UD
124042011-11-12 Ulrich Drepper <drepper@gmail.com>
12405
7edb22ef
UD
12406 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
12407 result of SYSDEP_GETTIME_CPU to retval.
12408 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
12409 parameter list to macro. Remove trailing semicolon. Adjust users.
12410
9694fc44
UD
12411 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
12412 variable.
12413
8ad89ef8
UD
12414 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
12415 mantissa words.
12416 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
12417
0c822ef9
UD
12418 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
12419 from unused variable.
12420
874e0564
UD
12421 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
12422 DWARF definitions.
12423 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
12424 for assembling.
12425
3a2edc79
UD
12426 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
12427 over namespaces.
12428
f3c2577f
UD
12429 * sunrpc/rpc_prot.c (rejected): Fix case value.
12430
294ce126
UD
12431 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
12432 unsigned long long int to avoid warnings in shift.
12433
5e2b63c6
UD
12434 * posix/regex_internal.c (re_string_reconstruct): Actually use result
12435 of use of trans.
12436 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
12437 variable tmp.
12438
e7f4b08e
UD
12439 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
12440 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
12441 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
12442
ab26144e
UD
12443 * nis/nis_table.c (nis_list): Use variable of correct type for
12444 result of __follow_path call.
12445
8a6d5255
AZ
124462011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12447
12448 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
12449 of math functions ceil, trunc, floor, round, and sqrt, when
12450 avaliable on the platform.
12451 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
12452 name clash.
12453 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
12454 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
12455 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
12456
aaddc98c
MP
124572011-10-30 Marek Polacek <mpolacek@redhat.com>
12458
12459 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
12460 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
12461
95b7042b
RM
124622011-11-11 Roland McGrath <roland@hack.frob.com>
12463
12464 * include/unistd.h: Fix __readlink return type.
12465 Reported by Chris Metcalf <cmetcalf@tilera.com>.
12466
57769839
UD
124672011-11-11 Ulrich Drepper <drepper@gmail.com>
12468
12469 * stdlib/ucontext.h: Undo last change for makecontext.
12470
edc5984d
AS
124712011-11-11 Andreas Schwab <schwab@redhat.com>
12472
98591e58
AS
12473 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
12474
edc5984d
AS
12475 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
12476 * setjmp/setjmp.h: Mark functions as non-leaf.
12477 * setjmp/bits/setjmp2.h: Likewise.
12478 * stdlib/ucontext.h: Likewise.
12479
77cdc054
AS
124802011-11-10 Andreas Schwab <schwab@redhat.com>
12481
12482 * malloc/arena.c (_int_new_arena): Don't increment narenas.
12483 (reused_arena): Don't check arena limit.
12484 (arena_get2): Atomically check arena limit.
12485
fe72eebd
UD
124862011-11-08 Ulrich Drepper <drepper@gmail.com>
12487
5f078c32
UD
12488 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
12489 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
12490
fe72eebd
UD
12491 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
12492 instructions.
12493
ae1bc2fa
AS
124942011-11-07 Andreas Schwab <schwab@redhat.com>
12495
7583a88d
AS
12496 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
12497 handler when locking.
12498
ae1bc2fa
AS
12499 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
12500 Fix size of allocated buffer.
12501
10fb0bfa
AS
125022011-11-04 Andreas Schwab <schwab@redhat.com>
12503
998832a4
AS
12504 [BZ #10103]
12505 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
12506 declarations for long double functions.
12507 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
12508
10fb0bfa
AS
12509 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
12510
3d7ba52b
AS
125112011-11-03 Andreas Schwab <schwab@redhat.com>
12512
a9ae54a1
AS
12513 * nscd/nscd.c (main): Don't start AVC thread until credentials are
12514 installed.
12515
3d7ba52b
AS
12516 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
12517 is disabled.
12518
bc8db248
ST
125192011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
12520
12521 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
12522
45b96dd6
AS
125232011-11-01 Andreas Schwab <schwab@linux-m68k.org>
12524
647776f6
AS
12525 * include/alloca.h (stackinfo_alloca_round): Define.
12526 (extend_alloca): Use it.
12527 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
12528 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
12529 here.
12530
d91a8b93
AS
12531 * scripts/check-local-headers.sh: Ignore libaudit.h.
12532
45b96dd6
AS
12533 * nscd/Makefile (extra-objs): Make recursively expanded.
12534
432d41ce
UD
125352011-11-01 Ulrich Drepper <drepper@gmail.com>
12536
34372fc6
UD
12537 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
12538 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
12539
fadb59f8
UD
12540 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
12541 * posix/tst-rfc3484-2.c: Likewise.
12542 * posix/tst-rfc3484-3.c: Likewise.
12543
78239589
UD
12544 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
12545 process_vm_writev.
12546 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
12547 process_vm_writev.
12548 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
12549 process_vm_writev from libc using GLIBC_2.15 version.
12550
432d41ce
UD
12551 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
12552
02f9c6cf
PP
125532011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
12554
12555 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
12556 stack usage.
12557
3a2c0242
UD
125582011-10-31 Ulrich Drepper <drepper@gmail.com>
12559
f4ec4833
UD
12560 [BZ #13367]
12561 * nss/getent.c (initgroups_keys): Show error message in case no group
12562 names are given.
12563
3a2c0242
UD
12564 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
12565 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
12566 __bump_nl_timestamp.
12567 * nscd/connections (nscd_init): When host database is served open
12568 netlink socket and request notification about configuration changes.
12569 (main_loop_poll): Track netlink file descriptor and bump timestamp
12570 in case data becomes available.
12571 (main_loop_epoll): Likewise.
12572 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
12573 (database_pers_head): Add extra_data fileds.
12574 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
12575 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
12576 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
12577 Adjust caller.
12578 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
12579 in6ai data, call __free_in6ai.
12580 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
12581 Add -DHAVE_NETLINK.
12582 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
12583 interface information. Reuse previous data if netlink timestamp
12584 is not changed.
12585 (__bump_nl_timestamp): New function.
12586 (__free_in6ai): New function.
12587
636064eb
UD
125882011-10-30 Ulrich Drepper <drepper@gmail.com>
12589
12590 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
12591 close_not_cancel_no_status here.
12592 (__check_pf): Reorganize code a bit to not call close twice if OOM.
12593
9beb2334
UD
125942011-10-29 Ulrich Drepper <drepper@gmail.com>
12595
6ef76f3b
UD
12596 [BZ #13276]
12597 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
12598 return value.
12599
0ffc4f3e 12600 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
12601 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
12602 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
12603
cb95113e
UD
126042011-07-03 Andreas Jaeger <aj@suse.de>
12605
12606 [BZ #10709]
12607 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
12608 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
12609 * math/libm-test.inc (sin_test): Add test case.
12610
a1b560ff
UD
126112011-10-29 Ulrich Drepper <drepper@gmail.com>
12612
c9aaface
UD
12613 [BZ #13337]
12614 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
12615 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
12616
d272e7f1
UD
12617 * elf/chroot_canon.c (chroot_canon): Cleanups.
12618
1bc33071
UD
12619 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
12620
1760874d
TJ
12621 [BZ #13335]
12622 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
12623 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
12624
51d91b18
UD
12625 * string/test-strchr.c: Make usable for strchrnul testing.
12626 * string/test-strchrnul.c: New file.
12627 * string/Makefile (strop-tests): Add strchrnul.
12628
a1b560ff 12629 * po/it.po: Update from translation team.
b611fb81 12630 * po/es.po: Likewise.
a1b560ff 12631
a5b81e1f
UD
126322011-10-28 Ulrich Drepper <drepper@gmail.com>
12633
fd52bc6d
UD
12634 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
12635 the three constants needed as parameters. Drop the others.
12636 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
12637 __m128i_strloadu_tolower.
52e4b9eb
UD
12638 Create and initialize variable zero and use it in all the places
12639 where _mm_setzero_si128 was used.
fd52bc6d 12640
a5b81e1f
UD
12641 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
12642 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
12643 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
12644 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
12645 anymore.
12646 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
12647 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
12648 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
12649 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
12650 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
12651 __mpranred, __mptan.
12652 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
12653 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
12654 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
12655 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
12656 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
12657 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
12658 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
12659 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
12660 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
12661
b4343346
AS
126622011-10-28 Andreas Schwab <schwab@redhat.com>
12663
0c92d8a8
AS
12664 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
12665 redefine if SHARED.
12666 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
12667
b4343346
AS
12668 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
12669 wide char related routines to wcsmbs subdir.
12670
3871f58f
AS
126712011-10-27 Andreas Schwab <schwab@redhat.com>
12672
12673 [BZ #13344]
12674 * misc/sys/cdefs.h (__THROWNL): Define.
12675 * posix/unistd.h: Use __THREADNL instead of __THREAD
12676 for memory synchronization functions.
12677
94d44d9f
RM
126782011-10-26 Roland McGrath <roland@hack.frob.com>
12679
21b64b15 12680 [BZ #13349]
94d44d9f
RM
12681 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
12682 doesn't exist.
12683 * manual/stdio.texi (Obstack Streams): Node removed.
12684
f6ce9294
AS
126852011-10-26 Andreas Schwab <schwab@redhat.com>
12686
80479147
AS
12687 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
12688 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
12689 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
12690
f6ce9294
AS
12691 * math/math_private.h (math_force_eval): Allow non-addressable
12692 arguments.
12693 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
12694
618280a1
UD
126952011-10-25 Ulrich Drepper <drepper@gmail.com>
12696
e0016b11
UD
12697 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
12698 file is not needed.
12699
12700 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
12701 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
12702 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
12703 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
12704 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
12705 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
12706 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
12707 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
12708 Add AVX variants.
12709 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
12710 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
12711 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
12712 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
12713 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
12714 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
12715 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
12716 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
12717 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
12718 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
12719 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
12720 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
12721 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
12722 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
12723 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
12724 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
12725 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
12726 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
12727 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
12728
12729 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
12730 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
12731
618280a1
UD
12732 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
12733 place. Use VEX encoding when compiling for AVX.
12734
37822576
AS
127352011-10-25 Andreas Schwab <schwab@redhat.com>
12736
1f1e1947
AS
12737 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
12738 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
12739
37822576
AS
12740 * string/test-strchr.c (do_test): Don't generate NUL bytes.
12741
31ea014d
UD
127422011-10-25 Ulrich Drepper <drepper@gmail.com>
12743
d7826aa1 12744 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 12745 useless if() expression.
d7826aa1
UD
12746 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
12747 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
12748 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12749 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12750 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12751 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
12752 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
12753 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
12754 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
12755 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
12756 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
12757 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
12758 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
12759 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
12760 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
12761 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
12762 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
12763 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
12764 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
12765
31ea014d
UD
12766 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
12767
16437fec
AS
127682011-10-25 Andreas Schwab <schwab@redhat.com>
12769
12770 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
12771 condition.
12772 * elf/dl-fini.c (_dl_sort_fini): Likewise.
12773
31d3cc00
UD
127742011-10-25 Ulrich Drepper <drepper@gmail.com>
12775
12776 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
12777 .text section. Avoid duplicate constants.
12778 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
12779 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12780 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
12781 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12782 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12783 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12784 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12785 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12786 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
12787 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
12788 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
12789 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
12790 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
12791 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
12792 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
12793 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
12794 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
12795 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
12796 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12797 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12798 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
12799 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
12800 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
12801 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
12802 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
12803 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
12804 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
12805 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
12806 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
12807 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
12808 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
12809 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
12810 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
12811 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
12812 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
12813 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
12814 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
12815 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
12816 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
12817 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
12818 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
12819 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
12820 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
12821 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
12822 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
12823
58985aa9
UD
128242011-10-24 Ulrich Drepper <drepper@gmail.com>
12825
202c9deb
UD
12826 * sysdeps/x86_64/dla.h: Move to ...
12827 * sysdeps/x86_64/fpu/dla.h: ...here.
12828 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
12829 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 12830
af968f62
UD
12831 * config.make.in: Add have-mfma4 entry.
12832 * configure.in: Substitute libc_cv_cc_fma4.
12833 * math/Makefile (dbl-only-routines): Add sincostab.
12834 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
12835 Use __sincostab not sincos.
12836 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
12837 name is a macro.
12838 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12839 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12840 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12841 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
12842 using __copysign.
12843 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
12844 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
12845 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
12846 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
12847 and __inv.
12848 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
12849 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
12850 __copysign.
12851 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
12852 define aliases when function name is a macro.
12853 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
12854 sysdeps/ieee754/dbl-64/sincos.tbl.
12855 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
12856 fma4-enabled routines.
12857 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
12858 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
12859 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
12860 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
12861 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
12862 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
12863 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
12864 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
12865 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
12866 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
12867 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
12868 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
12869 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
12870 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
12871 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
12872 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
12873 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
12874 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
12875 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
12876 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
12877 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
12878 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
12879 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
12880 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
12881 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
12882 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
12883 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
12884 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
12885 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
12886 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
12887
58985aa9
UD
12888 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
12889 rename.
12890 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12891 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12892 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12893 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12894 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12895 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12896 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12897 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12898
a201fbcf
AS
128992011-10-24 Andreas Schwab <schwab@redhat.com>
12900
12901 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
12902
fc2ee42a
LD
129032011-10-23 Ulrich Drepper <drepper@gmail.com>
12904
bb3129bd
UD
12905 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
12906
0275fff8
UD
12907 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
12908 prediction.
12909 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
12910
2fa2ae85
UD
12911 * string/strnlen.c: Don't define STRNLEN, reverse logic.
12912 Remove unused variable magic_bits.
12913 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
12914
fc2ee42a
LD
12915 * string/strnlen.c: Define and use STRNLEN macro.
12916 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
12917 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
12918 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
12919 * wcsmbs/wcslen.c: Define and use WCSLEN.
12920 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
12921 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
12922 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
12923 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
12924 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
12925 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
12926 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
12927
ce7dd29f
LD
129282011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12929
12930 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12931 strnlen-sse2-no-bsf.
12932 Rename strlen-no-bsf to strlen-sse2-no-bsf.
12933 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
12934 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
12935 Add strnlen support.
12936 (USE_AS_STRNLEN): New macro.
12937 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
12938 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
12939 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
12940 * sysdeps/x86_64/wcslen.S: New file.
12941
979c70a3
MZ
129422011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
12943
12944 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
12945 XMM-moves are used for copying on small sizes.
12946
2d09f82f
LD
129472011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12948
12949 * wcsmbs/Makefile (strop-tests): Add wcschr.
12950 * wcsmbs/test-wcschr.c: New file.
12951 * string/test-strchr.c: Update.
12952 Add wcschr support.
12953 (WIDE): New macro.
12954
619fccca
LD
129552011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12956
2d09f82f 12957 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
12958 * wcsmbs/test-wcslen.c: New file.
12959 * string/test-strlen.c: Update.
12960 Add wcslen support.
12961 (WIDE): New macro.
12962
09f699ea
UD
129632011-10-23 Ulrich Drepper <drepper@gmail.com>
12964
12965 * po/it.po: Update from translation team.
12966
95584d3b
LD
129672011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12968
12969 * sysdeps/x86_64/wcscmp.S: Update.
12970 Fix wrong comparison semantics.
12971 wcscmp shall use signed comparison not unsigned.
12972 Don't use substraction to avoid overflow bug.
12973 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
12974 * wcsmbc/wcscmp.c: Likewise.
12975 * string/test-strcmp.c: Likewise.
12976 Add new tests to check cases with negative values.
12977
c8b3296b
UD
129782011-10-23 Ulrich Drepper <drepper@gmail.com>
12979
12980 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
12981 * sysdeps/x86_64/dla.h: ...here. New file.
12982 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
12983 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12984 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12985 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12986 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12987 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12988 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12989 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12990 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12991
246ad57a
AS
129922011-10-23 Andreas Schwab <schwab@linux-m68k.org>
12993
12994 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
12995 __ynl_finite aliases.
12996
a1a87169
UD
129972011-10-22 Ulrich Drepper <drepper@gmail.com>
12998
0d355eb7
UD
12999 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13000
a1a87169
UD
13001 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
13002 define DLA_FMA.
13003 [DLA_FMA] (EMULV): Use DLA_FMA.
13004 [DLA_FMA] (MUL12): Use EMULV.
13005 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
13006 that are not needed.
13007 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13008 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13009 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13010 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13011 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13012 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13013 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13014
ee2aafe0
AS
130152011-10-22 Andreas Schwab <schwab@linux-m68k.org>
13016
13017 * math/s_nan.c: Undef __nan.
13018 * math/s_nanf.c: Undef __nanf.
13019 * math/s_nanl.c: Undef __nanl.
13020 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
13021 "math_private.h".
13022
bc62c2fb
UD
130232011-10-22 Ulrich Drepper <drepper@gmail.com>
13024
77425c63
UD
13025 * math/s_catan.c: Add branch predictions.
13026 * math/s_catanf.c: Likewise.
13027 * math/s_catanh.c: Likewise.
13028 * math/s_catanhf.c: Likewise.
13029 * math/s_catanhl.c: Likewise.
13030 * math/s_catanl.c: Likewise.
13031 * math/s_cexp.c: Likewise.
13032 * math/s_cexpf.c: Likewise.
13033 * math/s_cexpl.c: Likewise.
13034 * math/s_clog.c: Likewise.
13035 * math/s_clog10.c: Likewise.
13036 * math/s_clog10f.c: Likewise.
13037 * math/s_clog10l.c: Likewise.
13038 * math/s_clogf.c: Likewise.
13039 * math/s_clogl.c: Likewise.
13040 * math/s_csqrt.c: Likewise.
13041 * math/s_csqrtf.c: Likewise.
13042 * math/s_csqrtl.c: Likewise.
13043 * math/s_ctanf.c: Likewise.
13044 * math/s_ctanh.c: Likewise.
13045 * math/s_ctanhf.c: Likewise.
13046 * math/s_ctanhl.c: Likewise.
13047 * math/s_ctanl.c: Likewise.
13048
bc62c2fb
UD
13049 * math/math_private.h: Define __nan, __nanf, __nanl.
13050 * math/s_cacosh.c: Include <math_private.h>.
13051 * math/s_cacoshl.c: Likewise.
13052 * math/s_casinh.c: Likewise.
13053 * math/s_casinhf.c: Likewise.
13054 * math/s_casinhl.c: Likewise.
13055 * math/s_ccos.c: Rely entire on ccosh.
13056 * math/s_ccosf.c: Rely entire on ccoshf.
13057 * math/s_ccosl.c: Rely entirely on ccoshl.
13058 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
13059 Remove tests for FE_INVALID.
13060 * math/s_ccoshf.c: Likewise.
13061 * math/s_ccoshl.c: Likewise.
13062 * math/s_csin.c: Likewise.
13063 * math/s_csinf.c: Likewise.
13064 * math/s_csinh.c Likewise.
13065 * math/s_csinhf.c: Likewise.
13066 * math/s_csinhl.c: Likewise.
13067 * math/s_csinl.c: Likewise.
13068 * math/s_ctan.c: Likewise.
13069 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
13070 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
13071 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
13072
8ec250a4
UD
130732011-10-21 Ulrich Drepper <drepper@gmail.com>
13074
c196fed8
UD
13075 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
13076 compilation problems.
13077
8ec250a4
UD
13078 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
13079 __builtin_expect.
13080
8d4f46c6
UD
130812011-10-20 Ulrich Drepper <drepper@gmail.com>
13082
ed72b654
UD
13083 * sysdeps/i386/configure.in: Test for -mfma4 option.
13084 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
13085 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
13086 COMMON_CPUID_INDEX_80000001.
13087 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
13088 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
13089 use it if FMA3 is not supported.
13090 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
13091
8d4f46c6
UD
13092 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
13093 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
13094
d45c60c2
AS
130952011-10-20 Andreas Schwab <schwab@redhat.com>
13096
13097 [BZ #12892]
13098 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
13099 it would create a cycle with a link time dependency.
13100
d9a4d2ab
UD
131012011-10-19 Ulrich Drepper <drepper@gmail.com>
13102
855d1560
UD
13103 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
13104 instruction.
13105 * string/Makefile (strop-tests): Add rawmemchr.
13106 * string/test-rawmemchr.c: New file.
13107
d9a4d2ab
UD
13108 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
13109 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
13110 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
13111 when compiling str{,n}casecmp and when AVX is available. Hook up
13112 new optimized code in initializers.
13113
8f3b1ffe
AS
131142011-10-19 Andreas Schwab <schwab@redhat.com>
13115
13116 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
13117 __feraiseexcept instead of feraiseexcept.
13118
d38f1dba
UD
131192011-10-18 Ulrich Drepper <drepper@gmail.com>
13120
d9a8d0ab
UD
13121 * math/math_private.h: Define defaults for libc_fetestexcept and
13122 libc_feupdateenv.
13123 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
13124 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
13125 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
13126 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
13127 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
13128 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
13129 libc_fetestexcept and libc_feupdateenv.
13130
4855e3dd
UD
13131 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
13132 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
13133 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
13134 * sysdeps/x86_64/fpu/math_private.h: Define special version of
13135 libc_feholdexcept_setround.
13136
581d30e3
UD
13137 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
13138 Add s_nearbyint-c and s_nearbyintf-c.
13139 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
13140 nearbyintf inlines.
13141 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
13142 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
13143 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
13144 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
13145
d38f1dba
UD
13146 * math/math_private.h: Define defaults for libc_fegetround,
13147 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
13148 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
13149 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
13150 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
13151 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
13152 standard functions.
13153 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13154 Remove comments and hacks for old compiler versions.
13155 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
13156 libc_fegetround, libc_fesetround, libc_feholdexcept, and
13157 libc_feholdexceptl.
13158
caa6c9d8
AS
131592011-10-18 Andreas Schwab <schwab@redhat.com>
13160
13161 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
13162 (__feraiseexcept_renamed): Add __NTH.
13163 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
13164 namespace violations.
13165
97c066e6
UD
131662011-10-17 Ulrich Drepper <drepper@gmail.com>
13167
99ce7b04
UD
13168 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
13169
1004d182
UD
13170 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
13171
228a984d
UD
13172 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
13173 recently added interfaces.
13174 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
13175
c8553a6a
UD
13176 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
13177 about macro parameter expansion.
13178
ed22dcf6
UD
13179 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
13180 __NO_MATH_INLINES is defined. Cleanups.
13181
13182 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
13183 and __floorf is target has SSE4.1.
13184 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
13185 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
13186 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
13187 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
13188
b171c137
UD
13189 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
13190 name.
13191 (floorf): Likewise.
13192
97c066e6
UD
13193 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
13194
629f62ef
AS
131952011-10-17 Andreas Schwab <schwab@redhat.com>
13196
49a43d80
AS
13197 * misc/sys/cdefs.h: Fix last change.
13198
629f62ef
AS
13199 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
13200 database lookup.
13201
e453f6cd
UD
132022011-10-16 Ulrich Drepper <drepper@gmail.com>
13203
aa78043a
UD
13204 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
13205
ad0f5cad
UD
13206 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
13207 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13208 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
13209 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
13210 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13211 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
13212 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
13213 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
13214 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
13215 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
13216 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
13217 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
13218 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
13219 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
13220 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
13221 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
13222 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
13223 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
13224 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
13225 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
13226 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
13227 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
13228
13229 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
13230 ceil, ceilf, floor, floorf.
13231
13232 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
13233 Perform IRELATIVE relocations last.
13234
e453f6cd
UD
13235 * elf/do-rel.h: Add another parameter nrelative, replacing the
13236 local variable with the same name. Change name of the function
13237 to end in Rel or Rela (uppercase).
13238 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
13239 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
13240 elf_dynamic_do_##reloc function.
13241
fd5bdc09
UD
132422011-10-15 Ulrich Drepper <drepper@gmail.com>
13243
79b195b5
UD
13244 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
13245 is sufficient, at least on modern CPUs.
13246
d4a28569
UD
13247 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
13248
b61099b5
UD
13249 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
13250 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
13251
bcf01e6d
UD
13252 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
13253 __expl_finite.
13254 * math/bits/math-finite.h: Add entries for exp.
13255 * math/e_expl.c: Add __*_finite alias.
13256 * sysdeps/i386/fpu/e_exp.S: Likewise.
13257 * sysdeps/i386/fpu/e_expf.S: Likewise.
13258 * sysdeps/i386/fpu/e_expl.c: Likewise.
13259 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13260 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
13261 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13262 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
13263 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
13264 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
13265 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
13266
ba1a0d59
UD
13267 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
13268 is sufficient, at least on modern CPUs.
13269
fd5bdc09
UD
13270 * ctype/ctype-info.c (__ctype_init): Define.
13271 * include/ctype.h (__ctype_init): Declare.
13272 (__ctype_b_loc): The variable is always initialized.
13273 (__ctype_toupper_loc): Likewise.
13274 (__ctype_tolower_loc): Likewise.
13275 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
13276 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
13277
7872cfb0
AS
132782011-10-15 Andreas Schwab <schwab@linux-m68k.org>
13279
b468825a
AS
13280 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
13281
7872cfb0
AS
13282 * configure.in: Also look in $cxxmachine/include for C++ system
13283 headers.
13284
be13f7bf
LD
132852011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13286
13287 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
13288 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
13289 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
13290 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
13291 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
13292 (USE_AS_WMEMCMP): New macro.
13293 Fixing indents.
13294 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
13295 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
13296 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
13297 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
13298 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13299 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
13300 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
13301 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
13302 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
13303 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
13304 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
13305 (USE_AS_WMEMCMP): New macro.
13306 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
13307 * sysdeps/string/test-memcmp.c: Update.
13308 Fix simple_wmemcmp.
13309 Add new tests.
13310 * wcsmbs/wmemcmp.c: Update.
13311 (WMEMCMP): New macro.
13312 Fix overflow bug.
13313
556a2007
AJ
133142011-10-12 Andreas Jaeger <aj@suse.de>
13315
13316 [BZ #13268]
13317 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
13318
538faaa7
UD
133192011-10-15 Ulrich Drepper <drepper@gmail.com>
13320
ab6737ff
UD
13321 * libio/iofwide.c (do_length): Avoid warning.
13322
538faaa7
UD
13323 * ctype/ctype.h (__isctype_f): Add missing __THROW.
13324
396a21b1
UD
133252011-10-14 Ulrich Drepper <drepper@gmail.com>
13326
cdf2901f
UD
13327 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
13328
38ad40ce
UD
13329 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
13330 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
13331 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
13332 * sysdeps/i386/i686/fpu/e_log.S: New file.
13333 * sysdeps/i386/i686/fpu/e_logf.S: New file.
13334 * sysdeps/i386/i686/fpu/e_logl.S: New file.
13335
396a21b1
UD
13336 * ctype/ctype.h: Add support for inlined isXXX functions when
13337 compiling C++ code.
13338
6b1f68c9
AS
133392011-10-14 Andreas Schwab <schwab@redhat.com>
13340
349290c0
AS
13341 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
13342
6b1f68c9
AS
13343 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
13344
f2282d42
RM
133452011-10-13 Roland McGrath <roland@hack.frob.com>
13346
13347 [BZ #13291]
13348 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
13349
5298ffa8
AS
133502011-10-13 Andreas Schwab <schwab@redhat.com>
13351
714fad23
AS
13352 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
13353 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
13354 feraiseexcept.
13355
81dcc7fb
AS
13356 * sysdeps/x86_64/memrchr.S: Check for zero size.
13357
5298ffa8
AS
13358 * string/stratcliff.c: Add memrchr tests.
13359
951fbcec
LD
133602011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13361
13362 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13363 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
13364 rawmemchr-sse2 rawmemchr-sse2-bsf.
13365 * sysdeps/i386/i686/multiarch/memchr.S: New file.
13366 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
13367 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
13368 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
13369 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
13370 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
13371 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
13372 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
13373 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
13374 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
13375 * string/memrchr.c (MEMRCHR): New macro.
13376
0ac5ae23
UD
133772011-10-12 Ulrich Drepper <drepper@gmail.com>
13378
13379 Add integration with gcc's -ffinite-math-only and optimize wrapper
13380 functions in libm.
13381 * Versions.def: Define GLIBC_2.15 version for libm.
13382 * math/Makefile (headers): Add bits/math-finite.h.
13383 * math/bits/math-finite.h: New file.
13384 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
13385 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
13386 * math/e_acoshl.c: Add __*_finite alias.
13387 * math/e_acosl.c: Likewise.
13388 * math/e_asinl.c: Likewise.
13389 * math/e_atan2l.c: Likewise.
13390 * math/e_atanhl.c: Likewise.
13391 * math/e_coshl.c: Likewise.
13392 * math/e_exp10.c: Likewise.
13393 * math/e_exp10f.c: Likewise.
13394 * math/e_exp10l.c: Likewise.
13395 * math/e_exp2l.c: Likewise.
13396 * math/e_fmodl.c: Likewise.
13397 * math/e_gammal_r.c: Likewise.
13398 * math/e_hypotl.c: Likewise.
13399 * math/e_j0l.c: Likewise.
13400 * math/e_j1l.c: Likewise.
13401 * math/e_jnl.c: Likewise.
13402 * math/e_lgammal_r.c: Likewise.
13403 * math/e_log10l.c: Likewise.
13404 * math/e_log2l.c: Likewise.
13405 * math/e_logl.c: Likewise.
13406 * math/e_powl.c: Likewise.
13407 * math/e_sinhl.c: Likewise.
13408 * math/e_sqrtl.c: Likewise.
13409 * math/e_scalb.c: Completely rewritten and optimized.
13410 * math/e_scalbf.c: Likewise.
13411 * math/e_scalbl.c: Likewise.
13412 * math/w_acos.c: Likewise.
13413 * math/w_acosf.c: Likewise.
13414 * math/w_acosl.c: Likewise.
13415 * math/w_acosh.c: Likewise.
13416 * math/w_acoshf.c: Likewise.
13417 * math/w_acoshl.c: Likewise.
13418 * math/w_asin.c: Likewise.
13419 * math/w_asinf.c: Likewise.
13420 * math/w_asinl.c: Likewise.
13421 * math/w_atan2.c: Likewise.
13422 * math/w_atan2f.c: Likewise.
13423 * math/w_atan2l.c: Likewise.
13424 * math/w_atanh.c: Likewise.
13425 * math/w_atanhf.c: Likewise.
13426 * math/w_atanhl.c: Likewise.
13427 * math/w_exp10.c: Likewise.
13428 * math/w_exp10f.c: Likewise.
13429 * math/w_exp10l.c: Likewise.
13430 * math/w_fmod.c: Likewise.
13431 * math/w_fmodf.c: Likewise.
13432 * math/w_fmodl.c: Likewise.
13433 * math/w_j0.c: Likewise.
13434 * math/w_j0f.c: Likewise.
13435 * math/w_j0l.c: Likewise.
13436 * math/w_j1.c: Likewise.
13437 * math/w_j1f.c: Likewise.
13438 * math/w_j1l.c: Likewise.
13439 * math/w_jn.c: Likewise.
13440 * math/w_jnf.c: Likewise.
13441 * math/w_log.c: Likewise.
13442 * math/w_logf.c: Likewise.
13443 * math/w_logl.c: Likewise.
13444 * math/w_log10.c: Likewise.
13445 * math/w_log10f.c: Likewise.
13446 * math/w_log10l.c: Likewise.
13447 * math/w_log2.c: Likewise.
13448 * math/w_log2f.c: Likewise.
13449 * math/w_log2l.c: Likewise.
13450 * math/w_pow.c: Likewise.
13451 * math/w_powf.c: Likewise.
13452 * math/w_powl.c: Likewise.
13453 * math/w_remainder.c: Likewise.
13454 * math/w_remainderf.c: Likewise.
13455 * math/w_remainderl.c: Likewise.
13456 * math/w_scalb.c: Likewise.
13457 * math/w_scalbf.c: Likewise.
13458 * math/w_scalbl.c: Likewise.
13459 * math/w_sqrt.c: Likewise.
13460 * math/w_sqrtf.c: Likewise.
13461 * math/w_sqrtl.c: Likewise.
13462 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
13463 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
13464 used.
13465 * math/math_private.h: Declare __kernel_standard_f.
13466 * math/w_cosh.c: Remove cruft and optimize a bit.
13467 * math/w_coshf.c: Likewise.
13468 * math/w_coshl.c: Likewise.
13469 * math/w_exp2.c: Likewise.
13470 * math/w_exp2f.c: Likewise.
13471 * math/w_exp2l.c: Likewise.
13472 * math/w_hypot.c: Likewise.
13473 * math/w_hypotf.c: Likewise.
13474 * math/w_hypotl.c: Likewise.
13475 * math/w_lgamma.c: Likewise.
13476 * math/w_lgamma_r.c: Likewise.
13477 * math/w_lgammaf.c: Likewise.
13478 * math/w_lgammaf_r.c: Likewise.
13479 * math/w_lgammal.c: Likewise.
13480 * math/w_lgammal_r.c: Likewise.
13481 * math/w_sinh.c: Likewise.
13482 * math/w_sinhf.c: Likewise.
13483 * math/w_sinhl.c: Likewise.
13484 * math/w_tgamma.c: Likewise.
13485 * math/w_tgammaf.c: Likewise.
13486 * math/w_tgammal.c: Likewise.
13487 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
13488 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13489 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
13490 Minor optimizations. Pretty printing. Remove cruft.
13491 * sysdeps/i386/fpu/e_acosf.S: Likewise.
13492 * sysdeps/i386/fpu/e_acosh.S: Likewise.
13493 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
13494 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
13495 * sysdeps/i386/fpu/e_acosl.c: Likewise.
13496 * sysdeps/i386/fpu/e_asin.S: Likewise.
13497 * sysdeps/i386/fpu/e_asinf.S: Likewise.
13498 * sysdeps/i386/fpu/e_atan2.S: Likewise.
13499 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
13500 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
13501 * sysdeps/i386/fpu/e_atanh.S: Likewise.
13502 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
13503 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
13504 * sysdeps/i386/fpu/e_exp10.S: Likewise.
13505 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
13506 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
13507 * sysdeps/i386/fpu/e_exp2.S: Likewise.
13508 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
13509 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
13510 * sysdeps/i386/fpu/e_fmod.S: Likewise.
13511 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
13512 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
13513 * sysdeps/i386/fpu/e_hypot.S: Likewise.
13514 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
13515 * sysdeps/i386/fpu/e_log.S: Likewise.
13516 * sysdeps/i386/fpu/e_log10.S: Likewise.
13517 * sysdeps/i386/fpu/e_log10f.S: Likewise.
13518 * sysdeps/i386/fpu/e_log10l.S: Likewise.
13519 * sysdeps/i386/fpu/e_log2.S: Likewise.
13520 * sysdeps/i386/fpu/e_log2f.S: Likewise.
13521 * sysdeps/i386/fpu/e_log2l.S: Likewise.
13522 * sysdeps/i386/fpu/e_logf.S: Likewise.
13523 * sysdeps/i386/fpu/e_logl.S: Likewise.
13524 * sysdeps/i386/fpu/e_pow.S: Likewise.
13525 * sysdeps/i386/fpu/e_powf.S: Likewise.
13526 * sysdeps/i386/fpu/e_powl.S: Likewise.
13527 * sysdeps/i386/fpu/e_remainder.S: Likewise.
13528 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
13529 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
13530 * sysdeps/i386/fpu/e_scalb.S: Likewise.
13531 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
13532 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
13533 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
13534 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
13535 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
13536 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
13537 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13538 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13539 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
13540 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13541 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
13542 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
13543 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
13544 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13545 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13546 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13547 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
13548 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13549 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
13550 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
13551 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13552 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13553 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
13554 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13555 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13556 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
13557 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
13558 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
13559 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
13560 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
13561 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
13562 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
13563 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
13564 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
13565 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
13566 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
13567 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
13568 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13569 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
13570 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
13571 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
13572 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
13573 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
13574 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
13575 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
13576 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
13577 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
13578 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
13579 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
13580 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
13581 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
13582 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
13583 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
13584 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
13585 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
13586 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
13587 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
13588 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
13589 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13590 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
13591 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
13592 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
13593 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
13594 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
13595 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
13596 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
13597 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
13598 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
13599 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
13600 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
13601 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
13602 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
13603 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
13604 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
13605 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
13606 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
13607 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
13608 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
13609 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
13610 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
13611 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
13612 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
13613 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
13614 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
13615 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
13616 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
13617 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
13618 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
13619 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
13620 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
13621 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
13622 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
13623 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
13624 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
13625 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
13626 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
13627 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
13628 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
13629 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
13630 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
13631 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
13632 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
13633 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
13634 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
13635 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
13636 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
13637 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
13638 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
13639 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
13640 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
13641 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
13642 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
13643 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
13644 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
13645 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
13646 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
13647 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
13648 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
13649 (__isnanf): Likewise.
13650 (__isinf_ns): Likewise.
13651 (__isinf_nsf): Likewise.
13652 (__finite): Likewise.
13653 (__finitef): Likewise.
13654 (__ieee754_sqrt): Define as macro.
13655 (__ieee754_sqrtf): Define as macro.
13656 (__ieee754_sqrtl): Define as macro.
13657 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
13658 inlined copy.
13659 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
13660 __FINITE_MATH_ONLY__ consistent.
13661 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
13662
12cc2fcd
AS
136632011-10-10 Andreas Schwab <schwab@linux-m68k.org>
13664
a843a204
AS
13665 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
13666 of rawmemchr.
13667
12cc2fcd
AS
13668 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
13669
c853acd5
UD
136702011-10-09 Ulrich Drepper <drepper@gmail.com>
13671
13672 * po/ja.po: Update from translation team.
13673
c658d255
RM
136742011-10-08 Roland McGrath <roland@hack.frob.com>
13675
110946e4
RM
13676 * locale/programs/locarchive.c (prepare_address_space): New function.
13677 (create_archive, enlarge_archive, open_archive): Use it.
13678
50604220
RM
13679 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
13680 inside [SHARED], where it is used.
13681
c658d255
RM
13682 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
13683
13684 * nss/getent.c (netgroup_keys): Remove unused variable.
13685 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
13686
6a621eb7
UD
136872011-10-08 Ulrich Drepper <drepper@gmail.com>
13688
7edb55ce
UD
13689 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
13690 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
13691 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
13692 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
13693 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
13694 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
13695 * math/Makefile (libm-calls): Add s_isinf_ns.
13696 * math/divtc3.c: Use __isinf_nsl instead of isinf.
13697 * math/multc3.c: Likewise.
13698 * math/s_casin.c: Likewise.
13699 * math/s_casinf.c: Likewise.
13700 * math/s_casinl.c: Likewise.
13701 * math/s_ccos.c: Likewise.
13702 * math/s_ccosf.c: Likewise.
13703 * math/s_ccosl.c: Likewise.
13704 * math/s_ctan.c: Likewise.
13705 * math/s_ctanf.c: Likewise.
13706 * math/s_ctanh.c: Likewise.
13707 * math/s_ctanhf.c: Likewise.
13708 * math/s_ctanhl.c: Likewise.
13709 * math/s_ctanl.c: Likewise.
13710 * math/w_fmod.c: Likewise.
13711 * math/w_fmodf.c: Likewise.
13712 * math/w_fmodl.c: Likewise.
13713 * math/w_remainder.c: Likewise.
13714 * math/w_remainderf.c: Likewise.
13715 * math/w_remainderl.c: Likewise.
13716 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
13717 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
13718 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
13719 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
13720 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
13721 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
13722 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
13723 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
13724
187da0ae
UD
13725 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
13726 of the number.
13727 * stdio-common/printf_fphex.c: Likewise.
13728 * stdio-common/printf_size.c: Likewise.
13729
9277c064
UD
13730 * math/e_exp10.c: Include math_private.h using <...> not "...".
13731 * math/e_exp10f.c: Likewise.
13732 * math/e_exp10l.c: Likewise.
13733 * math/e_exp2l.c: Likewise.
13734 * math/e_j0l.c: Likewise.
13735 * math/e_j1l.c: Likewise.
13736 * math/e_jnl.c: Likewise.
13737 * math/e_lgammal_r.c: Likewise.
13738 * math/e_rem_pio2l.c: Likewise.
13739 * math/e_scalb.c: Likewise.
13740 * math/e_scalbf.c: Likewise.
13741 * math/e_scalbl.c: Likewise.
13742 * math/k_cosl.c: Likewise.
13743 * math/k_sinl.c: Likewise.
13744 * math/k_tanl.c: Likewise.
13745 * math/s_cacoshf.c: Likewise.
13746 * math/s_catan.c: Likewise.
13747 * math/s_catanf.c: Likewise.
13748 * math/s_catanh.c: Likewise.
13749 * math/s_catanhf.c: Likewise.
13750 * math/s_catanhl.c: Likewise.
13751 * math/s_catanl.c: Likewise.
13752 * math/s_ccosh.c: Likewise.
13753 * math/s_ccoshf.c: Likewise.
13754 * math/s_ccoshl.c: Likewise.
13755 * math/s_cexp.c: Likewise.
13756 * math/s_cexpf.c: Likewise.
13757 * math/s_cexpl.c: Likewise.
13758 * math/s_clog.c: Likewise.
13759 * math/s_clog10.c: Likewise.
13760 * math/s_clog10f.c: Likewise.
13761 * math/s_clog10l.c: Likewise.
13762 * math/s_clogf.c: Likewise.
13763 * math/s_clogl.c: Likewise.
13764 * math/s_csin.c: Likewise.
13765 * math/s_csinf.c: Likewise.
13766 * math/s_csinh.c: Likewise.
13767 * math/s_csinhf.c: Likewise.
13768 * math/s_csinhl.c: Likewise.
13769 * math/s_csinl.c: Likewise.
13770 * math/s_csqrt.c: Likewise.
13771 * math/s_csqrtf.c: Likewise.
13772 * math/s_csqrtl.c: Likewise.
13773 * math/s_ctan.c: Likewise.
13774 * math/s_ctanf.c: Likewise.
13775 * math/s_ctanh.c: Likewise.
13776 * math/s_ctanhf.c: Likewise.
13777 * math/s_ctanhl.c: Likewise.
13778 * math/s_ctanl.c: Likewise.
13779 * math/s_ldexp.c: Likewise.
13780 * math/s_ldexpf.c: Likewise.
13781 * math/s_ldexpl.c: Likewise.
13782 * math/s_significand.c: Likewise.
13783 * math/s_significandf.c: Likewise.
13784 * math/s_significandl.c: Likewise.
13785 * math/w_acos.c: Likewise.
13786 * math/w_acosf.c: Likewise.
13787 * math/w_acosh.c: Likewise.
13788 * math/w_acoshf.c: Likewise.
13789 * math/w_acoshl.c: Likewise.
13790 * math/w_acosl.c: Likewise.
13791 * math/w_asin.c: Likewise.
13792 * math/w_asinf.c: Likewise.
13793 * math/w_asinl.c: Likewise.
13794 * math/w_atan2.c: Likewise.
13795 * math/w_atan2f.c: Likewise.
13796 * math/w_atan2l.c: Likewise.
13797 * math/w_atanh.c: Likewise.
13798 * math/w_atanhf.c: Likewise.
13799 * math/w_atanhl.c: Likewise.
13800 * math/w_cosh.c: Likewise.
13801 * math/w_coshf.c: Likewise.
13802 * math/w_coshl.c: Likewise.
13803 * math/w_dremf.c: Likewise.
13804 * math/w_exp10.c: Likewise.
13805 * math/w_exp10f.c: Likewise.
13806 * math/w_exp10l.c: Likewise.
13807 * math/w_exp2.c: Likewise.
13808 * math/w_exp2f.c: Likewise.
13809 * math/w_fmod.c: Likewise.
13810 * math/w_fmodf.c: Likewise.
13811 * math/w_fmodl.c: Likewise.
13812 * math/w_hypot.c: Likewise.
13813 * math/w_hypotf.c: Likewise.
13814 * math/w_hypotl.c: Likewise.
13815 * math/w_j0.c: Likewise.
13816 * math/w_j0f.c: Likewise.
13817 * math/w_j0l.c: Likewise.
13818 * math/w_j1.c: Likewise.
13819 * math/w_j1f.c: Likewise.
13820 * math/w_j1l.c: Likewise.
13821 * math/w_jn.c: Likewise.
13822 * math/w_jnf.c: Likewise.
13823 * math/w_jnl.c: Likewise.
13824 * math/w_lgamma.c: Likewise.
13825 * math/w_lgamma_r.c: Likewise.
13826 * math/w_lgammaf.c: Likewise.
13827 * math/w_lgammaf_r.c: Likewise.
13828 * math/w_lgammal.c: Likewise.
13829 * math/w_lgammal_r.c: Likewise.
13830 * math/w_log.c: Likewise.
13831 * math/w_log10.c: Likewise.
13832 * math/w_log10f.c: Likewise.
13833 * math/w_log10l.c: Likewise.
13834 * math/w_log2.c: Likewise.
13835 * math/w_log2f.c: Likewise.
13836 * math/w_log2l.c: Likewise.
13837 * math/w_logf.c: Likewise.
13838 * math/w_logl.c: Likewise.
13839 * math/w_pow.c: Likewise.
13840 * math/w_powf.c: Likewise.
13841 * math/w_powl.c: Likewise.
13842 * math/w_remainder.c: Likewise.
13843 * math/w_remainderf.c: Likewise.
13844 * math/w_remainderl.c: Likewise.
13845 * math/w_scalb.c: Likewise.
13846 * math/w_scalbf.c: Likewise.
13847 * math/w_scalbl.c: Likewise.
13848 * math/w_sinh.c: Likewise.
13849 * math/w_sinhf.c: Likewise.
13850 * math/w_sinhl.c: Likewise.
13851 * math/w_sqrt.c: Likewise.
13852 * math/w_sqrtf.c: Likewise.
13853 * math/w_sqrtl.c: Likewise.
13854 * math/w_tgamma.c: Likewise.
13855 * math/w_tgammaf.c: Likewise.
13856 * math/w_tgammal.c: Likewise.
13857
6a621eb7
UD
13858 * po/ja.po: Update from translation team.
13859
bf582445
AJ
138602011-09-29 Andreas Jaeger <aj@suse.de>
13861
f9efbf3a
AJ
13862 [BZ #13179]
13863 * sunrpc/netname.c (netname2host): Fix logic.
13864
bf582445
AJ
13865 [BZ #6779]
13866 [BZ #6783]
13867 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
13868 correctly.
13869 * math/w_remainder.c (__remainder): Likewise.
13870 * math/w_remainderf.c (__remainderf): Likewise.
13871 * math/libm-test.inc (remainder_test): Add test cases.
13872
48693bea
AK
138732011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13874
13875 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
13876 sdiv_qrnnd.
13877
42622229
LD
138782011-10-07 Ulrich Drepper <drepper@gmail.com>
13879
13880 * string/test-memcmp.c: Avoid unncessary #defines.
13881 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
13882
093ecf92
LD
138832011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13884
13885 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
13886 Use new sse2 version for core i3 - i7 as it's faster
13887 than sse42 version.
13888 (bit_Prefer_PMINUB_for_stringop): New.
13889 * sysdeps/x86_64/rawmemchr.S: Update.
13890 Replace with faster SSE2 version.
13891 * sysdeps/x86_64/memrchr.S: New file.
13892 * sysdeps/x86_64/memchr.S: Update.
13893 Replace with faster SSE2 version.
13894
fde56e5c
MP
138952011-09-12 Marek Polacek <mpolacek@redhat.com>
13896
13897 * elf/dl-load.c (lose): Add cast to avoid warning.
13898
21fd49a9
UD
138992011-10-07 Ulrich Drepper <drepper@gmail.com>
13900
5a06e643
UD
13901 * po/ca.po: Update from translation team.
13902
684ae515
UD
13903 * inet/getnetgrent_r.c: Hook up nscd.
13904 * nscd/Makefile (routines): Add nscd_netgroup.
13905 (nscd-modules): Add netgroupcache.
13906 (CFLAGS-netgroupcache.c): Define.
13907 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
13908 (cache_search): Add const to second parameter.
13909 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
13910 INNETGR.
13911 (dbs): Add netgrdb entry.
13912 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
13913 (verify_persistent_db): Handle netgrdb.
13914 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
13915 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
13916 GETFDNETGR.
13917 (netgroup_response_header): Define.
13918 (innetgroup_response_header): Define.
13919 (datahead): Add netgroup_response_header and innetgroup_response_header
13920 elements.
13921 * nscd/nscd.conf: Add entries for netgroup cache.
13922 * nscd/nscd.h (dbtype): Add netgrdb.
13923 (_PATH_NSCD_NETGROUP_DB): Define.
13924 (netgroup_iov_disabled): Declare.
13925 (xmalloc, xcalloc, xrealloc): Move declarations here.
13926 (cache_search): Adjust prototype.
13927 Add netgroup-related prototypes.
13928 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
13929 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
13930 (__nscd_innetgr): Declare.
13931 * nscd/selinux.c (perms): Use access_vector_t as element type and
13932 add netgroup-related initializers.
13933 * nscd/netgroupcache.c: New file.
13934 * nscd/nscd_netgroup.c: New file.
13935 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
13936 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
13937 For four parameters use innetgr.
13938 * nss/nss_files/files-init.c: Add definition and callback for netgr.
13939 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
13940 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
13941 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
13942
21fd49a9
UD
13943 * nscd/connections.c (register_traced_file): Don't register file
13944 for disabled databases.
13945
054c0457
UD
139462011-10-06 Ulrich Drepper <drepper@gmail.com>
13947
32b63198
UD
13948 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
13949
054c0457
UD
13950 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
13951 from tree and freeing node.
13952
64031225
JO
139532011-09-25 Jiri Olsa <jolsa@redhat.com>
13954
13955 * nss/nsswitch.c (__nss_database_lookup): Handle
13956 nss_parse_service_list out of memory case.
13957
0490345c
JO
139582011-09-15 Jiri Olsa <jolsa@redhat.com>
13959
13960 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
13961 out of memory case.
13962
3a62d00d
AS
139632011-10-04 Andreas Schwab <schwab@redhat.com>
13964
13965 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
13966 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
13967 pass it down.
13968 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
13969 elf_machine_rela, elf_machine_lazy_rel.
13970 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
13971 (ELF_DYNAMIC_DO_REL): Likewise.
13972 (ELF_DYNAMIC_DO_RELA): Likewise.
13973 (ELF_DYNAMIC_RELOCATE): Likewise.
13974 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
13975 to ELF_DYNAMIC_DO_REL.
13976 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
13977 (dl_main): In trace mode always set __RTLD_NOIFUNC.
13978 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
13979 elf_machine_rela.
13980 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
13981 skip_ifunc, don't call ifunc function if non-zero.
13982 (elf_machine_rela): Likewise.
13983 (elf_machine_lazy_rel): Likewise.
13984 (elf_machine_lazy_rela): Likewise.
13985 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
13986 (elf_machine_lazy_rel): Likewise.
13987 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
13988 Likewise.
13989 (elf_machine_lazy_rel): Likewise.
13990 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13991 Likewise.
13992 (elf_machine_lazy_rel): Likewise.
13993 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
13994 (elf_machine_lazy_rel): Likewise.
13995 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
13996 (elf_machine_lazy_rel): Likewise.
13997 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
13998 (elf_machine_lazy_rel): Likewise.
13999 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
14000 (elf_machine_lazy_rel): Likewise.
14001 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
14002 (elf_machine_lazy_rel): Likewise.
14003 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
14004 (elf_machine_lazy_rel): Likewise.
14005
68577918
UD
140062011-09-28 Ulrich Drepper <drepper@gmail.com>
14007
14008 * nss/nss_files/files-init.c (_nss_files_init): Use static
14009 initialization for all the *_traced_file variables.
14010
68822d74
AS
140112011-09-28 Andreas Schwab <schwab@redhat.com>
14012
14013 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14014
2056100b
RM
140152011-09-27 Roland McGrath <roland@hack.frob.com>
14016
14017 [BZ #13226]
14018 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
14019
32c76b63
AS
140202011-09-27 Andreas Schwab <schwab@redhat.com>
14021
14022 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
14023 Reread the line before reparsing it.
14024
bf972c9d
AS
140252011-09-26 Andreas Schwab <schwab@redhat.com>
14026
14027 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
14028
e057a1b5
JM
140292011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
14030 Maxim Kuvyrkov <maxim@codesourcery.com>
14031 Joseph Myers <joseph@codesourcery.com>
14032
14033 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
14034 if needed for __stack_chk_guard.
14035
bc7e1c36
RM
140362011-09-19 Roland McGrath <roland@hack.frob.com>
14037
ecb1482f
RM
14038 * sysdeps/posix/spawni.c (script_execute): Always define it.
14039 It will be optimized away if unused.
14040 (maybe_script_execute): New function.
14041 (__spawni): Call it.
14042
bc7e1c36
RM
14043 * Makerules: Don't include tls.make.
14044 (config-tls): Always set to thread.
14045 * tls.make.c: File removed.
14046
1c3b002b
MF
140472011-09-19 Mike Frysinger <vapier@gentoo.org>
14048
14049 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
14050 * config.make.in (CPPFLAGS-config): New substituted variable.
14051
2840865d
UD
140522011-09-15 Ulrich Drepper <drepper@gmail.com>
14053
88738eb6
UD
14054 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
14055
cbf645a6 14056 [BZ #13192]
2840865d
UD
14057 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
14058 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
14059
b402e91a
RM
140602011-09-15 Roland McGrath <roland@hack.frob.com>
14061
14062 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
14063 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
14064 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
14065 (CALL_FAIL): Likewise.
14066 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
14067 (CALL_FAIL): Macro removed.
14068 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
14069
4c1a1f71
UD
140702011-09-15 Ulrich Drepper <drepper@gmail.com>
14071
14072 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
14073 for __FINITE_MATH_ONLY__ == 1.
14074
edc121be
AS
140752011-09-15 Andreas Schwab <schwab@redhat.com>
14076
14077 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
14078 __ieee754_sqrt instead of sqrt.
14079 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
14080 __ieee754_sqrtf instead of sqrtf.
14081 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
14082 __floorf instead of floorf.
14083 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
14084 __floorf, __truncf instead of floorf, truncf.
14085
cd205654
UD
140862011-09-14 Ulrich Drepper <drepper@gmail.com>
14087
ee4d0315
UD
14088 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
14089
cd205654
UD
14090 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
14091 __extern_always_inline.
14092 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
14093 32-bit.
14094
48b67d71
AS
140952011-09-14 Andreas Schwab <schwab@redhat.com>
14096
14097 * elf/rtld.c (dl_main): Also relocate in dependency order when
14098 doing symbol dependency testing.
14099
1ae12c75
AS
141002011-09-13 Andreas Schwab <schwab@linux-m68k.org>
14101
14102 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14103 Always define `refsym'.
14104
995a80df
AS
141052011-09-13 Andreas Schwab <schwab@redhat.com>
14106
e529793b
AS
14107 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
14108 (__FD_ELT): Renamed from __FDELT.
14109 * misc/bits/select2.h (__FD_ELT): Likewise.
14110 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
14111 __FD_MASK instead of __FDELT, __FDMASK.
14112 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
14113 Likewise.
14114 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
14115 Likewise.
14116
52d4fef8
AS
14117 * elf/Makefile (gen-ldd): Fix pattern.
14118
995a80df
AS
14119 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
14120 (init_tls): Likewise.
14121
8682f8b0
UD
141222011-09-12 Ulrich Drepper <drepper@gmail.com>
14123
14124 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
14125
de82006d
AS
141262011-09-12 Andreas Schwab <schwab@redhat.com>
14127
a7c8e6a1
AS
14128 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
14129 `struct cmsghdr *' instead of `void *'.
14130 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
14131 Likewise.
14132
0f31fe77
AS
141332011-09-11 Andreas Schwab <schwab@linux-m68k.org>
14134
14135 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
14136 if non-absolute.
14137 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
14138 ldd_rewrite_script.
0f31fe77 14139
32b4c839
UD
141402011-09-11 Ulrich Drepper <drepper@gmail.com>
14141
83cd1420
UD
14142 * configure.in: Remove --with-tls option.
14143 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
14144 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
14145 out in case it is missing.
14146 * sysdeps/ia64/elf/configure.in: Likewise.
14147 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
14148 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
14149 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
14150 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
14151 * sysdeps/sh/elf/configure.in: Likewise.
14152 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
14153 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
14154 * sysdeps/x86_64/elf/configure.in: Likewise.
14155 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
14156 * sysdeps/mach/hurd/tls.h: Likewise.
14157
633f745d
UD
14158 [BZ #13067]
14159 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
14160
f318beb8
UD
14161 [BZ #13090]
14162 * configure.in: Fix use of AC_INIT.
14163
32b4c839
UD
14164 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
14165
3ce1f295
UD
141662011-09-10 Ulrich Drepper <drepper@gmail.com>
14167
bb016596
UD
14168 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
14169 __set_errno.
8e58439c
UD
14170 * malloc/hooks.c: Likewise.
14171
aebae053 14172 [BZ #11929]
02d46fc4
UD
14173 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
14174 variables statically.
14175 (narenas): Initialize.
14176 (list_lock): Initialize.
bb016596
UD
14177 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
14178 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
14179 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
14180 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
14181 Add initializers to main_arena and mp_.
14182 (malloc_state): Remove pagesize member. Change all users to use
14183 GLRO(dl_pagesize).
14184
14185 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
14186 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
14187 is always initialized.
14188
22a89187
UD
14189 * malloc/malloc.c: Removed unused configurations and dead code.
14190 * malloc/arena.c: Likewise.
14191 * malloc/hooks.c: Likewise.
02d46fc4 14192 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 14193
d063d164
UD
14194 * include/tls.h: Removed. USE___THREAD must always be defined.
14195 * bits/libc-tsd.h: Don't handle !USE___THREAD.
14196 * elf/dl-libc.c: Likewise.
14197 * elf/dl-tsd.c: Likewise.
14198 * include/errno.h: Likewise.
14199 * include/netdb.h: Likewise.
14200 * include/resolv.h: Likewise.
14201 * inet/herrno-loc.c: Likewise.
14202 * inet/herrno.c: Likewise.
14203 * malloc/arena.c: Likewise.
14204 * malloc/hooks.c: Likewise.
14205 * malloc/malloc.c: Likewise.
14206 * resolv/res-state.c: Likewise.
14207 * resolv/res_libc.c: Likewise.
14208 * sysdeps/i386/dl-machine.h: Likewise.
14209 * sysdeps/ia64/dl-machine.h: Likewise.
14210 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
14211 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
14212 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
14213 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
14214 * sysdeps/sh/dl-machine.h: Likewise.
14215 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
14216 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
14217 * sysdeps/unix/i386/sysdep.S: Likewise.
14218 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
14219 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
14220 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
14221 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
14222 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
14223 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
14224 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
14225 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
14226 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14227 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
14228 * sysdeps/unix/x86_64/sysdep.S: Likewise.
14229 * sysdeps/x86_64/dl-machine.h: Likewise.
14230 * tls.make.c: Likewise.
14231
3ce1f295
UD
14232 * configure.in: Remove --with-__thread option. Make tests for
14233 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
14234 tls_model attribute fail if no support is available. Remove
14235 USE_IN_LIBIO.
14236 * Makeconfig: Adjust for dropped configure option. All features are
14237 now mandatory.
14238 * Makerules: Likewise.
14239 * Versions.def: Likewise.
14240 * argp/argp-fmtstream.c: Likewise.
14241 * argp/argp-fmtstream.h: Likewise.
14242 * argp/argp-help.c: Likewise.
14243 * assert/assert.c: Likewise.
14244 * config.h.in: Likewise.
14245 * config.make.in: Likewise.
14246 * configure: Likewise.
14247 * configure.in: Likewise.
14248 * csu/Versions: Likewise.
14249 * csu/init.c: Likewise.
14250 * elf/tst-audit2.c: Likewise.
14251 * elf/tst-tls10.c: Likewise.
14252 * elf/tst-tls10.h: Likewise.
14253 * elf/tst-tls11.c: Likewise.
14254 * elf/tst-tls12.c: Likewise.
14255 * elf/tst-tls14.c: Likewise.
14256 * elf/tst-tlsmod11.c: Likewise.
14257 * elf/tst-tlsmod12.c: Likewise.
14258 * elf/tst-tlsmod13.c: Likewise.
14259 * elf/tst-tlsmod13a.c: Likewise.
14260 * elf/tst-tlsmod14a.c: Likewise.
14261 * elf/tst-tlsmod15b.c: Likewise.
14262 * elf/tst-tlsmod16a.c: Likewise.
14263 * elf/tst-tlsmod16b.c: Likewise.
14264 * elf/tst-tlsmod7.c: Likewise.
14265 * elf/tst-tlsmod8.c: Likewise.
14266 * elf/tst-tlsmod9.c: Likewise.
14267 * gmon/gmon.c: Likewise.
14268 * grp/fgetgrent_r.c: Likewise.
14269 * grp/putgrent.c: Likewise.
14270 * hurd/fopenport.c: Likewise.
14271 * include/libc-symbols.h: Likewise.
14272 * include/tls.h: Likewise.
14273 * intl/gettextP.h: Likewise.
14274 * intl/loadinfo.h: Likewise.
14275 * locale/global-locale.c: Likewise.
14276 * locale/localeinfo.h: Likewise.
14277 * mach/devstream.c: Likewise.
14278 * malloc/arena.c: Likewise.
14279 * malloc/set-freeres.c: Likewise.
14280 * misc/err.c: Likewise.
14281 * misc/getttyent.c: Likewise.
14282 * misc/mntent_r.c: Likewise.
14283 * posix/getopt.c: Likewise.
14284 * posix/wordexp.c: Likewise.
14285 * pwd/fgetpwent_r.c: Likewise.
14286 * resolv/Versions: Likewise.
14287 * resolv/res_hconf.c: Likewise.
14288 * shadow/fgetspent_r.c: Likewise.
14289 * shadow/putspent.c: Likewise.
14290 * stdio-common/printf_fphex.c: Likewise.
14291 * stdio-common/tmpfile.c: Likewise.
14292 * stdlib/abort.c: Likewise.
14293 * stdlib/fmtmsg.c: Likewise.
14294 * sunrpc/auth_unix.c: Likewise.
14295 * sunrpc/clnt_perr.c: Likewise.
14296 * sunrpc/clnt_tcp.c: Likewise.
14297 * sunrpc/clnt_udp.c: Likewise.
14298 * sunrpc/clnt_unix.c: Likewise.
14299 * sunrpc/openchild.c: Likewise.
14300 * sunrpc/svc_simple.c: Likewise.
14301 * sunrpc/svc_tcp.c: Likewise.
14302 * sunrpc/svc_udp.c: Likewise.
14303 * sunrpc/svc_unix.c: Likewise.
14304 * sunrpc/xdr.c: Likewise.
14305 * sunrpc/xdr_array.c: Likewise.
14306 * sunrpc/xdr_rec.c: Likewise.
14307 * sunrpc/xdr_ref.c: Likewise.
14308 * sunrpc/xdr_stdio.c: Likewise.
14309
1248c1c4
PB
143102011-09-09 Ulrich Drepper <drepper@gmail.com>
14311
14312 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14313
143142011-07-03 Andreas Jaeger <aj@suse.de>
14315
14316 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
14317 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
14318 regenerate with gen-libm-tests.pl.
14319
143202010-05-12 Petr Baudis <pasky@suse.cz>
14321
14322 [BZ #11589]
14323 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
14324 around j0() zero points by switching to j1().
14325 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
14326 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
14327 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
14328 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
14329
f22e1074
UD
143302011-09-09 Ulrich Drepper <drepper@gmail.com>
14331
f19009c1
UD
14332 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
14333 instead of 0.
14334 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
14335 instead of 0. .
14336 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
14337 Patch in part by Pavel Roskin <proski@gnu.org>.
14338
3f8cc204
UD
14339 [BZ #13138]
14340 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
14341 realloc.
14342 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
14343 Free memory block if necessary.
14344
f22e1074
UD
14345 [BZ #12847]
14346 * libio/genops.c (INTDEF): For string streams the _lock pointer can
14347 be NULL. Don't lock in this case.
14348
0a2349f9
RM
143492011-09-09 Roland McGrath <roland@hack.frob.com>
14350
14351 * elf/elf.h (ELFOSABI_GNU): New macro.
14352 (ELFOSABI_LINUX): Define to that.
14353
f3cdd467
DZ
143542011-07-29 Denis Zaitceff <zaitceff@gmail.com>
14355
14356 * string/strncat.c (strncat): Undef the symbol in case it has been
14357 defined in bits/string.h.
14358
74718d13
UD
143592011-09-09 Ulrich Drepper <drepper@gmail.com>
14360
633e9e0f
UD
14361 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
14362
0a2349f9 14363 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
14364 link map.
14365
f9924780
AJ
143662011-08-17 Andreas Jaeger <aj@suse.de>
14367
14368 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
14369
7f5517aa
PP
143702011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
14371 Ian Lance Taylor <iant@google.com>
14372
14373 * math/libm-test.inc (lround_test): New testcase.
14374 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
14375
762011fe
UD
143762011-09-08 Ulrich Drepper <drepper@gmail.com>
14377
92963737
UD
14378 * Makefile: Remove support for automatic cvs check-ins.
14379 * Makerules: Likewise.
14380 * config.make.in: Likewise.
14381 * configure.in: Likewise.
14382 * intl/Makefile: Likewise.
14383 * locale/Makefile: Likewise.
14384 * po/Makefile: Likewise.
14385 * posix/Makefile: Likewise.
14386 * sysdeps/gnu/Makefile: Likewise.
14387 * sysdeps/mach/hurd/Makefile: Likewise.
14388 * sysdeps/sparc/sparc32/Makefile: Likewise.
14389
b0727fd8
JS
14390 [BZ #13118]
14391 * posix/Makefile (bug-regex32-ENV): Define.
14392 Patch by John Stanley <jpsinthemix@verizon.net>.
14393
a0f33f99
UD
14394 * misc/Makefile (headers): Add bits/select2.h.
14395 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
14396 * misc/bits/select2.h: New file.
14397 * include/bits/select2.h: New file.
14398 * debug/Makefile (routines): Add fdelt_chk.
14399 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
14400 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
14401 FD_ISSET.
14402 * debug/fdelt_chk.c: New file.
14403
762011fe
UD
14404 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
14405 * wcsmbs/test-wmemcmp.c: Likewise.
14406 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 14407 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
14408
144092011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14410
14411 * string/Makefile (strop-tests): Add memcmp.
14412 * string/test-wmemcmp.c: New file.
14413 * string/test-memcmp.c: Add wmemcmp support.
14414
7f513ec8
RM
144152011-09-08 Roland McGrath <roland@hack.frob.com>
14416
0442afb4
RM
14417 [BZ #13153]
14418 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
14419 2011-07-19 change.
14420
7f513ec8
RM
14421 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
14422 garbage value in a __mach_port_mod_refs call in the cases of the
14423 task-self and thread-self ports.
14424
a12b2239
ST
144252011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
14426
14427 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
14428
610f9ab4
AS
144292011-09-08 Andreas Schwab <schwab@redhat.com>
14430
7f513ec8 14431 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 14432
48882a1a
LD
144332011-09-07 Ulrich Drepper <drepper@gmail.com>
14434
b49865be
UD
14435 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
14436
fdc86bc9
UD
14437 * elf/dl-libc.c (dlerror_run): Pass back error code from
14438 dl_catch_error.
14439
c966526a
UD
14440 [BZ #13123]
14441 * elf/dl-load.c (lose): Free l_origin if it is valid.
14442
48882a1a
LD
14443 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
14444 names.
14445 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
14446 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
14447 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
14448 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
14449 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
14450 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
14451
77a2a8b4
AZ
144522011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14453
14454 * sysdeps/powerpc/fpu/e_hypot.c: New file.
14455 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
14456 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
14457 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
14458 * sysdeps/powerpc/fpu/k_cosf.c: New file.
14459 * sysdeps/powerpc/fpu/k_sinf.c: New file.
14460 * sysdeps/powerpc/fpu/s_cosf.c: New file.
14461 * sysdeps/powerpc/fpu/s_sinf.c: New file.
14462 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
14463 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
14464
24f579d8
AM
144652011-08-15 Alan Modra <amodra@gmail.com>
14466
14467 [BZ #13092]
14468 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
14469 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
14470 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
14471 ppc_mcount to static-only-routines.
14472 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
14473 __mcount_internal.
14474 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
14475 __mcount_internal with usual JUMPTARGET. Remove useless nop.
14476
3d4837df
UD
144772011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
14478
14479 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
14480 for finite and infinity parameters.
14481
22700377
WS
144822011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
14483
14484 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
14485 and add nop instructions for throughput optimization.
14486 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14487
5025581e
WS
144882011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
14489
14490 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
14491 aligned copy for power7 with vector-scalar instructions.
14492 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
14493
08a300c9
L
144942011-07-24 H.J. Lu <hongjiu.lu@intel.com>
14495
14496 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
14497 AVX check.
14498
59178ef9
AS
144992011-09-07 Andreas Schwab <schwab@redhat.com>
14500
14501 [BZ #13144]
14502 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
14503 last change.
14504
e38ba7ab
UD
145052011-09-07 Ulrich Drepper <drepper@gmail.com>
14506
14507 * sysdeps/unix/sysv/linux/x86_64/init-first.c
14508 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
14509 syscall wrapper around clock_gettime in __vdso_clock_gettime.
14510 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
14511 clock_gettime.
14512
d53a73ac
UD
145132011-09-06 Ulrich Drepper <drepper@gmail.com>
14514
fc8bffcc
UD
14515 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
14516 Forgot to demangle the pointer.
14517
ceaa0c5d
UD
14518 * sysdeps/i386/sysdep.h: Define atom_text_section.
14519 * sysdeps/x86_64/sysdep.h: Likewise.
14520 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
14521 section with atom_text_section.
14522 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
14523 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
14524 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
14525 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
14526 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
14527
a77d3c17
UD
14528 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
14529 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
14530 already be defined. Change to take two parameters and don't assign
14531 result to variable. Adjust all users.
14532 Define INTERNAL_GETTIME if not already defined.
14533 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
14534 call.
14535 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
14536 HAVE_CLOCK_GETTIME_VSYSCALL.
14537 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
14538
d53a73ac
UD
14539 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
14540 gettimeofday vsyscall, just use time.
14541
a8f84144
AS
145422011-09-06 Andreas Schwab <schwab@redhat.com>
14543
14544 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
14545 <errno.h>.
14546
ef606249
UD
145472011-09-06 Ulrich Drepper <drepper@gmail.com>
14548
14549 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
14550 syscall on x86-64.
14551 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
14552 syscall.
14553 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
14554 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
14555 syscall if possible.
14556
6585cb60
UD
145572011-09-05 Ulrich Drepper <drepper@gmail.com>
14558
14559 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
14560 e_ident. Don't pass to find_mapsXX.
14561 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
14562
a5f524e4
LD
145632011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14564
14565 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14566 strchr-sse2-no-bsf strrchr-sse2-no-bsf
14567 * sysdeps/x86_64/multiarch/strchr.S: Update.
14568 Check bit_slow_BSF bit.
14569 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
14570 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
14571 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
14572
554881ef
UD
145732011-09-05 Ulrich Drepper <drepper@gmail.com>
14574
d96de963
UD
14575 [BZ #13134]
14576 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
14577 before glibc 2.15.
14578 (tryshell): Define.
14579 (__spawni): Change last parameter to be flag. Test
14580 SPAWN_XFLAGS_USE_PATH flag to use path or not.
14581 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
14582 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
14583 * posix/spawni.c: Likewise.
14584 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
14585 * posix/spawnp.c: Likewise. Change normal version to use
14586 SPAWN_XFLAGS_USE_PATH.
14587 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
14588 SPAWN_XFLAGS_TRY_SHELL.
14589
d48e5868
UD
14590 [BZ #13150]
14591 * posix/glob.h: Remove gcc 1.x support.
14592
554881ef
UD
14593 [BZ #13068]
14594 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
14595
693fb948
LD
145962011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14597
14598 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14599 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
14600 strrchr-sse2-bsf
14601 * sysdeps/i386/i686/multiarch/strchr.S: New file.
14602 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
14603 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
14604 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
14605 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
14606 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
14607
1b48c537
UD
146082011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14609
49d42c37
UD
14610 * sysdeps/x86_64/wcscmp.S: New file.
14611
1b48c537
UD
14612 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
14613 wcscmp-c wcscmp-sse2
14614 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
14615 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
14616 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
14617 * wcsmbs/wcscmp.c: Allow renaming.
14618
15c95c5d
DM
146192011-09-05 David S. Miller <davem@davemloft.net>
14620
14621 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
14622 stack slot, rather than the struct return pointer slot.
14623 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
14624 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
14625 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
14626 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
14627
2f0ad8f3
UD
146282011-09-05 Ulrich Drepper <drepper@gmail.com>
14629
d88ae418
UD
14630 * po/ja.po: Update from translation team.
14631
2f0ad8f3
UD
14632 [BZ #13144]
14633 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
14634 kernel in 64-bit binaries.
14635
5f4318d1
DM
146362011-09-01 David S. Miller <davem@davemloft.net>
14637
14638 * elf/elf.h (HWCAP_SPARC_*): Move to..
14639 * sysdeps/sparc/sysdep.h: this new file and add new values.
14640 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
14641 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
14642 _DL_HWCAP_COUNT to 24.
14643 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
14644 entries.
14645 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
14646 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
14647 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
14648 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
14649 instead of magic constants.
14650 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
14651
3ba57516
DM
146522011-08-31 David S. Miller <davem@davemloft.net>
14653
14654 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
14655 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
14656 Reimplement to do errno handling inline.
14657 (SYSCALL_ERROR_HANDLER): New macro.
14658 (__SYSCALL_STRING): Do not do errno handling in asm.
14659 (__CLONE_SYSCALL_STRING): Delete.
14660 (__INTERNAL_SYSCALL_STRING): Delete.
14661 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
14662 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
14663 (PSEUDO): Reimplement to do errno handling inline.
14664 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
14665 (SYSCALL_ERROR_HANDLER): New macro.
14666 (__SYSCALL_STRING): Do not do errno handling in asm.
14667 (__CLONE_SYSCALL_STRING): Delete.
14668 (__INTERNAL_SYSCALL_STRING): Delete.
14669 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
14670 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
14671 i386.
14672 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
14673 (inline_syscall*): Add 'err' argument.
14674 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
14675 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
14676 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
14677 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
14678
14679 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
14680 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
14681
2bc17433
AS
146822011-08-30 Andreas Schwab <schwab@redhat.com>
14683
14684 * elf/rtld.c (dl_main): Relocate objects in dependency order.
14685
fbeb5f4d
JO
146862011-08-29 Jiri Olsa <jolsa@redhat.com>
14687
14688 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
14689 directive.
14690
ad69cc26
DM
146912011-08-24 David S. Miller <davem@davemloft.net>
14692
14693 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
14694
39dd69df
AS
146952011-08-24 Andreas Schwab <schwab@redhat.com>
14696
14697 * elf/Makefile: Add rules to build and run unload8 test.
14698 * elf/unload8.c: New file.
14699 * elf/unload8mod1.c: New file.
14700 * elf/unload8mod1x.c: New file.
14701 * elf/unload8mod2.c: New file.
14702 * elf/unload8mod3.c: New file.
14703
14704 * elf/dl-close.c (_dl_close_worker): Reset private search list if
14705 it wasn't used.
14706
2c0b250a
DM
147072011-08-23 David S. Miller <davem@davemloft.net>
14708
14709 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
14710 subtract stack bias.
14711 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
14712 %sp not %fp in calculations.
14713 (_JMPBUF_UNWINDS_ADJ): Likewise.
14714
22044b48
DM
14715 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
14716 (aio_suspend): Call it to force an exception region around the
14717 AIO_MISC_WAIT() invocation.
14718
2cae4995
AS
147192011-08-23 Andreas Schwab <schwab@redhat.com>
14720
14721 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
14722 backslash.
14723
873a772e
AJ
147242011-07-04 Aurelien Jarno <aurelien@aurel32.net>
14725
14726 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
14727 protection macro.
14728 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
14729 and <dl-machine.h>.
14730 (Elf64_FuncDesc): Remove.
14731
25ad0df1
DM
147322011-08-22 David S. Miller <davem@davemloft.net>
14733
14734 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
14735 sigaltstack check, add missing cfi directives.
14736 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
14737 missing cfi directives, and sigaltstack handling.
14738
e888bcbe
AS
147392011-08-16 Andreas Schwab <schwab@redhat.com>
14740
14741 [BZ #11724]
14742 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
14743 object is seen twice.
14744 * elf/dl-fini.c (_dl_sort_fini): Likewise.
14745
14746 * elf/Makefile (distribute): Add tst-initorder2.c.
14747 (tests): Add tst-initorder2.
14748 (modules-names): Add tst-initorder2a tst-initorder2b
14749 tst-initorder2c tst-initorder2d. Add rules to build them.
14750 ($(objpfx)tst-initorder2.out): New rule.
14751 * elf/tst-initorder2.c: New file.
14752 * elf/tst-initorder2.exp: New file.
14753
87162f46
AS
147542011-08-22 Andreas Schwab <schwab@redhat.com>
14755
70538b7f
AS
14756 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
14757
f55ffe58
AS
14758 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
14759 dependencies back to end of function.
14760
87162f46
AS
14761 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
14762 $(elfobjdir)/ld.so.
14763
91b392a4
UD
147642011-08-21 Ulrich Drepper <drepper@gmail.com>
14765
14766 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
14767 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
14768 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
14769 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
14770 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
14771 of __vdso_gettimeofday.
14772 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
14773 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
14774 attribute_hidden.
14775 (_libc_vdso_platform_setup): Remove initialization of
14776 __vdso_gettimeofday and __vdso_time.
14777
5c43483f
UD
147782011-08-20 Ulrich Drepper <drepper@gmail.com>
14779
775a77e7
UD
14780 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
14781 and fgetc_unlocked.
14782 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
14783 getc_unlocked.
89f447ed 14784
49c74ba9
UD
14785 * elf/dl-open.c (add_to_global): Report additions to the global scope
14786 for LD_DEBUG=scopes.
14787 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 14788 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 14789
5c43483f
UD
14790 [BZ #13114]
14791 * stdio-common/Makefile (tests): Add bug24.
14792 * stdio-common/bug24.c: New file.
14793
a101b025
AJ
147942011-08-19 Andreas Jaeger <aj@suse.de>
14795
14796 [BZ #13114]
14797 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
14798 non-existant file when using close-on-exec mode.
14799
c88f1766
UD
148002011-08-20 Ulrich Drepper <drepper@gmail.com>
14801
0276a718
UD
14802 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
14803 the very first instruction.
14804
c88f1766
UD
14805 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
14806 the CFI state in the end.
14807 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
14808 inclusion of dl-trampoline.h.
14809 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
14810
51ccffa0
AS
148112011-08-19 Andreas Schwab <schwab@redhat.com>
14812
94d7165f
AS
14813 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
14814 expectations for long double.
14815
51ccffa0
AS
14816 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
14817 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
14818
fd708658 148192011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
14820
14821 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
14822 artificual limit depends upon the system page size.
14823
44f0a71e
UD
148242011-08-17 Ulrich Drepper <drepper@gmail.com>
14825
14826 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
14827 * resolv/Makefile: Define CFLAGS-libresolv.
14828
8de79a24
AS
148292011-08-17 Andreas Schwab <schwab@redhat.com>
14830
14831 * nss/makedb.c (compute_tables): Make variables used in nested
14832 function static.
14833
27724598
UD
148342011-08-17 Ulrich Drepper <drepper@gmail.com>
14835
c5305d88
UD
14836 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
14837 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
14838 if buffer was too small.
14839
27724598
UD
14840 * elf/pldd.c (main): Attach to all threads in the process.
14841 Rewrite /proc handling to use *at functions.
14842
076fe015
UD
148432011-08-16 Ulrich Drepper <drepper@gmail.com>
14844
174baab3
UD
14845 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
14846 specifies first scope to show.
14847 (dl_open_worker): Update callers. Move printing scope of new
14848 object to before the relocation.
44f0a71e 14849 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
14850 * sysdeps/generic/ldsodefs.h: Update declaration.
14851
076fe015
UD
14852 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
14853 string for the scope number.
14854
a60df2c3
UD
148552011-08-14 Ulrich Drepper <drepper@gmail.com>
14856
14857 * nscd/servicescache.c (cache_addserv): Make sure written is always
14858 initialized.
14859
5e4287d1
RM
148602011-08-14 Roland McGrath <roland@hack.frob.com>
14861
85ae0589
RM
14862 * sysdeps/i386/i486/bits/atomic.h
14863 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
14864 statement expression, so as to suppress "set but not used" warning.
14865 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
14866
69f63097
RM
14867 * string/strncat.c (STRNCAT): Use prototype definition.
14868
675456ef
RM
14869 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
14870 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
14871 -Iprograms here.
14872 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
14873 (localedef-modules): Add localedef.
14874 (locale-modules): Add locale.
14875
5e4287d1
RM
14876 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
14877 * elf/rtld.c (dl_main): Invert order of assignment in last change,
14878 to avoid a warning.
14879
9c96ff23
DM
148802011-08-14 David S. Miller <davem@davemloft.net>
14881
14882 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
14883 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
14884
f9ddf089
UD
148852011-08-13 Ulrich Drepper <drepper@gmail.com>
14886
44f0a71e 14887 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
14888 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
14889 * elf/rtld.c (dl_main): Set l_name of vDSO.
14890 Call _dl_show_scope when DL_DEBUG_SCOPES.
14891 (process_dl_debug): Recognize scopes flag and also set it for all.
14892 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
14893 Declare _dl_show_scope.
14894
1dc27704
UD
14895 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
14896 (do_dlopen): Pass caller_dlopen to dl_open.
14897 (__libc_dlopen_mode): Initialize caller_dlopen.
14898
f9ddf089
UD
14899 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
14900 of libc. Make tolower call locale-independent. Optimize a bit by
14901 using isdigit instead of isalnum.
14902 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
14903
9ac533d3
UD
149042011-08-12 Ulrich Drepper <drepper@gmail.com>
14905
14906 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
14907 was a dependency or dynamically loaded.
14908
89edf2e9
UD
149092011-08-11 Ulrich Drepper <drepper@gmail.com>
14910
8e999d29
UD
14911 * intl/l10nflist.c: Allow architecture-specific pop function.
14912 * sysdeps/x86_64/l10nflist.c: New file.
14913
89edf2e9
UD
14914 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
14915 classification.
14916
14d96785
AS
149172011-08-10 Andreas Schwab <schwab@redhat.com>
14918
14919 * include/dirent.h: Add libc_hidden_proto for scandirat and
14920 scandirat64. Don't declare __scandirat64.
14921 * dirent/scandirat.c: Add libc_hidden_def.
14922 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
14923 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
14924
6761ac04
DM
149252011-08-10 David S. Miller <davem@davemloft.net>
14926
14927 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
14928 enum.
14929 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
14930 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
14931 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
14932
c55fbd1e
UD
149332011-08-09 Ulrich Drepper <drepper@gmail.com>
14934
14935 * Versions.def [libc]: Add GLIBC_2.15.
14936 * dirent/Makefile (routines): Add scandirat and scandirat64.
14937 * dirent/Versions [libc]: Export scandirat and scandirat64 for
14938 GLIBC_2.15.
14939 * dirent/dirent.h: Declare scandirat and scandirat64.
14940 * dirent/scandirat.c: New file.
14941 * dirent/scandirat64.c: New file.
14942 * sysdeps/wordsize-64/scandirat.c: New file.
14943 * sysdeps/wordsize-64/scandirat64.c: New file.
14944 * dirent/opendir.c: Define opendirat.
14945 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
14946 using scandirat.
14947 * dirent/scandir64.c: Adjust for scandir.c change.
14948 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
14949 __scandirat64, and __scandir_cancel_handler.
14950 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
14951 additional parameter and use openat instead of open (outside of ld.so).
14952 Add new __opendir as wrapper around __opendirat.
14953 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
14954 here without requiring old scandirat implementation.
14955
879165f2
UD
149562011-08-08 Ulrich Drepper <drepper@gmail.com>
14957
14958 * dirent/scandir.c (cancel_handler): Renamed to
14959 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
14960 defined. Adjust users.
14961 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
14962 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
14963
cb7e923b
UD
149642011-08-04 Ulrich Drepper <drepper@gmail.com>
14965
16292edd
UD
14966 * string/test-string.h (IMPL): Use __STRING to expand name and then
14967 stringify it.
14968
cb7e923b
UD
14969 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
14970 of cleanups.
14971
cff82933
LD
149722011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14973
14974 * string/Makefile: Update.
14975 (strop-tests): Append strncat.
14976 * string/test-wcscmp.c: New file.
14977 New comprehensive test for wcscmp.
14978 * string/test-strcmp.c: Update.
14979 (WIDE): New define.
14980
9be9bfcc
AS
149812011-07-22 Andreas Schwab <schwab@redhat.com>
14982
14983 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
14984 line.
14985
2e96f1c7
AS
149862011-07-26 Andreas Schwab <schwab@redhat.com>
14987
14988 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
14989 encoding to ACE if AI_IDN.
14990
85188888
JJ
149912011-08-01 Jakub Jelinek <jakub@redhat.com>
14992
14993 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
14994 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
14995
5fa16e9b
LD
149962011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14997
14998 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
14999 Fix overflow bug in strncat.
15000 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
15001
15002 * string/test-strncat.c: Update.
15003 Add new tests for checking overflow bugs.
15004
150052011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15006
15007 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15008 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
15009 * sysdeps/i386/i686/multiarch/strcat.S: New file.
15010 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
15011 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
15012 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
15013 * sysdeps/i386/i686/multiarch/strncat.S: New file.
15014 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
15015 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
15016
15017 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
15018 (USE_AS_STRCAT): Define.
15019 Add strcat and strncat support.
15020 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
15021
8c1a459f
AS
150222011-07-25 Andreas Schwab <schwab@redhat.com>
15023
15024 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
15025 __n bigger than INT_MAX+1.
15026 (__strncmp_g): Likewise.
15027
bba33c28
UD
150282011-07-23 Ulrich Drepper <drepper@gmail.com>
15029
798be72d
UD
15030 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
15031 * libio/stido.h: Likewise.
15032
8accd4dc
UD
15033 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
15034 (AF_NFC): Define.
15035 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
15036 (AF_NFC): Define.
15037
cbff0d96
UD
15038 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
15039 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
15040 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
15041 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
15042 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
15043
9191c04a
UD
15044 [BZ #13021]
15045 * scripts/test-installation.pl: Don't expect libnss_test1 to be
15046 installed.
15047
bba33c28
UD
15048 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
15049 typo.
15050 (_dl_x86_64_save_sse): Likewise.
15051
90f139dd
UD
150522011-07-22 Ulrich Drepper <drepper@gmail.com>
15053
1aae088a
UD
15054 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
15055 OSXSAVE.
15056 (_dl_x86_64_save_sse): Likewise.
15057
8e2045f5
UD
15058 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
15059
90f139dd
UD
15060 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
15061
1d002f25
AS
150622011-07-21 Andreas Schwab <schwab@redhat.com>
15063
15064 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
15065 change.
15066 (_dl_x86_64_save_sse): Use correct AVX check.
15067
21137f89
UD
150682011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15069
15070 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
15071 bug in strncpy/strncat.
15072 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
15073
a65c0b7a
UD
150742011-07-21 Ulrich Drepper <drepper@gmail.com>
15075
15076 * string/tester.c (test_strcat): Add tests for different alignments
15077 of source and destination.
15078 (test_strncat): Likewise.
15079
6986b98a
UD
150802011-07-20 Ulrich Drepper <drepper@gmail.com>
15081
90bb2039
UD
15082 [BZ #12852]
15083 * posix/glob.c (glob): Check passed in values before using them in
15084 expressions to avoid some overflows.
15085 (glob_in_dir): Likewise.
15086
5644ef54
UD
15087 [BZ #13007]
15088 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
15089 check for AVX enablement so that we don't crash with old kernels and
15090 new hardware.
15091 * elf/tst-audit4.c: Add same checks here.
15092 * elf/tst-audit6.c: Likewise.
15093
15094 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 15095
bfc9dc9b
AS
150962011-07-09 Andreas Schwab <schwab@linux-m68k.org>
15097
15098 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
15099
702e64bb
UD
151002011-07-20 Ulrich Drepper <drepper@gmail.com>
15101
15102 * po/cs.po: Update from translation team.
15103 * po/bg.po: Likewise.
15104
295e904f
MP
151052011-07-12 Marek Polacek <mpolacek@redhat.com>
15106
15107 * misc/sys/cdefs.h: Add support for const attribute.
15108 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
15109 to gnu_dev_{major,minor,makedev} functions.
15110
3ff94596
MP
151112011-07-20 Marek Polacek <mpolacek@redhat.com>
15112
15113 * intl/dcigettext.c (get_output_charset): Add missing bracket.
15114
28b59fca
AS
151152011-07-20 Andreas Schwab <schwab@redhat.com>
15116
15117 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
15118 strlen results.
15119
19df733e
AK
151202011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15121
15122 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
15123 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
15124 register in order to avoid conflicts with the soft frame pointer
15125 being held in r11 when necessary.
15126 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
15127 (INTERNAL_VSYSCALL_NCS): Likewise.
15128
c8835729
MP
151292011-07-14 Marek Polacek <mpolacek@redhat.com>
15130
15131 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
15132 * elf/dl-fini.c (_dl_fini): Adjust caller.
15133 * elf/dl-close.c (_dl_close_worker): Likewise.
15134 * sysdeps/generic/ldsodefs.h: Adjust declaration.
15135
b902330c
MP
151362011-07-15 Marek Polacek <mpolacek@redhat.com>
15137
8991e135
MP
15138 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
15139 "aux_cache->nlibs < 0".
15140
b902330c
MP
15141 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
15142 in the reload-count case.
15143
99710781
LD
151442011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15145
15146 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15147 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
15148 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
15149 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
15150 * sysdeps/x86_64/multiarch/strcat.S: New file.
15151 * sysdeps/x86_64/multiarch/strncat.S: New file.
15152 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
15153 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
15154 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
15155 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
15156 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
15157 (USE_AS_STRCAT): Define.
15158 Add strcat and strncat support.
15159 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
15160 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
15161 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
15162 * string/strncat.c: Update.
15163 (USE_AS_STRNCAT): Define.
15164 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15165 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
15166 and i7.
15167 * sysdeps/x86_64/multiarch/init-arch.h
15168 (bit_Prefer_PMINUB_for_stringop): New.
15169 (index_Prefer_PMINUB_for_stringop): Likewise.
15170 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
15171 bit_Prefer_PMINUB_for_stringop.
15172
7dc6bd90
UD
151732011-07-19 Ulrich Drepper <drepper@gmail.com>
15174
15175 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
15176 buffer64.
15177 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
15178 of casting of buffer.
15179 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
15180 buffer32 and buffer64.
15181 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
15182 writes instead of casting of buffer.
15183 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
15184 buffer32.
15185 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
15186 casting of buffer.
15187
e0e72284
AS
151882011-07-19 Andreas Schwab <schwab@redhat.com>
15189
15190 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
15191
feb1eb0b
UD
151922011-07-19 Ulrich Drepper <drepper@gmail.com>
15193
15194 * nscd/nscd.c (termination_handler): Don't do anything for a database
15195 if it has not yet been initialized.
15196
298711ff
UD
151972011-07-18 Ulrich Drepper <drepper@gmail.com>
15198
15199 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
15200
152012011-07-15 Marek Polacek <mpolacek@redhat.com>
15202
15203 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
15204
f9d68389
UD
152052011-07-18 Ulrich Drepper <drepper@gmail.com>
15206
15207 * po/nl.po: Update from translation team.
15208 * po/sv.po: Likewise.
15209
db290cf5
RM
152102011-07-16 Roland McGrath <roland@hack.frob.com>
15211
15212 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
15213 now disallowed by GCC.
5c550700 15214
fd5e21c7
RM
15215 * configure.in (use-default-link): Default to yes if a test -shared
15216 link meets our qualifications.
15217 * configure: Regenerated.
15218
5c550700
RM
15219 * config.make.in (output-format): New variable.
15220 * configure.in: Check for ld --print-output-format support.
15221 * configure: Regenerated.
15222 * Makerules ($(common-objpfx)format.lds)
15223 [$(output-format) != unknown]: Just use $(output-format),
15224 instead of the linker-script munging.
15225
9fa2c032
RM
152262011-07-14 Roland McGrath <roland@hack.frob.com>
15227
a6928d51
RM
15228 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
15229 of $(common-objpfx)shlib.lds.
15230 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
15231
661607b3
RM
15232 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
15233 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
15234
9fa2c032
RM
15235 * configure.in (-z relro check): Adjust test code to add a large
15236 writable data section after it.
15237 * configure: Regenerated.
15238
defe9061
RM
152392011-07-11 Roland McGrath <roland@hack.frob.com>
15240
15241 * configure.in (-z relro check): Fix test code to make the variable
15242 truly const.
15243 * configure: Regenerated.
15244
319b9ad4
UD
152452011-07-11 Ulrich Drepper <drepper@gmail.com>
15246
15247 * nscd/nscd.h (struct traced_file): Define.
15248 (struct database_dyn): Remove inotify_descr, reset_res, and filename
15249 elements. Add traced_files.
15250 (inotify_fd): Declare.
15251 (register_traced_file): Declare.
15252 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
15253 (inotify_fd): Export.
15254 (resolv_conf_descr): Remove.
15255 (nscd_init): Move inotify descriptor creation to main.
15256 Don't register files for notification here.
15257 (register_traced_file): New function.
15258 (invalidate_cache): Don't use reset_res to determine whether to call
15259 res_init, go through the list of registered files.
15260 (main_loop_poll): The inotify descriptors are now stored in the
15261 structures for the traced files.
15262 (main_loop_epoll): Likewise
15263 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
15264 to __nss_disable_nscd.
15265 * nscd/cache.c (prune_cache): There is no single inotify descriptor
15266 for a database anymore. Check the records for all the registered
15267 files instead.
15268 * nss/Makefile (libnss_files-routines): Add files-init.
15269 (libnss_db-routines): Add db-init.
15270 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
15271 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
15272 * nss/nss_db/db-init.c: New file.
15273 * nss/nss_files/files-init.c: New file.
15274 * nss/nsswitch.c (nss_load_library): New function. Broken out of
15275 __nss_lookup_function.
15276 (__nss_lookup_function): Call nss_load_library.
15277 (nss_load_all_libraries): New function.
15278 (__nss_disable_nscd): Take parameter with callback function for files
15279 to register. Set is_nscd. Load all the DSOs for the NSS modules
15280 used for the cached services.
15281 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
15282 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
15283 options for features to all the files in nscd.
15284
15285 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
15286
23bee3e8
RM
152872011-07-10 Roland McGrath <roland@hack.frob.com>
15288
15289 * csu/elf-init.c (__libc_csu_init): Comment typo.
15290
46a5b7f0
UD
152912011-07-09 Ulrich Drepper <drepper@gmail.com>
15292
15293 * po/pl.po: Update from translation team.
15294 * po/ja.po: Likewise.
15295 * po/ru.po: Likewise.
15296 * po/ko.po: Likewise.
15297 * po/fr.po: Likewise.
15298
d30cf5bb
RM
152992011-07-09 Roland McGrath <roland@hack.frob.com>
15300
113ddea4
RM
15301 * configure.in (.ctors/.dtors header and trailer check):
15302 Use an empirical test on a built program.
15303 * configure: Regenerated.
15304
574920b4
RM
15305 * configure.in (-z relro check): Use an empirical test on a built DSO.
15306 Detect, but do not require, on ia64.
15307 * configure: Regenerated.
15308
d30cf5bb
RM
15309 * configure.in (READELF): Find it with AC_CHECK_TOOL.
15310 Update tests that use readelf to use $READELF instead.
15311 * configure: Regenerated.
15312
8538fdb3
UD
153132011-07-08 Ulrich Drepper <drepper@gmail.com>
15314
15315 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
15316 if the result is not used.
15317
04d08991
AJ
153182011-07-05 Andreas Jaeger <aj@suse.de>
15319
15320 [BZ#9696]
15321 * stdlib/tst-strtod.c: Add testcase.
15322
de283087
AD
153232011-07-07 Ulrich Drepper <drepper@gmail.com>
15324
4e5f31c8 15325 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 15326 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
15327 The latter has a higher limit. Take additional parameter to pass to
15328 the new function.
15329 (__pathconf): Pass file to __statfs_link_max.
15330 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
15331 __statfs_link_max.
15332 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
15333 __statfs_link_max.
15334
de283087
AD
15335 [BZ #12868]
15336 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
15337 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15338 Handle Lustre.
15339 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
15340 (__statfs_filesize_max): Likewise.
15341 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
15342
c75fa153
AJ
153432011-07-05 Andreas Jaeger <aj@suse.de>
15344
15345 * resolv/res_comp.c (dn_skipname): Remove unused variable.
15346
1a544854
UD
153472011-07-06 Marek Polacek <mpolacek@redhat.com>
15348
15349 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
15350 `status' variable.
15351 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
15352 Likewise.
15353
6f0eec67
UD
153542011-07-04 H.J. Lu <hongjiu.lu@intel.com>
15355
15356 * Makefile (strop-tests): Add strncat.
15357 * string/test-strncat.c: New file.
15358
aae30307
UD
153592011-06-30 Marek Polacek <mpolacek@redhat.com>
15360
15361 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
15362
c0cfb5eb
UD
153632011-06-21 Andreas Jaeger <aj@suse.de>
15364
15365 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
15366 Copy rule from iconvdata/Makefile.
15367
01636b21
UD
153682011-07-06 Ulrich Drepper <drepper@gmail.com>
15369
15370 [BZ #12922]
15371 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
15372 but no long options are defined, just return 'W'.
15373
9895c8bc
UD
153742011-06-22 Marek Polacek <mpolacek@redhat.com>
15375
15376 [BZ #9696]
15377 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
15378
5d4cf042
UD
153792011-07-06 Ulrich Drepper <drepper@gmail.com>
15380
15381 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
15382 netgroups to read.
960e5535 15383 (innetgr): Likewise.
5d4cf042 15384
751eb97e
RM
153852011-07-05 Roland McGrath <roland@hack.frob.com>
15386
15387 * config.make.in (install_root): Default to $(DESTDIR).
15388
f15f1e45
UD
153892011-07-05 Ulrich Drepper <drepper@gmail.com>
15390
15391 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
15392
4e34ac6a
RM
153932011-07-02 Roland McGrath <roland@hack.frob.com>
15394
5e9b6af4
RM
15395 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
15396
84f9ea0f
RM
15397 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
15398 containing directory rather than embedding absolute directory names.
15399
ea5ee9f7
RM
15400 * scripts/check-local-headers.sh: Rewritten using awk.
15401 Match by word, not by line. Print error messages for matches.
15402 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
15403
1b74661a
RM
15404 * Makerules [shlib-lds-flags empty]:
15405 ($(common-objpfx)libc_pic.opts): New target.
15406 ($(common-objpfx)libc_pic.os.clean): New target.
15407 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
15408
15409 * config.make.in (OBJCOPY): New variable.
15410 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
15411 * configure: Regenerated.
15412
f781ef40
RM
15413 * config.make.in (use-default-link): New variable.
15414 * configure.in (use_default_link): Grok --with-default-link to set it.
15415 * configure: Regenerated.
15416 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
15417 (shlib-lds, shlib-lds-flags): Define to empty.
15418
2d4fa81e
RM
15419 * Makerules (shlib-lds): New variable.
15420 (shlib-lds-flags): New variable.
15421 (build-shlib, build-moduile, build-module-asneeded): Use it.
15422 ($(common-objpfx)libc.so): Use $(shlib-lds).
15423 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
15424 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
15425
31fffa6b
RM
15426 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
15427 DT_FLAGS/DT_FLAGS_1 with zero flags.
15428
4e34ac6a
RM
15429 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
15430 linker script munging.
15431
fcfc776b
UD
154322011-07-02 Ulrich Drepper <drepper@gmail.com>
15433
15434 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
15435 as 128-bit value.
15436 * crypt/sha512.c (sha512_process_block): Perform total addition using
15437 128-bit if possible.
15438 (__sha512_finish_ctx): Likewise.
15439 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
15440 as 64-bit value.
15441 * crypt/sha256.c (SWAP64): Define.
15442 (sha256_process_block): Perform total addition using 64-bit if
15443 possible.
15444 (__sha256_finish_ctx): Likewise.
15445
99231d9a
UD
154462011-07-01 Ulrich Drepper <drepper@gmail.com>
15447
15448 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
15449 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15450 * nscd/hstcache.c (cache_addhst): Likewise.
15451 * nscd/grpcache.c (cache_addgr): Likewise.
15452 * nscd/aicache.c (addhstaiX): Likewise
15453 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
15454
445b4a53
TK
154552011-07-01 Thorsten Kukuk <kukuk@suse.de>
15456
15457 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
15458 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15459 * nscd/hstcache.c (cache_addhst): Likewise.
15460 * nscd/grpcache.c (cache_addgr): Likewise.
15461 * nscd/aicache.c (addhstaiX): Likewise
15462
6d4d8e8e
AS
154632011-07-01 Andreas Schwab <schwab@redhat.com>
15464
15465 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
15466 domain only when needed.
15467
89f654c5
AS
154682011-06-30 Andreas Schwab <schwab@redhat.com>
15469
15470 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
15471 is always restored.
15472
cf3b23ff
UD
154732011-06-29 Ulrich Drepper <drepper@gmail.com>
15474
15475 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
15476 are re-adding the entry.
15477 * nscd/servicescache.c (cache_addserv): Likewise.
15478
751626f9
AJ
154792011-06-30 Aurelien Jarno <aurelien@aurel32.net>
15480
15481 * sysdeps/generic/dl-irel.h: fix protection against multiple
15482 inclusions.
15483 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
15484
9113ea1f
UD
154852011-06-28 Ulrich Drepper <drepper@gmail.com>
15486
5c0b8d90
UD
15487 [BZ #12935]
15488 * malloc/memusage.sh: Fix quoting in message.
15489 * debug/xtrace.sh: Likewise.
15490
9113ea1f
UD
15491 * configure.in: Remove support for --experimental-malloc option, make
15492 it the default.
15493 * config.make.in: Likewise.
15494 * malloc/Makefile: Likewise.
15495
a4172181
AS
154962011-06-27 Andreas Schwab <schwab@redhat.com>
15497
15498 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
15499 two-byte characters.
15500
78a7eee7
RM
155012011-06-27 Roland McGrath <roland@hack.frob.com>
15502
62bede13
RM
15503 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
15504 AC_CACHE_CHECK invocation.
15505 * configure: Regenerated.
15506
78a7eee7
RM
15507 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
15508
5ce33a62
UD
155092011-06-27 Ulrich Drepper <drepper@gmail.com>
15510
034807a9
UD
15511 [BZ #12350]
15512 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
15513 bit from old_res_options.
15514
4902da17
UD
15515 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
15516
5ce33a62
UD
15517 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
15518 value type for setfct.
15519
c2344f56
L
155202011-06-23 H.J. Lu <hongjiu.lu@intel.com>
15521
15522 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
15523 __gettimeofday instead of gettimeofday.
15524
68468076
UD
155252011-06-26 Ulrich Drepper <drepper@gmail.com>
15526
15527 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
15528
acb0d739
L
155292011-06-24 H.J. Lu <hongjiu.lu@intel.com>
15530
15531 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
15532
15533 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
15534 info.
15535
8912479f
L
155362011-06-22 H.J. Lu <hongjiu.lu@intel.com>
15537
15538 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15539 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
15540 strcpy-sse2-unaligned strncpy-sse2-unaligned
15541 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
15542 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
15543 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
15544 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
15545 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
15546 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
15547 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
15548 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
15549 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
15550 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
15551 (STRCPY): Support SSE2 and SSSE3 versions.
15552
d5495a11
UD
155532011-06-24 Ulrich Drepper <drepper@gmail.com>
15554
15555 [BZ #12874]
15556 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
15557 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
15558 kernels which artificially limit size of requests.
15559
0b1cbaae
L
155602011-06-22 H.J. Lu <hongjiu.lu@intel.com>
15561
15562 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15563 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
15564 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
15565 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
15566 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
15567 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
15568 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
15569 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
15570 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
15571 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
15572 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
15573 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
15574 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
15575 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
15576 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
15577 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15578 Enable unaligned load optimization for Intel Core i3, i5 and i7
15579 processors.
15580 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
15581 Define.
15582 (index_Fast_Unaligned_Load): Define.
15583 (HAS_FAST_UNALIGNED_LOAD): Define.
15584
07f494a0
MP
155852011-06-23 Marek Polacek <mpolacek@redhat.com>
15586
15587 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
15588
fa3fc0fe
UD
155892011-06-22 Ulrich Drepper <drepper@gmail.com>
15590
15591 [BZ #12907]
15592 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
15593 until it is clear that the information is realy needed.
15594 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
15595
e12df166
AS
155962011-06-22 Andreas Schwab <schwab@redhat.com>
15597
15598 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
15599
852eb34d
UD
156002011-06-22 Ulrich Drepper <drepper@gmail.com>
15601
84e2a551
UD
15602 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
15603 /sys/devices/system/cpu/online if it is usable.
15604
852eb34d
UD
15605 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
15606 reading the information from the /proc filesystem to once a second.
15607
6e502e19
UD
156082011-06-21 Andreas Jaeger <aj@suse.de>
15609
15610 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
15611 NULL after inclusion of kernel headers.
15612
75d39ff2
UD
156132011-06-21 Ulrich Drepper <drepper@gmail.com>
15614
51f9aa6a
UD
15615 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
15616 calls to internal_setent.
15617
c0244a9d
UD
15618 [BZ #12885]
15619 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
15620 addresses using gethostbyname4_r ignore IPv4 addresses.
15621
c5e3c2ae
UD
15622 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
15623 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
15624
75d39ff2
UD
15625 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
15626
42675c6f
DM
156272011-06-20 David S. Miller <davem@davemloft.net>
15628
15629 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
15630 inclusions.
15631 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
15632
15633 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
15634 (elf_irel): Use it.
15635 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
15636 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
15637 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
15638 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
15639 * sysdeps/x86_64/dl-irel.h: Likewise.
15640
15641 * elf/dl-runtime.c: Use elf_ifunc_invoke.
15642 * elf/dl-sym.c: Likewise.
15643
57912a71
UD
156442011-06-15 Ulrich Drepper <drepper@gmail.com>
15645
15646 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
15647 need to dereference resplen2.
15648
ee22793d
AS
156492011-06-14 Andreas Schwab <schwab@redhat.com>
15650
15651 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
15652
a9e836b0
UD
156532011-06-15 Ulrich Drepper <drepper@gmail.com>
15654
77fb9117
UD
15655 * Makeconfig: Define vardbdir and inst_vardbdir.
15656 * nss/Makefile: Add rules to install db-Makefile.
15657
40c1b22c
UD
15658 * nss/nss_db/db-XXX.c: Cleanup.
15659
9f2da732
UD
15660 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
15661 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
15662 GLIBC_PRIVATE.
15663 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
15664 * nss/makedb.c: Implement -g option to specify that value strings
15665 are generated and should not be added to table iterated over for
15666 get*ent calls.
15667 * nss/nss_db/db-initgroups.c: New file.
15668
82e9a1f7
UD
15669 * nss/getent.c: Add support for initgroups lookups through getgrouplist
15670 interface.
15671
c41af17e
UD
15672 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
15673 (internal_getgrouplist): Adjust to name change.
15674 Update use_initgroups_entry if this is not the first call.
15675 * nss/databases.def: Add initgroups entry.
15676
a9e836b0
UD
15677 * nss/makedb.c (compute_tables): Check result of multiple hash table
15678 sizes to minimize maximum chain length.
15679
2666d441
UD
156802011-06-14 Ulrich Drepper <drepper@gmail.com>
15681
15682 * Versions.def: Add entry for libnss_db.
15683 * shlib-versions: Likewise.
15684 * nss/Makefile: Add rules to build libnss_db.
15685 * nss/Versions: Add libnss_db information. Organize libnss_files
15686 entries better.
15687 * nss/db-Makefile: Add gshadow support. Change rules for the new
15688 makedb progra. Some minor improvements to generate smaller files.
15689 * nss/nss_db/nss_db.h: Move NSS database header data structures to
15690 here from...
15691 * nss/makedb.c: ...here.
15692 Improve database format to be smaller and require less memory at
15693 runtime.
15694 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
15695 db anymore.
15696 * nss/nss_db/db-netgrp.c: Likewise.
15697 * nss/nss_db/db-open.c: Likewise.
15698 * nss/nss_files/flies-XXX.x: Adjust comments.
15699 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
15700 * nss/nss_files/files-grp.c: Likewise.
15701 * nss/nss_files/files-hosts.c: Likewise.
15702 * nss/nss_files/files-network.c: Likewise.
15703 * nss/nss_files/files-proto.c: Likewise.
15704 * nss/nss_files/files-pwd.c: Likewise.
15705 * nss/nss_files/files-rpc.c: Likewise.
15706 * nss/nss_files/files-service.c: Likewise.
15707 * nss/nss_files/files-sgrp.c: Likewise.
15708 * nss/nss_files/files-spwd.c: Likewise.
15709 * nss/nss_db/db-alias.c: Removed.
15710 * nss/nss_db/dummy-db.h: Removed.
15711
9ee76b5a
UD
157122011-06-02 Ulrich Drepper <drepper@gmail.com>
15713
15714 * nss/makedb.c: Rewritten to not use database library.
15715 * nss/Makefile: Update to build new makedb program.
15716
c71ca1f8
AJ
157172011-06-14 Andreas Jaeger <aj@suse.de>
15718
15719 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
15720 memset declaration.
15721
3154bfb8
UD
157222011-06-10 Andreas Schwab <schwab@redhat.com>
15723
15724 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
15725 tmpbuf.
15726
b350afab
RM
157272011-06-10 Roland McGrath <roland@hack.frob.com>
15728
decd4e50
RM
15729 * Makerules (shlib.lds): Fail if the linker script comes out empty.
15730 * elf/Makefile ($(objpfx)ld.so): Likewise.
15731
5615eaf2
RM
15732 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
15733 Don't list ld.so twice in dependencies.
15734
15735 * posix/bug-regex31.c: Include <stdlib.h>.
15736
15737 * nscd/hstcache.c (cache_addhst): Remove unused variable.
15738
15739 * nis/nss_compat/compat-spwd.c
15740 (getspent_next_nss_netgr): Remove unused variable.
15741 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
15742
15743 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
15744 nonmembers" output to use the right array.
15745
15746 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
15747
15748 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
15749
15750 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
15751 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
15752 * catgets/gencat.c (read_input_file): Likewise.
15753 * locale/programs/locarchive.c (enlarge_archive): Likewise.
15754
15755 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
15756 variable definition inside #if's controlling its use.
15757
15758 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
15759
15760 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
15761
15762 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
15763
15764 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
15765 unreachable code.
15766
15767 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
15768
b68e08db
RM
15769 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
15770 * configure: Regenerated.
15771
b350afab
RM
15772 * Makerules: Revert last change.
15773 * elf/Makefile: Likewise.
15774
28368601
RM
157752011-06-09 Roland McGrath <roland@hack.frob.com>
15776
15777 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
15778 * elf/Makefile ($(objpfx)librtld.os): Likewise.
15779 (reloc-link): Likewise.
15780
11988f8f
UD
157812011-06-09 Ulrich Drepper <drepper@gmail.com>
15782
15783 * elf/Makefile: Add rules to build pldd.
15784 * elf/pldd.c: New file.
15785 * elf/pldd-xx.c: New file.
15786
e80fab37
UD
157872011-06-07 Ulrich Drepper <drepper@gmail.com>
15788
15789 * version.h: Update for 2.15 development version.
15790
9b849836
DM
157912011-06-07 David S. Miller <davem@davemloft.net>
15792
15793 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
15794 ifuncs.
15795 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
15796 elf_machine_lazy_rel): Likewise.
15797 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
15798 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
15799 elf_machine_lazy_rel): Likewise.
15800 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
15801 dl_hwcap via passed in argument.
15802 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
15803 Likewise.
15804
5a31b283
AK
158052011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15806
15807 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
15808
069e52f8
RM
158092011-06-06 Roland McGrath <roland@hack.frob.com>
15810
15811 [BZ #12849]
15812 * manual/fdl-1.1.texi: New file, verbatim from:
15813 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
15814 * manual/lgpl-2.1.texi: New file, verbatim from:
15815 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
15816 * manual/Makefile (licenses): New variable, list those new file names.
15817 (texis): Use it.
15818 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
15819
15820 * manual/fdl.texi: File removed.
15821 * manual/lesser.texi: File removed.
15822 * manual/libc.texinfo (Copying, Documentation License):
15823 Use new @include file names, put @appendix directive before @include.
15824
f16846a5
JJ
158252011-06-04 Jakub Jelinek <jakub@redhat.com>
15826
15827 [BZ #12841]
15828 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
15829 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
15830 (mq_open): Add __NTH.
15831
3d29045b
L
158322011-06-02 H.J. Lu <hongjiu.lu@intel.com>
15833
15834 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15835 Assume Intel Core i3/i5/i7 processor if AVX is available.
15836
8c297311
UD
158372011-05-31 Ulrich Drepper <drepper@gmail.com>
15838
15839 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
15840 typo.
15841
c8fc0c91
UD
158422011-05-31 Andreas Schwab <schwab@redhat.com>
15843
15844 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
15845 memory. Use alloca_account. Fix memory leak when retrying.
15846
5b27a807
UD
158472011-05-31 Ulrich Drepper <drepper@gmail.com>
15848
356f8bc6
UD
15849 * version.h (RELEASE): Bump for 2.14 release.
15850 * include/features.h (__GLIBC_MINOR__): Bump to 14.
15851
5b27a807
UD
15852 * config.make.in (RANLIB): Remove entry.
15853
01f16ab0
UD
158542011-05-30 Ulrich Drepper <drepper@gmail.com>
15855
41fce8bd
UD
15856 * po/Makefile (po-sed-cmd): Add ksh to extensions.
15857 (libc.pot): Work around missing support for .ksh extension in xgettext.
15858
4769ae77
UD
15859 [BZ #12684]
15860 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
15861 if both request failed.
15862 (send_dg): In case of server errors clear resplen or *resplen2.
15863
6b1e7d19
UD
15864 [BZ #12454]
15865 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
15866 when there are multiple maps.
15867 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
15868 (_dl_fini): Remove test here.
15869
01f16ab0
UD
15870 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
15871
b1ebd700
UD
158722011-05-29 Ulrich Drepper <drepper@gmail.com>
15873
7ae22829
UD
15874 [BZ #12350]
15875 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
15876 bit from old_res_options.
15877 (gaih_inet): Likewise.
15878
553149f6 15879 [BZ #11099]
18a84741 15880 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
15881 as signed.
15882
652ffab1
UD
15883 * resolv/res_init.c (res_setoptions): Make the code more compact.
15884
16985fd0
UD
15885 [BZ #11558]
15886 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
15887 set RES_USEVC.
15888
0464f746
UD
15889 [BZ #11634]
15890 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
15891
7d17596c
UD
15892 * malloc/malloc.h: Mark malloc hook variables as deprecated.
15893
cf6bbbd7
UD
15894 [BZ #11781]
15895 * malloc/malloc.h: Declare malloc hook variables as volatile.
15896
13f1ab36
UD
15897 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
15898 in last patch.
15899
b1ebd700
UD
15900 [BZ #11799]
15901 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 15902 raise in the comment.
80e2212d
UD
15903 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
15904 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
15905 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 15906
ce67228d
UD
159072011-05-28 Ulrich Drepper <drepper@gmail.com>
15908
8887a920
UD
15909 [BZ #12811]
15910 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
15911 grow the buffers more if it already has to be sufficient.
15912 (build_wcs_upper_buffer): Likewise.
15913 * posix/regexec.c (check_matching): Likewise.
15914 (clean_state_log_if_needed): Likewise.
15915 (extend_buffers): Don't enlarge buffers beyond size of the input
15916 buffer.
15917 Patches mostly by Emil Wojak <emil@wojak.eu>.
15918 * posix/bug-regex32.c: New file.
15919 * posix/Makefile (tests): Add bug-regex32.
15920
4f031072
UD
15921 * locale/findlocale.c (_nl_find_locale): Return right away if
15922 _nl_explode_name failed.
15923 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
15924
d0478f0c
UD
15925 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
15926
de81b246
UD
15927 * debug/xtrace.sh: Unify messages.
15928 * malloc/memusage.sh: Likewise.
15929
c738465a
UD
15930 [BZ #12813]
15931 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
15932 time symbol from vDSO. Substitute with vsyscall if not available.
15933 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
15934 __vdso_time.
15935
f1f929d7
UD
15936 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
15937 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
15938 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
15939 Add sendmmsg and internal_sendmmsg.
15940 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
15941 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
15942 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
15943
ce67228d
UD
15944 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
15945 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
15946 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
15947
e57420c6
UD
159482011-05-27 Ulrich Drepper <drepper@gmail.com>
15949
a8509ca5
UD
15950 [BZ #12813]
15951 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
15952 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
15953 available.
15954 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
15955 __vdso_getcpu.
15956
e57420c6
UD
15957 [BZ #12814]
15958 * iconvdata/Makefile (tests): Add bug-iconv9.
15959 * iconvdata/bug-iconv9.c: New file.
15960
4d07db15
AS
159612011-05-27 Andreas Schwab <schwab@redhat.com>
15962
15963 [BZ #12814]
15964 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
15965
ea486f69
JJ
159662011-05-25 Jakub Jelinek <jakub@redhat.com>
15967
15968 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
15969 (struct user_regs_struct): Change intcs field back to cs.
15970
6f038433
UD
159712011-05-25 Ulrich Drepper <drepper@gmail.com>
15972
15973 * po/ja.po: Update from translation team.
15974
67f86a25
UD
159752011-05-23 Ulrich Drepper <drepper@gmail.com>
15976
15977 [BZ #12795]
15978 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
15979 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
15980
def7fbd6
AS
159812011-05-20 Andreas Schwab <schwab@redhat.com>
15982
15983 * stdlib/longlong.h: Update from GCC.
15984
f50ef8f1
AS
159852011-05-23 Andreas Schwab <schwab@redhat.com>
15986
15987 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
15988 parameter name.
15989 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
15990 Add parameter name.
15991 (__sysconf): Pass it down.
15992
de7ce8f1
UD
159932011-05-22 Ulrich Drepper <drepper@gmail.com>
15994
f2962a71
UD
15995 [BZ #12671]
15996 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
15997 some situations.
15998 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
15999 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
16000 add in in __libc_use_alloca calls. Adjust callers.
16001 (glob): Use malloc in some situations.
16002
de7ce8f1
UD
16003 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
16004 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
16005 pltexit.
16006
aec84f53
UD
160072011-05-21 Ulrich Drepper <drepper@gmail.com>
16008
05bb4a68
UD
16009 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
16010 and CLOCK_BOOTTIME_ALARM.
16011
7ea72f99
UD
16012 [BZ #12782]
16013 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
16014 is returned.
16015
7e4afad5
UD
16016 * string/_strerror.c (__strerror_r): Print negative errors as signed
16017 numbers.
16018
8e211fec
UD
16019 [BZ #12777]
16020 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
16021 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
16022 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
16023
f7d82dc9
UD
16024 * configure.in: Fix typo in redirection and correct removal of test
16025 files in two cases.
16026
cc9e536d
UD
16027 [BZ #12788]
16028 * locale/setlocale.c (new_composite_name): Fix test to check for
16029 identical name of all categories.
16030
aec84f53
UD
16031 [BZ #12792]
16032 * libio/filedoalloc.c (local_isatty): New function.
16033 (_IO_file_doallocate): Use local_isatty.
16034 * stdio-common/perror.c (perror): In case a new stream is used
16035 forward the stream error.
16036 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
16037 error flag.
16038
78e64fdc
RT
160392011-05-20 Ulrich Drepper <drepper@gmail.com>
16040
34a9094f
UD
16041 [BZ #11869]
16042 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
16043 alloca.
16044 * include/alloca.h (extend_alloca_account): Define.
16045
78e64fdc
RT
16046 [BZ #11857]
16047 * posix/regex.h: Fix comments with documentation of user-accessible
16048 fields after compilation and describe correct free'ing of pattern
16049 after re_compile_pattern.
16050 Patch by Reuben Thomas <rrt@sc3d.org>.
16051
457bddfc
RA
160522011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
16053
16054 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
16055 and -mno-altivec to prevent the compiler from using Altivec and/or
16056 VSX instructions when the corresponding registers are not available.
16057
a4527b51
AS
160582011-05-19 Andreas Schwab <schwab@redhat.com>
16059
16060 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
16061
ed690b2f
UD
160622011-05-19 Ulrich Drepper <drepper@gmail.com>
16063
16064 * libio/freopen.c (freopen): Use __dup2, not dup2.
16065 * libio/freopen64.c (freopen64): Likewise.
16066
8db73634
L
160672011-05-17 H.J. Lu <hongjiu.lu@intel.com>
16068
16069 [BZ #12775]
16070 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
16071 * math/Makefile (tests): Add test-powl.
16072 (CFLAGS-test-powl.c): Define.
16073 * math/test-powl.c: New file.
16074
0a197a9d
L
160752011-05-16 H.J. Lu <hongjiu.lu@intel.com>
16076
16077 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
16078
ee30c380
UD
160792011-05-17 Ulrich Drepper <drepper@gmail.com>
16080
16081 [BZ #11837]
16082 * iconvdata/gb18030.c: Update to GB18020-2005.
16083
6ce75379
UD
160842011-05-16 Ulrich Drepper <drepper@gmail.com>
16085
a4b89fd8
AR
16086 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
16087 RE_SYNTAX_POSIX_AWK): Update to match recent development.
16088 Patch by Aharon Robbins <arnold@skeeve.com>.
16089
ea389b12
UD
16090 [BZ #11892]
16091 * stdlib/putenv.c (putenv): Don't always create copy of the variable
16092 on the stack.
16093
68a3f91f
UD
16094 [BZ #11895]
16095 * misc/pselect.c (__pselect): Handle timeout value errors hidden
16096 through underflows.
16097
15cc7dd1
UD
16098 [BZ #12766]
16099 * misc/error.c (error_at_line): Ensure file_name and old_file_name
16100 point to strings before performing equality test for error_one_per_line
16101 mode.
16102
f3799213
UD
16103 [BZ #11697]
16104 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
16105
d79a9c94
UD
16106 [BZ #11820]
16107 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
16108 (struct user_fpregs_struct): Avoid __uint*_t types.
16109
56e5eb46
UD
16110 [BZ #6420]
16111 * malloc/mtrace.c (tr_where): Add additional parameter to point to
16112 symbol info. Use it instead of calling _dl_addr locally.
16113 (lock_and_info): New function.
16114 (tr_freehook): Call lock_and_info and pass symbol info as additional
16115 parameter to tr_where.
16116 (tr_mallochook): Likewise.
16117 (tr_reallochook): Likewise.
16118 (tr_memalignhook): Likewise.
16119
6ce75379
UD
16120 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
16121 used and couldn't be at all thread-safe.
16122
f8a3b5bf
UD
161232011-05-15 Ulrich Drepper <drepper@gmail.com>
16124
94b7cc37
UD
16125 * libio/freopen.c (freopen): Don't close old file descriptor
16126 before the new one is opened. Instead dup the new file descriptor
16127 to the old one after the new stream is created.
16128 * libio/freopen64.c (freopen64): Likewise.
16129 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
16130 * libio/fileops.c (_IO_new_file_close_it): Handle new
16131 _IO_FLAGS2_NOCLOSE flag.
16132 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
16133 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
16134 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
16135 _IO_FLAGS2_NOCLOSE flag.
16136 * include/unistd.h: Add hidden_proto for dup3.
16137 Define __have_dup3.
16138 * io/dup3.c: Define hidden symbol.
16139 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
16140
bd25564e
UD
16141 [BZ #7101]
16142 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
16143 when an incomplete long option is used.
16144 * posix/tst-getopt_long1.c: New file.
16145 * posix/Makefile (tests): Add tst-getopt_long1.
16146
c84cfef4
UD
16147 [BZ #10138]
16148 * scripts/config.guess: Update from autoconf-2.68.
16149 * scripts/config.sub: Likewise.
16150
3b85df27
UD
16151 [BZ #10157]
16152 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
16153 tests into ...
16154 (has_cpuclock): ...this. New function.
16155 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
16156 macro here based on has_cpuclock code.
16157
15a856b1
UD
16158 [BZ #10149]
16159 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16160 First byte (not low byte) is now always NUL.
16161 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
16162
05f399e6
UD
16163 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16164 Use non-cancelable interfaces.
16165
10a52685 16166 [BZ #9809]
94ecc67d
UD
16167 * locale/iso-639.def: Add entry for Sorani.
16168
f8a3b5bf
UD
16169 [BZ #11901]
16170 * include/stdlib.h: Move include protection to the right place.
16171 Define abort_msg_s. Declare __abort_msg with it.
16172 * stdlib/abort.c (__abort_msg): Adjust type.
16173 * assert/assert.c (__assert_fail_base): New function. Majority
16174 of code from __assert_fail. Allocate memory for __abort_msg with
16175 mmap.
16176 (__assert_fail): Now call __assert_fail_base.
16177 * assert/assert-perr.c: Remove bulk of implementation. Use
16178 __assert_fail_base.
16179 * include/assert.hL Declare __assert_fail_base.
16180 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
16181 mmap.
16182 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
16183
1af4e298
UD
161842011-05-14 Ulrich Drepper <drepper@gmail.com>
16185
f8a3b5bf 16186 [BZ #11952]
d26dfc60
MG
16187 [BZ #12453]
16188 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
16189 until all modules are registered in the DTV.
16190 * elf/Makefile: Add rules to build and run tst-tls19.
16191 * elf/tst-tls19.c: New file.
16192 * elf/tst-tls19mod1.c: New file.
16193 * elf/tst-tls19mod2.c: New file.
16194 * elf/tst-tls19mod3.c: New file.
16195 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
16196
2fc54d6f
UD
16197 [BZ #12083]
16198 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
16199 correctly.
16200
98d76b46
UD
16201 [BZ #12601]
16202 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
16203 two-byte sequence errors.
16204 * iconvdata/Makefile (tests): Add bug-iconv8.
16205 * iconvdata/bug-iconv8.c: New file.
16206
da3c19ef
UD
16207 [BZ #12626]
16208 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
16209 buf2 definition.
16210
ca408c15
UD
16211 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
16212
d6f67f7d
UD
16213 [BZ #12432]
16214 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
16215 (dummy_getcfa): New function.
16216 (init): Get _Unwind_GetCFA address, use dummy if not found.
16217 (backtrace_helper): In recursion check, also check whether CFA changes.
16218 (__backtrace): Completely initialize arg.
16219
1af4e298 16220 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
16221 storing incomplete byte sequence in state object. Avoid testing for
16222 guaranteed too small input if we know there is enough data available.
1af4e298 16223
da62f81b
AS
162242011-05-11 Andreas Schwab <schwab@redhat.com>
16225
16226 * Makeconfig (+link-pie): Indent.
16227 * Rules (binaries-pie): Define if $(have-fpie) and
16228 $(build-shared).
16229 (binaries-shared): Also filter out $(binaries-pie).
16230 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
16231 * nscd/Makefile (others-pie): Add nscd.
16232 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
16233 ($(objpfx)nscd): Remove command override.
16234 * login/Makefile (others-pie): Add pt_chown.
16235 ($(objpfx)pt_chown): Remove command override.
16236 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
16237 remove command overrides.
16238
fcabc0f8
UD
162392011-05-13 Ulrich Drepper <drepper@gmail.com>
16240
20030ae6
UD
16241 * libio/tst_putwc.c: Fix error messages.
16242
fcabc0f8
UD
16243 [BZ #12724]
16244 * libio/fileops.c (_IO_new_file_close_it): Always flush when
16245 currently writing and seek to current position when not.
16246 * libio/Makefile (tests): Add bug-fclose1.
16247 * libio/bug-fclose1.c: New file.
16248
320a5dc0
PB
162492011-05-12 Ulrich Drepper <drepper@gmail.com>
16250
16251 [BZ #12511]
16252 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
16253 don't set DF_1_NODELETE here.
16254 (do_lookup_x): When entering new entry test for copy relocation
16255 and if necessary set DF_1_NODELETE flag.
16256 * elf/tst-unique4.cc: New file.
16257 * elf/tst-unique4.h: New file.
16258 * elf/tst-unique4lib.cc: New file.
16259 * elf/Makefile: Add rules to build and run tst-unique4.
16260 Patch by Piotr Bury <pbury@goahead.com>.
16261
22836f52
UD
162622011-05-11 Ulrich Drepper <drepper@gmail.com>
16263
f574184a
UD
16264 [BZ #12052]
16265 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
16266
e1fb097f
UD
16267 [BZ #12625]
16268 * misc/mntent_r.c (addmntent): Flush the stream after the output
16269
22836f52
UD
16270 [BZ #12393]
16271 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
16272 (is_trusted_path_normalize): Skip initial colon. Append slash
16273 to empty buffer. Duplicate is_trusted_path code but allow
16274 constructed patch to be prefix.
16275 (is_dst): Allow $ORIGIN followed by /.
16276 (_dl_dst_substitute): Correct clearing of check_for_trusted.
16277 Correct testing of result of is_trusted_path_normalize
16278 (decompose_rpath): Fix warning.
16279
7b3b0b2a
UD
162802011-05-10 Ulrich Drepper <drepper@gmail.com>
16281
16282 [BZ #11257]
16283 * grp/initgroups.c (internal_getgrouplist): When we found the service
16284 list through the initgroups entry in nsswitch.conf do not always
16285 continue on a successful lookup. Don't always use the
eac80ce2 16286 __nss_group_database value if it is set.
7b3b0b2a
UD
16287 * nss/nsswitch.conf (initgroups): Change action for successful db
16288 lookup to continue for compatibility.
16289
2a81eaa5
UD
162902011-05-09 Ulrich Drepper <drepper@gmail.com>
16291
be97a69e
UD
16292 [BZ #11532]
16293 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
16294 and CP774 modules.
16295 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
16296 and CP774 modules.
16297 * iconvdata/tst-tables.sh: Likewise.
16298 * iconvdata/cp770.c: New file.
16299 * iconvdata/cp771.c: New file.
16300 * iconvdata/cp772.c: New file.
16301 * iconvdata/cp773.c: New file.
16302 * iconvdata/cp774.c: New file.
16303 * iconvdata/testdata/CP770: New file.
16304 * iconvdata/testdata/CP770..UTF8: New file.
16305 * iconvdata/testdata/CP771: New file.
16306 * iconvdata/testdata/CP771..UTF8: New file.
16307 * iconvdata/testdata/CP772: New file.
16308 * iconvdata/testdata/CP772..UTF8: New file.
16309 * iconvdata/testdata/CP773: New file.
16310 * iconvdata/testdata/CP773..UTF8: New file.
16311 * iconvdata/testdata/CP774: New file.
16312 * iconvdata/testdata/CP774..UTF8: New file.
16313
16314 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
16315 END CHARMAP line.
16316 * iconvdata/gen-8bit-gap.sh: Likewise.
16317 * iconvdata/gen-8bit.sh: Likewise.
16318
c1e9e399
UD
16319 * locale/iso-639.def: Add ary entry.
16320
24c55fb3 16321 [BZ #11258]
96b4b1b0
UD
16322 * locale/C-translit.h.in: Add U20A1 transliteration.
16323
bdc2f971
KB
16324 [BZ #12178]
16325 * locale/iso-639.def: Add wae entry.
16326 Patch by Kevin Bortis <bortis@translate-wae.ch>.
16327
2952b117
UD
16328 [BZ #12545]
16329 * locale/programs/localedef.c (construct_output_path): Use ssize_t
16330 for n.
16331
2a81eaa5
UD
16332 [BZ #12711]
16333 * locale/C-translit.h.in: Add entry for U20B9.
16334 Patch by pravin.d.s@gmail.com.
16335
28377d1b
UD
163362011-05-08 Ulrich Drepper <drepper@gmail.com>
16337
7fb90fb8
UD
16338 [BZ #12713]
16339 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
16340 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
16341 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
16342 in rtld. Use *stat64.
7fb90fb8 16343 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 16344 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 16345 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
16346 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
16347 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
16348 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
16349 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
16350 __fstatat64 macros.
7fb90fb8
UD
16351 * include/dirent.h: Add libc_hidden_proto for rewinddir.
16352 * dirent/rewinddir.c: Add libc_hidden_def.
16353 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 16354 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 16355
28377d1b
UD
16356 * include/dirent.h (__alloc_dir): Add flags parameter.
16357 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
16358 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
16359 __alloc_dir.
16360 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
16361 from fdopendir if O_CLOEXEC is already set.
16362
66bdbaa4
AM
163632011-03-15 Alan Modra <amodra@gmail.com>
16364
16365 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
16366 l_tls_firstbyte_offset non-zero. Save padding offset in
16367 l_tls_firstbyte_offset for later use.
16368 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
16369 freeing static tls block.
16370
95721191
JN
163712011-03-05 Jonathan Nieder <jrnieder@gmail.com>
16372
16373 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
16374 where #ifdef was intended. The intent is to prevent ARG_MAX from
16375 being defined by the kernel headers.
16376
f87dfb1f
UD
163772011-05-07 Ulrich Drepper <drepper@gmail.com>
16378
16379 [BZ #12734]
16380 * resolv/resolv.h: Define RES_NOTLDQUERY.
16381 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
16382 no-tld-query and set RES_NOTLDQUERY.
16383 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
16384 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
16385 modern BIND to search name as TLD unless forbidden.
16386
47c3cd7a
UD
163872011-05-07 Petr Baudis <pasky@suse.cz>
16388 Ulrich Drepper <drepper@gmail.com>
16389
16390 [BZ #12393]
16391 * elf/dl-load.c (fillin_rpath): Move trusted path check...
16392 (is_trusted_path): ...to here.
c1e9ea35 16393 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 16394 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 16395 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 16396
8a35c912
PP
163972011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
16398
16399 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
16400 __BEGIN/__END_DECLS.
16401
acd41f47
UD
164022011-05-06 Ulrich Drepper <drepper@gmail.com>
16403
16404 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
16405 NSS_STATUS_NOTFOUND if no record was found.
16406
597df647
AS
164072011-05-05 Andreas Schwab <schwab@redhat.com>
16408
16409 * sunrpc/Makefile (headers): Add rpc/netdb.h.
16410 (headers-not-in-tirpc): Remove rpc/netdb.h
16411 * resolv/netdb.h: Revert last change.
16412
b9af1301
PP
164132011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
16414
16415 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
16416 circular dependency between libgcc.a and libc.a.
16417
4e34d5f5
AS
164182011-05-05 Andreas Schwab <schwab@redhat.com>
16419
16420 * resolv/netdb.h: Don't include <rpc/netdb.h>.
16421 * nis/Makefile: Don't install rpcsvc/*.
16422 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
16423 instead of <rpc/types.h>.
16424 (MAXHOSTNAMELEN): Define.
16425
00ee369c
AS
164262011-05-03 Andreas Schwab <schwab@redhat.com>
16427
16428 * elf/ldconfig.c (add_dir): Don't crash on empty path.
16429
0b592a30
MB
164302011-04-28 Maciej Babinski <mbabinski@google.com>
16431
16432 [BZ #12714]
16433 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
16434 gethostbyname4_r when IPv6 results are possible.
16435
6e04cbbe
UD
164362011-05-02 Ulrich Drepper <drepper@gmail.com>
16437
16438 [BZ #12723]
16439 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
16440 _PC_PIPE_BUF handling.
16441
e4ecafe0
BH
164422011-04-30 Bruno Haible <bruno@clisp.org>
16443
16444 [BZ #12717]
16445 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
16446 * resolv/netdb.h (getnameinfo): Change type of flags parameter
16447 to 'int'.
16448 * inet/getnameinfo.c (getnameinfo): Likewise.
16449
125ee683
UD
164502011-04-29 Ulrich Drepper <drepper@gmail.com>
16451
16452 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
16453 to groups setting in database lookup.
16454 * nss/nsswitch.conf: Add initgroups entry.
16455
b722481a
EB
164562011-04-22 Ulrich Drepper <drepper@gmail.com>
16457
16458 [BZ #12685]
16459 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
16460 mode string.
16461 Patch by Eric Blake <eblake@redhat.com>.
16462
4df46dbd
L
164632011-04-20 H.J. Lu <hongjiu.lu@intel.com>
16464
16465 * sunrpc/Makefile (need-export-routines): Add svc_run.
16466 (routines): Remove svc_run.
16467 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
16468 * sunrpc/clnt_perr.c (clnt_perrno): Export.
16469 * sunrpc/svc_run.c (svc_run): Likewise.
16470 * sunrpc/svc_udp.c (svcudp_create): Likewise.
16471
e84142d2
UD
164722011-04-21 Ulrich Drepper <drepper@gmail.com>
16473
16474 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
16475 problem in reallocation in last patch.
16476
877175d8
UD
164772011-04-20 Ulrich Drepper <drepper@gmail.com>
16478
16479 * sunrpc/Makefile: Move inclusion of Rules.
16480
ab8eed78
UD
164812011-04-19 Ulrich Drepper <drepper@gmail.com>
16482
16483 * nss/nss_files/files-initgroups.c: New file.
16484 * nss/Makefile (libnss_files-routines): Add files-initgroups.
16485 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
16486 _nss_files_initgroups_dyn.
16487
e3d8f584
RS
164882011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
16489
16490 * elf/elf.h (R_ARM_IRELATIVE): Define.
16491
af190f45
UD
164922011-04-19 Ulrich Drepper <drepper@gmail.com>
16493
16494 * po/ru.po: Update from translation team.
16495
53cf59ef
UD
164962011-04-17 Ulrich Drepper <drepper@gmail.com>
16497
16498 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
16499 dependencies.
16500
4c559bcd
MF
165012011-02-06 Mike Frysinger <vapier@gentoo.org>
16502
16503 [BZ #12653]
16504 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
16505 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
16506 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
16507 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
16508 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
16509
4420675c
AS
165102011-03-28 Andreas Schwab <schwab@linux-m68k.org>
16511
16512 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
16513 differing bytes.
16514 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
16515 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
16516 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
16517
75ea32ab
UD
165182011-04-17 Ulrich Drepper <drepper@gmail.com>
16519
16520 [BZ #12420]
16521 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
16522 storing it.
16523 * stdlib/bug-getcontext.c: New file.
16524 * stdlib/Makefile: Add rules to build and run bug-getcontext.
16525
27390476
AK
165262011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16527
16528 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
16529 instructions into .machine "z9-109".
16530 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
16531 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
16532
10442705
AK
165332011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16534
16535 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
16536 between environment variables and auxiliary vector.
16537
7b57bfe5
UD
165382011-04-16 Ulrich Drepper <drepper@gmail.com>
16539
16540 * Makefile: Add rules to build linkobj/libc.so.
16541 * include/libc-symbols.h: Define libc_hidden_nolink.
16542 * include/rpc/auth.h: Mark functions which are to be hidden.
16543 * include/rpc/auth_des.h: Likewise.
16544 * include/rpc/auth_unix.h: Likewise.
16545 * include/rpc/clnt.h: Likewise.
16546 * include/rpc/des_crypt.h: Likewise.
16547 * include/rpc/key_prot.h: Likewise.
16548 * include/rpc/pmap_clnt.h: Likewise.
16549 * include/rpc/pmap_prot.h: Likewise.
16550 * include/rpc/pmap_rmt.h: Likewise.
16551 * include/rpc/rpc_msg.h: Likewise.
16552 * include/rpc/svc.h: Likewise.
16553 * include/rpc/svc_auth.h: Likewise.
16554 * include/rpc/xdr.h: Likewise.
16555 * nis/Makefile: Link all DSOs against linkobj/libc.so.
16556 * nss/Makefile: Likewise.
16557 * sunrpc/Makefile: Don't install headers. Build library with normal
16558 entry points. Don't build rpcinfo. Link RPC tests appropriately.
16559 * sunrpc/auth_des.c: Hide exported symbols by default, export some
16560 for the compat linking library. Remove use of INTDEF/INTUSE.
16561 * sunrpc/auth_none.c: Likewise.
16562 * sunrpc/auth_unix.c: Likewise.
16563 * sunrpc/authdes_prot.c: Likewise.
16564 * sunrpc/authuxprot.c: Likewise.
16565 * sunrpc/clnt_gen.c: Likewise.
16566 * sunrpc/clnt_perr.c: Likewise.
16567 * sunrpc/clnt_raw.c: Likewise.
16568 * sunrpc/clnt_simp.c: Likewise.
16569 * sunrpc/clnt_tcp.c: Likewise.
16570 * sunrpc/clnt_udp.c: Likewise.
16571 * sunrpc/clnt_unix.c: Likewise.
16572 * sunrpc/des_crypt.c: Likewise.
16573 * sunrpc/des_soft.c: Likewise.
16574 * sunrpc/get_myaddr.c: Likewise.
16575 * sunrpc/key_call.c: Likewise.
16576 * sunrpc/key_prot.c: Likewise.
16577 * sunrpc/netname.c: Likewise.
16578 * sunrpc/pm_getmaps.c: Likewise.
16579 * sunrpc/pm_getport.c: Likewise.
16580 * sunrpc/pmap_clnt.c: Likewise.
16581 * sunrpc/pmap_prot.c: Likewise.
16582 * sunrpc/pmap_prot2.c: Likewise.
16583 * sunrpc/pmap_rmt.c: Likewise.
16584 * sunrpc/publickey.c: Likewise.
16585 * sunrpc/rpc_cmsg.c: Likewise.
16586 * sunrpc/rpc_common.c: Likewise.
16587 * sunrpc/rpc_dtable.c: Likewise.
16588 * sunrpc/rpc_prot.c: Likewise.
16589 * sunrpc/rpc_thread.c: Likewise.
16590 * sunrpc/rtime.c: Likewise.
16591 * sunrpc/svc.c: Likewise.
16592 * sunrpc/svc_auth.c: Likewise.
16593 * sunrpc/svc_authux.c: Likewise.
16594 * sunrpc/svc_raw.c: Likewise.
16595 * sunrpc/svc_run.c: Likewise.
16596 * sunrpc/svc_simple.c: Likewise.
16597 * sunrpc/svc_tcp.c: Likewise.
16598 * sunrpc/svc_udp.c: Likewise.
16599 * sunrpc/svc_unix.c: Likewise.
16600 * sunrpc/svcauth_des.c: Likewise.
16601 * sunrpc/xcrypt.c: Likewise.
16602 * sunrpc/xdr.c: Likewise.
16603 * sunrpc/xdr_array.c: Likewise.
16604 * sunrpc/xdr_float.c: Likewise.
16605 * sunrpc/xdr_intXX_t.c: Likewise.
16606 * sunrpc/xdr_mem.c: Likewise.
16607 * sunrpc/xdr_rec.c: Likewise.
16608 * sunrpc/xdr_ref.c: Likewise.
16609 * sunrpc/xdr_sizeof.c: Likewise.
16610 * sunrpc/xdr_stdio.c: Likewise.
16611
e6c61494
UD
166122011-04-10 Ulrich Drepper <drepper@gmail.com>
16613
16614 [BZ #12650]
16615 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
16616 * sysdeps/ia64/dl-tls.h: Likewise.
16617 * sysdeps/powerpc/dl-tls.h: Likewise.
16618 * sysdeps/s390/dl-tls.h: Likewise.
16619 * sysdeps/sh/dl-tls.h: Likewise.
16620 * sysdeps/sparc/dl-tls.h: Likewise.
16621 * sysdeps/x86_64/dl-tls.h: Likewise.
16622 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
16623
34fe483e
AS
166242011-03-14 Andreas Schwab <schwab@redhat.com>
16625
16626 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
16627 rpath element also skip the following colon.
16628 (expand_dynamic_string_token): Add is_path parameter and pass
16629 down to DL_DST_REQUIRED and _dl_dst_substitute.
16630 (decompose_rpath): Call expand_dynamic_string_token with
16631 non-zero is_path. Ignore empty rpaths.
16632 (_dl_map_object_from_fd): Call expand_dynamic_string_token
16633 with zero is_path.
16634
f12a32e6
AS
166352011-04-08 Andreas Schwab <schwab@linux-m68k.org>
16636
16637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
16638 Make cancelable.
16639
38a7d692
UD
166402011-04-09 Ulrich Drepper <drepper@gmail.com>
16641
16642 [BZ #12655]
16643 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
16644 Patch by Filipe David Manana <fdmanana@apache.org>.
16645
e451d22b
AS
166462011-04-07 Andreas Schwab <schwab@redhat.com>
16647
16648 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
16649 Maintain aligned stack.
16650 (CHECK_RSP): Remove unused macro.
16651
dedc7c7b
UD
166522011-04-03 Ulrich Drepper <drepper@gmail.com>
16653
16654 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
16655 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
16656
94521213
UD
166572011-04-02 Ulrich Drepper <drepper@gmail.com>
16658
16659 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
16660
8cb700c0 16661 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 16662
0354e355
L
166632011-03-26 H.J. Lu <hongjiu.lu@intel.com>
16664
16665 [BZ #12518]
16666 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
16667 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
16668 * sysdeps/x86_64/memmove.c: New file.
16669 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
16670 (memcpy): Renamed to ...
16671 (__new_memcpy): This.
16672 (memcpy): Provide GLIBC_2_14 memcpy.
16673 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
16674 (memcpy): Provide GLIBC_2_2_5 memcpy.
16675
8593482f
UD
166762011-04-01 Ulrich Drepper <drepper@gmail.com>
16677
16678 [BZ #12631]
16679 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
16680
81a5726b
AS
166812011-03-30 Andreas Schwab <schwab@redhat.com>
16682
16683 * misc/syncfs.c: New file.
16684 * misc/Makefile (routines): Add syncfs.
16685 * posix/unistd.h: Declare syncfs.
16686 * sysdeps/unix/syscalls.list: Add syncfs.
16687
00e5419f
AS
166882011-04-01 Andreas Schwab <schwab@redhat.com>
16689
16690 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
16691 open_by_handle_at.
16692 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
16693 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
16694 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16695 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
16696 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16697 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
16698 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
16699
748876bf
UD
167002011-04-01 Ulrich Drepper <drepper@gmail.com>
16701
658e451d
UD
16702 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
16703 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
16704 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
16705 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16706 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
16707 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16708 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
16709
748876bf
UD
16710 * io/Makefile: Compile fallocate.c, fallocate64.c, and
16711 sync_file_range.c with -fexceptions.
16712 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
16713 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
16714 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
16715 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
16716 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
16717 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
16718 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
16719 sync_file_range as cancellation point
16720 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
16721 now a wrapper around __call_sync_file_range with cancellation handling.
16722 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
16723 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
16724 function name to __call_sync_file_range.
16725 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
16726 Add call_sync_file_range.
748876bf 16727
6e63d5e1
AS
167282011-04-01 Andreas Schwab <schwab@redhat.com>
16729
16730 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 16731 bits/timex.h.
6e63d5e1 16732
46998f74
UD
167332011-04-01 Ulrich Drepper <drepper@gmail.com>
16734
4c1423ed
UD
16735 * iconv/iconv.h: Fix typo in comment.
16736 * io/fcntl.h: Likewise.
16737 * libio/stdio.h: Likewise.
16738 * posix/spawn.h: Likewise.
16739 * posix/unistd.h: Likewise.
16740 * stdlib/stdlib.h: Likewise.
16741 * time/time.h: Likewise.
16742 * wcsmbs/wchar.h: Likewise.
16743
158648c0
UD
16744 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
16745 open_by_handle): Add.
16746 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
16747 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
16748 Augment a few comments.
16749 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
16750 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16751 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
16752 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16753 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
16754 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
16755 open_by_handle.
16756
46998f74
UD
16757 * io/fcntl.h (AT_EMPTY_PATH): Define.
16758
83fe108b
UD
167592011-03-30 Ulrich Drepper <drepper@gmail.com>
16760
16761 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
16762 * sysdeps/unix/sysv/linux/bits/time.h: New file.
16763 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
16764 to...
16765 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
16766 * Versions.def: Add GLIBC_2.14.
16767 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
16768 Export.
83fe108b 16769
bb242059
UD
167702011-03-22 Ulrich Drepper <drepper@gmail.com>
16771
16772 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
16773 round counter.
16774 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
16775
c97a1282
L
167762011-03-20 H.J. Lu <hongjiu.lu@intel.com>
16777
16778 [BZ #12597]
16779 * string/test-strncmp.c (do_page_test): New function.
16780 (check2): Likewise.
16781 (test_main): Call check2.
16782 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
16783
2a115601
UD
167842011-03-20 Ulrich Drepper <drepper@gmail.com>
16785
16786 [BZ #12587]
16787 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
16788 Handle cache information in CPU leaf 4.
16789 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
16790
8126d904
UD
167912011-03-18 Ulrich Drepper <drepper@gmail.com>
16792
042c49c6 16793 [BZ #12583]
8126d904
UD
16794 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
16795 character representation.
16796 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
16797
ccfe366e
RA
167982011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
16799
16800 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
16801 END(__isnan) to END(__isnanf) to match function entry point/label
16802 EALIGN(__isnanf,...).
16803
c6e13027
JJ
168042011-03-10 Jakub Jelinek <jakub@redhat.com>
16805
16806 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
16807
33f85a3f
UD
168082011-03-10 Ulrich Drepper <drepper@gmail.com>
16809
028478fa
UD
16810 [BZ #12510]
16811 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
16812 copy from the symbol referenced in the relocation to initialize the
16813 used variable.
16814 Patch by Piotr Bury <pbury@goahead.com>.
16815 * elf/Makefile: Add rules to build and tst-unique3.
16816 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
16817 * elf/tst-unique3.cc: New file.
16818 * elf/tst-unique3.h: New file.
16819 * elf/tst-unique3lib.cc: New file.
16820 * elf/tst-unique3lib2.cc: New file.
16821
33f85a3f
UD
16822 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
16823
03592fc7
MF
168242011-03-10 Mike Frysinger <vapier@gentoo.org>
16825
16826 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
16827 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
16828 to _start.
03592fc7 16829
6a5ee102
UD
168302011-03-06 Ulrich Drepper <drepper@gmail.com>
16831
16832 * elf/dl-load.c (_dl_map_object): If we are looking for the first
16833 to-be-loaded object along a path to loader is ld.so.
16834
7e4ba49c
HJ
168352011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
16836 Ulrich Drepper <drepper@gmail.com>
16837
16838 * sysdeps/x86_64/memset.S: After aligning destination, code
16839 branches to different locations depending on the value of
16840 misalignment, when multiarch is enabled. Fix this.
16841
168422011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
16843
16844 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
16845 Set _x86_64_preferred_memory_instruction for AMD processsors.
16846 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16847 Set bit_Prefer_SSE_for_memop for AMD processors.
16848
13a804de
UD
168492011-03-04 Ulrich Drepper <drepper@gmail.com>
16850
16851 * libio/fmemopen.c (fmemopen): Optimize a bit.
16852
9d25c392
AS
168532011-03-03 Andreas Schwab <schwab@redhat.com>
16854
16855 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
16856
a5543c6a
RM
168572011-03-03 Roland McGrath <roland@redhat.com>
16858
16859 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
16860
012d35f7
DM
168612011-02-28 Aurelien Jarno <aurelien@aurel32.net>
16862
7e4ba49c 16863 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
16864 __bzero_ultra1 instead of __memset_ultra1.
16865
4bff6e01
AS
168662011-02-23 Andreas Schwab <schwab@redhat.com>
16867 Ulrich Drepper <drepper@gmail.com>
16868
16869 [BZ #12509]
16870 * include/link.h (struct link_map): Add l_orig_initfini.
16871 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
16872 returning unsuccessfully.
16873 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
16874 close of a file loaded at startup, restore the original l_initfini
16875 list.
16876 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
16877 list, store the pointer.
16878 * elf/Makefile ($(objpfx)noload-mem): New rule.
16879 (noload-ENV): Define.
16880 (tests): Add $(objpfx)noload-mem.
16881 * elf/noload.c: Include <memcheck.h>.
16882 (main): Call mtrace. Close all opened handles.
16883
f2092faf
AS
168842011-02-17 Andreas Schwab <schwab@redhat.com>
16885
16886 [BZ #12454]
16887 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
16888 dependencies are missing.
16889
6c8a2e88
ST
168902011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
16891
f2092faf 16892 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
16893 Hurd needs munmap.
16894 * sysdeps/mach/hurd/ifreq.h: New file.
16895
84a42118
PB
168962011-01-27 Petr Baudis <pasky@suse.cz>
16897 Ulrich Drepper <drepper@gmail.com>
16898
071f805e 16899 [BZ 12445]#
84a42118
PB
16900 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
16901 to extend_alloca().
16902 * stdio-common/bug23.c: New file.
16903 * stdio-common/Makefile (tests): Add bug23.
16904
e23fe25b
AS
169052010-09-28 Andreas Schwab <schwab@redhat.com>
16906 Ulrich Drepper <drepper@gmail.com>
16907
16908 [BZ #12489]
16909 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
16910 before performing relro protection. At old place add assertion
16911 to make sure nothing changed.
16912
d3f02e10
NS
169132011-02-17 Nathan Sidwell <nathan@codesourcery.com>
16914 Glauber de Oliveira Costa <glommer@gmail.com>
16915
16916 * elf/elf.h: Add new ARM TLS relocs.
16917
d55fd7a5
RA
169182011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
16919
16920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
16921 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
16922 cast from r3.
16923 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
16924 'tests' variable.
16925 * sysdeps/wordsize-64/tst-writev.c: New file.
16926
2206397e
RA
169272011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
16928
16929 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
16930 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
16931 insns in _dl_start to prevent a TOC reference before relocs are
16932 resolved.
16933
e9433893
UD
169342011-02-15 Ulrich Drepper <drepper@gmail.com>
16935
16936 [BZ #12469]
16937 * Makeconfig: Remove RANLIB definition.
16938 * Makerules: Don't use RANLIB.
16939 * aclocal.m4: Remove ranlib test.
16940 * configure.in: No need to check for ranlib.
16941 * elf/rtld-Rules: Don't use RANLIB.
16942
f75286c6
ST
169432011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
16944
8e31c82d
ST
16945 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
16946 protection macro.
16947 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
16948 inclusion protection macro.
16949
f75286c6
ST
16950 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
16951 SIGRTMIN and SIGRTMAX and print information in that case only when
16952 SIGRTMIN is defined.
16953
c1d0e639
JJ
169542011-02-11 Jakub Jelinek <jakub@redhat.com>
16955
16956 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
16957 arginfo fn returning -1.
16958
16959 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
16960 and thousands string is zero terminated.
16961
edf9294e
AS
169622011-02-03 Andreas Schwab <schwab@redhat.com>
16963
16964 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
16965 sysdeps/unix/sysv/linux/bits/socket.h.
16966
2b7e92df
ST
169672011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
16968
edf9294e
AS
16969 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
16970 (__CPU_COUNT): Remove old macros.
16971 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
16972 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
16973 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
16974 (__sched_cpualloc, __sched_cpufree): Add declarations.
16975
a4c7ea7b
UD
169762011-02-05 Ulrich Drepper <drepper@gmail.com>
16977
16978 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
16979 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
16980 * nscd/aicache.c (addhstaiX): Return timeout of added value.
16981 (readdhstai): Return value of addhstaiX call.
16982 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
16983 (addgrbyX): Return value returned by cache_addgr.
16984 (readdgrbyname): Return value returned by addgrbyX.
16985 (readdgrbygid): Likewise.
16986 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
16987 (addpwbyX): Return value returned by cache_addpw.
16988 (readdpwbyname): Return value returned by addhstbyX.
16989 (readdpwbyuid): Likewise.
16990 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
16991 (addservbyX): Return value returned by cache_addserv.
16992 (readdservbyname): Return value returned by addservbyX:
16993 (readdservbyport): Likewise.
16994 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
16995 (addhstbyX): Return value returned by cache_addhst.
16996 (readdhstbyname): Return value returned by addhstbyX.
16997 (readdhstbyaddr): Likewise.
16998 (readdhstbynamev6): Likewise.
16999 (readdhstbyaddrv6): Likewise.
17000 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
17001 (readdinitgroups): Return value returned by addinitgroupsX.
17002 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
17003 (prune_cache): Keep track of timeout value of re-added entries.
17004 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
17005 * nscd/nscd.h: Adjust prototypes of readd* functions.
17006
a0bf67cc
RM
170072011-02-04 Roland McGrath <roland@redhat.com>
17008
17009 * nis/nis_server.c (nis_servstate): Use the right name for 0.
17010 (nis_stats): Likewise.
17011 * nis/nis_modify.c (nis_modify): Likewise.
17012 * nis/nis_remove.c (nis_remove): Likewise.
17013 * nis/nis_add.c (nis_add): Likewise.
17014
17015 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
17016
17017 * posix/fnmatch_loop.c: Add some consts.
17018
17019 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
17020
435b95eb
L
170212011-02-02 H.J. Lu <hongjiu.lu@intel.com>
17022
17023 [BZ #12460]
17024 * config.make.in (config-cflags-novzeroupper): Define.
17025 * configure.in: Substitute libc_cv_cc_novzeroupper.
17026 * elf/Makefile (AVX-CFLAGS): Define.
17027 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
17028 (CFLAGS-tst-auditmod4a.c): Likewise.
17029 (CFLAGS-tst-auditmod4b.c): Likewise.
17030 (CFLAGS-tst-auditmod6b.c): Likewise.
17031 (CFLAGS-tst-auditmod6c.c): Likewise.
17032 (CFLAGS-tst-auditmod7b.c): Likewise.
17033 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
17034
8517b15e
UD
170352011-02-02 Ulrich Drepper <drepper@gmail.com>
17036
17037 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
17038 function to the callback.
17039 Patch partly by Jiri Olsa <jolsa@redhat.com>.
17040
10a656fe
AS
170412011-02-02 Andreas Schwab <schwab@redhat.com>
17042
17043 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
17044 of errno.
17045
968dad0a
UD
170462011-01-19 Ulrich Drepper <drepper@gmail.com>
17047
9f94d2ea 17048 [BZ #11724]
968dad0a
UD
17049 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
17050 of constructors.
17051 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
17052 of destructors.
17053 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
17054
17055 [BZ #11724]
17056 * elf/Makefile: Add rules to build and run new test.
17057 * elf/tst-initorder.c: New file.
17058 * elf/tst-initorder.exp: New file.
17059 * elf/tst-initordera1.c: New file.
17060 * elf/tst-initordera2.c: New file.
17061 * elf/tst-initordera3.c: New file.
17062 * elf/tst-initordera4.c: New file.
17063 * elf/tst-initorderb1.c: New file.
17064 * elf/tst-initorderb2.c: New file.
17065 * elf/tst-order-a1.c: New file.
17066 * elf/tst-order-a2.c: New file.
17067 * elf/tst-order-a3.c: New file.
17068 * elf/tst-order-a4.c: New file.
17069 * elf/tst-order-b1.c: New file.
17070 * elf/tst-order-b2.c: New file.
17071 * elf/tst-order-main.c: New file.
17072 New test case by George Gensure <werkt0@gmail.com>.
17073
86e92359
UD
170742010-10-01 Andreas Schwab <schwab@redhat.com>
17075
17076 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
17077 decoding ACE if AI_CANONIDN.
17078
5d5732b0
UD
170792011-01-18 Ulrich Drepper <drepper@gmail.com>
17080
17081 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
17082
a77e8cbc
UD
170832011-01-17 Ulrich Drepper <drepper@gmail.com>
17084
6392473f
UD
17085 * version.h (RELEASE): Bump for 2.13 release.
17086 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
17087
620a0529
UD
17088 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
17089
18ba70a5
UD
17090 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
17091 MADV_NOHUGEPAGE.
32465c3e
UD
17092 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
17093 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
17094 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
17095 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
17096 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
17097 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
17098
c0dafcf1
UD
17099 * posix/getconf.c: Update copyright year.
17100 * catgets/gencat.c: Likewise.
17101 * csu/version.c: Likewise.
17102 * debug/catchsegv.sh: Likewise.
17103 * debug/xtrace.sh: Likewise.
17104 * elf/ldconfig.c: Likewise.
17105 * elf/ldd.bash.in: Likewise.
17106 * elf/sprof.c (print_version): Likewise.
17107 * iconv/iconv_prog.c: Likewise.
17108 * iconv/iconvconfig.c: Likewise.
17109 * locale/programs/locale.c: Likewise.
17110 * locale/programs/localedef.c: Likewise.
17111 * malloc/memusage.sh: Likewise.
17112 * malloc/mtrace.pl: Likewise.
17113 * nscd/nscd.c (print_version): Likewise.
17114 * nss/getent.c: Likewise.
17115
a77e8cbc
UD
17116 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
17117 PF_CAIF, and PF_ALG.
17118 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
17119
77e8bddf
AS
171202011-01-16 Andreas Schwab <schwab@linux-m68k.org>
17121
1f20b93a
AS
17122 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
17123 (modules-names): Use them.
17124 (ifunc-test-modules, ifunc-pie-tests): Define.
17125 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
17126 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
17127 (test-extras): Likewise.
17128 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
17129 $(compile-command.c).
17130 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
17131 (all-built-dso): Define.
17132 (check-textrel.out, check-execstack.out): Depend on it.
17133
77e8bddf
AS
17134 * configure.in: Don't override --enable-multi-arch.
17135
bc425b33
UD
171362011-01-15 Ulrich Drepper <drepper@gmail.com>
17137
17138 [BZ #6812]
17139 * nscd/hstcache.c (tryagain): Define.
17140 (cache_addhst): Return tryagain not notfound for temporary errors.
17141 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
17142 failed.
17143
794c3ad3
UD
171442011-01-14 Ulrich Drepper <drepper@gmail.com>
17145
70181fdd
UD
17146 [BZ #10563]
17147 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
17148 to make the syscall.
17149 * sysdeps/unix/sysv/linux/setgroups.c: New file.
17150
794c3ad3
UD
17151 [BZ #12378]
17152 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
17153 and fall back to matching as normal character if the string ends before
17154 the matching ']' is found. This is what POSIX requires.
17155 * posix/testfnm.c: Adjust test result.
17156 * posix/globtest.sh: Adjust test result. Add new test.
17157 * posix/tst-fnmatch.input: Likewise.
17158 * posix/tst-fnmatch2.c: Add new test.
17159
68dc9497
AS
171602010-12-28 Andreas Schwab <schwab@linux-m68k.org>
17161
17162 * elf/Makefile (check-execstack): Revert last change. Depend on
17163 check-execstack.h.
17164 (check-execstack.h): New target.
17165 (generated): Add check-execstack.h.
17166 * elf/check-execstack.c: Include "check-execstack.h".
17167 (main): Revert last change.
17168 (handle_file): Return zero if GNU_STACK is absent and
17169 DEFAULT_STACK_PERMS doesn't include PF_X.
17170
451f001b
UD
171712011-01-13 Ulrich Drepper <drepper@gmail.com>
17172
cfa28e56
UD
17173 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
17174 in child fails because the descriptor is already closed.
8cf8ce17
UD
17175 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
17176 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
17177 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 17178
1086d70d
UD
17179 [BZ #12397]
17180 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
17181 syscall.
17182
451f001b
UD
17183 [BZ #10484]
17184 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
17185 temporary buffer used to handle multi lookups locally.
a85b5cb4 17186 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 17187
08769175
UD
171882011-01-12 Ulrich Drepper <drepper@gmail.com>
17189
17190 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
17191 loader is ld.so.
17192
5e49c52e
UD
171932011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
17194
17195 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
17196 alignment for SSE2.
17197
60522a5f
UD
171982011-01-12 Ulrich Drepper <drepper@gmail.com>
17199
17200 [BZ #12394]
17201 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
17202 characters. When rounding increased number of integer digits recompute
17203 number of groups.
17204 * stdio-common/tst-grouping.c: New file.
17205 * stdio-common/Makefile: Add rules to build and run tst-grouping.
17206
f257bbd7
UD
172072011-01-09 Ulrich Drepper <drepper@gmail.com>
17208
17209 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
17210 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
17211
17212 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
17213 void.
17214 * bits/select.h: Likewise.
17215
fa9c15cb
UD
172162011-01-08 Ulrich Drepper <drepper@gmail.com>
17217
17218 * po/ja.po: Update from translation team.
17219
16c2895f
DM
172202011-01-04 David S. Miller <davem@sunset.davemloft.net>
17221
17222 [BZ #11155]
17223 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
17224 implementation just like for lxstat, fxstatat, et al.
17225
2543fef2
JM
172262010-12-27 Jim Meyering <meyering@redhat.com>
17227
17228 [BZ #12348]
17229 * posix/regexec.c (build_trtable): Return failure indication upon
17230 calloc failure. Otherwise, re_search_internal could infloop on OOM.
17231
98727dbe
UD
172322010-12-25 Ulrich Drepper <drepper@gmail.com>
17233
5bd6dc5c
UD
17234 [BZ #12201]
17235 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
17236 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
17237 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
17238 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
17239
97983464
UD
17240 [BZ #12207]
17241 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
17242
98727dbe
UD
17243 [BZ #12204]
17244 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
17245 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
17246
4a531bb0
L
172472010-12-15 H.J. Lu <hongjiu.lu@intel.com>
17248
17249 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
17250 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
17251 script has SORT_BY_INIT_PRIORITY.
17252 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
17253 NO_CTORS_DTORS_SECTIONS is defined.
17254 * elf/soinit.c: Likewise.
17255 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
17256 NO_CTORS_DTORS_SECTIONS is defined.
17257 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
17258 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
17259 * sysdeps/sh/init-first.c: Likewise.
17260 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
17261
07eb4b71
UD
172622010-12-24 Ulrich Drepper <drepper@gmail.com>
17263
17264 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
17265 always use the slow path.
17266
30950a5f
RA
172672010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
17268
17269 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
17270 similar rule which adds the sysdep directories to the header search in
17271 order to pick up the correct platform stackinfo.h.
17272 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
17273 perform test if it is, otherwise return successfully without testing.
17274 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
17275 DEFAULT_STACK_PERMS define in stackinfo.h.
17276 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
17277 defined in stackinfo.h.
17278 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
17279 DEFAULT_STACK_PERMS defined in stackinfo.h.
17280 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
17281 * sysdeps/ia64/stackinfo.h: Likewise.
17282 * sysdeps/s390/stackinfo.h: Likewise.
17283 * sysdeps/sh/stackinfo.h: Likewise.
17284 * sysdeps/sparc/stackinfo.h: Likewise.
17285 * sysdeps/x86_64/stackinfo.h: Likewise.
17286 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
17287 PF_X for powerpc64. Retain PF_X for powerpc32.
17288
db753e2c
UD
172892010-12-19 Ulrich Drepper <drepper@gmail.com>
17290
14b697f7
UD
17291 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
17292 accurately.
db753e2c
UD
17293 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
17294 GETDENTS_64BIT_ALIGNED.
17295
28300719
UD
172962010-12-14 Ulrich Drepper <dreper@gmail.com>
17297
14b697f7 17298 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 17299
4f197237
AS
173002010-12-10 Andreas Schwab <schwab@redhat.com>
17301
dbb0472f
AS
17302 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
17303 _GNU_SOURCE.
17304
4f197237
AS
17305 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
17306 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
17307 Remove __restrict.
17308 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
17309 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
17310
fb88ac72
UD
173112010-12-09 Ulrich Drepper <drepper@gmail.com>
17312
17313 [BZ #11655]
17314 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
17315 are initialized.
17316
42acbb92
JJ
173172010-12-09 Jakub Jelinek <jakub@redhat.com>
17318
17319 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
17320
c038d98d
UD
173212010-12-03 Ulrich Drepper <drepper@gmail.com>
17322
17323 * po/it.po: Update from translation team.
17324
3a4a2499
L
173252010-12-01 H.J. Lu <hongjiu.lu@intel.com>
17326
17327 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
17328 unused codes.
17329
1e24cf6e
UD
173302010-11-30 Ulrich Drepper <drepper@gmail.com>
17331
17332 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
17333
a7690819
AS
173342010-11-24 Andreas Schwab <schwab@redhat.com>
17335
17336 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
17337 specially.
17338 (gaih_getanswer_slice): Likewise.
17339
3bf8d1b1
JJ
173402010-10-20 Jakub Jelinek <jakub@redhat.com>
17341
17342 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
17343
6db52fbb
PB
173442010-05-31 Petr Baudis <pasky@suse.cz>
17345
17346 [BZ #11149]
17347 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
17348 silently even in the chroot mode.
17349
eaca7569
UD
173502010-11-22 Ulrich Drepper <drepper@gmail.com>
17351
17352 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
17353 last patch a bit. Pretty printing
17354
3056dcdb
UD
173552010-05-31 Petr Baudis <pasky@suse.cz>
17356
17357 [BZ #10085]
17358 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
17359 initialization of skip_initgroups_dyn.
17360
cf7c9078
UD
173612010-11-19 Ulrich Drepper <drepper@gmail.com>
17362
17363 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
17364 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
17365
a1fb5e3e
UD
173662010-11-16 Ulrich Drepper <drepper@gmail.com>
17367
17368 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
17369
3540d66b
AS
173702010-11-11 Andreas Schwab <schwab@redhat.com>
17371
17372 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
17373 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
17374 (tst-fnmatch-ENV): Set MALLOC_TRACE.
17375 ($(objpfx)tst-fnmatch-mem): New rule.
17376 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
17377 * posix/tst-fnmatch.c (main): Call mtrace.
17378
13b69574
L
173792010-11-11 H.J. Lu <hongjiu.lu@intel.com>
17380
17381 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17382 Support Intel processor model 6 and model 0x2c.
17383
da93d214
LM
173842010-11-10 Luis Machado <luisgpm@br.ibm.com>
17385
17386 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
17387 signed comparison.
17388
8ca52c6e
L
173892010-11-09 H.J. Lu <hongjiu.lu@intel.com>
17390
17391 [BZ #12205]
17392 * string/test-strncasecmp.c (check_result): New function.
17393 (do_one_test): Use it.
17394 (check1): New function.
17395 (test_main): Use it.
17396 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
17397 Support strcasecmp and strncasecmp.
17398
69da074d
UD
173992010-11-08 Ulrich Drepper <drepper@gmail.com>
17400
17401 [BZ #12194]
17402 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
17403 * sysdeps/x86_64/bits/byteswap.h: Likewise.
17404
ff02d528
L
174052010-11-07 H.J. Lu <hongjiu.lu@intel.com>
17406
17407 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
17408 IFUNC support.
17409 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17410 memset-x86-64.
17411 * sysdeps/x86_64/multiarch/bzero.S: New file.
17412 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
17413 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
17414 * sysdeps/x86_64/multiarch/memset.S: New file.
17415 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
17416 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17417 Set bit_Prefer_SSE_for_memop for Intel processors.
17418 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
17419 Define.
17420 (index_Prefer_SSE_for_memop): Define.
17421 (HAS_PREFER_SSE_FOR_MEMOP): Define.
17422
344d0b54
LM
174232010-11-04 Luis Machado <luisgpm@br.ibm.com>
17424
17425 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
17426 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
17427
c0dde15b
UD
174282010-11-03 H.J. Lu <hongjiu.lu@intel.com>
17429
17430 [BZ #12191]
17431 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
17432 (__x86_64_raw_data_cache_size_half): Likewise.
17433 (__x86_64_raw_shared_cache_size): Likewise.
17434 (__x86_64_raw_shared_cache_size_half): Likewise.
17435
17436 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
17437 (__x86_64_raw_data_cache_size_half): Likewise.
17438 (__x86_64_raw_shared_cache_size): Likewise.
17439 (__x86_64_raw_shared_cache_size_half): Likewise.
17440 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
17441 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
17442 and __x86_64_raw_shared_cache_size_half. Round
17443 __x86_64_data_cache_size_half, __x86_64_data_cache_size
17444 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
17445 to multiple of 256 bytes.
17446
0e516e0e
MS
174472010-11-03 Ulrich Drepper <drepper@gmail.com>
17448
17449 [BZ #12167]
17450 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
17451 of inacessible symlinks. Verify result of symlink before returning it.
17452 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
17453 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
17454
0e012e87
ER
174552010-10-28 Erich Ritz <erichritz@gmail.com>
17456
17457 * math/math.h (isinf): Fix typo in comment.
17458
de0ff7bc
UD
174592010-11-01 Ulrich Drepper <drepper@gmail.com>
17460
17461 * po/da.po: Update from translation team.
17462
fa41c84d
UD
174632010-10-26 Ulrich Drepper <drepper@gmail.com>
17464
17465 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
17466 is added to the list.
17467
f0967738
AK
174682010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17469 Ulrich Drepper <drepper@gmail.com>
17470
17471 * elf/dl-object.c (_dl_new_object): Don't append the new object to
17472 the global list here. Move code to...
17473 (_dl_add_to_namespace_list): ...here. New function.
17474 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
17475 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
17476 * elf/dl-load.c (lose): Don't remove the element from the list.
17477 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
17478 (_dl_map_object): Likewise.
17479
174802010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
17481
17482 [BZ #12159]
17483 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
17484 into all bytes of SSE register.
17485 Patch by Richard Li <richardpku@gmail.com>.
17486
f0967738 174872010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
17488
17489 [BZ #12140]
17490 * malloc/malloc.c (_int_free): Fill correct number of bytes when
17491 perturbing.
17492
d0b9e94f
MB
174932010-10-20 Michael B. Brutman <brutman@us.ibm.com>
17494
17495 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
17496 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
17497 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
17498 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
17499 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
17500 submachine.
17501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
17502
8e9f92e9
AS
175032010-10-22 Andreas Schwab <schwab@redhat.com>
17504
17505 * include/dlfcn.h (__RTLD_SECURE): Define.
17506 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
17507 mode & __RTLD_SECURE instead.
17508 (open_path): Rename preloaded parameter to secure.
17509 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
17510 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
17511 * elf/dl-deps.c (openaux): Likewise.
17512 * elf/rtld.c (struct map_args): Remove is_preloaded.
17513 (map_doit): Don't use it.
17514 (dl_main): Likewise.
17515 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
17516 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
17517
bc96fbda
AS
175182010-09-09 Andreas Schwab <schwab@redhat.com>
17519
17520 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
17521 (sysd-rules-targets): Remove duplicates.
17522 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
17523 rtld-%.$o dependency.
17524
22cd1c9b
AS
175252010-10-18 Andreas Schwab <schwab@redhat.com>
17526
17527 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
17528 _dl_map_object do it.
17529
18edac48
UD
175302010-10-19 Ulrich Drepper <drepper@gmail.com>
17531
17532 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
17533 fast fma builtins, define the macros in the C99 standard.
17534 (FP_FAST_FMAF): Likewise.
17535 (FP_FAST_FMAL): Likewise.
17536 * sysdeps/x86_64/bits/mathdef.h: Likewise.
17537
17538 * bits/mathdef.h: Update copyright year.
17539 * sysdeps/powerpc/bits/mathdef.h: Likewise.
17540
d2050124
MM
175412010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
17542
17543 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
17544 builtins, define the macros in the C99 standard.
17545 (FP_FAST_FMAF): Likewise.
17546 (FP_FAST_FMAL): Likewise.
17547 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
17548 multiply/add.
17549 (FP_FAST_FMAF): Likewise.
17550
475facd1
JJ
175512010-10-15 Jakub Jelinek <jakub@redhat.com>
17552
17553 [BZ #3268]
17554 * math/libm-test.inc (fma_test): Some new testcases.
17555 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
17556 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
17557 y and infinite z. Do multiplication by C already in long double.
17558 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
17559 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
17560 y and infinite z. Do bitwise or of inexact bit into u.d.
17561 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
17562 * sysdeps/i386/fpu/s_fmaf.S: Removed.
17563 * sysdeps/i386/fpu/s_fma.S: Removed.
17564 * sysdeps/i386/fpu/s_fmal.S: Removed.
17565
7c08a05c
JJ
175662010-10-16 Jakub Jelinek <jakub@redhat.com>
17567
17568 [BZ #3268]
17569 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
17570 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
17571 computation is not scheduled after fetestexcept. Fix value
17572 of minimum denormal long double.
17573
f3f7372d
JJ
175742010-10-14 Jakub Jelinek <jakub@redhat.com>
17575
17576 [BZ #3268]
17577 * math/libm-test.inc (fma_test): Add some more tests.
17578 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
17579 correctly.
17580
14d43591
AS
175812010-10-15 Andreas Schwab <schwab@redhat.com>
17582
17583 * scripts/data/localplt-s390-linux-gnu.data: New file.
17584 * scripts/data/localplt-s390x-linux-gnu.data: New file.
17585
5e908464
JJ
175862010-10-13 Jakub Jelinek <jakub@redhat.com>
17587
17588 [BZ #3268]
17589 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
17590 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
17591 instead of dbl-64.
17592 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
17593 inlines.
17594 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
17595 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
17596 if one of x and y is very large and the other is subnormal.
17597 * sysdeps/s390/fpu/s_fmaf.c: New file.
17598 * sysdeps/s390/fpu/s_fma.c: New file.
17599 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
17600 * sysdeps/powerpc/fpu/s_fma.S: New file.
17601 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
17602 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
17603 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
17604
176052010-10-12 Jakub Jelinek <jakub@redhat.com>
17606
17607 [BZ #3268]
17608 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
17609 fma tests.
17610 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
17611 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
17612 * sysdeps/i386/i686/multiarch/s_fma.c: Include
17613 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
17614 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
17615 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
17616 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
17617
b833d51f
UD
176182010-10-12 Ulrich Drepper <drepper@redhat.com>
17619
17620 [BZ #12078]
17621 * posix/regcomp.c (parse_branch): One more memory leak plugged.
17622 * posix/bug-regex31.input: Add test case.
17623
1751705d
UD
176242010-10-11 Ulrich Drepper <drepper@gmail.com>
17625
e9b9cbf5
UD
17626 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
17627 * posix/bug-regex31.input: New file.
17628
17629 [BZ #12078]
17630 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
17631 (parse_sub_exp): Fix last change, use postorder.
17632
ef06edbe
UD
17633 * posix/bug-regex31.c: New file.
17634 * posix/Makefile: Add rules to build and run bug-regex31.
17635
a129c80d
UD
17636 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
17637
17638 [BZ #12078]
17639 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
17640
b76b818e
UD
17641 [BZ #12108]
17642 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
17643 to have entries in sys_siglist.
17644
1751705d
UD
17645 [BZ #12093]
17646 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
17647 be NULL.
17648
9ff8d36f
JJ
176492010-10-07 Jakub Jelinek <jakub@redhat.com>
17650
17651 [BZ #3268]
17652 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
17653 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
17654 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
17655 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
17656 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
17657 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
17658 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
17659 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
17660 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
17661 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
17662 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
17663 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
17664 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
17665 * math/ftestexcept.c (fetestexcept): Likewise.
17666 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
17667 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
17668 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
17669 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
17670 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
17671 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
17672 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
17673
af325969
UD
176742010-10-11 Ulrich Drepper <drepper@gmail.com>
17675
c579b202 17676 [BZ #12107]
af325969
UD
17677 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
17678 newline.
17679
67a67b95
UD
176802010-10-06 Ulrich Drepper <drepper@gmail.com>
17681
17682 * string/bug-strstr1.c: New file.
17683 * string/Makefile: Add rules to build and run bug-strstr1.
17684
5fb308bc
EB
176852010-10-05 Eric Blake <eblake@redhat.com>
17686
17687 [BZ #12092]
17688 * string/str-two-way.h (two_way_long_needle): Always clear memory
17689 when skipping input due to the shift table.
17690
45db99c7
UD
176912010-10-03 Ulrich Drepper <drepper@gmail.com>
17692
3b111893
UD
17693 [BZ #12005]
17694 * malloc/mcheck.c: Handle large requests.
17695
45db99c7
UD
17696 [BZ #12077]
17697 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
17698 for strncmp and strncasecmp.
17699 * string/stratcliff.c: Add tests for strcmp and strncmp.
17700 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
17701
cf7a1eb8
NI
177022010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17703
17704 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
17705 __set_fpscr.
17706
6484ba5e
AJ
177072010-09-30 Andreas Jaeger <aj@suse.de>
17708
17709 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
17710 (CGROUP_SUPER_MAGIC): Define.
17711 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
17712 Handle btrfs and cgroup file systems.
17713 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
17714 Likewise.
17715
91c42559
LM
177162010-09-27 Luis Machado <luisgpm@br.ibm.com>
17717
17718 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
17719 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
17720
87a97932
AK
177212010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17722
17723 [BZ #12067]
17724 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
17725 trying to locate the ELF header.
17726
c21cc9bc
AS
177272010-09-27 Andreas Schwab <schwab@redhat.com>
17728
17729 [BZ #11611]
17730 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
17731 Mask out sign-bit copies when constructing f_fsid.
17732
315970f6
PB
177332010-09-24 Petr Baudis <pasky@suse.cz>
17734
17735 * debug/stack_chk_fail_local.c: Add missing licence exception.
17736 * debug/warning-nop.c: Likewise.
17737
1ac7a2c7
JM
177382010-09-15 Joseph Myers <joseph@codesourcery.com>
17739
17740 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
17741 implementing getdents64 using getdents syscall, set d_type if
17742 __ASSUME_GETDENTS32_D_TYPE.
17743
56801c50
AS
177442010-09-16 Andreas Schwab <schwab@redhat.com>
17745
17746 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
17747 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
17748
dda51327
UD
177492010-09-21 Ulrich Drepper <drepper@redhat.com>
17750
17751 [BZ #12037]
17752 * posix/unistd.h: Undo change of feature selection for ftruncate from
17753 2010-01-11.
17754
8ffcee4a
UD
177552010-09-20 Ulrich Drepper <drepper@redhat.com>
17756
a545ecd9 17757 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
17758 detection.
17759
e24f0a8b
AS
177602010-09-20 Andreas Schwab <schwab@redhat.com>
17761
17762 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
17763 fanotify_mark.
17764 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
17765
7291c56f
AS
177662010-09-14 Andreas Schwab <schwab@redhat.com>
17767
17768 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
17769 variables after CHECK_SP call.
17770 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
17771
bc5fb037
AS
177722010-09-13 Andreas Schwab <schwab@redhat.com>
17773 Ulrich Drepper <drepper@redhat.com>
17774
17775 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
17776 re-relocationg ld.so.
17777 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
17778 _dl_init_paths call.
17779 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
17780 here anymore.
17781
e66e7419
UD
177822010-09-14 Ulrich Drepper <drepper@redhat.com>
17783
17784 * resolv/res_init.c (__res_vinit): Count the default server we added.
17785
c044aa75
CLT
177862010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
17787 Ulrich Drepper <drepper@redhat.com>
17788
17789 [BZ #11968]
17790 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
17791 (____longjmp_chk): Use %ebx for saving value across system call.
17792 Add unwind info.
17793
32cf4069
AS
177942010-09-06 Andreas Schwab <schwab@redhat.com>
17795
17796 * manual/Makefile: Don't mix pattern rules with normal rules.
17797
817328ee
AS
177982010-09-05 Andreas Schwab <schwab@linux-m68k.org>
17799
17800 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
17801 operation.
17802 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
17803 * libio/iofopncook.c (_IO_cookie_init): Likewise.
17804 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
17805 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
17806 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
17807 Likewise.
17808
29fddf61
UD
178092010-09-04 Ulrich Drepper <drepper@redhat.com>
17810
17811 [BZ #11979]
17812 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
17813 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
17814
0959ffc9
UD
178152010-09-02 Ulrich Drepper <drepper@redhat.com>
17816
17817 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
17818 * sysdeps/x86_64/addmul_1.S: Likewise.
17819 * sysdeps/x86_64/lshift.S: Likewise.
17820 * sysdeps/x86_64/mul_1.S: Likewise.
17821 * sysdeps/x86_64/rshift.S: Likewise.
17822 * sysdeps/x86_64/sub_n.S: Likewise.
17823 * sysdeps/x86_64/submul_1.S: Likewise.
17824
ece29840
ST
178252010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
17826
0959ffc9
UD
17827 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
17828 Define __sched_param instead of SCHED_* and sched_param when
ece29840 17829 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 17830 * bits/sched.h [__need_schedparam]
ece29840 17831 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
17832 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
17833 (__defined_schedparam): Define to 1.
ece29840
ST
17834 (__sched_param): New structure, identical to sched_param.
17835 (__need_schedparam): Undefine.
17836
e53a31fe
MF
178372010-08-31 Mike Frysinger <vapier@gentoo.org>
17838
fdc0c10d
MF
17839 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
17840 (epoll_create1): Declare.
17841
e53a31fe
MF
17842 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
17843
a726d796
AS
178442010-08-31 Andreas Schwab <schwab@redhat.com>
17845
17846 [BZ #7066]
17847 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
17848 shifting retval into place.
17849
2f3e3dc7
UD
178502010-09-01 Ulrich Drepper <drepper@redhat.com>
17851
f2933da9
UD
17852 * nis/rpcsvc/nis.h: Update copyright notice.
17853 * nis/rpcsvc/nis.x: Likewise.
17854 * nis/rpcsvc/nis_callback.h: Likewise.
17855 * nis/rpcsvc/nis_callback.x: Likewise.
17856 * nis/rpcsvc/nis_object.x: Likewise.
17857 * nis/rpcsvc/nis_tags.h: Likewise.
17858 * nis/rpcsvc/yp.h: Likewise.
17859 * nis/rpcsvc/yp.x: Likewise.
17860 * nis/rpcsvc/ypupd.h: Likewise.
17861 * nis/yp_xdr.c: Likewise.
17862 * nis/ypupdate_xdr.c: Likewise.
17863
2f3e3dc7
UD
17864 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
17865 mainly the body of pmap_getport. Add parameters to specify timeouts.
17866 (pmap_getport): Use __libc_rpc_getport.
17867 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
17868 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
17869 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
17870
f3dcc2f9
AS
178712010-08-31 Andreas Schwab <schwab@linux-m68k.org>
17872
17873 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
17874 fanotify_mark.
17875
6d34eb5b
RM
178762010-08-27 Roland McGrath <roland@redhat.com>
17877
17878 * sysdeps/i386/i686/multiarch/Makefile
17879 (CFLAGS-varshift.c): New variable.
17880
9ea3de11
UD
178812010-08-27 Ulrich Drepper <drepper@redhat.com>
17882
c96d23fc
UD
17883 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
17884 * sysdeps/i386/i686/multiarch/varshift.c: New file.
17885
9ea3de11
UD
17886 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
17887
17888 * sysdeps/x86_64/strlen.S: Minimal code improvement.
17889
623aac7f
L
178902010-08-26 H.J. Lu <hongjiu.lu@intel.com>
17891
17892 * sysdeps/x86_64/strlen.S: Unroll the loop.
17893 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17894 strlen-sse2 strlen-sse2-bsf.
17895 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
17896 __strlen_no_bsf if bit_Slow_BSF is set.
17897 (__strlen_sse42): Removed.
17898 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
17899 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
17900
8b2b7715
RM
179012010-08-25 Roland McGrath <roland@redhat.com>
17902
17903 * sysdeps/x86_64/multiarch/varshift.S: File removed.
17904 * sysdeps/x86_64/multiarch/varshift.c: New file.
17905 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
17906 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
17907 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
17908 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
17909
e73015f2
L
179102010-08-25 H.J. Lu <hongjiu.lu@intel.com>
17911
17912 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17913 strlen-sse2 strlen-sse2-bsf.
17914 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
17915 __strlen_sse2_bsf if bit_Slow_BSF is unset.
17916 (__strlen_sse2): Removed.
17917 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
17918 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
17919 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
17920 bit_Slow_BSF for Atom.
17921 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
17922 (index_Slow_BSF): Define.
17923 (HAS_SLOW_BSF): Define.
17924
df24a73e
UD
179252010-08-25 Ulrich Drepper <drepper@redhat.com>
17926
17927 [BZ #10851]
17928 * resolv/res_init.c (__res_vinit): When no server address at all
17929 is given default to loopback.
17930
f2ac4868
RM
179312010-08-24 Roland McGrath <roland@redhat.com>
17932
09055553
RM
17933 * configure.in: Remove config-name.h generation.
17934 * configure: Regenerated.
17935 * config-name.in: File removed.
17936 * scripts/config-uname.sh: New file.
17937 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
17938 ($(objdir)config-name.h): New target.
17939
f2ac4868
RM
17940 * sunrpc/rpc_parse.h: Avoid nested comment.
17941
73f27d5e
RH
179422010-08-24 Richard Henderson <rth@redhat.com>
17943 Ulrich Drepper <drepper@redhat.com>
17944 H.J. Lu <hongjiu.lu@intel.com>
17945
17946 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
17947 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
17948 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
17949 Replace _mm_srli_si128 with __m128i_shift_right. Replace
17950 _mm_alignr_epi8 with _mm_loadu_si128.
17951 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
17952 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
17953 (__m128i_shift_right): Removed.
17954 * sysdeps/i386/i686/multiarch/varshift.h: New file.
17955 * sysdeps/i386/i686/multiarch/varshift.S: New file.
17956 * sysdeps/x86_64/multiarch/varshift.h: New file.
17957 * sysdeps/x86_64/multiarch/varshift.S: New file.
17958
84b9230c
MF
179592010-08-21 Mike Frysinger <vapier@gentoo.org>
17960
17961 * configure.in: Move assembler checks to before sysdep dir checking.
17962
9bbd0ddc
PB
179632010-08-20 Petr Baudis <pasky@suse.cz>
17964
17965 * LICENSES: Sync the sunrpc license.
17966
9da4bb31
UD
179672010-08-19 Ulrich Drepper <drepper@redhat.com>
17968
a7ab6ec8
UD
17969 * sunrpc/auth_des.c: Update copyright notice once again.
17970 * sunrpc/auth_none.c: Likewise.
17971 * sunrpc/auth_unix.c: Likewise.
17972 * sunrpc/authdes_prot.c: Likewise.
17973 * sunrpc/authuxprot.c: Likewise.
17974 * sunrpc/bindrsvprt.c: Likewise.
17975 * sunrpc/clnt_gen.c: Likewise.
17976 * sunrpc/clnt_perr.c: Likewise.
17977 * sunrpc/clnt_raw.c: Likewise.
17978 * sunrpc/clnt_simp.c: Likewise.
17979 * sunrpc/clnt_tcp.c: Likewise.
17980 * sunrpc/clnt_udp.c: Likewise.
17981 * sunrpc/clnt_unix.c: Likewise.
17982 * sunrpc/des_crypt.c: Likewise.
17983 * sunrpc/des_soft.c: Likewise.
17984 * sunrpc/get_myaddr.c: Likewise.
17985 * sunrpc/getrpcport.c: Likewise.
17986 * sunrpc/key_call.c: Likewise.
17987 * sunrpc/key_prot.c: Likewise.
17988 * sunrpc/openchild.c: Likewise.
17989 * sunrpc/pm_getmaps.c: Likewise.
17990 * sunrpc/pm_getport.c: Likewise.
17991 * sunrpc/pmap_clnt.c: Likewise.
17992 * sunrpc/pmap_prot.c: Likewise.
17993 * sunrpc/pmap_prot2.c: Likewise.
17994 * sunrpc/pmap_rmt.c: Likewise.
17995 * sunrpc/rpc/auth.h: Likewise.
17996 * sunrpc/rpc/auth_unix.h: Likewise.
17997 * sunrpc/rpc/clnt.h: Likewise.
17998 * sunrpc/rpc/des_crypt.h: Likewise.
17999 * sunrpc/rpc/key_prot.h: Likewise.
18000 * sunrpc/rpc/netdb.h: Likewise.
18001 * sunrpc/rpc/pmap_clnt.h: Likewise.
18002 * sunrpc/rpc/pmap_prot.h: Likewise.
18003 * sunrpc/rpc/pmap_rmt.h: Likewise.
18004 * sunrpc/rpc/rpc.h: Likewise.
18005 * sunrpc/rpc/rpc_des.h: Likewise.
18006 * sunrpc/rpc/rpc_msg.h: Likewise.
18007 * sunrpc/rpc/svc.h: Likewise.
18008 * sunrpc/rpc/svc_auth.h: Likewise.
18009 * sunrpc/rpc/types.h: Likewise.
18010 * sunrpc/rpc/xdr.h: Likewise.
18011 * sunrpc/rpc_clntout.c: Likewise.
18012 * sunrpc/rpc_cmsg.c: Likewise.
18013 * sunrpc/rpc_common.c: Likewise.
18014 * sunrpc/rpc_cout.c: Likewise.
18015 * sunrpc/rpc_dtable.c: Likewise.
18016 * sunrpc/rpc_hout.c: Likewise.
18017 * sunrpc/rpc_main.c: Likewise.
18018 * sunrpc/rpc_parse.c: Likewise.
18019 * sunrpc/rpc_parse.h: Likewise.
18020 * sunrpc/rpc_prot.c: Likewise.
18021 * sunrpc/rpc_sample.c: Likewise.
18022 * sunrpc/rpc_scan.c: Likewise.
18023 * sunrpc/rpc_scan.h: Likewise.
18024 * sunrpc/rpc_svcout.c: Likewise.
18025 * sunrpc/rpc_tblout.c: Likewise.
18026 * sunrpc/rpc_util.c: Likewise.
18027 * sunrpc/rpc_util.h: Likewise.
18028 * sunrpc/rpcinfo.c: Likewise.
18029 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
18030 * sunrpc/rpcsvc/key_prot.x: Likewise.
18031 * sunrpc/rpcsvc/klm_prot.x: Likewise.
18032 * sunrpc/rpcsvc/mount.x: Likewise.
18033 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
18034 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
18035 * sunrpc/rpcsvc/rex.x: Likewise.
18036 * sunrpc/rpcsvc/rstat.x: Likewise.
18037 * sunrpc/rpcsvc/rusers.x: Likewise.
18038 * sunrpc/rpcsvc/sm_inter.x: Likewise.
18039 * sunrpc/rpcsvc/spray.x: Likewise.
18040 * sunrpc/rpcsvc/yppasswd.x: Likewise.
18041 * sunrpc/rtime.c: Likewise.
18042 * sunrpc/svc.c: Likewise.
18043 * sunrpc/svc_auth.c: Likewise.
18044 * sunrpc/svc_authux.c: Likewise.
18045 * sunrpc/svc_raw.c: Likewise.
18046 * sunrpc/svc_run.c: Likewise.
18047 * sunrpc/svc_simple.c: Likewise.
18048 * sunrpc/svc_tcp.c: Likewise.
18049 * sunrpc/svc_udp.c: Likewise.
18050 * sunrpc/svc_unix.c: Likewise.
18051 * sunrpc/svcauth_des.c: Likewise.
18052 * sunrpc/xcrypt.c: Likewise.
18053 * sunrpc/xdr.c: Likewise.
18054 * sunrpc/xdr_array.c: Likewise.
18055 * sunrpc/xdr_float.c: Likewise.
18056 * sunrpc/xdr_mem.c: Likewise.
18057 * sunrpc/xdr_rec.c: Likewise.
18058 * sunrpc/xdr_ref.c: Likewise.
18059 * sunrpc/xdr_sizeof.c: Likewise.
18060 * sunrpc/xdr_stdio.c: Likewise.
18061
9da4bb31
UD
18062 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
18063 handling.
18064
bdaa77bc
AS
180652010-08-19 Andreas Schwab <schwab@redhat.com>
18066
18067 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
18068
fe2f79db
LM
180692010-08-19 Luis Machado <luisgpm@br.ibm.com>
18070
18071 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
18072 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
18073 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
18074 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
18075 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
18076 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
18077 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
18078 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
18079 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
18080 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
18081 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
18082 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
18083 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
18084 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
18085
b9b42ee0
AB
180862010-07-26 Anton Blanchard <anton@samba.org>
18087
18088 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
18089 * malloc/arena.c (heap_trim): Likewise.
18090
1c06ba31
UD
180912010-08-16 Ulrich Drepper <drepper@redhat.com>
18092
18093 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
18094 here. Not...
18095 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
18096 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
18097
f8392f40
L
180982010-08-12 H.J. Lu <hongjiu.lu@intel.com>
18099
18100 * sysdeps/i386/elf/Makefile: New file.
18101
3162f12e
AS
181022010-08-14 Andreas Schwab <schwab@linux-m68k.org>
18103
18104 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
18105 from fanotify_init.
18106 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
18107 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
18108
28c90b2c
UD
181092010-08-15 Ulrich Drepper <drepper@redhat.com>
18110
18111 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
18112 of strncasecmp_l.
1feccb6c 18113 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 18114
ca6bb004
UD
181152010-08-14 Ulrich Drepper <drepper@redhat.com>
18116
e9f82e0d
UD
18117 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
18118 strncase_l-nonascii.
18119 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
18120 Add strncase_l-ssse3.
18121 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
18122 * sysdeps/x86_64/strcmp.S: Likewise.
18123 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
18124 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
18125 * sysdeps/x86_64/strncase.S: New file.
18126 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
18127 * sysdeps/x86_64/strncase_l.S: New file.
18128 * string/Makefile (strop-tests): Add strncasecmp.
18129 * string/test-strncasecmp.c: New file.
18130
18131 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
18132 warning.
18133
ca6bb004
UD
18134 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
18135 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
18136
052fa7b3
AS
181372010-08-14 Andreas Schwab <schwab@linux-m68k.org>
18138
18139 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
18140
962dba78
UD
181412010-08-12 Ulrich Drepper <drepper@redhat.com>
18142
18143 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
18144 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
18145 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
18146
bebff237
AM
181472010-05-01 Alan Modra <amodra@gmail.com>
18148
18149 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
18150 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
18151 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
18152 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
18153 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
18154 tidying. Don't tail-call __sigjmp_save for static lib.
18155 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
18156 save location.
18157 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
18158 (CALL_MCOUNT): Add eh info, and nop after bl.
18159 (TAIL_CALL_SYSCALL_ERROR): New macro.
18160 (PSEUDO_RET): Use it.
18161 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
18162 Correct save location of integer regs and cr.
18163 (_dl_profile_resolve): Correct cr save location. Delete nops
18164 after bl when SHARED. Reduce cfi size a little by better
18165 placement of cfi directives.
18166 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
18167 make a stack frame. Instead use parm save area as a temp.
18168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
18169 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
18170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
18171 Don't make a stack frame for parent, use parm save area.
18172 Increase child stack frame to 112 bytes. Don't save unused reg,
18173 and adjust reg usage. Set up cfi on error recovery and
18174 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
18175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
18176 (__makecontext): Add dummy nop after jump to exit.
18177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
18178 Use correct parm save area and cr save, reduce stack frame.
18179 Correct cfi for possible PSEUDO_RET frame setup.
18180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
18181 Branch to local label emitted by PSEUDO_RET rather than
18182 __syscall_error.
18183
02637374
AS
181842010-08-12 Andreas Schwab <schwab@redhat.com>
18185
18186 [BZ #11904]
18187 * locale/programs/locale.c (print_assignment): New function.
18188 (show_locale_vars): Use it.
18189
c3e2f19b
UD
181902010-08-11 Ulrich Drepper <drepper@redhat.com>
18191
3cdaa6ad
UD
18192 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
18193 field.
18194 (struct statfs64): Likewise.
18195 (_STATFS_F_FLAGS): Define.
18196 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
18197 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
18198 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
18199 (ST_VALID): Define locally.
18200 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
18201 __statvfs_getflags, use the provided value.
18202 * sysdeps/unix/sysv/linux/kernel-features.h: Define
18203 __ASSUME_STATFS_F_FLAGS.
18204
754f7da3
UD
18205 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
18206
10b3bedc
UD
18207 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
18208 Add sys/fanotify.h.
18209 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
18210 fanotify_mask for GLIBC_2.13.
18211 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
18212 fanotify_init and fanotify_mark.
18213 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
18214 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
18215
c08fb0d7
UD
18216 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
18217 Add prlimit.
18218 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
18219 prlimit64 for GLIBC_2.13.
18220 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
18221 prlimit64.
18222 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
18223 syscall.
18224 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
18225 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
18226 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
18227 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
18228 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
18229 add prlimit alias.
18230 * sysdeps/unix/sysv/linux/prlimit.c: New file.
18231
15bac72b
UD
18232 [BZ #11903]
18233 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
18234 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
18235
c3e2f19b
UD
18236 * nss/Makefile: Add rules to build and run tst-nss-test1.
18237 * shlib-versions: Add entry for libnss_test1.
18238 * nss/nss_test1.c: New file.
18239 * nss/tst-nss-test1.c: New file.
18240
18241 * nss/nsswitch.c (__nss_database_custom): Define new variable.
18242 (__nss_configure_lookup): Set appropriate entry in
18243 __nss_configure_lookup to true.
18244 * nss/nsswitch.h: Define enum with indeces of databases in
18245 databases and __nss_database_custom arrays. Declare
18246 __nss_database_custom.
18247 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
18248 to avoid using nscd when custom rules are installed.
18249 * nss/getXXbyYY_r.c: Likewise.
18250 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
18251
18252 * nss/nss_files/files-parse.c: Whitespace fixes.
18253
f15ce4d8
UD
182542010-08-09 Ulrich Drepper <drepper@redhat.com>
18255
18256 [BZ #11883]
18257 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
18258 * posix/fnmatch_loop.c: Likewise.
18259
d22e4cc9
AK
182602010-07-17 Andi Kleen <ak@linux.intel.com>
18261
18262 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
18263 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
18264 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
18265 * Versions.def [GLIBC_2.13]: Add.
18266
805bc17d
UD
182672010-08-06 Ulrich Drepper <drepper@redhat.com>
18268
18269 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
18270 Also fail if tpwd after pwuid call is NULL.
18271
5a42321d
ST
182722010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
18273
18274 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
18275 when converting to ms.
18276
fd3ebeda
ST
182772010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
18278
18279 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
18280 EOPNOTSUPP errors with ENOTTY.
18281 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
18282 EOPNOTSUPP errors with ENOTTY.
18283
73507d3a
UD
182842010-07-31 Ulrich Drepper <drepper@redhat.com>
18285
18286 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
18287 Add strcasecmp_l-ssse3.
18288 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
18289 strcasecmp.
18290 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
18291 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
18292 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
18293
fe36dd02
UD
182942010-07-30 Ulrich Drepper <drepper@redhat.com>
18295
66f6765a
UD
18296 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
18297
42e08a54
UD
18298 * string/Makefile (strop-tests): Add strcasecmp.
18299 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
18300 strcasecmp_l-nonascii.
18301 (gen-as-const-headers): Add locale-defines.sym.
18302 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
18303 * sysdeps/x86_64/strcasecmp.S: New file.
18304 * sysdeps/x86_64/strcasecmp_l.S: New file.
18305 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
18306 * sysdeps/x86_64/locale-defines.sym: New file.
18307 * string/test-strcasecmp.c: New file.
18308
fe36dd02
UD
18309 * string/test-strcasestr.c: Test both ends of the range of characters.
18310 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
18311
48cbc0d6
RM
183122010-07-29 Roland McGrath <roland@redhat.com>
18313
76e6d6bc 18314 [BZ #11856]
48cbc0d6
RM
18315 * manual/locale.texi (Yes-or-No Questions): Fix example code.
18316
880113d9
UD
183172010-07-27 Ulrich Drepper <drepper@redhat.com>
18318
18319 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
18320 for ld.so.
18321
deb9cabb
AS
183222010-07-27 Andreas Schwab <schwab@redhat.com>
18323
18324 * manual/memory.texi (Malloc Tunable Parameters): Document
18325 M_PERTURB.
18326
1c7570ff
RM
183272010-07-26 Roland McGrath <roland@redhat.com>
18328
18329 [BZ #11840]
18330 * configure.in (-fgnu89-inline check): Set and substitute
18331 gnu89_inline, not libc_cv_gnu89_inline.
18332 * configure: Regenerated.
18333 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
18334
24fb0f88
UD
183352010-07-26 Ulrich Drepper <drepper@redhat.com>
18336
18337 * string/test-strnlen.c: New file.
18338 * string/Makefile (strop-tests): Add strnlen.
18339 * string/tester.c (test_strnlen): Add a few more test cases.
18340 * string/tst-strlen.c: Better error reporting.
18341
18342 * sysdeps/x86_64/strnlen.S: New file.
18343
8e96b93a
UD
183442010-07-24 Ulrich Drepper <drepper@redhat.com>
18345
18346 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
18347 lower-latency instructions.
18348
dbc676d4
UD
183492010-07-23 Ulrich Drepper <drepper@redhat.com>
18350
18351 * string/test-strcasestr.c: New file.
18352 * string/test-strstr.c: New file.
18353 * string/Makefile (strop-tests): Add strstr and strcasestr.
18354 * string/str-two-way.h: Don't undefine MAX.
18355 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
18356
f6a31e0e
AS
183572010-07-21 Andreas Schwab <schwab@redhat.com>
18358
18359 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18360 strcasestr-nonascii.
18361 (CFLAGS-strcasestr-nonascii.c): Define.
18362 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
18363 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
18364 Remove unused attribute.
18365
5dbc3b6c
RM
183662010-07-20 Roland McGrath <roland@redhat.com>
18367
18368 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
18369 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
18370 ld.so.cache was broken. With it, there is no way to disable dsocaps
18371 like LD_HWCAP_MASK can disable hwcaps.
18372
23d101d8
EPM
183732010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
18374
18375 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
18376
cc9f2e47
UD
183772010-07-16 Ulrich Drepper <drepper@redhat.com>
18378
18379 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
18380 call in strcasestr.
18381 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
18382 __strcasestr_sse42_nonascii.
18383 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
18384 strcasestr-nonascii.c.
18385 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
18386
77c1b069
LM
183872010-06-15 Luis Machado <luisgpm@br.ibm.com>
18388
18389 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
18390 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
18391 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
18392 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
18393
440566c3
UD
183942010-07-09 Ulrich Drepper <drepper@redhat.com>
18395
18396 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
18397 fcntl.
18398
5be9d05d
AS
183992010-07-06 Andreas Schwab <schwab@redhat.com>
18400
c30b7ee2 18401 [BZ #11577]
5be9d05d
AS
18402 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
18403 dl_signal_cerror.
18404
8a492a67
UD
184052010-07-06 Ulrich Drepper <drepper@redhat.com>
18406
18407 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
18408 _PC_PIPE_BUF using F_GETPIPE_SZ.
18409
713df3d5
RM
184102010-07-05 Roland McGrath <roland@redhat.com>
18411
18412 * manual/arith.texi (Rounding Functions): Fix rint description
18413 implicit in round description.
18414
702e8f14
UD
184152010-07-02 Ulrich Drepper <drepper@redhat.com>
18416
18417 * elf/Makefile: Fix linking for a few tests to make recent linker
18418 happy.
18419
52ed8be9
AS
184202010-06-30 Andreas Schwab <schwab@redhat.com>
18421
18422 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
18423 $(common-objpfx)libc_nonshared.a.
18424
f47c9a11
LM
184252010-06-21 Luis Machado <luisgpm@br.ibm.com>
18426
18427 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
18428 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
18429 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
18430 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
18431 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
18432 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
18433 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
18434 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
18435 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
18436 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
18437 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
18438 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
18439 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
18440 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
18441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
18442 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
18443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
18444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
18445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
18446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
18447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
18448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
18449 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
18450 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
18451 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
18452 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
18453 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
18454 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
18455 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
18456 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
18457 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
18458 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
18459 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
18460 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
18461 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
18462 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
18463 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
18464 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
18465 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
18466 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
18467 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
18468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
18469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
18470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
18471 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
18472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
18473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
18474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
18475
6fb8cbcb
L
184762010-06-25 H.J. Lu <hongjiu.lu@intel.com>
18477
18478 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
18479 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
18480 * string/memmove.c (memmove): Renamed to ...
18481 (MEMMOVE): ...this. Default to memmove.
18482 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
18483 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
18484 (END_CHK): Define.
18485 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18486 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
18487 mempcpy-ssse3-back memmove-ssse3-back.
18488 * sysdeps/x86_64/multiarch/bcopy.S: New file .
18489 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
18490 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
18491 * sysdeps/x86_64/multiarch/memcpy.S: New file.
18492 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
18493 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
18494 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
18495 * sysdeps/x86_64/multiarch/memmove.c: New file.
18496 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
18497 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
18498 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
18499 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
18500 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
18501 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
18502 Define.
18503 (index_Fast_Copy_Backward): Define.
18504 (HAS_ARCH_FEATURE): Define.
18505 (HAS_FAST_REP_STRING): Define.
18506 (HAS_FAST_COPY_BACKWARD): Define.
18507
4e733bac 185082010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
18509
18510 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
18511 Restore proper fallback handling.
18512
63c4ed22
UD
185132010-06-19 Ulrich Drepper <drepper@redhat.com>
18514
ac2b484c
UD
18515 [BZ #11701]
18516 * posix/group_member.c (__group_member): Correct checking loop.
18517
63c4ed22
UD
18518 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
18519 OOM in getpwuid_r correctly. Return error number when the caller
18520 should return, otherwise -1.
18521 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
18522 call returning > 0 value.
18523 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
18524
765ade4b
AS
185252010-06-07 Andreas Schwab <schwab@redhat.com>
18526
18527 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
18528 libc_nonshared.a from targets in modules-names.
18529
80da2e09
KS
185302010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
18531
18532 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
18533 requires it.
18534
158db122
LM
185352010-06-10 Luis Machado <luisgpm@br.ibm.com>
18536
18537 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
18538 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
18539 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
18540 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
18541
caa78cf8
AS
185422010-06-02 Andreas Schwab <schwab@redhat.com>
18543
18544 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
18545
b2ef2c01
UD
185462010-06-14 Ulrich Drepper <drepper@redhat.com>
18547
18548 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
18549 and F_GETPIPE_SZ.
18550 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
18551 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
18552 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18553 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18554 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
18555 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
18556
fbd643b6
RM
185572010-06-14 Roland McGrath <roland@redhat.com>
18558
18559 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
18560
f32f2869
JJ
185612010-06-07 Jakub Jelinek <jakub@redhat.com>
18562
18563 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
18564 __REDIRECT followed by __THROW.
18565 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
18566 * posix/getopt.h (getopt): Likewise.
18567
2a50c078
EPM
185682010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
18569
18570 * hurd/lookup-at.c (__file_name_lookup_at): Accept
18571 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
18572 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
18573 in AT_FLAGS.
18574 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
18575 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
18576
eb5ad2eb
LM
185772010-05-28 Luis Machado <luisgpm@br.ibm.com>
18578
18579 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
18580
3c88fe1e
L
185812010-05-26 H.J. Lu <hongjiu.lu@intel.com>
18582
18583 [BZ #11640]
18584 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18585 Properly check family and model.
18586
d2f73151
TY
185872010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
18588
18589 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
18590
ebd2e13d
LM
185912010-05-24 Luis Machado <luisgpm@br.ibm.com>
18592
18593 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
18594
b32b8b45
UD
185952010-05-21 Ulrich Drepper <drepper@redhat.com>
18596
18597 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
18598 symbol reference.
18599
9acbe24d
AS
186002010-05-19 Andreas Schwab <schwab@redhat.com>
18601
18602 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
18603 symbol reference.
18604
f0ccf6ea
AS
186052010-05-21 Andreas Schwab <schwab@redhat.com>
18606
3d04ff3a
AS
18607 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
18608 and internal_recvmmsg.
18609 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
18610 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
18611 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
18612 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
18613
f0ccf6ea
AS
18614 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
18615 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
18616 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
18617
5b08ac57
AS
186182010-05-20 Andreas Schwab <schwab@redhat.com>
18619
18620 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
18621
4828935d
LM
186222010-05-17 Luis Machado <luisgpm@br.ibm.com>
18623
18624 POWER7 optimizations.
18625 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
18626 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
18627
373d545e
UD
186282010-05-19 Ulrich Drepper <drepper@redhat.com>
18629
18630 * version.h: Update for 2.13 development version.
18631
21a2b1ae
AS
186322010-05-12 Andrew Stubbs <ams@codesourcery.com>
18633
18634 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
18635 exceptions. Return 0.
18636
3f7dcb2b
RM
186372010-05-07 Roland McGrath <roland@redhat.com>
18638
18639 * elf/ldconfig.c (main): Add a const.
18640
5f24d53a 186412010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 18642
a160f8d8
UD
18643 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
18644 (args_options): Add no-idn option.
18645 (ahosts_keys_int): Add idn_flags to ai_flags.
18646 (parse_option): Handle 'i' option to clear idn_flags.
18647
5f24d53a
UD
18648 * malloc/malloc.c (_int_free): Possible race in the most recently
18649 added check. Only act on the data if no current modification
18650 happened.
265bb1ce
UD
18651
18652See ChangeLog.17 for earlier changes.