]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Fix typos in manual wrt syslog.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
c0f4faf0
RM
12012-08-20 Roland McGrath <roland@hack.frob.com>
2
696da859
RM
3 * manual/syslog.texi (syslog; vsyslog, closelog):
4 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
5 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
6
c0f4faf0
RM
7 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
8 DSOCAPS to match condition on defining it.
9
348363b2
JM
102012-08-20 Joseph Myers <joseph@codesourcery.com>
11
a35cbf28
JM
12 * sysdeps/unix/sysv/linux/kernel-features.h
13 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
14 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
15 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
16 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
17 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
18 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
19 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
20 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
21 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
22 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
23
445f7ecd
JM
24 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
25 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
26
348363b2
JM
27 * sysdeps/unix/sysv/linux/kernel-features.h
28 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
29 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
30 unconditional.
31 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
32 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
33 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
34 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
35 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
36 Make code unconditional.
37 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38 (__mmap64) [!__NR_mmap2]: Likewise.
39 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
40 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
41 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
42 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
43 [__NR_mmap2]: Make code unconditional.
44 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
45 (__mmap64) [!__NR_mmap2]: Likewise.
46
bc5bc0e5
AK
472012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48
49 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
50
88d506de
AJ
512012-08-18 Andreas Jaeger <aj@suse.de>
52
53 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
54
493387d2
MF
552012-08-18 Mike Frysinger <vapier@gentoo.org>
56
57 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
58 * include/unistd.h (__have_sock_cloexec): Likewise.
59 (__have_pipe2): Likewise.
60 (__have_dup3): Likewise.
61
a277af22
MF
622012-08-18 Mike Frysinger <vapier@gentoo.org>
63
64 [BZ #9685]
65 * include/unistd.h (__have_pipe2): Change define into an extern int.
66 (__have_dup3): Likewise.
67 * socket/have_sock_cloexec.c: Include fcntl.h.
68 (__have_pipe2): New variable.
69 (__have_dup3): Likewise.
70
fdab8fd3
MF
712012-08-17 Mike Frysinger <vapier@gentoo.org>
72
73 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
74
31035e80
MP
752012-08-17 Marek Polacek <polacek@redhat.com>
76
77 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
78 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
79
3bd9e993
RM
802012-08-17 Roland McGrath <roland@hack.frob.com>
81
c91c505f
RM
82 * configure.in: Add AC_SUBST for sysheaders.
83 * configure: Regenerated.
84 * config.make.in (sysheaders): New substituted variable.
85
7c6f9d53
RM
86 * sysdeps/unix/mkfifo.c: Moved ...
87 * sysdeps/posix/mkfifo.c: ... here.
88 * sysdeps/unix/mkfifoat.c: Moved ...
89 * sysdeps/posix/mkfifoat.c: ... here.
90
91 * sysdeps/unix/utime.c: Moved ...
92 * sysdeps/posix/utime.c: ... here.
93
94 * sysdeps/unix/time.c: Moved ...
95 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
96 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
97 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
98
99 * sysdeps/unix/nice.c: Moved ...
100 * sysdeps/posix/nice.c: ... here.
101
102 * sysdeps/unix/alarm.c: Moved ...
103 * sysdeps/posix/alarm.c: ... here.
104
3bd9e993
RM
105 * intl/Makefile ($(codeset_mo)): Depend on the input file.
106
d1f09384
JL
1072012-08-17 Jeff Law <law@redhat.com>
108
109 * intl/Makefile (codeset_mo): New variable.
110 ($(codeset_mo)): New target.
111 (tst-codeset.out): Depend on that. Remove explicit rule.
112 (tst-gettext3.out, tst-gettext5.out): Likewise.
113 (LOCPATH-ENV, tst-codeset-ENV): New variables.
114 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
115 * intl/tst-codeset.sh: Remove.
116 * intl/tst-gettext3.sh: Likewise.
117 * intl/tst-gettext5.sh: Likewise.
118
2ae1ae5c
RM
1192012-08-17 Roland McGrath <roland@hack.frob.com>
120
c31fdb83
RM
121 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
122 * sysdeps/unix/syscalls.list: ... here.
123
a0844057
RM
124 * sysdeps/posix/getaddrinfo.c
125 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
126 (gaiconf_init, gaiconf_reload): Use them.
127 [!_STATBUF_ST_NSEC]
128 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
129 Define using time_t rather than struct timespec.
130
750c1f2a
RM
131 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
132 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
133 Macros removed.
134 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
135 [!NO_THREADS].
136 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
137 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
138 Likewise.
139
2ae1ae5c
RM
140 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
141 __libc_cleanup_push argument.
142
e66a42f5
RM
143 * bits/param.h: New file.
144 * misc/sys/param.h: New file.
145 * include/sys/param.h: New file.
146 * misc/Makefile (headers): Add bits/param.h.
147 * sysdeps/generic/sys/param.h: File removed.
148 * sysdeps/unix/sysv/linux/bits/param.h: New file.
149 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
150 * sysdeps/mach/hurd/bits/param.h: New file.
151 * sysdeps/mach/hurd/sys/param.h: New file.
152
b7c08a66
RM
153 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
154 last change.
155
b2e1c562
RM
156 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
157 [_IO_MTSAFE_IO].
158 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
159 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
160 New macros.
161
c75ccd4c
RM
162 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
163 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
164 rather than -D_IO_MTSAFE_IO conditionally.
165 * stdio-common/Makefile (CPPFLAGS): Likewise.
166 * wcsmbs/Makefile (CPPFLAGS): Likewise.
167 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
168 Use $(libio-mtsafe).
169 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
170 of -D_IO_MTSAFE_IO.
171 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
172 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
173 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
174 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
175 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
176 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
177 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
178 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
179 (CFLAGS-fread_u_chk.c): Likewise.
180 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
181 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
182 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
183 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
184 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
185 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
186 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
187 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
188 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
189
190 * libio/Makefile: Test [$(libc-reentrant) = yes]
191 instead of [$(filter %REENTRANT, $(defines)) nonempty].
192
193 * Makeconfig
194 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
195 * sysdeps/pthread/configure: File removed.
196 * sysdeps/pthread/Makeconfig: New file.
197 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
198 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
199
d9195db8
GB
2002012-08-16 Gary Benson <gbenson@redhat.com>
201
202 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
203 unmapping the first object in a namespace.
204
86466cd9
RM
2052012-08-16 Roland McGrath <roland@hack.frob.com>
206
207 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
208 (__internal_setnetgrent): ... this. Add internal_function to
209 definition. Add libc_hidden_def.
210 (setnetgrent): Update caller.
211 (internal_endnetgrent): Renamed to ...
212 (__internal_endnetgrent): ... this. Add internal_function to
213 definition. Add libc_hidden_def.
214 (endnetgrent): Update caller.
215 (internal_getnetgrent_r): Renamed to ...
216 (__internal_getnetgrent_r): ... this. Add internal_function to
217 definition. Add libc_hidden_def.
218 (__getnetgrent_r): Update caller.
219 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
220
c3c8283c
JM
2212012-08-16 Joseph Myers <joseph@codesourcery.com>
222
223 * stdlib/longlong.h: Update from GCC.
224
db1ee0a8
RM
2252012-08-16 Roland McGrath <roland@hack.frob.com>
226
227 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
228 on _QL, which is set by umul_ppmm but never used.
229 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
230 variables, which are set by GMP macros but never used.
231 * stdio-common/_itowa.c (_itowa): Likewise.
232 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
233 * stdlib/mod_1.c (mpn_mod_1): Likewise.
234
30f69637
CD
2352012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
236
237 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
238 struct La_sh_regs is not constant.
239 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
240 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
241 and struct La_sparc64_regs are not constant.
242
93a78ac4
JM
2432012-08-16 Joseph Myers <joseph@codesourcery.com>
244
245 * sysdeps/unix/sysv/linux/kernel-features.h
246 (__ASSUME_POSIX_TIMERS): Remove.
247 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
248 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
249 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
250 Make code unconditional.
251 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
252 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
253 Make code unconditional.
254 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
255 * sysdeps/unix/sysv/linux/clock_nanosleep.c
256 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
257 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
258 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
259 Make code unconditional.
260 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
261 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
262 (__libc_missing_posix_timers): Remove.
263
dd924cd7
RM
2642012-08-15 Roland McGrath <roland@hack.frob.com>
265
4b4f2771
RM
266 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
267 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
268
601c888b
RM
269 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
270
176790a7
RM
271 * elf/dl-sym.c: Include <stdlib.h>.
272
329bc018
RM
273 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
274 constants, which avoids warnings in 32-bit builds.
275
e04e272d
RM
276 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
277 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
278
952bf94a
RM
279 * misc/lseek.c: File moved to ...
280 * io/lseek.c: ... here.
281
7c99b50a
RM
282 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
283
dd924cd7
RM
284 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
285 shifting LEN more than 31 bits at once.
286
b3f479a8
LD
2872012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
288
289 [BZ #14195]
290 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
291 segmentation fault for a case of two empty input strings.
292 * string/test-strncasecmp.c (check1): Renamed to...
293 (bz12205): ...this.
294 (bz14195): Add new testcase for two empty input strings and N > 0.
295 (test_main): Call new testcase, adapt for renamed function.
296
9c55864e
AJ
2972012-08-15 Andreas Jaeger <aj@suse.de>
298
299 [BZ #14090]
300 * crypt/md5test2.c: New test, based on test supplied by Serge
301 Belyshev <belyshev@depni.sinp.msu.ru>.
302 * crypt/Makefile (xtests): Add md5test-giant..
303 * crypt/Makefile ($(objpfx)md5test-giant): Add.
304
02dcb6c5
PE
3052012-08-15 Paul Eggert <eggert@cs.ucla.edu>
306
307 [BZ #14090]
308 * crypt/md5.c (md5_process_block): Don't assume the buffer
309 length is less than 2**32.
310 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
311 length is less than 2**64.
312
a3f95dcc
RM
3132012-08-15 Roland McGrath <roland@hack.frob.com>
314
be75d758
RM
315 * string/str-two-way.h: Include <sys/param.h>.
316 (MAX): Macro removed.
317
7312ca90
RM
318 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
319 Move #define and #undef of memmove to just before and after
320 including <string.h>.
321
9a0a5486
RM
322 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
323 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
324 and after including <string.h>. Move declarations of
325 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
326 to before #include "string/memmove.c".
327
67cc348d
RM
328 * include/dirent.h: Declare __getdirentries.
329
a3f95dcc
RM
330 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
331 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
332
ca98e171
MF
3332012-08-14 Mike Frysinger <vapier@gentoo.org>
334
335 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
336 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
337 * sysdeps/i386/configure: Regenerated.
338 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
339 STABS_CURRENT_FILE, and STABS_FUN.
340 (END): Remove call to STABS_FUN_END.
341 (STABS_CURRENT_FILE1): Delete.
342 (STABS_CURRENT_FILE): Likewise.
343 (STABS_FUN): Likewise.
344 (STABS_FUN_END): Likewise.
345 (STABS_FUN2): Likewise.
346 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
347 * sysdeps/x86_64/configure: Regenerated.
348
5908bf46
RM
3492012-08-14 Roland McGrath <roland@hack.frob.com>
350
351 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 352 * elf/dl-lookup.c: Likewise.
5908bf46 353
f2c05b9e
JM
3542012-08-14 Joseph Myers <joseph@codesourcery.com>
355
356 * sysdeps/unix/sysv/linux/kernel-features.h
357 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
358 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
359 unconditionally.
360 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
361 unconditionally.
362 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
363 condition on __ASSUME_CLONE_THREAD_FLAGS.
364
e11f5155
AJ
3652012-08-14 Andreas Jaeger <aj@suse.de>
366
367 * sysdeps/i386/fpu/libm-test-ulps: Update.
368
51a9ba86
MK
3692012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
370
2fdd4f78
AJ
371 * include/atomic.h (atomic_exchange_and_add): Split into ...
372 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
373 New atomic macros.
51a9ba86 374
ba6cba9e
MT
3752012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
376
377 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
378
42443a47
JL
3792012-08-13 Jeff Law <law@redhat.com>
380
381 * manual/stdio.texi (snprintf): Clarify handling of the trailing
382 null byte in the output string.
383
121dce05
JM
3842012-08-10 Joseph Myers <joseph@codesourcery.com>
385
386 * sysdeps/unix/sysv/linux/kernel-features.h
387 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
388 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
389 (__ASSUME_ARG_MAX_STACK_BASED): Define.
390 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
391 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
392 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
393 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
394
bf51f568
JL
3952012-08-09 Jeff Law <law@redhat.com>
396
397 [BZ #13939]
398 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
399 When avoid_arena is set, don't retry in the that arena. Pick the
400 next one, whatever it might be.
401 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
402 (arena_lock): Pass in new parameter to arena_get2.
403 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
404 arena_get2.
405 (__libc_malloc): Unify retrying after main arena failure with
406 __libc_memalign version.
407 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
408
f85fa270
L
4092012-08-09 H.J. Lu <hongjiu.lu@intel.com>
410
411 [BZ #14166]
412 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
413 to __redirect_strstr.
414 (__strstr_sse42): Use typeof __redirect_strstr.
415 (__strstr_ia32): Likewise.
416 (__libc_strstr): New prototype.
417 (strstr): Renamed to ...
418 (__libc_strstr): This.
419 (strstr): New strong alias of __libc_strstr.
420 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
421 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
422 __redirect_time.
423 Include <time.h>.
424 (__libc_time): New prototype.
425 (time_ifunc): Replace time with __libc_time.
426 (time): New strong alias and hidden definition of __libc_time.
427 (__GI_time): Remove strong alias.
428 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
429 Include <stddef.h>.
430 (memmove): Redefined to __redirect_memmove.
431 (__memmove_sse2): Use typeof __redirect_memmove.
432 (__memmove_ssse3): Likewise.
433 (__memmove_ssse3_back): Likewise.
434 (__libc_memmove): New prototype.
435 (memmove): Renamed to ...
436 (__libc_memmove): This.
437 (memmove): New strong alias of __libc_memmove.
438
33b4a91e
MS
4392012-08-08 Mark Salter <msalter@redhat.com>
440
441 * elf/elf.h
442 (R_MN10300_TLS_GD): Define.
443 (R_MN10300_TLS_LD): Likewise.
444 (R_MN10300_TLS_LDO): Likewise.
445 (R_MN10300_TLS_GOTIE): Likewise.
446 (R_MN10300_TLS_IE): Likewise.
447 (R_MN10300_TLS_LE): Likewise.
448 (R_MN10300_TLS_DTPMOD): Likewise.
449 (R_MN10300_TLS_DTPOFF): Likewise.
450 (R_MN10300_TLS_TPOFF): Likewise.
451 (R_MN10300_SYM_DIFF): Likewise.
452 (R_MN10300_ALIGN): Likewise.
453 (R_MN10300_NUM): Update.
454
b36137f1
JM
4552012-08-08 Joseph Myers <joseph@codesourcery.com>
456
457 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
458 Remove.
459
cdd915fd
RM
4602012-08-08 Roland McGrath <roland@hack.frob.com>
461
a2433aac
RM
462 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
463
cdd915fd
RM
464 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
465 sysdeps/unix -> sysdeps/posix move.
466 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
467
bf9b740a
AM
4682012-08-07 Allan McRae <allan@archlinux.org>
469
470 [BZ #14303]
471 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
472 (SUNOS_CPP): Likewise.
473 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
474 not found.
475 (open_input): Call CPP using execvp.
476
93df14ee
JM
4772012-08-07 Joseph Myers <joseph@codesourcery.com>
478
479 * sysdeps/unix/sysv/linux/kernel-features.h
480 (__ASSUME_PROT_GROWSUPDOWN): Remove.
481 (__ASSUME_NO_CLONE_DETACHED): Likewise.
482 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
483 (__ASSUME_WAITID_SYSCALL): Likewise.
484 * sysdeps/unix/sysv/linux/dl-execstack.c
485 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
486 code unconditional.
487 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
488 conditional code.
489 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
490 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
491 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
492 code.
493 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
494 unconditional.
495 [__ASSUME_WAITID_SYSCALL]: Likewise.
496 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
497
d34689de
RM
4982012-08-07 Roland McGrath <roland@hack.frob.com>
499
a281decc
RM
500 * sysdeps/unix/closedir.c: Renamed to ...
501 * sysdeps/posix/closedir.c: ... here.
502 * sysdeps/unix/dirfd.c: Renamed to ...
503 * sysdeps/posix/dirfd.c: ... here.
504 * sysdeps/unix/dirstream.h: Renamed to ...
505 * sysdeps/posix/dirstream.h: ... here.
506 * sysdeps/unix/fdopendir.c: Renamed to ...
507 * sysdeps/posix/fdopendir.c: ... here.
508 * sysdeps/unix/opendir.c: Renamed to ...
509 * sysdeps/posix/opendir.c: ... here.
510 * sysdeps/unix/readdir.c: Renamed to ...
511 * sysdeps/posix/readdir.c: ... here.
512 * sysdeps/unix/readdir_r.c: Renamed to ...
513 * sysdeps/posix/readdir_r.c: ... here.
514 * sysdeps/unix/rewinddir.c: Renamed to ...
515 * sysdeps/posix/rewinddir.c: ... here.
516 * sysdeps/unix/seekdir.c: Renamed to ...
517 * sysdeps/posix/seekdir.c: ... here.
518 * sysdeps/unix/telldir.c: Renamed to ...
519 * sysdeps/posix/telldir.c: ... here.
520 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
521 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
522 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
523 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
524
22895b47
RM
525 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
526 * bits/fcntl.h: ... here.
527
707a53b6
RM
528 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
529 not 0.
530 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
531 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
532 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
533 (struct flock): Move l_start, l_len to the beginning.
534 Use __pid_t for l_pid.
535 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
536 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
537 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
538 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
539 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
540 [__USE_LARGEFILE64] (struct flock64): New type.
541 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
542
f0bd3e25
RM
543 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
544 * bits/dirent.h: ... here.
545
d34689de
RM
546 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
547 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
548
6dad2c06
JM
5492012-08-07 Joseph Myers <joseph@codesourcery.com>
550
551 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
552 Change from 2.6.0 to 2.6.16.
553 * sysdeps/unix/sysv/linux/configure: Regenerated.
554 * sysdeps/unix/sysv/linux/kernel-features.h
555 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
556 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
557 version.
558 (__ASSUME_UTIMES): Likewise.
559 (__ASSUME_CLONE_STOPPED): Remove.
560 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
561 architectures, not kernel version.
562 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
563 (__ASSUME_NO_CLONE_DETACHED): Likewise.
564 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
565 (__ASSUME_WAITID_SYSCALL): Likewise.
566 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
567 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
568 * README: State 2.6.16 as minimum Linux kernel version. Do not
569 refer to older versions.
570
03af9520
RM
5712012-08-06 Roland McGrath <roland@hack.frob.com>
572
8e49df1d
RM
573 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
574 Define alphasort64 as an alias.
575 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
576 Define versionsort64 as an alias.
577 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
578 Define scandir64 as an alias.
579 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
580 Define scandirat64 as an alias.
581 * dirent/alphasort64.c (alphasort64):
582 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
583 * dirent/versionsort64.c: Likewise.
584 * dirent/scandir64.c: Likewise.
585 * dirent/scandirat64.c: Likewise.
586 * sysdeps/wordsize-64/alphasort.c: File removed.
587 * sysdeps/wordsize-64/alphasort64.c: File removed.
588 * sysdeps/wordsize-64/scandir.c: File removed.
589 * sysdeps/wordsize-64/scandir64.c: File removed.
590 * sysdeps/wordsize-64/scandirat.c: File removed.
591 * sysdeps/wordsize-64/scandirat64.c: File removed.
592 * sysdeps/wordsize-64/versionsort.c: File removed.
593 * sysdeps/wordsize-64/versionsort64.c: File removed.
594 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
595 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
596 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
597 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
598 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
599 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
600 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
601 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
602
603 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
604 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
605 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
606 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
607 [defined __arch64__ || defined __sparcv9]
608 (__INO_T_MATCHES_INO64_T): New macro.
609 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
610 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
611 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
612 * sysdeps/unix/sysv/linux/bits/dirent.h
613 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
614 (_DIRENT_MATCHES_DIRENT64): New macro.
615
03af9520
RM
616 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
617 Define lockf64 as an alias.
618 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
619 Define fseeko64 as an alias.
620 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
621 Define ftello64 as an alias.
622 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
623 Define _IO_fgetpos64 and fgetpos64 as aliases.
624 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
625 Define _IO_fsetpos64 and fsetpos64 as aliases.
626 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
627 Conditionalize body on this.
628 * libio/fseeko64.c: Likewise.
629 * libio/ftello64.c: Likewise.
630 * libio/iofgetpos64.c: Likewise.
631 * libio/iofsetpos64.c: Likewise.
632 * sysdeps/wordsize-64/lockf.c: File removed.
633 * sysdeps/wordsize-64/lockf64.c: File removed.
634 * sysdeps/wordsize-64/fseeko.c: File removed.
635 * sysdeps/wordsize-64/fseeko64.c: File removed.
636 * sysdeps/wordsize-64/ftello.c: File removed.
637 * sysdeps/wordsize-64/ftello64.c: File removed.
638 * sysdeps/wordsize-64/iofgetpos.c: File removed.
639 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
640 * sysdeps/wordsize-64/iofsetpos.c: File removed.
641 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
642 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
643 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
644 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
645 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
646 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
647 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
648 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
649 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
650 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
651 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
652
653 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
654 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
655 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
656 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
657 [defined __arch64__ || defined __sparcv9]
658 (__OFF_T_MATCHES_OFF64_T): New macro.
659 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
660 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
661 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
662 (__OFF_T_MATCHES_OFF64_T): New macro.
663
c5757acd
L
6642012-08-06 H.J. Lu <hongjiu.lu@intel.com>
665
666 * stdlib/secure-getenv.c (__secure_getenv): Replace
667 GLIBC_2_16 with GLIBC_2_17.
668
3a31811e
L
6692012-08-06 H.J. Lu <hongjiu.lu@intel.com>
670
671 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
672 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
673
faa2bccb
DM
6742012-08-03 David S. Miller <davem@davemloft.net>
675
676 * sysdeps/sparc/fpu/libm-test-ulps: Update.
677
85fe1997
JM
6782012-08-03 Joseph Myers <joseph@codesourcery.com>
679
680 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
681 Remove.
682 (__ASSUME_CORRECT_SI_PID): Likewise.
683 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
684 (__ASSUME_TMPFS_NAME): Likewise.
685 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
686 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
687 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
688 (HAVE_AUX_SECURE): Make definition unconditional.
689 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
690 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
691
4f75b7a0
RM
6922012-08-03 Roland McGrath <roland@hack.frob.com>
693
694 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
695 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
696 * sysdeps/mach/hurd/eloop-threshold.h: New file.
697 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
698 __eloop_threshold instead of SYMLOOP_MAX.
699
700 * sysdeps/generic/eloop-threshold.h: New file.
701 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
702 of MAXSYMLINKS.
703 * elf/chroot_canon.c (chroot_canon): Likewise.
704
7aab07e4
JM
7052012-08-03 Joseph Myers <joseph@codesourcery.com>
706
707 [BZ #13717]
708 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
709 Change to 2.6.0 everywhere.
710 * sysdeps/unix/sysv/linux/configure: Regenerated.
711 * sysdeps/unix/sysv/linux/kernel-features.h
712 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
713 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
714 kernel versions.
715 (__ASSUME_POSIX_TIMERS): Define unconditionally.
716 (__ASSUME_FUTEX_REQUEUE): Remove.
717 (__ASSUME_STATFS64): Define unconditionally.
718 (__ASSUME_AT_SECURE): Likewise.
719 (__ASSUME_CORRECT_SI_PID): Likewise.
720 (__ASSUME_TGKILL): Define without depending on kernel version for
721 i386.
722 (__ASSUME_UTIMES): Likewise.
723 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
724 kernel version.
725 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
726 (__ASSUME_TMPFS_NAME): Likewise.
727 * README: Update reference to Linux kernel versions.
728
b67e9372
MP
7292012-08-02 Marek Polacek <polacek@redhat.com>
730
731 [BZ#14150]
732 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
733 libc_cv_asm_type_prefix with %.
734 * configure: Regenerated.
d2441631
RM
735 * include/libc-symbols.h: Remove comment about
736 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
737 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
738 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
739 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
740 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
741 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
742 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
743 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
744 * elf/tst-unique2mod1.c: Likewise.
745 * elf/tst-unique1mod2.c: Likewise.
746 * elf/tst-unique1mod1.c: Likewise.
747 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
748 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
749 Replace ASM_TYPE_DIRECTIVE with .type.
750 * sysdeps/s390/s390-64/sysdep.h: Likewise.
751 * sysdeps/i386/sysdep.h: Likewise.
752 * sysdeps/x86_64/sysdep.h: Likewise.
753 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
754 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
755 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 756 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
757 * sysdeps/powerpc/powerpc32/sysdep.h:
758 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
759 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
760 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
761 * sysdeps/i386/fpu/e_powf.S: Likewise.
762 * sysdeps/i386/fpu/e_expl.S: Likewise.
763 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
764 * sysdeps/i386/fpu/e_acosh.S: Likewise.
765 * sysdeps/i386/fpu/e_pow.S: Likewise.
766 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
767 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
768 * sysdeps/i386/fpu/s_expm1.S: Likewise.
769 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
770 * sysdeps/i386/fpu/e_log2.S: Likewise.
771 * sysdeps/i386/fpu/e_log2l.S: Likewise.
772 * sysdeps/i386/fpu/e_scalb.S: Likewise.
773 * sysdeps/i386/fpu/e_powl.S: Likewise.
774 * sysdeps/i386/fpu/e_log10f.S: Likewise.
775 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
776 * sysdeps/i386/fpu/e_logl.S: Likewise.
777 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
778 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
779 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
780 * sysdeps/i386/fpu/e_log2f.S: Likewise.
781 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
782 * sysdeps/i386/fpu/e_log.S: Likewise.
783 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
784 * sysdeps/i386/fpu/e_logf.S: Likewise.
785 * sysdeps/i386/fpu/e_log10l.S: Likewise.
786 * sysdeps/i386/fpu/e_atanh.S: Likewise.
787 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
788 * sysdeps/i386/fpu/e_log10.S: Likewise.
789 * sysdeps/i386/fpu/s_frexp.S: Likewise.
790 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
791 * sysdeps/i386/fpu/s_asinh.S: Likewise.
792 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
793 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
794 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
795 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
796 * sysdeps/i386/i686/strtok.S: Likewise.
797 * sysdeps/i386/i386-mcount.S: Likewise.
798 * sysdeps/i386/strtok.S: Likewise.
799 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
800 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
801 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
802 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
803 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
804 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
805 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
806 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
807 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
808 * sysdeps/x86_64/_mcount.S: Likewise.
809 * sysdeps/x86_64/strtok.S: Likewise.
810 * sysdeps/sh/_mcount.S: Likewise.
811
2747bf9a
RM
8122012-08-01 Roland McGrath <roland@hack.frob.com>
813
814 * libio/iofopen.c: Include <fcntl.h>.
815 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
816 (_IO_fopen64, fopen64): Define as aliases.
817 * libio/iofopen64.c: Include <fcntl.h>.
818 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
819 Conditionalize body on this.
820 * sysdeps/wordsize-64/iofopen.c: File removed.
821 * sysdeps/wordsize-64/iofopen64.c: File removed.
822
3fb791b8
MP
8232012-08-01 Marek Polacek <polacek@redhat.com>
824
825 * libc/Makeconfig: Use elf in place of binfmt-subdir.
826 Use dlfcn directly instead of a variable.
827 (binfmt-subdir): Do not define.
828 (dlfcn): Likewise.
829
a9f1039f
JM
8302012-08-01 Joseph Myers <joseph@codesourcery.com>
831
23bddc06
JM
832 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
833 Remove all definitions.
834 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
835 <kernel-features.h>.
836 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
837 (miss_F_GETOWN_EX): Remove all definitions.
838 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
839 macro definition.
840 [!__ASSUME_FCNTL64]: Remove conditional code.
841 [__ASSUME_FCNTL64]: Make code unconditional.
842 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
843 <kernel-features.h>.
844 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
845 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
846 (lockf64) [__NR_fcntl64]: Make code unconditional.
847 (lockf64) [__ASSUME_FCNTL64]: Likewise.
848
a9f1039f
JM
849 * sysdeps/unix/sysv/linux/kernel-features.h
850 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
851 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
852 Make code unconditional.
853 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
854 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
855 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
856 [__NR_vfork]: Make code unconditional.
857 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
858 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
860 [__NR_vfork]: Make code unconditional.
861 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
862 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
863
09c0ee5f
RM
8642012-08-01 Roland McGrath <roland@hack.frob.com>
865
48aec5b9
RM
866 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
867 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
868
cd97c966
RM
869 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
870 Define mkstemp64 as an alias.
3f55550c
RM
871 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
872 Define mkstemps64 as an alias.
cd97c966
RM
873 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
874 Define mkostemp64 as an alias.
b8625cfc
RM
875 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
876 Define mkostemps64 as an alias.
cd97c966
RM
877 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
878 Conditionalize body on this.
879 * misc/mkostemp64.c: Likewise.
b8625cfc 880 * misc/mkostemps64.c: Likewise.
3f55550c 881 * misc/mkstemps64.c: Likewise.
cd97c966
RM
882 * sysdeps/wordsize-64/mkstemp64.c: File removed.
883 * sysdeps/wordsize-64/mkostemp64.c: File removed.
884 * sysdeps/wordsize-64/mkostemp.c: File removed.
885 * sysdeps/wordsize-64/mkstemp.c: File removed.
886 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
887 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
888 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
889 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
890
09c0ee5f
RM
891 [BZ #14138]
892 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
893 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
894 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
895 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
896
897 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
898 compat_symbol macros from <shlib-compat.h> rather than the underlying
899 default_symbol_version and symbol_version macros, so that DEFAULT
900 lines in shlib-versions are respected.
901 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
902
7e66ee51
FW
9032012-08-01 Florian Weimer <fweimer@redhat.com>
904
905 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
906 Declare with warn_unused_result.
907 (setgid, setregid, setegid, setresgid): Likewise.
908 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
909 Likewise.
910 * WUR-REPORT: Remove set*id functions.
911
d2a54255
PT
9122012-07-31 Pino Toscano <toscano.pino@tiscali.it>
913
914 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
915
7ecdb005
RM
9162012-07-31 Roland McGrath <roland@hack.frob.com>
917
789bd351
RM
918 * include/sys/socket.h (__libc_accept, __libc_accept4):
919 Add attribute_hidden.
920 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
921
40ce302d
RM
922 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
923 use of PTR_MANGLE.
924 * inet/getnetgrent_r.c (setup): Likewise.
925
7ecdb005
RM
926 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
927
e2eabb2c
DM
9282012-07-31 David S. Miller <davem@davemloft.net>
929
930 * sysdeps/sparc/fpu/libm-test-ulps: Update.
931
d0419dbf
JM
9322012-07-31 Joseph Myers <joseph@codesourcery.com>
933
934 [BZ #13629]
935 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
936 value between 1.0 and 2.0 and smaller part has absolute value less
937 than 1.0.
938 * math/s_clog10.c (__clog10): Likewise.
939 * math/s_clog10f.c (__clog10f): Likewise.
940 * math/s_clog10l.c (__clog10l): Likewise.
941 * math/s_clogf.c (__clogf): Likewise.
942 * math/s_clogl.c (__clogl): Likewise.
943 * math/libm-test.inc (clog_test): Add more tests.
944 (clog10_test): Likewise.
945 * sysdeps/i386/fpu/libm-test-ulps: Update.
946 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
947
2bc13872
FW
9482012-07-31 Florian Weimer <fweimer@redhat.com>
949
950 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
951 Exit with zero in case no suitable GID is found, and write a
952 message to standard error.
953
bea9b193
RM
9542012-07-30 Roland McGrath <roland@hack.frob.com>
955
956 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
957 rather than to 1.
958 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
959 (MAXPATHLEN): Removed.
960 (NOGROUP, NODEV): New macros.
961 (setbit, clrbit, isset, isclr): New macros.
962 (howmany, roundup, powerof2): New macros.
963 (DEV_BSIZE): New macro.
964
965 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
966 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
967
968 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
969 definition on [!__NO_LONG_DOUBLE_MATH].
970
971 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
972 PTR_MANGLE and PTR_DEMANGLE.
973
974 * socket/accept4.c (accept4): Rename to __libc_accept4.
975 Define accept4 as a weak alias.
976
977 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
978 on [_DIRENT_HAVE_D_TYPE].
979 * io/ftw.c (ftw_dir): Likewise.
980
981 * io/xmknod.c (__xmknod): Don't check PATH for being null.
982
983 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
984
985 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
986 Use the BSD numbers rather than the arbitrary ones we had.
987 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
988 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
989 (SIGXCPU, SIGXFSZ): New macros.
990 (_NSIG): Now 32.
991
992 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
993 initializer on [_LIBC_REENTRANT].
994
995 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
996 definitions inside [_POSIX_MAPPED_FILES].
997
998 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
999
1000 * dirent/opendir.c: Include <fcntl.h>.
1001
1002 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
1003 (__libc_getspecific): Likewise.
1004 (__libc_key_create): Likewise.
1005
1006 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
1007 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
1008 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
1009 (tmpfile64): Define as alias.
1010 * sysdeps/wordsize-64/tmpfile.c: File removed.
1011 * sysdeps/wordsize-64/tmpfile64.c: File removed.
1012 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
1013 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
1014
1015 * stdio-common/vfscanf.c: Include <stdbool.h>.
1016 * nss/makedb.c: Likewise.
1017 * stdio-common/_i18n_number.h: Likewise.
1018 * argp/argp-help.c: Likewise.
1019 * posix/wordexp.c: Likewise.
1020 * sysdeps/posix/spawni.c: Likewise.
1021 * nss/nss_files/files-initgroups.c: Likewise.
1022 * stdio-common/reg-modifier.c: Include <stdlib.h>.
1023 * nss/nss_files/files-initgroups.c: Likewise.
1024 * nss/nss_db/db-netgrp.c: Likewise.
1025 * nss/nss_db/db-initgroups.c: Likewise.
1026 * io/fchmodat.c: Include <sys/stat.h>.
1027
1028 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
1029 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
1030
1031 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
1032 [HAVE_MMAP].
1033
1034 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
1035 Add multiple inclusion protection.
1036
e5abc686
DM
10372012-07-27 David S. Miller <davem@davemloft.net>
1038
1039 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1040
815e6fa3
GB
10412012-07-27 Gary Benson <gbenson@redhat.com>
1042
1043 [BZ #14298]
1044 * elf/rtld.c: Include <stap-probe.h>.
1045 (dl_main): Added static probes "init_start" and "init_complete".
1046 * elf/dl-load.c: Include <stap-probe.h>.
1047 (lose): Take new parameter "nsid".
1048 Added static probe "map_failed".
1049 (_dl_map_object_from_fd): Pass namespace id to lose.
1050 Added static probe "map_start".
1051 (open_verify): Pass namespace id to lose.
1052 * elf/dl-open.c: Include <stap-probe.h>.
1053 (dl_open_worker) Added static probes "map_complete", "reloc_start"
1054 and "reloc_complete".
1055 * elf/dl-close.c: Include <stap-probe.h>.
1056 (_dl_close_worker): Added static probes "unmap_start" and
1057 "unmap_complete".
1058 * elf/rtld-debugger-interface.txt: New file documenting the above.
1059
9f98c16c
RM
10602012-07-26 Roland McGrath <roland@hack.frob.com>
1061
1062 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
1063 rather than a string variable.
1064 * sunrpc/rpc_main.c (h_output): Likewise.
1065 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
1066
f3c22df3
PT
10672012-07-26 Pino Toscano <toscano.pino@tiscali.it>
1068
1069 * inet/check_native.c: New file.
1070
3129cfc6
JM
10712012-07-26 Joseph Myers <joseph@codesourcery.com>
1072
da865e95
JM
1073 [BZ #13629]
1074 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
1075 if larger part has absolute value 1.0.
1076 * math/s_clog10.c (__clog10): Likewise.
1077 * math/s_clog10f.c (__clog10f): Likewise.
1078 * math/s_clog10l.c (__clog10l): Likewise.
1079 * math/s_clogf.c (__clogf): Likewise.
1080 * math/s_clogl.c (__clogl): Likewise.
1081 * math/libm-test.inc (clog_test): Add more tests.
1082 (clog10_test): Likewise.
1083 * sysdeps/i386/fpu/libm-test-ulps: Update.
1084 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1085
3129cfc6
JM
1086 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
1087 (pltexit): Likewise.
1088 (La_regs): Likewise.
1089 (La_retval): Likewise.
1090 (int_retval): Likewise.
1091 Update #error for removed macros to refer only to definitions in
1092 tst-audit.h.
1093 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
1094 macro.
1095 (pltexit): Likewise.
1096 (La_regs): Likewise.
1097 (La_retval): Likewise.
1098 (int_retval): Likewise.
1099 * elf/tst-auditmod4b.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-auditmod5b.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-auditmod6b.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-auditmod6c.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-auditmod7b.c (pltenter): Remove all definitions of
1124 macro.
1125 (pltexit): Likewise.
1126 (La_regs): Likewise.
1127 (La_retval): Likewise.
1128 (int_retval): Likewise.
1129 * sysdeps/generic/tst-audit.h: Update comment to refer only to
1130 macro definitions in tst-audit.h.
1131 * sysdeps/i386/tst-audit.h: New file.
1132 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
1133 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
1134 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
1135 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
1136 * sysdeps/sh/tst-audit.h: Likewise.
1137 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
1138 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
1139 * sysdeps/x86_64/tst-audit.h: Likewise.
1140
bfc07087
AJ
11412012-07-26 Andreas Jaeger <aj@suse.de>
1142
b1b2aaf8
AJ
1143 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
1144 ptrace.
1145
1146 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
1147 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
1148 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
1149 PTRACE_O_MASK.
1150 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
1151 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
1152 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
1153
bfc07087
AJ
1154 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
1155 value.
1156
1157 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
1158 _sigsys.
1159 (si_call_addr, si_syscall, si_arch): Define new macro.
1160 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
1161 _sigsys.
1162 (si_call_addr, si_syscall, si_arch): Define new marcro.
1163 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
1164 _sigsys.
1165 (si_call_addr, si_syscall, si_arch): Define new macro.
1166 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
1167 _sigsys.
1168 (si_call_addr, si_syscall, si_arch): Define new macro.
1169
89b4b02f
JM
11702012-07-25 Joseph Myers <joseph@codesourcery.com>
1171
1172 [BZ #13717]
1173 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1174 Change to 2.4.21 where previously 2.4.1.
1175 * sysdeps/unix/sysv/linux/configure: Regenerated.
1176 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
1177 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
1178 Linux kernel version.
1179 (__ASSUME_STD_AUXV): Remove.
1180 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
1181 kernel version.
1182 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
1183 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
1184 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
1185 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
1186 (__ASSUME_NETLINK_SUPPORT): Likewise.
1187 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
1188 (__no_netlink_support): Remove conditional definition.
1189 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
1190 Remove.
1191 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
1192 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
1193 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
1194 (if_nameindex_ioctl): Remove.
1195 (if_nameindex_netlink): Do not handle __no_netlink_support.
1196 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
1197 code.
1198 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
1199 Remove conditional code.
1200 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
1201 code.
1202 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
1203 unconditional.
1204 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
1205 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
1206 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
1207 Remove.
1208 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
1209 [!__ASSUME_STD_AUXV]: Remove conditional code.
1210 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
1211 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
1212 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
1213 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
1214 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
1215 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
1216 code.
1217 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
1218 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
1219 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
1220 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
1221 conditional code.
1222 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
1223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
1224 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
1225 code.
1226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
1227 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
1228 conditional code.
1229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
1230 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
1231 code unconditional.
1232 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1233 conditional code.
1234 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
1235 unconditional.
1236 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1237 conditional code.
1238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
1239 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
1240 unconditional.
1241 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1242 conditional code.
1243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
1244 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
1245 code unconditional.
1246 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1247 conditional code.
1248 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
1249 unconditional.
1250 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1251 conditional code.
1252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
1253 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
1254 code unconditional.
1255 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1256 conditional code.
1257 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
1258 unconditional.
1259 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1260 conditional code.
1261
842a39cd
AS
12622012-07-25 Andreas Schwab <schwab@linux-m68k.org>
1263
1264 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
1265 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
1266 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
1267 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
1268 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
1269 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
1270 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
1271 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
1272 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
1273 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
1274 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
1275 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
1276 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
1277 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
1278 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
1279 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
1280 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
1281 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
1282 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
1283 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
1284 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
1285 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
1286 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
1287
84b3fd84
FW
12882012-07-25 Florian Weimer <fweimer@redhat.com>
1289
1290 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
1291 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
1292 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
1293 Introduce __libc_secure_getenv.
0c7936d5
FW
1294 * stdlib/Versions (2.17): Add secure_getenv
1295 (GLIBC_PRIVATE): Add __libc_secure_getenv.
1296 * stdlib/secure-getenv.c: Rename __secure_getenv to
1297 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
1298 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
1299 * stdlib/tst-secure-getenv.c: New.
1300 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
1301 * manual/startup.texi (Environment Access): Document
1302 secure_getenv.
84b3fd84
FW
1303 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
1304 __libc_secure_getenv.
1305 * inet/ruserpass.c (ruserpass): Likewise.
1306 * malloc/mtrace.c (mtrace): Likewise.
1307 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 1308 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
1309 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
1310 * sysdeps/posix/tempname.c: Likewise. Evaluate
1311 HAVE_SECURE_GETENV.
1312 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 1313 __secure_getenv to __libc_secure_getenv.
84b3fd84 1314 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
1315 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1316 Likewise.
1317 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1318 Likewise.
1319 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
1320 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
1321 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
1322 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
1323 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
1324 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
1325 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 1326
56e49b71
JM
13272012-07-25 Joseph Myers <joseph@codesourcery.com>
1328
1329 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
1330 (struct La_i86_retval): Likewise.
1331 (struct La_x86_64_regs): Likewise.
1332 (struct La_x86_64_retval): Likewise.
1333 (struct La_x32_regs): Likewise.
1334 (struct La_x32_retval): Likewise.
1335 (struct La_ppc32_regs): Likewise.
1336 (struct La_ppc32_retval): Likewise.
1337 (struct La_ppc64_regs): Likewise.
1338 (struct La_ppc64_retval): Likewise.
1339 (struct La_sh_regs): Likewise.
1340 (struct La_sh_retval): Likewise.
1341 (struct La_s390_32_regs): Likewise.
1342 (struct La_s390_32_retval): Likewise.
1343 (struct La_s390_64_regs): Likewise.
1344 (struct La_s390_64_retval): Likewise.
1345 (struct La_sparc32_regs): Likewise.
1346 (struct La_sparc32_retval): Likewise.
1347 (struct La_sparc64_regs): Likewise.
1348 (struct La_sparc64_retval): Likewise.
1349 (struct audit_ifaces): Remove architecture-specific pltenter and
1350 pltexit members.
1351 * sysdeps/i386/ldsodefs.h: New file.
1352 * sysdeps/powerpc/ldsodefs.h: Likewise.
1353 * sysdeps/s390/ldsodefs.h: Likewise.
1354 * sysdeps/sh/ldsodefs.h: Likewise.
1355 * sysdeps/sparc/ldsodefs.h: Likewise.
1356 * sysdeps/x86_64/ldsodefs.h: Likewise.
1357
354691b7
MP
13582012-07-25 Marek Polacek <polacek@redhat.com>
1359
1360 [BZ #6808]
1361 * math/libm-test.inc (yn_test): Add another test.
1362 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
1363 to ERANGE when the result is +-Inf.
1364 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
1365 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
1366 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
1367 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
1368
bf9e2071
JM
13692012-07-24 Joseph Myers <joseph@codesourcery.com>
1370
1371 * conform/data/time.h-data (NULL): Use macro-constant. Require
1372 equal to 0.
1373 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
1374 clock_t.
1375 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
1376
57633811
TS
13772012-07-23 Thomas Schwinge <thomas@codesourcery.com>
1378
1379 * configure.in <sysdeps resolving>: Correct printing
1380 Implies_before.
1381 * configure: Regenerate.
1382
c23c33b0
TS
13832012-07-22 Thomas Schwinge <thomas@codesourcery.com>
1384
1385 * math/w_ilogb.c: Include <limits.h>.
1386 * math/w_ilogbl.c: Likewise.
1387
b5982523
JM
13882012-07-20 Joseph Myers <joseph@codesourcery.com>
1389
1390 * manual/lang.texi (__va_copy): Document primarily as ISO C99
1391 va_copy. Document allowing for unavailable va_copy only as
1392 pre-C99 compatibility.
1393 * manual/string.texi (Copying and Concatenation): Use va_copy
1394 instead of __va_copy in concat example.
1395
ac4ea442
PT
13962012-07-20 Pino Toscano <toscano.pino@tiscali.it>
1397
1398 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
1399 (__sendto): Use create_address_port. Initialize APORT and deallocate
1400 it if not null.
1401
f98eafbd
PT
1402 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
1403 with O_NOLINK passed to __file_name_lookup.
1404
898c7aab
PT
1405 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
1406 with O_NOLINK passed to __file_name_lookup.
1407
0ced335a
PT
1408 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
1409 negative N or less than NGIDS.
1410
b3404dbd
PT
1411 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
1412 type to string_t. Set ERANGE as errno and return it if NAME is not big
1413 enough. Use memcpy instead of strncpy.
1414
0f48659e
JM
14152012-07-20 Joseph Myers <joseph@codesourcery.com>
1416
1417 * elf/Makefile (check-data): Remove.
1418 (localplt.data): New vpath directive.
1419 ($(objpfx)check-localplt.out): Use localplt.data from vpath
1420 instead of $(check-data).
1421 * scripts/data/localplt-generic.data: Move to ...
1422 * sysdeps/generic/localplt.data: ... here.
1423 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
1424 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
1425 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
1426 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
1427 ... here.
1428 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
1429 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
1430 ... here.
1431 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
1432 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
1433 ... here.
1434 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
1435 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
1436 ... here.
1437 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
1438 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
1439 ... here.
1440 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
1441 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
1442 ... here.
1443
d37cbdaa
AZ
14442012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1445
1446 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
1447 PPC32 and PPC64 files.
1448 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
1449 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
1450
46f85fc2
AK
14512012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1452
1453 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
1454 __makecontext_ret to ...
1455 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
1456 ... here and call exit if uc_link is NULL. New file.
1457 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
1458 __makecontext_ret.S.
1459 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
1460 __makecontext_ret to ...
1461 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
1462 ... here and call exit if uc_link is NULL. New file.
1463 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
1464 __makecontext_ret.S.
1465
08f43f9b
AK
14662012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1467
1468 * elf/elf.h (R_390_IRELATIVE): New definition.
1469 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
1470 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
1471 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
1472 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
1473 (elf_machine_lazy_rel): Likewise.
1474 * sysdeps/s390/dl-irel.h: New file.
1475 * sysdeps/s390/s390-64/memcpy.S: New asm code.
1476 * sysdeps/s390/s390-64/memset.S: New asm code.
1477 * sysdeps/s390/s390-64/memcmp.S: New asm code.
1478 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
1479 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
1480 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
1481 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
1482 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
1483 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
1484 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
1485 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
1486 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
1487 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
1488 * sysdeps/s390/s390-32/memcpy.S: New asm code.
1489 * sysdeps/s390/s390-32/memset.S: New asm code.
1490 * sysdeps/s390/s390-32/memcmp.S: New asm code.
1491
3b05db33
MP
14922012-07-17 Marek Polacek <polacek@redhat.com>
1493
1494 [BZ #14349]
1495 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
1496 * sysdeps/s390/s390-64/configure.in: Likewise.
1497 * sysdeps/sparc/configure.in: Likewise.
1498 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
1499 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
1500 * sysdeps/i386/configure.in: Likewise.
1501 * sysdeps/x86_64/configure.in: Likewise.
1502 * sysdeps/sh/configure.in: Likewise.
1503 * sysdeps/s390/s390-32/configure: Regenerated.
1504 * sysdeps/s390/s390-64/configure: Likewise.
1505 * sysdeps/x86_64/configure: Likewise.
1506 * sysdeps/sh/configure: Likewise.
1507 * sysdeps/powerpc/powerpc64/configure: Likewise.
1508 * sysdeps/powerpc/powerpc32/configure: Likewise.
1509 * sysdeps/sparc/configure: Likwise.
1510 * sysdeps/i386/configure: Likewise.
1511
a66877c6
MP
1512 * elf/dl-open.c: Comment fixes.
1513
cfc82fd8
JM
15142012-07-17 Joseph Myers <joseph@codesourcery.com>
1515
bd29910a
JM
1516 * Makefile [CXX] (check-data): Remove.
1517 [CXX] (c++-types.data): New vpath directive.
1518 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
1519 vpath. Do not allow for C++ type data being missing.
1520 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
1521 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
1522 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
1523 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
1524 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
1525 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
1526 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
1527 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
1528 ... here.
1529 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
1530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
1531 ... here.
1532 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
1533 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
1534 ... here.
1535 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
1536 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
1537 ... here.
1538 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
1539 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
1540 ... here.
1541 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
1542 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
1543 ... here.
1544 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
1545 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
1546 ... here.
1547 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
1548 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
1549
cfc82fd8
JM
1550 * elf/tls-macros.h (TLS_LE): Move architecture-specific
1551 definitions to architecture-specific files.
1552 (TLS_IE): Likewise.
1553 (TLS_LD): Likewise.
1554 (TLS_GD): Likewise.
1555 * sysdeps/i386/tls-macros.h: New file.
1556 * sysdeps/powerpc/tls-macros.h: Likewise.
1557 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
1558 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
1559 * sysdeps/sh/tls-macros.h: Likewise.
1560 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
1561 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
1562 * sysdeps/x86_64/tls-macros.h: Likewise.
1563
f7db3170
TS
15642012-07-17 Thomas Schwinge <thomas@codesourcery.com>
1565
07cbfc23
TS
1566 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
1567 zero value for regular exit case.
1568
f7db3170
TS
1569 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
1570 (__start_context): Preserve zero value for regular exit case.
1571
dc97c227
TS
15722012-07-17 Thomas Schwinge <thomas@codesourcery.com>
1573 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1574
1575 * manual/setjmp.texi (setcontext): Clarify normal process
1576 termination when uc_link is the null pointer.
1577 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
1578 exit call.
1579
d0cd7d02
AS
15802012-07-16 Andreas Schwab <schwab@linux-m68k.org>
1581
1582 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
1583 preprocessor. Test for each exception mask separately.
1584
dd318934
AJ
15852012-07-16 Andreas Jaeger <aj@suse.de>
1586
1587 * po/ru.po: Update from translation team.
1588
8048311a
JM
15892012-07-15 Joseph Myers <joseph@codesourcery.com>
1590
1591 * conform/data/string.h-data (NULL): Use macro-constant. Require
1592 equal to 0.
1593 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
1594 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
1595 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
1596 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
1597 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1598
b637d46e
AJ
15992012-07-13 Andreas Jaeger <aj@suse.de>
1600
1601 * po/fr.po: Update from translation team.
1602
541428fe
MP
16032012-07-12 Marek Polacek <polacek@redhat.com>
1604
1605 [BZ #14173]
1606 * math/libm-test.inc (yn_test): Add test for BZ #14173.
1607 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
1608 loop condition.
1609
ec332e94
JM
16102012-07-12 Joseph Myers <joseph@codesourcery.com>
1611
1612 [BZ #13717]
1613 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1614 Change to 2.4.1 where previously 2.4.0.
1615 * sysdeps/unix/sysv/linux/configure: Regenerated.
1616 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
1617 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
1618 version.
1619 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
1620 (__ASSUME_AT_CLKTCK): Remove.
1621 (__ASSUME_AT_PAGESIZE): Likewise.
1622 (__ASSUME_AT_XID): Likewise.
1623 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
1624 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
1625 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
1626 unconditionally.
1627 (HAVE_AUX_PAGESIZE): Likewise.
1628 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
1629 [__ASSUME_AT_CLKTCK]: Make code unconditional.
1630 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
1631
7b6e99be
JB
16322012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
1633
1634 [BZ #14307]
1635 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
1636 the temporary buffer used to invoke __gethostbyname2_r,
1637 __gethostbyaddr_r and gethostbyname4_r to make room for struct
1638 host_data / struct gaih_addrtuple.
1639 * resolv/nss_dns/dns-host.c (global scope): Move definition of
1640 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
1641 header file nss/nsswitch.h.
1642 * nss/nsswitch.h (global scope): Add definition of implementation
1643 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
1644 resolv/nss_dns/dns-host.c).
1645
608404eb
AJ
16462012-07-11 Andreas Jaeger <aj@suse.de>
1647
1648 * po/fr.po: Update from translation team.
1649
71220aca
AJ
1650 * po/sv.po: Update from translation team
1651 * po/fr.po: Another update from translation team.
1652
28cfe843
AZ
16532012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1654
1655 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
1656 for subnormals or multiply small sinh result by itself.
1657 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
1658 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1659
6b90f981
DM
16602012-07-11 David S. Miller <davem@davemloft.net>
1661
1662 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1663
c6825772
AS
16642012-07-10 Andreas Schwab <schwab@linux-m68k.org>
1665
1666 [BZ #14347]
1667 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
1668 (INTERNAL_MARK): Shift it here.
1669
7b8e0d49
MP
16702012-07-10 Marek Polacek <polacek@redhat.com>
1671
1672 [BZ #14151]
1673 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
1674 libc_cv_asm_global_directive with .globl.
1675 * configure: Regenerated.
1676 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
1677 with .globl.
1678 * sysdeps/i386/configure: Regenerated.
1679 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
1680 with .globl.
1681 * sysdeps/x86_64/configure: Regenerated.
1682 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
1683 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
1684 * elf/tst-unique2mod2.c: Likewise.
1685 * elf/tst-unique2mod1.c: Likewise.
1686 * elf/tst-unique1mod2.c: Likewise.
1687 * elf/tst-unique1mod1.c: Likewise.
1688 * sysdeps/s390/s390-32/sysdep.h: Likewise.
1689 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
1690 * sysdeps/s390/s390-64/sysdep.h: Likewise.
1691 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
1692 * sysdeps/mach/sysdep.h: Likewise.
1693 * sysdeps/i386/sysdep.h: Likewise.
1694 * sysdeps/i386/i386-mcount.S: Likewise.
1695 * sysdeps/x86_64/_mcount.S: Likewise.
1696 * sysdeps/x86_64/sysdep.h: Likewise.
1697 * sysdeps/sh/_mcount.S: Likewise.
1698 * sysdeps/sh/sysdep.h: Likewise.
1699 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
1700 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
1701 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
1702 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
1703 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
1704 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
1705 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
1706 * locale/localeinfo.h: Likewise.
1707 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
1708 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
1709
6c55cda3
RM
17102012-07-09 Roland McGrath <roland@hack.frob.com>
1711
1712 [BZ #14336]
1713 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
1714 system".
1715 * manual/message.texi (The Uniforum approach): Likewise.
1716 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
1717 (glibc iconv Implementation): Likewise.
1718
638a572e
JM
17192012-07-09 Joseph Myers <joseph@codesourcery.com>
1720
1721 [BZ #14337]
1722 * math/s_clog.c (__clog): Avoid scaling a value down where that
1723 could result in underflow.
1724 * math/s_clog10.c (__clog10): Likewise.
1725 * math/s_clog10f.c (__clog10f): Likewise.
1726 * math/s_clog10l.c (__clog10l): Likewise.
1727 * math/s_clogf.c (__clogf): Likewise.
1728 * math/s_clogl.c (__clogl): Likewise.
1729 * math/libm-test.inc (clog_test): Add more tests.
1730 (clog10_test): Likewise.
1731 * sysdeps/i386/fpu/libm-test-ulps: Update.
1732 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1733
261f4859
AS
17342012-07-06 Andreas Schwab <schwab@linux-m68k.org>
1735
0abaf3e4
AS
1736 [BZ #14283]
1737 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
1738 by 7 not 8 to examine high bit of fractional part.
1739
261f4859
AS
1740 [BZ #14042]
1741 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
1742 for call to __mcount_internal.
1743 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
1744 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
1745 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
1746
f17ac40d
JM
17472012-07-06 Joseph Myers <joseph@codesourcery.com>
1748
9ad63c23
JM
1749 [BZ #14154]
1750 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
1751 approximation for values within 0x1p-13f of an odd multiple of
1752 pi/4.
1753 * math/libm-test.inc (tan_test): Do not allow spurious underflow
1754 exception. Add more tests.
1755 * sysdeps/i386/fpu/libm-test-ulps: Update.
1756
f17ac40d
JM
1757 [BZ #6778]
1758 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
1759 inputs and return -1 for them. Do not check for +Inf in case not
1760 reachable for +Inf.
1761 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
1762 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
1763 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
1764 and return -1 for them. Do not check for +Inf in case not
1765 reachable for +Inf.
1766 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
1767 define.
1768 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
1769 and return -1 for them. Do not check for +Inf in case not
1770 reachable for +Inf.
1771 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
1772 spurious underflow.
1773 * sysdeps/i386/fpu/libm-test-ulps: Update.
1774 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1775
fb21f89b
MF
17762012-07-06 Mike Frysinger <vapier@gentoo.org>
1777
1778 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
1779
cdfe2c5e
JM
17802012-07-05 Joseph Myers <joseph@codesourcery.com>
1781
1782 [BZ #14157]
1783 [BZ #14331]
1784 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
1785 could result in spurious underflow. Scale down values above
1786 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
1787 * math/s_csqrtf.c (__csqrtf): Likewise.
1788 * math/s_csqrtl.c (__csqrtl): Likewise.
1789 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
1790 spurious underflow.
1791 * sysdeps/i386/fpu/libm-test-ulps: Update.
1792 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1793
70d35b67
AS
17942012-07-04 Andreas Schwab <schwab@linux-m68k.org>
1795
704bc459
AS
1796 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
1797 xopen-msg.sed.
1798 * catgets/xopen-msg.awk: New file.
1799 * catgets/xopen-msg.sed: Removed.
1800
70d35b67
AS
1801 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
1802 po2text.sed.
1803 * intl/po2test.awk: New file.
1804 * intl/po2test.sed: Removed.
1805
ca61cf32
JM
18062012-07-04 Joseph Myers <joseph@codesourcery.com>
1807
1808 [BZ #14328]
1809 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
1810 or multiply small sinh result by itself.
1811 * math/s_ctanf.c (__ctanf): Likewise.
1812 * math/s_ctanh.c (__ctanh): Likewise.
1813 * math/s_ctanhf.c (__ctanhf): Likewise.
1814 * math/s_ctanhl.c (__ctanhl): Likewise.
1815 * math/s_ctanl.c (__ctanl): Likewise.
1816 * math/libm-test.inc (ctan_test_tonearest): New function.
1817 (ctan_test_towardzero): Likewise.
1818 (ctan_test_downward): Likewise.
1819 (ctan_test_upward): Likewise.
1820 (ctanh_test_tonearest): Likewise.
1821 (ctanh_test_towardzero): Likewise.
1822 (ctanh_test_downward): Likewise.
1823 (ctanh_test_upward): Likewise.
1824 (main): Call these new functions.
1825 * sysdeps/i386/fpu/libm-test-ulps: Update.
1826 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1827
ca48a46a
MF
18282012-07-03 Mike Frysinger <vapier@gentoo.org>
1829
1830 * .gitignore: Delete /ports entry.
1831
9d63d37d
AJ
18322012-07-03 Andreas Jaeger <aj@suse.de>
1833
1834 * po/bg.po: Update from translation team.
1835 * po/cs.po: Likewise.
1836 * po/de.po: Likewise.
1837 * po/hr.po: Likewise.
1838 * po/nl.pl: Likewise.
1839 * po/pl.po: Likewise.
1840 * po/vi.po: Likewise.
1841
370ca3d2
JM
18422012-07-03 Joseph Myers <joseph@codesourcery.com>
1843
95f5a9a8
JM
1844 * Makeconfig [!+link] (+link-before-libc): New variable.
1845 [!+link] (+link-after-libc): Likewise.
1846 [!+link] (+link-tests): Likewise.
1847 [!+link] (+link): Define in terms of $(+link-before-libc) and
1848 $(+link-after-libc).
1849 [!+link-static] (+link-static-before-libc): New variable.
1850 [!+link-static] (+link-static-after-libc): Likewise.
1851 [!+link-static] (+link-static-tests): Likewise.
1852 [!+link-static] (+link-static): Define in terms of
1853 $(+link-static-before-libc) and $(+link-static-after-libc).
1854 [build-shared] (link-libc-before-gnulib): New variable.
1855 [build-shared] (link-libc-tests): Likewise.
1856 [build-shared] (link-libc): Define in terms of
1857 $(link-libc-before-gnulib).
1858 [!build-shared] (link-libc-tests): New variable.
1859 (link-libc-static-tests): New variable.
1860 [!gnulib] (gnulib-arch): New variable.
1861 [!gnulib] (gnulib-tests): Likewise.
1862 [!gnulib] (static-gnulib-arch): Likewise.
1863 [!gnulib] (static-gnulib-tests): Likewise.
1864 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
1865 Define with "=" instead of ":=".
1866 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
1867 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
1868 * Rules (binaries-all-notests): New variable.
1869 (binaries-all-tests): Likewise.
1870 (binaries-static-notests): Likewise.
1871 (binaries-static-tests): Likewise.
1872 (binaries-all): Define using $(binaries-all-notests) and
1873 $(binaries-all-tests).
1874 (binaries-static): Define using $(binaries-static-notests) and
1875 $(binaries-static-tests).
1876 (binaries-shared-tests): New variable.
1877 (binaries-shared-notests): Likewise.
1878 (binaries-shared): Remove variable.
1879 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
1880 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
1881 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
1882 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
1883 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
1884 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
1885 * elf/Makefile (sln-modules): New variable.
1886 (extra-objs): Add $(sln-modules:=.o).
1887 (ldconfig-modules): Add static-stubs.
1888 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
1889 * elf/static-stubs.c: New file.
1890
7a845b2c
JM
1891 [BZ #14283]
1892 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
1893 by 7 not 8 to examine high bit of fractional part. Use volatile
1894 variables when splitting into final array of floats if
1895 __FLT_EVAL_METHOD__ != 0.
1896 * math/libm-test.inc (cos_test): Add another test.
1897 (sin_test): Likewise.
1898 * sysdeps/i386/fpu/libm-test-ulps: Update.
1899
e2283f38
JM
1900 [BZ #14273]
1901 * math/libm-test.inc (cosh_test): Add more tests.
1902
370ca3d2
JM
1903 * version.h (RELEASE): Set to "development".
1904 (VERSION): Set to "2.16.90".
1905
ee9247c3
CD
19062012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
1907
1908 * NEWS: Update copyright. Remove last-updated date.
1909 Mention math library bug fixes and timezone data changes.
1910 * README: Mention GNU/Hurd, x32, and HPPA support status.
1911
4648c381
TS
19122012-06-28 Thomas Schwinge <thomas@codesourcery.com>
1913
1914 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
1915
aac78a43
AJ
19162012-06-27 Andreas Jaeger <aj@suse.de>
1917
1918 * manual/contrib.texi (Contributors): Add Samuel Thibault.
1919
ed3dbfad
AJ
19202012-06-25 Andreas Jaeger <aj@suse.de>
1921
1922 * sysdeps/s390/fpu/libm-test-ulps: Update.
1923
4d0ee855
AS
19242012-06-23 Andreas Schwab <schwab@linux-m68k.org>
1925 Thomas Schwinge <thomas@codesourcery.com>
1926
1927 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
1928 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
1929 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
1930 fanotify_mark.
1931
af1bce34
TS
19322012-06-23 Thomas Schwinge <thomas@codesourcery.com>
1933
a9fa33ba
TS
1934 * sysdeps/mach/start.c: Remove file.
1935 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
1936 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
1937 * sysdeps/sh/init-first.c: Likewise.
1938
58f902b8
TS
1939 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
1940 registers for frame unwinding purposes, add CFI directives.
1941 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
1942 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
1943 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
1944 Likewise.
1945
1518f58b
TS
1946 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
1947 __fortify_fail returning.
1948 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
1949
db9b5059
TS
1950 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
1951 sysdeps/sh/____longjmp_chk.S.
1952 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
1953 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
1954 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
1955 (gen-as-const-headers): Append sigaltstack-offsets.sym.
1956
967705fe
TS
1957 * sysdeps/sh/abort-instr.h: New file.
1958 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
1959 process in case exit returns.
1960
a9def8c4
TS
1961 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
1962 initialize the GOT register before use.
1963
2a649725
TS
1964 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
1965 calculation of ARGC > 4.
1966
af1bce34
TS
1967 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
1968 meaningful names to some local labels.
1969
d230f50a
KK
19702012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
1971 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1972
1973 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
1974 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
1975 (__arch_compare_and_exchange_val_16_acq): Likewise.
1976 (__arch_compare_and_exchange_val_32_acq): Likewise.
1977 (atomic_exchange_and_add): Fix gUSA sequence.
1978 (atomic_add): Likewise.
1979 (atomic_add_negative): Likewise.
1980 (atomic_add_zero): Likewise.
1981 (atomic_bit_test_set): Likewise.
1982
0479b305
AS
19832012-06-22 Andreas Schwab <schwab@redhat.com>
1984
1985 [BZ #13579]
1986 * include/link.h (struct link_map): Add l_free_initfini.
1987 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
1988 l_initfini.
1989 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
1990 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
1991 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
1992 set.
1993
0e3933b9
CD
19942012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
1995
1996 * configure.in: Use AC_LANG_SOURCE.
1997 * configure: Regenerate.
1998
4248b1b1
RM
19992012-06-22 Roland McGrath <roland@hack.frob.com>
2000
2001 * configure.in (libc_cv_localstatedir): New substituted variable.
2002 * configure: Regenerated.
2003 * config.make.in (localstatedir): New variable, substituted from
2004 libc_cv_localstatedir.
2005 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
2006 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
2007 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
2008 * sysdeps/gnu/configure: Regenerated.
2009
006dd861
JL
20102012-06-21 Jeff Law <law@redhat.com>
2011
2012 [BZ #14277]
2013 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
2014 free. Simplify list management for _LIBC case.
2015
79662d42
JM
20162012-06-21 Joseph Myers <joseph@codesourcery.com>
2017
b7abb4bf
JM
2018 [BZ #14273]
2019 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
2020 Clear sign bit of 64-bit integer value before comparing against
2021 overflow value.
2022
79662d42
JM
2023 * sysdeps/mach/configure: Regenerated.
2024
1f150908
L
20252012-06-21 H.J. Lu <hongjiu.lu@intel.com>
2026
2027 [BZ #14278]
2028 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
2029
28363bbf
JL
20302012-06-21 Jeff Law <law@redhat.com>
2031
2032 [BZ #13882]
2033 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
2034 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 2035 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
2036 * elf/dl-open.c (dl_open_worker): Likewise.
2037
09615db4
CD
20382012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
2039
2040 * scripts/list-sources.sh: Scan PORTS for translations.
2041 * po/libc.pot: Regenerated.
2042
2174c6dd
AJ
20432012-06-21 Andreas Jaeger <aj@suse.de>
2044
2045 [BZ #12194]
2046 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
2047 warning.
2048 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
2049 * bits/byteswap-16.h (__bswap_16): Likewise.
2050 * bits/byteswap.h (__bswap_constant_16): Likewise.
2051
3ee947b1
L
20522012-06-18 H.J. Lu <hongjiu.lu@intel.com>
2053
2054 [BZ #14117]
a2f34833
L
2055 * sysdeps/i386/fpu_control.h: Removed.
2056 * sysdeps/x86_64/fpu_control.h: Moved to ...
2057 * sysdeps/x86/fpu_control.h: Here.
2058
3ee947b1
L
2059 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
2060 (_FPU_SETCW): Likewise.
2061
ed1825f8
L
20622012-06-15 H.J. Lu <hongjiu.lu@intel.com>
2063
25f1282a
L
2064 [BZ #14117]
2065 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
2066 * sysdeps/x86/fpu/bits/mathinline.h: This.
2067 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
2068
ed1825f8
L
2069 [BZ #14050]
2070 [BZ #14117]
2071 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
2072 functions if __x86_64__ is defined.
2073
36d54b74
CLT
20742012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
2075
2076 * string/endian.h: Add !__ASSEMBLER__ condition for including
2077 conversion interfaces.
2078
10285c21
JM
20792012-06-15 Joseph Myers <joseph@codesourcery.com>
2080
2081 [BZ #14241]
2082 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
2083 of ABS(x) in calculating zero to negative powers other than odd
2084 integers.
2085 * math/libm-test.inc (pow_test): Add more tests.
2086
06c5abbd
AJ
20872012-06-15 Andreas Jaeger <aj@suse.de>
2088
2089 * manual/contrib.texi (Contributors): Update entry of Liubov
2090 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
2091 Machado Filho.
2092
a3aeac40
CH
20932012-06-15 Cyril Hrubis <metan@ucw.cz>
2094
2095 * string/string.h: Add __wur to GNU version of strerror_r.
2096
49bdf4c1
L
20972012-06-14 H.J. Lu <hongjiu.lu@intel.com>
2098
2099 [BZ #14229]
2100 * string/Makefile (tests): Add tst-strtok_r.
2101 * string/tst-strtok_r.c: New file.
2102 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
2103 RAX_LP/RDX_LP on SAVE_PTR.
2104
834f9b8d
RM
21052012-06-14 Roland McGrath <roland@hack.frob.com>
2106
2107 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
2108
75fa1921
JM
21092012-06-14 Joseph Myers <joseph@codesourcery.com>
2110
2111 * libm_test.inc (csqrt_test): Allow more spurious underflow
2112 exceptions.
2113 (j0_test): Likewise.
2114 (j1_test): Likewise.
2115 (y0_test): Likewise.
2116 (y1_test): Likewise.
2117
771766df
CD
21182012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
2119
2120 * po/Makefile (libc.pot): Use UTF-8 charset.
2121
ceb9e56b
PP
21222012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
2123
2124 [BZ #14210]
2125 Suppress sign-conversion warning from FD_SET.
2126 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
2127 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
2128 not unsigned long int.
2129 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
2130
ddb28975
L
21312012-06-12 H.J. Lu <hongjiu.lu@intel.com>
2132
2133 [BZ #14050]
2134 [BZ #14117]
2135 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
2136 __extern_always_inline instead of __extern_inline.
2137 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
2138 (__signbit): Likewise.
2139 (__signbitl): Support C++ namespace.
2140 (lrintf): New inline function.
2141 (lrint): Likewise.
2142 (llrintf): Likewise.
2143 (llrint): Likewise.
2144 (fmaxf): Likewise.
2145 (fmax): Likewise.
2146 (fminf): Likewise.
2147 (fmin): Likewise.
2148 (rint): Likewise.
2149 (rintf): Likewise.
2150 (ceil): Likewise.
2151 (ceilf): Likewise.
2152 (floor): Likewise.
2153 (floorf): Likewise.
2154 (nearbyint): Likewise.
2155 (nearbyintf): Likewise.
2156
d7b4fb26
TS
21572012-06-12 Thomas Schwinge <thomas@codesourcery.com>
2158
2159 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
2160 non-default versions.
2161
eb55f5c2
RM
21622012-06-11 Roland McGrath <roland@hack.frob.com>
2163
2164 [BZ #14218]
2165 * manual/argp.texi (Argp): Reword argp_parse description slightly.
2166
366af02c
TS
21672012-06-09 Thomas Schwinge <thomas@codesourcery.com>
2168
99ff6e5c
TS
2169 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
2170 (FE_UPWARD, FE_DOWNWARD): Don't define.
2171 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
2172 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
2173
366af02c
TS
2174 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
2175 reading it.
2176 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
2177 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
2178
793ea851
KK
21792012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2180
2181 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
2182 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
2183 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
2184 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
2185
a728a38f
L
21862012-06-06 H.J. Lu <hongjiu.lu@intel.com>
2187
2188 [BZ #14117]
c08010c7
L
2189 * sysdeps/i386/fpu/bits/fenv.h: Removed.
2190 * sysdeps/i386/fpu/Implies: New file.
2191 * sysdeps/x86_64/fpu/Implies: Likewise.
2192 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
2193 * sysdeps/x86/fpu/bits/fenv.h: This.
2194
a728a38f
L
2195 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
2196 __SSE_MATH__.
2197
6e230d11
SP
21982012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
2199
2200 [BZ #14134]
2201 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
2202 character 0xffff that matches the last element of the
2203 conversion table.
2204
1b671feb
AZ
22052012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2206
2207 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
2208 fmodl commit.
2209
6043738b
AZ
22102012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2211
2212 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
2213 values higher than 25.6283.
2214
34ae0b32
AZ
22152012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2216
2217 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
2218 subnormal exponent extraction and add some __builtin_expect.
2219 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
2220 Fix for subnormal mantissa calculation.
2221
1214ec8f
MF
22222012-06-04 Mike Frysinger <vapier@gentoo.org>
2223
2224 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
2225 cpu2 is -1 and errno is not ENOSYS.
2226
f3d1f93c
L
22272012-06-04 H.J. Lu <hongjiu.lu@intel.com>
2228
2229 [BZ #14117]
0e4a3cd7
L
2230 * sysdeps/i386/i486/bits/string.h: Renamed to ...
2231 * sysdeps/x86/bits/string.h: This.
2232 * sysdeps/x86_64/bits/string.h: Removed.
2233
6704c645
L
2234 * sysdeps/i386/i486/bits/string.h: Define inline functions only
2235 if not compiling for x86-64, but compiling for >= i486.
2236
48495318
L
2237 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
2238 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
2239
14adcbfc
L
2240 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
2241 New macro from Linux kernel 3.4.0.
2242 (FP_XSTATE_MAGIC2): Likewise.
2243 (FP_XSTATE_MAGIC2_SIZE): Likewise.
2244 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
2245 (struct _fpx_sw_bytes): New struct.
2246 (struct _xsave_hdr): Likewise.
2247 (struct _ymmh_state): Likewise.
2248 (struct _xstate): Likewise.
2249
68e408ab
L
2250 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
2251 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
2252 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
2253 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
2254 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
2255 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
2256
f3d1f93c
L
2257 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
2258 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
2259 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
2260 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
2261 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
2262 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
2263
d9dc34cd
TMQMF
22642012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2265
2266 [BZ #13743]
2267 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
2268 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
2269 (sysdep_headers): Include sys/platform/ppc.h.
2270 * sysdeps/powerpc/test-gettimebase.c: Test for
2271 __ppc_get_timebase() to catch future ISA opcode/insn changes.
2272 * manual/Makefile (appendices): Include platform.texi.
2273 * manual/contrib.texi (Contributors): Update @node pointers.
2274 * manual/maint.texi (Maintenance): Likewise.
2275 (Platform): New node.
2276 * manual/platform.texi: New file. Document the new features.
2277
4af3879c
SP
22782012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2279 Jakub Jelinek <jakub@redhat.com>
2280
2281 [BZ #14188]
2282 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
2283 where __builtin_expect is unavailable.
2284
2fd6ff13
DM
22852012-06-03 David S. Miller <davem@davemloft.net>
2286
2287 * stdlib/longlong.h: Updated from GCC.
2288
173f7220
AS
22892012-06-02 Andreas Schwab <schwab@linux-m68k.org>
2290
2291 [BZ #14042]
2292 * sysdeps/powerpc/powerpc32/mcount.c: New file.
2293 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
2294 __mcount_internal.
2295 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
2296 (GLIBC_2.16): Likewise.
2297
f34a1c6f
L
22982012-06-01 H.J. Lu <hongjiu.lu@intel.com>
2299
2300 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
2301
88a4576f
JM
23022012-06-01 Joseph Myers <joseph@codesourcery.com>
2303
ea32bcdd
JM
2304 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
2305 (default-abi): New variable.
2306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
2307 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
2308 variable.
2309 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
2310 Likewise.
2311 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
2312 Likewise.
2313 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
2314 Likewise.
2315
88a4576f
JM
2316 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
2317 definition. Document in comment.
2318
402fe938
DM
23192012-06-01 David S. Miller <davem@davemloft.net>
2320
2321 * stdlib/longlong.h: Updated from GCC.
2322
3553723f
L
23232012-06-01 H.J. Lu <hongjiu.lu@intel.com>
2324
2325 [BZ #14117]
3bd872c4
L
2326 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
2327 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
2328 sys/debugreg.h sys/io.h here.
2329 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
2330 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
2331 sys/io.h.
2332 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
2333 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
2334 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
2335 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
2336 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
2337 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
2338
3553723f
L
2339 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
2340 Define only if __x86_64__ is defined.
2341
4842e4fe
JM
23422012-06-01 Joseph Myers <joseph@codesourcery.com>
2343
c5bfe3d5
JM
2344 [BZ #14048]
2345 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
2346 Use int64_t for variable i.
2347 * math/libm-test.inc (fmod_test): Add more tests.
2348
4842e4fe
JM
2349 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
2350 z computation is not scheduled after fetestexcept.
2351 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
2352 Use math_force_eval instead of asm to ensure calculation scheduled
2353 before exception test.
2354 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
2355 Ensure a1 + u.d computation is not scheduled after fetestexcept.
2356
efb73488
AJ
23572012-06-01 Aurelien Jarno <aurelien@aurel32.net>
2358
2359 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
2360 computation is not scheduled after fetestexcept.
2361
29bcce7c
L
23622012-06-01 H.J. Lu <hongjiu.lu@intel.com>
2363
2364 [BZ #14117]
2365 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
2366 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
2367
73a68f94
AZ
23682012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2369
2370 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
2371 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
2372
67b6df78
L
23732012-05-31 H.J. Lu <hongjiu.lu@intel.com>
2374
edf2933a 2375 [BZ #14117]
ebc64a18
L
2376 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
2377 <bits/wordsize.h>.
2378 (__WCHAR_MIN): Support __WORDSIZE == 64.
2379 (__WCHAR_MAX): Likewise.
2380
edf2933a
L
2381 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
2382 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
2383
57c6cf40
L
2384 [BZ #14183]
2385 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
2386 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
2387
67b6df78 2388 [BZ #14117]
8eb6281e
L
2389 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
2390 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
2391
aac639f4
L
2392 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
2393 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
2394
67b6df78
L
2395 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
2396 Defined to 1 if __x86_64__ isn't defined.
2397 (_STAT_VER_LINUX_OLD): New.
2398 (st_atime): Remove duplicate.
2399 (st_mtime): Likewise.
2400 (st_ctime): Likewise.
2401
1c2cfe81
DM
24022012-05-31 David S. Miller <davem@davemloft.net>
2403
2404 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
2405 entries.
2406
5be8418c
AS
24072012-06-01 Andreas Schwab <schwab@linux-m68k.org>
2408
e7725326
AS
2409 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
2410 gen-libm-test.pl.
2411
5be8418c
AS
2412 [BZ #14132]
2413 * elf/dl-reloc.c: Include <_itoa.h>.
2414 (_dl_reloc_bad_type): Remove use of INTUSE.
2415 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
2416 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
2417 * stdio-common/psiginfo.c (psiginfo): Likewise.
2418 * stdio-common/psignal.c (psignal): Likewise.
2419 * string/strsignal.c (strsignal): Likewise.
2420 * include/signal.h (_sys_siglist): Declare hidden proto.
2421 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
2422 INTVARDEF with libc_hidden_data_def.
2423 * stdio-common/itoa-udigits.c: Likewise.
2424 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
2425 (_itoa_lower_digits_internal): Remove declaration.
2426 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
2427 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
2428 (_sys_sigabbrev_internal): Remove aliases.
2429 (_sys_siglist): Define hidden alias.
2430
507352f1
MT
24312012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
2432
2433 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2434 bits/sysctl.h.
2435
42bbb1c3
L
24362012-05-31 H.J. Lu <hongjiu.lu@intel.com>
2437
2438 [BZ #14117]
6bd784b6
L
2439 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
2440 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
2441
8bca20f0
L
2442 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
2443 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
2444 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
2445 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
2446 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
2447 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
2448
f9e890a9
L
2449 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
2450 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
2451 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
2452
471101a1
L
2453 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
2454 with __addr.
2455 (insw): Likewise.
2456 (insl): Likewise.
2457 (outsb): Likewise.
2458 (outsw): Likewise.
2459 (outsl): Likewise.
2460
6451c862
L
2461 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
2462 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
2463 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
2464
a254b8c9
L
2465 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
2466 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
2467 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
2468 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
2469 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
2470 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
2471
b8dfdd92
L
2472 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
2473 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
2474
578cd270
L
2475 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
2476 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
2477
de662f5f
L
2478 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
2479 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
2480 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
2481
25653439
L
2482 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
2483 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
2484 to ...
2485 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
2486
6bad24a0
L
2487 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
2488 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
2489 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
2490
42bbb1c3
L
2491 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
2492 for x86-64.
2493 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
2494
2d10d547
JM
24952012-05-31 Joseph Myers <joseph@codesourcery.com>
2496
2497 * math/math.h (M_El): Use two more decimal places.
2498 (M_LOG2El): Likewise.
2499 (M_LOG10El): Likewise.
2500 (M_LN2l): Likewise.
2501 (M_LN10l): Likewise.
2502 (M_PIl): Likewise.
2503 (M_PI_2l): Likewise.
2504 (M_PI_4l): Likewise.
2505 (M_1_PIl): Likewise.
2506 (M_2_PIl): Likewise.
2507 (M_2_SQRTPIl): Likewise.
2508 (M_SQRT2l): Likewise.
2509 (M_SQRT1_2l): Likewise.
2510
f230c29b
DM
25112012-05-31 David S. Miller <davem@davemloft.net>
2512
2513 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
2514 values between float registers.
2515 * sysdeps/sparc/sparc64/memset.S: Likewise.
2516 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
2517
fed806c3
MF
25182012-05-31 Mike Frysinger <vapier@gentoo.org>
2519
2520 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
2521 -D_FORTIFY_SOURCE=1.
2522 (CPPFLAGS-tst-longjmp_chk.c): Define.
2523 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
2524 (CPPFLAGS-tst-longjmp_chk2.c): Define.
2525 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
2526 CFLAGS-tst-wchar-h.c.
2527
30917259
MP
25282012-05-31 Marek Polacek <polacek@redhat.com>
2529
2530 [BZ #14132]
2531 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
2532 __endmntent_internal): Remove declaration.
2533 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
2534 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
2535 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
2536
1c58d5dc
DM
25372012-05-30 David S. Miller <davem@davemloft.net>
2538
2539 * sysdeps/sparc/sparc32/soft-fp/q_util.c
2540 (___Q_simulate_exceptions): Use real FP ops rather than writing
2541 into the %fsr.
2542 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
2543 Likewise.
2544
7dc00e0d
L
25452012-05-30 H.J. Lu <hongjiu.lu@intel.com>
2546
2547 [BZ #14117]
0bd53985
L
2548 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
2549 * sysdeps/x86/bits/xtitypes.h: This.
2550
3a257e66
L
2551 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
2552 * sysdeps/x86/bits/wordsize.h: This.
2553
62f62904
L
2554 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
2555 * sysdeps/x86/bits/huge_vall.h: This.
2556
404fe9d9
L
2557 * sysdeps/i386/bits/select.h: Removed.
2558 * sysdeps/x86_64/bits/select.h: Renamed to ...
2559 * sysdeps/x86/bits/select.h: This.
2560
d48d0446
L
2561 * sysdeps/i386/bits/setjmp.h: Removed.
2562 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
2563 * sysdeps/x86/bits/setjmp.h: This.
2564
7dc00e0d
L
2565 * sysdeps/i386/bits/mathdef.h: Removed.
2566 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
2567 * sysdeps/x86/bits/mathdef.h: This.
2568
03277f8f
AS
25692012-05-30 Andreas Schwab <schwab@linux-m68k.org>
2570
2571 [BZ #14132]
2572 * include/sys/socket.h (__connect_internal)
2573 (__libc_sa_len_internal): Remove declaration.
2574 (__connect, __libc_sa_len): Declare hidden_proto.
2575 (SA_LEN): Remove use of INTUSE.
2576 * socket/connect.c: Add libc_hidden_def.
2577 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
2578 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
2579 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
2580 alias.
2581 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
2582 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
2583 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
2584 of adding _internal alias.
2585
13764867
L
25862012-05-30 H.J. Lu <hongjiu.lu@intel.com>
2587
2588 [BZ #14117]
6bd97696
L
2589 * sysdeps/i386/bits/link.h: Removed.
2590 * sysdeps/i386/bits/linkmap.h: Likewise.
2591 * sysdeps/x86_64/bits/link.h: Renamed to ...
2592 * sysdeps/x86/bits/link.h: This.
2593 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
2594 * sysdeps/x86/bits/linkmap.h: This.
2595
f726f0bb
L
2596 * sysdeps/i386/bits/endian.h: Removed.
2597 * sysdeps/x86_64/bits/endian.h: Renamed to ...
2598 * sysdeps/x86/bits/endian.h: This.
2599
13764867
L
2600 * sysdeps/i386/bits/byteswap.h: Removed.
2601 * sysdeps/i386/bits/byteswap-16.h: Likewise.
2602 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
2603 * sysdeps/x86/bits/byteswap.h: This.
2604 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
2605 * sysdeps/x86/bits/byteswap-16.h: This.
2606 * sysdeps/i386/Implies: Add x86.
2607 * sysdeps/x86_64/Implies: Likewise.
2608
ae251b0b
DM
26092012-05-30 David S. Miller <davem@davemloft.net>
2610
2611 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
2612 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
2613 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
2614 (FP_TRAPPING_EXCEPTIONS): Define.
2615 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
2616 (FP_TRAPPING_EXCEPTIONS): Define.
2617 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
2618 subnormals only when inexact has been signalled or underflow
2619 exceptions are enabled.
2620 (_FP_PACK_CANONICAL): Likewise.
2621
d5c90867
L
26222012-05-30 H.J. Lu <hongjiu.lu@intel.com>
2623
2624 [BZ #14183]
2625 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
2626 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
2627
63f1549e
RH
26282012-05-30 Richard Henderson <rth@twiddle.net>
2629
8d8f2279
RH
2630 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
2631 with #ifndef NOT_IN_libc.
2632
63f1549e
RH
2633 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
2634 marked to avoid plt entry.
2635
0ab0291b
L
26362012-05-30 H.J. Lu <hongjiu.lu@intel.com>
2637
2638 [BZ #14112]
2639 * Makeconfig (default-abi): New macro.
2640 (abi-includes): Likewise.
2641 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
2642 $(abi-$(default-abi)-lib-soname) for soname if defined.
2643 ($(common-objpfx)gnu/lib-names.stmp): Generate from
2644 abi-variants.
2645 * Makefile (installed-stubs): Likewise.
2646 * include/stubs-biarch.h: Removed.
2647 * scripts/lib-names.awk: Only handle one library at a time.
2648 * scripts/soversions.awk: Remove WORDSIZE support.
2649 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
2650 entries.
2651 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
2652 Removed.
2653 (syscall-list-default-condition): Likewise.
2654 (syscall-list-default-condition): Likewise.
2655 (syscall-list-includes): Likewise.
2656 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
2657 syscall-list-* with abi-*. Handle undefined abi-variants.
2658 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
2659 * sysdeps/unix/sysv/linux/i386/Implies: New file.
2660 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
2661 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
2662 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
2663 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
2664 Removed.
2665 (syscall-list-32-options): Likewise.
2666 (syscall-list-32-condition): Likewise.
2667 (syscall-list-64-options): Likewise.
2668 (syscall-list-64-condition): Likewise.
2669 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
2670 macro.
2671 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
2672 Renamed to ...
2673 (abi-*): This.
2674 (abi-64-ld-soname): New macro.
2675 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
2676 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
2677 Renamed to ...
2678 (abi-*): This.
2679 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
2680 * sysdeps/x86_64/x32/shlib-versions: Likewise.
2681
4da0431d
JM
26822012-05-30 Joseph Myers <joseph@codesourcery.com>
2683
3a85279c
JM
2684 * sysdeps/unix/sysv/linux/kernel-features.h
2685 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
2686 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
2687 include <kernel-features.h>.
2688 [!__NR_ftruncate64]: Remove conditional code.
2689 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2690 [__NR_ftruncate64]: Make code unconditional.
2691 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2692 * sysdeps/unix/sysv/linux/truncate64.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/powerpc/powerpc32/ftruncate64.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/truncate64.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
4da0431d
JM
2711 * configure.in (libc_cv_fpie): Weaken to a compile test using
2712 LIBC_TRY_CC_OPTION.
2713 * configure: Regenerated.
2714
11ef492c
AK
27152012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2716
2717 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
2718 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
2719 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
2720 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
2721 Refreshed.
2722 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
2723 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
2724 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
2725 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
2726 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
2727 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2728 Refreshed.
2729
d66ef399
DM
27302012-05-27 David S. Miller <davem@davemloft.net>
2731
2732 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
2733 (___Q_zero): New.
2734 (__Q_simulate_exceptions): Return void. Change to simulate
2735 exceptions by writing into the %fsr.
2736 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
2737 (__Qp_handle_exceptions): Likewise.
2738 (numbers): Delete.
2739 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
2740 __Qp_handle_exceptions.
2741 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
2742 __Qp_handle_exceptions.
2743 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
2744 as unused and give dummy FP_RND_NEAREST initializer.
2745 (FP_INHIBIT_RESULTS): Define.
2746 (___Q_simulate_exceptions): Update declaration.
2747 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
2748 formatting.
2749 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
2750 as unused and give dummy FP_RND_NEAREST initializer.
2751 (__Qp_handle_exceptions): Update declaration.
2752 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
2753 formatting.
2754
04fb54b5
TS
27552012-05-27 Thomas Schwinge <thomas@codesourcery.com>
2756
2757 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
2758 the temporary FPU control word.
2759 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
2760 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
2761 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
2762 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
2763 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
2764 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
2765 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
2766 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
2767 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
2768 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
2769 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
2770
3f99608f
KK
27712012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2772
2773 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
2774 fields.
2775
65a4de4e
CLT
27762012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
2777
2778 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
2779 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
2780 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
2781 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
2782 Likewise.
2783 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
2784 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
2785 Likewise.
2786
15749d40
UD
27872012-05-27 Ulrich Drepper <drepper@gmail.com>
2788
2789 * po/h.po: Update from translation team.
2790
25dbcb27
AS
27912012-05-26 Andreas Schwab <schwab@linux-m68k.org>
2792
3d3f8e55
AS
2793 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
2794
25dbcb27
AS
2795 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
2796 handling of denormals.
2797 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
2798 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
2799 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
2800 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
2801 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
2802 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
2803 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
2804 Likewise.
2805
7ad47a80 28062012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
2807
2808 [BZ #14152]
2809 * math/libm-test.inc (fma_test): Don't always expect underflow
2810 exception.
2811
9c6ea9fa
SP
28122012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2813
2814 [BZ #12416]
2815 * elf/tst-execstack.c: Include stackinfo.h.
2816 (do_test): Adjust test case to ensure that pthread_getattr_np
2817 behaviour remains the same after marking stack executable.
2818
a8239222
JM
28192012-05-25 Joseph Myers <joseph@codesourcery.com>
2820
2821 * sysdeps/unix/sysv/linux/kernel-features.h
2822 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
2823 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
2824 kernel-features.h.
2825 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
2826 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
2827 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
2828 kernel-features.h.
2829 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
2830 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
2831
918b5606
L
28322012-05-25 H.J. Lu <hongjiu.lu@intel.com>
2833
2834 * configure.in: Define the default includes to being none.
2835 * configure: Regenerated.
2836
3a097cc7
RM
28372012-05-25 Roland McGrath <roland@hack.frob.com>
2838
8422c9a5
RM
2839 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
2840 * sysdeps/x86_64/setjmp.S: Likewise.
2841 * sysdeps/i386/bsd-setjmp.S: Likewise.
2842 * sysdeps/i386/bsd-_setjmp.S: Likewise.
2843 * sysdeps/i386/setjmp.S: Likewise.
2844 * sysdeps/i386/__longjmp.S: Likewise.
2845 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
2846 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
2847
3a097cc7
RM
2848 * include/stap-probe.h: New file.
2849 * configure.in: Handle --enable-systemtap.
2850 * configure: Regenerated.
2851 * config.h.in (USE_STAP_PROBE): New #undef.
2852 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
2853 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
2854 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
2855
21708942
JM
28562012-05-25 Joseph Myers <joseph@codesourcery.com>
2857
2858 [BZ #13717]
2859 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
2860 to 2.4.0 where earlier.
2861 * sysdeps/unix/sysv/linux/configure: Regenerated.
2862 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
2863 <kernel-features.h>.
2864 [__ASSUME_32BITUIDS]: Make code unconditional.
2865 [!__ASSUME_32BITUIDS]: Remove conditional code.
2866 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
2867 <kernel-features.h>.
2868 [__ASSUME_32BITUIDS]: Make code unconditional.
2869 [!__ASSUME_32BITUIDS]: Remove conditional code.
2870 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
2871 [__ASSUME_32BITUIDS]: Make code unconditional.
2872 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
2873 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
2874 <kernel-features.h>.
2875 [__ASSUME_32BITUIDS]: Make code unconditional.
2876 [!__ASSUME_32BITUIDS]: Remove conditional code.
2877 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
2878 <kernel-features.h>.
2879 [__ASSUME_32BITUIDS]: Make code unconditional.
2880 [!__ASSUME_32BITUIDS]: Remove conditional code.
2881 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
2882 <kernel-features.h>.
2883 [__ASSUME_32BITUIDS]: Make code unconditional.
2884 [!__ASSUME_32BITUIDS]: Remove conditional code.
2885 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
2886 <kernel-features.h>.
2887 [__ASSUME_32BITUIDS]: Make code unconditional.
2888 [!__ASSUME_32BITUIDS]: Remove conditional code.
2889 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
2890 <kernel-features.h>.
2891 [__ASSUME_32BITUIDS]: Make code unconditional.
2892 [!__ASSUME_32BITUIDS]: Remove conditional code.
2893 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
2894 <kernel-features.h>.
2895 [__ASSUME_32BITUIDS]: Make code unconditional.
2896 [!__ASSUME_32BITUIDS]: Remove conditional code.
2897 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
2898 <kernel-features.h>.
2899 [__ASSUME_32BITUIDS]: Make code unconditional.
2900 [!__ASSUME_32BITUIDS]: Remove conditional code.
2901 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
2902 <kernel-features.h>.
2903 [__ASSUME_32BITUIDS]: Make code unconditional.
2904 [!__ASSUME_32BITUIDS]: Remove conditional code.
2905 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
2906 <kernel-features.h>.
2907 [__ASSUME_32BITUIDS]: Make code unconditional.
2908 [!__ASSUME_32BITUIDS]: Remove conditional code.
2909 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
2910 <kernel-features.h>.
2911 [__ASSUME_32BITUIDS]: Make code unconditional.
2912 [!__ASSUME_32BITUIDS]: Remove conditional code.
2913 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
2914 <kernel-features.h>.
2915 [__NR_setresgid] (__setresgid): Do not declare.
2916 [__ASSUME_32BITUIDS]: Make code unconditional.
2917 [!__ASSUME_32BITUIDS]: Remove conditional code.
2918 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
2919 <kernel-features.h>.
2920 [__NR_setresuid] (__setresuid): Do not declare.
2921 [__ASSUME_32BITUIDS]: Make code unconditional.
2922 [!__ASSUME_32BITUIDS]: Remove conditional code.
2923 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
2924 <kernel-features.h>.
2925 [__ASSUME_32BITUIDS]: Make code unconditional.
2926 [!__ASSUME_32BITUIDS]: Remove conditional code.
2927 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
2928 <kernel-features.h>.
2929 [__ASSUME_32BITUIDS]: Make code unconditional.
2930 [!__ASSUME_32BITUIDS]: Remove conditional code.
2931 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
2932 <kernel-features.h>.
2933 [__ASSUME_32BITUIDS]: Make code unconditional.
2934 [!__ASSUME_32BITUIDS]: Remove conditional code.
2935 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
2936 <kernel-features.h>.
2937 [__ASSUME_32BITUIDS]: Make code unconditional.
2938 [!__ASSUME_32BITUIDS]: Remove conditional code.
2939 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
2940 <kernel-features.h>.
2941 [__ASSUME_32BITUIDS]: Make code unconditional.
2942 [!__ASSUME_32BITUIDS]: Remove conditional code.
2943 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
2944 <kernel-features.h>.
2945 [__ASSUME_32BITUIDS]: Make code unconditional.
2946 [!__ASSUME_32BITUIDS]: Remove conditional code.
2947 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
2948 <kernel-features.h>.
2949 [__ASSUME_32BITUIDS]: Make code unconditional.
2950 [!__ASSUME_32BITUIDS]: Remove conditional code.
2951 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
2952 <kernel-features.h>.
2953 [__ASSUME_32BITUIDS]: Make code unconditional.
2954 [!__ASSUME_32BITUIDS]: Remove conditional code.
2955 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
2956 <kernel-features.h>.
2957 [__ASSUME_32BITUIDS]: Make code unconditional.
2958 [!__ASSUME_32BITUIDS]: Remove conditional code.
2959 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
2960 <kernel-features.h>.
2961 [__ASSUME_32BITUIDS]: Make code unconditional.
2962 [!__ASSUME_32BITUIDS]: Remove conditional code.
2963 * sysdeps/unix/sysv/linux/kernel-features.h
2964 (__ASSUME_SETRESUID_SYSCALL): Remove.
2965 (__ASSUME_SETRESGID_SYSCALL): Likewise.
2966 (__ASSUME_32BITUIDS): Likewise.
2967 (__ASSUME_LDT_WORKS): Likewise.
2968 (__ASSUME_O_DIRECTORY): Likewise.
2969 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
2970 architecture but not kernel version.
2971 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
2972 (__ASSUME_MMAP2_SYSCALL): Likewise.
2973 (__ASSUME_STAT64_SYSCALL): Likewise.
2974 (__ASSUME_IPC64): Likewise.
2975 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
2976 <kernel-features.h>.
2977 [__ASSUME_32BITUIDS]: Make code unconditional.
2978 [!__ASSUME_32BITUIDS]: Remove conditional code.
2979 * sysdeps/unix/sysv/linux/opendir.c: Do not include
2980 <kernel-features.h>.
2981 [__ASSUME_O_DIRECTORY]: Make code unconditional.
2982 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
2983 132096]: Remove conditional code.
2984 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
2985 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
2986 <kernel-features.h>.
2987 [__ASSUME_32BITUIDS]: Make code unconditional.
2988 [!__ASSUME_32BITUIDS]: Remove conditional code.
2989 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
2990 <kernel-features.h>.
2991 [__ASSUME_32BITUIDS]: Make code unconditional.
2992 [!__ASSUME_32BITUIDS]: Remove conditional code.
2993 * sysdeps/unix/sysv/linux/setegid.c: Do not include
2994 <kernel-features.h>.
2995 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
2996 unconditional.
2997 (__setresgid): Do not declare.
2998 [__ASSUME_32BITUIDS]: Make code unconditional.
2999 [!__ASSUME_32BITUIDS]: Remove conditional code.
3000 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
3001 <kernel-features.h>.
3002 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
3003 unconditional.
3004 (__setresuid): Do not declare.
3005 [__ASSUME_32BITUIDS]: Make code unconditional.
3006 [!__ASSUME_32BITUIDS]: Remove conditional code.
3007 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
3008 <kernel-features.h>.
3009 [__ASSUME_32BITUIDS]: Make code unconditional.
3010 [!__ASSUME_32BITUIDS]: Remove conditional code.
3011 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
3012 <kernel-features.h>.
3013 [__ASSUME_32BITUIDS]: Make code unconditional.
3014 [!__ASSUME_32BITUIDS]: Remove conditional code.
3015
a386f1cc
RH
30162012-05-25 Richard Henderson <rth@twiddle.net>
3017
3018 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
3019 dl_hwcap to ifunc resolver.
3020 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
3021 elf_ifunc_invoke.
3022 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
3023 dl_hwcap to ifunc resolver.
3024 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
3025
b6550497
JM
30262012-05-24 Joseph Myers <joseph@codesourcery.com>
3027
3028 [BZ #14153]
3029 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
3030 for |x| <= 2**-26, not 2**-57.
3031 * math/libm-test.inc (acos_test): Do not allow spurious underflow
3032 exception.
3033
b0bc23a1
JL
30342012-05-24 Jeff Law <law@redhat.com>
3035
3036 * stdio-common/Makefile (tests): Add bug25.
3037 * stdio-common/bug25.c: New test.
3038
347c92e9
L
30392012-05-24 H.J. Lu <hongjiu.lu@intel.com>
3040
3041 [BZ #13576]
3042 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
3043 multiple of MALLOC_ALIGNMENT in size.
3044 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
3045
6bcc8b3f
JM
30462012-05-24 Joseph Myers <joseph@codesourcery.com>
3047
3048 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
3049 Require >= 256.
3050 (FILENAME_MAX): Use macro-int-constant.
3051 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
3052 (_IOFBF): Use macro-int-constant.
3053 (_IOLBF): Likewise.
3054 (_IONBF): Likewise.
3055 (SEEK_CUR): Likewise.
3056 (SEEK_END): Likewise.
3057 (SEEK_SET): Likewise.
3058 (TMP_MAX): Likewise.
3059 (EOF): Use macro-int-constant. Require < 0.
3060 (NULL): Use macro-constant. Require == 0.
3061 (stdin): Require type to be FILE *.
3062 (stdout): Likewise.
3063 (stderr): Likewise.
3064 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
3065 macro-int-constant.
3066 (EXIT_SUCCESS): Likewise.
3067 (NULL): Use macro-constant. Require == 0.
3068 (RAND_MAX): Use macro-int-constant.
3069 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
3070 [C99-based standards] (strtof): Require function.
3071 [C99-based standards] (strtold): Likewise.
3072 [C99-based standards] (strtoll): Likewise.
3073 [C99-based standards] (strtoull): Likewise.
3074 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
3075 [ISO || ISO99 || ISO11] (limits.h): Likewise.
3076 [ISO || ISO99 || ISO11] (math.h): Likewise.
3077 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
3078 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
3079 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3080
d18ea0c5
AS
30812012-05-24 Andreas Schwab <schwab@linux-m68k.org>
3082
3083 [BZ #14132]
56d25bb8
AS
3084 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
3085 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
3086 * intl/dgettext.c (DCGETTEXT): Likewise.
3087 * intl/gettext.c (DCGETTEXT): Likewise.
3088 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
3089 * posix/regex_internal.h (gettext): Likewise.
3090 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
3091 Remove declaration.
3092 * include/argz.h (__argz_count_internal)
3093 (__argz_stringify_internal): Remove declaration.
3094 (__argz_count, __argz_stringify): Declare hidden proto.
3095 * intl/dcgettext.c: Remove use of INTDEF.
3096 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
3097 * string/argz-stringify.c: Likewise.
3098 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
3099 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
3100 Declare hidden proto.
d18ea0c5
AS
3101 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
3102 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
3103 Declare hidden proto.
3104 * include/stdio.h (__asprintf_internal): Don't declare.
3105 (__asprintf): Don't define as macro. Declare hidden proto.
3106 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
3107 (__fsetlocking): Declare hidden proto.
3108 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
3109 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
3110 hidden proto.
3111 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
3112 (_IO_setlinebuf): Remove use of INTUSE.
3113 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
3114 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
3115 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
3116 Remove declaration.
3117 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
3118 (_IO_do_flush): Remove use of INTUSE.
3119 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
3120 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
3121 (_IO_adjust_column, _IO_least_wmarker)
3122 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
3123 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
3124 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
3125 (_IO_default_doallocate, _IO_wdefault_doallocate)
3126 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
3127 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
3128 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
3129 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
3130 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
3131 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
3132 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
3133 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
3134 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
3135 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
3136 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
3137 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
3138 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
3139 proto.
3140 (_IO_flush_all_internal, _IO_adjust_column_internal)
3141 (_IO_default_uflow_internal, _IO_default_finish_internal)
3142 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
3143 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
3144 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
3145 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
3146 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
3147 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
3148 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
3149 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
3150 (_IO_file_close_internal, _IO_file_close_it_internal)
3151 (_IO_file_underflow_internal, _IO_file_overflow_internal)
3152 (_IO_file_init_internal, _IO_file_attach_internal)
3153 (_IO_file_fopen_internal, _IO_file_read_internal)
3154 (_IO_file_sync_internal, _IO_file_seek_internal)
3155 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
3156 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
3157 (_IO_str_underflow_internal, _IO_str_overflow_internal)
3158 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
3159 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
3160 (_IO_list_all_internal, _IO_link_in_internal)
3161 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
3162 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
3163 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
3164 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
3165 (_IO_do_write_internal, _IO_padn_internal)
3166 (_IO_getline_info_internal, _IO_getline_internal)
3167 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
3168 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
3169 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
3170 (_IO_vfscanf_internal, _IO_vfprintf_internal)
3171 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
3172 (_IO_init_internal, _IO_un_link_internal): Don't declare.
3173 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
3174 with libc_hidden_ver, remove use of INTUSE.
3175 * libio/genops.c: Likewise.
3176 * libio/freopen.c: Likewise.
3177 * libio/freopen64.c: Likewise.
3178 * libio/iofclose.c: Likewise.
3179 * libio/iofdopen.c: Likewise.
3180 * libio/iofflush.c: Likewise.
3181 * libio/iofflush_u.c: Likewise.
3182 * libio/iofgets.c: Likewise.
3183 * libio/iofgets_u.c: Likewise.
3184 * libio/iofopen.c: Likewise.
3185 * libio/iofopncook.c: Likewise.
3186 * libio/iofread.c: Likewise.
3187 * libio/iofread_u.c: Likewise.
3188 * libio/ioftell.c: Likewise.
3189 * libio/iofwrite.c: Likewise.
3190 * libio/iogetline.c: Likewise.
3191 * libio/iogets.c: Likewise.
3192 * libio/iogetwline.c: Likewise.
3193 * libio/iopadn.c: Likewise.
3194 * libio/iopopen.c: Likewise.
3195 * libio/ioseekoff.c: Likewise.
3196 * libio/ioseekpos.c: Likewise.
3197 * libio/iosetbuffer.c: Likewise.
3198 * libio/iosetvbuf.c: Likewise.
3199 * libio/ioungetc.c: Likewise.
3200 * libio/ioungetwc.c: Likewise.
3201 * libio/iovdprintf.c: Likewise.
3202 * libio/iovsprintf.c: Likewise.
3203 * libio/iovsscanf.c: Likewise.
3204 * libio/memstream.c: Likewise.
3205 * libio/obprintf.c: Likewise.
3206 * libio/oldfileops.c: Likewise.
3207 * libio/oldiofclose.c: Likewise.
3208 * libio/oldiofdopen.c: Likewise.
3209 * libio/oldiofopen.c: Likewise.
3210 * libio/oldiopopen.c: Likewise.
3211 * libio/oldstdfiles.c: Likewise.
3212 * libio/putc.c: Likewise.
3213 * libio/setbuf.c: Likewise.
3214 * libio/setlinebuf.c: Likewise.
3215 * libio/stdfiles.c: Likewise.
3216 * libio/strops.c: Likewise.
3217 * libio/vasprintf.c: Likewise.
3218 * libio/vscanf.c: Likewise.
3219 * libio/vsnprintf.c: Likewise.
3220 * libio/vswprintf.c: Likewise.
3221 * libio/wfiledoalloc.c: Likewise.
3222 * libio/wfileops.c: Likewise.
3223 * libio/wgenops.c: Likewise.
3224 * libio/wmemstream.c: Likewise.
3225 * libio/wstrops.c: Likewise.
3226 * libio/__fpurge.c: Likewise.
3227 * libio/__fsetlocking.c: Likewise.
3228 * assert/assert.c: Likewise.
3229 * debug/fgets_chk.c: Likewise.
3230 * debug/fgets_u_chk.c: Likewise.
3231 * debug/fread_chk.c: Likewise.
3232 * debug/fread_u_chk.c: Likewise.
3233 * debug/gets_chk.c: Likewise.
3234 * debug/obprintf_chk.c: Likewise.
3235 * debug/vasprintf_chk.c: Likewise.
3236 * debug/vdprintf_chk.c: Likewise.
3237 * debug/vsnprintf_chk.c: Likewise.
3238 * debug/vsprintf_chk.c: Likewise.
3239 * malloc/mtrace.c: Likewise.
3240 * misc/error.c: Likewise.
3241 * misc/syslog.c: Likewise.
3242 * stdio-common/asprintf.c: Likewise.
3243 * stdio-common/fxprintf.c: Likewise.
3244 * stdio-common/getw.c: Likewise.
3245 * stdio-common/isoc99_fscanf.c: Likewise.
3246 * stdio-common/isoc99_scanf.c: Likewise.
3247 * stdio-common/isoc99_vfscanf.c: Likewise.
3248 * stdio-common/isoc99_vscanf.c: Likewise.
3249 * stdio-common/isoc99_vsscanf.c: Likewise.
3250 * stdio-common/printf-prs.c: Likewise.
3251 * stdio-common/printf_fp.c: Likewise.
3252 * stdio-common/printf_fphex.c: Likewise.
3253 * stdio-common/printf_size.c: Likewise.
3254 * stdio-common/putw.c: Likewise.
3255 * stdio-common/scanf.c: Likewise.
3256 * stdio-common/sprintf.c: Likewise.
3257 * stdio-common/tmpfile.c: Likewise.
3258 * stdio-common/vfprintf.c: Likewise.
3259 * stdio-common/vfscanf.c: Likewise.
3260 * stdlib/strfmon_l.c: Likewise.
3261 * sunrpc/openchild.c: Likewise.
3262 * sunrpc/xdr_stdio.c: Likewise.
3263 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
3264 * sysdeps/mach/hurd/tmpfile.c: Likewise.
3265
d6c33fda
RM
32662012-05-24 Roland McGrath <roland@hack.frob.com>
3267
c1487492
RM
3268 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
3269
3270 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
3271 in the third column, to generate for the shared library an IFUNC
3272 that uses _dl_vdso_vsym.
3273 * Makerules (COMPILE.c, compile-stdin.c): New variables.
3274 * Makeconfig (object-suffixes-noshared): New variable.
3275
3276 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
3277 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
3278 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
3279 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
3280
d6c33fda
RM
3281 [BZ #14132]
3282 * include/sys/time.h (__gettimeofday): Remove macro.
3283 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
3284 * time/gettimeofday.c (__gettimeofday): Remove #undef.
3285 Remove INTDEF.
3286 (__gettimeofday): Add libc_hidden_def.
3287 (gettimeofday): Add libc_hidden_weak.
3288 * sysdeps/mach/gettimeofday.c: Likewise.
3289 * sysdeps/posix/gettimeofday.c: Likewise.
3290 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
3291 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
3292 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
3293 (__gettimeofday_internal): Remove strong_alias.
3294 (__gettimeofday): Add libc_hidden_def.
3295 (gettimeofday): Add libc_hidden_weak.
3296 * sysdeps/unix/syscalls.list (gettimeofday):
3297 Remove __gettimeofday_internal alias.
3298
b5a2bbe6
L
32992012-05-24 Daniel Jacobowitz <drow@false.org>
3300 H.J. Lu <hongjiu.lu@intel.com>
3301
3302 [BZ #12495]
3303 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
3304 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
3305 (largebin_index_32_big): New.
3306 (largebin_index): Use it for 16-byte alignment.
3307 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
3308 correction with front_misalign.
3309
cfba4fda
L
33102012-05-24 H.J. Lu <hongjiu.lu@intel.com>
3311
7f907421
L
3312 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
3313 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
3314 Likewise.
3315 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
3316 Likewise.
3317 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
3318 Likewise.
3319 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
3320 Likewise.
3321 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
3322 Likewise.
3323 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
3324 Likewise.
3325 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
3326 Likewise.
3327 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
3328 Likewise.
3329 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
3330 Likewise.
3331 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
3332 Likewise.
3333 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
3334 Likewise.
3335 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
3336 Likewise.
3337
cfba4fda
L
3338 * scripts/data/c++-types-x32-linux-gnu.data: New file.
3339 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
3340
80bad0cc
JM
33412012-05-24 Joseph Myers <joseph@codesourcery.com>
3342
7a25eb06
JM
3343 [BZ #10846]
3344 [BZ #14036]
3345 * math/libm-test.inc (exp_test): Add test from bug 14036.
3346 (pow_test): Add test from bug 10846.
3347
795405f9
JM
3348 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
3349 and other flags.
3350 (special_function): Do not include flags in test name.
3351 (parse_args): Likewise.
3352 * sysdeps/i386/fpu/libm-test-ulps: Update.
3353 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3354 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3355 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
3356 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3357
80bad0cc
JM
3358 * math/gen-libm-test.pl (%beautify): Add entries for underflow
3359 exceptions.
3360 * math/libm-test.inc ("Philosophy"): Update comment about
3361 exception testing.
3362 (UNDERFLOW_EXCEPTION): New macro.
3363 (UNDERFLOW_EXCEPTION_OK): Likewise.
3364 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
3365 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
3366 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
3367 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
3368 (INVALID_EXCEPTION_OK): Update value.
3369 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
3370 (OVERFLOW_EXCEPTION_OK): Likewise.
3371 (IGNORE_ZERO_INF_SIGN): Likewise.
3372 (test_exceptions): Handle underflow exceptions.
3373 (acos_test): Update for underflow exception expectations.
3374 (cexp_test): Likewise.
3375 (clog_test): Likewise.
3376 (clog10_test): Likewise.
3377 (csqrt_test): Likewise.
3378 (ctan_test): Likewise.
3379 (ctanh_test): Likewise.
3380 (exp_test): Likewise.
3381 (exp10_test): Likewise.
3382 (exp2_test): Likewise.
3383 (expm1_test): Likewise.
3384 (fma_test): Likewise.
3385 (j0_test): Likewise.
3386 (jn_test): Likewise.
3387 (nexttoward_test): Likewise.
3388 (pow_test): Likewise.
3389 (scalbn_test): Likewise.
3390 (scalbln_test): Likewise.
3391 (tan_test): Likewise.
3392 (y1_test): Likewise.
3393 * sysdeps/i386/fpu/libm-test-ulps: Update.
3394 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3395
9e0e3d0b
DM
33962012-05-23 David S. Miller <davem@davemloft.net>
3397
3398 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
3399 (__libc_sigaction): Remove unused local variables.
3400
ccd0a08f
L
34012012-05-23 H.J. Lu <hongjiu.lu@intel.com>
3402
3403 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
3404
62bdf9a6
PE
34052012-05-23 Paul Eggert <eggert@cs.ucla.edu>
3406
f8591f80
PE
3407 mktime: avoid signed integer overflow
3408 * time/mktime.c (__mktime_internal): Do not mishandle the case
3409 where diff == INT_MIN.
3410
94c7d826
PE
3411 mktime: simplify computation of average
3412 * time/mktime.c (ranged_convert): Use new time_t_avg function
3413 instead of rolling our own (probably-slower) code.
3414
ce73d683
PE
3415 mktime: do not assume signed right shift propagates sign bit
3416 * time/mktime.c (isdst_differ): New static function.
3417 (__mktime_internal): No need to normalize tm_isdst now.
3418 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
3419 tm_isdst values.
3420
72a22e59
PE
3421 mktime: merge another wrapv change from gnulib
3422 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
3423 from some compilers.
3424
68605433
PE
3425 mktime: remove incorrect attempt at unusual arithmetics
3426 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
3427 The code didn't really work on such machines anyway.
3428 (TYPE_MINIMUM): Assume two's complement.
3429 (twos_complement_arithmetic): Verify that long_int and time_t
3430 are two's complement (or unsigned, in the latter case).
3431
03cf7fe3
PE
3432 mktime: check signed shifts on long_int and time_t, too
3433 * time/mktime.c (SHR): Check that shifts work as desired
3434 on the types long_int and time_t too, as SHR is used on
3435 such types.
3436
f04dfbc2
PE
3437 mktime: do not assume 'long' is wide enough
3438 * time/mktime.c (verify): Move decl up.
3439 (long_int): New type.
3440 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
3441 to remove assumption in the code that 'long' is wide enough to
3442 store year values. This assumption is not true on x32 and on
3443 some non-glibc platforms.
3444
62bdf9a6
PE
3445 mktime: merge wrapv change from gnulib
3446 * time/mktime.c (WRAPV): New macro.
3447 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
3448 (guess_time_tm, __mktime_internal): Do not assume that signed
3449 integer overflow wraps around; modern compilers generate code
3450 where this assumption is no longer valid.
3451
5e292e4f
L
34522012-05-23 H.J. Lu <hongjiu.lu@intel.com>
3453
3454 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
3455 Replace "jmp L(pseudo_end)" with "ret".
3456 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
3457 Likewise.
3458
8caf8c87
AJ
34592012-05-23 Andreas Jaeger <aj@suse.de>
3460
3461 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
3462 * sysdeps/unix/sysv/linux/poll.c: Remove file.
3463
1a09dc56
AJ
34642012-05-23 Andreas Jaeger <aj@suse.de>
3465 Maximilian Attems <max@stro.at>
3466
3467 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
3468 New macros.
3469
1c87aba0
L
34702012-05-23 H.J. Lu <hongjiu.lu@intel.com>
3471
3472 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
3473 code so that pseudo_end is just ret and the stack pointer is
3474 correct also for static library in error case.
3475
40e45bd5
JM
34762012-05-23 Joseph Myers <joseph@codesourcery.com>
3477
c2670533
JM
3478 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
3479 move to syscalls.list.
3480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
3481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
3482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
3483 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
3484
40e45bd5
JM
3485 * manual/install.texi (Running make install): Do not mention Linux
3486 kernel version for which pt_chown is not needed.
3487 (Linux): Do not mention problems with nscd with 2.0 kernels.
3488 * INSTALL: Regenerated.
3489
be08eda5
AJ
34902012-05-23 Andreas Jaeger <aj@suse.de>
3491
3492 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
3493 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
3494 macro.
3495 * sysdeps/unix/sysv/linux/s390/bits/mman.h
3496 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3497 * sysdeps/unix/sysv/linux/sh/bits/mman.h
3498 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3499 * sysdeps/unix/sysv/linux/i386/bits/mman.h
3500 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3501 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
3502 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3503 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
3504 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3505 * sysdeps/unix/sysv/linux/bits/in.h
3506 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
3507
a6a056bb
RM
35082012-05-22 Roland McGrath <roland@hack.frob.com>
3509
3510 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
3511 (PREPARE_VERSION): Just use assert instead, it will be elided
3512 under [NDEBUG] anyway.
3513
c9009328
L
35142012-05-22 H.J. Lu <hongjiu.lu@intel.com>
3515
3516 * sysdeps/unix/sysv/linux/Makefile: Include
3517 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 3518 (sysdep_routines): Remove sysctl.
c9009328
L
3519 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
3520 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
3521 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
3522 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
3523 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
3524
73338355
AJ
35252012-05-22 Andreas Jaeger <aj@suse.de>
3526
3527 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
3528 that pseudo_end is just ret and the stack pointer is correct also
3529 for static library in error case.
3530
d44638b0
PP
35312012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
3532
3533 [BZ #14122]
3534 * nss/nsswitch.c (defconfig_entries): New variable.
3535 (__nss_database_lookup): Don't leak defconfig entries.
3536 (nss_parse_service_list): Don't leak on error paths.
3537 (free_database_entries): New function.
3538 (free_defconfig): New function.
3539 (free_mem): Move common code to free_database_entries.
3540
31a39bd8
L
35412012-05-22 H.J. Lu <hongjiu.lu@intel.com>
3542
da0331a8
L
3543 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
3544 Add arch_prctl.
3545 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
3546
31a39bd8
L
3547 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
3548 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
3549 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
3550 New macro.
3551 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
3552 (INTERNAL_SYSCALL_TYPES): Likewise.
3553 (LOAD_ARGS_TYPES_[1-6]): Likewise.
3554 (LOAD_REGS_TYPES_[1-6]): Likewise.
3555 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
3556 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
3557
45470df3
AZ
35582012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3559
3560 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
3561 copysignl for GLIBC_2_0.
3562 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
3563 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
3564 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
3565 logbl for GLIBC_2_0.
3566 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
3567 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
3568
98a61bcb
L
35692012-05-22 H.J. Lu <hongjiu.lu@intel.com>
3570
a4f6e481
L
3571 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
3572 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
3573
f63d5db6
L
3574 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
3575 Use "neg %eax".
3576
98a61bcb
L
3577 * time/mktime.c: Update copyright years.
3578
95770f14
PE
35792012-05-22 Paul Eggert <eggert@cs.ucla.edu>
3580
6226efbd
PE
3581 mktime: merge comment-quoting-style change from gnulib
3582 * time/mktime.c: Quote 'like this' in comments.
3583 The GNU coding standards suggest that we no longer quote `like this',
3584 as "`" and "'" are typically rendered asymmetrically nowadays.
3585 The typical gnulib style is to quote 'like this' when quoting
3586 code, and "like this" when quoting English.
3587
b99e4f78
PE
3588 * time/mktime.c (compile-command): Add "-I.".
3589
643e01e6
PE
3590 mktime: merge mktime-internal.h change from gnulib
3591 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
3592
2554247d
PE
3593 mktime: merge time_r change from gnulib
3594 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
3595
826dd0ab
PE
3596 mktime: merge DEBUG change from gnulib
3597 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
3598 case system <time.h> has a #define.
3599
bd83aabe
PE
3600 mktime: merge <sys/types.h> change from gnulib
3601 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
3602 since <time.t> is now guaranteed to define time_t.
3603
95770f14
PE
3604 mktime: merge HAVE_CONFIG_H change from gnulib
3605 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
3606
5e1a27a9
L
36072012-05-22 H.J. Lu <hongjiu.lu@intel.com>
3608
0e44a77e
L
3609 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
3610 Use "neg %eax".
3611
5e1a27a9
L
3612 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
3613 __rlim_t cast.
3614 (struct rusage): Use anonymous union to pad each field to
3615 __syscall_slong_t.
3616
46259bec
DM
36172012-05-21 David S. Miller <davem@davemloft.net>
3618
3619 * Makefules (o-iterator): Remove .s cases.
3620 (compile-command.s): Delete.
3621 (COMPILE.s): Delete.
3622 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
3623
59f0c22e
JM
36242012-05-21 Joseph Myers <joseph@codesourcery.com>
3625
3626 * configure.in (libc_cv_predef_stack_protector): Only consider
3627 "foobar" and "__stack_chk_fail" lines in libc_undefs.
3628 * configure: Regenerated.
3629
20c07380
L
36302012-05-21 H.J. Lu <hongjiu.lu@intel.com>
3631
bbb3154b
L
3632 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
3633 New macro. Use R*LP on int and pointer.
3634 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
3635 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
3636 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
3637 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
3638
20c07380
L
3639 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
3640 [__WORDSIZE_TIME64_COMPAT32] instead of
3641 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
3642 (struct utmp): Likewise.
3643 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
3644 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
3645 Renamed to ...
3646 (__WORDSIZE_TIME64_COMPAT32): This.
3647 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
3648 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
3649 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
3650 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
3651 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
3652 (__WORDSIZE_TIME64_COMPAT32): New macro.
3653
d8d1017e
AJ
36542012-05-21 Andreas Jaeger <aj@suse.de>
3655
3656 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
3657 only if [SHARED]. Add prototype for __wcschr_ia32.
3658
6c7fb145
RM
36592012-05-21 Roland McGrath <roland@hack.frob.com>
3660
3661 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
3662 of %rbp unmolested in the jmp_buf while mangling the low bits.
3663 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
3664 unmolested high bits of %rbp while demangling the low bits.
3665 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
3666
66274218
AJ
36672012-05-21 Andreas Jaeger <aj@suse.de>
3668
07c58f8f
AJ
3669 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
3670 * sunrpc/svc_simple.c: Use it for registerrpc.
3671 * sunrpc/xcrypt.c: Use it for passwd2des.
3672
66274218
AJ
3673 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
3674
61f65140
L
36752012-05-21 H.J. Lu <hongjiu.lu@intel.com>
3676
3677 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
3678 Don't define if [__SYSCALL_WORDSIZE != 32].
3679 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
3680 New macro.
3681
5fefb436
AJ
36822012-05-21 Bruno Haible <bruno@clisp.org>
3683 Andreas Jaeger <aj@suse.de>
3684
3685 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
3686 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
3687 inptr and inend for must_buffer_ch.
3688 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
3689 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
3690 * stdio-common/Makefile (tests): Remove bug15.
3691 (bug15-ENV): Remove macro.
3692 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
3693 anymore.
3694
d8e272ab
AJ
36952012-05-19 Andreas Jaeger <aj@suse.de>
3696 Roland McGrath <roland@hack.frob.com>
3697
3698 * manual/contrib.texi: Completely rewritten. It contains now an
3699 alphabetical list of contributors and their contributions.
3700
4a56a162
RH
37012012-05-21 Richard Henderson <rth@twiddle.net>
3702
3703 * misc/getauxval.c (__getauxval): Use unsigned long int.
3704 * misc/sys/auxv.h: Include <sys/cdefs.h>.
3705 (getauxval): Use unsigned long int.
3706
d024d23c
L
37072012-05-21 H.J. Lu <hongjiu.lu@intel.com>
3708
3709 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
3710
cbc00a03
RM
37112012-05-21 Roland McGrath <roland@hack.frob.com>
3712
3713 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
3714 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
3715 __alignof__ (long double).
3716
478143fa
AZ
37172012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3718
3719 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3720
c7683a6d
RH
37212012-05-20 Richard Henderson <rth@twiddle.net>
3722
3723 * misc/getauxval.c: New file.
3724 * misc/sys/auxv.h: New file.
3725 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
3726 (routines): Add getauxval.
3727 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
3728 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
3729 * elf/dl-sysdep.c (_dl_auxv): Remove.
3730 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
3731 * elf/dl-support.c (_dl_auxv): New variable.
3732 (_dl_aux_init): Initialize it.
3733 * manual/startup.texi (Auxiliary Vector): New node.
3734 * sysdeps/generic/bits/hwcap.h: New file.
3735 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
3736 * sysdeps/powerpc/sysdep.h: ... here. Include it.
3737 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
3738 * sysdeps/sparc/sysdep.h: ... here. Include it.
3739 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
3740 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
3741 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3742 Update.
c7683a6d
RH
3743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
3744 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
3745 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
3746 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
3747 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
3748 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
3749 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
3750 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
3751
a6f1845d
AZ
37522012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3753
3754 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3755
cbcbe830
DM
37562012-05-19 David S. Miller <davem@davemloft.net>
3757
3758 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3759
e0b16cc2
JM
37602012-05-19 Joseph Myers <joseph@codesourcery.com>
3761
3762 [BZ #14123]
3763 * math/s_ccosh.c: Include <float.h>
3764 (__ccosh): Avoid internal overflow calculating sinh and cosh
3765 values before multiplying by sin and cos values.
3766 * math/s_ccoshf.c: Likewise.
3767 * math/s_ccoshl.c: Likewise.
3768 * math/s_csin.c: Likewise.
3769 * math/s_csinf.c: Likewise.
3770 * math/s_csinl.c: Likewise.
3771 * math/s_csinh.c: Likewise.
3772 * math/s_csinhf.c: Likewise.
3773 * math/s_csinhl.c: Likewise.
3774 * math/libm-test.inc (ccos_test): Add more tests.
3775 (ccosh_test): Likewise.
3776 (csin_test): Likewise.
3777 (csinh_test): Likewise.
3778 * sysdeps/i386/fpu/libm-test-ulps: Update.
3779 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3780
6ad13e08
L
37812012-05-19 H.J. Lu <hongjiu.lu@intel.com>
3782
f66f0ce8
L
3783 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
3784 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
3785
6ad13e08
L
3786 * sysdeps/x86_64/x32/_itoa.h: Add comment.
3787
b1d072a7
JM
37882012-05-19 Joseph Myers <joseph@codesourcery.com>
3789
3790 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
3791 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
3792 * sysdeps/powerpc/soft-fp/Versions: Likewise.
3793 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
3794 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
3795 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
3796 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
3797 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
3798 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
3799 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
3800 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
3801 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
3802 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
3803 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
3804 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
3805 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
3806 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
3807 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
3808 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
3809 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
3810 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
3811 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
3812 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
3813 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
3814 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
3815 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
3816 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
3817 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
3818 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
3819 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
3820 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
3821
9eae47cb
AJ
38222012-05-18 Andreas Jaeger <aj@suse.de>
3823
3824 * csu/.gitignore: Delete.
3825
bb07f69f
L
38262012-05-18 H.J. Lu <hongjiu.lu@intel.com>
3827
3828 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
3829 (timex): Use __syscall_slong_t.
3830
e6bdb741
AJ
38312012-05-18 Andreas Jaeger <aj@suse.de>
3832 Carlos O'Donell <carlos_odonell@mentor.com>
3833
3834 * manual/install.texi (Configuring and compiling): Update
3835 description about files modified in the source directory.
d6c33fda 3836 * INSTALL: Regenerated.
e6bdb741 3837
1b74487e
L
38382012-05-18 H.J. Lu <hongjiu.lu@intel.com>
3839
3840 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
3841 value. Use "or" to set return value to -1.
3842 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
3843 negate return value.
3844
a88b64b9
TMQMF
38452012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3846
3847 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
3848 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
3849 failure if the compiler has Graphite support disabled.
3850 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
3851 Likewise.
3852 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
3853 CFLAGS-memmove.c): Likewise.
3854 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
3855 Likewise.
3856
3707636e
L
38572012-05-18 H.J. Lu <hongjiu.lu@intel.com>
3858
610b8622
L
3859 * sysdeps/x86_64/x32/_itoa.h: New file.
3860
7cd195df
L
3861 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
3862 getdents system call only if kernel and user dirents have the
3863 same d_ino and d_off.
3864
94b07d20
L
3865 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
3866 LLONG_MAX != LONG_MAX.
3867 (_itoa_word): Use _ITOA_WORD_TYPE on value.
3868 (_fitoa_word): Likewise.
3869
18298070
L
3870 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
3871 years.
3872 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
3873 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
3874 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
3875
553c7ea4
L
3876 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
3877 include <bits/wordsize.h>. Check __x86_64__ instead of
3878 __WORDSIZE.
3879 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
3880 if __x86_64__ is defined. Use anonymous union on fpstate.
3881
3707636e
L
3882 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
3883 anonymous union.
3884
b53ef01a
AS
38852012-05-18 Andreas Schwab <schwab@linux-m68k.org>
3886
37fb1dc0
AS
3887 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
3888 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
3889 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
3890 Refer to _rtld_local_ro instead of _rtld_global_ro.
3891 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
3892 Likewise.
3893 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
3894 Likewise.
3895 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
3896 Likewise.
3897 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
3898 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
3899 of _rtld_global, and rtld_progname instead of _dl_argv[0].
3900
b53ef01a
AS
3901 * sysdeps/powerpc/powerpc32/dl-machine.c
3902 (__elf_machine_runtime_setup) [PROF]: Don't reference
3903 _dl_prof_resolve.
3904
7a185db2
AJ
39052012-05-18 Andreas Jaeger <aj@suse.de>
3906
3907 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
3908 function only available for GCCs before 3.4 since GCC 3.4
3909 introduced a builtin.
3910 (lrint): Likewise.
3911 (llrintf): Likewise.
3912 (llrint): Likewise.
3913 (fmaxf): Likewise.
3914 (fmax): Likewise.
3915 (fminf): Likewise.
3916 (fmin): Likewise.
3917 (rint): Likewise.
3918 (rintf): Likewise.
3919 (nearbyint): Likewise.
3920 (nearbyintf): Likewise.
3921 (ceil): Likewise.
3922 (ceilf): Likewise.
3923 (floor): Likewise.
3924 (floorf): Likewise.
3925
3e5aef87
L
39262012-05-17 H.J. Lu <hongjiu.lu@intel.com>
3927
428bd707
L
3928 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
3929 on both fields and cast pointer to __syscall_ulong_t.
3930
3e5aef87
L
3931 * bits/types.h (__fsword_t): New type.
3932 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
3933 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
3934 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3935 (__FSWORD_T_TYPE): Likewise.
3936 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3937 (__FSWORD_T_TYPE): Likewise.
3938 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3939 (__FSWORD_T_TYPE): Likewise.
3940 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
3941 (__FSWORD_T_TYPE): Likewise.
3942 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
3943 __SWORD_TYPE with __fsword_t.
3944 (statfs64): Likewise.
3945
1ba7c3dc
DM
39462012-05-17 David S. Miller <davem@davemloft.net>
3947
3948 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
3949
59910343
AJ
39502012-05-17 Andreas Jaeger <aj@suse.de>
3951
3952 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
3953 warning.
3954
2e4c1e9e
L
39552012-05-17 H.J. Lu <hongjiu.lu@intel.com>
3956
3957 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
3958
de7f5ce7
AJ
39592012-05-17 Andreas Jaeger <aj@suse.de>
3960
3961 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
3962 when it is used.
3963
286abc3d
CM
39642012-05-17 Chris Metcalf <cmetcalf@tilera.com>
3965
3966 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
3967
477cc68e
L
39682012-05-17 H.J. Lu <hongjiu.lu@intel.com>
3969
3970 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
3971 * sysdeps/x86_64/tst-mallocalign1.c: New file.
3972
1a0994f5
CD
39732012-05-17 Andreas Jaeger <aj@suse.de>
3974 Carlos O'Donell <carlos_odonell@mentor.com>
3975
3976 [BZ #14059]
3977 * sysdeps/x86_64/multiarch/init-arch.h
3978 (bit_YMM_Usable): Rename to...
3979 (bit_AVX_Usable): ... this.
3980 (bit_FMA4_Usable): New macro.
3981 (bit_XMM_state): New macro.
3982 (bit_YMM_state): New macro.
3983 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
3984 [__ASSEMBLER__] (index_AVX_Usable): ... this.
3985 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
3986 (CPUID_OSXSAVE): New macro.
3987 (CPUID_AVX): New macro.
3988 (CPUID_FMA4): New macro.
3989 (index_YMM_Usable): Rename to...
3990 (index_AVX_Usable): ... this.
3991 (HAS_AVX): Use HAS_ARCH_FEATURE.
3992 (HAS_FMA4): Likewise.
3993 (HAS_YMM_USABLE): Remove.
3994 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3995 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
3996 are present.
3997 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
3998 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
3999 * sysdeps/x86_64/multiarch/Makefile: Likewise.
4000 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
4001 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
4002
0af797de
CM
40032012-05-17 Chris Metcalf <cmetcalf@tilera.com>
4004
4005 * math/libm-test.c: Support platforms without multiple rounding modes.
4006 * math/bug-nextafter.c: Support platforms without FP exceptions.
4007 * math/bug-nexttoward.c: Likewise.
4008 * math/test-fenv.c: Likewise.
4009 * math/test-misc.c: Likewise.
4010 * stdlib/bug-getcontext.c: Likewise.
4011
e39745ff
AJ
40122012-05-17 Andreas Jaeger <aj@suse.de>
4013
4014 * manual/examples/search.c (critter_cmp): Change signature to
4015 avoid warnings.
4016 * manual/string.texi (Collation Functions): Likewise.
4017
48970aba
L
40182012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4019
4020 * bits/types.h: Fold copyright years.
4021 * bits/typesizes.h: Likewise.
4022 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
4023 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
4024 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
4025 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
4026 * time/time.h: Likewise.
4027
bedee953
PP
40282012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
4029
4030 [BZ #208]
4031 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
4032 in instead of returning them. Return void.
4033 (__libc_mallinfo): Accumulate over all arenas.
4034 (__malloc_stats): Adjust for change in int_mallinfo interface.
4035
61653dfb
RM
40362012-05-16 Roland McGrath <roland@hack.frob.com>
4037
30b99d79
RM
4038 [BZ #10375]
4039 * configure.in (NM): Add AC_CHECK_TOOL for it.
4040 (libc_extra_cflags): New substituted variable.
4041 Check for -fstack-protector being used implicitly.
4042 * configure: Regenerated.
4043 * config.make.in (config-extra-cflags): New variable,
4044 gets @libc_extra_cflags@.
4045 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
4046
61653dfb
RM
4047 [BZ #10375]
4048 * configure.in: Check for _FORTIFY_SOURCE being predefined.
4049 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
4050 * configure: Regenerated.
4051 * config.make.in (CPPUNDEFS): New substituted variable.
4052 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
4053 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
4054 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
4055
661768bb
L
40562012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4057
4058 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
4059 (mq_attr): Use __syscall_slong_t.
4060
d4261567
L
40612012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4062
4063 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
4064 Check __x86_64__ instead of __WORDSIZE.
4065 (_STAT_VER_LINUX): Likewise.
4066 (stat): Check __x86_64__ instead of __WORDSIZE. Use
4067 __syscall_ulong_t and __syscall_slong_t.
4068 (stat64): Likewise.
4069
cf3ff365
L
40702012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4071
4072 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
4073
76cf3e4d
L
40742012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4075
4076 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
4077
a637753a
L
40782012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4079
4080 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
4081 __syscall_ulong_t.
4082
d5e05119
L
4083 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
4084 include <bits/wordsize.h>. Check __x86_64__ instead of
4085 __WORDSIZE.
4086 (greg_t): Use "__extension__ long long int" if __x86_64__ is
4087 defined.
4088 (mcontext_t): Replace "unsigned long" with "unsigned long long".
4089
f62ee380
L
4090 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
4091 include <bits/wordsize.h>. Check __x86_64__ instead of
4092 __WORDSIZE.
4093 (user_regs_struct): Use "__extension__ unsigned long long"
4094 instead of "unsigned long" if __x86_64__ is defined.
4095 (user): Likewise. Pad after pointer field if __ILP32__ is
4096 defined.
4097
4e124ced
JM
40982012-05-16 Joseph Myers <joseph@codesourcery.com>
4099
6a3951a0
JM
4100 * configure.in (makeinfo): Require version 4.5 or later. Allow
4101 versions 5 to 9.
4102 * configure: Regenerated.
4103 * manual/install.texi (texinfo): Increase version requirement to
4104 4.5 or later.
4105 * INSTALL: Regenerated.
4106
4e124ced
JM
4107 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
4108
953ca31a
L
41092012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4110
4111 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
4112
617aca05
L
4113 * sysdeps/x86_64/x32/ffs.c: New file.
4114
5762f7ae
L
4115 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
4116 __syscall_ulong_t.
4117 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
4118 defined. Use __syscall_ulong_t.
4119 (shminfo): Use __syscall_ulong_t.
4120 (shm_info): Likewise.
4121
a26b6856
L
4122 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
4123 __syscall_ulong_t.
4124
cb2b9ef7
L
4125 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
4126 <bits/wordsize.h>.
4127 (msgqnum_t): Use __syscall_ulong_t.
4128 (msglen_t): Likewise.
4129 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
4130 __syscall_ulong_t.
4131
34683bb0
L
4132 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
4133 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
4134
84a68786
L
4135 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
4136
48baa5f1
L
4137 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
4138 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
4139
180be88b
L
4140 * sysvipc/sys/msg.h (msgbuf): Replace long int with
4141 __syscall_slong_t.
4142
5e90c8ad
L
4143 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
4144 include <bits/wordsize.h>. Check __x86_64__ instead of
4145 __WORDSIZE.
4146
23dfb58b
L
4147 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
4148 "unsigned long long int" if __x86_64__ is defined.
4149 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
4150
ce5d54b0
L
4151 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
4152 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
4153 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
4154
13dc9eac
L
4155 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
4156 <stdint.h>.
4157 (GET_PC): Cast to uintptr_t first.
4158 (GET_FRAME): Likewise.
4159 (GET_STACK): Likewise.
4160
a7895d15
L
4161 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
4162 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
4163 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
4164 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
4165 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
4166 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
4167 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
4168 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
4169 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
4170 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
4171 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
4172 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
4173 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
4174 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
4175 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
4176 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
4177 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
4178 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
4179 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
4180 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
4181 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
4182 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
4183 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
4184 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
4185 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
4186 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
4187 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
4188 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
4189 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
4190
656416c9
AS
41912012-05-16 Andreas Schwab <schwab@linux-m68k.org>
4192
5bd66283
AS
4193 * Makerules (+depfiles): Also collect depfiles from .oS in
4194 $(extra-objs).
4195 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
4196 .oS, $(libnldbl-routines)).
4197
656416c9
AS
4198 * Makerules (native-compile-mkdep-flags): Define.
4199 * sunrpc/Makefile (extra-objs): Add $(addprefix
4200 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
4201 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
4202 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
4203 calling $(make-target-directory).
4204
a46f2169
L
42052012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4206
4207 * bits/types.h (__snseconds_t): Removed.
4208 * time/time.h (struct timespec): Replace __snseconds_t with
4209 __syscall_slong_t.
4210 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
4211 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
4212 Likewise.
4213 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4214 (__SNSECONDS_T_TYPE): Likewise.
4215 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4216 (__SNSECONDS_T_TYPE): Likewise.
4217 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4218 (__SNSECONDS_T_TYPE): Likewise.
4219
6af6528b
L
42202012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4221
4222 * sysdeps/mach/hurd/bits/typesizes.h
4223 (__SYSCALL_SLONG_TYPE): New macro.
4224 (__SYSCALL_ULONG_TYPE): Likewise.
4225
de986b56
L
42262012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4227
4228 * bits/types.h (__syscall_slong_t): New type.
4229 (__syscall_ulong_t): Likewise.
4230
4231 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
4232 (__SYSCALL_ULONG_TYPE): Likewise.
4233 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4234 (__SYSCALL_SLONG_TYPE): Likewise.
4235 (__SYSCALL_ULONG_TYPE): Likewise.
4236 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4237 (__SYSCALL_SLONG_TYPE): Likewise.
4238 (__SYSCALL_ULONG_TYPE): Likewise.
4239 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4240 (__SYSCALL_SLONG_TYPE): Likewise.
4241 (__SYSCALL_ULONG_TYPE): Likewise.
4242
85736dc7
L
42432012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4244
4245 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
4246 Add sigaltstack-offsets.sym.
4247 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
4248 <sigaltstack-offsets.h>.
4249 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
4250 longjmp_msg pointer.
4251 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
4252 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
4253 signal stack.
4254 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
4255
cc03b296
JM
42562012-05-15 Joseph Myers <joseph@codesourcery.com>
4257
a9538892
JM
4258 * elf/stackguard-macros.h: Remove file.
4259 * sysdeps/generic/stackguard-macros.h: New file.
4260 * sysdeps/i386/stackguard-macros.h: Likewise.
4261 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
4262 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
4263 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
4264 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
4265 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
4266 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
4267 * sysdeps/x86_64/stackguard-macros.h: Likewise.
4268 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
4269 <elf/stackguard-macros.h>.
4270
cc03b296
JM
4271 [BZ #14109]
4272 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
4273 __aligned__ in attribute.
4274 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
4275 (gregset_t): Likewise.
4276
93171016
L
42772012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4278
4279 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
4280 * sysdeps/x86_64/64/Implies-after: Here. New file.
4281 * sysdeps/x86_64/x32/Implies-after: New file.
4282
d86813a0
L
42832012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4284
4285 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
4286 and access return value for _dl_profile_fixup. Use R10_LP to
4287 load frame size.
4288
2953ec75
L
42892012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4290
4291 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
4292
3b550e9e
L
42932012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4294
4295 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
4296 * sysdeps/x86_64/x32/sysdep.h: New file.
4297
eda41706
L
42982012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4299
4300 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
4301 * sysdeps/x86_64/setjmp.S: Likewise.
4302
9ea01d93
AZ
43032012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4304
4305 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
4306 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
4307 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
4308 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
4309 remove unused global constant.
4310
02a91938
CM
43112012-05-15 Chris Metcalf <cmetcalf@tilera.com>
4312
4313 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
4314 include of <not-cancel.h>.
4315
6540185f
RM
43162012-05-15 Roland McGrath <roland@hack.frob.com>
4317
4318 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
4319
509072a0
AJ
43202012-05-15 Jeff Law <law@redhat.com>
4321 Andreas Jaeger <aj@suse.de>
4322
4323 [BZ #13594]
4324 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
4325 out from...
4326 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
4327 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
4328 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
4329 code changing __hst_map_handle.map.
4330
ba75122d
RM
43312012-05-15 Roland McGrath <roland@hack.frob.com>
4332
4333 * configure.in (sysnames): Look for Implies-before and Implies-after
4334 files.
4335 * configure: Regenerated.
4336
890d8bd8
L
43372012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4338
4339 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
4340 8-byte data alignment with LP_SIZE alignment.
4341
f6ee6623
L
43422012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4343
4344 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
4345 into R10_LP.
4346
ea2626f6
L
43472012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4348
4349 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
4350
085f715e
L
43512012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4352
4353 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
4354 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
4355 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
4356 Likewise.
4357 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
4358
be8498fc
L
43592012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4360
4361 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
4362 (stackinfo_sub_sp): Likewise.
4363
70bc83b9
L
43642012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4365
4366 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
4367 RAX_LP.
4368
9bc0b730
L
43692012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4370
4371 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
4372 into R*_LP.
4373
6d2850e7
L
43742012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4375
4376 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
4377 sizes into R*_LP.
4378
3cb84561
L
43792012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4380
4381 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
4382
54e2ed81
L
43832012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4384
4385 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
4386 into R11_LP and load __x86_64_shared_cache_size_half into
4387 R8_LP.
4388
8a17f349
L
43892012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4390
4391 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
4392 R8_LP.
4393
777b1eea
AZ
43942012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4395
4396 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
4397 logb for POWER7.
4398 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
4399 logbf for POWER7.
4400 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
4401 logbl for POWER7.
4402 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
4403 powerpc32/power7/fpu/s_logb.c via #include.
4404 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
4405 powerpc32/power7/fpu/s_logbf.c via #include.
4406 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
4407 powerpc32/power7/fpu/s_logbl.c via #include.
4408
d20d4ac2
JM
44092012-05-15 Joseph Myers <joseph@codesourcery.com>
4410
4411 * README.libm: Remove file.
4412
6cdef1ab
L
44132012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4414
4415 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
4416 count for x32. Use R*_LP and omit operand-size suffix.
4417
0b254d8f
L
44182012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4419
4420 * shlib-versions: Move x86_64-.*-linux.* entries to ...
4421 * sysdeps/x86_64/64/shlib-versions: Here. New file.
4422 * sysdeps/x86_64/x32/shlib-versions: New file.
4423
ceb809dc
RM
44242012-05-14 Roland McGrath <roland@hack.frob.com>
4425
4426 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
4427 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
4428 Use _dl_fatal_printf instead.
4429
37f1abd4
JM
44302012-05-14 Joseph Myers <joseph@codesourcery.com>
4431
4432 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
4433 set if not set by the user. Do not allow for being unset.
4434 * sysdeps/unix/sysv/linux/configure: Regenerated.
4435
11de3a33
L
44362012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4437
4438 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
4439 the `q' suffix from lea and replace .quad with ASM_ADDR.
4440
e02f153a
L
44412012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4442
4443 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
4444 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
4445 instead of $17.
4446 (PTR_DEMANGLE): Likewise.
4447
520ae0fd
L
44482012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4449
4450 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
4451 (LP_OP): Likewise.
4452 (ASM_ADDR): Likewise.
4453 (RAX_LP): Likewise.
4454 (RBP_LP): Likewise.
4455 (RBX_LP): Likewise.
4456 (RCX_LP): Likewise.
4457 (RDI_LP): Likewise.
4458 (RSI_LP): Likewise.
4459 (RSP_LP): Likewise.
4460 (R8_LP): Likewise.
4461 (R9_LP): Likewise.
4462 (R10_LP): Likewise.
4463 (R10_LP): Likewise.
4464 (R11_LP): Likewise.
4465 (R12_LP): Likewise.
4466 (R13_LP): Likewise.
4467 (R14_LP): Likewise.
4468 (R15_LP): Likewise.
4469
b985be81
L
44702012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4471
4472 * sysdeps/x86_64/x32/dl-machine.h: New file.
4473
6a4888ff
AJ
44742012-05-14 Andreas Jaeger <aj@suse.de>
4475
4476 * manual/Makefile (subdir): Remove export of subdir.
4477 (all): Remove target.
4478 (.PHONY): Remove all from list.
4479 (mkinstalldirs): Remove.
4480 (.PHONY): Remove installdirs from list.
4481 ($(inst_infodir)/libc.info): Use make-target-directory.
4482 (installdirs): Remove.
4483 (subdir_%): Remove.
4484 (glibc-targets): Remove.
4485 (lib): Remove.
4486 (stubs): Remove.
4487 ($(objpfx)stubs ../po/manual.pot): Remove.
4488 ($(objpfx)stamp%): Remove.
4489 (make-target-directory): Remove.
4490 (subdir_install): Remove.
4491 (routines): Remove.
4492 (aux): Remove.
4493 (sources): Remove.
4494 (objects): Remove.
4495 (headers): Remove.
4496
4497 [BZ #13750]
4498 * manual/.gitignore: Remove, it's not needed anymore.
4499 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
4500 all files in it.
4501 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
4502 directory.
4503 (texis): Renamed to $(objpfx)texis.
4504 (texis-path): New, contains path to generated files.
4505 (chapters.%): Use texis-path for complete path, add extra argument
4506 libc-texinfo.sh.
4507 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
4508 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
4509 (summary,texi, stamp-summary): Use complete path of
4510 files. Generate files in build dir.
4511 (dir-add.texi): Build in build dir.
4512 (libm-err.texi,stamp-libm-err): Likewise.
4513 (version.texi, stamp-version): Likewise.
4514 (.%c.texi): Likewise.
4515 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
4516 (mostlyclean): Remove target.
4517 (realclean): Remove target.
4518 (generated): Add new variable with contents from mostlyclean and
4519 realclean, remove entries duplicated in common-mostlyclean, add
4520 stamp-libm-err and stamp-version.
4521 (generated-dirs): Add libc directory.
4522 ($(inst_infodir)/libc.info): Install files from build dir.
4523
4524 * manual/install.texi (Configuring and compiling): Adjust since
4525 the info files are not part of the tar ball anymore.
4526
7ac77294
AJ
45272012-05-14 Andreas Jaeger <aj@suse.de>
4528
4529 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
4530 variable.
4531
ffb7875d
JM
45322012-05-14 Joseph Myers <joseph@codesourcery.com>
4533
4534 [BZ #13717]
4535 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
4536 to 2.2.0 where earlier.
4537 * sysdeps/unix/sysv/linux/configure: Regenerated.
4538 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
4539 Remove conditional code.
4540 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
4541 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
4542 Remove conditional code.
4543 [!__NR_lchown]: Likewise.
4544 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
4545 [__NR_lchown]: Likewise.
4546 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
4547 comment referencing __ASSUME_LCHOWN_SYSCALL.
4548 * sysdeps/unix/sysv/linux/i386/sigaction.c
4549 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4550 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4551 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
4552 Remove conditional code.
4553 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
4554 (__protocol_available): Remove #if 0 code.
4555 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
4556 conditional code.
4557 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
4558 * sysdeps/unix/sysv/linux/kernel-features.h
4559 (__ASSUME_GETCWD_SYSCALL): Don't define.
4560 (__ASSUME_REALTIME_SIGNALS): Likewise.
4561 (__ASSUME_PREAD_SYSCALL): Likewise.
4562 (__ASSUME_PWRITE_SYSCALL): Likewise.
4563 (__ASSUME_POLL_SYSCALL): Likewise.
4564 (__ASSUME_LCHOWN_SYSCALL): Likewise.
4565 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
4566 non-SPARC.
4567 (__ASSUME_SIOCGIFNAME): Don't define.
4568 (__ASSUME_MSG_NOSIGNAL): Likewise.
4569 (__ASSUME_SENDFILE): Define unconditionally.
4570 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
4571 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
4572 conditional code.
4573 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
4574 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
4575 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
4576 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
4577 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
4578 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
4579 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
4580 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
4581 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
4582 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4583 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
4584 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
4585 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4586 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
4587 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4588 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4589 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
4590 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4591 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4592 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
4593 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
4594 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
4596 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
4597 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
4599 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4600 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
4602 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4603 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4604 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
4605 Remove conditional code.
4606 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4607 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
4608 Remove conditional code.
4609 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4610 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
4611 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
4612 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
4613 Remove conditional code.
4614 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4615 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
4616 Remove conditional code.
4617 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4618 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
4619 Remove conditional code.
4620 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4621 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
4622 Remove conditional code.
4623 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4624 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
4625 Remove conditional code.
4626 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4627 * sysdeps/unix/sysv/linux/sh/pwrite64.c
4628 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4629 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4630 * sysdeps/unix/sysv/linux/sigaction.c
4631 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4632 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4633 * sysdeps/unix/sysv/linux/sigpending.c
4634 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4635 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4636 * sysdeps/unix/sysv/linux/sigprocmask.c
4637 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4638 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4639 * sysdeps/unix/sysv/linux/sigsuspend.c
4640 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4641 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4642 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
4643 (__libc_missing_rt_sigs): Remove.
4644 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
4645 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
4646 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
4647 Remove conditional code.
4648 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
4649 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
4650 return 1.
4651 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
4652 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
4653 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
4654 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
4655
1bfb7291
AJ
46562012-05-14 Andreas Jaeger <aj@suse.de>
4657
caae5a81
AJ
4658 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
4659 it's not used in glibc.
4660 (__coshm1): Likewise.
4661 (__acosh1p): Likewise.
4662 (__sgn): Likewise.
4663
1bfb7291
AJ
4664 * manual/string.texi (Copying and Concatenation): Add missing
4665 variable in concat example.
4666 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
4667
c044d724
L
46682012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4669
144c5467 4670 [BZ #14103]
c044d724
L
4671 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
4672 __builtin_clzl with __builtin_clzll.
4673
2523c62b
L
46742012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4675
4676 [BZ #14104]
4677 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
4678 libc_freeres_ptr.
4679
d7bb4c42
LD
46802012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4681
4682 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
4683 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
4684 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
4685 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
4686
9dc4e1fb
MF
46872012-05-14 Mike Frysinger <vapier@gentoo.org>
4688
4689 * NEWS: Update ia64 info.
4690
c7df0112
AS
46912012-05-12 Andreas Schwab <schwab@linux-m68k.org>
4692
4693 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
4694 used as bcopy.
4695
dc70356c
TS
46962012-05-12 Thomas Schwinge <thomas@codesourcery.com>
4697
4698 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
4699 * sysdeps/unix/syscalls.list (dup3): Likewise.
4700 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
4701 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
4702
9fb1a21f
L
47032012-05-11 H.J. Lu <hongjiu.lu@intel.com>
4704
4705 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
4706 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
4707
4822a2a5
L
47082012-05-11 H.J. Lu <hongjiu.lu@intel.com>
4709
4710 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
4711 thread pointer.
4712 (TLS_IE): Use mov/add instead of movq/addq to load thread
4713 pointer.
4714 (TLS_GD_PREFIX): New.
4715 (TLS_GD): Use it.
4716
842b81d6
DM
47172012-05-11 David S. Miller <davem@davemloft.net>
4718
4719 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
4720 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
4721 (_FPU_SETCW): Likewise.
4722
1cf463cd
L
47232012-05-10 H.J. Lu <hongjiu.lu@intel.com>
4724
4725 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
4726 is 32-byte aligned.
4727
60cc4a18
AS
47282012-05-11 Andreas Schwab <schwab@linux-m68k.org>
4729
4730 [BZ #11837]
4731 * iconvdata/gb18030.c: Update tables.
4732 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
4733 characters specially.
4734 (BODY for TO_LOOP): Add encoding of missing ranges.
4735
febb44a4
TS
47362012-05-11 Thomas Schwinge <thomas@codesourcery.com>
4737
4738 [BZ #13673]
4739 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
4740 * sysdeps/mach/hurd/dup3.c: Likewise.
4741 * sysdeps/mach/hurd/readlinkat.c: Likewise.
4742 * sysdeps/powerpc/memmove.c:: Likewise.
4743
0a10fb9e
L
47442012-05-10 H.J. Lu <hongjiu.lu@intel.com>
4745
4746 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
4747 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
4748
df8a552f
L
47492012-05-10 H.J. Lu <hongjiu.lu@intel.com>
4750
4751 * elf/elf.h (R_X86_64_RELATIVE64): New.
4752 (R_X86_64_NUM): Updated.
4753 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
4754 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
4755 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
4756 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
4757 tst-quad1pie tst-quad2pie
4758 (modules-names): Add tst-quadmod1 tst-quadmod2.
4759 ($(objpfx)tst-quad1): New dependency.
4760 ($(objpfx)tst-quad2): Likewise.
4761 ($(objpfx)tst-quad1pie): Likewise.
4762 ($(objpfx)tst-quad2pie): Likewise.
4763 * sysdeps/x86_64/tst-quad1.c: New file.
4764 * sysdeps/x86_64/tst-quad1pie.c: New file.
4765 * sysdeps/x86_64/tst-quad2.c: Likewise.
4766 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
4767 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
4768 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
4769 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
4770 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
4771
f34d6f84
ST
47722012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4773
f42d41d1
ST
4774 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
4775 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
4776 * streams/stropts.h (t_scalar_t): Define type.
4777
3c3571fc
ST
4778 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
4779 (_PATH_PRESERVE): Set to "/var/lib".
4780 (_PATH_RWHODIR): Set to "/var/spool/rwho".
4781
61f06bd3
ST
4782 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
4783 instead of int.
4784
918d4d71
ST
4785 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
4786 if __dir_mkfile succeeded.
4787
f34d6f84
ST
4788 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
4789 checking for _hurd_dtablesize. Unlock it right after having
4790 finished _hurd_dtable allocation.
4791
10589b4a
TS
47922012-05-10 Thomas Schwinge <thomas@schwinge.name>
4793
674cdbc7
TS
4794 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
4795 * sysdeps/mach/hurd/configure: Regenerated.
4796 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
4797 special-casing to...
4798 * sysdeps/gnu/configure.in: ... this new file.
4799 * sysdeps/unix/sysv/linux/configure: Regenerated.
4800 * sysdeps/gnu/configure: New generated file.
4801
8e41b99f
TS
4802 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
4803 for Linux: use nsec instead of usec, as well as:
4804 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
4805 members of type struct timespec.
4806 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
4807 New macros.
4808 (struct stat64): Likewise.
4809 (_STATBUF_ST_NSEC): New macro.
4810 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
4811
10589b4a
TS
4812 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
4813 __strtoul_internal rather than strtoul.
4814
63643c85
PT
48152012-05-10 Pino Toscano <toscano.pino@tiscali.it>
4816
4817 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
4818 and reject them.
4819
3faebe6a
ST
48202012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4821
4822 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
4823 which preserves existing values.
4824 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
4825
c6474b07
PT
48262012-05-10 Pino Toscano <toscano.pino@tiscali.it>
4827
4828 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
4829 TIMEOUT values. Return EINVAL for NFDS values either negative or
4830 greater than FD_SETSIZE.
4831
1043890b
ST
48322012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4833
4834 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
4835 allocated, call __vm_protect to finish enabling the existing space, and
4836 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
4837 allocate the remainder.
4838
37ed8b9b
PT
48392012-05-10 Pino Toscano <toscano.pino@tiscali.it>
4840
4841 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
4842 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
4843
db653660
ST
48442012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4845
37ed8b9b
PT
4846 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
4847 sysdeps/mach/hurd/readlink.c.
b29d4053 4848
db653660
ST
4849 * posix/tst-sysconf.c (posix_options): Only use
4850 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
4851 _POSIX_SYNCHRONIZED_IO when they are defined
4852 * sysdeps/mach/hurd/bits/posix_opt.h:
4853 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
4854 (_XOPEN_REALTIME): Undefine macro.
4855 (_XOPEN_REALTIME_THREADS): Undefine macro.
4856 (_XOPEN_SHM): Undefine macro.
4857 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
4858 macro to -1.
4859 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
4860 macro to -1.
4861 (_POSIX_ASYNC_IO): Undefine macro.
4862 (_POSIX_PRIORITIZED_IO): Undefine macro.
4863 (_POSIX_SPIN_LOCKS): Define macro to -1.
4864
ee16e894
ST
4865 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
4866 SA_NODEFER, SA_RESETHAND.
4867 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
4868 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
4869 F_DUPFD_CLOEXEC.
4870
6103ae3b
TS
48712012-05-10 Thomas Schwinge <thomas@schwinge.name>
4872
4873 * elf/Makefile (pldd-modules): Define unconditionally.
4874
80b4e5f3
TS
48752012-05-10 Thomas Schwinge <thomas@schwinge.name>
4876
4877 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
4878
edadcbd6
ST
48792012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4880
4881 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
4882 Return ENOENT when name is empty.
4883 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
4884
80694780
TS
48852012-05-10 Thomas Schwinge <thomas@schwinge.name>
4886
1792c087
TS
4887 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
4888
80694780
TS
4889 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
4890
6b645f0d
ST
48912012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4892
80694780
TS
4893 Fix mlock in all cases except non-readable pages.
4894 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
4895 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 4896
6b645f0d
ST
4897 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
4898 (__mkdir): When path is `/', just fail with EEXIST.
4899 * sysdeps/mach/hurd/mkdirat.c: Likewise.
4900
e468f8a3
TS
49012012-05-10 Thomas Schwinge <thomas@schwinge.name>
4902
4903 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
4904 <sys/uio.h> (for writev).
4905 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
4906 and <sys/param.h> (for MIN).
4907
a4186cff
PT
49082012-05-10 Pino Toscano <toscano.pino@tiscali.it>
4909
4910 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
4911 REQUESTED_TIME. Properly set the remaining time and return EINTR
4912 if interrupted.
4913
510bbf14
TS
49142012-05-10 Thomas Schwinge <thomas@schwinge.name>
4915
4916 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
4917 Depend on against $(link-rpcuserlibs).
4918
5d5722e8
ST
49192012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4920
a4186cff
PT
4921 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
4922 (__libc_stack_end): Do not use attribute_relro.
4923 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
4924 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 4925 to libthread-provided value.
a4186cff
PT
4926 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
4927 attribute_relro.
5d5722e8 4928
37233df9
TS
49292012-05-10 Thomas Schwinge <thomas@schwinge.name>
4930
be971a2b
TS
4931 [BZ #3748]
4932 * bits/libc-lock.h (__libc_once_get): New macro.
4933 * sysdeps/mach/bits/libc-lock.h: Likewise.
4934 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
4935 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
4936 instead of using implementation details.
4937
37233df9
TS
4938 * libio/fileops.c: Unconditionally include <kernel-features.h>.
4939 * libio/freopen.c: Likewise.
4940 * libio/freopen64.c: Likewise.
4941 * misc/syslog.c: Likewise.
4942 * nscd/connections.c: Likewise.
4943 * nscd/netgroupcache.c: Likewise.
4944 * sysdeps/posix/getcwd.c: Likewise.
4945
38de94a5
RM
49462012-05-10 Roland McGrath <roland@hack.frob.com>
4947
4948 * math/w_ilogbf.c: Add #include <limits.h>.
4949
67530489
ST
49502012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4951
a4186cff 4952 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
4953 path instead of returning without unlocking.
4954
67530489
ST
4955 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
4956 immediate-write ioctls.
4957 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
4958
5aa3a74a
TS
49592012-05-10 Thomas Schwinge <thomas@schwinge.name>
4960
18bad2ae
TS
4961 * sysdeps/mach/hurd/i386/init-first.c (init): Use
4962 __builtin_frame_address instead of making assumptions about the
4963 location of the return address relative to DATA. Force early load of
4964 the return address.
4965 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
4966 __builtin_frame_address.
4967
5aa3a74a
TS
4968 dup3 for GNU Hurd.
4969 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
4970 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
4971 implement dup3 and do some further code clean-ups.
4972 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
4973 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
4974
ecd0de9a
ST
49752012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4976
cd9fa985
ST
4977 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
4978
a4186cff
PT
4979 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
4980 HURD_CRITICAL_END around holding _hurd_dtable_lock.
4981 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
4982 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
4983 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
4984 d->port.lock.
802ca5a5 4985
a4186cff
PT
4986 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
4987 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
4988 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 4989
bcf55240
TS
49902012-05-10 Thomas Schwinge <thomas@schwinge.name>
4991
6960eb42
TS
4992 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
4993 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
4994 definitions.
4995
eb43375f
TS
4996 accept4 for GNU Hurd.
4997 * include/sys/socket.h (__libc_accept4): New prototype.
4998 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
4999 to implement __libc_accept4.
5000 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
5001 __libc_accept4.
5002 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
5003
bcf55240
TS
5004 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
5005 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
5006 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
5007 signal-defines.sym.
5008
6178c55b
ST
50092012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5010
a4186cff 5011 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 5012
6f080c2f
TS
50132012-05-10 Thomas Schwinge <thomas@schwinge.name>
5014
5015 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
5016 assertion on O_CLOEXEC flag.
5017 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
5018 * hurd/intern-fd.c: Likewise.
5019 * hurd/port2fd.c: Likewise.
5020
bcfe3a54
ST
50212012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5022
5023 [BZ #3906]
5024 * bits/in.h (IPV6_PKTINFO): Define new macro.
5025 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
5026
89c9aa49
AZ
50272012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5028
5029 [BZ #13954]
5030 [BZ #13955]
5031 [BZ #13956]
5032 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
5033 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
5034 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
5035 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
5036 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5037 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
5038 * math/libm-test.inc (logb_test) : Additional logb tests.
5039
021db4be
AJ
50402012-05-09 Andreas Schwab <schwab@linux-m68k.org>
5041 Andreas Jaeger <aj@suse.de>
5042
5043 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
5044 * configure: Regenerated.
5045 * config.h.in (LINK_OBSOLETE_RPC): New macro.
5046 * config.make.in (link-obsolete-rpc): New substituted variable.
5047 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
5048 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
5049 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
5050 (shared-only-routines): Don't set it under [link-obsolete-rpc],
5051 so that libc.a contains the symbols.
5052 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
5053 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
5054 * sunrpc/auth_none.c: Likewise.
5055 * sunrpc/auth_unix.c: Likewise.
5056 * sunrpc/authdes_prot.c: Likewise.
5057 * sunrpc/authuxprot.c: Likewise.
5058 * sunrpc/clnt_gen.c: Likewise.
5059 * sunrpc/clnt_perr.c: Likewise.
5060 * sunrpc/clnt_raw.c: Likewise.
5061 * sunrpc/clnt_simp.c: Likewise.
5062 * sunrpc/clnt_tcp.c: Likewise.
5063 * sunrpc/clnt_udp.c: Likewise.
5064 * sunrpc/clnt_unix.c: Likewise.
5065 * sunrpc/des_crypt.c: Likewise.
5066 * sunrpc/des_soft.c: Likewise.
5067 * sunrpc/get_myaddr.c: Likewise.
5068 * sunrpc/key_call.c: Likewise.
5069 * sunrpc/key_prot.c: Likewise.
5070 * sunrpc/netname.c: Likewise.
5071 * sunrpc/pm_getmaps.c: Likewise.
5072 * sunrpc/pm_getport.c: Likewise.
5073 * sunrpc/pmap_clnt.c: Likewise.
5074 * sunrpc/pmap_prot.c: Likewise.
5075 * sunrpc/pmap_prot2.c: Likewise.
5076 * sunrpc/pmap_rmt.c: Likewise.
5077 * sunrpc/publickey.c: Likewise.
5078 * sunrpc/rpc_cmsg.c: Likewise.
5079 * sunrpc/rpc_common.c: Likewise.
5080 * sunrpc/rpc_dtable.c: Likewise.
5081 * sunrpc/rpc_prot.c: Likewise.
5082 * sunrpc/rpc_thread.c: Likewise.
5083 * sunrpc/rtime.c: Likewise.
5084 * sunrpc/svc.c: Likewise.
5085 * sunrpc/svc_auth.c: Likewise.
5086 * sunrpc/svc_raw.c: Likewise.
5087 * sunrpc/svc_run.c: Likewise.
5088 * sunrpc/svc_tcp.c: Likewise.
5089 * sunrpc/svc_udp.c: Likewise.
5090 * sunrpc/svc_unix.c: Likewise.
5091 * sunrpc/svcauth_des.c: Likewise.
5092 * sunrpc/xcrypt.c: Likewise.
5093 * sunrpc/xdr.c: Likewise.
5094 * sunrpc/xdr_array.c: Likewise.
5095 * sunrpc/xdr_float.c: Likewise.
5096 * sunrpc/xdr_intXX_t.c: Likewise.
5097 * sunrpc/xdr_mem.c: Likewise.
5098 * sunrpc/xdr_rec.c: Likewise.
5099 * sunrpc/xdr_ref.c: Likewise.
5100 * sunrpc/xdr_sizeof.c: Likewise.
5101 * sunrpc/xdr_stdio.c: Likewise.
5102
b5c086a2
RM
51032012-05-10 Roland McGrath <roland@hack.frob.com>
5104
5105 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
5106 change. Update copyright years.
5107
6d74dd09
JM
51082012-05-10 Joseph Myers <joseph@codesourcery.com>
5109
5110 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
5111
28e72501
MK
51122012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
5113 Joseph Myers <joseph@codesourcery.com>
5114 Paul Pluzhnikov <ppluzhnikov@google.com>
5115
5116 [BZ #14012]
5117 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
5118 requiring rpcgen.
5119 [cross-compiling] (extra-libs): Likewise.
5120 [cross-compiling] (extra-libs-others): Likewise.
5121 [cross-compiling] (librpcsvc-routines): Likewise.
5122 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
5123 [cross-compiling] (omit-deps): Likewise.
5124 (sunrpc-CPPFLAGS): New variable.
5125 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
5126 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
5127 (cross-rpcgen-objs): New variable.
5128 (extra-objs): Append $(cross-rpcgen-objs).
5129 ($(cross-rpcgen-objs)): New rule.
5130 ($(objpfx)cross-rpcgen): Likewise.
5131 (rpcgen-cmd): Define to use $(built-program-file). Expand
5132 comment.
5133 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
5134 ($(objpfx)x%.stmp): Likewise.
5135 * sunrpc/proto.h [IS_IN_build] (_): Define.
5136 [IS_IN_build] (_libc_intl_domainname): Likewise.
5137
c8c59454
L
51382012-05-10 H.J. Lu <hongjiu.lu@intel.com>
5139
5140 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
5141 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
5142 and R_X86_64_TPOFF64.
5143
6f27cd16
JM
51442012-05-10 Joseph Myers <joseph@codesourcery.com>
5145
5146 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
5147 sysdeps/unix/sysv/syscalls.list.
5148 (stime): Likewise.
5149 (utime): Likewise.
5150 * sysdeps/unix/sysv/syscalls.list: Remove file.
5151
02467e1c
PE
51522012-05-10 Paul Eggert <eggert@cs.ucla.edu>
5153
5154 [BZ #3440]
5155 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
5156 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
5157 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
5158 (__LC_IDENTIFICATION): Make these macros useful in #if
5159 expressions, as required by C99.
5160
da392631
AS
51612012-05-10 Andreas Schwab <schwab@linux-m68k.org>
5162
5163 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
5164 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
5165 after this.
5166
8115f29b
L
51672012-05-09 H.J. Lu <hongjiu.lu@intel.com>
5168
5169 * stdlib/longlong.h: Updated from GCC.
5170
bdd74070
AJ
51712012-05-09 Andreas Jaeger <aj@suse.de>
5172
edfe0dbe
AJ
5173 * nscd/nscd.c (run_modes): Make named enum, reorder so that
5174 default is first entry.
5175 (run_mode): Set type.
5176 (main): Remove informal message about syslog.
5177 (options): Fix typo.
5178
bcfe3a54
ST
5179 [BZ #14053]
5180 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 5181 to asm.
bcfe3a54
ST
5182 (lrint): Likewise.
5183 (llrintf): Likewise.
5184 (llrint): Likewise.
5185 (rint): Likewise.
5186 (rintf): Likewise.
5187 (nearbyint): Likewise.
5188 (nearbyintf): Likewise.
bdd74070 5189
91d8d69e
AJ
51902012-05-09 Andreas Jaeger <aj@suse.de>
5191 Pedro Alves <palves@redhat.com>
5192
5193 * nscd/nscd.c (run_mode): Use enum.
5194 (main): Cleanup coding style issue.
5195
bb90b80b
AJ
51962012-05-09 Alexandre Oliva <aoliva@redhat.com>
5197 Andreas Jaeger <aj@suse.de>
5198
bcfe3a54
ST
5199 * nscd/nscd.c (go_background): Replaced with...
5200 (run_mode): ... this.
bb90b80b 5201 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
5202 (options): Add -F --foreground.
5203 (main): Implement it.
5204 (parse_opt): Parse it.
bb90b80b 5205
1a4b75a1
AJ
52062012-05-09 Andreas Jaeger <aj@suse.de>
5207
5208 [BZ #14083]
5209 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
5210 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
5211 -Wconversion warning.
5212 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
5213 Likewise.
5214
b1cc2472
JM
52152012-05-09 Joseph Myers <joseph@codesourcery.com>
5216
5217 * conform/data/locale.h-data (NULL): Use macro-constant. Require
5218 == 0.
5219 (LC_ALL): Use macro-int-constant.
5220 (LC_COLLATE): Likewise.
5221 (LC_CTYPE): Likewise.
5222 (LC_MESSAGES): Likewise.
5223 (LC_MONETARY): Likewise.
5224 (LC_NUMERIC): Likewise.
5225 (LC_TIME): Likewise.
5226 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
5227 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
5228 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5229 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
5230 Specify type.
5231 [C99-based standards] (float_t): Expect type.
5232 [C99-based standards] (double_t): Expect type.
5233 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
5234 type.
5235 [C99-based standards] (HUGE_VALL): Likewise.
5236 [C99-based standards] (INFINITY): Likewise.
5237 [C99-based standards] (NAN): Likewise.
5238 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
5239 [C99-based standards] (FP_NAN): Likewise.
5240 [C99-based standards] (FP_NORMAL): Likewise.
5241 [C99-based standards] (FP_SUBNORMAL): Likewise.
5242 [C99-based standards] (FP_ZERO): Likewise.
5243 [C99-based standards] (FP_FAST_FMA): Use
5244 optional-macro-int-constant. Specify type. Require == 1.
5245 [C99-based standards] (FP_FAST_FMAF): Likewise.
5246 [C99-based standards] (FP_FAST_FMAL): Likewise.
5247 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
5248 [C99-based standards] (FP_ILOGBNAN): Likewise.
5249 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
5250 Specify type.
5251 [C99-based standards] (MATH_ERREXCEPT): Likewise.
5252 [C99-based standards] (math_errhandling): Specify type.
5253 [ISO99 || ISO11] (signgam): Do not allow.
5254 [non-C99-based standards] (copysignf): Do not allow.
5255 [non-C99-based standards] (exp2f): Likewise.
5256 [non-C99-based standards] (log2f): Likewise.
5257 [non-C99-based standards] (modff): Allow.
5258 [non-C99-based standards] (erff): Do not allow.
5259 [non-C99-based standards] (erfcf): Likewise.
5260 [non-C99-based standards] (gammaf): Likewise.
5261 [non-C99-based standards] (hypotf): Likewise.
5262 [non-C99-based standards] (j0f): Likewise.
5263 [non-C99-based standards] (j1f): Likewise.
5264 [non-C99-based standards] (jnf): Likewise.
5265 [non-C99-based standards] (lgammaf): Likewise.
5266 [non-C99-based standards] (tgammaf): Likewise.
5267 [non-C99-based standards] (y0f): Likewise.
5268 [non-C99-based standards] (y1f): Likewise.
5269 [non-C99-based standards] (ynf): Likewise.
5270 [non-C99-based standards] (isnanf): Likewise.
5271 [non-C99-based standards] (acoshf): Likewise.
5272 [non-C99-based standards] (asinhf): Likewise.
5273 [non-C99-based standards] (atanhf): Likewise.
5274 [non-C99-based standards] (cbrtf): Likewise.
5275 [non-C99-based standards] (expm1f): Likewise.
5276 [non-C99-based standards] (ilogbf): Likewise.
5277 [non-C99-based standards] (log1pf): Likewise.
5278 [non-C99-based standards] (logbf): Likewise.
5279 [non-C99-based standards] (nextafterf): Likewise.
5280 [non-C99-based standards] (remainderf): Likewise.
5281 [non-C99-based standards] (rintf): Likewise.
5282 [non-C99-based standards] (scalbf): Likewise.
5283 [non-C99-based standards] (copysignl): Likewise.
5284 [non-C99-based standards] (exp2l): Likewise.
5285 [non-C99-based standards] (log2l): Likewise.
5286 [non-C99-based standards] (modfl): Allow.
5287 [non-C99-based standards] (erfl): Do not allow.
5288 [non-C99-based standards] (erfcl): Likewise.
5289 [non-C99-based standards] (gammal): Likewise.
5290 [non-C99-based standards] (hypotl): Likewise.
5291 [non-C99-based standards] (j0l): Likewise.
5292 [non-C99-based standards] (j1l): Likewise.
5293 [non-C99-based standards] (jnl): Likewise.
5294 [non-C99-based standards] (lgammal): Likewise.
5295 [non-C99-based standards] (tgammal): Likewise.
5296 [non-C99-based standards] (y0l): Likewise.
5297 [non-C99-based standards] (y1l): Likewise.
5298 [non-C99-based standards] (ynl): Likewise.
5299 [non-C99-based standards] (isnanl): Likewise.
5300 [non-C99-based standards] (acoshl): Likewise.
5301 [non-C99-based standards] (asinhl): Likewise.
5302 [non-C99-based standards] (atanhl): Likewise.
5303 [non-C99-based standards] (cbrtl): Likewise.
5304 [non-C99-based standards] (expm1l): Likewise.
5305 [non-C99-based standards] (ilogbl): Likewise.
5306 [non-C99-based standards] (log1pl): Likewise.
5307 [non-C99-based standards] (logbl): Likewise.
5308 [non-C99-based standards] (nextafterl): Likewise.
5309 [non-C99-based standards] (remainderl): Likewise.
5310 [non-C99-based standards] (rintl): Likewise.
5311 [non-C99-based standards] (scalbl): Likewise.
5312 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5313 [non-C99-based standards] (FP_*): Do not allow.
5314 [C99-based standards] (FP_*): Change to
5315 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
5316 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
5317 allow.
5318 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
5319 (SIG_ERR): Likewise.
5320 [X/Open-based standards] (SIG_HOLD): Likewise.
5321 (SIG_IGN): Likewise.
5322 (SIGABRT): Use macro-int-constant. Specify type. Require
5323 positive value.
5324 (SIGFPE): Likewise.
5325 (SIGILL): Likewise.
5326 (SIGINT): Likewise.
5327 (SIGSEGV): Likewise.
5328 (SIGTER): Likewise.
5329 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
5330 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
5331 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
5332 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
5333 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
5334 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
5335 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
5336 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
5337 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
5338 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
5339 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
5340 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
5341 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
5342 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
5343 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
5344 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
5345 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
5346 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
5347 [X/Open-based standards] (SIGTRAP): Likewise.
5348 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
5349 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
5350 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
5351 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
5352 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
5353 allow.
5354
b9f1922d
IW
53552012-05-08 Ian Wienand <ianw@vmware.com>
5356
5357 [BZ #14080]
5358 * time/tzset.c (__tzset_parse_tz): Update default rules for
5359 daylight time changes in the Energy Policy Act of 2005.
5360
1db86e88
AJ
53612012-05-09 Andreas Jaeger <aj@suse.de>
5362
5363 [BZ #13983]
5364 * elf/ldconfig.c (parse_conf): Change string to make clear that
5365 ldconfig only issued a warning if ld.so.conf does not exist.
5366
dee4a4e3
DM
53672012-05-08 David S. Miller <davem@davemloft.net>
5368
ee0db190
DM
5369 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
5370 movxtod instead of popping the value on the stack.
5371
dee4a4e3
DM
5372 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5373
6a43ec98
CD
53742012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
5375
5376 * config.h.in: Add HAVE_ARM_PCS_VFP.
5377
05c2c961
RMG
53782012-05-08 Roland Mc Grath <roland@hack.frob.com>
5379
bcfe3a54
ST
5380 [BZ #13979]
5381 * include/features.h: Warn if user requests __FORTIFY_SOURCE
5382 checking but the checks are disabled for any reason.
05c2c961 5383
4b30f61a
L
53842012-05-08 H.J. Lu <hongjiu.lu@intel.com>
5385
5386 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
5387 and ELF64_R_TYPE with ELFW(R_TYPE).
5388
eee2bc67
JM
53892012-05-08 Joseph Myers <joseph@codesourcery.com>
5390
7ea5391a
JM
5391 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
5392 (ulimit): Likewise.
5393
eee2bc67
JM
5394 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
5395 (settimeofday): Likewise.
5396
abb66a67
MF
53972012-05-08 Mike Frysinger <vapier@gentoo.org>
5398
5399 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
5400 a struct th_u2 inside the union, and move tu_block/tu_code into
5401 a new th_u3 union of tu_block/tu_code inside of that. Move
5402 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
5403 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
5404 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
5405 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
5406 (th_stuff): Change to th_u1.tu_stuff.
5407 (th_data): Define.
5408 (th_msg): Change to th_u1.th_u2.tu_data.
5409
7f18b530
DM
54102012-05-07 David S. Miller <davem@davemloft.net>
5411
05760585
DM
5412 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5413
7f18b530
DM
5414 [BZ #14074]
5415 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
5416 (SETUP_PIC_REG): Use it.
5417 (SETUP_PIC_REG_LEAF): Use it.
5418
495fd99f
JM
54192012-05-07 Joseph Myers <joseph@codesourcery.com>
5420
5421 [BZ #13885]
5422 [BZ #13923]
5423 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5424 USE_AS_EXPM1L.
5425 (EXPL_FINITE): Likewise.
5426 (FLDLOG): Likewise.
5427 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
5428 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
5429 e_expl.S.
5430 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5431 USE_AS_EXPM1L.
5432 (EXPL_FINITE): Likewise.
5433 (FLDLOG): Likewise.
5434 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
5435 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
5436 e_expl.S.
5437 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
5438 test of -max_value argument for long double.
5439 * sysdeps/i386/fpu/libm-test-ulps: Update.
5440 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5441
6693d694
DM
54422012-05-06 David S. Miller <davem@davemloft.net>
5443
5444 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
5445 quad soft-float symbols whose references which are compiler
5446 generated.
5447 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
5448
6c23e11c
JM
54492012-05-06 Joseph Myers <joseph@codesourcery.com>
5450
d8b82cad
JM
5451 [BZ #13884]
5452 [BZ #13914]
5453 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5454 USE_AS_EXP10L.
5455 (EXPL_FINITE): Likewise.
5456 (FLDLOG): Likewise.
5457 (c0): Likewise.
5458 (c1): Likewise.
5459 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
5460 Adjust comments for base varying.
5461 (__expl_finite): Change alias to EXPL_FINITE.
5462 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
5463 e_expl.S.
5464 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
5465 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
5466 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
5467 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
5468 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5469 USE_AS_EXP10L.
5470 (EXPL_FINITE): Likewise.
5471 (FLDLOG): Likewise.
5472 (c0): Likewise.
5473 (c1): Likewise.
5474 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
5475 Adjust comments for base varying.
5476 (__expl_finite): Change alias to EXPL_FINITE.
5477 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
5478 tests for bugs.
5479 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5480
6c23e11c
JM
5481 [BZ #14064]
5482 * math/libm-test.inc (check_float_internal): Correct ulp
5483 calculation for subnormal expected results.
5484
29ba805c
AJ
54852012-05-06 Andreas Jaeger <aj@suse.de>
5486
5487 * Makeconfig (+math-flags): New, set to -frounding-math.
5488 (+cflags): Add +math-flags so that all of glibc gets compiled with
5489 it.
5490
5491 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
5492
7b17aeda
JM
54932012-05-05 Joseph Myers <joseph@codesourcery.com>
5494
5779f134
JM
5495 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
5496 Disable one test.
5497
41498f4d
JM
5498 [BZ #13787]
5499 [BZ #13922]
5500 [BZ #14036]
5501 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
5502 (__ieee754_expl): Allow for and saturate large arguments.
5503 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
5504 (u_threshold): Likewise.
5505 (__exp): Call __ieee754_exp before checking for overflow and
5506 underflow.
5507 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
5508 (u_threshold): Likewise.
5509 (__expf): Call __ieee754_expf before checking for overflow and
5510 underflow.
5511 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
5512 (u_threshold): Likewise.
5513 (__expl): Call __ieee754_expl before checking for overflow and
5514 underflow.
5515 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
5516 (__ieee754_expl): Allow for and saturate large arguments.
5517 * math/libm-test.inc (exp_test): Add another test. Do not allow
5518 missing overflow exception on overflow.
5519 (expm1_test): Do not allow missing overflow exception on overflow.
5520
6698b8bf
JM
5521 * sysdeps/i386/fpu/e_expl.c: Move to ...
5522 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
5523 rather than using inline asm.
5524 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
5525 * sysdeps/x86_64/fpu/e_expl.S: Copy from
5526 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
5527
7b17aeda
JM
5528 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
5529 (nice): Likewise.
5530 (poll): Likewise.
5531 (signal): Likewise.
5532 (time): Likewise.
5533 (times): Likewise.
5534
f7c85819
JM
55352012-05-04 Joseph Myers <joseph@codesourcery.com>
5536
5537 * sysdeps/unix/syscalls.list (adjtime): Add entry from
5538 sysdeps/unix/common/syscalls.list.
5539 (fchmod): Likewise.
5540 (fchown): Likewise.
5541 (ftruncate): Likewise.
5542 (getrusage): Likewise.
5543 (gettimeofday): Likewise.
5544 (setpgid): Likewise.
5545 (setregid): Likewise.
5546 (setreuid): Likewise.
5547 (sigaction): Likewise.
5548 (truncate): Likewise.
5549 (vhangup): Likewise.
5550 * sysdeps/unix/common/syscalls.list: Remove file.
5551 * sysdeps/unix/bsd/Implies: Don't include unix/common.
5552 * sysdeps/unix/sysv/linux/Implies: Likewise.
5553
336270d0
L
55542012-05-04 H.J. Lu <hongjiu.lu@intel.com>
5555
5556 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
5557 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
5558 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
5559 Moved to ...
5560 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
5561 Here.
5562 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
5563 to ...
5564 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
5565 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
5566 to ...
5567 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
5568 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
5569 to ...
5570 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
5571 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
5572 to ...
5573 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
5574 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
5575 to ...
5576 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
5577 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
5578 to ...
5579 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
5580 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
5581 to ...
5582 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
5583 Here.
5584 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
5585 to ...
5586 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
5587 Here.
5588 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
5589 to ...
5590 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
5591 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
5592 Moved to ...
5593 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
5594 Here.
5595 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
5596 to ...
5597 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
5598
d128e450
JM
55992012-05-04 Joseph Myers <joseph@codesourcery.com>
5600
fa8ee516
JM
5601 * sysdeps/unix/common/bits/dirent.h: Remove file.
5602 * sysdeps/unix/common/bits/fcntl.h: Likewise.
5603
d128e450
JM
5604 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
5605 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
5606 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
5607 * sysdeps/unix/bsd/isatty.c: Likewise.
5608 * sysdeps/unix/bsd/tcdrain.c: Likewise.
5609 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
5610 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
5611
ff8faaf0 56122012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 5613
62881be4 5614 [BZ #13563]
31dc8730
AZ
5615 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
5616 long double comparison inaccuracies.
5617 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
5618 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5619
6fef930c
AS
56202012-05-04 Andreas Schwab <schwab@linux-m68k.org>
5621
5622 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
5623 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
5624
8f203e6c
JM
56252012-05-04 Joseph Myers <joseph@codesourcery.com>
5626
5627 [BZ #14049]
5628 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
5629 nonzero digits before rounding a hex value.
5630 * stdlib/tst-strtod.c (tests): Add another test.
5631
5197d9c2
AK
56322012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5633
5634 * sysdeps/s390/fpu/libm-test-ulps: Update.
5635
f0c1dedf
AJ
56362012-05-03 Andreas Jaeger <aj@suse.de>
5637
5638 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
5639 does not get optimized out.
5640 (malloc_opt_barrier): New.
5641
a65ef2ae 56422012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 5643 Roland McGrath <roland@hack.frob.com>
a65ef2ae 5644
2b942cb7 5645 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 5646 intermediate file deletion.
2b942cb7 5647 (generated): Add .symlist files.
a65ef2ae 5648
54b71e02
JM
56492012-05-03 Joseph Myers <joseph@codesourcery.com>
5650
5651 [BZ #13775]
5652 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
5653 Redirect under this condition.
5654 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
5655 [__USE_GNU] (__dprintf_chk): Not under this condition.
5656 [__USE_GNU] (__vdprintf_chk): Likewise.
5657 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
5658 under this condition.
5659 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
5660 [__USE_XOPEN2K8] (dprintf): Define under this condition.
5661 [__USE_XOPEN2K8] (vdprintf): Likewise.
5662 [__USE_GNU] (__dprintf_chk): Not under this condition.
5663 [__USE_GNU] (__vdprintf_chk): Likewise.
5664 [__USE_GNU] (dprintf): Likewise.
5665 [__USE_GNU] (vdprintf): Likewise.
5666
d3dfcc41
RM
56672012-05-03 Roland McGrath <roland@hack.frob.com>
5668
5669 * elf/Makefile (common-generated): Set this instead of generated for
5670 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
5671 $(all-built-dso)-derived lists.
5672
7ac30cc5
AJ
56732012-05-03 Andreas Jaeger <aj@suse.de>
5674
0c51e550
AJ
5675 * sysdeps/i386/fpu/libm-test-ulps: Update.
5676
7ac30cc5
AJ
5677 * FAQ: Removed.
5678 * FAQ.in: Likewise.
5679 * scripts/gen-FAQ.pl: Likewise.
5680 * manual/install.texi (Installation): Point to online location of
5681 FAQ.
5682 * Makefile (files-for-dist): Remove FAQ.
5683 (FAQ): Remove.
5684
d4c2917f
AM
56852012-05-02 Allan McRae <allan@archlinux.org>
5686
5687 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
5688 (LDFLAGS-reldepmod5.so): Likewise.
5689 (LDFLAGS-reldep6mod1.so): Likewise.
5690 (LDFLAGS-reldep6mod4.so): Likewise.
5691 (LDFLAGS-reldep8mod3.so): Likewise.
5692 (LDFLAGS-unload4mod1.so): Likewise.
5693 (LDFLAGS-unload4mod2.so): Likewise.
5694 (LDFLAGS-tst-initorder): Likewise.
5695 (LDFLAGS-tst-initordera2.so): Likewise.
5696 (LDFLAGS-tst-initordera3.so): Likewise.
5697 (LDFLAGS-tst-initordera4.so): Likewise.
5698 (LDFLAGS-tst-initorderb2.so): Likewise.
5699 (LDFLAGS-noload): Likewise.
5700 (LDFLAGS-next): Likewise.
5701 (LDFLAGS-order2mod1.so): Likewise.
5702 (LDFLAGS-order2mod2.so): Likewise.
5703 (LDFLAGS-tst-initorder2): Likewise.
5704 (LDFLAGS-tst-initorder2a.so): Likewise.
5705 (LDFLAGS-tst-initorder2b.so): Likewise.
5706 (LDFLAGS-tst-initorder2c.so): Likewise.
5707 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
5708
d77f993f
DM
57092012-05-02 David S. Miller <davem@davemloft.net>
5710
5711 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5712
171a70b4
PP
57132012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
5714
5715 [BZ #14055]
5716 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
5717
0be196ad
AJ
57182012-05-02 Andreas Jaeger <aj@suse.de>
5719
5720 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
5721 since we manipulate rounding mode.
5722 (CPPFLAGS-test-idouble.c): Likewise.
5723 (CPPFLAGS-test-ifloat.c): Likewise.
5724 (CFLAGS-test-ldouble.c): Likewise.
5725 (CFLAGS-test-double.c): Likewise.
5726 (CFLAGS-test-float.c): Likewise.
5727 (CFLAGS-test-misc.c): Likewise.
5728 (CFLAGS-test-test-fenv.c): Likewise.
5729
4f9d04aa
AZ
57302012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5731
2b942cb7
RM
5732 [BZ #2550]
5733 [BZ #2570]
5734 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
5735 comparisons to determine direction to adjust input.
4f9d04aa 5736
82a79e7d
RM
57372012-05-01 Roland McGrath <roland@hack.frob.com>
5738
f5a01ca9
RM
5739 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
5740 output to the target.
5741
90fe4186
RM
5742 * scripts/localplt.awk: New file.
5743 * elf/Makefile ($(objpfx)check-localplt): Target removed.
5744 (check-localplt-CFLAGS): Variable removed.
5745 ($(all-built-dso:=.jmprel)): New static pattern rule.
5746 (generated): Add those targets.
5747 (localplt-built-dso): New variable.
5748 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
5749
5750 * elf/check-localplt.c: File removed.
5751
82397ed6
RM
5752 * scripts/check-execstack.awk: New file.
5753 * elf/Makefile ($(objpfx)check-execstack): Target removed.
5754 (check-execstack-CFLAGS): Variable removed.
5755 ($(objpfx)check-execstack.h): Target removed.
5756 ($(objpfx)execstack-default): New target.
5757 (generated): Add that instead of check-execstack.h.
5758 ($(all-built-dso:=.phdr)): New static pattern rule.
5759 (generated): Add those targets.
5760 * elf/check-execstack.c: File removed.
5761
82a79e7d
RM
5762 * scripts/check-textrel.awk: New file.
5763 * elf/Makefile ($(objpfx)check-textrel): Target removed.
5764 (check-textrel-CFLAGS): Variable removed.
5765 (all-built-dso): Use := to define.o
5766 ($(all-built-dso:=.dyn)): New static pattern rule.
5767 (generated): Add those targets.
5768 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
5769 * config.make.in (READELF): New substituted variable.
5770 * elf/check-textrel.c: File removed.
5771
62fde54f 57722012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 5773
615605c9
JM
5774 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
5775 allow.
5776 * conform/data/ctype.h-data [C99-based standards] (isblank):
5777 Expect function.
5778 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
5779 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
5780 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5781 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
5782 Specify type. Require positive value.
5783 (EILSEQ): Likewise.
5784 (ERANGE): Likewise.
5785 [ISO || POSIX] (EILSEQ): Do not expect.
5786 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
5787 Specify type. Require positive value.
5788 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
5789 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
5790 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
5791 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
5792 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
5793 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
5794 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
5795 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
5796 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
5797 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
5798 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
5799 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
5800 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
5801 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
5802 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
5803 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
5804 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
5805 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
5806 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
5807 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
5808 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
5809 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
5810 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
5811 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
5812 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
5813 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
5814 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
5815 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
5816 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
5817 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
5818 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
5819 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
5820 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
5821 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
5822 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
5823 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
5824 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
5825 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
5826 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
5827 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
5828 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
5829 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
5830 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
5831 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
5832 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
5833 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
5834 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
5835 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
5836 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
5837 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
5838 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
5839 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
5840 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
5841 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
5842 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
5843 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
5844 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
5845 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
5846 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
5847 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
5848 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
5849 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
5850 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
5851 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
5852 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
5853 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
5854 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
5855 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
5856 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
5857 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
5858 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
5859 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
5860 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
5861 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
5862 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
5863 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
5864 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
5865 Require >= 2.
5866 (FLT_ROUNDS): Expect as macro, not constant.
5867 (FLT_MANT_DIG): Use macro-int-constant.
5868 (DBL_MANT_DIG): Likewise.
5869 (LDBL_MANT_DIG): Likewise.
5870 (FLT_DIG): Likewise.
5871 (DBL_DIG): Likewise.
5872 (LDBL_DIG): Likewise.
5873 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
5874 (DBL_MIN_EXP): Likewise.
5875 (LDBL_MIN_EXP): Likewise.
5876 (FLT_MAX_EXP): Use macro-int-constant.
5877 (DBL_MAX_EXP): Likewise.
5878 (LDBL_MAX_EXP): Likewise.
5879 (FLT_MAX_10_EXP): Likewise.
5880 (DBL_MAX_10_EXP): Likewise.
5881 (LDBL_MAX_10_EXP): Likewise.
5882 (FLT_MAX): Use macro-constant.
5883 (DBL_MAX): Likewise.
5884 (LDBL_MAX): Likewise.
5885 (FLT_EPSILON): Use macro-constant. Give upper bound.
5886 (DBL_EPSILON): Likewise.
5887 (LDBL_EPSILON): Likewise.
5888 (FLT_MIN): Likewise.
5889 (DBL_MIN): Likewise.
5890 (LDBL_MIN): Likewise.
5891 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
5892 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
5893 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
5894 [ISO11] (FLT_HAS_SUBNORM): Likewise.
5895 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
5896 [ISO11] (DBL_DECIMAL_DIG): Likewise.
5897 [ISO11] (FLT_DECIMAL_DIG): Likewise.
5898 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
5899 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
5900 [ISO11] (FLT_TRUE_MIN): Likewise.
5901 [ISO11] (LDBL_TRUE_MIN): Likewise.
5902 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5903 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
5904 (SCHAR_MIN): Use macro-int-constant. Specify type.
5905 (SCHAR_MAX): Likewise.
5906 (UCHAR_MAX): Likewise.
5907 (CHAR_MIN): Likewise.
5908 (CHAR_MAX): Likewise.
5909 (MB_LEN_MAX): Use macro-int-constant.
5910 (SHRT_MIN): Use macro-int-constant. Specify type.
5911 (SHRT_MAX): Likewise.
5912 (USHRT_MAX): Likewise.
5913 (INT_MAX): Likewise.
5914 (INT_MIN): Use macro-int-constant. Specify type. Make upper
5915 bound negative.
5916 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
5917 bound with "U".
5918 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
5919 bound with "L".
5920 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
5921 bound negative. Suffix upper bound with "L".
5922 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
5923 bound with "UL".
5924 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
5925 Specify type.
5926 [C99-based standards] (LLONG_MAX): Likewise.
5927 [C99-based standards] (ULLONG_MAX): Likewise.
5928 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
5929 == 0.
5930 [ISO11] (max_align_t): Require type.
5931 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5932
c9140a62
JM
5933 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
5934 from $CFLAGS, without defining away __attribute__ calls.
5935 (checknamespace): Use $CFLAGS_namespace.
5936
9af0bf29
JM
5937 * conform/conformtest.pl (@keywords): Only include C99 keywords
5938 for standards based on C99 or C11.
5939
343222a2
JM
5940 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
5941 Disable tests.
5942 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
5943 UNIX98]: Likewise.
5944
661f8cf0
JM
5945 * conform/conformtest.pl: Handle "macro-int-constant" and test for
5946 usability of symbols in #if.
5947
ee74b9cb
JM
5948 * conform/conformtest.pl: If macro or constant types start
5949 "promoted:", expect the symbol to be of the following type
5950 promoted by the integer promotions.
62fde54f 5951
aafc49b3
JM
5952 * conform/conformtest.pl: Parse all "constant" and "macro" lines
5953 in one place. Also handle "macro-constant".
5954
fefdf574
JM
5955 * conform/conformtest.pl: Only accept expected macro values with
5956 "==". Parse all "macro" lines in one place.
5957 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
5958
f2d922fe
JM
5959 * conform/conformtest.pl: Handle braced types on "constant" lines
5960 instead of handling "typed-constant".
5961 * conform/data/signal.h-data: Use "constant" instead of
5962 "typed-constant".
5963
d22956c9
JM
5964 * conform/conformtest.pl: Handle "optional-" at start of lines in
5965 one place rather than duplicating several cases. Handle each
5966 format of "macro" line with initial "optional-".
5967
028e2e38
JM
5968 * conform/conformtest.pl: Only accept expected constant or
5969 optional-constant values with "==". Parse all "constant" lines in
5970 one place. Parse all "optional-constant" lines in one place.
5971 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
5972 * conform/data/fmtmsg.h-data: Likewise.
5973 * conform/data/netinet/in.h-data: Likewise.
5974 * conform/data/tar.h-data: Likewise.
5975 * conform/data/limits.h-data: Use "==" form on "constant" and
5976 "optional-constant" lines.
5977
1b8f2850
JM
5978 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
5979 Use -std=c99 for XOPEN2K.
5980 (@knownproblems): Remove.
5981 (newtoken): Don't check %isknown.
5982
a05a144b
JM
5983 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
5984 Do not expect macro.
5985 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
5986 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
5987 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
5988 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
5989 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
5990 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
5991 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
5992 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
5993 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
5994 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
5995 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
5996 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
5997 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
5998 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
5999 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
6000 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
6001 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
6002 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
6003 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
6004 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
6005 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
6006 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
6007 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
6008 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
6009 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
6010 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
6011 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
6012 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
6013 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
6014 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
6015 [XPG3] (acosh): Likewise.
6016 [XPG3] (asinh): Likewise.
6017 [XPG3] (atanh): Likewise.
6018 [XPG3] (cbrt): Likewise.
6019 [XPG3] (expm1): Likewise.
6020 [XPG3] (ilogb): Likewise.
6021 [XPG3] (log1p): Likewise.
6022 [XPG3] (logb): Likewise.
6023 [XPG3] (nextafter): Likewise.
6024 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
6025 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
6026 [XPG3] (remainder): Likewise.
6027 [XPG3] (rint): Likewise.
6028 [XPG3 || XPG4 || UNIX98] (round): Likewise.
6029 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
6030 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
6031 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
6032 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
6033 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
6034 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
6035 [UNIX98 || XOPEN2K] (scalb): Expect.
6036 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
6037 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
6038 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
6039 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
6040 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
6041 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
6042 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
6043 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
6044 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
6045 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
6046 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
6047 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
6048 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
6049 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
6050 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
6051 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
6052 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
6053 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
6054 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
6055 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
6056 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
6057 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
6058 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
6059 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
6060 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
6061 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
6062 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
6063 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
6064 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
6065 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
6066 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
6067 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
6068 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
6069 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
6070 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
6071 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
6072 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
6073 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
6074 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
6075 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
6076 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
6077 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
6078 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
6079 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
6080 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
6081 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
6082 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
6083 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
6084 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
6085 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
6086 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
6087 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
6088 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
6089 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
6090 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
6091 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
6092 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
6093 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
6094 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
6095 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
6096 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
6097 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
6098 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
6099 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
6100 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
6101 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
6102 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
6103 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
6104 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
6105 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
6106 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
6107 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
6108 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
6109 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
6110 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
6111 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
6112 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
6113 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
6114 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
6115 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
6116 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
6117 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
6118 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
6119 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
6120 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
6121 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
6122 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
6123 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
6124 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
6125 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
6126 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
6127 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
6128 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
6129 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
6130 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
6131 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
6132 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
6133 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
6134 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
6135 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
6136 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
6137 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
6138 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
6139 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
6140 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
6141 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
6142 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
6143 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
6144 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
6145 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
6146 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
6147 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
6148 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
6149 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
6150 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
6151 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
6152 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
6153 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
6154 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
6155 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
6156 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
6157 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
6158 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
6159 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
6160 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
6161 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
6162 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
6163 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
6164 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
6165 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
6166 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
6167 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
6168 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
6169 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
6170 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
6171 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
6172 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
6173
73c5ebe3
JM
6174 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
6175 _XOPEN_SOURCE_EXTENDED for XPG4.
6176
39c33b6c
JM
6177 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
6178
62fde54f
JM
6179 * Makeconfig (localtime): Remove variable.
6180 (inst_localtime-file): Likewise.
6181
0741d64c
AS
61822012-05-01 Andreas Schwab <schwab@linux-m68k.org>
6183
6184 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
6185 Update.
6186 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6187 Update.
6188 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
6189 Update.
6190 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
6191 Update.
6192 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
6193 Update.
6194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
6195 Update.
6196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6197 Update.
6198 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
6199 Update.
6200 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
6201 Update.
6202
7cb029ee
JM
62032012-05-01 Joseph Myers <joseph@codesourcery.com>
6204
6205 [BZ #2550]
6206 [BZ #2570]
6207 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
6208 comparisons to determine direction to adjust input.
6209 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
6210 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
6211 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
6212 Likewise.
6213 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
6214 Likewise.
6215 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
6216 Likewise.
6217 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
6218 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
6219 Likewise.
6220 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
6221 Likewise.
6222 * math/libm-test.inc (nexttoward_test): Add more tests.
6223
412bd966
AS
62242012-05-01 Andreas Schwab <schwab@linux-m68k.org>
6225
6226 [BZ #14040]
6227 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
6228 in version GLIBC_2.1, not GLIBC_2.0.
6229 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
6230 Likewise.
6231
9568c0c2
JM
62322012-04-30 Joseph Myers <joseph@codesourcery.com>
6233
adfbc8ac
JM
6234 [BZ #13942]
6235 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
6236 (1 - x) * (1 + x).
6237 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
6238 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
6239 * math/libm-test.inc (acos_test): Add more tests.
6240 (asin_test): Likewise.
6241 * sysdeps/i386/fpu/libm-test-ulps: Update.
6242 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6243
5ba3cc69
JM
6244 [BZ #14034]
6245 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
6246 of square root.
6247 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
6248 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
6249 * math/libm-test.inc (acos_test_tonearest): New function.
6250 (acos_test_towardzero): Likewise.
6251 (acos_test_downward): Likewise.
6252 (acos_test_upward): Likewise.
6253 (asin_test_tonearest): Likewise.
6254 (asin_test_towardzero): Likewise.
6255 (asin_test_downward): Likewise.
6256 (asin_test_upward): Likewise.
6257 (main): Call the new functions.
6258 * sysdeps/i386/fpu/libm-test-ulps: Update.
6259 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6260
9568c0c2
JM
6261 [BZ #13884]
6262 [BZ #13924]
6263 * math/e_exp10.c: Include <float.h>.
6264 (__ieee754_exp10): Handle underflow here rather than multiplying
6265 large negative argument by M_LN10.
6266 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
6267 of __ieee754_expf.
6268 * math/e_exp10l.c: Include <float.h>.
6269 (__ieee754_exp10l): Handle underflow here rather than multiplying
6270 large negative argument by M_LN10l.
6271 * math/libm-test.inc (exp10_test): Add another test. Do not allow
6272 spurious overflow exception on underflow.
6273
5ac3ea17
MP
62742012-04-29 Marek Polacek <polacek@redhat.com>
6275
6276 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
6277 (__fortify_function): New macro.
6278 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
6279 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
6280 __extern_always_inline.
6281 * libio/bits/stdio2.h: Likewise.
6282 * libio/bits/stdio.h: Likewise.
6283 * string/string.h: Likewise.
6284 * string/bits/string3.h: Likewise.
6285 * include/stdio.h: Likewise.
6286 * stdlib/bits/stdlib.h: Likewise.
6287 * stdlib/stdlib.h: Likewise.
6288 * rt/bits/mqueue2.h: Likewise.
6289 * rt/mqueue.h: Likewise.
6290 * posix/bits/unistd.h: Likewise.
6291 * posix/unistd.h: Likewise.
6292 * io/bits/poll2.h: Likewise.
6293 * io/bits/fcntl2.h: Likewise.
6294 * io/fcntl.h: Likewise.
6295 * io/sys/poll.h: Likewise.
6296 * misc/bits/syslog.h: Likewise.
6297 * misc/bits/syslog-ldbl.h: Likewise.
6298 * misc/sys/syslog.h: Likewise.
6299 * socket/bits/socket2.h: Likewise.
6300 * socket/sys/socket.h: Likewise.
6301 * debug/tst-chk1.c: Likewise.
6302 * wcsmbs/bits/wchar2.h: Likewise.
6303 * wcsmbs/bits/wchar-ldbl.h: Likewise.
6304 * wcsmbs/wchar.h: Likewise.
6305
ecf0ebfb
AJ
63062012-04-29 Andreas Jaeger <aj@suse.de>
6307
6308 * Makerules (tests): Remove enable-check-abi protection.
6309 (check-abi-warn): Remove.
6310 (check-abi-%): Remove check-abi-warn usage.
6311
6312 * configure.in: Remove check-abi configure option.
6313 * configure: Regenerated.
6314 * config.make.in (enable-check-abi): Remove.
6315
6d5c57fa
AS
63162012-04-28 Andreas Schwab <schwab@linux-m68k.org>
6317
24c5d07e 6318 [BZ #14033]
ded5180a
AS
6319 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
6320 double functions to double *_finite functions.
6321
7e0d315d
AS
6322 [BZ #13941]
6323 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
6324 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
6325 LDBL_MIN_EXP.
6326 * stdio-common/Makefile (tests): Add tst-sprintf3.
6327 * stdio-common/tst-sprintf3.c: New file.
6328
6d5c57fa
AS
6329 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
6330 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
6331
0749ff8b
JM
63322012-04-28 Joseph Myers <joseph@codesourcery.com>
6333
6334 * conform/conformtest.pl: Remove duplicate typed-constant
6335 handling.
6336
8dbd5d7b
DM
63372012-04-28 David S. Miller <davem@davemloft.net>
6338
6339 * Makerules (%.abilist): Add vpath on sysdep_dirs.
6340 (check-abi-%): Remove AWK script prerequisite and explicit
6341 abilist directory.
6342 (check-abi): Rewrite to just diff the symlist with the abilist.
6343 (config-tls, config-abi-config): Delete, no longer used.
6344 (update-abi-%): Remove AWK script and explicit abilist directory.
6345 (update-abi): Rewrite to simply compare and conditionally copy the
6346 symlist and the sysdep abilist file. Remove update-abi-config
6347 checks.
6348 * abilist/ld.abilist: Remove.
6349 * abilist/libBrokenLocale.abilist: Remove.
6350 * abilist/libanl.abilist: Remove.
6351 * abilist/libcrypt.abilist: Remove.
6352 * abilist/libdl.abilist: Remove.
6353 * abilist/librt.abilist: Remove.
6354 * abilist/libthread_db.abilist: Remove.
6355 * abilist/libutil.abilist: Remove.
6356 * scripts/extract-abilist.awk: Remove.
6357 * scripts/merge-abilist.awk: Remove.
6358 * sysdeps/generic/libcidn.abilist: New file.
6359 * sysdeps/generic/libnss_compat.abilist: New file.
6360 * sysdeps/generic/libnss_db.abilist: New file.
6361 * sysdeps/generic/libnss_dns.abilist: New file.
6362 * sysdeps/generic/libnss_files.abilist: New file.
6363 * sysdeps/generic/libnss_hesiod.abilist: New file.
6364 * sysdeps/generic/libnss_nis.abilist: New file.
6365 * sysdeps/generic/libnss_nisplus.abilist: New file.
6366 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
6367 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
6368 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
6369 file.
6370 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
6371 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
6372 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
6373 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
6374 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
6375 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
6376 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
6377 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
6378 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
6379 file.
6380 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
6381 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
6382 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
6383 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
6384 file.
6385 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
6386 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
6387 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
6388 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
6389 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
6390 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
6391 file.
6392 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
6393 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
6394 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
6395 file.
6396 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
6397 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
6398 New file.
6399 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
6400 New file.
6401 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
6402 New file.
6403 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
6404 New file.
6405 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
6406 New file.
6407 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
6408 New file.
6409 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
6410 New file.
6411 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
6412 New file.
6413 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
6414 New file.
6415 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
6416 New file.
6417 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
6418 New file.
6419 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
6420 New file.
6421 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
6422 New file.
6423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
6424 file.
6425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
6426 New file.
6427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
6428 New file.
6429 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
6430 file.
6431 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
6432 New file.
6433 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
6434 New file.
6435 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
6436 file.
6437 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
6438 New file.
6439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
6440 New file.
6441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
6442 New file.
6443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
6444 New file.
6445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
6446 New file.
6447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
6448 New file.
6449 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
6450 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
6451 file.
6452 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
6453 New file.
6454 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
6455 file.
6456 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
6457 file.
6458 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
6459 file.
6460 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
6461 file.
6462 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
6463 file.
6464 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6465 New file.
6466 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
6467 file.
6468 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
6469 file.
6470 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
6471 New file.
6472 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
6473 file.
6474 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
6475 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
6476 file.
6477 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
6478 New file.
6479 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
6480 file.
6481 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
6482 file.
6483 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
6484 file.
6485 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
6486 file.
6487 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
6488 file.
6489 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6490 New file.
6491 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
6492 file.
6493 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
6494 file.
6495 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
6496 New file.
6497 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
6498 file.
6499 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
6500 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
6501 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
6502 file.
6503 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
6504 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
6505 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
6506 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
6507 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
6508 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
6509 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
6510 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
6511 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
6512 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
6513 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
6514 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
6515 file.
6516 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
6517 New file.
6518 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
6519 file.
6520 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
6521 file.
6522 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
6523 file.
6524 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
6525 file.
6526 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
6527 file.
6528 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
6529 New file.
6530 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
6531 New file.
6532 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
6533 file.
6534 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
6535 New file.
6536 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
6537 file.
6538 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
6539 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
6540 file.
6541 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
6542 New file.
6543 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
6544 file.
6545 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
6546 file.
6547 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
6548 file.
6549 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
6550 file.
6551 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
6552 file.
6553 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
6554 New file.
6555 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
6556 New file.
6557 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
6558 file.
6559 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
6560 New file.
6561 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
6562 file.
6563
41d73a1b
JM
65642012-04-28 Joseph Myers <joseph@codesourcery.com>
6565
6566 * conform/conformtest.pl: Fix typo in handling typed-constant from
6567 allow-header.
6568
28aeeda4
JM
65692012-04-27 Joseph Myers <joseph@codesourcery.com>
6570
adae8f5e
JM
6571 * README: Cut down references to pre-2.6 Linux kernels and
6572 Linuxthreads. Update lists of configurations in libc and ports
6573 and sort alphabetically. Say "or newer" with Linux kernel version
6574 requirements.
6575
28aeeda4
JM
6576 * config.h.in [IS_IN_build]: Allow compiling without optimization.
6577
a462cb63
RA
65782012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6579
6580 [BZ #887]
6581 * math/libm-test.inc (logb_test_downward): New test to expose
6582 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
6583 rounding mode.
6584
6ad3493e
JM
65852012-04-27 Joseph Myers <joseph@codesourcery.com>
6586
6587 [BZ #14027]
6588 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
6589 to be done.
6590 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
6591 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
6592
2ce4f015
JM
65932012-04-26 Joseph Myers <joseph@codesourcery.com>
6594
5aeb141a
JM
6595 * sysdeps/unix/i386/brk.S: Remove file.
6596 * sysdeps/unix/i386/dl-brk.S: Likewise.
6597 * sysdeps/unix/i386/pipe.S: Likewise.
6598 * sysdeps/unix/i386/sigreturn.S: Likewise.
6599 * sysdeps/unix/i386/syscall.S: Likewise.
6600 * sysdeps/unix/i386/vfork.S: Likewise.
6601 * sysdeps/unix/i386/wait.S: Likewise.
6602
7143acae
JM
6603 * sysdeps/unix/common/tcsendbrk.c: Move to ...
6604 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
6605
2ce4f015
JM
6606 * configure.in (arm*-none*): Do not allow without
6607 --enable-hacker-mode.
6608 (netbsd*): Remove case setting base_os.
6609 (386bsd*): Likewise.
6610 (freebsd*): Likewise.
6611 (bsdi*): Likewise.
6612 (osf*): Likewise.
6613 (sunos*): Likewise.
6614 (ultrix*): Likewise.
6615 (newsos*): Likewise.
6616 (dynix*): Likewise.
6617 (*bsd*): Likewise.
6618 (sysv*): Likewise.
6619 (isc*): Likewise.
6620 (esix*): Likewise.
6621 (sco*): Likewise.
6622 (minix*): Likewise.
6623 (irix4*): Likewise.
6624 (irix6*): Likewise.
6625 (solaris[2-9]*): Likewise.
6626 (none): Likewise.
6627 * configure: Regenerated.
6628
0ac229c8
AZ
66292012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6630
6631 [BZ #11521]
6632 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
6633 overflow or cancellation in calculating denominator.
6634 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
6635 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
6636 down expression to avoid unexpected rounding in newer GCCs.
6637 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
6638
33f244f4
DM
66392012-04-26 David S. Miller <davem@davemloft.net>
6640
6641 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
6642 long-double compat symbols.
6643 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
6644 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
6645 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
6646 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
6647 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
6648 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
6649 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
6650 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
6651 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
6652 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
6653 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
6654 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
6655 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
6656
cfa1f3e8
DM
66572012-04-25 David S. Miller <davem@davemloft.net>
6658
6659 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
6660 HWCAP_* values only after the memory barriers have been defined.
6661 (atomic_full_barrier): Define.
6662 (atomic_read_barrier): Define.
6663 (atomic_write_barrier): Define.
6664
6e236b92
SP
66652012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6666
6667 * shlib-versions: Add libgcc_s version information.
6668 * sysdeps/generic/libgcc_s.h: Remove.
6669 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
6670 libgcc_s.h.
6671 * sysdeps/gnu/unwind-resume.c: Likewise.
6672 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
6673
aab39a09
DM
66742012-04-25 David S. Miller <davem@davemloft.net>
6675
6676 * sysdeps/unix/sparc/brk.S: Delete.
6677 * sysdeps/unix/sparc/dl-brk.S: Delete.
6678 * sysdeps/unix/sparc/pipe.S: Delete.
6679 * sysdeps/unix/sparc/sysdep.S: Delete.
6680 * sysdeps/unix/sparc/sysdep.h: Delete.
6681 * sysdeps/unix/sparc/vfork.S: Delete.
6682 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
6683 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
6684 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
6685 ret_ERRVAL, r0, r1, MOVE): Define.
6686 (JUMPTARGET): Remove.
6687 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
6688 sysdeps/unix/sparc/sysdep.h
6689 (ENTRY, END): Remove.
6690 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6691
a3cc4f48
JM
66922012-04-25 Joseph Myers <joseph@codesourcery.com>
6693
2ed8cda2
JM
6694 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
6695 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
6696 -DIS_IN_build.
6697
35d76d59
JM
6698 * timezone/README: Update upstream location and email address for
6699 tzcode and tzdata.
6700 * timezone/zdump.c: Update from tzcode 2012b.
6701 * timezone/zic.c: Likewise.
6702
a3cc4f48
JM
6703 * configure.in (libc_cv_as_needed): Remove test.
6704 * configure: Regenerated.
6705 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
6706 conditional definition.
6707 [$(have-as-needed) != yes] (no-as-needed): Likewise.
6708 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
6709 * config.make.in (have-as-needed): Remove variable.
6710
ceab42c3
SP
67112012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
6712 Paul Pluzhnikov <ppluzhnikov@google.com>
6713
6714 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
6715 strings correctly.
6716
3ce2865f
CLT
67172012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
6718
6719 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
6720 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
6721 * sysdeps/sh/strlen.S: Likewise.
6722
f37e0d68
JM
67232012-04-24 Joseph Myers <joseph@codesourcery.com>
6724
ae186e9a
JM
6725 * sysdeps/unix/fork.S: Remove file.
6726 * sysdeps/unix/i386/fork.S: Likewise.
6727 * sysdeps/unix/sparc/fork.S: Likewise.
6728
b96914af
JM
6729 * sysdeps/unix/system.c: Remove file.
6730 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
6731
f37e0d68
JM
6732 * sysdeps/unix/getegid.S: Remove file.
6733 * sysdeps/unix/geteuid.S: Likewise.
6734
87ef29ca
RM
67352012-04-24 Roland McGrath <roland@hack.frob.com>
6736
83bcd236
RM
6737 * scripts/check-localplt.awk: New file.
6738 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
6739 of diff.
6740 * scripts/data/localplt-generic.data: Add a comment.
6741
87ef29ca
RM
6742 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
6743 NODE when __dir_mkfile failed.
6744 * sysdeps/mach/hurd/symlinkat.c: Likewise.
6745 Reported by Ludovic Courtès <ludo@gnu.org>.
6746
e5a6e567
AJ
67472012-04-24 Andreas Jaeger <aj@suse.de>
6748
6749 * Makerules (common-clean): Also remove gen-as-const-headers
6750 files.
6751
c1820385
JM
67522012-04-24 Joseph Myers <joseph@codesourcery.com>
6753
6754 * Makerules (native-compile): Do not change working directory for
6755 build. Use $(OUTPUT_OPTION) in command.
6756 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
6757
94e02fc4
AZ
67582012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6759
6760 [BZ #13886]
6761 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
6762 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
6763 * math/libm-test.inc (floor_test): Add more tests.
6764 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
6765
3a533ca3
JM
67662012-04-24 Joseph Myers <joseph@codesourcery.com>
6767
940ab4b3
JM
6768 * sysdeps/unix/getdents.c: Remove file.
6769 * sysdeps/unix/sysv/getdents.c: Likewise.
6770 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
6771
90e037bd
JM
6772 * sysdeps/unix/syscalls.list (madvise): Add syscall from
6773 sysdeps/unix/mman/syscalls.list.
6774 (mmap): Likewise.
6775 (mprotect): Likewise.
6776 (msync): Likewise.
6777 (munmap): Likewise.
6778 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
6779 * sysdeps/unix/mman/syscalls.list: Remove.
6780 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
6781
3a533ca3
JM
6782 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
6783 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
6784 * configure: Regenerated.
6785 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
6786 $(libgcc_s_suffix).
6787 * config.make.in (libgcc_s_suffix): Remove variable.
6788
1ad743de
JM
67892012-04-23 Joseph Myers <joseph@codesourcery.com>
6790
4ad451e2
JM
6791 * sysdeps/unix/sysv/gethostname.c: Move to ...
6792 * sysdeps/posix/gethostname.c: ... here.
6793
5e37ce39
JM
6794 * sysdeps/unix/execve.S: Remove file.
6795
1ad743de
JM
6796 * sysdeps/unix/_exit.S: Remove file.
6797
4e681b5b
AJ
67982012-04-23 Andreas Jaeger <aj@suse.de>
6799
6800 [BZ #13739]
6801 * manual/Makefile: Remove make dist support, there's no
6802 need for a stand-alone documentation tar ball.
6803 (TEXI2DVI): Define always, it's not in Makeconfig.
6804 (dist): Removed.
6805 (tar-it): Removed.
6806 (edition): Removed.
6807 (glibc-doc-$(edition).tar): Removed
6808 (%.Z): Removed.
6809 (%.gz): Removed.
6810 (%.uu): Removed.
6811 (ETAGS): Remove, it's in Makeconfig.
6812 (move-if-change): Remove, it's in Makeconfig.
6813
c0baea34
PE
68142013-04-23 Paul Eggert <eggert@cs.ucla.edu>
6815
6816 [BZ #13970]
6817 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
6818 (strtod, strtof, strtold, strtol, strtoul, strtoq)
6819 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
6820 (strtod_l, strtof_l, strtold_l): Remove __wur.
6821 It is not necessarily an error to ignore strtol's return value.
6822 One can reliably look at the stored endptr to decide whether
6823 the number had valid syntax.
6824
7c0616fa
AJ
68252012-04-21 Andreas Jaeger <aj@suse.de>
6826
803cb6b7 6827 [BZ #13739]
7c0616fa
AJ
6828 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
6829
b0fe253f
JM
68302012-04-21 Joseph Myers <joseph@codesourcery.com>
6831
6832 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
6833 * sysdeps/unix/sysv/Versions: Remove file.
6834
8280f22d
MT
68352012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
6836
6837 [BZ #13927]
6838 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6839
75ce411f 68402012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
6841
6842 [BZ #7064]
6843 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
6844 version from __vm86.
6845
097d59fa
JM
68462012-04-20 Joseph Myers <joseph@codesourcery.com>
6847
a90f3bcb
JM
6848 * sysdeps/unix/common/lxstat.c: Remove file.
6849 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
6850
edc7ea78
JM
6851 * sysdeps/unix/sysv/Makefile: Remove file.
6852
cb78c221
JM
6853 * sysdeps/unix/sysv/direct.h: Remove file.
6854
efa6a45f
JM
6855 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
6856 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
6857 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
6858 * sysdeps/unix/sysv/bits/signum.h: Likewise.
6859 * sysdeps/unix/sysv/bits/stat.h: Likewise.
6860 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
6861 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
6862
9c9f2d0c
JM
6863 * sysdeps/unix/sysv/setrlimit.c: Remove file.
6864
4541c83b
JM
6865 * sysdeps/unix/xmknod.c: Remove file.
6866 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
6867
f5d153a0
JM
6868 * sysdeps/unix/sysv/settimeofday.c: Remove file.
6869
aa746595
JM
6870 * sysdeps/unix/sysv/i386/time.S: Remove file.
6871
cce5905e
JM
6872 * sysdeps/unix/fxstat.c: Remove file.
6873 * sysdeps/unix/xstat.c: Likewise.
6874 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
6875
37fa3841
JM
6876 * sysdeps/unix/sysv/sigaction.c: Remove file.
6877
ff1962a3
JM
6878 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
6879 (sysdep_headers): Remove variable.
6880 [termio.h not in sysdep_headers] (generated): Likewise.
6881 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
6882 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
6883 * sysdeps/unix/sysv/tcdrain.c: Likewise.
6884 * sysdeps/unix/sysv/tcflow.c: Likewise.
6885 * sysdeps/unix/sysv/tcflush.c: Likewise.
6886 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
6887 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
6888 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
6889 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
6890 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
6891
e7740d31
JM
6892 * sysdeps/unix/siglist.c: Remove file.
6893
ee06f18b
JM
6894 * sysdeps/unix/getppid.S: Remove file.
6895
097d59fa
JM
6896 * sysdeps/unix/mkdir.c: Remove file.
6897 * sysdeps/unix/rmdir.c: Likewise.
6898
ff3d51ec
AS
68992012-04-19 Andreas Schwab <schwab@linux-m68k.org>
6900
6901 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
6902 ERR_MAX value.
6903 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
6904 errlist-compat value.
6905
50f81fd7
DM
69062012-04-18 David S. Miller <davem@davemloft.net>
6907
6908 * sysdeps/generic/memcopy.h (reg_char): Delete.
6909 * debug/strcat_chk.c: Use char, not reg_char.
6910 * debug/strcpy_chk.c: Likewise.
6911 * debug/strncat_chk.c: Likewise.
6912 * debug/strncpy_chk.c: Likewise.
6913 * string/memchr.c: Likewise.
6914 * string/memrchr.c: Likewise.
6915 * string/rawmemchr.c: Likewise.
6916 * string/strcat.c: Likewise.
6917 * string/strchr.c: Likewise.
6918 * string/strchrnul.c: Likewise.
6919 * string/strcmp.c: Likewise.
6920 * string/strcpy.c: Likewise.
6921 * string/strncat.c: Likewise.
6922 * string/strncmp.c: Likewise.
6923 * string/strncpy.c: Likewise.
6924
8ff41c46
WS
69252012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
6926
6927 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
6928 __builtin_memcopy is called when src and dest ranges are known to not
6929 overlap.
6930
6b652f46
WS
69312012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
6932
6933 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
6934 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
6935 fwd_align_merge macro call.
6936 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
6937 bwd_align_merge macro call.
6938 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
6939
b282631e
WS
69402012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
6941
6942 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
6943 bwd_align_merge macros.
6944 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
6945 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
6946 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
6947
95aa737c
DM
69482012-04-18 David S. Miller <davem@davemloft.net>
6949
6950 * sysdeps/sparc/sparc64/memcopy.h: Delete.
6951
7a99a614
AJ
69522012-04-18 Andreas Jaeger <aj@suse.de>
6953
6954 [BZ# 6794]
6955 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
6956 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
6957 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
6958
6959 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
6960 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
6961 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
6962
6963 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
6964 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
6965 Adjust for changed ldbl-128 files.
6966
6967 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
6968 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
6969 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
6970
e5270c23
DM
69712012-04-17 David S. Miller <davem@davemloft.net>
6972
6973 * sysdeps/sparc/sparc32/memcopy.h: Delete.
6974
fb5e92c9
AS
69752012-04-17 Andreas Schwab <schwab@linux-m68k.org>
6976
6977 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
6978 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
6979 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
6980 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
6981 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
6982 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
6983
76da7265
AZ
69842012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6985
6986 [BZ #6794]
6987 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
6988 * math/libm-test.inc: Add ilogb errno and exception tests.
6989 * math/w_ilogb.c: New file: ilogb wrapper.
6990 * math/w_ilogbf.c: New file: ilogbf wrapper.
6991 * math/w_ilogbl.c: New file: ilogbl wrapper.
6992 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
6993 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
6994 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
6995 exception being thrown with 0.0 as argument.
6996 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
6997 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
6998 exception being thrown with 0.0 as argument.
6999 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
7000 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
7001 exception being thrown with 0.0 as argument.
7002 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
7003 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
7004 exception being thrown with 0.0 as argument.
7005 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
7006 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 7007 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
7008 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
7009 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
7010 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
7011 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
7012 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
7013 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
7014
0396e69d
PB
70152012-04-17 Petr Baudis <pasky@ucw.cz>
7016
7017 * include/sys/uio.h: Change __vector to __iovec to avoid clash
7018 with altivec.
7019
750b5926
MP
70202012-04-16 Marek Polacek <polacek@redhat.com>
7021
7022 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
7023
751728a1
MP
70242012-04-16 Marek Polacek <polacek@redhat.com>
7025
7026 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
7027 operands of fdivp instruction.
7028
34a27407
L
70292012-04-13 H.J. Lu <hongjiu.lu@intel.com>
7030
7031 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
7032 * elf/tst-auditmod3b.c: Likewise.
7033 * elf/tst-auditmod4b.c: Likewise.
7034 * elf/tst-auditmod5b.c: Likewise.
7035 * elf/tst-auditmod6b.c: Likewise.
7036 * elf/tst-auditmod6c.c: Likewise.
7037 * elf/tst-auditmod7b.c: Likewise.
7038 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
7039 * sysdeps/x86_64/preconfigure.in: Likewise.
7040 * sysdeps/x86_64/preconfigure: Regenerated.
7041
7e73e17d
L
70422012-04-13 H.J. Lu <hongjiu.lu@intel.com>
7043
7044 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
7045 __ILP32__.
7046
c7a6ab72
AB
70472012-04-13 Antoine Balestrat <merkil33@gmail.com>
7048
7049 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7050 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
7051
a9e8e0e0
CL
70522012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
7053
7054 [BZ #13973]
7055 * locale/iso-639.def: Fix gl language name. Spotted by
7056 Yaron Shahrabani.
7057
ec98af7d
RM
70582012-04-12 Roland McGrath <roland@hack.frob.com>
7059
7060 [BZ #2074]
7061 * libio/libio.h (__io_write_fn): Update comment.
7062
247c3ede
PB
70632012-04-12 Petr Baudis <pasky@ucw.cz>
7064
7065 [BZ #2074]
7066 * stdio.texi (Hook Functions): The user provided writer function
7067 is not allowed to return -1.
7068
55939d6d
DM
70692012-04-11 David S. Miller <davem@davemloft.net>
7070
7071 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7072
90020f5a
MF
70732012-04-11 Mike Frysinger <vapier@gentoo.org>
7074
7075 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
7076 Add a leading slash to rtkaio.
7077
288f9098
JM
70782012-04-11 Jim Meyering <meyering@redhat.com>
7079
90020f5a
MF
7080 [BZ #11959]
7081 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
7082 It is not necessarily an error to ignore fwrite's return
7083 value. One can reliably use ferror to test for errors after
7084 the fact.
288f9098 7085
4be2b570
L
70862012-04-10 H.J. Lu <hongjiu.lu@intel.com>
7087
7088 * bits/types.h (__snseconds_t): New type.
7089 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
7090
7091 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
7092 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
7093 (__SNSECONDS_T_TYPE): Likewise.
7094 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
7095 (__SNSECONDS_T_TYPE): Likewise.
7096 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7097 (__SNSECONDS_T_TYPE): Likewise.
7098
288f9098 70992012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
7100
7101 [BZ #2636]
7102 * manual/time.texi (Processor Time): Return type of times is
7103 elapsed real time since an arbitrary point in the past.
7104 (CPU Time): Move CLK_TCK from here...
7105 (Processor Time): ...to here. Correct description.
7106 * manual/conf.texi (Constants for Sysconf): Correct description of
7107 _SC_CLK_TCK.
7108
d7dd4413
DM
71092012-04-10 David S. Miller <davem@davemloft.net>
7110
7111 [BZ #13967]
7112 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
7113 where the is a gap between DT_REL(A) and DT_JMPREL.
7114
b46068fc
L
71152012-04-10 H.J. Lu <hongjiu.lu@intel.com>
7116
7117 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
7118 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
7119 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
7120
73d65cc3
SP
71212012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7122
7123 * elf/dl-support.c (_dl_inhibit_cache): New variable.
7124 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
7125 (dl_main): Handle --inhibit-cache.
7126 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
7127 _dl_inhibit_cache.
7128 * elf/dl-load.c (_dl_map_object): Use it.
7129 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
7130
bcc8d661
JM
71312012-04-09 Joseph Myers <joseph@codesourcery.com>
7132
8f9a2fae
JM
7133 [BZ #13872]
7134 * sysdeps/i386/fpu/e_powl.S (p78): New object.
7135 (__ieee754_powl): Saturate large exponents rather than testing for
7136 overflow of y*log2(x).
7137 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
7138 * math/libm-test.inc (pow_test): Do not permit spurious overflow
7139 exceptions.
7140
bcc8d661
JM
7141 [BZ #11521]
7142 * math/s_ctan.c: Include <float.h>.
7143 (__ctan): Avoid internal overflow or cancellation in calculating
7144 denominator.
7145 * math/s_ctanf.c: Likewise.
7146 * math/s_ctanl.c: Likewise.
7147 * math/s_ctanh.c: Likewise.
7148 * math/s_ctanhf.c: Likewise.
7149 * math/s_ctanhl.c: Likewise.
7150 * math/libm-test.inc (ctan_test): Add more tests.
7151 (ctanh_test): Likewise.
7152 * sysdeps/i386/fpu/libm-test-ulps: Update.
7153 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7154
823fbbb4
AJ
71552012-04-09 Andreas Jaeger <aj@suse.de>
7156
03879793
AJ
7157 [BZ #6894]
7158 * manual/filesys.texi (Directory Entries): Mention that d_namlen
7159 is an optional BSD extension.
7160
823fbbb4
AJ
7161 [BZ #10254]
7162 * manual/stdio.texi (Opening Streams): Document additional fopen
7163 parameters.
7164
8de131cb
RM
71652012-04-09 Roland McGrath <roland@hack.frob.com>
7166
7167 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
7168 %eax without telling the compiler.
7169
c0ed9d7d
CD
71702012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
7171
7172 [BZ # 13963]
7173 * manual/install.texi: Use sourceware.org.
7174
c483f6b4
JM
71752012-04-09 Joseph Myers <joseph@codesourcery.com>
7176
d7dd9453
JM
7177 [BZ #13873]
7178 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
7179 (__ieee754_pow): Generate overflow and underflow using huge*huge
7180 and tiny*tiny rather than just returning constant infinity or zero
7181 for large exponents.
7182 * math/libm-test.inc (pow_test): Require overflow exceptions for
7183 applicable cases of large exponents.
7184
c483f6b4
JM
7185 [BZ #706]
7186 * sysdeps/i386/fpu/e_pow.S (p10): New object.
7187 (__ieee754_pow): Use iterative multiplication algorithm only for
7188 integer exponents with absolute value below 1024. Check for odd
7189 integer exponents when using algorithm for real exponents.
7190 * math/libm-test.inc (pow_test): Add more tests.
7191 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7192
d2de7579
JM
71932012-04-08 Joseph Myers <joseph@codesourcery.com>
7194
7195 [BZ #13705]
7196 * math/libm-test.inc (exp_test): Do not allow overflow exception
7197 on underflow test.
7198
f77f1232
AJ
71992012-04-08 Aurelien Jarno <aurelien@aurel32.net>
7200
7201 [BZ #13705]
7202 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
7203 instead of __kernel_standard_f.
7204
3884932b
MF
72052012-04-08 Mike Frysinger <vapier@gentoo.org>
7206
7207 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
7208 * sysdeps/x86_64/memset_chk.S: Likewise.
7209
54472e9c
AJ
72102012-04-08 Andreas Jaeger <aj@suse.de>
7211
6ab0fbfc
AJ
7212 [BZ #10153]
7213 * manual/startup.texi (Environment Access): Describe return value
7214 for putenv and setenv.
7215
61efba8c
AJ
7216 [BZ #6895]
7217 * manual/filesys.texi (Directory Entries): Add description for
7218 DT_LNK.
7219
95c3f29a
AJ
7220 [BZ #6890]
7221 * manual/filesys.texi (Directory Entries): Clarify that it's file
7222 system not operating system in the description of DT_UNKNOWN.
7223
54472e9c
AJ
7224 [BZ #6578]
7225 * manual/syslog.texi (closelog): Fix reference, it's openlog.
7226
624254b1
SC
72272012-04-08 Stephen Compall <s11@member.fsf.org>
7228
7229 [BZ #6649]
7230 * manual/llio.texi (Opening and Closing Files): Add cross
7231 reference to explain mode argument.
7232
1e4920e0
MF
72332012-04-07 Mike Frysinger <vapier@gentoo.org>
7234
7235 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
7236 * sysdeps/x86_64/memset_chk.S: Likewise.
7237
5ed848f3
DM
72382012-04-07 David S. Miller <davem@davemloft.net>
7239
7240 * elf/elf.h (R_SPARC_WDISP10): Define.
7241 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
7242 R_SPARC_SIZE32.
7243 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
7244 R_SPARC_SIZE64 and R_SPARC_H34.
7245
96154cd8
CD
72462012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
7247
7248 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
7249 conditions and remove no longer applicable assertion.
7250
9904dc47
L
72512012-04-06 H.J. Lu <hongjiu.lu@intel.com>
7252
7253 * bits/byteswap.h: Include <features.h>.
7254 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
7255 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
7256
f8887d0a
L
72572012-04-06 H.J. Lu <hongjiu.lu@intel.com>
7258
7259 * bits/byteswap.h (__bswap_16): Removed.
7260 Include <bits/byteswap-16.h> to get __bswap_16.
7261 * sysdeps/i386/bits/byteswap.h: Likewise.
7262 * sysdeps/s390/bits/byteswap.h: Likewise.
7263 * sysdeps/x86_64/bits/byteswap.h: Likewise.
7264 * bits/byteswap-16.h: New file.
7265 * sysdeps/i386/bits/byteswap-16.h: Likewise.
7266 * sysdeps/s390/bits/byteswap-16.h: Likewise.
7267 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
7268 * string/Makefile (headers): Add bits/byteswap-16.h.
7269
62470f60
PP
72702012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
7271
7272 [BZ #13895]
7273 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
7274 extra indirection.
7275 * nss/Makefile (tests-static, tests): Add tst-nss-static.
7276 * nss/tst-nss-static.c: New.
7277
4dad7bab
RM
72782012-04-06 Robert Millan <rmh@gnu.org>
7279
7280 [BZ #6486]
7281 * manual/llio.texi (File Position Primitive): lseek
7282 refers to WHENCE when it really means OFFSET.
7283
e9142a17
AJ
72842012-04-06 Andreas Jaeger <aj@suse.de>
7285
2c040eff
AJ
7286 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
7287 strncmp declarations.
7288
e9142a17
AJ
7289 * abilist/libc.abilist: Add __poll and __ppoll.
7290
ff9f1c5f
DM
72912012-04-05 David S. Miller <davem@davemloft.net>
7292
dcd2ae90
DM
7293 * scripts/check-local-headers.sh: Accept a host triplet in the
7294 path matched by the exclude regexp.
7295
993eb054
DM
7296 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
7297 definition.
7298 * sysdeps/powerpc/powerpc32/dl-machine.h
7299 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
7300 * sysdeps/s390/s390-32/dl-machine.h
7301 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
7302 * sysdeps/sparc/sparc32/dl-machine.h
7303 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
7304 * sysdeps/sparc/sparc64/dl-machine.h
7305 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
7306
ff9f1c5f
DM
7307 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
7308 lazy binding.
48e2e132 7309 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
7310 undefined symbol errors.
7311
48e2e132 7312 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
7313 DT_NEEDED entries.
7314
e80d6f94
MM
73152012-04-05 Michael Matz <matz@suse.de>
7316
7317 [BZ #13592]
7318 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
7319
349fa79f
AJ
73202012-04-05 Andreas Jaeger <aj@suse.de>
7321
7322 [BZ #13908]
7323 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
7324 comment.
7325
f402708f
KK
73262012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7327
7328 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
7329 which ROUND is no valid rounding mode.
7330
2ecccfc9
KK
73312012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7332
7333 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
7334 read again.
7335 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
7336
8a53f50f
KK
73372012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7338
7339 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
7340 an exception using FPU order intentionally.
7341
73422012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7343
7344 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
7345 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
7346 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
7347 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
7348
d653abb7
SJ
73492012-04-05 Simon Josefsson <simon@josefsson.org>
7350
7351 [BZ #12340]
7352 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
7353 EINVAL when BUFLEN is too smal.
7354
c3b1bf7d
TS
73552012-04-05 Thomas Schwinge <thomas@codesourcery.com>
7356
7357 [BZ #13553]
7358 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
7359 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
7360
b1aa60f3
AJ
73612012-04-03 Andreas Jaeger <aj@suse.de>
7362
c3b1bf7d 7363 [BZ #13938]
67f60a26
AJ
7364 * manual/setjmp.texi (System V contexts): Fix sentence.
7365
b1aa60f3
AJ
7366 [BZ #13926]
7367 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
7368 New macro for this case.
7369 [!__GNUC__] (__bswap_64): New inline function for this case.
7370 * sysdeps/x86_64/bits/byteswap.h: Likewise.
7371 * bits/byteswap.h: Likewise.
7372 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
7373 ull, guard with __GLIBC_HAVE_LONG_LONG.
7374
7375 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
7376 __GLIBC_HAVE_LONG_LONG.
7377
7378 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
7379 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
7380
39c59c35
TMQMF
73812012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7382
7383 [BZ #13691]
7384 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
7385 inptr and inend, rather than using last_ch.
7386
135ffda8
DM
73872012-04-02 David S. Miller <davem@davemloft.net>
7388
7389 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
7390 * stdio-common/printf-parse.h (read_int): Change return type to
7391 'int', return -1 on INT_MAX overflow.
7392 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
7393 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
7394 overflows INT_MAX. Check for overflow of in-format-string precision
7395 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
7396 SIZE_MAX not INT_MAX for integer overflow test.
7397 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
7398 skip the construct in the format string but do not record anything.
7399 * stdio-common/bug22.c: Adjust to test both width/prevision
7400 INT_MAX overflow as well as total length INT_MAX overflow. Check
7401 explicitly for proper errno values.
7402
228c019e
TS
74032012-04-02 Thomas Schwinge <thomas@codesourcery.com>
7404
302cadd3
TS
7405 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
7406 CHAR_MAX.
7407 * string/test-strcmp.c [! WIDE]: Likewise.
7408 * time/tst-mktime2.c: Likewise for INT_MAX.
7409 * string/test-string.h: #include <sys/param.h> for MIN.
7410
228c019e
TS
7411 * csu/init-first.c (__libc_init_first): Call __ctype_init.
7412 * sysdeps/i386/init-first.c (init): Likewise.
7413 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
7414 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
7415 * sysdeps/sh/init-first.c (init): Likewise.
7416
cfa633f5
UD
74172012-04-01 Ulrich Drepper <drepper@gmail.com>
7418
7419 * po/ru.po: Update from translation team.
d1635ef8 7420 * po/vi.po: Likewise.
cfa633f5 7421
6cd0a5ea
SP
74222012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
7423
7424 * resolv/nss_dns/dns-host.c: Merge copyright years.
7425
4b43400f
LD
74262012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7427
7428 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
7429 Optimize memcpy with prefetch if
7430 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
7431 src, dst pointers have unequal 16 byte alignments.
7432
48c41d04
SP
74332012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7434
7435 [BZ #13928]
7436 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
7437 from a CNAME entry and return the minimum ttl for the query.
7438 (gaih_getanswer_slice): Likewise.
7439
b8dc394d
JL
74402012-03-30 Jeff Law <law@redhat.com>
7441
7442 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
7443 due to long keys.
7444 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
7445 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
7446
2f5a5ed0
JL
7447 * resolv/nss_dns/dns-host.c: Update copyright year.
7448
1d39e359
UD
74492012-03-30 Ulrich Drepper <drepper@gmail.com>
7450
c030f70c 7451 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 7452 requests to save a system call. Fix check that all bytes are sent.
c030f70c 7453
1d39e359
UD
7454 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
7455 comments for sendmmsg.
7456
74572012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
7458
7459 [BZ #13691]
7460 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
7461 with only 1 character between 0x0041 and 0x01b0.
7462 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
7463 * wcsmbs/tst-mbsnrtowcs.c: New file.
7464
20fde227
DM
74652012-03-29 David S. Miller <davem@davemloft.net>
7466
7467 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
7468 small copies by hand.
7469
984a4237
JL
74702012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7471
7472 [BZ #13761]
7473 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
7474 _nss_compat_initgroups_dyn): Fall back to malloc/free
7475 for large group memberships.
7476
18c9d62b
DM
74772012-03-28 David S. Miller <davem@davemloft.net>
7478
88d85d4f
DM
7479 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
7480 that branches into memcpy.
7481 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
7482 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
7483 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
7484 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
7485 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
7486 bits.
7487 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
7488 implementation too.
7489 * sysdeps/sparc/mempcpy.S: New file.
7490
e5aa83e1
DM
7491 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
7492 the IFUNC routine in the libc case.
7493 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
7494
88570753
DM
7495 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
7496 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
7497 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
7498 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
7499 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
7500 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
7501 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
7502 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
7503
249d7567
DM
7504 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
7505 loop to 256 bytes instead of 64 bytes and fix test signedness.
7506
18c9d62b
DM
7507 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
7508 * sysdeps/sparc/sparc32/Makefile: rather than here...
7509 * sysdeps/sparc/sparc64/Makefile: and here.
7510
05f3d1f6
UD
75112012-03-28 Ulrich Drepper <drepper@gmail.com>
7512
7513 * malloc/mallocbug.c: Avoid warnings about unused variables.
7514
86ae07a8
JL
75152012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
7516
7517 [BZ #13760]
7518 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
7519 in the right place. Discard and retry query if response is
7520 larger than input buffer size.
7521
41bf21a1
JM
75222012-03-28 Joseph Myers <joseph@codesourcery.com>
7523
d6270972
JM
7524 [BZ #369]
7525 [BZ #2678]
7526 [BZ #3866]
7527 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
7528 x for large integer exponent.
7529 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
7530 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
7531 sign of result as needed afterwards.
7532 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
7533 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
7534 result for underflowing pow the same as for overflow.
7535 (__kernel_standard_l): Handle powl overflow and underflow here
7536 rather than calling __kernel_standard.
7537 * math/libm-test.inc (pow_test): Add more tests.
7538
414fca03 7539 [BZ #3868]
41bf21a1
JM
7540 [BZ #13879]
7541 [BZ #13910]
7542 [BZ #13911]
7543 [BZ #13912]
7544 [BZ #13913]
7545 [BZ #13915]
7546 [BZ #13916]
7547 [BZ #13917]
7548 [BZ #13918]
7549 [BZ #13919]
7550 [BZ #13920]
7551 [BZ #13921]
7552 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
7553 * sysdeps/ieee754/k_standard.c: Include <float.h>.
7554 (__kernel_standard_l): New function.
7555 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
7556 __kernel_standard.
7557 * math/w_acosl.c (__acosl): Likewise.
7558 * math/w_asinl.c (__asinl): Likewise.
7559 * math/w_atan2l.c (__atan2l): Likewise.
7560 * math/w_atanhl.c (__atanhl): Likewise.
7561 * math/w_coshl.c (__coshl): Likewise.
7562 * math/w_exp10l.c (__exp10l): Likewise.
7563 * math/w_exp2l.c (__exp2l): Likewise.
7564 * math/w_fmodl.c (__fmodl): Likewise.
7565 * math/w_hypotl.c (__hypotl): Likewise.
7566 * math/w_j0l.c (__j0l, __y0l): Likewise.
7567 * math/w_j1l.c (__j1l, __y1l): Likewise.
7568 * math/w_jnl.c (__jnl, __ynl): Likewise.
7569 * math/w_lgammal.c (__lgammal): Likewise.
7570 * math/w_log10l.c (__log10l): Likewise.
7571 * math/w_log2l.c (__log2l): Likewise.
7572 * math/w_logl.c (__logl): Likewise.
7573 * math/w_powl.c (__powl): Likewise.
7574 * math/w_remainderl.c (__remainderl): Likewise.
7575 * math/w_scalbl.c (sysv_scalbl): Likewise.
7576 * math/w_sinhl.c (__sinhl): Likewise.
7577 * math/w_sqrtl.c (__sqrtl): Likewise.
7578 * math/w_tgammal.c (__tgammal): Likewise.
7579 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
7580 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
7581 * math/libm-test.inc (acos_test): Add more tests.
7582 (acosh_test): Likewise.
7583 (asin_test): Likewise.
7584 (atanh_test): Likewise.
7585 (exp_test): Likewise.
7586 (exp10_test): Likewise.
7587 (exp2_test): Likewise.
7588 (expm1_test): Likewise.
7589 (lgamma_test): Likewise.
7590 (log_test): Likewise.
7591 (log10_test): Likewise.
7592 (log1p_test): Likewise.
7593 (log2_test): Likewise.
7594 (pow_test): Do not allow some spurious overflow exceptions.
7595 (sqrt_test): Add more tests.
7596 (tgamma_test): Likewise.
7597 (y0_test): Likewise.
7598 (y1_test): Likewise.
7599 (yn_test): Likewise.
7600
dd62fda6
AB
76012012-03-27 Anton Blanchard <anton@samba.org>
7602
7603 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
7604 MAP_HUGETLB.
7605 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
7606 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
7607 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
7608
1e3cdfda
AJ
76092012-03-27 David S. Miller <davem@davemloft.net>
7610
b855ab85
DM
7611 * conform/Makefile: Run run-conformtest.sh using $(BASH).
7612
1e3cdfda
AJ
7613 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
7614 have-as-vis3 check.
7615
76162012-03-27 Andreas Jaeger <aj@suse.de>
7617
7618 * sysdeps/x86_64/elf/configure.in: Moved to ...
7619 * sysdeps/x86_64/configure.in: ... here.
7620 * sysdeps/x86_64/elf/start.S: Moved to ...
7621 * sysdeps/x86_64/start.S: ... here.
7622 * sysdeps/x86_64/elf/configure: Delete.
7623
7624 * sysdeps/x86_64/configure.in: Merge contents from
7625 sysdeps/i386/configure.in (without i686 check).
7626
7627 * sysdeps/i386/elf/Versions: Merge into ...
7628 * sysdeps/i386/Versions: ... this.
7629 * sysdeps/i386/elf/Versions: Delete file.
7630 * sysdeps/i386/elf/start.S: Moved to ...
7631 * sysdeps/i386/start.S: ...here.
7632 * sysdeps/i386/elf/configure.in: Merge into...
7633 * sysdeps/i386/configure.in: ...here.
7634 * sysdeps/i386/elf/configure.in: Delete file.
7635 * sysdeps/i386/elf/configure: Delete file.
7636
7637 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
7638 * debug/backtracesyms.c: ... here.
7639 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
7640 * debug/backtracesymsfd.c: ... here.
7641 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
7642 * sysdeps/generic/ifunc-sel.h: ... here.
7643
7644 * sysdeps/unix/i386/start.c: Delete file.
7645 * sysdeps/unix/sparc/start.c: Delete file.
7646 * sysdeps/unix/start.c: Delete file.
7647
7648 * sysdeps/sh/elf/configure.in: Moved to ...
7649 * sysdeps/sh/configure.in: ... here.
7650 * sysdeps/sh/elf/start.S: Moved to ...
7651 * sysdeps/sh/start.S: ... here.
7652 * sysdeps/sh/elf/configure: Delete file.
7653
7654 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
7655 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
7656 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
7657 * sysdeps/powerpc/powerpc64/entry.h: ... here.
7658 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
7659 * sysdeps/powerpc/powerpc64/start.S: here.
7660 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
7661 * sysdeps/powerpc/powerpc64/Makefile: ... this.
7662 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
7663 * sysdeps/powerpc/powerpc64/configure.in: ... this.
7664 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
7665
7666 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
7667 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
7668 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
7669 * sysdeps/powerpc/powerpc32/start.S: ... here.
7670 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
7671 * sysdeps/powerpc/powerpc32/configure.in: ... this.
7672 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
7673
7674 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
7675 * sysdeps/powerpc/ifunc-sel.h: ... here.
7676 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
7677 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
7678
7679 * sysdeps/sparc/elf/configure.in: Moved to ...
7680 * sysdeps/sparc/configure.in: ... here.
7681 * sysdeps/sparc/elf/configure: Delete file.
7682 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
7683 * sysdeps/sparc/sparc32/start.S: ... here.
7684 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
7685 * sysdeps/sparc/sparc64/start.S: ... here.
7686 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
7687 * sysdeps/sparc/sparc32/Makefile: ... this.
7688 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
7689 * sysdeps/sparc/sparc64/Makefile: ... this.
7690
7691 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
7692 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
7693 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
7694 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
7695 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
7696 * sysdeps/s390/s390-32/setjmp.S: ... here.
7697 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
7698 * sysdeps/s390/s390-32/configure.in: ... here.
7699 * sysdeps/s390/s390-32/elf/configure: Delete file.
7700 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
7701 * sysdeps/s390/s390-32/start.S: ... here.
7702
7703 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
7704 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
7705 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
7706 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
7707 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
7708 * sysdeps/s390/s390-64/setjmp.S: ... here.
7709 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
7710 * sysdeps/s390/s390-64/configure.in: ... here
7711 * sysdeps/s390/s390-64/elf/configure: Delete file.
7712 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
7713 * sysdeps/s390/s390-64/start.S: ... here.
7714 * sysdeps/s390/s390-64/elf/configure: Delete.
7715
7716 * configure.in: Remove support for elf directories in sysdeps.
7717
7718 * configure: Regenerated.
7719 * sysdeps/i386/configure: Regenerated.
7720 * sysdeps/powerpc/powerpc32/configure: Regenerated.
7721 * sysdeps/powerpc/powerpc64/configure: Regenerated.
7722 * sysdeps/s390/s390-32/configure: Regenerated.
7723 * sysdeps/s390/s390-64/configure: Regenerated.
7724 * sysdeps/sh/configure: Regenerated.
7725 * sysdeps/sparc/configure: Regenerated.
7726 * sysdeps/x86_64/configure: Regenerated.
7727
a3f61311
AS
77282012-03-26 Andreas Schwab <schwab@linux-m68k.org>
7729
c876e002
AS
7730 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7731
a3f61311
AS
7732 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
7733 denormal result into account.
7734
ac4c54f0
RM
77352012-03-25 Roland McGrath <roland@hack.frob.com>
7736
7737 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
7738 Reported by Allan McRae <allan@archlinux.org>.
7739
6a9b9c02
JL
77402012-03-23 Jeff Law <law@redhat.com>
7741
7742 * nss/getnssent.c (__nss_getent): Fix typo.
7743
4c42a0c1
DM
77442012-03-23 David S. Miller <davem@davemloft.net>
7745
7746 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7747
1532c7ac
L
77482012-03-23 H.J. Lu <hongjiu.lu@intel.com>
7749
7750 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
7751 to pad to uint64_t for each field.
7752 (dl_tls_index): Replace unsigned long with uint64_t.
7753
3ff42526
PP
77542012-03-23 Daniel Jacobowitz <dmj@google.com>
7755 Paul Pluzhnikov <ppluzhnikov@google.com>
7756
7757 [BZ #6528]
7758 * grp/Makefile (otherlibs): Don't set it.
7759 * inet/Makefile (otherlibs): Likewise.
7760 * login/Makefile (otherlibs): Likewise.
7761 * nscd/Makefile (otherlibs): Likewise.
7762 * posix/Makefile (otherlibs): Likewise.
7763 * pwd/Makefile (otherlibs): Likewise.
7764 * rt/Makefile (otherlibs): Likewise.
7765 * sunrpc/Makefile (otherlibs): Likewise.
7766 * nss/Makefile (otherlibs): Likewise.
7767 Add libnss_files to routines and static-only-routines.
7768 ($(objpfx)getent): Remove rule.
7769 * resolv/Makefile: Add libnss_dns and libresolv to routines and
7770 static-only-routines.
7771
7c69cd14
JM
77722012-03-22 Joseph Myers <joseph@codesourcery.com>
7773
7774 [BZ #13892]
7775 * math/s_cexp.c: Include <float.h>.
7776 (__cexp): Handle exp result overflowing not necessarily
7777 overflowing both real and imaginary parts of result.
7778 * math/s_cexpf.c: Likewise.
7779 * math/s_cexpl.c: Likewise.
7780 * math/libm-test.inc (cexp_test): Add more tests.
7781 * sysdeps/i386/fpu/libm-test-ulps: Update.
7782 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7783
81b035fe
L
77842012-03-22 H.J. Lu <hongjiu.lu@intel.com>
7785
7786 * include/link.h (ELFW): New macro.
7787 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
7788 Replace ELF64_R_TYPE with ELFW(R_TYPE).
7789
1da7940c
L
77902012-03-22 H.J. Lu <hongjiu.lu@intel.com>
7791
7792 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
7793 with uint64_t.
7794
b749dbb9
L
77952012-03-22 H.J. Lu <hongjiu.lu@intel.com>
7796
7797 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
7798 declaration.
7799 (struct La_x32_retval): Likewise.
7800
2ff87f3f
L
78012012-03-22 H.J. Lu <hongjiu.lu@intel.com>
7802
7803 * sysdeps/x86_64/preconfigure.in: New file.
7804 * sysdeps/x86_64/preconfigure: New generated file.
7805
c0df8e69
JM
78062012-03-22 Joseph Myers <joseph@codesourcery.com>
7807
48e44791
JM
7808 [BZ #13824]
7809 * math/e_exp2l.c: Include <float.h>.
7810 (__ieee754_exp2l): Handle overflow and underflow cases
7811 separately. Only pass fractional part of argument to
7812 __ieee754_expl.
7813 * math/libm-test.inc (exp2_test): Add more tests.
7814
c0df8e69
JM
7815 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
7816 negating x to take absolute value.
7817 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
7818 Likewise.
7819 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
7820 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
7821 Likewise.
7822 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
7823 computing low part if x was negated.
7824 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
7825
c8e43ba7
L
78262012-03-21 H.J. Lu <hongjiu.lu@intel.com>
7827
7828 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
7829 la_x32_gnu_pltexit.
7830 (pltexit): Cast int_retval to ptrdiff_t.
7831 * elf/tst-auditmod3b.c: Likewise.
7832 * elf/tst-auditmod4b.c: Likewise.
7833 * elf/tst-auditmod5b.c: Likewise.
7834 * elf/tst-auditmod6b.c: Likewise.
7835 * elf/tst-auditmod6c.c: Likewise.
7836 * elf/tst-auditmod7b.c: Likewise.
7837
7838 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
7839 and x32_gnu_pltexit.
7840
7841 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
7842 __ELF_NATIVE_CLASS.
7843 (La_x32_regs): New macro.
7844 (La_x32_retval): Likewise.
7845 (la_x32_gnu_pltenter): New function prototype.
7846 (la_x32_gnu_pltexit): Likewise.
7847
7998fa78
AS
78482012-03-21 Andreas Schwab <schwab@linux-m68k.org>
7849
dcb33988
AS
7850 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
7851 exponent.
7852
233fc563
AS
7853 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7854
7998fa78
AS
7855 * configure.in (libc_cv_cc_nofma): Check for option to disable
7856 generation of FMA instructions.
7857 * configure: Regenerate.
7858 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
7859 * sysdeps/ieee754/dbl-64/Makefile: New file.
7860 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
7861 Remove brandred-fma4.
7862 (CFLAGS-brandred-fma4.c): Remove.
7863 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
7864 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
7865 define.
7866 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
7867 define.
7868
8e95c99a
L
78692012-03-21 H.J. Lu <hongjiu.lu@intel.com>
7870
7871 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
7872 LLONG_MAX != LONG_MAX.
7873 (_itoa_word): Use _ITOA_WORD_TYPE on value.
7874 (_fitoa_word): Likewise.
7875 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
7876 LLONG_MAX != LONG_MAX.
7877 * stdio-common/_itowa.h: Include <_itoa.h>.
7878 (_itowa_word): Use _ITOA_WORD_TYPE on value.
7879 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
7880 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
7881 only if not defined.
7882 (_ITOA_WORD_TYPE): Likewise.
7883 (_itoa_word): Use _ITOA_WORD_TYPE on value.
7884 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
7885
6f4db457
DM
78862012-03-21 David S. Miller <davem@davemloft.net>
7887
7888 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7889
7785fe5a
L
78902012-03-21 H.J. Lu <hongjiu.lu@intel.com>
7891
7892 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
7893 of x86_64 when setting libc_cv_slibdir, libdir and
7894 libc_cv_localedir.
7895 * sysdeps/unix/sysv/linux/configure: Regenerated.
7896
4535cd55
JM
78972012-03-21 Joseph Myers <joseph@codesourcery.com>
7898
7899 * manual/lang.texi (Old Varargs): Remove section.
7900 (How Variadic): Update menu.
7901 (va_start): Do not mention varargs.h.
7902
17228132
TS
79032012-03-21 Thomas Schwinge <thomas@codesourcery.com>
7904 Joseph Myers <joseph@codesourcery.com>
7905
7906 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
7907 link test.
7908 * configure: Regenerated.
7909
8149f976
TS
79102012-03-21 Thomas Schwinge <thomas@codesourcery.com>
7911
05f3d1f6
UD
7912 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
7913 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
7914 conformtest.pl
8149f976 7915
1a4ac776
JM
79162012-03-21 Joseph Myers <joseph@codesourcery.com>
7917
be22ce65
JM
7918 * NOTES: Remove.
7919 * Makefile (files-for-dist): Remove NOTES.
7920 (NOTES): Remove rule.
7921 * README: Don't refer to NOTES.
7922 * manual/creature.texi: Don't include macros.texi.
7923 * manual/intro.texi (creature.texi): Remove comment referring to
7924 NOTES.
7925
40b601fb
JM
7926 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
7927 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
7928 * configure: Regenerated.
7929 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
7930 LIBC_TRY_CC_OPTION.
7931 (libc_cv_as_i686): Likewise.
7932 (libc_cv_cc_avx): Likewise.
7933 (libc_cv_cc_sse2avx): Likewise.
7934 (libc_cv_cc_fma4): Likewise.
7935 (libc_cv_cc_novzeroupper): Likewise.
7936 * sysdeps/i386/configure: Regenerated.
7937
1a4ac776
JM
7938 [BZ #13883]
7939 * sysdeps/i386/fpu/s_cexp.S: Remove.
7940 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
7941 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
7942 * math/libm-test.inc (cexp_test): Add more tests.
7943 * sysdeps/i386/fpu/libm-test-ulps: Update.
7944 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7945
a458e7fe
AM
79462012-03-21 Allan McRae <allan@archlinux.org>
7947
7948 * timezone/Makefile: Do not install iso3166.tab and zone.tab
7949
0cb7efc5
JM
79502012-03-21 Joseph Myers <joseph@codesourcery.com>
7951
7952 [BZ #13871]
7953 * math/w_exp2.c: Do not include <float.h>.
7954 (o_threshold, u_threshold): Remove.
7955 (__exp2): Calculate result before checking finiteness and calling
7956 __kernel_standard.
7957 * math/w_exp2f.c: Likewise.
7958 * math/w_exp2l.c: Likewise.
7959 * math/libm-test.inc (exp2_test): Require overflow exception for
7960 1e6 input.
2460d3aa
JM
7961
7962 [BZ #3866]
7963 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
7964 range of signed 64-bit integers before using fistpll. Remove
7965 checks for whether integers fit in mantissa bits.
7966 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
7967 the range of signed 32-bit integers before using fistpl. Remove
7968 checks for whether integers fit in mantissa bits.
7969 * sysdeps/i386/fpu/e_powl.S (p64): New object.
7970 (__ieee754_powl): Test for y outside the range of signed 64-bit
7971 integers before using fistpll. Reduce 64-bit values to 63-bit
7972 ones as needed.
7973 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
7974 divide-by-zero is raised for zero to large negative powers.
7975 * sysdeps/x86_64/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 * math/libm-test.inc (pow_test): Add more tests.
7980
eb96ffb0
L
79812012-03-20 H.J. Lu <hongjiu.lu@intel.com>
7982
7983 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
7984 <stdio-common/_itoa.h>.
7985 * debug/segfault.c: Likewise.
7986 * elf/dl-cache.c: Likewise.
7987 * elf/dl-minimal.c: Likewise.
7988 * elf/dl-misc.c: Likewise.
7989 * elf/dl-sysdep.c: Likewise.
7990 * elf/dl-version.c: Likewise.
7991 * elf/rtld.c: Likewise.
7992 * hurd/hurdsock.c: Likewise.
7993 * hurd/lookup-retry.c: Likewise.
7994 * malloc/malloc.c: Likewise.
7995 * malloc/mtrace.c: Likewise.
7996 * nscd/nscd_getgr_r.c: Likewise.
7997 * nscd/nscd_getpw_r.c: Likewise.
7998 * nscd/nscd_getserv_r.c: Likewise.
7999 * posix/getopt_init.c: Likewise.
8000 * posix/wordexp.c: Likewise.
8001 * stdio-common/_itoa.c: Likewise.
8002 * stdio-common/printf_fphex.c: Likewise.
8003 * stdio-common/vfprintf.c: Likewise.
8004 * string/_strerror.c: Likewise.
8005 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
8006 * sysdeps/i386/i686/hp-timing.h: Likewise.
8007 * sysdeps/mach/_strerror.c: Likewise.
8008 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
8009 * sysdeps/mach/hurd/sethostid.c: Likewise.
8010 * sysdeps/mach/hurd/xmknodat.c: Likewise.
8011 * sysdeps/mach/xpg-strerror.c: Likewise.
8012 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
8013 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
8014 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
8015 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
8016 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
8017 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
8018 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
8019 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
8020 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
8021 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
8022 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
8023 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
8024 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
8025 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
8026 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
8027 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
8028 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
8029 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
8030 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
8031 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
8032 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
8033
8034 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
8035
8036 * stdio-common/_itoa.h: Moved to ...
8037 * sysdeps/generic/_itoa.h: Here.
8038
8039 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
8040
8041 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
8042 instead of "_itoa.h" and "_itowa.h".
8043 * stdio-common/vfprintf.: Likewise.
8044
d1af992d
L
80452012-03-20 H.J. Lu <hongjiu.lu@intel.com>
8046
8047 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
8048 <bits/wordsize.h>.
8049 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
8050 (__signbit): Likwise.
8051 (llrintf): Likwise.
8052 (llrint): Likwise.
8053
114883e0
L
80542012-03-20 H.J. Lu <hongjiu.lu@intel.com>
8055
8056 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
8057 __WORDSIZE != 64.
8058
c135cc1b
JM
80592012-03-20 Joseph Myers <joseph@codesourcery.com>
8060
8061 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
8062 OVERFLOW_EXCEPTION_OK.
8063 * math/libm-test.inc ("Philosophy"): Update comment about
8064 exception testing.
8065 (OVERFLOW_EXCEPTION): Define.
8066 (OVERFLOW_EXCEPTION_OK): Likewise.
8067 (INVALID_EXCEPTION_OK): Renumber.
8068 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
8069 (IGNORE_ZERO_INF_SIGN): Likewise.
8070 (test_exceptions): Handle FE_OVERFLOW.
8071 (exp10_test): Expect overflow exceptions.
8072 (exp2_test): Likewise.
8073 (expm1_test): Likewise.
8074 (nextafter_test): Likewise.
8075 (pow_test): Likewise.
8076 (scalbn_test): Likewise.
8077 (scalbln_test): Likewise.
8078
95443d88
L
80792012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8080
8081 * sysdeps/x86_64/bits/atomic.h
8082 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
8083 64bit integer.
8084 (atomic_exchange_acq): Likewise.
8085 (__arch_exchange_and_add_body): Likewise.
8086 (__arch_add_body): Likewise.
8087 (atomic_add_negative): Likewise.
8088 (atomic_add_zero): Likewise.
8089
490df6c4
L
80902012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8091
c2722551 8092 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
8093 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
8094
5e52b189
L
80952012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8096
8097 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
8098 Check __x86_64__ instead of __WORDSIZE.
8099
a9879d4c
L
81002012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8101
8102 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
8103
5df98260
DM
81042012-03-19 David S. Miller <davem@davemloft.net>
8105
e1497744
DM
8106 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8107
5df98260
DM
8108 * sysdeps/sparc/fpu/fenv_private.h: New file.
8109 * sysdeps/sparc/fpu/math_private.h: Use it.
8110 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
8111 Remove.
8112 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
8113 (libc_feholdexcept_setroundl): Remove.
8114 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
8115 Remove.
8116 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
8117 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
8118
b4c35121
L
81192012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8120
8121 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
8122 int64_t instead of long int.
8123 (INSERT_WORDS64): Likwise.
8124
56965fd7
L
81252012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8126
8127 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
8128 _Unwind_GetCFA return to _Unwind_Ptr first.
8129
83d1aec8
JM
81302012-03-19 Joseph Myers <joseph@codesourcery.com>
8131
1897ad44
JM
8132 [BZ #13629]
8133 * math/s_clog.c: Include <float.h>.
8134 (__clog): Scale large or subnormal inputs.
8135 * math/s_clogf.c: Likewise.
8136 * math/s_clogl.c: Likewise.
8137 * math/s_clog10.c: Include <float.h>.
8138 (M_LOG10_2): Define.
8139 (__clog10): Scale large or subnormal inputs.
8140 * math/s_clog10f.c: Likewise.
8141 * math/s_clog10l.c: Likewise.
8142 * math/libm-test.inc (clog_test): Add more tests.
8143 (clog10_test): Likewise.
8144 * sysdeps/i386/fpu/libm-test-ulps: Update.
8145 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8146
7726d6a9
JM
8147 [BZ #11451]
8148 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
8149 x and y.
8150 * math/libm-test.inc (atan2_test): Add another test.
8151
83d1aec8
JM
8152 * Makerules (common-objdir-compile): Remove.
8153 * sysdeps/unix/Makefile (config-generated): Do not add
8154 $(unix-generated) to variable.
8155 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
8156 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
8157 Remove rule.
8158 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
8159 Likewise.
8160 [generic bits/local_lim.h] (before-compile): Do not append to
8161 variable.
8162 [generic bits/local_lim.h] (common-generated): Likewise.
8163 [generic sys/param.h] (before-compile): Do not append to variable.
8164 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
8165 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
8166 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
8167 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
8168 include.
8169 [generic sys/param.h] (sys/param.h-includes): Remove variable.
8170 [generic sys/param.h] (sys/param.h-includes): Remove rule.
8171 [generic sys/param.h] ($(addprefix
8172 $(common-objpfx),$(sys/param.h-includes))): Likewise.
8173 [generic sys/param.h] (common-generated): Do not append to
8174 variable.
8175 [generic sys/param.h] (sysdep_headers): Likewise.
8176 [generic bits/errno.h] (before-compile): Do not append to
8177 variable.
8178 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
8179 rule.
8180 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
8181 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
8182 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
8183 [generic bits/errno.h] (common-generated): Do not append to
8184 variable.
8185 [generic bits/ioctls.h] (before-compile): Do not append to
8186 variable.
8187 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
8188 rule.
8189 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
8190 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
8191 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
8192 rule.
8193 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
8194 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
8195 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
8196 [generic bits/ioctls.h] (common-generated): Do not append to
8197 variable.
8198 [generic sys/syscall.h] (syscall.h): Remove variable.
8199 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
8200 rule.
8201 [generic sys/syscall.h] (before-compile): Do not append to
8202 variable.
8203 [generic sys/syscall.h] (common-generated): Likewise.
8204 * sysdeps/unix/errnos-tmpl.c: Remove file.
8205 * sysdeps/unix/errnos.awk: Likewise.
8206 * sysdeps/unix/ioctls-tmpl.c: Likewise.
8207 * sysdeps/unix/ioctls.awk: Likewise.
8208 * sysdeps/unix/mk-local_lim.c: Likewise.
8209 * sysdeps/unix/snarf-ioctls: Likewise.
8210
4851a949
RH
82112012-03-19 Richard Henderson <rth@twiddle.net>
8212
bd37f2ee
RH
8213 * sysdeps/i386/fpu/fenv_private.h: New file.
8214 * sysdeps/i386/fpu/math_private.h: Use it.
8215 (math_opt_barrier, math_force_eval): Remove.
8216 (libc_feholdexcept_setround_53bit): Remove.
8217 (libc_feupdateenv_53bit): Remove.
8218 * sysdeps/x86_64/fpu/math_private.h: Likewise.
8219 (math_opt_barrier, math_force_eval): Remove.
8220 (libc_feholdexcept): Remove.
8221 (libc_feholdexcept_setround): Remove.
8222 (libc_fetestexcept, libc_fesetenv): Remove.
8223 (libc_feupdateenv_test): Remove.
8224 (libc_feupdateenv, libc_feholdsetround): Remove.
8225 (libc_feresetround): Remove.
8226
d0adc922
RH
8227 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
8228 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
8229
0fe0f1f8
RH
8230 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
8231 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
8232 (libc_feupdateenv_testl): New.
8233 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
8234 (libc_feupdateenv_testf): New.
8235 (libc_feupdateenv): Use libc_feupdateenv_test.
8236 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
8237 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
8238
eb92c487
RH
8239 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
8240 (libc_feholdsetroundf, libc_feholdsetroundl): New.
8241 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
8242 (libc_feresetround_noex): New.
8243 (libc_feresetround_noexf): New.
8244 (libc_feresetround_noexl): New.
8245 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
8246 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
8247 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
8248 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
8249 SET_RESTORE_ROUND.
8250 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
8251 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
8252 (__cos): Likewise.
8253 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
8254 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
8255 SET_RESTORE_ROUND_NOEX.
8256 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
8257 SET_RESTORE_ROUND_NOEXF.
8258 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
8259 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
8260 (libc_feholdsetroundf): New.
8261 (libc_feresetround, libc_feresetroundf): New.
8262
7d2e8012
RH
8263 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
8264 (libc_feholdexcept_setround_53bit): Convert from macro to function.
8265 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
8266
b4dabbb4
RH
8267 * sysdeps/generic/math_private.h: Include <fenv.h>.
8268 (default_libc_feholdexcept): New.
8269 (default_libc_feholdexcept_setround): New.
8270 (default_libc_fesetenv, default_libc_feupdateenv): New.
8271 (libc_feholdexcept): Only define if undefined.
8272 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
8273 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
8274 (libc_feholdexcept_setroundl): Likewise.
8275 (libc_feholdexcept_setround_53bit): Likewise.
8276 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
8277 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
8278 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
8279 (libc_feupdateenv_53bit): Likewise.
8280 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
8281 (libc_feholdexcept): Convert from macro to inline function.
8282 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
8283 (libc_fesetenv, libc_feupdateenv): Likewise.
8284
4851a949
RH
8285 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
8286 not previously defined.
8287 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
8288 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
8289 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
8290 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
8291 * sysdeps/ieee754/flt-32/math_private.h: New file.
8292 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
8293 math_private.h below SET_FLOAT_WORD.
8294 (__isnan, __isinf_ns, __finite): Remove.
8295 (__isnanf, __isinf_nsf, __finitef): Remove.
8296
e79d442e
AS
82972012-03-18 Andreas Schwab <schwab@linux-m68k.org>
8298
8299 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8300
90b80344
DM
83012012-03-17 David S. Miller <davem@davemloft.net>
8302
8303 [BZ #6471]
8304 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
8305 for 2.16.
8306
edc21804
DM
83072012-03-16 David S. Miller <davem@davemloft.net>
8308
77e927af
DM
8309 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
8310 warnings.
8311
374976dd
DM
8312 [BZ #6471]
8313 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
8314 properly.
8315 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
8316 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
8317 sysdep_routines when subdir is sysvipc.
8318 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
8319 __getshmlba helper.
8320
edc21804
DM
8321 * sysdeps/sparc/fpu/libm-test/ulps: Update.
8322
473c3ef3
L
83232012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8324
8325 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
8326 [__LP64__].
8327
eb0f39b6
L
83282012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8329
8330 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
8331 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
8332 (__lround): Renamed to ...
8333 (__llround): This. Replace long int with long long int.
8334 Define lround functions as aliases of llround functions.
8335 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
8336
6b6cd74b
L
83372012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8338
8339 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
8340 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
8341 adresses to uintptr_t. Replace "long int" and "unsigned long
8342 int" with "greg_t" on va_arg.
8343
f1a77b01
L
83442012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8345
8346 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
8347 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
8348
8349 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
8350 Move e_machine check before EI_CLASS check. Handle x32
8351 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
8352 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
8353 SKIP_EM_IA_64 and include
8354 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
8355
8356 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
8357 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
8358 (add_system_dir): New macro.
8359
8360 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
8361 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
8362
11b90b9f
JM
83632012-03-16 Joseph Myers <joseph@codesourcery.com>
8364
c36e1d23
JM
8365 [BZ #2551]
8366 [BZ #2552]
8367 [BZ #2553]
8368 [BZ #2554]
8369 [BZ #2562]
8370 [BZ #2563]
8371 [BZ #2565]
8372 [BZ #2566]
8373 [BZ #2576]
8374 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
8375 (y0): Likewise.
8376 * math/w_j0f.c (j0f): Likewise.
8377 (y0f): Likewise.
8378 * math/w_j0l.c (__j0l): Likewise.
8379 (__y0l): Likewise.
8380 * math/w_j1.c (j1): Likewise.
8381 (y1): Likewise.
8382 * math/w_j1f.c (j1f): Likewise.
8383 (y1f): Likewise.
8384 * math/w_j1l.c (__j1l): Likewise.
8385 (__y1l): Likewise.
8386 * math/w_jn.c (jn): Likewise.
8387 (yn): Likewise.
8388 * math/w_jnf.c (jnf): Likewise.
8389 (ynf): Likewise.
8390 * math/w_jnl.c (__jnl): Likewise.
8391 (__ynl): Likewise.
8392 * math/libm-test.inc (j0_test): Add more tests.
8393 (j1_test): Likewise.
8394 (jn_test): Likewise. Add trailing semicolon to existing test.
8395 (y0_test): Likewise.
8396 (y1_test): Likewise.
8397 * sysdeps/i386/fpu/libm-test-ulps: Update.
8398 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8399
11b90b9f
JM
8400 [BZ #13851]
8401 [BZ #13854]
8402 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
8403 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
8404 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
8405 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
8406 (__tanl): Set errno for infinite argument.
8407 * sysdeps/i386/fpu/mptan.c: Remove.
8408 * sysdeps/i386/fpu/s_tan.S: Likewise.
8409 * sysdeps/i386/fpu/s_tanl.S: Likewise.
8410 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
8411 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
8412 * math/libm-test.inc (tan_test): Add more tests and enable more
8413 tests for double and long double.
8414 * sysdeps/i386/fpu/libm-test-ulps: Update.
8415 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8416
6a1bd2a1
JK
84172012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
8418
8419 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
8420 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
8421
10a803e0
RM
84222012-03-16 Roland McGrath <roland@hack.frob.com>
8423
8424 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
8425 * configure.in: Use it for both main tree and add-ons.
8426 * configure: Regenerated.
8427
f196c7f7
L
84282012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8429
8430 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
8431
8848d99d
JM
84322012-03-16 Joseph Myers <joseph@codesourcery.com>
8433
96cbe7f4
JM
8434 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
8435 in comment.
8436
8848d99d
JM
8437 [BZ #13851]
8438 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
8439 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
8440 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
8441 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
8442 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
8443 infinite argument.
8444 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
8445 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
8446 != 0 for prec == 2.
8447 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
8448 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
8449 * sysdeps/i386/fpu/s_cosl.S: Likewise.
8450 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
8451 * sysdeps/i386/fpu/s_sinl.S: Likewise.
8452 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
8453 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
8454 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
8455 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
8456 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
8457 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
8458 * math/libm-test.inc (cos_test): Add more tests and enable more
8459 tests for long double.
8460 (sin_test): Likewise.
8461 (sincos_test): Likewise.
8462 * sysdeps/i386/fpu/libm-test-ulps: Update.
8463 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8464
dd7f4703
DM
84652012-03-16 David S. Miller <davem@davemloft.net>
8466
8467 * sysdeps/sparc/fpu/math_private.h: New file.
8468
006f1daa
DM
84692012-03-15 David S. Miller <davem@davemloft.net>
8470
c0c83bc8
DM
8471 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
8472 file.
e6a62e18 8473 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
8474 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
8475 file.
e6a62e18
DM
8476 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
8477 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
8478 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
8479 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
8480 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
8481 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
8482 sysdep routines.
8483 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
8484
88cb87d9
DM
8485 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
8486 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
8487
006f1daa 8488 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
8489 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
8490 sparc-ifunc.h
006f1daa 8491 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
8492 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
8493 Likewise.
8494 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
8495 Likewise.
006f1daa
DM
8496 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
8497 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
8498 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
8499 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
8500 Likewise.
006f1daa
DM
8501 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
8502 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
8503 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
8504 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
8505 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
8506 Likewise.
8507 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
8508 Likewise.
006f1daa
DM
8509 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
8510 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
8511 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
8512 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
8513 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
8514 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
8515 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
8516 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
8517 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
8518 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
8519 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
8520 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
8521 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
8522 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
8523 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
8524 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
8525 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
8526 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
8527 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
8528 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
8529 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
8530 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
8531 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
8532 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
8533
11e0098e
AS
85342012-03-15 Andreas Schwab <schwab@linux-m68k.org>
8535
8536 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
8537 scaling.
8538 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8539
e85b09d0
AJ
85402012-03-15 Andreas Jaeger <aj@suse.de>
8541
8542 [BZ #13852]
8543 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
8544 ieee754/flt-32 implementation for sin, cos and sincos.
8545 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
8546 * sysdeps/i386/fpu/s_cosf.S: Likewise.
8547 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
8548 * sysdeps/i386/fpu/s_sinf.S: Likewise.
8549 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
8550 ieee754/flt-32 implementation for tan.
8551
8552 * math/libm-test.inc (cos_test): Enable some large input tests for
8553 float as well
8554 (sin_test): Likewise.
8555 (sincos_test): Likewise.
8556 (tan_test): Add tests for large input.
8557
8558 * sysdeps/i386/fpu/libm-test-ulps: Update.
8559
81c64153
AJ
85602012-03-15 Andreas Jaeger <aj@suse.de>
8561
8562 [BZ #13658]
8563 * math/libm-test.inc (cos_test): Add more test cases.
8564 (sin_test): Likewise.
8565 (sincos_test): Likewise.
8566
7bbfa5c6
AJ
85672012-03-15 Andreas Jaeger <aj@suse.de>
8568
8569 [BZ #13837]
8570 * math/libm-test.inc (cos_test): Add a test case for large input
8571 value.
8572 (sin_test): Likewise.
8573 (sincos_test): Likewise.
8574
85752012-03-15 Andreas Jaeger <aj@suse.de>,
8576 Joseph Myers <joseph@codesourcery.com>
8577
8578 [BZ #13658]
0671f479 8579 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
8580 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
8581 * sysdeps/i386/fpu/branred.c: Likewise.
8582 * sysdeps/i386/fpu/dosincos.c: Likewise.
8583 * sysdeps/i386/fpu/mpa.c: Likewise.
8584 * sysdeps/i386/fpu/s_cos.S: Likewise.
8585 * sysdeps/i386/fpu/s_sin.S: Likewise.
8586 * sysdeps/i386/fpu/s_sincos.S: Likewise.
8587 * sysdeps/i386/fpu/sincos32.c: Likewise.
8588
8589 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
8590 Define.
8591 (libc_feupdateenv_53bit): Define.
8592 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
8593 Define.
8594 (libc_feupdateenv_53bit): Define.
8595
8596 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
8597 53 bit (without extend i386 double precision).
8598
8599 * math/libm-test.inc (sincos_test): Add tests for large input.
8600 (sin): Likewise.
8601 (cos): Likewise.
8602
8603 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
8604
9cad04ea
AS
86052012-03-15 Andreas Schwab <schwab@linux-m68k.org>
8606
8607 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8608
f7062b9a
DM
86092012-03-15 David S. Miller <davem@davemloft.net>
8610
8611 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
8612 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
8613 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
8614 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
8615 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
8616 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
8617 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
8618 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
8619 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
8620 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
8621 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
8622 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
8623 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
8624 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
8625 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
8626 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
8627 file.
f7062b9a 8628 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
8629 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
8630 file.
f7062b9a 8631 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
8632 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
8633 file.
f7062b9a 8634 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
8635 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
8636 file.
f7062b9a
DM
8637 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
8638 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
8639 fmin/fmax sysdep routines.
8640 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
8641
7bd951ff
DM
86422012-03-14 David S. Miller <davem@davemloft.net>
8643
559398ab
DM
8644 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
8645 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
8646 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
8647 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
8648 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
8649 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
8650 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
8651 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
8652 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
8653 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
8654 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
8655 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
8656 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
8657 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
8658 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
8659 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
8660 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
8661 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
8662 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
8663 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
8664 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
8665 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
8666 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
8667 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
8668 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
8669 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
8670 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
8671 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
8672 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
8673 routines.
8674 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
8675 file.
559398ab 8676 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
8677 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
8678 file.
559398ab 8679 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
8680 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
8681 file.
559398ab 8682 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
8683 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
8684 file.
559398ab 8685 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
8686 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
8687 file.
559398ab 8688 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
8689 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
8690 file.
8691 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
8692 file.
8693 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
8694 file.
8695 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
8696 file.
8697 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
8698 New file.
8699 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
8700 file.
8701 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
8702 file.
559398ab 8703 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
8704 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
8705 file.
559398ab 8706 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
8707 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
8708 file.
559398ab 8709 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
8710 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
8711 file.
559398ab 8712 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
8713 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
8714 VIS3 routines.
559398ab
DM
8715
8716 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
8717 New file.
8718
5a1c1e32
DM
8719 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8720
eae47a36
DM
8721 * sysdeps/sparc/configure.in: New file.
8722 * sysdeps/sparc/configure: Generate.
8723 * configure.in (libc_cv_sparc_as_vis3): Substitute.
8724 * configure: Regenerate.
8725 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
8726 * config.make.in (have-as-vis3): New.
8727 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
8728 available use -Av9d instead of -Av9a.
8729 * sysdeps/sparc/sparc64/Makefile: Likewise.
8730 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
8731 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
8732 New file.
8733 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
8734 file.
8735 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
8736 New file.
8737 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
8738 file.
eae47a36
DM
8739 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
8740 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
8741 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
8742 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
8743 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
8744
c0c83bc8
DM
8745 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
8746 fzeros/fnegs to load 0x80000000 into a float register instead of
8747 using the stack.
7bd951ff
DM
8748 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
8749
bd951ccb
JM
87502012-03-14 Joseph Myers <joseph@codesourcery.com>
8751
8752 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8753 bits/syscall.h.
8754 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
8755 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
8756 ($(inst_includedir)/bits/syscall.h): Remove rule.
8757 ($(objpfx)bits/syscall.d): Include instead of
8758 $(objpfx)syscall-list.d.
8759 (generated): Change syscall-list.h and syscall-list.d to
8760 bits/syscall.h and bits/syscall.d.
8761
bb4e6db2
RM
87622012-03-14 Roland McGrath <roland@hack.frob.com>
8763
8764 [BZ #13846]
8765 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
8766
aa4a2ae1
JM
87672012-03-14 Joseph Myers <joseph@codesourcery.com>
8768
e456826d
JM
8769 [BZ #13841]
8770 * math/s_csqrt.c: Include <float.h>.
8771 (__csqrt): Scale large or subnormal inputs.
8772 * math/s_csqrtf.c: Likewise.
8773 * math/s_csqrtl.c: Likewise.
8774 * math/libm-test.inc (csqrt_test): Add more tests.
8775 * sysdeps/i386/fpu/libm-test-ulps: Update.
8776 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8777
aa4a2ae1
JM
8778 [BZ #13840]
8779 * math/libm-test.inc (hypot_test): Add more tests.
8780
7c10fd35
DM
87812012-03-13 David S. Miller <davem@davemloft.net>
8782
8783 [BZ #13840]
8784 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
8785 double-precision for the calculation instead of scaling.
8786
f453b98b
JM
87872012-03-13 Joseph Myers <joseph@codesourcery.com>
8788
8789 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
8790 manipulate bits before adding and subtracting TWO52[sx].
8791 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
8792 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
8793 Likewise.
8794 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
8795
09a3453f
DM
87962012-03-13 David S. Miller <davem@davemloft.net>
8797
8e59da90
DM
8798 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
8799 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
8800 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
8801 rtld-global-offsets.h
8802 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
8803
2a8ab7f2
DM
8804 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
8805 large parameters.
8806
10f62770
DM
8807 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
8808
5f0bdb18
DM
8809 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
8810 'err' in the ifdef scope in which it is actually used.
8811
09a3453f
DM
8812 * nss/nss_db/db-init.c: Include string.h
8813
b4b2eb5e
DM
88142012-03-12 David S. Miller <davem@davemloft.net>
8815
98bb2f1c
DM
8816 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
8817 masking out of the most significant byte of random value used.
8818 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8819 Fix coding style in previous change.
8820
b4b2eb5e
DM
8821 * sysdeps/unix/sysv/linux/kernel-features.h
8822 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
8823 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
8824 expression.
8825 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
8826 later.
8827
6e226b09
DM
88282012-03-11 David S. Miller <davem@davemloft.net>
8829
a1bcbd40
DM
8830 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
8831 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
8832 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
8833 for 'resultvar' otherwise things get truncated on 64-bit.
8834
cb9d6174
DM
8835 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8836 Fix masking out of the most significant byte of random value used.
8837
6e226b09
DM
8838 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8839
058c132d
AS
88402012-03-10 Andreas Schwab <schwab@linux-m68k.org>
8841
8842 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8843
2d2cd515
DM
88442012-03-09 David S. Miller <davem@davemloft.net>
8845
8846 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
8847 variables with appropriate CPP guards.
8848 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
8849 frame pointer, not the stack pointer. Correct layout comments. Fix test
8850 on resulting framesize and the management of the outregs buffer for pltexit.
8851 Preserve floating point return values across _dl_call_pltexit call.
8852 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
8853 framesize and the management of the outregs buffer for pltexit.
8854 Preserve floating point return values across _dl_call_pltexit
8855 call.
8856 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
8857 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
8858 (print_exit): Fix format string for return register value.
8859
9a07f9d0
JM
88602012-03-10 Joseph Myers <joseph@codesourcery.com>
8861
8862 * sunrpc/Makefile (others): Add rpcgen.
8863 ($(objpfx)rpcgen): Remove special build rule and dependency on
8864 libc.
8865 * sunrpc/rpcgen.c: New file.
8866
547b5e30
PE
88672012-03-09 Paul Eggert <eggert@cs.ucla.edu>
8868
c524201a
PE
8869 [BZ #13673]
8870 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
8871 * stdio-common/bug-vfprintf-nargs.c: Likewise.
8872 * sysdeps/i386/crti.S: Likewise.
8873 * sysdeps/i386/crtn.S: Likewise.
8874 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
8875 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
8876 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
8877 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
8878 * sysdeps/sh/crti.S: Likewise.
8879 * sysdeps/sh/crtn.S: Likewise.
8880 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
8881
7b6235f2
PE
8882 [BZ #13673]
8883 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
8884 with URL.
8885 * locale/programs/locfile-kw.gperf: Likewise.
8886 * locale/programs/charmap-kw.h: Regenerated.
8887 * locale/programs/locfile-kw.h: Likewise.
8888
547b5e30
PE
8889 [BZ #13673]
8890 * intl/plural.y: Replace FSF snail mail address with URL.
8891 * intl/plural.c: Regenerated.
8892
5f0a5dae
RH
88932012-03-09 Richard Henderson <rth@twiddle.net>
8894
8895 * include/math_private.h: Remove file.
8896 * math/math_private.h: Move file ...
8897 * sysdeps/generic/math_private.h: ... here.
8898
b8c03620
RH
8899 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
8900 * sysdeps/powerpc/fpu/math_private.h: Likewise.
8901 * sysdeps/x86_64/fpu/math_private.h: Likewise.
8902
4e234f5d 8903 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
8904 and <math_private.h>.
8905 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
8906 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
8907 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
8908 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
8909 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
8910 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
8911 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
8912 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8913 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
8914 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8915 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8916 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
8917 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
8918 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8919 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
8920 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
8921 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8922 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
8923 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8924 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
8925 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8926 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
8927 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
8928 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8929 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
8930 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8931 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
8932 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8933 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8934 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8935 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
8936 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8937 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
8938 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
8939 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
8940 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
8941 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
8942 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
8943 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
8944 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8945 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
8946 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
8947 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
8948 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
8949 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
8950 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
8951 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
8952 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
8953 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
8954 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
8955 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
8956 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
8957 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
8958 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
8959 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
8960 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
8961 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
8962 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
8963 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
8964 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
8965 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8966 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
8967 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8968 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
8969 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
8970 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
8971 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
8972 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
8973 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
8974 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
8975 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
8976 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
8977 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
8978 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8979 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
8980 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
8981 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
8982 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
8983 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
8984 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
8985 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
8986 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
8987 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
8988 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
8989 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
8990 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
8991 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
8992 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
8993 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
8994 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
8995 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
8996 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
8997 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8998 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
8999 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
9000 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
9001 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
9002 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
9003 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
9004 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
9005 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
9006 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
9007 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
9008 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
9009 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
9010 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
9011 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
9012 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
9013 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
9014 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
9015 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
9016 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
9017 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
9018 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
9019 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
9020 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
9021 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
9022 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
9023 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
9024 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
9025 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
9026 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
9027 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
9028 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
9029 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
9030 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
9031 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
9032 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
9033 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
9034 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
9035 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
9036 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
9037 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
9038 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
9039 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
9040 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
9041 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
9042 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
9043 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
9044 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
9045 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
9046 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
9047 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
9048 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
9049 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
9050 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
9051 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
9052 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
9053 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
9054 * sysdeps/ieee754/k_standard.c: Likewise.
9055 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
9056 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
9057 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
9058 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
9059 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
9060 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
9061 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
9062 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
9063 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
9064 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
9065 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9066 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
9067 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
9068 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
9069 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
9070 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
9071 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
9072 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
9073 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
9074 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
9075 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
9076 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
9077 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
9078 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
9079 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
9080 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
9081 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
9082 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
9083 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
9084 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
9085 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
9086 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
9087 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
9088 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
9089 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
9090 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
9091 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
9092 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
9093 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
9094 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
9095 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
9096 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
9097 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
9098 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
9099 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
9100 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
9101 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
9102 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
9103 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
9104 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
9105 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
9106 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
9107 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
9108 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
9109 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
9110 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
9111 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
9112 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
9113 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
9114 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
9115 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
9116 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
9117 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
9118 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
9119 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
9120 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
9121 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
9122 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
9123 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
9124 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
9125 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
9126 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
9127 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
9128 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
9129 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
9130 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
9131 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
9132 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
9133 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
9134 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
9135 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
9136 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
9137 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
9138 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
9139 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
9140 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
9141 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
9142 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
9143 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
9144 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
9145 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
9146 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
9147 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
9148 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
9149 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
9150 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
9151 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
9152 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
9153 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
9154 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
9155 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
9156 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
9157 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
9158 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
9159 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
9160 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
9161 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
9162 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
9163 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
9164 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
9165 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
9166 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
9167 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
9168 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
9169 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
9170 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
9171 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
9172 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
9173 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
9174 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
9175 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9176 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
9177 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
9178 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
9179 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
9180 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
9181 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
9182 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
9183 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
9184 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
9185 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
9186 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
9187 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
9188 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
9189 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
9190 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
9191 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
9192 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
9193 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
9194 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
9195 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
9196 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
9197 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
9198 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
9199 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
9200 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
9201 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
9202 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
9203 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
9204 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
9205 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
9206 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
9207 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
9208 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
9209 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
9210 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
9211 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
9212 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
9213 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
9214 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
9215 * sysdeps/ieee754/s_lib_version.c: Likewise.
9216 * sysdeps/ieee754/s_matherr.c: Likewise.
9217 * sysdeps/ieee754/s_signgam.c: Likewise.
9218 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
9219 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9220 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
9221 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
9222 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
9223 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
9224 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
9225 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
9226 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
9227 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
9228 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
9229 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
9230 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
9231 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
9232 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
9233 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
9234 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
9235 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
9236 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
9237 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
9238 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 9239
1991fa03
JM
92402012-03-09 Joseph Myers <joseph@codesourcery.com>
9241
9242 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
9243 * sunrpc/rpc_main.c: Likewise.
9244 * sunrpc/rpc_svcout.c: Likewise.
9245
60d6f5a6
DM
92462012-03-09 David S. Miller <davem@davemloft.net>
9247
9248 * include/math_private.h: New file.
9249
4962050e
JM
92502012-03-09 Joseph Myers <joseph@codesourcery.com>
9251
02a6f887
JM
9252 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
9253 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
9254 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
9255 from <bits/socket_type.h>.
9256 (enum __socket_type): Don't define here.
9257 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
9258 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9259 bits/socket_type.h.
9260
c6e013c1
JM
9261 [BZ #13566]
9262 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
9263 checking __USE_GNU.
9264
4962050e
JM
9265 * Makerules ($(inst_includedir)/%.h): New rule.
9266 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
9267 (install-others): Remove variable setting.
9268 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
9269
38842f45
RH
92702012-03-08 Richard Henderson <rth@twiddle.net>
9271
67bb6da6
RH
9272 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
9273 from macro to inline function; merge with the
9274 !__LIBC_INTERNAL_MATH_INLINES version.
9275 (__ieee754_sqrtf): Likewise.
9276
15194b4b
RH
9277 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
9278 to inline function.
9279 (__rintf, __floor, __floorf): Likewise.
9280
64e21ede
RH
9281 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
9282 macro to inline function.
9283 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
9284
38842f45
RH
9285 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
9286 not <math/math_private.h>.
9287
c64bf5fe
DM
92882012-03-08 David S. Miller <davem@davemloft.net>
9289
9290 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
9291 copyright year.
9292 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
9293
82d86f28
TS
92942012-03-08 Thomas Schwinge <thomas@codesourcery.com>
9295
9296 * resolv/gai_misc.c (handle_requests): Fix struct timespec
9297 normalization.
9298 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
9299 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
9300
aea5d727
UD
93012012-03-08 Ulrich Drepper <drepper@gmail.com>
9302
9303 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
9304 be defined individually, they must be defined as a block. Define
9305 S for printing a string instead of hidint the different by using a
9306 macro for adding the 'l'.
9307 * stdio-common/tst-fphex-wide.c: Adjust.
9308
70bca0a3
MP
93092012-03-07 Marek Polacek <polacek@redhat.com>
9310
9311 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
9312
65b81130
MP
93132012-03-08 Marek Polacek <polacek@redhat.com>
9314
9315 [BZ #13806]
9316 * stdio-common/Makefile (tests): Add tst-fphex-wide.
9317 * stdio-common/tst-fphex.c: Define a few macros to make the
9318 test reusable. Use them.
9319 * stdio-common/tst-fphex-wide.c: New file.
9320
07037eeb
JM
93212012-03-08 Joseph Myers <joseph@codesourcery.com>
9322
a7a93d50
JM
9323 [BZ #6911]
9324 * manual/macros.texi (gnusystems): New macro.
9325 (nongnusystems): Likewise.
9326 (gnulinuxhurdsystems): Likewise.
9327 (gnuhurdsystems): Likewise..
9328 (gnulinuxsystems): Likewise.
9329 * manual/charset.texi: Use new macros or @theglibc{} to refer to
9330 variants of the GNU system, not "GNU system".
9331 * manual/conf.texi: Likewise.
9332 * manual/errno.texi: Likewise. Update example of errno macro
9333 expansion.
9334 * manual/filesys.texi: Likewise.
9335 (getumask): Document as specific to GNU/Hurd.
9336 * manual/install.texi: Likewise. Reword some references to
9337 GNU/Linux.
9338 * manual/intro.texi: Likewise.
9339 * manual/io.texi: Likewise.
9340 (File Name Portability): Detail which constraints are inapplicable
9341 to all GNU systems and which are only inapplicable to GNU/Hurd.
9342 * manual/job.texi: Likewise.
9343 * manual/llio.texi: Likewise.
9344 (O_NOCTTY): Document as present on GNU/Linux.
9345 * manual/maint.texi: Likewise.
9346 * manual/memory.texi: Likewise.
9347 * manual/pattern.texi: Likewise.
9348 * manual/pipe.texi: Likewise.
9349 * manual/process.texi: Likewise.
9350 * manual/resource.texi: Likewise.
9351 (RUSAGE_CHILDREN): Remove statement about specifying a particular
9352 child on GNU/Hurd.
9353 * manual/setjmp.texi: Likewise.
9354 * manual/signal.texi: Likewise.
9355 * manual/startup.texi: Likewise.
9356 * manual/stdio.texi: Likewise.
9357 * manual/terminal.texi: Likewise.
9358 (ONLCR): Document as POSIX.
9359 (OXTABS): Document availability on GNU/Linux as XTABS.
9360 (ONOEOT): Document availability separately from other bits.
9361 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
9362 * manual/time.texi: Likewise.
9363 * manual/users.texi: Likewise.
9364 * INSTALL: Regenerated.
9365 * sysdeps/gnu/errlist.c: Regenerated.
9366
07037eeb
JM
9367 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
9368 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
9369 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
9370 puts.
9371 * configure: Regenerated.
9372
d1d3431a
JM
93732012-03-07 Joseph Myers <joseph@codesourcery.com>
9374
af6a1e37
JM
9375 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
9376 default includes instead of AC_HEADER_CHECK.
9377 * sysdeps/i386/configure: Regenerated.
9378
d1d3431a
JM
9379 [BZ #10716]
9380 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
9381 * math/s_cacoshf.c (__cacoshf): Likewise.
9382 * math/s_cacoshl.c (__cacoshl): Likewise.
9383 * math/s_casinh.c (__casinh): Set signs of result from argument.
9384 * math/s_casinhf.c (__casinhf): Likewise.
9385 * math/s_casinhl.c (__casinhl): Likewise.
9386 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
9387 (casinh_test): Add more tests.
9388 * sysdeps/i386/fpu/libm-test-ulps: Update.
9389 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9390
482ff4da
UD
93912012-03-07 Ulrich Drepper <drepper@gmail.com>
9392
872fda05
UD
9393 * po/zh_TW.po: Update from translation team.
9394
a4300c7a
UD
9395 * login/Makefile (distribute): Remove variable.
9396 * catgets/Makefile: Likewise.
9397 * mach/Makefile: Likewise.
9398 * malloc/Makefile: Likewise.
9399 * misc/Makefile: Likewise.
9400 * iconv/Makefile: Likewise.
9401 * nscd/Makefile: Likewise.
9402 * hurd/Makefile: Likewise.
9403 * manual/Makefile: Likewise.
9404 * locale/Makefile: Likewise.
9405 * intl/Makefile: Likewise.
9406 * conform/Makefile: Likewise.
9407 * nss/Makefile: Likewise.
9408 * time/Makefile: Likewise.
9409 * soft-fp/Makefile: Likewise.
9410 * dirent/Makefile: Likewise.
9411 * gmon/Makefile: Likewise.
9412 * po/Makefile: Likewise.
9413 * rt/Makefile: Likewise.
9414 * socket/Makefile: Likewise.
9415 * math/Makefile: Likewise.
9416 * signal/Makefile: Likewise.
9417 * debug/Makefile: Likewise.
9418 * elf/Makefile: Likewise.
9419 * timezone/Makefile: Likewise.
9420 * stdlib/Makefile: Likewise.
9421 * iconvdata/Makefile: Likewise.
9422 * sunrpc/Makefile: Likewise.
9423 * io/Makefile: Likewise.
9424 * argp/Makefile: Likewise.
9425 * inet/Makefile: Likewise.
9426 * hesiod/Makefile: Likewise.
9427 * grp/Makefile: Likewise.
9428 * csu/Makefile: Likewise.
9429 * wctype/Makefile: Likewise.
9430 * crypt/Makefile: Likewise.
9431 * libio/Makefile: Likewise.
9432 * string/Makefile: Likewise.
9433 * nis/Makefile: Likewise.
9434 * resolv/Makefile: Likewise.
9435 * stdio-common/Makefile: Likewise.
9436 * wcsmbs/Makefile: Likewise.
9437 * dlfcn/Makefile: Likewise.
9438 * posix/Makefile: Likewise.
9439
3b7c4e74 9440 [BZ #6959]
482ff4da
UD
9441 * timezone/Makefile: Don't install timezone files, just the programs
9442 and scripts.
9443
f72ed77d
UD
94442012-03-06 Ulrich Drepper <drepper@gmail.com>
9445
a000466f
UD
9446 * nss/databases.def: Add missing gshadow entry.
9447
f72ed77d
UD
9448 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
9449
a53b7a4e
MP
94502012-03-06 Marek Polacek <polacek@redhat.com>
9451
9452 [BZ #13726]
9453 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
9454 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
9455 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
9456 * stdio-common/tst-long-dbl-fphex.c: New file.
9457
e9258400
DM
94582012-03-06 David S. Miller <davem@davemloft.net>
9459
9460 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
9461 (set_obp_int): New function.
9462 (get_obp_int): New function.
9463 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
9464 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
9465 Avoid unused variable warnings on 'val' and use builtin_expect.
9466 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
9467 __builtin_expect.
e9258400
DM
9468 (INLINE_CLONE_SYSCALL): Likewise.
9469
3bd2c723
DM
94702012-03-05 David S. Miller <davem@davemloft.net>
9471
9472 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9473
bbb78d03
AS
94742012-03-05 Andreas Schwab <schwab@linux-m68k.org>
9475
884c5db4
AS
9476 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9477
bbb78d03
AS
9478 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
9479 only for |x| >= 40.
9480 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
9481
1c9f702a 94822012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
9483
9484 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
9485 Replace gettimeofday with __vdso_gettimeofday.
9486
7be16f82
RM
9487 * sysdeps/unix/sysv/linux/x86_64/init-first.c
9488 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
9489 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
9490
9491 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
9492 time with __vdso_time.
9493
ed58a00f
JM
94942012-03-05 Joseph Myers <joseph@codesourcery.com>
9495
9496 * manual/lang.texi (size_t): Note types to which size_t may be
9497 equivalent with the GNU C Library, but do not describe when
9498 differences between them are significant.
9499
30ee4ced
AJ
95002012-03-05 Andreas Jaeger <aj@suse.de>
9501
9502 * sysdeps/i386/fpu/libm-test-ulps: Update.
9503
b7cd39e8
JM
95042012-03-05 Joseph Myers <joseph@codesourcery.com>
9505
9506 [BZ #3976]
9507 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
9508 (__ieee754_pow): Save and restore rounding mode and use
9509 round-to-nearest for main computations.
9510 * math/libm-test.inc (pow_test_tonearest): New function.
9511 (pow_test_towardzero): Likewise.
9512 (pow_test_downward): Likewise.
9513 (pow_test_upward): Likewise.
9514 (main): Call the new functions.
9515 * sysdeps/i386/fpu/libm-test-ulps: Update.
9516 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
9517
9518 [BZ #3976]
9519 * math/libm-test.inc (cosh_test_tonearest): New function.
9520 (cosh_test_towardzero): Likewise.
9521 (cosh_test_downward): Likewise.
9522 (cosh_test_upward): Likewise.
9523 (sinh_test_tonearest): Likewise.
9524 (sinh_test_towardzero): Likewise.
9525 (sinh_test_downward): Likewise.
9526 (sinh_test_upward): Likewise.
9527 (main): Call the new functions.
9528 * sysdeps/i386/fpu/libm-test-ulps: Update.
9529 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9530
6c6a98c9
TV
95312012-03-05 Tom de Vries <tom@codesourcery.com>
9532
9533 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
9534 default stack guard is set in last bytes.
9535 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
9536
21bb2d2e 95372012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 9538
21bb2d2e 9539 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 9540
21bb2d2e
AJ
9541 [BZ #13656]
9542 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
9543 possibly allocate from heap instead of stack.
9544 * stdio-common/bug-vfprintf-nargs.c: New file.
9545 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 9546
c6922934
AS
95472012-03-03 Andreas Schwab <schwab@linux-m68k.org>
9548
9549 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9550
bc957d53
MP
95512012-03-03 Marek Polacek <polacek@redhat.com>
9552
9553 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
9554 * math/math_private.h: Likewise.
9555 * stdlib/tst-strtod.c: Likewise.
9556 * sysdeps/i386/i486/bits/atomic.h: Likewise.
9557 * sysdeps/x86_64/bits/atomic.h: Likewise.
9558
6358490d
DM
95592012-03-02 David S. Miller <davem@davemloft.net>
9560
9561 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
9562 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
9563 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
9564 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
9565 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
9566 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
9567 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
9568 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
9569
01ae168d
RM
95702012-03-02 Roland McGrath <roland@hack.frob.com>
9571
d9a17c07
RM
9572 [BZ #13792]
9573 * manual/examples/README: New file, says the example source files
9574 can be used under GPL>=2.
9575 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
9576 line containing just "*/".
9577 * manual/examples/add.c: Add copyright header (GPL>=2).
9578 * manual/examples/argp-ex1.c: Likewise.
9579 * manual/examples/argp-ex2.c: Likewise.
9580 * manual/examples/argp-ex3.c: Likewise.
9581 * manual/examples/argp-ex4.c: Likewise.
9582 * manual/examples/atexit.c: Likewise.
9583 * manual/examples/db.c: Likewise.
9584 * manual/examples/dir.c: Likewise.
9585 * manual/examples/dir2.c: Likewise.
9586 * manual/examples/execinfo.c: Likewise.
9587 * manual/examples/filecli.c: Likewise.
9588 * manual/examples/filesrv.c: Likewise.
9589 * manual/examples/fmtmsgexpl.c: Likewise.
9590 * manual/examples/genpass.c: Likewise.
9591 * manual/examples/inetcli.c: Likewise.
9592 * manual/examples/inetsrv.c: Likewise.
9593 * manual/examples/isockad.c: Likewise.
9594 * manual/examples/longopt.c: Likewise.
9595 * manual/examples/memopen.c: Likewise.
9596 * manual/examples/memstrm.c: Likewise.
9597 * manual/examples/mkfsock.c: Likewise.
9598 * manual/examples/mkisock.c: Likewise.
9599 * manual/examples/mygetpass.c: Likewise.
9600 * manual/examples/pipe.c: Likewise.
9601 * manual/examples/popen.c: Likewise.
9602 * manual/examples/rprintf.c: Likewise.
9603 * manual/examples/search.c: Likewise.
9604 * manual/examples/select.c: Likewise.
9605 * manual/examples/setjmp.c: Likewise.
9606 * manual/examples/sigh1.c: Likewise.
9607 * manual/examples/sigusr.c: Likewise.
9608 * manual/examples/stpcpy.c: Likewise.
9609 * manual/examples/strdupa.c: Likewise.
9610 * manual/examples/strftim.c: Likewise.
9611 * manual/examples/strncat.c: Likewise.
9612 * manual/examples/subopt.c: Likewise.
9613 * manual/examples/swapcontext.c: Likewise.
9614 * manual/examples/termios.c: Likewise.
9615 * manual/examples/testopt.c: Likewise.
9616 * manual/examples/testpass.c: Likewise.
9617 * manual/examples/timeval_subtract.c: Likewise.
9618
01ae168d
RM
9619 [BZ #13792]
9620 * manual/time.texi (Elapsed Time): Move timeval_subtract example
9621 function to ...
9622 * manual/timeval_subtract.c.texi: ... here, new file.
9623
49efa33d
DM
96242012-03-02 David S. Miller <davem@davemloft.net>
9625
9626 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
9627
28afd92d
JM
96282012-03-02 Joseph Myers <joseph@codesourcery.com>
9629
804360ed
JM
9630 [BZ #3976]
9631 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
9632 (__sin): Save and restore rounding mode and use round-to-nearest
9633 for all computations.
9634 (__cos): Save and restore rounding mode and use round-to-nearest
9635 for all computations.
9636 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
9637 <fenv.h>.
9638 (tan): Save and restore rounding mode and use round-to-nearest for
9639 all computations.
9640 * math/libm-test.inc (cos_test_tonearest): New function.
9641 (cos_test_towardzero): Likewise.
9642 (cos_test_downward): Likewise.
9643 (cos_test_upward): Likewise.
9644 (sin_test_tonearest): Likewise.
9645 (sin_test_towardzero): Likewise.
9646 (sin_test_downward): Likewise.
9647 (sin_test_upward): Likewise.
9648 (tan_test_tonearest): Likewise.
9649 (tan_test_towardzero): Likewise.
9650 (tan_test_downward): Likewise.
9651 (tan_test_upward): Likewise.
9652 (main): Call the new functions.
9653 * sysdeps/i386/fpu/libm-test-ulps: Update.
9654 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9655
a6d06d7b
JM
9656 [BZ #10135]
9657 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
9658 small n, then large n, before computing and testing k+n.
9659 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
9660 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
9661 Likewise.
9662 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
9663 Likewise.
9664 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
9665 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
9666 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
9667 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
9668 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
9669 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
9670 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
9671 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
9672 * math/libm-test.inc (scalbn_test): Add more tests.
9673 (scalbln_test): Likewise.
9674
07e12bb3
JM
9675 * manual/filesys.texi (mode_t): Describe constraints on size and
9676 signedness, not exact equivalence to a particular type.
9677 (ino_t): Likewise.
9678 (ino64_t): Likewise.
9679 (dev_t): Likewise.
9680 (nlink_t): Likewise.
9681 (blkcnt_t): Likewise.
9682 (blkcnt64_t): Likewise.
9683 * manual/llio.texi (off_t): Likewise.
9684
28afd92d
JM
9685 [BZ #3976]
9686 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
9687 (__ieee754_exp): Save and restore rounding mode and use
9688 round-to-nearest for all computations.
9689 * math/libm-test.inc (exp_test_tonearest): New function.
9690 (exp_test_towardzero): Likewise.
9691 (exp_test_downward): Likewise.
9692 (exp_test_upward): Likewise.
9693 (main): Call the new functions.
9694 * sysdeps/i386/fpu/libm-test-ulps: Update.
9695 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9696
b1eeb65d
CD
96972012-03-01 Chris Demetriou <cgd@google.com>
9698
9699 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
9700 have predictable order.
9701
53362a4b
DM
97022012-03-01 David S. Miller <davem@davemloft.net>
9703
3c969083
DM
9704 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
9705
759707de
DM
9706 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
9707 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
9708 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
9709 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
9710
dfdb8ff2
DM
9711 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
9712 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
9713 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
9714 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
9715 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
9716 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
9717 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
9718 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
9719 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
9720
ead89f96
DM
9721 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9722
7f66bd07
DM
9723 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
9724 * sysdeps/sparc/fpu/libm-test-ulps: to here.
9725 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
9726
53362a4b
DM
9727 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
9728 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
9729 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
9730 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
9731 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
9732 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
9733 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
9734 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
9735 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
9736 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
9737 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
9738 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
9739 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
9740 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
9741 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
9742 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9743 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
9744 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
9745 * sysdeps/sparc/elf/configure: Regenerated.
9746
7b1902cb
JM
97472012-03-01 Joseph Myers <joseph@codesourcery.com>
9748
bec039bc
JM
9749 * configure.in (AS, LD): Require binutils 2.20 or later.
9750 * configure: Regenerated.
9751 * manual/install.texi (Tools for Compilation): Give binutils 2.20
9752 as required minimum version.
9753 * INSTALL: Regenerated.
9754
7b1902cb
JM
9755 [BZ #2541]
9756 [BZ #4108]
9757 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
9758 before squaring exponent.
9759 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
9760 bottom long double and 27 bits of top long double before squaring
9761 exponent.
9762 * math/libm-test.inc (erfc_test): Add more tests.
9763 * sysdeps/i386/fpu/libm-test-ulps: Update.
9764 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9765 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9766
f775c276
KT
97672012-03-01 Kai Tietz <ktietz@redhat.com>
9768
9769 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
9770 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
9771 containing bit-fields.
9772 * soft-fp/extended.h (_FP_UNION_E): Likewise.
9773 * soft-fp/single.h (_FP_UNION_S): Likewise.
9774 * soft-fp/double.h (_FP_UNION_D): Likewise.
9775
5b8a4d4a
JM
97762012-02-29 Joseph Myers <joseph@codesourcery.com>
9777
0bab47b6
JM
9778 [BZ #13786]
9779 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
9780 not include ../strcmp.S.
9781 [USE_AS_STRNCASECMP_L]: Likewise.
9782 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
9783 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
9784 * sysdeps/i386/i686/multiarch/strncase_l-c.c
9785 (__strncasecmp_l_ia32): Define as alias to
9786 __strncasecmp_l_nonascii.
9787
0fcad3e2
JM
9788 [BZ #5794]
9789 * math/libm-test.inc (expm1_test): Add test for bug 5794.
9790 * sysdeps/i386/fpu/libm-test-ulps: Update.
9791 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9792
5b8a4d4a
JM
9793 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
9794 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9795
8fdceb2e
JL
97962012-02-29 Jeff Law <law@redhat.com>
9797
9798 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
9799 out of bounds read.
9800
1f393a11
MP
98012012-02-29 Marek Polacek <polacek@redhat.com>
9802
9803 [BZ #13706]
9804 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
9805 * elf/Makefile: Add rules to run tst-unused-dep.out.
9806
8847f037
DM
98072012-02-28 David S. Miller <davem@davemloft.net>
9808
9809 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
9810 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
9811 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
9812 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
9813 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
9814 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
9815
169d7f11
JM
98162012-02-29 Joseph Myers <joseph@codesourcery.com>
9817
9818 * math/libm-test.inc (llround_test): Move one test from
9819 lround_test. Use TEST_f_L in moved test.
9820 (lround_test): Move misplaced test to llround_test. Add testcase
9821 from bug 2561.
9822
39adf059
UD
98232012-02-28 Ulrich Drepper <drepper@gmail.com>
9824
9825 * sysdeps/x86_64/fpu/e_expf.S: New file.
9826 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
9827
71b5d1c5
SB
98282012-02-28 Stanislav Brabec <sbrabec@suse.cz>
9829
9830 [BZ #13637]
9831 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
9832 of remain_len that may cause incomplete multi-byte character and
9833 false match.
9834 * posix/bug-regex33.c: New file.
9835 * posix/Makefile (tests): Add bug-regex33.
9836
1f77f049
JM
98372012-02-28 Joseph Myers <joseph@codesourcery.com>
9838
9839 * manual/macros.texi: New file.
9840 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
9841 * manual/libc.texinfo: Include macros.texi.
9842 * manual/creatute.texi: Likewise.
9843 * manual/install.texi: Likewise.
9844 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
9845 @glibcadj{} in references to the GNU C Library.
9846 * manual/charset.texi: Likewise.
9847 * manual/conf.texi: Likewise.
9848 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
9849 when not using those macros.
9850 * manual/creature.texi: Likewise.
9851 * manual/crypt.texi: Likewise.
9852 * manual/errno.texi: Likewise.
9853 * manual/filesys.texi: Likewise.
9854 * manual/header.texi: Likewise.
9855 * manual/install.texi: Likewise.
9856 * manual/intro.texi: Likewise.
9857 * manual/io.texi: Likewise.
9858 * manual/job.texi: Likewise.
9859 * manual/lang.texi: Likewise.
9860 * manual/libc.texiinfo: Likewise.
9861 * manual/llio.texi: Likewise.
9862 * manual/locale.texi: Likewise.
9863 * manual/maint.texi: Likewise.
9864 * manual/math.texi: Likewise.
9865 * manual/memory.texi: Likewise.
9866 * manual/message.texi: Likewise.
9867 * manual/nss.texi: Likewise.
9868 * manual/pattern.texi: Likewise.
9869 * manual/process.texi: Likewise.
9870 * manual/resource.texi: Likewise.
9871 * manual/search.texi: Likewise.
9872 * manual/setjmp.texi: Likewise.
9873 * manual/signal.texi: Likewise.
9874 * manual/socket.texi: Likewise.
9875 * manual/startup.texi: Likewise.
9876 * manual/stdio.texi: Likewise.
9877 * manual/string.texi: Likewise.
9878 * manual/sysinfo.texi: Likewise.
9879 * manual/syslog.texi: Likewise.
9880 * manual/terminal.texi: Likewise.
9881 * manual/time.texi: Likewise.
9882 * manual/users.texi: Likewise.
9883 * INSTALL: Regenerated.
9884 * NOTES: Regenerated.
d40c5d54 9885 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 9886
450bf206
AS
98872012-02-28 Andreas Schwab <schwab@linux-m68k.org>
9888
9889 * include/dirent.h: Include <dirstream.h> before
9890 <dirent/dirent.h>.
9891
741a235b
DM
98922012-02-28 David S. Miller <davem@davemloft.net>
9893
9894 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
9895 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
9896 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
9897 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
9898
d6b5aa58
DM
98992012-02-27 David S. Miller <davem@davemloft.net>
9900
1aff59a3
DM
9901 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
9902 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
9903 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
9904 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
9905
d6b5aa58
DM
9906 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
9907 frame pointer instead of stack pointer relative arg slot.
9908 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
9909 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
9910 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
9911
433f48bf
CD
99122012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
9913
9914 [BZ #3992]
9915 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
9916
d674b76d
DM
99172012-02-27 David S. Miller <davem@davemloft.net>
9918
9919 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
9920 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
9921 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
9922 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
9923 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
9924 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
9925 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
9926 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
9927
0e7727f7
JM
99282012-02-27 Joseph Myers <joseph@codesourcery.com>
9929
9930 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
9931 later. Allow versions 5-9.
43be4ca2 9932 * configure: Regenerated.
0e7727f7
JM
9933 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
9934 required minimum version and 4.6 as recommended version. Do not
9935 mention bugs in GCC 2.7 and 2.8.
43be4ca2 9936 * INSTALL: Regenerated.
0e7727f7 9937
a78bc654
DM
99382012-02-27 David S. Miller <davem@davemloft.net>
9939
428d5830
DM
9940 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
9941 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
9942 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
9943 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
9944 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
9945 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
9946 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
9947 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
9948
a78bc654
DM
9949 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
9950 manipulate bits before adding and subtracting TWO112[sx].
9951 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
9952
4579f81c
RM
99532012-02-27 Roland McGrath <roland@hack.frob.com>
9954
36c8acb4
RM
9955 [BZ #13775]
9956 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
9957 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
9958 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
9959 being in POSIX, because they are in 1003.1-2008.
9960
84ad622b
RM
9961 * rt/tst-aio.c: Include <fcntl.h>.
9962 * rt/tst-aio7.c: Likewise.
9963 * rt/tst-aio64.c: Likewise.
9964
4579f81c
RM
9965 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
9966
abd923db
JM
99672012-02-27 Joseph Myers <joseph@codesourcery.com>
9968
9969 * manual/install.texi (--with-headers): Describe headers as
9970 interface headers, not private headers.
9971 (Specific advice for GNU/Linux systems): Describe use of headers
9972 from "make headers_install", not private headers from older
9973 kernels.
43be4ca2 9974 * INSTALL: Regenerated.
abd923db
JM
9975 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
9976 Change to 2.6.19.
9977 * sysdeps/unix/sysv/linux/configure: Regenerated.
9978
6664049b
JM
9979 * manual/llio.texi (fclean): Remove documentation.
9980
bb8b6697
JM
9981 * manual/Makefile (libc-texi-generated): New variable. Include
9982 version.texi.
9983 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
9984 $(libc-texi-generated), not duplicated list of files.
9985 (version.texi, stamp-version): New rules.
9986 (realclean): Remove $(libc-texi-generated), not individual files
9987 from that list. Do not remove dir-add.texinfo.
9988 * manual/libc.texinfo: Comment out uses of edition numbers and
9989 references to printed manual. Remove last-updated dates.
9990 (EDITION): Comment out.
9991 (ISBN): Likewise.
9992 (VERSION, UPDATED): Remove.
9993 (version.texi): Include.
9994
12e5c3b9
AS
99952012-02-27 Andreas Schwab <schwab@linux-m68k.org>
9996
9997 * sysdeps/posix/spawni.c: Include <signal.h>.
9998 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
9999 * sysdeps/pthread/aio_fsync.c: Likewise.
10000
4efeffc1 100012012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 10002
ba63ba08
UD
10003 * conform/Makefile (tests): Run only when not cross-compiling and
10004 when fast-check is not defined.
10005
d94a4670
UD
10006 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
10007 * conform/data/limits.h-data: Fixes for POSIX2008.
10008 * conform/run-conformtest.sh: Run all tests.
10009 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
10010 headers.
10011 * include/bits/dlfcn.h: Likewise.
10012 * include/langinfo.h: Likewise.
10013 * include/monetary.h: Likewise.
10014 * include/sys/poll.h: Likewise.
10015
10016 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
10017 for __USE_GNU.
10018 * posix/spawn.h: Define __need_sigset_t.
10019 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
10020 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
10021 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
10022 to get sigevent_t only.
10023 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
10024 only for __USE_GNU.
10025 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
10026 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
10027 process_vm_writev only for __USE_GNU.
10028 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
10029
10030 * conform/Makefile: For now ignore errors from run-conformtest.
10031 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
10032 POSIX to avoid namespace pollution. Don't prepend headers.
10033 * conform/data/aio.h-data: Fixes for POSIX testing.
10034 * conform/data/fcntl.h-data: Likewise.
10035 * conform/data/glob.h-data: Likewise.
10036 * conform/data/grp.h-data: Likewise.
10037 * conform/data/pthread.h-data: Likewise.
10038 * conform/data/pwd.h-data: Likewise.
10039 * conform/data/signal.h-data: Likewise.
10040 * conform/data/spawn.h-data: Likewise.
10041 * conform/data/stdio.h-data: Likewise.
10042 * conform/data/stdlib.h-data: Likewise.
10043 * conform/data/stropts.h-data: Likewise.
10044 * conform/data/sys/mman.h-data: Likewise.
10045 * conform/data/sys/stat.h-data: Likewise.
10046 * conform/data/sys/types.h-data: Likewise.
10047 * conform/data/sys/wait.h-data: Likewise.
10048 * conform/data/time.h-data: Likewise.
10049 * conform/data/unistd.h-data: Likewise.
10050 * conform/data/utime.h-data: Likewise.
10051
10052 * io/sys/stat.h: fchmod was always in POSIX.
10053 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
10054 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
10055 * rt/aio.h: Define __need_timespec before including <time.h>.
10056 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
10057 struct. Add forward declaration of pthread_attr_t and use it in
10058 sigevent.
10059 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
10060 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
10061 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
10062 always remove CLK_TCK definition.
10063
c20105c3
AS
100642012-02-26 Andreas Schwab <schwab@linux-m68k.org>
10065
10066 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
10067
7a270350
UD
100682012-02-25 Ulrich Drepper <drepper@gmail.com>
10069
31341567
UD
10070 * conform/run-conformtest.sh: New file.
10071 * conform/Makefile: Run run-conformtest for tests.
10072 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
10073 support.
10074
10075 * conform/data/uchar.h-data: New file.
10076 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
10077 * conform/data/arpa/inet.h-data: Likewise.
10078 * conform/data/assert.h-data: Likewise.
10079 * conform/data/complex.h-data: Likewise.
10080 * conform/data/cpio.h-data: Likewise.
10081 * conform/data/ctype.h-data: Likewise.
10082 * conform/data/dirent.h-data: Likewise.
10083 * conform/data/dlfcn.h-data: Likewise.
10084 * conform/data/errno.h-data: Likewise.
10085 * conform/data/fcntl.h-data: Likewise.
10086 * conform/data/float.h-data: Likewise.
10087 * conform/data/fmtmsg.h-data: Likewise.
10088 * conform/data/fnmatch.h-data: Likewise.
10089 * conform/data/ftw.h-data: Likewise.
10090 * conform/data/glob.h-data: Likewise.
10091 * conform/data/grp.h-data: Likewise.
10092 * conform/data/iconv.h-data: Likewise.
10093 * conform/data/inttypes.h-data: Likewise.
10094 * conform/data/langinfo.h-data: Likewise.
10095 * conform/data/libgen.h-data: Likewise.
10096 * conform/data/limits.h-data: Likewise.
10097 * conform/data/locale.h-data: Likewise.
10098 * conform/data/math.h-data: Likewise.
10099 * conform/data/monetary.h-data: Likewise.
10100 * conform/data/mqueue.h-data: Likewise.
10101 * conform/data/ndbm.h-data: Likewise.
10102 * conform/data/net/if.h-data: Likewise.
10103 * conform/data/netdb.h-data: Likewise.
10104 * conform/data/netinet/in.h-data: Likewise.
10105 * conform/data/nl_types.h-data: Likewise.
10106 * conform/data/poll.h-data: Likewise.
10107 * conform/data/pthread.h-data: Likewise.
10108 * conform/data/pwd.h-data: Likewise.
10109 * conform/data/regex.h-data: Likewise.
10110 * conform/data/sched.h-data: Likewise.
10111 * conform/data/search.h-data: Likewise.
10112 * conform/data/semaphore.h-data: Likewise.
10113 * conform/data/setjmp.h-data: Likewise.
10114 * conform/data/signal.h-data: Likewise.
10115 * conform/data/spawn.h-data: Likewise.
10116 * conform/data/stdarg.h-data: Likewise.
10117 * conform/data/stdio.h-data: Likewise.
10118 * conform/data/stdlib.h-data: Likewise.
10119 * conform/data/string.h-data: Likewise.
10120 * conform/data/strings.h-data: Likewise.
10121 * conform/data/stropts.h-data: Likewise.
10122 * conform/data/sys/ipc.h-data: Likewise.
10123 * conform/data/sys/mman.h-data: Likewise.
10124 * conform/data/sys/msg.h-data: Likewise.
10125 * conform/data/sys/resource.h-data: Likewise.
10126 * conform/data/sys/select.h-data: Likewise.
10127 * conform/data/sys/sem.h-data: Likewise.
10128 * conform/data/sys/shm.h-data: Likewise.
10129 * conform/data/sys/socket.h-data: Likewise.
10130 * conform/data/sys/stat.h-data: Likewise.
10131 * conform/data/sys/statvfs.h-data: Likewise.
10132 * conform/data/sys/time.h-data: Likewise.
10133 * conform/data/sys/timeb.h-data: Likewise.
10134 * conform/data/sys/times.h-data: Likewise.
10135 * conform/data/sys/types.h-data: Likewise.
10136 * conform/data/sys/uio.h-data: Likewise.
10137 * conform/data/sys/un.h-data: Likewise.
10138 * conform/data/sys/utsname.h-data: Likewise.
10139 * conform/data/sys/wait.h-data: Likewise.
10140 * conform/data/syslog.h-data: Likewise.
10141 * conform/data/tar.h-data: Likewise.
10142 * conform/data/termios.h-data: Likewise.
10143 * conform/data/utime.h-data: Likewise.
10144 * conform/data/utmpx.h-data: Likewise.
10145 * conform/data/varargs.h-data: Likewise.
10146 * conform/data/wchar.h-data: Likewise.
10147 * conform/data/wctype.h-data: Likewise.
10148 * conform/data/wordexp.h-data: Likewise.
10149
10150 * include/stropts.h: New file.
10151 * include/uchar.h: New file.
10152 * include/aio.h: Changes to allow conformtest.pl to use the headers.
10153 * include/assert.h: Likewise.
10154 * include/ctype.h: Likewise.
10155 * include/dirent.h: Likewise.
10156 * include/dlfcn.h: Likewise.
10157 * include/fcntl.h: Likewise.
10158 * include/fnmatch.h: Likewise.
10159 * include/glob.h: Likewise.
10160 * include/grp.h: Likewise.
10161 * include/libio.h: Likewise.
10162 * include/locale.h: Likewise.
10163 * include/math.h: Likewise.
10164 * include/net/if.h: Likewise.
10165 * include/netdb.h: Likewise.
10166 * include/netinet/in.h: Likewise.
10167 * include/pthread.h: Likewise.
10168 * include/pwd.h: Likewise.
10169 * include/regex.h: Likewise.
10170 * include/sched.h: Likewise.
10171 * include/search.h: Likewise.
10172 * include/setjmp.h: Likewise.
10173 * include/signal.h: Likewise.
10174 * include/stdio.h: Likewise.
10175 * include/stdlib.h: Likewise.
10176 * include/string.h: Likewise.
10177 * include/sys/cdefs.h: Likewise.
10178 * include/sys/mman.h: Likewise.
10179 * include/sys/msg.h: Likewise.
10180 * include/sys/resource.h: Likewise.
10181 * include/sys/select.h: Likewise.
10182 * include/sys/socket.h: Likewise.
10183 * include/sys/stat.h: Likewise.
10184 * include/sys/statvfs.h: Likewise.
10185 * include/sys/time.h: Likewise.
10186 * include/sys/times.h: Likewise.
10187 * include/sys/uio.h: Likewise.
10188 * include/sys/utsname.h: Likewise.
10189 * include/sys/wait.h: Likewise.
10190 * include/termios.h: Likewise.
10191 * include/time.h: Likewise.
10192 * include/ulimit.h: Likewise.
10193 * include/unistd.h: Likewise.
10194 * include/utime.h: Likewise.
10195 * include/wchar.h: Likewise.
10196 * include/wctype.h: Likewise.
10197 * include/wordexp.h: Likewise.
10198
10199 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
10200
7a270350
UD
10201 * time/time.h: TIME_UTC must be a macro.
10202 Make timespec_get available for ISO C11 only as well.
10203
7724defc
UD
102042012-02-24 Ulrich Drepper <drepper@gmail.com>
10205
10206 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
10207 Reported by Peng Haitao <penght@cn.fujitsu.com>.
10208
6b1d1d46
JM
102092012-02-24 Joseph Myers <joseph@codesourcery.com>
10210
10211 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 10212
0f8bbd69
JM
102132012-02-24 Joseph Myers <joseph@codesourcery.com>
10214
10215 * manual/texinfo.tex: Update to version 2012-01-19.16.
10216
66ab80bc
JM
102172012-02-24 Joseph Myers <joseph@codesourcery.com>
10218
10219 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
10220
74981cc5
RM
102212012-02-24 Roland McGrath <roland@hack.frob.com>
10222
ee968201
RM
10223 [BZ #13738]
10224 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
10225 * manual/fdl-1.3.texi: New file.
10226 * manual/fdl-1.1.texi: File removed.
10227
74981cc5
RM
10228 [BZ #13738]
10229 * manual/libc.texinfo (FDL_VERSION): New @set.
10230 Use it for mention of FDL in cover text.
10231 (Documentation License): Use it in @include file name.
10232
7bb764bc
JM
102332012-02-22 Joseph Myers <joseph@codesourcery.com>
10234 Roland McGrath <roland@hack.frob.com>
10235
10236 [BZ #5461]
10237 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
10238 not LONG_LONG_MAX and LONG_LONG_MIN.
10239 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
10240 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
10241 name.
10242 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
10243
6cbeae47
JM
102442012-02-22 Joseph Myers <joseph@codesourcery.com>
10245
10246 [BZ #2547]
10247 [BZ #11365]
10248 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
10249 manipulate bits before adding and subtracting TWO23[sx].
10250 * math/libm-test.inc (nearbyint_test): Add more tests.
10251
fe45ce09
JM
102522012-02-22 Joseph Myers <joseph@codesourcery.com>
10253
10254 [BZ #2548]
10255 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
10256 bits before adding and subtracting TWO23[sx].
10257 * math/libm-test.inc (rint_test): Add more tests.
10258 (rint_test_tonearest): Likewise.
10259 (rint_test_towardzero): Likewise.
10260 (rint_test_downward): Likewise.
10261 (rint_test_upward: Likewise.
10262
ff3b3d82
JM
102632012-02-22 Joseph Myers <joseph@codesourcery.com>
10264
10265 [BZ #10110]
10266 * include/stdc-predef.h: New file. Extracted from features.h.
10267 * include/features.h: Include stdc-predef.h.
10268 * Makefile (headers): Add stdc-predef.h.
10269 * CONFORMANCE (Compiler limitations): Update.
10270
ef0aab35
JM
102712012-02-22 Joseph Myers <joseph@codesourcery.com>
10272
10273 * manual/libc.texinfo (VERSION, UPDATED): Revert.
10274
58639409
DM
102752012-02-21 David S. Miller <davem@davemloft.net>
10276
10277 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
10278 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
10279
c0e70b25
DM
102802012-02-20 David S. Miller <davem@davemloft.net>
10281
10282 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
10283 using a normal save/restore sequence, rather than allocating a
10284 dummy stack frame just to store a frame pointer and restore.
10285 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
10286
fb06851d
JM
102872012-02-21 Joseph Myers <joseph@codesourcery.com>
10288
10289 * manual/install.texi: Fix stray word in line-wrapped comment.
10290
7a8b71c3
DM
102912012-02-20 David S. Miller <davem@davemloft.net>
10292
d510c123
DM
10293 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
10294 both binutils and gcc support GOTDATA.
10295
0722d7c2
DM
10296 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
10297 "rd %pc" in the PIC register setup sequences.
10298
3d2b3019
DM
10299 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
10300 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
10301 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
10302 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
10303 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
10304 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
10305 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
10306 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
10307 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
10308 (SYSCALL_ERROR_HANDLER): Likewise.
10309 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
10310 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
10311 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
10312 (SYSCALL_ERROR_HANDLER): Likewise.
10313
c80098a9
DM
10314 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
10315 (HAVE_GCC_GOTDATA): New.
10316 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
10317 relocation support in both binutils and gcc.
10318 * sysdeps/sparc/elf/configure: Regenerate.
10319
3a2545a0
DM
10320 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
10321 * sysdeps/sparc/sparc32/elf/configure: Delete.
10322 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
10323 * sysdeps/sparc/sparc64/elf/configure: Delete.
10324 * sysdeps/sparc/elf/configure.in: New file.
10325 * sysdeps/sparc/elf/configure: Generate.
10326
7a8b71c3
DM
10327 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
10328 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
10329 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
10330 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
10331 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
10332
f1e86fca
JM
103332012-02-21 Joseph Myers <joseph@codesourcery.com>
10334
10335 * manual/install.texi: Do not mention specific glibc version
10336 numbers.
10337 * manual/libc.texinfo (VERSION, UPDATED): Update.
10338 (@copying): Use @copyright{} and range of years.
10339
0e7dfaef
JM
103402012-02-21 Joseph Myers <joseph@codesourcery.com>
10341
10342 [BZ #13695]
10343 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
10344 [crti.S not in sysdirs] (generated): Do not append.
10345 [crti.S not in sysdirs] (omit-deps): Likewise.
10346 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
10347 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
10348 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
10349 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
10350 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
10351 Likewise.
10352 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
10353 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
10354 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
10355 * csu/defs.awk: Remove file.
10356 * sysdeps/generic/initfini.c: Likewise.
10357 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
10358 variable.
10359 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
10360 Likewise.
10361
599af3ca
JM
103622012-02-20 Joseph Myers <joseph@codesourcery.com>
10363
10364 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
10365 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
10366 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
10367 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
10368 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
10369 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
10370 <bits/epoll.h>.
10371 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
10372 (__EPOLL_PACKED): Define to empty if not defined by
10373 <bits/epoll.h>.
10374 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
10375 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10376 bits/epoll.h.
10377
0e499750
JM
103782012-02-20 Joseph Myers <joseph@codesourcery.com>
10379
10380 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
10381 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
10382 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
10383 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
10384 <bits/timerfd.h>.
10385 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
10386 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10387 bits/timerfd.h.
10388
5ad91f6e
JM
103892012-02-20 Joseph Myers <joseph@codesourcery.com>
10390
10391 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
10392 in C locale.
10393 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10394 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
10395 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
10396 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10397
06b99b02
AJ
103982012-02-20 Aurelien Jarno <aurelien@aurel32.net>
10399
10400 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10401 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
10402
7638c0fd
AS
104032012-02-19 Andreas Schwab <schwab@linux-m68k.org>
10404
10405 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
10406 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
10407 defined.
10408 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
10409 Likewise.
10410 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
10411 entry for 2.16.
10412
92221550
AJ
104132012-02-19 Aurelien Jarno <aurelien@aurel32.net>
10414
10415 * math/w_acos.c: Use non-signaling floating-point comparisons.
10416 * math/w_acosf.c: Likewise.
10417 * math/w_acosh.c: Likewise.
10418 * math/w_acoshf.c: Likewise.
10419 * math/w_acoshl.c: Likewise.
10420 * math/w_acosl.c: Likewise.
10421 * math/w_asin.c: Likewise.
10422 * math/w_asinf.c: Likewise.
10423 * math/w_asinl.c: Likewise.
10424 * math/w_atanh.c: Likewise.
10425 * math/w_atanhf.c: Likewise.
10426 * math/w_atanhl.c: Likewise.
10427 * math/w_exp2.c: Likewise.
10428 * math/w_exp2f.c: Likewise.
10429 * math/w_exp2l.c: Likewise.
10430 * math/w_j0.c: Likewise.
10431 * math/w_j0f.c: Likewise.
10432 * math/w_j0l.c: Likewise.
10433 * math/w_j1.c: Likewise.
10434 * math/w_j1f.c: Likewise.
10435 * math/w_j1l.c: Likewise.
10436 * math/w_jn.c: Likewise.
10437 * math/w_jnf.c: Likewise.
10438 * math/w_log.c: Likewise.
10439 * math/w_log10.c: Likewise.
10440 * math/w_log10f.c: Likewise.
10441 * math/w_log10l.c: Likewise.
10442 * math/w_log2.c: Likewise.
10443 * math/w_log2f.c: Likewise.
10444 * math/w_log2l.c: Likewise.
10445 * math/w_logf.c: Likewise.
10446 * math/w_logl.c: Likewise.
10447 * math/w_sqrt.c: Likewise.
10448 * math/w_sqrtf.c: Likewise.
10449 * math/w_sqrtl.c: Likewise.
10450 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
10451 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
10452 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10453 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
10454 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
10455
ebaf36eb
JM
104562012-02-19 Joseph Myers <joseph@codesourcery.com>
10457
10458 [BZ #9739]
10459 * manual/string.texi (strnlen): Use correct parameter name in
10460 equivalent expression.
10461
71c254a6
JM
104622012-02-19 Joseph Myers <joseph@codesourcery.com>
10463
10464 [BZ #11174]
10465 * manual/users.texi (seteuid): Consistently use neweuid for
10466 argument name.
10467
16d2c631
JM
104682012-02-19 Joseph Myers <joseph@codesourcery.com>
10469
10470 [BZ #13704]
10471 * manual/nss.texi (Services in the NSS configuration): Correct
10472 list of services in example configuration file.
10473
cd837b09
NB
104742012-02-19 Nick Bowler <nbowler@draconx.ca>
10475
10476 [BZ #11322]
10477 * manual/arith.texi: Remove statements about negative zero
10478 behaving identically to zero.
10479
02c4bbad
JM
104802012-02-18 Joseph Myers <joseph@codesourcery.com>
10481
10482 [BZ #5993]
10483 * manual/install.texi: Do not document upgrading from libc5.
10484
366842e7
JM
104852012-02-18 Joseph Myers <joseph@codesourcery.com>
10486
10487 [BZ #4596]
10488 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
10489
dd54084d
DM
104902012-02-18 David S. Miller <davem@davemloft.net>
10491
10492 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
10493 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
10494 %o7 across the call.
10495 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
10496 instead.
10497 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
10498 SETUP_PIC_REG_LEAF.
10499 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10500 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
10501 * sysdeps/sparc/crtn.S: Likewise.
10502
2bcc53a3
UD
105032012-02-17 Ulrich Drepper <drepper@gmail.com>
10504
10505 * aout/Makefile: Remove.
10506
09c093b5
RK
105072012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
10508
10509 [BZ #13058]
10510 * manual/examples/argp-ex1.c (main): Format definition in GNU
10511 style.
10512 * manual/examples/argp-ex2.c (main): Likewise.
10513 * manual/examples/argp-ex3.c (main): Likewise.
10514 * manual/examples/argp-ex4.c (main): Likewise.
10515 * manual/examples/longopt.c (main): Use new-style prototype
10516 definition.
10517 * manual/examples/strncat.c (main): Specify return type and use
10518 (void) for arguments.
10519 * manual/examples/subopt.c (main): Use char **argv argument.
10520
2ee633a2
JM
105212012-02-17 Joseph Myers <joseph@codesourcery.com>
10522
10523 [BZ #5077]
10524 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
10525 rounding modes.
10526
0520adde
FB
105272012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
10528
10529 [BZ #6907]
10530 * manual/string.texi (strchr): Change when strchrnul is
10531 recommended.
10532
3f4081cd
DGM
105332012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
10534
10535 [BZ #174]
10536 * manual/locale.texi (setlocale): Document LOCPATH.
10537
d1b10e78
JM
105382012-02-17 Joseph Myers <joseph@codesourcery.com>
10539
10540 [BZ #10210]
10541 * manual/process.texi (execle): Move @dots{} before last argument.
10542
79c6869c
PB
105432012-02-17 Paul Bolle <pebolle@tiscali.nl>
10544
10545 [BZ #12047]
10546 * manual/charset.texi (Generic Charset Conversion): Fix typo
10547 (LC_TYPE -> LC_CTYPE).
10548
cc6e48bc
NB
105492012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
10550
10551 [BZ #5805]
10552 * manual/arith.texi (scalbn): Use @var{} on parameter names.
10553 (scalbnf): Likewise.
10554 (scalbnl): Likewise.
10555 (scalbln): Likewise.
10556 (scalblnf): Likewise.
10557 (scalblnl): Likewise.
10558 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
10559 (vwarnx): Likewise.
10560 (verr): Likewise.
10561 (verrx): Likewise.
10562 * manual/filesys.texi (telldir): Use braces around return type.
10563 * manual/llio.texi (mmap): Add space after comma.
10564 (mmap64): Likewise.
10565 * manual/math.texi (jn): Use @var{} on parameter names.
10566 (jnf): Likewise.
10567 (jnl): Likewise.
10568 (yn): Likewise.
10569 (ynf): Likewise.
10570 (ynl): Likewise.
10571 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
10572 line.
10573 * manual/resource.texi (ulimit): Use @dots{} instead of literal
10574 "...".
10575 (sched_get_priority_min): Remove semicolon on @deftypefun line.
10576 (sched_get_priority_max): Likewise.
10577 * manual/signal.texi (sigvec): Add space after comma.
10578 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
10579 names.
10580 (if_indextoname): Likewise.
10581 (if_freenameindex): Likewise.
10582 (sendto): Use ',' instead of '.' in prototype.
10583 * manual/startup.texi (syscall): Use @dots{} instead of literal
10584 "...".
10585 * manual/stdio.texi (__fpending): Separate initial words of
10586 paragraph from @deftypefun line.
10587 * manual/syslog.texi (syslog): Use @dots{} instead of literal
10588 "...".
10589 (vsyslog): Use @var{} on parameter names.
10590 * manual/terminal.texi (stty): Use @var{} on parameter names.
10591 * manual/users.texi (getutmp): Use @var{} on parameter names.
10592 (getutmpx): Likewise.
10593
5b23062f
JM
105942012-02-17 Joseph Myers <joseph@codesourcery.com>
10595
10596 [BZ #6884]
10597 * manual/stdio.texi (fopen): Fix typos in description of
10598 ",ccs=STRING".
10599
8dee4833
AJ
106002012-02-17 Aurelien Jarno <aurelien@aurel32.net>
10601
10602 [BZ #4026]
10603 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
10604 get clock_id definition.
10605
9078ce93
TS
106062012-02-17 Thomas Schwinge <thomas@schwinge.name>
10607
10608 [BZ #4822]
10609 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
10610 (madvise): Cast every argument to void on its own.
10611
3835c55f
JM
106122012-02-17 Joseph Myers <joseph@codesourcery.com>
10613
10614 [BZ #9902]
10615 * manual/startup.texi (Exit Status): Fix typo.
10616
35c47e37
JM
106172012-02-17 Joseph Myers <joseph@codesourcery.com>
10618
10619 [BZ #10140]
10620 * manual/examples/argp-ex1.c: Include <stdlib.h>.
10621 * manual/examples/argp-ex2.c: Likewise.
10622 * manual/examples/argp-ex3.c: Likewise.
10623
e3b69ca7
RH
106242012-02-16 Richard Henderson <rth@redhat.com>
10625
10626 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
10627 * sysdeps/s390/s390-32/initfini.c: Remove.
10628 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
10629 * sysdeps/s390/s390-64/initfini.c: Remove.
10630
df83af67
KK
106312012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10632
10633 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
10634 compiler output for sysdeps/generic/initfini.c.
10635 * sysdeps/sh/elf/initfini.c: Remove file.
10636
f63f3380
DM
106372012-02-16 David S. Miller <davem@davemloft.net>
10638
fb59b3a4
DM
10639 [BZ #11494]
10640 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
10641
f63f3380
DM
10642 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
10643 * sysdeps/sparc/crti.S: New file.
10644 * sysdeps/sparc/crtn.S: New file.
10645 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
10646 * sysdeps/sparc/sparc64/Makefile: Likewise.
10647
df6a4a4a
MF
106482012-02-15 Mike Frysinger <vapier@gentoo.org>
10649
6dd8f3dc 10650 [BZ #3335]
df6a4a4a
MF
10651 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
10652
1cac7236
RM
106532012-02-15 Roland McGrath <roland@hack.frob.com>
10654
d2c736f8
RM
10655 [BZ #4822]
10656 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
10657
1cac7236
RM
10658 * mach/devstream.c (cookie_io_functions_t): Macro removed.
10659 (write, read, close): Likewise.
10660 Patch by Aurelien Jarno <aurelien@aurel32.net>.
10661
8e475601
JM
106622012-02-15 Joseph Myers <joseph@codesourcery.com>
10663
10664 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
10665 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
10666 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
10667 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
10668 <bits/signalfd.h>.
10669 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
10670 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10671 bits/signalfd.h.
10672
ed656b40
MP
106732012-02-14 Marek Polacek <polacek@redhat.com>
10674
10675 * sysdeps/x86_64/crti.S: New file.
10676 * sysdeps/x86_64/crtn.S: New file.
10677 * sysdeps/x86_64/elf/initfini.c: Remove file.
10678
2a979d3a
JM
106792012-02-13 Joseph Myers <joseph@codesourcery.com>
10680
10681 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
10682 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
10683 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
10684 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
10685 <bits/inotify.h>.
10686 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
10687 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10688 bits/inotify.h.
10689
2a418ac3
JM
106902012-02-13 Joseph Myers <joseph@codesourcery.com>
10691
10692 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
10693 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
10694 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
10695 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
10696 <bits/eventfd.h>.
10697 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
10698 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10699 bits/eventfd.h.
10700
fb779be7
TS
107012012-02-10 Thomas Schwinge <thomas@codesourcery.com>
10702
e19e83c5
RM
10703 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
10704 __feraiseexcept instead of feraiseexcept.
7c35ffed 10705
fb779be7
TS
10706 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
10707 nanosleep invocations.
10708 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
10709 strings, and add error checking for a nanosleep invocations.
10710
59ba27a6
PE
107112012-02-09 Paul Eggert <eggert@cs.ucla.edu>
10712
10713 Replace FSF snail mail address with URLs, as per GNU coding standards.
10714 Most of the snail mail addresses were wrong anyway, and omitting
10715 them makes the source code easier to maintain. Almost all of the
10716 changes are to license notices and to locale LC_IDENTIFICATION
10717 addresses, except for this one:
10718 * manual/libc.texinfo: In "Published by", give the FSF's URL,
10719 not its snail mail address.
10720
57b957eb
RH
107212012-02-09 Richard Henderson <rth@twiddle.net>
10722
af850b1c
RH
10723 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
10724 of kernel-features.h.
10725
57b957eb
RH
10726 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
10727
6b73181a
MP
107282012-02-08 Marek Polacek <polacek@redhat.com>
10729
10730 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
10731 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
10732 * sysdeps/gnu/_G_config.h: Likewise.
10733 * sysdeps/generic/_G_config.h: Likewise.
10734
26ecc33a
AS
107352012-02-08 Andreas Schwab <schwab@linux-m68k.org>
10736
6c6dbc63
AS
10737 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
10738 tests.
10739 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10740
e216c012
AS
10741 * sysdeps/powerpc/powerpc32/crti.S: New file.
10742 * sysdeps/powerpc/powerpc32/crtn.S: New file.
10743 * sysdeps/powerpc/powerpc64/crti.S: New file.
10744 * sysdeps/powerpc/powerpc64/crtn.S: New file.
10745
26ecc33a
AS
10746 * Makeconfig (have-initfini): Don't set.
10747 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
10748 * configure.in (nopic_initfini): Don't substitute.
10749 * config.h.in (HAVE_INITFINI): Don't #undef.
10750 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
10751 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
10752
3add8e13
JM
107532012-02-08 Joseph Myers <joseph@codesourcery.com>
10754
10755 Support crti.S and crtn.S provided directly by architectures.
10756 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
10757 [crti.S in sysdirs] (omit-deps): Likewise.
10758 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
10759 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
10760 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
10761 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
10762 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
10763 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
10764 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
10765 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
10766 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
10767 compiler output for sysdeps/generic/initfini.c.
10768 * sysdeps/i386/elf/Makefile: Remove file.
10769 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
10770
a22f12b4
MP
107712012-02-07 Marek Polacek <polacek@redhat.com>
10772
10773 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
10774 * sysdeps/gnu/_G_config.h: Likewise.
10775 * sysdeps/mach/hurd/_G_config.h: Likewise.
10776
148cf100
MP
107772012-02-07 Marek Polacek <polacek@redhat.com>
10778
10779 * math/Makefile (tests): Add tst-CMPLX2.
10780 * math/tst-CMPLX2.c: New file.
10781
cfdc0dd7
AS
107822012-02-07 Andreas Schwab <schwab@linux-m68k.org>
10783
84ba42c4
AS
10784 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10785
cfdc0dd7
AS
10786 * math/libm-test.inc (jn_test): Add missing L suffix.
10787
622c86f4
MP
107882012-02-06 Marek Polacek <polacek@redhat.com>
10789
10790 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
10791 * sysdeps/i386/fpu/e_powf.S: Likewise.
10792 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
10793 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
10794 * sysdeps/i386/fpu/e_acosh.S: Likewise.
10795 * sysdeps/i386/fpu/e_pow.S: Likewise.
10796 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
10797 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
10798 * sysdeps/i386/fpu/s_expm1.S: Likewise.
10799 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
10800 * sysdeps/i386/fpu/e_log2.S: Likewise.
10801 * sysdeps/i386/fpu/e_log2l.S: Likewise.
10802 * sysdeps/i386/fpu/e_scalb.S: Likewise.
10803 * sysdeps/i386/fpu/e_powl.S: Likewise.
10804 * sysdeps/i386/fpu/s_log1p.S: Likewise.
10805 * sysdeps/i386/fpu/e_log10f.S: Likewise.
10806 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
10807 * sysdeps/i386/fpu/e_logl.S: Likewise.
10808 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
10809 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
10810 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
10811 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
10812 * sysdeps/i386/fpu/e_log2f.S: Likewise.
10813 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
10814 * sysdeps/i386/fpu/e_log.S: Likewise.
10815 * sysdeps/i386/fpu/s_cexp.S: Likewise.
10816 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
10817 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
10818 * sysdeps/i386/fpu/e_logf.S: Likewise.
10819 * sysdeps/i386/fpu/e_log10l.S: Likewise.
10820 * sysdeps/i386/fpu/e_atanh.S: Likewise.
10821 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
10822 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
10823 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
10824 * sysdeps/i386/fpu/e_log10.S: Likewise.
10825 * sysdeps/i386/fpu/s_frexp.S: Likewise.
10826 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
10827 * sysdeps/i386/fpu/s_asinh.S: Likewise.
10828 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
10829 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
10830 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
10831 * sysdeps/i386/asm-syntax.h: Likewise.
10832 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
10833 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
10834 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
10835 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
10836 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
10837 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
10838 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
10839 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
10840 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
10841 * sysdeps/powerpc/sysdep.h: Likewise.
10842 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
10843 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
10844
d4a54ac6
JM
108452012-02-06 Joseph Myers <joseph@codesourcery.com>
10846
10847 [BZ #411]
10848 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
10849
314054ea
JM
108502012-02-06 Joseph Myers <joseph@codesourcery.com>
10851
10852 * sysdeps/i386/sysdep.h: Include <features.h>.
10853 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
10854 version.
10855
d8e0ca50
JM
108562012-02-05 Joseph Myers <joseph@codesourcery.com>
10857
10858 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
10859 Define.
10860 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
10861 LOAD_PIC_REG_STR.
10862
b1da7dd9
JM
108632012-02-03 Joseph Myers <joseph@codesourcery.com>
10864
10865 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
10866 (SETUP_PIC_REG): Use GET_PC_THUNK.
10867 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
10868 macro.
10869
9a1d9254
JM
108702012-02-03 Joseph Myers <joseph@codesourcery.com>
10871
10872 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
10873 for non-PIC compilation.
10874 (SETUP_PIC_REG): Add .p2align directive.
10875 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
10876 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
10877 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
10878 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
10879 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
10880 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
10881 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
10882 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
10883 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
10884 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
10885 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
10886 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
10887 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
10888 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
10889 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
10890 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
10891 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
10892 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
10893 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
10894 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
10895 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
10896 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
10897 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
10898 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
10899 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
10900 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
10901 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
10902 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
10903 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
10904 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
10905 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
10906 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
10907 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
10908 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
10909 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
10910 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
10911 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
10912 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
10913 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
10914 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
10915 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
10916
65dc3b75
JM
109172012-02-03 Joseph Myers <joseph@codesourcery.com>
10918
10919 * math/tst-CMPLX.c: Include <stdio.h>.
10920
d55bf177
JM
109212012-01-31 Joseph Myers <joseph@codesourcery.com>
10922
10923 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
10924 float.
10925 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
10926 * sysdeps/sparc/bits/mathdef.h: Likewise.
10927
69db4f8f
MP
109282012-01-31 Marek Polacek <polacek@redhat.com>
10929
10930 * libio/libio.h: Don't define _PARAMS.
10931 * locale/programs/config.h: Don't define PARAMS.
10932 * stdlib/strtol_l.c: Likewise.
10933 (__strtol_l): Remove PARAMS from the prototype.
10934
41b81892
UD
109352012-01-31 Ulrich Drepper <drepper@gmail.com>
10936
3b49edc0
UD
10937 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
10938 names. Just use the correct names. Remove unnecessary wrapper
10939 functions.
10940 * malloc/arena.c: Likewise.
10941 * malloc/hooks.c: Likewise.
10942
41b81892
UD
10943 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
10944 ARENA_TEST says not to. Simplify test for creation of a new arena.
10945 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
10946
27a25b6e
UD
109472012-01-30 Ulrich Drepper <drepper@gmail.com>
10948
10949 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
10950 into tail calls.
10951 (update_get_addr): New function.
10952 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
10953 GET_ADDR_MODULE parameter.
10954
c8a89e7d
JM
109552012-01-30 Joseph Myers <joseph@codesourcery.com>
10956
10957 * crypt/cert.c: Remove __STDC__ conditionals.
10958 * crypt/crypt-entry.c: Likewise.
10959 * crypt/crypt_util.c: Likewise.
10960 * libio/filedoalloc.c: Likewise.
10961 * libio/fileops.c: Likewise.
10962 * libio/genops.c: Likewise.
10963 * libio/iofclose.c: Likewise.
10964 * libio/iofdopen.c: Likewise.
10965 * libio/iofopen.c: Likewise.
10966 * libio/iofopen64.c: Likewise.
10967 * libio/iogetdelim.c: Likewise.
10968 * libio/iopopen.c: Likewise.
10969 * libio/obprintf.c: Likewise.
10970 * libio/oldfileops.c: Likewise.
10971 * libio/oldiofclose.c: Likewise.
10972 * libio/oldiofdopen.c: Likewise.
10973 * libio/oldiofopen.c: Likewise.
10974 * libio/oldiopopen.c: Likewise.
10975 * libio/wfiledoalloc.c: Likewise.
10976 * libio/wgenops.c: Likewise.
10977 * locale/programs/xmalloc.c: Likewise.
10978 * misc/syslog.c: Likewise.
10979 * stdio-common/xbug.c: Likewise.
10980 * string/memchr.c: Likewise.
10981 * string/memcmp.c: Likewise.
10982 * string/memrchr.c: Likewise.
10983 * string/rawmemchr.c: Likewise.
10984 * sysdeps/posix/getcwd.c: Likewise.
10985 * time/strftime_l.c: Likewise.
10986
3b100462
JM
109872012-01-30 Joseph Myers <joseph@codesourcery.com>
10988
10989 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
10990 * config.make.in (config-cflags-sse2avx): Define.
10991 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
10992 Fix typo.
10993
607998af
CM
109942012-01-29 Chris Metcalf <cmetcalf@tilera.com>
10995
10996 * scripts/config.guess: Update from upstream config git repository.
10997 * scripts/config.sub: Likewise.
10998
3601428f
CM
109992012-01-28 Chris Metcalf <cmetcalf@tilera.com>
11000
3ac8b282
CM
11001 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
11002 (EM_NUM): Update.
11003 (R_TILEPRO_*, R_TILEGX_*): New macros.
11004
e034841e
CM
11005 * scripts/firstversions.awk: Fix bug in version range handling.
11006
540d7568
CM
11007 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
11008
3601428f
CM
11009 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
11010
463de862
CM
11011 * include/sys/epoll.h: New file.
11012 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
11013 libc_hidden_def.
11014
73139a76
UD
110152012-01-28 Ulrich Drepper <drepper@gmail.com>
11016
96bc5b45
UD
11017 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
11018 Avoid unnecessary __WORDSIZE == 64 test.
11019 (fmaxf): Use VEX format if possible.
11020 (fmax): Likewise.
11021 (fminf): Likewise.
11022 (fmin): Likewise.
11023
56f6f6a2
UD
11024 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
11025 * math/math_private.h: Remove libc_fegetround* and
11026 libc_fesetround*.
11027 * sysdeps/i386/configure.in: Check for -msse2avx.
11028 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
11029 also if SSE2AVX is defined.
11030 Remove libc_fegetround* and libc_fesetround*.
11031 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
11032 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
11033 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
11034 of HAS_YMM_USABLE.
11035 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
11036 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
11037 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
11038 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
11039 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
11040
73139a76
UD
11041 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
11042
d73f93a4
AZ
110432012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11044
11045 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
11046 size is not set.
11047 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
11048
6ee65ed6
UD
110492012-01-27 Ulrich Drepper <drepper@gmail.com>
11050
11051 [BZ #13618]
11052 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
11053 relocation.
11054 * Makeconfig (libm): Define.
11055 * elf/Makefile: Add rules to build and run tst-relsort1.
11056 * elf/tst-relsort1.c: New file.
11057 * elf/tst-relsort1mod1.c: New file.
11058 * elf/tst-relsort1mod2.c: New file.
11059
8db21882
JM
110602012-01-27 Joseph Myers <joseph@codesourcery.com>
11061
11062 * math/s_ldexp.c: Remove __STDC__ conditionals.
11063 * math/s_ldexpf.c: Likewise.
11064 * math/s_ldexpl.c: Likewise.
11065 * math/s_nextafter.c: Likewise.
11066 * math/s_nexttowardf.c: Likewise.
11067 * math/s_significand.c: Likewise.
11068 * math/s_significandf.c: Likewise.
11069 * math/s_significandl.c: Likewise.
11070 * math/w_jnl.c: Likewise.
11071 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
11072 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
11073 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
11074 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
11075 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
11076 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
11077 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
11078 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
11079 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
11080 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
11081 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
11082 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11083 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
11084 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
11085 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
11086 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
11087 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
11088 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
11089 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
11090 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
11091 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
11092 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
11093 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
11094 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
11095 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
11096 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
11097 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
11098 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
11099 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
11100 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
11101 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
11102 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
11103 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
11104 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
11105 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
11106 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
11107 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
11108 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
11109 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
11110 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
11111 * sysdeps/ieee754/k_standard.c: Likewise.
11112 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11113 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
11114 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
11115 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
11116 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
11117 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
11118 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
11119 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
11120 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
11121 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
11122 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
11123 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
11124 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
11125 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
11126 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
11127 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
11128 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
11129 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
11130 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
11131 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
11132 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
11133 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
11134 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
11135 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
11136 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
11137 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
11138 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
11139 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11140 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
11141 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
11142 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
11143 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
11144 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
11145 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
11146 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
11147 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
11148 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
11149 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
11150 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
11151 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
11152 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
11153 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
11154 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
11155 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
11156 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
11157 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
11158 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
11159 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
11160 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
11161 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
11162 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
11163 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
11164 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
11165 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
11166 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
11167 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
11168 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
11169 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
11170 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
11171 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
11172 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
11173 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
11174 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
11175 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
11176 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
11177 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
11178 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
11179 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
11180 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
11181 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
11182 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
11183 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
11184 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
11185 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
11186 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
11187 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
11188 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
11189 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
11190 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
11191 * sysdeps/ieee754/s_matherr.c: Likewise.
11192 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
11193 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
11194 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
11195 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
11196
965a54a4
JM
111972012-01-26 Joseph Myers <joseph@codesourcery.com>
11198
11199 * crypt/md5.h: Remove __STDC__ conditionals.
11200 * libio/libioP.h: Likewise.
11201 * locale/programs/config.h: Likewise.
11202 * sysdeps/generic/sysdep.h: Likewise.
11203 * sysdeps/i386/asm-syntax.h: Likewise.
11204 * sysdeps/s390/asm-syntax.h: Likewise.
11205 * sysdeps/unix/sysdep.h: Likewise.
11206 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
11207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
11208
7071ad79
JM
112092012-01-26 Joseph Myers <joseph@codesourcery.com>
11210
11211 * libio/libio.h: Remove __STDC__ conditionals.
11212 * malloc/obstack.h: Likewise.
11213 * math/complex.h: Likewise.
11214 * math/math.h: Likewise.
11215 * sysdeps/generic/_G_config.h: Likewise.
11216 * sysdeps/gnu/_G_config.h: Likewise.
11217 * sysdeps/mach/hurd/_G_config.h: Likewise.
11218 * sysdeps/powerpc/bits/mathdef.h: Likewise.
11219 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
11220 * sysdeps/sparc/bits/mathdef.h: Likewise.
11221
afc5ed09
UD
112222012-01-26 Ulrich Drepper <drepper@gmail.com>
11223
11224 [BZ #13583]
11225 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 11226 Clean up HAS_* macros.
afc5ed09 11227 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
11228 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
11229 possible.
11230 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
11231 HAS_AVX.
11232 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
11233 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
11234 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
11235 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
11236 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 11237
bdb6de1d
JM
112382012-01-25 Joseph Myers <joseph@codesourcery.com>
11239
11240 * elf/tst-unique3.cc (gets): Remove declaration.
11241 * elf/tst-unique3lib.cc (gets): Likewise.
11242 * elf/tst-unique3lib2.cc (gets): Likewise.
11243 * elf/tst-unique4.cc (gets): Likewise.
11244
b15549e6
UD
112452012-01-24 Ulrich Drepper <drepper@gmail.com>
11246
11247 * include/stdio.h: Add C++ protection. Add gets declarations and
11248 definitions.
11249 * debug/tst-chk1.c: Don't declare gets here.
11250 * stdio-common/tst-gets.c: Likewise.
11251
a037381f
JM
112522012-01-24 Joseph Myers <joseph@codesourcery.com>
11253
11254 * posix/glob: Remove directory.
11255
f1d4aa75
JM
112562012-01-24 Joseph Myers <joseph@codesourcery.com>
11257
11258 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
11259
81c0c964
PT
112602012-01-22 Pino Toscano <toscano.pino@tiscali.it>
11261
11262 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
11263 of the non-standard EPFNOSUPPORT.
11264
0ea698ae
ST
112652011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
11266
11267 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
11268 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
11269 ANYWHERE set to 1 only on KERN_NO_SPACE error.
11270
d220b117
UD
112712012-01-21 Ulrich Drepper <drepper@gmail.com>
11272
11273 * wcsmbs/uchar.h: Test __STDC_VERSION__.
11274
3e1aa84e
UD
112752012-01-20 Ulrich Drepper <drepper@gmail.com>
11276
11277 * nscd/aicache.c (addhstaiX): Do not cache negative results of
11278 transient errors.
11279 * nscd/grpcache.c (cache_addgr): Likewise.
11280 * nscd/hstcache.c (cache_addhst): Likewise.
11281 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11282 * nscd/pwdcache.c (cache_addpw): Likewise.
11283 * nscd/servicescache.c (cache_addserv): Likewise.
11284
400aa020
UD
112852012-01-16 Ulrich Drepper <drepper@gmail.com>
11286
d77e7869
UD
11287 * malloc/malloc.c: Various cleanups.
11288 * malloc/hooks.c: Likewise.
11289
400aa020
UD
11290 * stdlib/Makefile (tests): Add bug-fmtmsg1.
11291 * stdlib/bug-fmtmsg1.c: New file.
11292
11293 * stdlib/fmtmsg.c (init): Add missing unlock.
11294 Patch by Peng Haitao <penght@cn.fujitsu.com>.
11295
e0a309cf
MP
112962012-01-12 Marek Polacek <polacek@redhat.com>
11297
11298 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
11299 and _GNU_SOURCE.
11300
929d11c7
WS
113012012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
11302
11303 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
11304 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
11305 macro to ensure uniqueness of label name.
11306 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
11307 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
11308
41d0e869
UD
113092012-01-11 Ulrich Drepper <drepper@gmail.com>
11310
0cc5ed3b
UD
11311 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
11312
41d0e869
UD
11313 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
11314 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
11315 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
11316 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
11317
a47a831a
UD
113182012-01-10 Ulrich Drepper <drepper@gmail.com>
11319
daa891c0
UD
11320 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
11321
11322 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
11323 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
11324 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
11325
e58ef0f2
UD
11326 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
11327
a47a831a 11328 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
11329 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
11330 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 11331 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
11332
11333 * math/bits/math-finite.h: Add ldexp support.
11334
a0bfc9c7
MP
113352012-01-10 Marek Polacek <polacek@redhat.com>
11336
11337 * locale/programs/localedef.h (show_archive_content): Add noreturn
11338 attribute.
11339
d6e97a1d
UD
113402012-01-09 Ulrich Drepper <drepper@gmail.com>
11341
11342 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
11343
d5835c26
UD
113442012-01-08 Ulrich Drepper <drepper@gmail.com>
11345
e5f484c6
UD
11346 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
11347
d5835c26
UD
11348 * io/Makefile (headers): Add bits/poll2.h.
11349
d1f741e9
WS
113502011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
11351
11352 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
11353 typo #include statement.
11354
ec09c1c4
UD
113552012-01-08 Ulrich Drepper <drepper@gmail.com>
11356
11357 * include/sys/cdefs.h: Define __attribute_alloc_size.
11358 * catgets/gencat.c: Add alloc_size attribute and apply consistently
11359 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
11360 * elf/pldd.c: Likewise.
11361 * iconv/iconv_charmap.c: Likewise.
11362 * iconv/iconvconfig.c: Likewise.
11363 * iconv/strtab.c: Likewise.
11364 * locale/programs/locale.c: Likewise.
11365 * locale/programs/localedef.h: Likewise.
11366 * locale/programs/simple-hash.c: Likewise.
11367 * nscd/nscd.h: Likewise.
11368 * nss/makedb.c: Likewise.
11369 * sysdeps/generic/ldconfig.h: Likewise.
11370 * locale/programs/localedef.c: Remove xmalloc prototype.
11371 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
11372
20b38e03
PP
113732012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
11374
11375 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
11376 appropriate.
11377
a0da5fe1
UD
113782012-01-08 Ulrich Drepper <drepper@gmail.com>
11379
1d5a644a 11380 * math/Makefile (tests): Add tst-CMPLX.
669704fd 11381 * math/tst-CMPLX.c: New file.
1d5a644a 11382
8784a6db
UD
11383 * math/complex.h (CMPLXL): Fix typo.
11384
d9a216c0
UD
11385 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
11386 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
11387 GLIBC_2.16.
11388 * debug/tst-chk1.c: Add poll and ppoll tests.
11389 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
11390 * include/sys/poll.h: Add hidden proto for ppoll.
11391 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
11392 * sysdeps/mach/hurd/ppoll.c: Likewise.
11393 * io/ppoll.c: Likewise.
11394 * debug/poll_chk.c: New file.
11395 * debug/ppoll_chk.c: New file.
11396 * include/bits/poll2.h: New file.
11397 * io/bits/poll2.h: New file.
11398
ac097f5c
UD
11399 [BZ #1350]
11400 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
11401
2119dcfa
UD
11402 * configure.in: static is always set to yes. Remove.
11403 * config.make.in: Don't set build-static.
11404 * Makeconfig: Remove use of build-static.
11405 * dlfcn/Makefile: Likewise.
11406 * elf/Makefile: Likewise.
11407 * math/Makefile: Likewise.
11408 * misc/Makefile: Likewise.
11409 * nptl/Makefile: Likewise.
11410 * sysdeps/mach/hurd/Makefile: Likewise.
11411
121766a9
UD
11412 * configure.in: PWD_P is not used anymore.
11413 * config.make.in: Remove PWD_P entry.
11414
51a1d39c 11415 * configure.in: Remove last remnants of RANLIB.
8720d066 11416 No need to check for signed size_t anymore.
215f4bdc
UD
11417 Don't set libc_commonpagesize and libc_relro_required here for Alpha
11418 and IA-64.
3857022a 11419 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
11420 * aclocal.m4: Likewise.
11421
d3ed7225
UD
11422 * wcsmbs/mbrtoc16.c: Implement using towc function.
11423 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
11424 * wcsmbs/wcsmbsload.c: Likewise.
11425 * iconv/gconv_simple.c: Likewise.
11426 * iconv/gconv_int.h: Likewise.
11427 * iconv/gconv_builtin.h: Likewise.
11428 * iconv/iconv_prog.c: Remove CHAR16 handling.
11429
11430 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
11431
11432 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
11433
a0da5fe1
UD
11434 * configure.in: Remove --with-elf and --enable-bounded options.
11435 Dont set base_machine for ia64. More non-ELF conditions removed.
11436 Remove testing and setting of leading underscore information.
11437 * config.make.in (build-bounded): Set to no.
11438 * config.h.in: Remove NO_UNDERSCORES entry.
11439 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
11440 them.
11441 * csu/start.c: Remove !NO_UNDERSCORE code.
11442 * locale/localeinfo.h: Likewise.
11443 * sysdeps/generic/machine-gmon.h: Likewise.
11444 * sysdeps/generic/sysdep.h: Likewise.
11445 * sysdeps/i386/sysdep.h: Likewise.
11446 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
11447 * sysdeps/mach/sysdep.h: Likewise.
11448 * sysdeps/s390/s390-32/sysdep.h: Likewise.
11449 * sysdeps/s390/s390-64/sysdep.h: Likewise.
11450 * sysdeps/sh/sysdep.h: Likewise.
11451 * sysdeps/sparc/sparc32/alloca.S: Likewise.
11452 * sysdeps/unix/i386/sysdep.S: Likewise.
11453 * sysdeps/unix/sparc/start.c: Likewise.
11454 * sysdeps/unix/sparc/sysdep.S: Likewise.
11455 * sysdeps/unix/sparc/sysdep.h: Likewise.
11456 * sysdeps/unix/start.c: Likewise.
11457 * sysdeps/unix/x86_64/sysdep.S: Likewise.
11458 * sysdeps/x86_64/sysdep.h: Likewise.
11459
df78418a
UD
114602012-01-07 Ulrich Drepper <drepper@gmail.com>
11461
a784e502
UD
11462 [BZ #13553]
11463 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
11464 for non-gcc.
11465 * argp/argp-fmtstream.h: Use const instead __const.
11466 * argp/argp.h: Likewise.
11467 * assert/assert.h: Likewise.
11468 * bits/fenv.h: Likewise.
11469 * bits/sched.h: Likewise.
11470 * bits/sigset.h: Likewise.
11471 * bits/sigthread.h: Likewise.
11472 * catgets/nl_types.h: Likewise.
11473 * conform/data/pthread.h-data: Likewise.
11474 * crypt/crypt-private.h: Likewise.
11475 * crypt/crypt.h: Likewise.
11476 * crypt/crypt_util.c: Likewise.
11477 * ctype/ctype.h: Likewise.
11478 * debug/execinfo.h: Likewise.
11479 * debug/mbsnrtowcs_chk.c: Likewise.
11480 * debug/mbsrtowcs_chk.c: Likewise.
11481 * debug/wcsnrtombs_chk.c: Likewise.
11482 * debug/wcsrtombs_chk.c: Likewise.
11483 * debug/wcstombs_chk.c: Likewise.
11484 * dirent/dirent.h: Likewise.
11485 * dlfcn/dlfcn.h: Likewise.
11486 * elf/neededtest4.c: Likewise.
11487 * grp/grp.h: Likewise.
11488 * gshadow/gshadow.h: Likewise.
11489 * iconv/gconv.h: Likewise.
11490 * iconv/gconv_int.h: Likewise.
11491 * iconv/gconv_simple.c: Likewise.
11492 * iconv/iconv.h: Likewise.
11493 * iconv/loop.c: Likewise.
11494 * iconv/skeleton.c: Likewise.
11495 * include/aio.h: Likewise.
11496 * include/aliases.h: Likewise.
11497 * include/argz.h: Likewise.
11498 * include/arpa/inet.h: Likewise.
11499 * include/assert.h: Likewise.
11500 * include/dirent.h: Likewise.
11501 * include/dlfcn.h: Likewise.
11502 * include/execinfo.h: Likewise.
11503 * include/fcntl.h: Likewise.
11504 * include/fenv.h: Likewise.
11505 * include/glob.h: Likewise.
11506 * include/grp.h: Likewise.
11507 * include/libintl.h: Likewise.
11508 * include/mntent.h: Likewise.
11509 * include/netdb.h: Likewise.
11510 * include/pwd.h: Likewise.
11511 * include/rpc/netdb.h: Likewise.
11512 * include/sched.h: Likewise.
11513 * include/search.h: Likewise.
11514 * include/shadow.h: Likewise.
11515 * include/signal.h: Likewise.
11516 * include/stdio.h: Likewise.
11517 * include/stdlib.h: Likewise.
11518 * include/string.h: Likewise.
11519 * include/sys/socket.h: Likewise.
11520 * include/sys/stat.h: Likewise.
11521 * include/sys/statfs.h: Likewise.
11522 * include/sys/statvfs.h: Likewise.
11523 * include/sys/syslog.h: Likewise.
11524 * include/sys/time.h: Likewise.
11525 * include/sys/uio.h: Likewise.
11526 * include/time.h: Likewise.
11527 * include/unistd.h: Likewise.
11528 * include/utmp.h: Likewise.
11529 * include/wchar.h: Likewise.
11530 * include/wctype.h: Likewise.
11531 * inet/aliases.h: Likewise.
11532 * inet/arpa/inet.h: Likewise.
11533 * inet/netinet/ether.h: Likewise.
11534 * inet/netinet/in.h: Likewise.
11535 * intl/libintl.h: Likewise.
11536 * io/bits/fcntl2.h: Likewise.
11537 * io/fcntl.h: Likewise.
11538 * io/ftw.h: Likewise.
11539 * io/sys/poll.h: Likewise.
11540 * io/sys/stat.h: Likewise.
11541 * io/sys/statfs.h: Likewise.
11542 * io/sys/statvfs.h: Likewise.
11543 * io/utime.h: Likewise.
11544 * libio/bits/stdio.h: Likewise.
11545 * libio/bits/stdio2.h: Likewise.
11546 * libio/libio.h: Likewise.
11547 * libio/libioP.h: Likewise.
11548 * libio/stdio.h: Likewise.
11549 * locale/lc-ctype.c: Likewise.
11550 * locale/locale.h: Likewise.
11551 * login/utmp.h: Likewise.
11552 * malloc/arena.c: Likewise.
11553 * malloc/malloc.c: Likewise.
11554 * malloc/malloc.h: Likewise.
11555 * malloc/mcheck.c: Likewise.
11556 * malloc/mtrace.c: Likewise.
11557 * math/bits/mathcalls.h: Likewise.
11558 * math/fenv.h: Likewise.
11559 * math/math_private.h: Likewise.
11560 * misc/bits/error.h: Likewise.
11561 * misc/bits/syslog.h: Likewise.
11562 * misc/err.h: Likewise.
11563 * misc/error.h: Likewise.
11564 * misc/fstab.h: Likewise.
11565 * misc/mntent.h: Likewise.
11566 * misc/regexp.h: Likewise.
11567 * misc/search.h: Likewise.
11568 * misc/sgtty.h: Likewise.
11569 * misc/sys/mman.h: Likewise.
11570 * misc/sys/syslog.h: Likewise.
11571 * misc/sys/uio.h: Likewise.
11572 * misc/sys/xattr.h: Likewise.
11573 * misc/ttyent.h: Likewise.
11574 * nis/rpcsvc/ypclnt.h: Likewise.
11575 * nss/nss.h: Likewise.
11576 * posix/bits/unistd.h: Likewise.
11577 * posix/fnmatch.h: Likewise.
11578 * posix/glob.h: Likewise.
11579 * posix/sched.h: Likewise.
11580 * posix/spawn.h: Likewise.
11581 * posix/sys/wait.h: Likewise.
11582 * posix/unistd.h: Likewise.
11583 * posix/wordexp.h: Likewise.
11584 * pwd/pwd.h: Likewise.
11585 * resolv/netdb.h: Likewise.
11586 * resource/sys/resource.h: Likewise.
11587 * rt/aio.h: Likewise.
11588 * rt/bits/mqueue2.h: Likewise.
11589 * rt/mqueue.h: Likewise.
11590 * shadow/shadow.h: Likewise.
11591 * signal/signal.h: Likewise.
11592 * socket/send.c: Likewise.
11593 * socket/sendto.c: Likewise.
11594 * socket/sys/socket.h: Likewise.
11595 * stdio-common/printf.h: Likewise.
11596 * stdlib/bits/stdlib.h: Likewise.
11597 * stdlib/fmtmsg.h: Likewise.
11598 * stdlib/monetary.h: Likewise.
11599 * stdlib/stdlib.h: Likewise.
11600 * stdlib/ucontext.h: Likewise.
11601 * streams/stropts.h: Likewise.
11602 * string/argz.h: Likewise.
11603 * string/bits/string2.h: Likewise.
11604 * string/string.h: Likewise.
11605 * string/strings.h: Likewise.
11606 * sunrpc/rpc/auth.h: Likewise.
11607 * sunrpc/rpc/auth_des.h: Likewise.
11608 * sunrpc/rpc/clnt.h: Likewise.
11609 * sunrpc/rpc/netdb.h: Likewise.
11610 * sunrpc/rpc/pmap_clnt.h: Likewise.
11611 * sunrpc/rpc/xdr.h: Likewise.
11612 * sysdeps/generic/inttypes.h: Likewise.
11613 * sysdeps/generic/net/if.h: Likewise.
11614 * sysdeps/generic/sys/swap.h: Likewise.
11615 * sysdeps/gnu/net/if.h: Likewise.
11616 * sysdeps/gnu/utmpx.h: Likewise.
11617 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
11618 * sysdeps/i386/i486/bits/string.h: Likewise.
11619 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
11620 * sysdeps/s390/bits/string.h: Likewise.
11621 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
11622 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
11623 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
11624 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
11625 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
11626 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
11627 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
11628 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
11629 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
11630 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
11631 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
11632 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
11633 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
11634 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
11635 * sysdeps/unix/sysv/linux/readv.c: Likewise.
11636 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
11637 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
11638 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
11639 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
11640 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
11641 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
11642 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
11643 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
11644 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
11645 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
11646 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
11647 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
11648 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
11649 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
11650 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
11651 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
11652 * sysvipc/sys/ipc.h: Likewise.
11653 * sysvipc/sys/msg.h: Likewise.
11654 * sysvipc/sys/sem.h: Likewise.
11655 * sysvipc/sys/shm.h: Likewise.
11656 * termios/termios.h: Likewise.
11657 * time/sys/time.h: Likewise.
11658 * time/time.h: Likewise.
11659 * wcsmbs/bits/wchar2.h: Likewise.
11660 * wcsmbs/uchar.h: Likewise.
11661 * wcsmbs/wchar.h: Likewise.
11662 * wctype/wctype.h: Likewise.
11663
0269750c
UD
11664 [BZ #13551]
11665 * Makeconfig: Remove all but ELF support including AIX support.
11666 * Makerules: Likewise.
11667 * config.h.in: Likewise.
11668 * config.make.in: Likewise.
11669 * configure: Likewise.
11670 * configure.in: Likewise.
11671 * csu/Makefile: Likewise.
11672 * csu/version.c: Likewise.
11673 * debug/Makefile: Likewise.
11674 * dlfcn/Makefile: Likewise.
11675 * elf/Makefile: Likewise.
11676 * extra-lib.mk: Likewise.
11677 * iconv/Makefile: Likewise.
11678 * include/libc-symbols.h: Likewise.
11679 * include/shlib-compat.h: Likewise.
11680 * resolv/Makefile: Likewise.
11681 * resolv/res_libc.c: Likewise.
11682 * rt/Makefile: Likewise.
11683 * sysdeps/i386/asm-syntax.h: Likewise.
11684 * sysdeps/i386/sysdep.h: Likewise.
11685 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
11686 * sysdeps/mach/sysdep.h: Likewise.
11687 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
11688 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
11689 * sysdeps/s390/asm-syntax.h: Likewise.
11690 * sysdeps/s390/s390-32/sysdep.h: Likewise.
11691 * sysdeps/s390/s390-64/sysdep.h: Likewise.
11692 * sysdeps/sh/sysdep.h: Likewise.
11693 * sysdeps/unix/sparc/sysdep.h: Likewise.
11694 * sysdeps/wordsize-32/divdi3.c: Likewise.
11695 * sysdeps/x86_64/sysdep.h: Likewise.
11696
00bbd29b
UD
11697 * argp/Versions: Remove _argp_unlock_xxx.
11698
11699 [BZ #13559]
11700 * abilist/ld.abilist: Update. Adjust for removal of tls option.
11701 * abilist/libBrokenLocale.abilist: Likewise.
11702 * abilist/libanl.abilist: Likewise.
11703 * abilist/libc.abilist: Likewise.
11704 * abilist/libcrypt.abilist: Likewise.
11705 * abilist/libdl.abilist: Likewise.
11706 * abilist/libm.abilist: Likewise.
11707 * abilist/libnsl.abilist: Likewise.
11708 * abilist/libpthread.abilist: Likewise.
11709 * abilist/libresolv.abilist: Likewise.
11710 * abilist/librt.abilist: Likewise.
11711 * abilist/libthread_db.abilist: Likewise.
11712 * abilist/libutil.abilist: Likewise.
11713 * abilist/libnss_db.abilist: New file.
11714
11715 * scripts/abilist.awk: Add support for indirect functions.
11716
a2693a0e
UD
11717 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
11718
3f05895f
UD
11719 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
11720
ecb6fb48
UD
11721 * shlib-versions: Remove entries for ports architectures.
11722
664f8cb9
UD
11723 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
11724 files in ports.
11725 * elf/stackguard-macros.h: Remove support for IA-64.
11726 * elf/tst-auditmod1.c: Likewise.
11727 * sysdeps/generic/ldsodefs.h: Likewise.
11728
7ae81d88
UD
11729 * sysdeps/unix/sysv/linux/configure.in: Ports should define
11730 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
11731 configure files.
11732
bdeba135
UD
11733 [BZ #13552]
11734 * configure.in: Remove --enable-omitfp support.
11735 * FAQ.in: Adjust.
11736 * config.make.in: Likewise.
11737 * Makeconfig: Likewise.
11738 * manual/install.texi: Likewise.
11739
d75a0a62
UD
11740 In case anyone cares, the IA-64 architecture could move to ports.
11741 * sysdeps/ia64/*: Removed.
11742 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 11743 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 11744
dcc9756b
UD
11745 [BZ #13555]
11746 * configure.in: Remove entries for unsupported architectures.
11747
d3761ebc 11748 [BZ #13533]
9954432e
UD
11749 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
11750 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
11751 routines.
11752 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
11753 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
11754 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
11755 fall back to using wcrtomb.
11756 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
11757 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
11758 renaming.
11759 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
11760 * wcsmbs/tst-c16c32-1.c: New file.
11761
11762 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
11763 local variable.
11764
c3a87236
UD
11765 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
11766
28926a1b
UD
11767 * elf/tst-unique3.cc: Add explicit declaration of gets.
11768 * elf/tst-unique3lib.cc: Likewise.
11769 * elf/tst-unique3lib2.cc: Likewise.
11770 * elf/tst-unique4.cc: Likewise.
11771
df78418a
UD
11772 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
11773
8ecd6b2a
JM
117742012-01-06 Joseph Myers <joseph@codesourcery.com>
11775
11776 [BZ #13566]
11777 * assert/assert.h (static_assert): Don't define for C++.
11778 * libio/stdio.h (gets): Do declare for C++ <= C++11.
11779 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
11780
9f115170
UD
117812012-01-03 Ulrich Drepper <drepper@gmail.com>
11782
5e0d0300
UD
11783 * iconv/loop.c (single loop): Fix assertion in storing of
11784 remaining bytes.
11785
9f115170
UD
11786 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
11787
81fb02b0
UD
117882012-01-01 Ulrich Drepper <drepper@gmail.com>
11789
11790 * posix/getconf.c: Update copyright year.
11791 * nss/getent.c: Likewise.
a316c1f6 11792 * nss/makedb.c: Likewise.
81fb02b0
UD
11793 * iconv/iconvconfig.c: Likewise.
11794 * iconv/iconv_prog.c: Likewise.
11795 * elf/ldconfig.c: Likewise.
a316c1f6
UD
11796 * elf/pldd.c: Likewise.
11797 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
11798 * catgets/gencat.c: Likewise.
11799 * csu/version.c: Likewise.
11800 * elf/ldd.bash.in: Likewise.
11801 * elf/sprof.c (print_version): Likewise.
11802 * locale/programs/locale.c: Likewise.
11803 * locale/programs/localedef.c: Likewise.
a316c1f6 11804 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
11805 * nscd/nscd.c (print_version): Likewise.
11806 * debug/xtrace.sh: Likewise.
11807 * malloc/memusage.sh: Likewise.
11808 * malloc/mtrace.pl: Likewise.
11809 * debug/catchsegv.sh: Likewise.
11810
2ba92745
JJ
118112011-12-30 Jakub Jelinek <jakub@redhat.com>
11812
11813 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
11814 pure attribute.
11815
dadebdae
UD
118162011-12-24 Ulrich Drepper <drepper@gmail.com>
11817
d3761ebc 11818 [BZ #13533]
db6af3eb
UD
11819 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
11820 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
11821 transformations.
11822 * iconv/gconv_int.h: Likewise.
11823 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
11824 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
11825 from libc for GLIBC_2.16.
11826 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
11827 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
11828 * wcsmbs/uchar.h: Really define mbstate_t.
11829 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
11830 * wcsmbs/c16rtomb.c: New file.
11831 * wcsmbs/mbrtoc16.c: New file.
11832 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
11833 for C/POSIX locale.
11834 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
11835 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
11836
dadebdae
UD
11837 * wcsmbs/wchar.h: Add missing __restrict.
11838
67371b56
UD
118392011-12-23 Ulrich Drepper <drepper@gmail.com>
11840
74033a25
UD
11841 [BZ #13532]
11842 * time/Makefile (routines): Add timespec_get.
11843 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
11844 * time/time.h: Define TIME_UTC and declare timespec_get. Define
11845 timespec for ISO C11.
11846 * time/timespec_get.c: New file.
11847 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
11848 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
11849
380d7e87
UD
11850 [BZ #13531]
11851 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
11852 * stdlib/stdlib.h: Declare aligned_alloc.
11853 * Versions.def: Add GLIBC_2.16 for libc.
11854 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
11855
4e9e7a35
UD
11856 [BZ 13527]
11857 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
11858 ISO C11.
11859
380d7e87 11860 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
11861 code.
11862
03a71829
UD
11863 [BZ #13528]
11864 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
11865
839e283e
UD
11866 [BZ #13529]
11867 * assert/assert.h (static_assert): Define.
11868
ce5294e2 11869 * version.h: Update for 2.16 development version.
90fa7312 11870
8d44e150 11871 [BZ #13526]
d7809905
UD
11872 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
11873 _ISOC11_SOURCE.
11874
c0da14cd
UD
11875 * version.h (RELEASE): Bump for 2.15 release.
11876 * include/features.h (__GLIBC_MINOR__): Bump to 15.
11877
530a3249
MP
11878 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
11879 Patch by Marek Polacek <mpolacek@redhat.com>.
11880
67371b56
UD
11881 * bits/byteswap.h: Protect long long constants with __extension__.
11882 * sysdeps/i386/bits/byteswap.h: Likewise.
11883 * sysdeps/ia64/bits/byteswap.h: Likewise.
11884 * sysdeps/s390/bits/byteswap.h: Likewise.
11885 * sysdeps/x86_64/bits/byteswap.h: Likewise.
11886
15db4de1
LD
118872011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11888
11889 [BZ #13540]
bbe315ea
LD
11890 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
11891 destination buffer.
15db4de1
LD
11892 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
11893
2b2596b1
MP
118942011-12-23 Marek Polacek <polacek@redhat.com>
11895
11896 * elf/dl-addr.c (determine_info): Add inline keyword.
11897 * elf/tst-auditmod4b.c (check_avx): Likewise.
11898 * elf/tst-auditmod6b.c (check_avx): Likewise.
11899 * elf/tst-auditmod6c.c (check_avx): Likewise.
11900 * elf/tst-auditmod7b.c (check_avx): Likewise.
11901
70c6c246
UD
119022011-12-23 Ulrich Drepper <drepper@gmail.com>
11903
11904 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
11905 !__SSE_MATH__.
11906
c044cf14
LD
119072011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11908
15db4de1 11909 [BZ #13540]
c044cf14
LD
11910 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
11911 processing for last bytes.
11912
6b13d9d9
BH
119132011-08-06 Bruno Haible <bruno@clisp.org>
11914
d455f537
BH
11915 [BZ #13061]
11916 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
11917 U+0385, not to U+1FEE.
11918
6b13d9d9
BH
11919 [BZ #13062]
11920 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
11921 entry for U+00A5 U+0301.
11922
db910efd
UD
119232011-12-22 Ulrich Drepper <drepper@gmail.com>
11924
27deeafc
UD
11925 [BZ #13166]
11926 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
11927 buffer for the output is too small.
11928
aed9d171
UD
11929 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
11930 optimization.
11931
db910efd
UD
11932 [BZ #13185]
11933 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
11934 SSE flags if possible.
11935
2bd779ae
LD
119362011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11937
e7f9dac3 11938 [BZ #13540]
2bd779ae
LD
11939 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
11940 processing for last bytes.
11941
154bfc16
JM
119422011-12-22 Joseph Myers <joseph@codesourcery.com>
11943
11944 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
11945 (syscall-list-default-options, syscall-list-default-condition)
11946 (syscall-list-includes): Define.
11947 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
11948 list of ABIs and options and #if conditions for each ABI. Do not
11949 handle common syscalls between ABIs specially.
11950 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
11951 Remove.
11952 (syscall-list-variants, syscall-list-32bit-options)
11953 (syscall-list-32bit-condition, syscall-list-64bit-options)
11954 (syscall-list-64bit-condition): Define.
11955 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
11956 (syscall-list-variants, syscall-list-32bit-options)
11957 (syscall-list-32bit-condition, syscall-list-64bit-options)
11958 (syscall-list-64bit-condition): Define.
11959 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
11960 Remove.
11961 (syscall-list-variants, syscall-list-32bit-options)
11962 (syscall-list-32bit-condition, syscall-list-64bit-options)
11963 (syscall-list-64bit-condition): Define.
11964 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
11965 Remove.
11966 (syscall-list-variants, syscall-list-32bit-options)
11967 (syscall-list-32bit-condition, syscall-list-64bit-options)
11968 (syscall-list-64bit-condition): Define.
11969
21eaf3a5
UD
119702011-12-22 Ulrich Drepper <drepper@gmail.com>
11971
16c6f992
UD
11972 * locale/iso-639.def: Add brx entry.
11973
41043168
UD
11974 [BZ #13328]
11975 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
11976 Proposed by Mariusz_Cukr <marcukr@op.pl>.
11977
21eaf3a5
UD
11978 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
11979 __feraiseexcept_renamed.
11980
e3a851a2
UD
119812011-12-21 Ulrich Drepper <drepper@gmail.com>
11982
4920765e
UD
11983 [BZ #13538]
11984 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
11985 EPOLLET with unsigned values.
11986 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
11987 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
11988
e3a851a2
UD
11989 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
11990 to large cancellation.
11991 * math/s_cacoshf.c: Likewise.
11992 * math/s_cacoshl.c: Likewise.
11993
b27e24b8
RK
119942011-11-18 Richard B. Kreckel <kreckel@ginac.de>
11995
11996 [BZ #13305]
aebefeee 11997 [BZ #12786]
b27e24b8
RK
11998 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
11999 * math/s_cacoshf.c: Likewise.
12000 * math/s_cacoshl.c: Likewise.
12001
ee190f67
UD
120022011-12-21 Ulrich Drepper <drepper@gmail.com>
12003
12004 [BZ #13439]
12005 * iconv/gconv.h: Define __GCONV_SWAP.
12006 * iconvdata/unicode.c: The swap bit must be stored in __flags.
12007 * iconvdata/utf-16.c: Likewise.
12008 * iconvdata/utf-32.c: Likewise.
12009
707f25df
AS
120102011-12-21 Andreas Schwab <schwab@linux-m68k.org>
12011
12012 [BZ #13524]
12013 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
12014 numerator after shifting it by one limb.
12015
d2daaa1e
RÁE
120162011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
12017
12018 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
12019 under [__USE_EXTERN_INLINES].
12020
a4647e72
UD
120212011-12-17 Ulrich Drepper <drepper@gmail.com>
12022
12023 [BZ #13446]
12024 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
12025
f0b264f1
AZ
120262011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12027
12028 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
12029 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
12030 optimized code.
12031 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
12032 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
12033 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
12034 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
12035 for strncasecmp/strncasecmp_l compilation.
12036 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
12037 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
12038
8ef4f244
MP
120392011-12-08 Marek Polacek <mpolacek@redhat.com>
12040
12041 [BZ #13484]
12042 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
12043 of __asm__.
12044
97ac2654
UD
120452011-12-17 Ulrich Drepper <drepper@gmail.com>
12046
12047 [BZ #13506]
12048 * time/tzfile.c (__tzfile_read): Check values from file header.
12049
91d2a845
WS
120502011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
12051
12052 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
12053 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
12054 * powerpc/powerpc32/dl-start.S: Likewise.
12055 * powerpc/powerpc32/elf/start.S: Likewise.
12056 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
12057 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
12058 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
12059 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
12060 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
12061 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
12062 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
12063 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
12064 * powerpc/powerpc32/fpu/s_round.S: Likewise.
12065 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
12066 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
12067 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
12068 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
12069 * powerpc/powerpc32/memset.S: Likewise.
12070 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
12071 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
12072 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
12073 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
12074 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
12075 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
12076 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
12077 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
12078 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
12079 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
12080 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
12081 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
12082 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
12083
a1267ba1
AZ
120842011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12085
12086 * math/libm-test.inc: Added more nearbyint tests.
12087 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
12088 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
12089 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
12090 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
12091
ad8ac1bd
RL
120922011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
12093
12094 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
12095 FD_CLOEXEC.
12096
1d3e4b61
UD
120972011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12098
12099 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
12100 Add wcscpy-ssse3 wcscpy-c.
12101 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
12102 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
12103 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
12104 * sysdeps/x86_64/wcschr.S: New file.
12105 * sysdeps/x86_64/wcsrchr.S: New file.
12106 * string/test-strcmp.c: Remove checking of wcscmp function for
12107 wrong alignments.
12108 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
12109 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
12110 wcsrchr-sse2 wcsrchr-c.
12111 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
12112 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
12113 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
12114 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
12115 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
12116 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
12117 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
12118 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
12119 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
12120 * wcsmbc/wcschr.c (WCSCHR): New macro.
12121
5b330a2d
UD
121222011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12123
12124 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
12125 * wcsmbs/test-wcsrchr.c: New file.
12126 * string/test-strrchr.c: Add wcsrchr support.
12127 (WIDE): New macro.
12128 * wcsmbs/test-wcscpy.c: New file.
12129 * string/test-strcpy.c: Add wcscpy support.
12130 (WIDE): New macro.
26428b7c 12131
f039c043
UD
121322011-12-10 Ulrich Drepper <drepper@gmail.com>
12133
12134 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
12135 the inner loop.
12136
850fb039
AS
121372011-12-06 Andreas Schwab <schwab@linux-m68k.org>
12138
12139 [BZ #13472]
12140 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
12141
4efbd5cb
UD
121422011-12-04 Ulrich Drepper <drepper@gmail.com>
12143
52ff5dd0 12144 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 12145 Minor optimizations.
52ff5dd0 12146
4efbd5cb
UD
12147 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
12148 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
12149 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
12150
8a426e12
UD
121512011-12-03 Ulrich Drepper <drepper@gmail.com>
12152
aff2453d
UD
12153 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
12154 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
12155 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
12156 for gcc to avoid warnings.
12157 * inet/Makefile (tests): Add tst-checks.
12158 * inet/tst-checks.c: New file.
12159
12160 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
12161 warning.
12162
12163 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
12164 __wmemcmp_sse2.
12165
12166 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
12167 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
12168
8a426e12
UD
12169 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
12170
9bea3473
UD
121712011-12-02 Ulrich Drepper <drepper@gmail.com>
12172
3a965496
UD
12173 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
12174 problem.
12175
9bea3473
UD
12176 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
12177
f101631b
UD
121782011-11-29 Joseph Myers <joseph@codesourcery.com>
12179
12180 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
12181 conditional on GCC version.
12182 (__arch_compare_and_exchange_val_8_acq)
12183 (__arch_compare_and_exchange_val_16_acq)
12184 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
12185 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
12186 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
12187
a98275aa
UD
121882011-12-02 Joseph Myers <joseph@codesourcery.com>
12189
12190 * sysdeps/sh/backtrace.c: New file.
12191
d4cc29a2
AS
121922011-12-02 Andreas Schwab <schwab@redhat.com>
12193
12194 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
12195 parenthesis.
12196
6257af2d
AS
121972011-12-01 Andreas Schwab <schwab@redhat.com>
12198
12199 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
12200 falling back to utime.
12201
b5f44c1a
AS
122022011-11-30 Andreas Schwab <schwab@redhat.com>
12203
12204 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
12205 expectations for float.
12206
f3a6cc0a
AS
122072011-11-29 Andreas Schwab <schwab@redhat.com>
12208
12209 * locale/weight.h (findidx): Add parameter len.
12210 * locale/weightwc.h (findidx): Likewise.
12211 * posix/fnmatch_loop.c (FCT): Adjust caller.
12212 * posix/regcomp.c (build_equiv_class): Likewise.
12213 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
12214 * posix/regexec.c (check_node_accept_bytes): Likewise.
12215 * string/strcoll_l.c (STRCOLL): Likewise.
12216 * string/strxfrm_l.c (STRXFRM): Likewise.
12217
9d65ea3a
UD
122182011-11-17 Ulrich Drepper <drepper@gmail.com>
12219
12220 * Makefile.in: Remove CVSOPT handling.
12221 * configure.in: Remove use of AC_REVISION.
12222 * iconvdata/Makefile (distribute): No need to filter out CVS.
12223 * scripts/list-sources.sh: Remove CVS, subversion and monotone
12224 handling.
12225
5583a086
AS
122262011-11-16 Andreas Schwab <schwab@redhat.com>
12227
12228 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
12229 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
12230 [USE_AS_STRNCASECMP_L]: Likewise.
12231 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
12232 NO_TLS_DIRECT_SEG_REFS.
12233 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
12234 Fix argument offsets for non-PIC.
12235 [USE_AS_STRNCASECMP_L]: Likewise.
12236 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
12237 NO_TLS_DIRECT_SEG_REFS.
12238
d62a8200
UD
122392011-11-15 Ulrich Drepper <drepper@gmail.com>
12240
9d65ea3a 12241 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
12242 O_CLOEXEC.
12243 * locale/loadlocale.c (_nl_load_locale): Likewise.
12244
09f93bd3
AS
122452011-11-15 Andreas Schwab <schwab@redhat.com>
12246
446514f9
AS
12247 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
12248 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
12249 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
12250 (SYSCALL_GETTIME): Set errno on error.
12251
09f93bd3
AS
12252 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
12253 count references to noai6ai_cached.
12254
312be3f9
UD
122552011-11-15 Ulrich Drepper <drepper@gmail.com>
12256
12257 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
12258
12259 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
12260 FD_CLOEXEC for /proc/self/maps.
12261
12262 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
12263 FD_CLOEXEC for /proc/meminfo.
12264
12265 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
12266 gai.conf.
12267
12268 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
12269 FD_CLOEXEC for given file.
12270
12271 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
12272
12273 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
12274 FD_CLOEXEC for /etc/hosts.
12275 (_gethtent): Likewise.
12276
12277 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
12278
12279 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
12280 cancellation and set FD_CLOEXEC for /etc/netgroup.
12281
12282 * nss/nss_files/files-key.c (search): Don't allow cancellation when
12283 reading /etc/publickey.
12284
12285 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
12286 allow cancellation when reading /etc/group.
12287
12288 * nss/nss_files/files-alias.c (internal_setent): Don't allow
12289 cancellation.
12290 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
12291
12292 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
12293 when using data file.
12294
12295 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
12296
12297 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
12298 (write_nis_obj): Use "c" and "e" in fopen.
12299
12300 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
12301
12302 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
12303
12304 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
12305
12306 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
12307
12308 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
12309 locale.alias.
12310
12311 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
12312
12313 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
12314
12315 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
12316
12317 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
12318 file parsing and set FD_CLOEXEC.
12319
82af0fa8
UD
123202011-11-14 Ulrich Drepper <drepper@gmail.com>
12321
12322 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
12323
a5fb313c
AS
123242011-11-14 Andreas Schwab <schwab@redhat.com>
12325
12326 * malloc/arena.c (arena_get2): Don't call reused_arena when
12327 _int_new_arena failed.
12328
6abf3465
UD
123292011-11-14 Ulrich Drepper <drepper@gmail.com>
12330
12331 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
12332 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
12333 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
12334 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
12335 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12336 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
12337 to compile strcasecmp and strncasecmp.
12338 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
12339 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
12340
12341 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
12342
76e3966e
UD
123432011-11-13 Ulrich Drepper <drepper@gmail.com>
12344
12345 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
12346 locale-defines.sym to gen-as-const-headers.
12347 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
12348 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
12349 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
12350 to compile strcasecmp and strncasecmp.
12351 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
12352 strcasecmp_l and strncasecmp_l.
12353 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
12354 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
12355 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
12356 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
12357 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
12358 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
12359 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
12360 * sysdeps/i386/i686/multiarch/strncase.S: New file.
12361 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
12362 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
12363 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
12364
ab26144e
UD
123652011-11-12 Ulrich Drepper <drepper@gmail.com>
12366
7edb22ef
UD
12367 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
12368 result of SYSDEP_GETTIME_CPU to retval.
12369 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
12370 parameter list to macro. Remove trailing semicolon. Adjust users.
12371
9694fc44
UD
12372 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
12373 variable.
12374
8ad89ef8
UD
12375 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
12376 mantissa words.
12377 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
12378
0c822ef9
UD
12379 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
12380 from unused variable.
12381
874e0564
UD
12382 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
12383 DWARF definitions.
12384 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
12385 for assembling.
12386
3a2edc79
UD
12387 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
12388 over namespaces.
12389
f3c2577f
UD
12390 * sunrpc/rpc_prot.c (rejected): Fix case value.
12391
294ce126
UD
12392 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
12393 unsigned long long int to avoid warnings in shift.
12394
5e2b63c6
UD
12395 * posix/regex_internal.c (re_string_reconstruct): Actually use result
12396 of use of trans.
12397 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
12398 variable tmp.
12399
e7f4b08e
UD
12400 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
12401 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
12402 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
12403
ab26144e
UD
12404 * nis/nis_table.c (nis_list): Use variable of correct type for
12405 result of __follow_path call.
12406
8a6d5255
AZ
124072011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12408
12409 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
12410 of math functions ceil, trunc, floor, round, and sqrt, when
12411 avaliable on the platform.
12412 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
12413 name clash.
12414 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
12415 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
12416 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
12417
aaddc98c
MP
124182011-10-30 Marek Polacek <mpolacek@redhat.com>
12419
12420 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
12421 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
12422
95b7042b
RM
124232011-11-11 Roland McGrath <roland@hack.frob.com>
12424
12425 * include/unistd.h: Fix __readlink return type.
12426 Reported by Chris Metcalf <cmetcalf@tilera.com>.
12427
57769839
UD
124282011-11-11 Ulrich Drepper <drepper@gmail.com>
12429
12430 * stdlib/ucontext.h: Undo last change for makecontext.
12431
edc5984d
AS
124322011-11-11 Andreas Schwab <schwab@redhat.com>
12433
98591e58
AS
12434 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
12435
edc5984d
AS
12436 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
12437 * setjmp/setjmp.h: Mark functions as non-leaf.
12438 * setjmp/bits/setjmp2.h: Likewise.
12439 * stdlib/ucontext.h: Likewise.
12440
77cdc054
AS
124412011-11-10 Andreas Schwab <schwab@redhat.com>
12442
12443 * malloc/arena.c (_int_new_arena): Don't increment narenas.
12444 (reused_arena): Don't check arena limit.
12445 (arena_get2): Atomically check arena limit.
12446
fe72eebd
UD
124472011-11-08 Ulrich Drepper <drepper@gmail.com>
12448
5f078c32
UD
12449 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
12450 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
12451
fe72eebd
UD
12452 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
12453 instructions.
12454
ae1bc2fa
AS
124552011-11-07 Andreas Schwab <schwab@redhat.com>
12456
7583a88d
AS
12457 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
12458 handler when locking.
12459
ae1bc2fa
AS
12460 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
12461 Fix size of allocated buffer.
12462
10fb0bfa
AS
124632011-11-04 Andreas Schwab <schwab@redhat.com>
12464
998832a4
AS
12465 [BZ #10103]
12466 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
12467 declarations for long double functions.
12468 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
12469
10fb0bfa
AS
12470 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
12471
3d7ba52b
AS
124722011-11-03 Andreas Schwab <schwab@redhat.com>
12473
a9ae54a1
AS
12474 * nscd/nscd.c (main): Don't start AVC thread until credentials are
12475 installed.
12476
3d7ba52b
AS
12477 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
12478 is disabled.
12479
bc8db248
ST
124802011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
12481
12482 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
12483
45b96dd6
AS
124842011-11-01 Andreas Schwab <schwab@linux-m68k.org>
12485
647776f6
AS
12486 * include/alloca.h (stackinfo_alloca_round): Define.
12487 (extend_alloca): Use it.
12488 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
12489 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
12490 here.
12491
d91a8b93
AS
12492 * scripts/check-local-headers.sh: Ignore libaudit.h.
12493
45b96dd6
AS
12494 * nscd/Makefile (extra-objs): Make recursively expanded.
12495
432d41ce
UD
124962011-11-01 Ulrich Drepper <drepper@gmail.com>
12497
34372fc6
UD
12498 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
12499 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
12500
fadb59f8
UD
12501 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
12502 * posix/tst-rfc3484-2.c: Likewise.
12503 * posix/tst-rfc3484-3.c: Likewise.
12504
78239589
UD
12505 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
12506 process_vm_writev.
12507 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
12508 process_vm_writev.
12509 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
12510 process_vm_writev from libc using GLIBC_2.15 version.
12511
432d41ce
UD
12512 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
12513
02f9c6cf
PP
125142011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
12515
12516 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
12517 stack usage.
12518
3a2c0242
UD
125192011-10-31 Ulrich Drepper <drepper@gmail.com>
12520
f4ec4833
UD
12521 [BZ #13367]
12522 * nss/getent.c (initgroups_keys): Show error message in case no group
12523 names are given.
12524
3a2c0242
UD
12525 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
12526 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
12527 __bump_nl_timestamp.
12528 * nscd/connections (nscd_init): When host database is served open
12529 netlink socket and request notification about configuration changes.
12530 (main_loop_poll): Track netlink file descriptor and bump timestamp
12531 in case data becomes available.
12532 (main_loop_epoll): Likewise.
12533 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
12534 (database_pers_head): Add extra_data fileds.
12535 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
12536 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
12537 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
12538 Adjust caller.
12539 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
12540 in6ai data, call __free_in6ai.
12541 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
12542 Add -DHAVE_NETLINK.
12543 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
12544 interface information. Reuse previous data if netlink timestamp
12545 is not changed.
12546 (__bump_nl_timestamp): New function.
12547 (__free_in6ai): New function.
12548
636064eb
UD
125492011-10-30 Ulrich Drepper <drepper@gmail.com>
12550
12551 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
12552 close_not_cancel_no_status here.
12553 (__check_pf): Reorganize code a bit to not call close twice if OOM.
12554
9beb2334
UD
125552011-10-29 Ulrich Drepper <drepper@gmail.com>
12556
6ef76f3b
UD
12557 [BZ #13276]
12558 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
12559 return value.
12560
0ffc4f3e 12561 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
12562 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
12563 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
12564
cb95113e
UD
125652011-07-03 Andreas Jaeger <aj@suse.de>
12566
12567 [BZ #10709]
12568 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
12569 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
12570 * math/libm-test.inc (sin_test): Add test case.
12571
a1b560ff
UD
125722011-10-29 Ulrich Drepper <drepper@gmail.com>
12573
c9aaface
UD
12574 [BZ #13337]
12575 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
12576 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
12577
d272e7f1
UD
12578 * elf/chroot_canon.c (chroot_canon): Cleanups.
12579
1bc33071
UD
12580 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
12581
1760874d
TJ
12582 [BZ #13335]
12583 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
12584 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
12585
51d91b18
UD
12586 * string/test-strchr.c: Make usable for strchrnul testing.
12587 * string/test-strchrnul.c: New file.
12588 * string/Makefile (strop-tests): Add strchrnul.
12589
a1b560ff 12590 * po/it.po: Update from translation team.
b611fb81 12591 * po/es.po: Likewise.
a1b560ff 12592
a5b81e1f
UD
125932011-10-28 Ulrich Drepper <drepper@gmail.com>
12594
fd52bc6d
UD
12595 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
12596 the three constants needed as parameters. Drop the others.
12597 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
12598 __m128i_strloadu_tolower.
52e4b9eb
UD
12599 Create and initialize variable zero and use it in all the places
12600 where _mm_setzero_si128 was used.
fd52bc6d 12601
a5b81e1f
UD
12602 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
12603 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
12604 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
12605 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
12606 anymore.
12607 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
12608 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
12609 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
12610 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
12611 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
12612 __mpranred, __mptan.
12613 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
12614 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
12615 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
12616 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
12617 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
12618 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
12619 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
12620 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
12621 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
12622
b4343346
AS
126232011-10-28 Andreas Schwab <schwab@redhat.com>
12624
0c92d8a8
AS
12625 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
12626 redefine if SHARED.
12627 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
12628
b4343346
AS
12629 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
12630 wide char related routines to wcsmbs subdir.
12631
3871f58f
AS
126322011-10-27 Andreas Schwab <schwab@redhat.com>
12633
12634 [BZ #13344]
12635 * misc/sys/cdefs.h (__THROWNL): Define.
12636 * posix/unistd.h: Use __THREADNL instead of __THREAD
12637 for memory synchronization functions.
12638
94d44d9f
RM
126392011-10-26 Roland McGrath <roland@hack.frob.com>
12640
21b64b15 12641 [BZ #13349]
94d44d9f
RM
12642 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
12643 doesn't exist.
12644 * manual/stdio.texi (Obstack Streams): Node removed.
12645
f6ce9294
AS
126462011-10-26 Andreas Schwab <schwab@redhat.com>
12647
80479147
AS
12648 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
12649 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
12650 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
12651
f6ce9294
AS
12652 * math/math_private.h (math_force_eval): Allow non-addressable
12653 arguments.
12654 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
12655
618280a1
UD
126562011-10-25 Ulrich Drepper <drepper@gmail.com>
12657
e0016b11
UD
12658 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
12659 file is not needed.
12660
12661 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
12662 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
12663 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
12664 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
12665 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
12666 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
12667 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
12668 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
12669 Add AVX variants.
12670 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
12671 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
12672 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
12673 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
12674 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
12675 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
12676 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
12677 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
12678 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
12679 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
12680 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
12681 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
12682 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
12683 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
12684 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
12685 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
12686 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
12687 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
12688 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
12689
12690 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
12691 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
12692
618280a1
UD
12693 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
12694 place. Use VEX encoding when compiling for AVX.
12695
37822576
AS
126962011-10-25 Andreas Schwab <schwab@redhat.com>
12697
1f1e1947
AS
12698 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
12699 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
12700
37822576
AS
12701 * string/test-strchr.c (do_test): Don't generate NUL bytes.
12702
31ea014d
UD
127032011-10-25 Ulrich Drepper <drepper@gmail.com>
12704
d7826aa1 12705 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 12706 useless if() expression.
d7826aa1
UD
12707 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
12708 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
12709 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12710 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12711 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12712 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
12713 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
12714 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
12715 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
12716 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
12717 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
12718 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
12719 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
12720 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
12721 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
12722 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
12723 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
12724 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
12725 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
12726
31ea014d
UD
12727 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
12728
16437fec
AS
127292011-10-25 Andreas Schwab <schwab@redhat.com>
12730
12731 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
12732 condition.
12733 * elf/dl-fini.c (_dl_sort_fini): Likewise.
12734
31d3cc00
UD
127352011-10-25 Ulrich Drepper <drepper@gmail.com>
12736
12737 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
12738 .text section. Avoid duplicate constants.
12739 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
12740 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12741 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
12742 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12743 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12744 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12745 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12746 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12747 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
12748 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
12749 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
12750 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
12751 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
12752 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
12753 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
12754 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
12755 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
12756 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
12757 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12758 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12759 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
12760 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
12761 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
12762 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
12763 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
12764 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
12765 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
12766 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
12767 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
12768 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
12769 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
12770 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
12771 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
12772 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
12773 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
12774 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
12775 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
12776 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
12777 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
12778 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
12779 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
12780 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
12781 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
12782 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
12783 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
12784
58985aa9
UD
127852011-10-24 Ulrich Drepper <drepper@gmail.com>
12786
202c9deb
UD
12787 * sysdeps/x86_64/dla.h: Move to ...
12788 * sysdeps/x86_64/fpu/dla.h: ...here.
12789 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
12790 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 12791
af968f62
UD
12792 * config.make.in: Add have-mfma4 entry.
12793 * configure.in: Substitute libc_cv_cc_fma4.
12794 * math/Makefile (dbl-only-routines): Add sincostab.
12795 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
12796 Use __sincostab not sincos.
12797 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
12798 name is a macro.
12799 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12800 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12801 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12802 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
12803 using __copysign.
12804 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
12805 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
12806 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
12807 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
12808 and __inv.
12809 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
12810 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
12811 __copysign.
12812 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
12813 define aliases when function name is a macro.
12814 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
12815 sysdeps/ieee754/dbl-64/sincos.tbl.
12816 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
12817 fma4-enabled routines.
12818 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
12819 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
12820 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
12821 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
12822 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
12823 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
12824 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
12825 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
12826 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
12827 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
12828 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
12829 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
12830 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
12831 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
12832 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
12833 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
12834 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
12835 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
12836 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
12837 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
12838 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
12839 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
12840 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
12841 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
12842 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
12843 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
12844 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
12845 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
12846 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
12847 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
12848
58985aa9
UD
12849 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
12850 rename.
12851 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12852 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12853 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12854 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12855 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12856 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12857 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12858 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12859
a201fbcf
AS
128602011-10-24 Andreas Schwab <schwab@redhat.com>
12861
12862 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
12863
fc2ee42a
LD
128642011-10-23 Ulrich Drepper <drepper@gmail.com>
12865
bb3129bd
UD
12866 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
12867
0275fff8
UD
12868 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
12869 prediction.
12870 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
12871
2fa2ae85
UD
12872 * string/strnlen.c: Don't define STRNLEN, reverse logic.
12873 Remove unused variable magic_bits.
12874 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
12875
fc2ee42a
LD
12876 * string/strnlen.c: Define and use STRNLEN macro.
12877 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
12878 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
12879 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
12880 * wcsmbs/wcslen.c: Define and use WCSLEN.
12881 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
12882 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
12883 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
12884 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
12885 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
12886 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
12887 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
12888
ce7dd29f
LD
128892011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12890
12891 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12892 strnlen-sse2-no-bsf.
12893 Rename strlen-no-bsf to strlen-sse2-no-bsf.
12894 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
12895 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
12896 Add strnlen support.
12897 (USE_AS_STRNLEN): New macro.
12898 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
12899 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
12900 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
12901 * sysdeps/x86_64/wcslen.S: New file.
12902
979c70a3
MZ
129032011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
12904
12905 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
12906 XMM-moves are used for copying on small sizes.
12907
2d09f82f
LD
129082011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12909
12910 * wcsmbs/Makefile (strop-tests): Add wcschr.
12911 * wcsmbs/test-wcschr.c: New file.
12912 * string/test-strchr.c: Update.
12913 Add wcschr support.
12914 (WIDE): New macro.
12915
619fccca
LD
129162011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12917
2d09f82f 12918 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
12919 * wcsmbs/test-wcslen.c: New file.
12920 * string/test-strlen.c: Update.
12921 Add wcslen support.
12922 (WIDE): New macro.
12923
09f699ea
UD
129242011-10-23 Ulrich Drepper <drepper@gmail.com>
12925
12926 * po/it.po: Update from translation team.
12927
95584d3b
LD
129282011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12929
12930 * sysdeps/x86_64/wcscmp.S: Update.
12931 Fix wrong comparison semantics.
12932 wcscmp shall use signed comparison not unsigned.
12933 Don't use substraction to avoid overflow bug.
12934 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
12935 * wcsmbc/wcscmp.c: Likewise.
12936 * string/test-strcmp.c: Likewise.
12937 Add new tests to check cases with negative values.
12938
c8b3296b
UD
129392011-10-23 Ulrich Drepper <drepper@gmail.com>
12940
12941 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
12942 * sysdeps/x86_64/dla.h: ...here. New file.
12943 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
12944 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12945 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12946 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12947 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12948 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12949 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12950 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12951 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12952
246ad57a
AS
129532011-10-23 Andreas Schwab <schwab@linux-m68k.org>
12954
12955 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
12956 __ynl_finite aliases.
12957
a1a87169
UD
129582011-10-22 Ulrich Drepper <drepper@gmail.com>
12959
0d355eb7
UD
12960 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12961
a1a87169
UD
12962 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
12963 define DLA_FMA.
12964 [DLA_FMA] (EMULV): Use DLA_FMA.
12965 [DLA_FMA] (MUL12): Use EMULV.
12966 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
12967 that are not needed.
12968 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12969 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12970 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12971 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12972 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12973 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12974 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12975
ee2aafe0
AS
129762011-10-22 Andreas Schwab <schwab@linux-m68k.org>
12977
12978 * math/s_nan.c: Undef __nan.
12979 * math/s_nanf.c: Undef __nanf.
12980 * math/s_nanl.c: Undef __nanl.
12981 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
12982 "math_private.h".
12983
bc62c2fb
UD
129842011-10-22 Ulrich Drepper <drepper@gmail.com>
12985
77425c63
UD
12986 * math/s_catan.c: Add branch predictions.
12987 * math/s_catanf.c: Likewise.
12988 * math/s_catanh.c: Likewise.
12989 * math/s_catanhf.c: Likewise.
12990 * math/s_catanhl.c: Likewise.
12991 * math/s_catanl.c: Likewise.
12992 * math/s_cexp.c: Likewise.
12993 * math/s_cexpf.c: Likewise.
12994 * math/s_cexpl.c: Likewise.
12995 * math/s_clog.c: Likewise.
12996 * math/s_clog10.c: Likewise.
12997 * math/s_clog10f.c: Likewise.
12998 * math/s_clog10l.c: Likewise.
12999 * math/s_clogf.c: Likewise.
13000 * math/s_clogl.c: Likewise.
13001 * math/s_csqrt.c: Likewise.
13002 * math/s_csqrtf.c: Likewise.
13003 * math/s_csqrtl.c: Likewise.
13004 * math/s_ctanf.c: Likewise.
13005 * math/s_ctanh.c: Likewise.
13006 * math/s_ctanhf.c: Likewise.
13007 * math/s_ctanhl.c: Likewise.
13008 * math/s_ctanl.c: Likewise.
13009
bc62c2fb
UD
13010 * math/math_private.h: Define __nan, __nanf, __nanl.
13011 * math/s_cacosh.c: Include <math_private.h>.
13012 * math/s_cacoshl.c: Likewise.
13013 * math/s_casinh.c: Likewise.
13014 * math/s_casinhf.c: Likewise.
13015 * math/s_casinhl.c: Likewise.
13016 * math/s_ccos.c: Rely entire on ccosh.
13017 * math/s_ccosf.c: Rely entire on ccoshf.
13018 * math/s_ccosl.c: Rely entirely on ccoshl.
13019 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
13020 Remove tests for FE_INVALID.
13021 * math/s_ccoshf.c: Likewise.
13022 * math/s_ccoshl.c: Likewise.
13023 * math/s_csin.c: Likewise.
13024 * math/s_csinf.c: Likewise.
13025 * math/s_csinh.c Likewise.
13026 * math/s_csinhf.c: Likewise.
13027 * math/s_csinhl.c: Likewise.
13028 * math/s_csinl.c: Likewise.
13029 * math/s_ctan.c: Likewise.
13030 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
13031 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
13032 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
13033
8ec250a4
UD
130342011-10-21 Ulrich Drepper <drepper@gmail.com>
13035
c196fed8
UD
13036 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
13037 compilation problems.
13038
8ec250a4
UD
13039 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
13040 __builtin_expect.
13041
8d4f46c6
UD
130422011-10-20 Ulrich Drepper <drepper@gmail.com>
13043
ed72b654
UD
13044 * sysdeps/i386/configure.in: Test for -mfma4 option.
13045 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
13046 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
13047 COMMON_CPUID_INDEX_80000001.
13048 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
13049 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
13050 use it if FMA3 is not supported.
13051 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
13052
8d4f46c6
UD
13053 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
13054 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
13055
d45c60c2
AS
130562011-10-20 Andreas Schwab <schwab@redhat.com>
13057
13058 [BZ #12892]
13059 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
13060 it would create a cycle with a link time dependency.
13061
d9a4d2ab
UD
130622011-10-19 Ulrich Drepper <drepper@gmail.com>
13063
855d1560
UD
13064 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
13065 instruction.
13066 * string/Makefile (strop-tests): Add rawmemchr.
13067 * string/test-rawmemchr.c: New file.
13068
d9a4d2ab
UD
13069 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
13070 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
13071 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
13072 when compiling str{,n}casecmp and when AVX is available. Hook up
13073 new optimized code in initializers.
13074
8f3b1ffe
AS
130752011-10-19 Andreas Schwab <schwab@redhat.com>
13076
13077 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
13078 __feraiseexcept instead of feraiseexcept.
13079
d38f1dba
UD
130802011-10-18 Ulrich Drepper <drepper@gmail.com>
13081
d9a8d0ab
UD
13082 * math/math_private.h: Define defaults for libc_fetestexcept and
13083 libc_feupdateenv.
13084 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
13085 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
13086 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
13087 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
13088 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
13089 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
13090 libc_fetestexcept and libc_feupdateenv.
13091
4855e3dd
UD
13092 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
13093 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
13094 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
13095 * sysdeps/x86_64/fpu/math_private.h: Define special version of
13096 libc_feholdexcept_setround.
13097
581d30e3
UD
13098 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
13099 Add s_nearbyint-c and s_nearbyintf-c.
13100 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
13101 nearbyintf inlines.
13102 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
13103 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
13104 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
13105 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
13106
d38f1dba
UD
13107 * math/math_private.h: Define defaults for libc_fegetround,
13108 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
13109 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
13110 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
13111 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
13112 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
13113 standard functions.
13114 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13115 Remove comments and hacks for old compiler versions.
13116 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
13117 libc_fegetround, libc_fesetround, libc_feholdexcept, and
13118 libc_feholdexceptl.
13119
caa6c9d8
AS
131202011-10-18 Andreas Schwab <schwab@redhat.com>
13121
13122 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
13123 (__feraiseexcept_renamed): Add __NTH.
13124 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
13125 namespace violations.
13126
97c066e6
UD
131272011-10-17 Ulrich Drepper <drepper@gmail.com>
13128
99ce7b04
UD
13129 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
13130
1004d182
UD
13131 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
13132
228a984d
UD
13133 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
13134 recently added interfaces.
13135 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
13136
c8553a6a
UD
13137 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
13138 about macro parameter expansion.
13139
ed22dcf6
UD
13140 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
13141 __NO_MATH_INLINES is defined. Cleanups.
13142
13143 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
13144 and __floorf is target has SSE4.1.
13145 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
13146 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
13147 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
13148 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
13149
b171c137
UD
13150 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
13151 name.
13152 (floorf): Likewise.
13153
97c066e6
UD
13154 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
13155
629f62ef
AS
131562011-10-17 Andreas Schwab <schwab@redhat.com>
13157
49a43d80
AS
13158 * misc/sys/cdefs.h: Fix last change.
13159
629f62ef
AS
13160 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
13161 database lookup.
13162
e453f6cd
UD
131632011-10-16 Ulrich Drepper <drepper@gmail.com>
13164
aa78043a
UD
13165 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
13166
ad0f5cad
UD
13167 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
13168 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13169 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
13170 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
13171 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13172 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
13173 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
13174 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
13175 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
13176 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
13177 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
13178 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
13179 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
13180 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
13181 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
13182 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
13183 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
13184 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
13185 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
13186 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
13187 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
13188 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
13189
13190 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
13191 ceil, ceilf, floor, floorf.
13192
13193 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
13194 Perform IRELATIVE relocations last.
13195
e453f6cd
UD
13196 * elf/do-rel.h: Add another parameter nrelative, replacing the
13197 local variable with the same name. Change name of the function
13198 to end in Rel or Rela (uppercase).
13199 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
13200 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
13201 elf_dynamic_do_##reloc function.
13202
fd5bdc09
UD
132032011-10-15 Ulrich Drepper <drepper@gmail.com>
13204
79b195b5
UD
13205 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
13206 is sufficient, at least on modern CPUs.
13207
d4a28569
UD
13208 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
13209
b61099b5
UD
13210 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
13211 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
13212
bcf01e6d
UD
13213 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
13214 __expl_finite.
13215 * math/bits/math-finite.h: Add entries for exp.
13216 * math/e_expl.c: Add __*_finite alias.
13217 * sysdeps/i386/fpu/e_exp.S: Likewise.
13218 * sysdeps/i386/fpu/e_expf.S: Likewise.
13219 * sysdeps/i386/fpu/e_expl.c: Likewise.
13220 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13221 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
13222 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13223 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
13224 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
13225 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
13226 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
13227
ba1a0d59
UD
13228 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
13229 is sufficient, at least on modern CPUs.
13230
fd5bdc09
UD
13231 * ctype/ctype-info.c (__ctype_init): Define.
13232 * include/ctype.h (__ctype_init): Declare.
13233 (__ctype_b_loc): The variable is always initialized.
13234 (__ctype_toupper_loc): Likewise.
13235 (__ctype_tolower_loc): Likewise.
13236 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
13237 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
13238
7872cfb0
AS
132392011-10-15 Andreas Schwab <schwab@linux-m68k.org>
13240
b468825a
AS
13241 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
13242
7872cfb0
AS
13243 * configure.in: Also look in $cxxmachine/include for C++ system
13244 headers.
13245
be13f7bf
LD
132462011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13247
13248 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
13249 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
13250 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
13251 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
13252 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
13253 (USE_AS_WMEMCMP): New macro.
13254 Fixing indents.
13255 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
13256 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
13257 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
13258 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
13259 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13260 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
13261 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
13262 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
13263 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
13264 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
13265 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
13266 (USE_AS_WMEMCMP): New macro.
13267 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
13268 * sysdeps/string/test-memcmp.c: Update.
13269 Fix simple_wmemcmp.
13270 Add new tests.
13271 * wcsmbs/wmemcmp.c: Update.
13272 (WMEMCMP): New macro.
13273 Fix overflow bug.
13274
556a2007
AJ
132752011-10-12 Andreas Jaeger <aj@suse.de>
13276
13277 [BZ #13268]
13278 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
13279
538faaa7
UD
132802011-10-15 Ulrich Drepper <drepper@gmail.com>
13281
ab6737ff
UD
13282 * libio/iofwide.c (do_length): Avoid warning.
13283
538faaa7
UD
13284 * ctype/ctype.h (__isctype_f): Add missing __THROW.
13285
396a21b1
UD
132862011-10-14 Ulrich Drepper <drepper@gmail.com>
13287
cdf2901f
UD
13288 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
13289
38ad40ce
UD
13290 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
13291 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
13292 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
13293 * sysdeps/i386/i686/fpu/e_log.S: New file.
13294 * sysdeps/i386/i686/fpu/e_logf.S: New file.
13295 * sysdeps/i386/i686/fpu/e_logl.S: New file.
13296
396a21b1
UD
13297 * ctype/ctype.h: Add support for inlined isXXX functions when
13298 compiling C++ code.
13299
6b1f68c9
AS
133002011-10-14 Andreas Schwab <schwab@redhat.com>
13301
349290c0
AS
13302 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
13303
6b1f68c9
AS
13304 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
13305
f2282d42
RM
133062011-10-13 Roland McGrath <roland@hack.frob.com>
13307
13308 [BZ #13291]
13309 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
13310
5298ffa8
AS
133112011-10-13 Andreas Schwab <schwab@redhat.com>
13312
714fad23
AS
13313 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
13314 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
13315 feraiseexcept.
13316
81dcc7fb
AS
13317 * sysdeps/x86_64/memrchr.S: Check for zero size.
13318
5298ffa8
AS
13319 * string/stratcliff.c: Add memrchr tests.
13320
951fbcec
LD
133212011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13322
13323 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13324 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
13325 rawmemchr-sse2 rawmemchr-sse2-bsf.
13326 * sysdeps/i386/i686/multiarch/memchr.S: New file.
13327 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
13328 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
13329 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
13330 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
13331 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
13332 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
13333 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
13334 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
13335 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
13336 * string/memrchr.c (MEMRCHR): New macro.
13337
0ac5ae23
UD
133382011-10-12 Ulrich Drepper <drepper@gmail.com>
13339
13340 Add integration with gcc's -ffinite-math-only and optimize wrapper
13341 functions in libm.
13342 * Versions.def: Define GLIBC_2.15 version for libm.
13343 * math/Makefile (headers): Add bits/math-finite.h.
13344 * math/bits/math-finite.h: New file.
13345 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
13346 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
13347 * math/e_acoshl.c: Add __*_finite alias.
13348 * math/e_acosl.c: Likewise.
13349 * math/e_asinl.c: Likewise.
13350 * math/e_atan2l.c: Likewise.
13351 * math/e_atanhl.c: Likewise.
13352 * math/e_coshl.c: Likewise.
13353 * math/e_exp10.c: Likewise.
13354 * math/e_exp10f.c: Likewise.
13355 * math/e_exp10l.c: Likewise.
13356 * math/e_exp2l.c: Likewise.
13357 * math/e_fmodl.c: Likewise.
13358 * math/e_gammal_r.c: Likewise.
13359 * math/e_hypotl.c: Likewise.
13360 * math/e_j0l.c: Likewise.
13361 * math/e_j1l.c: Likewise.
13362 * math/e_jnl.c: Likewise.
13363 * math/e_lgammal_r.c: Likewise.
13364 * math/e_log10l.c: Likewise.
13365 * math/e_log2l.c: Likewise.
13366 * math/e_logl.c: Likewise.
13367 * math/e_powl.c: Likewise.
13368 * math/e_sinhl.c: Likewise.
13369 * math/e_sqrtl.c: Likewise.
13370 * math/e_scalb.c: Completely rewritten and optimized.
13371 * math/e_scalbf.c: Likewise.
13372 * math/e_scalbl.c: Likewise.
13373 * math/w_acos.c: Likewise.
13374 * math/w_acosf.c: Likewise.
13375 * math/w_acosl.c: Likewise.
13376 * math/w_acosh.c: Likewise.
13377 * math/w_acoshf.c: Likewise.
13378 * math/w_acoshl.c: Likewise.
13379 * math/w_asin.c: Likewise.
13380 * math/w_asinf.c: Likewise.
13381 * math/w_asinl.c: Likewise.
13382 * math/w_atan2.c: Likewise.
13383 * math/w_atan2f.c: Likewise.
13384 * math/w_atan2l.c: Likewise.
13385 * math/w_atanh.c: Likewise.
13386 * math/w_atanhf.c: Likewise.
13387 * math/w_atanhl.c: Likewise.
13388 * math/w_exp10.c: Likewise.
13389 * math/w_exp10f.c: Likewise.
13390 * math/w_exp10l.c: Likewise.
13391 * math/w_fmod.c: Likewise.
13392 * math/w_fmodf.c: Likewise.
13393 * math/w_fmodl.c: Likewise.
13394 * math/w_j0.c: Likewise.
13395 * math/w_j0f.c: Likewise.
13396 * math/w_j0l.c: Likewise.
13397 * math/w_j1.c: Likewise.
13398 * math/w_j1f.c: Likewise.
13399 * math/w_j1l.c: Likewise.
13400 * math/w_jn.c: Likewise.
13401 * math/w_jnf.c: Likewise.
13402 * math/w_log.c: Likewise.
13403 * math/w_logf.c: Likewise.
13404 * math/w_logl.c: Likewise.
13405 * math/w_log10.c: Likewise.
13406 * math/w_log10f.c: Likewise.
13407 * math/w_log10l.c: Likewise.
13408 * math/w_log2.c: Likewise.
13409 * math/w_log2f.c: Likewise.
13410 * math/w_log2l.c: Likewise.
13411 * math/w_pow.c: Likewise.
13412 * math/w_powf.c: Likewise.
13413 * math/w_powl.c: Likewise.
13414 * math/w_remainder.c: Likewise.
13415 * math/w_remainderf.c: Likewise.
13416 * math/w_remainderl.c: Likewise.
13417 * math/w_scalb.c: Likewise.
13418 * math/w_scalbf.c: Likewise.
13419 * math/w_scalbl.c: Likewise.
13420 * math/w_sqrt.c: Likewise.
13421 * math/w_sqrtf.c: Likewise.
13422 * math/w_sqrtl.c: Likewise.
13423 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
13424 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
13425 used.
13426 * math/math_private.h: Declare __kernel_standard_f.
13427 * math/w_cosh.c: Remove cruft and optimize a bit.
13428 * math/w_coshf.c: Likewise.
13429 * math/w_coshl.c: Likewise.
13430 * math/w_exp2.c: Likewise.
13431 * math/w_exp2f.c: Likewise.
13432 * math/w_exp2l.c: Likewise.
13433 * math/w_hypot.c: Likewise.
13434 * math/w_hypotf.c: Likewise.
13435 * math/w_hypotl.c: Likewise.
13436 * math/w_lgamma.c: Likewise.
13437 * math/w_lgamma_r.c: Likewise.
13438 * math/w_lgammaf.c: Likewise.
13439 * math/w_lgammaf_r.c: Likewise.
13440 * math/w_lgammal.c: Likewise.
13441 * math/w_lgammal_r.c: Likewise.
13442 * math/w_sinh.c: Likewise.
13443 * math/w_sinhf.c: Likewise.
13444 * math/w_sinhl.c: Likewise.
13445 * math/w_tgamma.c: Likewise.
13446 * math/w_tgammaf.c: Likewise.
13447 * math/w_tgammal.c: Likewise.
13448 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
13449 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13450 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
13451 Minor optimizations. Pretty printing. Remove cruft.
13452 * sysdeps/i386/fpu/e_acosf.S: Likewise.
13453 * sysdeps/i386/fpu/e_acosh.S: Likewise.
13454 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
13455 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
13456 * sysdeps/i386/fpu/e_acosl.c: Likewise.
13457 * sysdeps/i386/fpu/e_asin.S: Likewise.
13458 * sysdeps/i386/fpu/e_asinf.S: Likewise.
13459 * sysdeps/i386/fpu/e_atan2.S: Likewise.
13460 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
13461 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
13462 * sysdeps/i386/fpu/e_atanh.S: Likewise.
13463 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
13464 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
13465 * sysdeps/i386/fpu/e_exp10.S: Likewise.
13466 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
13467 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
13468 * sysdeps/i386/fpu/e_exp2.S: Likewise.
13469 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
13470 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
13471 * sysdeps/i386/fpu/e_fmod.S: Likewise.
13472 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
13473 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
13474 * sysdeps/i386/fpu/e_hypot.S: Likewise.
13475 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
13476 * sysdeps/i386/fpu/e_log.S: Likewise.
13477 * sysdeps/i386/fpu/e_log10.S: Likewise.
13478 * sysdeps/i386/fpu/e_log10f.S: Likewise.
13479 * sysdeps/i386/fpu/e_log10l.S: Likewise.
13480 * sysdeps/i386/fpu/e_log2.S: Likewise.
13481 * sysdeps/i386/fpu/e_log2f.S: Likewise.
13482 * sysdeps/i386/fpu/e_log2l.S: Likewise.
13483 * sysdeps/i386/fpu/e_logf.S: Likewise.
13484 * sysdeps/i386/fpu/e_logl.S: Likewise.
13485 * sysdeps/i386/fpu/e_pow.S: Likewise.
13486 * sysdeps/i386/fpu/e_powf.S: Likewise.
13487 * sysdeps/i386/fpu/e_powl.S: Likewise.
13488 * sysdeps/i386/fpu/e_remainder.S: Likewise.
13489 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
13490 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
13491 * sysdeps/i386/fpu/e_scalb.S: Likewise.
13492 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
13493 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
13494 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
13495 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
13496 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
13497 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
13498 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13499 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13500 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
13501 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13502 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
13503 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
13504 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
13505 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13506 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13507 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13508 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
13509 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13510 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
13511 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
13512 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13513 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13514 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
13515 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13516 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13517 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
13518 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
13519 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
13520 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
13521 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
13522 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
13523 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
13524 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
13525 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
13526 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
13527 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
13528 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
13529 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13530 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
13531 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
13532 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
13533 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
13534 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
13535 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
13536 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
13537 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
13538 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
13539 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
13540 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
13541 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
13542 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
13543 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
13544 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
13545 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
13546 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
13547 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
13548 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
13549 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
13550 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13551 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
13552 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
13553 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
13554 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
13555 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
13556 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
13557 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
13558 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
13559 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
13560 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
13561 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
13562 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
13563 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
13564 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
13565 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
13566 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
13567 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
13568 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
13569 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
13570 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
13571 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
13572 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
13573 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
13574 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
13575 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
13576 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
13577 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
13578 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
13579 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
13580 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
13581 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
13582 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
13583 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
13584 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
13585 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
13586 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
13587 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
13588 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
13589 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
13590 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
13591 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
13592 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
13593 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
13594 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
13595 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
13596 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
13597 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
13598 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
13599 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
13600 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
13601 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
13602 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
13603 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
13604 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
13605 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
13606 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
13607 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
13608 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
13609 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
13610 (__isnanf): Likewise.
13611 (__isinf_ns): Likewise.
13612 (__isinf_nsf): Likewise.
13613 (__finite): Likewise.
13614 (__finitef): Likewise.
13615 (__ieee754_sqrt): Define as macro.
13616 (__ieee754_sqrtf): Define as macro.
13617 (__ieee754_sqrtl): Define as macro.
13618 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
13619 inlined copy.
13620 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
13621 __FINITE_MATH_ONLY__ consistent.
13622 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
13623
12cc2fcd
AS
136242011-10-10 Andreas Schwab <schwab@linux-m68k.org>
13625
a843a204
AS
13626 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
13627 of rawmemchr.
13628
12cc2fcd
AS
13629 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
13630
c853acd5
UD
136312011-10-09 Ulrich Drepper <drepper@gmail.com>
13632
13633 * po/ja.po: Update from translation team.
13634
c658d255
RM
136352011-10-08 Roland McGrath <roland@hack.frob.com>
13636
110946e4
RM
13637 * locale/programs/locarchive.c (prepare_address_space): New function.
13638 (create_archive, enlarge_archive, open_archive): Use it.
13639
50604220
RM
13640 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
13641 inside [SHARED], where it is used.
13642
c658d255
RM
13643 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
13644
13645 * nss/getent.c (netgroup_keys): Remove unused variable.
13646 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
13647
6a621eb7
UD
136482011-10-08 Ulrich Drepper <drepper@gmail.com>
13649
7edb55ce
UD
13650 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
13651 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
13652 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
13653 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
13654 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
13655 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
13656 * math/Makefile (libm-calls): Add s_isinf_ns.
13657 * math/divtc3.c: Use __isinf_nsl instead of isinf.
13658 * math/multc3.c: Likewise.
13659 * math/s_casin.c: Likewise.
13660 * math/s_casinf.c: Likewise.
13661 * math/s_casinl.c: Likewise.
13662 * math/s_ccos.c: Likewise.
13663 * math/s_ccosf.c: Likewise.
13664 * math/s_ccosl.c: Likewise.
13665 * math/s_ctan.c: Likewise.
13666 * math/s_ctanf.c: Likewise.
13667 * math/s_ctanh.c: Likewise.
13668 * math/s_ctanhf.c: Likewise.
13669 * math/s_ctanhl.c: Likewise.
13670 * math/s_ctanl.c: Likewise.
13671 * math/w_fmod.c: Likewise.
13672 * math/w_fmodf.c: Likewise.
13673 * math/w_fmodl.c: Likewise.
13674 * math/w_remainder.c: Likewise.
13675 * math/w_remainderf.c: Likewise.
13676 * math/w_remainderl.c: Likewise.
13677 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
13678 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
13679 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
13680 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
13681 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
13682 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
13683 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
13684 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
13685
187da0ae
UD
13686 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
13687 of the number.
13688 * stdio-common/printf_fphex.c: Likewise.
13689 * stdio-common/printf_size.c: Likewise.
13690
9277c064
UD
13691 * math/e_exp10.c: Include math_private.h using <...> not "...".
13692 * math/e_exp10f.c: Likewise.
13693 * math/e_exp10l.c: Likewise.
13694 * math/e_exp2l.c: Likewise.
13695 * math/e_j0l.c: Likewise.
13696 * math/e_j1l.c: Likewise.
13697 * math/e_jnl.c: Likewise.
13698 * math/e_lgammal_r.c: Likewise.
13699 * math/e_rem_pio2l.c: Likewise.
13700 * math/e_scalb.c: Likewise.
13701 * math/e_scalbf.c: Likewise.
13702 * math/e_scalbl.c: Likewise.
13703 * math/k_cosl.c: Likewise.
13704 * math/k_sinl.c: Likewise.
13705 * math/k_tanl.c: Likewise.
13706 * math/s_cacoshf.c: Likewise.
13707 * math/s_catan.c: Likewise.
13708 * math/s_catanf.c: Likewise.
13709 * math/s_catanh.c: Likewise.
13710 * math/s_catanhf.c: Likewise.
13711 * math/s_catanhl.c: Likewise.
13712 * math/s_catanl.c: Likewise.
13713 * math/s_ccosh.c: Likewise.
13714 * math/s_ccoshf.c: Likewise.
13715 * math/s_ccoshl.c: Likewise.
13716 * math/s_cexp.c: Likewise.
13717 * math/s_cexpf.c: Likewise.
13718 * math/s_cexpl.c: Likewise.
13719 * math/s_clog.c: Likewise.
13720 * math/s_clog10.c: Likewise.
13721 * math/s_clog10f.c: Likewise.
13722 * math/s_clog10l.c: Likewise.
13723 * math/s_clogf.c: Likewise.
13724 * math/s_clogl.c: Likewise.
13725 * math/s_csin.c: Likewise.
13726 * math/s_csinf.c: Likewise.
13727 * math/s_csinh.c: Likewise.
13728 * math/s_csinhf.c: Likewise.
13729 * math/s_csinhl.c: Likewise.
13730 * math/s_csinl.c: Likewise.
13731 * math/s_csqrt.c: Likewise.
13732 * math/s_csqrtf.c: Likewise.
13733 * math/s_csqrtl.c: Likewise.
13734 * math/s_ctan.c: Likewise.
13735 * math/s_ctanf.c: Likewise.
13736 * math/s_ctanh.c: Likewise.
13737 * math/s_ctanhf.c: Likewise.
13738 * math/s_ctanhl.c: Likewise.
13739 * math/s_ctanl.c: Likewise.
13740 * math/s_ldexp.c: Likewise.
13741 * math/s_ldexpf.c: Likewise.
13742 * math/s_ldexpl.c: Likewise.
13743 * math/s_significand.c: Likewise.
13744 * math/s_significandf.c: Likewise.
13745 * math/s_significandl.c: Likewise.
13746 * math/w_acos.c: Likewise.
13747 * math/w_acosf.c: Likewise.
13748 * math/w_acosh.c: Likewise.
13749 * math/w_acoshf.c: Likewise.
13750 * math/w_acoshl.c: Likewise.
13751 * math/w_acosl.c: Likewise.
13752 * math/w_asin.c: Likewise.
13753 * math/w_asinf.c: Likewise.
13754 * math/w_asinl.c: Likewise.
13755 * math/w_atan2.c: Likewise.
13756 * math/w_atan2f.c: Likewise.
13757 * math/w_atan2l.c: Likewise.
13758 * math/w_atanh.c: Likewise.
13759 * math/w_atanhf.c: Likewise.
13760 * math/w_atanhl.c: Likewise.
13761 * math/w_cosh.c: Likewise.
13762 * math/w_coshf.c: Likewise.
13763 * math/w_coshl.c: Likewise.
13764 * math/w_dremf.c: Likewise.
13765 * math/w_exp10.c: Likewise.
13766 * math/w_exp10f.c: Likewise.
13767 * math/w_exp10l.c: Likewise.
13768 * math/w_exp2.c: Likewise.
13769 * math/w_exp2f.c: Likewise.
13770 * math/w_fmod.c: Likewise.
13771 * math/w_fmodf.c: Likewise.
13772 * math/w_fmodl.c: Likewise.
13773 * math/w_hypot.c: Likewise.
13774 * math/w_hypotf.c: Likewise.
13775 * math/w_hypotl.c: Likewise.
13776 * math/w_j0.c: Likewise.
13777 * math/w_j0f.c: Likewise.
13778 * math/w_j0l.c: Likewise.
13779 * math/w_j1.c: Likewise.
13780 * math/w_j1f.c: Likewise.
13781 * math/w_j1l.c: Likewise.
13782 * math/w_jn.c: Likewise.
13783 * math/w_jnf.c: Likewise.
13784 * math/w_jnl.c: Likewise.
13785 * math/w_lgamma.c: Likewise.
13786 * math/w_lgamma_r.c: Likewise.
13787 * math/w_lgammaf.c: Likewise.
13788 * math/w_lgammaf_r.c: Likewise.
13789 * math/w_lgammal.c: Likewise.
13790 * math/w_lgammal_r.c: Likewise.
13791 * math/w_log.c: Likewise.
13792 * math/w_log10.c: Likewise.
13793 * math/w_log10f.c: Likewise.
13794 * math/w_log10l.c: Likewise.
13795 * math/w_log2.c: Likewise.
13796 * math/w_log2f.c: Likewise.
13797 * math/w_log2l.c: Likewise.
13798 * math/w_logf.c: Likewise.
13799 * math/w_logl.c: Likewise.
13800 * math/w_pow.c: Likewise.
13801 * math/w_powf.c: Likewise.
13802 * math/w_powl.c: Likewise.
13803 * math/w_remainder.c: Likewise.
13804 * math/w_remainderf.c: Likewise.
13805 * math/w_remainderl.c: Likewise.
13806 * math/w_scalb.c: Likewise.
13807 * math/w_scalbf.c: Likewise.
13808 * math/w_scalbl.c: Likewise.
13809 * math/w_sinh.c: Likewise.
13810 * math/w_sinhf.c: Likewise.
13811 * math/w_sinhl.c: Likewise.
13812 * math/w_sqrt.c: Likewise.
13813 * math/w_sqrtf.c: Likewise.
13814 * math/w_sqrtl.c: Likewise.
13815 * math/w_tgamma.c: Likewise.
13816 * math/w_tgammaf.c: Likewise.
13817 * math/w_tgammal.c: Likewise.
13818
6a621eb7
UD
13819 * po/ja.po: Update from translation team.
13820
bf582445
AJ
138212011-09-29 Andreas Jaeger <aj@suse.de>
13822
f9efbf3a
AJ
13823 [BZ #13179]
13824 * sunrpc/netname.c (netname2host): Fix logic.
13825
bf582445
AJ
13826 [BZ #6779]
13827 [BZ #6783]
13828 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
13829 correctly.
13830 * math/w_remainder.c (__remainder): Likewise.
13831 * math/w_remainderf.c (__remainderf): Likewise.
13832 * math/libm-test.inc (remainder_test): Add test cases.
13833
48693bea
AK
138342011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13835
13836 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
13837 sdiv_qrnnd.
13838
42622229
LD
138392011-10-07 Ulrich Drepper <drepper@gmail.com>
13840
13841 * string/test-memcmp.c: Avoid unncessary #defines.
13842 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
13843
093ecf92
LD
138442011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13845
13846 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
13847 Use new sse2 version for core i3 - i7 as it's faster
13848 than sse42 version.
13849 (bit_Prefer_PMINUB_for_stringop): New.
13850 * sysdeps/x86_64/rawmemchr.S: Update.
13851 Replace with faster SSE2 version.
13852 * sysdeps/x86_64/memrchr.S: New file.
13853 * sysdeps/x86_64/memchr.S: Update.
13854 Replace with faster SSE2 version.
13855
fde56e5c
MP
138562011-09-12 Marek Polacek <mpolacek@redhat.com>
13857
13858 * elf/dl-load.c (lose): Add cast to avoid warning.
13859
21fd49a9
UD
138602011-10-07 Ulrich Drepper <drepper@gmail.com>
13861
5a06e643
UD
13862 * po/ca.po: Update from translation team.
13863
684ae515
UD
13864 * inet/getnetgrent_r.c: Hook up nscd.
13865 * nscd/Makefile (routines): Add nscd_netgroup.
13866 (nscd-modules): Add netgroupcache.
13867 (CFLAGS-netgroupcache.c): Define.
13868 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
13869 (cache_search): Add const to second parameter.
13870 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
13871 INNETGR.
13872 (dbs): Add netgrdb entry.
13873 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
13874 (verify_persistent_db): Handle netgrdb.
13875 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
13876 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
13877 GETFDNETGR.
13878 (netgroup_response_header): Define.
13879 (innetgroup_response_header): Define.
13880 (datahead): Add netgroup_response_header and innetgroup_response_header
13881 elements.
13882 * nscd/nscd.conf: Add entries for netgroup cache.
13883 * nscd/nscd.h (dbtype): Add netgrdb.
13884 (_PATH_NSCD_NETGROUP_DB): Define.
13885 (netgroup_iov_disabled): Declare.
13886 (xmalloc, xcalloc, xrealloc): Move declarations here.
13887 (cache_search): Adjust prototype.
13888 Add netgroup-related prototypes.
13889 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
13890 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
13891 (__nscd_innetgr): Declare.
13892 * nscd/selinux.c (perms): Use access_vector_t as element type and
13893 add netgroup-related initializers.
13894 * nscd/netgroupcache.c: New file.
13895 * nscd/nscd_netgroup.c: New file.
13896 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
13897 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
13898 For four parameters use innetgr.
13899 * nss/nss_files/files-init.c: Add definition and callback for netgr.
13900 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
13901 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
13902 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
13903
21fd49a9
UD
13904 * nscd/connections.c (register_traced_file): Don't register file
13905 for disabled databases.
13906
054c0457
UD
139072011-10-06 Ulrich Drepper <drepper@gmail.com>
13908
32b63198
UD
13909 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
13910
054c0457
UD
13911 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
13912 from tree and freeing node.
13913
64031225
JO
139142011-09-25 Jiri Olsa <jolsa@redhat.com>
13915
13916 * nss/nsswitch.c (__nss_database_lookup): Handle
13917 nss_parse_service_list out of memory case.
13918
0490345c
JO
139192011-09-15 Jiri Olsa <jolsa@redhat.com>
13920
13921 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
13922 out of memory case.
13923
3a62d00d
AS
139242011-10-04 Andreas Schwab <schwab@redhat.com>
13925
13926 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
13927 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
13928 pass it down.
13929 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
13930 elf_machine_rela, elf_machine_lazy_rel.
13931 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
13932 (ELF_DYNAMIC_DO_REL): Likewise.
13933 (ELF_DYNAMIC_DO_RELA): Likewise.
13934 (ELF_DYNAMIC_RELOCATE): Likewise.
13935 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
13936 to ELF_DYNAMIC_DO_REL.
13937 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
13938 (dl_main): In trace mode always set __RTLD_NOIFUNC.
13939 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
13940 elf_machine_rela.
13941 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
13942 skip_ifunc, don't call ifunc function if non-zero.
13943 (elf_machine_rela): Likewise.
13944 (elf_machine_lazy_rel): Likewise.
13945 (elf_machine_lazy_rela): Likewise.
13946 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
13947 (elf_machine_lazy_rel): Likewise.
13948 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
13949 Likewise.
13950 (elf_machine_lazy_rel): Likewise.
13951 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13952 Likewise.
13953 (elf_machine_lazy_rel): Likewise.
13954 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
13955 (elf_machine_lazy_rel): Likewise.
13956 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
13957 (elf_machine_lazy_rel): Likewise.
13958 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
13959 (elf_machine_lazy_rel): Likewise.
13960 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
13961 (elf_machine_lazy_rel): Likewise.
13962 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
13963 (elf_machine_lazy_rel): Likewise.
13964 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
13965 (elf_machine_lazy_rel): Likewise.
13966
68577918
UD
139672011-09-28 Ulrich Drepper <drepper@gmail.com>
13968
13969 * nss/nss_files/files-init.c (_nss_files_init): Use static
13970 initialization for all the *_traced_file variables.
13971
68822d74
AS
139722011-09-28 Andreas Schwab <schwab@redhat.com>
13973
13974 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
13975
2056100b
RM
139762011-09-27 Roland McGrath <roland@hack.frob.com>
13977
13978 [BZ #13226]
13979 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
13980
32c76b63
AS
139812011-09-27 Andreas Schwab <schwab@redhat.com>
13982
13983 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
13984 Reread the line before reparsing it.
13985
bf972c9d
AS
139862011-09-26 Andreas Schwab <schwab@redhat.com>
13987
13988 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
13989
e057a1b5
JM
139902011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
13991 Maxim Kuvyrkov <maxim@codesourcery.com>
13992 Joseph Myers <joseph@codesourcery.com>
13993
13994 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
13995 if needed for __stack_chk_guard.
13996
bc7e1c36
RM
139972011-09-19 Roland McGrath <roland@hack.frob.com>
13998
ecb1482f
RM
13999 * sysdeps/posix/spawni.c (script_execute): Always define it.
14000 It will be optimized away if unused.
14001 (maybe_script_execute): New function.
14002 (__spawni): Call it.
14003
bc7e1c36
RM
14004 * Makerules: Don't include tls.make.
14005 (config-tls): Always set to thread.
14006 * tls.make.c: File removed.
14007
1c3b002b
MF
140082011-09-19 Mike Frysinger <vapier@gentoo.org>
14009
14010 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
14011 * config.make.in (CPPFLAGS-config): New substituted variable.
14012
2840865d
UD
140132011-09-15 Ulrich Drepper <drepper@gmail.com>
14014
88738eb6
UD
14015 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
14016
cbf645a6 14017 [BZ #13192]
2840865d
UD
14018 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
14019 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
14020
b402e91a
RM
140212011-09-15 Roland McGrath <roland@hack.frob.com>
14022
14023 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
14024 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
14025 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
14026 (CALL_FAIL): Likewise.
14027 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
14028 (CALL_FAIL): Macro removed.
14029 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
14030
4c1a1f71
UD
140312011-09-15 Ulrich Drepper <drepper@gmail.com>
14032
14033 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
14034 for __FINITE_MATH_ONLY__ == 1.
14035
edc121be
AS
140362011-09-15 Andreas Schwab <schwab@redhat.com>
14037
14038 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
14039 __ieee754_sqrt instead of sqrt.
14040 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
14041 __ieee754_sqrtf instead of sqrtf.
14042 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
14043 __floorf instead of floorf.
14044 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
14045 __floorf, __truncf instead of floorf, truncf.
14046
cd205654
UD
140472011-09-14 Ulrich Drepper <drepper@gmail.com>
14048
ee4d0315
UD
14049 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
14050
cd205654
UD
14051 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
14052 __extern_always_inline.
14053 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
14054 32-bit.
14055
48b67d71
AS
140562011-09-14 Andreas Schwab <schwab@redhat.com>
14057
14058 * elf/rtld.c (dl_main): Also relocate in dependency order when
14059 doing symbol dependency testing.
14060
1ae12c75
AS
140612011-09-13 Andreas Schwab <schwab@linux-m68k.org>
14062
14063 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14064 Always define `refsym'.
14065
995a80df
AS
140662011-09-13 Andreas Schwab <schwab@redhat.com>
14067
e529793b
AS
14068 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
14069 (__FD_ELT): Renamed from __FDELT.
14070 * misc/bits/select2.h (__FD_ELT): Likewise.
14071 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
14072 __FD_MASK instead of __FDELT, __FDMASK.
14073 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
14074 Likewise.
14075 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
14076 Likewise.
14077
52d4fef8
AS
14078 * elf/Makefile (gen-ldd): Fix pattern.
14079
995a80df
AS
14080 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
14081 (init_tls): Likewise.
14082
8682f8b0
UD
140832011-09-12 Ulrich Drepper <drepper@gmail.com>
14084
14085 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
14086
de82006d
AS
140872011-09-12 Andreas Schwab <schwab@redhat.com>
14088
a7c8e6a1
AS
14089 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
14090 `struct cmsghdr *' instead of `void *'.
14091 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
14092 Likewise.
14093
0f31fe77
AS
140942011-09-11 Andreas Schwab <schwab@linux-m68k.org>
14095
14096 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
14097 if non-absolute.
14098 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
14099 ldd_rewrite_script.
0f31fe77 14100
32b4c839
UD
141012011-09-11 Ulrich Drepper <drepper@gmail.com>
14102
83cd1420
UD
14103 * configure.in: Remove --with-tls option.
14104 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
14105 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
14106 out in case it is missing.
14107 * sysdeps/ia64/elf/configure.in: Likewise.
14108 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
14109 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
14110 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
14111 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
14112 * sysdeps/sh/elf/configure.in: Likewise.
14113 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
14114 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
14115 * sysdeps/x86_64/elf/configure.in: Likewise.
14116 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
14117 * sysdeps/mach/hurd/tls.h: Likewise.
14118
633f745d
UD
14119 [BZ #13067]
14120 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
14121
f318beb8
UD
14122 [BZ #13090]
14123 * configure.in: Fix use of AC_INIT.
14124
32b4c839
UD
14125 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
14126
3ce1f295
UD
141272011-09-10 Ulrich Drepper <drepper@gmail.com>
14128
bb016596
UD
14129 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
14130 __set_errno.
8e58439c
UD
14131 * malloc/hooks.c: Likewise.
14132
aebae053 14133 [BZ #11929]
02d46fc4
UD
14134 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
14135 variables statically.
14136 (narenas): Initialize.
14137 (list_lock): Initialize.
bb016596
UD
14138 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
14139 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
14140 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
14141 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
14142 Add initializers to main_arena and mp_.
14143 (malloc_state): Remove pagesize member. Change all users to use
14144 GLRO(dl_pagesize).
14145
14146 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
14147 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
14148 is always initialized.
14149
22a89187
UD
14150 * malloc/malloc.c: Removed unused configurations and dead code.
14151 * malloc/arena.c: Likewise.
14152 * malloc/hooks.c: Likewise.
02d46fc4 14153 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 14154
d063d164
UD
14155 * include/tls.h: Removed. USE___THREAD must always be defined.
14156 * bits/libc-tsd.h: Don't handle !USE___THREAD.
14157 * elf/dl-libc.c: Likewise.
14158 * elf/dl-tsd.c: Likewise.
14159 * include/errno.h: Likewise.
14160 * include/netdb.h: Likewise.
14161 * include/resolv.h: Likewise.
14162 * inet/herrno-loc.c: Likewise.
14163 * inet/herrno.c: Likewise.
14164 * malloc/arena.c: Likewise.
14165 * malloc/hooks.c: Likewise.
14166 * malloc/malloc.c: Likewise.
14167 * resolv/res-state.c: Likewise.
14168 * resolv/res_libc.c: Likewise.
14169 * sysdeps/i386/dl-machine.h: Likewise.
14170 * sysdeps/ia64/dl-machine.h: Likewise.
14171 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
14172 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
14173 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
14174 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
14175 * sysdeps/sh/dl-machine.h: Likewise.
14176 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
14177 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
14178 * sysdeps/unix/i386/sysdep.S: Likewise.
14179 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
14180 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
14181 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
14182 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
14183 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
14184 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
14185 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
14186 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
14187 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14188 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
14189 * sysdeps/unix/x86_64/sysdep.S: Likewise.
14190 * sysdeps/x86_64/dl-machine.h: Likewise.
14191 * tls.make.c: Likewise.
14192
3ce1f295
UD
14193 * configure.in: Remove --with-__thread option. Make tests for
14194 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
14195 tls_model attribute fail if no support is available. Remove
14196 USE_IN_LIBIO.
14197 * Makeconfig: Adjust for dropped configure option. All features are
14198 now mandatory.
14199 * Makerules: Likewise.
14200 * Versions.def: Likewise.
14201 * argp/argp-fmtstream.c: Likewise.
14202 * argp/argp-fmtstream.h: Likewise.
14203 * argp/argp-help.c: Likewise.
14204 * assert/assert.c: Likewise.
14205 * config.h.in: Likewise.
14206 * config.make.in: Likewise.
14207 * configure: Likewise.
14208 * configure.in: Likewise.
14209 * csu/Versions: Likewise.
14210 * csu/init.c: Likewise.
14211 * elf/tst-audit2.c: Likewise.
14212 * elf/tst-tls10.c: Likewise.
14213 * elf/tst-tls10.h: Likewise.
14214 * elf/tst-tls11.c: Likewise.
14215 * elf/tst-tls12.c: Likewise.
14216 * elf/tst-tls14.c: Likewise.
14217 * elf/tst-tlsmod11.c: Likewise.
14218 * elf/tst-tlsmod12.c: Likewise.
14219 * elf/tst-tlsmod13.c: Likewise.
14220 * elf/tst-tlsmod13a.c: Likewise.
14221 * elf/tst-tlsmod14a.c: Likewise.
14222 * elf/tst-tlsmod15b.c: Likewise.
14223 * elf/tst-tlsmod16a.c: Likewise.
14224 * elf/tst-tlsmod16b.c: Likewise.
14225 * elf/tst-tlsmod7.c: Likewise.
14226 * elf/tst-tlsmod8.c: Likewise.
14227 * elf/tst-tlsmod9.c: Likewise.
14228 * gmon/gmon.c: Likewise.
14229 * grp/fgetgrent_r.c: Likewise.
14230 * grp/putgrent.c: Likewise.
14231 * hurd/fopenport.c: Likewise.
14232 * include/libc-symbols.h: Likewise.
14233 * include/tls.h: Likewise.
14234 * intl/gettextP.h: Likewise.
14235 * intl/loadinfo.h: Likewise.
14236 * locale/global-locale.c: Likewise.
14237 * locale/localeinfo.h: Likewise.
14238 * mach/devstream.c: Likewise.
14239 * malloc/arena.c: Likewise.
14240 * malloc/set-freeres.c: Likewise.
14241 * misc/err.c: Likewise.
14242 * misc/getttyent.c: Likewise.
14243 * misc/mntent_r.c: Likewise.
14244 * posix/getopt.c: Likewise.
14245 * posix/wordexp.c: Likewise.
14246 * pwd/fgetpwent_r.c: Likewise.
14247 * resolv/Versions: Likewise.
14248 * resolv/res_hconf.c: Likewise.
14249 * shadow/fgetspent_r.c: Likewise.
14250 * shadow/putspent.c: Likewise.
14251 * stdio-common/printf_fphex.c: Likewise.
14252 * stdio-common/tmpfile.c: Likewise.
14253 * stdlib/abort.c: Likewise.
14254 * stdlib/fmtmsg.c: Likewise.
14255 * sunrpc/auth_unix.c: Likewise.
14256 * sunrpc/clnt_perr.c: Likewise.
14257 * sunrpc/clnt_tcp.c: Likewise.
14258 * sunrpc/clnt_udp.c: Likewise.
14259 * sunrpc/clnt_unix.c: Likewise.
14260 * sunrpc/openchild.c: Likewise.
14261 * sunrpc/svc_simple.c: Likewise.
14262 * sunrpc/svc_tcp.c: Likewise.
14263 * sunrpc/svc_udp.c: Likewise.
14264 * sunrpc/svc_unix.c: Likewise.
14265 * sunrpc/xdr.c: Likewise.
14266 * sunrpc/xdr_array.c: Likewise.
14267 * sunrpc/xdr_rec.c: Likewise.
14268 * sunrpc/xdr_ref.c: Likewise.
14269 * sunrpc/xdr_stdio.c: Likewise.
14270
1248c1c4
PB
142712011-09-09 Ulrich Drepper <drepper@gmail.com>
14272
14273 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14274
142752011-07-03 Andreas Jaeger <aj@suse.de>
14276
14277 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
14278 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
14279 regenerate with gen-libm-tests.pl.
14280
142812010-05-12 Petr Baudis <pasky@suse.cz>
14282
14283 [BZ #11589]
14284 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
14285 around j0() zero points by switching to j1().
14286 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
14287 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
14288 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
14289 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
14290
f22e1074
UD
142912011-09-09 Ulrich Drepper <drepper@gmail.com>
14292
f19009c1
UD
14293 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
14294 instead of 0.
14295 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
14296 instead of 0. .
14297 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
14298 Patch in part by Pavel Roskin <proski@gnu.org>.
14299
3f8cc204
UD
14300 [BZ #13138]
14301 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
14302 realloc.
14303 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
14304 Free memory block if necessary.
14305
f22e1074
UD
14306 [BZ #12847]
14307 * libio/genops.c (INTDEF): For string streams the _lock pointer can
14308 be NULL. Don't lock in this case.
14309
0a2349f9
RM
143102011-09-09 Roland McGrath <roland@hack.frob.com>
14311
14312 * elf/elf.h (ELFOSABI_GNU): New macro.
14313 (ELFOSABI_LINUX): Define to that.
14314
f3cdd467
DZ
143152011-07-29 Denis Zaitceff <zaitceff@gmail.com>
14316
14317 * string/strncat.c (strncat): Undef the symbol in case it has been
14318 defined in bits/string.h.
14319
74718d13
UD
143202011-09-09 Ulrich Drepper <drepper@gmail.com>
14321
633e9e0f
UD
14322 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
14323
0a2349f9 14324 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
14325 link map.
14326
f9924780
AJ
143272011-08-17 Andreas Jaeger <aj@suse.de>
14328
14329 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
14330
7f5517aa
PP
143312011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
14332 Ian Lance Taylor <iant@google.com>
14333
14334 * math/libm-test.inc (lround_test): New testcase.
14335 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
14336
762011fe
UD
143372011-09-08 Ulrich Drepper <drepper@gmail.com>
14338
92963737
UD
14339 * Makefile: Remove support for automatic cvs check-ins.
14340 * Makerules: Likewise.
14341 * config.make.in: Likewise.
14342 * configure.in: Likewise.
14343 * intl/Makefile: Likewise.
14344 * locale/Makefile: Likewise.
14345 * po/Makefile: Likewise.
14346 * posix/Makefile: Likewise.
14347 * sysdeps/gnu/Makefile: Likewise.
14348 * sysdeps/mach/hurd/Makefile: Likewise.
14349 * sysdeps/sparc/sparc32/Makefile: Likewise.
14350
b0727fd8
JS
14351 [BZ #13118]
14352 * posix/Makefile (bug-regex32-ENV): Define.
14353 Patch by John Stanley <jpsinthemix@verizon.net>.
14354
a0f33f99
UD
14355 * misc/Makefile (headers): Add bits/select2.h.
14356 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
14357 * misc/bits/select2.h: New file.
14358 * include/bits/select2.h: New file.
14359 * debug/Makefile (routines): Add fdelt_chk.
14360 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
14361 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
14362 FD_ISSET.
14363 * debug/fdelt_chk.c: New file.
14364
762011fe
UD
14365 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
14366 * wcsmbs/test-wmemcmp.c: Likewise.
14367 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 14368 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
14369
143702011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14371
14372 * string/Makefile (strop-tests): Add memcmp.
14373 * string/test-wmemcmp.c: New file.
14374 * string/test-memcmp.c: Add wmemcmp support.
14375
7f513ec8
RM
143762011-09-08 Roland McGrath <roland@hack.frob.com>
14377
0442afb4
RM
14378 [BZ #13153]
14379 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
14380 2011-07-19 change.
14381
7f513ec8
RM
14382 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
14383 garbage value in a __mach_port_mod_refs call in the cases of the
14384 task-self and thread-self ports.
14385
a12b2239
ST
143862011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
14387
14388 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
14389
610f9ab4
AS
143902011-09-08 Andreas Schwab <schwab@redhat.com>
14391
7f513ec8 14392 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 14393
48882a1a
LD
143942011-09-07 Ulrich Drepper <drepper@gmail.com>
14395
b49865be
UD
14396 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
14397
fdc86bc9
UD
14398 * elf/dl-libc.c (dlerror_run): Pass back error code from
14399 dl_catch_error.
14400
c966526a
UD
14401 [BZ #13123]
14402 * elf/dl-load.c (lose): Free l_origin if it is valid.
14403
48882a1a
LD
14404 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
14405 names.
14406 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
14407 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
14408 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
14409 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
14410 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
14411 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
14412
77a2a8b4
AZ
144132011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14414
14415 * sysdeps/powerpc/fpu/e_hypot.c: New file.
14416 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
14417 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
14418 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
14419 * sysdeps/powerpc/fpu/k_cosf.c: New file.
14420 * sysdeps/powerpc/fpu/k_sinf.c: New file.
14421 * sysdeps/powerpc/fpu/s_cosf.c: New file.
14422 * sysdeps/powerpc/fpu/s_sinf.c: New file.
14423 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
14424 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
14425
24f579d8
AM
144262011-08-15 Alan Modra <amodra@gmail.com>
14427
14428 [BZ #13092]
14429 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
14430 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
14431 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
14432 ppc_mcount to static-only-routines.
14433 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
14434 __mcount_internal.
14435 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
14436 __mcount_internal with usual JUMPTARGET. Remove useless nop.
14437
3d4837df
UD
144382011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
14439
14440 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
14441 for finite and infinity parameters.
14442
22700377
WS
144432011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
14444
14445 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
14446 and add nop instructions for throughput optimization.
14447 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14448
5025581e
WS
144492011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
14450
14451 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
14452 aligned copy for power7 with vector-scalar instructions.
14453 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
14454
08a300c9
L
144552011-07-24 H.J. Lu <hongjiu.lu@intel.com>
14456
14457 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
14458 AVX check.
14459
59178ef9
AS
144602011-09-07 Andreas Schwab <schwab@redhat.com>
14461
14462 [BZ #13144]
14463 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
14464 last change.
14465
e38ba7ab
UD
144662011-09-07 Ulrich Drepper <drepper@gmail.com>
14467
14468 * sysdeps/unix/sysv/linux/x86_64/init-first.c
14469 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
14470 syscall wrapper around clock_gettime in __vdso_clock_gettime.
14471 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
14472 clock_gettime.
14473
d53a73ac
UD
144742011-09-06 Ulrich Drepper <drepper@gmail.com>
14475
fc8bffcc
UD
14476 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
14477 Forgot to demangle the pointer.
14478
ceaa0c5d
UD
14479 * sysdeps/i386/sysdep.h: Define atom_text_section.
14480 * sysdeps/x86_64/sysdep.h: Likewise.
14481 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
14482 section with atom_text_section.
14483 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
14484 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
14485 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
14486 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
14487 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
14488
a77d3c17
UD
14489 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
14490 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
14491 already be defined. Change to take two parameters and don't assign
14492 result to variable. Adjust all users.
14493 Define INTERNAL_GETTIME if not already defined.
14494 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
14495 call.
14496 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
14497 HAVE_CLOCK_GETTIME_VSYSCALL.
14498 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
14499
d53a73ac
UD
14500 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
14501 gettimeofday vsyscall, just use time.
14502
a8f84144
AS
145032011-09-06 Andreas Schwab <schwab@redhat.com>
14504
14505 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
14506 <errno.h>.
14507
ef606249
UD
145082011-09-06 Ulrich Drepper <drepper@gmail.com>
14509
14510 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
14511 syscall on x86-64.
14512 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
14513 syscall.
14514 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
14515 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
14516 syscall if possible.
14517
6585cb60
UD
145182011-09-05 Ulrich Drepper <drepper@gmail.com>
14519
14520 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
14521 e_ident. Don't pass to find_mapsXX.
14522 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
14523
a5f524e4
LD
145242011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14525
14526 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14527 strchr-sse2-no-bsf strrchr-sse2-no-bsf
14528 * sysdeps/x86_64/multiarch/strchr.S: Update.
14529 Check bit_slow_BSF bit.
14530 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
14531 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
14532 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
14533
554881ef
UD
145342011-09-05 Ulrich Drepper <drepper@gmail.com>
14535
d96de963
UD
14536 [BZ #13134]
14537 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
14538 before glibc 2.15.
14539 (tryshell): Define.
14540 (__spawni): Change last parameter to be flag. Test
14541 SPAWN_XFLAGS_USE_PATH flag to use path or not.
14542 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
14543 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
14544 * posix/spawni.c: Likewise.
14545 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
14546 * posix/spawnp.c: Likewise. Change normal version to use
14547 SPAWN_XFLAGS_USE_PATH.
14548 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
14549 SPAWN_XFLAGS_TRY_SHELL.
14550
d48e5868
UD
14551 [BZ #13150]
14552 * posix/glob.h: Remove gcc 1.x support.
14553
554881ef
UD
14554 [BZ #13068]
14555 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
14556
693fb948
LD
145572011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14558
14559 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14560 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
14561 strrchr-sse2-bsf
14562 * sysdeps/i386/i686/multiarch/strchr.S: New file.
14563 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
14564 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
14565 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
14566 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
14567 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
14568
1b48c537
UD
145692011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14570
49d42c37
UD
14571 * sysdeps/x86_64/wcscmp.S: New file.
14572
1b48c537
UD
14573 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
14574 wcscmp-c wcscmp-sse2
14575 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
14576 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
14577 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
14578 * wcsmbs/wcscmp.c: Allow renaming.
14579
15c95c5d
DM
145802011-09-05 David S. Miller <davem@davemloft.net>
14581
14582 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
14583 stack slot, rather than the struct return pointer slot.
14584 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
14585 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
14586 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
14587 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
14588
2f0ad8f3
UD
145892011-09-05 Ulrich Drepper <drepper@gmail.com>
14590
d88ae418
UD
14591 * po/ja.po: Update from translation team.
14592
2f0ad8f3
UD
14593 [BZ #13144]
14594 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
14595 kernel in 64-bit binaries.
14596
5f4318d1
DM
145972011-09-01 David S. Miller <davem@davemloft.net>
14598
14599 * elf/elf.h (HWCAP_SPARC_*): Move to..
14600 * sysdeps/sparc/sysdep.h: this new file and add new values.
14601 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
14602 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
14603 _DL_HWCAP_COUNT to 24.
14604 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
14605 entries.
14606 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
14607 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
14608 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
14609 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
14610 instead of magic constants.
14611 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
14612
3ba57516
DM
146132011-08-31 David S. Miller <davem@davemloft.net>
14614
14615 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
14616 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
14617 Reimplement to do errno handling inline.
14618 (SYSCALL_ERROR_HANDLER): New macro.
14619 (__SYSCALL_STRING): Do not do errno handling in asm.
14620 (__CLONE_SYSCALL_STRING): Delete.
14621 (__INTERNAL_SYSCALL_STRING): Delete.
14622 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
14623 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
14624 (PSEUDO): Reimplement to do errno handling inline.
14625 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
14626 (SYSCALL_ERROR_HANDLER): New macro.
14627 (__SYSCALL_STRING): Do not do errno handling in asm.
14628 (__CLONE_SYSCALL_STRING): Delete.
14629 (__INTERNAL_SYSCALL_STRING): Delete.
14630 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
14631 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
14632 i386.
14633 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
14634 (inline_syscall*): Add 'err' argument.
14635 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
14636 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
14637 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
14638 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
14639
14640 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
14641 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
14642
2bc17433
AS
146432011-08-30 Andreas Schwab <schwab@redhat.com>
14644
14645 * elf/rtld.c (dl_main): Relocate objects in dependency order.
14646
fbeb5f4d
JO
146472011-08-29 Jiri Olsa <jolsa@redhat.com>
14648
14649 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
14650 directive.
14651
ad69cc26
DM
146522011-08-24 David S. Miller <davem@davemloft.net>
14653
14654 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
14655
39dd69df
AS
146562011-08-24 Andreas Schwab <schwab@redhat.com>
14657
14658 * elf/Makefile: Add rules to build and run unload8 test.
14659 * elf/unload8.c: New file.
14660 * elf/unload8mod1.c: New file.
14661 * elf/unload8mod1x.c: New file.
14662 * elf/unload8mod2.c: New file.
14663 * elf/unload8mod3.c: New file.
14664
14665 * elf/dl-close.c (_dl_close_worker): Reset private search list if
14666 it wasn't used.
14667
2c0b250a
DM
146682011-08-23 David S. Miller <davem@davemloft.net>
14669
14670 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
14671 subtract stack bias.
14672 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
14673 %sp not %fp in calculations.
14674 (_JMPBUF_UNWINDS_ADJ): Likewise.
14675
22044b48
DM
14676 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
14677 (aio_suspend): Call it to force an exception region around the
14678 AIO_MISC_WAIT() invocation.
14679
2cae4995
AS
146802011-08-23 Andreas Schwab <schwab@redhat.com>
14681
14682 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
14683 backslash.
14684
873a772e
AJ
146852011-07-04 Aurelien Jarno <aurelien@aurel32.net>
14686
14687 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
14688 protection macro.
14689 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
14690 and <dl-machine.h>.
14691 (Elf64_FuncDesc): Remove.
14692
25ad0df1
DM
146932011-08-22 David S. Miller <davem@davemloft.net>
14694
14695 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
14696 sigaltstack check, add missing cfi directives.
14697 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
14698 missing cfi directives, and sigaltstack handling.
14699
e888bcbe
AS
147002011-08-16 Andreas Schwab <schwab@redhat.com>
14701
14702 [BZ #11724]
14703 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
14704 object is seen twice.
14705 * elf/dl-fini.c (_dl_sort_fini): Likewise.
14706
14707 * elf/Makefile (distribute): Add tst-initorder2.c.
14708 (tests): Add tst-initorder2.
14709 (modules-names): Add tst-initorder2a tst-initorder2b
14710 tst-initorder2c tst-initorder2d. Add rules to build them.
14711 ($(objpfx)tst-initorder2.out): New rule.
14712 * elf/tst-initorder2.c: New file.
14713 * elf/tst-initorder2.exp: New file.
14714
87162f46
AS
147152011-08-22 Andreas Schwab <schwab@redhat.com>
14716
70538b7f
AS
14717 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
14718
f55ffe58
AS
14719 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
14720 dependencies back to end of function.
14721
87162f46
AS
14722 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
14723 $(elfobjdir)/ld.so.
14724
91b392a4
UD
147252011-08-21 Ulrich Drepper <drepper@gmail.com>
14726
14727 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
14728 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
14729 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
14730 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
14731 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
14732 of __vdso_gettimeofday.
14733 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
14734 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
14735 attribute_hidden.
14736 (_libc_vdso_platform_setup): Remove initialization of
14737 __vdso_gettimeofday and __vdso_time.
14738
5c43483f
UD
147392011-08-20 Ulrich Drepper <drepper@gmail.com>
14740
775a77e7
UD
14741 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
14742 and fgetc_unlocked.
14743 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
14744 getc_unlocked.
89f447ed 14745
49c74ba9
UD
14746 * elf/dl-open.c (add_to_global): Report additions to the global scope
14747 for LD_DEBUG=scopes.
14748 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 14749 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 14750
5c43483f
UD
14751 [BZ #13114]
14752 * stdio-common/Makefile (tests): Add bug24.
14753 * stdio-common/bug24.c: New file.
14754
a101b025
AJ
147552011-08-19 Andreas Jaeger <aj@suse.de>
14756
14757 [BZ #13114]
14758 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
14759 non-existant file when using close-on-exec mode.
14760
c88f1766
UD
147612011-08-20 Ulrich Drepper <drepper@gmail.com>
14762
0276a718
UD
14763 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
14764 the very first instruction.
14765
c88f1766
UD
14766 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
14767 the CFI state in the end.
14768 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
14769 inclusion of dl-trampoline.h.
14770 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
14771
51ccffa0
AS
147722011-08-19 Andreas Schwab <schwab@redhat.com>
14773
94d7165f
AS
14774 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
14775 expectations for long double.
14776
51ccffa0
AS
14777 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
14778 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
14779
fd708658 147802011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
14781
14782 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
14783 artificual limit depends upon the system page size.
14784
44f0a71e
UD
147852011-08-17 Ulrich Drepper <drepper@gmail.com>
14786
14787 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
14788 * resolv/Makefile: Define CFLAGS-libresolv.
14789
8de79a24
AS
147902011-08-17 Andreas Schwab <schwab@redhat.com>
14791
14792 * nss/makedb.c (compute_tables): Make variables used in nested
14793 function static.
14794
27724598
UD
147952011-08-17 Ulrich Drepper <drepper@gmail.com>
14796
c5305d88
UD
14797 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
14798 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
14799 if buffer was too small.
14800
27724598
UD
14801 * elf/pldd.c (main): Attach to all threads in the process.
14802 Rewrite /proc handling to use *at functions.
14803
076fe015
UD
148042011-08-16 Ulrich Drepper <drepper@gmail.com>
14805
174baab3
UD
14806 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
14807 specifies first scope to show.
14808 (dl_open_worker): Update callers. Move printing scope of new
14809 object to before the relocation.
44f0a71e 14810 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
14811 * sysdeps/generic/ldsodefs.h: Update declaration.
14812
076fe015
UD
14813 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
14814 string for the scope number.
14815
a60df2c3
UD
148162011-08-14 Ulrich Drepper <drepper@gmail.com>
14817
14818 * nscd/servicescache.c (cache_addserv): Make sure written is always
14819 initialized.
14820
5e4287d1
RM
148212011-08-14 Roland McGrath <roland@hack.frob.com>
14822
85ae0589
RM
14823 * sysdeps/i386/i486/bits/atomic.h
14824 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
14825 statement expression, so as to suppress "set but not used" warning.
14826 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
14827
69f63097
RM
14828 * string/strncat.c (STRNCAT): Use prototype definition.
14829
675456ef
RM
14830 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
14831 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
14832 -Iprograms here.
14833 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
14834 (localedef-modules): Add localedef.
14835 (locale-modules): Add locale.
14836
5e4287d1
RM
14837 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
14838 * elf/rtld.c (dl_main): Invert order of assignment in last change,
14839 to avoid a warning.
14840
9c96ff23
DM
148412011-08-14 David S. Miller <davem@davemloft.net>
14842
14843 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
14844 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
14845
f9ddf089
UD
148462011-08-13 Ulrich Drepper <drepper@gmail.com>
14847
44f0a71e 14848 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
14849 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
14850 * elf/rtld.c (dl_main): Set l_name of vDSO.
14851 Call _dl_show_scope when DL_DEBUG_SCOPES.
14852 (process_dl_debug): Recognize scopes flag and also set it for all.
14853 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
14854 Declare _dl_show_scope.
14855
1dc27704
UD
14856 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
14857 (do_dlopen): Pass caller_dlopen to dl_open.
14858 (__libc_dlopen_mode): Initialize caller_dlopen.
14859
f9ddf089
UD
14860 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
14861 of libc. Make tolower call locale-independent. Optimize a bit by
14862 using isdigit instead of isalnum.
14863 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
14864
9ac533d3
UD
148652011-08-12 Ulrich Drepper <drepper@gmail.com>
14866
14867 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
14868 was a dependency or dynamically loaded.
14869
89edf2e9
UD
148702011-08-11 Ulrich Drepper <drepper@gmail.com>
14871
8e999d29
UD
14872 * intl/l10nflist.c: Allow architecture-specific pop function.
14873 * sysdeps/x86_64/l10nflist.c: New file.
14874
89edf2e9
UD
14875 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
14876 classification.
14877
14d96785
AS
148782011-08-10 Andreas Schwab <schwab@redhat.com>
14879
14880 * include/dirent.h: Add libc_hidden_proto for scandirat and
14881 scandirat64. Don't declare __scandirat64.
14882 * dirent/scandirat.c: Add libc_hidden_def.
14883 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
14884 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
14885
6761ac04
DM
148862011-08-10 David S. Miller <davem@davemloft.net>
14887
14888 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
14889 enum.
14890 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
14891 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
14892 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
14893
c55fbd1e
UD
148942011-08-09 Ulrich Drepper <drepper@gmail.com>
14895
14896 * Versions.def [libc]: Add GLIBC_2.15.
14897 * dirent/Makefile (routines): Add scandirat and scandirat64.
14898 * dirent/Versions [libc]: Export scandirat and scandirat64 for
14899 GLIBC_2.15.
14900 * dirent/dirent.h: Declare scandirat and scandirat64.
14901 * dirent/scandirat.c: New file.
14902 * dirent/scandirat64.c: New file.
14903 * sysdeps/wordsize-64/scandirat.c: New file.
14904 * sysdeps/wordsize-64/scandirat64.c: New file.
14905 * dirent/opendir.c: Define opendirat.
14906 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
14907 using scandirat.
14908 * dirent/scandir64.c: Adjust for scandir.c change.
14909 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
14910 __scandirat64, and __scandir_cancel_handler.
14911 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
14912 additional parameter and use openat instead of open (outside of ld.so).
14913 Add new __opendir as wrapper around __opendirat.
14914 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
14915 here without requiring old scandirat implementation.
14916
879165f2
UD
149172011-08-08 Ulrich Drepper <drepper@gmail.com>
14918
14919 * dirent/scandir.c (cancel_handler): Renamed to
14920 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
14921 defined. Adjust users.
14922 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
14923 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
14924
cb7e923b
UD
149252011-08-04 Ulrich Drepper <drepper@gmail.com>
14926
16292edd
UD
14927 * string/test-string.h (IMPL): Use __STRING to expand name and then
14928 stringify it.
14929
cb7e923b
UD
14930 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
14931 of cleanups.
14932
cff82933
LD
149332011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14934
14935 * string/Makefile: Update.
14936 (strop-tests): Append strncat.
14937 * string/test-wcscmp.c: New file.
14938 New comprehensive test for wcscmp.
14939 * string/test-strcmp.c: Update.
14940 (WIDE): New define.
14941
9be9bfcc
AS
149422011-07-22 Andreas Schwab <schwab@redhat.com>
14943
14944 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
14945 line.
14946
2e96f1c7
AS
149472011-07-26 Andreas Schwab <schwab@redhat.com>
14948
14949 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
14950 encoding to ACE if AI_IDN.
14951
85188888
JJ
149522011-08-01 Jakub Jelinek <jakub@redhat.com>
14953
14954 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
14955 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
14956
5fa16e9b
LD
149572011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14958
14959 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
14960 Fix overflow bug in strncat.
14961 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
14962
14963 * string/test-strncat.c: Update.
14964 Add new tests for checking overflow bugs.
14965
149662011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14967
14968 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14969 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
14970 * sysdeps/i386/i686/multiarch/strcat.S: New file.
14971 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
14972 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
14973 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
14974 * sysdeps/i386/i686/multiarch/strncat.S: New file.
14975 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
14976 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
14977
14978 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
14979 (USE_AS_STRCAT): Define.
14980 Add strcat and strncat support.
14981 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
14982
8c1a459f
AS
149832011-07-25 Andreas Schwab <schwab@redhat.com>
14984
14985 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
14986 __n bigger than INT_MAX+1.
14987 (__strncmp_g): Likewise.
14988
bba33c28
UD
149892011-07-23 Ulrich Drepper <drepper@gmail.com>
14990
798be72d
UD
14991 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
14992 * libio/stido.h: Likewise.
14993
8accd4dc
UD
14994 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
14995 (AF_NFC): Define.
14996 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
14997 (AF_NFC): Define.
14998
cbff0d96
UD
14999 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
15000 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
15001 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
15002 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
15003 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
15004
9191c04a
UD
15005 [BZ #13021]
15006 * scripts/test-installation.pl: Don't expect libnss_test1 to be
15007 installed.
15008
bba33c28
UD
15009 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
15010 typo.
15011 (_dl_x86_64_save_sse): Likewise.
15012
90f139dd
UD
150132011-07-22 Ulrich Drepper <drepper@gmail.com>
15014
1aae088a
UD
15015 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
15016 OSXSAVE.
15017 (_dl_x86_64_save_sse): Likewise.
15018
8e2045f5
UD
15019 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
15020
90f139dd
UD
15021 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
15022
1d002f25
AS
150232011-07-21 Andreas Schwab <schwab@redhat.com>
15024
15025 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
15026 change.
15027 (_dl_x86_64_save_sse): Use correct AVX check.
15028
21137f89
UD
150292011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15030
15031 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
15032 bug in strncpy/strncat.
15033 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
15034
a65c0b7a
UD
150352011-07-21 Ulrich Drepper <drepper@gmail.com>
15036
15037 * string/tester.c (test_strcat): Add tests for different alignments
15038 of source and destination.
15039 (test_strncat): Likewise.
15040
6986b98a
UD
150412011-07-20 Ulrich Drepper <drepper@gmail.com>
15042
90bb2039
UD
15043 [BZ #12852]
15044 * posix/glob.c (glob): Check passed in values before using them in
15045 expressions to avoid some overflows.
15046 (glob_in_dir): Likewise.
15047
5644ef54
UD
15048 [BZ #13007]
15049 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
15050 check for AVX enablement so that we don't crash with old kernels and
15051 new hardware.
15052 * elf/tst-audit4.c: Add same checks here.
15053 * elf/tst-audit6.c: Likewise.
15054
15055 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 15056
bfc9dc9b
AS
150572011-07-09 Andreas Schwab <schwab@linux-m68k.org>
15058
15059 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
15060
702e64bb
UD
150612011-07-20 Ulrich Drepper <drepper@gmail.com>
15062
15063 * po/cs.po: Update from translation team.
15064 * po/bg.po: Likewise.
15065
295e904f
MP
150662011-07-12 Marek Polacek <mpolacek@redhat.com>
15067
15068 * misc/sys/cdefs.h: Add support for const attribute.
15069 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
15070 to gnu_dev_{major,minor,makedev} functions.
15071
3ff94596
MP
150722011-07-20 Marek Polacek <mpolacek@redhat.com>
15073
15074 * intl/dcigettext.c (get_output_charset): Add missing bracket.
15075
28b59fca
AS
150762011-07-20 Andreas Schwab <schwab@redhat.com>
15077
15078 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
15079 strlen results.
15080
19df733e
AK
150812011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15082
15083 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
15084 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
15085 register in order to avoid conflicts with the soft frame pointer
15086 being held in r11 when necessary.
15087 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
15088 (INTERNAL_VSYSCALL_NCS): Likewise.
15089
c8835729
MP
150902011-07-14 Marek Polacek <mpolacek@redhat.com>
15091
15092 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
15093 * elf/dl-fini.c (_dl_fini): Adjust caller.
15094 * elf/dl-close.c (_dl_close_worker): Likewise.
15095 * sysdeps/generic/ldsodefs.h: Adjust declaration.
15096
b902330c
MP
150972011-07-15 Marek Polacek <mpolacek@redhat.com>
15098
8991e135
MP
15099 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
15100 "aux_cache->nlibs < 0".
15101
b902330c
MP
15102 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
15103 in the reload-count case.
15104
99710781
LD
151052011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15106
15107 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15108 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
15109 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
15110 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
15111 * sysdeps/x86_64/multiarch/strcat.S: New file.
15112 * sysdeps/x86_64/multiarch/strncat.S: New file.
15113 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
15114 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
15115 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
15116 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
15117 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
15118 (USE_AS_STRCAT): Define.
15119 Add strcat and strncat support.
15120 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
15121 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
15122 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
15123 * string/strncat.c: Update.
15124 (USE_AS_STRNCAT): Define.
15125 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15126 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
15127 and i7.
15128 * sysdeps/x86_64/multiarch/init-arch.h
15129 (bit_Prefer_PMINUB_for_stringop): New.
15130 (index_Prefer_PMINUB_for_stringop): Likewise.
15131 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
15132 bit_Prefer_PMINUB_for_stringop.
15133
7dc6bd90
UD
151342011-07-19 Ulrich Drepper <drepper@gmail.com>
15135
15136 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
15137 buffer64.
15138 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
15139 of casting of buffer.
15140 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
15141 buffer32 and buffer64.
15142 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
15143 writes instead of casting of buffer.
15144 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
15145 buffer32.
15146 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
15147 casting of buffer.
15148
e0e72284
AS
151492011-07-19 Andreas Schwab <schwab@redhat.com>
15150
15151 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
15152
feb1eb0b
UD
151532011-07-19 Ulrich Drepper <drepper@gmail.com>
15154
15155 * nscd/nscd.c (termination_handler): Don't do anything for a database
15156 if it has not yet been initialized.
15157
298711ff
UD
151582011-07-18 Ulrich Drepper <drepper@gmail.com>
15159
15160 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
15161
151622011-07-15 Marek Polacek <mpolacek@redhat.com>
15163
15164 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
15165
f9d68389
UD
151662011-07-18 Ulrich Drepper <drepper@gmail.com>
15167
15168 * po/nl.po: Update from translation team.
15169 * po/sv.po: Likewise.
15170
db290cf5
RM
151712011-07-16 Roland McGrath <roland@hack.frob.com>
15172
15173 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
15174 now disallowed by GCC.
5c550700 15175
fd5e21c7
RM
15176 * configure.in (use-default-link): Default to yes if a test -shared
15177 link meets our qualifications.
15178 * configure: Regenerated.
15179
5c550700
RM
15180 * config.make.in (output-format): New variable.
15181 * configure.in: Check for ld --print-output-format support.
15182 * configure: Regenerated.
15183 * Makerules ($(common-objpfx)format.lds)
15184 [$(output-format) != unknown]: Just use $(output-format),
15185 instead of the linker-script munging.
15186
9fa2c032
RM
151872011-07-14 Roland McGrath <roland@hack.frob.com>
15188
a6928d51
RM
15189 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
15190 of $(common-objpfx)shlib.lds.
15191 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
15192
661607b3
RM
15193 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
15194 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
15195
9fa2c032
RM
15196 * configure.in (-z relro check): Adjust test code to add a large
15197 writable data section after it.
15198 * configure: Regenerated.
15199
defe9061
RM
152002011-07-11 Roland McGrath <roland@hack.frob.com>
15201
15202 * configure.in (-z relro check): Fix test code to make the variable
15203 truly const.
15204 * configure: Regenerated.
15205
319b9ad4
UD
152062011-07-11 Ulrich Drepper <drepper@gmail.com>
15207
15208 * nscd/nscd.h (struct traced_file): Define.
15209 (struct database_dyn): Remove inotify_descr, reset_res, and filename
15210 elements. Add traced_files.
15211 (inotify_fd): Declare.
15212 (register_traced_file): Declare.
15213 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
15214 (inotify_fd): Export.
15215 (resolv_conf_descr): Remove.
15216 (nscd_init): Move inotify descriptor creation to main.
15217 Don't register files for notification here.
15218 (register_traced_file): New function.
15219 (invalidate_cache): Don't use reset_res to determine whether to call
15220 res_init, go through the list of registered files.
15221 (main_loop_poll): The inotify descriptors are now stored in the
15222 structures for the traced files.
15223 (main_loop_epoll): Likewise
15224 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
15225 to __nss_disable_nscd.
15226 * nscd/cache.c (prune_cache): There is no single inotify descriptor
15227 for a database anymore. Check the records for all the registered
15228 files instead.
15229 * nss/Makefile (libnss_files-routines): Add files-init.
15230 (libnss_db-routines): Add db-init.
15231 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
15232 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
15233 * nss/nss_db/db-init.c: New file.
15234 * nss/nss_files/files-init.c: New file.
15235 * nss/nsswitch.c (nss_load_library): New function. Broken out of
15236 __nss_lookup_function.
15237 (__nss_lookup_function): Call nss_load_library.
15238 (nss_load_all_libraries): New function.
15239 (__nss_disable_nscd): Take parameter with callback function for files
15240 to register. Set is_nscd. Load all the DSOs for the NSS modules
15241 used for the cached services.
15242 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
15243 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
15244 options for features to all the files in nscd.
15245
15246 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
15247
23bee3e8
RM
152482011-07-10 Roland McGrath <roland@hack.frob.com>
15249
15250 * csu/elf-init.c (__libc_csu_init): Comment typo.
15251
46a5b7f0
UD
152522011-07-09 Ulrich Drepper <drepper@gmail.com>
15253
15254 * po/pl.po: Update from translation team.
15255 * po/ja.po: Likewise.
15256 * po/ru.po: Likewise.
15257 * po/ko.po: Likewise.
15258 * po/fr.po: Likewise.
15259
d30cf5bb
RM
152602011-07-09 Roland McGrath <roland@hack.frob.com>
15261
113ddea4
RM
15262 * configure.in (.ctors/.dtors header and trailer check):
15263 Use an empirical test on a built program.
15264 * configure: Regenerated.
15265
574920b4
RM
15266 * configure.in (-z relro check): Use an empirical test on a built DSO.
15267 Detect, but do not require, on ia64.
15268 * configure: Regenerated.
15269
d30cf5bb
RM
15270 * configure.in (READELF): Find it with AC_CHECK_TOOL.
15271 Update tests that use readelf to use $READELF instead.
15272 * configure: Regenerated.
15273
8538fdb3
UD
152742011-07-08 Ulrich Drepper <drepper@gmail.com>
15275
15276 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
15277 if the result is not used.
15278
04d08991
AJ
152792011-07-05 Andreas Jaeger <aj@suse.de>
15280
15281 [BZ#9696]
15282 * stdlib/tst-strtod.c: Add testcase.
15283
de283087
AD
152842011-07-07 Ulrich Drepper <drepper@gmail.com>
15285
4e5f31c8 15286 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 15287 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
15288 The latter has a higher limit. Take additional parameter to pass to
15289 the new function.
15290 (__pathconf): Pass file to __statfs_link_max.
15291 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
15292 __statfs_link_max.
15293 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
15294 __statfs_link_max.
15295
de283087
AD
15296 [BZ #12868]
15297 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
15298 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15299 Handle Lustre.
15300 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
15301 (__statfs_filesize_max): Likewise.
15302 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
15303
c75fa153
AJ
153042011-07-05 Andreas Jaeger <aj@suse.de>
15305
15306 * resolv/res_comp.c (dn_skipname): Remove unused variable.
15307
1a544854
UD
153082011-07-06 Marek Polacek <mpolacek@redhat.com>
15309
15310 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
15311 `status' variable.
15312 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
15313 Likewise.
15314
6f0eec67
UD
153152011-07-04 H.J. Lu <hongjiu.lu@intel.com>
15316
15317 * Makefile (strop-tests): Add strncat.
15318 * string/test-strncat.c: New file.
15319
aae30307
UD
153202011-06-30 Marek Polacek <mpolacek@redhat.com>
15321
15322 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
15323
c0cfb5eb
UD
153242011-06-21 Andreas Jaeger <aj@suse.de>
15325
15326 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
15327 Copy rule from iconvdata/Makefile.
15328
01636b21
UD
153292011-07-06 Ulrich Drepper <drepper@gmail.com>
15330
15331 [BZ #12922]
15332 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
15333 but no long options are defined, just return 'W'.
15334
9895c8bc
UD
153352011-06-22 Marek Polacek <mpolacek@redhat.com>
15336
15337 [BZ #9696]
15338 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
15339
5d4cf042
UD
153402011-07-06 Ulrich Drepper <drepper@gmail.com>
15341
15342 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
15343 netgroups to read.
960e5535 15344 (innetgr): Likewise.
5d4cf042 15345
751eb97e
RM
153462011-07-05 Roland McGrath <roland@hack.frob.com>
15347
15348 * config.make.in (install_root): Default to $(DESTDIR).
15349
f15f1e45
UD
153502011-07-05 Ulrich Drepper <drepper@gmail.com>
15351
15352 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
15353
4e34ac6a
RM
153542011-07-02 Roland McGrath <roland@hack.frob.com>
15355
5e9b6af4
RM
15356 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
15357
84f9ea0f
RM
15358 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
15359 containing directory rather than embedding absolute directory names.
15360
ea5ee9f7
RM
15361 * scripts/check-local-headers.sh: Rewritten using awk.
15362 Match by word, not by line. Print error messages for matches.
15363 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
15364
1b74661a
RM
15365 * Makerules [shlib-lds-flags empty]:
15366 ($(common-objpfx)libc_pic.opts): New target.
15367 ($(common-objpfx)libc_pic.os.clean): New target.
15368 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
15369
15370 * config.make.in (OBJCOPY): New variable.
15371 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
15372 * configure: Regenerated.
15373
f781ef40
RM
15374 * config.make.in (use-default-link): New variable.
15375 * configure.in (use_default_link): Grok --with-default-link to set it.
15376 * configure: Regenerated.
15377 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
15378 (shlib-lds, shlib-lds-flags): Define to empty.
15379
2d4fa81e
RM
15380 * Makerules (shlib-lds): New variable.
15381 (shlib-lds-flags): New variable.
15382 (build-shlib, build-moduile, build-module-asneeded): Use it.
15383 ($(common-objpfx)libc.so): Use $(shlib-lds).
15384 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
15385 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
15386
31fffa6b
RM
15387 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
15388 DT_FLAGS/DT_FLAGS_1 with zero flags.
15389
4e34ac6a
RM
15390 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
15391 linker script munging.
15392
fcfc776b
UD
153932011-07-02 Ulrich Drepper <drepper@gmail.com>
15394
15395 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
15396 as 128-bit value.
15397 * crypt/sha512.c (sha512_process_block): Perform total addition using
15398 128-bit if possible.
15399 (__sha512_finish_ctx): Likewise.
15400 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
15401 as 64-bit value.
15402 * crypt/sha256.c (SWAP64): Define.
15403 (sha256_process_block): Perform total addition using 64-bit if
15404 possible.
15405 (__sha256_finish_ctx): Likewise.
15406
99231d9a
UD
154072011-07-01 Ulrich Drepper <drepper@gmail.com>
15408
15409 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
15410 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15411 * nscd/hstcache.c (cache_addhst): Likewise.
15412 * nscd/grpcache.c (cache_addgr): Likewise.
15413 * nscd/aicache.c (addhstaiX): Likewise
15414 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
15415
445b4a53
TK
154162011-07-01 Thorsten Kukuk <kukuk@suse.de>
15417
15418 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
15419 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15420 * nscd/hstcache.c (cache_addhst): Likewise.
15421 * nscd/grpcache.c (cache_addgr): Likewise.
15422 * nscd/aicache.c (addhstaiX): Likewise
15423
6d4d8e8e
AS
154242011-07-01 Andreas Schwab <schwab@redhat.com>
15425
15426 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
15427 domain only when needed.
15428
89f654c5
AS
154292011-06-30 Andreas Schwab <schwab@redhat.com>
15430
15431 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
15432 is always restored.
15433
cf3b23ff
UD
154342011-06-29 Ulrich Drepper <drepper@gmail.com>
15435
15436 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
15437 are re-adding the entry.
15438 * nscd/servicescache.c (cache_addserv): Likewise.
15439
751626f9
AJ
154402011-06-30 Aurelien Jarno <aurelien@aurel32.net>
15441
15442 * sysdeps/generic/dl-irel.h: fix protection against multiple
15443 inclusions.
15444 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
15445
9113ea1f
UD
154462011-06-28 Ulrich Drepper <drepper@gmail.com>
15447
5c0b8d90
UD
15448 [BZ #12935]
15449 * malloc/memusage.sh: Fix quoting in message.
15450 * debug/xtrace.sh: Likewise.
15451
9113ea1f
UD
15452 * configure.in: Remove support for --experimental-malloc option, make
15453 it the default.
15454 * config.make.in: Likewise.
15455 * malloc/Makefile: Likewise.
15456
a4172181
AS
154572011-06-27 Andreas Schwab <schwab@redhat.com>
15458
15459 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
15460 two-byte characters.
15461
78a7eee7
RM
154622011-06-27 Roland McGrath <roland@hack.frob.com>
15463
62bede13
RM
15464 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
15465 AC_CACHE_CHECK invocation.
15466 * configure: Regenerated.
15467
78a7eee7
RM
15468 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
15469
5ce33a62
UD
154702011-06-27 Ulrich Drepper <drepper@gmail.com>
15471
034807a9
UD
15472 [BZ #12350]
15473 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
15474 bit from old_res_options.
15475
4902da17
UD
15476 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
15477
5ce33a62
UD
15478 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
15479 value type for setfct.
15480
c2344f56
L
154812011-06-23 H.J. Lu <hongjiu.lu@intel.com>
15482
15483 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
15484 __gettimeofday instead of gettimeofday.
15485
68468076
UD
154862011-06-26 Ulrich Drepper <drepper@gmail.com>
15487
15488 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
15489
acb0d739
L
154902011-06-24 H.J. Lu <hongjiu.lu@intel.com>
15491
15492 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
15493
15494 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
15495 info.
15496
8912479f
L
154972011-06-22 H.J. Lu <hongjiu.lu@intel.com>
15498
15499 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15500 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
15501 strcpy-sse2-unaligned strncpy-sse2-unaligned
15502 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
15503 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
15504 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
15505 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
15506 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
15507 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
15508 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
15509 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
15510 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
15511 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
15512 (STRCPY): Support SSE2 and SSSE3 versions.
15513
d5495a11
UD
155142011-06-24 Ulrich Drepper <drepper@gmail.com>
15515
15516 [BZ #12874]
15517 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
15518 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
15519 kernels which artificially limit size of requests.
15520
0b1cbaae
L
155212011-06-22 H.J. Lu <hongjiu.lu@intel.com>
15522
15523 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15524 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
15525 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
15526 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
15527 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
15528 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
15529 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
15530 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
15531 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
15532 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
15533 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
15534 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
15535 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
15536 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
15537 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
15538 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15539 Enable unaligned load optimization for Intel Core i3, i5 and i7
15540 processors.
15541 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
15542 Define.
15543 (index_Fast_Unaligned_Load): Define.
15544 (HAS_FAST_UNALIGNED_LOAD): Define.
15545
07f494a0
MP
155462011-06-23 Marek Polacek <mpolacek@redhat.com>
15547
15548 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
15549
fa3fc0fe
UD
155502011-06-22 Ulrich Drepper <drepper@gmail.com>
15551
15552 [BZ #12907]
15553 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
15554 until it is clear that the information is realy needed.
15555 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
15556
e12df166
AS
155572011-06-22 Andreas Schwab <schwab@redhat.com>
15558
15559 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
15560
852eb34d
UD
155612011-06-22 Ulrich Drepper <drepper@gmail.com>
15562
84e2a551
UD
15563 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
15564 /sys/devices/system/cpu/online if it is usable.
15565
852eb34d
UD
15566 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
15567 reading the information from the /proc filesystem to once a second.
15568
6e502e19
UD
155692011-06-21 Andreas Jaeger <aj@suse.de>
15570
15571 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
15572 NULL after inclusion of kernel headers.
15573
75d39ff2
UD
155742011-06-21 Ulrich Drepper <drepper@gmail.com>
15575
51f9aa6a
UD
15576 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
15577 calls to internal_setent.
15578
c0244a9d
UD
15579 [BZ #12885]
15580 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
15581 addresses using gethostbyname4_r ignore IPv4 addresses.
15582
c5e3c2ae
UD
15583 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
15584 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
15585
75d39ff2
UD
15586 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
15587
42675c6f
DM
155882011-06-20 David S. Miller <davem@davemloft.net>
15589
15590 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
15591 inclusions.
15592 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
15593
15594 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
15595 (elf_irel): Use it.
15596 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
15597 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
15598 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
15599 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
15600 * sysdeps/x86_64/dl-irel.h: Likewise.
15601
15602 * elf/dl-runtime.c: Use elf_ifunc_invoke.
15603 * elf/dl-sym.c: Likewise.
15604
57912a71
UD
156052011-06-15 Ulrich Drepper <drepper@gmail.com>
15606
15607 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
15608 need to dereference resplen2.
15609
ee22793d
AS
156102011-06-14 Andreas Schwab <schwab@redhat.com>
15611
15612 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
15613
a9e836b0
UD
156142011-06-15 Ulrich Drepper <drepper@gmail.com>
15615
77fb9117
UD
15616 * Makeconfig: Define vardbdir and inst_vardbdir.
15617 * nss/Makefile: Add rules to install db-Makefile.
15618
40c1b22c
UD
15619 * nss/nss_db/db-XXX.c: Cleanup.
15620
9f2da732
UD
15621 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
15622 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
15623 GLIBC_PRIVATE.
15624 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
15625 * nss/makedb.c: Implement -g option to specify that value strings
15626 are generated and should not be added to table iterated over for
15627 get*ent calls.
15628 * nss/nss_db/db-initgroups.c: New file.
15629
82e9a1f7
UD
15630 * nss/getent.c: Add support for initgroups lookups through getgrouplist
15631 interface.
15632
c41af17e
UD
15633 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
15634 (internal_getgrouplist): Adjust to name change.
15635 Update use_initgroups_entry if this is not the first call.
15636 * nss/databases.def: Add initgroups entry.
15637
a9e836b0
UD
15638 * nss/makedb.c (compute_tables): Check result of multiple hash table
15639 sizes to minimize maximum chain length.
15640
2666d441
UD
156412011-06-14 Ulrich Drepper <drepper@gmail.com>
15642
15643 * Versions.def: Add entry for libnss_db.
15644 * shlib-versions: Likewise.
15645 * nss/Makefile: Add rules to build libnss_db.
15646 * nss/Versions: Add libnss_db information. Organize libnss_files
15647 entries better.
15648 * nss/db-Makefile: Add gshadow support. Change rules for the new
15649 makedb progra. Some minor improvements to generate smaller files.
15650 * nss/nss_db/nss_db.h: Move NSS database header data structures to
15651 here from...
15652 * nss/makedb.c: ...here.
15653 Improve database format to be smaller and require less memory at
15654 runtime.
15655 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
15656 db anymore.
15657 * nss/nss_db/db-netgrp.c: Likewise.
15658 * nss/nss_db/db-open.c: Likewise.
15659 * nss/nss_files/flies-XXX.x: Adjust comments.
15660 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
15661 * nss/nss_files/files-grp.c: Likewise.
15662 * nss/nss_files/files-hosts.c: Likewise.
15663 * nss/nss_files/files-network.c: Likewise.
15664 * nss/nss_files/files-proto.c: Likewise.
15665 * nss/nss_files/files-pwd.c: Likewise.
15666 * nss/nss_files/files-rpc.c: Likewise.
15667 * nss/nss_files/files-service.c: Likewise.
15668 * nss/nss_files/files-sgrp.c: Likewise.
15669 * nss/nss_files/files-spwd.c: Likewise.
15670 * nss/nss_db/db-alias.c: Removed.
15671 * nss/nss_db/dummy-db.h: Removed.
15672
9ee76b5a
UD
156732011-06-02 Ulrich Drepper <drepper@gmail.com>
15674
15675 * nss/makedb.c: Rewritten to not use database library.
15676 * nss/Makefile: Update to build new makedb program.
15677
c71ca1f8
AJ
156782011-06-14 Andreas Jaeger <aj@suse.de>
15679
15680 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
15681 memset declaration.
15682
3154bfb8
UD
156832011-06-10 Andreas Schwab <schwab@redhat.com>
15684
15685 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
15686 tmpbuf.
15687
b350afab
RM
156882011-06-10 Roland McGrath <roland@hack.frob.com>
15689
decd4e50
RM
15690 * Makerules (shlib.lds): Fail if the linker script comes out empty.
15691 * elf/Makefile ($(objpfx)ld.so): Likewise.
15692
5615eaf2
RM
15693 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
15694 Don't list ld.so twice in dependencies.
15695
15696 * posix/bug-regex31.c: Include <stdlib.h>.
15697
15698 * nscd/hstcache.c (cache_addhst): Remove unused variable.
15699
15700 * nis/nss_compat/compat-spwd.c
15701 (getspent_next_nss_netgr): Remove unused variable.
15702 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
15703
15704 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
15705 nonmembers" output to use the right array.
15706
15707 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
15708
15709 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
15710
15711 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
15712 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
15713 * catgets/gencat.c (read_input_file): Likewise.
15714 * locale/programs/locarchive.c (enlarge_archive): Likewise.
15715
15716 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
15717 variable definition inside #if's controlling its use.
15718
15719 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
15720
15721 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
15722
15723 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
15724
15725 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
15726 unreachable code.
15727
15728 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
15729
b68e08db
RM
15730 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
15731 * configure: Regenerated.
15732
b350afab
RM
15733 * Makerules: Revert last change.
15734 * elf/Makefile: Likewise.
15735
28368601
RM
157362011-06-09 Roland McGrath <roland@hack.frob.com>
15737
15738 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
15739 * elf/Makefile ($(objpfx)librtld.os): Likewise.
15740 (reloc-link): Likewise.
15741
11988f8f
UD
157422011-06-09 Ulrich Drepper <drepper@gmail.com>
15743
15744 * elf/Makefile: Add rules to build pldd.
15745 * elf/pldd.c: New file.
15746 * elf/pldd-xx.c: New file.
15747
e80fab37
UD
157482011-06-07 Ulrich Drepper <drepper@gmail.com>
15749
15750 * version.h: Update for 2.15 development version.
15751
9b849836
DM
157522011-06-07 David S. Miller <davem@davemloft.net>
15753
15754 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
15755 ifuncs.
15756 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
15757 elf_machine_lazy_rel): Likewise.
15758 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
15759 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
15760 elf_machine_lazy_rel): Likewise.
15761 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
15762 dl_hwcap via passed in argument.
15763 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
15764 Likewise.
15765
5a31b283
AK
157662011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15767
15768 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
15769
069e52f8
RM
157702011-06-06 Roland McGrath <roland@hack.frob.com>
15771
15772 [BZ #12849]
15773 * manual/fdl-1.1.texi: New file, verbatim from:
15774 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
15775 * manual/lgpl-2.1.texi: New file, verbatim from:
15776 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
15777 * manual/Makefile (licenses): New variable, list those new file names.
15778 (texis): Use it.
15779 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
15780
15781 * manual/fdl.texi: File removed.
15782 * manual/lesser.texi: File removed.
15783 * manual/libc.texinfo (Copying, Documentation License):
15784 Use new @include file names, put @appendix directive before @include.
15785
f16846a5
JJ
157862011-06-04 Jakub Jelinek <jakub@redhat.com>
15787
15788 [BZ #12841]
15789 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
15790 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
15791 (mq_open): Add __NTH.
15792
3d29045b
L
157932011-06-02 H.J. Lu <hongjiu.lu@intel.com>
15794
15795 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15796 Assume Intel Core i3/i5/i7 processor if AVX is available.
15797
8c297311
UD
157982011-05-31 Ulrich Drepper <drepper@gmail.com>
15799
15800 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
15801 typo.
15802
c8fc0c91
UD
158032011-05-31 Andreas Schwab <schwab@redhat.com>
15804
15805 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
15806 memory. Use alloca_account. Fix memory leak when retrying.
15807
5b27a807
UD
158082011-05-31 Ulrich Drepper <drepper@gmail.com>
15809
356f8bc6
UD
15810 * version.h (RELEASE): Bump for 2.14 release.
15811 * include/features.h (__GLIBC_MINOR__): Bump to 14.
15812
5b27a807
UD
15813 * config.make.in (RANLIB): Remove entry.
15814
01f16ab0
UD
158152011-05-30 Ulrich Drepper <drepper@gmail.com>
15816
41fce8bd
UD
15817 * po/Makefile (po-sed-cmd): Add ksh to extensions.
15818 (libc.pot): Work around missing support for .ksh extension in xgettext.
15819
4769ae77
UD
15820 [BZ #12684]
15821 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
15822 if both request failed.
15823 (send_dg): In case of server errors clear resplen or *resplen2.
15824
6b1e7d19
UD
15825 [BZ #12454]
15826 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
15827 when there are multiple maps.
15828 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
15829 (_dl_fini): Remove test here.
15830
01f16ab0
UD
15831 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
15832
b1ebd700
UD
158332011-05-29 Ulrich Drepper <drepper@gmail.com>
15834
7ae22829
UD
15835 [BZ #12350]
15836 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
15837 bit from old_res_options.
15838 (gaih_inet): Likewise.
15839
553149f6 15840 [BZ #11099]
18a84741 15841 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
15842 as signed.
15843
652ffab1
UD
15844 * resolv/res_init.c (res_setoptions): Make the code more compact.
15845
16985fd0
UD
15846 [BZ #11558]
15847 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
15848 set RES_USEVC.
15849
0464f746
UD
15850 [BZ #11634]
15851 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
15852
7d17596c
UD
15853 * malloc/malloc.h: Mark malloc hook variables as deprecated.
15854
cf6bbbd7
UD
15855 [BZ #11781]
15856 * malloc/malloc.h: Declare malloc hook variables as volatile.
15857
13f1ab36
UD
15858 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
15859 in last patch.
15860
b1ebd700
UD
15861 [BZ #11799]
15862 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 15863 raise in the comment.
80e2212d
UD
15864 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
15865 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
15866 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 15867
ce67228d
UD
158682011-05-28 Ulrich Drepper <drepper@gmail.com>
15869
8887a920
UD
15870 [BZ #12811]
15871 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
15872 grow the buffers more if it already has to be sufficient.
15873 (build_wcs_upper_buffer): Likewise.
15874 * posix/regexec.c (check_matching): Likewise.
15875 (clean_state_log_if_needed): Likewise.
15876 (extend_buffers): Don't enlarge buffers beyond size of the input
15877 buffer.
15878 Patches mostly by Emil Wojak <emil@wojak.eu>.
15879 * posix/bug-regex32.c: New file.
15880 * posix/Makefile (tests): Add bug-regex32.
15881
4f031072
UD
15882 * locale/findlocale.c (_nl_find_locale): Return right away if
15883 _nl_explode_name failed.
15884 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
15885
d0478f0c
UD
15886 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
15887
de81b246
UD
15888 * debug/xtrace.sh: Unify messages.
15889 * malloc/memusage.sh: Likewise.
15890
c738465a
UD
15891 [BZ #12813]
15892 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
15893 time symbol from vDSO. Substitute with vsyscall if not available.
15894 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
15895 __vdso_time.
15896
f1f929d7
UD
15897 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
15898 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
15899 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
15900 Add sendmmsg and internal_sendmmsg.
15901 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
15902 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
15903 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
15904
ce67228d
UD
15905 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
15906 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
15907 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
15908
e57420c6
UD
159092011-05-27 Ulrich Drepper <drepper@gmail.com>
15910
a8509ca5
UD
15911 [BZ #12813]
15912 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
15913 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
15914 available.
15915 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
15916 __vdso_getcpu.
15917
e57420c6
UD
15918 [BZ #12814]
15919 * iconvdata/Makefile (tests): Add bug-iconv9.
15920 * iconvdata/bug-iconv9.c: New file.
15921
4d07db15
AS
159222011-05-27 Andreas Schwab <schwab@redhat.com>
15923
15924 [BZ #12814]
15925 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
15926
ea486f69
JJ
159272011-05-25 Jakub Jelinek <jakub@redhat.com>
15928
15929 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
15930 (struct user_regs_struct): Change intcs field back to cs.
15931
6f038433
UD
159322011-05-25 Ulrich Drepper <drepper@gmail.com>
15933
15934 * po/ja.po: Update from translation team.
15935
67f86a25
UD
159362011-05-23 Ulrich Drepper <drepper@gmail.com>
15937
15938 [BZ #12795]
15939 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
15940 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
15941
def7fbd6
AS
159422011-05-20 Andreas Schwab <schwab@redhat.com>
15943
15944 * stdlib/longlong.h: Update from GCC.
15945
f50ef8f1
AS
159462011-05-23 Andreas Schwab <schwab@redhat.com>
15947
15948 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
15949 parameter name.
15950 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
15951 Add parameter name.
15952 (__sysconf): Pass it down.
15953
de7ce8f1
UD
159542011-05-22 Ulrich Drepper <drepper@gmail.com>
15955
f2962a71
UD
15956 [BZ #12671]
15957 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
15958 some situations.
15959 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
15960 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
15961 add in in __libc_use_alloca calls. Adjust callers.
15962 (glob): Use malloc in some situations.
15963
de7ce8f1
UD
15964 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
15965 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
15966 pltexit.
15967
aec84f53
UD
159682011-05-21 Ulrich Drepper <drepper@gmail.com>
15969
05bb4a68
UD
15970 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
15971 and CLOCK_BOOTTIME_ALARM.
15972
7ea72f99
UD
15973 [BZ #12782]
15974 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
15975 is returned.
15976
7e4afad5
UD
15977 * string/_strerror.c (__strerror_r): Print negative errors as signed
15978 numbers.
15979
8e211fec
UD
15980 [BZ #12777]
15981 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
15982 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
15983 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
15984
f7d82dc9
UD
15985 * configure.in: Fix typo in redirection and correct removal of test
15986 files in two cases.
15987
cc9e536d
UD
15988 [BZ #12788]
15989 * locale/setlocale.c (new_composite_name): Fix test to check for
15990 identical name of all categories.
15991
aec84f53
UD
15992 [BZ #12792]
15993 * libio/filedoalloc.c (local_isatty): New function.
15994 (_IO_file_doallocate): Use local_isatty.
15995 * stdio-common/perror.c (perror): In case a new stream is used
15996 forward the stream error.
15997 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
15998 error flag.
15999
78e64fdc
RT
160002011-05-20 Ulrich Drepper <drepper@gmail.com>
16001
34a9094f
UD
16002 [BZ #11869]
16003 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
16004 alloca.
16005 * include/alloca.h (extend_alloca_account): Define.
16006
78e64fdc
RT
16007 [BZ #11857]
16008 * posix/regex.h: Fix comments with documentation of user-accessible
16009 fields after compilation and describe correct free'ing of pattern
16010 after re_compile_pattern.
16011 Patch by Reuben Thomas <rrt@sc3d.org>.
16012
457bddfc
RA
160132011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
16014
16015 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
16016 and -mno-altivec to prevent the compiler from using Altivec and/or
16017 VSX instructions when the corresponding registers are not available.
16018
a4527b51
AS
160192011-05-19 Andreas Schwab <schwab@redhat.com>
16020
16021 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
16022
ed690b2f
UD
160232011-05-19 Ulrich Drepper <drepper@gmail.com>
16024
16025 * libio/freopen.c (freopen): Use __dup2, not dup2.
16026 * libio/freopen64.c (freopen64): Likewise.
16027
8db73634
L
160282011-05-17 H.J. Lu <hongjiu.lu@intel.com>
16029
16030 [BZ #12775]
16031 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
16032 * math/Makefile (tests): Add test-powl.
16033 (CFLAGS-test-powl.c): Define.
16034 * math/test-powl.c: New file.
16035
0a197a9d
L
160362011-05-16 H.J. Lu <hongjiu.lu@intel.com>
16037
16038 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
16039
ee30c380
UD
160402011-05-17 Ulrich Drepper <drepper@gmail.com>
16041
16042 [BZ #11837]
16043 * iconvdata/gb18030.c: Update to GB18020-2005.
16044
6ce75379
UD
160452011-05-16 Ulrich Drepper <drepper@gmail.com>
16046
a4b89fd8
AR
16047 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
16048 RE_SYNTAX_POSIX_AWK): Update to match recent development.
16049 Patch by Aharon Robbins <arnold@skeeve.com>.
16050
ea389b12
UD
16051 [BZ #11892]
16052 * stdlib/putenv.c (putenv): Don't always create copy of the variable
16053 on the stack.
16054
68a3f91f
UD
16055 [BZ #11895]
16056 * misc/pselect.c (__pselect): Handle timeout value errors hidden
16057 through underflows.
16058
15cc7dd1
UD
16059 [BZ #12766]
16060 * misc/error.c (error_at_line): Ensure file_name and old_file_name
16061 point to strings before performing equality test for error_one_per_line
16062 mode.
16063
f3799213
UD
16064 [BZ #11697]
16065 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
16066
d79a9c94
UD
16067 [BZ #11820]
16068 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
16069 (struct user_fpregs_struct): Avoid __uint*_t types.
16070
56e5eb46
UD
16071 [BZ #6420]
16072 * malloc/mtrace.c (tr_where): Add additional parameter to point to
16073 symbol info. Use it instead of calling _dl_addr locally.
16074 (lock_and_info): New function.
16075 (tr_freehook): Call lock_and_info and pass symbol info as additional
16076 parameter to tr_where.
16077 (tr_mallochook): Likewise.
16078 (tr_reallochook): Likewise.
16079 (tr_memalignhook): Likewise.
16080
6ce75379
UD
16081 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
16082 used and couldn't be at all thread-safe.
16083
f8a3b5bf
UD
160842011-05-15 Ulrich Drepper <drepper@gmail.com>
16085
94b7cc37
UD
16086 * libio/freopen.c (freopen): Don't close old file descriptor
16087 before the new one is opened. Instead dup the new file descriptor
16088 to the old one after the new stream is created.
16089 * libio/freopen64.c (freopen64): Likewise.
16090 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
16091 * libio/fileops.c (_IO_new_file_close_it): Handle new
16092 _IO_FLAGS2_NOCLOSE flag.
16093 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
16094 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
16095 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
16096 _IO_FLAGS2_NOCLOSE flag.
16097 * include/unistd.h: Add hidden_proto for dup3.
16098 Define __have_dup3.
16099 * io/dup3.c: Define hidden symbol.
16100 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
16101
bd25564e
UD
16102 [BZ #7101]
16103 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
16104 when an incomplete long option is used.
16105 * posix/tst-getopt_long1.c: New file.
16106 * posix/Makefile (tests): Add tst-getopt_long1.
16107
c84cfef4
UD
16108 [BZ #10138]
16109 * scripts/config.guess: Update from autoconf-2.68.
16110 * scripts/config.sub: Likewise.
16111
3b85df27
UD
16112 [BZ #10157]
16113 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
16114 tests into ...
16115 (has_cpuclock): ...this. New function.
16116 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
16117 macro here based on has_cpuclock code.
16118
15a856b1
UD
16119 [BZ #10149]
16120 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16121 First byte (not low byte) is now always NUL.
16122 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
16123
05f399e6
UD
16124 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16125 Use non-cancelable interfaces.
16126
10a52685 16127 [BZ #9809]
94ecc67d
UD
16128 * locale/iso-639.def: Add entry for Sorani.
16129
f8a3b5bf
UD
16130 [BZ #11901]
16131 * include/stdlib.h: Move include protection to the right place.
16132 Define abort_msg_s. Declare __abort_msg with it.
16133 * stdlib/abort.c (__abort_msg): Adjust type.
16134 * assert/assert.c (__assert_fail_base): New function. Majority
16135 of code from __assert_fail. Allocate memory for __abort_msg with
16136 mmap.
16137 (__assert_fail): Now call __assert_fail_base.
16138 * assert/assert-perr.c: Remove bulk of implementation. Use
16139 __assert_fail_base.
16140 * include/assert.hL Declare __assert_fail_base.
16141 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
16142 mmap.
16143 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
16144
1af4e298
UD
161452011-05-14 Ulrich Drepper <drepper@gmail.com>
16146
f8a3b5bf 16147 [BZ #11952]
d26dfc60
MG
16148 [BZ #12453]
16149 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
16150 until all modules are registered in the DTV.
16151 * elf/Makefile: Add rules to build and run tst-tls19.
16152 * elf/tst-tls19.c: New file.
16153 * elf/tst-tls19mod1.c: New file.
16154 * elf/tst-tls19mod2.c: New file.
16155 * elf/tst-tls19mod3.c: New file.
16156 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
16157
2fc54d6f
UD
16158 [BZ #12083]
16159 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
16160 correctly.
16161
98d76b46
UD
16162 [BZ #12601]
16163 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
16164 two-byte sequence errors.
16165 * iconvdata/Makefile (tests): Add bug-iconv8.
16166 * iconvdata/bug-iconv8.c: New file.
16167
da3c19ef
UD
16168 [BZ #12626]
16169 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
16170 buf2 definition.
16171
ca408c15
UD
16172 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
16173
d6f67f7d
UD
16174 [BZ #12432]
16175 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
16176 (dummy_getcfa): New function.
16177 (init): Get _Unwind_GetCFA address, use dummy if not found.
16178 (backtrace_helper): In recursion check, also check whether CFA changes.
16179 (__backtrace): Completely initialize arg.
16180
1af4e298 16181 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
16182 storing incomplete byte sequence in state object. Avoid testing for
16183 guaranteed too small input if we know there is enough data available.
1af4e298 16184
da62f81b
AS
161852011-05-11 Andreas Schwab <schwab@redhat.com>
16186
16187 * Makeconfig (+link-pie): Indent.
16188 * Rules (binaries-pie): Define if $(have-fpie) and
16189 $(build-shared).
16190 (binaries-shared): Also filter out $(binaries-pie).
16191 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
16192 * nscd/Makefile (others-pie): Add nscd.
16193 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
16194 ($(objpfx)nscd): Remove command override.
16195 * login/Makefile (others-pie): Add pt_chown.
16196 ($(objpfx)pt_chown): Remove command override.
16197 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
16198 remove command overrides.
16199
fcabc0f8
UD
162002011-05-13 Ulrich Drepper <drepper@gmail.com>
16201
20030ae6
UD
16202 * libio/tst_putwc.c: Fix error messages.
16203
fcabc0f8
UD
16204 [BZ #12724]
16205 * libio/fileops.c (_IO_new_file_close_it): Always flush when
16206 currently writing and seek to current position when not.
16207 * libio/Makefile (tests): Add bug-fclose1.
16208 * libio/bug-fclose1.c: New file.
16209
320a5dc0
PB
162102011-05-12 Ulrich Drepper <drepper@gmail.com>
16211
16212 [BZ #12511]
16213 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
16214 don't set DF_1_NODELETE here.
16215 (do_lookup_x): When entering new entry test for copy relocation
16216 and if necessary set DF_1_NODELETE flag.
16217 * elf/tst-unique4.cc: New file.
16218 * elf/tst-unique4.h: New file.
16219 * elf/tst-unique4lib.cc: New file.
16220 * elf/Makefile: Add rules to build and run tst-unique4.
16221 Patch by Piotr Bury <pbury@goahead.com>.
16222
22836f52
UD
162232011-05-11 Ulrich Drepper <drepper@gmail.com>
16224
f574184a
UD
16225 [BZ #12052]
16226 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
16227
e1fb097f
UD
16228 [BZ #12625]
16229 * misc/mntent_r.c (addmntent): Flush the stream after the output
16230
22836f52
UD
16231 [BZ #12393]
16232 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
16233 (is_trusted_path_normalize): Skip initial colon. Append slash
16234 to empty buffer. Duplicate is_trusted_path code but allow
16235 constructed patch to be prefix.
16236 (is_dst): Allow $ORIGIN followed by /.
16237 (_dl_dst_substitute): Correct clearing of check_for_trusted.
16238 Correct testing of result of is_trusted_path_normalize
16239 (decompose_rpath): Fix warning.
16240
7b3b0b2a
UD
162412011-05-10 Ulrich Drepper <drepper@gmail.com>
16242
16243 [BZ #11257]
16244 * grp/initgroups.c (internal_getgrouplist): When we found the service
16245 list through the initgroups entry in nsswitch.conf do not always
16246 continue on a successful lookup. Don't always use the
eac80ce2 16247 __nss_group_database value if it is set.
7b3b0b2a
UD
16248 * nss/nsswitch.conf (initgroups): Change action for successful db
16249 lookup to continue for compatibility.
16250
2a81eaa5
UD
162512011-05-09 Ulrich Drepper <drepper@gmail.com>
16252
be97a69e
UD
16253 [BZ #11532]
16254 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
16255 and CP774 modules.
16256 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
16257 and CP774 modules.
16258 * iconvdata/tst-tables.sh: Likewise.
16259 * iconvdata/cp770.c: New file.
16260 * iconvdata/cp771.c: New file.
16261 * iconvdata/cp772.c: New file.
16262 * iconvdata/cp773.c: New file.
16263 * iconvdata/cp774.c: New file.
16264 * iconvdata/testdata/CP770: New file.
16265 * iconvdata/testdata/CP770..UTF8: New file.
16266 * iconvdata/testdata/CP771: New file.
16267 * iconvdata/testdata/CP771..UTF8: New file.
16268 * iconvdata/testdata/CP772: New file.
16269 * iconvdata/testdata/CP772..UTF8: New file.
16270 * iconvdata/testdata/CP773: New file.
16271 * iconvdata/testdata/CP773..UTF8: New file.
16272 * iconvdata/testdata/CP774: New file.
16273 * iconvdata/testdata/CP774..UTF8: New file.
16274
16275 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
16276 END CHARMAP line.
16277 * iconvdata/gen-8bit-gap.sh: Likewise.
16278 * iconvdata/gen-8bit.sh: Likewise.
16279
c1e9e399
UD
16280 * locale/iso-639.def: Add ary entry.
16281
24c55fb3 16282 [BZ #11258]
96b4b1b0
UD
16283 * locale/C-translit.h.in: Add U20A1 transliteration.
16284
bdc2f971
KB
16285 [BZ #12178]
16286 * locale/iso-639.def: Add wae entry.
16287 Patch by Kevin Bortis <bortis@translate-wae.ch>.
16288
2952b117
UD
16289 [BZ #12545]
16290 * locale/programs/localedef.c (construct_output_path): Use ssize_t
16291 for n.
16292
2a81eaa5
UD
16293 [BZ #12711]
16294 * locale/C-translit.h.in: Add entry for U20B9.
16295 Patch by pravin.d.s@gmail.com.
16296
28377d1b
UD
162972011-05-08 Ulrich Drepper <drepper@gmail.com>
16298
7fb90fb8
UD
16299 [BZ #12713]
16300 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
16301 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
16302 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
16303 in rtld. Use *stat64.
7fb90fb8 16304 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 16305 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 16306 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
16307 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
16308 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
16309 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
16310 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
16311 __fstatat64 macros.
7fb90fb8
UD
16312 * include/dirent.h: Add libc_hidden_proto for rewinddir.
16313 * dirent/rewinddir.c: Add libc_hidden_def.
16314 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 16315 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 16316
28377d1b
UD
16317 * include/dirent.h (__alloc_dir): Add flags parameter.
16318 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
16319 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
16320 __alloc_dir.
16321 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
16322 from fdopendir if O_CLOEXEC is already set.
16323
66bdbaa4
AM
163242011-03-15 Alan Modra <amodra@gmail.com>
16325
16326 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
16327 l_tls_firstbyte_offset non-zero. Save padding offset in
16328 l_tls_firstbyte_offset for later use.
16329 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
16330 freeing static tls block.
16331
95721191
JN
163322011-03-05 Jonathan Nieder <jrnieder@gmail.com>
16333
16334 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
16335 where #ifdef was intended. The intent is to prevent ARG_MAX from
16336 being defined by the kernel headers.
16337
f87dfb1f
UD
163382011-05-07 Ulrich Drepper <drepper@gmail.com>
16339
16340 [BZ #12734]
16341 * resolv/resolv.h: Define RES_NOTLDQUERY.
16342 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
16343 no-tld-query and set RES_NOTLDQUERY.
16344 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
16345 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
16346 modern BIND to search name as TLD unless forbidden.
16347
47c3cd7a
UD
163482011-05-07 Petr Baudis <pasky@suse.cz>
16349 Ulrich Drepper <drepper@gmail.com>
16350
16351 [BZ #12393]
16352 * elf/dl-load.c (fillin_rpath): Move trusted path check...
16353 (is_trusted_path): ...to here.
c1e9ea35 16354 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 16355 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 16356 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 16357
8a35c912
PP
163582011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
16359
16360 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
16361 __BEGIN/__END_DECLS.
16362
acd41f47
UD
163632011-05-06 Ulrich Drepper <drepper@gmail.com>
16364
16365 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
16366 NSS_STATUS_NOTFOUND if no record was found.
16367
597df647
AS
163682011-05-05 Andreas Schwab <schwab@redhat.com>
16369
16370 * sunrpc/Makefile (headers): Add rpc/netdb.h.
16371 (headers-not-in-tirpc): Remove rpc/netdb.h
16372 * resolv/netdb.h: Revert last change.
16373
b9af1301
PP
163742011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
16375
16376 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
16377 circular dependency between libgcc.a and libc.a.
16378
4e34d5f5
AS
163792011-05-05 Andreas Schwab <schwab@redhat.com>
16380
16381 * resolv/netdb.h: Don't include <rpc/netdb.h>.
16382 * nis/Makefile: Don't install rpcsvc/*.
16383 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
16384 instead of <rpc/types.h>.
16385 (MAXHOSTNAMELEN): Define.
16386
00ee369c
AS
163872011-05-03 Andreas Schwab <schwab@redhat.com>
16388
16389 * elf/ldconfig.c (add_dir): Don't crash on empty path.
16390
0b592a30
MB
163912011-04-28 Maciej Babinski <mbabinski@google.com>
16392
16393 [BZ #12714]
16394 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
16395 gethostbyname4_r when IPv6 results are possible.
16396
6e04cbbe
UD
163972011-05-02 Ulrich Drepper <drepper@gmail.com>
16398
16399 [BZ #12723]
16400 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
16401 _PC_PIPE_BUF handling.
16402
e4ecafe0
BH
164032011-04-30 Bruno Haible <bruno@clisp.org>
16404
16405 [BZ #12717]
16406 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
16407 * resolv/netdb.h (getnameinfo): Change type of flags parameter
16408 to 'int'.
16409 * inet/getnameinfo.c (getnameinfo): Likewise.
16410
125ee683
UD
164112011-04-29 Ulrich Drepper <drepper@gmail.com>
16412
16413 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
16414 to groups setting in database lookup.
16415 * nss/nsswitch.conf: Add initgroups entry.
16416
b722481a
EB
164172011-04-22 Ulrich Drepper <drepper@gmail.com>
16418
16419 [BZ #12685]
16420 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
16421 mode string.
16422 Patch by Eric Blake <eblake@redhat.com>.
16423
4df46dbd
L
164242011-04-20 H.J. Lu <hongjiu.lu@intel.com>
16425
16426 * sunrpc/Makefile (need-export-routines): Add svc_run.
16427 (routines): Remove svc_run.
16428 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
16429 * sunrpc/clnt_perr.c (clnt_perrno): Export.
16430 * sunrpc/svc_run.c (svc_run): Likewise.
16431 * sunrpc/svc_udp.c (svcudp_create): Likewise.
16432
e84142d2
UD
164332011-04-21 Ulrich Drepper <drepper@gmail.com>
16434
16435 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
16436 problem in reallocation in last patch.
16437
877175d8
UD
164382011-04-20 Ulrich Drepper <drepper@gmail.com>
16439
16440 * sunrpc/Makefile: Move inclusion of Rules.
16441
ab8eed78
UD
164422011-04-19 Ulrich Drepper <drepper@gmail.com>
16443
16444 * nss/nss_files/files-initgroups.c: New file.
16445 * nss/Makefile (libnss_files-routines): Add files-initgroups.
16446 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
16447 _nss_files_initgroups_dyn.
16448
e3d8f584
RS
164492011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
16450
16451 * elf/elf.h (R_ARM_IRELATIVE): Define.
16452
af190f45
UD
164532011-04-19 Ulrich Drepper <drepper@gmail.com>
16454
16455 * po/ru.po: Update from translation team.
16456
53cf59ef
UD
164572011-04-17 Ulrich Drepper <drepper@gmail.com>
16458
16459 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
16460 dependencies.
16461
4c559bcd
MF
164622011-02-06 Mike Frysinger <vapier@gentoo.org>
16463
16464 [BZ #12653]
16465 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
16466 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
16467 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
16468 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
16469 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
16470
4420675c
AS
164712011-03-28 Andreas Schwab <schwab@linux-m68k.org>
16472
16473 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
16474 differing bytes.
16475 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
16476 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
16477 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
16478
75ea32ab
UD
164792011-04-17 Ulrich Drepper <drepper@gmail.com>
16480
16481 [BZ #12420]
16482 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
16483 storing it.
16484 * stdlib/bug-getcontext.c: New file.
16485 * stdlib/Makefile: Add rules to build and run bug-getcontext.
16486
27390476
AK
164872011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16488
16489 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
16490 instructions into .machine "z9-109".
16491 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
16492 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
16493
10442705
AK
164942011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16495
16496 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
16497 between environment variables and auxiliary vector.
16498
7b57bfe5
UD
164992011-04-16 Ulrich Drepper <drepper@gmail.com>
16500
16501 * Makefile: Add rules to build linkobj/libc.so.
16502 * include/libc-symbols.h: Define libc_hidden_nolink.
16503 * include/rpc/auth.h: Mark functions which are to be hidden.
16504 * include/rpc/auth_des.h: Likewise.
16505 * include/rpc/auth_unix.h: Likewise.
16506 * include/rpc/clnt.h: Likewise.
16507 * include/rpc/des_crypt.h: Likewise.
16508 * include/rpc/key_prot.h: Likewise.
16509 * include/rpc/pmap_clnt.h: Likewise.
16510 * include/rpc/pmap_prot.h: Likewise.
16511 * include/rpc/pmap_rmt.h: Likewise.
16512 * include/rpc/rpc_msg.h: Likewise.
16513 * include/rpc/svc.h: Likewise.
16514 * include/rpc/svc_auth.h: Likewise.
16515 * include/rpc/xdr.h: Likewise.
16516 * nis/Makefile: Link all DSOs against linkobj/libc.so.
16517 * nss/Makefile: Likewise.
16518 * sunrpc/Makefile: Don't install headers. Build library with normal
16519 entry points. Don't build rpcinfo. Link RPC tests appropriately.
16520 * sunrpc/auth_des.c: Hide exported symbols by default, export some
16521 for the compat linking library. Remove use of INTDEF/INTUSE.
16522 * sunrpc/auth_none.c: Likewise.
16523 * sunrpc/auth_unix.c: Likewise.
16524 * sunrpc/authdes_prot.c: Likewise.
16525 * sunrpc/authuxprot.c: Likewise.
16526 * sunrpc/clnt_gen.c: Likewise.
16527 * sunrpc/clnt_perr.c: Likewise.
16528 * sunrpc/clnt_raw.c: Likewise.
16529 * sunrpc/clnt_simp.c: Likewise.
16530 * sunrpc/clnt_tcp.c: Likewise.
16531 * sunrpc/clnt_udp.c: Likewise.
16532 * sunrpc/clnt_unix.c: Likewise.
16533 * sunrpc/des_crypt.c: Likewise.
16534 * sunrpc/des_soft.c: Likewise.
16535 * sunrpc/get_myaddr.c: Likewise.
16536 * sunrpc/key_call.c: Likewise.
16537 * sunrpc/key_prot.c: Likewise.
16538 * sunrpc/netname.c: Likewise.
16539 * sunrpc/pm_getmaps.c: Likewise.
16540 * sunrpc/pm_getport.c: Likewise.
16541 * sunrpc/pmap_clnt.c: Likewise.
16542 * sunrpc/pmap_prot.c: Likewise.
16543 * sunrpc/pmap_prot2.c: Likewise.
16544 * sunrpc/pmap_rmt.c: Likewise.
16545 * sunrpc/publickey.c: Likewise.
16546 * sunrpc/rpc_cmsg.c: Likewise.
16547 * sunrpc/rpc_common.c: Likewise.
16548 * sunrpc/rpc_dtable.c: Likewise.
16549 * sunrpc/rpc_prot.c: Likewise.
16550 * sunrpc/rpc_thread.c: Likewise.
16551 * sunrpc/rtime.c: Likewise.
16552 * sunrpc/svc.c: Likewise.
16553 * sunrpc/svc_auth.c: Likewise.
16554 * sunrpc/svc_authux.c: Likewise.
16555 * sunrpc/svc_raw.c: Likewise.
16556 * sunrpc/svc_run.c: Likewise.
16557 * sunrpc/svc_simple.c: Likewise.
16558 * sunrpc/svc_tcp.c: Likewise.
16559 * sunrpc/svc_udp.c: Likewise.
16560 * sunrpc/svc_unix.c: Likewise.
16561 * sunrpc/svcauth_des.c: Likewise.
16562 * sunrpc/xcrypt.c: Likewise.
16563 * sunrpc/xdr.c: Likewise.
16564 * sunrpc/xdr_array.c: Likewise.
16565 * sunrpc/xdr_float.c: Likewise.
16566 * sunrpc/xdr_intXX_t.c: Likewise.
16567 * sunrpc/xdr_mem.c: Likewise.
16568 * sunrpc/xdr_rec.c: Likewise.
16569 * sunrpc/xdr_ref.c: Likewise.
16570 * sunrpc/xdr_sizeof.c: Likewise.
16571 * sunrpc/xdr_stdio.c: Likewise.
16572
e6c61494
UD
165732011-04-10 Ulrich Drepper <drepper@gmail.com>
16574
16575 [BZ #12650]
16576 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
16577 * sysdeps/ia64/dl-tls.h: Likewise.
16578 * sysdeps/powerpc/dl-tls.h: Likewise.
16579 * sysdeps/s390/dl-tls.h: Likewise.
16580 * sysdeps/sh/dl-tls.h: Likewise.
16581 * sysdeps/sparc/dl-tls.h: Likewise.
16582 * sysdeps/x86_64/dl-tls.h: Likewise.
16583 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
16584
34fe483e
AS
165852011-03-14 Andreas Schwab <schwab@redhat.com>
16586
16587 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
16588 rpath element also skip the following colon.
16589 (expand_dynamic_string_token): Add is_path parameter and pass
16590 down to DL_DST_REQUIRED and _dl_dst_substitute.
16591 (decompose_rpath): Call expand_dynamic_string_token with
16592 non-zero is_path. Ignore empty rpaths.
16593 (_dl_map_object_from_fd): Call expand_dynamic_string_token
16594 with zero is_path.
16595
f12a32e6
AS
165962011-04-08 Andreas Schwab <schwab@linux-m68k.org>
16597
16598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
16599 Make cancelable.
16600
38a7d692
UD
166012011-04-09 Ulrich Drepper <drepper@gmail.com>
16602
16603 [BZ #12655]
16604 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
16605 Patch by Filipe David Manana <fdmanana@apache.org>.
16606
e451d22b
AS
166072011-04-07 Andreas Schwab <schwab@redhat.com>
16608
16609 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
16610 Maintain aligned stack.
16611 (CHECK_RSP): Remove unused macro.
16612
dedc7c7b
UD
166132011-04-03 Ulrich Drepper <drepper@gmail.com>
16614
16615 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
16616 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
16617
94521213
UD
166182011-04-02 Ulrich Drepper <drepper@gmail.com>
16619
16620 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
16621
8cb700c0 16622 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 16623
0354e355
L
166242011-03-26 H.J. Lu <hongjiu.lu@intel.com>
16625
16626 [BZ #12518]
16627 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
16628 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
16629 * sysdeps/x86_64/memmove.c: New file.
16630 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
16631 (memcpy): Renamed to ...
16632 (__new_memcpy): This.
16633 (memcpy): Provide GLIBC_2_14 memcpy.
16634 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
16635 (memcpy): Provide GLIBC_2_2_5 memcpy.
16636
8593482f
UD
166372011-04-01 Ulrich Drepper <drepper@gmail.com>
16638
16639 [BZ #12631]
16640 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
16641
81a5726b
AS
166422011-03-30 Andreas Schwab <schwab@redhat.com>
16643
16644 * misc/syncfs.c: New file.
16645 * misc/Makefile (routines): Add syncfs.
16646 * posix/unistd.h: Declare syncfs.
16647 * sysdeps/unix/syscalls.list: Add syncfs.
16648
00e5419f
AS
166492011-04-01 Andreas Schwab <schwab@redhat.com>
16650
16651 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
16652 open_by_handle_at.
16653 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
16654 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
16655 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16656 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
16657 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16658 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
16659 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
16660
748876bf
UD
166612011-04-01 Ulrich Drepper <drepper@gmail.com>
16662
658e451d
UD
16663 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
16664 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
16665 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
16666 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16667 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
16668 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16669 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
16670
748876bf
UD
16671 * io/Makefile: Compile fallocate.c, fallocate64.c, and
16672 sync_file_range.c with -fexceptions.
16673 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
16674 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
16675 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
16676 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
16677 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
16678 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
16679 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
16680 sync_file_range as cancellation point
16681 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
16682 now a wrapper around __call_sync_file_range with cancellation handling.
16683 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
16684 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
16685 function name to __call_sync_file_range.
16686 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
16687 Add call_sync_file_range.
748876bf 16688
6e63d5e1
AS
166892011-04-01 Andreas Schwab <schwab@redhat.com>
16690
16691 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 16692 bits/timex.h.
6e63d5e1 16693
46998f74
UD
166942011-04-01 Ulrich Drepper <drepper@gmail.com>
16695
4c1423ed
UD
16696 * iconv/iconv.h: Fix typo in comment.
16697 * io/fcntl.h: Likewise.
16698 * libio/stdio.h: Likewise.
16699 * posix/spawn.h: Likewise.
16700 * posix/unistd.h: Likewise.
16701 * stdlib/stdlib.h: Likewise.
16702 * time/time.h: Likewise.
16703 * wcsmbs/wchar.h: Likewise.
16704
158648c0
UD
16705 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
16706 open_by_handle): Add.
16707 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
16708 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
16709 Augment a few comments.
16710 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
16711 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16712 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
16713 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16714 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
16715 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
16716 open_by_handle.
16717
46998f74
UD
16718 * io/fcntl.h (AT_EMPTY_PATH): Define.
16719
83fe108b
UD
167202011-03-30 Ulrich Drepper <drepper@gmail.com>
16721
16722 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
16723 * sysdeps/unix/sysv/linux/bits/time.h: New file.
16724 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
16725 to...
16726 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
16727 * Versions.def: Add GLIBC_2.14.
16728 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
16729 Export.
83fe108b 16730
bb242059
UD
167312011-03-22 Ulrich Drepper <drepper@gmail.com>
16732
16733 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
16734 round counter.
16735 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
16736
c97a1282
L
167372011-03-20 H.J. Lu <hongjiu.lu@intel.com>
16738
16739 [BZ #12597]
16740 * string/test-strncmp.c (do_page_test): New function.
16741 (check2): Likewise.
16742 (test_main): Call check2.
16743 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
16744
2a115601
UD
167452011-03-20 Ulrich Drepper <drepper@gmail.com>
16746
16747 [BZ #12587]
16748 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
16749 Handle cache information in CPU leaf 4.
16750 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
16751
8126d904
UD
167522011-03-18 Ulrich Drepper <drepper@gmail.com>
16753
042c49c6 16754 [BZ #12583]
8126d904
UD
16755 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
16756 character representation.
16757 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
16758
ccfe366e
RA
167592011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
16760
16761 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
16762 END(__isnan) to END(__isnanf) to match function entry point/label
16763 EALIGN(__isnanf,...).
16764
c6e13027
JJ
167652011-03-10 Jakub Jelinek <jakub@redhat.com>
16766
16767 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
16768
33f85a3f
UD
167692011-03-10 Ulrich Drepper <drepper@gmail.com>
16770
028478fa
UD
16771 [BZ #12510]
16772 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
16773 copy from the symbol referenced in the relocation to initialize the
16774 used variable.
16775 Patch by Piotr Bury <pbury@goahead.com>.
16776 * elf/Makefile: Add rules to build and tst-unique3.
16777 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
16778 * elf/tst-unique3.cc: New file.
16779 * elf/tst-unique3.h: New file.
16780 * elf/tst-unique3lib.cc: New file.
16781 * elf/tst-unique3lib2.cc: New file.
16782
33f85a3f
UD
16783 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
16784
03592fc7
MF
167852011-03-10 Mike Frysinger <vapier@gentoo.org>
16786
16787 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
16788 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
16789 to _start.
03592fc7 16790
6a5ee102
UD
167912011-03-06 Ulrich Drepper <drepper@gmail.com>
16792
16793 * elf/dl-load.c (_dl_map_object): If we are looking for the first
16794 to-be-loaded object along a path to loader is ld.so.
16795
7e4ba49c
HJ
167962011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
16797 Ulrich Drepper <drepper@gmail.com>
16798
16799 * sysdeps/x86_64/memset.S: After aligning destination, code
16800 branches to different locations depending on the value of
16801 misalignment, when multiarch is enabled. Fix this.
16802
168032011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
16804
16805 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
16806 Set _x86_64_preferred_memory_instruction for AMD processsors.
16807 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16808 Set bit_Prefer_SSE_for_memop for AMD processors.
16809
13a804de
UD
168102011-03-04 Ulrich Drepper <drepper@gmail.com>
16811
16812 * libio/fmemopen.c (fmemopen): Optimize a bit.
16813
9d25c392
AS
168142011-03-03 Andreas Schwab <schwab@redhat.com>
16815
16816 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
16817
a5543c6a
RM
168182011-03-03 Roland McGrath <roland@redhat.com>
16819
16820 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
16821
012d35f7
DM
168222011-02-28 Aurelien Jarno <aurelien@aurel32.net>
16823
7e4ba49c 16824 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
16825 __bzero_ultra1 instead of __memset_ultra1.
16826
4bff6e01
AS
168272011-02-23 Andreas Schwab <schwab@redhat.com>
16828 Ulrich Drepper <drepper@gmail.com>
16829
16830 [BZ #12509]
16831 * include/link.h (struct link_map): Add l_orig_initfini.
16832 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
16833 returning unsuccessfully.
16834 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
16835 close of a file loaded at startup, restore the original l_initfini
16836 list.
16837 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
16838 list, store the pointer.
16839 * elf/Makefile ($(objpfx)noload-mem): New rule.
16840 (noload-ENV): Define.
16841 (tests): Add $(objpfx)noload-mem.
16842 * elf/noload.c: Include <memcheck.h>.
16843 (main): Call mtrace. Close all opened handles.
16844
f2092faf
AS
168452011-02-17 Andreas Schwab <schwab@redhat.com>
16846
16847 [BZ #12454]
16848 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
16849 dependencies are missing.
16850
6c8a2e88
ST
168512011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
16852
f2092faf 16853 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
16854 Hurd needs munmap.
16855 * sysdeps/mach/hurd/ifreq.h: New file.
16856
84a42118
PB
168572011-01-27 Petr Baudis <pasky@suse.cz>
16858 Ulrich Drepper <drepper@gmail.com>
16859
071f805e 16860 [BZ 12445]#
84a42118
PB
16861 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
16862 to extend_alloca().
16863 * stdio-common/bug23.c: New file.
16864 * stdio-common/Makefile (tests): Add bug23.
16865
e23fe25b
AS
168662010-09-28 Andreas Schwab <schwab@redhat.com>
16867 Ulrich Drepper <drepper@gmail.com>
16868
16869 [BZ #12489]
16870 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
16871 before performing relro protection. At old place add assertion
16872 to make sure nothing changed.
16873
d3f02e10
NS
168742011-02-17 Nathan Sidwell <nathan@codesourcery.com>
16875 Glauber de Oliveira Costa <glommer@gmail.com>
16876
16877 * elf/elf.h: Add new ARM TLS relocs.
16878
d55fd7a5
RA
168792011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
16880
16881 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
16882 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
16883 cast from r3.
16884 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
16885 'tests' variable.
16886 * sysdeps/wordsize-64/tst-writev.c: New file.
16887
2206397e
RA
168882011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
16889
16890 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
16891 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
16892 insns in _dl_start to prevent a TOC reference before relocs are
16893 resolved.
16894
e9433893
UD
168952011-02-15 Ulrich Drepper <drepper@gmail.com>
16896
16897 [BZ #12469]
16898 * Makeconfig: Remove RANLIB definition.
16899 * Makerules: Don't use RANLIB.
16900 * aclocal.m4: Remove ranlib test.
16901 * configure.in: No need to check for ranlib.
16902 * elf/rtld-Rules: Don't use RANLIB.
16903
f75286c6
ST
169042011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
16905
8e31c82d
ST
16906 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
16907 protection macro.
16908 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
16909 inclusion protection macro.
16910
f75286c6
ST
16911 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
16912 SIGRTMIN and SIGRTMAX and print information in that case only when
16913 SIGRTMIN is defined.
16914
c1d0e639
JJ
169152011-02-11 Jakub Jelinek <jakub@redhat.com>
16916
16917 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
16918 arginfo fn returning -1.
16919
16920 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
16921 and thousands string is zero terminated.
16922
edf9294e
AS
169232011-02-03 Andreas Schwab <schwab@redhat.com>
16924
16925 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
16926 sysdeps/unix/sysv/linux/bits/socket.h.
16927
2b7e92df
ST
169282011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
16929
edf9294e
AS
16930 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
16931 (__CPU_COUNT): Remove old macros.
16932 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
16933 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
16934 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
16935 (__sched_cpualloc, __sched_cpufree): Add declarations.
16936
a4c7ea7b
UD
169372011-02-05 Ulrich Drepper <drepper@gmail.com>
16938
16939 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
16940 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
16941 * nscd/aicache.c (addhstaiX): Return timeout of added value.
16942 (readdhstai): Return value of addhstaiX call.
16943 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
16944 (addgrbyX): Return value returned by cache_addgr.
16945 (readdgrbyname): Return value returned by addgrbyX.
16946 (readdgrbygid): Likewise.
16947 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
16948 (addpwbyX): Return value returned by cache_addpw.
16949 (readdpwbyname): Return value returned by addhstbyX.
16950 (readdpwbyuid): Likewise.
16951 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
16952 (addservbyX): Return value returned by cache_addserv.
16953 (readdservbyname): Return value returned by addservbyX:
16954 (readdservbyport): Likewise.
16955 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
16956 (addhstbyX): Return value returned by cache_addhst.
16957 (readdhstbyname): Return value returned by addhstbyX.
16958 (readdhstbyaddr): Likewise.
16959 (readdhstbynamev6): Likewise.
16960 (readdhstbyaddrv6): Likewise.
16961 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
16962 (readdinitgroups): Return value returned by addinitgroupsX.
16963 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
16964 (prune_cache): Keep track of timeout value of re-added entries.
16965 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
16966 * nscd/nscd.h: Adjust prototypes of readd* functions.
16967
a0bf67cc
RM
169682011-02-04 Roland McGrath <roland@redhat.com>
16969
16970 * nis/nis_server.c (nis_servstate): Use the right name for 0.
16971 (nis_stats): Likewise.
16972 * nis/nis_modify.c (nis_modify): Likewise.
16973 * nis/nis_remove.c (nis_remove): Likewise.
16974 * nis/nis_add.c (nis_add): Likewise.
16975
16976 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
16977
16978 * posix/fnmatch_loop.c: Add some consts.
16979
16980 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
16981
435b95eb
L
169822011-02-02 H.J. Lu <hongjiu.lu@intel.com>
16983
16984 [BZ #12460]
16985 * config.make.in (config-cflags-novzeroupper): Define.
16986 * configure.in: Substitute libc_cv_cc_novzeroupper.
16987 * elf/Makefile (AVX-CFLAGS): Define.
16988 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
16989 (CFLAGS-tst-auditmod4a.c): Likewise.
16990 (CFLAGS-tst-auditmod4b.c): Likewise.
16991 (CFLAGS-tst-auditmod6b.c): Likewise.
16992 (CFLAGS-tst-auditmod6c.c): Likewise.
16993 (CFLAGS-tst-auditmod7b.c): Likewise.
16994 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
16995
8517b15e
UD
169962011-02-02 Ulrich Drepper <drepper@gmail.com>
16997
16998 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
16999 function to the callback.
17000 Patch partly by Jiri Olsa <jolsa@redhat.com>.
17001
10a656fe
AS
170022011-02-02 Andreas Schwab <schwab@redhat.com>
17003
17004 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
17005 of errno.
17006
968dad0a
UD
170072011-01-19 Ulrich Drepper <drepper@gmail.com>
17008
9f94d2ea 17009 [BZ #11724]
968dad0a
UD
17010 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
17011 of constructors.
17012 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
17013 of destructors.
17014 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
17015
17016 [BZ #11724]
17017 * elf/Makefile: Add rules to build and run new test.
17018 * elf/tst-initorder.c: New file.
17019 * elf/tst-initorder.exp: New file.
17020 * elf/tst-initordera1.c: New file.
17021 * elf/tst-initordera2.c: New file.
17022 * elf/tst-initordera3.c: New file.
17023 * elf/tst-initordera4.c: New file.
17024 * elf/tst-initorderb1.c: New file.
17025 * elf/tst-initorderb2.c: New file.
17026 * elf/tst-order-a1.c: New file.
17027 * elf/tst-order-a2.c: New file.
17028 * elf/tst-order-a3.c: New file.
17029 * elf/tst-order-a4.c: New file.
17030 * elf/tst-order-b1.c: New file.
17031 * elf/tst-order-b2.c: New file.
17032 * elf/tst-order-main.c: New file.
17033 New test case by George Gensure <werkt0@gmail.com>.
17034
86e92359
UD
170352010-10-01 Andreas Schwab <schwab@redhat.com>
17036
17037 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
17038 decoding ACE if AI_CANONIDN.
17039
5d5732b0
UD
170402011-01-18 Ulrich Drepper <drepper@gmail.com>
17041
17042 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
17043
a77e8cbc
UD
170442011-01-17 Ulrich Drepper <drepper@gmail.com>
17045
6392473f
UD
17046 * version.h (RELEASE): Bump for 2.13 release.
17047 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
17048
620a0529
UD
17049 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
17050
18ba70a5
UD
17051 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
17052 MADV_NOHUGEPAGE.
32465c3e
UD
17053 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
17054 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
17055 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
17056 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
17057 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
17058 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
17059
c0dafcf1
UD
17060 * posix/getconf.c: Update copyright year.
17061 * catgets/gencat.c: Likewise.
17062 * csu/version.c: Likewise.
17063 * debug/catchsegv.sh: Likewise.
17064 * debug/xtrace.sh: Likewise.
17065 * elf/ldconfig.c: Likewise.
17066 * elf/ldd.bash.in: Likewise.
17067 * elf/sprof.c (print_version): Likewise.
17068 * iconv/iconv_prog.c: Likewise.
17069 * iconv/iconvconfig.c: Likewise.
17070 * locale/programs/locale.c: Likewise.
17071 * locale/programs/localedef.c: Likewise.
17072 * malloc/memusage.sh: Likewise.
17073 * malloc/mtrace.pl: Likewise.
17074 * nscd/nscd.c (print_version): Likewise.
17075 * nss/getent.c: Likewise.
17076
a77e8cbc
UD
17077 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
17078 PF_CAIF, and PF_ALG.
17079 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
17080
77e8bddf
AS
170812011-01-16 Andreas Schwab <schwab@linux-m68k.org>
17082
1f20b93a
AS
17083 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
17084 (modules-names): Use them.
17085 (ifunc-test-modules, ifunc-pie-tests): Define.
17086 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
17087 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
17088 (test-extras): Likewise.
17089 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
17090 $(compile-command.c).
17091 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
17092 (all-built-dso): Define.
17093 (check-textrel.out, check-execstack.out): Depend on it.
17094
77e8bddf
AS
17095 * configure.in: Don't override --enable-multi-arch.
17096
bc425b33
UD
170972011-01-15 Ulrich Drepper <drepper@gmail.com>
17098
17099 [BZ #6812]
17100 * nscd/hstcache.c (tryagain): Define.
17101 (cache_addhst): Return tryagain not notfound for temporary errors.
17102 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
17103 failed.
17104
794c3ad3
UD
171052011-01-14 Ulrich Drepper <drepper@gmail.com>
17106
70181fdd
UD
17107 [BZ #10563]
17108 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
17109 to make the syscall.
17110 * sysdeps/unix/sysv/linux/setgroups.c: New file.
17111
794c3ad3
UD
17112 [BZ #12378]
17113 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
17114 and fall back to matching as normal character if the string ends before
17115 the matching ']' is found. This is what POSIX requires.
17116 * posix/testfnm.c: Adjust test result.
17117 * posix/globtest.sh: Adjust test result. Add new test.
17118 * posix/tst-fnmatch.input: Likewise.
17119 * posix/tst-fnmatch2.c: Add new test.
17120
68dc9497
AS
171212010-12-28 Andreas Schwab <schwab@linux-m68k.org>
17122
17123 * elf/Makefile (check-execstack): Revert last change. Depend on
17124 check-execstack.h.
17125 (check-execstack.h): New target.
17126 (generated): Add check-execstack.h.
17127 * elf/check-execstack.c: Include "check-execstack.h".
17128 (main): Revert last change.
17129 (handle_file): Return zero if GNU_STACK is absent and
17130 DEFAULT_STACK_PERMS doesn't include PF_X.
17131
451f001b
UD
171322011-01-13 Ulrich Drepper <drepper@gmail.com>
17133
cfa28e56
UD
17134 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
17135 in child fails because the descriptor is already closed.
8cf8ce17
UD
17136 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
17137 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
17138 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 17139
1086d70d
UD
17140 [BZ #12397]
17141 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
17142 syscall.
17143
451f001b
UD
17144 [BZ #10484]
17145 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
17146 temporary buffer used to handle multi lookups locally.
a85b5cb4 17147 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 17148
08769175
UD
171492011-01-12 Ulrich Drepper <drepper@gmail.com>
17150
17151 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
17152 loader is ld.so.
17153
5e49c52e
UD
171542011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
17155
17156 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
17157 alignment for SSE2.
17158
60522a5f
UD
171592011-01-12 Ulrich Drepper <drepper@gmail.com>
17160
17161 [BZ #12394]
17162 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
17163 characters. When rounding increased number of integer digits recompute
17164 number of groups.
17165 * stdio-common/tst-grouping.c: New file.
17166 * stdio-common/Makefile: Add rules to build and run tst-grouping.
17167
f257bbd7
UD
171682011-01-09 Ulrich Drepper <drepper@gmail.com>
17169
17170 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
17171 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
17172
17173 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
17174 void.
17175 * bits/select.h: Likewise.
17176
fa9c15cb
UD
171772011-01-08 Ulrich Drepper <drepper@gmail.com>
17178
17179 * po/ja.po: Update from translation team.
17180
16c2895f
DM
171812011-01-04 David S. Miller <davem@sunset.davemloft.net>
17182
17183 [BZ #11155]
17184 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
17185 implementation just like for lxstat, fxstatat, et al.
17186
2543fef2
JM
171872010-12-27 Jim Meyering <meyering@redhat.com>
17188
17189 [BZ #12348]
17190 * posix/regexec.c (build_trtable): Return failure indication upon
17191 calloc failure. Otherwise, re_search_internal could infloop on OOM.
17192
98727dbe
UD
171932010-12-25 Ulrich Drepper <drepper@gmail.com>
17194
5bd6dc5c
UD
17195 [BZ #12201]
17196 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
17197 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
17198 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
17199 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
17200
97983464
UD
17201 [BZ #12207]
17202 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
17203
98727dbe
UD
17204 [BZ #12204]
17205 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
17206 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
17207
4a531bb0
L
172082010-12-15 H.J. Lu <hongjiu.lu@intel.com>
17209
17210 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
17211 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
17212 script has SORT_BY_INIT_PRIORITY.
17213 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
17214 NO_CTORS_DTORS_SECTIONS is defined.
17215 * elf/soinit.c: Likewise.
17216 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
17217 NO_CTORS_DTORS_SECTIONS is defined.
17218 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
17219 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
17220 * sysdeps/sh/init-first.c: Likewise.
17221 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
17222
07eb4b71
UD
172232010-12-24 Ulrich Drepper <drepper@gmail.com>
17224
17225 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
17226 always use the slow path.
17227
30950a5f
RA
172282010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
17229
17230 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
17231 similar rule which adds the sysdep directories to the header search in
17232 order to pick up the correct platform stackinfo.h.
17233 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
17234 perform test if it is, otherwise return successfully without testing.
17235 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
17236 DEFAULT_STACK_PERMS define in stackinfo.h.
17237 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
17238 defined in stackinfo.h.
17239 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
17240 DEFAULT_STACK_PERMS defined in stackinfo.h.
17241 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
17242 * sysdeps/ia64/stackinfo.h: Likewise.
17243 * sysdeps/s390/stackinfo.h: Likewise.
17244 * sysdeps/sh/stackinfo.h: Likewise.
17245 * sysdeps/sparc/stackinfo.h: Likewise.
17246 * sysdeps/x86_64/stackinfo.h: Likewise.
17247 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
17248 PF_X for powerpc64. Retain PF_X for powerpc32.
17249
db753e2c
UD
172502010-12-19 Ulrich Drepper <drepper@gmail.com>
17251
14b697f7
UD
17252 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
17253 accurately.
db753e2c
UD
17254 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
17255 GETDENTS_64BIT_ALIGNED.
17256
28300719
UD
172572010-12-14 Ulrich Drepper <dreper@gmail.com>
17258
14b697f7 17259 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 17260
4f197237
AS
172612010-12-10 Andreas Schwab <schwab@redhat.com>
17262
dbb0472f
AS
17263 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
17264 _GNU_SOURCE.
17265
4f197237
AS
17266 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
17267 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
17268 Remove __restrict.
17269 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
17270 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
17271
fb88ac72
UD
172722010-12-09 Ulrich Drepper <drepper@gmail.com>
17273
17274 [BZ #11655]
17275 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
17276 are initialized.
17277
42acbb92
JJ
172782010-12-09 Jakub Jelinek <jakub@redhat.com>
17279
17280 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
17281
c038d98d
UD
172822010-12-03 Ulrich Drepper <drepper@gmail.com>
17283
17284 * po/it.po: Update from translation team.
17285
3a4a2499
L
172862010-12-01 H.J. Lu <hongjiu.lu@intel.com>
17287
17288 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
17289 unused codes.
17290
1e24cf6e
UD
172912010-11-30 Ulrich Drepper <drepper@gmail.com>
17292
17293 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
17294
a7690819
AS
172952010-11-24 Andreas Schwab <schwab@redhat.com>
17296
17297 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
17298 specially.
17299 (gaih_getanswer_slice): Likewise.
17300
3bf8d1b1
JJ
173012010-10-20 Jakub Jelinek <jakub@redhat.com>
17302
17303 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
17304
6db52fbb
PB
173052010-05-31 Petr Baudis <pasky@suse.cz>
17306
17307 [BZ #11149]
17308 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
17309 silently even in the chroot mode.
17310
eaca7569
UD
173112010-11-22 Ulrich Drepper <drepper@gmail.com>
17312
17313 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
17314 last patch a bit. Pretty printing
17315
3056dcdb
UD
173162010-05-31 Petr Baudis <pasky@suse.cz>
17317
17318 [BZ #10085]
17319 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
17320 initialization of skip_initgroups_dyn.
17321
cf7c9078
UD
173222010-11-19 Ulrich Drepper <drepper@gmail.com>
17323
17324 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
17325 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
17326
a1fb5e3e
UD
173272010-11-16 Ulrich Drepper <drepper@gmail.com>
17328
17329 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
17330
3540d66b
AS
173312010-11-11 Andreas Schwab <schwab@redhat.com>
17332
17333 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
17334 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
17335 (tst-fnmatch-ENV): Set MALLOC_TRACE.
17336 ($(objpfx)tst-fnmatch-mem): New rule.
17337 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
17338 * posix/tst-fnmatch.c (main): Call mtrace.
17339
13b69574
L
173402010-11-11 H.J. Lu <hongjiu.lu@intel.com>
17341
17342 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17343 Support Intel processor model 6 and model 0x2c.
17344
da93d214
LM
173452010-11-10 Luis Machado <luisgpm@br.ibm.com>
17346
17347 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
17348 signed comparison.
17349
8ca52c6e
L
173502010-11-09 H.J. Lu <hongjiu.lu@intel.com>
17351
17352 [BZ #12205]
17353 * string/test-strncasecmp.c (check_result): New function.
17354 (do_one_test): Use it.
17355 (check1): New function.
17356 (test_main): Use it.
17357 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
17358 Support strcasecmp and strncasecmp.
17359
69da074d
UD
173602010-11-08 Ulrich Drepper <drepper@gmail.com>
17361
17362 [BZ #12194]
17363 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
17364 * sysdeps/x86_64/bits/byteswap.h: Likewise.
17365
ff02d528
L
173662010-11-07 H.J. Lu <hongjiu.lu@intel.com>
17367
17368 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
17369 IFUNC support.
17370 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17371 memset-x86-64.
17372 * sysdeps/x86_64/multiarch/bzero.S: New file.
17373 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
17374 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
17375 * sysdeps/x86_64/multiarch/memset.S: New file.
17376 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
17377 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17378 Set bit_Prefer_SSE_for_memop for Intel processors.
17379 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
17380 Define.
17381 (index_Prefer_SSE_for_memop): Define.
17382 (HAS_PREFER_SSE_FOR_MEMOP): Define.
17383
344d0b54
LM
173842010-11-04 Luis Machado <luisgpm@br.ibm.com>
17385
17386 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
17387 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
17388
c0dde15b
UD
173892010-11-03 H.J. Lu <hongjiu.lu@intel.com>
17390
17391 [BZ #12191]
17392 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
17393 (__x86_64_raw_data_cache_size_half): Likewise.
17394 (__x86_64_raw_shared_cache_size): Likewise.
17395 (__x86_64_raw_shared_cache_size_half): Likewise.
17396
17397 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
17398 (__x86_64_raw_data_cache_size_half): Likewise.
17399 (__x86_64_raw_shared_cache_size): Likewise.
17400 (__x86_64_raw_shared_cache_size_half): Likewise.
17401 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
17402 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
17403 and __x86_64_raw_shared_cache_size_half. Round
17404 __x86_64_data_cache_size_half, __x86_64_data_cache_size
17405 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
17406 to multiple of 256 bytes.
17407
0e516e0e
MS
174082010-11-03 Ulrich Drepper <drepper@gmail.com>
17409
17410 [BZ #12167]
17411 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
17412 of inacessible symlinks. Verify result of symlink before returning it.
17413 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
17414 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
17415
0e012e87
ER
174162010-10-28 Erich Ritz <erichritz@gmail.com>
17417
17418 * math/math.h (isinf): Fix typo in comment.
17419
de0ff7bc
UD
174202010-11-01 Ulrich Drepper <drepper@gmail.com>
17421
17422 * po/da.po: Update from translation team.
17423
fa41c84d
UD
174242010-10-26 Ulrich Drepper <drepper@gmail.com>
17425
17426 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
17427 is added to the list.
17428
f0967738
AK
174292010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17430 Ulrich Drepper <drepper@gmail.com>
17431
17432 * elf/dl-object.c (_dl_new_object): Don't append the new object to
17433 the global list here. Move code to...
17434 (_dl_add_to_namespace_list): ...here. New function.
17435 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
17436 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
17437 * elf/dl-load.c (lose): Don't remove the element from the list.
17438 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
17439 (_dl_map_object): Likewise.
17440
174412010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
17442
17443 [BZ #12159]
17444 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
17445 into all bytes of SSE register.
17446 Patch by Richard Li <richardpku@gmail.com>.
17447
f0967738 174482010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
17449
17450 [BZ #12140]
17451 * malloc/malloc.c (_int_free): Fill correct number of bytes when
17452 perturbing.
17453
d0b9e94f
MB
174542010-10-20 Michael B. Brutman <brutman@us.ibm.com>
17455
17456 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
17457 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
17458 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
17459 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
17460 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
17461 submachine.
17462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
17463
8e9f92e9
AS
174642010-10-22 Andreas Schwab <schwab@redhat.com>
17465
17466 * include/dlfcn.h (__RTLD_SECURE): Define.
17467 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
17468 mode & __RTLD_SECURE instead.
17469 (open_path): Rename preloaded parameter to secure.
17470 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
17471 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
17472 * elf/dl-deps.c (openaux): Likewise.
17473 * elf/rtld.c (struct map_args): Remove is_preloaded.
17474 (map_doit): Don't use it.
17475 (dl_main): Likewise.
17476 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
17477 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
17478
bc96fbda
AS
174792010-09-09 Andreas Schwab <schwab@redhat.com>
17480
17481 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
17482 (sysd-rules-targets): Remove duplicates.
17483 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
17484 rtld-%.$o dependency.
17485
22cd1c9b
AS
174862010-10-18 Andreas Schwab <schwab@redhat.com>
17487
17488 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
17489 _dl_map_object do it.
17490
18edac48
UD
174912010-10-19 Ulrich Drepper <drepper@gmail.com>
17492
17493 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
17494 fast fma builtins, define the macros in the C99 standard.
17495 (FP_FAST_FMAF): Likewise.
17496 (FP_FAST_FMAL): Likewise.
17497 * sysdeps/x86_64/bits/mathdef.h: Likewise.
17498
17499 * bits/mathdef.h: Update copyright year.
17500 * sysdeps/powerpc/bits/mathdef.h: Likewise.
17501
d2050124
MM
175022010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
17503
17504 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
17505 builtins, define the macros in the C99 standard.
17506 (FP_FAST_FMAF): Likewise.
17507 (FP_FAST_FMAL): Likewise.
17508 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
17509 multiply/add.
17510 (FP_FAST_FMAF): Likewise.
17511
475facd1
JJ
175122010-10-15 Jakub Jelinek <jakub@redhat.com>
17513
17514 [BZ #3268]
17515 * math/libm-test.inc (fma_test): Some new testcases.
17516 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
17517 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
17518 y and infinite z. Do multiplication by C already in long double.
17519 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
17520 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
17521 y and infinite z. Do bitwise or of inexact bit into u.d.
17522 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
17523 * sysdeps/i386/fpu/s_fmaf.S: Removed.
17524 * sysdeps/i386/fpu/s_fma.S: Removed.
17525 * sysdeps/i386/fpu/s_fmal.S: Removed.
17526
7c08a05c
JJ
175272010-10-16 Jakub Jelinek <jakub@redhat.com>
17528
17529 [BZ #3268]
17530 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
17531 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
17532 computation is not scheduled after fetestexcept. Fix value
17533 of minimum denormal long double.
17534
f3f7372d
JJ
175352010-10-14 Jakub Jelinek <jakub@redhat.com>
17536
17537 [BZ #3268]
17538 * math/libm-test.inc (fma_test): Add some more tests.
17539 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
17540 correctly.
17541
14d43591
AS
175422010-10-15 Andreas Schwab <schwab@redhat.com>
17543
17544 * scripts/data/localplt-s390-linux-gnu.data: New file.
17545 * scripts/data/localplt-s390x-linux-gnu.data: New file.
17546
5e908464
JJ
175472010-10-13 Jakub Jelinek <jakub@redhat.com>
17548
17549 [BZ #3268]
17550 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
17551 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
17552 instead of dbl-64.
17553 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
17554 inlines.
17555 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
17556 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
17557 if one of x and y is very large and the other is subnormal.
17558 * sysdeps/s390/fpu/s_fmaf.c: New file.
17559 * sysdeps/s390/fpu/s_fma.c: New file.
17560 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
17561 * sysdeps/powerpc/fpu/s_fma.S: New file.
17562 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
17563 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
17564 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
17565
175662010-10-12 Jakub Jelinek <jakub@redhat.com>
17567
17568 [BZ #3268]
17569 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
17570 fma tests.
17571 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
17572 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
17573 * sysdeps/i386/i686/multiarch/s_fma.c: Include
17574 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
17575 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
17576 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
17577 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
17578
b833d51f
UD
175792010-10-12 Ulrich Drepper <drepper@redhat.com>
17580
17581 [BZ #12078]
17582 * posix/regcomp.c (parse_branch): One more memory leak plugged.
17583 * posix/bug-regex31.input: Add test case.
17584
1751705d
UD
175852010-10-11 Ulrich Drepper <drepper@gmail.com>
17586
e9b9cbf5
UD
17587 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
17588 * posix/bug-regex31.input: New file.
17589
17590 [BZ #12078]
17591 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
17592 (parse_sub_exp): Fix last change, use postorder.
17593
ef06edbe
UD
17594 * posix/bug-regex31.c: New file.
17595 * posix/Makefile: Add rules to build and run bug-regex31.
17596
a129c80d
UD
17597 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
17598
17599 [BZ #12078]
17600 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
17601
b76b818e
UD
17602 [BZ #12108]
17603 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
17604 to have entries in sys_siglist.
17605
1751705d
UD
17606 [BZ #12093]
17607 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
17608 be NULL.
17609
9ff8d36f
JJ
176102010-10-07 Jakub Jelinek <jakub@redhat.com>
17611
17612 [BZ #3268]
17613 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
17614 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
17615 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
17616 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
17617 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
17618 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
17619 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
17620 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
17621 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
17622 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
17623 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
17624 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
17625 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
17626 * math/ftestexcept.c (fetestexcept): Likewise.
17627 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
17628 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
17629 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
17630 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
17631 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
17632 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
17633 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
17634
af325969
UD
176352010-10-11 Ulrich Drepper <drepper@gmail.com>
17636
c579b202 17637 [BZ #12107]
af325969
UD
17638 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
17639 newline.
17640
67a67b95
UD
176412010-10-06 Ulrich Drepper <drepper@gmail.com>
17642
17643 * string/bug-strstr1.c: New file.
17644 * string/Makefile: Add rules to build and run bug-strstr1.
17645
5fb308bc
EB
176462010-10-05 Eric Blake <eblake@redhat.com>
17647
17648 [BZ #12092]
17649 * string/str-two-way.h (two_way_long_needle): Always clear memory
17650 when skipping input due to the shift table.
17651
45db99c7
UD
176522010-10-03 Ulrich Drepper <drepper@gmail.com>
17653
3b111893
UD
17654 [BZ #12005]
17655 * malloc/mcheck.c: Handle large requests.
17656
45db99c7
UD
17657 [BZ #12077]
17658 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
17659 for strncmp and strncasecmp.
17660 * string/stratcliff.c: Add tests for strcmp and strncmp.
17661 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
17662
cf7a1eb8
NI
176632010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17664
17665 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
17666 __set_fpscr.
17667
6484ba5e
AJ
176682010-09-30 Andreas Jaeger <aj@suse.de>
17669
17670 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
17671 (CGROUP_SUPER_MAGIC): Define.
17672 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
17673 Handle btrfs and cgroup file systems.
17674 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
17675 Likewise.
17676
91c42559
LM
176772010-09-27 Luis Machado <luisgpm@br.ibm.com>
17678
17679 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
17680 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
17681
87a97932
AK
176822010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17683
17684 [BZ #12067]
17685 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
17686 trying to locate the ELF header.
17687
c21cc9bc
AS
176882010-09-27 Andreas Schwab <schwab@redhat.com>
17689
17690 [BZ #11611]
17691 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
17692 Mask out sign-bit copies when constructing f_fsid.
17693
315970f6
PB
176942010-09-24 Petr Baudis <pasky@suse.cz>
17695
17696 * debug/stack_chk_fail_local.c: Add missing licence exception.
17697 * debug/warning-nop.c: Likewise.
17698
1ac7a2c7
JM
176992010-09-15 Joseph Myers <joseph@codesourcery.com>
17700
17701 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
17702 implementing getdents64 using getdents syscall, set d_type if
17703 __ASSUME_GETDENTS32_D_TYPE.
17704
56801c50
AS
177052010-09-16 Andreas Schwab <schwab@redhat.com>
17706
17707 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
17708 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
17709
dda51327
UD
177102010-09-21 Ulrich Drepper <drepper@redhat.com>
17711
17712 [BZ #12037]
17713 * posix/unistd.h: Undo change of feature selection for ftruncate from
17714 2010-01-11.
17715
8ffcee4a
UD
177162010-09-20 Ulrich Drepper <drepper@redhat.com>
17717
a545ecd9 17718 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
17719 detection.
17720
e24f0a8b
AS
177212010-09-20 Andreas Schwab <schwab@redhat.com>
17722
17723 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
17724 fanotify_mark.
17725 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
17726
7291c56f
AS
177272010-09-14 Andreas Schwab <schwab@redhat.com>
17728
17729 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
17730 variables after CHECK_SP call.
17731 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
17732
bc5fb037
AS
177332010-09-13 Andreas Schwab <schwab@redhat.com>
17734 Ulrich Drepper <drepper@redhat.com>
17735
17736 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
17737 re-relocationg ld.so.
17738 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
17739 _dl_init_paths call.
17740 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
17741 here anymore.
17742
e66e7419
UD
177432010-09-14 Ulrich Drepper <drepper@redhat.com>
17744
17745 * resolv/res_init.c (__res_vinit): Count the default server we added.
17746
c044aa75
CLT
177472010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
17748 Ulrich Drepper <drepper@redhat.com>
17749
17750 [BZ #11968]
17751 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
17752 (____longjmp_chk): Use %ebx for saving value across system call.
17753 Add unwind info.
17754
32cf4069
AS
177552010-09-06 Andreas Schwab <schwab@redhat.com>
17756
17757 * manual/Makefile: Don't mix pattern rules with normal rules.
17758
817328ee
AS
177592010-09-05 Andreas Schwab <schwab@linux-m68k.org>
17760
17761 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
17762 operation.
17763 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
17764 * libio/iofopncook.c (_IO_cookie_init): Likewise.
17765 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
17766 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
17767 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
17768 Likewise.
17769
29fddf61
UD
177702010-09-04 Ulrich Drepper <drepper@redhat.com>
17771
17772 [BZ #11979]
17773 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
17774 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
17775
0959ffc9
UD
177762010-09-02 Ulrich Drepper <drepper@redhat.com>
17777
17778 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
17779 * sysdeps/x86_64/addmul_1.S: Likewise.
17780 * sysdeps/x86_64/lshift.S: Likewise.
17781 * sysdeps/x86_64/mul_1.S: Likewise.
17782 * sysdeps/x86_64/rshift.S: Likewise.
17783 * sysdeps/x86_64/sub_n.S: Likewise.
17784 * sysdeps/x86_64/submul_1.S: Likewise.
17785
ece29840
ST
177862010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
17787
0959ffc9
UD
17788 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
17789 Define __sched_param instead of SCHED_* and sched_param when
ece29840 17790 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 17791 * bits/sched.h [__need_schedparam]
ece29840 17792 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
17793 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
17794 (__defined_schedparam): Define to 1.
ece29840
ST
17795 (__sched_param): New structure, identical to sched_param.
17796 (__need_schedparam): Undefine.
17797
e53a31fe
MF
177982010-08-31 Mike Frysinger <vapier@gentoo.org>
17799
fdc0c10d
MF
17800 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
17801 (epoll_create1): Declare.
17802
e53a31fe
MF
17803 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
17804
a726d796
AS
178052010-08-31 Andreas Schwab <schwab@redhat.com>
17806
17807 [BZ #7066]
17808 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
17809 shifting retval into place.
17810
2f3e3dc7
UD
178112010-09-01 Ulrich Drepper <drepper@redhat.com>
17812
f2933da9
UD
17813 * nis/rpcsvc/nis.h: Update copyright notice.
17814 * nis/rpcsvc/nis.x: Likewise.
17815 * nis/rpcsvc/nis_callback.h: Likewise.
17816 * nis/rpcsvc/nis_callback.x: Likewise.
17817 * nis/rpcsvc/nis_object.x: Likewise.
17818 * nis/rpcsvc/nis_tags.h: Likewise.
17819 * nis/rpcsvc/yp.h: Likewise.
17820 * nis/rpcsvc/yp.x: Likewise.
17821 * nis/rpcsvc/ypupd.h: Likewise.
17822 * nis/yp_xdr.c: Likewise.
17823 * nis/ypupdate_xdr.c: Likewise.
17824
2f3e3dc7
UD
17825 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
17826 mainly the body of pmap_getport. Add parameters to specify timeouts.
17827 (pmap_getport): Use __libc_rpc_getport.
17828 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
17829 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
17830 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
17831
f3dcc2f9
AS
178322010-08-31 Andreas Schwab <schwab@linux-m68k.org>
17833
17834 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
17835 fanotify_mark.
17836
6d34eb5b
RM
178372010-08-27 Roland McGrath <roland@redhat.com>
17838
17839 * sysdeps/i386/i686/multiarch/Makefile
17840 (CFLAGS-varshift.c): New variable.
17841
9ea3de11
UD
178422010-08-27 Ulrich Drepper <drepper@redhat.com>
17843
c96d23fc
UD
17844 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
17845 * sysdeps/i386/i686/multiarch/varshift.c: New file.
17846
9ea3de11
UD
17847 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
17848
17849 * sysdeps/x86_64/strlen.S: Minimal code improvement.
17850
623aac7f
L
178512010-08-26 H.J. Lu <hongjiu.lu@intel.com>
17852
17853 * sysdeps/x86_64/strlen.S: Unroll the loop.
17854 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17855 strlen-sse2 strlen-sse2-bsf.
17856 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
17857 __strlen_no_bsf if bit_Slow_BSF is set.
17858 (__strlen_sse42): Removed.
17859 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
17860 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
17861
8b2b7715
RM
178622010-08-25 Roland McGrath <roland@redhat.com>
17863
17864 * sysdeps/x86_64/multiarch/varshift.S: File removed.
17865 * sysdeps/x86_64/multiarch/varshift.c: New file.
17866 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
17867 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
17868 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
17869 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
17870
e73015f2
L
178712010-08-25 H.J. Lu <hongjiu.lu@intel.com>
17872
17873 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17874 strlen-sse2 strlen-sse2-bsf.
17875 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
17876 __strlen_sse2_bsf if bit_Slow_BSF is unset.
17877 (__strlen_sse2): Removed.
17878 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
17879 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
17880 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
17881 bit_Slow_BSF for Atom.
17882 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
17883 (index_Slow_BSF): Define.
17884 (HAS_SLOW_BSF): Define.
17885
df24a73e
UD
178862010-08-25 Ulrich Drepper <drepper@redhat.com>
17887
17888 [BZ #10851]
17889 * resolv/res_init.c (__res_vinit): When no server address at all
17890 is given default to loopback.
17891
f2ac4868
RM
178922010-08-24 Roland McGrath <roland@redhat.com>
17893
09055553
RM
17894 * configure.in: Remove config-name.h generation.
17895 * configure: Regenerated.
17896 * config-name.in: File removed.
17897 * scripts/config-uname.sh: New file.
17898 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
17899 ($(objdir)config-name.h): New target.
17900
f2ac4868
RM
17901 * sunrpc/rpc_parse.h: Avoid nested comment.
17902
73f27d5e
RH
179032010-08-24 Richard Henderson <rth@redhat.com>
17904 Ulrich Drepper <drepper@redhat.com>
17905 H.J. Lu <hongjiu.lu@intel.com>
17906
17907 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
17908 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
17909 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
17910 Replace _mm_srli_si128 with __m128i_shift_right. Replace
17911 _mm_alignr_epi8 with _mm_loadu_si128.
17912 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
17913 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
17914 (__m128i_shift_right): Removed.
17915 * sysdeps/i386/i686/multiarch/varshift.h: New file.
17916 * sysdeps/i386/i686/multiarch/varshift.S: New file.
17917 * sysdeps/x86_64/multiarch/varshift.h: New file.
17918 * sysdeps/x86_64/multiarch/varshift.S: New file.
17919
84b9230c
MF
179202010-08-21 Mike Frysinger <vapier@gentoo.org>
17921
17922 * configure.in: Move assembler checks to before sysdep dir checking.
17923
9bbd0ddc
PB
179242010-08-20 Petr Baudis <pasky@suse.cz>
17925
17926 * LICENSES: Sync the sunrpc license.
17927
9da4bb31
UD
179282010-08-19 Ulrich Drepper <drepper@redhat.com>
17929
a7ab6ec8
UD
17930 * sunrpc/auth_des.c: Update copyright notice once again.
17931 * sunrpc/auth_none.c: Likewise.
17932 * sunrpc/auth_unix.c: Likewise.
17933 * sunrpc/authdes_prot.c: Likewise.
17934 * sunrpc/authuxprot.c: Likewise.
17935 * sunrpc/bindrsvprt.c: Likewise.
17936 * sunrpc/clnt_gen.c: Likewise.
17937 * sunrpc/clnt_perr.c: Likewise.
17938 * sunrpc/clnt_raw.c: Likewise.
17939 * sunrpc/clnt_simp.c: Likewise.
17940 * sunrpc/clnt_tcp.c: Likewise.
17941 * sunrpc/clnt_udp.c: Likewise.
17942 * sunrpc/clnt_unix.c: Likewise.
17943 * sunrpc/des_crypt.c: Likewise.
17944 * sunrpc/des_soft.c: Likewise.
17945 * sunrpc/get_myaddr.c: Likewise.
17946 * sunrpc/getrpcport.c: Likewise.
17947 * sunrpc/key_call.c: Likewise.
17948 * sunrpc/key_prot.c: Likewise.
17949 * sunrpc/openchild.c: Likewise.
17950 * sunrpc/pm_getmaps.c: Likewise.
17951 * sunrpc/pm_getport.c: Likewise.
17952 * sunrpc/pmap_clnt.c: Likewise.
17953 * sunrpc/pmap_prot.c: Likewise.
17954 * sunrpc/pmap_prot2.c: Likewise.
17955 * sunrpc/pmap_rmt.c: Likewise.
17956 * sunrpc/rpc/auth.h: Likewise.
17957 * sunrpc/rpc/auth_unix.h: Likewise.
17958 * sunrpc/rpc/clnt.h: Likewise.
17959 * sunrpc/rpc/des_crypt.h: Likewise.
17960 * sunrpc/rpc/key_prot.h: Likewise.
17961 * sunrpc/rpc/netdb.h: Likewise.
17962 * sunrpc/rpc/pmap_clnt.h: Likewise.
17963 * sunrpc/rpc/pmap_prot.h: Likewise.
17964 * sunrpc/rpc/pmap_rmt.h: Likewise.
17965 * sunrpc/rpc/rpc.h: Likewise.
17966 * sunrpc/rpc/rpc_des.h: Likewise.
17967 * sunrpc/rpc/rpc_msg.h: Likewise.
17968 * sunrpc/rpc/svc.h: Likewise.
17969 * sunrpc/rpc/svc_auth.h: Likewise.
17970 * sunrpc/rpc/types.h: Likewise.
17971 * sunrpc/rpc/xdr.h: Likewise.
17972 * sunrpc/rpc_clntout.c: Likewise.
17973 * sunrpc/rpc_cmsg.c: Likewise.
17974 * sunrpc/rpc_common.c: Likewise.
17975 * sunrpc/rpc_cout.c: Likewise.
17976 * sunrpc/rpc_dtable.c: Likewise.
17977 * sunrpc/rpc_hout.c: Likewise.
17978 * sunrpc/rpc_main.c: Likewise.
17979 * sunrpc/rpc_parse.c: Likewise.
17980 * sunrpc/rpc_parse.h: Likewise.
17981 * sunrpc/rpc_prot.c: Likewise.
17982 * sunrpc/rpc_sample.c: Likewise.
17983 * sunrpc/rpc_scan.c: Likewise.
17984 * sunrpc/rpc_scan.h: Likewise.
17985 * sunrpc/rpc_svcout.c: Likewise.
17986 * sunrpc/rpc_tblout.c: Likewise.
17987 * sunrpc/rpc_util.c: Likewise.
17988 * sunrpc/rpc_util.h: Likewise.
17989 * sunrpc/rpcinfo.c: Likewise.
17990 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
17991 * sunrpc/rpcsvc/key_prot.x: Likewise.
17992 * sunrpc/rpcsvc/klm_prot.x: Likewise.
17993 * sunrpc/rpcsvc/mount.x: Likewise.
17994 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
17995 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
17996 * sunrpc/rpcsvc/rex.x: Likewise.
17997 * sunrpc/rpcsvc/rstat.x: Likewise.
17998 * sunrpc/rpcsvc/rusers.x: Likewise.
17999 * sunrpc/rpcsvc/sm_inter.x: Likewise.
18000 * sunrpc/rpcsvc/spray.x: Likewise.
18001 * sunrpc/rpcsvc/yppasswd.x: Likewise.
18002 * sunrpc/rtime.c: Likewise.
18003 * sunrpc/svc.c: Likewise.
18004 * sunrpc/svc_auth.c: Likewise.
18005 * sunrpc/svc_authux.c: Likewise.
18006 * sunrpc/svc_raw.c: Likewise.
18007 * sunrpc/svc_run.c: Likewise.
18008 * sunrpc/svc_simple.c: Likewise.
18009 * sunrpc/svc_tcp.c: Likewise.
18010 * sunrpc/svc_udp.c: Likewise.
18011 * sunrpc/svc_unix.c: Likewise.
18012 * sunrpc/svcauth_des.c: Likewise.
18013 * sunrpc/xcrypt.c: Likewise.
18014 * sunrpc/xdr.c: Likewise.
18015 * sunrpc/xdr_array.c: Likewise.
18016 * sunrpc/xdr_float.c: Likewise.
18017 * sunrpc/xdr_mem.c: Likewise.
18018 * sunrpc/xdr_rec.c: Likewise.
18019 * sunrpc/xdr_ref.c: Likewise.
18020 * sunrpc/xdr_sizeof.c: Likewise.
18021 * sunrpc/xdr_stdio.c: Likewise.
18022
9da4bb31
UD
18023 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
18024 handling.
18025
bdaa77bc
AS
180262010-08-19 Andreas Schwab <schwab@redhat.com>
18027
18028 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
18029
fe2f79db
LM
180302010-08-19 Luis Machado <luisgpm@br.ibm.com>
18031
18032 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
18033 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
18034 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
18035 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
18036 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
18037 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
18038 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
18039 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
18040 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
18041 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
18042 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
18043 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
18044 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
18045 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
18046
b9b42ee0
AB
180472010-07-26 Anton Blanchard <anton@samba.org>
18048
18049 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
18050 * malloc/arena.c (heap_trim): Likewise.
18051
1c06ba31
UD
180522010-08-16 Ulrich Drepper <drepper@redhat.com>
18053
18054 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
18055 here. Not...
18056 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
18057 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
18058
f8392f40
L
180592010-08-12 H.J. Lu <hongjiu.lu@intel.com>
18060
18061 * sysdeps/i386/elf/Makefile: New file.
18062
3162f12e
AS
180632010-08-14 Andreas Schwab <schwab@linux-m68k.org>
18064
18065 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
18066 from fanotify_init.
18067 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
18068 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
18069
28c90b2c
UD
180702010-08-15 Ulrich Drepper <drepper@redhat.com>
18071
18072 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
18073 of strncasecmp_l.
1feccb6c 18074 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 18075
ca6bb004
UD
180762010-08-14 Ulrich Drepper <drepper@redhat.com>
18077
e9f82e0d
UD
18078 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
18079 strncase_l-nonascii.
18080 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
18081 Add strncase_l-ssse3.
18082 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
18083 * sysdeps/x86_64/strcmp.S: Likewise.
18084 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
18085 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
18086 * sysdeps/x86_64/strncase.S: New file.
18087 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
18088 * sysdeps/x86_64/strncase_l.S: New file.
18089 * string/Makefile (strop-tests): Add strncasecmp.
18090 * string/test-strncasecmp.c: New file.
18091
18092 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
18093 warning.
18094
ca6bb004
UD
18095 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
18096 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
18097
052fa7b3
AS
180982010-08-14 Andreas Schwab <schwab@linux-m68k.org>
18099
18100 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
18101
962dba78
UD
181022010-08-12 Ulrich Drepper <drepper@redhat.com>
18103
18104 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
18105 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
18106 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
18107
bebff237
AM
181082010-05-01 Alan Modra <amodra@gmail.com>
18109
18110 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
18111 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
18112 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
18113 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
18114 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
18115 tidying. Don't tail-call __sigjmp_save for static lib.
18116 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
18117 save location.
18118 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
18119 (CALL_MCOUNT): Add eh info, and nop after bl.
18120 (TAIL_CALL_SYSCALL_ERROR): New macro.
18121 (PSEUDO_RET): Use it.
18122 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
18123 Correct save location of integer regs and cr.
18124 (_dl_profile_resolve): Correct cr save location. Delete nops
18125 after bl when SHARED. Reduce cfi size a little by better
18126 placement of cfi directives.
18127 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
18128 make a stack frame. Instead use parm save area as a temp.
18129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
18130 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
18131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
18132 Don't make a stack frame for parent, use parm save area.
18133 Increase child stack frame to 112 bytes. Don't save unused reg,
18134 and adjust reg usage. Set up cfi on error recovery and
18135 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
18136 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
18137 (__makecontext): Add dummy nop after jump to exit.
18138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
18139 Use correct parm save area and cr save, reduce stack frame.
18140 Correct cfi for possible PSEUDO_RET frame setup.
18141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
18142 Branch to local label emitted by PSEUDO_RET rather than
18143 __syscall_error.
18144
02637374
AS
181452010-08-12 Andreas Schwab <schwab@redhat.com>
18146
18147 [BZ #11904]
18148 * locale/programs/locale.c (print_assignment): New function.
18149 (show_locale_vars): Use it.
18150
c3e2f19b
UD
181512010-08-11 Ulrich Drepper <drepper@redhat.com>
18152
3cdaa6ad
UD
18153 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
18154 field.
18155 (struct statfs64): Likewise.
18156 (_STATFS_F_FLAGS): Define.
18157 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
18158 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
18159 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
18160 (ST_VALID): Define locally.
18161 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
18162 __statvfs_getflags, use the provided value.
18163 * sysdeps/unix/sysv/linux/kernel-features.h: Define
18164 __ASSUME_STATFS_F_FLAGS.
18165
754f7da3
UD
18166 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
18167
10b3bedc
UD
18168 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
18169 Add sys/fanotify.h.
18170 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
18171 fanotify_mask for GLIBC_2.13.
18172 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
18173 fanotify_init and fanotify_mark.
18174 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
18175 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
18176
c08fb0d7
UD
18177 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
18178 Add prlimit.
18179 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
18180 prlimit64 for GLIBC_2.13.
18181 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
18182 prlimit64.
18183 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
18184 syscall.
18185 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
18186 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
18187 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
18188 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
18189 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
18190 add prlimit alias.
18191 * sysdeps/unix/sysv/linux/prlimit.c: New file.
18192
15bac72b
UD
18193 [BZ #11903]
18194 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
18195 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
18196
c3e2f19b
UD
18197 * nss/Makefile: Add rules to build and run tst-nss-test1.
18198 * shlib-versions: Add entry for libnss_test1.
18199 * nss/nss_test1.c: New file.
18200 * nss/tst-nss-test1.c: New file.
18201
18202 * nss/nsswitch.c (__nss_database_custom): Define new variable.
18203 (__nss_configure_lookup): Set appropriate entry in
18204 __nss_configure_lookup to true.
18205 * nss/nsswitch.h: Define enum with indeces of databases in
18206 databases and __nss_database_custom arrays. Declare
18207 __nss_database_custom.
18208 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
18209 to avoid using nscd when custom rules are installed.
18210 * nss/getXXbyYY_r.c: Likewise.
18211 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
18212
18213 * nss/nss_files/files-parse.c: Whitespace fixes.
18214
f15ce4d8
UD
182152010-08-09 Ulrich Drepper <drepper@redhat.com>
18216
18217 [BZ #11883]
18218 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
18219 * posix/fnmatch_loop.c: Likewise.
18220
d22e4cc9
AK
182212010-07-17 Andi Kleen <ak@linux.intel.com>
18222
18223 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
18224 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
18225 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
18226 * Versions.def [GLIBC_2.13]: Add.
18227
805bc17d
UD
182282010-08-06 Ulrich Drepper <drepper@redhat.com>
18229
18230 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
18231 Also fail if tpwd after pwuid call is NULL.
18232
5a42321d
ST
182332010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
18234
18235 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
18236 when converting to ms.
18237
fd3ebeda
ST
182382010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
18239
18240 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
18241 EOPNOTSUPP errors with ENOTTY.
18242 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
18243 EOPNOTSUPP errors with ENOTTY.
18244
73507d3a
UD
182452010-07-31 Ulrich Drepper <drepper@redhat.com>
18246
18247 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
18248 Add strcasecmp_l-ssse3.
18249 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
18250 strcasecmp.
18251 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
18252 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
18253 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
18254
fe36dd02
UD
182552010-07-30 Ulrich Drepper <drepper@redhat.com>
18256
66f6765a
UD
18257 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
18258
42e08a54
UD
18259 * string/Makefile (strop-tests): Add strcasecmp.
18260 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
18261 strcasecmp_l-nonascii.
18262 (gen-as-const-headers): Add locale-defines.sym.
18263 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
18264 * sysdeps/x86_64/strcasecmp.S: New file.
18265 * sysdeps/x86_64/strcasecmp_l.S: New file.
18266 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
18267 * sysdeps/x86_64/locale-defines.sym: New file.
18268 * string/test-strcasecmp.c: New file.
18269
fe36dd02
UD
18270 * string/test-strcasestr.c: Test both ends of the range of characters.
18271 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
18272
48cbc0d6
RM
182732010-07-29 Roland McGrath <roland@redhat.com>
18274
76e6d6bc 18275 [BZ #11856]
48cbc0d6
RM
18276 * manual/locale.texi (Yes-or-No Questions): Fix example code.
18277
880113d9
UD
182782010-07-27 Ulrich Drepper <drepper@redhat.com>
18279
18280 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
18281 for ld.so.
18282
deb9cabb
AS
182832010-07-27 Andreas Schwab <schwab@redhat.com>
18284
18285 * manual/memory.texi (Malloc Tunable Parameters): Document
18286 M_PERTURB.
18287
1c7570ff
RM
182882010-07-26 Roland McGrath <roland@redhat.com>
18289
18290 [BZ #11840]
18291 * configure.in (-fgnu89-inline check): Set and substitute
18292 gnu89_inline, not libc_cv_gnu89_inline.
18293 * configure: Regenerated.
18294 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
18295
24fb0f88
UD
182962010-07-26 Ulrich Drepper <drepper@redhat.com>
18297
18298 * string/test-strnlen.c: New file.
18299 * string/Makefile (strop-tests): Add strnlen.
18300 * string/tester.c (test_strnlen): Add a few more test cases.
18301 * string/tst-strlen.c: Better error reporting.
18302
18303 * sysdeps/x86_64/strnlen.S: New file.
18304
8e96b93a
UD
183052010-07-24 Ulrich Drepper <drepper@redhat.com>
18306
18307 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
18308 lower-latency instructions.
18309
dbc676d4
UD
183102010-07-23 Ulrich Drepper <drepper@redhat.com>
18311
18312 * string/test-strcasestr.c: New file.
18313 * string/test-strstr.c: New file.
18314 * string/Makefile (strop-tests): Add strstr and strcasestr.
18315 * string/str-two-way.h: Don't undefine MAX.
18316 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
18317
f6a31e0e
AS
183182010-07-21 Andreas Schwab <schwab@redhat.com>
18319
18320 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18321 strcasestr-nonascii.
18322 (CFLAGS-strcasestr-nonascii.c): Define.
18323 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
18324 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
18325 Remove unused attribute.
18326
5dbc3b6c
RM
183272010-07-20 Roland McGrath <roland@redhat.com>
18328
18329 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
18330 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
18331 ld.so.cache was broken. With it, there is no way to disable dsocaps
18332 like LD_HWCAP_MASK can disable hwcaps.
18333
23d101d8
EPM
183342010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
18335
18336 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
18337
cc9f2e47
UD
183382010-07-16 Ulrich Drepper <drepper@redhat.com>
18339
18340 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
18341 call in strcasestr.
18342 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
18343 __strcasestr_sse42_nonascii.
18344 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
18345 strcasestr-nonascii.c.
18346 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
18347
77c1b069
LM
183482010-06-15 Luis Machado <luisgpm@br.ibm.com>
18349
18350 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
18351 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
18352 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
18353 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
18354
440566c3
UD
183552010-07-09 Ulrich Drepper <drepper@redhat.com>
18356
18357 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
18358 fcntl.
18359
5be9d05d
AS
183602010-07-06 Andreas Schwab <schwab@redhat.com>
18361
c30b7ee2 18362 [BZ #11577]
5be9d05d
AS
18363 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
18364 dl_signal_cerror.
18365
8a492a67
UD
183662010-07-06 Ulrich Drepper <drepper@redhat.com>
18367
18368 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
18369 _PC_PIPE_BUF using F_GETPIPE_SZ.
18370
713df3d5
RM
183712010-07-05 Roland McGrath <roland@redhat.com>
18372
18373 * manual/arith.texi (Rounding Functions): Fix rint description
18374 implicit in round description.
18375
702e8f14
UD
183762010-07-02 Ulrich Drepper <drepper@redhat.com>
18377
18378 * elf/Makefile: Fix linking for a few tests to make recent linker
18379 happy.
18380
52ed8be9
AS
183812010-06-30 Andreas Schwab <schwab@redhat.com>
18382
18383 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
18384 $(common-objpfx)libc_nonshared.a.
18385
f47c9a11
LM
183862010-06-21 Luis Machado <luisgpm@br.ibm.com>
18387
18388 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
18389 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
18390 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
18391 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
18392 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
18393 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
18394 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
18395 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
18396 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
18397 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
18398 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
18399 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
18400 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
18401 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
18402 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
18403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
18404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
18405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
18406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
18407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
18408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
18409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
18410 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
18411 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
18412 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
18413 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
18414 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
18415 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
18416 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
18417 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
18418 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
18419 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
18420 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
18421 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
18422 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
18423 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
18424 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
18425 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
18426 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
18427 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
18428 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
18429 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
18430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
18431 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
18432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
18433 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
18434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
18435 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
18436
6fb8cbcb
L
184372010-06-25 H.J. Lu <hongjiu.lu@intel.com>
18438
18439 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
18440 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
18441 * string/memmove.c (memmove): Renamed to ...
18442 (MEMMOVE): ...this. Default to memmove.
18443 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
18444 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
18445 (END_CHK): Define.
18446 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18447 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
18448 mempcpy-ssse3-back memmove-ssse3-back.
18449 * sysdeps/x86_64/multiarch/bcopy.S: New file .
18450 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
18451 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
18452 * sysdeps/x86_64/multiarch/memcpy.S: New file.
18453 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
18454 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
18455 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
18456 * sysdeps/x86_64/multiarch/memmove.c: New file.
18457 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
18458 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
18459 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
18460 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
18461 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
18462 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
18463 Define.
18464 (index_Fast_Copy_Backward): Define.
18465 (HAS_ARCH_FEATURE): Define.
18466 (HAS_FAST_REP_STRING): Define.
18467 (HAS_FAST_COPY_BACKWARD): Define.
18468
4e733bac 184692010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
18470
18471 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
18472 Restore proper fallback handling.
18473
63c4ed22
UD
184742010-06-19 Ulrich Drepper <drepper@redhat.com>
18475
ac2b484c
UD
18476 [BZ #11701]
18477 * posix/group_member.c (__group_member): Correct checking loop.
18478
63c4ed22
UD
18479 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
18480 OOM in getpwuid_r correctly. Return error number when the caller
18481 should return, otherwise -1.
18482 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
18483 call returning > 0 value.
18484 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
18485
765ade4b
AS
184862010-06-07 Andreas Schwab <schwab@redhat.com>
18487
18488 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
18489 libc_nonshared.a from targets in modules-names.
18490
80da2e09
KS
184912010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
18492
18493 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
18494 requires it.
18495
158db122
LM
184962010-06-10 Luis Machado <luisgpm@br.ibm.com>
18497
18498 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
18499 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
18500 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
18501 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
18502
caa78cf8
AS
185032010-06-02 Andreas Schwab <schwab@redhat.com>
18504
18505 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
18506
b2ef2c01
UD
185072010-06-14 Ulrich Drepper <drepper@redhat.com>
18508
18509 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
18510 and F_GETPIPE_SZ.
18511 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
18512 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
18513 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18514 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18515 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
18516 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
18517
fbd643b6
RM
185182010-06-14 Roland McGrath <roland@redhat.com>
18519
18520 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
18521
f32f2869
JJ
185222010-06-07 Jakub Jelinek <jakub@redhat.com>
18523
18524 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
18525 __REDIRECT followed by __THROW.
18526 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
18527 * posix/getopt.h (getopt): Likewise.
18528
2a50c078
EPM
185292010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
18530
18531 * hurd/lookup-at.c (__file_name_lookup_at): Accept
18532 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
18533 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
18534 in AT_FLAGS.
18535 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
18536 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
18537
eb5ad2eb
LM
185382010-05-28 Luis Machado <luisgpm@br.ibm.com>
18539
18540 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
18541
3c88fe1e
L
185422010-05-26 H.J. Lu <hongjiu.lu@intel.com>
18543
18544 [BZ #11640]
18545 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18546 Properly check family and model.
18547
d2f73151
TY
185482010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
18549
18550 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
18551
ebd2e13d
LM
185522010-05-24 Luis Machado <luisgpm@br.ibm.com>
18553
18554 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
18555
b32b8b45
UD
185562010-05-21 Ulrich Drepper <drepper@redhat.com>
18557
18558 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
18559 symbol reference.
18560
9acbe24d
AS
185612010-05-19 Andreas Schwab <schwab@redhat.com>
18562
18563 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
18564 symbol reference.
18565
f0ccf6ea
AS
185662010-05-21 Andreas Schwab <schwab@redhat.com>
18567
3d04ff3a
AS
18568 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
18569 and internal_recvmmsg.
18570 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
18571 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
18572 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
18573 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
18574
f0ccf6ea
AS
18575 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
18576 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
18577 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
18578
5b08ac57
AS
185792010-05-20 Andreas Schwab <schwab@redhat.com>
18580
18581 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
18582
4828935d
LM
185832010-05-17 Luis Machado <luisgpm@br.ibm.com>
18584
18585 POWER7 optimizations.
18586 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
18587 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
18588
373d545e
UD
185892010-05-19 Ulrich Drepper <drepper@redhat.com>
18590
18591 * version.h: Update for 2.13 development version.
18592
21a2b1ae
AS
185932010-05-12 Andrew Stubbs <ams@codesourcery.com>
18594
18595 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
18596 exceptions. Return 0.
18597
3f7dcb2b
RM
185982010-05-07 Roland McGrath <roland@redhat.com>
18599
18600 * elf/ldconfig.c (main): Add a const.
18601
5f24d53a 186022010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 18603
a160f8d8
UD
18604 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
18605 (args_options): Add no-idn option.
18606 (ahosts_keys_int): Add idn_flags to ai_flags.
18607 (parse_option): Handle 'i' option to clear idn_flags.
18608
5f24d53a
UD
18609 * malloc/malloc.c (_int_free): Possible race in the most recently
18610 added check. Only act on the data if no current modification
18611 happened.
265bb1ce
UD
18612
18613See ChangeLog.17 for earlier changes.