]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
[Powerpc] Tune/optimize powerpc{32,64}/power7/memchr.S.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
14a50c9d
WS
12012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
2
3 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
4 slight instruction rearrangements per scrollpipe analysis.
5 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
6
c0f4faf0
RM
72012-08-20 Roland McGrath <roland@hack.frob.com>
8
696da859
RM
9 * manual/syslog.texi (syslog; vsyslog, closelog):
10 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
11 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
12
c0f4faf0
RM
13 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
14 DSOCAPS to match condition on defining it.
15
348363b2
JM
162012-08-20 Joseph Myers <joseph@codesourcery.com>
17
a35cbf28
JM
18 * sysdeps/unix/sysv/linux/kernel-features.h
19 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
20 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
21 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
22 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
23 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
24 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
25 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
26 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
27 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
28 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
29
445f7ecd
JM
30 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
31 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
32
348363b2
JM
33 * sysdeps/unix/sysv/linux/kernel-features.h
34 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
35 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
36 unconditional.
37 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
39 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
40 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
41 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
42 Make code unconditional.
43 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
44 (__mmap64) [!__NR_mmap2]: Likewise.
45 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
46 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
47 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
48 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
49 [__NR_mmap2]: Make code unconditional.
50 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
51 (__mmap64) [!__NR_mmap2]: Likewise.
52
bc5bc0e5
AK
532012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54
55 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
56
88d506de
AJ
572012-08-18 Andreas Jaeger <aj@suse.de>
58
59 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
60
493387d2
MF
612012-08-18 Mike Frysinger <vapier@gentoo.org>
62
63 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
64 * include/unistd.h (__have_sock_cloexec): Likewise.
65 (__have_pipe2): Likewise.
66 (__have_dup3): Likewise.
67
a277af22
MF
682012-08-18 Mike Frysinger <vapier@gentoo.org>
69
70 [BZ #9685]
71 * include/unistd.h (__have_pipe2): Change define into an extern int.
72 (__have_dup3): Likewise.
73 * socket/have_sock_cloexec.c: Include fcntl.h.
74 (__have_pipe2): New variable.
75 (__have_dup3): Likewise.
76
fdab8fd3
MF
772012-08-17 Mike Frysinger <vapier@gentoo.org>
78
79 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
80
31035e80
MP
812012-08-17 Marek Polacek <polacek@redhat.com>
82
83 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
84 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
85
3bd9e993
RM
862012-08-17 Roland McGrath <roland@hack.frob.com>
87
c91c505f
RM
88 * configure.in: Add AC_SUBST for sysheaders.
89 * configure: Regenerated.
90 * config.make.in (sysheaders): New substituted variable.
91
7c6f9d53
RM
92 * sysdeps/unix/mkfifo.c: Moved ...
93 * sysdeps/posix/mkfifo.c: ... here.
94 * sysdeps/unix/mkfifoat.c: Moved ...
95 * sysdeps/posix/mkfifoat.c: ... here.
96
97 * sysdeps/unix/utime.c: Moved ...
98 * sysdeps/posix/utime.c: ... here.
99
100 * sysdeps/unix/time.c: Moved ...
101 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
102 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
103 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
104
105 * sysdeps/unix/nice.c: Moved ...
106 * sysdeps/posix/nice.c: ... here.
107
108 * sysdeps/unix/alarm.c: Moved ...
109 * sysdeps/posix/alarm.c: ... here.
110
3bd9e993
RM
111 * intl/Makefile ($(codeset_mo)): Depend on the input file.
112
d1f09384
JL
1132012-08-17 Jeff Law <law@redhat.com>
114
115 * intl/Makefile (codeset_mo): New variable.
116 ($(codeset_mo)): New target.
117 (tst-codeset.out): Depend on that. Remove explicit rule.
118 (tst-gettext3.out, tst-gettext5.out): Likewise.
119 (LOCPATH-ENV, tst-codeset-ENV): New variables.
120 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
121 * intl/tst-codeset.sh: Remove.
122 * intl/tst-gettext3.sh: Likewise.
123 * intl/tst-gettext5.sh: Likewise.
124
2ae1ae5c
RM
1252012-08-17 Roland McGrath <roland@hack.frob.com>
126
c31fdb83
RM
127 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
128 * sysdeps/unix/syscalls.list: ... here.
129
a0844057
RM
130 * sysdeps/posix/getaddrinfo.c
131 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
132 (gaiconf_init, gaiconf_reload): Use them.
133 [!_STATBUF_ST_NSEC]
134 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
135 Define using time_t rather than struct timespec.
136
750c1f2a
RM
137 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
138 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
139 Macros removed.
140 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
141 [!NO_THREADS].
142 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
143 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
144 Likewise.
145
2ae1ae5c
RM
146 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
147 __libc_cleanup_push argument.
148
e66a42f5
RM
149 * bits/param.h: New file.
150 * misc/sys/param.h: New file.
151 * include/sys/param.h: New file.
152 * misc/Makefile (headers): Add bits/param.h.
153 * sysdeps/generic/sys/param.h: File removed.
154 * sysdeps/unix/sysv/linux/bits/param.h: New file.
155 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
156 * sysdeps/mach/hurd/bits/param.h: New file.
157 * sysdeps/mach/hurd/sys/param.h: New file.
158
b7c08a66
RM
159 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
160 last change.
161
b2e1c562
RM
162 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
163 [_IO_MTSAFE_IO].
164 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
165 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
166 New macros.
167
c75ccd4c
RM
168 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
169 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
170 rather than -D_IO_MTSAFE_IO conditionally.
171 * stdio-common/Makefile (CPPFLAGS): Likewise.
172 * wcsmbs/Makefile (CPPFLAGS): Likewise.
173 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
174 Use $(libio-mtsafe).
175 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
176 of -D_IO_MTSAFE_IO.
177 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
178 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
179 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
180 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
181 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
182 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
183 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
184 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
185 (CFLAGS-fread_u_chk.c): Likewise.
186 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
187 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
188 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
189 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
190 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
191 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
192 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
193 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
194 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
195
196 * libio/Makefile: Test [$(libc-reentrant) = yes]
197 instead of [$(filter %REENTRANT, $(defines)) nonempty].
198
199 * Makeconfig
200 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
201 * sysdeps/pthread/configure: File removed.
202 * sysdeps/pthread/Makeconfig: New file.
203 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
204 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
205
d9195db8
GB
2062012-08-16 Gary Benson <gbenson@redhat.com>
207
208 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
209 unmapping the first object in a namespace.
210
86466cd9
RM
2112012-08-16 Roland McGrath <roland@hack.frob.com>
212
213 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
214 (__internal_setnetgrent): ... this. Add internal_function to
215 definition. Add libc_hidden_def.
216 (setnetgrent): Update caller.
217 (internal_endnetgrent): Renamed to ...
218 (__internal_endnetgrent): ... this. Add internal_function to
219 definition. Add libc_hidden_def.
220 (endnetgrent): Update caller.
221 (internal_getnetgrent_r): Renamed to ...
222 (__internal_getnetgrent_r): ... this. Add internal_function to
223 definition. Add libc_hidden_def.
224 (__getnetgrent_r): Update caller.
225 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
226
c3c8283c
JM
2272012-08-16 Joseph Myers <joseph@codesourcery.com>
228
229 * stdlib/longlong.h: Update from GCC.
230
db1ee0a8
RM
2312012-08-16 Roland McGrath <roland@hack.frob.com>
232
233 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
234 on _QL, which is set by umul_ppmm but never used.
235 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
236 variables, which are set by GMP macros but never used.
237 * stdio-common/_itowa.c (_itowa): Likewise.
238 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
239 * stdlib/mod_1.c (mpn_mod_1): Likewise.
240
30f69637
CD
2412012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
242
243 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
244 struct La_sh_regs is not constant.
245 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
246 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
247 and struct La_sparc64_regs are not constant.
248
93a78ac4
JM
2492012-08-16 Joseph Myers <joseph@codesourcery.com>
250
251 * sysdeps/unix/sysv/linux/kernel-features.h
252 (__ASSUME_POSIX_TIMERS): Remove.
253 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
254 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
255 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
256 Make code unconditional.
257 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
258 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
259 Make code unconditional.
260 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
261 * sysdeps/unix/sysv/linux/clock_nanosleep.c
262 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
263 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
264 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
265 Make code unconditional.
266 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
267 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
268 (__libc_missing_posix_timers): Remove.
269
dd924cd7
RM
2702012-08-15 Roland McGrath <roland@hack.frob.com>
271
4b4f2771
RM
272 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
273 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
274
601c888b
RM
275 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
276
176790a7
RM
277 * elf/dl-sym.c: Include <stdlib.h>.
278
329bc018
RM
279 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
280 constants, which avoids warnings in 32-bit builds.
281
e04e272d
RM
282 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
283 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
284
952bf94a
RM
285 * misc/lseek.c: File moved to ...
286 * io/lseek.c: ... here.
287
7c99b50a
RM
288 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
289
dd924cd7
RM
290 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
291 shifting LEN more than 31 bits at once.
292
b3f479a8
LD
2932012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
294
295 [BZ #14195]
296 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
297 segmentation fault for a case of two empty input strings.
298 * string/test-strncasecmp.c (check1): Renamed to...
299 (bz12205): ...this.
300 (bz14195): Add new testcase for two empty input strings and N > 0.
301 (test_main): Call new testcase, adapt for renamed function.
302
9c55864e
AJ
3032012-08-15 Andreas Jaeger <aj@suse.de>
304
305 [BZ #14090]
306 * crypt/md5test2.c: New test, based on test supplied by Serge
307 Belyshev <belyshev@depni.sinp.msu.ru>.
308 * crypt/Makefile (xtests): Add md5test-giant..
309 * crypt/Makefile ($(objpfx)md5test-giant): Add.
310
02dcb6c5
PE
3112012-08-15 Paul Eggert <eggert@cs.ucla.edu>
312
313 [BZ #14090]
314 * crypt/md5.c (md5_process_block): Don't assume the buffer
315 length is less than 2**32.
316 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
317 length is less than 2**64.
318
a3f95dcc
RM
3192012-08-15 Roland McGrath <roland@hack.frob.com>
320
be75d758
RM
321 * string/str-two-way.h: Include <sys/param.h>.
322 (MAX): Macro removed.
323
7312ca90
RM
324 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
325 Move #define and #undef of memmove to just before and after
326 including <string.h>.
327
9a0a5486
RM
328 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
329 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
330 and after including <string.h>. Move declarations of
331 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
332 to before #include "string/memmove.c".
333
67cc348d
RM
334 * include/dirent.h: Declare __getdirentries.
335
a3f95dcc
RM
336 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
337 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
338
ca98e171
MF
3392012-08-14 Mike Frysinger <vapier@gentoo.org>
340
341 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
342 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
343 * sysdeps/i386/configure: Regenerated.
344 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
345 STABS_CURRENT_FILE, and STABS_FUN.
346 (END): Remove call to STABS_FUN_END.
347 (STABS_CURRENT_FILE1): Delete.
348 (STABS_CURRENT_FILE): Likewise.
349 (STABS_FUN): Likewise.
350 (STABS_FUN_END): Likewise.
351 (STABS_FUN2): Likewise.
352 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
353 * sysdeps/x86_64/configure: Regenerated.
354
5908bf46
RM
3552012-08-14 Roland McGrath <roland@hack.frob.com>
356
357 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 358 * elf/dl-lookup.c: Likewise.
5908bf46 359
f2c05b9e
JM
3602012-08-14 Joseph Myers <joseph@codesourcery.com>
361
362 * sysdeps/unix/sysv/linux/kernel-features.h
363 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
364 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
365 unconditionally.
366 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
367 unconditionally.
368 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
369 condition on __ASSUME_CLONE_THREAD_FLAGS.
370
e11f5155
AJ
3712012-08-14 Andreas Jaeger <aj@suse.de>
372
373 * sysdeps/i386/fpu/libm-test-ulps: Update.
374
51a9ba86
MK
3752012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
376
2fdd4f78
AJ
377 * include/atomic.h (atomic_exchange_and_add): Split into ...
378 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
379 New atomic macros.
51a9ba86 380
ba6cba9e
MT
3812012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
382
383 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
384
42443a47
JL
3852012-08-13 Jeff Law <law@redhat.com>
386
387 * manual/stdio.texi (snprintf): Clarify handling of the trailing
388 null byte in the output string.
389
121dce05
JM
3902012-08-10 Joseph Myers <joseph@codesourcery.com>
391
392 * sysdeps/unix/sysv/linux/kernel-features.h
393 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
394 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
395 (__ASSUME_ARG_MAX_STACK_BASED): Define.
396 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
397 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
398 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
399 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
400
bf51f568
JL
4012012-08-09 Jeff Law <law@redhat.com>
402
403 [BZ #13939]
404 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
405 When avoid_arena is set, don't retry in the that arena. Pick the
406 next one, whatever it might be.
407 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
408 (arena_lock): Pass in new parameter to arena_get2.
409 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
410 arena_get2.
411 (__libc_malloc): Unify retrying after main arena failure with
412 __libc_memalign version.
413 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
414
f85fa270
L
4152012-08-09 H.J. Lu <hongjiu.lu@intel.com>
416
417 [BZ #14166]
418 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
419 to __redirect_strstr.
420 (__strstr_sse42): Use typeof __redirect_strstr.
421 (__strstr_ia32): Likewise.
422 (__libc_strstr): New prototype.
423 (strstr): Renamed to ...
424 (__libc_strstr): This.
425 (strstr): New strong alias of __libc_strstr.
426 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
427 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
428 __redirect_time.
429 Include <time.h>.
430 (__libc_time): New prototype.
431 (time_ifunc): Replace time with __libc_time.
432 (time): New strong alias and hidden definition of __libc_time.
433 (__GI_time): Remove strong alias.
434 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
435 Include <stddef.h>.
436 (memmove): Redefined to __redirect_memmove.
437 (__memmove_sse2): Use typeof __redirect_memmove.
438 (__memmove_ssse3): Likewise.
439 (__memmove_ssse3_back): Likewise.
440 (__libc_memmove): New prototype.
441 (memmove): Renamed to ...
442 (__libc_memmove): This.
443 (memmove): New strong alias of __libc_memmove.
444
33b4a91e
MS
4452012-08-08 Mark Salter <msalter@redhat.com>
446
447 * elf/elf.h
448 (R_MN10300_TLS_GD): Define.
449 (R_MN10300_TLS_LD): Likewise.
450 (R_MN10300_TLS_LDO): Likewise.
451 (R_MN10300_TLS_GOTIE): Likewise.
452 (R_MN10300_TLS_IE): Likewise.
453 (R_MN10300_TLS_LE): Likewise.
454 (R_MN10300_TLS_DTPMOD): Likewise.
455 (R_MN10300_TLS_DTPOFF): Likewise.
456 (R_MN10300_TLS_TPOFF): Likewise.
457 (R_MN10300_SYM_DIFF): Likewise.
458 (R_MN10300_ALIGN): Likewise.
459 (R_MN10300_NUM): Update.
460
b36137f1
JM
4612012-08-08 Joseph Myers <joseph@codesourcery.com>
462
463 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
464 Remove.
465
cdd915fd
RM
4662012-08-08 Roland McGrath <roland@hack.frob.com>
467
a2433aac
RM
468 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
469
cdd915fd
RM
470 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
471 sysdeps/unix -> sysdeps/posix move.
472 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
473
bf9b740a
AM
4742012-08-07 Allan McRae <allan@archlinux.org>
475
476 [BZ #14303]
477 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
478 (SUNOS_CPP): Likewise.
479 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
480 not found.
481 (open_input): Call CPP using execvp.
482
93df14ee
JM
4832012-08-07 Joseph Myers <joseph@codesourcery.com>
484
485 * sysdeps/unix/sysv/linux/kernel-features.h
486 (__ASSUME_PROT_GROWSUPDOWN): Remove.
487 (__ASSUME_NO_CLONE_DETACHED): Likewise.
488 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
489 (__ASSUME_WAITID_SYSCALL): Likewise.
490 * sysdeps/unix/sysv/linux/dl-execstack.c
491 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
492 code unconditional.
493 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
494 conditional code.
495 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
496 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
497 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
498 code.
499 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
500 unconditional.
501 [__ASSUME_WAITID_SYSCALL]: Likewise.
502 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
503
d34689de
RM
5042012-08-07 Roland McGrath <roland@hack.frob.com>
505
a281decc
RM
506 * sysdeps/unix/closedir.c: Renamed to ...
507 * sysdeps/posix/closedir.c: ... here.
508 * sysdeps/unix/dirfd.c: Renamed to ...
509 * sysdeps/posix/dirfd.c: ... here.
510 * sysdeps/unix/dirstream.h: Renamed to ...
511 * sysdeps/posix/dirstream.h: ... here.
512 * sysdeps/unix/fdopendir.c: Renamed to ...
513 * sysdeps/posix/fdopendir.c: ... here.
514 * sysdeps/unix/opendir.c: Renamed to ...
515 * sysdeps/posix/opendir.c: ... here.
516 * sysdeps/unix/readdir.c: Renamed to ...
517 * sysdeps/posix/readdir.c: ... here.
518 * sysdeps/unix/readdir_r.c: Renamed to ...
519 * sysdeps/posix/readdir_r.c: ... here.
520 * sysdeps/unix/rewinddir.c: Renamed to ...
521 * sysdeps/posix/rewinddir.c: ... here.
522 * sysdeps/unix/seekdir.c: Renamed to ...
523 * sysdeps/posix/seekdir.c: ... here.
524 * sysdeps/unix/telldir.c: Renamed to ...
525 * sysdeps/posix/telldir.c: ... here.
526 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
527 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
528 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
529 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
530
22895b47
RM
531 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
532 * bits/fcntl.h: ... here.
533
707a53b6
RM
534 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
535 not 0.
536 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
537 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
538 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
539 (struct flock): Move l_start, l_len to the beginning.
540 Use __pid_t for l_pid.
541 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
542 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
543 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
544 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
545 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
546 [__USE_LARGEFILE64] (struct flock64): New type.
547 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
548
f0bd3e25
RM
549 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
550 * bits/dirent.h: ... here.
551
d34689de
RM
552 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
553 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
554
6dad2c06
JM
5552012-08-07 Joseph Myers <joseph@codesourcery.com>
556
557 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
558 Change from 2.6.0 to 2.6.16.
559 * sysdeps/unix/sysv/linux/configure: Regenerated.
560 * sysdeps/unix/sysv/linux/kernel-features.h
561 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
562 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
563 version.
564 (__ASSUME_UTIMES): Likewise.
565 (__ASSUME_CLONE_STOPPED): Remove.
566 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
567 architectures, not kernel version.
568 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
569 (__ASSUME_NO_CLONE_DETACHED): Likewise.
570 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
571 (__ASSUME_WAITID_SYSCALL): Likewise.
572 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
573 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
574 * README: State 2.6.16 as minimum Linux kernel version. Do not
575 refer to older versions.
576
03af9520
RM
5772012-08-06 Roland McGrath <roland@hack.frob.com>
578
8e49df1d
RM
579 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
580 Define alphasort64 as an alias.
581 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
582 Define versionsort64 as an alias.
583 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
584 Define scandir64 as an alias.
585 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
586 Define scandirat64 as an alias.
587 * dirent/alphasort64.c (alphasort64):
588 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
589 * dirent/versionsort64.c: Likewise.
590 * dirent/scandir64.c: Likewise.
591 * dirent/scandirat64.c: Likewise.
592 * sysdeps/wordsize-64/alphasort.c: File removed.
593 * sysdeps/wordsize-64/alphasort64.c: File removed.
594 * sysdeps/wordsize-64/scandir.c: File removed.
595 * sysdeps/wordsize-64/scandir64.c: File removed.
596 * sysdeps/wordsize-64/scandirat.c: File removed.
597 * sysdeps/wordsize-64/scandirat64.c: File removed.
598 * sysdeps/wordsize-64/versionsort.c: File removed.
599 * sysdeps/wordsize-64/versionsort64.c: File removed.
600 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
601 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
602 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
603 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
604 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
605 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
606 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
607 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
608
609 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
610 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
611 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
612 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
613 [defined __arch64__ || defined __sparcv9]
614 (__INO_T_MATCHES_INO64_T): New macro.
615 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
616 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
617 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
618 * sysdeps/unix/sysv/linux/bits/dirent.h
619 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
620 (_DIRENT_MATCHES_DIRENT64): New macro.
621
03af9520
RM
622 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
623 Define lockf64 as an alias.
624 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
625 Define fseeko64 as an alias.
626 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
627 Define ftello64 as an alias.
628 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
629 Define _IO_fgetpos64 and fgetpos64 as aliases.
630 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
631 Define _IO_fsetpos64 and fsetpos64 as aliases.
632 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
633 Conditionalize body on this.
634 * libio/fseeko64.c: Likewise.
635 * libio/ftello64.c: Likewise.
636 * libio/iofgetpos64.c: Likewise.
637 * libio/iofsetpos64.c: Likewise.
638 * sysdeps/wordsize-64/lockf.c: File removed.
639 * sysdeps/wordsize-64/lockf64.c: File removed.
640 * sysdeps/wordsize-64/fseeko.c: File removed.
641 * sysdeps/wordsize-64/fseeko64.c: File removed.
642 * sysdeps/wordsize-64/ftello.c: File removed.
643 * sysdeps/wordsize-64/ftello64.c: File removed.
644 * sysdeps/wordsize-64/iofgetpos.c: File removed.
645 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
646 * sysdeps/wordsize-64/iofsetpos.c: File removed.
647 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
648 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
649 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
650 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
651 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
652 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
653 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
654 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
655 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
656 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
657 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
658
659 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
660 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
661 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
662 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
663 [defined __arch64__ || defined __sparcv9]
664 (__OFF_T_MATCHES_OFF64_T): New macro.
665 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
666 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
667 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
668 (__OFF_T_MATCHES_OFF64_T): New macro.
669
c5757acd
L
6702012-08-06 H.J. Lu <hongjiu.lu@intel.com>
671
672 * stdlib/secure-getenv.c (__secure_getenv): Replace
673 GLIBC_2_16 with GLIBC_2_17.
674
3a31811e
L
6752012-08-06 H.J. Lu <hongjiu.lu@intel.com>
676
677 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
678 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
679
faa2bccb
DM
6802012-08-03 David S. Miller <davem@davemloft.net>
681
682 * sysdeps/sparc/fpu/libm-test-ulps: Update.
683
85fe1997
JM
6842012-08-03 Joseph Myers <joseph@codesourcery.com>
685
686 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
687 Remove.
688 (__ASSUME_CORRECT_SI_PID): Likewise.
689 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
690 (__ASSUME_TMPFS_NAME): Likewise.
691 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
692 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
693 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
694 (HAVE_AUX_SECURE): Make definition unconditional.
695 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
696 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
697
4f75b7a0
RM
6982012-08-03 Roland McGrath <roland@hack.frob.com>
699
700 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
701 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
702 * sysdeps/mach/hurd/eloop-threshold.h: New file.
703 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
704 __eloop_threshold instead of SYMLOOP_MAX.
705
706 * sysdeps/generic/eloop-threshold.h: New file.
707 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
708 of MAXSYMLINKS.
709 * elf/chroot_canon.c (chroot_canon): Likewise.
710
7aab07e4
JM
7112012-08-03 Joseph Myers <joseph@codesourcery.com>
712
713 [BZ #13717]
714 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
715 Change to 2.6.0 everywhere.
716 * sysdeps/unix/sysv/linux/configure: Regenerated.
717 * sysdeps/unix/sysv/linux/kernel-features.h
718 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
719 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
720 kernel versions.
721 (__ASSUME_POSIX_TIMERS): Define unconditionally.
722 (__ASSUME_FUTEX_REQUEUE): Remove.
723 (__ASSUME_STATFS64): Define unconditionally.
724 (__ASSUME_AT_SECURE): Likewise.
725 (__ASSUME_CORRECT_SI_PID): Likewise.
726 (__ASSUME_TGKILL): Define without depending on kernel version for
727 i386.
728 (__ASSUME_UTIMES): Likewise.
729 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
730 kernel version.
731 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
732 (__ASSUME_TMPFS_NAME): Likewise.
733 * README: Update reference to Linux kernel versions.
734
b67e9372
MP
7352012-08-02 Marek Polacek <polacek@redhat.com>
736
737 [BZ#14150]
738 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
739 libc_cv_asm_type_prefix with %.
740 * configure: Regenerated.
d2441631
RM
741 * include/libc-symbols.h: Remove comment about
742 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
743 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
744 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
745 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
746 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
747 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
748 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
749 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
750 * elf/tst-unique2mod1.c: Likewise.
751 * elf/tst-unique1mod2.c: Likewise.
752 * elf/tst-unique1mod1.c: Likewise.
753 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
754 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
755 Replace ASM_TYPE_DIRECTIVE with .type.
756 * sysdeps/s390/s390-64/sysdep.h: Likewise.
757 * sysdeps/i386/sysdep.h: Likewise.
758 * sysdeps/x86_64/sysdep.h: Likewise.
759 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
760 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
761 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 762 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
763 * sysdeps/powerpc/powerpc32/sysdep.h:
764 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
765 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
766 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
767 * sysdeps/i386/fpu/e_powf.S: Likewise.
768 * sysdeps/i386/fpu/e_expl.S: Likewise.
769 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
770 * sysdeps/i386/fpu/e_acosh.S: Likewise.
771 * sysdeps/i386/fpu/e_pow.S: Likewise.
772 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
773 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
774 * sysdeps/i386/fpu/s_expm1.S: Likewise.
775 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
776 * sysdeps/i386/fpu/e_log2.S: Likewise.
777 * sysdeps/i386/fpu/e_log2l.S: Likewise.
778 * sysdeps/i386/fpu/e_scalb.S: Likewise.
779 * sysdeps/i386/fpu/e_powl.S: Likewise.
780 * sysdeps/i386/fpu/e_log10f.S: Likewise.
781 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
782 * sysdeps/i386/fpu/e_logl.S: Likewise.
783 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
784 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
785 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
786 * sysdeps/i386/fpu/e_log2f.S: Likewise.
787 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
788 * sysdeps/i386/fpu/e_log.S: Likewise.
789 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
790 * sysdeps/i386/fpu/e_logf.S: Likewise.
791 * sysdeps/i386/fpu/e_log10l.S: Likewise.
792 * sysdeps/i386/fpu/e_atanh.S: Likewise.
793 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
794 * sysdeps/i386/fpu/e_log10.S: Likewise.
795 * sysdeps/i386/fpu/s_frexp.S: Likewise.
796 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
797 * sysdeps/i386/fpu/s_asinh.S: Likewise.
798 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
799 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
800 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
801 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
802 * sysdeps/i386/i686/strtok.S: Likewise.
803 * sysdeps/i386/i386-mcount.S: Likewise.
804 * sysdeps/i386/strtok.S: Likewise.
805 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
806 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
807 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
808 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
809 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
810 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
811 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
812 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
813 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
814 * sysdeps/x86_64/_mcount.S: Likewise.
815 * sysdeps/x86_64/strtok.S: Likewise.
816 * sysdeps/sh/_mcount.S: Likewise.
817
2747bf9a
RM
8182012-08-01 Roland McGrath <roland@hack.frob.com>
819
820 * libio/iofopen.c: Include <fcntl.h>.
821 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
822 (_IO_fopen64, fopen64): Define as aliases.
823 * libio/iofopen64.c: Include <fcntl.h>.
824 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
825 Conditionalize body on this.
826 * sysdeps/wordsize-64/iofopen.c: File removed.
827 * sysdeps/wordsize-64/iofopen64.c: File removed.
828
3fb791b8
MP
8292012-08-01 Marek Polacek <polacek@redhat.com>
830
831 * libc/Makeconfig: Use elf in place of binfmt-subdir.
832 Use dlfcn directly instead of a variable.
833 (binfmt-subdir): Do not define.
834 (dlfcn): Likewise.
835
a9f1039f
JM
8362012-08-01 Joseph Myers <joseph@codesourcery.com>
837
23bddc06
JM
838 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
839 Remove all definitions.
840 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
841 <kernel-features.h>.
842 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
843 (miss_F_GETOWN_EX): Remove all definitions.
844 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
845 macro definition.
846 [!__ASSUME_FCNTL64]: Remove conditional code.
847 [__ASSUME_FCNTL64]: Make code unconditional.
848 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
849 <kernel-features.h>.
850 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
851 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
852 (lockf64) [__NR_fcntl64]: Make code unconditional.
853 (lockf64) [__ASSUME_FCNTL64]: Likewise.
854
a9f1039f
JM
855 * sysdeps/unix/sysv/linux/kernel-features.h
856 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
857 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
858 Make code unconditional.
859 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
860 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
861 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
862 [__NR_vfork]: Make code unconditional.
863 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
864 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
866 [__NR_vfork]: Make code unconditional.
867 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
868 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
869
09c0ee5f
RM
8702012-08-01 Roland McGrath <roland@hack.frob.com>
871
48aec5b9
RM
872 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
873 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
874
cd97c966
RM
875 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
876 Define mkstemp64 as an alias.
3f55550c
RM
877 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
878 Define mkstemps64 as an alias.
cd97c966
RM
879 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
880 Define mkostemp64 as an alias.
b8625cfc
RM
881 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
882 Define mkostemps64 as an alias.
cd97c966
RM
883 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
884 Conditionalize body on this.
885 * misc/mkostemp64.c: Likewise.
b8625cfc 886 * misc/mkostemps64.c: Likewise.
3f55550c 887 * misc/mkstemps64.c: Likewise.
cd97c966
RM
888 * sysdeps/wordsize-64/mkstemp64.c: File removed.
889 * sysdeps/wordsize-64/mkostemp64.c: File removed.
890 * sysdeps/wordsize-64/mkostemp.c: File removed.
891 * sysdeps/wordsize-64/mkstemp.c: File removed.
892 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
893 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
894 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
895 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
896
09c0ee5f
RM
897 [BZ #14138]
898 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
899 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
900 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
901 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
902
903 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
904 compat_symbol macros from <shlib-compat.h> rather than the underlying
905 default_symbol_version and symbol_version macros, so that DEFAULT
906 lines in shlib-versions are respected.
907 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
908
7e66ee51
FW
9092012-08-01 Florian Weimer <fweimer@redhat.com>
910
911 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
912 Declare with warn_unused_result.
913 (setgid, setregid, setegid, setresgid): Likewise.
914 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
915 Likewise.
916 * WUR-REPORT: Remove set*id functions.
917
d2a54255
PT
9182012-07-31 Pino Toscano <toscano.pino@tiscali.it>
919
920 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
921
7ecdb005
RM
9222012-07-31 Roland McGrath <roland@hack.frob.com>
923
789bd351
RM
924 * include/sys/socket.h (__libc_accept, __libc_accept4):
925 Add attribute_hidden.
926 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
927
40ce302d
RM
928 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
929 use of PTR_MANGLE.
930 * inet/getnetgrent_r.c (setup): Likewise.
931
7ecdb005
RM
932 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
933
e2eabb2c
DM
9342012-07-31 David S. Miller <davem@davemloft.net>
935
936 * sysdeps/sparc/fpu/libm-test-ulps: Update.
937
d0419dbf
JM
9382012-07-31 Joseph Myers <joseph@codesourcery.com>
939
940 [BZ #13629]
941 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
942 value between 1.0 and 2.0 and smaller part has absolute value less
943 than 1.0.
944 * math/s_clog10.c (__clog10): Likewise.
945 * math/s_clog10f.c (__clog10f): Likewise.
946 * math/s_clog10l.c (__clog10l): Likewise.
947 * math/s_clogf.c (__clogf): Likewise.
948 * math/s_clogl.c (__clogl): Likewise.
949 * math/libm-test.inc (clog_test): Add more tests.
950 (clog10_test): Likewise.
951 * sysdeps/i386/fpu/libm-test-ulps: Update.
952 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
953
2bc13872
FW
9542012-07-31 Florian Weimer <fweimer@redhat.com>
955
956 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
957 Exit with zero in case no suitable GID is found, and write a
958 message to standard error.
959
bea9b193
RM
9602012-07-30 Roland McGrath <roland@hack.frob.com>
961
962 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
963 rather than to 1.
964 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
965 (MAXPATHLEN): Removed.
966 (NOGROUP, NODEV): New macros.
967 (setbit, clrbit, isset, isclr): New macros.
968 (howmany, roundup, powerof2): New macros.
969 (DEV_BSIZE): New macro.
970
971 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
972 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
973
974 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
975 definition on [!__NO_LONG_DOUBLE_MATH].
976
977 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
978 PTR_MANGLE and PTR_DEMANGLE.
979
980 * socket/accept4.c (accept4): Rename to __libc_accept4.
981 Define accept4 as a weak alias.
982
983 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
984 on [_DIRENT_HAVE_D_TYPE].
985 * io/ftw.c (ftw_dir): Likewise.
986
987 * io/xmknod.c (__xmknod): Don't check PATH for being null.
988
989 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
990
991 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
992 Use the BSD numbers rather than the arbitrary ones we had.
993 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
994 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
995 (SIGXCPU, SIGXFSZ): New macros.
996 (_NSIG): Now 32.
997
998 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
999 initializer on [_LIBC_REENTRANT].
1000
1001 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
1002 definitions inside [_POSIX_MAPPED_FILES].
1003
1004 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
1005
1006 * dirent/opendir.c: Include <fcntl.h>.
1007
1008 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
1009 (__libc_getspecific): Likewise.
1010 (__libc_key_create): Likewise.
1011
1012 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
1013 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
1014 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
1015 (tmpfile64): Define as alias.
1016 * sysdeps/wordsize-64/tmpfile.c: File removed.
1017 * sysdeps/wordsize-64/tmpfile64.c: File removed.
1018 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
1019 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
1020
1021 * stdio-common/vfscanf.c: Include <stdbool.h>.
1022 * nss/makedb.c: Likewise.
1023 * stdio-common/_i18n_number.h: Likewise.
1024 * argp/argp-help.c: Likewise.
1025 * posix/wordexp.c: Likewise.
1026 * sysdeps/posix/spawni.c: Likewise.
1027 * nss/nss_files/files-initgroups.c: Likewise.
1028 * stdio-common/reg-modifier.c: Include <stdlib.h>.
1029 * nss/nss_files/files-initgroups.c: Likewise.
1030 * nss/nss_db/db-netgrp.c: Likewise.
1031 * nss/nss_db/db-initgroups.c: Likewise.
1032 * io/fchmodat.c: Include <sys/stat.h>.
1033
1034 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
1035 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
1036
1037 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
1038 [HAVE_MMAP].
1039
1040 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
1041 Add multiple inclusion protection.
1042
e5abc686
DM
10432012-07-27 David S. Miller <davem@davemloft.net>
1044
1045 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1046
815e6fa3
GB
10472012-07-27 Gary Benson <gbenson@redhat.com>
1048
1049 [BZ #14298]
1050 * elf/rtld.c: Include <stap-probe.h>.
1051 (dl_main): Added static probes "init_start" and "init_complete".
1052 * elf/dl-load.c: Include <stap-probe.h>.
1053 (lose): Take new parameter "nsid".
1054 Added static probe "map_failed".
1055 (_dl_map_object_from_fd): Pass namespace id to lose.
1056 Added static probe "map_start".
1057 (open_verify): Pass namespace id to lose.
1058 * elf/dl-open.c: Include <stap-probe.h>.
1059 (dl_open_worker) Added static probes "map_complete", "reloc_start"
1060 and "reloc_complete".
1061 * elf/dl-close.c: Include <stap-probe.h>.
1062 (_dl_close_worker): Added static probes "unmap_start" and
1063 "unmap_complete".
1064 * elf/rtld-debugger-interface.txt: New file documenting the above.
1065
9f98c16c
RM
10662012-07-26 Roland McGrath <roland@hack.frob.com>
1067
1068 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
1069 rather than a string variable.
1070 * sunrpc/rpc_main.c (h_output): Likewise.
1071 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
1072
f3c22df3
PT
10732012-07-26 Pino Toscano <toscano.pino@tiscali.it>
1074
1075 * inet/check_native.c: New file.
1076
3129cfc6
JM
10772012-07-26 Joseph Myers <joseph@codesourcery.com>
1078
da865e95
JM
1079 [BZ #13629]
1080 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
1081 if larger part has absolute value 1.0.
1082 * math/s_clog10.c (__clog10): Likewise.
1083 * math/s_clog10f.c (__clog10f): Likewise.
1084 * math/s_clog10l.c (__clog10l): Likewise.
1085 * math/s_clogf.c (__clogf): Likewise.
1086 * math/s_clogl.c (__clogl): Likewise.
1087 * math/libm-test.inc (clog_test): Add more tests.
1088 (clog10_test): Likewise.
1089 * sysdeps/i386/fpu/libm-test-ulps: Update.
1090 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1091
3129cfc6
JM
1092 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
1093 (pltexit): Likewise.
1094 (La_regs): Likewise.
1095 (La_retval): Likewise.
1096 (int_retval): Likewise.
1097 Update #error for removed macros to refer only to definitions in
1098 tst-audit.h.
1099 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
1100 macro.
1101 (pltexit): Likewise.
1102 (La_regs): Likewise.
1103 (La_retval): Likewise.
1104 (int_retval): Likewise.
1105 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
1106 macro.
1107 (pltexit): Likewise.
1108 (La_regs): Likewise.
1109 (La_retval): Likewise.
1110 (int_retval): Likewise.
1111 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
1112 macro.
1113 (pltexit): Likewise.
1114 (La_regs): Likewise.
1115 (La_retval): Likewise.
1116 (int_retval): Likewise.
1117 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
1118 macro.
1119 (pltexit): Likewise.
1120 (La_regs): Likewise.
1121 (La_retval): Likewise.
1122 (int_retval): Likewise.
1123 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
1124 macro.
1125 (pltexit): Likewise.
1126 (La_regs): Likewise.
1127 (La_retval): Likewise.
1128 (int_retval): Likewise.
1129 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
1130 macro.
1131 (pltexit): Likewise.
1132 (La_regs): Likewise.
1133 (La_retval): Likewise.
1134 (int_retval): Likewise.
1135 * sysdeps/generic/tst-audit.h: Update comment to refer only to
1136 macro definitions in tst-audit.h.
1137 * sysdeps/i386/tst-audit.h: New file.
1138 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
1139 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
1140 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
1141 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
1142 * sysdeps/sh/tst-audit.h: Likewise.
1143 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
1144 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
1145 * sysdeps/x86_64/tst-audit.h: Likewise.
1146
bfc07087
AJ
11472012-07-26 Andreas Jaeger <aj@suse.de>
1148
b1b2aaf8
AJ
1149 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
1150 ptrace.
1151
1152 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
1153 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
1154 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
1155 PTRACE_O_MASK.
1156 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
1157 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
1158 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
1159
bfc07087
AJ
1160 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
1161 value.
1162
1163 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
1164 _sigsys.
1165 (si_call_addr, si_syscall, si_arch): Define new macro.
1166 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
1167 _sigsys.
1168 (si_call_addr, si_syscall, si_arch): Define new marcro.
1169 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
1170 _sigsys.
1171 (si_call_addr, si_syscall, si_arch): Define new macro.
1172 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
1173 _sigsys.
1174 (si_call_addr, si_syscall, si_arch): Define new macro.
1175
89b4b02f
JM
11762012-07-25 Joseph Myers <joseph@codesourcery.com>
1177
1178 [BZ #13717]
1179 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1180 Change to 2.4.21 where previously 2.4.1.
1181 * sysdeps/unix/sysv/linux/configure: Regenerated.
1182 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
1183 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
1184 Linux kernel version.
1185 (__ASSUME_STD_AUXV): Remove.
1186 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
1187 kernel version.
1188 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
1189 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
1190 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
1191 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
1192 (__ASSUME_NETLINK_SUPPORT): Likewise.
1193 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
1194 (__no_netlink_support): Remove conditional definition.
1195 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
1196 Remove.
1197 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
1198 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
1199 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
1200 (if_nameindex_ioctl): Remove.
1201 (if_nameindex_netlink): Do not handle __no_netlink_support.
1202 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
1203 code.
1204 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
1205 Remove conditional code.
1206 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
1207 code.
1208 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
1209 unconditional.
1210 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
1211 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
1212 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
1213 Remove.
1214 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
1215 [!__ASSUME_STD_AUXV]: Remove conditional code.
1216 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
1217 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
1218 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
1219 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
1220 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
1221 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
1222 code.
1223 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
1224 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
1225 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
1226 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
1227 conditional code.
1228 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
1229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
1230 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
1231 code.
1232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
1233 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
1234 conditional code.
1235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
1236 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
1237 code unconditional.
1238 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1239 conditional code.
1240 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
1241 unconditional.
1242 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1243 conditional code.
1244 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
1245 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
1246 unconditional.
1247 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1248 conditional code.
1249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
1250 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
1251 code unconditional.
1252 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1253 conditional code.
1254 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
1255 unconditional.
1256 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1257 conditional code.
1258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
1259 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
1260 code unconditional.
1261 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1262 conditional code.
1263 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
1264 unconditional.
1265 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1266 conditional code.
1267
842a39cd
AS
12682012-07-25 Andreas Schwab <schwab@linux-m68k.org>
1269
1270 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
1271 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
1272 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
1273 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
1274 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
1275 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
1276 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
1277 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
1278 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
1279 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
1280 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
1281 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
1282 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
1283 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
1284 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
1285 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
1286 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
1287 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
1288 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
1289 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
1290 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
1291 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
1292 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
1293
84b3fd84
FW
12942012-07-25 Florian Weimer <fweimer@redhat.com>
1295
1296 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
1297 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
1298 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
1299 Introduce __libc_secure_getenv.
0c7936d5
FW
1300 * stdlib/Versions (2.17): Add secure_getenv
1301 (GLIBC_PRIVATE): Add __libc_secure_getenv.
1302 * stdlib/secure-getenv.c: Rename __secure_getenv to
1303 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
1304 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
1305 * stdlib/tst-secure-getenv.c: New.
1306 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
1307 * manual/startup.texi (Environment Access): Document
1308 secure_getenv.
84b3fd84
FW
1309 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
1310 __libc_secure_getenv.
1311 * inet/ruserpass.c (ruserpass): Likewise.
1312 * malloc/mtrace.c (mtrace): Likewise.
1313 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 1314 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
1315 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
1316 * sysdeps/posix/tempname.c: Likewise. Evaluate
1317 HAVE_SECURE_GETENV.
1318 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 1319 __secure_getenv to __libc_secure_getenv.
84b3fd84 1320 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
1321 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1322 Likewise.
1323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1324 Likewise.
1325 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
1326 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
1327 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
1328 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
1329 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
1330 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
1331 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 1332
56e49b71
JM
13332012-07-25 Joseph Myers <joseph@codesourcery.com>
1334
1335 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
1336 (struct La_i86_retval): Likewise.
1337 (struct La_x86_64_regs): Likewise.
1338 (struct La_x86_64_retval): Likewise.
1339 (struct La_x32_regs): Likewise.
1340 (struct La_x32_retval): Likewise.
1341 (struct La_ppc32_regs): Likewise.
1342 (struct La_ppc32_retval): Likewise.
1343 (struct La_ppc64_regs): Likewise.
1344 (struct La_ppc64_retval): Likewise.
1345 (struct La_sh_regs): Likewise.
1346 (struct La_sh_retval): Likewise.
1347 (struct La_s390_32_regs): Likewise.
1348 (struct La_s390_32_retval): Likewise.
1349 (struct La_s390_64_regs): Likewise.
1350 (struct La_s390_64_retval): Likewise.
1351 (struct La_sparc32_regs): Likewise.
1352 (struct La_sparc32_retval): Likewise.
1353 (struct La_sparc64_regs): Likewise.
1354 (struct La_sparc64_retval): Likewise.
1355 (struct audit_ifaces): Remove architecture-specific pltenter and
1356 pltexit members.
1357 * sysdeps/i386/ldsodefs.h: New file.
1358 * sysdeps/powerpc/ldsodefs.h: Likewise.
1359 * sysdeps/s390/ldsodefs.h: Likewise.
1360 * sysdeps/sh/ldsodefs.h: Likewise.
1361 * sysdeps/sparc/ldsodefs.h: Likewise.
1362 * sysdeps/x86_64/ldsodefs.h: Likewise.
1363
354691b7
MP
13642012-07-25 Marek Polacek <polacek@redhat.com>
1365
1366 [BZ #6808]
1367 * math/libm-test.inc (yn_test): Add another test.
1368 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
1369 to ERANGE when the result is +-Inf.
1370 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
1371 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
1372 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
1373 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
1374
bf9e2071
JM
13752012-07-24 Joseph Myers <joseph@codesourcery.com>
1376
1377 * conform/data/time.h-data (NULL): Use macro-constant. Require
1378 equal to 0.
1379 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
1380 clock_t.
1381 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
1382
57633811
TS
13832012-07-23 Thomas Schwinge <thomas@codesourcery.com>
1384
1385 * configure.in <sysdeps resolving>: Correct printing
1386 Implies_before.
1387 * configure: Regenerate.
1388
c23c33b0
TS
13892012-07-22 Thomas Schwinge <thomas@codesourcery.com>
1390
1391 * math/w_ilogb.c: Include <limits.h>.
1392 * math/w_ilogbl.c: Likewise.
1393
b5982523
JM
13942012-07-20 Joseph Myers <joseph@codesourcery.com>
1395
1396 * manual/lang.texi (__va_copy): Document primarily as ISO C99
1397 va_copy. Document allowing for unavailable va_copy only as
1398 pre-C99 compatibility.
1399 * manual/string.texi (Copying and Concatenation): Use va_copy
1400 instead of __va_copy in concat example.
1401
ac4ea442
PT
14022012-07-20 Pino Toscano <toscano.pino@tiscali.it>
1403
1404 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
1405 (__sendto): Use create_address_port. Initialize APORT and deallocate
1406 it if not null.
1407
f98eafbd
PT
1408 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
1409 with O_NOLINK passed to __file_name_lookup.
1410
898c7aab
PT
1411 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
1412 with O_NOLINK passed to __file_name_lookup.
1413
0ced335a
PT
1414 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
1415 negative N or less than NGIDS.
1416
b3404dbd
PT
1417 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
1418 type to string_t. Set ERANGE as errno and return it if NAME is not big
1419 enough. Use memcpy instead of strncpy.
1420
0f48659e
JM
14212012-07-20 Joseph Myers <joseph@codesourcery.com>
1422
1423 * elf/Makefile (check-data): Remove.
1424 (localplt.data): New vpath directive.
1425 ($(objpfx)check-localplt.out): Use localplt.data from vpath
1426 instead of $(check-data).
1427 * scripts/data/localplt-generic.data: Move to ...
1428 * sysdeps/generic/localplt.data: ... here.
1429 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
1430 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
1431 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
1432 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
1433 ... here.
1434 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
1435 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
1436 ... here.
1437 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
1438 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
1439 ... here.
1440 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
1441 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
1442 ... here.
1443 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
1444 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
1445 ... here.
1446 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
1447 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
1448 ... here.
1449
d37cbdaa
AZ
14502012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1451
1452 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
1453 PPC32 and PPC64 files.
1454 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
1455 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
1456
46f85fc2
AK
14572012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1458
1459 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
1460 __makecontext_ret to ...
1461 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
1462 ... here and call exit if uc_link is NULL. New file.
1463 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
1464 __makecontext_ret.S.
1465 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
1466 __makecontext_ret to ...
1467 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
1468 ... here and call exit if uc_link is NULL. New file.
1469 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
1470 __makecontext_ret.S.
1471
08f43f9b
AK
14722012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1473
1474 * elf/elf.h (R_390_IRELATIVE): New definition.
1475 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
1476 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
1477 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
1478 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
1479 (elf_machine_lazy_rel): Likewise.
1480 * sysdeps/s390/dl-irel.h: New file.
1481 * sysdeps/s390/s390-64/memcpy.S: New asm code.
1482 * sysdeps/s390/s390-64/memset.S: New asm code.
1483 * sysdeps/s390/s390-64/memcmp.S: New asm code.
1484 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
1485 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
1486 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
1487 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
1488 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
1489 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
1490 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
1491 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
1492 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
1493 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
1494 * sysdeps/s390/s390-32/memcpy.S: New asm code.
1495 * sysdeps/s390/s390-32/memset.S: New asm code.
1496 * sysdeps/s390/s390-32/memcmp.S: New asm code.
1497
3b05db33
MP
14982012-07-17 Marek Polacek <polacek@redhat.com>
1499
1500 [BZ #14349]
1501 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
1502 * sysdeps/s390/s390-64/configure.in: Likewise.
1503 * sysdeps/sparc/configure.in: Likewise.
1504 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
1505 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
1506 * sysdeps/i386/configure.in: Likewise.
1507 * sysdeps/x86_64/configure.in: Likewise.
1508 * sysdeps/sh/configure.in: Likewise.
1509 * sysdeps/s390/s390-32/configure: Regenerated.
1510 * sysdeps/s390/s390-64/configure: Likewise.
1511 * sysdeps/x86_64/configure: Likewise.
1512 * sysdeps/sh/configure: Likewise.
1513 * sysdeps/powerpc/powerpc64/configure: Likewise.
1514 * sysdeps/powerpc/powerpc32/configure: Likewise.
1515 * sysdeps/sparc/configure: Likwise.
1516 * sysdeps/i386/configure: Likewise.
1517
a66877c6
MP
1518 * elf/dl-open.c: Comment fixes.
1519
cfc82fd8
JM
15202012-07-17 Joseph Myers <joseph@codesourcery.com>
1521
bd29910a
JM
1522 * Makefile [CXX] (check-data): Remove.
1523 [CXX] (c++-types.data): New vpath directive.
1524 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
1525 vpath. Do not allow for C++ type data being missing.
1526 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
1527 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
1528 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
1529 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
1530 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
1531 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
1532 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
1533 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
1534 ... here.
1535 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
1536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
1537 ... here.
1538 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
1539 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
1540 ... here.
1541 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
1542 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
1543 ... here.
1544 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
1545 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
1546 ... here.
1547 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
1548 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
1549 ... here.
1550 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
1551 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
1552 ... here.
1553 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
1554 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
1555
cfc82fd8
JM
1556 * elf/tls-macros.h (TLS_LE): Move architecture-specific
1557 definitions to architecture-specific files.
1558 (TLS_IE): Likewise.
1559 (TLS_LD): Likewise.
1560 (TLS_GD): Likewise.
1561 * sysdeps/i386/tls-macros.h: New file.
1562 * sysdeps/powerpc/tls-macros.h: Likewise.
1563 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
1564 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
1565 * sysdeps/sh/tls-macros.h: Likewise.
1566 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
1567 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
1568 * sysdeps/x86_64/tls-macros.h: Likewise.
1569
f7db3170
TS
15702012-07-17 Thomas Schwinge <thomas@codesourcery.com>
1571
07cbfc23
TS
1572 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
1573 zero value for regular exit case.
1574
f7db3170
TS
1575 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
1576 (__start_context): Preserve zero value for regular exit case.
1577
dc97c227
TS
15782012-07-17 Thomas Schwinge <thomas@codesourcery.com>
1579 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1580
1581 * manual/setjmp.texi (setcontext): Clarify normal process
1582 termination when uc_link is the null pointer.
1583 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
1584 exit call.
1585
d0cd7d02
AS
15862012-07-16 Andreas Schwab <schwab@linux-m68k.org>
1587
1588 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
1589 preprocessor. Test for each exception mask separately.
1590
dd318934
AJ
15912012-07-16 Andreas Jaeger <aj@suse.de>
1592
1593 * po/ru.po: Update from translation team.
1594
8048311a
JM
15952012-07-15 Joseph Myers <joseph@codesourcery.com>
1596
1597 * conform/data/string.h-data (NULL): Use macro-constant. Require
1598 equal to 0.
1599 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
1600 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
1601 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
1602 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
1603 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1604
b637d46e
AJ
16052012-07-13 Andreas Jaeger <aj@suse.de>
1606
1607 * po/fr.po: Update from translation team.
1608
541428fe
MP
16092012-07-12 Marek Polacek <polacek@redhat.com>
1610
1611 [BZ #14173]
1612 * math/libm-test.inc (yn_test): Add test for BZ #14173.
1613 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
1614 loop condition.
1615
ec332e94
JM
16162012-07-12 Joseph Myers <joseph@codesourcery.com>
1617
1618 [BZ #13717]
1619 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1620 Change to 2.4.1 where previously 2.4.0.
1621 * sysdeps/unix/sysv/linux/configure: Regenerated.
1622 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
1623 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
1624 version.
1625 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
1626 (__ASSUME_AT_CLKTCK): Remove.
1627 (__ASSUME_AT_PAGESIZE): Likewise.
1628 (__ASSUME_AT_XID): Likewise.
1629 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
1630 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
1631 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
1632 unconditionally.
1633 (HAVE_AUX_PAGESIZE): Likewise.
1634 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
1635 [__ASSUME_AT_CLKTCK]: Make code unconditional.
1636 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
1637
7b6e99be
JB
16382012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
1639
1640 [BZ #14307]
1641 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
1642 the temporary buffer used to invoke __gethostbyname2_r,
1643 __gethostbyaddr_r and gethostbyname4_r to make room for struct
1644 host_data / struct gaih_addrtuple.
1645 * resolv/nss_dns/dns-host.c (global scope): Move definition of
1646 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
1647 header file nss/nsswitch.h.
1648 * nss/nsswitch.h (global scope): Add definition of implementation
1649 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
1650 resolv/nss_dns/dns-host.c).
1651
608404eb
AJ
16522012-07-11 Andreas Jaeger <aj@suse.de>
1653
1654 * po/fr.po: Update from translation team.
1655
71220aca
AJ
1656 * po/sv.po: Update from translation team
1657 * po/fr.po: Another update from translation team.
1658
28cfe843
AZ
16592012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1660
1661 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
1662 for subnormals or multiply small sinh result by itself.
1663 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
1664 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1665
6b90f981
DM
16662012-07-11 David S. Miller <davem@davemloft.net>
1667
1668 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1669
c6825772
AS
16702012-07-10 Andreas Schwab <schwab@linux-m68k.org>
1671
1672 [BZ #14347]
1673 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
1674 (INTERNAL_MARK): Shift it here.
1675
7b8e0d49
MP
16762012-07-10 Marek Polacek <polacek@redhat.com>
1677
1678 [BZ #14151]
1679 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
1680 libc_cv_asm_global_directive with .globl.
1681 * configure: Regenerated.
1682 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
1683 with .globl.
1684 * sysdeps/i386/configure: Regenerated.
1685 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
1686 with .globl.
1687 * sysdeps/x86_64/configure: Regenerated.
1688 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
1689 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
1690 * elf/tst-unique2mod2.c: Likewise.
1691 * elf/tst-unique2mod1.c: Likewise.
1692 * elf/tst-unique1mod2.c: Likewise.
1693 * elf/tst-unique1mod1.c: Likewise.
1694 * sysdeps/s390/s390-32/sysdep.h: Likewise.
1695 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
1696 * sysdeps/s390/s390-64/sysdep.h: Likewise.
1697 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
1698 * sysdeps/mach/sysdep.h: Likewise.
1699 * sysdeps/i386/sysdep.h: Likewise.
1700 * sysdeps/i386/i386-mcount.S: Likewise.
1701 * sysdeps/x86_64/_mcount.S: Likewise.
1702 * sysdeps/x86_64/sysdep.h: Likewise.
1703 * sysdeps/sh/_mcount.S: Likewise.
1704 * sysdeps/sh/sysdep.h: Likewise.
1705 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
1706 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
1707 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
1708 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
1709 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
1710 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
1711 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
1712 * locale/localeinfo.h: Likewise.
1713 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
1714 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
1715
6c55cda3
RM
17162012-07-09 Roland McGrath <roland@hack.frob.com>
1717
1718 [BZ #14336]
1719 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
1720 system".
1721 * manual/message.texi (The Uniforum approach): Likewise.
1722 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
1723 (glibc iconv Implementation): Likewise.
1724
638a572e
JM
17252012-07-09 Joseph Myers <joseph@codesourcery.com>
1726
1727 [BZ #14337]
1728 * math/s_clog.c (__clog): Avoid scaling a value down where that
1729 could result in underflow.
1730 * math/s_clog10.c (__clog10): Likewise.
1731 * math/s_clog10f.c (__clog10f): Likewise.
1732 * math/s_clog10l.c (__clog10l): Likewise.
1733 * math/s_clogf.c (__clogf): Likewise.
1734 * math/s_clogl.c (__clogl): Likewise.
1735 * math/libm-test.inc (clog_test): Add more tests.
1736 (clog10_test): Likewise.
1737 * sysdeps/i386/fpu/libm-test-ulps: Update.
1738 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1739
261f4859
AS
17402012-07-06 Andreas Schwab <schwab@linux-m68k.org>
1741
0abaf3e4
AS
1742 [BZ #14283]
1743 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
1744 by 7 not 8 to examine high bit of fractional part.
1745
261f4859
AS
1746 [BZ #14042]
1747 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
1748 for call to __mcount_internal.
1749 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
1750 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
1751 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
1752
f17ac40d
JM
17532012-07-06 Joseph Myers <joseph@codesourcery.com>
1754
9ad63c23
JM
1755 [BZ #14154]
1756 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
1757 approximation for values within 0x1p-13f of an odd multiple of
1758 pi/4.
1759 * math/libm-test.inc (tan_test): Do not allow spurious underflow
1760 exception. Add more tests.
1761 * sysdeps/i386/fpu/libm-test-ulps: Update.
1762
f17ac40d
JM
1763 [BZ #6778]
1764 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
1765 inputs and return -1 for them. Do not check for +Inf in case not
1766 reachable for +Inf.
1767 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
1768 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
1769 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
1770 and return -1 for them. Do not check for +Inf in case not
1771 reachable for +Inf.
1772 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
1773 define.
1774 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
1775 and return -1 for them. Do not check for +Inf in case not
1776 reachable for +Inf.
1777 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
1778 spurious underflow.
1779 * sysdeps/i386/fpu/libm-test-ulps: Update.
1780 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1781
fb21f89b
MF
17822012-07-06 Mike Frysinger <vapier@gentoo.org>
1783
1784 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
1785
cdfe2c5e
JM
17862012-07-05 Joseph Myers <joseph@codesourcery.com>
1787
1788 [BZ #14157]
1789 [BZ #14331]
1790 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
1791 could result in spurious underflow. Scale down values above
1792 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
1793 * math/s_csqrtf.c (__csqrtf): Likewise.
1794 * math/s_csqrtl.c (__csqrtl): Likewise.
1795 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
1796 spurious underflow.
1797 * sysdeps/i386/fpu/libm-test-ulps: Update.
1798 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1799
70d35b67
AS
18002012-07-04 Andreas Schwab <schwab@linux-m68k.org>
1801
704bc459
AS
1802 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
1803 xopen-msg.sed.
1804 * catgets/xopen-msg.awk: New file.
1805 * catgets/xopen-msg.sed: Removed.
1806
70d35b67
AS
1807 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
1808 po2text.sed.
1809 * intl/po2test.awk: New file.
1810 * intl/po2test.sed: Removed.
1811
ca61cf32
JM
18122012-07-04 Joseph Myers <joseph@codesourcery.com>
1813
1814 [BZ #14328]
1815 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
1816 or multiply small sinh result by itself.
1817 * math/s_ctanf.c (__ctanf): Likewise.
1818 * math/s_ctanh.c (__ctanh): Likewise.
1819 * math/s_ctanhf.c (__ctanhf): Likewise.
1820 * math/s_ctanhl.c (__ctanhl): Likewise.
1821 * math/s_ctanl.c (__ctanl): Likewise.
1822 * math/libm-test.inc (ctan_test_tonearest): New function.
1823 (ctan_test_towardzero): Likewise.
1824 (ctan_test_downward): Likewise.
1825 (ctan_test_upward): Likewise.
1826 (ctanh_test_tonearest): Likewise.
1827 (ctanh_test_towardzero): Likewise.
1828 (ctanh_test_downward): Likewise.
1829 (ctanh_test_upward): Likewise.
1830 (main): Call these new functions.
1831 * sysdeps/i386/fpu/libm-test-ulps: Update.
1832 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1833
ca48a46a
MF
18342012-07-03 Mike Frysinger <vapier@gentoo.org>
1835
1836 * .gitignore: Delete /ports entry.
1837
9d63d37d
AJ
18382012-07-03 Andreas Jaeger <aj@suse.de>
1839
1840 * po/bg.po: Update from translation team.
1841 * po/cs.po: Likewise.
1842 * po/de.po: Likewise.
1843 * po/hr.po: Likewise.
1844 * po/nl.pl: Likewise.
1845 * po/pl.po: Likewise.
1846 * po/vi.po: Likewise.
1847
370ca3d2
JM
18482012-07-03 Joseph Myers <joseph@codesourcery.com>
1849
95f5a9a8
JM
1850 * Makeconfig [!+link] (+link-before-libc): New variable.
1851 [!+link] (+link-after-libc): Likewise.
1852 [!+link] (+link-tests): Likewise.
1853 [!+link] (+link): Define in terms of $(+link-before-libc) and
1854 $(+link-after-libc).
1855 [!+link-static] (+link-static-before-libc): New variable.
1856 [!+link-static] (+link-static-after-libc): Likewise.
1857 [!+link-static] (+link-static-tests): Likewise.
1858 [!+link-static] (+link-static): Define in terms of
1859 $(+link-static-before-libc) and $(+link-static-after-libc).
1860 [build-shared] (link-libc-before-gnulib): New variable.
1861 [build-shared] (link-libc-tests): Likewise.
1862 [build-shared] (link-libc): Define in terms of
1863 $(link-libc-before-gnulib).
1864 [!build-shared] (link-libc-tests): New variable.
1865 (link-libc-static-tests): New variable.
1866 [!gnulib] (gnulib-arch): New variable.
1867 [!gnulib] (gnulib-tests): Likewise.
1868 [!gnulib] (static-gnulib-arch): Likewise.
1869 [!gnulib] (static-gnulib-tests): Likewise.
1870 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
1871 Define with "=" instead of ":=".
1872 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
1873 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
1874 * Rules (binaries-all-notests): New variable.
1875 (binaries-all-tests): Likewise.
1876 (binaries-static-notests): Likewise.
1877 (binaries-static-tests): Likewise.
1878 (binaries-all): Define using $(binaries-all-notests) and
1879 $(binaries-all-tests).
1880 (binaries-static): Define using $(binaries-static-notests) and
1881 $(binaries-static-tests).
1882 (binaries-shared-tests): New variable.
1883 (binaries-shared-notests): Likewise.
1884 (binaries-shared): Remove variable.
1885 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
1886 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
1887 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
1888 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
1889 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
1890 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
1891 * elf/Makefile (sln-modules): New variable.
1892 (extra-objs): Add $(sln-modules:=.o).
1893 (ldconfig-modules): Add static-stubs.
1894 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
1895 * elf/static-stubs.c: New file.
1896
7a845b2c
JM
1897 [BZ #14283]
1898 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
1899 by 7 not 8 to examine high bit of fractional part. Use volatile
1900 variables when splitting into final array of floats if
1901 __FLT_EVAL_METHOD__ != 0.
1902 * math/libm-test.inc (cos_test): Add another test.
1903 (sin_test): Likewise.
1904 * sysdeps/i386/fpu/libm-test-ulps: Update.
1905
e2283f38
JM
1906 [BZ #14273]
1907 * math/libm-test.inc (cosh_test): Add more tests.
1908
370ca3d2
JM
1909 * version.h (RELEASE): Set to "development".
1910 (VERSION): Set to "2.16.90".
1911
ee9247c3
CD
19122012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
1913
1914 * NEWS: Update copyright. Remove last-updated date.
1915 Mention math library bug fixes and timezone data changes.
1916 * README: Mention GNU/Hurd, x32, and HPPA support status.
1917
4648c381
TS
19182012-06-28 Thomas Schwinge <thomas@codesourcery.com>
1919
1920 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
1921
aac78a43
AJ
19222012-06-27 Andreas Jaeger <aj@suse.de>
1923
1924 * manual/contrib.texi (Contributors): Add Samuel Thibault.
1925
ed3dbfad
AJ
19262012-06-25 Andreas Jaeger <aj@suse.de>
1927
1928 * sysdeps/s390/fpu/libm-test-ulps: Update.
1929
4d0ee855
AS
19302012-06-23 Andreas Schwab <schwab@linux-m68k.org>
1931 Thomas Schwinge <thomas@codesourcery.com>
1932
1933 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
1934 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
1935 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
1936 fanotify_mark.
1937
af1bce34
TS
19382012-06-23 Thomas Schwinge <thomas@codesourcery.com>
1939
a9fa33ba
TS
1940 * sysdeps/mach/start.c: Remove file.
1941 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
1942 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
1943 * sysdeps/sh/init-first.c: Likewise.
1944
58f902b8
TS
1945 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
1946 registers for frame unwinding purposes, add CFI directives.
1947 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
1948 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
1949 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
1950 Likewise.
1951
1518f58b
TS
1952 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
1953 __fortify_fail returning.
1954 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
1955
db9b5059
TS
1956 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
1957 sysdeps/sh/____longjmp_chk.S.
1958 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
1959 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
1960 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
1961 (gen-as-const-headers): Append sigaltstack-offsets.sym.
1962
967705fe
TS
1963 * sysdeps/sh/abort-instr.h: New file.
1964 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
1965 process in case exit returns.
1966
a9def8c4
TS
1967 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
1968 initialize the GOT register before use.
1969
2a649725
TS
1970 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
1971 calculation of ARGC > 4.
1972
af1bce34
TS
1973 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
1974 meaningful names to some local labels.
1975
d230f50a
KK
19762012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
1977 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1978
1979 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
1980 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
1981 (__arch_compare_and_exchange_val_16_acq): Likewise.
1982 (__arch_compare_and_exchange_val_32_acq): Likewise.
1983 (atomic_exchange_and_add): Fix gUSA sequence.
1984 (atomic_add): Likewise.
1985 (atomic_add_negative): Likewise.
1986 (atomic_add_zero): Likewise.
1987 (atomic_bit_test_set): Likewise.
1988
0479b305
AS
19892012-06-22 Andreas Schwab <schwab@redhat.com>
1990
1991 [BZ #13579]
1992 * include/link.h (struct link_map): Add l_free_initfini.
1993 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
1994 l_initfini.
1995 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
1996 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
1997 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
1998 set.
1999
0e3933b9
CD
20002012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
2001
2002 * configure.in: Use AC_LANG_SOURCE.
2003 * configure: Regenerate.
2004
4248b1b1
RM
20052012-06-22 Roland McGrath <roland@hack.frob.com>
2006
2007 * configure.in (libc_cv_localstatedir): New substituted variable.
2008 * configure: Regenerated.
2009 * config.make.in (localstatedir): New variable, substituted from
2010 libc_cv_localstatedir.
2011 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
2012 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
2013 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
2014 * sysdeps/gnu/configure: Regenerated.
2015
006dd861
JL
20162012-06-21 Jeff Law <law@redhat.com>
2017
2018 [BZ #14277]
2019 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
2020 free. Simplify list management for _LIBC case.
2021
79662d42
JM
20222012-06-21 Joseph Myers <joseph@codesourcery.com>
2023
b7abb4bf
JM
2024 [BZ #14273]
2025 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
2026 Clear sign bit of 64-bit integer value before comparing against
2027 overflow value.
2028
79662d42
JM
2029 * sysdeps/mach/configure: Regenerated.
2030
1f150908
L
20312012-06-21 H.J. Lu <hongjiu.lu@intel.com>
2032
2033 [BZ #14278]
2034 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
2035
28363bbf
JL
20362012-06-21 Jeff Law <law@redhat.com>
2037
2038 [BZ #13882]
2039 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
2040 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 2041 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
2042 * elf/dl-open.c (dl_open_worker): Likewise.
2043
09615db4
CD
20442012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
2045
2046 * scripts/list-sources.sh: Scan PORTS for translations.
2047 * po/libc.pot: Regenerated.
2048
2174c6dd
AJ
20492012-06-21 Andreas Jaeger <aj@suse.de>
2050
2051 [BZ #12194]
2052 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
2053 warning.
2054 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
2055 * bits/byteswap-16.h (__bswap_16): Likewise.
2056 * bits/byteswap.h (__bswap_constant_16): Likewise.
2057
3ee947b1
L
20582012-06-18 H.J. Lu <hongjiu.lu@intel.com>
2059
2060 [BZ #14117]
a2f34833
L
2061 * sysdeps/i386/fpu_control.h: Removed.
2062 * sysdeps/x86_64/fpu_control.h: Moved to ...
2063 * sysdeps/x86/fpu_control.h: Here.
2064
3ee947b1
L
2065 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
2066 (_FPU_SETCW): Likewise.
2067
ed1825f8
L
20682012-06-15 H.J. Lu <hongjiu.lu@intel.com>
2069
25f1282a
L
2070 [BZ #14117]
2071 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
2072 * sysdeps/x86/fpu/bits/mathinline.h: This.
2073 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
2074
ed1825f8
L
2075 [BZ #14050]
2076 [BZ #14117]
2077 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
2078 functions if __x86_64__ is defined.
2079
36d54b74
CLT
20802012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
2081
2082 * string/endian.h: Add !__ASSEMBLER__ condition for including
2083 conversion interfaces.
2084
10285c21
JM
20852012-06-15 Joseph Myers <joseph@codesourcery.com>
2086
2087 [BZ #14241]
2088 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
2089 of ABS(x) in calculating zero to negative powers other than odd
2090 integers.
2091 * math/libm-test.inc (pow_test): Add more tests.
2092
06c5abbd
AJ
20932012-06-15 Andreas Jaeger <aj@suse.de>
2094
2095 * manual/contrib.texi (Contributors): Update entry of Liubov
2096 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
2097 Machado Filho.
2098
a3aeac40
CH
20992012-06-15 Cyril Hrubis <metan@ucw.cz>
2100
2101 * string/string.h: Add __wur to GNU version of strerror_r.
2102
49bdf4c1
L
21032012-06-14 H.J. Lu <hongjiu.lu@intel.com>
2104
2105 [BZ #14229]
2106 * string/Makefile (tests): Add tst-strtok_r.
2107 * string/tst-strtok_r.c: New file.
2108 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
2109 RAX_LP/RDX_LP on SAVE_PTR.
2110
834f9b8d
RM
21112012-06-14 Roland McGrath <roland@hack.frob.com>
2112
2113 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
2114
75fa1921
JM
21152012-06-14 Joseph Myers <joseph@codesourcery.com>
2116
2117 * libm_test.inc (csqrt_test): Allow more spurious underflow
2118 exceptions.
2119 (j0_test): Likewise.
2120 (j1_test): Likewise.
2121 (y0_test): Likewise.
2122 (y1_test): Likewise.
2123
771766df
CD
21242012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
2125
2126 * po/Makefile (libc.pot): Use UTF-8 charset.
2127
ceb9e56b
PP
21282012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
2129
2130 [BZ #14210]
2131 Suppress sign-conversion warning from FD_SET.
2132 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
2133 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
2134 not unsigned long int.
2135 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
2136
ddb28975
L
21372012-06-12 H.J. Lu <hongjiu.lu@intel.com>
2138
2139 [BZ #14050]
2140 [BZ #14117]
2141 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
2142 __extern_always_inline instead of __extern_inline.
2143 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
2144 (__signbit): Likewise.
2145 (__signbitl): Support C++ namespace.
2146 (lrintf): New inline function.
2147 (lrint): Likewise.
2148 (llrintf): Likewise.
2149 (llrint): Likewise.
2150 (fmaxf): Likewise.
2151 (fmax): Likewise.
2152 (fminf): Likewise.
2153 (fmin): Likewise.
2154 (rint): Likewise.
2155 (rintf): Likewise.
2156 (ceil): Likewise.
2157 (ceilf): Likewise.
2158 (floor): Likewise.
2159 (floorf): Likewise.
2160 (nearbyint): Likewise.
2161 (nearbyintf): Likewise.
2162
d7b4fb26
TS
21632012-06-12 Thomas Schwinge <thomas@codesourcery.com>
2164
2165 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
2166 non-default versions.
2167
eb55f5c2
RM
21682012-06-11 Roland McGrath <roland@hack.frob.com>
2169
2170 [BZ #14218]
2171 * manual/argp.texi (Argp): Reword argp_parse description slightly.
2172
366af02c
TS
21732012-06-09 Thomas Schwinge <thomas@codesourcery.com>
2174
99ff6e5c
TS
2175 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
2176 (FE_UPWARD, FE_DOWNWARD): Don't define.
2177 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
2178 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
2179
366af02c
TS
2180 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
2181 reading it.
2182 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
2183 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
2184
793ea851
KK
21852012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2186
2187 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
2188 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
2189 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
2190 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
2191
a728a38f
L
21922012-06-06 H.J. Lu <hongjiu.lu@intel.com>
2193
2194 [BZ #14117]
c08010c7
L
2195 * sysdeps/i386/fpu/bits/fenv.h: Removed.
2196 * sysdeps/i386/fpu/Implies: New file.
2197 * sysdeps/x86_64/fpu/Implies: Likewise.
2198 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
2199 * sysdeps/x86/fpu/bits/fenv.h: This.
2200
a728a38f
L
2201 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
2202 __SSE_MATH__.
2203
6e230d11
SP
22042012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
2205
2206 [BZ #14134]
2207 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
2208 character 0xffff that matches the last element of the
2209 conversion table.
2210
1b671feb
AZ
22112012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2212
2213 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
2214 fmodl commit.
2215
6043738b
AZ
22162012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2217
2218 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
2219 values higher than 25.6283.
2220
34ae0b32
AZ
22212012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2222
2223 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
2224 subnormal exponent extraction and add some __builtin_expect.
2225 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
2226 Fix for subnormal mantissa calculation.
2227
1214ec8f
MF
22282012-06-04 Mike Frysinger <vapier@gentoo.org>
2229
2230 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
2231 cpu2 is -1 and errno is not ENOSYS.
2232
f3d1f93c
L
22332012-06-04 H.J. Lu <hongjiu.lu@intel.com>
2234
2235 [BZ #14117]
0e4a3cd7
L
2236 * sysdeps/i386/i486/bits/string.h: Renamed to ...
2237 * sysdeps/x86/bits/string.h: This.
2238 * sysdeps/x86_64/bits/string.h: Removed.
2239
6704c645
L
2240 * sysdeps/i386/i486/bits/string.h: Define inline functions only
2241 if not compiling for x86-64, but compiling for >= i486.
2242
48495318
L
2243 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
2244 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
2245
14adcbfc
L
2246 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
2247 New macro from Linux kernel 3.4.0.
2248 (FP_XSTATE_MAGIC2): Likewise.
2249 (FP_XSTATE_MAGIC2_SIZE): Likewise.
2250 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
2251 (struct _fpx_sw_bytes): New struct.
2252 (struct _xsave_hdr): Likewise.
2253 (struct _ymmh_state): Likewise.
2254 (struct _xstate): Likewise.
2255
68e408ab
L
2256 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
2257 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
2258 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
2259 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
2260 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
2261 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
2262
f3d1f93c
L
2263 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
2264 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
2265 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
2266 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
2267 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
2268 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
2269
d9dc34cd
TMQMF
22702012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2271
2272 [BZ #13743]
2273 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
2274 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
2275 (sysdep_headers): Include sys/platform/ppc.h.
2276 * sysdeps/powerpc/test-gettimebase.c: Test for
2277 __ppc_get_timebase() to catch future ISA opcode/insn changes.
2278 * manual/Makefile (appendices): Include platform.texi.
2279 * manual/contrib.texi (Contributors): Update @node pointers.
2280 * manual/maint.texi (Maintenance): Likewise.
2281 (Platform): New node.
2282 * manual/platform.texi: New file. Document the new features.
2283
4af3879c
SP
22842012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2285 Jakub Jelinek <jakub@redhat.com>
2286
2287 [BZ #14188]
2288 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
2289 where __builtin_expect is unavailable.
2290
2fd6ff13
DM
22912012-06-03 David S. Miller <davem@davemloft.net>
2292
2293 * stdlib/longlong.h: Updated from GCC.
2294
173f7220
AS
22952012-06-02 Andreas Schwab <schwab@linux-m68k.org>
2296
2297 [BZ #14042]
2298 * sysdeps/powerpc/powerpc32/mcount.c: New file.
2299 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
2300 __mcount_internal.
2301 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
2302 (GLIBC_2.16): Likewise.
2303
f34a1c6f
L
23042012-06-01 H.J. Lu <hongjiu.lu@intel.com>
2305
2306 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
2307
88a4576f
JM
23082012-06-01 Joseph Myers <joseph@codesourcery.com>
2309
ea32bcdd
JM
2310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
2311 (default-abi): New variable.
2312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
2313 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
2314 variable.
2315 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
2316 Likewise.
2317 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
2318 Likewise.
2319 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
2320 Likewise.
2321
88a4576f
JM
2322 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
2323 definition. Document in comment.
2324
402fe938
DM
23252012-06-01 David S. Miller <davem@davemloft.net>
2326
2327 * stdlib/longlong.h: Updated from GCC.
2328
3553723f
L
23292012-06-01 H.J. Lu <hongjiu.lu@intel.com>
2330
2331 [BZ #14117]
3bd872c4
L
2332 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
2333 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
2334 sys/debugreg.h sys/io.h here.
2335 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
2336 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
2337 sys/io.h.
2338 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
2339 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
2340 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
2341 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
2342 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
2343 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
2344
3553723f
L
2345 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
2346 Define only if __x86_64__ is defined.
2347
4842e4fe
JM
23482012-06-01 Joseph Myers <joseph@codesourcery.com>
2349
c5bfe3d5
JM
2350 [BZ #14048]
2351 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
2352 Use int64_t for variable i.
2353 * math/libm-test.inc (fmod_test): Add more tests.
2354
4842e4fe
JM
2355 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
2356 z computation is not scheduled after fetestexcept.
2357 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
2358 Use math_force_eval instead of asm to ensure calculation scheduled
2359 before exception test.
2360 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
2361 Ensure a1 + u.d computation is not scheduled after fetestexcept.
2362
efb73488
AJ
23632012-06-01 Aurelien Jarno <aurelien@aurel32.net>
2364
2365 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
2366 computation is not scheduled after fetestexcept.
2367
29bcce7c
L
23682012-06-01 H.J. Lu <hongjiu.lu@intel.com>
2369
2370 [BZ #14117]
2371 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
2372 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
2373
73a68f94
AZ
23742012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2375
2376 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
2377 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
2378
67b6df78
L
23792012-05-31 H.J. Lu <hongjiu.lu@intel.com>
2380
edf2933a 2381 [BZ #14117]
ebc64a18
L
2382 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
2383 <bits/wordsize.h>.
2384 (__WCHAR_MIN): Support __WORDSIZE == 64.
2385 (__WCHAR_MAX): Likewise.
2386
edf2933a
L
2387 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
2388 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
2389
57c6cf40
L
2390 [BZ #14183]
2391 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
2392 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
2393
67b6df78 2394 [BZ #14117]
8eb6281e
L
2395 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
2396 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
2397
aac639f4
L
2398 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
2399 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
2400
67b6df78
L
2401 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
2402 Defined to 1 if __x86_64__ isn't defined.
2403 (_STAT_VER_LINUX_OLD): New.
2404 (st_atime): Remove duplicate.
2405 (st_mtime): Likewise.
2406 (st_ctime): Likewise.
2407
1c2cfe81
DM
24082012-05-31 David S. Miller <davem@davemloft.net>
2409
2410 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
2411 entries.
2412
5be8418c
AS
24132012-06-01 Andreas Schwab <schwab@linux-m68k.org>
2414
e7725326
AS
2415 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
2416 gen-libm-test.pl.
2417
5be8418c
AS
2418 [BZ #14132]
2419 * elf/dl-reloc.c: Include <_itoa.h>.
2420 (_dl_reloc_bad_type): Remove use of INTUSE.
2421 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
2422 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
2423 * stdio-common/psiginfo.c (psiginfo): Likewise.
2424 * stdio-common/psignal.c (psignal): Likewise.
2425 * string/strsignal.c (strsignal): Likewise.
2426 * include/signal.h (_sys_siglist): Declare hidden proto.
2427 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
2428 INTVARDEF with libc_hidden_data_def.
2429 * stdio-common/itoa-udigits.c: Likewise.
2430 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
2431 (_itoa_lower_digits_internal): Remove declaration.
2432 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
2433 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
2434 (_sys_sigabbrev_internal): Remove aliases.
2435 (_sys_siglist): Define hidden alias.
2436
507352f1
MT
24372012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
2438
2439 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2440 bits/sysctl.h.
2441
42bbb1c3
L
24422012-05-31 H.J. Lu <hongjiu.lu@intel.com>
2443
2444 [BZ #14117]
6bd784b6
L
2445 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
2446 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
2447
8bca20f0
L
2448 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
2449 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
2450 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
2451 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
2452 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
2453 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
2454
f9e890a9
L
2455 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
2456 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
2457 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
2458
471101a1
L
2459 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
2460 with __addr.
2461 (insw): Likewise.
2462 (insl): Likewise.
2463 (outsb): Likewise.
2464 (outsw): Likewise.
2465 (outsl): Likewise.
2466
6451c862
L
2467 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
2468 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
2469 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
2470
a254b8c9
L
2471 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
2472 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
2473 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
2474 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
2475 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
2476 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
2477
b8dfdd92
L
2478 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
2479 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
2480
578cd270
L
2481 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
2482 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
2483
de662f5f
L
2484 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
2485 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
2486 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
2487
25653439
L
2488 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
2489 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
2490 to ...
2491 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
2492
6bad24a0
L
2493 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
2494 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
2495 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
2496
42bbb1c3
L
2497 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
2498 for x86-64.
2499 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
2500
2d10d547
JM
25012012-05-31 Joseph Myers <joseph@codesourcery.com>
2502
2503 * math/math.h (M_El): Use two more decimal places.
2504 (M_LOG2El): Likewise.
2505 (M_LOG10El): Likewise.
2506 (M_LN2l): Likewise.
2507 (M_LN10l): Likewise.
2508 (M_PIl): Likewise.
2509 (M_PI_2l): Likewise.
2510 (M_PI_4l): Likewise.
2511 (M_1_PIl): Likewise.
2512 (M_2_PIl): Likewise.
2513 (M_2_SQRTPIl): Likewise.
2514 (M_SQRT2l): Likewise.
2515 (M_SQRT1_2l): Likewise.
2516
f230c29b
DM
25172012-05-31 David S. Miller <davem@davemloft.net>
2518
2519 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
2520 values between float registers.
2521 * sysdeps/sparc/sparc64/memset.S: Likewise.
2522 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
2523
fed806c3
MF
25242012-05-31 Mike Frysinger <vapier@gentoo.org>
2525
2526 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
2527 -D_FORTIFY_SOURCE=1.
2528 (CPPFLAGS-tst-longjmp_chk.c): Define.
2529 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
2530 (CPPFLAGS-tst-longjmp_chk2.c): Define.
2531 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
2532 CFLAGS-tst-wchar-h.c.
2533
30917259
MP
25342012-05-31 Marek Polacek <polacek@redhat.com>
2535
2536 [BZ #14132]
2537 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
2538 __endmntent_internal): Remove declaration.
2539 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
2540 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
2541 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
2542
1c58d5dc
DM
25432012-05-30 David S. Miller <davem@davemloft.net>
2544
2545 * sysdeps/sparc/sparc32/soft-fp/q_util.c
2546 (___Q_simulate_exceptions): Use real FP ops rather than writing
2547 into the %fsr.
2548 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
2549 Likewise.
2550
7dc00e0d
L
25512012-05-30 H.J. Lu <hongjiu.lu@intel.com>
2552
2553 [BZ #14117]
0bd53985
L
2554 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
2555 * sysdeps/x86/bits/xtitypes.h: This.
2556
3a257e66
L
2557 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
2558 * sysdeps/x86/bits/wordsize.h: This.
2559
62f62904
L
2560 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
2561 * sysdeps/x86/bits/huge_vall.h: This.
2562
404fe9d9
L
2563 * sysdeps/i386/bits/select.h: Removed.
2564 * sysdeps/x86_64/bits/select.h: Renamed to ...
2565 * sysdeps/x86/bits/select.h: This.
2566
d48d0446
L
2567 * sysdeps/i386/bits/setjmp.h: Removed.
2568 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
2569 * sysdeps/x86/bits/setjmp.h: This.
2570
7dc00e0d
L
2571 * sysdeps/i386/bits/mathdef.h: Removed.
2572 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
2573 * sysdeps/x86/bits/mathdef.h: This.
2574
03277f8f
AS
25752012-05-30 Andreas Schwab <schwab@linux-m68k.org>
2576
2577 [BZ #14132]
2578 * include/sys/socket.h (__connect_internal)
2579 (__libc_sa_len_internal): Remove declaration.
2580 (__connect, __libc_sa_len): Declare hidden_proto.
2581 (SA_LEN): Remove use of INTUSE.
2582 * socket/connect.c: Add libc_hidden_def.
2583 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
2584 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
2585 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
2586 alias.
2587 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
2588 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
2589 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
2590 of adding _internal alias.
2591
13764867
L
25922012-05-30 H.J. Lu <hongjiu.lu@intel.com>
2593
2594 [BZ #14117]
6bd97696
L
2595 * sysdeps/i386/bits/link.h: Removed.
2596 * sysdeps/i386/bits/linkmap.h: Likewise.
2597 * sysdeps/x86_64/bits/link.h: Renamed to ...
2598 * sysdeps/x86/bits/link.h: This.
2599 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
2600 * sysdeps/x86/bits/linkmap.h: This.
2601
f726f0bb
L
2602 * sysdeps/i386/bits/endian.h: Removed.
2603 * sysdeps/x86_64/bits/endian.h: Renamed to ...
2604 * sysdeps/x86/bits/endian.h: This.
2605
13764867
L
2606 * sysdeps/i386/bits/byteswap.h: Removed.
2607 * sysdeps/i386/bits/byteswap-16.h: Likewise.
2608 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
2609 * sysdeps/x86/bits/byteswap.h: This.
2610 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
2611 * sysdeps/x86/bits/byteswap-16.h: This.
2612 * sysdeps/i386/Implies: Add x86.
2613 * sysdeps/x86_64/Implies: Likewise.
2614
ae251b0b
DM
26152012-05-30 David S. Miller <davem@davemloft.net>
2616
2617 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
2618 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
2619 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
2620 (FP_TRAPPING_EXCEPTIONS): Define.
2621 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
2622 (FP_TRAPPING_EXCEPTIONS): Define.
2623 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
2624 subnormals only when inexact has been signalled or underflow
2625 exceptions are enabled.
2626 (_FP_PACK_CANONICAL): Likewise.
2627
d5c90867
L
26282012-05-30 H.J. Lu <hongjiu.lu@intel.com>
2629
2630 [BZ #14183]
2631 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
2632 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
2633
63f1549e
RH
26342012-05-30 Richard Henderson <rth@twiddle.net>
2635
8d8f2279
RH
2636 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
2637 with #ifndef NOT_IN_libc.
2638
63f1549e
RH
2639 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
2640 marked to avoid plt entry.
2641
0ab0291b
L
26422012-05-30 H.J. Lu <hongjiu.lu@intel.com>
2643
2644 [BZ #14112]
2645 * Makeconfig (default-abi): New macro.
2646 (abi-includes): Likewise.
2647 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
2648 $(abi-$(default-abi)-lib-soname) for soname if defined.
2649 ($(common-objpfx)gnu/lib-names.stmp): Generate from
2650 abi-variants.
2651 * Makefile (installed-stubs): Likewise.
2652 * include/stubs-biarch.h: Removed.
2653 * scripts/lib-names.awk: Only handle one library at a time.
2654 * scripts/soversions.awk: Remove WORDSIZE support.
2655 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
2656 entries.
2657 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
2658 Removed.
2659 (syscall-list-default-condition): Likewise.
2660 (syscall-list-default-condition): Likewise.
2661 (syscall-list-includes): Likewise.
2662 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
2663 syscall-list-* with abi-*. Handle undefined abi-variants.
2664 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
2665 * sysdeps/unix/sysv/linux/i386/Implies: New file.
2666 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
2667 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
2668 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
2669 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
2670 Removed.
2671 (syscall-list-32-options): Likewise.
2672 (syscall-list-32-condition): Likewise.
2673 (syscall-list-64-options): Likewise.
2674 (syscall-list-64-condition): Likewise.
2675 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
2676 macro.
2677 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
2678 Renamed to ...
2679 (abi-*): This.
2680 (abi-64-ld-soname): New macro.
2681 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
2682 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
2683 Renamed to ...
2684 (abi-*): This.
2685 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
2686 * sysdeps/x86_64/x32/shlib-versions: Likewise.
2687
4da0431d
JM
26882012-05-30 Joseph Myers <joseph@codesourcery.com>
2689
3a85279c
JM
2690 * sysdeps/unix/sysv/linux/kernel-features.h
2691 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
2692 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
2693 include <kernel-features.h>.
2694 [!__NR_ftruncate64]: Remove conditional code.
2695 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2696 [__NR_ftruncate64]: Make code unconditional.
2697 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2698 * sysdeps/unix/sysv/linux/truncate64.c: Do not
2699 include <kernel-features.h>.
2700 [!__NR_ftruncate64]: Remove conditional code.
2701 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2702 [__NR_ftruncate64]: Make code unconditional.
2703 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2704 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
2705 include <kernel-features.h>.
2706 [!__NR_ftruncate64]: Remove conditional code.
2707 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2708 [__NR_ftruncate64]: Make code unconditional.
2709 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2710 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
2711 include <kernel-features.h>.
2712 [!__NR_ftruncate64]: Remove conditional code.
2713 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2714 [__NR_ftruncate64]: Make code unconditional.
2715 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2716
4da0431d
JM
2717 * configure.in (libc_cv_fpie): Weaken to a compile test using
2718 LIBC_TRY_CC_OPTION.
2719 * configure: Regenerated.
2720
11ef492c
AK
27212012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2722
2723 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
2724 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
2725 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
2726 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
2727 Refreshed.
2728 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
2729 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
2730 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
2731 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
2732 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
2733 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2734 Refreshed.
2735
d66ef399
DM
27362012-05-27 David S. Miller <davem@davemloft.net>
2737
2738 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
2739 (___Q_zero): New.
2740 (__Q_simulate_exceptions): Return void. Change to simulate
2741 exceptions by writing into the %fsr.
2742 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
2743 (__Qp_handle_exceptions): Likewise.
2744 (numbers): Delete.
2745 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
2746 __Qp_handle_exceptions.
2747 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
2748 __Qp_handle_exceptions.
2749 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
2750 as unused and give dummy FP_RND_NEAREST initializer.
2751 (FP_INHIBIT_RESULTS): Define.
2752 (___Q_simulate_exceptions): Update declaration.
2753 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
2754 formatting.
2755 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
2756 as unused and give dummy FP_RND_NEAREST initializer.
2757 (__Qp_handle_exceptions): Update declaration.
2758 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
2759 formatting.
2760
04fb54b5
TS
27612012-05-27 Thomas Schwinge <thomas@codesourcery.com>
2762
2763 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
2764 the temporary FPU control word.
2765 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
2766 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
2767 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
2768 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
2769 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
2770 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
2771 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
2772 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
2773 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
2774 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
2775 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
2776
3f99608f
KK
27772012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2778
2779 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
2780 fields.
2781
65a4de4e
CLT
27822012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
2783
2784 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
2785 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
2786 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
2787 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
2788 Likewise.
2789 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
2790 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
2791 Likewise.
2792
15749d40
UD
27932012-05-27 Ulrich Drepper <drepper@gmail.com>
2794
2795 * po/h.po: Update from translation team.
2796
25dbcb27
AS
27972012-05-26 Andreas Schwab <schwab@linux-m68k.org>
2798
3d3f8e55
AS
2799 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
2800
25dbcb27
AS
2801 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
2802 handling of denormals.
2803 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
2804 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
2805 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
2806 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
2807 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
2808 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
2809 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
2810 Likewise.
2811
7ad47a80 28122012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
2813
2814 [BZ #14152]
2815 * math/libm-test.inc (fma_test): Don't always expect underflow
2816 exception.
2817
9c6ea9fa
SP
28182012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2819
2820 [BZ #12416]
2821 * elf/tst-execstack.c: Include stackinfo.h.
2822 (do_test): Adjust test case to ensure that pthread_getattr_np
2823 behaviour remains the same after marking stack executable.
2824
a8239222
JM
28252012-05-25 Joseph Myers <joseph@codesourcery.com>
2826
2827 * sysdeps/unix/sysv/linux/kernel-features.h
2828 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
2829 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
2830 kernel-features.h.
2831 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
2832 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
2833 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
2834 kernel-features.h.
2835 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
2836 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
2837
918b5606
L
28382012-05-25 H.J. Lu <hongjiu.lu@intel.com>
2839
2840 * configure.in: Define the default includes to being none.
2841 * configure: Regenerated.
2842
3a097cc7
RM
28432012-05-25 Roland McGrath <roland@hack.frob.com>
2844
8422c9a5
RM
2845 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
2846 * sysdeps/x86_64/setjmp.S: Likewise.
2847 * sysdeps/i386/bsd-setjmp.S: Likewise.
2848 * sysdeps/i386/bsd-_setjmp.S: Likewise.
2849 * sysdeps/i386/setjmp.S: Likewise.
2850 * sysdeps/i386/__longjmp.S: Likewise.
2851 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
2852 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
2853
3a097cc7
RM
2854 * include/stap-probe.h: New file.
2855 * configure.in: Handle --enable-systemtap.
2856 * configure: Regenerated.
2857 * config.h.in (USE_STAP_PROBE): New #undef.
2858 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
2859 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
2860 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
2861
21708942
JM
28622012-05-25 Joseph Myers <joseph@codesourcery.com>
2863
2864 [BZ #13717]
2865 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
2866 to 2.4.0 where earlier.
2867 * sysdeps/unix/sysv/linux/configure: Regenerated.
2868 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
2869 <kernel-features.h>.
2870 [__ASSUME_32BITUIDS]: Make code unconditional.
2871 [!__ASSUME_32BITUIDS]: Remove conditional code.
2872 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
2873 <kernel-features.h>.
2874 [__ASSUME_32BITUIDS]: Make code unconditional.
2875 [!__ASSUME_32BITUIDS]: Remove conditional code.
2876 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
2877 [__ASSUME_32BITUIDS]: Make code unconditional.
2878 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
2879 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
2880 <kernel-features.h>.
2881 [__ASSUME_32BITUIDS]: Make code unconditional.
2882 [!__ASSUME_32BITUIDS]: Remove conditional code.
2883 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
2884 <kernel-features.h>.
2885 [__ASSUME_32BITUIDS]: Make code unconditional.
2886 [!__ASSUME_32BITUIDS]: Remove conditional code.
2887 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
2888 <kernel-features.h>.
2889 [__ASSUME_32BITUIDS]: Make code unconditional.
2890 [!__ASSUME_32BITUIDS]: Remove conditional code.
2891 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
2892 <kernel-features.h>.
2893 [__ASSUME_32BITUIDS]: Make code unconditional.
2894 [!__ASSUME_32BITUIDS]: Remove conditional code.
2895 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
2896 <kernel-features.h>.
2897 [__ASSUME_32BITUIDS]: Make code unconditional.
2898 [!__ASSUME_32BITUIDS]: Remove conditional code.
2899 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
2900 <kernel-features.h>.
2901 [__ASSUME_32BITUIDS]: Make code unconditional.
2902 [!__ASSUME_32BITUIDS]: Remove conditional code.
2903 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
2904 <kernel-features.h>.
2905 [__ASSUME_32BITUIDS]: Make code unconditional.
2906 [!__ASSUME_32BITUIDS]: Remove conditional code.
2907 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
2908 <kernel-features.h>.
2909 [__ASSUME_32BITUIDS]: Make code unconditional.
2910 [!__ASSUME_32BITUIDS]: Remove conditional code.
2911 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
2912 <kernel-features.h>.
2913 [__ASSUME_32BITUIDS]: Make code unconditional.
2914 [!__ASSUME_32BITUIDS]: Remove conditional code.
2915 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
2916 <kernel-features.h>.
2917 [__ASSUME_32BITUIDS]: Make code unconditional.
2918 [!__ASSUME_32BITUIDS]: Remove conditional code.
2919 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
2920 <kernel-features.h>.
2921 [__NR_setresgid] (__setresgid): Do not declare.
2922 [__ASSUME_32BITUIDS]: Make code unconditional.
2923 [!__ASSUME_32BITUIDS]: Remove conditional code.
2924 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
2925 <kernel-features.h>.
2926 [__NR_setresuid] (__setresuid): Do not declare.
2927 [__ASSUME_32BITUIDS]: Make code unconditional.
2928 [!__ASSUME_32BITUIDS]: Remove conditional code.
2929 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
2930 <kernel-features.h>.
2931 [__ASSUME_32BITUIDS]: Make code unconditional.
2932 [!__ASSUME_32BITUIDS]: Remove conditional code.
2933 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
2934 <kernel-features.h>.
2935 [__ASSUME_32BITUIDS]: Make code unconditional.
2936 [!__ASSUME_32BITUIDS]: Remove conditional code.
2937 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
2938 <kernel-features.h>.
2939 [__ASSUME_32BITUIDS]: Make code unconditional.
2940 [!__ASSUME_32BITUIDS]: Remove conditional code.
2941 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
2942 <kernel-features.h>.
2943 [__ASSUME_32BITUIDS]: Make code unconditional.
2944 [!__ASSUME_32BITUIDS]: Remove conditional code.
2945 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
2946 <kernel-features.h>.
2947 [__ASSUME_32BITUIDS]: Make code unconditional.
2948 [!__ASSUME_32BITUIDS]: Remove conditional code.
2949 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
2950 <kernel-features.h>.
2951 [__ASSUME_32BITUIDS]: Make code unconditional.
2952 [!__ASSUME_32BITUIDS]: Remove conditional code.
2953 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
2954 <kernel-features.h>.
2955 [__ASSUME_32BITUIDS]: Make code unconditional.
2956 [!__ASSUME_32BITUIDS]: Remove conditional code.
2957 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
2958 <kernel-features.h>.
2959 [__ASSUME_32BITUIDS]: Make code unconditional.
2960 [!__ASSUME_32BITUIDS]: Remove conditional code.
2961 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
2962 <kernel-features.h>.
2963 [__ASSUME_32BITUIDS]: Make code unconditional.
2964 [!__ASSUME_32BITUIDS]: Remove conditional code.
2965 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
2966 <kernel-features.h>.
2967 [__ASSUME_32BITUIDS]: Make code unconditional.
2968 [!__ASSUME_32BITUIDS]: Remove conditional code.
2969 * sysdeps/unix/sysv/linux/kernel-features.h
2970 (__ASSUME_SETRESUID_SYSCALL): Remove.
2971 (__ASSUME_SETRESGID_SYSCALL): Likewise.
2972 (__ASSUME_32BITUIDS): Likewise.
2973 (__ASSUME_LDT_WORKS): Likewise.
2974 (__ASSUME_O_DIRECTORY): Likewise.
2975 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
2976 architecture but not kernel version.
2977 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
2978 (__ASSUME_MMAP2_SYSCALL): Likewise.
2979 (__ASSUME_STAT64_SYSCALL): Likewise.
2980 (__ASSUME_IPC64): Likewise.
2981 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
2982 <kernel-features.h>.
2983 [__ASSUME_32BITUIDS]: Make code unconditional.
2984 [!__ASSUME_32BITUIDS]: Remove conditional code.
2985 * sysdeps/unix/sysv/linux/opendir.c: Do not include
2986 <kernel-features.h>.
2987 [__ASSUME_O_DIRECTORY]: Make code unconditional.
2988 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
2989 132096]: Remove conditional code.
2990 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
2991 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
2992 <kernel-features.h>.
2993 [__ASSUME_32BITUIDS]: Make code unconditional.
2994 [!__ASSUME_32BITUIDS]: Remove conditional code.
2995 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
2996 <kernel-features.h>.
2997 [__ASSUME_32BITUIDS]: Make code unconditional.
2998 [!__ASSUME_32BITUIDS]: Remove conditional code.
2999 * sysdeps/unix/sysv/linux/setegid.c: Do not include
3000 <kernel-features.h>.
3001 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
3002 unconditional.
3003 (__setresgid): Do not declare.
3004 [__ASSUME_32BITUIDS]: Make code unconditional.
3005 [!__ASSUME_32BITUIDS]: Remove conditional code.
3006 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
3007 <kernel-features.h>.
3008 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
3009 unconditional.
3010 (__setresuid): Do not declare.
3011 [__ASSUME_32BITUIDS]: Make code unconditional.
3012 [!__ASSUME_32BITUIDS]: Remove conditional code.
3013 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
3014 <kernel-features.h>.
3015 [__ASSUME_32BITUIDS]: Make code unconditional.
3016 [!__ASSUME_32BITUIDS]: Remove conditional code.
3017 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
3018 <kernel-features.h>.
3019 [__ASSUME_32BITUIDS]: Make code unconditional.
3020 [!__ASSUME_32BITUIDS]: Remove conditional code.
3021
a386f1cc
RH
30222012-05-25 Richard Henderson <rth@twiddle.net>
3023
3024 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
3025 dl_hwcap to ifunc resolver.
3026 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
3027 elf_ifunc_invoke.
3028 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
3029 dl_hwcap to ifunc resolver.
3030 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
3031
b6550497
JM
30322012-05-24 Joseph Myers <joseph@codesourcery.com>
3033
3034 [BZ #14153]
3035 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
3036 for |x| <= 2**-26, not 2**-57.
3037 * math/libm-test.inc (acos_test): Do not allow spurious underflow
3038 exception.
3039
b0bc23a1
JL
30402012-05-24 Jeff Law <law@redhat.com>
3041
3042 * stdio-common/Makefile (tests): Add bug25.
3043 * stdio-common/bug25.c: New test.
3044
347c92e9
L
30452012-05-24 H.J. Lu <hongjiu.lu@intel.com>
3046
3047 [BZ #13576]
3048 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
3049 multiple of MALLOC_ALIGNMENT in size.
3050 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
3051
6bcc8b3f
JM
30522012-05-24 Joseph Myers <joseph@codesourcery.com>
3053
3054 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
3055 Require >= 256.
3056 (FILENAME_MAX): Use macro-int-constant.
3057 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
3058 (_IOFBF): Use macro-int-constant.
3059 (_IOLBF): Likewise.
3060 (_IONBF): Likewise.
3061 (SEEK_CUR): Likewise.
3062 (SEEK_END): Likewise.
3063 (SEEK_SET): Likewise.
3064 (TMP_MAX): Likewise.
3065 (EOF): Use macro-int-constant. Require < 0.
3066 (NULL): Use macro-constant. Require == 0.
3067 (stdin): Require type to be FILE *.
3068 (stdout): Likewise.
3069 (stderr): Likewise.
3070 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
3071 macro-int-constant.
3072 (EXIT_SUCCESS): Likewise.
3073 (NULL): Use macro-constant. Require == 0.
3074 (RAND_MAX): Use macro-int-constant.
3075 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
3076 [C99-based standards] (strtof): Require function.
3077 [C99-based standards] (strtold): Likewise.
3078 [C99-based standards] (strtoll): Likewise.
3079 [C99-based standards] (strtoull): Likewise.
3080 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
3081 [ISO || ISO99 || ISO11] (limits.h): Likewise.
3082 [ISO || ISO99 || ISO11] (math.h): Likewise.
3083 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
3084 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
3085 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3086
d18ea0c5
AS
30872012-05-24 Andreas Schwab <schwab@linux-m68k.org>
3088
3089 [BZ #14132]
56d25bb8
AS
3090 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
3091 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
3092 * intl/dgettext.c (DCGETTEXT): Likewise.
3093 * intl/gettext.c (DCGETTEXT): Likewise.
3094 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
3095 * posix/regex_internal.h (gettext): Likewise.
3096 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
3097 Remove declaration.
3098 * include/argz.h (__argz_count_internal)
3099 (__argz_stringify_internal): Remove declaration.
3100 (__argz_count, __argz_stringify): Declare hidden proto.
3101 * intl/dcgettext.c: Remove use of INTDEF.
3102 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
3103 * string/argz-stringify.c: Likewise.
3104 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
3105 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
3106 Declare hidden proto.
d18ea0c5
AS
3107 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
3108 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
3109 Declare hidden proto.
3110 * include/stdio.h (__asprintf_internal): Don't declare.
3111 (__asprintf): Don't define as macro. Declare hidden proto.
3112 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
3113 (__fsetlocking): Declare hidden proto.
3114 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
3115 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
3116 hidden proto.
3117 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
3118 (_IO_setlinebuf): Remove use of INTUSE.
3119 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
3120 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
3121 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
3122 Remove declaration.
3123 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
3124 (_IO_do_flush): Remove use of INTUSE.
3125 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
3126 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
3127 (_IO_adjust_column, _IO_least_wmarker)
3128 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
3129 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
3130 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
3131 (_IO_default_doallocate, _IO_wdefault_doallocate)
3132 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
3133 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
3134 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
3135 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
3136 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
3137 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
3138 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
3139 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
3140 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
3141 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
3142 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
3143 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
3144 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
3145 proto.
3146 (_IO_flush_all_internal, _IO_adjust_column_internal)
3147 (_IO_default_uflow_internal, _IO_default_finish_internal)
3148 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
3149 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
3150 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
3151 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
3152 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
3153 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
3154 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
3155 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
3156 (_IO_file_close_internal, _IO_file_close_it_internal)
3157 (_IO_file_underflow_internal, _IO_file_overflow_internal)
3158 (_IO_file_init_internal, _IO_file_attach_internal)
3159 (_IO_file_fopen_internal, _IO_file_read_internal)
3160 (_IO_file_sync_internal, _IO_file_seek_internal)
3161 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
3162 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
3163 (_IO_str_underflow_internal, _IO_str_overflow_internal)
3164 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
3165 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
3166 (_IO_list_all_internal, _IO_link_in_internal)
3167 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
3168 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
3169 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
3170 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
3171 (_IO_do_write_internal, _IO_padn_internal)
3172 (_IO_getline_info_internal, _IO_getline_internal)
3173 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
3174 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
3175 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
3176 (_IO_vfscanf_internal, _IO_vfprintf_internal)
3177 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
3178 (_IO_init_internal, _IO_un_link_internal): Don't declare.
3179 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
3180 with libc_hidden_ver, remove use of INTUSE.
3181 * libio/genops.c: Likewise.
3182 * libio/freopen.c: Likewise.
3183 * libio/freopen64.c: Likewise.
3184 * libio/iofclose.c: Likewise.
3185 * libio/iofdopen.c: Likewise.
3186 * libio/iofflush.c: Likewise.
3187 * libio/iofflush_u.c: Likewise.
3188 * libio/iofgets.c: Likewise.
3189 * libio/iofgets_u.c: Likewise.
3190 * libio/iofopen.c: Likewise.
3191 * libio/iofopncook.c: Likewise.
3192 * libio/iofread.c: Likewise.
3193 * libio/iofread_u.c: Likewise.
3194 * libio/ioftell.c: Likewise.
3195 * libio/iofwrite.c: Likewise.
3196 * libio/iogetline.c: Likewise.
3197 * libio/iogets.c: Likewise.
3198 * libio/iogetwline.c: Likewise.
3199 * libio/iopadn.c: Likewise.
3200 * libio/iopopen.c: Likewise.
3201 * libio/ioseekoff.c: Likewise.
3202 * libio/ioseekpos.c: Likewise.
3203 * libio/iosetbuffer.c: Likewise.
3204 * libio/iosetvbuf.c: Likewise.
3205 * libio/ioungetc.c: Likewise.
3206 * libio/ioungetwc.c: Likewise.
3207 * libio/iovdprintf.c: Likewise.
3208 * libio/iovsprintf.c: Likewise.
3209 * libio/iovsscanf.c: Likewise.
3210 * libio/memstream.c: Likewise.
3211 * libio/obprintf.c: Likewise.
3212 * libio/oldfileops.c: Likewise.
3213 * libio/oldiofclose.c: Likewise.
3214 * libio/oldiofdopen.c: Likewise.
3215 * libio/oldiofopen.c: Likewise.
3216 * libio/oldiopopen.c: Likewise.
3217 * libio/oldstdfiles.c: Likewise.
3218 * libio/putc.c: Likewise.
3219 * libio/setbuf.c: Likewise.
3220 * libio/setlinebuf.c: Likewise.
3221 * libio/stdfiles.c: Likewise.
3222 * libio/strops.c: Likewise.
3223 * libio/vasprintf.c: Likewise.
3224 * libio/vscanf.c: Likewise.
3225 * libio/vsnprintf.c: Likewise.
3226 * libio/vswprintf.c: Likewise.
3227 * libio/wfiledoalloc.c: Likewise.
3228 * libio/wfileops.c: Likewise.
3229 * libio/wgenops.c: Likewise.
3230 * libio/wmemstream.c: Likewise.
3231 * libio/wstrops.c: Likewise.
3232 * libio/__fpurge.c: Likewise.
3233 * libio/__fsetlocking.c: Likewise.
3234 * assert/assert.c: Likewise.
3235 * debug/fgets_chk.c: Likewise.
3236 * debug/fgets_u_chk.c: Likewise.
3237 * debug/fread_chk.c: Likewise.
3238 * debug/fread_u_chk.c: Likewise.
3239 * debug/gets_chk.c: Likewise.
3240 * debug/obprintf_chk.c: Likewise.
3241 * debug/vasprintf_chk.c: Likewise.
3242 * debug/vdprintf_chk.c: Likewise.
3243 * debug/vsnprintf_chk.c: Likewise.
3244 * debug/vsprintf_chk.c: Likewise.
3245 * malloc/mtrace.c: Likewise.
3246 * misc/error.c: Likewise.
3247 * misc/syslog.c: Likewise.
3248 * stdio-common/asprintf.c: Likewise.
3249 * stdio-common/fxprintf.c: Likewise.
3250 * stdio-common/getw.c: Likewise.
3251 * stdio-common/isoc99_fscanf.c: Likewise.
3252 * stdio-common/isoc99_scanf.c: Likewise.
3253 * stdio-common/isoc99_vfscanf.c: Likewise.
3254 * stdio-common/isoc99_vscanf.c: Likewise.
3255 * stdio-common/isoc99_vsscanf.c: Likewise.
3256 * stdio-common/printf-prs.c: Likewise.
3257 * stdio-common/printf_fp.c: Likewise.
3258 * stdio-common/printf_fphex.c: Likewise.
3259 * stdio-common/printf_size.c: Likewise.
3260 * stdio-common/putw.c: Likewise.
3261 * stdio-common/scanf.c: Likewise.
3262 * stdio-common/sprintf.c: Likewise.
3263 * stdio-common/tmpfile.c: Likewise.
3264 * stdio-common/vfprintf.c: Likewise.
3265 * stdio-common/vfscanf.c: Likewise.
3266 * stdlib/strfmon_l.c: Likewise.
3267 * sunrpc/openchild.c: Likewise.
3268 * sunrpc/xdr_stdio.c: Likewise.
3269 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
3270 * sysdeps/mach/hurd/tmpfile.c: Likewise.
3271
d6c33fda
RM
32722012-05-24 Roland McGrath <roland@hack.frob.com>
3273
c1487492
RM
3274 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
3275
3276 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
3277 in the third column, to generate for the shared library an IFUNC
3278 that uses _dl_vdso_vsym.
3279 * Makerules (COMPILE.c, compile-stdin.c): New variables.
3280 * Makeconfig (object-suffixes-noshared): New variable.
3281
3282 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
3283 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
3284 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
3285 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
3286
d6c33fda
RM
3287 [BZ #14132]
3288 * include/sys/time.h (__gettimeofday): Remove macro.
3289 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
3290 * time/gettimeofday.c (__gettimeofday): Remove #undef.
3291 Remove INTDEF.
3292 (__gettimeofday): Add libc_hidden_def.
3293 (gettimeofday): Add libc_hidden_weak.
3294 * sysdeps/mach/gettimeofday.c: Likewise.
3295 * sysdeps/posix/gettimeofday.c: Likewise.
3296 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
3297 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
3298 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
3299 (__gettimeofday_internal): Remove strong_alias.
3300 (__gettimeofday): Add libc_hidden_def.
3301 (gettimeofday): Add libc_hidden_weak.
3302 * sysdeps/unix/syscalls.list (gettimeofday):
3303 Remove __gettimeofday_internal alias.
3304
b5a2bbe6
L
33052012-05-24 Daniel Jacobowitz <drow@false.org>
3306 H.J. Lu <hongjiu.lu@intel.com>
3307
3308 [BZ #12495]
3309 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
3310 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
3311 (largebin_index_32_big): New.
3312 (largebin_index): Use it for 16-byte alignment.
3313 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
3314 correction with front_misalign.
3315
cfba4fda
L
33162012-05-24 H.J. Lu <hongjiu.lu@intel.com>
3317
7f907421
L
3318 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
3319 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
3320 Likewise.
3321 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
3322 Likewise.
3323 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
3324 Likewise.
3325 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
3326 Likewise.
3327 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
3328 Likewise.
3329 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
3330 Likewise.
3331 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
3332 Likewise.
3333 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
3334 Likewise.
3335 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
3336 Likewise.
3337 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
3338 Likewise.
3339 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
3340 Likewise.
3341 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
3342 Likewise.
3343
cfba4fda
L
3344 * scripts/data/c++-types-x32-linux-gnu.data: New file.
3345 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
3346
80bad0cc
JM
33472012-05-24 Joseph Myers <joseph@codesourcery.com>
3348
7a25eb06
JM
3349 [BZ #10846]
3350 [BZ #14036]
3351 * math/libm-test.inc (exp_test): Add test from bug 14036.
3352 (pow_test): Add test from bug 10846.
3353
795405f9
JM
3354 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
3355 and other flags.
3356 (special_function): Do not include flags in test name.
3357 (parse_args): Likewise.
3358 * sysdeps/i386/fpu/libm-test-ulps: Update.
3359 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3360 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3361 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
3362 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3363
80bad0cc
JM
3364 * math/gen-libm-test.pl (%beautify): Add entries for underflow
3365 exceptions.
3366 * math/libm-test.inc ("Philosophy"): Update comment about
3367 exception testing.
3368 (UNDERFLOW_EXCEPTION): New macro.
3369 (UNDERFLOW_EXCEPTION_OK): Likewise.
3370 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
3371 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
3372 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
3373 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
3374 (INVALID_EXCEPTION_OK): Update value.
3375 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
3376 (OVERFLOW_EXCEPTION_OK): Likewise.
3377 (IGNORE_ZERO_INF_SIGN): Likewise.
3378 (test_exceptions): Handle underflow exceptions.
3379 (acos_test): Update for underflow exception expectations.
3380 (cexp_test): Likewise.
3381 (clog_test): Likewise.
3382 (clog10_test): Likewise.
3383 (csqrt_test): Likewise.
3384 (ctan_test): Likewise.
3385 (ctanh_test): Likewise.
3386 (exp_test): Likewise.
3387 (exp10_test): Likewise.
3388 (exp2_test): Likewise.
3389 (expm1_test): Likewise.
3390 (fma_test): Likewise.
3391 (j0_test): Likewise.
3392 (jn_test): Likewise.
3393 (nexttoward_test): Likewise.
3394 (pow_test): Likewise.
3395 (scalbn_test): Likewise.
3396 (scalbln_test): Likewise.
3397 (tan_test): Likewise.
3398 (y1_test): Likewise.
3399 * sysdeps/i386/fpu/libm-test-ulps: Update.
3400 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3401
9e0e3d0b
DM
34022012-05-23 David S. Miller <davem@davemloft.net>
3403
3404 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
3405 (__libc_sigaction): Remove unused local variables.
3406
ccd0a08f
L
34072012-05-23 H.J. Lu <hongjiu.lu@intel.com>
3408
3409 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
3410
62bdf9a6
PE
34112012-05-23 Paul Eggert <eggert@cs.ucla.edu>
3412
f8591f80
PE
3413 mktime: avoid signed integer overflow
3414 * time/mktime.c (__mktime_internal): Do not mishandle the case
3415 where diff == INT_MIN.
3416
94c7d826
PE
3417 mktime: simplify computation of average
3418 * time/mktime.c (ranged_convert): Use new time_t_avg function
3419 instead of rolling our own (probably-slower) code.
3420
ce73d683
PE
3421 mktime: do not assume signed right shift propagates sign bit
3422 * time/mktime.c (isdst_differ): New static function.
3423 (__mktime_internal): No need to normalize tm_isdst now.
3424 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
3425 tm_isdst values.
3426
72a22e59
PE
3427 mktime: merge another wrapv change from gnulib
3428 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
3429 from some compilers.
3430
68605433
PE
3431 mktime: remove incorrect attempt at unusual arithmetics
3432 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
3433 The code didn't really work on such machines anyway.
3434 (TYPE_MINIMUM): Assume two's complement.
3435 (twos_complement_arithmetic): Verify that long_int and time_t
3436 are two's complement (or unsigned, in the latter case).
3437
03cf7fe3
PE
3438 mktime: check signed shifts on long_int and time_t, too
3439 * time/mktime.c (SHR): Check that shifts work as desired
3440 on the types long_int and time_t too, as SHR is used on
3441 such types.
3442
f04dfbc2
PE
3443 mktime: do not assume 'long' is wide enough
3444 * time/mktime.c (verify): Move decl up.
3445 (long_int): New type.
3446 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
3447 to remove assumption in the code that 'long' is wide enough to
3448 store year values. This assumption is not true on x32 and on
3449 some non-glibc platforms.
3450
62bdf9a6
PE
3451 mktime: merge wrapv change from gnulib
3452 * time/mktime.c (WRAPV): New macro.
3453 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
3454 (guess_time_tm, __mktime_internal): Do not assume that signed
3455 integer overflow wraps around; modern compilers generate code
3456 where this assumption is no longer valid.
3457
5e292e4f
L
34582012-05-23 H.J. Lu <hongjiu.lu@intel.com>
3459
3460 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
3461 Replace "jmp L(pseudo_end)" with "ret".
3462 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
3463 Likewise.
3464
8caf8c87
AJ
34652012-05-23 Andreas Jaeger <aj@suse.de>
3466
3467 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
3468 * sysdeps/unix/sysv/linux/poll.c: Remove file.
3469
1a09dc56
AJ
34702012-05-23 Andreas Jaeger <aj@suse.de>
3471 Maximilian Attems <max@stro.at>
3472
3473 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
3474 New macros.
3475
1c87aba0
L
34762012-05-23 H.J. Lu <hongjiu.lu@intel.com>
3477
3478 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
3479 code so that pseudo_end is just ret and the stack pointer is
3480 correct also for static library in error case.
3481
40e45bd5
JM
34822012-05-23 Joseph Myers <joseph@codesourcery.com>
3483
c2670533
JM
3484 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
3485 move to syscalls.list.
3486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
3487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
3488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
3489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
3490
40e45bd5
JM
3491 * manual/install.texi (Running make install): Do not mention Linux
3492 kernel version for which pt_chown is not needed.
3493 (Linux): Do not mention problems with nscd with 2.0 kernels.
3494 * INSTALL: Regenerated.
3495
be08eda5
AJ
34962012-05-23 Andreas Jaeger <aj@suse.de>
3497
3498 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
3499 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
3500 macro.
3501 * sysdeps/unix/sysv/linux/s390/bits/mman.h
3502 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3503 * sysdeps/unix/sysv/linux/sh/bits/mman.h
3504 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3505 * sysdeps/unix/sysv/linux/i386/bits/mman.h
3506 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3507 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
3508 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3509 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
3510 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3511 * sysdeps/unix/sysv/linux/bits/in.h
3512 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
3513
a6a056bb
RM
35142012-05-22 Roland McGrath <roland@hack.frob.com>
3515
3516 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
3517 (PREPARE_VERSION): Just use assert instead, it will be elided
3518 under [NDEBUG] anyway.
3519
c9009328
L
35202012-05-22 H.J. Lu <hongjiu.lu@intel.com>
3521
3522 * sysdeps/unix/sysv/linux/Makefile: Include
3523 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 3524 (sysdep_routines): Remove sysctl.
c9009328
L
3525 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
3526 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
3527 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
3528 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
3529 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
3530
73338355
AJ
35312012-05-22 Andreas Jaeger <aj@suse.de>
3532
3533 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
3534 that pseudo_end is just ret and the stack pointer is correct also
3535 for static library in error case.
3536
d44638b0
PP
35372012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
3538
3539 [BZ #14122]
3540 * nss/nsswitch.c (defconfig_entries): New variable.
3541 (__nss_database_lookup): Don't leak defconfig entries.
3542 (nss_parse_service_list): Don't leak on error paths.
3543 (free_database_entries): New function.
3544 (free_defconfig): New function.
3545 (free_mem): Move common code to free_database_entries.
3546
31a39bd8
L
35472012-05-22 H.J. Lu <hongjiu.lu@intel.com>
3548
da0331a8
L
3549 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
3550 Add arch_prctl.
3551 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
3552
31a39bd8
L
3553 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
3554 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
3555 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
3556 New macro.
3557 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
3558 (INTERNAL_SYSCALL_TYPES): Likewise.
3559 (LOAD_ARGS_TYPES_[1-6]): Likewise.
3560 (LOAD_REGS_TYPES_[1-6]): Likewise.
3561 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
3562 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
3563
45470df3
AZ
35642012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3565
3566 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
3567 copysignl for GLIBC_2_0.
3568 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
3569 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
3570 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
3571 logbl for GLIBC_2_0.
3572 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
3573 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
3574
98a61bcb
L
35752012-05-22 H.J. Lu <hongjiu.lu@intel.com>
3576
a4f6e481
L
3577 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
3578 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
3579
f63d5db6
L
3580 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
3581 Use "neg %eax".
3582
98a61bcb
L
3583 * time/mktime.c: Update copyright years.
3584
95770f14
PE
35852012-05-22 Paul Eggert <eggert@cs.ucla.edu>
3586
6226efbd
PE
3587 mktime: merge comment-quoting-style change from gnulib
3588 * time/mktime.c: Quote 'like this' in comments.
3589 The GNU coding standards suggest that we no longer quote `like this',
3590 as "`" and "'" are typically rendered asymmetrically nowadays.
3591 The typical gnulib style is to quote 'like this' when quoting
3592 code, and "like this" when quoting English.
3593
b99e4f78
PE
3594 * time/mktime.c (compile-command): Add "-I.".
3595
643e01e6
PE
3596 mktime: merge mktime-internal.h change from gnulib
3597 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
3598
2554247d
PE
3599 mktime: merge time_r change from gnulib
3600 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
3601
826dd0ab
PE
3602 mktime: merge DEBUG change from gnulib
3603 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
3604 case system <time.h> has a #define.
3605
bd83aabe
PE
3606 mktime: merge <sys/types.h> change from gnulib
3607 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
3608 since <time.t> is now guaranteed to define time_t.
3609
95770f14
PE
3610 mktime: merge HAVE_CONFIG_H change from gnulib
3611 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
3612
5e1a27a9
L
36132012-05-22 H.J. Lu <hongjiu.lu@intel.com>
3614
0e44a77e
L
3615 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
3616 Use "neg %eax".
3617
5e1a27a9
L
3618 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
3619 __rlim_t cast.
3620 (struct rusage): Use anonymous union to pad each field to
3621 __syscall_slong_t.
3622
46259bec
DM
36232012-05-21 David S. Miller <davem@davemloft.net>
3624
3625 * Makefules (o-iterator): Remove .s cases.
3626 (compile-command.s): Delete.
3627 (COMPILE.s): Delete.
3628 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
3629
59f0c22e
JM
36302012-05-21 Joseph Myers <joseph@codesourcery.com>
3631
3632 * configure.in (libc_cv_predef_stack_protector): Only consider
3633 "foobar" and "__stack_chk_fail" lines in libc_undefs.
3634 * configure: Regenerated.
3635
20c07380
L
36362012-05-21 H.J. Lu <hongjiu.lu@intel.com>
3637
bbb3154b
L
3638 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
3639 New macro. Use R*LP on int and pointer.
3640 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
3641 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
3642 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
3643 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
3644
20c07380
L
3645 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
3646 [__WORDSIZE_TIME64_COMPAT32] instead of
3647 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
3648 (struct utmp): Likewise.
3649 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
3650 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
3651 Renamed to ...
3652 (__WORDSIZE_TIME64_COMPAT32): This.
3653 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
3654 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
3655 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
3656 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
3657 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
3658 (__WORDSIZE_TIME64_COMPAT32): New macro.
3659
d8d1017e
AJ
36602012-05-21 Andreas Jaeger <aj@suse.de>
3661
3662 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
3663 only if [SHARED]. Add prototype for __wcschr_ia32.
3664
6c7fb145
RM
36652012-05-21 Roland McGrath <roland@hack.frob.com>
3666
3667 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
3668 of %rbp unmolested in the jmp_buf while mangling the low bits.
3669 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
3670 unmolested high bits of %rbp while demangling the low bits.
3671 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
3672
66274218
AJ
36732012-05-21 Andreas Jaeger <aj@suse.de>
3674
07c58f8f
AJ
3675 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
3676 * sunrpc/svc_simple.c: Use it for registerrpc.
3677 * sunrpc/xcrypt.c: Use it for passwd2des.
3678
66274218
AJ
3679 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
3680
61f65140
L
36812012-05-21 H.J. Lu <hongjiu.lu@intel.com>
3682
3683 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
3684 Don't define if [__SYSCALL_WORDSIZE != 32].
3685 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
3686 New macro.
3687
5fefb436
AJ
36882012-05-21 Bruno Haible <bruno@clisp.org>
3689 Andreas Jaeger <aj@suse.de>
3690
3691 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
3692 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
3693 inptr and inend for must_buffer_ch.
3694 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
3695 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
3696 * stdio-common/Makefile (tests): Remove bug15.
3697 (bug15-ENV): Remove macro.
3698 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
3699 anymore.
3700
d8e272ab
AJ
37012012-05-19 Andreas Jaeger <aj@suse.de>
3702 Roland McGrath <roland@hack.frob.com>
3703
3704 * manual/contrib.texi: Completely rewritten. It contains now an
3705 alphabetical list of contributors and their contributions.
3706
4a56a162
RH
37072012-05-21 Richard Henderson <rth@twiddle.net>
3708
3709 * misc/getauxval.c (__getauxval): Use unsigned long int.
3710 * misc/sys/auxv.h: Include <sys/cdefs.h>.
3711 (getauxval): Use unsigned long int.
3712
d024d23c
L
37132012-05-21 H.J. Lu <hongjiu.lu@intel.com>
3714
3715 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
3716
cbc00a03
RM
37172012-05-21 Roland McGrath <roland@hack.frob.com>
3718
3719 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
3720 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
3721 __alignof__ (long double).
3722
478143fa
AZ
37232012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3724
3725 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3726
c7683a6d
RH
37272012-05-20 Richard Henderson <rth@twiddle.net>
3728
3729 * misc/getauxval.c: New file.
3730 * misc/sys/auxv.h: New file.
3731 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
3732 (routines): Add getauxval.
3733 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
3734 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
3735 * elf/dl-sysdep.c (_dl_auxv): Remove.
3736 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
3737 * elf/dl-support.c (_dl_auxv): New variable.
3738 (_dl_aux_init): Initialize it.
3739 * manual/startup.texi (Auxiliary Vector): New node.
3740 * sysdeps/generic/bits/hwcap.h: New file.
3741 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
3742 * sysdeps/powerpc/sysdep.h: ... here. Include it.
3743 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
3744 * sysdeps/sparc/sysdep.h: ... here. Include it.
3745 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
3746 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
3747 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3748 Update.
c7683a6d
RH
3749 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
3750 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
3751 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
3752 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
3753 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
3754 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
3755 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
3756 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
3757
a6f1845d
AZ
37582012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3759
3760 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3761
cbcbe830
DM
37622012-05-19 David S. Miller <davem@davemloft.net>
3763
3764 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3765
e0b16cc2
JM
37662012-05-19 Joseph Myers <joseph@codesourcery.com>
3767
3768 [BZ #14123]
3769 * math/s_ccosh.c: Include <float.h>
3770 (__ccosh): Avoid internal overflow calculating sinh and cosh
3771 values before multiplying by sin and cos values.
3772 * math/s_ccoshf.c: Likewise.
3773 * math/s_ccoshl.c: Likewise.
3774 * math/s_csin.c: Likewise.
3775 * math/s_csinf.c: Likewise.
3776 * math/s_csinl.c: Likewise.
3777 * math/s_csinh.c: Likewise.
3778 * math/s_csinhf.c: Likewise.
3779 * math/s_csinhl.c: Likewise.
3780 * math/libm-test.inc (ccos_test): Add more tests.
3781 (ccosh_test): Likewise.
3782 (csin_test): Likewise.
3783 (csinh_test): Likewise.
3784 * sysdeps/i386/fpu/libm-test-ulps: Update.
3785 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3786
6ad13e08
L
37872012-05-19 H.J. Lu <hongjiu.lu@intel.com>
3788
f66f0ce8
L
3789 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
3790 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
3791
6ad13e08
L
3792 * sysdeps/x86_64/x32/_itoa.h: Add comment.
3793
b1d072a7
JM
37942012-05-19 Joseph Myers <joseph@codesourcery.com>
3795
3796 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
3797 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
3798 * sysdeps/powerpc/soft-fp/Versions: Likewise.
3799 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
3800 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
3801 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
3802 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
3803 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
3804 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
3805 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
3806 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
3807 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
3808 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
3809 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
3810 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
3811 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
3812 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
3813 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
3814 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
3815 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
3816 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
3817 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
3818 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
3819 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
3820 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
3821 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
3822 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
3823 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
3824 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
3825 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
3826 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
3827
9eae47cb
AJ
38282012-05-18 Andreas Jaeger <aj@suse.de>
3829
3830 * csu/.gitignore: Delete.
3831
bb07f69f
L
38322012-05-18 H.J. Lu <hongjiu.lu@intel.com>
3833
3834 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
3835 (timex): Use __syscall_slong_t.
3836
e6bdb741
AJ
38372012-05-18 Andreas Jaeger <aj@suse.de>
3838 Carlos O'Donell <carlos_odonell@mentor.com>
3839
3840 * manual/install.texi (Configuring and compiling): Update
3841 description about files modified in the source directory.
d6c33fda 3842 * INSTALL: Regenerated.
e6bdb741 3843
1b74487e
L
38442012-05-18 H.J. Lu <hongjiu.lu@intel.com>
3845
3846 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
3847 value. Use "or" to set return value to -1.
3848 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
3849 negate return value.
3850
a88b64b9
TMQMF
38512012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3852
3853 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
3854 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
3855 failure if the compiler has Graphite support disabled.
3856 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
3857 Likewise.
3858 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
3859 CFLAGS-memmove.c): Likewise.
3860 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
3861 Likewise.
3862
3707636e
L
38632012-05-18 H.J. Lu <hongjiu.lu@intel.com>
3864
610b8622
L
3865 * sysdeps/x86_64/x32/_itoa.h: New file.
3866
7cd195df
L
3867 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
3868 getdents system call only if kernel and user dirents have the
3869 same d_ino and d_off.
3870
94b07d20
L
3871 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
3872 LLONG_MAX != LONG_MAX.
3873 (_itoa_word): Use _ITOA_WORD_TYPE on value.
3874 (_fitoa_word): Likewise.
3875
18298070
L
3876 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
3877 years.
3878 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
3879 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
3880 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
3881
553c7ea4
L
3882 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
3883 include <bits/wordsize.h>. Check __x86_64__ instead of
3884 __WORDSIZE.
3885 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
3886 if __x86_64__ is defined. Use anonymous union on fpstate.
3887
3707636e
L
3888 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
3889 anonymous union.
3890
b53ef01a
AS
38912012-05-18 Andreas Schwab <schwab@linux-m68k.org>
3892
37fb1dc0
AS
3893 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
3894 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
3895 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
3896 Refer to _rtld_local_ro instead of _rtld_global_ro.
3897 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
3898 Likewise.
3899 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
3900 Likewise.
3901 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
3902 Likewise.
3903 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
3904 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
3905 of _rtld_global, and rtld_progname instead of _dl_argv[0].
3906
b53ef01a
AS
3907 * sysdeps/powerpc/powerpc32/dl-machine.c
3908 (__elf_machine_runtime_setup) [PROF]: Don't reference
3909 _dl_prof_resolve.
3910
7a185db2
AJ
39112012-05-18 Andreas Jaeger <aj@suse.de>
3912
3913 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
3914 function only available for GCCs before 3.4 since GCC 3.4
3915 introduced a builtin.
3916 (lrint): Likewise.
3917 (llrintf): Likewise.
3918 (llrint): Likewise.
3919 (fmaxf): Likewise.
3920 (fmax): Likewise.
3921 (fminf): Likewise.
3922 (fmin): Likewise.
3923 (rint): Likewise.
3924 (rintf): Likewise.
3925 (nearbyint): Likewise.
3926 (nearbyintf): Likewise.
3927 (ceil): Likewise.
3928 (ceilf): Likewise.
3929 (floor): Likewise.
3930 (floorf): Likewise.
3931
3e5aef87
L
39322012-05-17 H.J. Lu <hongjiu.lu@intel.com>
3933
428bd707
L
3934 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
3935 on both fields and cast pointer to __syscall_ulong_t.
3936
3e5aef87
L
3937 * bits/types.h (__fsword_t): New type.
3938 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
3939 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
3940 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3941 (__FSWORD_T_TYPE): Likewise.
3942 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3943 (__FSWORD_T_TYPE): Likewise.
3944 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3945 (__FSWORD_T_TYPE): Likewise.
3946 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
3947 (__FSWORD_T_TYPE): Likewise.
3948 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
3949 __SWORD_TYPE with __fsword_t.
3950 (statfs64): Likewise.
3951
1ba7c3dc
DM
39522012-05-17 David S. Miller <davem@davemloft.net>
3953
3954 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
3955
59910343
AJ
39562012-05-17 Andreas Jaeger <aj@suse.de>
3957
3958 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
3959 warning.
3960
2e4c1e9e
L
39612012-05-17 H.J. Lu <hongjiu.lu@intel.com>
3962
3963 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
3964
de7f5ce7
AJ
39652012-05-17 Andreas Jaeger <aj@suse.de>
3966
3967 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
3968 when it is used.
3969
286abc3d
CM
39702012-05-17 Chris Metcalf <cmetcalf@tilera.com>
3971
3972 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
3973
477cc68e
L
39742012-05-17 H.J. Lu <hongjiu.lu@intel.com>
3975
3976 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
3977 * sysdeps/x86_64/tst-mallocalign1.c: New file.
3978
1a0994f5
CD
39792012-05-17 Andreas Jaeger <aj@suse.de>
3980 Carlos O'Donell <carlos_odonell@mentor.com>
3981
3982 [BZ #14059]
3983 * sysdeps/x86_64/multiarch/init-arch.h
3984 (bit_YMM_Usable): Rename to...
3985 (bit_AVX_Usable): ... this.
3986 (bit_FMA4_Usable): New macro.
3987 (bit_XMM_state): New macro.
3988 (bit_YMM_state): New macro.
3989 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
3990 [__ASSEMBLER__] (index_AVX_Usable): ... this.
3991 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
3992 (CPUID_OSXSAVE): New macro.
3993 (CPUID_AVX): New macro.
3994 (CPUID_FMA4): New macro.
3995 (index_YMM_Usable): Rename to...
3996 (index_AVX_Usable): ... this.
3997 (HAS_AVX): Use HAS_ARCH_FEATURE.
3998 (HAS_FMA4): Likewise.
3999 (HAS_YMM_USABLE): Remove.
4000 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4001 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
4002 are present.
4003 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
4004 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
4005 * sysdeps/x86_64/multiarch/Makefile: Likewise.
4006 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
4007 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
4008
0af797de
CM
40092012-05-17 Chris Metcalf <cmetcalf@tilera.com>
4010
4011 * math/libm-test.c: Support platforms without multiple rounding modes.
4012 * math/bug-nextafter.c: Support platforms without FP exceptions.
4013 * math/bug-nexttoward.c: Likewise.
4014 * math/test-fenv.c: Likewise.
4015 * math/test-misc.c: Likewise.
4016 * stdlib/bug-getcontext.c: Likewise.
4017
e39745ff
AJ
40182012-05-17 Andreas Jaeger <aj@suse.de>
4019
4020 * manual/examples/search.c (critter_cmp): Change signature to
4021 avoid warnings.
4022 * manual/string.texi (Collation Functions): Likewise.
4023
48970aba
L
40242012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4025
4026 * bits/types.h: Fold copyright years.
4027 * bits/typesizes.h: Likewise.
4028 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
4029 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
4030 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
4031 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
4032 * time/time.h: Likewise.
4033
bedee953
PP
40342012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
4035
4036 [BZ #208]
4037 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
4038 in instead of returning them. Return void.
4039 (__libc_mallinfo): Accumulate over all arenas.
4040 (__malloc_stats): Adjust for change in int_mallinfo interface.
4041
61653dfb
RM
40422012-05-16 Roland McGrath <roland@hack.frob.com>
4043
30b99d79
RM
4044 [BZ #10375]
4045 * configure.in (NM): Add AC_CHECK_TOOL for it.
4046 (libc_extra_cflags): New substituted variable.
4047 Check for -fstack-protector being used implicitly.
4048 * configure: Regenerated.
4049 * config.make.in (config-extra-cflags): New variable,
4050 gets @libc_extra_cflags@.
4051 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
4052
61653dfb
RM
4053 [BZ #10375]
4054 * configure.in: Check for _FORTIFY_SOURCE being predefined.
4055 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
4056 * configure: Regenerated.
4057 * config.make.in (CPPUNDEFS): New substituted variable.
4058 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
4059 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
4060 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
4061
661768bb
L
40622012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4063
4064 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
4065 (mq_attr): Use __syscall_slong_t.
4066
d4261567
L
40672012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4068
4069 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
4070 Check __x86_64__ instead of __WORDSIZE.
4071 (_STAT_VER_LINUX): Likewise.
4072 (stat): Check __x86_64__ instead of __WORDSIZE. Use
4073 __syscall_ulong_t and __syscall_slong_t.
4074 (stat64): Likewise.
4075
cf3ff365
L
40762012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4077
4078 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
4079
76cf3e4d
L
40802012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4081
4082 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
4083
a637753a
L
40842012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4085
4086 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
4087 __syscall_ulong_t.
4088
d5e05119
L
4089 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
4090 include <bits/wordsize.h>. Check __x86_64__ instead of
4091 __WORDSIZE.
4092 (greg_t): Use "__extension__ long long int" if __x86_64__ is
4093 defined.
4094 (mcontext_t): Replace "unsigned long" with "unsigned long long".
4095
f62ee380
L
4096 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
4097 include <bits/wordsize.h>. Check __x86_64__ instead of
4098 __WORDSIZE.
4099 (user_regs_struct): Use "__extension__ unsigned long long"
4100 instead of "unsigned long" if __x86_64__ is defined.
4101 (user): Likewise. Pad after pointer field if __ILP32__ is
4102 defined.
4103
4e124ced
JM
41042012-05-16 Joseph Myers <joseph@codesourcery.com>
4105
6a3951a0
JM
4106 * configure.in (makeinfo): Require version 4.5 or later. Allow
4107 versions 5 to 9.
4108 * configure: Regenerated.
4109 * manual/install.texi (texinfo): Increase version requirement to
4110 4.5 or later.
4111 * INSTALL: Regenerated.
4112
4e124ced
JM
4113 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
4114
953ca31a
L
41152012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4116
4117 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
4118
617aca05
L
4119 * sysdeps/x86_64/x32/ffs.c: New file.
4120
5762f7ae
L
4121 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
4122 __syscall_ulong_t.
4123 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
4124 defined. Use __syscall_ulong_t.
4125 (shminfo): Use __syscall_ulong_t.
4126 (shm_info): Likewise.
4127
a26b6856
L
4128 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
4129 __syscall_ulong_t.
4130
cb2b9ef7
L
4131 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
4132 <bits/wordsize.h>.
4133 (msgqnum_t): Use __syscall_ulong_t.
4134 (msglen_t): Likewise.
4135 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
4136 __syscall_ulong_t.
4137
34683bb0
L
4138 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
4139 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
4140
84a68786
L
4141 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
4142
48baa5f1
L
4143 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
4144 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
4145
180be88b
L
4146 * sysvipc/sys/msg.h (msgbuf): Replace long int with
4147 __syscall_slong_t.
4148
5e90c8ad
L
4149 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
4150 include <bits/wordsize.h>. Check __x86_64__ instead of
4151 __WORDSIZE.
4152
23dfb58b
L
4153 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
4154 "unsigned long long int" if __x86_64__ is defined.
4155 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
4156
ce5d54b0
L
4157 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
4158 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
4159 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
4160
13dc9eac
L
4161 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
4162 <stdint.h>.
4163 (GET_PC): Cast to uintptr_t first.
4164 (GET_FRAME): Likewise.
4165 (GET_STACK): Likewise.
4166
a7895d15
L
4167 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
4168 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
4169 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
4170 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
4171 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
4172 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
4173 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
4174 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
4175 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
4176 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
4177 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
4178 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
4179 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
4180 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
4181 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
4182 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
4183 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
4184 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
4185 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
4186 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
4187 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
4188 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
4189 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
4190 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
4191 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
4192 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
4193 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
4194 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
4195 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
4196
656416c9
AS
41972012-05-16 Andreas Schwab <schwab@linux-m68k.org>
4198
5bd66283
AS
4199 * Makerules (+depfiles): Also collect depfiles from .oS in
4200 $(extra-objs).
4201 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
4202 .oS, $(libnldbl-routines)).
4203
656416c9
AS
4204 * Makerules (native-compile-mkdep-flags): Define.
4205 * sunrpc/Makefile (extra-objs): Add $(addprefix
4206 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
4207 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
4208 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
4209 calling $(make-target-directory).
4210
a46f2169
L
42112012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4212
4213 * bits/types.h (__snseconds_t): Removed.
4214 * time/time.h (struct timespec): Replace __snseconds_t with
4215 __syscall_slong_t.
4216 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
4217 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
4218 Likewise.
4219 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4220 (__SNSECONDS_T_TYPE): Likewise.
4221 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4222 (__SNSECONDS_T_TYPE): Likewise.
4223 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4224 (__SNSECONDS_T_TYPE): Likewise.
4225
6af6528b
L
42262012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4227
4228 * sysdeps/mach/hurd/bits/typesizes.h
4229 (__SYSCALL_SLONG_TYPE): New macro.
4230 (__SYSCALL_ULONG_TYPE): Likewise.
4231
de986b56
L
42322012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4233
4234 * bits/types.h (__syscall_slong_t): New type.
4235 (__syscall_ulong_t): Likewise.
4236
4237 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
4238 (__SYSCALL_ULONG_TYPE): Likewise.
4239 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4240 (__SYSCALL_SLONG_TYPE): Likewise.
4241 (__SYSCALL_ULONG_TYPE): Likewise.
4242 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4243 (__SYSCALL_SLONG_TYPE): Likewise.
4244 (__SYSCALL_ULONG_TYPE): Likewise.
4245 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4246 (__SYSCALL_SLONG_TYPE): Likewise.
4247 (__SYSCALL_ULONG_TYPE): Likewise.
4248
85736dc7
L
42492012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4250
4251 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
4252 Add sigaltstack-offsets.sym.
4253 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
4254 <sigaltstack-offsets.h>.
4255 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
4256 longjmp_msg pointer.
4257 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
4258 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
4259 signal stack.
4260 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
4261
cc03b296
JM
42622012-05-15 Joseph Myers <joseph@codesourcery.com>
4263
a9538892
JM
4264 * elf/stackguard-macros.h: Remove file.
4265 * sysdeps/generic/stackguard-macros.h: New file.
4266 * sysdeps/i386/stackguard-macros.h: Likewise.
4267 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
4268 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
4269 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
4270 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
4271 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
4272 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
4273 * sysdeps/x86_64/stackguard-macros.h: Likewise.
4274 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
4275 <elf/stackguard-macros.h>.
4276
cc03b296
JM
4277 [BZ #14109]
4278 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
4279 __aligned__ in attribute.
4280 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
4281 (gregset_t): Likewise.
4282
93171016
L
42832012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4284
4285 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
4286 * sysdeps/x86_64/64/Implies-after: Here. New file.
4287 * sysdeps/x86_64/x32/Implies-after: New file.
4288
d86813a0
L
42892012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4290
4291 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
4292 and access return value for _dl_profile_fixup. Use R10_LP to
4293 load frame size.
4294
2953ec75
L
42952012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4296
4297 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
4298
3b550e9e
L
42992012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4300
4301 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
4302 * sysdeps/x86_64/x32/sysdep.h: New file.
4303
eda41706
L
43042012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4305
4306 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
4307 * sysdeps/x86_64/setjmp.S: Likewise.
4308
9ea01d93
AZ
43092012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4310
4311 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
4312 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
4313 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
4314 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
4315 remove unused global constant.
4316
02a91938
CM
43172012-05-15 Chris Metcalf <cmetcalf@tilera.com>
4318
4319 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
4320 include of <not-cancel.h>.
4321
6540185f
RM
43222012-05-15 Roland McGrath <roland@hack.frob.com>
4323
4324 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
4325
509072a0
AJ
43262012-05-15 Jeff Law <law@redhat.com>
4327 Andreas Jaeger <aj@suse.de>
4328
4329 [BZ #13594]
4330 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
4331 out from...
4332 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
4333 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
4334 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
4335 code changing __hst_map_handle.map.
4336
ba75122d
RM
43372012-05-15 Roland McGrath <roland@hack.frob.com>
4338
4339 * configure.in (sysnames): Look for Implies-before and Implies-after
4340 files.
4341 * configure: Regenerated.
4342
890d8bd8
L
43432012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4344
4345 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
4346 8-byte data alignment with LP_SIZE alignment.
4347
f6ee6623
L
43482012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4349
4350 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
4351 into R10_LP.
4352
ea2626f6
L
43532012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4354
4355 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
4356
085f715e
L
43572012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4358
4359 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
4360 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
4361 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
4362 Likewise.
4363 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
4364
be8498fc
L
43652012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4366
4367 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
4368 (stackinfo_sub_sp): Likewise.
4369
70bc83b9
L
43702012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4371
4372 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
4373 RAX_LP.
4374
9bc0b730
L
43752012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4376
4377 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
4378 into R*_LP.
4379
6d2850e7
L
43802012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4381
4382 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
4383 sizes into R*_LP.
4384
3cb84561
L
43852012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4386
4387 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
4388
54e2ed81
L
43892012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4390
4391 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
4392 into R11_LP and load __x86_64_shared_cache_size_half into
4393 R8_LP.
4394
8a17f349
L
43952012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4396
4397 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
4398 R8_LP.
4399
777b1eea
AZ
44002012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4401
4402 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
4403 logb for POWER7.
4404 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
4405 logbf for POWER7.
4406 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
4407 logbl for POWER7.
4408 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
4409 powerpc32/power7/fpu/s_logb.c via #include.
4410 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
4411 powerpc32/power7/fpu/s_logbf.c via #include.
4412 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
4413 powerpc32/power7/fpu/s_logbl.c via #include.
4414
d20d4ac2
JM
44152012-05-15 Joseph Myers <joseph@codesourcery.com>
4416
4417 * README.libm: Remove file.
4418
6cdef1ab
L
44192012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4420
4421 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
4422 count for x32. Use R*_LP and omit operand-size suffix.
4423
0b254d8f
L
44242012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4425
4426 * shlib-versions: Move x86_64-.*-linux.* entries to ...
4427 * sysdeps/x86_64/64/shlib-versions: Here. New file.
4428 * sysdeps/x86_64/x32/shlib-versions: New file.
4429
ceb809dc
RM
44302012-05-14 Roland McGrath <roland@hack.frob.com>
4431
4432 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
4433 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
4434 Use _dl_fatal_printf instead.
4435
37f1abd4
JM
44362012-05-14 Joseph Myers <joseph@codesourcery.com>
4437
4438 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
4439 set if not set by the user. Do not allow for being unset.
4440 * sysdeps/unix/sysv/linux/configure: Regenerated.
4441
11de3a33
L
44422012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4443
4444 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
4445 the `q' suffix from lea and replace .quad with ASM_ADDR.
4446
e02f153a
L
44472012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4448
4449 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
4450 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
4451 instead of $17.
4452 (PTR_DEMANGLE): Likewise.
4453
520ae0fd
L
44542012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4455
4456 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
4457 (LP_OP): Likewise.
4458 (ASM_ADDR): Likewise.
4459 (RAX_LP): Likewise.
4460 (RBP_LP): Likewise.
4461 (RBX_LP): Likewise.
4462 (RCX_LP): Likewise.
4463 (RDI_LP): Likewise.
4464 (RSI_LP): Likewise.
4465 (RSP_LP): Likewise.
4466 (R8_LP): Likewise.
4467 (R9_LP): Likewise.
4468 (R10_LP): Likewise.
4469 (R10_LP): Likewise.
4470 (R11_LP): Likewise.
4471 (R12_LP): Likewise.
4472 (R13_LP): Likewise.
4473 (R14_LP): Likewise.
4474 (R15_LP): Likewise.
4475
b985be81
L
44762012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4477
4478 * sysdeps/x86_64/x32/dl-machine.h: New file.
4479
6a4888ff
AJ
44802012-05-14 Andreas Jaeger <aj@suse.de>
4481
4482 * manual/Makefile (subdir): Remove export of subdir.
4483 (all): Remove target.
4484 (.PHONY): Remove all from list.
4485 (mkinstalldirs): Remove.
4486 (.PHONY): Remove installdirs from list.
4487 ($(inst_infodir)/libc.info): Use make-target-directory.
4488 (installdirs): Remove.
4489 (subdir_%): Remove.
4490 (glibc-targets): Remove.
4491 (lib): Remove.
4492 (stubs): Remove.
4493 ($(objpfx)stubs ../po/manual.pot): Remove.
4494 ($(objpfx)stamp%): Remove.
4495 (make-target-directory): Remove.
4496 (subdir_install): Remove.
4497 (routines): Remove.
4498 (aux): Remove.
4499 (sources): Remove.
4500 (objects): Remove.
4501 (headers): Remove.
4502
4503 [BZ #13750]
4504 * manual/.gitignore: Remove, it's not needed anymore.
4505 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
4506 all files in it.
4507 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
4508 directory.
4509 (texis): Renamed to $(objpfx)texis.
4510 (texis-path): New, contains path to generated files.
4511 (chapters.%): Use texis-path for complete path, add extra argument
4512 libc-texinfo.sh.
4513 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
4514 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
4515 (summary,texi, stamp-summary): Use complete path of
4516 files. Generate files in build dir.
4517 (dir-add.texi): Build in build dir.
4518 (libm-err.texi,stamp-libm-err): Likewise.
4519 (version.texi, stamp-version): Likewise.
4520 (.%c.texi): Likewise.
4521 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
4522 (mostlyclean): Remove target.
4523 (realclean): Remove target.
4524 (generated): Add new variable with contents from mostlyclean and
4525 realclean, remove entries duplicated in common-mostlyclean, add
4526 stamp-libm-err and stamp-version.
4527 (generated-dirs): Add libc directory.
4528 ($(inst_infodir)/libc.info): Install files from build dir.
4529
4530 * manual/install.texi (Configuring and compiling): Adjust since
4531 the info files are not part of the tar ball anymore.
4532
7ac77294
AJ
45332012-05-14 Andreas Jaeger <aj@suse.de>
4534
4535 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
4536 variable.
4537
ffb7875d
JM
45382012-05-14 Joseph Myers <joseph@codesourcery.com>
4539
4540 [BZ #13717]
4541 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
4542 to 2.2.0 where earlier.
4543 * sysdeps/unix/sysv/linux/configure: Regenerated.
4544 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
4545 Remove conditional code.
4546 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
4547 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
4548 Remove conditional code.
4549 [!__NR_lchown]: Likewise.
4550 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
4551 [__NR_lchown]: Likewise.
4552 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
4553 comment referencing __ASSUME_LCHOWN_SYSCALL.
4554 * sysdeps/unix/sysv/linux/i386/sigaction.c
4555 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4556 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4557 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
4558 Remove conditional code.
4559 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
4560 (__protocol_available): Remove #if 0 code.
4561 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
4562 conditional code.
4563 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
4564 * sysdeps/unix/sysv/linux/kernel-features.h
4565 (__ASSUME_GETCWD_SYSCALL): Don't define.
4566 (__ASSUME_REALTIME_SIGNALS): Likewise.
4567 (__ASSUME_PREAD_SYSCALL): Likewise.
4568 (__ASSUME_PWRITE_SYSCALL): Likewise.
4569 (__ASSUME_POLL_SYSCALL): Likewise.
4570 (__ASSUME_LCHOWN_SYSCALL): Likewise.
4571 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
4572 non-SPARC.
4573 (__ASSUME_SIOCGIFNAME): Don't define.
4574 (__ASSUME_MSG_NOSIGNAL): Likewise.
4575 (__ASSUME_SENDFILE): Define unconditionally.
4576 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
4577 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
4578 conditional code.
4579 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
4580 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
4581 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
4582 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
4583 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
4584 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
4585 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
4586 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
4587 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
4588 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4589 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
4590 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
4591 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4592 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
4593 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4594 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4595 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
4596 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4597 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
4599 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
4600 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
4602 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
4603 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
4605 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4606 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
4608 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4609 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4610 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
4611 Remove conditional code.
4612 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4613 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
4614 Remove conditional code.
4615 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4616 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
4617 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
4618 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
4619 Remove conditional code.
4620 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4621 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
4622 Remove conditional code.
4623 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4624 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
4625 Remove conditional code.
4626 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4627 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
4628 Remove conditional code.
4629 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4630 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
4631 Remove conditional code.
4632 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4633 * sysdeps/unix/sysv/linux/sh/pwrite64.c
4634 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4635 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4636 * sysdeps/unix/sysv/linux/sigaction.c
4637 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4638 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4639 * sysdeps/unix/sysv/linux/sigpending.c
4640 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4641 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4642 * sysdeps/unix/sysv/linux/sigprocmask.c
4643 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4644 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4645 * sysdeps/unix/sysv/linux/sigsuspend.c
4646 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4647 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4648 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
4649 (__libc_missing_rt_sigs): Remove.
4650 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
4651 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
4652 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
4653 Remove conditional code.
4654 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
4655 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
4656 return 1.
4657 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
4658 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
4659 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
4660 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
4661
1bfb7291
AJ
46622012-05-14 Andreas Jaeger <aj@suse.de>
4663
caae5a81
AJ
4664 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
4665 it's not used in glibc.
4666 (__coshm1): Likewise.
4667 (__acosh1p): Likewise.
4668 (__sgn): Likewise.
4669
1bfb7291
AJ
4670 * manual/string.texi (Copying and Concatenation): Add missing
4671 variable in concat example.
4672 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
4673
c044d724
L
46742012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4675
144c5467 4676 [BZ #14103]
c044d724
L
4677 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
4678 __builtin_clzl with __builtin_clzll.
4679
2523c62b
L
46802012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4681
4682 [BZ #14104]
4683 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
4684 libc_freeres_ptr.
4685
d7bb4c42
LD
46862012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4687
4688 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
4689 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
4690 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
4691 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
4692
9dc4e1fb
MF
46932012-05-14 Mike Frysinger <vapier@gentoo.org>
4694
4695 * NEWS: Update ia64 info.
4696
c7df0112
AS
46972012-05-12 Andreas Schwab <schwab@linux-m68k.org>
4698
4699 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
4700 used as bcopy.
4701
dc70356c
TS
47022012-05-12 Thomas Schwinge <thomas@codesourcery.com>
4703
4704 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
4705 * sysdeps/unix/syscalls.list (dup3): Likewise.
4706 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
4707 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
4708
9fb1a21f
L
47092012-05-11 H.J. Lu <hongjiu.lu@intel.com>
4710
4711 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
4712 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
4713
4822a2a5
L
47142012-05-11 H.J. Lu <hongjiu.lu@intel.com>
4715
4716 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
4717 thread pointer.
4718 (TLS_IE): Use mov/add instead of movq/addq to load thread
4719 pointer.
4720 (TLS_GD_PREFIX): New.
4721 (TLS_GD): Use it.
4722
842b81d6
DM
47232012-05-11 David S. Miller <davem@davemloft.net>
4724
4725 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
4726 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
4727 (_FPU_SETCW): Likewise.
4728
1cf463cd
L
47292012-05-10 H.J. Lu <hongjiu.lu@intel.com>
4730
4731 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
4732 is 32-byte aligned.
4733
60cc4a18
AS
47342012-05-11 Andreas Schwab <schwab@linux-m68k.org>
4735
4736 [BZ #11837]
4737 * iconvdata/gb18030.c: Update tables.
4738 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
4739 characters specially.
4740 (BODY for TO_LOOP): Add encoding of missing ranges.
4741
febb44a4
TS
47422012-05-11 Thomas Schwinge <thomas@codesourcery.com>
4743
4744 [BZ #13673]
4745 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
4746 * sysdeps/mach/hurd/dup3.c: Likewise.
4747 * sysdeps/mach/hurd/readlinkat.c: Likewise.
4748 * sysdeps/powerpc/memmove.c:: Likewise.
4749
0a10fb9e
L
47502012-05-10 H.J. Lu <hongjiu.lu@intel.com>
4751
4752 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
4753 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
4754
df8a552f
L
47552012-05-10 H.J. Lu <hongjiu.lu@intel.com>
4756
4757 * elf/elf.h (R_X86_64_RELATIVE64): New.
4758 (R_X86_64_NUM): Updated.
4759 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
4760 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
4761 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
4762 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
4763 tst-quad1pie tst-quad2pie
4764 (modules-names): Add tst-quadmod1 tst-quadmod2.
4765 ($(objpfx)tst-quad1): New dependency.
4766 ($(objpfx)tst-quad2): Likewise.
4767 ($(objpfx)tst-quad1pie): Likewise.
4768 ($(objpfx)tst-quad2pie): Likewise.
4769 * sysdeps/x86_64/tst-quad1.c: New file.
4770 * sysdeps/x86_64/tst-quad1pie.c: New file.
4771 * sysdeps/x86_64/tst-quad2.c: Likewise.
4772 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
4773 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
4774 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
4775 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
4776 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
4777
f34d6f84
ST
47782012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4779
f42d41d1
ST
4780 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
4781 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
4782 * streams/stropts.h (t_scalar_t): Define type.
4783
3c3571fc
ST
4784 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
4785 (_PATH_PRESERVE): Set to "/var/lib".
4786 (_PATH_RWHODIR): Set to "/var/spool/rwho".
4787
61f06bd3
ST
4788 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
4789 instead of int.
4790
918d4d71
ST
4791 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
4792 if __dir_mkfile succeeded.
4793
f34d6f84
ST
4794 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
4795 checking for _hurd_dtablesize. Unlock it right after having
4796 finished _hurd_dtable allocation.
4797
10589b4a
TS
47982012-05-10 Thomas Schwinge <thomas@schwinge.name>
4799
674cdbc7
TS
4800 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
4801 * sysdeps/mach/hurd/configure: Regenerated.
4802 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
4803 special-casing to...
4804 * sysdeps/gnu/configure.in: ... this new file.
4805 * sysdeps/unix/sysv/linux/configure: Regenerated.
4806 * sysdeps/gnu/configure: New generated file.
4807
8e41b99f
TS
4808 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
4809 for Linux: use nsec instead of usec, as well as:
4810 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
4811 members of type struct timespec.
4812 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
4813 New macros.
4814 (struct stat64): Likewise.
4815 (_STATBUF_ST_NSEC): New macro.
4816 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
4817
10589b4a
TS
4818 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
4819 __strtoul_internal rather than strtoul.
4820
63643c85
PT
48212012-05-10 Pino Toscano <toscano.pino@tiscali.it>
4822
4823 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
4824 and reject them.
4825
3faebe6a
ST
48262012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4827
4828 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
4829 which preserves existing values.
4830 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
4831
c6474b07
PT
48322012-05-10 Pino Toscano <toscano.pino@tiscali.it>
4833
4834 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
4835 TIMEOUT values. Return EINVAL for NFDS values either negative or
4836 greater than FD_SETSIZE.
4837
1043890b
ST
48382012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4839
4840 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
4841 allocated, call __vm_protect to finish enabling the existing space, and
4842 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
4843 allocate the remainder.
4844
37ed8b9b
PT
48452012-05-10 Pino Toscano <toscano.pino@tiscali.it>
4846
4847 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
4848 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
4849
db653660
ST
48502012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4851
37ed8b9b
PT
4852 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
4853 sysdeps/mach/hurd/readlink.c.
b29d4053 4854
db653660
ST
4855 * posix/tst-sysconf.c (posix_options): Only use
4856 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
4857 _POSIX_SYNCHRONIZED_IO when they are defined
4858 * sysdeps/mach/hurd/bits/posix_opt.h:
4859 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
4860 (_XOPEN_REALTIME): Undefine macro.
4861 (_XOPEN_REALTIME_THREADS): Undefine macro.
4862 (_XOPEN_SHM): Undefine macro.
4863 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
4864 macro to -1.
4865 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
4866 macro to -1.
4867 (_POSIX_ASYNC_IO): Undefine macro.
4868 (_POSIX_PRIORITIZED_IO): Undefine macro.
4869 (_POSIX_SPIN_LOCKS): Define macro to -1.
4870
ee16e894
ST
4871 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
4872 SA_NODEFER, SA_RESETHAND.
4873 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
4874 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
4875 F_DUPFD_CLOEXEC.
4876
6103ae3b
TS
48772012-05-10 Thomas Schwinge <thomas@schwinge.name>
4878
4879 * elf/Makefile (pldd-modules): Define unconditionally.
4880
80b4e5f3
TS
48812012-05-10 Thomas Schwinge <thomas@schwinge.name>
4882
4883 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
4884
edadcbd6
ST
48852012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4886
4887 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
4888 Return ENOENT when name is empty.
4889 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
4890
80694780
TS
48912012-05-10 Thomas Schwinge <thomas@schwinge.name>
4892
1792c087
TS
4893 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
4894
80694780
TS
4895 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
4896
6b645f0d
ST
48972012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4898
80694780
TS
4899 Fix mlock in all cases except non-readable pages.
4900 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
4901 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 4902
6b645f0d
ST
4903 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
4904 (__mkdir): When path is `/', just fail with EEXIST.
4905 * sysdeps/mach/hurd/mkdirat.c: Likewise.
4906
e468f8a3
TS
49072012-05-10 Thomas Schwinge <thomas@schwinge.name>
4908
4909 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
4910 <sys/uio.h> (for writev).
4911 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
4912 and <sys/param.h> (for MIN).
4913
a4186cff
PT
49142012-05-10 Pino Toscano <toscano.pino@tiscali.it>
4915
4916 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
4917 REQUESTED_TIME. Properly set the remaining time and return EINTR
4918 if interrupted.
4919
510bbf14
TS
49202012-05-10 Thomas Schwinge <thomas@schwinge.name>
4921
4922 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
4923 Depend on against $(link-rpcuserlibs).
4924
5d5722e8
ST
49252012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4926
a4186cff
PT
4927 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
4928 (__libc_stack_end): Do not use attribute_relro.
4929 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
4930 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 4931 to libthread-provided value.
a4186cff
PT
4932 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
4933 attribute_relro.
5d5722e8 4934
37233df9
TS
49352012-05-10 Thomas Schwinge <thomas@schwinge.name>
4936
be971a2b
TS
4937 [BZ #3748]
4938 * bits/libc-lock.h (__libc_once_get): New macro.
4939 * sysdeps/mach/bits/libc-lock.h: Likewise.
4940 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
4941 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
4942 instead of using implementation details.
4943
37233df9
TS
4944 * libio/fileops.c: Unconditionally include <kernel-features.h>.
4945 * libio/freopen.c: Likewise.
4946 * libio/freopen64.c: Likewise.
4947 * misc/syslog.c: Likewise.
4948 * nscd/connections.c: Likewise.
4949 * nscd/netgroupcache.c: Likewise.
4950 * sysdeps/posix/getcwd.c: Likewise.
4951
38de94a5
RM
49522012-05-10 Roland McGrath <roland@hack.frob.com>
4953
4954 * math/w_ilogbf.c: Add #include <limits.h>.
4955
67530489
ST
49562012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4957
a4186cff 4958 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
4959 path instead of returning without unlocking.
4960
67530489
ST
4961 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
4962 immediate-write ioctls.
4963 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
4964
5aa3a74a
TS
49652012-05-10 Thomas Schwinge <thomas@schwinge.name>
4966
18bad2ae
TS
4967 * sysdeps/mach/hurd/i386/init-first.c (init): Use
4968 __builtin_frame_address instead of making assumptions about the
4969 location of the return address relative to DATA. Force early load of
4970 the return address.
4971 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
4972 __builtin_frame_address.
4973
5aa3a74a
TS
4974 dup3 for GNU Hurd.
4975 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
4976 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
4977 implement dup3 and do some further code clean-ups.
4978 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
4979 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
4980
ecd0de9a
ST
49812012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4982
cd9fa985
ST
4983 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
4984
a4186cff
PT
4985 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
4986 HURD_CRITICAL_END around holding _hurd_dtable_lock.
4987 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
4988 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
4989 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
4990 d->port.lock.
802ca5a5 4991
a4186cff
PT
4992 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
4993 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
4994 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 4995
bcf55240
TS
49962012-05-10 Thomas Schwinge <thomas@schwinge.name>
4997
6960eb42
TS
4998 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
4999 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
5000 definitions.
5001
eb43375f
TS
5002 accept4 for GNU Hurd.
5003 * include/sys/socket.h (__libc_accept4): New prototype.
5004 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
5005 to implement __libc_accept4.
5006 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
5007 __libc_accept4.
5008 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
5009
bcf55240
TS
5010 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
5011 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
5012 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
5013 signal-defines.sym.
5014
6178c55b
ST
50152012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5016
a4186cff 5017 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 5018
6f080c2f
TS
50192012-05-10 Thomas Schwinge <thomas@schwinge.name>
5020
5021 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
5022 assertion on O_CLOEXEC flag.
5023 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
5024 * hurd/intern-fd.c: Likewise.
5025 * hurd/port2fd.c: Likewise.
5026
bcfe3a54
ST
50272012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5028
5029 [BZ #3906]
5030 * bits/in.h (IPV6_PKTINFO): Define new macro.
5031 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
5032
89c9aa49
AZ
50332012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5034
5035 [BZ #13954]
5036 [BZ #13955]
5037 [BZ #13956]
5038 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
5039 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
5040 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
5041 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
5042 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5043 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
5044 * math/libm-test.inc (logb_test) : Additional logb tests.
5045
021db4be
AJ
50462012-05-09 Andreas Schwab <schwab@linux-m68k.org>
5047 Andreas Jaeger <aj@suse.de>
5048
5049 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
5050 * configure: Regenerated.
5051 * config.h.in (LINK_OBSOLETE_RPC): New macro.
5052 * config.make.in (link-obsolete-rpc): New substituted variable.
5053 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
5054 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
5055 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
5056 (shared-only-routines): Don't set it under [link-obsolete-rpc],
5057 so that libc.a contains the symbols.
5058 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
5059 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
5060 * sunrpc/auth_none.c: Likewise.
5061 * sunrpc/auth_unix.c: Likewise.
5062 * sunrpc/authdes_prot.c: Likewise.
5063 * sunrpc/authuxprot.c: Likewise.
5064 * sunrpc/clnt_gen.c: Likewise.
5065 * sunrpc/clnt_perr.c: Likewise.
5066 * sunrpc/clnt_raw.c: Likewise.
5067 * sunrpc/clnt_simp.c: Likewise.
5068 * sunrpc/clnt_tcp.c: Likewise.
5069 * sunrpc/clnt_udp.c: Likewise.
5070 * sunrpc/clnt_unix.c: Likewise.
5071 * sunrpc/des_crypt.c: Likewise.
5072 * sunrpc/des_soft.c: Likewise.
5073 * sunrpc/get_myaddr.c: Likewise.
5074 * sunrpc/key_call.c: Likewise.
5075 * sunrpc/key_prot.c: Likewise.
5076 * sunrpc/netname.c: Likewise.
5077 * sunrpc/pm_getmaps.c: Likewise.
5078 * sunrpc/pm_getport.c: Likewise.
5079 * sunrpc/pmap_clnt.c: Likewise.
5080 * sunrpc/pmap_prot.c: Likewise.
5081 * sunrpc/pmap_prot2.c: Likewise.
5082 * sunrpc/pmap_rmt.c: Likewise.
5083 * sunrpc/publickey.c: Likewise.
5084 * sunrpc/rpc_cmsg.c: Likewise.
5085 * sunrpc/rpc_common.c: Likewise.
5086 * sunrpc/rpc_dtable.c: Likewise.
5087 * sunrpc/rpc_prot.c: Likewise.
5088 * sunrpc/rpc_thread.c: Likewise.
5089 * sunrpc/rtime.c: Likewise.
5090 * sunrpc/svc.c: Likewise.
5091 * sunrpc/svc_auth.c: Likewise.
5092 * sunrpc/svc_raw.c: Likewise.
5093 * sunrpc/svc_run.c: Likewise.
5094 * sunrpc/svc_tcp.c: Likewise.
5095 * sunrpc/svc_udp.c: Likewise.
5096 * sunrpc/svc_unix.c: Likewise.
5097 * sunrpc/svcauth_des.c: Likewise.
5098 * sunrpc/xcrypt.c: Likewise.
5099 * sunrpc/xdr.c: Likewise.
5100 * sunrpc/xdr_array.c: Likewise.
5101 * sunrpc/xdr_float.c: Likewise.
5102 * sunrpc/xdr_intXX_t.c: Likewise.
5103 * sunrpc/xdr_mem.c: Likewise.
5104 * sunrpc/xdr_rec.c: Likewise.
5105 * sunrpc/xdr_ref.c: Likewise.
5106 * sunrpc/xdr_sizeof.c: Likewise.
5107 * sunrpc/xdr_stdio.c: Likewise.
5108
b5c086a2
RM
51092012-05-10 Roland McGrath <roland@hack.frob.com>
5110
5111 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
5112 change. Update copyright years.
5113
6d74dd09
JM
51142012-05-10 Joseph Myers <joseph@codesourcery.com>
5115
5116 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
5117
28e72501
MK
51182012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
5119 Joseph Myers <joseph@codesourcery.com>
5120 Paul Pluzhnikov <ppluzhnikov@google.com>
5121
5122 [BZ #14012]
5123 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
5124 requiring rpcgen.
5125 [cross-compiling] (extra-libs): Likewise.
5126 [cross-compiling] (extra-libs-others): Likewise.
5127 [cross-compiling] (librpcsvc-routines): Likewise.
5128 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
5129 [cross-compiling] (omit-deps): Likewise.
5130 (sunrpc-CPPFLAGS): New variable.
5131 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
5132 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
5133 (cross-rpcgen-objs): New variable.
5134 (extra-objs): Append $(cross-rpcgen-objs).
5135 ($(cross-rpcgen-objs)): New rule.
5136 ($(objpfx)cross-rpcgen): Likewise.
5137 (rpcgen-cmd): Define to use $(built-program-file). Expand
5138 comment.
5139 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
5140 ($(objpfx)x%.stmp): Likewise.
5141 * sunrpc/proto.h [IS_IN_build] (_): Define.
5142 [IS_IN_build] (_libc_intl_domainname): Likewise.
5143
c8c59454
L
51442012-05-10 H.J. Lu <hongjiu.lu@intel.com>
5145
5146 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
5147 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
5148 and R_X86_64_TPOFF64.
5149
6f27cd16
JM
51502012-05-10 Joseph Myers <joseph@codesourcery.com>
5151
5152 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
5153 sysdeps/unix/sysv/syscalls.list.
5154 (stime): Likewise.
5155 (utime): Likewise.
5156 * sysdeps/unix/sysv/syscalls.list: Remove file.
5157
02467e1c
PE
51582012-05-10 Paul Eggert <eggert@cs.ucla.edu>
5159
5160 [BZ #3440]
5161 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
5162 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
5163 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
5164 (__LC_IDENTIFICATION): Make these macros useful in #if
5165 expressions, as required by C99.
5166
da392631
AS
51672012-05-10 Andreas Schwab <schwab@linux-m68k.org>
5168
5169 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
5170 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
5171 after this.
5172
8115f29b
L
51732012-05-09 H.J. Lu <hongjiu.lu@intel.com>
5174
5175 * stdlib/longlong.h: Updated from GCC.
5176
bdd74070
AJ
51772012-05-09 Andreas Jaeger <aj@suse.de>
5178
edfe0dbe
AJ
5179 * nscd/nscd.c (run_modes): Make named enum, reorder so that
5180 default is first entry.
5181 (run_mode): Set type.
5182 (main): Remove informal message about syslog.
5183 (options): Fix typo.
5184
bcfe3a54
ST
5185 [BZ #14053]
5186 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 5187 to asm.
bcfe3a54
ST
5188 (lrint): Likewise.
5189 (llrintf): Likewise.
5190 (llrint): Likewise.
5191 (rint): Likewise.
5192 (rintf): Likewise.
5193 (nearbyint): Likewise.
5194 (nearbyintf): Likewise.
bdd74070 5195
91d8d69e
AJ
51962012-05-09 Andreas Jaeger <aj@suse.de>
5197 Pedro Alves <palves@redhat.com>
5198
5199 * nscd/nscd.c (run_mode): Use enum.
5200 (main): Cleanup coding style issue.
5201
bb90b80b
AJ
52022012-05-09 Alexandre Oliva <aoliva@redhat.com>
5203 Andreas Jaeger <aj@suse.de>
5204
bcfe3a54
ST
5205 * nscd/nscd.c (go_background): Replaced with...
5206 (run_mode): ... this.
bb90b80b 5207 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
5208 (options): Add -F --foreground.
5209 (main): Implement it.
5210 (parse_opt): Parse it.
bb90b80b 5211
1a4b75a1
AJ
52122012-05-09 Andreas Jaeger <aj@suse.de>
5213
5214 [BZ #14083]
5215 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
5216 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
5217 -Wconversion warning.
5218 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
5219 Likewise.
5220
b1cc2472
JM
52212012-05-09 Joseph Myers <joseph@codesourcery.com>
5222
5223 * conform/data/locale.h-data (NULL): Use macro-constant. Require
5224 == 0.
5225 (LC_ALL): Use macro-int-constant.
5226 (LC_COLLATE): Likewise.
5227 (LC_CTYPE): Likewise.
5228 (LC_MESSAGES): Likewise.
5229 (LC_MONETARY): Likewise.
5230 (LC_NUMERIC): Likewise.
5231 (LC_TIME): Likewise.
5232 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
5233 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
5234 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5235 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
5236 Specify type.
5237 [C99-based standards] (float_t): Expect type.
5238 [C99-based standards] (double_t): Expect type.
5239 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
5240 type.
5241 [C99-based standards] (HUGE_VALL): Likewise.
5242 [C99-based standards] (INFINITY): Likewise.
5243 [C99-based standards] (NAN): Likewise.
5244 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
5245 [C99-based standards] (FP_NAN): Likewise.
5246 [C99-based standards] (FP_NORMAL): Likewise.
5247 [C99-based standards] (FP_SUBNORMAL): Likewise.
5248 [C99-based standards] (FP_ZERO): Likewise.
5249 [C99-based standards] (FP_FAST_FMA): Use
5250 optional-macro-int-constant. Specify type. Require == 1.
5251 [C99-based standards] (FP_FAST_FMAF): Likewise.
5252 [C99-based standards] (FP_FAST_FMAL): Likewise.
5253 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
5254 [C99-based standards] (FP_ILOGBNAN): Likewise.
5255 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
5256 Specify type.
5257 [C99-based standards] (MATH_ERREXCEPT): Likewise.
5258 [C99-based standards] (math_errhandling): Specify type.
5259 [ISO99 || ISO11] (signgam): Do not allow.
5260 [non-C99-based standards] (copysignf): Do not allow.
5261 [non-C99-based standards] (exp2f): Likewise.
5262 [non-C99-based standards] (log2f): Likewise.
5263 [non-C99-based standards] (modff): Allow.
5264 [non-C99-based standards] (erff): Do not allow.
5265 [non-C99-based standards] (erfcf): Likewise.
5266 [non-C99-based standards] (gammaf): Likewise.
5267 [non-C99-based standards] (hypotf): Likewise.
5268 [non-C99-based standards] (j0f): Likewise.
5269 [non-C99-based standards] (j1f): Likewise.
5270 [non-C99-based standards] (jnf): Likewise.
5271 [non-C99-based standards] (lgammaf): Likewise.
5272 [non-C99-based standards] (tgammaf): Likewise.
5273 [non-C99-based standards] (y0f): Likewise.
5274 [non-C99-based standards] (y1f): Likewise.
5275 [non-C99-based standards] (ynf): Likewise.
5276 [non-C99-based standards] (isnanf): Likewise.
5277 [non-C99-based standards] (acoshf): Likewise.
5278 [non-C99-based standards] (asinhf): Likewise.
5279 [non-C99-based standards] (atanhf): Likewise.
5280 [non-C99-based standards] (cbrtf): Likewise.
5281 [non-C99-based standards] (expm1f): Likewise.
5282 [non-C99-based standards] (ilogbf): Likewise.
5283 [non-C99-based standards] (log1pf): Likewise.
5284 [non-C99-based standards] (logbf): Likewise.
5285 [non-C99-based standards] (nextafterf): Likewise.
5286 [non-C99-based standards] (remainderf): Likewise.
5287 [non-C99-based standards] (rintf): Likewise.
5288 [non-C99-based standards] (scalbf): Likewise.
5289 [non-C99-based standards] (copysignl): Likewise.
5290 [non-C99-based standards] (exp2l): Likewise.
5291 [non-C99-based standards] (log2l): Likewise.
5292 [non-C99-based standards] (modfl): Allow.
5293 [non-C99-based standards] (erfl): Do not allow.
5294 [non-C99-based standards] (erfcl): Likewise.
5295 [non-C99-based standards] (gammal): Likewise.
5296 [non-C99-based standards] (hypotl): Likewise.
5297 [non-C99-based standards] (j0l): Likewise.
5298 [non-C99-based standards] (j1l): Likewise.
5299 [non-C99-based standards] (jnl): Likewise.
5300 [non-C99-based standards] (lgammal): Likewise.
5301 [non-C99-based standards] (tgammal): Likewise.
5302 [non-C99-based standards] (y0l): Likewise.
5303 [non-C99-based standards] (y1l): Likewise.
5304 [non-C99-based standards] (ynl): Likewise.
5305 [non-C99-based standards] (isnanl): Likewise.
5306 [non-C99-based standards] (acoshl): Likewise.
5307 [non-C99-based standards] (asinhl): Likewise.
5308 [non-C99-based standards] (atanhl): Likewise.
5309 [non-C99-based standards] (cbrtl): Likewise.
5310 [non-C99-based standards] (expm1l): Likewise.
5311 [non-C99-based standards] (ilogbl): Likewise.
5312 [non-C99-based standards] (log1pl): Likewise.
5313 [non-C99-based standards] (logbl): Likewise.
5314 [non-C99-based standards] (nextafterl): Likewise.
5315 [non-C99-based standards] (remainderl): Likewise.
5316 [non-C99-based standards] (rintl): Likewise.
5317 [non-C99-based standards] (scalbl): Likewise.
5318 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5319 [non-C99-based standards] (FP_*): Do not allow.
5320 [C99-based standards] (FP_*): Change to
5321 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
5322 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
5323 allow.
5324 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
5325 (SIG_ERR): Likewise.
5326 [X/Open-based standards] (SIG_HOLD): Likewise.
5327 (SIG_IGN): Likewise.
5328 (SIGABRT): Use macro-int-constant. Specify type. Require
5329 positive value.
5330 (SIGFPE): Likewise.
5331 (SIGILL): Likewise.
5332 (SIGINT): Likewise.
5333 (SIGSEGV): Likewise.
5334 (SIGTER): Likewise.
5335 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
5336 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
5337 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
5338 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
5339 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
5340 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
5341 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
5342 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
5343 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
5344 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
5345 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
5346 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
5347 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
5348 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
5349 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
5350 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
5351 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
5352 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
5353 [X/Open-based standards] (SIGTRAP): Likewise.
5354 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
5355 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
5356 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
5357 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
5358 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
5359 allow.
5360
b9f1922d
IW
53612012-05-08 Ian Wienand <ianw@vmware.com>
5362
5363 [BZ #14080]
5364 * time/tzset.c (__tzset_parse_tz): Update default rules for
5365 daylight time changes in the Energy Policy Act of 2005.
5366
1db86e88
AJ
53672012-05-09 Andreas Jaeger <aj@suse.de>
5368
5369 [BZ #13983]
5370 * elf/ldconfig.c (parse_conf): Change string to make clear that
5371 ldconfig only issued a warning if ld.so.conf does not exist.
5372
dee4a4e3
DM
53732012-05-08 David S. Miller <davem@davemloft.net>
5374
ee0db190
DM
5375 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
5376 movxtod instead of popping the value on the stack.
5377
dee4a4e3
DM
5378 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5379
6a43ec98
CD
53802012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
5381
5382 * config.h.in: Add HAVE_ARM_PCS_VFP.
5383
05c2c961
RMG
53842012-05-08 Roland Mc Grath <roland@hack.frob.com>
5385
bcfe3a54
ST
5386 [BZ #13979]
5387 * include/features.h: Warn if user requests __FORTIFY_SOURCE
5388 checking but the checks are disabled for any reason.
05c2c961 5389
4b30f61a
L
53902012-05-08 H.J. Lu <hongjiu.lu@intel.com>
5391
5392 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
5393 and ELF64_R_TYPE with ELFW(R_TYPE).
5394
eee2bc67
JM
53952012-05-08 Joseph Myers <joseph@codesourcery.com>
5396
7ea5391a
JM
5397 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
5398 (ulimit): Likewise.
5399
eee2bc67
JM
5400 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
5401 (settimeofday): Likewise.
5402
abb66a67
MF
54032012-05-08 Mike Frysinger <vapier@gentoo.org>
5404
5405 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
5406 a struct th_u2 inside the union, and move tu_block/tu_code into
5407 a new th_u3 union of tu_block/tu_code inside of that. Move
5408 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
5409 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
5410 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
5411 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
5412 (th_stuff): Change to th_u1.tu_stuff.
5413 (th_data): Define.
5414 (th_msg): Change to th_u1.th_u2.tu_data.
5415
7f18b530
DM
54162012-05-07 David S. Miller <davem@davemloft.net>
5417
05760585
DM
5418 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5419
7f18b530
DM
5420 [BZ #14074]
5421 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
5422 (SETUP_PIC_REG): Use it.
5423 (SETUP_PIC_REG_LEAF): Use it.
5424
495fd99f
JM
54252012-05-07 Joseph Myers <joseph@codesourcery.com>
5426
5427 [BZ #13885]
5428 [BZ #13923]
5429 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5430 USE_AS_EXPM1L.
5431 (EXPL_FINITE): Likewise.
5432 (FLDLOG): Likewise.
5433 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
5434 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
5435 e_expl.S.
5436 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5437 USE_AS_EXPM1L.
5438 (EXPL_FINITE): Likewise.
5439 (FLDLOG): Likewise.
5440 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
5441 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
5442 e_expl.S.
5443 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
5444 test of -max_value argument for long double.
5445 * sysdeps/i386/fpu/libm-test-ulps: Update.
5446 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5447
6693d694
DM
54482012-05-06 David S. Miller <davem@davemloft.net>
5449
5450 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
5451 quad soft-float symbols whose references which are compiler
5452 generated.
5453 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
5454
6c23e11c
JM
54552012-05-06 Joseph Myers <joseph@codesourcery.com>
5456
d8b82cad
JM
5457 [BZ #13884]
5458 [BZ #13914]
5459 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5460 USE_AS_EXP10L.
5461 (EXPL_FINITE): Likewise.
5462 (FLDLOG): Likewise.
5463 (c0): Likewise.
5464 (c1): Likewise.
5465 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
5466 Adjust comments for base varying.
5467 (__expl_finite): Change alias to EXPL_FINITE.
5468 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
5469 e_expl.S.
5470 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
5471 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
5472 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
5473 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
5474 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5475 USE_AS_EXP10L.
5476 (EXPL_FINITE): Likewise.
5477 (FLDLOG): Likewise.
5478 (c0): Likewise.
5479 (c1): Likewise.
5480 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
5481 Adjust comments for base varying.
5482 (__expl_finite): Change alias to EXPL_FINITE.
5483 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
5484 tests for bugs.
5485 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5486
6c23e11c
JM
5487 [BZ #14064]
5488 * math/libm-test.inc (check_float_internal): Correct ulp
5489 calculation for subnormal expected results.
5490
29ba805c
AJ
54912012-05-06 Andreas Jaeger <aj@suse.de>
5492
5493 * Makeconfig (+math-flags): New, set to -frounding-math.
5494 (+cflags): Add +math-flags so that all of glibc gets compiled with
5495 it.
5496
5497 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
5498
7b17aeda
JM
54992012-05-05 Joseph Myers <joseph@codesourcery.com>
5500
5779f134
JM
5501 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
5502 Disable one test.
5503
41498f4d
JM
5504 [BZ #13787]
5505 [BZ #13922]
5506 [BZ #14036]
5507 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
5508 (__ieee754_expl): Allow for and saturate large arguments.
5509 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
5510 (u_threshold): Likewise.
5511 (__exp): Call __ieee754_exp before checking for overflow and
5512 underflow.
5513 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
5514 (u_threshold): Likewise.
5515 (__expf): Call __ieee754_expf before checking for overflow and
5516 underflow.
5517 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
5518 (u_threshold): Likewise.
5519 (__expl): Call __ieee754_expl before checking for overflow and
5520 underflow.
5521 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
5522 (__ieee754_expl): Allow for and saturate large arguments.
5523 * math/libm-test.inc (exp_test): Add another test. Do not allow
5524 missing overflow exception on overflow.
5525 (expm1_test): Do not allow missing overflow exception on overflow.
5526
6698b8bf
JM
5527 * sysdeps/i386/fpu/e_expl.c: Move to ...
5528 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
5529 rather than using inline asm.
5530 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
5531 * sysdeps/x86_64/fpu/e_expl.S: Copy from
5532 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
5533
7b17aeda
JM
5534 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
5535 (nice): Likewise.
5536 (poll): Likewise.
5537 (signal): Likewise.
5538 (time): Likewise.
5539 (times): Likewise.
5540
f7c85819
JM
55412012-05-04 Joseph Myers <joseph@codesourcery.com>
5542
5543 * sysdeps/unix/syscalls.list (adjtime): Add entry from
5544 sysdeps/unix/common/syscalls.list.
5545 (fchmod): Likewise.
5546 (fchown): Likewise.
5547 (ftruncate): Likewise.
5548 (getrusage): Likewise.
5549 (gettimeofday): Likewise.
5550 (setpgid): Likewise.
5551 (setregid): Likewise.
5552 (setreuid): Likewise.
5553 (sigaction): Likewise.
5554 (truncate): Likewise.
5555 (vhangup): Likewise.
5556 * sysdeps/unix/common/syscalls.list: Remove file.
5557 * sysdeps/unix/bsd/Implies: Don't include unix/common.
5558 * sysdeps/unix/sysv/linux/Implies: Likewise.
5559
336270d0
L
55602012-05-04 H.J. Lu <hongjiu.lu@intel.com>
5561
5562 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
5563 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
5564 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
5565 Moved to ...
5566 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
5567 Here.
5568 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
5569 to ...
5570 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
5571 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
5572 to ...
5573 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
5574 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
5575 to ...
5576 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
5577 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
5578 to ...
5579 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
5580 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
5581 to ...
5582 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
5583 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
5584 to ...
5585 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
5586 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
5587 to ...
5588 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
5589 Here.
5590 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
5591 to ...
5592 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
5593 Here.
5594 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
5595 to ...
5596 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
5597 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
5598 Moved to ...
5599 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
5600 Here.
5601 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
5602 to ...
5603 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
5604
d128e450
JM
56052012-05-04 Joseph Myers <joseph@codesourcery.com>
5606
fa8ee516
JM
5607 * sysdeps/unix/common/bits/dirent.h: Remove file.
5608 * sysdeps/unix/common/bits/fcntl.h: Likewise.
5609
d128e450
JM
5610 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
5611 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
5612 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
5613 * sysdeps/unix/bsd/isatty.c: Likewise.
5614 * sysdeps/unix/bsd/tcdrain.c: Likewise.
5615 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
5616 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
5617
ff8faaf0 56182012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 5619
62881be4 5620 [BZ #13563]
31dc8730
AZ
5621 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
5622 long double comparison inaccuracies.
5623 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
5624 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5625
6fef930c
AS
56262012-05-04 Andreas Schwab <schwab@linux-m68k.org>
5627
5628 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
5629 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
5630
8f203e6c
JM
56312012-05-04 Joseph Myers <joseph@codesourcery.com>
5632
5633 [BZ #14049]
5634 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
5635 nonzero digits before rounding a hex value.
5636 * stdlib/tst-strtod.c (tests): Add another test.
5637
5197d9c2
AK
56382012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5639
5640 * sysdeps/s390/fpu/libm-test-ulps: Update.
5641
f0c1dedf
AJ
56422012-05-03 Andreas Jaeger <aj@suse.de>
5643
5644 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
5645 does not get optimized out.
5646 (malloc_opt_barrier): New.
5647
a65ef2ae 56482012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 5649 Roland McGrath <roland@hack.frob.com>
a65ef2ae 5650
2b942cb7 5651 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 5652 intermediate file deletion.
2b942cb7 5653 (generated): Add .symlist files.
a65ef2ae 5654
54b71e02
JM
56552012-05-03 Joseph Myers <joseph@codesourcery.com>
5656
5657 [BZ #13775]
5658 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
5659 Redirect under this condition.
5660 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
5661 [__USE_GNU] (__dprintf_chk): Not under this condition.
5662 [__USE_GNU] (__vdprintf_chk): Likewise.
5663 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
5664 under this condition.
5665 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
5666 [__USE_XOPEN2K8] (dprintf): Define under this condition.
5667 [__USE_XOPEN2K8] (vdprintf): Likewise.
5668 [__USE_GNU] (__dprintf_chk): Not under this condition.
5669 [__USE_GNU] (__vdprintf_chk): Likewise.
5670 [__USE_GNU] (dprintf): Likewise.
5671 [__USE_GNU] (vdprintf): Likewise.
5672
d3dfcc41
RM
56732012-05-03 Roland McGrath <roland@hack.frob.com>
5674
5675 * elf/Makefile (common-generated): Set this instead of generated for
5676 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
5677 $(all-built-dso)-derived lists.
5678
7ac30cc5
AJ
56792012-05-03 Andreas Jaeger <aj@suse.de>
5680
0c51e550
AJ
5681 * sysdeps/i386/fpu/libm-test-ulps: Update.
5682
7ac30cc5
AJ
5683 * FAQ: Removed.
5684 * FAQ.in: Likewise.
5685 * scripts/gen-FAQ.pl: Likewise.
5686 * manual/install.texi (Installation): Point to online location of
5687 FAQ.
5688 * Makefile (files-for-dist): Remove FAQ.
5689 (FAQ): Remove.
5690
d4c2917f
AM
56912012-05-02 Allan McRae <allan@archlinux.org>
5692
5693 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
5694 (LDFLAGS-reldepmod5.so): Likewise.
5695 (LDFLAGS-reldep6mod1.so): Likewise.
5696 (LDFLAGS-reldep6mod4.so): Likewise.
5697 (LDFLAGS-reldep8mod3.so): Likewise.
5698 (LDFLAGS-unload4mod1.so): Likewise.
5699 (LDFLAGS-unload4mod2.so): Likewise.
5700 (LDFLAGS-tst-initorder): Likewise.
5701 (LDFLAGS-tst-initordera2.so): Likewise.
5702 (LDFLAGS-tst-initordera3.so): Likewise.
5703 (LDFLAGS-tst-initordera4.so): Likewise.
5704 (LDFLAGS-tst-initorderb2.so): Likewise.
5705 (LDFLAGS-noload): Likewise.
5706 (LDFLAGS-next): Likewise.
5707 (LDFLAGS-order2mod1.so): Likewise.
5708 (LDFLAGS-order2mod2.so): Likewise.
5709 (LDFLAGS-tst-initorder2): Likewise.
5710 (LDFLAGS-tst-initorder2a.so): Likewise.
5711 (LDFLAGS-tst-initorder2b.so): Likewise.
5712 (LDFLAGS-tst-initorder2c.so): Likewise.
5713 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
5714
d77f993f
DM
57152012-05-02 David S. Miller <davem@davemloft.net>
5716
5717 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5718
171a70b4
PP
57192012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
5720
5721 [BZ #14055]
5722 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
5723
0be196ad
AJ
57242012-05-02 Andreas Jaeger <aj@suse.de>
5725
5726 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
5727 since we manipulate rounding mode.
5728 (CPPFLAGS-test-idouble.c): Likewise.
5729 (CPPFLAGS-test-ifloat.c): Likewise.
5730 (CFLAGS-test-ldouble.c): Likewise.
5731 (CFLAGS-test-double.c): Likewise.
5732 (CFLAGS-test-float.c): Likewise.
5733 (CFLAGS-test-misc.c): Likewise.
5734 (CFLAGS-test-test-fenv.c): Likewise.
5735
4f9d04aa
AZ
57362012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5737
2b942cb7
RM
5738 [BZ #2550]
5739 [BZ #2570]
5740 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
5741 comparisons to determine direction to adjust input.
4f9d04aa 5742
82a79e7d
RM
57432012-05-01 Roland McGrath <roland@hack.frob.com>
5744
f5a01ca9
RM
5745 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
5746 output to the target.
5747
90fe4186
RM
5748 * scripts/localplt.awk: New file.
5749 * elf/Makefile ($(objpfx)check-localplt): Target removed.
5750 (check-localplt-CFLAGS): Variable removed.
5751 ($(all-built-dso:=.jmprel)): New static pattern rule.
5752 (generated): Add those targets.
5753 (localplt-built-dso): New variable.
5754 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
5755
5756 * elf/check-localplt.c: File removed.
5757
82397ed6
RM
5758 * scripts/check-execstack.awk: New file.
5759 * elf/Makefile ($(objpfx)check-execstack): Target removed.
5760 (check-execstack-CFLAGS): Variable removed.
5761 ($(objpfx)check-execstack.h): Target removed.
5762 ($(objpfx)execstack-default): New target.
5763 (generated): Add that instead of check-execstack.h.
5764 ($(all-built-dso:=.phdr)): New static pattern rule.
5765 (generated): Add those targets.
5766 * elf/check-execstack.c: File removed.
5767
82a79e7d
RM
5768 * scripts/check-textrel.awk: New file.
5769 * elf/Makefile ($(objpfx)check-textrel): Target removed.
5770 (check-textrel-CFLAGS): Variable removed.
5771 (all-built-dso): Use := to define.o
5772 ($(all-built-dso:=.dyn)): New static pattern rule.
5773 (generated): Add those targets.
5774 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
5775 * config.make.in (READELF): New substituted variable.
5776 * elf/check-textrel.c: File removed.
5777
62fde54f 57782012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 5779
615605c9
JM
5780 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
5781 allow.
5782 * conform/data/ctype.h-data [C99-based standards] (isblank):
5783 Expect function.
5784 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
5785 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
5786 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5787 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
5788 Specify type. Require positive value.
5789 (EILSEQ): Likewise.
5790 (ERANGE): Likewise.
5791 [ISO || POSIX] (EILSEQ): Do not expect.
5792 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
5793 Specify type. Require positive value.
5794 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
5795 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
5796 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
5797 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
5798 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
5799 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
5800 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
5801 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
5802 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
5803 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
5804 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
5805 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
5806 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
5807 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
5808 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
5809 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
5810 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
5811 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
5812 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
5813 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
5814 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
5815 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
5816 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
5817 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
5818 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
5819 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
5820 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
5821 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
5822 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
5823 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
5824 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
5825 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
5826 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
5827 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
5828 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
5829 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
5830 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
5831 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
5832 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
5833 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
5834 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
5835 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
5836 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
5837 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
5838 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
5839 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
5840 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
5841 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
5842 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
5843 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
5844 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
5845 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
5846 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
5847 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
5848 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
5849 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
5850 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
5851 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
5852 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
5853 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
5854 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
5855 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
5856 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
5857 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
5858 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
5859 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
5860 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
5861 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
5862 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
5863 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
5864 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
5865 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
5866 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
5867 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
5868 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
5869 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
5870 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
5871 Require >= 2.
5872 (FLT_ROUNDS): Expect as macro, not constant.
5873 (FLT_MANT_DIG): Use macro-int-constant.
5874 (DBL_MANT_DIG): Likewise.
5875 (LDBL_MANT_DIG): Likewise.
5876 (FLT_DIG): Likewise.
5877 (DBL_DIG): Likewise.
5878 (LDBL_DIG): Likewise.
5879 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
5880 (DBL_MIN_EXP): Likewise.
5881 (LDBL_MIN_EXP): Likewise.
5882 (FLT_MAX_EXP): Use macro-int-constant.
5883 (DBL_MAX_EXP): Likewise.
5884 (LDBL_MAX_EXP): Likewise.
5885 (FLT_MAX_10_EXP): Likewise.
5886 (DBL_MAX_10_EXP): Likewise.
5887 (LDBL_MAX_10_EXP): Likewise.
5888 (FLT_MAX): Use macro-constant.
5889 (DBL_MAX): Likewise.
5890 (LDBL_MAX): Likewise.
5891 (FLT_EPSILON): Use macro-constant. Give upper bound.
5892 (DBL_EPSILON): Likewise.
5893 (LDBL_EPSILON): Likewise.
5894 (FLT_MIN): Likewise.
5895 (DBL_MIN): Likewise.
5896 (LDBL_MIN): Likewise.
5897 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
5898 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
5899 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
5900 [ISO11] (FLT_HAS_SUBNORM): Likewise.
5901 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
5902 [ISO11] (DBL_DECIMAL_DIG): Likewise.
5903 [ISO11] (FLT_DECIMAL_DIG): Likewise.
5904 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
5905 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
5906 [ISO11] (FLT_TRUE_MIN): Likewise.
5907 [ISO11] (LDBL_TRUE_MIN): Likewise.
5908 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5909 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
5910 (SCHAR_MIN): Use macro-int-constant. Specify type.
5911 (SCHAR_MAX): Likewise.
5912 (UCHAR_MAX): Likewise.
5913 (CHAR_MIN): Likewise.
5914 (CHAR_MAX): Likewise.
5915 (MB_LEN_MAX): Use macro-int-constant.
5916 (SHRT_MIN): Use macro-int-constant. Specify type.
5917 (SHRT_MAX): Likewise.
5918 (USHRT_MAX): Likewise.
5919 (INT_MAX): Likewise.
5920 (INT_MIN): Use macro-int-constant. Specify type. Make upper
5921 bound negative.
5922 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
5923 bound with "U".
5924 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
5925 bound with "L".
5926 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
5927 bound negative. Suffix upper bound with "L".
5928 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
5929 bound with "UL".
5930 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
5931 Specify type.
5932 [C99-based standards] (LLONG_MAX): Likewise.
5933 [C99-based standards] (ULLONG_MAX): Likewise.
5934 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
5935 == 0.
5936 [ISO11] (max_align_t): Require type.
5937 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5938
c9140a62
JM
5939 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
5940 from $CFLAGS, without defining away __attribute__ calls.
5941 (checknamespace): Use $CFLAGS_namespace.
5942
9af0bf29
JM
5943 * conform/conformtest.pl (@keywords): Only include C99 keywords
5944 for standards based on C99 or C11.
5945
343222a2
JM
5946 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
5947 Disable tests.
5948 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
5949 UNIX98]: Likewise.
5950
661f8cf0
JM
5951 * conform/conformtest.pl: Handle "macro-int-constant" and test for
5952 usability of symbols in #if.
5953
ee74b9cb
JM
5954 * conform/conformtest.pl: If macro or constant types start
5955 "promoted:", expect the symbol to be of the following type
5956 promoted by the integer promotions.
62fde54f 5957
aafc49b3
JM
5958 * conform/conformtest.pl: Parse all "constant" and "macro" lines
5959 in one place. Also handle "macro-constant".
5960
fefdf574
JM
5961 * conform/conformtest.pl: Only accept expected macro values with
5962 "==". Parse all "macro" lines in one place.
5963 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
5964
f2d922fe
JM
5965 * conform/conformtest.pl: Handle braced types on "constant" lines
5966 instead of handling "typed-constant".
5967 * conform/data/signal.h-data: Use "constant" instead of
5968 "typed-constant".
5969
d22956c9
JM
5970 * conform/conformtest.pl: Handle "optional-" at start of lines in
5971 one place rather than duplicating several cases. Handle each
5972 format of "macro" line with initial "optional-".
5973
028e2e38
JM
5974 * conform/conformtest.pl: Only accept expected constant or
5975 optional-constant values with "==". Parse all "constant" lines in
5976 one place. Parse all "optional-constant" lines in one place.
5977 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
5978 * conform/data/fmtmsg.h-data: Likewise.
5979 * conform/data/netinet/in.h-data: Likewise.
5980 * conform/data/tar.h-data: Likewise.
5981 * conform/data/limits.h-data: Use "==" form on "constant" and
5982 "optional-constant" lines.
5983
1b8f2850
JM
5984 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
5985 Use -std=c99 for XOPEN2K.
5986 (@knownproblems): Remove.
5987 (newtoken): Don't check %isknown.
5988
a05a144b
JM
5989 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
5990 Do not expect macro.
5991 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
5992 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
5993 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
5994 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
5995 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
5996 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
5997 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
5998 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
5999 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
6000 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
6001 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
6002 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
6003 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
6004 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
6005 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
6006 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
6007 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
6008 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
6009 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
6010 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
6011 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
6012 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
6013 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
6014 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
6015 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
6016 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
6017 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
6018 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
6019 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
6020 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
6021 [XPG3] (acosh): Likewise.
6022 [XPG3] (asinh): Likewise.
6023 [XPG3] (atanh): Likewise.
6024 [XPG3] (cbrt): Likewise.
6025 [XPG3] (expm1): Likewise.
6026 [XPG3] (ilogb): Likewise.
6027 [XPG3] (log1p): Likewise.
6028 [XPG3] (logb): Likewise.
6029 [XPG3] (nextafter): Likewise.
6030 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
6031 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
6032 [XPG3] (remainder): Likewise.
6033 [XPG3] (rint): Likewise.
6034 [XPG3 || XPG4 || UNIX98] (round): Likewise.
6035 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
6036 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
6037 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
6038 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
6039 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
6040 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
6041 [UNIX98 || XOPEN2K] (scalb): Expect.
6042 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
6043 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
6044 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
6045 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
6046 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
6047 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
6048 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
6049 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
6050 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
6051 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
6052 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
6053 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
6054 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
6055 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
6056 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
6057 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
6058 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
6059 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
6060 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
6061 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
6062 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
6063 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
6064 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
6065 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
6066 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
6067 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
6068 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
6069 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
6070 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
6071 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
6072 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
6073 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
6074 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
6075 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
6076 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
6077 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
6078 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
6079 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
6080 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
6081 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
6082 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
6083 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
6084 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
6085 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
6086 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
6087 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
6088 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
6089 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
6090 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
6091 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
6092 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
6093 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
6094 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
6095 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
6096 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
6097 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
6098 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
6099 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
6100 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
6101 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
6102 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
6103 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
6104 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
6105 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
6106 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
6107 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
6108 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
6109 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
6110 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
6111 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
6112 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
6113 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
6114 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
6115 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
6116 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
6117 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
6118 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
6119 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
6120 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
6121 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
6122 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
6123 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
6124 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
6125 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
6126 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
6127 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
6128 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
6129 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
6130 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
6131 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
6132 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
6133 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
6134 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
6135 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
6136 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
6137 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
6138 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
6139 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
6140 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
6141 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
6142 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
6143 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
6144 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
6145 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
6146 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
6147 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
6148 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
6149 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
6150 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
6151 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
6152 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
6153 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
6154 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
6155 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
6156 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
6157 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
6158 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
6159 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
6160 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
6161 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
6162 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
6163 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
6164 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
6165 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
6166 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
6167 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
6168 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
6169 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
6170 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
6171 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
6172 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
6173 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
6174 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
6175 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
6176 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
6177 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
6178 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
6179
73c5ebe3
JM
6180 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
6181 _XOPEN_SOURCE_EXTENDED for XPG4.
6182
39c33b6c
JM
6183 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
6184
62fde54f
JM
6185 * Makeconfig (localtime): Remove variable.
6186 (inst_localtime-file): Likewise.
6187
0741d64c
AS
61882012-05-01 Andreas Schwab <schwab@linux-m68k.org>
6189
6190 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
6191 Update.
6192 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6193 Update.
6194 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
6195 Update.
6196 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
6197 Update.
6198 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
6199 Update.
6200 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
6201 Update.
6202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6203 Update.
6204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
6205 Update.
6206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
6207 Update.
6208
7cb029ee
JM
62092012-05-01 Joseph Myers <joseph@codesourcery.com>
6210
6211 [BZ #2550]
6212 [BZ #2570]
6213 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
6214 comparisons to determine direction to adjust input.
6215 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
6216 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
6217 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
6218 Likewise.
6219 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
6220 Likewise.
6221 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
6222 Likewise.
6223 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
6224 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
6225 Likewise.
6226 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
6227 Likewise.
6228 * math/libm-test.inc (nexttoward_test): Add more tests.
6229
412bd966
AS
62302012-05-01 Andreas Schwab <schwab@linux-m68k.org>
6231
6232 [BZ #14040]
6233 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
6234 in version GLIBC_2.1, not GLIBC_2.0.
6235 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
6236 Likewise.
6237
9568c0c2
JM
62382012-04-30 Joseph Myers <joseph@codesourcery.com>
6239
adfbc8ac
JM
6240 [BZ #13942]
6241 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
6242 (1 - x) * (1 + x).
6243 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
6244 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
6245 * math/libm-test.inc (acos_test): Add more tests.
6246 (asin_test): Likewise.
6247 * sysdeps/i386/fpu/libm-test-ulps: Update.
6248 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6249
5ba3cc69
JM
6250 [BZ #14034]
6251 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
6252 of square root.
6253 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
6254 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
6255 * math/libm-test.inc (acos_test_tonearest): New function.
6256 (acos_test_towardzero): Likewise.
6257 (acos_test_downward): Likewise.
6258 (acos_test_upward): Likewise.
6259 (asin_test_tonearest): Likewise.
6260 (asin_test_towardzero): Likewise.
6261 (asin_test_downward): Likewise.
6262 (asin_test_upward): Likewise.
6263 (main): Call the new functions.
6264 * sysdeps/i386/fpu/libm-test-ulps: Update.
6265 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6266
9568c0c2
JM
6267 [BZ #13884]
6268 [BZ #13924]
6269 * math/e_exp10.c: Include <float.h>.
6270 (__ieee754_exp10): Handle underflow here rather than multiplying
6271 large negative argument by M_LN10.
6272 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
6273 of __ieee754_expf.
6274 * math/e_exp10l.c: Include <float.h>.
6275 (__ieee754_exp10l): Handle underflow here rather than multiplying
6276 large negative argument by M_LN10l.
6277 * math/libm-test.inc (exp10_test): Add another test. Do not allow
6278 spurious overflow exception on underflow.
6279
5ac3ea17
MP
62802012-04-29 Marek Polacek <polacek@redhat.com>
6281
6282 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
6283 (__fortify_function): New macro.
6284 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
6285 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
6286 __extern_always_inline.
6287 * libio/bits/stdio2.h: Likewise.
6288 * libio/bits/stdio.h: Likewise.
6289 * string/string.h: Likewise.
6290 * string/bits/string3.h: Likewise.
6291 * include/stdio.h: Likewise.
6292 * stdlib/bits/stdlib.h: Likewise.
6293 * stdlib/stdlib.h: Likewise.
6294 * rt/bits/mqueue2.h: Likewise.
6295 * rt/mqueue.h: Likewise.
6296 * posix/bits/unistd.h: Likewise.
6297 * posix/unistd.h: Likewise.
6298 * io/bits/poll2.h: Likewise.
6299 * io/bits/fcntl2.h: Likewise.
6300 * io/fcntl.h: Likewise.
6301 * io/sys/poll.h: Likewise.
6302 * misc/bits/syslog.h: Likewise.
6303 * misc/bits/syslog-ldbl.h: Likewise.
6304 * misc/sys/syslog.h: Likewise.
6305 * socket/bits/socket2.h: Likewise.
6306 * socket/sys/socket.h: Likewise.
6307 * debug/tst-chk1.c: Likewise.
6308 * wcsmbs/bits/wchar2.h: Likewise.
6309 * wcsmbs/bits/wchar-ldbl.h: Likewise.
6310 * wcsmbs/wchar.h: Likewise.
6311
ecf0ebfb
AJ
63122012-04-29 Andreas Jaeger <aj@suse.de>
6313
6314 * Makerules (tests): Remove enable-check-abi protection.
6315 (check-abi-warn): Remove.
6316 (check-abi-%): Remove check-abi-warn usage.
6317
6318 * configure.in: Remove check-abi configure option.
6319 * configure: Regenerated.
6320 * config.make.in (enable-check-abi): Remove.
6321
6d5c57fa
AS
63222012-04-28 Andreas Schwab <schwab@linux-m68k.org>
6323
24c5d07e 6324 [BZ #14033]
ded5180a
AS
6325 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
6326 double functions to double *_finite functions.
6327
7e0d315d
AS
6328 [BZ #13941]
6329 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
6330 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
6331 LDBL_MIN_EXP.
6332 * stdio-common/Makefile (tests): Add tst-sprintf3.
6333 * stdio-common/tst-sprintf3.c: New file.
6334
6d5c57fa
AS
6335 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
6336 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
6337
0749ff8b
JM
63382012-04-28 Joseph Myers <joseph@codesourcery.com>
6339
6340 * conform/conformtest.pl: Remove duplicate typed-constant
6341 handling.
6342
8dbd5d7b
DM
63432012-04-28 David S. Miller <davem@davemloft.net>
6344
6345 * Makerules (%.abilist): Add vpath on sysdep_dirs.
6346 (check-abi-%): Remove AWK script prerequisite and explicit
6347 abilist directory.
6348 (check-abi): Rewrite to just diff the symlist with the abilist.
6349 (config-tls, config-abi-config): Delete, no longer used.
6350 (update-abi-%): Remove AWK script and explicit abilist directory.
6351 (update-abi): Rewrite to simply compare and conditionally copy the
6352 symlist and the sysdep abilist file. Remove update-abi-config
6353 checks.
6354 * abilist/ld.abilist: Remove.
6355 * abilist/libBrokenLocale.abilist: Remove.
6356 * abilist/libanl.abilist: Remove.
6357 * abilist/libcrypt.abilist: Remove.
6358 * abilist/libdl.abilist: Remove.
6359 * abilist/librt.abilist: Remove.
6360 * abilist/libthread_db.abilist: Remove.
6361 * abilist/libutil.abilist: Remove.
6362 * scripts/extract-abilist.awk: Remove.
6363 * scripts/merge-abilist.awk: Remove.
6364 * sysdeps/generic/libcidn.abilist: New file.
6365 * sysdeps/generic/libnss_compat.abilist: New file.
6366 * sysdeps/generic/libnss_db.abilist: New file.
6367 * sysdeps/generic/libnss_dns.abilist: New file.
6368 * sysdeps/generic/libnss_files.abilist: New file.
6369 * sysdeps/generic/libnss_hesiod.abilist: New file.
6370 * sysdeps/generic/libnss_nis.abilist: New file.
6371 * sysdeps/generic/libnss_nisplus.abilist: New file.
6372 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
6373 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
6374 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
6375 file.
6376 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
6377 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
6378 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
6379 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
6380 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
6381 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
6382 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
6383 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
6384 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
6385 file.
6386 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
6387 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
6388 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
6389 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
6390 file.
6391 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
6392 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
6393 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
6394 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
6395 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
6396 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
6397 file.
6398 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
6399 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
6400 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
6401 file.
6402 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
6403 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
6404 New file.
6405 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
6406 New file.
6407 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
6408 New file.
6409 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
6410 New file.
6411 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
6412 New file.
6413 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
6414 New file.
6415 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
6416 New file.
6417 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
6418 New file.
6419 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
6420 New file.
6421 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
6422 New file.
6423 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
6424 New file.
6425 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
6426 New file.
6427 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
6428 New file.
6429 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
6430 file.
6431 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
6432 New file.
6433 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
6434 New file.
6435 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
6436 file.
6437 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
6438 New file.
6439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
6440 New file.
6441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
6442 file.
6443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
6444 New file.
6445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
6446 New file.
6447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
6448 New file.
6449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
6450 New file.
6451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
6452 New file.
6453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
6454 New file.
6455 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
6456 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
6457 file.
6458 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
6459 New file.
6460 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
6461 file.
6462 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
6463 file.
6464 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
6465 file.
6466 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
6467 file.
6468 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
6469 file.
6470 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6471 New file.
6472 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
6473 file.
6474 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
6475 file.
6476 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
6477 New file.
6478 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
6479 file.
6480 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
6481 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
6482 file.
6483 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
6484 New file.
6485 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
6486 file.
6487 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
6488 file.
6489 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
6490 file.
6491 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
6492 file.
6493 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
6494 file.
6495 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6496 New file.
6497 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
6498 file.
6499 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
6500 file.
6501 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
6502 New file.
6503 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
6504 file.
6505 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
6506 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
6507 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
6508 file.
6509 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
6510 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
6511 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
6512 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
6513 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
6514 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
6515 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
6516 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
6517 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
6518 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
6519 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
6520 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
6521 file.
6522 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
6523 New file.
6524 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
6525 file.
6526 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
6527 file.
6528 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
6529 file.
6530 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
6531 file.
6532 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
6533 file.
6534 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
6535 New file.
6536 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
6537 New file.
6538 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
6539 file.
6540 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
6541 New file.
6542 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
6543 file.
6544 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
6545 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
6546 file.
6547 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
6548 New file.
6549 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
6550 file.
6551 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
6552 file.
6553 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
6554 file.
6555 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
6556 file.
6557 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
6558 file.
6559 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
6560 New file.
6561 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
6562 New file.
6563 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
6564 file.
6565 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
6566 New file.
6567 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
6568 file.
6569
41d73a1b
JM
65702012-04-28 Joseph Myers <joseph@codesourcery.com>
6571
6572 * conform/conformtest.pl: Fix typo in handling typed-constant from
6573 allow-header.
6574
28aeeda4
JM
65752012-04-27 Joseph Myers <joseph@codesourcery.com>
6576
adae8f5e
JM
6577 * README: Cut down references to pre-2.6 Linux kernels and
6578 Linuxthreads. Update lists of configurations in libc and ports
6579 and sort alphabetically. Say "or newer" with Linux kernel version
6580 requirements.
6581
28aeeda4
JM
6582 * config.h.in [IS_IN_build]: Allow compiling without optimization.
6583
a462cb63
RA
65842012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6585
6586 [BZ #887]
6587 * math/libm-test.inc (logb_test_downward): New test to expose
6588 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
6589 rounding mode.
6590
6ad3493e
JM
65912012-04-27 Joseph Myers <joseph@codesourcery.com>
6592
6593 [BZ #14027]
6594 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
6595 to be done.
6596 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
6597 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
6598
2ce4f015
JM
65992012-04-26 Joseph Myers <joseph@codesourcery.com>
6600
5aeb141a
JM
6601 * sysdeps/unix/i386/brk.S: Remove file.
6602 * sysdeps/unix/i386/dl-brk.S: Likewise.
6603 * sysdeps/unix/i386/pipe.S: Likewise.
6604 * sysdeps/unix/i386/sigreturn.S: Likewise.
6605 * sysdeps/unix/i386/syscall.S: Likewise.
6606 * sysdeps/unix/i386/vfork.S: Likewise.
6607 * sysdeps/unix/i386/wait.S: Likewise.
6608
7143acae
JM
6609 * sysdeps/unix/common/tcsendbrk.c: Move to ...
6610 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
6611
2ce4f015
JM
6612 * configure.in (arm*-none*): Do not allow without
6613 --enable-hacker-mode.
6614 (netbsd*): Remove case setting base_os.
6615 (386bsd*): Likewise.
6616 (freebsd*): Likewise.
6617 (bsdi*): Likewise.
6618 (osf*): Likewise.
6619 (sunos*): Likewise.
6620 (ultrix*): Likewise.
6621 (newsos*): Likewise.
6622 (dynix*): Likewise.
6623 (*bsd*): Likewise.
6624 (sysv*): Likewise.
6625 (isc*): Likewise.
6626 (esix*): Likewise.
6627 (sco*): Likewise.
6628 (minix*): Likewise.
6629 (irix4*): Likewise.
6630 (irix6*): Likewise.
6631 (solaris[2-9]*): Likewise.
6632 (none): Likewise.
6633 * configure: Regenerated.
6634
0ac229c8
AZ
66352012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6636
6637 [BZ #11521]
6638 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
6639 overflow or cancellation in calculating denominator.
6640 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
6641 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
6642 down expression to avoid unexpected rounding in newer GCCs.
6643 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
6644
33f244f4
DM
66452012-04-26 David S. Miller <davem@davemloft.net>
6646
6647 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
6648 long-double compat symbols.
6649 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
6650 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
6651 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
6652 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
6653 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
6654 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
6655 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
6656 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
6657 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
6658 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
6659 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
6660 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
6661 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
6662
cfa1f3e8
DM
66632012-04-25 David S. Miller <davem@davemloft.net>
6664
6665 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
6666 HWCAP_* values only after the memory barriers have been defined.
6667 (atomic_full_barrier): Define.
6668 (atomic_read_barrier): Define.
6669 (atomic_write_barrier): Define.
6670
6e236b92
SP
66712012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6672
6673 * shlib-versions: Add libgcc_s version information.
6674 * sysdeps/generic/libgcc_s.h: Remove.
6675 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
6676 libgcc_s.h.
6677 * sysdeps/gnu/unwind-resume.c: Likewise.
6678 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
6679
aab39a09
DM
66802012-04-25 David S. Miller <davem@davemloft.net>
6681
6682 * sysdeps/unix/sparc/brk.S: Delete.
6683 * sysdeps/unix/sparc/dl-brk.S: Delete.
6684 * sysdeps/unix/sparc/pipe.S: Delete.
6685 * sysdeps/unix/sparc/sysdep.S: Delete.
6686 * sysdeps/unix/sparc/sysdep.h: Delete.
6687 * sysdeps/unix/sparc/vfork.S: Delete.
6688 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
6689 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
6690 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
6691 ret_ERRVAL, r0, r1, MOVE): Define.
6692 (JUMPTARGET): Remove.
6693 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
6694 sysdeps/unix/sparc/sysdep.h
6695 (ENTRY, END): Remove.
6696 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6697
a3cc4f48
JM
66982012-04-25 Joseph Myers <joseph@codesourcery.com>
6699
2ed8cda2
JM
6700 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
6701 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
6702 -DIS_IN_build.
6703
35d76d59
JM
6704 * timezone/README: Update upstream location and email address for
6705 tzcode and tzdata.
6706 * timezone/zdump.c: Update from tzcode 2012b.
6707 * timezone/zic.c: Likewise.
6708
a3cc4f48
JM
6709 * configure.in (libc_cv_as_needed): Remove test.
6710 * configure: Regenerated.
6711 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
6712 conditional definition.
6713 [$(have-as-needed) != yes] (no-as-needed): Likewise.
6714 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
6715 * config.make.in (have-as-needed): Remove variable.
6716
ceab42c3
SP
67172012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
6718 Paul Pluzhnikov <ppluzhnikov@google.com>
6719
6720 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
6721 strings correctly.
6722
3ce2865f
CLT
67232012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
6724
6725 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
6726 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
6727 * sysdeps/sh/strlen.S: Likewise.
6728
f37e0d68
JM
67292012-04-24 Joseph Myers <joseph@codesourcery.com>
6730
ae186e9a
JM
6731 * sysdeps/unix/fork.S: Remove file.
6732 * sysdeps/unix/i386/fork.S: Likewise.
6733 * sysdeps/unix/sparc/fork.S: Likewise.
6734
b96914af
JM
6735 * sysdeps/unix/system.c: Remove file.
6736 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
6737
f37e0d68
JM
6738 * sysdeps/unix/getegid.S: Remove file.
6739 * sysdeps/unix/geteuid.S: Likewise.
6740
87ef29ca
RM
67412012-04-24 Roland McGrath <roland@hack.frob.com>
6742
83bcd236
RM
6743 * scripts/check-localplt.awk: New file.
6744 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
6745 of diff.
6746 * scripts/data/localplt-generic.data: Add a comment.
6747
87ef29ca
RM
6748 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
6749 NODE when __dir_mkfile failed.
6750 * sysdeps/mach/hurd/symlinkat.c: Likewise.
6751 Reported by Ludovic Courtès <ludo@gnu.org>.
6752
e5a6e567
AJ
67532012-04-24 Andreas Jaeger <aj@suse.de>
6754
6755 * Makerules (common-clean): Also remove gen-as-const-headers
6756 files.
6757
c1820385
JM
67582012-04-24 Joseph Myers <joseph@codesourcery.com>
6759
6760 * Makerules (native-compile): Do not change working directory for
6761 build. Use $(OUTPUT_OPTION) in command.
6762 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
6763
94e02fc4
AZ
67642012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6765
6766 [BZ #13886]
6767 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
6768 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
6769 * math/libm-test.inc (floor_test): Add more tests.
6770 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
6771
3a533ca3
JM
67722012-04-24 Joseph Myers <joseph@codesourcery.com>
6773
940ab4b3
JM
6774 * sysdeps/unix/getdents.c: Remove file.
6775 * sysdeps/unix/sysv/getdents.c: Likewise.
6776 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
6777
90e037bd
JM
6778 * sysdeps/unix/syscalls.list (madvise): Add syscall from
6779 sysdeps/unix/mman/syscalls.list.
6780 (mmap): Likewise.
6781 (mprotect): Likewise.
6782 (msync): Likewise.
6783 (munmap): Likewise.
6784 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
6785 * sysdeps/unix/mman/syscalls.list: Remove.
6786 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
6787
3a533ca3
JM
6788 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
6789 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
6790 * configure: Regenerated.
6791 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
6792 $(libgcc_s_suffix).
6793 * config.make.in (libgcc_s_suffix): Remove variable.
6794
1ad743de
JM
67952012-04-23 Joseph Myers <joseph@codesourcery.com>
6796
4ad451e2
JM
6797 * sysdeps/unix/sysv/gethostname.c: Move to ...
6798 * sysdeps/posix/gethostname.c: ... here.
6799
5e37ce39
JM
6800 * sysdeps/unix/execve.S: Remove file.
6801
1ad743de
JM
6802 * sysdeps/unix/_exit.S: Remove file.
6803
4e681b5b
AJ
68042012-04-23 Andreas Jaeger <aj@suse.de>
6805
6806 [BZ #13739]
6807 * manual/Makefile: Remove make dist support, there's no
6808 need for a stand-alone documentation tar ball.
6809 (TEXI2DVI): Define always, it's not in Makeconfig.
6810 (dist): Removed.
6811 (tar-it): Removed.
6812 (edition): Removed.
6813 (glibc-doc-$(edition).tar): Removed
6814 (%.Z): Removed.
6815 (%.gz): Removed.
6816 (%.uu): Removed.
6817 (ETAGS): Remove, it's in Makeconfig.
6818 (move-if-change): Remove, it's in Makeconfig.
6819
c0baea34
PE
68202013-04-23 Paul Eggert <eggert@cs.ucla.edu>
6821
6822 [BZ #13970]
6823 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
6824 (strtod, strtof, strtold, strtol, strtoul, strtoq)
6825 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
6826 (strtod_l, strtof_l, strtold_l): Remove __wur.
6827 It is not necessarily an error to ignore strtol's return value.
6828 One can reliably look at the stored endptr to decide whether
6829 the number had valid syntax.
6830
7c0616fa
AJ
68312012-04-21 Andreas Jaeger <aj@suse.de>
6832
803cb6b7 6833 [BZ #13739]
7c0616fa
AJ
6834 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
6835
b0fe253f
JM
68362012-04-21 Joseph Myers <joseph@codesourcery.com>
6837
6838 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
6839 * sysdeps/unix/sysv/Versions: Remove file.
6840
8280f22d
MT
68412012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
6842
6843 [BZ #13927]
6844 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6845
75ce411f 68462012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
6847
6848 [BZ #7064]
6849 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
6850 version from __vm86.
6851
097d59fa
JM
68522012-04-20 Joseph Myers <joseph@codesourcery.com>
6853
a90f3bcb
JM
6854 * sysdeps/unix/common/lxstat.c: Remove file.
6855 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
6856
edc7ea78
JM
6857 * sysdeps/unix/sysv/Makefile: Remove file.
6858
cb78c221
JM
6859 * sysdeps/unix/sysv/direct.h: Remove file.
6860
efa6a45f
JM
6861 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
6862 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
6863 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
6864 * sysdeps/unix/sysv/bits/signum.h: Likewise.
6865 * sysdeps/unix/sysv/bits/stat.h: Likewise.
6866 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
6867 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
6868
9c9f2d0c
JM
6869 * sysdeps/unix/sysv/setrlimit.c: Remove file.
6870
4541c83b
JM
6871 * sysdeps/unix/xmknod.c: Remove file.
6872 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
6873
f5d153a0
JM
6874 * sysdeps/unix/sysv/settimeofday.c: Remove file.
6875
aa746595
JM
6876 * sysdeps/unix/sysv/i386/time.S: Remove file.
6877
cce5905e
JM
6878 * sysdeps/unix/fxstat.c: Remove file.
6879 * sysdeps/unix/xstat.c: Likewise.
6880 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
6881
37fa3841
JM
6882 * sysdeps/unix/sysv/sigaction.c: Remove file.
6883
ff1962a3
JM
6884 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
6885 (sysdep_headers): Remove variable.
6886 [termio.h not in sysdep_headers] (generated): Likewise.
6887 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
6888 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
6889 * sysdeps/unix/sysv/tcdrain.c: Likewise.
6890 * sysdeps/unix/sysv/tcflow.c: Likewise.
6891 * sysdeps/unix/sysv/tcflush.c: Likewise.
6892 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
6893 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
6894 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
6895 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
6896 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
6897
e7740d31
JM
6898 * sysdeps/unix/siglist.c: Remove file.
6899
ee06f18b
JM
6900 * sysdeps/unix/getppid.S: Remove file.
6901
097d59fa
JM
6902 * sysdeps/unix/mkdir.c: Remove file.
6903 * sysdeps/unix/rmdir.c: Likewise.
6904
ff3d51ec
AS
69052012-04-19 Andreas Schwab <schwab@linux-m68k.org>
6906
6907 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
6908 ERR_MAX value.
6909 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
6910 errlist-compat value.
6911
50f81fd7
DM
69122012-04-18 David S. Miller <davem@davemloft.net>
6913
6914 * sysdeps/generic/memcopy.h (reg_char): Delete.
6915 * debug/strcat_chk.c: Use char, not reg_char.
6916 * debug/strcpy_chk.c: Likewise.
6917 * debug/strncat_chk.c: Likewise.
6918 * debug/strncpy_chk.c: Likewise.
6919 * string/memchr.c: Likewise.
6920 * string/memrchr.c: Likewise.
6921 * string/rawmemchr.c: Likewise.
6922 * string/strcat.c: Likewise.
6923 * string/strchr.c: Likewise.
6924 * string/strchrnul.c: Likewise.
6925 * string/strcmp.c: Likewise.
6926 * string/strcpy.c: Likewise.
6927 * string/strncat.c: Likewise.
6928 * string/strncmp.c: Likewise.
6929 * string/strncpy.c: Likewise.
6930
8ff41c46
WS
69312012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
6932
6933 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
6934 __builtin_memcopy is called when src and dest ranges are known to not
6935 overlap.
6936
6b652f46
WS
69372012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
6938
6939 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
6940 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
6941 fwd_align_merge macro call.
6942 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
6943 bwd_align_merge macro call.
6944 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
6945
b282631e
WS
69462012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
6947
6948 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
6949 bwd_align_merge macros.
6950 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
6951 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
6952 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
6953
95aa737c
DM
69542012-04-18 David S. Miller <davem@davemloft.net>
6955
6956 * sysdeps/sparc/sparc64/memcopy.h: Delete.
6957
7a99a614
AJ
69582012-04-18 Andreas Jaeger <aj@suse.de>
6959
6960 [BZ# 6794]
6961 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
6962 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
6963 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
6964
6965 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
6966 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
6967 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
6968
6969 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
6970 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
6971 Adjust for changed ldbl-128 files.
6972
6973 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
6974 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
6975 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
6976
e5270c23
DM
69772012-04-17 David S. Miller <davem@davemloft.net>
6978
6979 * sysdeps/sparc/sparc32/memcopy.h: Delete.
6980
fb5e92c9
AS
69812012-04-17 Andreas Schwab <schwab@linux-m68k.org>
6982
6983 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
6984 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
6985 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
6986 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
6987 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
6988 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
6989
76da7265
AZ
69902012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6991
6992 [BZ #6794]
6993 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
6994 * math/libm-test.inc: Add ilogb errno and exception tests.
6995 * math/w_ilogb.c: New file: ilogb wrapper.
6996 * math/w_ilogbf.c: New file: ilogbf wrapper.
6997 * math/w_ilogbl.c: New file: ilogbl wrapper.
6998 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
6999 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
7000 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
7001 exception being thrown with 0.0 as argument.
7002 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
7003 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
7004 exception being thrown with 0.0 as argument.
7005 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
7006 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
7007 exception being thrown with 0.0 as argument.
7008 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
7009 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
7010 exception being thrown with 0.0 as argument.
7011 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
7012 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 7013 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
7014 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
7015 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
7016 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
7017 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
7018 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
7019 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
7020
0396e69d
PB
70212012-04-17 Petr Baudis <pasky@ucw.cz>
7022
7023 * include/sys/uio.h: Change __vector to __iovec to avoid clash
7024 with altivec.
7025
750b5926
MP
70262012-04-16 Marek Polacek <polacek@redhat.com>
7027
7028 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
7029
751728a1
MP
70302012-04-16 Marek Polacek <polacek@redhat.com>
7031
7032 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
7033 operands of fdivp instruction.
7034
34a27407
L
70352012-04-13 H.J. Lu <hongjiu.lu@intel.com>
7036
7037 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
7038 * elf/tst-auditmod3b.c: Likewise.
7039 * elf/tst-auditmod4b.c: Likewise.
7040 * elf/tst-auditmod5b.c: Likewise.
7041 * elf/tst-auditmod6b.c: Likewise.
7042 * elf/tst-auditmod6c.c: Likewise.
7043 * elf/tst-auditmod7b.c: Likewise.
7044 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
7045 * sysdeps/x86_64/preconfigure.in: Likewise.
7046 * sysdeps/x86_64/preconfigure: Regenerated.
7047
7e73e17d
L
70482012-04-13 H.J. Lu <hongjiu.lu@intel.com>
7049
7050 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
7051 __ILP32__.
7052
c7a6ab72
AB
70532012-04-13 Antoine Balestrat <merkil33@gmail.com>
7054
7055 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7056 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
7057
a9e8e0e0
CL
70582012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
7059
7060 [BZ #13973]
7061 * locale/iso-639.def: Fix gl language name. Spotted by
7062 Yaron Shahrabani.
7063
ec98af7d
RM
70642012-04-12 Roland McGrath <roland@hack.frob.com>
7065
7066 [BZ #2074]
7067 * libio/libio.h (__io_write_fn): Update comment.
7068
247c3ede
PB
70692012-04-12 Petr Baudis <pasky@ucw.cz>
7070
7071 [BZ #2074]
7072 * stdio.texi (Hook Functions): The user provided writer function
7073 is not allowed to return -1.
7074
55939d6d
DM
70752012-04-11 David S. Miller <davem@davemloft.net>
7076
7077 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7078
90020f5a
MF
70792012-04-11 Mike Frysinger <vapier@gentoo.org>
7080
7081 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
7082 Add a leading slash to rtkaio.
7083
288f9098
JM
70842012-04-11 Jim Meyering <meyering@redhat.com>
7085
90020f5a
MF
7086 [BZ #11959]
7087 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
7088 It is not necessarily an error to ignore fwrite's return
7089 value. One can reliably use ferror to test for errors after
7090 the fact.
288f9098 7091
4be2b570
L
70922012-04-10 H.J. Lu <hongjiu.lu@intel.com>
7093
7094 * bits/types.h (__snseconds_t): New type.
7095 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
7096
7097 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
7098 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
7099 (__SNSECONDS_T_TYPE): Likewise.
7100 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
7101 (__SNSECONDS_T_TYPE): Likewise.
7102 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7103 (__SNSECONDS_T_TYPE): Likewise.
7104
288f9098 71052012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
7106
7107 [BZ #2636]
7108 * manual/time.texi (Processor Time): Return type of times is
7109 elapsed real time since an arbitrary point in the past.
7110 (CPU Time): Move CLK_TCK from here...
7111 (Processor Time): ...to here. Correct description.
7112 * manual/conf.texi (Constants for Sysconf): Correct description of
7113 _SC_CLK_TCK.
7114
d7dd4413
DM
71152012-04-10 David S. Miller <davem@davemloft.net>
7116
7117 [BZ #13967]
7118 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
7119 where the is a gap between DT_REL(A) and DT_JMPREL.
7120
b46068fc
L
71212012-04-10 H.J. Lu <hongjiu.lu@intel.com>
7122
7123 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
7124 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
7125 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
7126
73d65cc3
SP
71272012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7128
7129 * elf/dl-support.c (_dl_inhibit_cache): New variable.
7130 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
7131 (dl_main): Handle --inhibit-cache.
7132 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
7133 _dl_inhibit_cache.
7134 * elf/dl-load.c (_dl_map_object): Use it.
7135 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
7136
bcc8d661
JM
71372012-04-09 Joseph Myers <joseph@codesourcery.com>
7138
8f9a2fae
JM
7139 [BZ #13872]
7140 * sysdeps/i386/fpu/e_powl.S (p78): New object.
7141 (__ieee754_powl): Saturate large exponents rather than testing for
7142 overflow of y*log2(x).
7143 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
7144 * math/libm-test.inc (pow_test): Do not permit spurious overflow
7145 exceptions.
7146
bcc8d661
JM
7147 [BZ #11521]
7148 * math/s_ctan.c: Include <float.h>.
7149 (__ctan): Avoid internal overflow or cancellation in calculating
7150 denominator.
7151 * math/s_ctanf.c: Likewise.
7152 * math/s_ctanl.c: Likewise.
7153 * math/s_ctanh.c: Likewise.
7154 * math/s_ctanhf.c: Likewise.
7155 * math/s_ctanhl.c: Likewise.
7156 * math/libm-test.inc (ctan_test): Add more tests.
7157 (ctanh_test): Likewise.
7158 * sysdeps/i386/fpu/libm-test-ulps: Update.
7159 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7160
823fbbb4
AJ
71612012-04-09 Andreas Jaeger <aj@suse.de>
7162
03879793
AJ
7163 [BZ #6894]
7164 * manual/filesys.texi (Directory Entries): Mention that d_namlen
7165 is an optional BSD extension.
7166
823fbbb4
AJ
7167 [BZ #10254]
7168 * manual/stdio.texi (Opening Streams): Document additional fopen
7169 parameters.
7170
8de131cb
RM
71712012-04-09 Roland McGrath <roland@hack.frob.com>
7172
7173 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
7174 %eax without telling the compiler.
7175
c0ed9d7d
CD
71762012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
7177
7178 [BZ # 13963]
7179 * manual/install.texi: Use sourceware.org.
7180
c483f6b4
JM
71812012-04-09 Joseph Myers <joseph@codesourcery.com>
7182
d7dd9453
JM
7183 [BZ #13873]
7184 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
7185 (__ieee754_pow): Generate overflow and underflow using huge*huge
7186 and tiny*tiny rather than just returning constant infinity or zero
7187 for large exponents.
7188 * math/libm-test.inc (pow_test): Require overflow exceptions for
7189 applicable cases of large exponents.
7190
c483f6b4
JM
7191 [BZ #706]
7192 * sysdeps/i386/fpu/e_pow.S (p10): New object.
7193 (__ieee754_pow): Use iterative multiplication algorithm only for
7194 integer exponents with absolute value below 1024. Check for odd
7195 integer exponents when using algorithm for real exponents.
7196 * math/libm-test.inc (pow_test): Add more tests.
7197 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7198
d2de7579
JM
71992012-04-08 Joseph Myers <joseph@codesourcery.com>
7200
7201 [BZ #13705]
7202 * math/libm-test.inc (exp_test): Do not allow overflow exception
7203 on underflow test.
7204
f77f1232
AJ
72052012-04-08 Aurelien Jarno <aurelien@aurel32.net>
7206
7207 [BZ #13705]
7208 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
7209 instead of __kernel_standard_f.
7210
3884932b
MF
72112012-04-08 Mike Frysinger <vapier@gentoo.org>
7212
7213 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
7214 * sysdeps/x86_64/memset_chk.S: Likewise.
7215
54472e9c
AJ
72162012-04-08 Andreas Jaeger <aj@suse.de>
7217
6ab0fbfc
AJ
7218 [BZ #10153]
7219 * manual/startup.texi (Environment Access): Describe return value
7220 for putenv and setenv.
7221
61efba8c
AJ
7222 [BZ #6895]
7223 * manual/filesys.texi (Directory Entries): Add description for
7224 DT_LNK.
7225
95c3f29a
AJ
7226 [BZ #6890]
7227 * manual/filesys.texi (Directory Entries): Clarify that it's file
7228 system not operating system in the description of DT_UNKNOWN.
7229
54472e9c
AJ
7230 [BZ #6578]
7231 * manual/syslog.texi (closelog): Fix reference, it's openlog.
7232
624254b1
SC
72332012-04-08 Stephen Compall <s11@member.fsf.org>
7234
7235 [BZ #6649]
7236 * manual/llio.texi (Opening and Closing Files): Add cross
7237 reference to explain mode argument.
7238
1e4920e0
MF
72392012-04-07 Mike Frysinger <vapier@gentoo.org>
7240
7241 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
7242 * sysdeps/x86_64/memset_chk.S: Likewise.
7243
5ed848f3
DM
72442012-04-07 David S. Miller <davem@davemloft.net>
7245
7246 * elf/elf.h (R_SPARC_WDISP10): Define.
7247 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
7248 R_SPARC_SIZE32.
7249 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
7250 R_SPARC_SIZE64 and R_SPARC_H34.
7251
96154cd8
CD
72522012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
7253
7254 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
7255 conditions and remove no longer applicable assertion.
7256
9904dc47
L
72572012-04-06 H.J. Lu <hongjiu.lu@intel.com>
7258
7259 * bits/byteswap.h: Include <features.h>.
7260 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
7261 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
7262
f8887d0a
L
72632012-04-06 H.J. Lu <hongjiu.lu@intel.com>
7264
7265 * bits/byteswap.h (__bswap_16): Removed.
7266 Include <bits/byteswap-16.h> to get __bswap_16.
7267 * sysdeps/i386/bits/byteswap.h: Likewise.
7268 * sysdeps/s390/bits/byteswap.h: Likewise.
7269 * sysdeps/x86_64/bits/byteswap.h: Likewise.
7270 * bits/byteswap-16.h: New file.
7271 * sysdeps/i386/bits/byteswap-16.h: Likewise.
7272 * sysdeps/s390/bits/byteswap-16.h: Likewise.
7273 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
7274 * string/Makefile (headers): Add bits/byteswap-16.h.
7275
62470f60
PP
72762012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
7277
7278 [BZ #13895]
7279 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
7280 extra indirection.
7281 * nss/Makefile (tests-static, tests): Add tst-nss-static.
7282 * nss/tst-nss-static.c: New.
7283
4dad7bab
RM
72842012-04-06 Robert Millan <rmh@gnu.org>
7285
7286 [BZ #6486]
7287 * manual/llio.texi (File Position Primitive): lseek
7288 refers to WHENCE when it really means OFFSET.
7289
e9142a17
AJ
72902012-04-06 Andreas Jaeger <aj@suse.de>
7291
2c040eff
AJ
7292 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
7293 strncmp declarations.
7294
e9142a17
AJ
7295 * abilist/libc.abilist: Add __poll and __ppoll.
7296
ff9f1c5f
DM
72972012-04-05 David S. Miller <davem@davemloft.net>
7298
dcd2ae90
DM
7299 * scripts/check-local-headers.sh: Accept a host triplet in the
7300 path matched by the exclude regexp.
7301
993eb054
DM
7302 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
7303 definition.
7304 * sysdeps/powerpc/powerpc32/dl-machine.h
7305 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
7306 * sysdeps/s390/s390-32/dl-machine.h
7307 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
7308 * sysdeps/sparc/sparc32/dl-machine.h
7309 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
7310 * sysdeps/sparc/sparc64/dl-machine.h
7311 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
7312
ff9f1c5f
DM
7313 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
7314 lazy binding.
48e2e132 7315 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
7316 undefined symbol errors.
7317
48e2e132 7318 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
7319 DT_NEEDED entries.
7320
e80d6f94
MM
73212012-04-05 Michael Matz <matz@suse.de>
7322
7323 [BZ #13592]
7324 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
7325
349fa79f
AJ
73262012-04-05 Andreas Jaeger <aj@suse.de>
7327
7328 [BZ #13908]
7329 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
7330 comment.
7331
f402708f
KK
73322012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7333
7334 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
7335 which ROUND is no valid rounding mode.
7336
2ecccfc9
KK
73372012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7338
7339 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
7340 read again.
7341 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
7342
8a53f50f
KK
73432012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7344
7345 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
7346 an exception using FPU order intentionally.
7347
73482012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7349
7350 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
7351 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
7352 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
7353 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
7354
d653abb7
SJ
73552012-04-05 Simon Josefsson <simon@josefsson.org>
7356
7357 [BZ #12340]
7358 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
7359 EINVAL when BUFLEN is too smal.
7360
c3b1bf7d
TS
73612012-04-05 Thomas Schwinge <thomas@codesourcery.com>
7362
7363 [BZ #13553]
7364 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
7365 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
7366
b1aa60f3
AJ
73672012-04-03 Andreas Jaeger <aj@suse.de>
7368
c3b1bf7d 7369 [BZ #13938]
67f60a26
AJ
7370 * manual/setjmp.texi (System V contexts): Fix sentence.
7371
b1aa60f3
AJ
7372 [BZ #13926]
7373 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
7374 New macro for this case.
7375 [!__GNUC__] (__bswap_64): New inline function for this case.
7376 * sysdeps/x86_64/bits/byteswap.h: Likewise.
7377 * bits/byteswap.h: Likewise.
7378 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
7379 ull, guard with __GLIBC_HAVE_LONG_LONG.
7380
7381 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
7382 __GLIBC_HAVE_LONG_LONG.
7383
7384 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
7385 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
7386
39c59c35
TMQMF
73872012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7388
7389 [BZ #13691]
7390 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
7391 inptr and inend, rather than using last_ch.
7392
135ffda8
DM
73932012-04-02 David S. Miller <davem@davemloft.net>
7394
7395 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
7396 * stdio-common/printf-parse.h (read_int): Change return type to
7397 'int', return -1 on INT_MAX overflow.
7398 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
7399 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
7400 overflows INT_MAX. Check for overflow of in-format-string precision
7401 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
7402 SIZE_MAX not INT_MAX for integer overflow test.
7403 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
7404 skip the construct in the format string but do not record anything.
7405 * stdio-common/bug22.c: Adjust to test both width/prevision
7406 INT_MAX overflow as well as total length INT_MAX overflow. Check
7407 explicitly for proper errno values.
7408
228c019e
TS
74092012-04-02 Thomas Schwinge <thomas@codesourcery.com>
7410
302cadd3
TS
7411 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
7412 CHAR_MAX.
7413 * string/test-strcmp.c [! WIDE]: Likewise.
7414 * time/tst-mktime2.c: Likewise for INT_MAX.
7415 * string/test-string.h: #include <sys/param.h> for MIN.
7416
228c019e
TS
7417 * csu/init-first.c (__libc_init_first): Call __ctype_init.
7418 * sysdeps/i386/init-first.c (init): Likewise.
7419 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
7420 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
7421 * sysdeps/sh/init-first.c (init): Likewise.
7422
cfa633f5
UD
74232012-04-01 Ulrich Drepper <drepper@gmail.com>
7424
7425 * po/ru.po: Update from translation team.
d1635ef8 7426 * po/vi.po: Likewise.
cfa633f5 7427
6cd0a5ea
SP
74282012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
7429
7430 * resolv/nss_dns/dns-host.c: Merge copyright years.
7431
4b43400f
LD
74322012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7433
7434 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
7435 Optimize memcpy with prefetch if
7436 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
7437 src, dst pointers have unequal 16 byte alignments.
7438
48c41d04
SP
74392012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7440
7441 [BZ #13928]
7442 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
7443 from a CNAME entry and return the minimum ttl for the query.
7444 (gaih_getanswer_slice): Likewise.
7445
b8dc394d
JL
74462012-03-30 Jeff Law <law@redhat.com>
7447
7448 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
7449 due to long keys.
7450 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
7451 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
7452
2f5a5ed0
JL
7453 * resolv/nss_dns/dns-host.c: Update copyright year.
7454
1d39e359
UD
74552012-03-30 Ulrich Drepper <drepper@gmail.com>
7456
c030f70c 7457 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 7458 requests to save a system call. Fix check that all bytes are sent.
c030f70c 7459
1d39e359
UD
7460 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
7461 comments for sendmmsg.
7462
74632012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
7464
7465 [BZ #13691]
7466 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
7467 with only 1 character between 0x0041 and 0x01b0.
7468 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
7469 * wcsmbs/tst-mbsnrtowcs.c: New file.
7470
20fde227
DM
74712012-03-29 David S. Miller <davem@davemloft.net>
7472
7473 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
7474 small copies by hand.
7475
984a4237
JL
74762012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7477
7478 [BZ #13761]
7479 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
7480 _nss_compat_initgroups_dyn): Fall back to malloc/free
7481 for large group memberships.
7482
18c9d62b
DM
74832012-03-28 David S. Miller <davem@davemloft.net>
7484
88d85d4f
DM
7485 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
7486 that branches into memcpy.
7487 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
7488 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
7489 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
7490 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
7491 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
7492 bits.
7493 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
7494 implementation too.
7495 * sysdeps/sparc/mempcpy.S: New file.
7496
e5aa83e1
DM
7497 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
7498 the IFUNC routine in the libc case.
7499 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
7500
88570753
DM
7501 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
7502 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
7503 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
7504 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
7505 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
7506 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
7507 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
7508 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
7509
249d7567
DM
7510 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
7511 loop to 256 bytes instead of 64 bytes and fix test signedness.
7512
18c9d62b
DM
7513 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
7514 * sysdeps/sparc/sparc32/Makefile: rather than here...
7515 * sysdeps/sparc/sparc64/Makefile: and here.
7516
05f3d1f6
UD
75172012-03-28 Ulrich Drepper <drepper@gmail.com>
7518
7519 * malloc/mallocbug.c: Avoid warnings about unused variables.
7520
86ae07a8
JL
75212012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
7522
7523 [BZ #13760]
7524 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
7525 in the right place. Discard and retry query if response is
7526 larger than input buffer size.
7527
41bf21a1
JM
75282012-03-28 Joseph Myers <joseph@codesourcery.com>
7529
d6270972
JM
7530 [BZ #369]
7531 [BZ #2678]
7532 [BZ #3866]
7533 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
7534 x for large integer exponent.
7535 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
7536 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
7537 sign of result as needed afterwards.
7538 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
7539 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
7540 result for underflowing pow the same as for overflow.
7541 (__kernel_standard_l): Handle powl overflow and underflow here
7542 rather than calling __kernel_standard.
7543 * math/libm-test.inc (pow_test): Add more tests.
7544
414fca03 7545 [BZ #3868]
41bf21a1
JM
7546 [BZ #13879]
7547 [BZ #13910]
7548 [BZ #13911]
7549 [BZ #13912]
7550 [BZ #13913]
7551 [BZ #13915]
7552 [BZ #13916]
7553 [BZ #13917]
7554 [BZ #13918]
7555 [BZ #13919]
7556 [BZ #13920]
7557 [BZ #13921]
7558 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
7559 * sysdeps/ieee754/k_standard.c: Include <float.h>.
7560 (__kernel_standard_l): New function.
7561 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
7562 __kernel_standard.
7563 * math/w_acosl.c (__acosl): Likewise.
7564 * math/w_asinl.c (__asinl): Likewise.
7565 * math/w_atan2l.c (__atan2l): Likewise.
7566 * math/w_atanhl.c (__atanhl): Likewise.
7567 * math/w_coshl.c (__coshl): Likewise.
7568 * math/w_exp10l.c (__exp10l): Likewise.
7569 * math/w_exp2l.c (__exp2l): Likewise.
7570 * math/w_fmodl.c (__fmodl): Likewise.
7571 * math/w_hypotl.c (__hypotl): Likewise.
7572 * math/w_j0l.c (__j0l, __y0l): Likewise.
7573 * math/w_j1l.c (__j1l, __y1l): Likewise.
7574 * math/w_jnl.c (__jnl, __ynl): Likewise.
7575 * math/w_lgammal.c (__lgammal): Likewise.
7576 * math/w_log10l.c (__log10l): Likewise.
7577 * math/w_log2l.c (__log2l): Likewise.
7578 * math/w_logl.c (__logl): Likewise.
7579 * math/w_powl.c (__powl): Likewise.
7580 * math/w_remainderl.c (__remainderl): Likewise.
7581 * math/w_scalbl.c (sysv_scalbl): Likewise.
7582 * math/w_sinhl.c (__sinhl): Likewise.
7583 * math/w_sqrtl.c (__sqrtl): Likewise.
7584 * math/w_tgammal.c (__tgammal): Likewise.
7585 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
7586 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
7587 * math/libm-test.inc (acos_test): Add more tests.
7588 (acosh_test): Likewise.
7589 (asin_test): Likewise.
7590 (atanh_test): Likewise.
7591 (exp_test): Likewise.
7592 (exp10_test): Likewise.
7593 (exp2_test): Likewise.
7594 (expm1_test): Likewise.
7595 (lgamma_test): Likewise.
7596 (log_test): Likewise.
7597 (log10_test): Likewise.
7598 (log1p_test): Likewise.
7599 (log2_test): Likewise.
7600 (pow_test): Do not allow some spurious overflow exceptions.
7601 (sqrt_test): Add more tests.
7602 (tgamma_test): Likewise.
7603 (y0_test): Likewise.
7604 (y1_test): Likewise.
7605 (yn_test): Likewise.
7606
dd62fda6
AB
76072012-03-27 Anton Blanchard <anton@samba.org>
7608
7609 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
7610 MAP_HUGETLB.
7611 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
7612 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
7613 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
7614
1e3cdfda
AJ
76152012-03-27 David S. Miller <davem@davemloft.net>
7616
b855ab85
DM
7617 * conform/Makefile: Run run-conformtest.sh using $(BASH).
7618
1e3cdfda
AJ
7619 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
7620 have-as-vis3 check.
7621
76222012-03-27 Andreas Jaeger <aj@suse.de>
7623
7624 * sysdeps/x86_64/elf/configure.in: Moved to ...
7625 * sysdeps/x86_64/configure.in: ... here.
7626 * sysdeps/x86_64/elf/start.S: Moved to ...
7627 * sysdeps/x86_64/start.S: ... here.
7628 * sysdeps/x86_64/elf/configure: Delete.
7629
7630 * sysdeps/x86_64/configure.in: Merge contents from
7631 sysdeps/i386/configure.in (without i686 check).
7632
7633 * sysdeps/i386/elf/Versions: Merge into ...
7634 * sysdeps/i386/Versions: ... this.
7635 * sysdeps/i386/elf/Versions: Delete file.
7636 * sysdeps/i386/elf/start.S: Moved to ...
7637 * sysdeps/i386/start.S: ...here.
7638 * sysdeps/i386/elf/configure.in: Merge into...
7639 * sysdeps/i386/configure.in: ...here.
7640 * sysdeps/i386/elf/configure.in: Delete file.
7641 * sysdeps/i386/elf/configure: Delete file.
7642
7643 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
7644 * debug/backtracesyms.c: ... here.
7645 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
7646 * debug/backtracesymsfd.c: ... here.
7647 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
7648 * sysdeps/generic/ifunc-sel.h: ... here.
7649
7650 * sysdeps/unix/i386/start.c: Delete file.
7651 * sysdeps/unix/sparc/start.c: Delete file.
7652 * sysdeps/unix/start.c: Delete file.
7653
7654 * sysdeps/sh/elf/configure.in: Moved to ...
7655 * sysdeps/sh/configure.in: ... here.
7656 * sysdeps/sh/elf/start.S: Moved to ...
7657 * sysdeps/sh/start.S: ... here.
7658 * sysdeps/sh/elf/configure: Delete file.
7659
7660 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
7661 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
7662 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
7663 * sysdeps/powerpc/powerpc64/entry.h: ... here.
7664 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
7665 * sysdeps/powerpc/powerpc64/start.S: here.
7666 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
7667 * sysdeps/powerpc/powerpc64/Makefile: ... this.
7668 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
7669 * sysdeps/powerpc/powerpc64/configure.in: ... this.
7670 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
7671
7672 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
7673 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
7674 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
7675 * sysdeps/powerpc/powerpc32/start.S: ... here.
7676 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
7677 * sysdeps/powerpc/powerpc32/configure.in: ... this.
7678 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
7679
7680 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
7681 * sysdeps/powerpc/ifunc-sel.h: ... here.
7682 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
7683 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
7684
7685 * sysdeps/sparc/elf/configure.in: Moved to ...
7686 * sysdeps/sparc/configure.in: ... here.
7687 * sysdeps/sparc/elf/configure: Delete file.
7688 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
7689 * sysdeps/sparc/sparc32/start.S: ... here.
7690 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
7691 * sysdeps/sparc/sparc64/start.S: ... here.
7692 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
7693 * sysdeps/sparc/sparc32/Makefile: ... this.
7694 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
7695 * sysdeps/sparc/sparc64/Makefile: ... this.
7696
7697 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
7698 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
7699 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
7700 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
7701 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
7702 * sysdeps/s390/s390-32/setjmp.S: ... here.
7703 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
7704 * sysdeps/s390/s390-32/configure.in: ... here.
7705 * sysdeps/s390/s390-32/elf/configure: Delete file.
7706 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
7707 * sysdeps/s390/s390-32/start.S: ... here.
7708
7709 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
7710 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
7711 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
7712 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
7713 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
7714 * sysdeps/s390/s390-64/setjmp.S: ... here.
7715 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
7716 * sysdeps/s390/s390-64/configure.in: ... here
7717 * sysdeps/s390/s390-64/elf/configure: Delete file.
7718 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
7719 * sysdeps/s390/s390-64/start.S: ... here.
7720 * sysdeps/s390/s390-64/elf/configure: Delete.
7721
7722 * configure.in: Remove support for elf directories in sysdeps.
7723
7724 * configure: Regenerated.
7725 * sysdeps/i386/configure: Regenerated.
7726 * sysdeps/powerpc/powerpc32/configure: Regenerated.
7727 * sysdeps/powerpc/powerpc64/configure: Regenerated.
7728 * sysdeps/s390/s390-32/configure: Regenerated.
7729 * sysdeps/s390/s390-64/configure: Regenerated.
7730 * sysdeps/sh/configure: Regenerated.
7731 * sysdeps/sparc/configure: Regenerated.
7732 * sysdeps/x86_64/configure: Regenerated.
7733
a3f61311
AS
77342012-03-26 Andreas Schwab <schwab@linux-m68k.org>
7735
c876e002
AS
7736 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7737
a3f61311
AS
7738 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
7739 denormal result into account.
7740
ac4c54f0
RM
77412012-03-25 Roland McGrath <roland@hack.frob.com>
7742
7743 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
7744 Reported by Allan McRae <allan@archlinux.org>.
7745
6a9b9c02
JL
77462012-03-23 Jeff Law <law@redhat.com>
7747
7748 * nss/getnssent.c (__nss_getent): Fix typo.
7749
4c42a0c1
DM
77502012-03-23 David S. Miller <davem@davemloft.net>
7751
7752 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7753
1532c7ac
L
77542012-03-23 H.J. Lu <hongjiu.lu@intel.com>
7755
7756 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
7757 to pad to uint64_t for each field.
7758 (dl_tls_index): Replace unsigned long with uint64_t.
7759
3ff42526
PP
77602012-03-23 Daniel Jacobowitz <dmj@google.com>
7761 Paul Pluzhnikov <ppluzhnikov@google.com>
7762
7763 [BZ #6528]
7764 * grp/Makefile (otherlibs): Don't set it.
7765 * inet/Makefile (otherlibs): Likewise.
7766 * login/Makefile (otherlibs): Likewise.
7767 * nscd/Makefile (otherlibs): Likewise.
7768 * posix/Makefile (otherlibs): Likewise.
7769 * pwd/Makefile (otherlibs): Likewise.
7770 * rt/Makefile (otherlibs): Likewise.
7771 * sunrpc/Makefile (otherlibs): Likewise.
7772 * nss/Makefile (otherlibs): Likewise.
7773 Add libnss_files to routines and static-only-routines.
7774 ($(objpfx)getent): Remove rule.
7775 * resolv/Makefile: Add libnss_dns and libresolv to routines and
7776 static-only-routines.
7777
7c69cd14
JM
77782012-03-22 Joseph Myers <joseph@codesourcery.com>
7779
7780 [BZ #13892]
7781 * math/s_cexp.c: Include <float.h>.
7782 (__cexp): Handle exp result overflowing not necessarily
7783 overflowing both real and imaginary parts of result.
7784 * math/s_cexpf.c: Likewise.
7785 * math/s_cexpl.c: Likewise.
7786 * math/libm-test.inc (cexp_test): Add more tests.
7787 * sysdeps/i386/fpu/libm-test-ulps: Update.
7788 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7789
81b035fe
L
77902012-03-22 H.J. Lu <hongjiu.lu@intel.com>
7791
7792 * include/link.h (ELFW): New macro.
7793 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
7794 Replace ELF64_R_TYPE with ELFW(R_TYPE).
7795
1da7940c
L
77962012-03-22 H.J. Lu <hongjiu.lu@intel.com>
7797
7798 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
7799 with uint64_t.
7800
b749dbb9
L
78012012-03-22 H.J. Lu <hongjiu.lu@intel.com>
7802
7803 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
7804 declaration.
7805 (struct La_x32_retval): Likewise.
7806
2ff87f3f
L
78072012-03-22 H.J. Lu <hongjiu.lu@intel.com>
7808
7809 * sysdeps/x86_64/preconfigure.in: New file.
7810 * sysdeps/x86_64/preconfigure: New generated file.
7811
c0df8e69
JM
78122012-03-22 Joseph Myers <joseph@codesourcery.com>
7813
48e44791
JM
7814 [BZ #13824]
7815 * math/e_exp2l.c: Include <float.h>.
7816 (__ieee754_exp2l): Handle overflow and underflow cases
7817 separately. Only pass fractional part of argument to
7818 __ieee754_expl.
7819 * math/libm-test.inc (exp2_test): Add more tests.
7820
c0df8e69
JM
7821 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
7822 negating x to take absolute value.
7823 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
7824 Likewise.
7825 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
7826 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
7827 Likewise.
7828 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
7829 computing low part if x was negated.
7830 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
7831
c8e43ba7
L
78322012-03-21 H.J. Lu <hongjiu.lu@intel.com>
7833
7834 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
7835 la_x32_gnu_pltexit.
7836 (pltexit): Cast int_retval to ptrdiff_t.
7837 * elf/tst-auditmod3b.c: Likewise.
7838 * elf/tst-auditmod4b.c: Likewise.
7839 * elf/tst-auditmod5b.c: Likewise.
7840 * elf/tst-auditmod6b.c: Likewise.
7841 * elf/tst-auditmod6c.c: Likewise.
7842 * elf/tst-auditmod7b.c: Likewise.
7843
7844 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
7845 and x32_gnu_pltexit.
7846
7847 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
7848 __ELF_NATIVE_CLASS.
7849 (La_x32_regs): New macro.
7850 (La_x32_retval): Likewise.
7851 (la_x32_gnu_pltenter): New function prototype.
7852 (la_x32_gnu_pltexit): Likewise.
7853
7998fa78
AS
78542012-03-21 Andreas Schwab <schwab@linux-m68k.org>
7855
dcb33988
AS
7856 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
7857 exponent.
7858
233fc563
AS
7859 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7860
7998fa78
AS
7861 * configure.in (libc_cv_cc_nofma): Check for option to disable
7862 generation of FMA instructions.
7863 * configure: Regenerate.
7864 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
7865 * sysdeps/ieee754/dbl-64/Makefile: New file.
7866 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
7867 Remove brandred-fma4.
7868 (CFLAGS-brandred-fma4.c): Remove.
7869 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
7870 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
7871 define.
7872 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
7873 define.
7874
8e95c99a
L
78752012-03-21 H.J. Lu <hongjiu.lu@intel.com>
7876
7877 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
7878 LLONG_MAX != LONG_MAX.
7879 (_itoa_word): Use _ITOA_WORD_TYPE on value.
7880 (_fitoa_word): Likewise.
7881 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
7882 LLONG_MAX != LONG_MAX.
7883 * stdio-common/_itowa.h: Include <_itoa.h>.
7884 (_itowa_word): Use _ITOA_WORD_TYPE on value.
7885 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
7886 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
7887 only if not defined.
7888 (_ITOA_WORD_TYPE): Likewise.
7889 (_itoa_word): Use _ITOA_WORD_TYPE on value.
7890 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
7891
6f4db457
DM
78922012-03-21 David S. Miller <davem@davemloft.net>
7893
7894 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7895
7785fe5a
L
78962012-03-21 H.J. Lu <hongjiu.lu@intel.com>
7897
7898 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
7899 of x86_64 when setting libc_cv_slibdir, libdir and
7900 libc_cv_localedir.
7901 * sysdeps/unix/sysv/linux/configure: Regenerated.
7902
4535cd55
JM
79032012-03-21 Joseph Myers <joseph@codesourcery.com>
7904
7905 * manual/lang.texi (Old Varargs): Remove section.
7906 (How Variadic): Update menu.
7907 (va_start): Do not mention varargs.h.
7908
17228132
TS
79092012-03-21 Thomas Schwinge <thomas@codesourcery.com>
7910 Joseph Myers <joseph@codesourcery.com>
7911
7912 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
7913 link test.
7914 * configure: Regenerated.
7915
8149f976
TS
79162012-03-21 Thomas Schwinge <thomas@codesourcery.com>
7917
05f3d1f6
UD
7918 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
7919 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
7920 conformtest.pl
8149f976 7921
1a4ac776
JM
79222012-03-21 Joseph Myers <joseph@codesourcery.com>
7923
be22ce65
JM
7924 * NOTES: Remove.
7925 * Makefile (files-for-dist): Remove NOTES.
7926 (NOTES): Remove rule.
7927 * README: Don't refer to NOTES.
7928 * manual/creature.texi: Don't include macros.texi.
7929 * manual/intro.texi (creature.texi): Remove comment referring to
7930 NOTES.
7931
40b601fb
JM
7932 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
7933 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
7934 * configure: Regenerated.
7935 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
7936 LIBC_TRY_CC_OPTION.
7937 (libc_cv_as_i686): Likewise.
7938 (libc_cv_cc_avx): Likewise.
7939 (libc_cv_cc_sse2avx): Likewise.
7940 (libc_cv_cc_fma4): Likewise.
7941 (libc_cv_cc_novzeroupper): Likewise.
7942 * sysdeps/i386/configure: Regenerated.
7943
1a4ac776
JM
7944 [BZ #13883]
7945 * sysdeps/i386/fpu/s_cexp.S: Remove.
7946 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
7947 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
7948 * math/libm-test.inc (cexp_test): Add more tests.
7949 * sysdeps/i386/fpu/libm-test-ulps: Update.
7950 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7951
a458e7fe
AM
79522012-03-21 Allan McRae <allan@archlinux.org>
7953
7954 * timezone/Makefile: Do not install iso3166.tab and zone.tab
7955
0cb7efc5
JM
79562012-03-21 Joseph Myers <joseph@codesourcery.com>
7957
7958 [BZ #13871]
7959 * math/w_exp2.c: Do not include <float.h>.
7960 (o_threshold, u_threshold): Remove.
7961 (__exp2): Calculate result before checking finiteness and calling
7962 __kernel_standard.
7963 * math/w_exp2f.c: Likewise.
7964 * math/w_exp2l.c: Likewise.
7965 * math/libm-test.inc (exp2_test): Require overflow exception for
7966 1e6 input.
2460d3aa
JM
7967
7968 [BZ #3866]
7969 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
7970 range of signed 64-bit integers before using fistpll. Remove
7971 checks for whether integers fit in mantissa bits.
7972 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
7973 the range of signed 32-bit integers before using fistpl. Remove
7974 checks for whether integers fit in mantissa bits.
7975 * sysdeps/i386/fpu/e_powl.S (p64): New object.
7976 (__ieee754_powl): Test for y outside the range of signed 64-bit
7977 integers before using fistpll. Reduce 64-bit values to 63-bit
7978 ones as needed.
7979 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
7980 divide-by-zero is raised for zero to large negative powers.
7981 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
7982 (__ieee754_powl): Test for y outside the range of signed 64-bit
7983 integers before using fistpll. Reduce 64-bit values to 63-bit
7984 ones as needed.
7985 * math/libm-test.inc (pow_test): Add more tests.
7986
eb96ffb0
L
79872012-03-20 H.J. Lu <hongjiu.lu@intel.com>
7988
7989 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
7990 <stdio-common/_itoa.h>.
7991 * debug/segfault.c: Likewise.
7992 * elf/dl-cache.c: Likewise.
7993 * elf/dl-minimal.c: Likewise.
7994 * elf/dl-misc.c: Likewise.
7995 * elf/dl-sysdep.c: Likewise.
7996 * elf/dl-version.c: Likewise.
7997 * elf/rtld.c: Likewise.
7998 * hurd/hurdsock.c: Likewise.
7999 * hurd/lookup-retry.c: Likewise.
8000 * malloc/malloc.c: Likewise.
8001 * malloc/mtrace.c: Likewise.
8002 * nscd/nscd_getgr_r.c: Likewise.
8003 * nscd/nscd_getpw_r.c: Likewise.
8004 * nscd/nscd_getserv_r.c: Likewise.
8005 * posix/getopt_init.c: Likewise.
8006 * posix/wordexp.c: Likewise.
8007 * stdio-common/_itoa.c: Likewise.
8008 * stdio-common/printf_fphex.c: Likewise.
8009 * stdio-common/vfprintf.c: Likewise.
8010 * string/_strerror.c: Likewise.
8011 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
8012 * sysdeps/i386/i686/hp-timing.h: Likewise.
8013 * sysdeps/mach/_strerror.c: Likewise.
8014 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
8015 * sysdeps/mach/hurd/sethostid.c: Likewise.
8016 * sysdeps/mach/hurd/xmknodat.c: Likewise.
8017 * sysdeps/mach/xpg-strerror.c: Likewise.
8018 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
8019 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
8020 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
8021 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
8022 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
8023 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
8024 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
8025 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
8026 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
8027 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
8028 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
8029 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
8030 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
8031 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
8032 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
8033 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
8034 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
8035 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
8036 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
8037 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
8038 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
8039
8040 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
8041
8042 * stdio-common/_itoa.h: Moved to ...
8043 * sysdeps/generic/_itoa.h: Here.
8044
8045 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
8046
8047 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
8048 instead of "_itoa.h" and "_itowa.h".
8049 * stdio-common/vfprintf.: Likewise.
8050
d1af992d
L
80512012-03-20 H.J. Lu <hongjiu.lu@intel.com>
8052
8053 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
8054 <bits/wordsize.h>.
8055 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
8056 (__signbit): Likwise.
8057 (llrintf): Likwise.
8058 (llrint): Likwise.
8059
114883e0
L
80602012-03-20 H.J. Lu <hongjiu.lu@intel.com>
8061
8062 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
8063 __WORDSIZE != 64.
8064
c135cc1b
JM
80652012-03-20 Joseph Myers <joseph@codesourcery.com>
8066
8067 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
8068 OVERFLOW_EXCEPTION_OK.
8069 * math/libm-test.inc ("Philosophy"): Update comment about
8070 exception testing.
8071 (OVERFLOW_EXCEPTION): Define.
8072 (OVERFLOW_EXCEPTION_OK): Likewise.
8073 (INVALID_EXCEPTION_OK): Renumber.
8074 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
8075 (IGNORE_ZERO_INF_SIGN): Likewise.
8076 (test_exceptions): Handle FE_OVERFLOW.
8077 (exp10_test): Expect overflow exceptions.
8078 (exp2_test): Likewise.
8079 (expm1_test): Likewise.
8080 (nextafter_test): Likewise.
8081 (pow_test): Likewise.
8082 (scalbn_test): Likewise.
8083 (scalbln_test): Likewise.
8084
95443d88
L
80852012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8086
8087 * sysdeps/x86_64/bits/atomic.h
8088 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
8089 64bit integer.
8090 (atomic_exchange_acq): Likewise.
8091 (__arch_exchange_and_add_body): Likewise.
8092 (__arch_add_body): Likewise.
8093 (atomic_add_negative): Likewise.
8094 (atomic_add_zero): Likewise.
8095
490df6c4
L
80962012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8097
c2722551 8098 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
8099 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
8100
5e52b189
L
81012012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8102
8103 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
8104 Check __x86_64__ instead of __WORDSIZE.
8105
a9879d4c
L
81062012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8107
8108 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
8109
5df98260
DM
81102012-03-19 David S. Miller <davem@davemloft.net>
8111
e1497744
DM
8112 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8113
5df98260
DM
8114 * sysdeps/sparc/fpu/fenv_private.h: New file.
8115 * sysdeps/sparc/fpu/math_private.h: Use it.
8116 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
8117 Remove.
8118 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
8119 (libc_feholdexcept_setroundl): Remove.
8120 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
8121 Remove.
8122 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
8123 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
8124
b4c35121
L
81252012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8126
8127 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
8128 int64_t instead of long int.
8129 (INSERT_WORDS64): Likwise.
8130
56965fd7
L
81312012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8132
8133 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
8134 _Unwind_GetCFA return to _Unwind_Ptr first.
8135
83d1aec8
JM
81362012-03-19 Joseph Myers <joseph@codesourcery.com>
8137
1897ad44
JM
8138 [BZ #13629]
8139 * math/s_clog.c: Include <float.h>.
8140 (__clog): Scale large or subnormal inputs.
8141 * math/s_clogf.c: Likewise.
8142 * math/s_clogl.c: Likewise.
8143 * math/s_clog10.c: Include <float.h>.
8144 (M_LOG10_2): Define.
8145 (__clog10): Scale large or subnormal inputs.
8146 * math/s_clog10f.c: Likewise.
8147 * math/s_clog10l.c: Likewise.
8148 * math/libm-test.inc (clog_test): Add more tests.
8149 (clog10_test): Likewise.
8150 * sysdeps/i386/fpu/libm-test-ulps: Update.
8151 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8152
7726d6a9
JM
8153 [BZ #11451]
8154 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
8155 x and y.
8156 * math/libm-test.inc (atan2_test): Add another test.
8157
83d1aec8
JM
8158 * Makerules (common-objdir-compile): Remove.
8159 * sysdeps/unix/Makefile (config-generated): Do not add
8160 $(unix-generated) to variable.
8161 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
8162 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
8163 Remove rule.
8164 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
8165 Likewise.
8166 [generic bits/local_lim.h] (before-compile): Do not append to
8167 variable.
8168 [generic bits/local_lim.h] (common-generated): Likewise.
8169 [generic sys/param.h] (before-compile): Do not append to variable.
8170 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
8171 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
8172 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
8173 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
8174 include.
8175 [generic sys/param.h] (sys/param.h-includes): Remove variable.
8176 [generic sys/param.h] (sys/param.h-includes): Remove rule.
8177 [generic sys/param.h] ($(addprefix
8178 $(common-objpfx),$(sys/param.h-includes))): Likewise.
8179 [generic sys/param.h] (common-generated): Do not append to
8180 variable.
8181 [generic sys/param.h] (sysdep_headers): Likewise.
8182 [generic bits/errno.h] (before-compile): Do not append to
8183 variable.
8184 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
8185 rule.
8186 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
8187 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
8188 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
8189 [generic bits/errno.h] (common-generated): Do not append to
8190 variable.
8191 [generic bits/ioctls.h] (before-compile): Do not append to
8192 variable.
8193 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
8194 rule.
8195 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
8196 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
8197 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
8198 rule.
8199 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
8200 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
8201 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
8202 [generic bits/ioctls.h] (common-generated): Do not append to
8203 variable.
8204 [generic sys/syscall.h] (syscall.h): Remove variable.
8205 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
8206 rule.
8207 [generic sys/syscall.h] (before-compile): Do not append to
8208 variable.
8209 [generic sys/syscall.h] (common-generated): Likewise.
8210 * sysdeps/unix/errnos-tmpl.c: Remove file.
8211 * sysdeps/unix/errnos.awk: Likewise.
8212 * sysdeps/unix/ioctls-tmpl.c: Likewise.
8213 * sysdeps/unix/ioctls.awk: Likewise.
8214 * sysdeps/unix/mk-local_lim.c: Likewise.
8215 * sysdeps/unix/snarf-ioctls: Likewise.
8216
4851a949
RH
82172012-03-19 Richard Henderson <rth@twiddle.net>
8218
bd37f2ee
RH
8219 * sysdeps/i386/fpu/fenv_private.h: New file.
8220 * sysdeps/i386/fpu/math_private.h: Use it.
8221 (math_opt_barrier, math_force_eval): Remove.
8222 (libc_feholdexcept_setround_53bit): Remove.
8223 (libc_feupdateenv_53bit): Remove.
8224 * sysdeps/x86_64/fpu/math_private.h: Likewise.
8225 (math_opt_barrier, math_force_eval): Remove.
8226 (libc_feholdexcept): Remove.
8227 (libc_feholdexcept_setround): Remove.
8228 (libc_fetestexcept, libc_fesetenv): Remove.
8229 (libc_feupdateenv_test): Remove.
8230 (libc_feupdateenv, libc_feholdsetround): Remove.
8231 (libc_feresetround): Remove.
8232
d0adc922
RH
8233 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
8234 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
8235
0fe0f1f8
RH
8236 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
8237 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
8238 (libc_feupdateenv_testl): New.
8239 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
8240 (libc_feupdateenv_testf): New.
8241 (libc_feupdateenv): Use libc_feupdateenv_test.
8242 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
8243 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
8244
eb92c487
RH
8245 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
8246 (libc_feholdsetroundf, libc_feholdsetroundl): New.
8247 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
8248 (libc_feresetround_noex): New.
8249 (libc_feresetround_noexf): New.
8250 (libc_feresetround_noexl): New.
8251 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
8252 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
8253 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
8254 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
8255 SET_RESTORE_ROUND.
8256 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
8257 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
8258 (__cos): Likewise.
8259 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
8260 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
8261 SET_RESTORE_ROUND_NOEX.
8262 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
8263 SET_RESTORE_ROUND_NOEXF.
8264 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
8265 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
8266 (libc_feholdsetroundf): New.
8267 (libc_feresetround, libc_feresetroundf): New.
8268
7d2e8012
RH
8269 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
8270 (libc_feholdexcept_setround_53bit): Convert from macro to function.
8271 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
8272
b4dabbb4
RH
8273 * sysdeps/generic/math_private.h: Include <fenv.h>.
8274 (default_libc_feholdexcept): New.
8275 (default_libc_feholdexcept_setround): New.
8276 (default_libc_fesetenv, default_libc_feupdateenv): New.
8277 (libc_feholdexcept): Only define if undefined.
8278 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
8279 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
8280 (libc_feholdexcept_setroundl): Likewise.
8281 (libc_feholdexcept_setround_53bit): Likewise.
8282 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
8283 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
8284 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
8285 (libc_feupdateenv_53bit): Likewise.
8286 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
8287 (libc_feholdexcept): Convert from macro to inline function.
8288 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
8289 (libc_fesetenv, libc_feupdateenv): Likewise.
8290
4851a949
RH
8291 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
8292 not previously defined.
8293 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
8294 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
8295 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
8296 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
8297 * sysdeps/ieee754/flt-32/math_private.h: New file.
8298 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
8299 math_private.h below SET_FLOAT_WORD.
8300 (__isnan, __isinf_ns, __finite): Remove.
8301 (__isnanf, __isinf_nsf, __finitef): Remove.
8302
e79d442e
AS
83032012-03-18 Andreas Schwab <schwab@linux-m68k.org>
8304
8305 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8306
90b80344
DM
83072012-03-17 David S. Miller <davem@davemloft.net>
8308
8309 [BZ #6471]
8310 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
8311 for 2.16.
8312
edc21804
DM
83132012-03-16 David S. Miller <davem@davemloft.net>
8314
77e927af
DM
8315 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
8316 warnings.
8317
374976dd
DM
8318 [BZ #6471]
8319 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
8320 properly.
8321 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
8322 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
8323 sysdep_routines when subdir is sysvipc.
8324 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
8325 __getshmlba helper.
8326
edc21804
DM
8327 * sysdeps/sparc/fpu/libm-test/ulps: Update.
8328
473c3ef3
L
83292012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8330
8331 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
8332 [__LP64__].
8333
eb0f39b6
L
83342012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8335
8336 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
8337 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
8338 (__lround): Renamed to ...
8339 (__llround): This. Replace long int with long long int.
8340 Define lround functions as aliases of llround functions.
8341 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
8342
6b6cd74b
L
83432012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8344
8345 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
8346 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
8347 adresses to uintptr_t. Replace "long int" and "unsigned long
8348 int" with "greg_t" on va_arg.
8349
f1a77b01
L
83502012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8351
8352 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
8353 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
8354
8355 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
8356 Move e_machine check before EI_CLASS check. Handle x32
8357 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
8358 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
8359 SKIP_EM_IA_64 and include
8360 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
8361
8362 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
8363 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
8364 (add_system_dir): New macro.
8365
8366 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
8367 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
8368
11b90b9f
JM
83692012-03-16 Joseph Myers <joseph@codesourcery.com>
8370
c36e1d23
JM
8371 [BZ #2551]
8372 [BZ #2552]
8373 [BZ #2553]
8374 [BZ #2554]
8375 [BZ #2562]
8376 [BZ #2563]
8377 [BZ #2565]
8378 [BZ #2566]
8379 [BZ #2576]
8380 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
8381 (y0): Likewise.
8382 * math/w_j0f.c (j0f): Likewise.
8383 (y0f): Likewise.
8384 * math/w_j0l.c (__j0l): Likewise.
8385 (__y0l): Likewise.
8386 * math/w_j1.c (j1): Likewise.
8387 (y1): Likewise.
8388 * math/w_j1f.c (j1f): Likewise.
8389 (y1f): Likewise.
8390 * math/w_j1l.c (__j1l): Likewise.
8391 (__y1l): Likewise.
8392 * math/w_jn.c (jn): Likewise.
8393 (yn): Likewise.
8394 * math/w_jnf.c (jnf): Likewise.
8395 (ynf): Likewise.
8396 * math/w_jnl.c (__jnl): Likewise.
8397 (__ynl): Likewise.
8398 * math/libm-test.inc (j0_test): Add more tests.
8399 (j1_test): Likewise.
8400 (jn_test): Likewise. Add trailing semicolon to existing test.
8401 (y0_test): Likewise.
8402 (y1_test): Likewise.
8403 * sysdeps/i386/fpu/libm-test-ulps: Update.
8404 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8405
11b90b9f
JM
8406 [BZ #13851]
8407 [BZ #13854]
8408 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
8409 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
8410 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
8411 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
8412 (__tanl): Set errno for infinite argument.
8413 * sysdeps/i386/fpu/mptan.c: Remove.
8414 * sysdeps/i386/fpu/s_tan.S: Likewise.
8415 * sysdeps/i386/fpu/s_tanl.S: Likewise.
8416 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
8417 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
8418 * math/libm-test.inc (tan_test): Add more tests and enable more
8419 tests for double and long double.
8420 * sysdeps/i386/fpu/libm-test-ulps: Update.
8421 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8422
6a1bd2a1
JK
84232012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
8424
8425 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
8426 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
8427
10a803e0
RM
84282012-03-16 Roland McGrath <roland@hack.frob.com>
8429
8430 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
8431 * configure.in: Use it for both main tree and add-ons.
8432 * configure: Regenerated.
8433
f196c7f7
L
84342012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8435
8436 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
8437
8848d99d
JM
84382012-03-16 Joseph Myers <joseph@codesourcery.com>
8439
96cbe7f4
JM
8440 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
8441 in comment.
8442
8848d99d
JM
8443 [BZ #13851]
8444 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
8445 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
8446 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
8447 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
8448 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
8449 infinite argument.
8450 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
8451 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
8452 != 0 for prec == 2.
8453 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
8454 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
8455 * sysdeps/i386/fpu/s_cosl.S: Likewise.
8456 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
8457 * sysdeps/i386/fpu/s_sinl.S: Likewise.
8458 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
8459 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
8460 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
8461 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
8462 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
8463 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
8464 * math/libm-test.inc (cos_test): Add more tests and enable more
8465 tests for long double.
8466 (sin_test): Likewise.
8467 (sincos_test): Likewise.
8468 * sysdeps/i386/fpu/libm-test-ulps: Update.
8469 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8470
dd7f4703
DM
84712012-03-16 David S. Miller <davem@davemloft.net>
8472
8473 * sysdeps/sparc/fpu/math_private.h: New file.
8474
006f1daa
DM
84752012-03-15 David S. Miller <davem@davemloft.net>
8476
c0c83bc8
DM
8477 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
8478 file.
e6a62e18 8479 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
8480 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
8481 file.
e6a62e18
DM
8482 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
8483 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
8484 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
8485 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
8486 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
8487 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
8488 sysdep routines.
8489 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
8490
88cb87d9
DM
8491 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
8492 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
8493
006f1daa 8494 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
8495 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
8496 sparc-ifunc.h
006f1daa 8497 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
8498 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
8499 Likewise.
8500 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
8501 Likewise.
006f1daa
DM
8502 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
8503 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
8504 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
8505 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
8506 Likewise.
006f1daa
DM
8507 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
8508 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
8509 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
8510 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
8511 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
8512 Likewise.
8513 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
8514 Likewise.
006f1daa
DM
8515 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
8516 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
8517 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
8518 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
8519 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
8520 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
8521 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
8522 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
8523 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
8524 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
8525 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
8526 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
8527 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
8528 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
8529 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
8530 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
8531 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
8532 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
8533 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
8534 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
8535 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
8536 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
8537 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
8538 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
8539
11e0098e
AS
85402012-03-15 Andreas Schwab <schwab@linux-m68k.org>
8541
8542 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
8543 scaling.
8544 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8545
e85b09d0
AJ
85462012-03-15 Andreas Jaeger <aj@suse.de>
8547
8548 [BZ #13852]
8549 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
8550 ieee754/flt-32 implementation for sin, cos and sincos.
8551 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
8552 * sysdeps/i386/fpu/s_cosf.S: Likewise.
8553 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
8554 * sysdeps/i386/fpu/s_sinf.S: Likewise.
8555 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
8556 ieee754/flt-32 implementation for tan.
8557
8558 * math/libm-test.inc (cos_test): Enable some large input tests for
8559 float as well
8560 (sin_test): Likewise.
8561 (sincos_test): Likewise.
8562 (tan_test): Add tests for large input.
8563
8564 * sysdeps/i386/fpu/libm-test-ulps: Update.
8565
81c64153
AJ
85662012-03-15 Andreas Jaeger <aj@suse.de>
8567
8568 [BZ #13658]
8569 * math/libm-test.inc (cos_test): Add more test cases.
8570 (sin_test): Likewise.
8571 (sincos_test): Likewise.
8572
7bbfa5c6
AJ
85732012-03-15 Andreas Jaeger <aj@suse.de>
8574
8575 [BZ #13837]
8576 * math/libm-test.inc (cos_test): Add a test case for large input
8577 value.
8578 (sin_test): Likewise.
8579 (sincos_test): Likewise.
8580
85812012-03-15 Andreas Jaeger <aj@suse.de>,
8582 Joseph Myers <joseph@codesourcery.com>
8583
8584 [BZ #13658]
0671f479 8585 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
8586 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
8587 * sysdeps/i386/fpu/branred.c: Likewise.
8588 * sysdeps/i386/fpu/dosincos.c: Likewise.
8589 * sysdeps/i386/fpu/mpa.c: Likewise.
8590 * sysdeps/i386/fpu/s_cos.S: Likewise.
8591 * sysdeps/i386/fpu/s_sin.S: Likewise.
8592 * sysdeps/i386/fpu/s_sincos.S: Likewise.
8593 * sysdeps/i386/fpu/sincos32.c: Likewise.
8594
8595 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
8596 Define.
8597 (libc_feupdateenv_53bit): Define.
8598 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
8599 Define.
8600 (libc_feupdateenv_53bit): Define.
8601
8602 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
8603 53 bit (without extend i386 double precision).
8604
8605 * math/libm-test.inc (sincos_test): Add tests for large input.
8606 (sin): Likewise.
8607 (cos): Likewise.
8608
8609 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
8610
9cad04ea
AS
86112012-03-15 Andreas Schwab <schwab@linux-m68k.org>
8612
8613 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8614
f7062b9a
DM
86152012-03-15 David S. Miller <davem@davemloft.net>
8616
8617 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
8618 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
8619 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
8620 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
8621 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
8622 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
8623 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
8624 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
8625 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
8626 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
8627 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
8628 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
8629 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
8630 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
8631 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
8632 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
8633 file.
f7062b9a 8634 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
8635 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
8636 file.
f7062b9a 8637 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
8638 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
8639 file.
f7062b9a 8640 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
8641 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
8642 file.
f7062b9a
DM
8643 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
8644 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
8645 fmin/fmax sysdep routines.
8646 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
8647
7bd951ff
DM
86482012-03-14 David S. Miller <davem@davemloft.net>
8649
559398ab
DM
8650 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
8651 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
8652 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
8653 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
8654 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
8655 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
8656 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
8657 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
8658 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
8659 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
8660 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
8661 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
8662 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
8663 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
8664 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
8665 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
8666 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
8667 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
8668 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
8669 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
8670 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
8671 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
8672 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
8673 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
8674 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
8675 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
8676 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
8677 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
8678 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
8679 routines.
8680 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
8681 file.
559398ab 8682 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
8683 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
8684 file.
559398ab 8685 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
8686 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
8687 file.
559398ab 8688 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
8689 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
8690 file.
559398ab 8691 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
8692 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
8693 file.
559398ab 8694 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
8695 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
8696 file.
8697 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
8698 file.
8699 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
8700 file.
8701 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
8702 file.
8703 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
8704 New file.
8705 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
8706 file.
8707 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
8708 file.
559398ab 8709 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
8710 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
8711 file.
559398ab 8712 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
8713 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
8714 file.
559398ab 8715 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
8716 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
8717 file.
559398ab 8718 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
8719 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
8720 VIS3 routines.
559398ab
DM
8721
8722 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
8723 New file.
8724
5a1c1e32
DM
8725 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8726
eae47a36
DM
8727 * sysdeps/sparc/configure.in: New file.
8728 * sysdeps/sparc/configure: Generate.
8729 * configure.in (libc_cv_sparc_as_vis3): Substitute.
8730 * configure: Regenerate.
8731 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
8732 * config.make.in (have-as-vis3): New.
8733 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
8734 available use -Av9d instead of -Av9a.
8735 * sysdeps/sparc/sparc64/Makefile: Likewise.
8736 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
8737 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
8738 New file.
8739 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
8740 file.
8741 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
8742 New file.
8743 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
8744 file.
eae47a36
DM
8745 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
8746 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
8747 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
8748 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
8749 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
8750
c0c83bc8
DM
8751 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
8752 fzeros/fnegs to load 0x80000000 into a float register instead of
8753 using the stack.
7bd951ff
DM
8754 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
8755
bd951ccb
JM
87562012-03-14 Joseph Myers <joseph@codesourcery.com>
8757
8758 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8759 bits/syscall.h.
8760 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
8761 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
8762 ($(inst_includedir)/bits/syscall.h): Remove rule.
8763 ($(objpfx)bits/syscall.d): Include instead of
8764 $(objpfx)syscall-list.d.
8765 (generated): Change syscall-list.h and syscall-list.d to
8766 bits/syscall.h and bits/syscall.d.
8767
bb4e6db2
RM
87682012-03-14 Roland McGrath <roland@hack.frob.com>
8769
8770 [BZ #13846]
8771 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
8772
aa4a2ae1
JM
87732012-03-14 Joseph Myers <joseph@codesourcery.com>
8774
e456826d
JM
8775 [BZ #13841]
8776 * math/s_csqrt.c: Include <float.h>.
8777 (__csqrt): Scale large or subnormal inputs.
8778 * math/s_csqrtf.c: Likewise.
8779 * math/s_csqrtl.c: Likewise.
8780 * math/libm-test.inc (csqrt_test): Add more tests.
8781 * sysdeps/i386/fpu/libm-test-ulps: Update.
8782 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8783
aa4a2ae1
JM
8784 [BZ #13840]
8785 * math/libm-test.inc (hypot_test): Add more tests.
8786
7c10fd35
DM
87872012-03-13 David S. Miller <davem@davemloft.net>
8788
8789 [BZ #13840]
8790 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
8791 double-precision for the calculation instead of scaling.
8792
f453b98b
JM
87932012-03-13 Joseph Myers <joseph@codesourcery.com>
8794
8795 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
8796 manipulate bits before adding and subtracting TWO52[sx].
8797 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
8798 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
8799 Likewise.
8800 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
8801
09a3453f
DM
88022012-03-13 David S. Miller <davem@davemloft.net>
8803
8e59da90
DM
8804 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
8805 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
8806 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
8807 rtld-global-offsets.h
8808 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
8809
2a8ab7f2
DM
8810 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
8811 large parameters.
8812
10f62770
DM
8813 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
8814
5f0bdb18
DM
8815 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
8816 'err' in the ifdef scope in which it is actually used.
8817
09a3453f
DM
8818 * nss/nss_db/db-init.c: Include string.h
8819
b4b2eb5e
DM
88202012-03-12 David S. Miller <davem@davemloft.net>
8821
98bb2f1c
DM
8822 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
8823 masking out of the most significant byte of random value used.
8824 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8825 Fix coding style in previous change.
8826
b4b2eb5e
DM
8827 * sysdeps/unix/sysv/linux/kernel-features.h
8828 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
8829 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
8830 expression.
8831 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
8832 later.
8833
6e226b09
DM
88342012-03-11 David S. Miller <davem@davemloft.net>
8835
a1bcbd40
DM
8836 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
8837 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
8838 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
8839 for 'resultvar' otherwise things get truncated on 64-bit.
8840
cb9d6174
DM
8841 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8842 Fix masking out of the most significant byte of random value used.
8843
6e226b09
DM
8844 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8845
058c132d
AS
88462012-03-10 Andreas Schwab <schwab@linux-m68k.org>
8847
8848 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8849
2d2cd515
DM
88502012-03-09 David S. Miller <davem@davemloft.net>
8851
8852 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
8853 variables with appropriate CPP guards.
8854 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
8855 frame pointer, not the stack pointer. Correct layout comments. Fix test
8856 on resulting framesize and the management of the outregs buffer for pltexit.
8857 Preserve floating point return values across _dl_call_pltexit call.
8858 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
8859 framesize and the management of the outregs buffer for pltexit.
8860 Preserve floating point return values across _dl_call_pltexit
8861 call.
8862 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
8863 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
8864 (print_exit): Fix format string for return register value.
8865
9a07f9d0
JM
88662012-03-10 Joseph Myers <joseph@codesourcery.com>
8867
8868 * sunrpc/Makefile (others): Add rpcgen.
8869 ($(objpfx)rpcgen): Remove special build rule and dependency on
8870 libc.
8871 * sunrpc/rpcgen.c: New file.
8872
547b5e30
PE
88732012-03-09 Paul Eggert <eggert@cs.ucla.edu>
8874
c524201a
PE
8875 [BZ #13673]
8876 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
8877 * stdio-common/bug-vfprintf-nargs.c: Likewise.
8878 * sysdeps/i386/crti.S: Likewise.
8879 * sysdeps/i386/crtn.S: Likewise.
8880 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
8881 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
8882 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
8883 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
8884 * sysdeps/sh/crti.S: Likewise.
8885 * sysdeps/sh/crtn.S: Likewise.
8886 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
8887
7b6235f2
PE
8888 [BZ #13673]
8889 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
8890 with URL.
8891 * locale/programs/locfile-kw.gperf: Likewise.
8892 * locale/programs/charmap-kw.h: Regenerated.
8893 * locale/programs/locfile-kw.h: Likewise.
8894
547b5e30
PE
8895 [BZ #13673]
8896 * intl/plural.y: Replace FSF snail mail address with URL.
8897 * intl/plural.c: Regenerated.
8898
5f0a5dae
RH
88992012-03-09 Richard Henderson <rth@twiddle.net>
8900
8901 * include/math_private.h: Remove file.
8902 * math/math_private.h: Move file ...
8903 * sysdeps/generic/math_private.h: ... here.
8904
b8c03620
RH
8905 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
8906 * sysdeps/powerpc/fpu/math_private.h: Likewise.
8907 * sysdeps/x86_64/fpu/math_private.h: Likewise.
8908
4e234f5d 8909 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
8910 and <math_private.h>.
8911 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
8912 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
8913 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
8914 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
8915 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
8916 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
8917 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
8918 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8919 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
8920 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8921 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8922 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
8923 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
8924 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8925 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
8926 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
8927 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8928 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
8929 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8930 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
8931 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8932 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
8933 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
8934 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8935 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
8936 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8937 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
8938 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8939 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8940 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8941 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
8942 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8943 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
8944 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
8945 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
8946 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
8947 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
8948 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
8949 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
8950 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8951 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
8952 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
8953 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
8954 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
8955 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
8956 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
8957 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
8958 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
8959 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
8960 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
8961 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
8962 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
8963 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
8964 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
8965 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
8966 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
8967 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
8968 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
8969 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
8970 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
8971 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8972 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
8973 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8974 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
8975 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
8976 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
8977 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
8978 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
8979 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
8980 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
8981 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
8982 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
8983 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
8984 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8985 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
8986 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
8987 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
8988 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
8989 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
8990 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
8991 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
8992 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
8993 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
8994 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
8995 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
8996 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
8997 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
8998 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
8999 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
9000 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
9001 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
9002 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
9003 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
9004 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
9005 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
9006 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
9007 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
9008 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
9009 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
9010 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
9011 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
9012 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
9013 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
9014 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
9015 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
9016 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
9017 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
9018 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
9019 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
9020 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
9021 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
9022 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
9023 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
9024 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
9025 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
9026 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
9027 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
9028 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
9029 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
9030 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
9031 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
9032 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
9033 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
9034 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
9035 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
9036 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
9037 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
9038 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
9039 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
9040 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
9041 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
9042 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
9043 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
9044 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
9045 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
9046 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
9047 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
9048 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
9049 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
9050 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
9051 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
9052 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
9053 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
9054 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
9055 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
9056 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
9057 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
9058 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
9059 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
9060 * sysdeps/ieee754/k_standard.c: Likewise.
9061 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
9062 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
9063 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
9064 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
9065 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
9066 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
9067 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
9068 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
9069 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
9070 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
9071 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9072 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
9073 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
9074 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
9075 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
9076 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
9077 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
9078 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
9079 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
9080 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
9081 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
9082 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
9083 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
9084 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
9085 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
9086 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
9087 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
9088 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
9089 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
9090 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
9091 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
9092 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
9093 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
9094 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
9095 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
9096 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
9097 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
9098 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
9099 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
9100 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
9101 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
9102 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
9103 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
9104 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
9105 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
9106 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
9107 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
9108 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
9109 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
9110 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
9111 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
9112 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
9113 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
9114 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
9115 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
9116 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
9117 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
9118 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
9119 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
9120 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
9121 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
9122 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
9123 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
9124 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
9125 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
9126 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
9127 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
9128 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
9129 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
9130 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
9131 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
9132 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
9133 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
9134 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
9135 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
9136 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
9137 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
9138 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
9139 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
9140 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
9141 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
9142 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
9143 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
9144 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
9145 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
9146 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
9147 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
9148 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
9149 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
9150 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
9151 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
9152 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
9153 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
9154 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
9155 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
9156 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
9157 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
9158 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
9159 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
9160 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
9161 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
9162 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
9163 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
9164 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
9165 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
9166 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
9167 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
9168 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
9169 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
9170 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
9171 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
9172 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
9173 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
9174 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
9175 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
9176 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
9177 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
9178 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
9179 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
9180 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
9181 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9182 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
9183 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
9184 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
9185 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
9186 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
9187 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
9188 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
9189 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
9190 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
9191 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
9192 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
9193 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
9194 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
9195 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
9196 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
9197 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
9198 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
9199 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
9200 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
9201 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
9202 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
9203 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
9204 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
9205 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
9206 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
9207 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
9208 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
9209 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
9210 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
9211 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
9212 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
9213 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
9214 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
9215 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
9216 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
9217 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
9218 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
9219 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
9220 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
9221 * sysdeps/ieee754/s_lib_version.c: Likewise.
9222 * sysdeps/ieee754/s_matherr.c: Likewise.
9223 * sysdeps/ieee754/s_signgam.c: Likewise.
9224 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
9225 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9226 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
9227 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
9228 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
9229 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
9230 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
9231 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
9232 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
9233 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
9234 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
9235 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
9236 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
9237 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
9238 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
9239 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
9240 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
9241 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
9242 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
9243 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
9244 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 9245
1991fa03
JM
92462012-03-09 Joseph Myers <joseph@codesourcery.com>
9247
9248 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
9249 * sunrpc/rpc_main.c: Likewise.
9250 * sunrpc/rpc_svcout.c: Likewise.
9251
60d6f5a6
DM
92522012-03-09 David S. Miller <davem@davemloft.net>
9253
9254 * include/math_private.h: New file.
9255
4962050e
JM
92562012-03-09 Joseph Myers <joseph@codesourcery.com>
9257
02a6f887
JM
9258 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
9259 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
9260 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
9261 from <bits/socket_type.h>.
9262 (enum __socket_type): Don't define here.
9263 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
9264 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9265 bits/socket_type.h.
9266
c6e013c1
JM
9267 [BZ #13566]
9268 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
9269 checking __USE_GNU.
9270
4962050e
JM
9271 * Makerules ($(inst_includedir)/%.h): New rule.
9272 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
9273 (install-others): Remove variable setting.
9274 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
9275
38842f45
RH
92762012-03-08 Richard Henderson <rth@twiddle.net>
9277
67bb6da6
RH
9278 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
9279 from macro to inline function; merge with the
9280 !__LIBC_INTERNAL_MATH_INLINES version.
9281 (__ieee754_sqrtf): Likewise.
9282
15194b4b
RH
9283 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
9284 to inline function.
9285 (__rintf, __floor, __floorf): Likewise.
9286
64e21ede
RH
9287 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
9288 macro to inline function.
9289 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
9290
38842f45
RH
9291 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
9292 not <math/math_private.h>.
9293
c64bf5fe
DM
92942012-03-08 David S. Miller <davem@davemloft.net>
9295
9296 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
9297 copyright year.
9298 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
9299
82d86f28
TS
93002012-03-08 Thomas Schwinge <thomas@codesourcery.com>
9301
9302 * resolv/gai_misc.c (handle_requests): Fix struct timespec
9303 normalization.
9304 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
9305 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
9306
aea5d727
UD
93072012-03-08 Ulrich Drepper <drepper@gmail.com>
9308
9309 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
9310 be defined individually, they must be defined as a block. Define
9311 S for printing a string instead of hidint the different by using a
9312 macro for adding the 'l'.
9313 * stdio-common/tst-fphex-wide.c: Adjust.
9314
70bca0a3
MP
93152012-03-07 Marek Polacek <polacek@redhat.com>
9316
9317 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
9318
65b81130
MP
93192012-03-08 Marek Polacek <polacek@redhat.com>
9320
9321 [BZ #13806]
9322 * stdio-common/Makefile (tests): Add tst-fphex-wide.
9323 * stdio-common/tst-fphex.c: Define a few macros to make the
9324 test reusable. Use them.
9325 * stdio-common/tst-fphex-wide.c: New file.
9326
07037eeb
JM
93272012-03-08 Joseph Myers <joseph@codesourcery.com>
9328
a7a93d50
JM
9329 [BZ #6911]
9330 * manual/macros.texi (gnusystems): New macro.
9331 (nongnusystems): Likewise.
9332 (gnulinuxhurdsystems): Likewise.
9333 (gnuhurdsystems): Likewise..
9334 (gnulinuxsystems): Likewise.
9335 * manual/charset.texi: Use new macros or @theglibc{} to refer to
9336 variants of the GNU system, not "GNU system".
9337 * manual/conf.texi: Likewise.
9338 * manual/errno.texi: Likewise. Update example of errno macro
9339 expansion.
9340 * manual/filesys.texi: Likewise.
9341 (getumask): Document as specific to GNU/Hurd.
9342 * manual/install.texi: Likewise. Reword some references to
9343 GNU/Linux.
9344 * manual/intro.texi: Likewise.
9345 * manual/io.texi: Likewise.
9346 (File Name Portability): Detail which constraints are inapplicable
9347 to all GNU systems and which are only inapplicable to GNU/Hurd.
9348 * manual/job.texi: Likewise.
9349 * manual/llio.texi: Likewise.
9350 (O_NOCTTY): Document as present on GNU/Linux.
9351 * manual/maint.texi: Likewise.
9352 * manual/memory.texi: Likewise.
9353 * manual/pattern.texi: Likewise.
9354 * manual/pipe.texi: Likewise.
9355 * manual/process.texi: Likewise.
9356 * manual/resource.texi: Likewise.
9357 (RUSAGE_CHILDREN): Remove statement about specifying a particular
9358 child on GNU/Hurd.
9359 * manual/setjmp.texi: Likewise.
9360 * manual/signal.texi: Likewise.
9361 * manual/startup.texi: Likewise.
9362 * manual/stdio.texi: Likewise.
9363 * manual/terminal.texi: Likewise.
9364 (ONLCR): Document as POSIX.
9365 (OXTABS): Document availability on GNU/Linux as XTABS.
9366 (ONOEOT): Document availability separately from other bits.
9367 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
9368 * manual/time.texi: Likewise.
9369 * manual/users.texi: Likewise.
9370 * INSTALL: Regenerated.
9371 * sysdeps/gnu/errlist.c: Regenerated.
9372
07037eeb
JM
9373 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
9374 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
9375 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
9376 puts.
9377 * configure: Regenerated.
9378
d1d3431a
JM
93792012-03-07 Joseph Myers <joseph@codesourcery.com>
9380
af6a1e37
JM
9381 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
9382 default includes instead of AC_HEADER_CHECK.
9383 * sysdeps/i386/configure: Regenerated.
9384
d1d3431a
JM
9385 [BZ #10716]
9386 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
9387 * math/s_cacoshf.c (__cacoshf): Likewise.
9388 * math/s_cacoshl.c (__cacoshl): Likewise.
9389 * math/s_casinh.c (__casinh): Set signs of result from argument.
9390 * math/s_casinhf.c (__casinhf): Likewise.
9391 * math/s_casinhl.c (__casinhl): Likewise.
9392 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
9393 (casinh_test): Add more tests.
9394 * sysdeps/i386/fpu/libm-test-ulps: Update.
9395 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9396
482ff4da
UD
93972012-03-07 Ulrich Drepper <drepper@gmail.com>
9398
872fda05
UD
9399 * po/zh_TW.po: Update from translation team.
9400
a4300c7a
UD
9401 * login/Makefile (distribute): Remove variable.
9402 * catgets/Makefile: Likewise.
9403 * mach/Makefile: Likewise.
9404 * malloc/Makefile: Likewise.
9405 * misc/Makefile: Likewise.
9406 * iconv/Makefile: Likewise.
9407 * nscd/Makefile: Likewise.
9408 * hurd/Makefile: Likewise.
9409 * manual/Makefile: Likewise.
9410 * locale/Makefile: Likewise.
9411 * intl/Makefile: Likewise.
9412 * conform/Makefile: Likewise.
9413 * nss/Makefile: Likewise.
9414 * time/Makefile: Likewise.
9415 * soft-fp/Makefile: Likewise.
9416 * dirent/Makefile: Likewise.
9417 * gmon/Makefile: Likewise.
9418 * po/Makefile: Likewise.
9419 * rt/Makefile: Likewise.
9420 * socket/Makefile: Likewise.
9421 * math/Makefile: Likewise.
9422 * signal/Makefile: Likewise.
9423 * debug/Makefile: Likewise.
9424 * elf/Makefile: Likewise.
9425 * timezone/Makefile: Likewise.
9426 * stdlib/Makefile: Likewise.
9427 * iconvdata/Makefile: Likewise.
9428 * sunrpc/Makefile: Likewise.
9429 * io/Makefile: Likewise.
9430 * argp/Makefile: Likewise.
9431 * inet/Makefile: Likewise.
9432 * hesiod/Makefile: Likewise.
9433 * grp/Makefile: Likewise.
9434 * csu/Makefile: Likewise.
9435 * wctype/Makefile: Likewise.
9436 * crypt/Makefile: Likewise.
9437 * libio/Makefile: Likewise.
9438 * string/Makefile: Likewise.
9439 * nis/Makefile: Likewise.
9440 * resolv/Makefile: Likewise.
9441 * stdio-common/Makefile: Likewise.
9442 * wcsmbs/Makefile: Likewise.
9443 * dlfcn/Makefile: Likewise.
9444 * posix/Makefile: Likewise.
9445
3b7c4e74 9446 [BZ #6959]
482ff4da
UD
9447 * timezone/Makefile: Don't install timezone files, just the programs
9448 and scripts.
9449
f72ed77d
UD
94502012-03-06 Ulrich Drepper <drepper@gmail.com>
9451
a000466f
UD
9452 * nss/databases.def: Add missing gshadow entry.
9453
f72ed77d
UD
9454 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
9455
a53b7a4e
MP
94562012-03-06 Marek Polacek <polacek@redhat.com>
9457
9458 [BZ #13726]
9459 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
9460 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
9461 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
9462 * stdio-common/tst-long-dbl-fphex.c: New file.
9463
e9258400
DM
94642012-03-06 David S. Miller <davem@davemloft.net>
9465
9466 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
9467 (set_obp_int): New function.
9468 (get_obp_int): New function.
9469 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
9470 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
9471 Avoid unused variable warnings on 'val' and use builtin_expect.
9472 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
9473 __builtin_expect.
e9258400
DM
9474 (INLINE_CLONE_SYSCALL): Likewise.
9475
3bd2c723
DM
94762012-03-05 David S. Miller <davem@davemloft.net>
9477
9478 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9479
bbb78d03
AS
94802012-03-05 Andreas Schwab <schwab@linux-m68k.org>
9481
884c5db4
AS
9482 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9483
bbb78d03
AS
9484 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
9485 only for |x| >= 40.
9486 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
9487
1c9f702a 94882012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
9489
9490 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
9491 Replace gettimeofday with __vdso_gettimeofday.
9492
7be16f82
RM
9493 * sysdeps/unix/sysv/linux/x86_64/init-first.c
9494 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
9495 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
9496
9497 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
9498 time with __vdso_time.
9499
ed58a00f
JM
95002012-03-05 Joseph Myers <joseph@codesourcery.com>
9501
9502 * manual/lang.texi (size_t): Note types to which size_t may be
9503 equivalent with the GNU C Library, but do not describe when
9504 differences between them are significant.
9505
30ee4ced
AJ
95062012-03-05 Andreas Jaeger <aj@suse.de>
9507
9508 * sysdeps/i386/fpu/libm-test-ulps: Update.
9509
b7cd39e8
JM
95102012-03-05 Joseph Myers <joseph@codesourcery.com>
9511
9512 [BZ #3976]
9513 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
9514 (__ieee754_pow): Save and restore rounding mode and use
9515 round-to-nearest for main computations.
9516 * math/libm-test.inc (pow_test_tonearest): New function.
9517 (pow_test_towardzero): Likewise.
9518 (pow_test_downward): Likewise.
9519 (pow_test_upward): Likewise.
9520 (main): Call the new functions.
9521 * sysdeps/i386/fpu/libm-test-ulps: Update.
9522 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
9523
9524 [BZ #3976]
9525 * math/libm-test.inc (cosh_test_tonearest): New function.
9526 (cosh_test_towardzero): Likewise.
9527 (cosh_test_downward): Likewise.
9528 (cosh_test_upward): Likewise.
9529 (sinh_test_tonearest): Likewise.
9530 (sinh_test_towardzero): Likewise.
9531 (sinh_test_downward): Likewise.
9532 (sinh_test_upward): Likewise.
9533 (main): Call the new functions.
9534 * sysdeps/i386/fpu/libm-test-ulps: Update.
9535 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9536
6c6a98c9
TV
95372012-03-05 Tom de Vries <tom@codesourcery.com>
9538
9539 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
9540 default stack guard is set in last bytes.
9541 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
9542
21bb2d2e 95432012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 9544
21bb2d2e 9545 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 9546
21bb2d2e
AJ
9547 [BZ #13656]
9548 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
9549 possibly allocate from heap instead of stack.
9550 * stdio-common/bug-vfprintf-nargs.c: New file.
9551 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 9552
c6922934
AS
95532012-03-03 Andreas Schwab <schwab@linux-m68k.org>
9554
9555 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9556
bc957d53
MP
95572012-03-03 Marek Polacek <polacek@redhat.com>
9558
9559 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
9560 * math/math_private.h: Likewise.
9561 * stdlib/tst-strtod.c: Likewise.
9562 * sysdeps/i386/i486/bits/atomic.h: Likewise.
9563 * sysdeps/x86_64/bits/atomic.h: Likewise.
9564
6358490d
DM
95652012-03-02 David S. Miller <davem@davemloft.net>
9566
9567 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
9568 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
9569 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
9570 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
9571 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
9572 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
9573 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
9574 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
9575
01ae168d
RM
95762012-03-02 Roland McGrath <roland@hack.frob.com>
9577
d9a17c07
RM
9578 [BZ #13792]
9579 * manual/examples/README: New file, says the example source files
9580 can be used under GPL>=2.
9581 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
9582 line containing just "*/".
9583 * manual/examples/add.c: Add copyright header (GPL>=2).
9584 * manual/examples/argp-ex1.c: Likewise.
9585 * manual/examples/argp-ex2.c: Likewise.
9586 * manual/examples/argp-ex3.c: Likewise.
9587 * manual/examples/argp-ex4.c: Likewise.
9588 * manual/examples/atexit.c: Likewise.
9589 * manual/examples/db.c: Likewise.
9590 * manual/examples/dir.c: Likewise.
9591 * manual/examples/dir2.c: Likewise.
9592 * manual/examples/execinfo.c: Likewise.
9593 * manual/examples/filecli.c: Likewise.
9594 * manual/examples/filesrv.c: Likewise.
9595 * manual/examples/fmtmsgexpl.c: Likewise.
9596 * manual/examples/genpass.c: Likewise.
9597 * manual/examples/inetcli.c: Likewise.
9598 * manual/examples/inetsrv.c: Likewise.
9599 * manual/examples/isockad.c: Likewise.
9600 * manual/examples/longopt.c: Likewise.
9601 * manual/examples/memopen.c: Likewise.
9602 * manual/examples/memstrm.c: Likewise.
9603 * manual/examples/mkfsock.c: Likewise.
9604 * manual/examples/mkisock.c: Likewise.
9605 * manual/examples/mygetpass.c: Likewise.
9606 * manual/examples/pipe.c: Likewise.
9607 * manual/examples/popen.c: Likewise.
9608 * manual/examples/rprintf.c: Likewise.
9609 * manual/examples/search.c: Likewise.
9610 * manual/examples/select.c: Likewise.
9611 * manual/examples/setjmp.c: Likewise.
9612 * manual/examples/sigh1.c: Likewise.
9613 * manual/examples/sigusr.c: Likewise.
9614 * manual/examples/stpcpy.c: Likewise.
9615 * manual/examples/strdupa.c: Likewise.
9616 * manual/examples/strftim.c: Likewise.
9617 * manual/examples/strncat.c: Likewise.
9618 * manual/examples/subopt.c: Likewise.
9619 * manual/examples/swapcontext.c: Likewise.
9620 * manual/examples/termios.c: Likewise.
9621 * manual/examples/testopt.c: Likewise.
9622 * manual/examples/testpass.c: Likewise.
9623 * manual/examples/timeval_subtract.c: Likewise.
9624
01ae168d
RM
9625 [BZ #13792]
9626 * manual/time.texi (Elapsed Time): Move timeval_subtract example
9627 function to ...
9628 * manual/timeval_subtract.c.texi: ... here, new file.
9629
49efa33d
DM
96302012-03-02 David S. Miller <davem@davemloft.net>
9631
9632 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
9633
28afd92d
JM
96342012-03-02 Joseph Myers <joseph@codesourcery.com>
9635
804360ed
JM
9636 [BZ #3976]
9637 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
9638 (__sin): Save and restore rounding mode and use round-to-nearest
9639 for all computations.
9640 (__cos): Save and restore rounding mode and use round-to-nearest
9641 for all computations.
9642 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
9643 <fenv.h>.
9644 (tan): Save and restore rounding mode and use round-to-nearest for
9645 all computations.
9646 * math/libm-test.inc (cos_test_tonearest): New function.
9647 (cos_test_towardzero): Likewise.
9648 (cos_test_downward): Likewise.
9649 (cos_test_upward): Likewise.
9650 (sin_test_tonearest): Likewise.
9651 (sin_test_towardzero): Likewise.
9652 (sin_test_downward): Likewise.
9653 (sin_test_upward): Likewise.
9654 (tan_test_tonearest): Likewise.
9655 (tan_test_towardzero): Likewise.
9656 (tan_test_downward): Likewise.
9657 (tan_test_upward): Likewise.
9658 (main): Call the new functions.
9659 * sysdeps/i386/fpu/libm-test-ulps: Update.
9660 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9661
a6d06d7b
JM
9662 [BZ #10135]
9663 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
9664 small n, then large n, before computing and testing k+n.
9665 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
9666 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
9667 Likewise.
9668 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
9669 Likewise.
9670 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
9671 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
9672 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
9673 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
9674 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
9675 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
9676 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
9677 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
9678 * math/libm-test.inc (scalbn_test): Add more tests.
9679 (scalbln_test): Likewise.
9680
07e12bb3
JM
9681 * manual/filesys.texi (mode_t): Describe constraints on size and
9682 signedness, not exact equivalence to a particular type.
9683 (ino_t): Likewise.
9684 (ino64_t): Likewise.
9685 (dev_t): Likewise.
9686 (nlink_t): Likewise.
9687 (blkcnt_t): Likewise.
9688 (blkcnt64_t): Likewise.
9689 * manual/llio.texi (off_t): Likewise.
9690
28afd92d
JM
9691 [BZ #3976]
9692 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
9693 (__ieee754_exp): Save and restore rounding mode and use
9694 round-to-nearest for all computations.
9695 * math/libm-test.inc (exp_test_tonearest): New function.
9696 (exp_test_towardzero): Likewise.
9697 (exp_test_downward): Likewise.
9698 (exp_test_upward): Likewise.
9699 (main): Call the new functions.
9700 * sysdeps/i386/fpu/libm-test-ulps: Update.
9701 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9702
b1eeb65d
CD
97032012-03-01 Chris Demetriou <cgd@google.com>
9704
9705 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
9706 have predictable order.
9707
53362a4b
DM
97082012-03-01 David S. Miller <davem@davemloft.net>
9709
3c969083
DM
9710 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
9711
759707de
DM
9712 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
9713 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
9714 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
9715 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
9716
dfdb8ff2
DM
9717 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
9718 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
9719 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
9720 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
9721 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
9722 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
9723 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
9724 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
9725 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
9726
ead89f96
DM
9727 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9728
7f66bd07
DM
9729 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
9730 * sysdeps/sparc/fpu/libm-test-ulps: to here.
9731 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
9732
53362a4b
DM
9733 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
9734 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
9735 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
9736 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
9737 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
9738 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
9739 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
9740 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
9741 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
9742 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
9743 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
9744 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
9745 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
9746 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
9747 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
9748 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9749 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
9750 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
9751 * sysdeps/sparc/elf/configure: Regenerated.
9752
7b1902cb
JM
97532012-03-01 Joseph Myers <joseph@codesourcery.com>
9754
bec039bc
JM
9755 * configure.in (AS, LD): Require binutils 2.20 or later.
9756 * configure: Regenerated.
9757 * manual/install.texi (Tools for Compilation): Give binutils 2.20
9758 as required minimum version.
9759 * INSTALL: Regenerated.
9760
7b1902cb
JM
9761 [BZ #2541]
9762 [BZ #4108]
9763 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
9764 before squaring exponent.
9765 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
9766 bottom long double and 27 bits of top long double before squaring
9767 exponent.
9768 * math/libm-test.inc (erfc_test): Add more tests.
9769 * sysdeps/i386/fpu/libm-test-ulps: Update.
9770 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9771 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9772
f775c276
KT
97732012-03-01 Kai Tietz <ktietz@redhat.com>
9774
9775 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
9776 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
9777 containing bit-fields.
9778 * soft-fp/extended.h (_FP_UNION_E): Likewise.
9779 * soft-fp/single.h (_FP_UNION_S): Likewise.
9780 * soft-fp/double.h (_FP_UNION_D): Likewise.
9781
5b8a4d4a
JM
97822012-02-29 Joseph Myers <joseph@codesourcery.com>
9783
0bab47b6
JM
9784 [BZ #13786]
9785 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
9786 not include ../strcmp.S.
9787 [USE_AS_STRNCASECMP_L]: Likewise.
9788 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
9789 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
9790 * sysdeps/i386/i686/multiarch/strncase_l-c.c
9791 (__strncasecmp_l_ia32): Define as alias to
9792 __strncasecmp_l_nonascii.
9793
0fcad3e2
JM
9794 [BZ #5794]
9795 * math/libm-test.inc (expm1_test): Add test for bug 5794.
9796 * sysdeps/i386/fpu/libm-test-ulps: Update.
9797 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9798
5b8a4d4a
JM
9799 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
9800 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9801
8fdceb2e
JL
98022012-02-29 Jeff Law <law@redhat.com>
9803
9804 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
9805 out of bounds read.
9806
1f393a11
MP
98072012-02-29 Marek Polacek <polacek@redhat.com>
9808
9809 [BZ #13706]
9810 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
9811 * elf/Makefile: Add rules to run tst-unused-dep.out.
9812
8847f037
DM
98132012-02-28 David S. Miller <davem@davemloft.net>
9814
9815 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
9816 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
9817 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
9818 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
9819 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
9820 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
9821
169d7f11
JM
98222012-02-29 Joseph Myers <joseph@codesourcery.com>
9823
9824 * math/libm-test.inc (llround_test): Move one test from
9825 lround_test. Use TEST_f_L in moved test.
9826 (lround_test): Move misplaced test to llround_test. Add testcase
9827 from bug 2561.
9828
39adf059
UD
98292012-02-28 Ulrich Drepper <drepper@gmail.com>
9830
9831 * sysdeps/x86_64/fpu/e_expf.S: New file.
9832 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
9833
71b5d1c5
SB
98342012-02-28 Stanislav Brabec <sbrabec@suse.cz>
9835
9836 [BZ #13637]
9837 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
9838 of remain_len that may cause incomplete multi-byte character and
9839 false match.
9840 * posix/bug-regex33.c: New file.
9841 * posix/Makefile (tests): Add bug-regex33.
9842
1f77f049
JM
98432012-02-28 Joseph Myers <joseph@codesourcery.com>
9844
9845 * manual/macros.texi: New file.
9846 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
9847 * manual/libc.texinfo: Include macros.texi.
9848 * manual/creatute.texi: Likewise.
9849 * manual/install.texi: Likewise.
9850 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
9851 @glibcadj{} in references to the GNU C Library.
9852 * manual/charset.texi: Likewise.
9853 * manual/conf.texi: Likewise.
9854 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
9855 when not using those macros.
9856 * manual/creature.texi: Likewise.
9857 * manual/crypt.texi: Likewise.
9858 * manual/errno.texi: Likewise.
9859 * manual/filesys.texi: Likewise.
9860 * manual/header.texi: Likewise.
9861 * manual/install.texi: Likewise.
9862 * manual/intro.texi: Likewise.
9863 * manual/io.texi: Likewise.
9864 * manual/job.texi: Likewise.
9865 * manual/lang.texi: Likewise.
9866 * manual/libc.texiinfo: Likewise.
9867 * manual/llio.texi: Likewise.
9868 * manual/locale.texi: Likewise.
9869 * manual/maint.texi: Likewise.
9870 * manual/math.texi: Likewise.
9871 * manual/memory.texi: Likewise.
9872 * manual/message.texi: Likewise.
9873 * manual/nss.texi: Likewise.
9874 * manual/pattern.texi: Likewise.
9875 * manual/process.texi: Likewise.
9876 * manual/resource.texi: Likewise.
9877 * manual/search.texi: Likewise.
9878 * manual/setjmp.texi: Likewise.
9879 * manual/signal.texi: Likewise.
9880 * manual/socket.texi: Likewise.
9881 * manual/startup.texi: Likewise.
9882 * manual/stdio.texi: Likewise.
9883 * manual/string.texi: Likewise.
9884 * manual/sysinfo.texi: Likewise.
9885 * manual/syslog.texi: Likewise.
9886 * manual/terminal.texi: Likewise.
9887 * manual/time.texi: Likewise.
9888 * manual/users.texi: Likewise.
9889 * INSTALL: Regenerated.
9890 * NOTES: Regenerated.
d40c5d54 9891 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 9892
450bf206
AS
98932012-02-28 Andreas Schwab <schwab@linux-m68k.org>
9894
9895 * include/dirent.h: Include <dirstream.h> before
9896 <dirent/dirent.h>.
9897
741a235b
DM
98982012-02-28 David S. Miller <davem@davemloft.net>
9899
9900 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
9901 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
9902 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
9903 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
9904
d6b5aa58
DM
99052012-02-27 David S. Miller <davem@davemloft.net>
9906
1aff59a3
DM
9907 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
9908 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
9909 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
9910 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
9911
d6b5aa58
DM
9912 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
9913 frame pointer instead of stack pointer relative arg slot.
9914 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
9915 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
9916 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
9917
433f48bf
CD
99182012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
9919
9920 [BZ #3992]
9921 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
9922
d674b76d
DM
99232012-02-27 David S. Miller <davem@davemloft.net>
9924
9925 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
9926 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
9927 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
9928 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
9929 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
9930 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
9931 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
9932 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
9933
0e7727f7
JM
99342012-02-27 Joseph Myers <joseph@codesourcery.com>
9935
9936 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
9937 later. Allow versions 5-9.
43be4ca2 9938 * configure: Regenerated.
0e7727f7
JM
9939 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
9940 required minimum version and 4.6 as recommended version. Do not
9941 mention bugs in GCC 2.7 and 2.8.
43be4ca2 9942 * INSTALL: Regenerated.
0e7727f7 9943
a78bc654
DM
99442012-02-27 David S. Miller <davem@davemloft.net>
9945
428d5830
DM
9946 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
9947 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
9948 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
9949 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
9950 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
9951 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
9952 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
9953 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
9954
a78bc654
DM
9955 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
9956 manipulate bits before adding and subtracting TWO112[sx].
9957 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
9958
4579f81c
RM
99592012-02-27 Roland McGrath <roland@hack.frob.com>
9960
36c8acb4
RM
9961 [BZ #13775]
9962 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
9963 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
9964 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
9965 being in POSIX, because they are in 1003.1-2008.
9966
84ad622b
RM
9967 * rt/tst-aio.c: Include <fcntl.h>.
9968 * rt/tst-aio7.c: Likewise.
9969 * rt/tst-aio64.c: Likewise.
9970
4579f81c
RM
9971 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
9972
abd923db
JM
99732012-02-27 Joseph Myers <joseph@codesourcery.com>
9974
9975 * manual/install.texi (--with-headers): Describe headers as
9976 interface headers, not private headers.
9977 (Specific advice for GNU/Linux systems): Describe use of headers
9978 from "make headers_install", not private headers from older
9979 kernels.
43be4ca2 9980 * INSTALL: Regenerated.
abd923db
JM
9981 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
9982 Change to 2.6.19.
9983 * sysdeps/unix/sysv/linux/configure: Regenerated.
9984
6664049b
JM
9985 * manual/llio.texi (fclean): Remove documentation.
9986
bb8b6697
JM
9987 * manual/Makefile (libc-texi-generated): New variable. Include
9988 version.texi.
9989 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
9990 $(libc-texi-generated), not duplicated list of files.
9991 (version.texi, stamp-version): New rules.
9992 (realclean): Remove $(libc-texi-generated), not individual files
9993 from that list. Do not remove dir-add.texinfo.
9994 * manual/libc.texinfo: Comment out uses of edition numbers and
9995 references to printed manual. Remove last-updated dates.
9996 (EDITION): Comment out.
9997 (ISBN): Likewise.
9998 (VERSION, UPDATED): Remove.
9999 (version.texi): Include.
10000
12e5c3b9
AS
100012012-02-27 Andreas Schwab <schwab@linux-m68k.org>
10002
10003 * sysdeps/posix/spawni.c: Include <signal.h>.
10004 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
10005 * sysdeps/pthread/aio_fsync.c: Likewise.
10006
4efeffc1 100072012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 10008
ba63ba08
UD
10009 * conform/Makefile (tests): Run only when not cross-compiling and
10010 when fast-check is not defined.
10011
d94a4670
UD
10012 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
10013 * conform/data/limits.h-data: Fixes for POSIX2008.
10014 * conform/run-conformtest.sh: Run all tests.
10015 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
10016 headers.
10017 * include/bits/dlfcn.h: Likewise.
10018 * include/langinfo.h: Likewise.
10019 * include/monetary.h: Likewise.
10020 * include/sys/poll.h: Likewise.
10021
10022 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
10023 for __USE_GNU.
10024 * posix/spawn.h: Define __need_sigset_t.
10025 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
10026 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
10027 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
10028 to get sigevent_t only.
10029 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
10030 only for __USE_GNU.
10031 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
10032 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
10033 process_vm_writev only for __USE_GNU.
10034 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
10035
10036 * conform/Makefile: For now ignore errors from run-conformtest.
10037 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
10038 POSIX to avoid namespace pollution. Don't prepend headers.
10039 * conform/data/aio.h-data: Fixes for POSIX testing.
10040 * conform/data/fcntl.h-data: Likewise.
10041 * conform/data/glob.h-data: Likewise.
10042 * conform/data/grp.h-data: Likewise.
10043 * conform/data/pthread.h-data: Likewise.
10044 * conform/data/pwd.h-data: Likewise.
10045 * conform/data/signal.h-data: Likewise.
10046 * conform/data/spawn.h-data: Likewise.
10047 * conform/data/stdio.h-data: Likewise.
10048 * conform/data/stdlib.h-data: Likewise.
10049 * conform/data/stropts.h-data: Likewise.
10050 * conform/data/sys/mman.h-data: Likewise.
10051 * conform/data/sys/stat.h-data: Likewise.
10052 * conform/data/sys/types.h-data: Likewise.
10053 * conform/data/sys/wait.h-data: Likewise.
10054 * conform/data/time.h-data: Likewise.
10055 * conform/data/unistd.h-data: Likewise.
10056 * conform/data/utime.h-data: Likewise.
10057
10058 * io/sys/stat.h: fchmod was always in POSIX.
10059 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
10060 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
10061 * rt/aio.h: Define __need_timespec before including <time.h>.
10062 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
10063 struct. Add forward declaration of pthread_attr_t and use it in
10064 sigevent.
10065 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
10066 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
10067 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
10068 always remove CLK_TCK definition.
10069
c20105c3
AS
100702012-02-26 Andreas Schwab <schwab@linux-m68k.org>
10071
10072 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
10073
7a270350
UD
100742012-02-25 Ulrich Drepper <drepper@gmail.com>
10075
31341567
UD
10076 * conform/run-conformtest.sh: New file.
10077 * conform/Makefile: Run run-conformtest for tests.
10078 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
10079 support.
10080
10081 * conform/data/uchar.h-data: New file.
10082 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
10083 * conform/data/arpa/inet.h-data: Likewise.
10084 * conform/data/assert.h-data: Likewise.
10085 * conform/data/complex.h-data: Likewise.
10086 * conform/data/cpio.h-data: Likewise.
10087 * conform/data/ctype.h-data: Likewise.
10088 * conform/data/dirent.h-data: Likewise.
10089 * conform/data/dlfcn.h-data: Likewise.
10090 * conform/data/errno.h-data: Likewise.
10091 * conform/data/fcntl.h-data: Likewise.
10092 * conform/data/float.h-data: Likewise.
10093 * conform/data/fmtmsg.h-data: Likewise.
10094 * conform/data/fnmatch.h-data: Likewise.
10095 * conform/data/ftw.h-data: Likewise.
10096 * conform/data/glob.h-data: Likewise.
10097 * conform/data/grp.h-data: Likewise.
10098 * conform/data/iconv.h-data: Likewise.
10099 * conform/data/inttypes.h-data: Likewise.
10100 * conform/data/langinfo.h-data: Likewise.
10101 * conform/data/libgen.h-data: Likewise.
10102 * conform/data/limits.h-data: Likewise.
10103 * conform/data/locale.h-data: Likewise.
10104 * conform/data/math.h-data: Likewise.
10105 * conform/data/monetary.h-data: Likewise.
10106 * conform/data/mqueue.h-data: Likewise.
10107 * conform/data/ndbm.h-data: Likewise.
10108 * conform/data/net/if.h-data: Likewise.
10109 * conform/data/netdb.h-data: Likewise.
10110 * conform/data/netinet/in.h-data: Likewise.
10111 * conform/data/nl_types.h-data: Likewise.
10112 * conform/data/poll.h-data: Likewise.
10113 * conform/data/pthread.h-data: Likewise.
10114 * conform/data/pwd.h-data: Likewise.
10115 * conform/data/regex.h-data: Likewise.
10116 * conform/data/sched.h-data: Likewise.
10117 * conform/data/search.h-data: Likewise.
10118 * conform/data/semaphore.h-data: Likewise.
10119 * conform/data/setjmp.h-data: Likewise.
10120 * conform/data/signal.h-data: Likewise.
10121 * conform/data/spawn.h-data: Likewise.
10122 * conform/data/stdarg.h-data: Likewise.
10123 * conform/data/stdio.h-data: Likewise.
10124 * conform/data/stdlib.h-data: Likewise.
10125 * conform/data/string.h-data: Likewise.
10126 * conform/data/strings.h-data: Likewise.
10127 * conform/data/stropts.h-data: Likewise.
10128 * conform/data/sys/ipc.h-data: Likewise.
10129 * conform/data/sys/mman.h-data: Likewise.
10130 * conform/data/sys/msg.h-data: Likewise.
10131 * conform/data/sys/resource.h-data: Likewise.
10132 * conform/data/sys/select.h-data: Likewise.
10133 * conform/data/sys/sem.h-data: Likewise.
10134 * conform/data/sys/shm.h-data: Likewise.
10135 * conform/data/sys/socket.h-data: Likewise.
10136 * conform/data/sys/stat.h-data: Likewise.
10137 * conform/data/sys/statvfs.h-data: Likewise.
10138 * conform/data/sys/time.h-data: Likewise.
10139 * conform/data/sys/timeb.h-data: Likewise.
10140 * conform/data/sys/times.h-data: Likewise.
10141 * conform/data/sys/types.h-data: Likewise.
10142 * conform/data/sys/uio.h-data: Likewise.
10143 * conform/data/sys/un.h-data: Likewise.
10144 * conform/data/sys/utsname.h-data: Likewise.
10145 * conform/data/sys/wait.h-data: Likewise.
10146 * conform/data/syslog.h-data: Likewise.
10147 * conform/data/tar.h-data: Likewise.
10148 * conform/data/termios.h-data: Likewise.
10149 * conform/data/utime.h-data: Likewise.
10150 * conform/data/utmpx.h-data: Likewise.
10151 * conform/data/varargs.h-data: Likewise.
10152 * conform/data/wchar.h-data: Likewise.
10153 * conform/data/wctype.h-data: Likewise.
10154 * conform/data/wordexp.h-data: Likewise.
10155
10156 * include/stropts.h: New file.
10157 * include/uchar.h: New file.
10158 * include/aio.h: Changes to allow conformtest.pl to use the headers.
10159 * include/assert.h: Likewise.
10160 * include/ctype.h: Likewise.
10161 * include/dirent.h: Likewise.
10162 * include/dlfcn.h: Likewise.
10163 * include/fcntl.h: Likewise.
10164 * include/fnmatch.h: Likewise.
10165 * include/glob.h: Likewise.
10166 * include/grp.h: Likewise.
10167 * include/libio.h: Likewise.
10168 * include/locale.h: Likewise.
10169 * include/math.h: Likewise.
10170 * include/net/if.h: Likewise.
10171 * include/netdb.h: Likewise.
10172 * include/netinet/in.h: Likewise.
10173 * include/pthread.h: Likewise.
10174 * include/pwd.h: Likewise.
10175 * include/regex.h: Likewise.
10176 * include/sched.h: Likewise.
10177 * include/search.h: Likewise.
10178 * include/setjmp.h: Likewise.
10179 * include/signal.h: Likewise.
10180 * include/stdio.h: Likewise.
10181 * include/stdlib.h: Likewise.
10182 * include/string.h: Likewise.
10183 * include/sys/cdefs.h: Likewise.
10184 * include/sys/mman.h: Likewise.
10185 * include/sys/msg.h: Likewise.
10186 * include/sys/resource.h: Likewise.
10187 * include/sys/select.h: Likewise.
10188 * include/sys/socket.h: Likewise.
10189 * include/sys/stat.h: Likewise.
10190 * include/sys/statvfs.h: Likewise.
10191 * include/sys/time.h: Likewise.
10192 * include/sys/times.h: Likewise.
10193 * include/sys/uio.h: Likewise.
10194 * include/sys/utsname.h: Likewise.
10195 * include/sys/wait.h: Likewise.
10196 * include/termios.h: Likewise.
10197 * include/time.h: Likewise.
10198 * include/ulimit.h: Likewise.
10199 * include/unistd.h: Likewise.
10200 * include/utime.h: Likewise.
10201 * include/wchar.h: Likewise.
10202 * include/wctype.h: Likewise.
10203 * include/wordexp.h: Likewise.
10204
10205 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
10206
7a270350
UD
10207 * time/time.h: TIME_UTC must be a macro.
10208 Make timespec_get available for ISO C11 only as well.
10209
7724defc
UD
102102012-02-24 Ulrich Drepper <drepper@gmail.com>
10211
10212 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
10213 Reported by Peng Haitao <penght@cn.fujitsu.com>.
10214
6b1d1d46
JM
102152012-02-24 Joseph Myers <joseph@codesourcery.com>
10216
10217 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 10218
0f8bbd69
JM
102192012-02-24 Joseph Myers <joseph@codesourcery.com>
10220
10221 * manual/texinfo.tex: Update to version 2012-01-19.16.
10222
66ab80bc
JM
102232012-02-24 Joseph Myers <joseph@codesourcery.com>
10224
10225 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
10226
74981cc5
RM
102272012-02-24 Roland McGrath <roland@hack.frob.com>
10228
ee968201
RM
10229 [BZ #13738]
10230 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
10231 * manual/fdl-1.3.texi: New file.
10232 * manual/fdl-1.1.texi: File removed.
10233
74981cc5
RM
10234 [BZ #13738]
10235 * manual/libc.texinfo (FDL_VERSION): New @set.
10236 Use it for mention of FDL in cover text.
10237 (Documentation License): Use it in @include file name.
10238
7bb764bc
JM
102392012-02-22 Joseph Myers <joseph@codesourcery.com>
10240 Roland McGrath <roland@hack.frob.com>
10241
10242 [BZ #5461]
10243 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
10244 not LONG_LONG_MAX and LONG_LONG_MIN.
10245 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
10246 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
10247 name.
10248 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
10249
6cbeae47
JM
102502012-02-22 Joseph Myers <joseph@codesourcery.com>
10251
10252 [BZ #2547]
10253 [BZ #11365]
10254 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
10255 manipulate bits before adding and subtracting TWO23[sx].
10256 * math/libm-test.inc (nearbyint_test): Add more tests.
10257
fe45ce09
JM
102582012-02-22 Joseph Myers <joseph@codesourcery.com>
10259
10260 [BZ #2548]
10261 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
10262 bits before adding and subtracting TWO23[sx].
10263 * math/libm-test.inc (rint_test): Add more tests.
10264 (rint_test_tonearest): Likewise.
10265 (rint_test_towardzero): Likewise.
10266 (rint_test_downward): Likewise.
10267 (rint_test_upward: Likewise.
10268
ff3b3d82
JM
102692012-02-22 Joseph Myers <joseph@codesourcery.com>
10270
10271 [BZ #10110]
10272 * include/stdc-predef.h: New file. Extracted from features.h.
10273 * include/features.h: Include stdc-predef.h.
10274 * Makefile (headers): Add stdc-predef.h.
10275 * CONFORMANCE (Compiler limitations): Update.
10276
ef0aab35
JM
102772012-02-22 Joseph Myers <joseph@codesourcery.com>
10278
10279 * manual/libc.texinfo (VERSION, UPDATED): Revert.
10280
58639409
DM
102812012-02-21 David S. Miller <davem@davemloft.net>
10282
10283 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
10284 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
10285
c0e70b25
DM
102862012-02-20 David S. Miller <davem@davemloft.net>
10287
10288 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
10289 using a normal save/restore sequence, rather than allocating a
10290 dummy stack frame just to store a frame pointer and restore.
10291 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
10292
fb06851d
JM
102932012-02-21 Joseph Myers <joseph@codesourcery.com>
10294
10295 * manual/install.texi: Fix stray word in line-wrapped comment.
10296
7a8b71c3
DM
102972012-02-20 David S. Miller <davem@davemloft.net>
10298
d510c123
DM
10299 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
10300 both binutils and gcc support GOTDATA.
10301
0722d7c2
DM
10302 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
10303 "rd %pc" in the PIC register setup sequences.
10304
3d2b3019
DM
10305 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
10306 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
10307 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
10308 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
10309 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
10310 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
10311 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
10312 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
10313 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
10314 (SYSCALL_ERROR_HANDLER): Likewise.
10315 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
10316 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
10317 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
10318 (SYSCALL_ERROR_HANDLER): Likewise.
10319
c80098a9
DM
10320 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
10321 (HAVE_GCC_GOTDATA): New.
10322 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
10323 relocation support in both binutils and gcc.
10324 * sysdeps/sparc/elf/configure: Regenerate.
10325
3a2545a0
DM
10326 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
10327 * sysdeps/sparc/sparc32/elf/configure: Delete.
10328 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
10329 * sysdeps/sparc/sparc64/elf/configure: Delete.
10330 * sysdeps/sparc/elf/configure.in: New file.
10331 * sysdeps/sparc/elf/configure: Generate.
10332
7a8b71c3
DM
10333 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
10334 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
10335 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
10336 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
10337 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
10338
f1e86fca
JM
103392012-02-21 Joseph Myers <joseph@codesourcery.com>
10340
10341 * manual/install.texi: Do not mention specific glibc version
10342 numbers.
10343 * manual/libc.texinfo (VERSION, UPDATED): Update.
10344 (@copying): Use @copyright{} and range of years.
10345
0e7dfaef
JM
103462012-02-21 Joseph Myers <joseph@codesourcery.com>
10347
10348 [BZ #13695]
10349 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
10350 [crti.S not in sysdirs] (generated): Do not append.
10351 [crti.S not in sysdirs] (omit-deps): Likewise.
10352 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
10353 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
10354 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
10355 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
10356 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
10357 Likewise.
10358 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
10359 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
10360 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
10361 * csu/defs.awk: Remove file.
10362 * sysdeps/generic/initfini.c: Likewise.
10363 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
10364 variable.
10365 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
10366 Likewise.
10367
599af3ca
JM
103682012-02-20 Joseph Myers <joseph@codesourcery.com>
10369
10370 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
10371 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
10372 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
10373 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
10374 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
10375 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
10376 <bits/epoll.h>.
10377 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
10378 (__EPOLL_PACKED): Define to empty if not defined by
10379 <bits/epoll.h>.
10380 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
10381 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10382 bits/epoll.h.
10383
0e499750
JM
103842012-02-20 Joseph Myers <joseph@codesourcery.com>
10385
10386 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
10387 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
10388 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
10389 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
10390 <bits/timerfd.h>.
10391 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
10392 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10393 bits/timerfd.h.
10394
5ad91f6e
JM
103952012-02-20 Joseph Myers <joseph@codesourcery.com>
10396
10397 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
10398 in C locale.
10399 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10400 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
10401 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
10402 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10403
06b99b02
AJ
104042012-02-20 Aurelien Jarno <aurelien@aurel32.net>
10405
10406 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10407 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
10408
7638c0fd
AS
104092012-02-19 Andreas Schwab <schwab@linux-m68k.org>
10410
10411 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
10412 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
10413 defined.
10414 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
10415 Likewise.
10416 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
10417 entry for 2.16.
10418
92221550
AJ
104192012-02-19 Aurelien Jarno <aurelien@aurel32.net>
10420
10421 * math/w_acos.c: Use non-signaling floating-point comparisons.
10422 * math/w_acosf.c: Likewise.
10423 * math/w_acosh.c: Likewise.
10424 * math/w_acoshf.c: Likewise.
10425 * math/w_acoshl.c: Likewise.
10426 * math/w_acosl.c: Likewise.
10427 * math/w_asin.c: Likewise.
10428 * math/w_asinf.c: Likewise.
10429 * math/w_asinl.c: Likewise.
10430 * math/w_atanh.c: Likewise.
10431 * math/w_atanhf.c: Likewise.
10432 * math/w_atanhl.c: Likewise.
10433 * math/w_exp2.c: Likewise.
10434 * math/w_exp2f.c: Likewise.
10435 * math/w_exp2l.c: Likewise.
10436 * math/w_j0.c: Likewise.
10437 * math/w_j0f.c: Likewise.
10438 * math/w_j0l.c: Likewise.
10439 * math/w_j1.c: Likewise.
10440 * math/w_j1f.c: Likewise.
10441 * math/w_j1l.c: Likewise.
10442 * math/w_jn.c: Likewise.
10443 * math/w_jnf.c: Likewise.
10444 * math/w_log.c: Likewise.
10445 * math/w_log10.c: Likewise.
10446 * math/w_log10f.c: Likewise.
10447 * math/w_log10l.c: Likewise.
10448 * math/w_log2.c: Likewise.
10449 * math/w_log2f.c: Likewise.
10450 * math/w_log2l.c: Likewise.
10451 * math/w_logf.c: Likewise.
10452 * math/w_logl.c: Likewise.
10453 * math/w_sqrt.c: Likewise.
10454 * math/w_sqrtf.c: Likewise.
10455 * math/w_sqrtl.c: Likewise.
10456 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
10457 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
10458 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10459 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
10460 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
10461
ebaf36eb
JM
104622012-02-19 Joseph Myers <joseph@codesourcery.com>
10463
10464 [BZ #9739]
10465 * manual/string.texi (strnlen): Use correct parameter name in
10466 equivalent expression.
10467
71c254a6
JM
104682012-02-19 Joseph Myers <joseph@codesourcery.com>
10469
10470 [BZ #11174]
10471 * manual/users.texi (seteuid): Consistently use neweuid for
10472 argument name.
10473
16d2c631
JM
104742012-02-19 Joseph Myers <joseph@codesourcery.com>
10475
10476 [BZ #13704]
10477 * manual/nss.texi (Services in the NSS configuration): Correct
10478 list of services in example configuration file.
10479
cd837b09
NB
104802012-02-19 Nick Bowler <nbowler@draconx.ca>
10481
10482 [BZ #11322]
10483 * manual/arith.texi: Remove statements about negative zero
10484 behaving identically to zero.
10485
02c4bbad
JM
104862012-02-18 Joseph Myers <joseph@codesourcery.com>
10487
10488 [BZ #5993]
10489 * manual/install.texi: Do not document upgrading from libc5.
10490
366842e7
JM
104912012-02-18 Joseph Myers <joseph@codesourcery.com>
10492
10493 [BZ #4596]
10494 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
10495
dd54084d
DM
104962012-02-18 David S. Miller <davem@davemloft.net>
10497
10498 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
10499 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
10500 %o7 across the call.
10501 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
10502 instead.
10503 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
10504 SETUP_PIC_REG_LEAF.
10505 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10506 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
10507 * sysdeps/sparc/crtn.S: Likewise.
10508
2bcc53a3
UD
105092012-02-17 Ulrich Drepper <drepper@gmail.com>
10510
10511 * aout/Makefile: Remove.
10512
09c093b5
RK
105132012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
10514
10515 [BZ #13058]
10516 * manual/examples/argp-ex1.c (main): Format definition in GNU
10517 style.
10518 * manual/examples/argp-ex2.c (main): Likewise.
10519 * manual/examples/argp-ex3.c (main): Likewise.
10520 * manual/examples/argp-ex4.c (main): Likewise.
10521 * manual/examples/longopt.c (main): Use new-style prototype
10522 definition.
10523 * manual/examples/strncat.c (main): Specify return type and use
10524 (void) for arguments.
10525 * manual/examples/subopt.c (main): Use char **argv argument.
10526
2ee633a2
JM
105272012-02-17 Joseph Myers <joseph@codesourcery.com>
10528
10529 [BZ #5077]
10530 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
10531 rounding modes.
10532
0520adde
FB
105332012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
10534
10535 [BZ #6907]
10536 * manual/string.texi (strchr): Change when strchrnul is
10537 recommended.
10538
3f4081cd
DGM
105392012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
10540
10541 [BZ #174]
10542 * manual/locale.texi (setlocale): Document LOCPATH.
10543
d1b10e78
JM
105442012-02-17 Joseph Myers <joseph@codesourcery.com>
10545
10546 [BZ #10210]
10547 * manual/process.texi (execle): Move @dots{} before last argument.
10548
79c6869c
PB
105492012-02-17 Paul Bolle <pebolle@tiscali.nl>
10550
10551 [BZ #12047]
10552 * manual/charset.texi (Generic Charset Conversion): Fix typo
10553 (LC_TYPE -> LC_CTYPE).
10554
cc6e48bc
NB
105552012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
10556
10557 [BZ #5805]
10558 * manual/arith.texi (scalbn): Use @var{} on parameter names.
10559 (scalbnf): Likewise.
10560 (scalbnl): Likewise.
10561 (scalbln): Likewise.
10562 (scalblnf): Likewise.
10563 (scalblnl): Likewise.
10564 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
10565 (vwarnx): Likewise.
10566 (verr): Likewise.
10567 (verrx): Likewise.
10568 * manual/filesys.texi (telldir): Use braces around return type.
10569 * manual/llio.texi (mmap): Add space after comma.
10570 (mmap64): Likewise.
10571 * manual/math.texi (jn): Use @var{} on parameter names.
10572 (jnf): Likewise.
10573 (jnl): Likewise.
10574 (yn): Likewise.
10575 (ynf): Likewise.
10576 (ynl): Likewise.
10577 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
10578 line.
10579 * manual/resource.texi (ulimit): Use @dots{} instead of literal
10580 "...".
10581 (sched_get_priority_min): Remove semicolon on @deftypefun line.
10582 (sched_get_priority_max): Likewise.
10583 * manual/signal.texi (sigvec): Add space after comma.
10584 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
10585 names.
10586 (if_indextoname): Likewise.
10587 (if_freenameindex): Likewise.
10588 (sendto): Use ',' instead of '.' in prototype.
10589 * manual/startup.texi (syscall): Use @dots{} instead of literal
10590 "...".
10591 * manual/stdio.texi (__fpending): Separate initial words of
10592 paragraph from @deftypefun line.
10593 * manual/syslog.texi (syslog): Use @dots{} instead of literal
10594 "...".
10595 (vsyslog): Use @var{} on parameter names.
10596 * manual/terminal.texi (stty): Use @var{} on parameter names.
10597 * manual/users.texi (getutmp): Use @var{} on parameter names.
10598 (getutmpx): Likewise.
10599
5b23062f
JM
106002012-02-17 Joseph Myers <joseph@codesourcery.com>
10601
10602 [BZ #6884]
10603 * manual/stdio.texi (fopen): Fix typos in description of
10604 ",ccs=STRING".
10605
8dee4833
AJ
106062012-02-17 Aurelien Jarno <aurelien@aurel32.net>
10607
10608 [BZ #4026]
10609 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
10610 get clock_id definition.
10611
9078ce93
TS
106122012-02-17 Thomas Schwinge <thomas@schwinge.name>
10613
10614 [BZ #4822]
10615 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
10616 (madvise): Cast every argument to void on its own.
10617
3835c55f
JM
106182012-02-17 Joseph Myers <joseph@codesourcery.com>
10619
10620 [BZ #9902]
10621 * manual/startup.texi (Exit Status): Fix typo.
10622
35c47e37
JM
106232012-02-17 Joseph Myers <joseph@codesourcery.com>
10624
10625 [BZ #10140]
10626 * manual/examples/argp-ex1.c: Include <stdlib.h>.
10627 * manual/examples/argp-ex2.c: Likewise.
10628 * manual/examples/argp-ex3.c: Likewise.
10629
e3b69ca7
RH
106302012-02-16 Richard Henderson <rth@redhat.com>
10631
10632 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
10633 * sysdeps/s390/s390-32/initfini.c: Remove.
10634 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
10635 * sysdeps/s390/s390-64/initfini.c: Remove.
10636
df83af67
KK
106372012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10638
10639 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
10640 compiler output for sysdeps/generic/initfini.c.
10641 * sysdeps/sh/elf/initfini.c: Remove file.
10642
f63f3380
DM
106432012-02-16 David S. Miller <davem@davemloft.net>
10644
fb59b3a4
DM
10645 [BZ #11494]
10646 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
10647
f63f3380
DM
10648 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
10649 * sysdeps/sparc/crti.S: New file.
10650 * sysdeps/sparc/crtn.S: New file.
10651 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
10652 * sysdeps/sparc/sparc64/Makefile: Likewise.
10653
df6a4a4a
MF
106542012-02-15 Mike Frysinger <vapier@gentoo.org>
10655
6dd8f3dc 10656 [BZ #3335]
df6a4a4a
MF
10657 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
10658
1cac7236
RM
106592012-02-15 Roland McGrath <roland@hack.frob.com>
10660
d2c736f8
RM
10661 [BZ #4822]
10662 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
10663
1cac7236
RM
10664 * mach/devstream.c (cookie_io_functions_t): Macro removed.
10665 (write, read, close): Likewise.
10666 Patch by Aurelien Jarno <aurelien@aurel32.net>.
10667
8e475601
JM
106682012-02-15 Joseph Myers <joseph@codesourcery.com>
10669
10670 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
10671 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
10672 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
10673 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
10674 <bits/signalfd.h>.
10675 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
10676 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10677 bits/signalfd.h.
10678
ed656b40
MP
106792012-02-14 Marek Polacek <polacek@redhat.com>
10680
10681 * sysdeps/x86_64/crti.S: New file.
10682 * sysdeps/x86_64/crtn.S: New file.
10683 * sysdeps/x86_64/elf/initfini.c: Remove file.
10684
2a979d3a
JM
106852012-02-13 Joseph Myers <joseph@codesourcery.com>
10686
10687 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
10688 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
10689 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
10690 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
10691 <bits/inotify.h>.
10692 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
10693 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10694 bits/inotify.h.
10695
2a418ac3
JM
106962012-02-13 Joseph Myers <joseph@codesourcery.com>
10697
10698 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
10699 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
10700 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
10701 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
10702 <bits/eventfd.h>.
10703 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
10704 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10705 bits/eventfd.h.
10706
fb779be7
TS
107072012-02-10 Thomas Schwinge <thomas@codesourcery.com>
10708
e19e83c5
RM
10709 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
10710 __feraiseexcept instead of feraiseexcept.
7c35ffed 10711
fb779be7
TS
10712 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
10713 nanosleep invocations.
10714 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
10715 strings, and add error checking for a nanosleep invocations.
10716
59ba27a6
PE
107172012-02-09 Paul Eggert <eggert@cs.ucla.edu>
10718
10719 Replace FSF snail mail address with URLs, as per GNU coding standards.
10720 Most of the snail mail addresses were wrong anyway, and omitting
10721 them makes the source code easier to maintain. Almost all of the
10722 changes are to license notices and to locale LC_IDENTIFICATION
10723 addresses, except for this one:
10724 * manual/libc.texinfo: In "Published by", give the FSF's URL,
10725 not its snail mail address.
10726
57b957eb
RH
107272012-02-09 Richard Henderson <rth@twiddle.net>
10728
af850b1c
RH
10729 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
10730 of kernel-features.h.
10731
57b957eb
RH
10732 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
10733
6b73181a
MP
107342012-02-08 Marek Polacek <polacek@redhat.com>
10735
10736 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
10737 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
10738 * sysdeps/gnu/_G_config.h: Likewise.
10739 * sysdeps/generic/_G_config.h: Likewise.
10740
26ecc33a
AS
107412012-02-08 Andreas Schwab <schwab@linux-m68k.org>
10742
6c6dbc63
AS
10743 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
10744 tests.
10745 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10746
e216c012
AS
10747 * sysdeps/powerpc/powerpc32/crti.S: New file.
10748 * sysdeps/powerpc/powerpc32/crtn.S: New file.
10749 * sysdeps/powerpc/powerpc64/crti.S: New file.
10750 * sysdeps/powerpc/powerpc64/crtn.S: New file.
10751
26ecc33a
AS
10752 * Makeconfig (have-initfini): Don't set.
10753 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
10754 * configure.in (nopic_initfini): Don't substitute.
10755 * config.h.in (HAVE_INITFINI): Don't #undef.
10756 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
10757 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
10758
3add8e13
JM
107592012-02-08 Joseph Myers <joseph@codesourcery.com>
10760
10761 Support crti.S and crtn.S provided directly by architectures.
10762 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
10763 [crti.S in sysdirs] (omit-deps): Likewise.
10764 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
10765 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
10766 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
10767 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
10768 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
10769 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
10770 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
10771 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
10772 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
10773 compiler output for sysdeps/generic/initfini.c.
10774 * sysdeps/i386/elf/Makefile: Remove file.
10775 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
10776
a22f12b4
MP
107772012-02-07 Marek Polacek <polacek@redhat.com>
10778
10779 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
10780 * sysdeps/gnu/_G_config.h: Likewise.
10781 * sysdeps/mach/hurd/_G_config.h: Likewise.
10782
148cf100
MP
107832012-02-07 Marek Polacek <polacek@redhat.com>
10784
10785 * math/Makefile (tests): Add tst-CMPLX2.
10786 * math/tst-CMPLX2.c: New file.
10787
cfdc0dd7
AS
107882012-02-07 Andreas Schwab <schwab@linux-m68k.org>
10789
84ba42c4
AS
10790 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10791
cfdc0dd7
AS
10792 * math/libm-test.inc (jn_test): Add missing L suffix.
10793
622c86f4
MP
107942012-02-06 Marek Polacek <polacek@redhat.com>
10795
10796 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
10797 * sysdeps/i386/fpu/e_powf.S: Likewise.
10798 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
10799 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
10800 * sysdeps/i386/fpu/e_acosh.S: Likewise.
10801 * sysdeps/i386/fpu/e_pow.S: Likewise.
10802 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
10803 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
10804 * sysdeps/i386/fpu/s_expm1.S: Likewise.
10805 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
10806 * sysdeps/i386/fpu/e_log2.S: Likewise.
10807 * sysdeps/i386/fpu/e_log2l.S: Likewise.
10808 * sysdeps/i386/fpu/e_scalb.S: Likewise.
10809 * sysdeps/i386/fpu/e_powl.S: Likewise.
10810 * sysdeps/i386/fpu/s_log1p.S: Likewise.
10811 * sysdeps/i386/fpu/e_log10f.S: Likewise.
10812 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
10813 * sysdeps/i386/fpu/e_logl.S: Likewise.
10814 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
10815 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
10816 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
10817 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
10818 * sysdeps/i386/fpu/e_log2f.S: Likewise.
10819 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
10820 * sysdeps/i386/fpu/e_log.S: Likewise.
10821 * sysdeps/i386/fpu/s_cexp.S: Likewise.
10822 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
10823 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
10824 * sysdeps/i386/fpu/e_logf.S: Likewise.
10825 * sysdeps/i386/fpu/e_log10l.S: Likewise.
10826 * sysdeps/i386/fpu/e_atanh.S: Likewise.
10827 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
10828 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
10829 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
10830 * sysdeps/i386/fpu/e_log10.S: Likewise.
10831 * sysdeps/i386/fpu/s_frexp.S: Likewise.
10832 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
10833 * sysdeps/i386/fpu/s_asinh.S: Likewise.
10834 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
10835 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
10836 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
10837 * sysdeps/i386/asm-syntax.h: Likewise.
10838 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
10839 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
10840 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
10841 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
10842 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
10843 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
10844 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
10845 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
10846 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
10847 * sysdeps/powerpc/sysdep.h: Likewise.
10848 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
10849 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
10850
d4a54ac6
JM
108512012-02-06 Joseph Myers <joseph@codesourcery.com>
10852
10853 [BZ #411]
10854 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
10855
314054ea
JM
108562012-02-06 Joseph Myers <joseph@codesourcery.com>
10857
10858 * sysdeps/i386/sysdep.h: Include <features.h>.
10859 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
10860 version.
10861
d8e0ca50
JM
108622012-02-05 Joseph Myers <joseph@codesourcery.com>
10863
10864 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
10865 Define.
10866 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
10867 LOAD_PIC_REG_STR.
10868
b1da7dd9
JM
108692012-02-03 Joseph Myers <joseph@codesourcery.com>
10870
10871 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
10872 (SETUP_PIC_REG): Use GET_PC_THUNK.
10873 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
10874 macro.
10875
9a1d9254
JM
108762012-02-03 Joseph Myers <joseph@codesourcery.com>
10877
10878 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
10879 for non-PIC compilation.
10880 (SETUP_PIC_REG): Add .p2align directive.
10881 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
10882 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
10883 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
10884 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
10885 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
10886 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
10887 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
10888 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
10889 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
10890 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
10891 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
10892 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
10893 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
10894 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
10895 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
10896 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
10897 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
10898 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
10899 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
10900 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
10901 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
10902 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
10903 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
10904 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
10905 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
10906 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
10907 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
10908 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
10909 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
10910 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
10911 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
10912 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
10913 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
10914 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
10915 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
10916 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
10917 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
10918 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
10919 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
10920 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
10921 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
10922
65dc3b75
JM
109232012-02-03 Joseph Myers <joseph@codesourcery.com>
10924
10925 * math/tst-CMPLX.c: Include <stdio.h>.
10926
d55bf177
JM
109272012-01-31 Joseph Myers <joseph@codesourcery.com>
10928
10929 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
10930 float.
10931 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
10932 * sysdeps/sparc/bits/mathdef.h: Likewise.
10933
69db4f8f
MP
109342012-01-31 Marek Polacek <polacek@redhat.com>
10935
10936 * libio/libio.h: Don't define _PARAMS.
10937 * locale/programs/config.h: Don't define PARAMS.
10938 * stdlib/strtol_l.c: Likewise.
10939 (__strtol_l): Remove PARAMS from the prototype.
10940
41b81892
UD
109412012-01-31 Ulrich Drepper <drepper@gmail.com>
10942
3b49edc0
UD
10943 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
10944 names. Just use the correct names. Remove unnecessary wrapper
10945 functions.
10946 * malloc/arena.c: Likewise.
10947 * malloc/hooks.c: Likewise.
10948
41b81892
UD
10949 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
10950 ARENA_TEST says not to. Simplify test for creation of a new arena.
10951 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
10952
27a25b6e
UD
109532012-01-30 Ulrich Drepper <drepper@gmail.com>
10954
10955 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
10956 into tail calls.
10957 (update_get_addr): New function.
10958 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
10959 GET_ADDR_MODULE parameter.
10960
c8a89e7d
JM
109612012-01-30 Joseph Myers <joseph@codesourcery.com>
10962
10963 * crypt/cert.c: Remove __STDC__ conditionals.
10964 * crypt/crypt-entry.c: Likewise.
10965 * crypt/crypt_util.c: Likewise.
10966 * libio/filedoalloc.c: Likewise.
10967 * libio/fileops.c: Likewise.
10968 * libio/genops.c: Likewise.
10969 * libio/iofclose.c: Likewise.
10970 * libio/iofdopen.c: Likewise.
10971 * libio/iofopen.c: Likewise.
10972 * libio/iofopen64.c: Likewise.
10973 * libio/iogetdelim.c: Likewise.
10974 * libio/iopopen.c: Likewise.
10975 * libio/obprintf.c: Likewise.
10976 * libio/oldfileops.c: Likewise.
10977 * libio/oldiofclose.c: Likewise.
10978 * libio/oldiofdopen.c: Likewise.
10979 * libio/oldiofopen.c: Likewise.
10980 * libio/oldiopopen.c: Likewise.
10981 * libio/wfiledoalloc.c: Likewise.
10982 * libio/wgenops.c: Likewise.
10983 * locale/programs/xmalloc.c: Likewise.
10984 * misc/syslog.c: Likewise.
10985 * stdio-common/xbug.c: Likewise.
10986 * string/memchr.c: Likewise.
10987 * string/memcmp.c: Likewise.
10988 * string/memrchr.c: Likewise.
10989 * string/rawmemchr.c: Likewise.
10990 * sysdeps/posix/getcwd.c: Likewise.
10991 * time/strftime_l.c: Likewise.
10992
3b100462
JM
109932012-01-30 Joseph Myers <joseph@codesourcery.com>
10994
10995 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
10996 * config.make.in (config-cflags-sse2avx): Define.
10997 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
10998 Fix typo.
10999
607998af
CM
110002012-01-29 Chris Metcalf <cmetcalf@tilera.com>
11001
11002 * scripts/config.guess: Update from upstream config git repository.
11003 * scripts/config.sub: Likewise.
11004
3601428f
CM
110052012-01-28 Chris Metcalf <cmetcalf@tilera.com>
11006
3ac8b282
CM
11007 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
11008 (EM_NUM): Update.
11009 (R_TILEPRO_*, R_TILEGX_*): New macros.
11010
e034841e
CM
11011 * scripts/firstversions.awk: Fix bug in version range handling.
11012
540d7568
CM
11013 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
11014
3601428f
CM
11015 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
11016
463de862
CM
11017 * include/sys/epoll.h: New file.
11018 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
11019 libc_hidden_def.
11020
73139a76
UD
110212012-01-28 Ulrich Drepper <drepper@gmail.com>
11022
96bc5b45
UD
11023 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
11024 Avoid unnecessary __WORDSIZE == 64 test.
11025 (fmaxf): Use VEX format if possible.
11026 (fmax): Likewise.
11027 (fminf): Likewise.
11028 (fmin): Likewise.
11029
56f6f6a2
UD
11030 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
11031 * math/math_private.h: Remove libc_fegetround* and
11032 libc_fesetround*.
11033 * sysdeps/i386/configure.in: Check for -msse2avx.
11034 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
11035 also if SSE2AVX is defined.
11036 Remove libc_fegetround* and libc_fesetround*.
11037 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
11038 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
11039 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
11040 of HAS_YMM_USABLE.
11041 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
11042 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
11043 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
11044 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
11045 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
11046
73139a76
UD
11047 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
11048
d73f93a4
AZ
110492012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11050
11051 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
11052 size is not set.
11053 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
11054
6ee65ed6
UD
110552012-01-27 Ulrich Drepper <drepper@gmail.com>
11056
11057 [BZ #13618]
11058 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
11059 relocation.
11060 * Makeconfig (libm): Define.
11061 * elf/Makefile: Add rules to build and run tst-relsort1.
11062 * elf/tst-relsort1.c: New file.
11063 * elf/tst-relsort1mod1.c: New file.
11064 * elf/tst-relsort1mod2.c: New file.
11065
8db21882
JM
110662012-01-27 Joseph Myers <joseph@codesourcery.com>
11067
11068 * math/s_ldexp.c: Remove __STDC__ conditionals.
11069 * math/s_ldexpf.c: Likewise.
11070 * math/s_ldexpl.c: Likewise.
11071 * math/s_nextafter.c: Likewise.
11072 * math/s_nexttowardf.c: Likewise.
11073 * math/s_significand.c: Likewise.
11074 * math/s_significandf.c: Likewise.
11075 * math/s_significandl.c: Likewise.
11076 * math/w_jnl.c: Likewise.
11077 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
11078 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
11079 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
11080 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
11081 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
11082 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
11083 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
11084 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
11085 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
11086 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
11087 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
11088 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11089 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
11090 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
11091 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
11092 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
11093 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
11094 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
11095 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
11096 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
11097 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
11098 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
11099 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
11100 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
11101 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
11102 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
11103 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
11104 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
11105 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
11106 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
11107 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
11108 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
11109 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
11110 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
11111 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
11112 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
11113 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
11114 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
11115 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
11116 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
11117 * sysdeps/ieee754/k_standard.c: Likewise.
11118 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11119 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
11120 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
11121 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
11122 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
11123 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
11124 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
11125 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
11126 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
11127 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
11128 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
11129 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
11130 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
11131 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
11132 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
11133 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
11134 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
11135 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
11136 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
11137 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
11138 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
11139 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
11140 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
11141 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
11142 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
11143 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
11144 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
11145 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11146 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
11147 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
11148 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
11149 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
11150 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
11151 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
11152 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
11153 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
11154 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
11155 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
11156 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
11157 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
11158 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
11159 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
11160 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
11161 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
11162 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
11163 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
11164 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
11165 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
11166 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
11167 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
11168 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
11169 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
11170 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
11171 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
11172 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
11173 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
11174 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
11175 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
11176 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
11177 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
11178 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
11179 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
11180 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
11181 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
11182 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
11183 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
11184 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
11185 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
11186 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
11187 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
11188 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
11189 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
11190 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
11191 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
11192 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
11193 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
11194 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
11195 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
11196 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
11197 * sysdeps/ieee754/s_matherr.c: Likewise.
11198 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
11199 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
11200 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
11201 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
11202
965a54a4
JM
112032012-01-26 Joseph Myers <joseph@codesourcery.com>
11204
11205 * crypt/md5.h: Remove __STDC__ conditionals.
11206 * libio/libioP.h: Likewise.
11207 * locale/programs/config.h: Likewise.
11208 * sysdeps/generic/sysdep.h: Likewise.
11209 * sysdeps/i386/asm-syntax.h: Likewise.
11210 * sysdeps/s390/asm-syntax.h: Likewise.
11211 * sysdeps/unix/sysdep.h: Likewise.
11212 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
11213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
11214
7071ad79
JM
112152012-01-26 Joseph Myers <joseph@codesourcery.com>
11216
11217 * libio/libio.h: Remove __STDC__ conditionals.
11218 * malloc/obstack.h: Likewise.
11219 * math/complex.h: Likewise.
11220 * math/math.h: Likewise.
11221 * sysdeps/generic/_G_config.h: Likewise.
11222 * sysdeps/gnu/_G_config.h: Likewise.
11223 * sysdeps/mach/hurd/_G_config.h: Likewise.
11224 * sysdeps/powerpc/bits/mathdef.h: Likewise.
11225 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
11226 * sysdeps/sparc/bits/mathdef.h: Likewise.
11227
afc5ed09
UD
112282012-01-26 Ulrich Drepper <drepper@gmail.com>
11229
11230 [BZ #13583]
11231 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 11232 Clean up HAS_* macros.
afc5ed09 11233 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
11234 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
11235 possible.
11236 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
11237 HAS_AVX.
11238 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
11239 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
11240 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
11241 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
11242 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 11243
bdb6de1d
JM
112442012-01-25 Joseph Myers <joseph@codesourcery.com>
11245
11246 * elf/tst-unique3.cc (gets): Remove declaration.
11247 * elf/tst-unique3lib.cc (gets): Likewise.
11248 * elf/tst-unique3lib2.cc (gets): Likewise.
11249 * elf/tst-unique4.cc (gets): Likewise.
11250
b15549e6
UD
112512012-01-24 Ulrich Drepper <drepper@gmail.com>
11252
11253 * include/stdio.h: Add C++ protection. Add gets declarations and
11254 definitions.
11255 * debug/tst-chk1.c: Don't declare gets here.
11256 * stdio-common/tst-gets.c: Likewise.
11257
a037381f
JM
112582012-01-24 Joseph Myers <joseph@codesourcery.com>
11259
11260 * posix/glob: Remove directory.
11261
f1d4aa75
JM
112622012-01-24 Joseph Myers <joseph@codesourcery.com>
11263
11264 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
11265
81c0c964
PT
112662012-01-22 Pino Toscano <toscano.pino@tiscali.it>
11267
11268 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
11269 of the non-standard EPFNOSUPPORT.
11270
0ea698ae
ST
112712011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
11272
11273 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
11274 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
11275 ANYWHERE set to 1 only on KERN_NO_SPACE error.
11276
d220b117
UD
112772012-01-21 Ulrich Drepper <drepper@gmail.com>
11278
11279 * wcsmbs/uchar.h: Test __STDC_VERSION__.
11280
3e1aa84e
UD
112812012-01-20 Ulrich Drepper <drepper@gmail.com>
11282
11283 * nscd/aicache.c (addhstaiX): Do not cache negative results of
11284 transient errors.
11285 * nscd/grpcache.c (cache_addgr): Likewise.
11286 * nscd/hstcache.c (cache_addhst): Likewise.
11287 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11288 * nscd/pwdcache.c (cache_addpw): Likewise.
11289 * nscd/servicescache.c (cache_addserv): Likewise.
11290
400aa020
UD
112912012-01-16 Ulrich Drepper <drepper@gmail.com>
11292
d77e7869
UD
11293 * malloc/malloc.c: Various cleanups.
11294 * malloc/hooks.c: Likewise.
11295
400aa020
UD
11296 * stdlib/Makefile (tests): Add bug-fmtmsg1.
11297 * stdlib/bug-fmtmsg1.c: New file.
11298
11299 * stdlib/fmtmsg.c (init): Add missing unlock.
11300 Patch by Peng Haitao <penght@cn.fujitsu.com>.
11301
e0a309cf
MP
113022012-01-12 Marek Polacek <polacek@redhat.com>
11303
11304 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
11305 and _GNU_SOURCE.
11306
929d11c7
WS
113072012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
11308
11309 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
11310 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
11311 macro to ensure uniqueness of label name.
11312 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
11313 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
11314
41d0e869
UD
113152012-01-11 Ulrich Drepper <drepper@gmail.com>
11316
0cc5ed3b
UD
11317 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
11318
41d0e869
UD
11319 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
11320 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
11321 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
11322 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
11323
a47a831a
UD
113242012-01-10 Ulrich Drepper <drepper@gmail.com>
11325
daa891c0
UD
11326 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
11327
11328 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
11329 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
11330 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
11331
e58ef0f2
UD
11332 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
11333
a47a831a 11334 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
11335 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
11336 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 11337 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
11338
11339 * math/bits/math-finite.h: Add ldexp support.
11340
a0bfc9c7
MP
113412012-01-10 Marek Polacek <polacek@redhat.com>
11342
11343 * locale/programs/localedef.h (show_archive_content): Add noreturn
11344 attribute.
11345
d6e97a1d
UD
113462012-01-09 Ulrich Drepper <drepper@gmail.com>
11347
11348 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
11349
d5835c26
UD
113502012-01-08 Ulrich Drepper <drepper@gmail.com>
11351
e5f484c6
UD
11352 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
11353
d5835c26
UD
11354 * io/Makefile (headers): Add bits/poll2.h.
11355
d1f741e9
WS
113562011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
11357
11358 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
11359 typo #include statement.
11360
ec09c1c4
UD
113612012-01-08 Ulrich Drepper <drepper@gmail.com>
11362
11363 * include/sys/cdefs.h: Define __attribute_alloc_size.
11364 * catgets/gencat.c: Add alloc_size attribute and apply consistently
11365 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
11366 * elf/pldd.c: Likewise.
11367 * iconv/iconv_charmap.c: Likewise.
11368 * iconv/iconvconfig.c: Likewise.
11369 * iconv/strtab.c: Likewise.
11370 * locale/programs/locale.c: Likewise.
11371 * locale/programs/localedef.h: Likewise.
11372 * locale/programs/simple-hash.c: Likewise.
11373 * nscd/nscd.h: Likewise.
11374 * nss/makedb.c: Likewise.
11375 * sysdeps/generic/ldconfig.h: Likewise.
11376 * locale/programs/localedef.c: Remove xmalloc prototype.
11377 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
11378
20b38e03
PP
113792012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
11380
11381 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
11382 appropriate.
11383
a0da5fe1
UD
113842012-01-08 Ulrich Drepper <drepper@gmail.com>
11385
1d5a644a 11386 * math/Makefile (tests): Add tst-CMPLX.
669704fd 11387 * math/tst-CMPLX.c: New file.
1d5a644a 11388
8784a6db
UD
11389 * math/complex.h (CMPLXL): Fix typo.
11390
d9a216c0
UD
11391 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
11392 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
11393 GLIBC_2.16.
11394 * debug/tst-chk1.c: Add poll and ppoll tests.
11395 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
11396 * include/sys/poll.h: Add hidden proto for ppoll.
11397 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
11398 * sysdeps/mach/hurd/ppoll.c: Likewise.
11399 * io/ppoll.c: Likewise.
11400 * debug/poll_chk.c: New file.
11401 * debug/ppoll_chk.c: New file.
11402 * include/bits/poll2.h: New file.
11403 * io/bits/poll2.h: New file.
11404
ac097f5c
UD
11405 [BZ #1350]
11406 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
11407
2119dcfa
UD
11408 * configure.in: static is always set to yes. Remove.
11409 * config.make.in: Don't set build-static.
11410 * Makeconfig: Remove use of build-static.
11411 * dlfcn/Makefile: Likewise.
11412 * elf/Makefile: Likewise.
11413 * math/Makefile: Likewise.
11414 * misc/Makefile: Likewise.
11415 * nptl/Makefile: Likewise.
11416 * sysdeps/mach/hurd/Makefile: Likewise.
11417
121766a9
UD
11418 * configure.in: PWD_P is not used anymore.
11419 * config.make.in: Remove PWD_P entry.
11420
51a1d39c 11421 * configure.in: Remove last remnants of RANLIB.
8720d066 11422 No need to check for signed size_t anymore.
215f4bdc
UD
11423 Don't set libc_commonpagesize and libc_relro_required here for Alpha
11424 and IA-64.
3857022a 11425 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
11426 * aclocal.m4: Likewise.
11427
d3ed7225
UD
11428 * wcsmbs/mbrtoc16.c: Implement using towc function.
11429 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
11430 * wcsmbs/wcsmbsload.c: Likewise.
11431 * iconv/gconv_simple.c: Likewise.
11432 * iconv/gconv_int.h: Likewise.
11433 * iconv/gconv_builtin.h: Likewise.
11434 * iconv/iconv_prog.c: Remove CHAR16 handling.
11435
11436 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
11437
11438 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
11439
a0da5fe1
UD
11440 * configure.in: Remove --with-elf and --enable-bounded options.
11441 Dont set base_machine for ia64. More non-ELF conditions removed.
11442 Remove testing and setting of leading underscore information.
11443 * config.make.in (build-bounded): Set to no.
11444 * config.h.in: Remove NO_UNDERSCORES entry.
11445 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
11446 them.
11447 * csu/start.c: Remove !NO_UNDERSCORE code.
11448 * locale/localeinfo.h: Likewise.
11449 * sysdeps/generic/machine-gmon.h: Likewise.
11450 * sysdeps/generic/sysdep.h: Likewise.
11451 * sysdeps/i386/sysdep.h: Likewise.
11452 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
11453 * sysdeps/mach/sysdep.h: Likewise.
11454 * sysdeps/s390/s390-32/sysdep.h: Likewise.
11455 * sysdeps/s390/s390-64/sysdep.h: Likewise.
11456 * sysdeps/sh/sysdep.h: Likewise.
11457 * sysdeps/sparc/sparc32/alloca.S: Likewise.
11458 * sysdeps/unix/i386/sysdep.S: Likewise.
11459 * sysdeps/unix/sparc/start.c: Likewise.
11460 * sysdeps/unix/sparc/sysdep.S: Likewise.
11461 * sysdeps/unix/sparc/sysdep.h: Likewise.
11462 * sysdeps/unix/start.c: Likewise.
11463 * sysdeps/unix/x86_64/sysdep.S: Likewise.
11464 * sysdeps/x86_64/sysdep.h: Likewise.
11465
df78418a
UD
114662012-01-07 Ulrich Drepper <drepper@gmail.com>
11467
a784e502
UD
11468 [BZ #13553]
11469 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
11470 for non-gcc.
11471 * argp/argp-fmtstream.h: Use const instead __const.
11472 * argp/argp.h: Likewise.
11473 * assert/assert.h: Likewise.
11474 * bits/fenv.h: Likewise.
11475 * bits/sched.h: Likewise.
11476 * bits/sigset.h: Likewise.
11477 * bits/sigthread.h: Likewise.
11478 * catgets/nl_types.h: Likewise.
11479 * conform/data/pthread.h-data: Likewise.
11480 * crypt/crypt-private.h: Likewise.
11481 * crypt/crypt.h: Likewise.
11482 * crypt/crypt_util.c: Likewise.
11483 * ctype/ctype.h: Likewise.
11484 * debug/execinfo.h: Likewise.
11485 * debug/mbsnrtowcs_chk.c: Likewise.
11486 * debug/mbsrtowcs_chk.c: Likewise.
11487 * debug/wcsnrtombs_chk.c: Likewise.
11488 * debug/wcsrtombs_chk.c: Likewise.
11489 * debug/wcstombs_chk.c: Likewise.
11490 * dirent/dirent.h: Likewise.
11491 * dlfcn/dlfcn.h: Likewise.
11492 * elf/neededtest4.c: Likewise.
11493 * grp/grp.h: Likewise.
11494 * gshadow/gshadow.h: Likewise.
11495 * iconv/gconv.h: Likewise.
11496 * iconv/gconv_int.h: Likewise.
11497 * iconv/gconv_simple.c: Likewise.
11498 * iconv/iconv.h: Likewise.
11499 * iconv/loop.c: Likewise.
11500 * iconv/skeleton.c: Likewise.
11501 * include/aio.h: Likewise.
11502 * include/aliases.h: Likewise.
11503 * include/argz.h: Likewise.
11504 * include/arpa/inet.h: Likewise.
11505 * include/assert.h: Likewise.
11506 * include/dirent.h: Likewise.
11507 * include/dlfcn.h: Likewise.
11508 * include/execinfo.h: Likewise.
11509 * include/fcntl.h: Likewise.
11510 * include/fenv.h: Likewise.
11511 * include/glob.h: Likewise.
11512 * include/grp.h: Likewise.
11513 * include/libintl.h: Likewise.
11514 * include/mntent.h: Likewise.
11515 * include/netdb.h: Likewise.
11516 * include/pwd.h: Likewise.
11517 * include/rpc/netdb.h: Likewise.
11518 * include/sched.h: Likewise.
11519 * include/search.h: Likewise.
11520 * include/shadow.h: Likewise.
11521 * include/signal.h: Likewise.
11522 * include/stdio.h: Likewise.
11523 * include/stdlib.h: Likewise.
11524 * include/string.h: Likewise.
11525 * include/sys/socket.h: Likewise.
11526 * include/sys/stat.h: Likewise.
11527 * include/sys/statfs.h: Likewise.
11528 * include/sys/statvfs.h: Likewise.
11529 * include/sys/syslog.h: Likewise.
11530 * include/sys/time.h: Likewise.
11531 * include/sys/uio.h: Likewise.
11532 * include/time.h: Likewise.
11533 * include/unistd.h: Likewise.
11534 * include/utmp.h: Likewise.
11535 * include/wchar.h: Likewise.
11536 * include/wctype.h: Likewise.
11537 * inet/aliases.h: Likewise.
11538 * inet/arpa/inet.h: Likewise.
11539 * inet/netinet/ether.h: Likewise.
11540 * inet/netinet/in.h: Likewise.
11541 * intl/libintl.h: Likewise.
11542 * io/bits/fcntl2.h: Likewise.
11543 * io/fcntl.h: Likewise.
11544 * io/ftw.h: Likewise.
11545 * io/sys/poll.h: Likewise.
11546 * io/sys/stat.h: Likewise.
11547 * io/sys/statfs.h: Likewise.
11548 * io/sys/statvfs.h: Likewise.
11549 * io/utime.h: Likewise.
11550 * libio/bits/stdio.h: Likewise.
11551 * libio/bits/stdio2.h: Likewise.
11552 * libio/libio.h: Likewise.
11553 * libio/libioP.h: Likewise.
11554 * libio/stdio.h: Likewise.
11555 * locale/lc-ctype.c: Likewise.
11556 * locale/locale.h: Likewise.
11557 * login/utmp.h: Likewise.
11558 * malloc/arena.c: Likewise.
11559 * malloc/malloc.c: Likewise.
11560 * malloc/malloc.h: Likewise.
11561 * malloc/mcheck.c: Likewise.
11562 * malloc/mtrace.c: Likewise.
11563 * math/bits/mathcalls.h: Likewise.
11564 * math/fenv.h: Likewise.
11565 * math/math_private.h: Likewise.
11566 * misc/bits/error.h: Likewise.
11567 * misc/bits/syslog.h: Likewise.
11568 * misc/err.h: Likewise.
11569 * misc/error.h: Likewise.
11570 * misc/fstab.h: Likewise.
11571 * misc/mntent.h: Likewise.
11572 * misc/regexp.h: Likewise.
11573 * misc/search.h: Likewise.
11574 * misc/sgtty.h: Likewise.
11575 * misc/sys/mman.h: Likewise.
11576 * misc/sys/syslog.h: Likewise.
11577 * misc/sys/uio.h: Likewise.
11578 * misc/sys/xattr.h: Likewise.
11579 * misc/ttyent.h: Likewise.
11580 * nis/rpcsvc/ypclnt.h: Likewise.
11581 * nss/nss.h: Likewise.
11582 * posix/bits/unistd.h: Likewise.
11583 * posix/fnmatch.h: Likewise.
11584 * posix/glob.h: Likewise.
11585 * posix/sched.h: Likewise.
11586 * posix/spawn.h: Likewise.
11587 * posix/sys/wait.h: Likewise.
11588 * posix/unistd.h: Likewise.
11589 * posix/wordexp.h: Likewise.
11590 * pwd/pwd.h: Likewise.
11591 * resolv/netdb.h: Likewise.
11592 * resource/sys/resource.h: Likewise.
11593 * rt/aio.h: Likewise.
11594 * rt/bits/mqueue2.h: Likewise.
11595 * rt/mqueue.h: Likewise.
11596 * shadow/shadow.h: Likewise.
11597 * signal/signal.h: Likewise.
11598 * socket/send.c: Likewise.
11599 * socket/sendto.c: Likewise.
11600 * socket/sys/socket.h: Likewise.
11601 * stdio-common/printf.h: Likewise.
11602 * stdlib/bits/stdlib.h: Likewise.
11603 * stdlib/fmtmsg.h: Likewise.
11604 * stdlib/monetary.h: Likewise.
11605 * stdlib/stdlib.h: Likewise.
11606 * stdlib/ucontext.h: Likewise.
11607 * streams/stropts.h: Likewise.
11608 * string/argz.h: Likewise.
11609 * string/bits/string2.h: Likewise.
11610 * string/string.h: Likewise.
11611 * string/strings.h: Likewise.
11612 * sunrpc/rpc/auth.h: Likewise.
11613 * sunrpc/rpc/auth_des.h: Likewise.
11614 * sunrpc/rpc/clnt.h: Likewise.
11615 * sunrpc/rpc/netdb.h: Likewise.
11616 * sunrpc/rpc/pmap_clnt.h: Likewise.
11617 * sunrpc/rpc/xdr.h: Likewise.
11618 * sysdeps/generic/inttypes.h: Likewise.
11619 * sysdeps/generic/net/if.h: Likewise.
11620 * sysdeps/generic/sys/swap.h: Likewise.
11621 * sysdeps/gnu/net/if.h: Likewise.
11622 * sysdeps/gnu/utmpx.h: Likewise.
11623 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
11624 * sysdeps/i386/i486/bits/string.h: Likewise.
11625 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
11626 * sysdeps/s390/bits/string.h: Likewise.
11627 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
11628 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
11629 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
11630 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
11631 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
11632 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
11633 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
11634 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
11635 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
11636 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
11637 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
11638 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
11639 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
11640 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
11641 * sysdeps/unix/sysv/linux/readv.c: Likewise.
11642 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
11643 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
11644 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
11645 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
11646 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
11647 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
11648 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
11649 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
11650 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
11651 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
11652 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
11653 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
11654 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
11655 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
11656 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
11657 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
11658 * sysvipc/sys/ipc.h: Likewise.
11659 * sysvipc/sys/msg.h: Likewise.
11660 * sysvipc/sys/sem.h: Likewise.
11661 * sysvipc/sys/shm.h: Likewise.
11662 * termios/termios.h: Likewise.
11663 * time/sys/time.h: Likewise.
11664 * time/time.h: Likewise.
11665 * wcsmbs/bits/wchar2.h: Likewise.
11666 * wcsmbs/uchar.h: Likewise.
11667 * wcsmbs/wchar.h: Likewise.
11668 * wctype/wctype.h: Likewise.
11669
0269750c
UD
11670 [BZ #13551]
11671 * Makeconfig: Remove all but ELF support including AIX support.
11672 * Makerules: Likewise.
11673 * config.h.in: Likewise.
11674 * config.make.in: Likewise.
11675 * configure: Likewise.
11676 * configure.in: Likewise.
11677 * csu/Makefile: Likewise.
11678 * csu/version.c: Likewise.
11679 * debug/Makefile: Likewise.
11680 * dlfcn/Makefile: Likewise.
11681 * elf/Makefile: Likewise.
11682 * extra-lib.mk: Likewise.
11683 * iconv/Makefile: Likewise.
11684 * include/libc-symbols.h: Likewise.
11685 * include/shlib-compat.h: Likewise.
11686 * resolv/Makefile: Likewise.
11687 * resolv/res_libc.c: Likewise.
11688 * rt/Makefile: Likewise.
11689 * sysdeps/i386/asm-syntax.h: Likewise.
11690 * sysdeps/i386/sysdep.h: Likewise.
11691 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
11692 * sysdeps/mach/sysdep.h: Likewise.
11693 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
11694 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
11695 * sysdeps/s390/asm-syntax.h: Likewise.
11696 * sysdeps/s390/s390-32/sysdep.h: Likewise.
11697 * sysdeps/s390/s390-64/sysdep.h: Likewise.
11698 * sysdeps/sh/sysdep.h: Likewise.
11699 * sysdeps/unix/sparc/sysdep.h: Likewise.
11700 * sysdeps/wordsize-32/divdi3.c: Likewise.
11701 * sysdeps/x86_64/sysdep.h: Likewise.
11702
00bbd29b
UD
11703 * argp/Versions: Remove _argp_unlock_xxx.
11704
11705 [BZ #13559]
11706 * abilist/ld.abilist: Update. Adjust for removal of tls option.
11707 * abilist/libBrokenLocale.abilist: Likewise.
11708 * abilist/libanl.abilist: Likewise.
11709 * abilist/libc.abilist: Likewise.
11710 * abilist/libcrypt.abilist: Likewise.
11711 * abilist/libdl.abilist: Likewise.
11712 * abilist/libm.abilist: Likewise.
11713 * abilist/libnsl.abilist: Likewise.
11714 * abilist/libpthread.abilist: Likewise.
11715 * abilist/libresolv.abilist: Likewise.
11716 * abilist/librt.abilist: Likewise.
11717 * abilist/libthread_db.abilist: Likewise.
11718 * abilist/libutil.abilist: Likewise.
11719 * abilist/libnss_db.abilist: New file.
11720
11721 * scripts/abilist.awk: Add support for indirect functions.
11722
a2693a0e
UD
11723 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
11724
3f05895f
UD
11725 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
11726
ecb6fb48
UD
11727 * shlib-versions: Remove entries for ports architectures.
11728
664f8cb9
UD
11729 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
11730 files in ports.
11731 * elf/stackguard-macros.h: Remove support for IA-64.
11732 * elf/tst-auditmod1.c: Likewise.
11733 * sysdeps/generic/ldsodefs.h: Likewise.
11734
7ae81d88
UD
11735 * sysdeps/unix/sysv/linux/configure.in: Ports should define
11736 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
11737 configure files.
11738
bdeba135
UD
11739 [BZ #13552]
11740 * configure.in: Remove --enable-omitfp support.
11741 * FAQ.in: Adjust.
11742 * config.make.in: Likewise.
11743 * Makeconfig: Likewise.
11744 * manual/install.texi: Likewise.
11745
d75a0a62
UD
11746 In case anyone cares, the IA-64 architecture could move to ports.
11747 * sysdeps/ia64/*: Removed.
11748 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 11749 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 11750
dcc9756b
UD
11751 [BZ #13555]
11752 * configure.in: Remove entries for unsupported architectures.
11753
d3761ebc 11754 [BZ #13533]
9954432e
UD
11755 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
11756 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
11757 routines.
11758 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
11759 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
11760 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
11761 fall back to using wcrtomb.
11762 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
11763 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
11764 renaming.
11765 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
11766 * wcsmbs/tst-c16c32-1.c: New file.
11767
11768 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
11769 local variable.
11770
c3a87236
UD
11771 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
11772
28926a1b
UD
11773 * elf/tst-unique3.cc: Add explicit declaration of gets.
11774 * elf/tst-unique3lib.cc: Likewise.
11775 * elf/tst-unique3lib2.cc: Likewise.
11776 * elf/tst-unique4.cc: Likewise.
11777
df78418a
UD
11778 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
11779
8ecd6b2a
JM
117802012-01-06 Joseph Myers <joseph@codesourcery.com>
11781
11782 [BZ #13566]
11783 * assert/assert.h (static_assert): Don't define for C++.
11784 * libio/stdio.h (gets): Do declare for C++ <= C++11.
11785 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
11786
9f115170
UD
117872012-01-03 Ulrich Drepper <drepper@gmail.com>
11788
5e0d0300
UD
11789 * iconv/loop.c (single loop): Fix assertion in storing of
11790 remaining bytes.
11791
9f115170
UD
11792 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
11793
81fb02b0
UD
117942012-01-01 Ulrich Drepper <drepper@gmail.com>
11795
11796 * posix/getconf.c: Update copyright year.
11797 * nss/getent.c: Likewise.
a316c1f6 11798 * nss/makedb.c: Likewise.
81fb02b0
UD
11799 * iconv/iconvconfig.c: Likewise.
11800 * iconv/iconv_prog.c: Likewise.
11801 * elf/ldconfig.c: Likewise.
a316c1f6
UD
11802 * elf/pldd.c: Likewise.
11803 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
11804 * catgets/gencat.c: Likewise.
11805 * csu/version.c: Likewise.
11806 * elf/ldd.bash.in: Likewise.
11807 * elf/sprof.c (print_version): Likewise.
11808 * locale/programs/locale.c: Likewise.
11809 * locale/programs/localedef.c: Likewise.
a316c1f6 11810 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
11811 * nscd/nscd.c (print_version): Likewise.
11812 * debug/xtrace.sh: Likewise.
11813 * malloc/memusage.sh: Likewise.
11814 * malloc/mtrace.pl: Likewise.
11815 * debug/catchsegv.sh: Likewise.
11816
2ba92745
JJ
118172011-12-30 Jakub Jelinek <jakub@redhat.com>
11818
11819 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
11820 pure attribute.
11821
dadebdae
UD
118222011-12-24 Ulrich Drepper <drepper@gmail.com>
11823
d3761ebc 11824 [BZ #13533]
db6af3eb
UD
11825 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
11826 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
11827 transformations.
11828 * iconv/gconv_int.h: Likewise.
11829 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
11830 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
11831 from libc for GLIBC_2.16.
11832 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
11833 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
11834 * wcsmbs/uchar.h: Really define mbstate_t.
11835 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
11836 * wcsmbs/c16rtomb.c: New file.
11837 * wcsmbs/mbrtoc16.c: New file.
11838 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
11839 for C/POSIX locale.
11840 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
11841 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
11842
dadebdae
UD
11843 * wcsmbs/wchar.h: Add missing __restrict.
11844
67371b56
UD
118452011-12-23 Ulrich Drepper <drepper@gmail.com>
11846
74033a25
UD
11847 [BZ #13532]
11848 * time/Makefile (routines): Add timespec_get.
11849 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
11850 * time/time.h: Define TIME_UTC and declare timespec_get. Define
11851 timespec for ISO C11.
11852 * time/timespec_get.c: New file.
11853 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
11854 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
11855
380d7e87
UD
11856 [BZ #13531]
11857 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
11858 * stdlib/stdlib.h: Declare aligned_alloc.
11859 * Versions.def: Add GLIBC_2.16 for libc.
11860 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
11861
4e9e7a35
UD
11862 [BZ 13527]
11863 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
11864 ISO C11.
11865
380d7e87 11866 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
11867 code.
11868
03a71829
UD
11869 [BZ #13528]
11870 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
11871
839e283e
UD
11872 [BZ #13529]
11873 * assert/assert.h (static_assert): Define.
11874
ce5294e2 11875 * version.h: Update for 2.16 development version.
90fa7312 11876
8d44e150 11877 [BZ #13526]
d7809905
UD
11878 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
11879 _ISOC11_SOURCE.
11880
c0da14cd
UD
11881 * version.h (RELEASE): Bump for 2.15 release.
11882 * include/features.h (__GLIBC_MINOR__): Bump to 15.
11883
530a3249
MP
11884 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
11885 Patch by Marek Polacek <mpolacek@redhat.com>.
11886
67371b56
UD
11887 * bits/byteswap.h: Protect long long constants with __extension__.
11888 * sysdeps/i386/bits/byteswap.h: Likewise.
11889 * sysdeps/ia64/bits/byteswap.h: Likewise.
11890 * sysdeps/s390/bits/byteswap.h: Likewise.
11891 * sysdeps/x86_64/bits/byteswap.h: Likewise.
11892
15db4de1
LD
118932011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11894
11895 [BZ #13540]
bbe315ea
LD
11896 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
11897 destination buffer.
15db4de1
LD
11898 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
11899
2b2596b1
MP
119002011-12-23 Marek Polacek <polacek@redhat.com>
11901
11902 * elf/dl-addr.c (determine_info): Add inline keyword.
11903 * elf/tst-auditmod4b.c (check_avx): Likewise.
11904 * elf/tst-auditmod6b.c (check_avx): Likewise.
11905 * elf/tst-auditmod6c.c (check_avx): Likewise.
11906 * elf/tst-auditmod7b.c (check_avx): Likewise.
11907
70c6c246
UD
119082011-12-23 Ulrich Drepper <drepper@gmail.com>
11909
11910 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
11911 !__SSE_MATH__.
11912
c044cf14
LD
119132011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11914
15db4de1 11915 [BZ #13540]
c044cf14
LD
11916 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
11917 processing for last bytes.
11918
6b13d9d9
BH
119192011-08-06 Bruno Haible <bruno@clisp.org>
11920
d455f537
BH
11921 [BZ #13061]
11922 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
11923 U+0385, not to U+1FEE.
11924
6b13d9d9
BH
11925 [BZ #13062]
11926 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
11927 entry for U+00A5 U+0301.
11928
db910efd
UD
119292011-12-22 Ulrich Drepper <drepper@gmail.com>
11930
27deeafc
UD
11931 [BZ #13166]
11932 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
11933 buffer for the output is too small.
11934
aed9d171
UD
11935 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
11936 optimization.
11937
db910efd
UD
11938 [BZ #13185]
11939 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
11940 SSE flags if possible.
11941
2bd779ae
LD
119422011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11943
e7f9dac3 11944 [BZ #13540]
2bd779ae
LD
11945 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
11946 processing for last bytes.
11947
154bfc16
JM
119482011-12-22 Joseph Myers <joseph@codesourcery.com>
11949
11950 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
11951 (syscall-list-default-options, syscall-list-default-condition)
11952 (syscall-list-includes): Define.
11953 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
11954 list of ABIs and options and #if conditions for each ABI. Do not
11955 handle common syscalls between ABIs specially.
11956 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
11957 Remove.
11958 (syscall-list-variants, syscall-list-32bit-options)
11959 (syscall-list-32bit-condition, syscall-list-64bit-options)
11960 (syscall-list-64bit-condition): Define.
11961 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
11962 (syscall-list-variants, syscall-list-32bit-options)
11963 (syscall-list-32bit-condition, syscall-list-64bit-options)
11964 (syscall-list-64bit-condition): Define.
11965 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
11966 Remove.
11967 (syscall-list-variants, syscall-list-32bit-options)
11968 (syscall-list-32bit-condition, syscall-list-64bit-options)
11969 (syscall-list-64bit-condition): Define.
11970 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
11971 Remove.
11972 (syscall-list-variants, syscall-list-32bit-options)
11973 (syscall-list-32bit-condition, syscall-list-64bit-options)
11974 (syscall-list-64bit-condition): Define.
11975
21eaf3a5
UD
119762011-12-22 Ulrich Drepper <drepper@gmail.com>
11977
16c6f992
UD
11978 * locale/iso-639.def: Add brx entry.
11979
41043168
UD
11980 [BZ #13328]
11981 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
11982 Proposed by Mariusz_Cukr <marcukr@op.pl>.
11983
21eaf3a5
UD
11984 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
11985 __feraiseexcept_renamed.
11986
e3a851a2
UD
119872011-12-21 Ulrich Drepper <drepper@gmail.com>
11988
4920765e
UD
11989 [BZ #13538]
11990 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
11991 EPOLLET with unsigned values.
11992 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
11993 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
11994
e3a851a2
UD
11995 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
11996 to large cancellation.
11997 * math/s_cacoshf.c: Likewise.
11998 * math/s_cacoshl.c: Likewise.
11999
b27e24b8
RK
120002011-11-18 Richard B. Kreckel <kreckel@ginac.de>
12001
12002 [BZ #13305]
aebefeee 12003 [BZ #12786]
b27e24b8
RK
12004 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
12005 * math/s_cacoshf.c: Likewise.
12006 * math/s_cacoshl.c: Likewise.
12007
ee190f67
UD
120082011-12-21 Ulrich Drepper <drepper@gmail.com>
12009
12010 [BZ #13439]
12011 * iconv/gconv.h: Define __GCONV_SWAP.
12012 * iconvdata/unicode.c: The swap bit must be stored in __flags.
12013 * iconvdata/utf-16.c: Likewise.
12014 * iconvdata/utf-32.c: Likewise.
12015
707f25df
AS
120162011-12-21 Andreas Schwab <schwab@linux-m68k.org>
12017
12018 [BZ #13524]
12019 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
12020 numerator after shifting it by one limb.
12021
d2daaa1e
RÁE
120222011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
12023
12024 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
12025 under [__USE_EXTERN_INLINES].
12026
a4647e72
UD
120272011-12-17 Ulrich Drepper <drepper@gmail.com>
12028
12029 [BZ #13446]
12030 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
12031
f0b264f1
AZ
120322011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12033
12034 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
12035 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
12036 optimized code.
12037 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
12038 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
12039 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
12040 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
12041 for strncasecmp/strncasecmp_l compilation.
12042 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
12043 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
12044
8ef4f244
MP
120452011-12-08 Marek Polacek <mpolacek@redhat.com>
12046
12047 [BZ #13484]
12048 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
12049 of __asm__.
12050
97ac2654
UD
120512011-12-17 Ulrich Drepper <drepper@gmail.com>
12052
12053 [BZ #13506]
12054 * time/tzfile.c (__tzfile_read): Check values from file header.
12055
91d2a845
WS
120562011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
12057
12058 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
12059 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
12060 * powerpc/powerpc32/dl-start.S: Likewise.
12061 * powerpc/powerpc32/elf/start.S: Likewise.
12062 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
12063 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
12064 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
12065 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
12066 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
12067 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
12068 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
12069 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
12070 * powerpc/powerpc32/fpu/s_round.S: Likewise.
12071 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
12072 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
12073 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
12074 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
12075 * powerpc/powerpc32/memset.S: Likewise.
12076 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
12077 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
12078 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
12079 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
12080 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
12081 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
12082 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
12083 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
12084 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
12085 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
12086 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
12087 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
12088 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
12089
a1267ba1
AZ
120902011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12091
12092 * math/libm-test.inc: Added more nearbyint tests.
12093 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
12094 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
12095 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
12096 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
12097
ad8ac1bd
RL
120982011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
12099
12100 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
12101 FD_CLOEXEC.
12102
1d3e4b61
UD
121032011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12104
12105 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
12106 Add wcscpy-ssse3 wcscpy-c.
12107 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
12108 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
12109 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
12110 * sysdeps/x86_64/wcschr.S: New file.
12111 * sysdeps/x86_64/wcsrchr.S: New file.
12112 * string/test-strcmp.c: Remove checking of wcscmp function for
12113 wrong alignments.
12114 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
12115 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
12116 wcsrchr-sse2 wcsrchr-c.
12117 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
12118 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
12119 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
12120 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
12121 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
12122 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
12123 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
12124 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
12125 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
12126 * wcsmbc/wcschr.c (WCSCHR): New macro.
12127
5b330a2d
UD
121282011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12129
12130 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
12131 * wcsmbs/test-wcsrchr.c: New file.
12132 * string/test-strrchr.c: Add wcsrchr support.
12133 (WIDE): New macro.
12134 * wcsmbs/test-wcscpy.c: New file.
12135 * string/test-strcpy.c: Add wcscpy support.
12136 (WIDE): New macro.
26428b7c 12137
f039c043
UD
121382011-12-10 Ulrich Drepper <drepper@gmail.com>
12139
12140 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
12141 the inner loop.
12142
850fb039
AS
121432011-12-06 Andreas Schwab <schwab@linux-m68k.org>
12144
12145 [BZ #13472]
12146 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
12147
4efbd5cb
UD
121482011-12-04 Ulrich Drepper <drepper@gmail.com>
12149
52ff5dd0 12150 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 12151 Minor optimizations.
52ff5dd0 12152
4efbd5cb
UD
12153 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
12154 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
12155 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
12156
8a426e12
UD
121572011-12-03 Ulrich Drepper <drepper@gmail.com>
12158
aff2453d
UD
12159 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
12160 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
12161 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
12162 for gcc to avoid warnings.
12163 * inet/Makefile (tests): Add tst-checks.
12164 * inet/tst-checks.c: New file.
12165
12166 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
12167 warning.
12168
12169 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
12170 __wmemcmp_sse2.
12171
12172 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
12173 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
12174
8a426e12
UD
12175 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
12176
9bea3473
UD
121772011-12-02 Ulrich Drepper <drepper@gmail.com>
12178
3a965496
UD
12179 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
12180 problem.
12181
9bea3473
UD
12182 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
12183
f101631b
UD
121842011-11-29 Joseph Myers <joseph@codesourcery.com>
12185
12186 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
12187 conditional on GCC version.
12188 (__arch_compare_and_exchange_val_8_acq)
12189 (__arch_compare_and_exchange_val_16_acq)
12190 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
12191 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
12192 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
12193
a98275aa
UD
121942011-12-02 Joseph Myers <joseph@codesourcery.com>
12195
12196 * sysdeps/sh/backtrace.c: New file.
12197
d4cc29a2
AS
121982011-12-02 Andreas Schwab <schwab@redhat.com>
12199
12200 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
12201 parenthesis.
12202
6257af2d
AS
122032011-12-01 Andreas Schwab <schwab@redhat.com>
12204
12205 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
12206 falling back to utime.
12207
b5f44c1a
AS
122082011-11-30 Andreas Schwab <schwab@redhat.com>
12209
12210 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
12211 expectations for float.
12212
f3a6cc0a
AS
122132011-11-29 Andreas Schwab <schwab@redhat.com>
12214
12215 * locale/weight.h (findidx): Add parameter len.
12216 * locale/weightwc.h (findidx): Likewise.
12217 * posix/fnmatch_loop.c (FCT): Adjust caller.
12218 * posix/regcomp.c (build_equiv_class): Likewise.
12219 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
12220 * posix/regexec.c (check_node_accept_bytes): Likewise.
12221 * string/strcoll_l.c (STRCOLL): Likewise.
12222 * string/strxfrm_l.c (STRXFRM): Likewise.
12223
9d65ea3a
UD
122242011-11-17 Ulrich Drepper <drepper@gmail.com>
12225
12226 * Makefile.in: Remove CVSOPT handling.
12227 * configure.in: Remove use of AC_REVISION.
12228 * iconvdata/Makefile (distribute): No need to filter out CVS.
12229 * scripts/list-sources.sh: Remove CVS, subversion and monotone
12230 handling.
12231
5583a086
AS
122322011-11-16 Andreas Schwab <schwab@redhat.com>
12233
12234 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
12235 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
12236 [USE_AS_STRNCASECMP_L]: Likewise.
12237 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
12238 NO_TLS_DIRECT_SEG_REFS.
12239 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
12240 Fix argument offsets for non-PIC.
12241 [USE_AS_STRNCASECMP_L]: Likewise.
12242 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
12243 NO_TLS_DIRECT_SEG_REFS.
12244
d62a8200
UD
122452011-11-15 Ulrich Drepper <drepper@gmail.com>
12246
9d65ea3a 12247 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
12248 O_CLOEXEC.
12249 * locale/loadlocale.c (_nl_load_locale): Likewise.
12250
09f93bd3
AS
122512011-11-15 Andreas Schwab <schwab@redhat.com>
12252
446514f9
AS
12253 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
12254 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
12255 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
12256 (SYSCALL_GETTIME): Set errno on error.
12257
09f93bd3
AS
12258 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
12259 count references to noai6ai_cached.
12260
312be3f9
UD
122612011-11-15 Ulrich Drepper <drepper@gmail.com>
12262
12263 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
12264
12265 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
12266 FD_CLOEXEC for /proc/self/maps.
12267
12268 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
12269 FD_CLOEXEC for /proc/meminfo.
12270
12271 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
12272 gai.conf.
12273
12274 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
12275 FD_CLOEXEC for given file.
12276
12277 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
12278
12279 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
12280 FD_CLOEXEC for /etc/hosts.
12281 (_gethtent): Likewise.
12282
12283 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
12284
12285 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
12286 cancellation and set FD_CLOEXEC for /etc/netgroup.
12287
12288 * nss/nss_files/files-key.c (search): Don't allow cancellation when
12289 reading /etc/publickey.
12290
12291 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
12292 allow cancellation when reading /etc/group.
12293
12294 * nss/nss_files/files-alias.c (internal_setent): Don't allow
12295 cancellation.
12296 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
12297
12298 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
12299 when using data file.
12300
12301 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
12302
12303 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
12304 (write_nis_obj): Use "c" and "e" in fopen.
12305
12306 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
12307
12308 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
12309
12310 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
12311
12312 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
12313
12314 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
12315 locale.alias.
12316
12317 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
12318
12319 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
12320
12321 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
12322
12323 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
12324 file parsing and set FD_CLOEXEC.
12325
82af0fa8
UD
123262011-11-14 Ulrich Drepper <drepper@gmail.com>
12327
12328 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
12329
a5fb313c
AS
123302011-11-14 Andreas Schwab <schwab@redhat.com>
12331
12332 * malloc/arena.c (arena_get2): Don't call reused_arena when
12333 _int_new_arena failed.
12334
6abf3465
UD
123352011-11-14 Ulrich Drepper <drepper@gmail.com>
12336
12337 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
12338 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
12339 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
12340 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
12341 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12342 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
12343 to compile strcasecmp and strncasecmp.
12344 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
12345 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
12346
12347 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
12348
76e3966e
UD
123492011-11-13 Ulrich Drepper <drepper@gmail.com>
12350
12351 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
12352 locale-defines.sym to gen-as-const-headers.
12353 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
12354 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
12355 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
12356 to compile strcasecmp and strncasecmp.
12357 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
12358 strcasecmp_l and strncasecmp_l.
12359 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
12360 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
12361 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
12362 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
12363 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
12364 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
12365 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
12366 * sysdeps/i386/i686/multiarch/strncase.S: New file.
12367 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
12368 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
12369 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
12370
ab26144e
UD
123712011-11-12 Ulrich Drepper <drepper@gmail.com>
12372
7edb22ef
UD
12373 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
12374 result of SYSDEP_GETTIME_CPU to retval.
12375 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
12376 parameter list to macro. Remove trailing semicolon. Adjust users.
12377
9694fc44
UD
12378 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
12379 variable.
12380
8ad89ef8
UD
12381 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
12382 mantissa words.
12383 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
12384
0c822ef9
UD
12385 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
12386 from unused variable.
12387
874e0564
UD
12388 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
12389 DWARF definitions.
12390 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
12391 for assembling.
12392
3a2edc79
UD
12393 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
12394 over namespaces.
12395
f3c2577f
UD
12396 * sunrpc/rpc_prot.c (rejected): Fix case value.
12397
294ce126
UD
12398 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
12399 unsigned long long int to avoid warnings in shift.
12400
5e2b63c6
UD
12401 * posix/regex_internal.c (re_string_reconstruct): Actually use result
12402 of use of trans.
12403 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
12404 variable tmp.
12405
e7f4b08e
UD
12406 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
12407 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
12408 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
12409
ab26144e
UD
12410 * nis/nis_table.c (nis_list): Use variable of correct type for
12411 result of __follow_path call.
12412
8a6d5255
AZ
124132011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12414
12415 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
12416 of math functions ceil, trunc, floor, round, and sqrt, when
12417 avaliable on the platform.
12418 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
12419 name clash.
12420 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
12421 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
12422 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
12423
aaddc98c
MP
124242011-10-30 Marek Polacek <mpolacek@redhat.com>
12425
12426 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
12427 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
12428
95b7042b
RM
124292011-11-11 Roland McGrath <roland@hack.frob.com>
12430
12431 * include/unistd.h: Fix __readlink return type.
12432 Reported by Chris Metcalf <cmetcalf@tilera.com>.
12433
57769839
UD
124342011-11-11 Ulrich Drepper <drepper@gmail.com>
12435
12436 * stdlib/ucontext.h: Undo last change for makecontext.
12437
edc5984d
AS
124382011-11-11 Andreas Schwab <schwab@redhat.com>
12439
98591e58
AS
12440 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
12441
edc5984d
AS
12442 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
12443 * setjmp/setjmp.h: Mark functions as non-leaf.
12444 * setjmp/bits/setjmp2.h: Likewise.
12445 * stdlib/ucontext.h: Likewise.
12446
77cdc054
AS
124472011-11-10 Andreas Schwab <schwab@redhat.com>
12448
12449 * malloc/arena.c (_int_new_arena): Don't increment narenas.
12450 (reused_arena): Don't check arena limit.
12451 (arena_get2): Atomically check arena limit.
12452
fe72eebd
UD
124532011-11-08 Ulrich Drepper <drepper@gmail.com>
12454
5f078c32
UD
12455 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
12456 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
12457
fe72eebd
UD
12458 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
12459 instructions.
12460
ae1bc2fa
AS
124612011-11-07 Andreas Schwab <schwab@redhat.com>
12462
7583a88d
AS
12463 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
12464 handler when locking.
12465
ae1bc2fa
AS
12466 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
12467 Fix size of allocated buffer.
12468
10fb0bfa
AS
124692011-11-04 Andreas Schwab <schwab@redhat.com>
12470
998832a4
AS
12471 [BZ #10103]
12472 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
12473 declarations for long double functions.
12474 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
12475
10fb0bfa
AS
12476 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
12477
3d7ba52b
AS
124782011-11-03 Andreas Schwab <schwab@redhat.com>
12479
a9ae54a1
AS
12480 * nscd/nscd.c (main): Don't start AVC thread until credentials are
12481 installed.
12482
3d7ba52b
AS
12483 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
12484 is disabled.
12485
bc8db248
ST
124862011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
12487
12488 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
12489
45b96dd6
AS
124902011-11-01 Andreas Schwab <schwab@linux-m68k.org>
12491
647776f6
AS
12492 * include/alloca.h (stackinfo_alloca_round): Define.
12493 (extend_alloca): Use it.
12494 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
12495 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
12496 here.
12497
d91a8b93
AS
12498 * scripts/check-local-headers.sh: Ignore libaudit.h.
12499
45b96dd6
AS
12500 * nscd/Makefile (extra-objs): Make recursively expanded.
12501
432d41ce
UD
125022011-11-01 Ulrich Drepper <drepper@gmail.com>
12503
34372fc6
UD
12504 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
12505 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
12506
fadb59f8
UD
12507 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
12508 * posix/tst-rfc3484-2.c: Likewise.
12509 * posix/tst-rfc3484-3.c: Likewise.
12510
78239589
UD
12511 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
12512 process_vm_writev.
12513 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
12514 process_vm_writev.
12515 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
12516 process_vm_writev from libc using GLIBC_2.15 version.
12517
432d41ce
UD
12518 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
12519
02f9c6cf
PP
125202011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
12521
12522 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
12523 stack usage.
12524
3a2c0242
UD
125252011-10-31 Ulrich Drepper <drepper@gmail.com>
12526
f4ec4833
UD
12527 [BZ #13367]
12528 * nss/getent.c (initgroups_keys): Show error message in case no group
12529 names are given.
12530
3a2c0242
UD
12531 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
12532 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
12533 __bump_nl_timestamp.
12534 * nscd/connections (nscd_init): When host database is served open
12535 netlink socket and request notification about configuration changes.
12536 (main_loop_poll): Track netlink file descriptor and bump timestamp
12537 in case data becomes available.
12538 (main_loop_epoll): Likewise.
12539 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
12540 (database_pers_head): Add extra_data fileds.
12541 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
12542 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
12543 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
12544 Adjust caller.
12545 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
12546 in6ai data, call __free_in6ai.
12547 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
12548 Add -DHAVE_NETLINK.
12549 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
12550 interface information. Reuse previous data if netlink timestamp
12551 is not changed.
12552 (__bump_nl_timestamp): New function.
12553 (__free_in6ai): New function.
12554
636064eb
UD
125552011-10-30 Ulrich Drepper <drepper@gmail.com>
12556
12557 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
12558 close_not_cancel_no_status here.
12559 (__check_pf): Reorganize code a bit to not call close twice if OOM.
12560
9beb2334
UD
125612011-10-29 Ulrich Drepper <drepper@gmail.com>
12562
6ef76f3b
UD
12563 [BZ #13276]
12564 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
12565 return value.
12566
0ffc4f3e 12567 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
12568 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
12569 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
12570
cb95113e
UD
125712011-07-03 Andreas Jaeger <aj@suse.de>
12572
12573 [BZ #10709]
12574 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
12575 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
12576 * math/libm-test.inc (sin_test): Add test case.
12577
a1b560ff
UD
125782011-10-29 Ulrich Drepper <drepper@gmail.com>
12579
c9aaface
UD
12580 [BZ #13337]
12581 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
12582 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
12583
d272e7f1
UD
12584 * elf/chroot_canon.c (chroot_canon): Cleanups.
12585
1bc33071
UD
12586 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
12587
1760874d
TJ
12588 [BZ #13335]
12589 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
12590 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
12591
51d91b18
UD
12592 * string/test-strchr.c: Make usable for strchrnul testing.
12593 * string/test-strchrnul.c: New file.
12594 * string/Makefile (strop-tests): Add strchrnul.
12595
a1b560ff 12596 * po/it.po: Update from translation team.
b611fb81 12597 * po/es.po: Likewise.
a1b560ff 12598
a5b81e1f
UD
125992011-10-28 Ulrich Drepper <drepper@gmail.com>
12600
fd52bc6d
UD
12601 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
12602 the three constants needed as parameters. Drop the others.
12603 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
12604 __m128i_strloadu_tolower.
52e4b9eb
UD
12605 Create and initialize variable zero and use it in all the places
12606 where _mm_setzero_si128 was used.
fd52bc6d 12607
a5b81e1f
UD
12608 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
12609 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
12610 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
12611 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
12612 anymore.
12613 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
12614 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
12615 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
12616 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
12617 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
12618 __mpranred, __mptan.
12619 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
12620 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
12621 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
12622 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
12623 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
12624 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
12625 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
12626 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
12627 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
12628
b4343346
AS
126292011-10-28 Andreas Schwab <schwab@redhat.com>
12630
0c92d8a8
AS
12631 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
12632 redefine if SHARED.
12633 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
12634
b4343346
AS
12635 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
12636 wide char related routines to wcsmbs subdir.
12637
3871f58f
AS
126382011-10-27 Andreas Schwab <schwab@redhat.com>
12639
12640 [BZ #13344]
12641 * misc/sys/cdefs.h (__THROWNL): Define.
12642 * posix/unistd.h: Use __THREADNL instead of __THREAD
12643 for memory synchronization functions.
12644
94d44d9f
RM
126452011-10-26 Roland McGrath <roland@hack.frob.com>
12646
21b64b15 12647 [BZ #13349]
94d44d9f
RM
12648 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
12649 doesn't exist.
12650 * manual/stdio.texi (Obstack Streams): Node removed.
12651
f6ce9294
AS
126522011-10-26 Andreas Schwab <schwab@redhat.com>
12653
80479147
AS
12654 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
12655 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
12656 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
12657
f6ce9294
AS
12658 * math/math_private.h (math_force_eval): Allow non-addressable
12659 arguments.
12660 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
12661
618280a1
UD
126622011-10-25 Ulrich Drepper <drepper@gmail.com>
12663
e0016b11
UD
12664 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
12665 file is not needed.
12666
12667 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
12668 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
12669 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
12670 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
12671 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
12672 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
12673 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
12674 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
12675 Add AVX variants.
12676 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
12677 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
12678 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
12679 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
12680 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
12681 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
12682 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
12683 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
12684 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
12685 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
12686 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
12687 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
12688 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
12689 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
12690 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
12691 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
12692 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
12693 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
12694 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
12695
12696 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
12697 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
12698
618280a1
UD
12699 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
12700 place. Use VEX encoding when compiling for AVX.
12701
37822576
AS
127022011-10-25 Andreas Schwab <schwab@redhat.com>
12703
1f1e1947
AS
12704 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
12705 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
12706
37822576
AS
12707 * string/test-strchr.c (do_test): Don't generate NUL bytes.
12708
31ea014d
UD
127092011-10-25 Ulrich Drepper <drepper@gmail.com>
12710
d7826aa1 12711 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 12712 useless if() expression.
d7826aa1
UD
12713 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
12714 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
12715 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12716 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12717 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12718 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
12719 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
12720 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
12721 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
12722 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
12723 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
12724 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
12725 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
12726 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
12727 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
12728 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
12729 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
12730 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
12731 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
12732
31ea014d
UD
12733 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
12734
16437fec
AS
127352011-10-25 Andreas Schwab <schwab@redhat.com>
12736
12737 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
12738 condition.
12739 * elf/dl-fini.c (_dl_sort_fini): Likewise.
12740
31d3cc00
UD
127412011-10-25 Ulrich Drepper <drepper@gmail.com>
12742
12743 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
12744 .text section. Avoid duplicate constants.
12745 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
12746 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12747 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
12748 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12749 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12750 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12751 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12752 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12753 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
12754 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
12755 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
12756 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
12757 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
12758 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
12759 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
12760 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
12761 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
12762 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
12763 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12764 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12765 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
12766 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
12767 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
12768 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
12769 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
12770 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
12771 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
12772 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
12773 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
12774 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
12775 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
12776 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
12777 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
12778 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
12779 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
12780 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
12781 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
12782 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
12783 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
12784 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
12785 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
12786 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
12787 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
12788 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
12789 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
12790
58985aa9
UD
127912011-10-24 Ulrich Drepper <drepper@gmail.com>
12792
202c9deb
UD
12793 * sysdeps/x86_64/dla.h: Move to ...
12794 * sysdeps/x86_64/fpu/dla.h: ...here.
12795 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
12796 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 12797
af968f62
UD
12798 * config.make.in: Add have-mfma4 entry.
12799 * configure.in: Substitute libc_cv_cc_fma4.
12800 * math/Makefile (dbl-only-routines): Add sincostab.
12801 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
12802 Use __sincostab not sincos.
12803 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
12804 name is a macro.
12805 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12806 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12807 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12808 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
12809 using __copysign.
12810 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
12811 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
12812 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
12813 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
12814 and __inv.
12815 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
12816 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
12817 __copysign.
12818 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
12819 define aliases when function name is a macro.
12820 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
12821 sysdeps/ieee754/dbl-64/sincos.tbl.
12822 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
12823 fma4-enabled routines.
12824 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
12825 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
12826 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
12827 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
12828 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
12829 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
12830 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
12831 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
12832 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
12833 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
12834 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
12835 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
12836 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
12837 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
12838 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
12839 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
12840 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
12841 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
12842 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
12843 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
12844 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
12845 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
12846 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
12847 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
12848 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
12849 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
12850 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
12851 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
12852 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
12853 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
12854
58985aa9
UD
12855 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
12856 rename.
12857 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12858 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12859 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12860 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12861 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12862 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12863 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12864 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12865
a201fbcf
AS
128662011-10-24 Andreas Schwab <schwab@redhat.com>
12867
12868 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
12869
fc2ee42a
LD
128702011-10-23 Ulrich Drepper <drepper@gmail.com>
12871
bb3129bd
UD
12872 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
12873
0275fff8
UD
12874 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
12875 prediction.
12876 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
12877
2fa2ae85
UD
12878 * string/strnlen.c: Don't define STRNLEN, reverse logic.
12879 Remove unused variable magic_bits.
12880 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
12881
fc2ee42a
LD
12882 * string/strnlen.c: Define and use STRNLEN macro.
12883 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
12884 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
12885 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
12886 * wcsmbs/wcslen.c: Define and use WCSLEN.
12887 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
12888 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
12889 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
12890 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
12891 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
12892 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
12893 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
12894
ce7dd29f
LD
128952011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12896
12897 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12898 strnlen-sse2-no-bsf.
12899 Rename strlen-no-bsf to strlen-sse2-no-bsf.
12900 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
12901 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
12902 Add strnlen support.
12903 (USE_AS_STRNLEN): New macro.
12904 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
12905 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
12906 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
12907 * sysdeps/x86_64/wcslen.S: New file.
12908
979c70a3
MZ
129092011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
12910
12911 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
12912 XMM-moves are used for copying on small sizes.
12913
2d09f82f
LD
129142011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12915
12916 * wcsmbs/Makefile (strop-tests): Add wcschr.
12917 * wcsmbs/test-wcschr.c: New file.
12918 * string/test-strchr.c: Update.
12919 Add wcschr support.
12920 (WIDE): New macro.
12921
619fccca
LD
129222011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12923
2d09f82f 12924 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
12925 * wcsmbs/test-wcslen.c: New file.
12926 * string/test-strlen.c: Update.
12927 Add wcslen support.
12928 (WIDE): New macro.
12929
09f699ea
UD
129302011-10-23 Ulrich Drepper <drepper@gmail.com>
12931
12932 * po/it.po: Update from translation team.
12933
95584d3b
LD
129342011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12935
12936 * sysdeps/x86_64/wcscmp.S: Update.
12937 Fix wrong comparison semantics.
12938 wcscmp shall use signed comparison not unsigned.
12939 Don't use substraction to avoid overflow bug.
12940 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
12941 * wcsmbc/wcscmp.c: Likewise.
12942 * string/test-strcmp.c: Likewise.
12943 Add new tests to check cases with negative values.
12944
c8b3296b
UD
129452011-10-23 Ulrich Drepper <drepper@gmail.com>
12946
12947 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
12948 * sysdeps/x86_64/dla.h: ...here. New file.
12949 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
12950 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12951 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12952 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12953 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12954 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12955 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12956 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12957 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12958
246ad57a
AS
129592011-10-23 Andreas Schwab <schwab@linux-m68k.org>
12960
12961 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
12962 __ynl_finite aliases.
12963
a1a87169
UD
129642011-10-22 Ulrich Drepper <drepper@gmail.com>
12965
0d355eb7
UD
12966 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12967
a1a87169
UD
12968 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
12969 define DLA_FMA.
12970 [DLA_FMA] (EMULV): Use DLA_FMA.
12971 [DLA_FMA] (MUL12): Use EMULV.
12972 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
12973 that are not needed.
12974 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12975 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12976 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12977 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12978 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12979 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12980 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12981
ee2aafe0
AS
129822011-10-22 Andreas Schwab <schwab@linux-m68k.org>
12983
12984 * math/s_nan.c: Undef __nan.
12985 * math/s_nanf.c: Undef __nanf.
12986 * math/s_nanl.c: Undef __nanl.
12987 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
12988 "math_private.h".
12989
bc62c2fb
UD
129902011-10-22 Ulrich Drepper <drepper@gmail.com>
12991
77425c63
UD
12992 * math/s_catan.c: Add branch predictions.
12993 * math/s_catanf.c: Likewise.
12994 * math/s_catanh.c: Likewise.
12995 * math/s_catanhf.c: Likewise.
12996 * math/s_catanhl.c: Likewise.
12997 * math/s_catanl.c: Likewise.
12998 * math/s_cexp.c: Likewise.
12999 * math/s_cexpf.c: Likewise.
13000 * math/s_cexpl.c: Likewise.
13001 * math/s_clog.c: Likewise.
13002 * math/s_clog10.c: Likewise.
13003 * math/s_clog10f.c: Likewise.
13004 * math/s_clog10l.c: Likewise.
13005 * math/s_clogf.c: Likewise.
13006 * math/s_clogl.c: Likewise.
13007 * math/s_csqrt.c: Likewise.
13008 * math/s_csqrtf.c: Likewise.
13009 * math/s_csqrtl.c: Likewise.
13010 * math/s_ctanf.c: Likewise.
13011 * math/s_ctanh.c: Likewise.
13012 * math/s_ctanhf.c: Likewise.
13013 * math/s_ctanhl.c: Likewise.
13014 * math/s_ctanl.c: Likewise.
13015
bc62c2fb
UD
13016 * math/math_private.h: Define __nan, __nanf, __nanl.
13017 * math/s_cacosh.c: Include <math_private.h>.
13018 * math/s_cacoshl.c: Likewise.
13019 * math/s_casinh.c: Likewise.
13020 * math/s_casinhf.c: Likewise.
13021 * math/s_casinhl.c: Likewise.
13022 * math/s_ccos.c: Rely entire on ccosh.
13023 * math/s_ccosf.c: Rely entire on ccoshf.
13024 * math/s_ccosl.c: Rely entirely on ccoshl.
13025 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
13026 Remove tests for FE_INVALID.
13027 * math/s_ccoshf.c: Likewise.
13028 * math/s_ccoshl.c: Likewise.
13029 * math/s_csin.c: Likewise.
13030 * math/s_csinf.c: Likewise.
13031 * math/s_csinh.c Likewise.
13032 * math/s_csinhf.c: Likewise.
13033 * math/s_csinhl.c: Likewise.
13034 * math/s_csinl.c: Likewise.
13035 * math/s_ctan.c: Likewise.
13036 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
13037 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
13038 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
13039
8ec250a4
UD
130402011-10-21 Ulrich Drepper <drepper@gmail.com>
13041
c196fed8
UD
13042 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
13043 compilation problems.
13044
8ec250a4
UD
13045 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
13046 __builtin_expect.
13047
8d4f46c6
UD
130482011-10-20 Ulrich Drepper <drepper@gmail.com>
13049
ed72b654
UD
13050 * sysdeps/i386/configure.in: Test for -mfma4 option.
13051 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
13052 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
13053 COMMON_CPUID_INDEX_80000001.
13054 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
13055 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
13056 use it if FMA3 is not supported.
13057 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
13058
8d4f46c6
UD
13059 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
13060 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
13061
d45c60c2
AS
130622011-10-20 Andreas Schwab <schwab@redhat.com>
13063
13064 [BZ #12892]
13065 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
13066 it would create a cycle with a link time dependency.
13067
d9a4d2ab
UD
130682011-10-19 Ulrich Drepper <drepper@gmail.com>
13069
855d1560
UD
13070 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
13071 instruction.
13072 * string/Makefile (strop-tests): Add rawmemchr.
13073 * string/test-rawmemchr.c: New file.
13074
d9a4d2ab
UD
13075 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
13076 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
13077 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
13078 when compiling str{,n}casecmp and when AVX is available. Hook up
13079 new optimized code in initializers.
13080
8f3b1ffe
AS
130812011-10-19 Andreas Schwab <schwab@redhat.com>
13082
13083 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
13084 __feraiseexcept instead of feraiseexcept.
13085
d38f1dba
UD
130862011-10-18 Ulrich Drepper <drepper@gmail.com>
13087
d9a8d0ab
UD
13088 * math/math_private.h: Define defaults for libc_fetestexcept and
13089 libc_feupdateenv.
13090 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
13091 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
13092 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
13093 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
13094 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
13095 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
13096 libc_fetestexcept and libc_feupdateenv.
13097
4855e3dd
UD
13098 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
13099 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
13100 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
13101 * sysdeps/x86_64/fpu/math_private.h: Define special version of
13102 libc_feholdexcept_setround.
13103
581d30e3
UD
13104 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
13105 Add s_nearbyint-c and s_nearbyintf-c.
13106 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
13107 nearbyintf inlines.
13108 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
13109 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
13110 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
13111 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
13112
d38f1dba
UD
13113 * math/math_private.h: Define defaults for libc_fegetround,
13114 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
13115 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
13116 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
13117 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
13118 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
13119 standard functions.
13120 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13121 Remove comments and hacks for old compiler versions.
13122 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
13123 libc_fegetround, libc_fesetround, libc_feholdexcept, and
13124 libc_feholdexceptl.
13125
caa6c9d8
AS
131262011-10-18 Andreas Schwab <schwab@redhat.com>
13127
13128 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
13129 (__feraiseexcept_renamed): Add __NTH.
13130 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
13131 namespace violations.
13132
97c066e6
UD
131332011-10-17 Ulrich Drepper <drepper@gmail.com>
13134
99ce7b04
UD
13135 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
13136
1004d182
UD
13137 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
13138
228a984d
UD
13139 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
13140 recently added interfaces.
13141 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
13142
c8553a6a
UD
13143 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
13144 about macro parameter expansion.
13145
ed22dcf6
UD
13146 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
13147 __NO_MATH_INLINES is defined. Cleanups.
13148
13149 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
13150 and __floorf is target has SSE4.1.
13151 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
13152 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
13153 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
13154 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
13155
b171c137
UD
13156 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
13157 name.
13158 (floorf): Likewise.
13159
97c066e6
UD
13160 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
13161
629f62ef
AS
131622011-10-17 Andreas Schwab <schwab@redhat.com>
13163
49a43d80
AS
13164 * misc/sys/cdefs.h: Fix last change.
13165
629f62ef
AS
13166 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
13167 database lookup.
13168
e453f6cd
UD
131692011-10-16 Ulrich Drepper <drepper@gmail.com>
13170
aa78043a
UD
13171 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
13172
ad0f5cad
UD
13173 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
13174 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13175 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
13176 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
13177 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13178 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
13179 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
13180 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
13181 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
13182 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
13183 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
13184 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
13185 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
13186 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
13187 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
13188 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
13189 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
13190 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
13191 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
13192 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
13193 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
13194 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
13195
13196 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
13197 ceil, ceilf, floor, floorf.
13198
13199 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
13200 Perform IRELATIVE relocations last.
13201
e453f6cd
UD
13202 * elf/do-rel.h: Add another parameter nrelative, replacing the
13203 local variable with the same name. Change name of the function
13204 to end in Rel or Rela (uppercase).
13205 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
13206 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
13207 elf_dynamic_do_##reloc function.
13208
fd5bdc09
UD
132092011-10-15 Ulrich Drepper <drepper@gmail.com>
13210
79b195b5
UD
13211 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
13212 is sufficient, at least on modern CPUs.
13213
d4a28569
UD
13214 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
13215
b61099b5
UD
13216 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
13217 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
13218
bcf01e6d
UD
13219 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
13220 __expl_finite.
13221 * math/bits/math-finite.h: Add entries for exp.
13222 * math/e_expl.c: Add __*_finite alias.
13223 * sysdeps/i386/fpu/e_exp.S: Likewise.
13224 * sysdeps/i386/fpu/e_expf.S: Likewise.
13225 * sysdeps/i386/fpu/e_expl.c: Likewise.
13226 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13227 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
13228 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13229 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
13230 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
13231 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
13232 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
13233
ba1a0d59
UD
13234 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
13235 is sufficient, at least on modern CPUs.
13236
fd5bdc09
UD
13237 * ctype/ctype-info.c (__ctype_init): Define.
13238 * include/ctype.h (__ctype_init): Declare.
13239 (__ctype_b_loc): The variable is always initialized.
13240 (__ctype_toupper_loc): Likewise.
13241 (__ctype_tolower_loc): Likewise.
13242 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
13243 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
13244
7872cfb0
AS
132452011-10-15 Andreas Schwab <schwab@linux-m68k.org>
13246
b468825a
AS
13247 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
13248
7872cfb0
AS
13249 * configure.in: Also look in $cxxmachine/include for C++ system
13250 headers.
13251
be13f7bf
LD
132522011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13253
13254 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
13255 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
13256 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
13257 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
13258 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
13259 (USE_AS_WMEMCMP): New macro.
13260 Fixing indents.
13261 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
13262 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
13263 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
13264 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
13265 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13266 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
13267 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
13268 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
13269 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
13270 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
13271 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
13272 (USE_AS_WMEMCMP): New macro.
13273 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
13274 * sysdeps/string/test-memcmp.c: Update.
13275 Fix simple_wmemcmp.
13276 Add new tests.
13277 * wcsmbs/wmemcmp.c: Update.
13278 (WMEMCMP): New macro.
13279 Fix overflow bug.
13280
556a2007
AJ
132812011-10-12 Andreas Jaeger <aj@suse.de>
13282
13283 [BZ #13268]
13284 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
13285
538faaa7
UD
132862011-10-15 Ulrich Drepper <drepper@gmail.com>
13287
ab6737ff
UD
13288 * libio/iofwide.c (do_length): Avoid warning.
13289
538faaa7
UD
13290 * ctype/ctype.h (__isctype_f): Add missing __THROW.
13291
396a21b1
UD
132922011-10-14 Ulrich Drepper <drepper@gmail.com>
13293
cdf2901f
UD
13294 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
13295
38ad40ce
UD
13296 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
13297 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
13298 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
13299 * sysdeps/i386/i686/fpu/e_log.S: New file.
13300 * sysdeps/i386/i686/fpu/e_logf.S: New file.
13301 * sysdeps/i386/i686/fpu/e_logl.S: New file.
13302
396a21b1
UD
13303 * ctype/ctype.h: Add support for inlined isXXX functions when
13304 compiling C++ code.
13305
6b1f68c9
AS
133062011-10-14 Andreas Schwab <schwab@redhat.com>
13307
349290c0
AS
13308 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
13309
6b1f68c9
AS
13310 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
13311
f2282d42
RM
133122011-10-13 Roland McGrath <roland@hack.frob.com>
13313
13314 [BZ #13291]
13315 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
13316
5298ffa8
AS
133172011-10-13 Andreas Schwab <schwab@redhat.com>
13318
714fad23
AS
13319 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
13320 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
13321 feraiseexcept.
13322
81dcc7fb
AS
13323 * sysdeps/x86_64/memrchr.S: Check for zero size.
13324
5298ffa8
AS
13325 * string/stratcliff.c: Add memrchr tests.
13326
951fbcec
LD
133272011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13328
13329 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13330 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
13331 rawmemchr-sse2 rawmemchr-sse2-bsf.
13332 * sysdeps/i386/i686/multiarch/memchr.S: New file.
13333 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
13334 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
13335 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
13336 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
13337 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
13338 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
13339 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
13340 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
13341 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
13342 * string/memrchr.c (MEMRCHR): New macro.
13343
0ac5ae23
UD
133442011-10-12 Ulrich Drepper <drepper@gmail.com>
13345
13346 Add integration with gcc's -ffinite-math-only and optimize wrapper
13347 functions in libm.
13348 * Versions.def: Define GLIBC_2.15 version for libm.
13349 * math/Makefile (headers): Add bits/math-finite.h.
13350 * math/bits/math-finite.h: New file.
13351 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
13352 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
13353 * math/e_acoshl.c: Add __*_finite alias.
13354 * math/e_acosl.c: Likewise.
13355 * math/e_asinl.c: Likewise.
13356 * math/e_atan2l.c: Likewise.
13357 * math/e_atanhl.c: Likewise.
13358 * math/e_coshl.c: Likewise.
13359 * math/e_exp10.c: Likewise.
13360 * math/e_exp10f.c: Likewise.
13361 * math/e_exp10l.c: Likewise.
13362 * math/e_exp2l.c: Likewise.
13363 * math/e_fmodl.c: Likewise.
13364 * math/e_gammal_r.c: Likewise.
13365 * math/e_hypotl.c: Likewise.
13366 * math/e_j0l.c: Likewise.
13367 * math/e_j1l.c: Likewise.
13368 * math/e_jnl.c: Likewise.
13369 * math/e_lgammal_r.c: Likewise.
13370 * math/e_log10l.c: Likewise.
13371 * math/e_log2l.c: Likewise.
13372 * math/e_logl.c: Likewise.
13373 * math/e_powl.c: Likewise.
13374 * math/e_sinhl.c: Likewise.
13375 * math/e_sqrtl.c: Likewise.
13376 * math/e_scalb.c: Completely rewritten and optimized.
13377 * math/e_scalbf.c: Likewise.
13378 * math/e_scalbl.c: Likewise.
13379 * math/w_acos.c: Likewise.
13380 * math/w_acosf.c: Likewise.
13381 * math/w_acosl.c: Likewise.
13382 * math/w_acosh.c: Likewise.
13383 * math/w_acoshf.c: Likewise.
13384 * math/w_acoshl.c: Likewise.
13385 * math/w_asin.c: Likewise.
13386 * math/w_asinf.c: Likewise.
13387 * math/w_asinl.c: Likewise.
13388 * math/w_atan2.c: Likewise.
13389 * math/w_atan2f.c: Likewise.
13390 * math/w_atan2l.c: Likewise.
13391 * math/w_atanh.c: Likewise.
13392 * math/w_atanhf.c: Likewise.
13393 * math/w_atanhl.c: Likewise.
13394 * math/w_exp10.c: Likewise.
13395 * math/w_exp10f.c: Likewise.
13396 * math/w_exp10l.c: Likewise.
13397 * math/w_fmod.c: Likewise.
13398 * math/w_fmodf.c: Likewise.
13399 * math/w_fmodl.c: Likewise.
13400 * math/w_j0.c: Likewise.
13401 * math/w_j0f.c: Likewise.
13402 * math/w_j0l.c: Likewise.
13403 * math/w_j1.c: Likewise.
13404 * math/w_j1f.c: Likewise.
13405 * math/w_j1l.c: Likewise.
13406 * math/w_jn.c: Likewise.
13407 * math/w_jnf.c: Likewise.
13408 * math/w_log.c: Likewise.
13409 * math/w_logf.c: Likewise.
13410 * math/w_logl.c: Likewise.
13411 * math/w_log10.c: Likewise.
13412 * math/w_log10f.c: Likewise.
13413 * math/w_log10l.c: Likewise.
13414 * math/w_log2.c: Likewise.
13415 * math/w_log2f.c: Likewise.
13416 * math/w_log2l.c: Likewise.
13417 * math/w_pow.c: Likewise.
13418 * math/w_powf.c: Likewise.
13419 * math/w_powl.c: Likewise.
13420 * math/w_remainder.c: Likewise.
13421 * math/w_remainderf.c: Likewise.
13422 * math/w_remainderl.c: Likewise.
13423 * math/w_scalb.c: Likewise.
13424 * math/w_scalbf.c: Likewise.
13425 * math/w_scalbl.c: Likewise.
13426 * math/w_sqrt.c: Likewise.
13427 * math/w_sqrtf.c: Likewise.
13428 * math/w_sqrtl.c: Likewise.
13429 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
13430 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
13431 used.
13432 * math/math_private.h: Declare __kernel_standard_f.
13433 * math/w_cosh.c: Remove cruft and optimize a bit.
13434 * math/w_coshf.c: Likewise.
13435 * math/w_coshl.c: Likewise.
13436 * math/w_exp2.c: Likewise.
13437 * math/w_exp2f.c: Likewise.
13438 * math/w_exp2l.c: Likewise.
13439 * math/w_hypot.c: Likewise.
13440 * math/w_hypotf.c: Likewise.
13441 * math/w_hypotl.c: Likewise.
13442 * math/w_lgamma.c: Likewise.
13443 * math/w_lgamma_r.c: Likewise.
13444 * math/w_lgammaf.c: Likewise.
13445 * math/w_lgammaf_r.c: Likewise.
13446 * math/w_lgammal.c: Likewise.
13447 * math/w_lgammal_r.c: Likewise.
13448 * math/w_sinh.c: Likewise.
13449 * math/w_sinhf.c: Likewise.
13450 * math/w_sinhl.c: Likewise.
13451 * math/w_tgamma.c: Likewise.
13452 * math/w_tgammaf.c: Likewise.
13453 * math/w_tgammal.c: Likewise.
13454 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
13455 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13456 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
13457 Minor optimizations. Pretty printing. Remove cruft.
13458 * sysdeps/i386/fpu/e_acosf.S: Likewise.
13459 * sysdeps/i386/fpu/e_acosh.S: Likewise.
13460 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
13461 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
13462 * sysdeps/i386/fpu/e_acosl.c: Likewise.
13463 * sysdeps/i386/fpu/e_asin.S: Likewise.
13464 * sysdeps/i386/fpu/e_asinf.S: Likewise.
13465 * sysdeps/i386/fpu/e_atan2.S: Likewise.
13466 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
13467 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
13468 * sysdeps/i386/fpu/e_atanh.S: Likewise.
13469 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
13470 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
13471 * sysdeps/i386/fpu/e_exp10.S: Likewise.
13472 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
13473 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
13474 * sysdeps/i386/fpu/e_exp2.S: Likewise.
13475 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
13476 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
13477 * sysdeps/i386/fpu/e_fmod.S: Likewise.
13478 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
13479 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
13480 * sysdeps/i386/fpu/e_hypot.S: Likewise.
13481 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
13482 * sysdeps/i386/fpu/e_log.S: Likewise.
13483 * sysdeps/i386/fpu/e_log10.S: Likewise.
13484 * sysdeps/i386/fpu/e_log10f.S: Likewise.
13485 * sysdeps/i386/fpu/e_log10l.S: Likewise.
13486 * sysdeps/i386/fpu/e_log2.S: Likewise.
13487 * sysdeps/i386/fpu/e_log2f.S: Likewise.
13488 * sysdeps/i386/fpu/e_log2l.S: Likewise.
13489 * sysdeps/i386/fpu/e_logf.S: Likewise.
13490 * sysdeps/i386/fpu/e_logl.S: Likewise.
13491 * sysdeps/i386/fpu/e_pow.S: Likewise.
13492 * sysdeps/i386/fpu/e_powf.S: Likewise.
13493 * sysdeps/i386/fpu/e_powl.S: Likewise.
13494 * sysdeps/i386/fpu/e_remainder.S: Likewise.
13495 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
13496 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
13497 * sysdeps/i386/fpu/e_scalb.S: Likewise.
13498 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
13499 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
13500 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
13501 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
13502 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
13503 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
13504 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13505 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13506 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
13507 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13508 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
13509 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
13510 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
13511 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13512 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13513 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13514 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
13515 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13516 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
13517 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
13518 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13519 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13520 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
13521 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13522 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13523 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
13524 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
13525 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
13526 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
13527 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
13528 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
13529 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
13530 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
13531 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
13532 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
13533 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
13534 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
13535 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13536 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
13537 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
13538 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
13539 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
13540 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
13541 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
13542 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
13543 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
13544 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
13545 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
13546 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
13547 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
13548 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
13549 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
13550 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
13551 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
13552 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
13553 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
13554 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
13555 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
13556 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13557 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
13558 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
13559 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
13560 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
13561 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
13562 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
13563 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
13564 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
13565 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
13566 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
13567 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
13568 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
13569 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
13570 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
13571 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
13572 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
13573 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
13574 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
13575 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
13576 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
13577 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
13578 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
13579 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
13580 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
13581 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
13582 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
13583 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
13584 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
13585 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
13586 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
13587 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
13588 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
13589 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
13590 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
13591 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
13592 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
13593 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
13594 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
13595 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
13596 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
13597 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
13598 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
13599 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
13600 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
13601 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
13602 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
13603 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
13604 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
13605 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
13606 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
13607 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
13608 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
13609 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
13610 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
13611 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
13612 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
13613 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
13614 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
13615 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
13616 (__isnanf): Likewise.
13617 (__isinf_ns): Likewise.
13618 (__isinf_nsf): Likewise.
13619 (__finite): Likewise.
13620 (__finitef): Likewise.
13621 (__ieee754_sqrt): Define as macro.
13622 (__ieee754_sqrtf): Define as macro.
13623 (__ieee754_sqrtl): Define as macro.
13624 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
13625 inlined copy.
13626 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
13627 __FINITE_MATH_ONLY__ consistent.
13628 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
13629
12cc2fcd
AS
136302011-10-10 Andreas Schwab <schwab@linux-m68k.org>
13631
a843a204
AS
13632 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
13633 of rawmemchr.
13634
12cc2fcd
AS
13635 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
13636
c853acd5
UD
136372011-10-09 Ulrich Drepper <drepper@gmail.com>
13638
13639 * po/ja.po: Update from translation team.
13640
c658d255
RM
136412011-10-08 Roland McGrath <roland@hack.frob.com>
13642
110946e4
RM
13643 * locale/programs/locarchive.c (prepare_address_space): New function.
13644 (create_archive, enlarge_archive, open_archive): Use it.
13645
50604220
RM
13646 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
13647 inside [SHARED], where it is used.
13648
c658d255
RM
13649 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
13650
13651 * nss/getent.c (netgroup_keys): Remove unused variable.
13652 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
13653
6a621eb7
UD
136542011-10-08 Ulrich Drepper <drepper@gmail.com>
13655
7edb55ce
UD
13656 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
13657 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
13658 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
13659 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
13660 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
13661 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
13662 * math/Makefile (libm-calls): Add s_isinf_ns.
13663 * math/divtc3.c: Use __isinf_nsl instead of isinf.
13664 * math/multc3.c: Likewise.
13665 * math/s_casin.c: Likewise.
13666 * math/s_casinf.c: Likewise.
13667 * math/s_casinl.c: Likewise.
13668 * math/s_ccos.c: Likewise.
13669 * math/s_ccosf.c: Likewise.
13670 * math/s_ccosl.c: Likewise.
13671 * math/s_ctan.c: Likewise.
13672 * math/s_ctanf.c: Likewise.
13673 * math/s_ctanh.c: Likewise.
13674 * math/s_ctanhf.c: Likewise.
13675 * math/s_ctanhl.c: Likewise.
13676 * math/s_ctanl.c: Likewise.
13677 * math/w_fmod.c: Likewise.
13678 * math/w_fmodf.c: Likewise.
13679 * math/w_fmodl.c: Likewise.
13680 * math/w_remainder.c: Likewise.
13681 * math/w_remainderf.c: Likewise.
13682 * math/w_remainderl.c: Likewise.
13683 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
13684 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
13685 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
13686 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
13687 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
13688 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
13689 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
13690 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
13691
187da0ae
UD
13692 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
13693 of the number.
13694 * stdio-common/printf_fphex.c: Likewise.
13695 * stdio-common/printf_size.c: Likewise.
13696
9277c064
UD
13697 * math/e_exp10.c: Include math_private.h using <...> not "...".
13698 * math/e_exp10f.c: Likewise.
13699 * math/e_exp10l.c: Likewise.
13700 * math/e_exp2l.c: Likewise.
13701 * math/e_j0l.c: Likewise.
13702 * math/e_j1l.c: Likewise.
13703 * math/e_jnl.c: Likewise.
13704 * math/e_lgammal_r.c: Likewise.
13705 * math/e_rem_pio2l.c: Likewise.
13706 * math/e_scalb.c: Likewise.
13707 * math/e_scalbf.c: Likewise.
13708 * math/e_scalbl.c: Likewise.
13709 * math/k_cosl.c: Likewise.
13710 * math/k_sinl.c: Likewise.
13711 * math/k_tanl.c: Likewise.
13712 * math/s_cacoshf.c: Likewise.
13713 * math/s_catan.c: Likewise.
13714 * math/s_catanf.c: Likewise.
13715 * math/s_catanh.c: Likewise.
13716 * math/s_catanhf.c: Likewise.
13717 * math/s_catanhl.c: Likewise.
13718 * math/s_catanl.c: Likewise.
13719 * math/s_ccosh.c: Likewise.
13720 * math/s_ccoshf.c: Likewise.
13721 * math/s_ccoshl.c: Likewise.
13722 * math/s_cexp.c: Likewise.
13723 * math/s_cexpf.c: Likewise.
13724 * math/s_cexpl.c: Likewise.
13725 * math/s_clog.c: Likewise.
13726 * math/s_clog10.c: Likewise.
13727 * math/s_clog10f.c: Likewise.
13728 * math/s_clog10l.c: Likewise.
13729 * math/s_clogf.c: Likewise.
13730 * math/s_clogl.c: Likewise.
13731 * math/s_csin.c: Likewise.
13732 * math/s_csinf.c: Likewise.
13733 * math/s_csinh.c: Likewise.
13734 * math/s_csinhf.c: Likewise.
13735 * math/s_csinhl.c: Likewise.
13736 * math/s_csinl.c: Likewise.
13737 * math/s_csqrt.c: Likewise.
13738 * math/s_csqrtf.c: Likewise.
13739 * math/s_csqrtl.c: Likewise.
13740 * math/s_ctan.c: Likewise.
13741 * math/s_ctanf.c: Likewise.
13742 * math/s_ctanh.c: Likewise.
13743 * math/s_ctanhf.c: Likewise.
13744 * math/s_ctanhl.c: Likewise.
13745 * math/s_ctanl.c: Likewise.
13746 * math/s_ldexp.c: Likewise.
13747 * math/s_ldexpf.c: Likewise.
13748 * math/s_ldexpl.c: Likewise.
13749 * math/s_significand.c: Likewise.
13750 * math/s_significandf.c: Likewise.
13751 * math/s_significandl.c: Likewise.
13752 * math/w_acos.c: Likewise.
13753 * math/w_acosf.c: Likewise.
13754 * math/w_acosh.c: Likewise.
13755 * math/w_acoshf.c: Likewise.
13756 * math/w_acoshl.c: Likewise.
13757 * math/w_acosl.c: Likewise.
13758 * math/w_asin.c: Likewise.
13759 * math/w_asinf.c: Likewise.
13760 * math/w_asinl.c: Likewise.
13761 * math/w_atan2.c: Likewise.
13762 * math/w_atan2f.c: Likewise.
13763 * math/w_atan2l.c: Likewise.
13764 * math/w_atanh.c: Likewise.
13765 * math/w_atanhf.c: Likewise.
13766 * math/w_atanhl.c: Likewise.
13767 * math/w_cosh.c: Likewise.
13768 * math/w_coshf.c: Likewise.
13769 * math/w_coshl.c: Likewise.
13770 * math/w_dremf.c: Likewise.
13771 * math/w_exp10.c: Likewise.
13772 * math/w_exp10f.c: Likewise.
13773 * math/w_exp10l.c: Likewise.
13774 * math/w_exp2.c: Likewise.
13775 * math/w_exp2f.c: Likewise.
13776 * math/w_fmod.c: Likewise.
13777 * math/w_fmodf.c: Likewise.
13778 * math/w_fmodl.c: Likewise.
13779 * math/w_hypot.c: Likewise.
13780 * math/w_hypotf.c: Likewise.
13781 * math/w_hypotl.c: Likewise.
13782 * math/w_j0.c: Likewise.
13783 * math/w_j0f.c: Likewise.
13784 * math/w_j0l.c: Likewise.
13785 * math/w_j1.c: Likewise.
13786 * math/w_j1f.c: Likewise.
13787 * math/w_j1l.c: Likewise.
13788 * math/w_jn.c: Likewise.
13789 * math/w_jnf.c: Likewise.
13790 * math/w_jnl.c: Likewise.
13791 * math/w_lgamma.c: Likewise.
13792 * math/w_lgamma_r.c: Likewise.
13793 * math/w_lgammaf.c: Likewise.
13794 * math/w_lgammaf_r.c: Likewise.
13795 * math/w_lgammal.c: Likewise.
13796 * math/w_lgammal_r.c: Likewise.
13797 * math/w_log.c: Likewise.
13798 * math/w_log10.c: Likewise.
13799 * math/w_log10f.c: Likewise.
13800 * math/w_log10l.c: Likewise.
13801 * math/w_log2.c: Likewise.
13802 * math/w_log2f.c: Likewise.
13803 * math/w_log2l.c: Likewise.
13804 * math/w_logf.c: Likewise.
13805 * math/w_logl.c: Likewise.
13806 * math/w_pow.c: Likewise.
13807 * math/w_powf.c: Likewise.
13808 * math/w_powl.c: Likewise.
13809 * math/w_remainder.c: Likewise.
13810 * math/w_remainderf.c: Likewise.
13811 * math/w_remainderl.c: Likewise.
13812 * math/w_scalb.c: Likewise.
13813 * math/w_scalbf.c: Likewise.
13814 * math/w_scalbl.c: Likewise.
13815 * math/w_sinh.c: Likewise.
13816 * math/w_sinhf.c: Likewise.
13817 * math/w_sinhl.c: Likewise.
13818 * math/w_sqrt.c: Likewise.
13819 * math/w_sqrtf.c: Likewise.
13820 * math/w_sqrtl.c: Likewise.
13821 * math/w_tgamma.c: Likewise.
13822 * math/w_tgammaf.c: Likewise.
13823 * math/w_tgammal.c: Likewise.
13824
6a621eb7
UD
13825 * po/ja.po: Update from translation team.
13826
bf582445
AJ
138272011-09-29 Andreas Jaeger <aj@suse.de>
13828
f9efbf3a
AJ
13829 [BZ #13179]
13830 * sunrpc/netname.c (netname2host): Fix logic.
13831
bf582445
AJ
13832 [BZ #6779]
13833 [BZ #6783]
13834 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
13835 correctly.
13836 * math/w_remainder.c (__remainder): Likewise.
13837 * math/w_remainderf.c (__remainderf): Likewise.
13838 * math/libm-test.inc (remainder_test): Add test cases.
13839
48693bea
AK
138402011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13841
13842 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
13843 sdiv_qrnnd.
13844
42622229
LD
138452011-10-07 Ulrich Drepper <drepper@gmail.com>
13846
13847 * string/test-memcmp.c: Avoid unncessary #defines.
13848 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
13849
093ecf92
LD
138502011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13851
13852 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
13853 Use new sse2 version for core i3 - i7 as it's faster
13854 than sse42 version.
13855 (bit_Prefer_PMINUB_for_stringop): New.
13856 * sysdeps/x86_64/rawmemchr.S: Update.
13857 Replace with faster SSE2 version.
13858 * sysdeps/x86_64/memrchr.S: New file.
13859 * sysdeps/x86_64/memchr.S: Update.
13860 Replace with faster SSE2 version.
13861
fde56e5c
MP
138622011-09-12 Marek Polacek <mpolacek@redhat.com>
13863
13864 * elf/dl-load.c (lose): Add cast to avoid warning.
13865
21fd49a9
UD
138662011-10-07 Ulrich Drepper <drepper@gmail.com>
13867
5a06e643
UD
13868 * po/ca.po: Update from translation team.
13869
684ae515
UD
13870 * inet/getnetgrent_r.c: Hook up nscd.
13871 * nscd/Makefile (routines): Add nscd_netgroup.
13872 (nscd-modules): Add netgroupcache.
13873 (CFLAGS-netgroupcache.c): Define.
13874 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
13875 (cache_search): Add const to second parameter.
13876 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
13877 INNETGR.
13878 (dbs): Add netgrdb entry.
13879 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
13880 (verify_persistent_db): Handle netgrdb.
13881 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
13882 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
13883 GETFDNETGR.
13884 (netgroup_response_header): Define.
13885 (innetgroup_response_header): Define.
13886 (datahead): Add netgroup_response_header and innetgroup_response_header
13887 elements.
13888 * nscd/nscd.conf: Add entries for netgroup cache.
13889 * nscd/nscd.h (dbtype): Add netgrdb.
13890 (_PATH_NSCD_NETGROUP_DB): Define.
13891 (netgroup_iov_disabled): Declare.
13892 (xmalloc, xcalloc, xrealloc): Move declarations here.
13893 (cache_search): Adjust prototype.
13894 Add netgroup-related prototypes.
13895 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
13896 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
13897 (__nscd_innetgr): Declare.
13898 * nscd/selinux.c (perms): Use access_vector_t as element type and
13899 add netgroup-related initializers.
13900 * nscd/netgroupcache.c: New file.
13901 * nscd/nscd_netgroup.c: New file.
13902 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
13903 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
13904 For four parameters use innetgr.
13905 * nss/nss_files/files-init.c: Add definition and callback for netgr.
13906 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
13907 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
13908 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
13909
21fd49a9
UD
13910 * nscd/connections.c (register_traced_file): Don't register file
13911 for disabled databases.
13912
054c0457
UD
139132011-10-06 Ulrich Drepper <drepper@gmail.com>
13914
32b63198
UD
13915 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
13916
054c0457
UD
13917 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
13918 from tree and freeing node.
13919
64031225
JO
139202011-09-25 Jiri Olsa <jolsa@redhat.com>
13921
13922 * nss/nsswitch.c (__nss_database_lookup): Handle
13923 nss_parse_service_list out of memory case.
13924
0490345c
JO
139252011-09-15 Jiri Olsa <jolsa@redhat.com>
13926
13927 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
13928 out of memory case.
13929
3a62d00d
AS
139302011-10-04 Andreas Schwab <schwab@redhat.com>
13931
13932 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
13933 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
13934 pass it down.
13935 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
13936 elf_machine_rela, elf_machine_lazy_rel.
13937 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
13938 (ELF_DYNAMIC_DO_REL): Likewise.
13939 (ELF_DYNAMIC_DO_RELA): Likewise.
13940 (ELF_DYNAMIC_RELOCATE): Likewise.
13941 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
13942 to ELF_DYNAMIC_DO_REL.
13943 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
13944 (dl_main): In trace mode always set __RTLD_NOIFUNC.
13945 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
13946 elf_machine_rela.
13947 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
13948 skip_ifunc, don't call ifunc function if non-zero.
13949 (elf_machine_rela): Likewise.
13950 (elf_machine_lazy_rel): Likewise.
13951 (elf_machine_lazy_rela): Likewise.
13952 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
13953 (elf_machine_lazy_rel): Likewise.
13954 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
13955 Likewise.
13956 (elf_machine_lazy_rel): Likewise.
13957 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13958 Likewise.
13959 (elf_machine_lazy_rel): Likewise.
13960 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
13961 (elf_machine_lazy_rel): Likewise.
13962 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
13963 (elf_machine_lazy_rel): Likewise.
13964 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
13965 (elf_machine_lazy_rel): Likewise.
13966 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
13967 (elf_machine_lazy_rel): Likewise.
13968 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
13969 (elf_machine_lazy_rel): Likewise.
13970 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
13971 (elf_machine_lazy_rel): Likewise.
13972
68577918
UD
139732011-09-28 Ulrich Drepper <drepper@gmail.com>
13974
13975 * nss/nss_files/files-init.c (_nss_files_init): Use static
13976 initialization for all the *_traced_file variables.
13977
68822d74
AS
139782011-09-28 Andreas Schwab <schwab@redhat.com>
13979
13980 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
13981
2056100b
RM
139822011-09-27 Roland McGrath <roland@hack.frob.com>
13983
13984 [BZ #13226]
13985 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
13986
32c76b63
AS
139872011-09-27 Andreas Schwab <schwab@redhat.com>
13988
13989 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
13990 Reread the line before reparsing it.
13991
bf972c9d
AS
139922011-09-26 Andreas Schwab <schwab@redhat.com>
13993
13994 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
13995
e057a1b5
JM
139962011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
13997 Maxim Kuvyrkov <maxim@codesourcery.com>
13998 Joseph Myers <joseph@codesourcery.com>
13999
14000 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
14001 if needed for __stack_chk_guard.
14002
bc7e1c36
RM
140032011-09-19 Roland McGrath <roland@hack.frob.com>
14004
ecb1482f
RM
14005 * sysdeps/posix/spawni.c (script_execute): Always define it.
14006 It will be optimized away if unused.
14007 (maybe_script_execute): New function.
14008 (__spawni): Call it.
14009
bc7e1c36
RM
14010 * Makerules: Don't include tls.make.
14011 (config-tls): Always set to thread.
14012 * tls.make.c: File removed.
14013
1c3b002b
MF
140142011-09-19 Mike Frysinger <vapier@gentoo.org>
14015
14016 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
14017 * config.make.in (CPPFLAGS-config): New substituted variable.
14018
2840865d
UD
140192011-09-15 Ulrich Drepper <drepper@gmail.com>
14020
88738eb6
UD
14021 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
14022
cbf645a6 14023 [BZ #13192]
2840865d
UD
14024 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
14025 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
14026
b402e91a
RM
140272011-09-15 Roland McGrath <roland@hack.frob.com>
14028
14029 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
14030 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
14031 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
14032 (CALL_FAIL): Likewise.
14033 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
14034 (CALL_FAIL): Macro removed.
14035 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
14036
4c1a1f71
UD
140372011-09-15 Ulrich Drepper <drepper@gmail.com>
14038
14039 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
14040 for __FINITE_MATH_ONLY__ == 1.
14041
edc121be
AS
140422011-09-15 Andreas Schwab <schwab@redhat.com>
14043
14044 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
14045 __ieee754_sqrt instead of sqrt.
14046 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
14047 __ieee754_sqrtf instead of sqrtf.
14048 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
14049 __floorf instead of floorf.
14050 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
14051 __floorf, __truncf instead of floorf, truncf.
14052
cd205654
UD
140532011-09-14 Ulrich Drepper <drepper@gmail.com>
14054
ee4d0315
UD
14055 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
14056
cd205654
UD
14057 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
14058 __extern_always_inline.
14059 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
14060 32-bit.
14061
48b67d71
AS
140622011-09-14 Andreas Schwab <schwab@redhat.com>
14063
14064 * elf/rtld.c (dl_main): Also relocate in dependency order when
14065 doing symbol dependency testing.
14066
1ae12c75
AS
140672011-09-13 Andreas Schwab <schwab@linux-m68k.org>
14068
14069 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14070 Always define `refsym'.
14071
995a80df
AS
140722011-09-13 Andreas Schwab <schwab@redhat.com>
14073
e529793b
AS
14074 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
14075 (__FD_ELT): Renamed from __FDELT.
14076 * misc/bits/select2.h (__FD_ELT): Likewise.
14077 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
14078 __FD_MASK instead of __FDELT, __FDMASK.
14079 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
14080 Likewise.
14081 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
14082 Likewise.
14083
52d4fef8
AS
14084 * elf/Makefile (gen-ldd): Fix pattern.
14085
995a80df
AS
14086 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
14087 (init_tls): Likewise.
14088
8682f8b0
UD
140892011-09-12 Ulrich Drepper <drepper@gmail.com>
14090
14091 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
14092
de82006d
AS
140932011-09-12 Andreas Schwab <schwab@redhat.com>
14094
a7c8e6a1
AS
14095 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
14096 `struct cmsghdr *' instead of `void *'.
14097 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
14098 Likewise.
14099
0f31fe77
AS
141002011-09-11 Andreas Schwab <schwab@linux-m68k.org>
14101
14102 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
14103 if non-absolute.
14104 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
14105 ldd_rewrite_script.
0f31fe77 14106
32b4c839
UD
141072011-09-11 Ulrich Drepper <drepper@gmail.com>
14108
83cd1420
UD
14109 * configure.in: Remove --with-tls option.
14110 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
14111 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
14112 out in case it is missing.
14113 * sysdeps/ia64/elf/configure.in: Likewise.
14114 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
14115 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
14116 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
14117 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
14118 * sysdeps/sh/elf/configure.in: Likewise.
14119 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
14120 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
14121 * sysdeps/x86_64/elf/configure.in: Likewise.
14122 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
14123 * sysdeps/mach/hurd/tls.h: Likewise.
14124
633f745d
UD
14125 [BZ #13067]
14126 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
14127
f318beb8
UD
14128 [BZ #13090]
14129 * configure.in: Fix use of AC_INIT.
14130
32b4c839
UD
14131 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
14132
3ce1f295
UD
141332011-09-10 Ulrich Drepper <drepper@gmail.com>
14134
bb016596
UD
14135 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
14136 __set_errno.
8e58439c
UD
14137 * malloc/hooks.c: Likewise.
14138
aebae053 14139 [BZ #11929]
02d46fc4
UD
14140 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
14141 variables statically.
14142 (narenas): Initialize.
14143 (list_lock): Initialize.
bb016596
UD
14144 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
14145 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
14146 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
14147 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
14148 Add initializers to main_arena and mp_.
14149 (malloc_state): Remove pagesize member. Change all users to use
14150 GLRO(dl_pagesize).
14151
14152 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
14153 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
14154 is always initialized.
14155
22a89187
UD
14156 * malloc/malloc.c: Removed unused configurations and dead code.
14157 * malloc/arena.c: Likewise.
14158 * malloc/hooks.c: Likewise.
02d46fc4 14159 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 14160
d063d164
UD
14161 * include/tls.h: Removed. USE___THREAD must always be defined.
14162 * bits/libc-tsd.h: Don't handle !USE___THREAD.
14163 * elf/dl-libc.c: Likewise.
14164 * elf/dl-tsd.c: Likewise.
14165 * include/errno.h: Likewise.
14166 * include/netdb.h: Likewise.
14167 * include/resolv.h: Likewise.
14168 * inet/herrno-loc.c: Likewise.
14169 * inet/herrno.c: Likewise.
14170 * malloc/arena.c: Likewise.
14171 * malloc/hooks.c: Likewise.
14172 * malloc/malloc.c: Likewise.
14173 * resolv/res-state.c: Likewise.
14174 * resolv/res_libc.c: Likewise.
14175 * sysdeps/i386/dl-machine.h: Likewise.
14176 * sysdeps/ia64/dl-machine.h: Likewise.
14177 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
14178 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
14179 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
14180 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
14181 * sysdeps/sh/dl-machine.h: Likewise.
14182 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
14183 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
14184 * sysdeps/unix/i386/sysdep.S: Likewise.
14185 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
14186 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
14187 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
14188 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
14189 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
14190 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
14191 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
14192 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
14193 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14194 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
14195 * sysdeps/unix/x86_64/sysdep.S: Likewise.
14196 * sysdeps/x86_64/dl-machine.h: Likewise.
14197 * tls.make.c: Likewise.
14198
3ce1f295
UD
14199 * configure.in: Remove --with-__thread option. Make tests for
14200 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
14201 tls_model attribute fail if no support is available. Remove
14202 USE_IN_LIBIO.
14203 * Makeconfig: Adjust for dropped configure option. All features are
14204 now mandatory.
14205 * Makerules: Likewise.
14206 * Versions.def: Likewise.
14207 * argp/argp-fmtstream.c: Likewise.
14208 * argp/argp-fmtstream.h: Likewise.
14209 * argp/argp-help.c: Likewise.
14210 * assert/assert.c: Likewise.
14211 * config.h.in: Likewise.
14212 * config.make.in: Likewise.
14213 * configure: Likewise.
14214 * configure.in: Likewise.
14215 * csu/Versions: Likewise.
14216 * csu/init.c: Likewise.
14217 * elf/tst-audit2.c: Likewise.
14218 * elf/tst-tls10.c: Likewise.
14219 * elf/tst-tls10.h: Likewise.
14220 * elf/tst-tls11.c: Likewise.
14221 * elf/tst-tls12.c: Likewise.
14222 * elf/tst-tls14.c: Likewise.
14223 * elf/tst-tlsmod11.c: Likewise.
14224 * elf/tst-tlsmod12.c: Likewise.
14225 * elf/tst-tlsmod13.c: Likewise.
14226 * elf/tst-tlsmod13a.c: Likewise.
14227 * elf/tst-tlsmod14a.c: Likewise.
14228 * elf/tst-tlsmod15b.c: Likewise.
14229 * elf/tst-tlsmod16a.c: Likewise.
14230 * elf/tst-tlsmod16b.c: Likewise.
14231 * elf/tst-tlsmod7.c: Likewise.
14232 * elf/tst-tlsmod8.c: Likewise.
14233 * elf/tst-tlsmod9.c: Likewise.
14234 * gmon/gmon.c: Likewise.
14235 * grp/fgetgrent_r.c: Likewise.
14236 * grp/putgrent.c: Likewise.
14237 * hurd/fopenport.c: Likewise.
14238 * include/libc-symbols.h: Likewise.
14239 * include/tls.h: Likewise.
14240 * intl/gettextP.h: Likewise.
14241 * intl/loadinfo.h: Likewise.
14242 * locale/global-locale.c: Likewise.
14243 * locale/localeinfo.h: Likewise.
14244 * mach/devstream.c: Likewise.
14245 * malloc/arena.c: Likewise.
14246 * malloc/set-freeres.c: Likewise.
14247 * misc/err.c: Likewise.
14248 * misc/getttyent.c: Likewise.
14249 * misc/mntent_r.c: Likewise.
14250 * posix/getopt.c: Likewise.
14251 * posix/wordexp.c: Likewise.
14252 * pwd/fgetpwent_r.c: Likewise.
14253 * resolv/Versions: Likewise.
14254 * resolv/res_hconf.c: Likewise.
14255 * shadow/fgetspent_r.c: Likewise.
14256 * shadow/putspent.c: Likewise.
14257 * stdio-common/printf_fphex.c: Likewise.
14258 * stdio-common/tmpfile.c: Likewise.
14259 * stdlib/abort.c: Likewise.
14260 * stdlib/fmtmsg.c: Likewise.
14261 * sunrpc/auth_unix.c: Likewise.
14262 * sunrpc/clnt_perr.c: Likewise.
14263 * sunrpc/clnt_tcp.c: Likewise.
14264 * sunrpc/clnt_udp.c: Likewise.
14265 * sunrpc/clnt_unix.c: Likewise.
14266 * sunrpc/openchild.c: Likewise.
14267 * sunrpc/svc_simple.c: Likewise.
14268 * sunrpc/svc_tcp.c: Likewise.
14269 * sunrpc/svc_udp.c: Likewise.
14270 * sunrpc/svc_unix.c: Likewise.
14271 * sunrpc/xdr.c: Likewise.
14272 * sunrpc/xdr_array.c: Likewise.
14273 * sunrpc/xdr_rec.c: Likewise.
14274 * sunrpc/xdr_ref.c: Likewise.
14275 * sunrpc/xdr_stdio.c: Likewise.
14276
1248c1c4
PB
142772011-09-09 Ulrich Drepper <drepper@gmail.com>
14278
14279 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14280
142812011-07-03 Andreas Jaeger <aj@suse.de>
14282
14283 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
14284 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
14285 regenerate with gen-libm-tests.pl.
14286
142872010-05-12 Petr Baudis <pasky@suse.cz>
14288
14289 [BZ #11589]
14290 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
14291 around j0() zero points by switching to j1().
14292 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
14293 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
14294 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
14295 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
14296
f22e1074
UD
142972011-09-09 Ulrich Drepper <drepper@gmail.com>
14298
f19009c1
UD
14299 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
14300 instead of 0.
14301 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
14302 instead of 0. .
14303 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
14304 Patch in part by Pavel Roskin <proski@gnu.org>.
14305
3f8cc204
UD
14306 [BZ #13138]
14307 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
14308 realloc.
14309 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
14310 Free memory block if necessary.
14311
f22e1074
UD
14312 [BZ #12847]
14313 * libio/genops.c (INTDEF): For string streams the _lock pointer can
14314 be NULL. Don't lock in this case.
14315
0a2349f9
RM
143162011-09-09 Roland McGrath <roland@hack.frob.com>
14317
14318 * elf/elf.h (ELFOSABI_GNU): New macro.
14319 (ELFOSABI_LINUX): Define to that.
14320
f3cdd467
DZ
143212011-07-29 Denis Zaitceff <zaitceff@gmail.com>
14322
14323 * string/strncat.c (strncat): Undef the symbol in case it has been
14324 defined in bits/string.h.
14325
74718d13
UD
143262011-09-09 Ulrich Drepper <drepper@gmail.com>
14327
633e9e0f
UD
14328 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
14329
0a2349f9 14330 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
14331 link map.
14332
f9924780
AJ
143332011-08-17 Andreas Jaeger <aj@suse.de>
14334
14335 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
14336
7f5517aa
PP
143372011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
14338 Ian Lance Taylor <iant@google.com>
14339
14340 * math/libm-test.inc (lround_test): New testcase.
14341 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
14342
762011fe
UD
143432011-09-08 Ulrich Drepper <drepper@gmail.com>
14344
92963737
UD
14345 * Makefile: Remove support for automatic cvs check-ins.
14346 * Makerules: Likewise.
14347 * config.make.in: Likewise.
14348 * configure.in: Likewise.
14349 * intl/Makefile: Likewise.
14350 * locale/Makefile: Likewise.
14351 * po/Makefile: Likewise.
14352 * posix/Makefile: Likewise.
14353 * sysdeps/gnu/Makefile: Likewise.
14354 * sysdeps/mach/hurd/Makefile: Likewise.
14355 * sysdeps/sparc/sparc32/Makefile: Likewise.
14356
b0727fd8
JS
14357 [BZ #13118]
14358 * posix/Makefile (bug-regex32-ENV): Define.
14359 Patch by John Stanley <jpsinthemix@verizon.net>.
14360
a0f33f99
UD
14361 * misc/Makefile (headers): Add bits/select2.h.
14362 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
14363 * misc/bits/select2.h: New file.
14364 * include/bits/select2.h: New file.
14365 * debug/Makefile (routines): Add fdelt_chk.
14366 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
14367 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
14368 FD_ISSET.
14369 * debug/fdelt_chk.c: New file.
14370
762011fe
UD
14371 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
14372 * wcsmbs/test-wmemcmp.c: Likewise.
14373 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 14374 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
14375
143762011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14377
14378 * string/Makefile (strop-tests): Add memcmp.
14379 * string/test-wmemcmp.c: New file.
14380 * string/test-memcmp.c: Add wmemcmp support.
14381
7f513ec8
RM
143822011-09-08 Roland McGrath <roland@hack.frob.com>
14383
0442afb4
RM
14384 [BZ #13153]
14385 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
14386 2011-07-19 change.
14387
7f513ec8
RM
14388 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
14389 garbage value in a __mach_port_mod_refs call in the cases of the
14390 task-self and thread-self ports.
14391
a12b2239
ST
143922011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
14393
14394 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
14395
610f9ab4
AS
143962011-09-08 Andreas Schwab <schwab@redhat.com>
14397
7f513ec8 14398 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 14399
48882a1a
LD
144002011-09-07 Ulrich Drepper <drepper@gmail.com>
14401
b49865be
UD
14402 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
14403
fdc86bc9
UD
14404 * elf/dl-libc.c (dlerror_run): Pass back error code from
14405 dl_catch_error.
14406
c966526a
UD
14407 [BZ #13123]
14408 * elf/dl-load.c (lose): Free l_origin if it is valid.
14409
48882a1a
LD
14410 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
14411 names.
14412 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
14413 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
14414 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
14415 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
14416 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
14417 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
14418
77a2a8b4
AZ
144192011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14420
14421 * sysdeps/powerpc/fpu/e_hypot.c: New file.
14422 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
14423 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
14424 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
14425 * sysdeps/powerpc/fpu/k_cosf.c: New file.
14426 * sysdeps/powerpc/fpu/k_sinf.c: New file.
14427 * sysdeps/powerpc/fpu/s_cosf.c: New file.
14428 * sysdeps/powerpc/fpu/s_sinf.c: New file.
14429 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
14430 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
14431
24f579d8
AM
144322011-08-15 Alan Modra <amodra@gmail.com>
14433
14434 [BZ #13092]
14435 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
14436 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
14437 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
14438 ppc_mcount to static-only-routines.
14439 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
14440 __mcount_internal.
14441 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
14442 __mcount_internal with usual JUMPTARGET. Remove useless nop.
14443
3d4837df
UD
144442011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
14445
14446 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
14447 for finite and infinity parameters.
14448
22700377
WS
144492011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
14450
14451 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
14452 and add nop instructions for throughput optimization.
14453 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14454
5025581e
WS
144552011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
14456
14457 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
14458 aligned copy for power7 with vector-scalar instructions.
14459 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
14460
08a300c9
L
144612011-07-24 H.J. Lu <hongjiu.lu@intel.com>
14462
14463 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
14464 AVX check.
14465
59178ef9
AS
144662011-09-07 Andreas Schwab <schwab@redhat.com>
14467
14468 [BZ #13144]
14469 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
14470 last change.
14471
e38ba7ab
UD
144722011-09-07 Ulrich Drepper <drepper@gmail.com>
14473
14474 * sysdeps/unix/sysv/linux/x86_64/init-first.c
14475 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
14476 syscall wrapper around clock_gettime in __vdso_clock_gettime.
14477 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
14478 clock_gettime.
14479
d53a73ac
UD
144802011-09-06 Ulrich Drepper <drepper@gmail.com>
14481
fc8bffcc
UD
14482 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
14483 Forgot to demangle the pointer.
14484
ceaa0c5d
UD
14485 * sysdeps/i386/sysdep.h: Define atom_text_section.
14486 * sysdeps/x86_64/sysdep.h: Likewise.
14487 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
14488 section with atom_text_section.
14489 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
14490 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
14491 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
14492 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
14493 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
14494
a77d3c17
UD
14495 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
14496 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
14497 already be defined. Change to take two parameters and don't assign
14498 result to variable. Adjust all users.
14499 Define INTERNAL_GETTIME if not already defined.
14500 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
14501 call.
14502 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
14503 HAVE_CLOCK_GETTIME_VSYSCALL.
14504 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
14505
d53a73ac
UD
14506 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
14507 gettimeofday vsyscall, just use time.
14508
a8f84144
AS
145092011-09-06 Andreas Schwab <schwab@redhat.com>
14510
14511 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
14512 <errno.h>.
14513
ef606249
UD
145142011-09-06 Ulrich Drepper <drepper@gmail.com>
14515
14516 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
14517 syscall on x86-64.
14518 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
14519 syscall.
14520 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
14521 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
14522 syscall if possible.
14523
6585cb60
UD
145242011-09-05 Ulrich Drepper <drepper@gmail.com>
14525
14526 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
14527 e_ident. Don't pass to find_mapsXX.
14528 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
14529
a5f524e4
LD
145302011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14531
14532 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14533 strchr-sse2-no-bsf strrchr-sse2-no-bsf
14534 * sysdeps/x86_64/multiarch/strchr.S: Update.
14535 Check bit_slow_BSF bit.
14536 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
14537 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
14538 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
14539
554881ef
UD
145402011-09-05 Ulrich Drepper <drepper@gmail.com>
14541
d96de963
UD
14542 [BZ #13134]
14543 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
14544 before glibc 2.15.
14545 (tryshell): Define.
14546 (__spawni): Change last parameter to be flag. Test
14547 SPAWN_XFLAGS_USE_PATH flag to use path or not.
14548 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
14549 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
14550 * posix/spawni.c: Likewise.
14551 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
14552 * posix/spawnp.c: Likewise. Change normal version to use
14553 SPAWN_XFLAGS_USE_PATH.
14554 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
14555 SPAWN_XFLAGS_TRY_SHELL.
14556
d48e5868
UD
14557 [BZ #13150]
14558 * posix/glob.h: Remove gcc 1.x support.
14559
554881ef
UD
14560 [BZ #13068]
14561 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
14562
693fb948
LD
145632011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14564
14565 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14566 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
14567 strrchr-sse2-bsf
14568 * sysdeps/i386/i686/multiarch/strchr.S: New file.
14569 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
14570 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
14571 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
14572 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
14573 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
14574
1b48c537
UD
145752011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14576
49d42c37
UD
14577 * sysdeps/x86_64/wcscmp.S: New file.
14578
1b48c537
UD
14579 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
14580 wcscmp-c wcscmp-sse2
14581 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
14582 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
14583 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
14584 * wcsmbs/wcscmp.c: Allow renaming.
14585
15c95c5d
DM
145862011-09-05 David S. Miller <davem@davemloft.net>
14587
14588 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
14589 stack slot, rather than the struct return pointer slot.
14590 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
14591 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
14592 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
14593 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
14594
2f0ad8f3
UD
145952011-09-05 Ulrich Drepper <drepper@gmail.com>
14596
d88ae418
UD
14597 * po/ja.po: Update from translation team.
14598
2f0ad8f3
UD
14599 [BZ #13144]
14600 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
14601 kernel in 64-bit binaries.
14602
5f4318d1
DM
146032011-09-01 David S. Miller <davem@davemloft.net>
14604
14605 * elf/elf.h (HWCAP_SPARC_*): Move to..
14606 * sysdeps/sparc/sysdep.h: this new file and add new values.
14607 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
14608 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
14609 _DL_HWCAP_COUNT to 24.
14610 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
14611 entries.
14612 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
14613 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
14614 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
14615 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
14616 instead of magic constants.
14617 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
14618
3ba57516
DM
146192011-08-31 David S. Miller <davem@davemloft.net>
14620
14621 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
14622 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
14623 Reimplement to do errno handling inline.
14624 (SYSCALL_ERROR_HANDLER): New macro.
14625 (__SYSCALL_STRING): Do not do errno handling in asm.
14626 (__CLONE_SYSCALL_STRING): Delete.
14627 (__INTERNAL_SYSCALL_STRING): Delete.
14628 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
14629 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
14630 (PSEUDO): Reimplement to do errno handling inline.
14631 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
14632 (SYSCALL_ERROR_HANDLER): New macro.
14633 (__SYSCALL_STRING): Do not do errno handling in asm.
14634 (__CLONE_SYSCALL_STRING): Delete.
14635 (__INTERNAL_SYSCALL_STRING): Delete.
14636 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
14637 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
14638 i386.
14639 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
14640 (inline_syscall*): Add 'err' argument.
14641 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
14642 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
14643 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
14644 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
14645
14646 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
14647 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
14648
2bc17433
AS
146492011-08-30 Andreas Schwab <schwab@redhat.com>
14650
14651 * elf/rtld.c (dl_main): Relocate objects in dependency order.
14652
fbeb5f4d
JO
146532011-08-29 Jiri Olsa <jolsa@redhat.com>
14654
14655 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
14656 directive.
14657
ad69cc26
DM
146582011-08-24 David S. Miller <davem@davemloft.net>
14659
14660 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
14661
39dd69df
AS
146622011-08-24 Andreas Schwab <schwab@redhat.com>
14663
14664 * elf/Makefile: Add rules to build and run unload8 test.
14665 * elf/unload8.c: New file.
14666 * elf/unload8mod1.c: New file.
14667 * elf/unload8mod1x.c: New file.
14668 * elf/unload8mod2.c: New file.
14669 * elf/unload8mod3.c: New file.
14670
14671 * elf/dl-close.c (_dl_close_worker): Reset private search list if
14672 it wasn't used.
14673
2c0b250a
DM
146742011-08-23 David S. Miller <davem@davemloft.net>
14675
14676 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
14677 subtract stack bias.
14678 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
14679 %sp not %fp in calculations.
14680 (_JMPBUF_UNWINDS_ADJ): Likewise.
14681
22044b48
DM
14682 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
14683 (aio_suspend): Call it to force an exception region around the
14684 AIO_MISC_WAIT() invocation.
14685
2cae4995
AS
146862011-08-23 Andreas Schwab <schwab@redhat.com>
14687
14688 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
14689 backslash.
14690
873a772e
AJ
146912011-07-04 Aurelien Jarno <aurelien@aurel32.net>
14692
14693 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
14694 protection macro.
14695 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
14696 and <dl-machine.h>.
14697 (Elf64_FuncDesc): Remove.
14698
25ad0df1
DM
146992011-08-22 David S. Miller <davem@davemloft.net>
14700
14701 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
14702 sigaltstack check, add missing cfi directives.
14703 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
14704 missing cfi directives, and sigaltstack handling.
14705
e888bcbe
AS
147062011-08-16 Andreas Schwab <schwab@redhat.com>
14707
14708 [BZ #11724]
14709 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
14710 object is seen twice.
14711 * elf/dl-fini.c (_dl_sort_fini): Likewise.
14712
14713 * elf/Makefile (distribute): Add tst-initorder2.c.
14714 (tests): Add tst-initorder2.
14715 (modules-names): Add tst-initorder2a tst-initorder2b
14716 tst-initorder2c tst-initorder2d. Add rules to build them.
14717 ($(objpfx)tst-initorder2.out): New rule.
14718 * elf/tst-initorder2.c: New file.
14719 * elf/tst-initorder2.exp: New file.
14720
87162f46
AS
147212011-08-22 Andreas Schwab <schwab@redhat.com>
14722
70538b7f
AS
14723 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
14724
f55ffe58
AS
14725 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
14726 dependencies back to end of function.
14727
87162f46
AS
14728 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
14729 $(elfobjdir)/ld.so.
14730
91b392a4
UD
147312011-08-21 Ulrich Drepper <drepper@gmail.com>
14732
14733 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
14734 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
14735 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
14736 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
14737 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
14738 of __vdso_gettimeofday.
14739 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
14740 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
14741 attribute_hidden.
14742 (_libc_vdso_platform_setup): Remove initialization of
14743 __vdso_gettimeofday and __vdso_time.
14744
5c43483f
UD
147452011-08-20 Ulrich Drepper <drepper@gmail.com>
14746
775a77e7
UD
14747 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
14748 and fgetc_unlocked.
14749 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
14750 getc_unlocked.
89f447ed 14751
49c74ba9
UD
14752 * elf/dl-open.c (add_to_global): Report additions to the global scope
14753 for LD_DEBUG=scopes.
14754 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 14755 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 14756
5c43483f
UD
14757 [BZ #13114]
14758 * stdio-common/Makefile (tests): Add bug24.
14759 * stdio-common/bug24.c: New file.
14760
a101b025
AJ
147612011-08-19 Andreas Jaeger <aj@suse.de>
14762
14763 [BZ #13114]
14764 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
14765 non-existant file when using close-on-exec mode.
14766
c88f1766
UD
147672011-08-20 Ulrich Drepper <drepper@gmail.com>
14768
0276a718
UD
14769 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
14770 the very first instruction.
14771
c88f1766
UD
14772 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
14773 the CFI state in the end.
14774 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
14775 inclusion of dl-trampoline.h.
14776 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
14777
51ccffa0
AS
147782011-08-19 Andreas Schwab <schwab@redhat.com>
14779
94d7165f
AS
14780 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
14781 expectations for long double.
14782
51ccffa0
AS
14783 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
14784 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
14785
fd708658 147862011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
14787
14788 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
14789 artificual limit depends upon the system page size.
14790
44f0a71e
UD
147912011-08-17 Ulrich Drepper <drepper@gmail.com>
14792
14793 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
14794 * resolv/Makefile: Define CFLAGS-libresolv.
14795
8de79a24
AS
147962011-08-17 Andreas Schwab <schwab@redhat.com>
14797
14798 * nss/makedb.c (compute_tables): Make variables used in nested
14799 function static.
14800
27724598
UD
148012011-08-17 Ulrich Drepper <drepper@gmail.com>
14802
c5305d88
UD
14803 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
14804 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
14805 if buffer was too small.
14806
27724598
UD
14807 * elf/pldd.c (main): Attach to all threads in the process.
14808 Rewrite /proc handling to use *at functions.
14809
076fe015
UD
148102011-08-16 Ulrich Drepper <drepper@gmail.com>
14811
174baab3
UD
14812 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
14813 specifies first scope to show.
14814 (dl_open_worker): Update callers. Move printing scope of new
14815 object to before the relocation.
44f0a71e 14816 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
14817 * sysdeps/generic/ldsodefs.h: Update declaration.
14818
076fe015
UD
14819 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
14820 string for the scope number.
14821
a60df2c3
UD
148222011-08-14 Ulrich Drepper <drepper@gmail.com>
14823
14824 * nscd/servicescache.c (cache_addserv): Make sure written is always
14825 initialized.
14826
5e4287d1
RM
148272011-08-14 Roland McGrath <roland@hack.frob.com>
14828
85ae0589
RM
14829 * sysdeps/i386/i486/bits/atomic.h
14830 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
14831 statement expression, so as to suppress "set but not used" warning.
14832 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
14833
69f63097
RM
14834 * string/strncat.c (STRNCAT): Use prototype definition.
14835
675456ef
RM
14836 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
14837 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
14838 -Iprograms here.
14839 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
14840 (localedef-modules): Add localedef.
14841 (locale-modules): Add locale.
14842
5e4287d1
RM
14843 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
14844 * elf/rtld.c (dl_main): Invert order of assignment in last change,
14845 to avoid a warning.
14846
9c96ff23
DM
148472011-08-14 David S. Miller <davem@davemloft.net>
14848
14849 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
14850 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
14851
f9ddf089
UD
148522011-08-13 Ulrich Drepper <drepper@gmail.com>
14853
44f0a71e 14854 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
14855 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
14856 * elf/rtld.c (dl_main): Set l_name of vDSO.
14857 Call _dl_show_scope when DL_DEBUG_SCOPES.
14858 (process_dl_debug): Recognize scopes flag and also set it for all.
14859 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
14860 Declare _dl_show_scope.
14861
1dc27704
UD
14862 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
14863 (do_dlopen): Pass caller_dlopen to dl_open.
14864 (__libc_dlopen_mode): Initialize caller_dlopen.
14865
f9ddf089
UD
14866 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
14867 of libc. Make tolower call locale-independent. Optimize a bit by
14868 using isdigit instead of isalnum.
14869 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
14870
9ac533d3
UD
148712011-08-12 Ulrich Drepper <drepper@gmail.com>
14872
14873 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
14874 was a dependency or dynamically loaded.
14875
89edf2e9
UD
148762011-08-11 Ulrich Drepper <drepper@gmail.com>
14877
8e999d29
UD
14878 * intl/l10nflist.c: Allow architecture-specific pop function.
14879 * sysdeps/x86_64/l10nflist.c: New file.
14880
89edf2e9
UD
14881 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
14882 classification.
14883
14d96785
AS
148842011-08-10 Andreas Schwab <schwab@redhat.com>
14885
14886 * include/dirent.h: Add libc_hidden_proto for scandirat and
14887 scandirat64. Don't declare __scandirat64.
14888 * dirent/scandirat.c: Add libc_hidden_def.
14889 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
14890 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
14891
6761ac04
DM
148922011-08-10 David S. Miller <davem@davemloft.net>
14893
14894 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
14895 enum.
14896 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
14897 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
14898 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
14899
c55fbd1e
UD
149002011-08-09 Ulrich Drepper <drepper@gmail.com>
14901
14902 * Versions.def [libc]: Add GLIBC_2.15.
14903 * dirent/Makefile (routines): Add scandirat and scandirat64.
14904 * dirent/Versions [libc]: Export scandirat and scandirat64 for
14905 GLIBC_2.15.
14906 * dirent/dirent.h: Declare scandirat and scandirat64.
14907 * dirent/scandirat.c: New file.
14908 * dirent/scandirat64.c: New file.
14909 * sysdeps/wordsize-64/scandirat.c: New file.
14910 * sysdeps/wordsize-64/scandirat64.c: New file.
14911 * dirent/opendir.c: Define opendirat.
14912 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
14913 using scandirat.
14914 * dirent/scandir64.c: Adjust for scandir.c change.
14915 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
14916 __scandirat64, and __scandir_cancel_handler.
14917 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
14918 additional parameter and use openat instead of open (outside of ld.so).
14919 Add new __opendir as wrapper around __opendirat.
14920 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
14921 here without requiring old scandirat implementation.
14922
879165f2
UD
149232011-08-08 Ulrich Drepper <drepper@gmail.com>
14924
14925 * dirent/scandir.c (cancel_handler): Renamed to
14926 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
14927 defined. Adjust users.
14928 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
14929 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
14930
cb7e923b
UD
149312011-08-04 Ulrich Drepper <drepper@gmail.com>
14932
16292edd
UD
14933 * string/test-string.h (IMPL): Use __STRING to expand name and then
14934 stringify it.
14935
cb7e923b
UD
14936 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
14937 of cleanups.
14938
cff82933
LD
149392011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14940
14941 * string/Makefile: Update.
14942 (strop-tests): Append strncat.
14943 * string/test-wcscmp.c: New file.
14944 New comprehensive test for wcscmp.
14945 * string/test-strcmp.c: Update.
14946 (WIDE): New define.
14947
9be9bfcc
AS
149482011-07-22 Andreas Schwab <schwab@redhat.com>
14949
14950 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
14951 line.
14952
2e96f1c7
AS
149532011-07-26 Andreas Schwab <schwab@redhat.com>
14954
14955 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
14956 encoding to ACE if AI_IDN.
14957
85188888
JJ
149582011-08-01 Jakub Jelinek <jakub@redhat.com>
14959
14960 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
14961 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
14962
5fa16e9b
LD
149632011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14964
14965 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
14966 Fix overflow bug in strncat.
14967 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
14968
14969 * string/test-strncat.c: Update.
14970 Add new tests for checking overflow bugs.
14971
149722011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14973
14974 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14975 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
14976 * sysdeps/i386/i686/multiarch/strcat.S: New file.
14977 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
14978 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
14979 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
14980 * sysdeps/i386/i686/multiarch/strncat.S: New file.
14981 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
14982 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
14983
14984 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
14985 (USE_AS_STRCAT): Define.
14986 Add strcat and strncat support.
14987 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
14988
8c1a459f
AS
149892011-07-25 Andreas Schwab <schwab@redhat.com>
14990
14991 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
14992 __n bigger than INT_MAX+1.
14993 (__strncmp_g): Likewise.
14994
bba33c28
UD
149952011-07-23 Ulrich Drepper <drepper@gmail.com>
14996
798be72d
UD
14997 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
14998 * libio/stido.h: Likewise.
14999
8accd4dc
UD
15000 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
15001 (AF_NFC): Define.
15002 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
15003 (AF_NFC): Define.
15004
cbff0d96
UD
15005 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
15006 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
15007 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
15008 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
15009 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
15010
9191c04a
UD
15011 [BZ #13021]
15012 * scripts/test-installation.pl: Don't expect libnss_test1 to be
15013 installed.
15014
bba33c28
UD
15015 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
15016 typo.
15017 (_dl_x86_64_save_sse): Likewise.
15018
90f139dd
UD
150192011-07-22 Ulrich Drepper <drepper@gmail.com>
15020
1aae088a
UD
15021 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
15022 OSXSAVE.
15023 (_dl_x86_64_save_sse): Likewise.
15024
8e2045f5
UD
15025 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
15026
90f139dd
UD
15027 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
15028
1d002f25
AS
150292011-07-21 Andreas Schwab <schwab@redhat.com>
15030
15031 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
15032 change.
15033 (_dl_x86_64_save_sse): Use correct AVX check.
15034
21137f89
UD
150352011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15036
15037 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
15038 bug in strncpy/strncat.
15039 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
15040
a65c0b7a
UD
150412011-07-21 Ulrich Drepper <drepper@gmail.com>
15042
15043 * string/tester.c (test_strcat): Add tests for different alignments
15044 of source and destination.
15045 (test_strncat): Likewise.
15046
6986b98a
UD
150472011-07-20 Ulrich Drepper <drepper@gmail.com>
15048
90bb2039
UD
15049 [BZ #12852]
15050 * posix/glob.c (glob): Check passed in values before using them in
15051 expressions to avoid some overflows.
15052 (glob_in_dir): Likewise.
15053
5644ef54
UD
15054 [BZ #13007]
15055 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
15056 check for AVX enablement so that we don't crash with old kernels and
15057 new hardware.
15058 * elf/tst-audit4.c: Add same checks here.
15059 * elf/tst-audit6.c: Likewise.
15060
15061 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 15062
bfc9dc9b
AS
150632011-07-09 Andreas Schwab <schwab@linux-m68k.org>
15064
15065 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
15066
702e64bb
UD
150672011-07-20 Ulrich Drepper <drepper@gmail.com>
15068
15069 * po/cs.po: Update from translation team.
15070 * po/bg.po: Likewise.
15071
295e904f
MP
150722011-07-12 Marek Polacek <mpolacek@redhat.com>
15073
15074 * misc/sys/cdefs.h: Add support for const attribute.
15075 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
15076 to gnu_dev_{major,minor,makedev} functions.
15077
3ff94596
MP
150782011-07-20 Marek Polacek <mpolacek@redhat.com>
15079
15080 * intl/dcigettext.c (get_output_charset): Add missing bracket.
15081
28b59fca
AS
150822011-07-20 Andreas Schwab <schwab@redhat.com>
15083
15084 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
15085 strlen results.
15086
19df733e
AK
150872011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15088
15089 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
15090 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
15091 register in order to avoid conflicts with the soft frame pointer
15092 being held in r11 when necessary.
15093 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
15094 (INTERNAL_VSYSCALL_NCS): Likewise.
15095
c8835729
MP
150962011-07-14 Marek Polacek <mpolacek@redhat.com>
15097
15098 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
15099 * elf/dl-fini.c (_dl_fini): Adjust caller.
15100 * elf/dl-close.c (_dl_close_worker): Likewise.
15101 * sysdeps/generic/ldsodefs.h: Adjust declaration.
15102
b902330c
MP
151032011-07-15 Marek Polacek <mpolacek@redhat.com>
15104
8991e135
MP
15105 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
15106 "aux_cache->nlibs < 0".
15107
b902330c
MP
15108 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
15109 in the reload-count case.
15110
99710781
LD
151112011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15112
15113 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15114 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
15115 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
15116 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
15117 * sysdeps/x86_64/multiarch/strcat.S: New file.
15118 * sysdeps/x86_64/multiarch/strncat.S: New file.
15119 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
15120 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
15121 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
15122 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
15123 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
15124 (USE_AS_STRCAT): Define.
15125 Add strcat and strncat support.
15126 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
15127 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
15128 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
15129 * string/strncat.c: Update.
15130 (USE_AS_STRNCAT): Define.
15131 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15132 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
15133 and i7.
15134 * sysdeps/x86_64/multiarch/init-arch.h
15135 (bit_Prefer_PMINUB_for_stringop): New.
15136 (index_Prefer_PMINUB_for_stringop): Likewise.
15137 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
15138 bit_Prefer_PMINUB_for_stringop.
15139
7dc6bd90
UD
151402011-07-19 Ulrich Drepper <drepper@gmail.com>
15141
15142 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
15143 buffer64.
15144 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
15145 of casting of buffer.
15146 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
15147 buffer32 and buffer64.
15148 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
15149 writes instead of casting of buffer.
15150 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
15151 buffer32.
15152 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
15153 casting of buffer.
15154
e0e72284
AS
151552011-07-19 Andreas Schwab <schwab@redhat.com>
15156
15157 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
15158
feb1eb0b
UD
151592011-07-19 Ulrich Drepper <drepper@gmail.com>
15160
15161 * nscd/nscd.c (termination_handler): Don't do anything for a database
15162 if it has not yet been initialized.
15163
298711ff
UD
151642011-07-18 Ulrich Drepper <drepper@gmail.com>
15165
15166 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
15167
151682011-07-15 Marek Polacek <mpolacek@redhat.com>
15169
15170 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
15171
f9d68389
UD
151722011-07-18 Ulrich Drepper <drepper@gmail.com>
15173
15174 * po/nl.po: Update from translation team.
15175 * po/sv.po: Likewise.
15176
db290cf5
RM
151772011-07-16 Roland McGrath <roland@hack.frob.com>
15178
15179 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
15180 now disallowed by GCC.
5c550700 15181
fd5e21c7
RM
15182 * configure.in (use-default-link): Default to yes if a test -shared
15183 link meets our qualifications.
15184 * configure: Regenerated.
15185
5c550700
RM
15186 * config.make.in (output-format): New variable.
15187 * configure.in: Check for ld --print-output-format support.
15188 * configure: Regenerated.
15189 * Makerules ($(common-objpfx)format.lds)
15190 [$(output-format) != unknown]: Just use $(output-format),
15191 instead of the linker-script munging.
15192
9fa2c032
RM
151932011-07-14 Roland McGrath <roland@hack.frob.com>
15194
a6928d51
RM
15195 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
15196 of $(common-objpfx)shlib.lds.
15197 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
15198
661607b3
RM
15199 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
15200 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
15201
9fa2c032
RM
15202 * configure.in (-z relro check): Adjust test code to add a large
15203 writable data section after it.
15204 * configure: Regenerated.
15205
defe9061
RM
152062011-07-11 Roland McGrath <roland@hack.frob.com>
15207
15208 * configure.in (-z relro check): Fix test code to make the variable
15209 truly const.
15210 * configure: Regenerated.
15211
319b9ad4
UD
152122011-07-11 Ulrich Drepper <drepper@gmail.com>
15213
15214 * nscd/nscd.h (struct traced_file): Define.
15215 (struct database_dyn): Remove inotify_descr, reset_res, and filename
15216 elements. Add traced_files.
15217 (inotify_fd): Declare.
15218 (register_traced_file): Declare.
15219 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
15220 (inotify_fd): Export.
15221 (resolv_conf_descr): Remove.
15222 (nscd_init): Move inotify descriptor creation to main.
15223 Don't register files for notification here.
15224 (register_traced_file): New function.
15225 (invalidate_cache): Don't use reset_res to determine whether to call
15226 res_init, go through the list of registered files.
15227 (main_loop_poll): The inotify descriptors are now stored in the
15228 structures for the traced files.
15229 (main_loop_epoll): Likewise
15230 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
15231 to __nss_disable_nscd.
15232 * nscd/cache.c (prune_cache): There is no single inotify descriptor
15233 for a database anymore. Check the records for all the registered
15234 files instead.
15235 * nss/Makefile (libnss_files-routines): Add files-init.
15236 (libnss_db-routines): Add db-init.
15237 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
15238 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
15239 * nss/nss_db/db-init.c: New file.
15240 * nss/nss_files/files-init.c: New file.
15241 * nss/nsswitch.c (nss_load_library): New function. Broken out of
15242 __nss_lookup_function.
15243 (__nss_lookup_function): Call nss_load_library.
15244 (nss_load_all_libraries): New function.
15245 (__nss_disable_nscd): Take parameter with callback function for files
15246 to register. Set is_nscd. Load all the DSOs for the NSS modules
15247 used for the cached services.
15248 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
15249 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
15250 options for features to all the files in nscd.
15251
15252 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
15253
23bee3e8
RM
152542011-07-10 Roland McGrath <roland@hack.frob.com>
15255
15256 * csu/elf-init.c (__libc_csu_init): Comment typo.
15257
46a5b7f0
UD
152582011-07-09 Ulrich Drepper <drepper@gmail.com>
15259
15260 * po/pl.po: Update from translation team.
15261 * po/ja.po: Likewise.
15262 * po/ru.po: Likewise.
15263 * po/ko.po: Likewise.
15264 * po/fr.po: Likewise.
15265
d30cf5bb
RM
152662011-07-09 Roland McGrath <roland@hack.frob.com>
15267
113ddea4
RM
15268 * configure.in (.ctors/.dtors header and trailer check):
15269 Use an empirical test on a built program.
15270 * configure: Regenerated.
15271
574920b4
RM
15272 * configure.in (-z relro check): Use an empirical test on a built DSO.
15273 Detect, but do not require, on ia64.
15274 * configure: Regenerated.
15275
d30cf5bb
RM
15276 * configure.in (READELF): Find it with AC_CHECK_TOOL.
15277 Update tests that use readelf to use $READELF instead.
15278 * configure: Regenerated.
15279
8538fdb3
UD
152802011-07-08 Ulrich Drepper <drepper@gmail.com>
15281
15282 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
15283 if the result is not used.
15284
04d08991
AJ
152852011-07-05 Andreas Jaeger <aj@suse.de>
15286
15287 [BZ#9696]
15288 * stdlib/tst-strtod.c: Add testcase.
15289
de283087
AD
152902011-07-07 Ulrich Drepper <drepper@gmail.com>
15291
4e5f31c8 15292 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 15293 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
15294 The latter has a higher limit. Take additional parameter to pass to
15295 the new function.
15296 (__pathconf): Pass file to __statfs_link_max.
15297 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
15298 __statfs_link_max.
15299 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
15300 __statfs_link_max.
15301
de283087
AD
15302 [BZ #12868]
15303 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
15304 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15305 Handle Lustre.
15306 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
15307 (__statfs_filesize_max): Likewise.
15308 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
15309
c75fa153
AJ
153102011-07-05 Andreas Jaeger <aj@suse.de>
15311
15312 * resolv/res_comp.c (dn_skipname): Remove unused variable.
15313
1a544854
UD
153142011-07-06 Marek Polacek <mpolacek@redhat.com>
15315
15316 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
15317 `status' variable.
15318 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
15319 Likewise.
15320
6f0eec67
UD
153212011-07-04 H.J. Lu <hongjiu.lu@intel.com>
15322
15323 * Makefile (strop-tests): Add strncat.
15324 * string/test-strncat.c: New file.
15325
aae30307
UD
153262011-06-30 Marek Polacek <mpolacek@redhat.com>
15327
15328 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
15329
c0cfb5eb
UD
153302011-06-21 Andreas Jaeger <aj@suse.de>
15331
15332 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
15333 Copy rule from iconvdata/Makefile.
15334
01636b21
UD
153352011-07-06 Ulrich Drepper <drepper@gmail.com>
15336
15337 [BZ #12922]
15338 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
15339 but no long options are defined, just return 'W'.
15340
9895c8bc
UD
153412011-06-22 Marek Polacek <mpolacek@redhat.com>
15342
15343 [BZ #9696]
15344 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
15345
5d4cf042
UD
153462011-07-06 Ulrich Drepper <drepper@gmail.com>
15347
15348 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
15349 netgroups to read.
960e5535 15350 (innetgr): Likewise.
5d4cf042 15351
751eb97e
RM
153522011-07-05 Roland McGrath <roland@hack.frob.com>
15353
15354 * config.make.in (install_root): Default to $(DESTDIR).
15355
f15f1e45
UD
153562011-07-05 Ulrich Drepper <drepper@gmail.com>
15357
15358 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
15359
4e34ac6a
RM
153602011-07-02 Roland McGrath <roland@hack.frob.com>
15361
5e9b6af4
RM
15362 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
15363
84f9ea0f
RM
15364 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
15365 containing directory rather than embedding absolute directory names.
15366
ea5ee9f7
RM
15367 * scripts/check-local-headers.sh: Rewritten using awk.
15368 Match by word, not by line. Print error messages for matches.
15369 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
15370
1b74661a
RM
15371 * Makerules [shlib-lds-flags empty]:
15372 ($(common-objpfx)libc_pic.opts): New target.
15373 ($(common-objpfx)libc_pic.os.clean): New target.
15374 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
15375
15376 * config.make.in (OBJCOPY): New variable.
15377 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
15378 * configure: Regenerated.
15379
f781ef40
RM
15380 * config.make.in (use-default-link): New variable.
15381 * configure.in (use_default_link): Grok --with-default-link to set it.
15382 * configure: Regenerated.
15383 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
15384 (shlib-lds, shlib-lds-flags): Define to empty.
15385
2d4fa81e
RM
15386 * Makerules (shlib-lds): New variable.
15387 (shlib-lds-flags): New variable.
15388 (build-shlib, build-moduile, build-module-asneeded): Use it.
15389 ($(common-objpfx)libc.so): Use $(shlib-lds).
15390 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
15391 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
15392
31fffa6b
RM
15393 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
15394 DT_FLAGS/DT_FLAGS_1 with zero flags.
15395
4e34ac6a
RM
15396 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
15397 linker script munging.
15398
fcfc776b
UD
153992011-07-02 Ulrich Drepper <drepper@gmail.com>
15400
15401 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
15402 as 128-bit value.
15403 * crypt/sha512.c (sha512_process_block): Perform total addition using
15404 128-bit if possible.
15405 (__sha512_finish_ctx): Likewise.
15406 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
15407 as 64-bit value.
15408 * crypt/sha256.c (SWAP64): Define.
15409 (sha256_process_block): Perform total addition using 64-bit if
15410 possible.
15411 (__sha256_finish_ctx): Likewise.
15412
99231d9a
UD
154132011-07-01 Ulrich Drepper <drepper@gmail.com>
15414
15415 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
15416 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15417 * nscd/hstcache.c (cache_addhst): Likewise.
15418 * nscd/grpcache.c (cache_addgr): Likewise.
15419 * nscd/aicache.c (addhstaiX): Likewise
15420 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
15421
445b4a53
TK
154222011-07-01 Thorsten Kukuk <kukuk@suse.de>
15423
15424 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
15425 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15426 * nscd/hstcache.c (cache_addhst): Likewise.
15427 * nscd/grpcache.c (cache_addgr): Likewise.
15428 * nscd/aicache.c (addhstaiX): Likewise
15429
6d4d8e8e
AS
154302011-07-01 Andreas Schwab <schwab@redhat.com>
15431
15432 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
15433 domain only when needed.
15434
89f654c5
AS
154352011-06-30 Andreas Schwab <schwab@redhat.com>
15436
15437 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
15438 is always restored.
15439
cf3b23ff
UD
154402011-06-29 Ulrich Drepper <drepper@gmail.com>
15441
15442 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
15443 are re-adding the entry.
15444 * nscd/servicescache.c (cache_addserv): Likewise.
15445
751626f9
AJ
154462011-06-30 Aurelien Jarno <aurelien@aurel32.net>
15447
15448 * sysdeps/generic/dl-irel.h: fix protection against multiple
15449 inclusions.
15450 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
15451
9113ea1f
UD
154522011-06-28 Ulrich Drepper <drepper@gmail.com>
15453
5c0b8d90
UD
15454 [BZ #12935]
15455 * malloc/memusage.sh: Fix quoting in message.
15456 * debug/xtrace.sh: Likewise.
15457
9113ea1f
UD
15458 * configure.in: Remove support for --experimental-malloc option, make
15459 it the default.
15460 * config.make.in: Likewise.
15461 * malloc/Makefile: Likewise.
15462
a4172181
AS
154632011-06-27 Andreas Schwab <schwab@redhat.com>
15464
15465 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
15466 two-byte characters.
15467
78a7eee7
RM
154682011-06-27 Roland McGrath <roland@hack.frob.com>
15469
62bede13
RM
15470 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
15471 AC_CACHE_CHECK invocation.
15472 * configure: Regenerated.
15473
78a7eee7
RM
15474 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
15475
5ce33a62
UD
154762011-06-27 Ulrich Drepper <drepper@gmail.com>
15477
034807a9
UD
15478 [BZ #12350]
15479 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
15480 bit from old_res_options.
15481
4902da17
UD
15482 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
15483
5ce33a62
UD
15484 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
15485 value type for setfct.
15486
c2344f56
L
154872011-06-23 H.J. Lu <hongjiu.lu@intel.com>
15488
15489 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
15490 __gettimeofday instead of gettimeofday.
15491
68468076
UD
154922011-06-26 Ulrich Drepper <drepper@gmail.com>
15493
15494 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
15495
acb0d739
L
154962011-06-24 H.J. Lu <hongjiu.lu@intel.com>
15497
15498 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
15499
15500 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
15501 info.
15502
8912479f
L
155032011-06-22 H.J. Lu <hongjiu.lu@intel.com>
15504
15505 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15506 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
15507 strcpy-sse2-unaligned strncpy-sse2-unaligned
15508 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
15509 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
15510 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
15511 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
15512 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
15513 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
15514 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
15515 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
15516 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
15517 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
15518 (STRCPY): Support SSE2 and SSSE3 versions.
15519
d5495a11
UD
155202011-06-24 Ulrich Drepper <drepper@gmail.com>
15521
15522 [BZ #12874]
15523 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
15524 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
15525 kernels which artificially limit size of requests.
15526
0b1cbaae
L
155272011-06-22 H.J. Lu <hongjiu.lu@intel.com>
15528
15529 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15530 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
15531 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
15532 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
15533 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
15534 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
15535 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
15536 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
15537 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
15538 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
15539 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
15540 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
15541 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
15542 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
15543 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
15544 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15545 Enable unaligned load optimization for Intel Core i3, i5 and i7
15546 processors.
15547 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
15548 Define.
15549 (index_Fast_Unaligned_Load): Define.
15550 (HAS_FAST_UNALIGNED_LOAD): Define.
15551
07f494a0
MP
155522011-06-23 Marek Polacek <mpolacek@redhat.com>
15553
15554 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
15555
fa3fc0fe
UD
155562011-06-22 Ulrich Drepper <drepper@gmail.com>
15557
15558 [BZ #12907]
15559 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
15560 until it is clear that the information is realy needed.
15561 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
15562
e12df166
AS
155632011-06-22 Andreas Schwab <schwab@redhat.com>
15564
15565 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
15566
852eb34d
UD
155672011-06-22 Ulrich Drepper <drepper@gmail.com>
15568
84e2a551
UD
15569 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
15570 /sys/devices/system/cpu/online if it is usable.
15571
852eb34d
UD
15572 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
15573 reading the information from the /proc filesystem to once a second.
15574
6e502e19
UD
155752011-06-21 Andreas Jaeger <aj@suse.de>
15576
15577 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
15578 NULL after inclusion of kernel headers.
15579
75d39ff2
UD
155802011-06-21 Ulrich Drepper <drepper@gmail.com>
15581
51f9aa6a
UD
15582 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
15583 calls to internal_setent.
15584
c0244a9d
UD
15585 [BZ #12885]
15586 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
15587 addresses using gethostbyname4_r ignore IPv4 addresses.
15588
c5e3c2ae
UD
15589 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
15590 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
15591
75d39ff2
UD
15592 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
15593
42675c6f
DM
155942011-06-20 David S. Miller <davem@davemloft.net>
15595
15596 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
15597 inclusions.
15598 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
15599
15600 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
15601 (elf_irel): Use it.
15602 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
15603 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
15604 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
15605 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
15606 * sysdeps/x86_64/dl-irel.h: Likewise.
15607
15608 * elf/dl-runtime.c: Use elf_ifunc_invoke.
15609 * elf/dl-sym.c: Likewise.
15610
57912a71
UD
156112011-06-15 Ulrich Drepper <drepper@gmail.com>
15612
15613 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
15614 need to dereference resplen2.
15615
ee22793d
AS
156162011-06-14 Andreas Schwab <schwab@redhat.com>
15617
15618 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
15619
a9e836b0
UD
156202011-06-15 Ulrich Drepper <drepper@gmail.com>
15621
77fb9117
UD
15622 * Makeconfig: Define vardbdir and inst_vardbdir.
15623 * nss/Makefile: Add rules to install db-Makefile.
15624
40c1b22c
UD
15625 * nss/nss_db/db-XXX.c: Cleanup.
15626
9f2da732
UD
15627 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
15628 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
15629 GLIBC_PRIVATE.
15630 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
15631 * nss/makedb.c: Implement -g option to specify that value strings
15632 are generated and should not be added to table iterated over for
15633 get*ent calls.
15634 * nss/nss_db/db-initgroups.c: New file.
15635
82e9a1f7
UD
15636 * nss/getent.c: Add support for initgroups lookups through getgrouplist
15637 interface.
15638
c41af17e
UD
15639 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
15640 (internal_getgrouplist): Adjust to name change.
15641 Update use_initgroups_entry if this is not the first call.
15642 * nss/databases.def: Add initgroups entry.
15643
a9e836b0
UD
15644 * nss/makedb.c (compute_tables): Check result of multiple hash table
15645 sizes to minimize maximum chain length.
15646
2666d441
UD
156472011-06-14 Ulrich Drepper <drepper@gmail.com>
15648
15649 * Versions.def: Add entry for libnss_db.
15650 * shlib-versions: Likewise.
15651 * nss/Makefile: Add rules to build libnss_db.
15652 * nss/Versions: Add libnss_db information. Organize libnss_files
15653 entries better.
15654 * nss/db-Makefile: Add gshadow support. Change rules for the new
15655 makedb progra. Some minor improvements to generate smaller files.
15656 * nss/nss_db/nss_db.h: Move NSS database header data structures to
15657 here from...
15658 * nss/makedb.c: ...here.
15659 Improve database format to be smaller and require less memory at
15660 runtime.
15661 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
15662 db anymore.
15663 * nss/nss_db/db-netgrp.c: Likewise.
15664 * nss/nss_db/db-open.c: Likewise.
15665 * nss/nss_files/flies-XXX.x: Adjust comments.
15666 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
15667 * nss/nss_files/files-grp.c: Likewise.
15668 * nss/nss_files/files-hosts.c: Likewise.
15669 * nss/nss_files/files-network.c: Likewise.
15670 * nss/nss_files/files-proto.c: Likewise.
15671 * nss/nss_files/files-pwd.c: Likewise.
15672 * nss/nss_files/files-rpc.c: Likewise.
15673 * nss/nss_files/files-service.c: Likewise.
15674 * nss/nss_files/files-sgrp.c: Likewise.
15675 * nss/nss_files/files-spwd.c: Likewise.
15676 * nss/nss_db/db-alias.c: Removed.
15677 * nss/nss_db/dummy-db.h: Removed.
15678
9ee76b5a
UD
156792011-06-02 Ulrich Drepper <drepper@gmail.com>
15680
15681 * nss/makedb.c: Rewritten to not use database library.
15682 * nss/Makefile: Update to build new makedb program.
15683
c71ca1f8
AJ
156842011-06-14 Andreas Jaeger <aj@suse.de>
15685
15686 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
15687 memset declaration.
15688
3154bfb8
UD
156892011-06-10 Andreas Schwab <schwab@redhat.com>
15690
15691 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
15692 tmpbuf.
15693
b350afab
RM
156942011-06-10 Roland McGrath <roland@hack.frob.com>
15695
decd4e50
RM
15696 * Makerules (shlib.lds): Fail if the linker script comes out empty.
15697 * elf/Makefile ($(objpfx)ld.so): Likewise.
15698
5615eaf2
RM
15699 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
15700 Don't list ld.so twice in dependencies.
15701
15702 * posix/bug-regex31.c: Include <stdlib.h>.
15703
15704 * nscd/hstcache.c (cache_addhst): Remove unused variable.
15705
15706 * nis/nss_compat/compat-spwd.c
15707 (getspent_next_nss_netgr): Remove unused variable.
15708 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
15709
15710 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
15711 nonmembers" output to use the right array.
15712
15713 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
15714
15715 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
15716
15717 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
15718 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
15719 * catgets/gencat.c (read_input_file): Likewise.
15720 * locale/programs/locarchive.c (enlarge_archive): Likewise.
15721
15722 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
15723 variable definition inside #if's controlling its use.
15724
15725 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
15726
15727 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
15728
15729 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
15730
15731 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
15732 unreachable code.
15733
15734 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
15735
b68e08db
RM
15736 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
15737 * configure: Regenerated.
15738
b350afab
RM
15739 * Makerules: Revert last change.
15740 * elf/Makefile: Likewise.
15741
28368601
RM
157422011-06-09 Roland McGrath <roland@hack.frob.com>
15743
15744 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
15745 * elf/Makefile ($(objpfx)librtld.os): Likewise.
15746 (reloc-link): Likewise.
15747
11988f8f
UD
157482011-06-09 Ulrich Drepper <drepper@gmail.com>
15749
15750 * elf/Makefile: Add rules to build pldd.
15751 * elf/pldd.c: New file.
15752 * elf/pldd-xx.c: New file.
15753
e80fab37
UD
157542011-06-07 Ulrich Drepper <drepper@gmail.com>
15755
15756 * version.h: Update for 2.15 development version.
15757
9b849836
DM
157582011-06-07 David S. Miller <davem@davemloft.net>
15759
15760 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
15761 ifuncs.
15762 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
15763 elf_machine_lazy_rel): Likewise.
15764 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
15765 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
15766 elf_machine_lazy_rel): Likewise.
15767 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
15768 dl_hwcap via passed in argument.
15769 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
15770 Likewise.
15771
5a31b283
AK
157722011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15773
15774 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
15775
069e52f8
RM
157762011-06-06 Roland McGrath <roland@hack.frob.com>
15777
15778 [BZ #12849]
15779 * manual/fdl-1.1.texi: New file, verbatim from:
15780 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
15781 * manual/lgpl-2.1.texi: New file, verbatim from:
15782 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
15783 * manual/Makefile (licenses): New variable, list those new file names.
15784 (texis): Use it.
15785 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
15786
15787 * manual/fdl.texi: File removed.
15788 * manual/lesser.texi: File removed.
15789 * manual/libc.texinfo (Copying, Documentation License):
15790 Use new @include file names, put @appendix directive before @include.
15791
f16846a5
JJ
157922011-06-04 Jakub Jelinek <jakub@redhat.com>
15793
15794 [BZ #12841]
15795 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
15796 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
15797 (mq_open): Add __NTH.
15798
3d29045b
L
157992011-06-02 H.J. Lu <hongjiu.lu@intel.com>
15800
15801 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15802 Assume Intel Core i3/i5/i7 processor if AVX is available.
15803
8c297311
UD
158042011-05-31 Ulrich Drepper <drepper@gmail.com>
15805
15806 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
15807 typo.
15808
c8fc0c91
UD
158092011-05-31 Andreas Schwab <schwab@redhat.com>
15810
15811 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
15812 memory. Use alloca_account. Fix memory leak when retrying.
15813
5b27a807
UD
158142011-05-31 Ulrich Drepper <drepper@gmail.com>
15815
356f8bc6
UD
15816 * version.h (RELEASE): Bump for 2.14 release.
15817 * include/features.h (__GLIBC_MINOR__): Bump to 14.
15818
5b27a807
UD
15819 * config.make.in (RANLIB): Remove entry.
15820
01f16ab0
UD
158212011-05-30 Ulrich Drepper <drepper@gmail.com>
15822
41fce8bd
UD
15823 * po/Makefile (po-sed-cmd): Add ksh to extensions.
15824 (libc.pot): Work around missing support for .ksh extension in xgettext.
15825
4769ae77
UD
15826 [BZ #12684]
15827 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
15828 if both request failed.
15829 (send_dg): In case of server errors clear resplen or *resplen2.
15830
6b1e7d19
UD
15831 [BZ #12454]
15832 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
15833 when there are multiple maps.
15834 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
15835 (_dl_fini): Remove test here.
15836
01f16ab0
UD
15837 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
15838
b1ebd700
UD
158392011-05-29 Ulrich Drepper <drepper@gmail.com>
15840
7ae22829
UD
15841 [BZ #12350]
15842 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
15843 bit from old_res_options.
15844 (gaih_inet): Likewise.
15845
553149f6 15846 [BZ #11099]
18a84741 15847 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
15848 as signed.
15849
652ffab1
UD
15850 * resolv/res_init.c (res_setoptions): Make the code more compact.
15851
16985fd0
UD
15852 [BZ #11558]
15853 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
15854 set RES_USEVC.
15855
0464f746
UD
15856 [BZ #11634]
15857 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
15858
7d17596c
UD
15859 * malloc/malloc.h: Mark malloc hook variables as deprecated.
15860
cf6bbbd7
UD
15861 [BZ #11781]
15862 * malloc/malloc.h: Declare malloc hook variables as volatile.
15863
13f1ab36
UD
15864 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
15865 in last patch.
15866
b1ebd700
UD
15867 [BZ #11799]
15868 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 15869 raise in the comment.
80e2212d
UD
15870 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
15871 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
15872 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 15873
ce67228d
UD
158742011-05-28 Ulrich Drepper <drepper@gmail.com>
15875
8887a920
UD
15876 [BZ #12811]
15877 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
15878 grow the buffers more if it already has to be sufficient.
15879 (build_wcs_upper_buffer): Likewise.
15880 * posix/regexec.c (check_matching): Likewise.
15881 (clean_state_log_if_needed): Likewise.
15882 (extend_buffers): Don't enlarge buffers beyond size of the input
15883 buffer.
15884 Patches mostly by Emil Wojak <emil@wojak.eu>.
15885 * posix/bug-regex32.c: New file.
15886 * posix/Makefile (tests): Add bug-regex32.
15887
4f031072
UD
15888 * locale/findlocale.c (_nl_find_locale): Return right away if
15889 _nl_explode_name failed.
15890 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
15891
d0478f0c
UD
15892 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
15893
de81b246
UD
15894 * debug/xtrace.sh: Unify messages.
15895 * malloc/memusage.sh: Likewise.
15896
c738465a
UD
15897 [BZ #12813]
15898 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
15899 time symbol from vDSO. Substitute with vsyscall if not available.
15900 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
15901 __vdso_time.
15902
f1f929d7
UD
15903 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
15904 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
15905 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
15906 Add sendmmsg and internal_sendmmsg.
15907 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
15908 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
15909 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
15910
ce67228d
UD
15911 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
15912 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
15913 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
15914
e57420c6
UD
159152011-05-27 Ulrich Drepper <drepper@gmail.com>
15916
a8509ca5
UD
15917 [BZ #12813]
15918 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
15919 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
15920 available.
15921 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
15922 __vdso_getcpu.
15923
e57420c6
UD
15924 [BZ #12814]
15925 * iconvdata/Makefile (tests): Add bug-iconv9.
15926 * iconvdata/bug-iconv9.c: New file.
15927
4d07db15
AS
159282011-05-27 Andreas Schwab <schwab@redhat.com>
15929
15930 [BZ #12814]
15931 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
15932
ea486f69
JJ
159332011-05-25 Jakub Jelinek <jakub@redhat.com>
15934
15935 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
15936 (struct user_regs_struct): Change intcs field back to cs.
15937
6f038433
UD
159382011-05-25 Ulrich Drepper <drepper@gmail.com>
15939
15940 * po/ja.po: Update from translation team.
15941
67f86a25
UD
159422011-05-23 Ulrich Drepper <drepper@gmail.com>
15943
15944 [BZ #12795]
15945 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
15946 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
15947
def7fbd6
AS
159482011-05-20 Andreas Schwab <schwab@redhat.com>
15949
15950 * stdlib/longlong.h: Update from GCC.
15951
f50ef8f1
AS
159522011-05-23 Andreas Schwab <schwab@redhat.com>
15953
15954 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
15955 parameter name.
15956 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
15957 Add parameter name.
15958 (__sysconf): Pass it down.
15959
de7ce8f1
UD
159602011-05-22 Ulrich Drepper <drepper@gmail.com>
15961
f2962a71
UD
15962 [BZ #12671]
15963 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
15964 some situations.
15965 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
15966 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
15967 add in in __libc_use_alloca calls. Adjust callers.
15968 (glob): Use malloc in some situations.
15969
de7ce8f1
UD
15970 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
15971 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
15972 pltexit.
15973
aec84f53
UD
159742011-05-21 Ulrich Drepper <drepper@gmail.com>
15975
05bb4a68
UD
15976 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
15977 and CLOCK_BOOTTIME_ALARM.
15978
7ea72f99
UD
15979 [BZ #12782]
15980 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
15981 is returned.
15982
7e4afad5
UD
15983 * string/_strerror.c (__strerror_r): Print negative errors as signed
15984 numbers.
15985
8e211fec
UD
15986 [BZ #12777]
15987 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
15988 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
15989 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
15990
f7d82dc9
UD
15991 * configure.in: Fix typo in redirection and correct removal of test
15992 files in two cases.
15993
cc9e536d
UD
15994 [BZ #12788]
15995 * locale/setlocale.c (new_composite_name): Fix test to check for
15996 identical name of all categories.
15997
aec84f53
UD
15998 [BZ #12792]
15999 * libio/filedoalloc.c (local_isatty): New function.
16000 (_IO_file_doallocate): Use local_isatty.
16001 * stdio-common/perror.c (perror): In case a new stream is used
16002 forward the stream error.
16003 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
16004 error flag.
16005
78e64fdc
RT
160062011-05-20 Ulrich Drepper <drepper@gmail.com>
16007
34a9094f
UD
16008 [BZ #11869]
16009 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
16010 alloca.
16011 * include/alloca.h (extend_alloca_account): Define.
16012
78e64fdc
RT
16013 [BZ #11857]
16014 * posix/regex.h: Fix comments with documentation of user-accessible
16015 fields after compilation and describe correct free'ing of pattern
16016 after re_compile_pattern.
16017 Patch by Reuben Thomas <rrt@sc3d.org>.
16018
457bddfc
RA
160192011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
16020
16021 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
16022 and -mno-altivec to prevent the compiler from using Altivec and/or
16023 VSX instructions when the corresponding registers are not available.
16024
a4527b51
AS
160252011-05-19 Andreas Schwab <schwab@redhat.com>
16026
16027 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
16028
ed690b2f
UD
160292011-05-19 Ulrich Drepper <drepper@gmail.com>
16030
16031 * libio/freopen.c (freopen): Use __dup2, not dup2.
16032 * libio/freopen64.c (freopen64): Likewise.
16033
8db73634
L
160342011-05-17 H.J. Lu <hongjiu.lu@intel.com>
16035
16036 [BZ #12775]
16037 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
16038 * math/Makefile (tests): Add test-powl.
16039 (CFLAGS-test-powl.c): Define.
16040 * math/test-powl.c: New file.
16041
0a197a9d
L
160422011-05-16 H.J. Lu <hongjiu.lu@intel.com>
16043
16044 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
16045
ee30c380
UD
160462011-05-17 Ulrich Drepper <drepper@gmail.com>
16047
16048 [BZ #11837]
16049 * iconvdata/gb18030.c: Update to GB18020-2005.
16050
6ce75379
UD
160512011-05-16 Ulrich Drepper <drepper@gmail.com>
16052
a4b89fd8
AR
16053 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
16054 RE_SYNTAX_POSIX_AWK): Update to match recent development.
16055 Patch by Aharon Robbins <arnold@skeeve.com>.
16056
ea389b12
UD
16057 [BZ #11892]
16058 * stdlib/putenv.c (putenv): Don't always create copy of the variable
16059 on the stack.
16060
68a3f91f
UD
16061 [BZ #11895]
16062 * misc/pselect.c (__pselect): Handle timeout value errors hidden
16063 through underflows.
16064
15cc7dd1
UD
16065 [BZ #12766]
16066 * misc/error.c (error_at_line): Ensure file_name and old_file_name
16067 point to strings before performing equality test for error_one_per_line
16068 mode.
16069
f3799213
UD
16070 [BZ #11697]
16071 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
16072
d79a9c94
UD
16073 [BZ #11820]
16074 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
16075 (struct user_fpregs_struct): Avoid __uint*_t types.
16076
56e5eb46
UD
16077 [BZ #6420]
16078 * malloc/mtrace.c (tr_where): Add additional parameter to point to
16079 symbol info. Use it instead of calling _dl_addr locally.
16080 (lock_and_info): New function.
16081 (tr_freehook): Call lock_and_info and pass symbol info as additional
16082 parameter to tr_where.
16083 (tr_mallochook): Likewise.
16084 (tr_reallochook): Likewise.
16085 (tr_memalignhook): Likewise.
16086
6ce75379
UD
16087 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
16088 used and couldn't be at all thread-safe.
16089
f8a3b5bf
UD
160902011-05-15 Ulrich Drepper <drepper@gmail.com>
16091
94b7cc37
UD
16092 * libio/freopen.c (freopen): Don't close old file descriptor
16093 before the new one is opened. Instead dup the new file descriptor
16094 to the old one after the new stream is created.
16095 * libio/freopen64.c (freopen64): Likewise.
16096 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
16097 * libio/fileops.c (_IO_new_file_close_it): Handle new
16098 _IO_FLAGS2_NOCLOSE flag.
16099 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
16100 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
16101 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
16102 _IO_FLAGS2_NOCLOSE flag.
16103 * include/unistd.h: Add hidden_proto for dup3.
16104 Define __have_dup3.
16105 * io/dup3.c: Define hidden symbol.
16106 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
16107
bd25564e
UD
16108 [BZ #7101]
16109 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
16110 when an incomplete long option is used.
16111 * posix/tst-getopt_long1.c: New file.
16112 * posix/Makefile (tests): Add tst-getopt_long1.
16113
c84cfef4
UD
16114 [BZ #10138]
16115 * scripts/config.guess: Update from autoconf-2.68.
16116 * scripts/config.sub: Likewise.
16117
3b85df27
UD
16118 [BZ #10157]
16119 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
16120 tests into ...
16121 (has_cpuclock): ...this. New function.
16122 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
16123 macro here based on has_cpuclock code.
16124
15a856b1
UD
16125 [BZ #10149]
16126 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16127 First byte (not low byte) is now always NUL.
16128 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
16129
05f399e6
UD
16130 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16131 Use non-cancelable interfaces.
16132
10a52685 16133 [BZ #9809]
94ecc67d
UD
16134 * locale/iso-639.def: Add entry for Sorani.
16135
f8a3b5bf
UD
16136 [BZ #11901]
16137 * include/stdlib.h: Move include protection to the right place.
16138 Define abort_msg_s. Declare __abort_msg with it.
16139 * stdlib/abort.c (__abort_msg): Adjust type.
16140 * assert/assert.c (__assert_fail_base): New function. Majority
16141 of code from __assert_fail. Allocate memory for __abort_msg with
16142 mmap.
16143 (__assert_fail): Now call __assert_fail_base.
16144 * assert/assert-perr.c: Remove bulk of implementation. Use
16145 __assert_fail_base.
16146 * include/assert.hL Declare __assert_fail_base.
16147 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
16148 mmap.
16149 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
16150
1af4e298
UD
161512011-05-14 Ulrich Drepper <drepper@gmail.com>
16152
f8a3b5bf 16153 [BZ #11952]
d26dfc60
MG
16154 [BZ #12453]
16155 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
16156 until all modules are registered in the DTV.
16157 * elf/Makefile: Add rules to build and run tst-tls19.
16158 * elf/tst-tls19.c: New file.
16159 * elf/tst-tls19mod1.c: New file.
16160 * elf/tst-tls19mod2.c: New file.
16161 * elf/tst-tls19mod3.c: New file.
16162 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
16163
2fc54d6f
UD
16164 [BZ #12083]
16165 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
16166 correctly.
16167
98d76b46
UD
16168 [BZ #12601]
16169 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
16170 two-byte sequence errors.
16171 * iconvdata/Makefile (tests): Add bug-iconv8.
16172 * iconvdata/bug-iconv8.c: New file.
16173
da3c19ef
UD
16174 [BZ #12626]
16175 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
16176 buf2 definition.
16177
ca408c15
UD
16178 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
16179
d6f67f7d
UD
16180 [BZ #12432]
16181 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
16182 (dummy_getcfa): New function.
16183 (init): Get _Unwind_GetCFA address, use dummy if not found.
16184 (backtrace_helper): In recursion check, also check whether CFA changes.
16185 (__backtrace): Completely initialize arg.
16186
1af4e298 16187 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
16188 storing incomplete byte sequence in state object. Avoid testing for
16189 guaranteed too small input if we know there is enough data available.
1af4e298 16190
da62f81b
AS
161912011-05-11 Andreas Schwab <schwab@redhat.com>
16192
16193 * Makeconfig (+link-pie): Indent.
16194 * Rules (binaries-pie): Define if $(have-fpie) and
16195 $(build-shared).
16196 (binaries-shared): Also filter out $(binaries-pie).
16197 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
16198 * nscd/Makefile (others-pie): Add nscd.
16199 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
16200 ($(objpfx)nscd): Remove command override.
16201 * login/Makefile (others-pie): Add pt_chown.
16202 ($(objpfx)pt_chown): Remove command override.
16203 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
16204 remove command overrides.
16205
fcabc0f8
UD
162062011-05-13 Ulrich Drepper <drepper@gmail.com>
16207
20030ae6
UD
16208 * libio/tst_putwc.c: Fix error messages.
16209
fcabc0f8
UD
16210 [BZ #12724]
16211 * libio/fileops.c (_IO_new_file_close_it): Always flush when
16212 currently writing and seek to current position when not.
16213 * libio/Makefile (tests): Add bug-fclose1.
16214 * libio/bug-fclose1.c: New file.
16215
320a5dc0
PB
162162011-05-12 Ulrich Drepper <drepper@gmail.com>
16217
16218 [BZ #12511]
16219 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
16220 don't set DF_1_NODELETE here.
16221 (do_lookup_x): When entering new entry test for copy relocation
16222 and if necessary set DF_1_NODELETE flag.
16223 * elf/tst-unique4.cc: New file.
16224 * elf/tst-unique4.h: New file.
16225 * elf/tst-unique4lib.cc: New file.
16226 * elf/Makefile: Add rules to build and run tst-unique4.
16227 Patch by Piotr Bury <pbury@goahead.com>.
16228
22836f52
UD
162292011-05-11 Ulrich Drepper <drepper@gmail.com>
16230
f574184a
UD
16231 [BZ #12052]
16232 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
16233
e1fb097f
UD
16234 [BZ #12625]
16235 * misc/mntent_r.c (addmntent): Flush the stream after the output
16236
22836f52
UD
16237 [BZ #12393]
16238 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
16239 (is_trusted_path_normalize): Skip initial colon. Append slash
16240 to empty buffer. Duplicate is_trusted_path code but allow
16241 constructed patch to be prefix.
16242 (is_dst): Allow $ORIGIN followed by /.
16243 (_dl_dst_substitute): Correct clearing of check_for_trusted.
16244 Correct testing of result of is_trusted_path_normalize
16245 (decompose_rpath): Fix warning.
16246
7b3b0b2a
UD
162472011-05-10 Ulrich Drepper <drepper@gmail.com>
16248
16249 [BZ #11257]
16250 * grp/initgroups.c (internal_getgrouplist): When we found the service
16251 list through the initgroups entry in nsswitch.conf do not always
16252 continue on a successful lookup. Don't always use the
eac80ce2 16253 __nss_group_database value if it is set.
7b3b0b2a
UD
16254 * nss/nsswitch.conf (initgroups): Change action for successful db
16255 lookup to continue for compatibility.
16256
2a81eaa5
UD
162572011-05-09 Ulrich Drepper <drepper@gmail.com>
16258
be97a69e
UD
16259 [BZ #11532]
16260 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
16261 and CP774 modules.
16262 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
16263 and CP774 modules.
16264 * iconvdata/tst-tables.sh: Likewise.
16265 * iconvdata/cp770.c: New file.
16266 * iconvdata/cp771.c: New file.
16267 * iconvdata/cp772.c: New file.
16268 * iconvdata/cp773.c: New file.
16269 * iconvdata/cp774.c: New file.
16270 * iconvdata/testdata/CP770: New file.
16271 * iconvdata/testdata/CP770..UTF8: New file.
16272 * iconvdata/testdata/CP771: New file.
16273 * iconvdata/testdata/CP771..UTF8: New file.
16274 * iconvdata/testdata/CP772: New file.
16275 * iconvdata/testdata/CP772..UTF8: New file.
16276 * iconvdata/testdata/CP773: New file.
16277 * iconvdata/testdata/CP773..UTF8: New file.
16278 * iconvdata/testdata/CP774: New file.
16279 * iconvdata/testdata/CP774..UTF8: New file.
16280
16281 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
16282 END CHARMAP line.
16283 * iconvdata/gen-8bit-gap.sh: Likewise.
16284 * iconvdata/gen-8bit.sh: Likewise.
16285
c1e9e399
UD
16286 * locale/iso-639.def: Add ary entry.
16287
24c55fb3 16288 [BZ #11258]
96b4b1b0
UD
16289 * locale/C-translit.h.in: Add U20A1 transliteration.
16290
bdc2f971
KB
16291 [BZ #12178]
16292 * locale/iso-639.def: Add wae entry.
16293 Patch by Kevin Bortis <bortis@translate-wae.ch>.
16294
2952b117
UD
16295 [BZ #12545]
16296 * locale/programs/localedef.c (construct_output_path): Use ssize_t
16297 for n.
16298
2a81eaa5
UD
16299 [BZ #12711]
16300 * locale/C-translit.h.in: Add entry for U20B9.
16301 Patch by pravin.d.s@gmail.com.
16302
28377d1b
UD
163032011-05-08 Ulrich Drepper <drepper@gmail.com>
16304
7fb90fb8
UD
16305 [BZ #12713]
16306 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
16307 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
16308 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
16309 in rtld. Use *stat64.
7fb90fb8 16310 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 16311 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 16312 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
16313 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
16314 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
16315 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
16316 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
16317 __fstatat64 macros.
7fb90fb8
UD
16318 * include/dirent.h: Add libc_hidden_proto for rewinddir.
16319 * dirent/rewinddir.c: Add libc_hidden_def.
16320 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 16321 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 16322
28377d1b
UD
16323 * include/dirent.h (__alloc_dir): Add flags parameter.
16324 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
16325 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
16326 __alloc_dir.
16327 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
16328 from fdopendir if O_CLOEXEC is already set.
16329
66bdbaa4
AM
163302011-03-15 Alan Modra <amodra@gmail.com>
16331
16332 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
16333 l_tls_firstbyte_offset non-zero. Save padding offset in
16334 l_tls_firstbyte_offset for later use.
16335 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
16336 freeing static tls block.
16337
95721191
JN
163382011-03-05 Jonathan Nieder <jrnieder@gmail.com>
16339
16340 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
16341 where #ifdef was intended. The intent is to prevent ARG_MAX from
16342 being defined by the kernel headers.
16343
f87dfb1f
UD
163442011-05-07 Ulrich Drepper <drepper@gmail.com>
16345
16346 [BZ #12734]
16347 * resolv/resolv.h: Define RES_NOTLDQUERY.
16348 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
16349 no-tld-query and set RES_NOTLDQUERY.
16350 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
16351 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
16352 modern BIND to search name as TLD unless forbidden.
16353
47c3cd7a
UD
163542011-05-07 Petr Baudis <pasky@suse.cz>
16355 Ulrich Drepper <drepper@gmail.com>
16356
16357 [BZ #12393]
16358 * elf/dl-load.c (fillin_rpath): Move trusted path check...
16359 (is_trusted_path): ...to here.
c1e9ea35 16360 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 16361 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 16362 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 16363
8a35c912
PP
163642011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
16365
16366 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
16367 __BEGIN/__END_DECLS.
16368
acd41f47
UD
163692011-05-06 Ulrich Drepper <drepper@gmail.com>
16370
16371 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
16372 NSS_STATUS_NOTFOUND if no record was found.
16373
597df647
AS
163742011-05-05 Andreas Schwab <schwab@redhat.com>
16375
16376 * sunrpc/Makefile (headers): Add rpc/netdb.h.
16377 (headers-not-in-tirpc): Remove rpc/netdb.h
16378 * resolv/netdb.h: Revert last change.
16379
b9af1301
PP
163802011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
16381
16382 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
16383 circular dependency between libgcc.a and libc.a.
16384
4e34d5f5
AS
163852011-05-05 Andreas Schwab <schwab@redhat.com>
16386
16387 * resolv/netdb.h: Don't include <rpc/netdb.h>.
16388 * nis/Makefile: Don't install rpcsvc/*.
16389 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
16390 instead of <rpc/types.h>.
16391 (MAXHOSTNAMELEN): Define.
16392
00ee369c
AS
163932011-05-03 Andreas Schwab <schwab@redhat.com>
16394
16395 * elf/ldconfig.c (add_dir): Don't crash on empty path.
16396
0b592a30
MB
163972011-04-28 Maciej Babinski <mbabinski@google.com>
16398
16399 [BZ #12714]
16400 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
16401 gethostbyname4_r when IPv6 results are possible.
16402
6e04cbbe
UD
164032011-05-02 Ulrich Drepper <drepper@gmail.com>
16404
16405 [BZ #12723]
16406 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
16407 _PC_PIPE_BUF handling.
16408
e4ecafe0
BH
164092011-04-30 Bruno Haible <bruno@clisp.org>
16410
16411 [BZ #12717]
16412 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
16413 * resolv/netdb.h (getnameinfo): Change type of flags parameter
16414 to 'int'.
16415 * inet/getnameinfo.c (getnameinfo): Likewise.
16416
125ee683
UD
164172011-04-29 Ulrich Drepper <drepper@gmail.com>
16418
16419 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
16420 to groups setting in database lookup.
16421 * nss/nsswitch.conf: Add initgroups entry.
16422
b722481a
EB
164232011-04-22 Ulrich Drepper <drepper@gmail.com>
16424
16425 [BZ #12685]
16426 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
16427 mode string.
16428 Patch by Eric Blake <eblake@redhat.com>.
16429
4df46dbd
L
164302011-04-20 H.J. Lu <hongjiu.lu@intel.com>
16431
16432 * sunrpc/Makefile (need-export-routines): Add svc_run.
16433 (routines): Remove svc_run.
16434 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
16435 * sunrpc/clnt_perr.c (clnt_perrno): Export.
16436 * sunrpc/svc_run.c (svc_run): Likewise.
16437 * sunrpc/svc_udp.c (svcudp_create): Likewise.
16438
e84142d2
UD
164392011-04-21 Ulrich Drepper <drepper@gmail.com>
16440
16441 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
16442 problem in reallocation in last patch.
16443
877175d8
UD
164442011-04-20 Ulrich Drepper <drepper@gmail.com>
16445
16446 * sunrpc/Makefile: Move inclusion of Rules.
16447
ab8eed78
UD
164482011-04-19 Ulrich Drepper <drepper@gmail.com>
16449
16450 * nss/nss_files/files-initgroups.c: New file.
16451 * nss/Makefile (libnss_files-routines): Add files-initgroups.
16452 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
16453 _nss_files_initgroups_dyn.
16454
e3d8f584
RS
164552011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
16456
16457 * elf/elf.h (R_ARM_IRELATIVE): Define.
16458
af190f45
UD
164592011-04-19 Ulrich Drepper <drepper@gmail.com>
16460
16461 * po/ru.po: Update from translation team.
16462
53cf59ef
UD
164632011-04-17 Ulrich Drepper <drepper@gmail.com>
16464
16465 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
16466 dependencies.
16467
4c559bcd
MF
164682011-02-06 Mike Frysinger <vapier@gentoo.org>
16469
16470 [BZ #12653]
16471 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
16472 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
16473 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
16474 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
16475 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
16476
4420675c
AS
164772011-03-28 Andreas Schwab <schwab@linux-m68k.org>
16478
16479 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
16480 differing bytes.
16481 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
16482 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
16483 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
16484
75ea32ab
UD
164852011-04-17 Ulrich Drepper <drepper@gmail.com>
16486
16487 [BZ #12420]
16488 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
16489 storing it.
16490 * stdlib/bug-getcontext.c: New file.
16491 * stdlib/Makefile: Add rules to build and run bug-getcontext.
16492
27390476
AK
164932011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16494
16495 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
16496 instructions into .machine "z9-109".
16497 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
16498 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
16499
10442705
AK
165002011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16501
16502 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
16503 between environment variables and auxiliary vector.
16504
7b57bfe5
UD
165052011-04-16 Ulrich Drepper <drepper@gmail.com>
16506
16507 * Makefile: Add rules to build linkobj/libc.so.
16508 * include/libc-symbols.h: Define libc_hidden_nolink.
16509 * include/rpc/auth.h: Mark functions which are to be hidden.
16510 * include/rpc/auth_des.h: Likewise.
16511 * include/rpc/auth_unix.h: Likewise.
16512 * include/rpc/clnt.h: Likewise.
16513 * include/rpc/des_crypt.h: Likewise.
16514 * include/rpc/key_prot.h: Likewise.
16515 * include/rpc/pmap_clnt.h: Likewise.
16516 * include/rpc/pmap_prot.h: Likewise.
16517 * include/rpc/pmap_rmt.h: Likewise.
16518 * include/rpc/rpc_msg.h: Likewise.
16519 * include/rpc/svc.h: Likewise.
16520 * include/rpc/svc_auth.h: Likewise.
16521 * include/rpc/xdr.h: Likewise.
16522 * nis/Makefile: Link all DSOs against linkobj/libc.so.
16523 * nss/Makefile: Likewise.
16524 * sunrpc/Makefile: Don't install headers. Build library with normal
16525 entry points. Don't build rpcinfo. Link RPC tests appropriately.
16526 * sunrpc/auth_des.c: Hide exported symbols by default, export some
16527 for the compat linking library. Remove use of INTDEF/INTUSE.
16528 * sunrpc/auth_none.c: Likewise.
16529 * sunrpc/auth_unix.c: Likewise.
16530 * sunrpc/authdes_prot.c: Likewise.
16531 * sunrpc/authuxprot.c: Likewise.
16532 * sunrpc/clnt_gen.c: Likewise.
16533 * sunrpc/clnt_perr.c: Likewise.
16534 * sunrpc/clnt_raw.c: Likewise.
16535 * sunrpc/clnt_simp.c: Likewise.
16536 * sunrpc/clnt_tcp.c: Likewise.
16537 * sunrpc/clnt_udp.c: Likewise.
16538 * sunrpc/clnt_unix.c: Likewise.
16539 * sunrpc/des_crypt.c: Likewise.
16540 * sunrpc/des_soft.c: Likewise.
16541 * sunrpc/get_myaddr.c: Likewise.
16542 * sunrpc/key_call.c: Likewise.
16543 * sunrpc/key_prot.c: Likewise.
16544 * sunrpc/netname.c: Likewise.
16545 * sunrpc/pm_getmaps.c: Likewise.
16546 * sunrpc/pm_getport.c: Likewise.
16547 * sunrpc/pmap_clnt.c: Likewise.
16548 * sunrpc/pmap_prot.c: Likewise.
16549 * sunrpc/pmap_prot2.c: Likewise.
16550 * sunrpc/pmap_rmt.c: Likewise.
16551 * sunrpc/publickey.c: Likewise.
16552 * sunrpc/rpc_cmsg.c: Likewise.
16553 * sunrpc/rpc_common.c: Likewise.
16554 * sunrpc/rpc_dtable.c: Likewise.
16555 * sunrpc/rpc_prot.c: Likewise.
16556 * sunrpc/rpc_thread.c: Likewise.
16557 * sunrpc/rtime.c: Likewise.
16558 * sunrpc/svc.c: Likewise.
16559 * sunrpc/svc_auth.c: Likewise.
16560 * sunrpc/svc_authux.c: Likewise.
16561 * sunrpc/svc_raw.c: Likewise.
16562 * sunrpc/svc_run.c: Likewise.
16563 * sunrpc/svc_simple.c: Likewise.
16564 * sunrpc/svc_tcp.c: Likewise.
16565 * sunrpc/svc_udp.c: Likewise.
16566 * sunrpc/svc_unix.c: Likewise.
16567 * sunrpc/svcauth_des.c: Likewise.
16568 * sunrpc/xcrypt.c: Likewise.
16569 * sunrpc/xdr.c: Likewise.
16570 * sunrpc/xdr_array.c: Likewise.
16571 * sunrpc/xdr_float.c: Likewise.
16572 * sunrpc/xdr_intXX_t.c: Likewise.
16573 * sunrpc/xdr_mem.c: Likewise.
16574 * sunrpc/xdr_rec.c: Likewise.
16575 * sunrpc/xdr_ref.c: Likewise.
16576 * sunrpc/xdr_sizeof.c: Likewise.
16577 * sunrpc/xdr_stdio.c: Likewise.
16578
e6c61494
UD
165792011-04-10 Ulrich Drepper <drepper@gmail.com>
16580
16581 [BZ #12650]
16582 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
16583 * sysdeps/ia64/dl-tls.h: Likewise.
16584 * sysdeps/powerpc/dl-tls.h: Likewise.
16585 * sysdeps/s390/dl-tls.h: Likewise.
16586 * sysdeps/sh/dl-tls.h: Likewise.
16587 * sysdeps/sparc/dl-tls.h: Likewise.
16588 * sysdeps/x86_64/dl-tls.h: Likewise.
16589 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
16590
34fe483e
AS
165912011-03-14 Andreas Schwab <schwab@redhat.com>
16592
16593 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
16594 rpath element also skip the following colon.
16595 (expand_dynamic_string_token): Add is_path parameter and pass
16596 down to DL_DST_REQUIRED and _dl_dst_substitute.
16597 (decompose_rpath): Call expand_dynamic_string_token with
16598 non-zero is_path. Ignore empty rpaths.
16599 (_dl_map_object_from_fd): Call expand_dynamic_string_token
16600 with zero is_path.
16601
f12a32e6
AS
166022011-04-08 Andreas Schwab <schwab@linux-m68k.org>
16603
16604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
16605 Make cancelable.
16606
38a7d692
UD
166072011-04-09 Ulrich Drepper <drepper@gmail.com>
16608
16609 [BZ #12655]
16610 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
16611 Patch by Filipe David Manana <fdmanana@apache.org>.
16612
e451d22b
AS
166132011-04-07 Andreas Schwab <schwab@redhat.com>
16614
16615 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
16616 Maintain aligned stack.
16617 (CHECK_RSP): Remove unused macro.
16618
dedc7c7b
UD
166192011-04-03 Ulrich Drepper <drepper@gmail.com>
16620
16621 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
16622 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
16623
94521213
UD
166242011-04-02 Ulrich Drepper <drepper@gmail.com>
16625
16626 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
16627
8cb700c0 16628 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 16629
0354e355
L
166302011-03-26 H.J. Lu <hongjiu.lu@intel.com>
16631
16632 [BZ #12518]
16633 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
16634 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
16635 * sysdeps/x86_64/memmove.c: New file.
16636 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
16637 (memcpy): Renamed to ...
16638 (__new_memcpy): This.
16639 (memcpy): Provide GLIBC_2_14 memcpy.
16640 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
16641 (memcpy): Provide GLIBC_2_2_5 memcpy.
16642
8593482f
UD
166432011-04-01 Ulrich Drepper <drepper@gmail.com>
16644
16645 [BZ #12631]
16646 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
16647
81a5726b
AS
166482011-03-30 Andreas Schwab <schwab@redhat.com>
16649
16650 * misc/syncfs.c: New file.
16651 * misc/Makefile (routines): Add syncfs.
16652 * posix/unistd.h: Declare syncfs.
16653 * sysdeps/unix/syscalls.list: Add syncfs.
16654
00e5419f
AS
166552011-04-01 Andreas Schwab <schwab@redhat.com>
16656
16657 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
16658 open_by_handle_at.
16659 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
16660 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
16661 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16662 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
16663 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16664 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
16665 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
16666
748876bf
UD
166672011-04-01 Ulrich Drepper <drepper@gmail.com>
16668
658e451d
UD
16669 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
16670 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
16671 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
16672 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16673 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
16674 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16675 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
16676
748876bf
UD
16677 * io/Makefile: Compile fallocate.c, fallocate64.c, and
16678 sync_file_range.c with -fexceptions.
16679 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
16680 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
16681 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
16682 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
16683 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
16684 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
16685 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
16686 sync_file_range as cancellation point
16687 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
16688 now a wrapper around __call_sync_file_range with cancellation handling.
16689 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
16690 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
16691 function name to __call_sync_file_range.
16692 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
16693 Add call_sync_file_range.
748876bf 16694
6e63d5e1
AS
166952011-04-01 Andreas Schwab <schwab@redhat.com>
16696
16697 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 16698 bits/timex.h.
6e63d5e1 16699
46998f74
UD
167002011-04-01 Ulrich Drepper <drepper@gmail.com>
16701
4c1423ed
UD
16702 * iconv/iconv.h: Fix typo in comment.
16703 * io/fcntl.h: Likewise.
16704 * libio/stdio.h: Likewise.
16705 * posix/spawn.h: Likewise.
16706 * posix/unistd.h: Likewise.
16707 * stdlib/stdlib.h: Likewise.
16708 * time/time.h: Likewise.
16709 * wcsmbs/wchar.h: Likewise.
16710
158648c0
UD
16711 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
16712 open_by_handle): Add.
16713 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
16714 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
16715 Augment a few comments.
16716 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
16717 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16718 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
16719 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16720 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
16721 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
16722 open_by_handle.
16723
46998f74
UD
16724 * io/fcntl.h (AT_EMPTY_PATH): Define.
16725
83fe108b
UD
167262011-03-30 Ulrich Drepper <drepper@gmail.com>
16727
16728 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
16729 * sysdeps/unix/sysv/linux/bits/time.h: New file.
16730 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
16731 to...
16732 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
16733 * Versions.def: Add GLIBC_2.14.
16734 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
16735 Export.
83fe108b 16736
bb242059
UD
167372011-03-22 Ulrich Drepper <drepper@gmail.com>
16738
16739 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
16740 round counter.
16741 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
16742
c97a1282
L
167432011-03-20 H.J. Lu <hongjiu.lu@intel.com>
16744
16745 [BZ #12597]
16746 * string/test-strncmp.c (do_page_test): New function.
16747 (check2): Likewise.
16748 (test_main): Call check2.
16749 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
16750
2a115601
UD
167512011-03-20 Ulrich Drepper <drepper@gmail.com>
16752
16753 [BZ #12587]
16754 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
16755 Handle cache information in CPU leaf 4.
16756 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
16757
8126d904
UD
167582011-03-18 Ulrich Drepper <drepper@gmail.com>
16759
042c49c6 16760 [BZ #12583]
8126d904
UD
16761 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
16762 character representation.
16763 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
16764
ccfe366e
RA
167652011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
16766
16767 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
16768 END(__isnan) to END(__isnanf) to match function entry point/label
16769 EALIGN(__isnanf,...).
16770
c6e13027
JJ
167712011-03-10 Jakub Jelinek <jakub@redhat.com>
16772
16773 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
16774
33f85a3f
UD
167752011-03-10 Ulrich Drepper <drepper@gmail.com>
16776
028478fa
UD
16777 [BZ #12510]
16778 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
16779 copy from the symbol referenced in the relocation to initialize the
16780 used variable.
16781 Patch by Piotr Bury <pbury@goahead.com>.
16782 * elf/Makefile: Add rules to build and tst-unique3.
16783 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
16784 * elf/tst-unique3.cc: New file.
16785 * elf/tst-unique3.h: New file.
16786 * elf/tst-unique3lib.cc: New file.
16787 * elf/tst-unique3lib2.cc: New file.
16788
33f85a3f
UD
16789 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
16790
03592fc7
MF
167912011-03-10 Mike Frysinger <vapier@gentoo.org>
16792
16793 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
16794 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
16795 to _start.
03592fc7 16796
6a5ee102
UD
167972011-03-06 Ulrich Drepper <drepper@gmail.com>
16798
16799 * elf/dl-load.c (_dl_map_object): If we are looking for the first
16800 to-be-loaded object along a path to loader is ld.so.
16801
7e4ba49c
HJ
168022011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
16803 Ulrich Drepper <drepper@gmail.com>
16804
16805 * sysdeps/x86_64/memset.S: After aligning destination, code
16806 branches to different locations depending on the value of
16807 misalignment, when multiarch is enabled. Fix this.
16808
168092011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
16810
16811 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
16812 Set _x86_64_preferred_memory_instruction for AMD processsors.
16813 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16814 Set bit_Prefer_SSE_for_memop for AMD processors.
16815
13a804de
UD
168162011-03-04 Ulrich Drepper <drepper@gmail.com>
16817
16818 * libio/fmemopen.c (fmemopen): Optimize a bit.
16819
9d25c392
AS
168202011-03-03 Andreas Schwab <schwab@redhat.com>
16821
16822 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
16823
a5543c6a
RM
168242011-03-03 Roland McGrath <roland@redhat.com>
16825
16826 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
16827
012d35f7
DM
168282011-02-28 Aurelien Jarno <aurelien@aurel32.net>
16829
7e4ba49c 16830 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
16831 __bzero_ultra1 instead of __memset_ultra1.
16832
4bff6e01
AS
168332011-02-23 Andreas Schwab <schwab@redhat.com>
16834 Ulrich Drepper <drepper@gmail.com>
16835
16836 [BZ #12509]
16837 * include/link.h (struct link_map): Add l_orig_initfini.
16838 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
16839 returning unsuccessfully.
16840 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
16841 close of a file loaded at startup, restore the original l_initfini
16842 list.
16843 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
16844 list, store the pointer.
16845 * elf/Makefile ($(objpfx)noload-mem): New rule.
16846 (noload-ENV): Define.
16847 (tests): Add $(objpfx)noload-mem.
16848 * elf/noload.c: Include <memcheck.h>.
16849 (main): Call mtrace. Close all opened handles.
16850
f2092faf
AS
168512011-02-17 Andreas Schwab <schwab@redhat.com>
16852
16853 [BZ #12454]
16854 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
16855 dependencies are missing.
16856
6c8a2e88
ST
168572011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
16858
f2092faf 16859 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
16860 Hurd needs munmap.
16861 * sysdeps/mach/hurd/ifreq.h: New file.
16862
84a42118
PB
168632011-01-27 Petr Baudis <pasky@suse.cz>
16864 Ulrich Drepper <drepper@gmail.com>
16865
071f805e 16866 [BZ 12445]#
84a42118
PB
16867 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
16868 to extend_alloca().
16869 * stdio-common/bug23.c: New file.
16870 * stdio-common/Makefile (tests): Add bug23.
16871
e23fe25b
AS
168722010-09-28 Andreas Schwab <schwab@redhat.com>
16873 Ulrich Drepper <drepper@gmail.com>
16874
16875 [BZ #12489]
16876 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
16877 before performing relro protection. At old place add assertion
16878 to make sure nothing changed.
16879
d3f02e10
NS
168802011-02-17 Nathan Sidwell <nathan@codesourcery.com>
16881 Glauber de Oliveira Costa <glommer@gmail.com>
16882
16883 * elf/elf.h: Add new ARM TLS relocs.
16884
d55fd7a5
RA
168852011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
16886
16887 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
16888 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
16889 cast from r3.
16890 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
16891 'tests' variable.
16892 * sysdeps/wordsize-64/tst-writev.c: New file.
16893
2206397e
RA
168942011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
16895
16896 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
16897 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
16898 insns in _dl_start to prevent a TOC reference before relocs are
16899 resolved.
16900
e9433893
UD
169012011-02-15 Ulrich Drepper <drepper@gmail.com>
16902
16903 [BZ #12469]
16904 * Makeconfig: Remove RANLIB definition.
16905 * Makerules: Don't use RANLIB.
16906 * aclocal.m4: Remove ranlib test.
16907 * configure.in: No need to check for ranlib.
16908 * elf/rtld-Rules: Don't use RANLIB.
16909
f75286c6
ST
169102011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
16911
8e31c82d
ST
16912 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
16913 protection macro.
16914 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
16915 inclusion protection macro.
16916
f75286c6
ST
16917 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
16918 SIGRTMIN and SIGRTMAX and print information in that case only when
16919 SIGRTMIN is defined.
16920
c1d0e639
JJ
169212011-02-11 Jakub Jelinek <jakub@redhat.com>
16922
16923 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
16924 arginfo fn returning -1.
16925
16926 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
16927 and thousands string is zero terminated.
16928
edf9294e
AS
169292011-02-03 Andreas Schwab <schwab@redhat.com>
16930
16931 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
16932 sysdeps/unix/sysv/linux/bits/socket.h.
16933
2b7e92df
ST
169342011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
16935
edf9294e
AS
16936 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
16937 (__CPU_COUNT): Remove old macros.
16938 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
16939 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
16940 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
16941 (__sched_cpualloc, __sched_cpufree): Add declarations.
16942
a4c7ea7b
UD
169432011-02-05 Ulrich Drepper <drepper@gmail.com>
16944
16945 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
16946 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
16947 * nscd/aicache.c (addhstaiX): Return timeout of added value.
16948 (readdhstai): Return value of addhstaiX call.
16949 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
16950 (addgrbyX): Return value returned by cache_addgr.
16951 (readdgrbyname): Return value returned by addgrbyX.
16952 (readdgrbygid): Likewise.
16953 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
16954 (addpwbyX): Return value returned by cache_addpw.
16955 (readdpwbyname): Return value returned by addhstbyX.
16956 (readdpwbyuid): Likewise.
16957 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
16958 (addservbyX): Return value returned by cache_addserv.
16959 (readdservbyname): Return value returned by addservbyX:
16960 (readdservbyport): Likewise.
16961 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
16962 (addhstbyX): Return value returned by cache_addhst.
16963 (readdhstbyname): Return value returned by addhstbyX.
16964 (readdhstbyaddr): Likewise.
16965 (readdhstbynamev6): Likewise.
16966 (readdhstbyaddrv6): Likewise.
16967 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
16968 (readdinitgroups): Return value returned by addinitgroupsX.
16969 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
16970 (prune_cache): Keep track of timeout value of re-added entries.
16971 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
16972 * nscd/nscd.h: Adjust prototypes of readd* functions.
16973
a0bf67cc
RM
169742011-02-04 Roland McGrath <roland@redhat.com>
16975
16976 * nis/nis_server.c (nis_servstate): Use the right name for 0.
16977 (nis_stats): Likewise.
16978 * nis/nis_modify.c (nis_modify): Likewise.
16979 * nis/nis_remove.c (nis_remove): Likewise.
16980 * nis/nis_add.c (nis_add): Likewise.
16981
16982 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
16983
16984 * posix/fnmatch_loop.c: Add some consts.
16985
16986 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
16987
435b95eb
L
169882011-02-02 H.J. Lu <hongjiu.lu@intel.com>
16989
16990 [BZ #12460]
16991 * config.make.in (config-cflags-novzeroupper): Define.
16992 * configure.in: Substitute libc_cv_cc_novzeroupper.
16993 * elf/Makefile (AVX-CFLAGS): Define.
16994 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
16995 (CFLAGS-tst-auditmod4a.c): Likewise.
16996 (CFLAGS-tst-auditmod4b.c): Likewise.
16997 (CFLAGS-tst-auditmod6b.c): Likewise.
16998 (CFLAGS-tst-auditmod6c.c): Likewise.
16999 (CFLAGS-tst-auditmod7b.c): Likewise.
17000 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
17001
8517b15e
UD
170022011-02-02 Ulrich Drepper <drepper@gmail.com>
17003
17004 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
17005 function to the callback.
17006 Patch partly by Jiri Olsa <jolsa@redhat.com>.
17007
10a656fe
AS
170082011-02-02 Andreas Schwab <schwab@redhat.com>
17009
17010 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
17011 of errno.
17012
968dad0a
UD
170132011-01-19 Ulrich Drepper <drepper@gmail.com>
17014
9f94d2ea 17015 [BZ #11724]
968dad0a
UD
17016 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
17017 of constructors.
17018 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
17019 of destructors.
17020 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
17021
17022 [BZ #11724]
17023 * elf/Makefile: Add rules to build and run new test.
17024 * elf/tst-initorder.c: New file.
17025 * elf/tst-initorder.exp: New file.
17026 * elf/tst-initordera1.c: New file.
17027 * elf/tst-initordera2.c: New file.
17028 * elf/tst-initordera3.c: New file.
17029 * elf/tst-initordera4.c: New file.
17030 * elf/tst-initorderb1.c: New file.
17031 * elf/tst-initorderb2.c: New file.
17032 * elf/tst-order-a1.c: New file.
17033 * elf/tst-order-a2.c: New file.
17034 * elf/tst-order-a3.c: New file.
17035 * elf/tst-order-a4.c: New file.
17036 * elf/tst-order-b1.c: New file.
17037 * elf/tst-order-b2.c: New file.
17038 * elf/tst-order-main.c: New file.
17039 New test case by George Gensure <werkt0@gmail.com>.
17040
86e92359
UD
170412010-10-01 Andreas Schwab <schwab@redhat.com>
17042
17043 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
17044 decoding ACE if AI_CANONIDN.
17045
5d5732b0
UD
170462011-01-18 Ulrich Drepper <drepper@gmail.com>
17047
17048 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
17049
a77e8cbc
UD
170502011-01-17 Ulrich Drepper <drepper@gmail.com>
17051
6392473f
UD
17052 * version.h (RELEASE): Bump for 2.13 release.
17053 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
17054
620a0529
UD
17055 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
17056
18ba70a5
UD
17057 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
17058 MADV_NOHUGEPAGE.
32465c3e
UD
17059 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
17060 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
17061 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
17062 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
17063 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
17064 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
17065
c0dafcf1
UD
17066 * posix/getconf.c: Update copyright year.
17067 * catgets/gencat.c: Likewise.
17068 * csu/version.c: Likewise.
17069 * debug/catchsegv.sh: Likewise.
17070 * debug/xtrace.sh: Likewise.
17071 * elf/ldconfig.c: Likewise.
17072 * elf/ldd.bash.in: Likewise.
17073 * elf/sprof.c (print_version): Likewise.
17074 * iconv/iconv_prog.c: Likewise.
17075 * iconv/iconvconfig.c: Likewise.
17076 * locale/programs/locale.c: Likewise.
17077 * locale/programs/localedef.c: Likewise.
17078 * malloc/memusage.sh: Likewise.
17079 * malloc/mtrace.pl: Likewise.
17080 * nscd/nscd.c (print_version): Likewise.
17081 * nss/getent.c: Likewise.
17082
a77e8cbc
UD
17083 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
17084 PF_CAIF, and PF_ALG.
17085 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
17086
77e8bddf
AS
170872011-01-16 Andreas Schwab <schwab@linux-m68k.org>
17088
1f20b93a
AS
17089 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
17090 (modules-names): Use them.
17091 (ifunc-test-modules, ifunc-pie-tests): Define.
17092 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
17093 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
17094 (test-extras): Likewise.
17095 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
17096 $(compile-command.c).
17097 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
17098 (all-built-dso): Define.
17099 (check-textrel.out, check-execstack.out): Depend on it.
17100
77e8bddf
AS
17101 * configure.in: Don't override --enable-multi-arch.
17102
bc425b33
UD
171032011-01-15 Ulrich Drepper <drepper@gmail.com>
17104
17105 [BZ #6812]
17106 * nscd/hstcache.c (tryagain): Define.
17107 (cache_addhst): Return tryagain not notfound for temporary errors.
17108 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
17109 failed.
17110
794c3ad3
UD
171112011-01-14 Ulrich Drepper <drepper@gmail.com>
17112
70181fdd
UD
17113 [BZ #10563]
17114 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
17115 to make the syscall.
17116 * sysdeps/unix/sysv/linux/setgroups.c: New file.
17117
794c3ad3
UD
17118 [BZ #12378]
17119 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
17120 and fall back to matching as normal character if the string ends before
17121 the matching ']' is found. This is what POSIX requires.
17122 * posix/testfnm.c: Adjust test result.
17123 * posix/globtest.sh: Adjust test result. Add new test.
17124 * posix/tst-fnmatch.input: Likewise.
17125 * posix/tst-fnmatch2.c: Add new test.
17126
68dc9497
AS
171272010-12-28 Andreas Schwab <schwab@linux-m68k.org>
17128
17129 * elf/Makefile (check-execstack): Revert last change. Depend on
17130 check-execstack.h.
17131 (check-execstack.h): New target.
17132 (generated): Add check-execstack.h.
17133 * elf/check-execstack.c: Include "check-execstack.h".
17134 (main): Revert last change.
17135 (handle_file): Return zero if GNU_STACK is absent and
17136 DEFAULT_STACK_PERMS doesn't include PF_X.
17137
451f001b
UD
171382011-01-13 Ulrich Drepper <drepper@gmail.com>
17139
cfa28e56
UD
17140 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
17141 in child fails because the descriptor is already closed.
8cf8ce17
UD
17142 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
17143 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
17144 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 17145
1086d70d
UD
17146 [BZ #12397]
17147 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
17148 syscall.
17149
451f001b
UD
17150 [BZ #10484]
17151 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
17152 temporary buffer used to handle multi lookups locally.
a85b5cb4 17153 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 17154
08769175
UD
171552011-01-12 Ulrich Drepper <drepper@gmail.com>
17156
17157 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
17158 loader is ld.so.
17159
5e49c52e
UD
171602011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
17161
17162 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
17163 alignment for SSE2.
17164
60522a5f
UD
171652011-01-12 Ulrich Drepper <drepper@gmail.com>
17166
17167 [BZ #12394]
17168 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
17169 characters. When rounding increased number of integer digits recompute
17170 number of groups.
17171 * stdio-common/tst-grouping.c: New file.
17172 * stdio-common/Makefile: Add rules to build and run tst-grouping.
17173
f257bbd7
UD
171742011-01-09 Ulrich Drepper <drepper@gmail.com>
17175
17176 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
17177 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
17178
17179 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
17180 void.
17181 * bits/select.h: Likewise.
17182
fa9c15cb
UD
171832011-01-08 Ulrich Drepper <drepper@gmail.com>
17184
17185 * po/ja.po: Update from translation team.
17186
16c2895f
DM
171872011-01-04 David S. Miller <davem@sunset.davemloft.net>
17188
17189 [BZ #11155]
17190 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
17191 implementation just like for lxstat, fxstatat, et al.
17192
2543fef2
JM
171932010-12-27 Jim Meyering <meyering@redhat.com>
17194
17195 [BZ #12348]
17196 * posix/regexec.c (build_trtable): Return failure indication upon
17197 calloc failure. Otherwise, re_search_internal could infloop on OOM.
17198
98727dbe
UD
171992010-12-25 Ulrich Drepper <drepper@gmail.com>
17200
5bd6dc5c
UD
17201 [BZ #12201]
17202 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
17203 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
17204 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
17205 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
17206
97983464
UD
17207 [BZ #12207]
17208 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
17209
98727dbe
UD
17210 [BZ #12204]
17211 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
17212 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
17213
4a531bb0
L
172142010-12-15 H.J. Lu <hongjiu.lu@intel.com>
17215
17216 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
17217 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
17218 script has SORT_BY_INIT_PRIORITY.
17219 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
17220 NO_CTORS_DTORS_SECTIONS is defined.
17221 * elf/soinit.c: Likewise.
17222 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
17223 NO_CTORS_DTORS_SECTIONS is defined.
17224 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
17225 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
17226 * sysdeps/sh/init-first.c: Likewise.
17227 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
17228
07eb4b71
UD
172292010-12-24 Ulrich Drepper <drepper@gmail.com>
17230
17231 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
17232 always use the slow path.
17233
30950a5f
RA
172342010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
17235
17236 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
17237 similar rule which adds the sysdep directories to the header search in
17238 order to pick up the correct platform stackinfo.h.
17239 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
17240 perform test if it is, otherwise return successfully without testing.
17241 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
17242 DEFAULT_STACK_PERMS define in stackinfo.h.
17243 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
17244 defined in stackinfo.h.
17245 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
17246 DEFAULT_STACK_PERMS defined in stackinfo.h.
17247 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
17248 * sysdeps/ia64/stackinfo.h: Likewise.
17249 * sysdeps/s390/stackinfo.h: Likewise.
17250 * sysdeps/sh/stackinfo.h: Likewise.
17251 * sysdeps/sparc/stackinfo.h: Likewise.
17252 * sysdeps/x86_64/stackinfo.h: Likewise.
17253 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
17254 PF_X for powerpc64. Retain PF_X for powerpc32.
17255
db753e2c
UD
172562010-12-19 Ulrich Drepper <drepper@gmail.com>
17257
14b697f7
UD
17258 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
17259 accurately.
db753e2c
UD
17260 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
17261 GETDENTS_64BIT_ALIGNED.
17262
28300719
UD
172632010-12-14 Ulrich Drepper <dreper@gmail.com>
17264
14b697f7 17265 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 17266
4f197237
AS
172672010-12-10 Andreas Schwab <schwab@redhat.com>
17268
dbb0472f
AS
17269 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
17270 _GNU_SOURCE.
17271
4f197237
AS
17272 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
17273 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
17274 Remove __restrict.
17275 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
17276 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
17277
fb88ac72
UD
172782010-12-09 Ulrich Drepper <drepper@gmail.com>
17279
17280 [BZ #11655]
17281 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
17282 are initialized.
17283
42acbb92
JJ
172842010-12-09 Jakub Jelinek <jakub@redhat.com>
17285
17286 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
17287
c038d98d
UD
172882010-12-03 Ulrich Drepper <drepper@gmail.com>
17289
17290 * po/it.po: Update from translation team.
17291
3a4a2499
L
172922010-12-01 H.J. Lu <hongjiu.lu@intel.com>
17293
17294 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
17295 unused codes.
17296
1e24cf6e
UD
172972010-11-30 Ulrich Drepper <drepper@gmail.com>
17298
17299 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
17300
a7690819
AS
173012010-11-24 Andreas Schwab <schwab@redhat.com>
17302
17303 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
17304 specially.
17305 (gaih_getanswer_slice): Likewise.
17306
3bf8d1b1
JJ
173072010-10-20 Jakub Jelinek <jakub@redhat.com>
17308
17309 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
17310
6db52fbb
PB
173112010-05-31 Petr Baudis <pasky@suse.cz>
17312
17313 [BZ #11149]
17314 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
17315 silently even in the chroot mode.
17316
eaca7569
UD
173172010-11-22 Ulrich Drepper <drepper@gmail.com>
17318
17319 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
17320 last patch a bit. Pretty printing
17321
3056dcdb
UD
173222010-05-31 Petr Baudis <pasky@suse.cz>
17323
17324 [BZ #10085]
17325 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
17326 initialization of skip_initgroups_dyn.
17327
cf7c9078
UD
173282010-11-19 Ulrich Drepper <drepper@gmail.com>
17329
17330 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
17331 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
17332
a1fb5e3e
UD
173332010-11-16 Ulrich Drepper <drepper@gmail.com>
17334
17335 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
17336
3540d66b
AS
173372010-11-11 Andreas Schwab <schwab@redhat.com>
17338
17339 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
17340 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
17341 (tst-fnmatch-ENV): Set MALLOC_TRACE.
17342 ($(objpfx)tst-fnmatch-mem): New rule.
17343 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
17344 * posix/tst-fnmatch.c (main): Call mtrace.
17345
13b69574
L
173462010-11-11 H.J. Lu <hongjiu.lu@intel.com>
17347
17348 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17349 Support Intel processor model 6 and model 0x2c.
17350
da93d214
LM
173512010-11-10 Luis Machado <luisgpm@br.ibm.com>
17352
17353 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
17354 signed comparison.
17355
8ca52c6e
L
173562010-11-09 H.J. Lu <hongjiu.lu@intel.com>
17357
17358 [BZ #12205]
17359 * string/test-strncasecmp.c (check_result): New function.
17360 (do_one_test): Use it.
17361 (check1): New function.
17362 (test_main): Use it.
17363 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
17364 Support strcasecmp and strncasecmp.
17365
69da074d
UD
173662010-11-08 Ulrich Drepper <drepper@gmail.com>
17367
17368 [BZ #12194]
17369 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
17370 * sysdeps/x86_64/bits/byteswap.h: Likewise.
17371
ff02d528
L
173722010-11-07 H.J. Lu <hongjiu.lu@intel.com>
17373
17374 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
17375 IFUNC support.
17376 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17377 memset-x86-64.
17378 * sysdeps/x86_64/multiarch/bzero.S: New file.
17379 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
17380 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
17381 * sysdeps/x86_64/multiarch/memset.S: New file.
17382 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
17383 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17384 Set bit_Prefer_SSE_for_memop for Intel processors.
17385 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
17386 Define.
17387 (index_Prefer_SSE_for_memop): Define.
17388 (HAS_PREFER_SSE_FOR_MEMOP): Define.
17389
344d0b54
LM
173902010-11-04 Luis Machado <luisgpm@br.ibm.com>
17391
17392 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
17393 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
17394
c0dde15b
UD
173952010-11-03 H.J. Lu <hongjiu.lu@intel.com>
17396
17397 [BZ #12191]
17398 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
17399 (__x86_64_raw_data_cache_size_half): Likewise.
17400 (__x86_64_raw_shared_cache_size): Likewise.
17401 (__x86_64_raw_shared_cache_size_half): Likewise.
17402
17403 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
17404 (__x86_64_raw_data_cache_size_half): Likewise.
17405 (__x86_64_raw_shared_cache_size): Likewise.
17406 (__x86_64_raw_shared_cache_size_half): Likewise.
17407 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
17408 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
17409 and __x86_64_raw_shared_cache_size_half. Round
17410 __x86_64_data_cache_size_half, __x86_64_data_cache_size
17411 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
17412 to multiple of 256 bytes.
17413
0e516e0e
MS
174142010-11-03 Ulrich Drepper <drepper@gmail.com>
17415
17416 [BZ #12167]
17417 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
17418 of inacessible symlinks. Verify result of symlink before returning it.
17419 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
17420 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
17421
0e012e87
ER
174222010-10-28 Erich Ritz <erichritz@gmail.com>
17423
17424 * math/math.h (isinf): Fix typo in comment.
17425
de0ff7bc
UD
174262010-11-01 Ulrich Drepper <drepper@gmail.com>
17427
17428 * po/da.po: Update from translation team.
17429
fa41c84d
UD
174302010-10-26 Ulrich Drepper <drepper@gmail.com>
17431
17432 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
17433 is added to the list.
17434
f0967738
AK
174352010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17436 Ulrich Drepper <drepper@gmail.com>
17437
17438 * elf/dl-object.c (_dl_new_object): Don't append the new object to
17439 the global list here. Move code to...
17440 (_dl_add_to_namespace_list): ...here. New function.
17441 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
17442 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
17443 * elf/dl-load.c (lose): Don't remove the element from the list.
17444 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
17445 (_dl_map_object): Likewise.
17446
174472010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
17448
17449 [BZ #12159]
17450 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
17451 into all bytes of SSE register.
17452 Patch by Richard Li <richardpku@gmail.com>.
17453
f0967738 174542010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
17455
17456 [BZ #12140]
17457 * malloc/malloc.c (_int_free): Fill correct number of bytes when
17458 perturbing.
17459
d0b9e94f
MB
174602010-10-20 Michael B. Brutman <brutman@us.ibm.com>
17461
17462 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
17463 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
17464 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
17465 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
17466 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
17467 submachine.
17468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
17469
8e9f92e9
AS
174702010-10-22 Andreas Schwab <schwab@redhat.com>
17471
17472 * include/dlfcn.h (__RTLD_SECURE): Define.
17473 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
17474 mode & __RTLD_SECURE instead.
17475 (open_path): Rename preloaded parameter to secure.
17476 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
17477 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
17478 * elf/dl-deps.c (openaux): Likewise.
17479 * elf/rtld.c (struct map_args): Remove is_preloaded.
17480 (map_doit): Don't use it.
17481 (dl_main): Likewise.
17482 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
17483 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
17484
bc96fbda
AS
174852010-09-09 Andreas Schwab <schwab@redhat.com>
17486
17487 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
17488 (sysd-rules-targets): Remove duplicates.
17489 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
17490 rtld-%.$o dependency.
17491
22cd1c9b
AS
174922010-10-18 Andreas Schwab <schwab@redhat.com>
17493
17494 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
17495 _dl_map_object do it.
17496
18edac48
UD
174972010-10-19 Ulrich Drepper <drepper@gmail.com>
17498
17499 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
17500 fast fma builtins, define the macros in the C99 standard.
17501 (FP_FAST_FMAF): Likewise.
17502 (FP_FAST_FMAL): Likewise.
17503 * sysdeps/x86_64/bits/mathdef.h: Likewise.
17504
17505 * bits/mathdef.h: Update copyright year.
17506 * sysdeps/powerpc/bits/mathdef.h: Likewise.
17507
d2050124
MM
175082010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
17509
17510 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
17511 builtins, define the macros in the C99 standard.
17512 (FP_FAST_FMAF): Likewise.
17513 (FP_FAST_FMAL): Likewise.
17514 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
17515 multiply/add.
17516 (FP_FAST_FMAF): Likewise.
17517
475facd1
JJ
175182010-10-15 Jakub Jelinek <jakub@redhat.com>
17519
17520 [BZ #3268]
17521 * math/libm-test.inc (fma_test): Some new testcases.
17522 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
17523 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
17524 y and infinite z. Do multiplication by C already in long double.
17525 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
17526 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
17527 y and infinite z. Do bitwise or of inexact bit into u.d.
17528 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
17529 * sysdeps/i386/fpu/s_fmaf.S: Removed.
17530 * sysdeps/i386/fpu/s_fma.S: Removed.
17531 * sysdeps/i386/fpu/s_fmal.S: Removed.
17532
7c08a05c
JJ
175332010-10-16 Jakub Jelinek <jakub@redhat.com>
17534
17535 [BZ #3268]
17536 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
17537 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
17538 computation is not scheduled after fetestexcept. Fix value
17539 of minimum denormal long double.
17540
f3f7372d
JJ
175412010-10-14 Jakub Jelinek <jakub@redhat.com>
17542
17543 [BZ #3268]
17544 * math/libm-test.inc (fma_test): Add some more tests.
17545 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
17546 correctly.
17547
14d43591
AS
175482010-10-15 Andreas Schwab <schwab@redhat.com>
17549
17550 * scripts/data/localplt-s390-linux-gnu.data: New file.
17551 * scripts/data/localplt-s390x-linux-gnu.data: New file.
17552
5e908464
JJ
175532010-10-13 Jakub Jelinek <jakub@redhat.com>
17554
17555 [BZ #3268]
17556 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
17557 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
17558 instead of dbl-64.
17559 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
17560 inlines.
17561 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
17562 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
17563 if one of x and y is very large and the other is subnormal.
17564 * sysdeps/s390/fpu/s_fmaf.c: New file.
17565 * sysdeps/s390/fpu/s_fma.c: New file.
17566 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
17567 * sysdeps/powerpc/fpu/s_fma.S: New file.
17568 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
17569 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
17570 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
17571
175722010-10-12 Jakub Jelinek <jakub@redhat.com>
17573
17574 [BZ #3268]
17575 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
17576 fma tests.
17577 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
17578 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
17579 * sysdeps/i386/i686/multiarch/s_fma.c: Include
17580 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
17581 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
17582 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
17583 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
17584
b833d51f
UD
175852010-10-12 Ulrich Drepper <drepper@redhat.com>
17586
17587 [BZ #12078]
17588 * posix/regcomp.c (parse_branch): One more memory leak plugged.
17589 * posix/bug-regex31.input: Add test case.
17590
1751705d
UD
175912010-10-11 Ulrich Drepper <drepper@gmail.com>
17592
e9b9cbf5
UD
17593 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
17594 * posix/bug-regex31.input: New file.
17595
17596 [BZ #12078]
17597 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
17598 (parse_sub_exp): Fix last change, use postorder.
17599
ef06edbe
UD
17600 * posix/bug-regex31.c: New file.
17601 * posix/Makefile: Add rules to build and run bug-regex31.
17602
a129c80d
UD
17603 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
17604
17605 [BZ #12078]
17606 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
17607
b76b818e
UD
17608 [BZ #12108]
17609 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
17610 to have entries in sys_siglist.
17611
1751705d
UD
17612 [BZ #12093]
17613 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
17614 be NULL.
17615
9ff8d36f
JJ
176162010-10-07 Jakub Jelinek <jakub@redhat.com>
17617
17618 [BZ #3268]
17619 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
17620 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
17621 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
17622 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
17623 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
17624 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
17625 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
17626 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
17627 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
17628 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
17629 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
17630 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
17631 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
17632 * math/ftestexcept.c (fetestexcept): Likewise.
17633 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
17634 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
17635 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
17636 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
17637 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
17638 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
17639 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
17640
af325969
UD
176412010-10-11 Ulrich Drepper <drepper@gmail.com>
17642
c579b202 17643 [BZ #12107]
af325969
UD
17644 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
17645 newline.
17646
67a67b95
UD
176472010-10-06 Ulrich Drepper <drepper@gmail.com>
17648
17649 * string/bug-strstr1.c: New file.
17650 * string/Makefile: Add rules to build and run bug-strstr1.
17651
5fb308bc
EB
176522010-10-05 Eric Blake <eblake@redhat.com>
17653
17654 [BZ #12092]
17655 * string/str-two-way.h (two_way_long_needle): Always clear memory
17656 when skipping input due to the shift table.
17657
45db99c7
UD
176582010-10-03 Ulrich Drepper <drepper@gmail.com>
17659
3b111893
UD
17660 [BZ #12005]
17661 * malloc/mcheck.c: Handle large requests.
17662
45db99c7
UD
17663 [BZ #12077]
17664 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
17665 for strncmp and strncasecmp.
17666 * string/stratcliff.c: Add tests for strcmp and strncmp.
17667 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
17668
cf7a1eb8
NI
176692010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17670
17671 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
17672 __set_fpscr.
17673
6484ba5e
AJ
176742010-09-30 Andreas Jaeger <aj@suse.de>
17675
17676 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
17677 (CGROUP_SUPER_MAGIC): Define.
17678 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
17679 Handle btrfs and cgroup file systems.
17680 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
17681 Likewise.
17682
91c42559
LM
176832010-09-27 Luis Machado <luisgpm@br.ibm.com>
17684
17685 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
17686 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
17687
87a97932
AK
176882010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17689
17690 [BZ #12067]
17691 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
17692 trying to locate the ELF header.
17693
c21cc9bc
AS
176942010-09-27 Andreas Schwab <schwab@redhat.com>
17695
17696 [BZ #11611]
17697 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
17698 Mask out sign-bit copies when constructing f_fsid.
17699
315970f6
PB
177002010-09-24 Petr Baudis <pasky@suse.cz>
17701
17702 * debug/stack_chk_fail_local.c: Add missing licence exception.
17703 * debug/warning-nop.c: Likewise.
17704
1ac7a2c7
JM
177052010-09-15 Joseph Myers <joseph@codesourcery.com>
17706
17707 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
17708 implementing getdents64 using getdents syscall, set d_type if
17709 __ASSUME_GETDENTS32_D_TYPE.
17710
56801c50
AS
177112010-09-16 Andreas Schwab <schwab@redhat.com>
17712
17713 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
17714 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
17715
dda51327
UD
177162010-09-21 Ulrich Drepper <drepper@redhat.com>
17717
17718 [BZ #12037]
17719 * posix/unistd.h: Undo change of feature selection for ftruncate from
17720 2010-01-11.
17721
8ffcee4a
UD
177222010-09-20 Ulrich Drepper <drepper@redhat.com>
17723
a545ecd9 17724 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
17725 detection.
17726
e24f0a8b
AS
177272010-09-20 Andreas Schwab <schwab@redhat.com>
17728
17729 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
17730 fanotify_mark.
17731 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
17732
7291c56f
AS
177332010-09-14 Andreas Schwab <schwab@redhat.com>
17734
17735 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
17736 variables after CHECK_SP call.
17737 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
17738
bc5fb037
AS
177392010-09-13 Andreas Schwab <schwab@redhat.com>
17740 Ulrich Drepper <drepper@redhat.com>
17741
17742 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
17743 re-relocationg ld.so.
17744 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
17745 _dl_init_paths call.
17746 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
17747 here anymore.
17748
e66e7419
UD
177492010-09-14 Ulrich Drepper <drepper@redhat.com>
17750
17751 * resolv/res_init.c (__res_vinit): Count the default server we added.
17752
c044aa75
CLT
177532010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
17754 Ulrich Drepper <drepper@redhat.com>
17755
17756 [BZ #11968]
17757 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
17758 (____longjmp_chk): Use %ebx for saving value across system call.
17759 Add unwind info.
17760
32cf4069
AS
177612010-09-06 Andreas Schwab <schwab@redhat.com>
17762
17763 * manual/Makefile: Don't mix pattern rules with normal rules.
17764
817328ee
AS
177652010-09-05 Andreas Schwab <schwab@linux-m68k.org>
17766
17767 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
17768 operation.
17769 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
17770 * libio/iofopncook.c (_IO_cookie_init): Likewise.
17771 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
17772 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
17773 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
17774 Likewise.
17775
29fddf61
UD
177762010-09-04 Ulrich Drepper <drepper@redhat.com>
17777
17778 [BZ #11979]
17779 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
17780 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
17781
0959ffc9
UD
177822010-09-02 Ulrich Drepper <drepper@redhat.com>
17783
17784 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
17785 * sysdeps/x86_64/addmul_1.S: Likewise.
17786 * sysdeps/x86_64/lshift.S: Likewise.
17787 * sysdeps/x86_64/mul_1.S: Likewise.
17788 * sysdeps/x86_64/rshift.S: Likewise.
17789 * sysdeps/x86_64/sub_n.S: Likewise.
17790 * sysdeps/x86_64/submul_1.S: Likewise.
17791
ece29840
ST
177922010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
17793
0959ffc9
UD
17794 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
17795 Define __sched_param instead of SCHED_* and sched_param when
ece29840 17796 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 17797 * bits/sched.h [__need_schedparam]
ece29840 17798 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
17799 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
17800 (__defined_schedparam): Define to 1.
ece29840
ST
17801 (__sched_param): New structure, identical to sched_param.
17802 (__need_schedparam): Undefine.
17803
e53a31fe
MF
178042010-08-31 Mike Frysinger <vapier@gentoo.org>
17805
fdc0c10d
MF
17806 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
17807 (epoll_create1): Declare.
17808
e53a31fe
MF
17809 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
17810
a726d796
AS
178112010-08-31 Andreas Schwab <schwab@redhat.com>
17812
17813 [BZ #7066]
17814 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
17815 shifting retval into place.
17816
2f3e3dc7
UD
178172010-09-01 Ulrich Drepper <drepper@redhat.com>
17818
f2933da9
UD
17819 * nis/rpcsvc/nis.h: Update copyright notice.
17820 * nis/rpcsvc/nis.x: Likewise.
17821 * nis/rpcsvc/nis_callback.h: Likewise.
17822 * nis/rpcsvc/nis_callback.x: Likewise.
17823 * nis/rpcsvc/nis_object.x: Likewise.
17824 * nis/rpcsvc/nis_tags.h: Likewise.
17825 * nis/rpcsvc/yp.h: Likewise.
17826 * nis/rpcsvc/yp.x: Likewise.
17827 * nis/rpcsvc/ypupd.h: Likewise.
17828 * nis/yp_xdr.c: Likewise.
17829 * nis/ypupdate_xdr.c: Likewise.
17830
2f3e3dc7
UD
17831 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
17832 mainly the body of pmap_getport. Add parameters to specify timeouts.
17833 (pmap_getport): Use __libc_rpc_getport.
17834 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
17835 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
17836 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
17837
f3dcc2f9
AS
178382010-08-31 Andreas Schwab <schwab@linux-m68k.org>
17839
17840 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
17841 fanotify_mark.
17842
6d34eb5b
RM
178432010-08-27 Roland McGrath <roland@redhat.com>
17844
17845 * sysdeps/i386/i686/multiarch/Makefile
17846 (CFLAGS-varshift.c): New variable.
17847
9ea3de11
UD
178482010-08-27 Ulrich Drepper <drepper@redhat.com>
17849
c96d23fc
UD
17850 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
17851 * sysdeps/i386/i686/multiarch/varshift.c: New file.
17852
9ea3de11
UD
17853 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
17854
17855 * sysdeps/x86_64/strlen.S: Minimal code improvement.
17856
623aac7f
L
178572010-08-26 H.J. Lu <hongjiu.lu@intel.com>
17858
17859 * sysdeps/x86_64/strlen.S: Unroll the loop.
17860 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17861 strlen-sse2 strlen-sse2-bsf.
17862 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
17863 __strlen_no_bsf if bit_Slow_BSF is set.
17864 (__strlen_sse42): Removed.
17865 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
17866 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
17867
8b2b7715
RM
178682010-08-25 Roland McGrath <roland@redhat.com>
17869
17870 * sysdeps/x86_64/multiarch/varshift.S: File removed.
17871 * sysdeps/x86_64/multiarch/varshift.c: New file.
17872 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
17873 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
17874 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
17875 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
17876
e73015f2
L
178772010-08-25 H.J. Lu <hongjiu.lu@intel.com>
17878
17879 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17880 strlen-sse2 strlen-sse2-bsf.
17881 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
17882 __strlen_sse2_bsf if bit_Slow_BSF is unset.
17883 (__strlen_sse2): Removed.
17884 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
17885 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
17886 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
17887 bit_Slow_BSF for Atom.
17888 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
17889 (index_Slow_BSF): Define.
17890 (HAS_SLOW_BSF): Define.
17891
df24a73e
UD
178922010-08-25 Ulrich Drepper <drepper@redhat.com>
17893
17894 [BZ #10851]
17895 * resolv/res_init.c (__res_vinit): When no server address at all
17896 is given default to loopback.
17897
f2ac4868
RM
178982010-08-24 Roland McGrath <roland@redhat.com>
17899
09055553
RM
17900 * configure.in: Remove config-name.h generation.
17901 * configure: Regenerated.
17902 * config-name.in: File removed.
17903 * scripts/config-uname.sh: New file.
17904 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
17905 ($(objdir)config-name.h): New target.
17906
f2ac4868
RM
17907 * sunrpc/rpc_parse.h: Avoid nested comment.
17908
73f27d5e
RH
179092010-08-24 Richard Henderson <rth@redhat.com>
17910 Ulrich Drepper <drepper@redhat.com>
17911 H.J. Lu <hongjiu.lu@intel.com>
17912
17913 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
17914 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
17915 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
17916 Replace _mm_srli_si128 with __m128i_shift_right. Replace
17917 _mm_alignr_epi8 with _mm_loadu_si128.
17918 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
17919 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
17920 (__m128i_shift_right): Removed.
17921 * sysdeps/i386/i686/multiarch/varshift.h: New file.
17922 * sysdeps/i386/i686/multiarch/varshift.S: New file.
17923 * sysdeps/x86_64/multiarch/varshift.h: New file.
17924 * sysdeps/x86_64/multiarch/varshift.S: New file.
17925
84b9230c
MF
179262010-08-21 Mike Frysinger <vapier@gentoo.org>
17927
17928 * configure.in: Move assembler checks to before sysdep dir checking.
17929
9bbd0ddc
PB
179302010-08-20 Petr Baudis <pasky@suse.cz>
17931
17932 * LICENSES: Sync the sunrpc license.
17933
9da4bb31
UD
179342010-08-19 Ulrich Drepper <drepper@redhat.com>
17935
a7ab6ec8
UD
17936 * sunrpc/auth_des.c: Update copyright notice once again.
17937 * sunrpc/auth_none.c: Likewise.
17938 * sunrpc/auth_unix.c: Likewise.
17939 * sunrpc/authdes_prot.c: Likewise.
17940 * sunrpc/authuxprot.c: Likewise.
17941 * sunrpc/bindrsvprt.c: Likewise.
17942 * sunrpc/clnt_gen.c: Likewise.
17943 * sunrpc/clnt_perr.c: Likewise.
17944 * sunrpc/clnt_raw.c: Likewise.
17945 * sunrpc/clnt_simp.c: Likewise.
17946 * sunrpc/clnt_tcp.c: Likewise.
17947 * sunrpc/clnt_udp.c: Likewise.
17948 * sunrpc/clnt_unix.c: Likewise.
17949 * sunrpc/des_crypt.c: Likewise.
17950 * sunrpc/des_soft.c: Likewise.
17951 * sunrpc/get_myaddr.c: Likewise.
17952 * sunrpc/getrpcport.c: Likewise.
17953 * sunrpc/key_call.c: Likewise.
17954 * sunrpc/key_prot.c: Likewise.
17955 * sunrpc/openchild.c: Likewise.
17956 * sunrpc/pm_getmaps.c: Likewise.
17957 * sunrpc/pm_getport.c: Likewise.
17958 * sunrpc/pmap_clnt.c: Likewise.
17959 * sunrpc/pmap_prot.c: Likewise.
17960 * sunrpc/pmap_prot2.c: Likewise.
17961 * sunrpc/pmap_rmt.c: Likewise.
17962 * sunrpc/rpc/auth.h: Likewise.
17963 * sunrpc/rpc/auth_unix.h: Likewise.
17964 * sunrpc/rpc/clnt.h: Likewise.
17965 * sunrpc/rpc/des_crypt.h: Likewise.
17966 * sunrpc/rpc/key_prot.h: Likewise.
17967 * sunrpc/rpc/netdb.h: Likewise.
17968 * sunrpc/rpc/pmap_clnt.h: Likewise.
17969 * sunrpc/rpc/pmap_prot.h: Likewise.
17970 * sunrpc/rpc/pmap_rmt.h: Likewise.
17971 * sunrpc/rpc/rpc.h: Likewise.
17972 * sunrpc/rpc/rpc_des.h: Likewise.
17973 * sunrpc/rpc/rpc_msg.h: Likewise.
17974 * sunrpc/rpc/svc.h: Likewise.
17975 * sunrpc/rpc/svc_auth.h: Likewise.
17976 * sunrpc/rpc/types.h: Likewise.
17977 * sunrpc/rpc/xdr.h: Likewise.
17978 * sunrpc/rpc_clntout.c: Likewise.
17979 * sunrpc/rpc_cmsg.c: Likewise.
17980 * sunrpc/rpc_common.c: Likewise.
17981 * sunrpc/rpc_cout.c: Likewise.
17982 * sunrpc/rpc_dtable.c: Likewise.
17983 * sunrpc/rpc_hout.c: Likewise.
17984 * sunrpc/rpc_main.c: Likewise.
17985 * sunrpc/rpc_parse.c: Likewise.
17986 * sunrpc/rpc_parse.h: Likewise.
17987 * sunrpc/rpc_prot.c: Likewise.
17988 * sunrpc/rpc_sample.c: Likewise.
17989 * sunrpc/rpc_scan.c: Likewise.
17990 * sunrpc/rpc_scan.h: Likewise.
17991 * sunrpc/rpc_svcout.c: Likewise.
17992 * sunrpc/rpc_tblout.c: Likewise.
17993 * sunrpc/rpc_util.c: Likewise.
17994 * sunrpc/rpc_util.h: Likewise.
17995 * sunrpc/rpcinfo.c: Likewise.
17996 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
17997 * sunrpc/rpcsvc/key_prot.x: Likewise.
17998 * sunrpc/rpcsvc/klm_prot.x: Likewise.
17999 * sunrpc/rpcsvc/mount.x: Likewise.
18000 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
18001 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
18002 * sunrpc/rpcsvc/rex.x: Likewise.
18003 * sunrpc/rpcsvc/rstat.x: Likewise.
18004 * sunrpc/rpcsvc/rusers.x: Likewise.
18005 * sunrpc/rpcsvc/sm_inter.x: Likewise.
18006 * sunrpc/rpcsvc/spray.x: Likewise.
18007 * sunrpc/rpcsvc/yppasswd.x: Likewise.
18008 * sunrpc/rtime.c: Likewise.
18009 * sunrpc/svc.c: Likewise.
18010 * sunrpc/svc_auth.c: Likewise.
18011 * sunrpc/svc_authux.c: Likewise.
18012 * sunrpc/svc_raw.c: Likewise.
18013 * sunrpc/svc_run.c: Likewise.
18014 * sunrpc/svc_simple.c: Likewise.
18015 * sunrpc/svc_tcp.c: Likewise.
18016 * sunrpc/svc_udp.c: Likewise.
18017 * sunrpc/svc_unix.c: Likewise.
18018 * sunrpc/svcauth_des.c: Likewise.
18019 * sunrpc/xcrypt.c: Likewise.
18020 * sunrpc/xdr.c: Likewise.
18021 * sunrpc/xdr_array.c: Likewise.
18022 * sunrpc/xdr_float.c: Likewise.
18023 * sunrpc/xdr_mem.c: Likewise.
18024 * sunrpc/xdr_rec.c: Likewise.
18025 * sunrpc/xdr_ref.c: Likewise.
18026 * sunrpc/xdr_sizeof.c: Likewise.
18027 * sunrpc/xdr_stdio.c: Likewise.
18028
9da4bb31
UD
18029 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
18030 handling.
18031
bdaa77bc
AS
180322010-08-19 Andreas Schwab <schwab@redhat.com>
18033
18034 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
18035
fe2f79db
LM
180362010-08-19 Luis Machado <luisgpm@br.ibm.com>
18037
18038 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
18039 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
18040 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
18041 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
18042 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
18043 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
18044 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
18045 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
18046 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
18047 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
18048 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
18049 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
18050 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
18051 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
18052
b9b42ee0
AB
180532010-07-26 Anton Blanchard <anton@samba.org>
18054
18055 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
18056 * malloc/arena.c (heap_trim): Likewise.
18057
1c06ba31
UD
180582010-08-16 Ulrich Drepper <drepper@redhat.com>
18059
18060 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
18061 here. Not...
18062 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
18063 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
18064
f8392f40
L
180652010-08-12 H.J. Lu <hongjiu.lu@intel.com>
18066
18067 * sysdeps/i386/elf/Makefile: New file.
18068
3162f12e
AS
180692010-08-14 Andreas Schwab <schwab@linux-m68k.org>
18070
18071 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
18072 from fanotify_init.
18073 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
18074 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
18075
28c90b2c
UD
180762010-08-15 Ulrich Drepper <drepper@redhat.com>
18077
18078 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
18079 of strncasecmp_l.
1feccb6c 18080 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 18081
ca6bb004
UD
180822010-08-14 Ulrich Drepper <drepper@redhat.com>
18083
e9f82e0d
UD
18084 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
18085 strncase_l-nonascii.
18086 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
18087 Add strncase_l-ssse3.
18088 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
18089 * sysdeps/x86_64/strcmp.S: Likewise.
18090 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
18091 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
18092 * sysdeps/x86_64/strncase.S: New file.
18093 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
18094 * sysdeps/x86_64/strncase_l.S: New file.
18095 * string/Makefile (strop-tests): Add strncasecmp.
18096 * string/test-strncasecmp.c: New file.
18097
18098 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
18099 warning.
18100
ca6bb004
UD
18101 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
18102 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
18103
052fa7b3
AS
181042010-08-14 Andreas Schwab <schwab@linux-m68k.org>
18105
18106 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
18107
962dba78
UD
181082010-08-12 Ulrich Drepper <drepper@redhat.com>
18109
18110 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
18111 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
18112 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
18113
bebff237
AM
181142010-05-01 Alan Modra <amodra@gmail.com>
18115
18116 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
18117 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
18118 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
18119 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
18120 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
18121 tidying. Don't tail-call __sigjmp_save for static lib.
18122 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
18123 save location.
18124 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
18125 (CALL_MCOUNT): Add eh info, and nop after bl.
18126 (TAIL_CALL_SYSCALL_ERROR): New macro.
18127 (PSEUDO_RET): Use it.
18128 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
18129 Correct save location of integer regs and cr.
18130 (_dl_profile_resolve): Correct cr save location. Delete nops
18131 after bl when SHARED. Reduce cfi size a little by better
18132 placement of cfi directives.
18133 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
18134 make a stack frame. Instead use parm save area as a temp.
18135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
18136 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
18137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
18138 Don't make a stack frame for parent, use parm save area.
18139 Increase child stack frame to 112 bytes. Don't save unused reg,
18140 and adjust reg usage. Set up cfi on error recovery and
18141 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
18142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
18143 (__makecontext): Add dummy nop after jump to exit.
18144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
18145 Use correct parm save area and cr save, reduce stack frame.
18146 Correct cfi for possible PSEUDO_RET frame setup.
18147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
18148 Branch to local label emitted by PSEUDO_RET rather than
18149 __syscall_error.
18150
02637374
AS
181512010-08-12 Andreas Schwab <schwab@redhat.com>
18152
18153 [BZ #11904]
18154 * locale/programs/locale.c (print_assignment): New function.
18155 (show_locale_vars): Use it.
18156
c3e2f19b
UD
181572010-08-11 Ulrich Drepper <drepper@redhat.com>
18158
3cdaa6ad
UD
18159 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
18160 field.
18161 (struct statfs64): Likewise.
18162 (_STATFS_F_FLAGS): Define.
18163 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
18164 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
18165 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
18166 (ST_VALID): Define locally.
18167 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
18168 __statvfs_getflags, use the provided value.
18169 * sysdeps/unix/sysv/linux/kernel-features.h: Define
18170 __ASSUME_STATFS_F_FLAGS.
18171
754f7da3
UD
18172 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
18173
10b3bedc
UD
18174 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
18175 Add sys/fanotify.h.
18176 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
18177 fanotify_mask for GLIBC_2.13.
18178 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
18179 fanotify_init and fanotify_mark.
18180 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
18181 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
18182
c08fb0d7
UD
18183 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
18184 Add prlimit.
18185 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
18186 prlimit64 for GLIBC_2.13.
18187 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
18188 prlimit64.
18189 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
18190 syscall.
18191 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
18192 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
18193 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
18194 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
18195 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
18196 add prlimit alias.
18197 * sysdeps/unix/sysv/linux/prlimit.c: New file.
18198
15bac72b
UD
18199 [BZ #11903]
18200 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
18201 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
18202
c3e2f19b
UD
18203 * nss/Makefile: Add rules to build and run tst-nss-test1.
18204 * shlib-versions: Add entry for libnss_test1.
18205 * nss/nss_test1.c: New file.
18206 * nss/tst-nss-test1.c: New file.
18207
18208 * nss/nsswitch.c (__nss_database_custom): Define new variable.
18209 (__nss_configure_lookup): Set appropriate entry in
18210 __nss_configure_lookup to true.
18211 * nss/nsswitch.h: Define enum with indeces of databases in
18212 databases and __nss_database_custom arrays. Declare
18213 __nss_database_custom.
18214 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
18215 to avoid using nscd when custom rules are installed.
18216 * nss/getXXbyYY_r.c: Likewise.
18217 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
18218
18219 * nss/nss_files/files-parse.c: Whitespace fixes.
18220
f15ce4d8
UD
182212010-08-09 Ulrich Drepper <drepper@redhat.com>
18222
18223 [BZ #11883]
18224 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
18225 * posix/fnmatch_loop.c: Likewise.
18226
d22e4cc9
AK
182272010-07-17 Andi Kleen <ak@linux.intel.com>
18228
18229 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
18230 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
18231 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
18232 * Versions.def [GLIBC_2.13]: Add.
18233
805bc17d
UD
182342010-08-06 Ulrich Drepper <drepper@redhat.com>
18235
18236 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
18237 Also fail if tpwd after pwuid call is NULL.
18238
5a42321d
ST
182392010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
18240
18241 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
18242 when converting to ms.
18243
fd3ebeda
ST
182442010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
18245
18246 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
18247 EOPNOTSUPP errors with ENOTTY.
18248 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
18249 EOPNOTSUPP errors with ENOTTY.
18250
73507d3a
UD
182512010-07-31 Ulrich Drepper <drepper@redhat.com>
18252
18253 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
18254 Add strcasecmp_l-ssse3.
18255 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
18256 strcasecmp.
18257 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
18258 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
18259 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
18260
fe36dd02
UD
182612010-07-30 Ulrich Drepper <drepper@redhat.com>
18262
66f6765a
UD
18263 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
18264
42e08a54
UD
18265 * string/Makefile (strop-tests): Add strcasecmp.
18266 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
18267 strcasecmp_l-nonascii.
18268 (gen-as-const-headers): Add locale-defines.sym.
18269 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
18270 * sysdeps/x86_64/strcasecmp.S: New file.
18271 * sysdeps/x86_64/strcasecmp_l.S: New file.
18272 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
18273 * sysdeps/x86_64/locale-defines.sym: New file.
18274 * string/test-strcasecmp.c: New file.
18275
fe36dd02
UD
18276 * string/test-strcasestr.c: Test both ends of the range of characters.
18277 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
18278
48cbc0d6
RM
182792010-07-29 Roland McGrath <roland@redhat.com>
18280
76e6d6bc 18281 [BZ #11856]
48cbc0d6
RM
18282 * manual/locale.texi (Yes-or-No Questions): Fix example code.
18283
880113d9
UD
182842010-07-27 Ulrich Drepper <drepper@redhat.com>
18285
18286 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
18287 for ld.so.
18288
deb9cabb
AS
182892010-07-27 Andreas Schwab <schwab@redhat.com>
18290
18291 * manual/memory.texi (Malloc Tunable Parameters): Document
18292 M_PERTURB.
18293
1c7570ff
RM
182942010-07-26 Roland McGrath <roland@redhat.com>
18295
18296 [BZ #11840]
18297 * configure.in (-fgnu89-inline check): Set and substitute
18298 gnu89_inline, not libc_cv_gnu89_inline.
18299 * configure: Regenerated.
18300 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
18301
24fb0f88
UD
183022010-07-26 Ulrich Drepper <drepper@redhat.com>
18303
18304 * string/test-strnlen.c: New file.
18305 * string/Makefile (strop-tests): Add strnlen.
18306 * string/tester.c (test_strnlen): Add a few more test cases.
18307 * string/tst-strlen.c: Better error reporting.
18308
18309 * sysdeps/x86_64/strnlen.S: New file.
18310
8e96b93a
UD
183112010-07-24 Ulrich Drepper <drepper@redhat.com>
18312
18313 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
18314 lower-latency instructions.
18315
dbc676d4
UD
183162010-07-23 Ulrich Drepper <drepper@redhat.com>
18317
18318 * string/test-strcasestr.c: New file.
18319 * string/test-strstr.c: New file.
18320 * string/Makefile (strop-tests): Add strstr and strcasestr.
18321 * string/str-two-way.h: Don't undefine MAX.
18322 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
18323
f6a31e0e
AS
183242010-07-21 Andreas Schwab <schwab@redhat.com>
18325
18326 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18327 strcasestr-nonascii.
18328 (CFLAGS-strcasestr-nonascii.c): Define.
18329 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
18330 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
18331 Remove unused attribute.
18332
5dbc3b6c
RM
183332010-07-20 Roland McGrath <roland@redhat.com>
18334
18335 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
18336 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
18337 ld.so.cache was broken. With it, there is no way to disable dsocaps
18338 like LD_HWCAP_MASK can disable hwcaps.
18339
23d101d8
EPM
183402010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
18341
18342 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
18343
cc9f2e47
UD
183442010-07-16 Ulrich Drepper <drepper@redhat.com>
18345
18346 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
18347 call in strcasestr.
18348 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
18349 __strcasestr_sse42_nonascii.
18350 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
18351 strcasestr-nonascii.c.
18352 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
18353
77c1b069
LM
183542010-06-15 Luis Machado <luisgpm@br.ibm.com>
18355
18356 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
18357 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
18358 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
18359 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
18360
440566c3
UD
183612010-07-09 Ulrich Drepper <drepper@redhat.com>
18362
18363 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
18364 fcntl.
18365
5be9d05d
AS
183662010-07-06 Andreas Schwab <schwab@redhat.com>
18367
c30b7ee2 18368 [BZ #11577]
5be9d05d
AS
18369 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
18370 dl_signal_cerror.
18371
8a492a67
UD
183722010-07-06 Ulrich Drepper <drepper@redhat.com>
18373
18374 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
18375 _PC_PIPE_BUF using F_GETPIPE_SZ.
18376
713df3d5
RM
183772010-07-05 Roland McGrath <roland@redhat.com>
18378
18379 * manual/arith.texi (Rounding Functions): Fix rint description
18380 implicit in round description.
18381
702e8f14
UD
183822010-07-02 Ulrich Drepper <drepper@redhat.com>
18383
18384 * elf/Makefile: Fix linking for a few tests to make recent linker
18385 happy.
18386
52ed8be9
AS
183872010-06-30 Andreas Schwab <schwab@redhat.com>
18388
18389 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
18390 $(common-objpfx)libc_nonshared.a.
18391
f47c9a11
LM
183922010-06-21 Luis Machado <luisgpm@br.ibm.com>
18393
18394 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
18395 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
18396 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
18397 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
18398 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
18399 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
18400 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
18401 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
18402 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
18403 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
18404 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
18405 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
18406 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
18407 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
18408 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
18409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
18410 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
18411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
18412 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
18413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
18414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
18415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
18416 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
18417 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
18418 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
18419 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
18420 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
18421 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
18422 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
18423 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
18424 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
18425 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
18426 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
18427 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
18428 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
18429 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
18430 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
18431 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
18432 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
18433 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
18434 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
18435 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
18436 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
18437 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
18438 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
18439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
18440 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
18441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
18442
6fb8cbcb
L
184432010-06-25 H.J. Lu <hongjiu.lu@intel.com>
18444
18445 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
18446 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
18447 * string/memmove.c (memmove): Renamed to ...
18448 (MEMMOVE): ...this. Default to memmove.
18449 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
18450 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
18451 (END_CHK): Define.
18452 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18453 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
18454 mempcpy-ssse3-back memmove-ssse3-back.
18455 * sysdeps/x86_64/multiarch/bcopy.S: New file .
18456 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
18457 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
18458 * sysdeps/x86_64/multiarch/memcpy.S: New file.
18459 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
18460 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
18461 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
18462 * sysdeps/x86_64/multiarch/memmove.c: New file.
18463 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
18464 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
18465 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
18466 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
18467 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
18468 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
18469 Define.
18470 (index_Fast_Copy_Backward): Define.
18471 (HAS_ARCH_FEATURE): Define.
18472 (HAS_FAST_REP_STRING): Define.
18473 (HAS_FAST_COPY_BACKWARD): Define.
18474
4e733bac 184752010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
18476
18477 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
18478 Restore proper fallback handling.
18479
63c4ed22
UD
184802010-06-19 Ulrich Drepper <drepper@redhat.com>
18481
ac2b484c
UD
18482 [BZ #11701]
18483 * posix/group_member.c (__group_member): Correct checking loop.
18484
63c4ed22
UD
18485 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
18486 OOM in getpwuid_r correctly. Return error number when the caller
18487 should return, otherwise -1.
18488 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
18489 call returning > 0 value.
18490 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
18491
765ade4b
AS
184922010-06-07 Andreas Schwab <schwab@redhat.com>
18493
18494 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
18495 libc_nonshared.a from targets in modules-names.
18496
80da2e09
KS
184972010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
18498
18499 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
18500 requires it.
18501
158db122
LM
185022010-06-10 Luis Machado <luisgpm@br.ibm.com>
18503
18504 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
18505 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
18506 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
18507 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
18508
caa78cf8
AS
185092010-06-02 Andreas Schwab <schwab@redhat.com>
18510
18511 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
18512
b2ef2c01
UD
185132010-06-14 Ulrich Drepper <drepper@redhat.com>
18514
18515 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
18516 and F_GETPIPE_SZ.
18517 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
18518 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
18519 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18520 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18521 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
18522 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
18523
fbd643b6
RM
185242010-06-14 Roland McGrath <roland@redhat.com>
18525
18526 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
18527
f32f2869
JJ
185282010-06-07 Jakub Jelinek <jakub@redhat.com>
18529
18530 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
18531 __REDIRECT followed by __THROW.
18532 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
18533 * posix/getopt.h (getopt): Likewise.
18534
2a50c078
EPM
185352010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
18536
18537 * hurd/lookup-at.c (__file_name_lookup_at): Accept
18538 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
18539 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
18540 in AT_FLAGS.
18541 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
18542 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
18543
eb5ad2eb
LM
185442010-05-28 Luis Machado <luisgpm@br.ibm.com>
18545
18546 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
18547
3c88fe1e
L
185482010-05-26 H.J. Lu <hongjiu.lu@intel.com>
18549
18550 [BZ #11640]
18551 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18552 Properly check family and model.
18553
d2f73151
TY
185542010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
18555
18556 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
18557
ebd2e13d
LM
185582010-05-24 Luis Machado <luisgpm@br.ibm.com>
18559
18560 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
18561
b32b8b45
UD
185622010-05-21 Ulrich Drepper <drepper@redhat.com>
18563
18564 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
18565 symbol reference.
18566
9acbe24d
AS
185672010-05-19 Andreas Schwab <schwab@redhat.com>
18568
18569 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
18570 symbol reference.
18571
f0ccf6ea
AS
185722010-05-21 Andreas Schwab <schwab@redhat.com>
18573
3d04ff3a
AS
18574 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
18575 and internal_recvmmsg.
18576 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
18577 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
18578 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
18579 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
18580
f0ccf6ea
AS
18581 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
18582 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
18583 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
18584
5b08ac57
AS
185852010-05-20 Andreas Schwab <schwab@redhat.com>
18586
18587 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
18588
4828935d
LM
185892010-05-17 Luis Machado <luisgpm@br.ibm.com>
18590
18591 POWER7 optimizations.
18592 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
18593 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
18594
373d545e
UD
185952010-05-19 Ulrich Drepper <drepper@redhat.com>
18596
18597 * version.h: Update for 2.13 development version.
18598
21a2b1ae
AS
185992010-05-12 Andrew Stubbs <ams@codesourcery.com>
18600
18601 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
18602 exceptions. Return 0.
18603
3f7dcb2b
RM
186042010-05-07 Roland McGrath <roland@redhat.com>
18605
18606 * elf/ldconfig.c (main): Add a const.
18607
5f24d53a 186082010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 18609
a160f8d8
UD
18610 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
18611 (args_options): Add no-idn option.
18612 (ahosts_keys_int): Add idn_flags to ai_flags.
18613 (parse_option): Handle 'i' option to clear idn_flags.
18614
5f24d53a
UD
18615 * malloc/malloc.c (_int_free): Possible race in the most recently
18616 added check. Only act on the data if no current modification
18617 happened.
265bb1ce
UD
18618
18619See ChangeLog.17 for earlier changes.