]> sourceware.org Git - glibc.git/blame - ChangeLog
Fix libc-start change for IRELless machines.
[glibc.git] / ChangeLog
CommitLineData
35a5b08b
RM
12012-08-22 Roland McGrath <roland@hack.frob.com>
2
3 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
4 Conditionalize whole body on [IREL].
5
8479f23a
JL
62012-08-22 Jeff Law <law@redhat.com>
7
8 [BZ #14505]
9 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
10 if the family is PF_UNSPEC.
11
48da0b21
MF
122012-08-22 Mike Frysinger <vapier@gentoo.org>
13
14 * Makerules (lib-version): Rename from V.
15 (install-lib-nosubdir): Change V to lib-version.
16
15d0da8c
WS
172012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
18
19 [BZ #14252]
20 * powerpc32/power6/wcschr.c: New file.
21 * powerpc32/power6/wcscpy.c: New file.
22 * powerpc32/power6/wcsrchr.c: New file.
23 * powerpc64/power6/wcschr.c: New file.
24 * powerpc64/power6/wcscpy.c: New file.
25 * powerpc64/power6/wcsrchr.c: New file.
26
bcca0895
MK
272012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
28
29 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
30 (two_way_short_needle): Use it.
5a4aaa33
RM
31 * string/strstr.c (AVAILABLE1_USES_J): Define.
32 * string/strcasestr.c: Likewise.
99677e57
MK
33
34 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
35 array references.
36 * string/strcasestr.c (TOLOWER): Make side-effect safe.
37
400726de
MK
38 [BZ #11607]
39 * NEWS: Add an entry.
40 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
41 define their defaults.
42 (two_way_short_needle): Detect end-of-string on-the-fly.
43 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
44 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
45 * string/bug-strcasestr1.c: New test.
46 * string/Makefile: Run it.
47
20a71f2c
MK
482012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
49
50 [BZ #11607]
51 * string/str-two-way.h (two_way_short_needle): Optimize matching of
52 the first character.
53
21ad0558
RM
542012-08-21 Roland McGrath <roland@hack.frob.com>
55
56 * csu/elf-init.c (__libc_csu_irel): Function removed.
57 * csu/libc-start.c (apply_irel): New function.
58 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
59
0e1d9911
JM
602012-08-21 Joseph Myers <joseph@codesourcery.com>
61
62 * sysdeps/unix/sysv/linux/kernel-features.h
63 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
64 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
65 <kernel-features.h>.
66 [__NR_fadvise64_64]: Make code unconditional.
67 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
68 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
69 !__NR_fadvise64_64)]: Likewise.
70 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
71 !__NR_fadvise64_64))]: Likewise.
72 [__NR_fadvise64]: Make code unconditional.
73 [!__NR_fadvise64]: Remove conditional code.
74 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
75 <kernel-features.h>.
76 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
77 unconditional.
78 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
79 conditional code.
80 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
81 not include <kernel-features.h>.
82 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
83 unconditional.
84 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
85 conditional code.
86 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
87 include <kernel-features.h>.
88 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
89 unconditional.
90 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
91 conditional code.
92
14a50c9d
WS
932012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
94
95 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
96 slight instruction rearrangements per scrollpipe analysis.
97 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
98
c0f4faf0
RM
992012-08-20 Roland McGrath <roland@hack.frob.com>
100
696da859
RM
101 * manual/syslog.texi (syslog; vsyslog, closelog):
102 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
103 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
104
c0f4faf0
RM
105 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
106 DSOCAPS to match condition on defining it.
107
348363b2
JM
1082012-08-20 Joseph Myers <joseph@codesourcery.com>
109
a35cbf28
JM
110 * sysdeps/unix/sysv/linux/kernel-features.h
111 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
112 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
113 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
114 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
115 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
116 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
117 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
118 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
119 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
120 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
121
445f7ecd
JM
122 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
123 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
124
348363b2
JM
125 * sysdeps/unix/sysv/linux/kernel-features.h
126 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
127 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
128 unconditional.
129 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
130 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
131 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
132 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
133 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
134 Make code unconditional.
135 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
136 (__mmap64) [!__NR_mmap2]: Likewise.
137 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
138 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
139 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
140 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
141 [__NR_mmap2]: Make code unconditional.
142 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
143 (__mmap64) [!__NR_mmap2]: Likewise.
144
bc5bc0e5
AK
1452012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
146
147 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
148
88d506de
AJ
1492012-08-18 Andreas Jaeger <aj@suse.de>
150
151 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
152
493387d2
MF
1532012-08-18 Mike Frysinger <vapier@gentoo.org>
154
155 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
156 * include/unistd.h (__have_sock_cloexec): Likewise.
157 (__have_pipe2): Likewise.
158 (__have_dup3): Likewise.
159
a277af22
MF
1602012-08-18 Mike Frysinger <vapier@gentoo.org>
161
162 [BZ #9685]
163 * include/unistd.h (__have_pipe2): Change define into an extern int.
164 (__have_dup3): Likewise.
165 * socket/have_sock_cloexec.c: Include fcntl.h.
166 (__have_pipe2): New variable.
167 (__have_dup3): Likewise.
168
fdab8fd3
MF
1692012-08-17 Mike Frysinger <vapier@gentoo.org>
170
171 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
172
31035e80
MP
1732012-08-17 Marek Polacek <polacek@redhat.com>
174
175 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
176 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
177
3bd9e993
RM
1782012-08-17 Roland McGrath <roland@hack.frob.com>
179
c91c505f
RM
180 * configure.in: Add AC_SUBST for sysheaders.
181 * configure: Regenerated.
182 * config.make.in (sysheaders): New substituted variable.
183
7c6f9d53
RM
184 * sysdeps/unix/mkfifo.c: Moved ...
185 * sysdeps/posix/mkfifo.c: ... here.
186 * sysdeps/unix/mkfifoat.c: Moved ...
187 * sysdeps/posix/mkfifoat.c: ... here.
188
189 * sysdeps/unix/utime.c: Moved ...
190 * sysdeps/posix/utime.c: ... here.
191
192 * sysdeps/unix/time.c: Moved ...
193 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
194 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
195 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
196
197 * sysdeps/unix/nice.c: Moved ...
198 * sysdeps/posix/nice.c: ... here.
199
200 * sysdeps/unix/alarm.c: Moved ...
201 * sysdeps/posix/alarm.c: ... here.
202
3bd9e993
RM
203 * intl/Makefile ($(codeset_mo)): Depend on the input file.
204
d1f09384
JL
2052012-08-17 Jeff Law <law@redhat.com>
206
207 * intl/Makefile (codeset_mo): New variable.
208 ($(codeset_mo)): New target.
209 (tst-codeset.out): Depend on that. Remove explicit rule.
210 (tst-gettext3.out, tst-gettext5.out): Likewise.
211 (LOCPATH-ENV, tst-codeset-ENV): New variables.
212 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
213 * intl/tst-codeset.sh: Remove.
214 * intl/tst-gettext3.sh: Likewise.
215 * intl/tst-gettext5.sh: Likewise.
216
2ae1ae5c
RM
2172012-08-17 Roland McGrath <roland@hack.frob.com>
218
c31fdb83
RM
219 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
220 * sysdeps/unix/syscalls.list: ... here.
221
a0844057
RM
222 * sysdeps/posix/getaddrinfo.c
223 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
224 (gaiconf_init, gaiconf_reload): Use them.
225 [!_STATBUF_ST_NSEC]
226 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
227 Define using time_t rather than struct timespec.
228
750c1f2a
RM
229 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
230 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
231 Macros removed.
232 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
233 [!NO_THREADS].
234 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
235 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
236 Likewise.
237
2ae1ae5c
RM
238 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
239 __libc_cleanup_push argument.
240
e66a42f5
RM
241 * bits/param.h: New file.
242 * misc/sys/param.h: New file.
243 * include/sys/param.h: New file.
244 * misc/Makefile (headers): Add bits/param.h.
245 * sysdeps/generic/sys/param.h: File removed.
246 * sysdeps/unix/sysv/linux/bits/param.h: New file.
247 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
248 * sysdeps/mach/hurd/bits/param.h: New file.
249 * sysdeps/mach/hurd/sys/param.h: New file.
250
b7c08a66
RM
251 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
252 last change.
253
b2e1c562
RM
254 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
255 [_IO_MTSAFE_IO].
256 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
257 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
258 New macros.
259
c75ccd4c
RM
260 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
261 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
262 rather than -D_IO_MTSAFE_IO conditionally.
263 * stdio-common/Makefile (CPPFLAGS): Likewise.
264 * wcsmbs/Makefile (CPPFLAGS): Likewise.
265 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
266 Use $(libio-mtsafe).
267 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
268 of -D_IO_MTSAFE_IO.
269 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
270 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
271 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
272 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
273 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
274 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
275 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
276 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
277 (CFLAGS-fread_u_chk.c): Likewise.
278 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
279 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
280 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
281 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
282 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
283 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
284 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
285 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
286 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
287
288 * libio/Makefile: Test [$(libc-reentrant) = yes]
289 instead of [$(filter %REENTRANT, $(defines)) nonempty].
290
291 * Makeconfig
292 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
293 * sysdeps/pthread/configure: File removed.
294 * sysdeps/pthread/Makeconfig: New file.
295 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
296 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
297
d9195db8
GB
2982012-08-16 Gary Benson <gbenson@redhat.com>
299
300 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
301 unmapping the first object in a namespace.
302
86466cd9
RM
3032012-08-16 Roland McGrath <roland@hack.frob.com>
304
305 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
306 (__internal_setnetgrent): ... this. Add internal_function to
307 definition. Add libc_hidden_def.
308 (setnetgrent): Update caller.
309 (internal_endnetgrent): Renamed to ...
310 (__internal_endnetgrent): ... this. Add internal_function to
311 definition. Add libc_hidden_def.
312 (endnetgrent): Update caller.
313 (internal_getnetgrent_r): Renamed to ...
314 (__internal_getnetgrent_r): ... this. Add internal_function to
315 definition. Add libc_hidden_def.
316 (__getnetgrent_r): Update caller.
317 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
318
c3c8283c
JM
3192012-08-16 Joseph Myers <joseph@codesourcery.com>
320
321 * stdlib/longlong.h: Update from GCC.
322
db1ee0a8
RM
3232012-08-16 Roland McGrath <roland@hack.frob.com>
324
325 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
326 on _QL, which is set by umul_ppmm but never used.
327 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
328 variables, which are set by GMP macros but never used.
329 * stdio-common/_itowa.c (_itowa): Likewise.
330 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
331 * stdlib/mod_1.c (mpn_mod_1): Likewise.
332
30f69637
CD
3332012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
334
335 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
336 struct La_sh_regs is not constant.
337 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
338 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
339 and struct La_sparc64_regs are not constant.
340
93a78ac4
JM
3412012-08-16 Joseph Myers <joseph@codesourcery.com>
342
343 * sysdeps/unix/sysv/linux/kernel-features.h
344 (__ASSUME_POSIX_TIMERS): Remove.
345 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
346 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
347 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
348 Make code unconditional.
349 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
350 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
351 Make code unconditional.
352 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
353 * sysdeps/unix/sysv/linux/clock_nanosleep.c
354 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
355 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
356 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
357 Make code unconditional.
358 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
359 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
360 (__libc_missing_posix_timers): Remove.
361
dd924cd7
RM
3622012-08-15 Roland McGrath <roland@hack.frob.com>
363
4b4f2771
RM
364 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
365 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
366
601c888b
RM
367 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
368
176790a7
RM
369 * elf/dl-sym.c: Include <stdlib.h>.
370
329bc018
RM
371 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
372 constants, which avoids warnings in 32-bit builds.
373
e04e272d
RM
374 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
375 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
376
952bf94a
RM
377 * misc/lseek.c: File moved to ...
378 * io/lseek.c: ... here.
379
7c99b50a
RM
380 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
381
dd924cd7
RM
382 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
383 shifting LEN more than 31 bits at once.
384
b3f479a8
LD
3852012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
386
387 [BZ #14195]
8c4ae0d4
RM
388 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
389 segmentation fault for a case of two empty input strings.
b3f479a8
LD
390 * string/test-strncasecmp.c (check1): Renamed to...
391 (bz12205): ...this.
392 (bz14195): Add new testcase for two empty input strings and N > 0.
393 (test_main): Call new testcase, adapt for renamed function.
394
9c55864e
AJ
3952012-08-15 Andreas Jaeger <aj@suse.de>
396
397 [BZ #14090]
398 * crypt/md5test2.c: New test, based on test supplied by Serge
399 Belyshev <belyshev@depni.sinp.msu.ru>.
400 * crypt/Makefile (xtests): Add md5test-giant..
401 * crypt/Makefile ($(objpfx)md5test-giant): Add.
402
02dcb6c5
PE
4032012-08-15 Paul Eggert <eggert@cs.ucla.edu>
404
405 [BZ #14090]
406 * crypt/md5.c (md5_process_block): Don't assume the buffer
407 length is less than 2**32.
408 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
409 length is less than 2**64.
410
a3f95dcc
RM
4112012-08-15 Roland McGrath <roland@hack.frob.com>
412
be75d758
RM
413 * string/str-two-way.h: Include <sys/param.h>.
414 (MAX): Macro removed.
415
7312ca90
RM
416 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
417 Move #define and #undef of memmove to just before and after
418 including <string.h>.
419
9a0a5486
RM
420 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
421 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
422 and after including <string.h>. Move declarations of
423 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
424 to before #include "string/memmove.c".
425
67cc348d
RM
426 * include/dirent.h: Declare __getdirentries.
427
a3f95dcc
RM
428 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
429 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
430
ca98e171
MF
4312012-08-14 Mike Frysinger <vapier@gentoo.org>
432
433 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
434 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
435 * sysdeps/i386/configure: Regenerated.
436 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
437 STABS_CURRENT_FILE, and STABS_FUN.
438 (END): Remove call to STABS_FUN_END.
439 (STABS_CURRENT_FILE1): Delete.
440 (STABS_CURRENT_FILE): Likewise.
441 (STABS_FUN): Likewise.
442 (STABS_FUN_END): Likewise.
443 (STABS_FUN2): Likewise.
444 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
445 * sysdeps/x86_64/configure: Regenerated.
446
5908bf46
RM
4472012-08-14 Roland McGrath <roland@hack.frob.com>
448
449 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 450 * elf/dl-lookup.c: Likewise.
5908bf46 451
f2c05b9e
JM
4522012-08-14 Joseph Myers <joseph@codesourcery.com>
453
454 * sysdeps/unix/sysv/linux/kernel-features.h
455 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
456 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
457 unconditionally.
458 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
459 unconditionally.
460 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
461 condition on __ASSUME_CLONE_THREAD_FLAGS.
462
e11f5155
AJ
4632012-08-14 Andreas Jaeger <aj@suse.de>
464
465 * sysdeps/i386/fpu/libm-test-ulps: Update.
466
51a9ba86
MK
4672012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
468
2fdd4f78
AJ
469 * include/atomic.h (atomic_exchange_and_add): Split into ...
470 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
471 New atomic macros.
51a9ba86 472
ba6cba9e
MT
4732012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
474
475 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
476
42443a47
JL
4772012-08-13 Jeff Law <law@redhat.com>
478
479 * manual/stdio.texi (snprintf): Clarify handling of the trailing
480 null byte in the output string.
481
121dce05
JM
4822012-08-10 Joseph Myers <joseph@codesourcery.com>
483
484 * sysdeps/unix/sysv/linux/kernel-features.h
485 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
486 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
487 (__ASSUME_ARG_MAX_STACK_BASED): Define.
488 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
489 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
490 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
491 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
492
bf51f568
JL
4932012-08-09 Jeff Law <law@redhat.com>
494
495 [BZ #13939]
496 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
497 When avoid_arena is set, don't retry in the that arena. Pick the
498 next one, whatever it might be.
499 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
500 (arena_lock): Pass in new parameter to arena_get2.
501 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
502 arena_get2.
503 (__libc_malloc): Unify retrying after main arena failure with
504 __libc_memalign version.
505 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
506
f85fa270
L
5072012-08-09 H.J. Lu <hongjiu.lu@intel.com>
508
509 [BZ #14166]
510 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
511 to __redirect_strstr.
512 (__strstr_sse42): Use typeof __redirect_strstr.
513 (__strstr_ia32): Likewise.
514 (__libc_strstr): New prototype.
515 (strstr): Renamed to ...
516 (__libc_strstr): This.
517 (strstr): New strong alias of __libc_strstr.
518 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
519 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
520 __redirect_time.
521 Include <time.h>.
522 (__libc_time): New prototype.
523 (time_ifunc): Replace time with __libc_time.
524 (time): New strong alias and hidden definition of __libc_time.
525 (__GI_time): Remove strong alias.
526 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
527 Include <stddef.h>.
528 (memmove): Redefined to __redirect_memmove.
529 (__memmove_sse2): Use typeof __redirect_memmove.
530 (__memmove_ssse3): Likewise.
531 (__memmove_ssse3_back): Likewise.
532 (__libc_memmove): New prototype.
533 (memmove): Renamed to ...
534 (__libc_memmove): This.
535 (memmove): New strong alias of __libc_memmove.
536
33b4a91e
MS
5372012-08-08 Mark Salter <msalter@redhat.com>
538
539 * elf/elf.h
540 (R_MN10300_TLS_GD): Define.
541 (R_MN10300_TLS_LD): Likewise.
542 (R_MN10300_TLS_LDO): Likewise.
543 (R_MN10300_TLS_GOTIE): Likewise.
544 (R_MN10300_TLS_IE): Likewise.
545 (R_MN10300_TLS_LE): Likewise.
546 (R_MN10300_TLS_DTPMOD): Likewise.
547 (R_MN10300_TLS_DTPOFF): Likewise.
548 (R_MN10300_TLS_TPOFF): Likewise.
549 (R_MN10300_SYM_DIFF): Likewise.
550 (R_MN10300_ALIGN): Likewise.
551 (R_MN10300_NUM): Update.
552
b36137f1
JM
5532012-08-08 Joseph Myers <joseph@codesourcery.com>
554
555 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
556 Remove.
557
cdd915fd
RM
5582012-08-08 Roland McGrath <roland@hack.frob.com>
559
a2433aac
RM
560 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
561
cdd915fd
RM
562 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
563 sysdeps/unix -> sysdeps/posix move.
564 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
565
bf9b740a
AM
5662012-08-07 Allan McRae <allan@archlinux.org>
567
568 [BZ #14303]
569 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
570 (SUNOS_CPP): Likewise.
571 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
572 not found.
573 (open_input): Call CPP using execvp.
574
93df14ee
JM
5752012-08-07 Joseph Myers <joseph@codesourcery.com>
576
577 * sysdeps/unix/sysv/linux/kernel-features.h
578 (__ASSUME_PROT_GROWSUPDOWN): Remove.
579 (__ASSUME_NO_CLONE_DETACHED): Likewise.
580 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
581 (__ASSUME_WAITID_SYSCALL): Likewise.
582 * sysdeps/unix/sysv/linux/dl-execstack.c
583 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
584 code unconditional.
585 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
586 conditional code.
587 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
588 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
589 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
590 code.
591 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
592 unconditional.
593 [__ASSUME_WAITID_SYSCALL]: Likewise.
594 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
595
d34689de
RM
5962012-08-07 Roland McGrath <roland@hack.frob.com>
597
a281decc
RM
598 * sysdeps/unix/closedir.c: Renamed to ...
599 * sysdeps/posix/closedir.c: ... here.
600 * sysdeps/unix/dirfd.c: Renamed to ...
601 * sysdeps/posix/dirfd.c: ... here.
602 * sysdeps/unix/dirstream.h: Renamed to ...
603 * sysdeps/posix/dirstream.h: ... here.
604 * sysdeps/unix/fdopendir.c: Renamed to ...
605 * sysdeps/posix/fdopendir.c: ... here.
606 * sysdeps/unix/opendir.c: Renamed to ...
607 * sysdeps/posix/opendir.c: ... here.
608 * sysdeps/unix/readdir.c: Renamed to ...
609 * sysdeps/posix/readdir.c: ... here.
610 * sysdeps/unix/readdir_r.c: Renamed to ...
611 * sysdeps/posix/readdir_r.c: ... here.
612 * sysdeps/unix/rewinddir.c: Renamed to ...
613 * sysdeps/posix/rewinddir.c: ... here.
614 * sysdeps/unix/seekdir.c: Renamed to ...
615 * sysdeps/posix/seekdir.c: ... here.
616 * sysdeps/unix/telldir.c: Renamed to ...
617 * sysdeps/posix/telldir.c: ... here.
618 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
619 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
620 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
621 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
622
22895b47
RM
623 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
624 * bits/fcntl.h: ... here.
625
707a53b6
RM
626 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
627 not 0.
628 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
629 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
630 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
631 (struct flock): Move l_start, l_len to the beginning.
632 Use __pid_t for l_pid.
633 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
634 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
635 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
636 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
637 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
638 [__USE_LARGEFILE64] (struct flock64): New type.
639 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
640
f0bd3e25
RM
641 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
642 * bits/dirent.h: ... here.
643
d34689de
RM
644 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
645 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
646
6dad2c06
JM
6472012-08-07 Joseph Myers <joseph@codesourcery.com>
648
649 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
650 Change from 2.6.0 to 2.6.16.
651 * sysdeps/unix/sysv/linux/configure: Regenerated.
652 * sysdeps/unix/sysv/linux/kernel-features.h
653 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
654 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
655 version.
656 (__ASSUME_UTIMES): Likewise.
657 (__ASSUME_CLONE_STOPPED): Remove.
658 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
659 architectures, not kernel version.
660 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
661 (__ASSUME_NO_CLONE_DETACHED): Likewise.
662 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
663 (__ASSUME_WAITID_SYSCALL): Likewise.
664 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
665 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
666 * README: State 2.6.16 as minimum Linux kernel version. Do not
667 refer to older versions.
668
03af9520
RM
6692012-08-06 Roland McGrath <roland@hack.frob.com>
670
8e49df1d
RM
671 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
672 Define alphasort64 as an alias.
673 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
674 Define versionsort64 as an alias.
675 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
676 Define scandir64 as an alias.
677 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
678 Define scandirat64 as an alias.
679 * dirent/alphasort64.c (alphasort64):
680 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
681 * dirent/versionsort64.c: Likewise.
682 * dirent/scandir64.c: Likewise.
683 * dirent/scandirat64.c: Likewise.
684 * sysdeps/wordsize-64/alphasort.c: File removed.
685 * sysdeps/wordsize-64/alphasort64.c: File removed.
686 * sysdeps/wordsize-64/scandir.c: File removed.
687 * sysdeps/wordsize-64/scandir64.c: File removed.
688 * sysdeps/wordsize-64/scandirat.c: File removed.
689 * sysdeps/wordsize-64/scandirat64.c: File removed.
690 * sysdeps/wordsize-64/versionsort.c: File removed.
691 * sysdeps/wordsize-64/versionsort64.c: File removed.
692 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
693 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
694 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
695 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
696 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
697 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
698 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
699 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
700
701 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
702 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
703 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
704 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
705 [defined __arch64__ || defined __sparcv9]
706 (__INO_T_MATCHES_INO64_T): New macro.
707 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
708 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
709 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
710 * sysdeps/unix/sysv/linux/bits/dirent.h
711 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
712 (_DIRENT_MATCHES_DIRENT64): New macro.
713
03af9520
RM
714 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
715 Define lockf64 as an alias.
716 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
717 Define fseeko64 as an alias.
718 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
719 Define ftello64 as an alias.
720 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
721 Define _IO_fgetpos64 and fgetpos64 as aliases.
722 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
723 Define _IO_fsetpos64 and fsetpos64 as aliases.
724 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
725 Conditionalize body on this.
726 * libio/fseeko64.c: Likewise.
727 * libio/ftello64.c: Likewise.
728 * libio/iofgetpos64.c: Likewise.
729 * libio/iofsetpos64.c: Likewise.
730 * sysdeps/wordsize-64/lockf.c: File removed.
731 * sysdeps/wordsize-64/lockf64.c: File removed.
732 * sysdeps/wordsize-64/fseeko.c: File removed.
733 * sysdeps/wordsize-64/fseeko64.c: File removed.
734 * sysdeps/wordsize-64/ftello.c: File removed.
735 * sysdeps/wordsize-64/ftello64.c: File removed.
736 * sysdeps/wordsize-64/iofgetpos.c: File removed.
737 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
738 * sysdeps/wordsize-64/iofsetpos.c: File removed.
739 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
740 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
741 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
742 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
743 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
744 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
745 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
746 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
747 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
748 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
749 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
750
751 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
752 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
753 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
754 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
755 [defined __arch64__ || defined __sparcv9]
756 (__OFF_T_MATCHES_OFF64_T): New macro.
757 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
758 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
759 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
760 (__OFF_T_MATCHES_OFF64_T): New macro.
761
c5757acd
L
7622012-08-06 H.J. Lu <hongjiu.lu@intel.com>
763
764 * stdlib/secure-getenv.c (__secure_getenv): Replace
765 GLIBC_2_16 with GLIBC_2_17.
766
3a31811e
L
7672012-08-06 H.J. Lu <hongjiu.lu@intel.com>
768
769 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
770 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
771
faa2bccb
DM
7722012-08-03 David S. Miller <davem@davemloft.net>
773
774 * sysdeps/sparc/fpu/libm-test-ulps: Update.
775
85fe1997
JM
7762012-08-03 Joseph Myers <joseph@codesourcery.com>
777
778 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
779 Remove.
780 (__ASSUME_CORRECT_SI_PID): Likewise.
781 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
782 (__ASSUME_TMPFS_NAME): Likewise.
783 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
784 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
785 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
786 (HAVE_AUX_SECURE): Make definition unconditional.
787 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
788 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
789
4f75b7a0
RM
7902012-08-03 Roland McGrath <roland@hack.frob.com>
791
792 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
793 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
794 * sysdeps/mach/hurd/eloop-threshold.h: New file.
795 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
796 __eloop_threshold instead of SYMLOOP_MAX.
797
798 * sysdeps/generic/eloop-threshold.h: New file.
799 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
800 of MAXSYMLINKS.
801 * elf/chroot_canon.c (chroot_canon): Likewise.
802
7aab07e4
JM
8032012-08-03 Joseph Myers <joseph@codesourcery.com>
804
805 [BZ #13717]
806 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
807 Change to 2.6.0 everywhere.
808 * sysdeps/unix/sysv/linux/configure: Regenerated.
809 * sysdeps/unix/sysv/linux/kernel-features.h
810 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
811 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
812 kernel versions.
813 (__ASSUME_POSIX_TIMERS): Define unconditionally.
814 (__ASSUME_FUTEX_REQUEUE): Remove.
815 (__ASSUME_STATFS64): Define unconditionally.
816 (__ASSUME_AT_SECURE): Likewise.
817 (__ASSUME_CORRECT_SI_PID): Likewise.
818 (__ASSUME_TGKILL): Define without depending on kernel version for
819 i386.
820 (__ASSUME_UTIMES): Likewise.
821 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
822 kernel version.
823 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
824 (__ASSUME_TMPFS_NAME): Likewise.
825 * README: Update reference to Linux kernel versions.
826
b67e9372
MP
8272012-08-02 Marek Polacek <polacek@redhat.com>
828
829 [BZ#14150]
830 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
831 libc_cv_asm_type_prefix with %.
832 * configure: Regenerated.
d2441631
RM
833 * include/libc-symbols.h: Remove comment about
834 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
835 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
836 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
837 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
838 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
839 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
840 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
841 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
842 * elf/tst-unique2mod1.c: Likewise.
843 * elf/tst-unique1mod2.c: Likewise.
844 * elf/tst-unique1mod1.c: Likewise.
845 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
846 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
847 Replace ASM_TYPE_DIRECTIVE with .type.
848 * sysdeps/s390/s390-64/sysdep.h: Likewise.
849 * sysdeps/i386/sysdep.h: Likewise.
850 * sysdeps/x86_64/sysdep.h: Likewise.
851 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
853 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 854 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
855 * sysdeps/powerpc/powerpc32/sysdep.h:
856 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
857 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
858 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
859 * sysdeps/i386/fpu/e_powf.S: Likewise.
860 * sysdeps/i386/fpu/e_expl.S: Likewise.
861 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
862 * sysdeps/i386/fpu/e_acosh.S: Likewise.
863 * sysdeps/i386/fpu/e_pow.S: Likewise.
864 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
865 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
866 * sysdeps/i386/fpu/s_expm1.S: Likewise.
867 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
868 * sysdeps/i386/fpu/e_log2.S: Likewise.
869 * sysdeps/i386/fpu/e_log2l.S: Likewise.
870 * sysdeps/i386/fpu/e_scalb.S: Likewise.
871 * sysdeps/i386/fpu/e_powl.S: Likewise.
872 * sysdeps/i386/fpu/e_log10f.S: Likewise.
873 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
874 * sysdeps/i386/fpu/e_logl.S: Likewise.
875 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
876 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
877 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
878 * sysdeps/i386/fpu/e_log2f.S: Likewise.
879 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
880 * sysdeps/i386/fpu/e_log.S: Likewise.
881 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
882 * sysdeps/i386/fpu/e_logf.S: Likewise.
883 * sysdeps/i386/fpu/e_log10l.S: Likewise.
884 * sysdeps/i386/fpu/e_atanh.S: Likewise.
885 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
886 * sysdeps/i386/fpu/e_log10.S: Likewise.
887 * sysdeps/i386/fpu/s_frexp.S: Likewise.
888 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
889 * sysdeps/i386/fpu/s_asinh.S: Likewise.
890 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
891 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
892 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
893 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
894 * sysdeps/i386/i686/strtok.S: Likewise.
895 * sysdeps/i386/i386-mcount.S: Likewise.
896 * sysdeps/i386/strtok.S: Likewise.
897 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
898 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
899 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
900 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
901 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
902 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
903 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
904 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
905 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
906 * sysdeps/x86_64/_mcount.S: Likewise.
907 * sysdeps/x86_64/strtok.S: Likewise.
908 * sysdeps/sh/_mcount.S: Likewise.
909
2747bf9a
RM
9102012-08-01 Roland McGrath <roland@hack.frob.com>
911
912 * libio/iofopen.c: Include <fcntl.h>.
913 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
914 (_IO_fopen64, fopen64): Define as aliases.
915 * libio/iofopen64.c: Include <fcntl.h>.
916 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
917 Conditionalize body on this.
918 * sysdeps/wordsize-64/iofopen.c: File removed.
919 * sysdeps/wordsize-64/iofopen64.c: File removed.
920
3fb791b8
MP
9212012-08-01 Marek Polacek <polacek@redhat.com>
922
923 * libc/Makeconfig: Use elf in place of binfmt-subdir.
924 Use dlfcn directly instead of a variable.
925 (binfmt-subdir): Do not define.
926 (dlfcn): Likewise.
927
a9f1039f
JM
9282012-08-01 Joseph Myers <joseph@codesourcery.com>
929
23bddc06
JM
930 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
931 Remove all definitions.
932 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
933 <kernel-features.h>.
934 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
935 (miss_F_GETOWN_EX): Remove all definitions.
936 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
937 macro definition.
938 [!__ASSUME_FCNTL64]: Remove conditional code.
939 [__ASSUME_FCNTL64]: Make code unconditional.
940 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
941 <kernel-features.h>.
942 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
943 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
944 (lockf64) [__NR_fcntl64]: Make code unconditional.
945 (lockf64) [__ASSUME_FCNTL64]: Likewise.
946
a9f1039f
JM
947 * sysdeps/unix/sysv/linux/kernel-features.h
948 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
949 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
950 Make code unconditional.
951 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
952 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
953 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
954 [__NR_vfork]: Make code unconditional.
955 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
956 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
957 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
958 [__NR_vfork]: Make code unconditional.
959 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
960 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
961
09c0ee5f
RM
9622012-08-01 Roland McGrath <roland@hack.frob.com>
963
48aec5b9
RM
964 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
965 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
966
cd97c966
RM
967 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
968 Define mkstemp64 as an alias.
3f55550c
RM
969 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
970 Define mkstemps64 as an alias.
cd97c966
RM
971 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
972 Define mkostemp64 as an alias.
b8625cfc
RM
973 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
974 Define mkostemps64 as an alias.
cd97c966
RM
975 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
976 Conditionalize body on this.
977 * misc/mkostemp64.c: Likewise.
b8625cfc 978 * misc/mkostemps64.c: Likewise.
3f55550c 979 * misc/mkstemps64.c: Likewise.
cd97c966
RM
980 * sysdeps/wordsize-64/mkstemp64.c: File removed.
981 * sysdeps/wordsize-64/mkostemp64.c: File removed.
982 * sysdeps/wordsize-64/mkostemp.c: File removed.
983 * sysdeps/wordsize-64/mkstemp.c: File removed.
984 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
985 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
986 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
987 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
988
09c0ee5f
RM
989 [BZ #14138]
990 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
991 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
992 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
993 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
994
995 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
996 compat_symbol macros from <shlib-compat.h> rather than the underlying
997 default_symbol_version and symbol_version macros, so that DEFAULT
998 lines in shlib-versions are respected.
999 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
1000
7e66ee51
FW
10012012-08-01 Florian Weimer <fweimer@redhat.com>
1002
1003 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
1004 Declare with warn_unused_result.
1005 (setgid, setregid, setegid, setresgid): Likewise.
1006 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
1007 Likewise.
1008 * WUR-REPORT: Remove set*id functions.
1009
d2a54255
PT
10102012-07-31 Pino Toscano <toscano.pino@tiscali.it>
1011
1012 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
1013
7ecdb005
RM
10142012-07-31 Roland McGrath <roland@hack.frob.com>
1015
789bd351
RM
1016 * include/sys/socket.h (__libc_accept, __libc_accept4):
1017 Add attribute_hidden.
1018 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
1019
40ce302d
RM
1020 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
1021 use of PTR_MANGLE.
1022 * inet/getnetgrent_r.c (setup): Likewise.
1023
7ecdb005
RM
1024 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
1025
e2eabb2c
DM
10262012-07-31 David S. Miller <davem@davemloft.net>
1027
1028 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1029
d0419dbf
JM
10302012-07-31 Joseph Myers <joseph@codesourcery.com>
1031
1032 [BZ #13629]
1033 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
1034 value between 1.0 and 2.0 and smaller part has absolute value less
1035 than 1.0.
1036 * math/s_clog10.c (__clog10): Likewise.
1037 * math/s_clog10f.c (__clog10f): Likewise.
1038 * math/s_clog10l.c (__clog10l): Likewise.
1039 * math/s_clogf.c (__clogf): Likewise.
1040 * math/s_clogl.c (__clogl): Likewise.
1041 * math/libm-test.inc (clog_test): Add more tests.
1042 (clog10_test): Likewise.
1043 * sysdeps/i386/fpu/libm-test-ulps: Update.
1044 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1045
2bc13872
FW
10462012-07-31 Florian Weimer <fweimer@redhat.com>
1047
1048 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
1049 Exit with zero in case no suitable GID is found, and write a
1050 message to standard error.
1051
bea9b193
RM
10522012-07-30 Roland McGrath <roland@hack.frob.com>
1053
1054 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
1055 rather than to 1.
1056 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
1057 (MAXPATHLEN): Removed.
1058 (NOGROUP, NODEV): New macros.
1059 (setbit, clrbit, isset, isclr): New macros.
1060 (howmany, roundup, powerof2): New macros.
1061 (DEV_BSIZE): New macro.
1062
1063 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
1064 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
1065
1066 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
1067 definition on [!__NO_LONG_DOUBLE_MATH].
1068
1069 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
1070 PTR_MANGLE and PTR_DEMANGLE.
1071
1072 * socket/accept4.c (accept4): Rename to __libc_accept4.
1073 Define accept4 as a weak alias.
1074
1075 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
1076 on [_DIRENT_HAVE_D_TYPE].
1077 * io/ftw.c (ftw_dir): Likewise.
1078
1079 * io/xmknod.c (__xmknod): Don't check PATH for being null.
1080
1081 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
1082
1083 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
1084 Use the BSD numbers rather than the arbitrary ones we had.
1085 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
1086 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
1087 (SIGXCPU, SIGXFSZ): New macros.
1088 (_NSIG): Now 32.
1089
1090 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
1091 initializer on [_LIBC_REENTRANT].
1092
1093 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
1094 definitions inside [_POSIX_MAPPED_FILES].
1095
1096 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
1097
1098 * dirent/opendir.c: Include <fcntl.h>.
1099
1100 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
1101 (__libc_getspecific): Likewise.
1102 (__libc_key_create): Likewise.
1103
1104 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
1105 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
1106 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
1107 (tmpfile64): Define as alias.
1108 * sysdeps/wordsize-64/tmpfile.c: File removed.
1109 * sysdeps/wordsize-64/tmpfile64.c: File removed.
1110 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
1111 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
1112
1113 * stdio-common/vfscanf.c: Include <stdbool.h>.
1114 * nss/makedb.c: Likewise.
1115 * stdio-common/_i18n_number.h: Likewise.
1116 * argp/argp-help.c: Likewise.
1117 * posix/wordexp.c: Likewise.
1118 * sysdeps/posix/spawni.c: Likewise.
1119 * nss/nss_files/files-initgroups.c: Likewise.
1120 * stdio-common/reg-modifier.c: Include <stdlib.h>.
1121 * nss/nss_files/files-initgroups.c: Likewise.
1122 * nss/nss_db/db-netgrp.c: Likewise.
1123 * nss/nss_db/db-initgroups.c: Likewise.
1124 * io/fchmodat.c: Include <sys/stat.h>.
1125
1126 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
1127 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
1128
1129 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
1130 [HAVE_MMAP].
1131
1132 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
1133 Add multiple inclusion protection.
1134
e5abc686
DM
11352012-07-27 David S. Miller <davem@davemloft.net>
1136
1137 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1138
815e6fa3
GB
11392012-07-27 Gary Benson <gbenson@redhat.com>
1140
1141 [BZ #14298]
1142 * elf/rtld.c: Include <stap-probe.h>.
1143 (dl_main): Added static probes "init_start" and "init_complete".
1144 * elf/dl-load.c: Include <stap-probe.h>.
1145 (lose): Take new parameter "nsid".
1146 Added static probe "map_failed".
1147 (_dl_map_object_from_fd): Pass namespace id to lose.
1148 Added static probe "map_start".
1149 (open_verify): Pass namespace id to lose.
1150 * elf/dl-open.c: Include <stap-probe.h>.
1151 (dl_open_worker) Added static probes "map_complete", "reloc_start"
1152 and "reloc_complete".
1153 * elf/dl-close.c: Include <stap-probe.h>.
1154 (_dl_close_worker): Added static probes "unmap_start" and
1155 "unmap_complete".
1156 * elf/rtld-debugger-interface.txt: New file documenting the above.
1157
9f98c16c
RM
11582012-07-26 Roland McGrath <roland@hack.frob.com>
1159
1160 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
1161 rather than a string variable.
1162 * sunrpc/rpc_main.c (h_output): Likewise.
1163 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
1164
f3c22df3
PT
11652012-07-26 Pino Toscano <toscano.pino@tiscali.it>
1166
1167 * inet/check_native.c: New file.
1168
3129cfc6
JM
11692012-07-26 Joseph Myers <joseph@codesourcery.com>
1170
da865e95
JM
1171 [BZ #13629]
1172 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
1173 if larger part has absolute value 1.0.
1174 * math/s_clog10.c (__clog10): Likewise.
1175 * math/s_clog10f.c (__clog10f): Likewise.
1176 * math/s_clog10l.c (__clog10l): Likewise.
1177 * math/s_clogf.c (__clogf): Likewise.
1178 * math/s_clogl.c (__clogl): Likewise.
1179 * math/libm-test.inc (clog_test): Add more tests.
1180 (clog10_test): Likewise.
1181 * sysdeps/i386/fpu/libm-test-ulps: Update.
1182 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1183
3129cfc6
JM
1184 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
1185 (pltexit): Likewise.
1186 (La_regs): Likewise.
1187 (La_retval): Likewise.
1188 (int_retval): Likewise.
1189 Update #error for removed macros to refer only to definitions in
1190 tst-audit.h.
1191 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
1192 macro.
1193 (pltexit): Likewise.
1194 (La_regs): Likewise.
1195 (La_retval): Likewise.
1196 (int_retval): Likewise.
1197 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
1198 macro.
1199 (pltexit): Likewise.
1200 (La_regs): Likewise.
1201 (La_retval): Likewise.
1202 (int_retval): Likewise.
1203 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
1204 macro.
1205 (pltexit): Likewise.
1206 (La_regs): Likewise.
1207 (La_retval): Likewise.
1208 (int_retval): Likewise.
1209 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
1210 macro.
1211 (pltexit): Likewise.
1212 (La_regs): Likewise.
1213 (La_retval): Likewise.
1214 (int_retval): Likewise.
1215 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
1216 macro.
1217 (pltexit): Likewise.
1218 (La_regs): Likewise.
1219 (La_retval): Likewise.
1220 (int_retval): Likewise.
1221 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
1222 macro.
1223 (pltexit): Likewise.
1224 (La_regs): Likewise.
1225 (La_retval): Likewise.
1226 (int_retval): Likewise.
1227 * sysdeps/generic/tst-audit.h: Update comment to refer only to
1228 macro definitions in tst-audit.h.
1229 * sysdeps/i386/tst-audit.h: New file.
1230 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
1231 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
1232 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
1233 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
1234 * sysdeps/sh/tst-audit.h: Likewise.
1235 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
1236 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
1237 * sysdeps/x86_64/tst-audit.h: Likewise.
1238
bfc07087
AJ
12392012-07-26 Andreas Jaeger <aj@suse.de>
1240
b1b2aaf8
AJ
1241 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
1242 ptrace.
1243
1244 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
1245 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
1246 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
1247 PTRACE_O_MASK.
1248 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
1249 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
1250 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
1251
bfc07087
AJ
1252 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
1253 value.
1254
1255 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
1256 _sigsys.
1257 (si_call_addr, si_syscall, si_arch): Define new macro.
1258 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
1259 _sigsys.
1260 (si_call_addr, si_syscall, si_arch): Define new marcro.
1261 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
1262 _sigsys.
1263 (si_call_addr, si_syscall, si_arch): Define new macro.
1264 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
1265 _sigsys.
1266 (si_call_addr, si_syscall, si_arch): Define new macro.
1267
89b4b02f
JM
12682012-07-25 Joseph Myers <joseph@codesourcery.com>
1269
1270 [BZ #13717]
1271 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1272 Change to 2.4.21 where previously 2.4.1.
1273 * sysdeps/unix/sysv/linux/configure: Regenerated.
1274 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
1275 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
1276 Linux kernel version.
1277 (__ASSUME_STD_AUXV): Remove.
1278 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
1279 kernel version.
1280 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
1281 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
1282 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
1283 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
1284 (__ASSUME_NETLINK_SUPPORT): Likewise.
1285 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
1286 (__no_netlink_support): Remove conditional definition.
1287 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
1288 Remove.
1289 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
1290 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
1291 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
1292 (if_nameindex_ioctl): Remove.
1293 (if_nameindex_netlink): Do not handle __no_netlink_support.
1294 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
1295 code.
1296 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
1297 Remove conditional code.
1298 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
1299 code.
1300 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
1301 unconditional.
1302 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
1303 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
1304 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
1305 Remove.
1306 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
1307 [!__ASSUME_STD_AUXV]: Remove conditional code.
1308 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
1309 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
1310 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
1311 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
1312 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
1313 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
1314 code.
1315 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
1316 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
1317 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
1318 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
1319 conditional code.
1320 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
1321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
1322 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
1323 code.
1324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
1325 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
1326 conditional code.
1327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
1328 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
1329 code unconditional.
1330 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1331 conditional code.
1332 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
1333 unconditional.
1334 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1335 conditional code.
1336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
1337 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
1338 unconditional.
1339 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1340 conditional code.
1341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
1342 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
1343 code unconditional.
1344 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1345 conditional code.
1346 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
1347 unconditional.
1348 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1349 conditional code.
1350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
1351 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
1352 code unconditional.
1353 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1354 conditional code.
1355 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
1356 unconditional.
1357 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1358 conditional code.
1359
842a39cd
AS
13602012-07-25 Andreas Schwab <schwab@linux-m68k.org>
1361
1362 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
1363 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
1364 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
1365 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
1366 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
1367 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
1368 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
1369 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
1370 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
1371 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
1372 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
1373 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
1374 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
1375 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
1376 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
1377 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
1378 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
1379 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
1380 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
1381 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
1382 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
1383 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
1384 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
1385
84b3fd84
FW
13862012-07-25 Florian Weimer <fweimer@redhat.com>
1387
1388 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
1389 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
1390 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
1391 Introduce __libc_secure_getenv.
0c7936d5
FW
1392 * stdlib/Versions (2.17): Add secure_getenv
1393 (GLIBC_PRIVATE): Add __libc_secure_getenv.
1394 * stdlib/secure-getenv.c: Rename __secure_getenv to
1395 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
1396 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
1397 * stdlib/tst-secure-getenv.c: New.
1398 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
1399 * manual/startup.texi (Environment Access): Document
1400 secure_getenv.
84b3fd84
FW
1401 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
1402 __libc_secure_getenv.
1403 * inet/ruserpass.c (ruserpass): Likewise.
1404 * malloc/mtrace.c (mtrace): Likewise.
1405 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 1406 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
1407 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
1408 * sysdeps/posix/tempname.c: Likewise. Evaluate
1409 HAVE_SECURE_GETENV.
1410 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 1411 __secure_getenv to __libc_secure_getenv.
84b3fd84 1412 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
1413 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1414 Likewise.
1415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1416 Likewise.
1417 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
1418 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
1419 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
1420 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
1421 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
1422 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
1423 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 1424
56e49b71
JM
14252012-07-25 Joseph Myers <joseph@codesourcery.com>
1426
1427 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
1428 (struct La_i86_retval): Likewise.
1429 (struct La_x86_64_regs): Likewise.
1430 (struct La_x86_64_retval): Likewise.
1431 (struct La_x32_regs): Likewise.
1432 (struct La_x32_retval): Likewise.
1433 (struct La_ppc32_regs): Likewise.
1434 (struct La_ppc32_retval): Likewise.
1435 (struct La_ppc64_regs): Likewise.
1436 (struct La_ppc64_retval): Likewise.
1437 (struct La_sh_regs): Likewise.
1438 (struct La_sh_retval): Likewise.
1439 (struct La_s390_32_regs): Likewise.
1440 (struct La_s390_32_retval): Likewise.
1441 (struct La_s390_64_regs): Likewise.
1442 (struct La_s390_64_retval): Likewise.
1443 (struct La_sparc32_regs): Likewise.
1444 (struct La_sparc32_retval): Likewise.
1445 (struct La_sparc64_regs): Likewise.
1446 (struct La_sparc64_retval): Likewise.
1447 (struct audit_ifaces): Remove architecture-specific pltenter and
1448 pltexit members.
1449 * sysdeps/i386/ldsodefs.h: New file.
1450 * sysdeps/powerpc/ldsodefs.h: Likewise.
1451 * sysdeps/s390/ldsodefs.h: Likewise.
1452 * sysdeps/sh/ldsodefs.h: Likewise.
1453 * sysdeps/sparc/ldsodefs.h: Likewise.
1454 * sysdeps/x86_64/ldsodefs.h: Likewise.
1455
354691b7
MP
14562012-07-25 Marek Polacek <polacek@redhat.com>
1457
1458 [BZ #6808]
1459 * math/libm-test.inc (yn_test): Add another test.
1460 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
1461 to ERANGE when the result is +-Inf.
1462 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
1463 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
1464 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
1465 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
1466
bf9e2071
JM
14672012-07-24 Joseph Myers <joseph@codesourcery.com>
1468
1469 * conform/data/time.h-data (NULL): Use macro-constant. Require
1470 equal to 0.
1471 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
1472 clock_t.
1473 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
1474
57633811
TS
14752012-07-23 Thomas Schwinge <thomas@codesourcery.com>
1476
1477 * configure.in <sysdeps resolving>: Correct printing
1478 Implies_before.
1479 * configure: Regenerate.
1480
c23c33b0
TS
14812012-07-22 Thomas Schwinge <thomas@codesourcery.com>
1482
1483 * math/w_ilogb.c: Include <limits.h>.
1484 * math/w_ilogbl.c: Likewise.
1485
b5982523
JM
14862012-07-20 Joseph Myers <joseph@codesourcery.com>
1487
1488 * manual/lang.texi (__va_copy): Document primarily as ISO C99
1489 va_copy. Document allowing for unavailable va_copy only as
1490 pre-C99 compatibility.
1491 * manual/string.texi (Copying and Concatenation): Use va_copy
1492 instead of __va_copy in concat example.
1493
ac4ea442
PT
14942012-07-20 Pino Toscano <toscano.pino@tiscali.it>
1495
1496 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
1497 (__sendto): Use create_address_port. Initialize APORT and deallocate
1498 it if not null.
1499
f98eafbd
PT
1500 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
1501 with O_NOLINK passed to __file_name_lookup.
1502
898c7aab
PT
1503 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
1504 with O_NOLINK passed to __file_name_lookup.
1505
0ced335a
PT
1506 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
1507 negative N or less than NGIDS.
1508
b3404dbd
PT
1509 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
1510 type to string_t. Set ERANGE as errno and return it if NAME is not big
1511 enough. Use memcpy instead of strncpy.
1512
0f48659e
JM
15132012-07-20 Joseph Myers <joseph@codesourcery.com>
1514
1515 * elf/Makefile (check-data): Remove.
1516 (localplt.data): New vpath directive.
1517 ($(objpfx)check-localplt.out): Use localplt.data from vpath
1518 instead of $(check-data).
1519 * scripts/data/localplt-generic.data: Move to ...
1520 * sysdeps/generic/localplt.data: ... here.
1521 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
1522 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
1523 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
1524 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
1525 ... here.
1526 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
1527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
1528 ... here.
1529 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
1530 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
1531 ... here.
1532 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
1533 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
1534 ... here.
1535 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
1536 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
1537 ... here.
1538 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
1539 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
1540 ... here.
1541
d37cbdaa
AZ
15422012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1543
1544 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
1545 PPC32 and PPC64 files.
1546 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
1547 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
1548
46f85fc2
AK
15492012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1550
1551 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
1552 __makecontext_ret to ...
1553 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
1554 ... here and call exit if uc_link is NULL. New file.
1555 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
1556 __makecontext_ret.S.
1557 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
1558 __makecontext_ret to ...
1559 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
1560 ... here and call exit if uc_link is NULL. New file.
1561 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
1562 __makecontext_ret.S.
1563
08f43f9b
AK
15642012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1565
1566 * elf/elf.h (R_390_IRELATIVE): New definition.
1567 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
1568 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
1569 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
1570 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
1571 (elf_machine_lazy_rel): Likewise.
1572 * sysdeps/s390/dl-irel.h: New file.
1573 * sysdeps/s390/s390-64/memcpy.S: New asm code.
1574 * sysdeps/s390/s390-64/memset.S: New asm code.
1575 * sysdeps/s390/s390-64/memcmp.S: New asm code.
1576 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
1577 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
1578 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
1579 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
1580 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
1581 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
1582 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
1583 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
1584 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
1585 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
1586 * sysdeps/s390/s390-32/memcpy.S: New asm code.
1587 * sysdeps/s390/s390-32/memset.S: New asm code.
1588 * sysdeps/s390/s390-32/memcmp.S: New asm code.
1589
3b05db33
MP
15902012-07-17 Marek Polacek <polacek@redhat.com>
1591
1592 [BZ #14349]
1593 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
1594 * sysdeps/s390/s390-64/configure.in: Likewise.
1595 * sysdeps/sparc/configure.in: Likewise.
1596 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
1597 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
1598 * sysdeps/i386/configure.in: Likewise.
1599 * sysdeps/x86_64/configure.in: Likewise.
1600 * sysdeps/sh/configure.in: Likewise.
1601 * sysdeps/s390/s390-32/configure: Regenerated.
1602 * sysdeps/s390/s390-64/configure: Likewise.
1603 * sysdeps/x86_64/configure: Likewise.
1604 * sysdeps/sh/configure: Likewise.
1605 * sysdeps/powerpc/powerpc64/configure: Likewise.
1606 * sysdeps/powerpc/powerpc32/configure: Likewise.
1607 * sysdeps/sparc/configure: Likwise.
1608 * sysdeps/i386/configure: Likewise.
1609
a66877c6
MP
1610 * elf/dl-open.c: Comment fixes.
1611
cfc82fd8
JM
16122012-07-17 Joseph Myers <joseph@codesourcery.com>
1613
bd29910a
JM
1614 * Makefile [CXX] (check-data): Remove.
1615 [CXX] (c++-types.data): New vpath directive.
1616 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
1617 vpath. Do not allow for C++ type data being missing.
1618 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
1619 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
1620 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
1621 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
1622 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
1623 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
1624 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
1625 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
1626 ... here.
1627 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
1628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
1629 ... here.
1630 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
1631 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
1632 ... here.
1633 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
1634 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
1635 ... here.
1636 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
1637 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
1638 ... here.
1639 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
1640 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
1641 ... here.
1642 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
1643 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
1644 ... here.
1645 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
1646 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
1647
cfc82fd8
JM
1648 * elf/tls-macros.h (TLS_LE): Move architecture-specific
1649 definitions to architecture-specific files.
1650 (TLS_IE): Likewise.
1651 (TLS_LD): Likewise.
1652 (TLS_GD): Likewise.
1653 * sysdeps/i386/tls-macros.h: New file.
1654 * sysdeps/powerpc/tls-macros.h: Likewise.
1655 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
1656 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
1657 * sysdeps/sh/tls-macros.h: Likewise.
1658 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
1659 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
1660 * sysdeps/x86_64/tls-macros.h: Likewise.
1661
f7db3170
TS
16622012-07-17 Thomas Schwinge <thomas@codesourcery.com>
1663
07cbfc23
TS
1664 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
1665 zero value for regular exit case.
1666
f7db3170
TS
1667 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
1668 (__start_context): Preserve zero value for regular exit case.
1669
dc97c227
TS
16702012-07-17 Thomas Schwinge <thomas@codesourcery.com>
1671 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1672
1673 * manual/setjmp.texi (setcontext): Clarify normal process
1674 termination when uc_link is the null pointer.
1675 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
1676 exit call.
1677
d0cd7d02
AS
16782012-07-16 Andreas Schwab <schwab@linux-m68k.org>
1679
1680 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
1681 preprocessor. Test for each exception mask separately.
1682
dd318934
AJ
16832012-07-16 Andreas Jaeger <aj@suse.de>
1684
1685 * po/ru.po: Update from translation team.
1686
8048311a
JM
16872012-07-15 Joseph Myers <joseph@codesourcery.com>
1688
1689 * conform/data/string.h-data (NULL): Use macro-constant. Require
1690 equal to 0.
1691 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
1692 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
1693 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
1694 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
1695 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1696
b637d46e
AJ
16972012-07-13 Andreas Jaeger <aj@suse.de>
1698
1699 * po/fr.po: Update from translation team.
1700
541428fe
MP
17012012-07-12 Marek Polacek <polacek@redhat.com>
1702
1703 [BZ #14173]
1704 * math/libm-test.inc (yn_test): Add test for BZ #14173.
1705 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
1706 loop condition.
1707
ec332e94
JM
17082012-07-12 Joseph Myers <joseph@codesourcery.com>
1709
1710 [BZ #13717]
1711 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1712 Change to 2.4.1 where previously 2.4.0.
1713 * sysdeps/unix/sysv/linux/configure: Regenerated.
1714 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
1715 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
1716 version.
1717 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
1718 (__ASSUME_AT_CLKTCK): Remove.
1719 (__ASSUME_AT_PAGESIZE): Likewise.
1720 (__ASSUME_AT_XID): Likewise.
1721 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
1722 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
1723 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
1724 unconditionally.
1725 (HAVE_AUX_PAGESIZE): Likewise.
1726 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
1727 [__ASSUME_AT_CLKTCK]: Make code unconditional.
1728 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
1729
7b6e99be
JB
17302012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
1731
1732 [BZ #14307]
1733 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
1734 the temporary buffer used to invoke __gethostbyname2_r,
1735 __gethostbyaddr_r and gethostbyname4_r to make room for struct
1736 host_data / struct gaih_addrtuple.
1737 * resolv/nss_dns/dns-host.c (global scope): Move definition of
1738 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
1739 header file nss/nsswitch.h.
1740 * nss/nsswitch.h (global scope): Add definition of implementation
1741 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
1742 resolv/nss_dns/dns-host.c).
1743
608404eb
AJ
17442012-07-11 Andreas Jaeger <aj@suse.de>
1745
1746 * po/fr.po: Update from translation team.
1747
71220aca
AJ
1748 * po/sv.po: Update from translation team
1749 * po/fr.po: Another update from translation team.
1750
28cfe843
AZ
17512012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1752
1753 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
1754 for subnormals or multiply small sinh result by itself.
1755 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
1756 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1757
6b90f981
DM
17582012-07-11 David S. Miller <davem@davemloft.net>
1759
1760 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1761
c6825772
AS
17622012-07-10 Andreas Schwab <schwab@linux-m68k.org>
1763
1764 [BZ #14347]
1765 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
1766 (INTERNAL_MARK): Shift it here.
1767
7b8e0d49
MP
17682012-07-10 Marek Polacek <polacek@redhat.com>
1769
1770 [BZ #14151]
1771 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
1772 libc_cv_asm_global_directive with .globl.
1773 * configure: Regenerated.
1774 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
1775 with .globl.
1776 * sysdeps/i386/configure: Regenerated.
1777 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
1778 with .globl.
1779 * sysdeps/x86_64/configure: Regenerated.
1780 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
1781 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
1782 * elf/tst-unique2mod2.c: Likewise.
1783 * elf/tst-unique2mod1.c: Likewise.
1784 * elf/tst-unique1mod2.c: Likewise.
1785 * elf/tst-unique1mod1.c: Likewise.
1786 * sysdeps/s390/s390-32/sysdep.h: Likewise.
1787 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
1788 * sysdeps/s390/s390-64/sysdep.h: Likewise.
1789 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
1790 * sysdeps/mach/sysdep.h: Likewise.
1791 * sysdeps/i386/sysdep.h: Likewise.
1792 * sysdeps/i386/i386-mcount.S: Likewise.
1793 * sysdeps/x86_64/_mcount.S: Likewise.
1794 * sysdeps/x86_64/sysdep.h: Likewise.
1795 * sysdeps/sh/_mcount.S: Likewise.
1796 * sysdeps/sh/sysdep.h: Likewise.
1797 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
1798 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
1799 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
1800 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
1801 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
1802 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
1803 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
1804 * locale/localeinfo.h: Likewise.
1805 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
1806 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
1807
6c55cda3
RM
18082012-07-09 Roland McGrath <roland@hack.frob.com>
1809
1810 [BZ #14336]
1811 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
1812 system".
1813 * manual/message.texi (The Uniforum approach): Likewise.
1814 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
1815 (glibc iconv Implementation): Likewise.
1816
638a572e
JM
18172012-07-09 Joseph Myers <joseph@codesourcery.com>
1818
1819 [BZ #14337]
1820 * math/s_clog.c (__clog): Avoid scaling a value down where that
1821 could result in underflow.
1822 * math/s_clog10.c (__clog10): Likewise.
1823 * math/s_clog10f.c (__clog10f): Likewise.
1824 * math/s_clog10l.c (__clog10l): Likewise.
1825 * math/s_clogf.c (__clogf): Likewise.
1826 * math/s_clogl.c (__clogl): Likewise.
1827 * math/libm-test.inc (clog_test): Add more tests.
1828 (clog10_test): Likewise.
1829 * sysdeps/i386/fpu/libm-test-ulps: Update.
1830 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1831
261f4859
AS
18322012-07-06 Andreas Schwab <schwab@linux-m68k.org>
1833
0abaf3e4
AS
1834 [BZ #14283]
1835 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
1836 by 7 not 8 to examine high bit of fractional part.
1837
261f4859
AS
1838 [BZ #14042]
1839 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
1840 for call to __mcount_internal.
1841 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
1842 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
1843 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
1844
f17ac40d
JM
18452012-07-06 Joseph Myers <joseph@codesourcery.com>
1846
9ad63c23
JM
1847 [BZ #14154]
1848 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
1849 approximation for values within 0x1p-13f of an odd multiple of
1850 pi/4.
1851 * math/libm-test.inc (tan_test): Do not allow spurious underflow
1852 exception. Add more tests.
1853 * sysdeps/i386/fpu/libm-test-ulps: Update.
1854
f17ac40d
JM
1855 [BZ #6778]
1856 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
1857 inputs and return -1 for them. Do not check for +Inf in case not
1858 reachable for +Inf.
1859 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
1860 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
1861 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
1862 and return -1 for them. Do not check for +Inf in case not
1863 reachable for +Inf.
1864 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
1865 define.
1866 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
1867 and return -1 for them. Do not check for +Inf in case not
1868 reachable for +Inf.
1869 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
1870 spurious underflow.
1871 * sysdeps/i386/fpu/libm-test-ulps: Update.
1872 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1873
fb21f89b
MF
18742012-07-06 Mike Frysinger <vapier@gentoo.org>
1875
1876 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
1877
cdfe2c5e
JM
18782012-07-05 Joseph Myers <joseph@codesourcery.com>
1879
1880 [BZ #14157]
1881 [BZ #14331]
1882 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
1883 could result in spurious underflow. Scale down values above
1884 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
1885 * math/s_csqrtf.c (__csqrtf): Likewise.
1886 * math/s_csqrtl.c (__csqrtl): Likewise.
1887 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
1888 spurious underflow.
1889 * sysdeps/i386/fpu/libm-test-ulps: Update.
1890 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1891
70d35b67
AS
18922012-07-04 Andreas Schwab <schwab@linux-m68k.org>
1893
704bc459
AS
1894 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
1895 xopen-msg.sed.
1896 * catgets/xopen-msg.awk: New file.
1897 * catgets/xopen-msg.sed: Removed.
1898
70d35b67
AS
1899 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
1900 po2text.sed.
1901 * intl/po2test.awk: New file.
1902 * intl/po2test.sed: Removed.
1903
ca61cf32
JM
19042012-07-04 Joseph Myers <joseph@codesourcery.com>
1905
1906 [BZ #14328]
1907 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
1908 or multiply small sinh result by itself.
1909 * math/s_ctanf.c (__ctanf): Likewise.
1910 * math/s_ctanh.c (__ctanh): Likewise.
1911 * math/s_ctanhf.c (__ctanhf): Likewise.
1912 * math/s_ctanhl.c (__ctanhl): Likewise.
1913 * math/s_ctanl.c (__ctanl): Likewise.
1914 * math/libm-test.inc (ctan_test_tonearest): New function.
1915 (ctan_test_towardzero): Likewise.
1916 (ctan_test_downward): Likewise.
1917 (ctan_test_upward): Likewise.
1918 (ctanh_test_tonearest): Likewise.
1919 (ctanh_test_towardzero): Likewise.
1920 (ctanh_test_downward): Likewise.
1921 (ctanh_test_upward): Likewise.
1922 (main): Call these new functions.
1923 * sysdeps/i386/fpu/libm-test-ulps: Update.
1924 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1925
ca48a46a
MF
19262012-07-03 Mike Frysinger <vapier@gentoo.org>
1927
1928 * .gitignore: Delete /ports entry.
1929
9d63d37d
AJ
19302012-07-03 Andreas Jaeger <aj@suse.de>
1931
1932 * po/bg.po: Update from translation team.
1933 * po/cs.po: Likewise.
1934 * po/de.po: Likewise.
1935 * po/hr.po: Likewise.
1936 * po/nl.pl: Likewise.
1937 * po/pl.po: Likewise.
1938 * po/vi.po: Likewise.
1939
370ca3d2
JM
19402012-07-03 Joseph Myers <joseph@codesourcery.com>
1941
95f5a9a8
JM
1942 * Makeconfig [!+link] (+link-before-libc): New variable.
1943 [!+link] (+link-after-libc): Likewise.
1944 [!+link] (+link-tests): Likewise.
1945 [!+link] (+link): Define in terms of $(+link-before-libc) and
1946 $(+link-after-libc).
1947 [!+link-static] (+link-static-before-libc): New variable.
1948 [!+link-static] (+link-static-after-libc): Likewise.
1949 [!+link-static] (+link-static-tests): Likewise.
1950 [!+link-static] (+link-static): Define in terms of
1951 $(+link-static-before-libc) and $(+link-static-after-libc).
1952 [build-shared] (link-libc-before-gnulib): New variable.
1953 [build-shared] (link-libc-tests): Likewise.
1954 [build-shared] (link-libc): Define in terms of
1955 $(link-libc-before-gnulib).
1956 [!build-shared] (link-libc-tests): New variable.
1957 (link-libc-static-tests): New variable.
1958 [!gnulib] (gnulib-arch): New variable.
1959 [!gnulib] (gnulib-tests): Likewise.
1960 [!gnulib] (static-gnulib-arch): Likewise.
1961 [!gnulib] (static-gnulib-tests): Likewise.
1962 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
1963 Define with "=" instead of ":=".
1964 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
1965 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
1966 * Rules (binaries-all-notests): New variable.
1967 (binaries-all-tests): Likewise.
1968 (binaries-static-notests): Likewise.
1969 (binaries-static-tests): Likewise.
1970 (binaries-all): Define using $(binaries-all-notests) and
1971 $(binaries-all-tests).
1972 (binaries-static): Define using $(binaries-static-notests) and
1973 $(binaries-static-tests).
1974 (binaries-shared-tests): New variable.
1975 (binaries-shared-notests): Likewise.
1976 (binaries-shared): Remove variable.
1977 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
1978 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
1979 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
1980 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
1981 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
1982 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
1983 * elf/Makefile (sln-modules): New variable.
1984 (extra-objs): Add $(sln-modules:=.o).
1985 (ldconfig-modules): Add static-stubs.
1986 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
1987 * elf/static-stubs.c: New file.
1988
7a845b2c
JM
1989 [BZ #14283]
1990 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
1991 by 7 not 8 to examine high bit of fractional part. Use volatile
1992 variables when splitting into final array of floats if
1993 __FLT_EVAL_METHOD__ != 0.
1994 * math/libm-test.inc (cos_test): Add another test.
1995 (sin_test): Likewise.
1996 * sysdeps/i386/fpu/libm-test-ulps: Update.
1997
e2283f38
JM
1998 [BZ #14273]
1999 * math/libm-test.inc (cosh_test): Add more tests.
2000
370ca3d2
JM
2001 * version.h (RELEASE): Set to "development".
2002 (VERSION): Set to "2.16.90".
2003
ee9247c3
CD
20042012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
2005
2006 * NEWS: Update copyright. Remove last-updated date.
2007 Mention math library bug fixes and timezone data changes.
2008 * README: Mention GNU/Hurd, x32, and HPPA support status.
2009
4648c381
TS
20102012-06-28 Thomas Schwinge <thomas@codesourcery.com>
2011
2012 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
2013
aac78a43
AJ
20142012-06-27 Andreas Jaeger <aj@suse.de>
2015
2016 * manual/contrib.texi (Contributors): Add Samuel Thibault.
2017
ed3dbfad
AJ
20182012-06-25 Andreas Jaeger <aj@suse.de>
2019
2020 * sysdeps/s390/fpu/libm-test-ulps: Update.
2021
4d0ee855
AS
20222012-06-23 Andreas Schwab <schwab@linux-m68k.org>
2023 Thomas Schwinge <thomas@codesourcery.com>
2024
2025 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
2026 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
2027 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
2028 fanotify_mark.
2029
af1bce34
TS
20302012-06-23 Thomas Schwinge <thomas@codesourcery.com>
2031
a9fa33ba
TS
2032 * sysdeps/mach/start.c: Remove file.
2033 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
2034 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
2035 * sysdeps/sh/init-first.c: Likewise.
2036
58f902b8
TS
2037 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
2038 registers for frame unwinding purposes, add CFI directives.
2039 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
2040 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
2041 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
2042 Likewise.
2043
1518f58b
TS
2044 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
2045 __fortify_fail returning.
2046 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
2047
db9b5059
TS
2048 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
2049 sysdeps/sh/____longjmp_chk.S.
2050 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
2051 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
2052 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
2053 (gen-as-const-headers): Append sigaltstack-offsets.sym.
2054
967705fe
TS
2055 * sysdeps/sh/abort-instr.h: New file.
2056 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
2057 process in case exit returns.
2058
a9def8c4
TS
2059 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
2060 initialize the GOT register before use.
2061
2a649725
TS
2062 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
2063 calculation of ARGC > 4.
2064
af1bce34
TS
2065 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
2066 meaningful names to some local labels.
2067
d230f50a
KK
20682012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2069 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2070
2071 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
2072 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
2073 (__arch_compare_and_exchange_val_16_acq): Likewise.
2074 (__arch_compare_and_exchange_val_32_acq): Likewise.
2075 (atomic_exchange_and_add): Fix gUSA sequence.
2076 (atomic_add): Likewise.
2077 (atomic_add_negative): Likewise.
2078 (atomic_add_zero): Likewise.
2079 (atomic_bit_test_set): Likewise.
2080
0479b305
AS
20812012-06-22 Andreas Schwab <schwab@redhat.com>
2082
2083 [BZ #13579]
2084 * include/link.h (struct link_map): Add l_free_initfini.
2085 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
2086 l_initfini.
2087 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
2088 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
2089 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
2090 set.
2091
0e3933b9
CD
20922012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
2093
2094 * configure.in: Use AC_LANG_SOURCE.
2095 * configure: Regenerate.
2096
4248b1b1
RM
20972012-06-22 Roland McGrath <roland@hack.frob.com>
2098
2099 * configure.in (libc_cv_localstatedir): New substituted variable.
2100 * configure: Regenerated.
2101 * config.make.in (localstatedir): New variable, substituted from
2102 libc_cv_localstatedir.
2103 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
2104 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
2105 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
2106 * sysdeps/gnu/configure: Regenerated.
2107
006dd861
JL
21082012-06-21 Jeff Law <law@redhat.com>
2109
2110 [BZ #14277]
2111 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
2112 free. Simplify list management for _LIBC case.
2113
79662d42
JM
21142012-06-21 Joseph Myers <joseph@codesourcery.com>
2115
b7abb4bf
JM
2116 [BZ #14273]
2117 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
2118 Clear sign bit of 64-bit integer value before comparing against
2119 overflow value.
2120
79662d42
JM
2121 * sysdeps/mach/configure: Regenerated.
2122
1f150908
L
21232012-06-21 H.J. Lu <hongjiu.lu@intel.com>
2124
2125 [BZ #14278]
2126 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
2127
28363bbf
JL
21282012-06-21 Jeff Law <law@redhat.com>
2129
2130 [BZ #13882]
2131 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
2132 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 2133 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
2134 * elf/dl-open.c (dl_open_worker): Likewise.
2135
09615db4
CD
21362012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
2137
2138 * scripts/list-sources.sh: Scan PORTS for translations.
2139 * po/libc.pot: Regenerated.
2140
2174c6dd
AJ
21412012-06-21 Andreas Jaeger <aj@suse.de>
2142
2143 [BZ #12194]
2144 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
2145 warning.
2146 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
2147 * bits/byteswap-16.h (__bswap_16): Likewise.
2148 * bits/byteswap.h (__bswap_constant_16): Likewise.
2149
3ee947b1
L
21502012-06-18 H.J. Lu <hongjiu.lu@intel.com>
2151
2152 [BZ #14117]
a2f34833
L
2153 * sysdeps/i386/fpu_control.h: Removed.
2154 * sysdeps/x86_64/fpu_control.h: Moved to ...
2155 * sysdeps/x86/fpu_control.h: Here.
2156
3ee947b1
L
2157 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
2158 (_FPU_SETCW): Likewise.
2159
ed1825f8
L
21602012-06-15 H.J. Lu <hongjiu.lu@intel.com>
2161
25f1282a
L
2162 [BZ #14117]
2163 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
2164 * sysdeps/x86/fpu/bits/mathinline.h: This.
2165 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
2166
ed1825f8
L
2167 [BZ #14050]
2168 [BZ #14117]
2169 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
2170 functions if __x86_64__ is defined.
2171
36d54b74
CLT
21722012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
2173
2174 * string/endian.h: Add !__ASSEMBLER__ condition for including
2175 conversion interfaces.
2176
10285c21
JM
21772012-06-15 Joseph Myers <joseph@codesourcery.com>
2178
2179 [BZ #14241]
2180 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
2181 of ABS(x) in calculating zero to negative powers other than odd
2182 integers.
2183 * math/libm-test.inc (pow_test): Add more tests.
2184
06c5abbd
AJ
21852012-06-15 Andreas Jaeger <aj@suse.de>
2186
2187 * manual/contrib.texi (Contributors): Update entry of Liubov
2188 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
2189 Machado Filho.
2190
a3aeac40
CH
21912012-06-15 Cyril Hrubis <metan@ucw.cz>
2192
2193 * string/string.h: Add __wur to GNU version of strerror_r.
2194
49bdf4c1
L
21952012-06-14 H.J. Lu <hongjiu.lu@intel.com>
2196
2197 [BZ #14229]
2198 * string/Makefile (tests): Add tst-strtok_r.
2199 * string/tst-strtok_r.c: New file.
2200 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
2201 RAX_LP/RDX_LP on SAVE_PTR.
2202
834f9b8d
RM
22032012-06-14 Roland McGrath <roland@hack.frob.com>
2204
2205 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
2206
75fa1921
JM
22072012-06-14 Joseph Myers <joseph@codesourcery.com>
2208
2209 * libm_test.inc (csqrt_test): Allow more spurious underflow
2210 exceptions.
2211 (j0_test): Likewise.
2212 (j1_test): Likewise.
2213 (y0_test): Likewise.
2214 (y1_test): Likewise.
2215
771766df
CD
22162012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
2217
2218 * po/Makefile (libc.pot): Use UTF-8 charset.
2219
ceb9e56b
PP
22202012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
2221
2222 [BZ #14210]
2223 Suppress sign-conversion warning from FD_SET.
2224 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
2225 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
2226 not unsigned long int.
2227 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
2228
ddb28975
L
22292012-06-12 H.J. Lu <hongjiu.lu@intel.com>
2230
2231 [BZ #14050]
2232 [BZ #14117]
2233 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
2234 __extern_always_inline instead of __extern_inline.
2235 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
2236 (__signbit): Likewise.
2237 (__signbitl): Support C++ namespace.
2238 (lrintf): New inline function.
2239 (lrint): Likewise.
2240 (llrintf): Likewise.
2241 (llrint): Likewise.
2242 (fmaxf): Likewise.
2243 (fmax): Likewise.
2244 (fminf): Likewise.
2245 (fmin): Likewise.
2246 (rint): Likewise.
2247 (rintf): Likewise.
2248 (ceil): Likewise.
2249 (ceilf): Likewise.
2250 (floor): Likewise.
2251 (floorf): Likewise.
2252 (nearbyint): Likewise.
2253 (nearbyintf): Likewise.
2254
d7b4fb26
TS
22552012-06-12 Thomas Schwinge <thomas@codesourcery.com>
2256
2257 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
2258 non-default versions.
2259
eb55f5c2
RM
22602012-06-11 Roland McGrath <roland@hack.frob.com>
2261
2262 [BZ #14218]
2263 * manual/argp.texi (Argp): Reword argp_parse description slightly.
2264
366af02c
TS
22652012-06-09 Thomas Schwinge <thomas@codesourcery.com>
2266
99ff6e5c
TS
2267 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
2268 (FE_UPWARD, FE_DOWNWARD): Don't define.
2269 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
2270 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
2271
366af02c
TS
2272 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
2273 reading it.
2274 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
2275 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
2276
793ea851
KK
22772012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2278
2279 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
2280 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
2281 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
2282 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
2283
a728a38f
L
22842012-06-06 H.J. Lu <hongjiu.lu@intel.com>
2285
2286 [BZ #14117]
c08010c7
L
2287 * sysdeps/i386/fpu/bits/fenv.h: Removed.
2288 * sysdeps/i386/fpu/Implies: New file.
2289 * sysdeps/x86_64/fpu/Implies: Likewise.
2290 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
2291 * sysdeps/x86/fpu/bits/fenv.h: This.
2292
a728a38f
L
2293 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
2294 __SSE_MATH__.
2295
6e230d11
SP
22962012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
2297
2298 [BZ #14134]
2299 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
2300 character 0xffff that matches the last element of the
2301 conversion table.
2302
1b671feb
AZ
23032012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2304
2305 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
2306 fmodl commit.
2307
6043738b
AZ
23082012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2309
2310 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
2311 values higher than 25.6283.
2312
34ae0b32
AZ
23132012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2314
2315 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
2316 subnormal exponent extraction and add some __builtin_expect.
2317 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
2318 Fix for subnormal mantissa calculation.
2319
1214ec8f
MF
23202012-06-04 Mike Frysinger <vapier@gentoo.org>
2321
2322 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
2323 cpu2 is -1 and errno is not ENOSYS.
2324
f3d1f93c
L
23252012-06-04 H.J. Lu <hongjiu.lu@intel.com>
2326
2327 [BZ #14117]
0e4a3cd7
L
2328 * sysdeps/i386/i486/bits/string.h: Renamed to ...
2329 * sysdeps/x86/bits/string.h: This.
2330 * sysdeps/x86_64/bits/string.h: Removed.
2331
6704c645
L
2332 * sysdeps/i386/i486/bits/string.h: Define inline functions only
2333 if not compiling for x86-64, but compiling for >= i486.
2334
48495318
L
2335 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
2336 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
2337
14adcbfc
L
2338 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
2339 New macro from Linux kernel 3.4.0.
2340 (FP_XSTATE_MAGIC2): Likewise.
2341 (FP_XSTATE_MAGIC2_SIZE): Likewise.
2342 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
2343 (struct _fpx_sw_bytes): New struct.
2344 (struct _xsave_hdr): Likewise.
2345 (struct _ymmh_state): Likewise.
2346 (struct _xstate): Likewise.
2347
68e408ab
L
2348 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
2349 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
2350 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
2351 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
2352 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
2353 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
2354
f3d1f93c
L
2355 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
2356 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
2357 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
2358 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
2359 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
2360 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
2361
d9dc34cd
TMQMF
23622012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2363
2364 [BZ #13743]
2365 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
2366 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
2367 (sysdep_headers): Include sys/platform/ppc.h.
2368 * sysdeps/powerpc/test-gettimebase.c: Test for
2369 __ppc_get_timebase() to catch future ISA opcode/insn changes.
2370 * manual/Makefile (appendices): Include platform.texi.
2371 * manual/contrib.texi (Contributors): Update @node pointers.
2372 * manual/maint.texi (Maintenance): Likewise.
2373 (Platform): New node.
2374 * manual/platform.texi: New file. Document the new features.
2375
4af3879c
SP
23762012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2377 Jakub Jelinek <jakub@redhat.com>
2378
2379 [BZ #14188]
2380 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
2381 where __builtin_expect is unavailable.
2382
2fd6ff13
DM
23832012-06-03 David S. Miller <davem@davemloft.net>
2384
2385 * stdlib/longlong.h: Updated from GCC.
2386
173f7220
AS
23872012-06-02 Andreas Schwab <schwab@linux-m68k.org>
2388
2389 [BZ #14042]
2390 * sysdeps/powerpc/powerpc32/mcount.c: New file.
2391 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
2392 __mcount_internal.
2393 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
2394 (GLIBC_2.16): Likewise.
2395
f34a1c6f
L
23962012-06-01 H.J. Lu <hongjiu.lu@intel.com>
2397
2398 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
2399
88a4576f
JM
24002012-06-01 Joseph Myers <joseph@codesourcery.com>
2401
ea32bcdd
JM
2402 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
2403 (default-abi): New variable.
2404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
2405 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
2406 variable.
2407 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
2408 Likewise.
2409 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
2410 Likewise.
2411 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
2412 Likewise.
2413
88a4576f
JM
2414 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
2415 definition. Document in comment.
2416
402fe938
DM
24172012-06-01 David S. Miller <davem@davemloft.net>
2418
2419 * stdlib/longlong.h: Updated from GCC.
2420
3553723f
L
24212012-06-01 H.J. Lu <hongjiu.lu@intel.com>
2422
2423 [BZ #14117]
3bd872c4
L
2424 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
2425 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
2426 sys/debugreg.h sys/io.h here.
2427 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
2428 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
2429 sys/io.h.
2430 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
2431 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
2432 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
2433 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
2434 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
2435 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
2436
3553723f
L
2437 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
2438 Define only if __x86_64__ is defined.
2439
4842e4fe
JM
24402012-06-01 Joseph Myers <joseph@codesourcery.com>
2441
c5bfe3d5
JM
2442 [BZ #14048]
2443 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
2444 Use int64_t for variable i.
2445 * math/libm-test.inc (fmod_test): Add more tests.
2446
4842e4fe
JM
2447 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
2448 z computation is not scheduled after fetestexcept.
2449 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
2450 Use math_force_eval instead of asm to ensure calculation scheduled
2451 before exception test.
2452 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
2453 Ensure a1 + u.d computation is not scheduled after fetestexcept.
2454
efb73488
AJ
24552012-06-01 Aurelien Jarno <aurelien@aurel32.net>
2456
2457 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
2458 computation is not scheduled after fetestexcept.
2459
29bcce7c
L
24602012-06-01 H.J. Lu <hongjiu.lu@intel.com>
2461
2462 [BZ #14117]
2463 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
2464 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
2465
73a68f94
AZ
24662012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2467
2468 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
2469 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
2470
67b6df78
L
24712012-05-31 H.J. Lu <hongjiu.lu@intel.com>
2472
edf2933a 2473 [BZ #14117]
ebc64a18
L
2474 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
2475 <bits/wordsize.h>.
2476 (__WCHAR_MIN): Support __WORDSIZE == 64.
2477 (__WCHAR_MAX): Likewise.
2478
edf2933a
L
2479 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
2480 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
2481
57c6cf40
L
2482 [BZ #14183]
2483 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
2484 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
2485
67b6df78 2486 [BZ #14117]
8eb6281e
L
2487 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
2488 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
2489
aac639f4
L
2490 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
2491 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
2492
67b6df78
L
2493 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
2494 Defined to 1 if __x86_64__ isn't defined.
2495 (_STAT_VER_LINUX_OLD): New.
2496 (st_atime): Remove duplicate.
2497 (st_mtime): Likewise.
2498 (st_ctime): Likewise.
2499
1c2cfe81
DM
25002012-05-31 David S. Miller <davem@davemloft.net>
2501
2502 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
2503 entries.
2504
5be8418c
AS
25052012-06-01 Andreas Schwab <schwab@linux-m68k.org>
2506
e7725326
AS
2507 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
2508 gen-libm-test.pl.
2509
5be8418c
AS
2510 [BZ #14132]
2511 * elf/dl-reloc.c: Include <_itoa.h>.
2512 (_dl_reloc_bad_type): Remove use of INTUSE.
2513 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
2514 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
2515 * stdio-common/psiginfo.c (psiginfo): Likewise.
2516 * stdio-common/psignal.c (psignal): Likewise.
2517 * string/strsignal.c (strsignal): Likewise.
2518 * include/signal.h (_sys_siglist): Declare hidden proto.
2519 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
2520 INTVARDEF with libc_hidden_data_def.
2521 * stdio-common/itoa-udigits.c: Likewise.
2522 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
2523 (_itoa_lower_digits_internal): Remove declaration.
2524 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
2525 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
2526 (_sys_sigabbrev_internal): Remove aliases.
2527 (_sys_siglist): Define hidden alias.
2528
507352f1
MT
25292012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
2530
2531 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2532 bits/sysctl.h.
2533
42bbb1c3
L
25342012-05-31 H.J. Lu <hongjiu.lu@intel.com>
2535
2536 [BZ #14117]
6bd784b6
L
2537 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
2538 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
2539
8bca20f0
L
2540 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
2541 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
2542 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
2543 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
2544 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
2545 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
2546
f9e890a9
L
2547 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
2548 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
2549 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
2550
471101a1
L
2551 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
2552 with __addr.
2553 (insw): Likewise.
2554 (insl): Likewise.
2555 (outsb): Likewise.
2556 (outsw): Likewise.
2557 (outsl): Likewise.
2558
6451c862
L
2559 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
2560 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
2561 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
2562
a254b8c9
L
2563 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
2564 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
2565 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
2566 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
2567 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
2568 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
2569
b8dfdd92
L
2570 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
2571 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
2572
578cd270
L
2573 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
2574 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
2575
de662f5f
L
2576 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
2577 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
2578 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
2579
25653439
L
2580 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
2581 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
2582 to ...
2583 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
2584
6bad24a0
L
2585 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
2586 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
2587 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
2588
42bbb1c3
L
2589 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
2590 for x86-64.
2591 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
2592
2d10d547
JM
25932012-05-31 Joseph Myers <joseph@codesourcery.com>
2594
2595 * math/math.h (M_El): Use two more decimal places.
2596 (M_LOG2El): Likewise.
2597 (M_LOG10El): Likewise.
2598 (M_LN2l): Likewise.
2599 (M_LN10l): Likewise.
2600 (M_PIl): Likewise.
2601 (M_PI_2l): Likewise.
2602 (M_PI_4l): Likewise.
2603 (M_1_PIl): Likewise.
2604 (M_2_PIl): Likewise.
2605 (M_2_SQRTPIl): Likewise.
2606 (M_SQRT2l): Likewise.
2607 (M_SQRT1_2l): Likewise.
2608
f230c29b
DM
26092012-05-31 David S. Miller <davem@davemloft.net>
2610
2611 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
2612 values between float registers.
2613 * sysdeps/sparc/sparc64/memset.S: Likewise.
2614 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
2615
fed806c3
MF
26162012-05-31 Mike Frysinger <vapier@gentoo.org>
2617
2618 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
2619 -D_FORTIFY_SOURCE=1.
2620 (CPPFLAGS-tst-longjmp_chk.c): Define.
2621 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
2622 (CPPFLAGS-tst-longjmp_chk2.c): Define.
2623 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
2624 CFLAGS-tst-wchar-h.c.
2625
30917259
MP
26262012-05-31 Marek Polacek <polacek@redhat.com>
2627
2628 [BZ #14132]
2629 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
2630 __endmntent_internal): Remove declaration.
2631 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
2632 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
2633 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
2634
1c58d5dc
DM
26352012-05-30 David S. Miller <davem@davemloft.net>
2636
2637 * sysdeps/sparc/sparc32/soft-fp/q_util.c
2638 (___Q_simulate_exceptions): Use real FP ops rather than writing
2639 into the %fsr.
2640 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
2641 Likewise.
2642
7dc00e0d
L
26432012-05-30 H.J. Lu <hongjiu.lu@intel.com>
2644
2645 [BZ #14117]
0bd53985
L
2646 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
2647 * sysdeps/x86/bits/xtitypes.h: This.
2648
3a257e66
L
2649 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
2650 * sysdeps/x86/bits/wordsize.h: This.
2651
62f62904
L
2652 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
2653 * sysdeps/x86/bits/huge_vall.h: This.
2654
404fe9d9
L
2655 * sysdeps/i386/bits/select.h: Removed.
2656 * sysdeps/x86_64/bits/select.h: Renamed to ...
2657 * sysdeps/x86/bits/select.h: This.
2658
d48d0446
L
2659 * sysdeps/i386/bits/setjmp.h: Removed.
2660 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
2661 * sysdeps/x86/bits/setjmp.h: This.
2662
7dc00e0d
L
2663 * sysdeps/i386/bits/mathdef.h: Removed.
2664 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
2665 * sysdeps/x86/bits/mathdef.h: This.
2666
03277f8f
AS
26672012-05-30 Andreas Schwab <schwab@linux-m68k.org>
2668
2669 [BZ #14132]
2670 * include/sys/socket.h (__connect_internal)
2671 (__libc_sa_len_internal): Remove declaration.
2672 (__connect, __libc_sa_len): Declare hidden_proto.
2673 (SA_LEN): Remove use of INTUSE.
2674 * socket/connect.c: Add libc_hidden_def.
2675 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
2676 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
2677 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
2678 alias.
2679 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
2680 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
2681 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
2682 of adding _internal alias.
2683
13764867
L
26842012-05-30 H.J. Lu <hongjiu.lu@intel.com>
2685
2686 [BZ #14117]
6bd97696
L
2687 * sysdeps/i386/bits/link.h: Removed.
2688 * sysdeps/i386/bits/linkmap.h: Likewise.
2689 * sysdeps/x86_64/bits/link.h: Renamed to ...
2690 * sysdeps/x86/bits/link.h: This.
2691 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
2692 * sysdeps/x86/bits/linkmap.h: This.
2693
f726f0bb
L
2694 * sysdeps/i386/bits/endian.h: Removed.
2695 * sysdeps/x86_64/bits/endian.h: Renamed to ...
2696 * sysdeps/x86/bits/endian.h: This.
2697
13764867
L
2698 * sysdeps/i386/bits/byteswap.h: Removed.
2699 * sysdeps/i386/bits/byteswap-16.h: Likewise.
2700 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
2701 * sysdeps/x86/bits/byteswap.h: This.
2702 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
2703 * sysdeps/x86/bits/byteswap-16.h: This.
2704 * sysdeps/i386/Implies: Add x86.
2705 * sysdeps/x86_64/Implies: Likewise.
2706
ae251b0b
DM
27072012-05-30 David S. Miller <davem@davemloft.net>
2708
2709 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
2710 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
2711 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
2712 (FP_TRAPPING_EXCEPTIONS): Define.
2713 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
2714 (FP_TRAPPING_EXCEPTIONS): Define.
2715 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
2716 subnormals only when inexact has been signalled or underflow
2717 exceptions are enabled.
2718 (_FP_PACK_CANONICAL): Likewise.
2719
d5c90867
L
27202012-05-30 H.J. Lu <hongjiu.lu@intel.com>
2721
2722 [BZ #14183]
2723 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
2724 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
2725
63f1549e
RH
27262012-05-30 Richard Henderson <rth@twiddle.net>
2727
8d8f2279
RH
2728 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
2729 with #ifndef NOT_IN_libc.
2730
63f1549e
RH
2731 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
2732 marked to avoid plt entry.
2733
0ab0291b
L
27342012-05-30 H.J. Lu <hongjiu.lu@intel.com>
2735
2736 [BZ #14112]
2737 * Makeconfig (default-abi): New macro.
2738 (abi-includes): Likewise.
2739 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
2740 $(abi-$(default-abi)-lib-soname) for soname if defined.
2741 ($(common-objpfx)gnu/lib-names.stmp): Generate from
2742 abi-variants.
2743 * Makefile (installed-stubs): Likewise.
2744 * include/stubs-biarch.h: Removed.
2745 * scripts/lib-names.awk: Only handle one library at a time.
2746 * scripts/soversions.awk: Remove WORDSIZE support.
2747 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
2748 entries.
2749 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
2750 Removed.
2751 (syscall-list-default-condition): Likewise.
2752 (syscall-list-default-condition): Likewise.
2753 (syscall-list-includes): Likewise.
2754 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
2755 syscall-list-* with abi-*. Handle undefined abi-variants.
2756 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
2757 * sysdeps/unix/sysv/linux/i386/Implies: New file.
2758 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
2759 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
2760 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
2761 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
2762 Removed.
2763 (syscall-list-32-options): Likewise.
2764 (syscall-list-32-condition): Likewise.
2765 (syscall-list-64-options): Likewise.
2766 (syscall-list-64-condition): Likewise.
2767 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
2768 macro.
2769 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
2770 Renamed to ...
2771 (abi-*): This.
2772 (abi-64-ld-soname): New macro.
2773 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
2774 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
2775 Renamed to ...
2776 (abi-*): This.
2777 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
2778 * sysdeps/x86_64/x32/shlib-versions: Likewise.
2779
4da0431d
JM
27802012-05-30 Joseph Myers <joseph@codesourcery.com>
2781
3a85279c
JM
2782 * sysdeps/unix/sysv/linux/kernel-features.h
2783 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
2784 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
2785 include <kernel-features.h>.
2786 [!__NR_ftruncate64]: Remove conditional code.
2787 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2788 [__NR_ftruncate64]: Make code unconditional.
2789 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2790 * sysdeps/unix/sysv/linux/truncate64.c: Do not
2791 include <kernel-features.h>.
2792 [!__NR_ftruncate64]: Remove conditional code.
2793 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2794 [__NR_ftruncate64]: Make code unconditional.
2795 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2796 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
2797 include <kernel-features.h>.
2798 [!__NR_ftruncate64]: Remove conditional code.
2799 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2800 [__NR_ftruncate64]: Make code unconditional.
2801 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2802 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
2803 include <kernel-features.h>.
2804 [!__NR_ftruncate64]: Remove conditional code.
2805 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2806 [__NR_ftruncate64]: Make code unconditional.
2807 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2808
4da0431d
JM
2809 * configure.in (libc_cv_fpie): Weaken to a compile test using
2810 LIBC_TRY_CC_OPTION.
2811 * configure: Regenerated.
2812
11ef492c
AK
28132012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2814
2815 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
2816 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
2817 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
2818 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
2819 Refreshed.
2820 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
2821 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
2822 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
2823 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
2824 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
2825 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2826 Refreshed.
2827
d66ef399
DM
28282012-05-27 David S. Miller <davem@davemloft.net>
2829
2830 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
2831 (___Q_zero): New.
2832 (__Q_simulate_exceptions): Return void. Change to simulate
2833 exceptions by writing into the %fsr.
2834 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
2835 (__Qp_handle_exceptions): Likewise.
2836 (numbers): Delete.
2837 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
2838 __Qp_handle_exceptions.
2839 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
2840 __Qp_handle_exceptions.
2841 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
2842 as unused and give dummy FP_RND_NEAREST initializer.
2843 (FP_INHIBIT_RESULTS): Define.
2844 (___Q_simulate_exceptions): Update declaration.
2845 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
2846 formatting.
2847 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
2848 as unused and give dummy FP_RND_NEAREST initializer.
2849 (__Qp_handle_exceptions): Update declaration.
2850 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
2851 formatting.
2852
04fb54b5
TS
28532012-05-27 Thomas Schwinge <thomas@codesourcery.com>
2854
2855 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
2856 the temporary FPU control word.
2857 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
2858 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
2859 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
2860 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
2861 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
2862 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
2863 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
2864 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
2865 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
2866 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
2867 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
2868
3f99608f
KK
28692012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2870
2871 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
2872 fields.
2873
65a4de4e
CLT
28742012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
2875
2876 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
2877 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
2878 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
2879 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
2880 Likewise.
2881 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
2882 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
2883 Likewise.
2884
15749d40
UD
28852012-05-27 Ulrich Drepper <drepper@gmail.com>
2886
2887 * po/h.po: Update from translation team.
2888
25dbcb27
AS
28892012-05-26 Andreas Schwab <schwab@linux-m68k.org>
2890
3d3f8e55
AS
2891 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
2892
25dbcb27
AS
2893 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
2894 handling of denormals.
2895 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
2896 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
2897 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
2898 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
2899 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
2900 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
2901 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
2902 Likewise.
2903
7ad47a80 29042012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
2905
2906 [BZ #14152]
2907 * math/libm-test.inc (fma_test): Don't always expect underflow
2908 exception.
2909
9c6ea9fa
SP
29102012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2911
2912 [BZ #12416]
2913 * elf/tst-execstack.c: Include stackinfo.h.
2914 (do_test): Adjust test case to ensure that pthread_getattr_np
2915 behaviour remains the same after marking stack executable.
2916
a8239222
JM
29172012-05-25 Joseph Myers <joseph@codesourcery.com>
2918
2919 * sysdeps/unix/sysv/linux/kernel-features.h
2920 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
2921 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
2922 kernel-features.h.
2923 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
2924 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
2925 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
2926 kernel-features.h.
2927 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
2928 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
2929
918b5606
L
29302012-05-25 H.J. Lu <hongjiu.lu@intel.com>
2931
2932 * configure.in: Define the default includes to being none.
2933 * configure: Regenerated.
2934
3a097cc7
RM
29352012-05-25 Roland McGrath <roland@hack.frob.com>
2936
8422c9a5
RM
2937 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
2938 * sysdeps/x86_64/setjmp.S: Likewise.
2939 * sysdeps/i386/bsd-setjmp.S: Likewise.
2940 * sysdeps/i386/bsd-_setjmp.S: Likewise.
2941 * sysdeps/i386/setjmp.S: Likewise.
2942 * sysdeps/i386/__longjmp.S: Likewise.
2943 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
2944 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
2945
3a097cc7
RM
2946 * include/stap-probe.h: New file.
2947 * configure.in: Handle --enable-systemtap.
2948 * configure: Regenerated.
2949 * config.h.in (USE_STAP_PROBE): New #undef.
2950 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
2951 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
2952 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
2953
21708942
JM
29542012-05-25 Joseph Myers <joseph@codesourcery.com>
2955
2956 [BZ #13717]
2957 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
2958 to 2.4.0 where earlier.
2959 * sysdeps/unix/sysv/linux/configure: Regenerated.
2960 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
2961 <kernel-features.h>.
2962 [__ASSUME_32BITUIDS]: Make code unconditional.
2963 [!__ASSUME_32BITUIDS]: Remove conditional code.
2964 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
2965 <kernel-features.h>.
2966 [__ASSUME_32BITUIDS]: Make code unconditional.
2967 [!__ASSUME_32BITUIDS]: Remove conditional code.
2968 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
2969 [__ASSUME_32BITUIDS]: Make code unconditional.
2970 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
2971 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
2972 <kernel-features.h>.
2973 [__ASSUME_32BITUIDS]: Make code unconditional.
2974 [!__ASSUME_32BITUIDS]: Remove conditional code.
2975 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
2976 <kernel-features.h>.
2977 [__ASSUME_32BITUIDS]: Make code unconditional.
2978 [!__ASSUME_32BITUIDS]: Remove conditional code.
2979 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
2980 <kernel-features.h>.
2981 [__ASSUME_32BITUIDS]: Make code unconditional.
2982 [!__ASSUME_32BITUIDS]: Remove conditional code.
2983 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
2984 <kernel-features.h>.
2985 [__ASSUME_32BITUIDS]: Make code unconditional.
2986 [!__ASSUME_32BITUIDS]: Remove conditional code.
2987 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
2988 <kernel-features.h>.
2989 [__ASSUME_32BITUIDS]: Make code unconditional.
2990 [!__ASSUME_32BITUIDS]: Remove conditional code.
2991 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
2992 <kernel-features.h>.
2993 [__ASSUME_32BITUIDS]: Make code unconditional.
2994 [!__ASSUME_32BITUIDS]: Remove conditional code.
2995 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
2996 <kernel-features.h>.
2997 [__ASSUME_32BITUIDS]: Make code unconditional.
2998 [!__ASSUME_32BITUIDS]: Remove conditional code.
2999 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
3000 <kernel-features.h>.
3001 [__ASSUME_32BITUIDS]: Make code unconditional.
3002 [!__ASSUME_32BITUIDS]: Remove conditional code.
3003 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
3004 <kernel-features.h>.
3005 [__ASSUME_32BITUIDS]: Make code unconditional.
3006 [!__ASSUME_32BITUIDS]: Remove conditional code.
3007 * sysdeps/unix/sysv/linux/i386/semctl.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/i386/setegid.c: Do not include
3012 <kernel-features.h>.
3013 [__NR_setresgid] (__setresgid): Do not declare.
3014 [__ASSUME_32BITUIDS]: Make code unconditional.
3015 [!__ASSUME_32BITUIDS]: Remove conditional code.
3016 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
3017 <kernel-features.h>.
3018 [__NR_setresuid] (__setresuid): Do not declare.
3019 [__ASSUME_32BITUIDS]: Make code unconditional.
3020 [!__ASSUME_32BITUIDS]: Remove conditional code.
3021 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
3022 <kernel-features.h>.
3023 [__ASSUME_32BITUIDS]: Make code unconditional.
3024 [!__ASSUME_32BITUIDS]: Remove conditional code.
3025 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
3026 <kernel-features.h>.
3027 [__ASSUME_32BITUIDS]: Make code unconditional.
3028 [!__ASSUME_32BITUIDS]: Remove conditional code.
3029 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
3030 <kernel-features.h>.
3031 [__ASSUME_32BITUIDS]: Make code unconditional.
3032 [!__ASSUME_32BITUIDS]: Remove conditional code.
3033 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
3034 <kernel-features.h>.
3035 [__ASSUME_32BITUIDS]: Make code unconditional.
3036 [!__ASSUME_32BITUIDS]: Remove conditional code.
3037 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
3038 <kernel-features.h>.
3039 [__ASSUME_32BITUIDS]: Make code unconditional.
3040 [!__ASSUME_32BITUIDS]: Remove conditional code.
3041 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
3042 <kernel-features.h>.
3043 [__ASSUME_32BITUIDS]: Make code unconditional.
3044 [!__ASSUME_32BITUIDS]: Remove conditional code.
3045 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
3046 <kernel-features.h>.
3047 [__ASSUME_32BITUIDS]: Make code unconditional.
3048 [!__ASSUME_32BITUIDS]: Remove conditional code.
3049 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
3050 <kernel-features.h>.
3051 [__ASSUME_32BITUIDS]: Make code unconditional.
3052 [!__ASSUME_32BITUIDS]: Remove conditional code.
3053 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
3054 <kernel-features.h>.
3055 [__ASSUME_32BITUIDS]: Make code unconditional.
3056 [!__ASSUME_32BITUIDS]: Remove conditional code.
3057 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
3058 <kernel-features.h>.
3059 [__ASSUME_32BITUIDS]: Make code unconditional.
3060 [!__ASSUME_32BITUIDS]: Remove conditional code.
3061 * sysdeps/unix/sysv/linux/kernel-features.h
3062 (__ASSUME_SETRESUID_SYSCALL): Remove.
3063 (__ASSUME_SETRESGID_SYSCALL): Likewise.
3064 (__ASSUME_32BITUIDS): Likewise.
3065 (__ASSUME_LDT_WORKS): Likewise.
3066 (__ASSUME_O_DIRECTORY): Likewise.
3067 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
3068 architecture but not kernel version.
3069 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
3070 (__ASSUME_MMAP2_SYSCALL): Likewise.
3071 (__ASSUME_STAT64_SYSCALL): Likewise.
3072 (__ASSUME_IPC64): Likewise.
3073 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
3074 <kernel-features.h>.
3075 [__ASSUME_32BITUIDS]: Make code unconditional.
3076 [!__ASSUME_32BITUIDS]: Remove conditional code.
3077 * sysdeps/unix/sysv/linux/opendir.c: Do not include
3078 <kernel-features.h>.
3079 [__ASSUME_O_DIRECTORY]: Make code unconditional.
3080 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
3081 132096]: Remove conditional code.
3082 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
3083 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
3084 <kernel-features.h>.
3085 [__ASSUME_32BITUIDS]: Make code unconditional.
3086 [!__ASSUME_32BITUIDS]: Remove conditional code.
3087 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
3088 <kernel-features.h>.
3089 [__ASSUME_32BITUIDS]: Make code unconditional.
3090 [!__ASSUME_32BITUIDS]: Remove conditional code.
3091 * sysdeps/unix/sysv/linux/setegid.c: Do not include
3092 <kernel-features.h>.
3093 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
3094 unconditional.
3095 (__setresgid): Do not declare.
3096 [__ASSUME_32BITUIDS]: Make code unconditional.
3097 [!__ASSUME_32BITUIDS]: Remove conditional code.
3098 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
3099 <kernel-features.h>.
3100 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
3101 unconditional.
3102 (__setresuid): Do not declare.
3103 [__ASSUME_32BITUIDS]: Make code unconditional.
3104 [!__ASSUME_32BITUIDS]: Remove conditional code.
3105 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
3106 <kernel-features.h>.
3107 [__ASSUME_32BITUIDS]: Make code unconditional.
3108 [!__ASSUME_32BITUIDS]: Remove conditional code.
3109 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
3110 <kernel-features.h>.
3111 [__ASSUME_32BITUIDS]: Make code unconditional.
3112 [!__ASSUME_32BITUIDS]: Remove conditional code.
3113
a386f1cc
RH
31142012-05-25 Richard Henderson <rth@twiddle.net>
3115
3116 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
3117 dl_hwcap to ifunc resolver.
3118 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
3119 elf_ifunc_invoke.
3120 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
3121 dl_hwcap to ifunc resolver.
3122 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
3123
b6550497
JM
31242012-05-24 Joseph Myers <joseph@codesourcery.com>
3125
3126 [BZ #14153]
3127 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
3128 for |x| <= 2**-26, not 2**-57.
3129 * math/libm-test.inc (acos_test): Do not allow spurious underflow
3130 exception.
3131
b0bc23a1
JL
31322012-05-24 Jeff Law <law@redhat.com>
3133
3134 * stdio-common/Makefile (tests): Add bug25.
3135 * stdio-common/bug25.c: New test.
3136
347c92e9
L
31372012-05-24 H.J. Lu <hongjiu.lu@intel.com>
3138
3139 [BZ #13576]
3140 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
3141 multiple of MALLOC_ALIGNMENT in size.
3142 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
3143
6bcc8b3f
JM
31442012-05-24 Joseph Myers <joseph@codesourcery.com>
3145
3146 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
3147 Require >= 256.
3148 (FILENAME_MAX): Use macro-int-constant.
3149 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
3150 (_IOFBF): Use macro-int-constant.
3151 (_IOLBF): Likewise.
3152 (_IONBF): Likewise.
3153 (SEEK_CUR): Likewise.
3154 (SEEK_END): Likewise.
3155 (SEEK_SET): Likewise.
3156 (TMP_MAX): Likewise.
3157 (EOF): Use macro-int-constant. Require < 0.
3158 (NULL): Use macro-constant. Require == 0.
3159 (stdin): Require type to be FILE *.
3160 (stdout): Likewise.
3161 (stderr): Likewise.
3162 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
3163 macro-int-constant.
3164 (EXIT_SUCCESS): Likewise.
3165 (NULL): Use macro-constant. Require == 0.
3166 (RAND_MAX): Use macro-int-constant.
3167 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
3168 [C99-based standards] (strtof): Require function.
3169 [C99-based standards] (strtold): Likewise.
3170 [C99-based standards] (strtoll): Likewise.
3171 [C99-based standards] (strtoull): Likewise.
3172 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
3173 [ISO || ISO99 || ISO11] (limits.h): Likewise.
3174 [ISO || ISO99 || ISO11] (math.h): Likewise.
3175 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
3176 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
3177 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3178
d18ea0c5
AS
31792012-05-24 Andreas Schwab <schwab@linux-m68k.org>
3180
3181 [BZ #14132]
56d25bb8
AS
3182 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
3183 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
3184 * intl/dgettext.c (DCGETTEXT): Likewise.
3185 * intl/gettext.c (DCGETTEXT): Likewise.
3186 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
3187 * posix/regex_internal.h (gettext): Likewise.
3188 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
3189 Remove declaration.
3190 * include/argz.h (__argz_count_internal)
3191 (__argz_stringify_internal): Remove declaration.
3192 (__argz_count, __argz_stringify): Declare hidden proto.
3193 * intl/dcgettext.c: Remove use of INTDEF.
3194 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
3195 * string/argz-stringify.c: Likewise.
3196 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
3197 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
3198 Declare hidden proto.
d18ea0c5
AS
3199 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
3200 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
3201 Declare hidden proto.
3202 * include/stdio.h (__asprintf_internal): Don't declare.
3203 (__asprintf): Don't define as macro. Declare hidden proto.
3204 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
3205 (__fsetlocking): Declare hidden proto.
3206 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
3207 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
3208 hidden proto.
3209 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
3210 (_IO_setlinebuf): Remove use of INTUSE.
3211 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
3212 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
3213 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
3214 Remove declaration.
3215 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
3216 (_IO_do_flush): Remove use of INTUSE.
3217 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
3218 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
3219 (_IO_adjust_column, _IO_least_wmarker)
3220 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
3221 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
3222 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
3223 (_IO_default_doallocate, _IO_wdefault_doallocate)
3224 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
3225 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
3226 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
3227 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
3228 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
3229 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
3230 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
3231 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
3232 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
3233 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
3234 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
3235 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
3236 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
3237 proto.
3238 (_IO_flush_all_internal, _IO_adjust_column_internal)
3239 (_IO_default_uflow_internal, _IO_default_finish_internal)
3240 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
3241 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
3242 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
3243 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
3244 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
3245 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
3246 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
3247 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
3248 (_IO_file_close_internal, _IO_file_close_it_internal)
3249 (_IO_file_underflow_internal, _IO_file_overflow_internal)
3250 (_IO_file_init_internal, _IO_file_attach_internal)
3251 (_IO_file_fopen_internal, _IO_file_read_internal)
3252 (_IO_file_sync_internal, _IO_file_seek_internal)
3253 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
3254 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
3255 (_IO_str_underflow_internal, _IO_str_overflow_internal)
3256 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
3257 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
3258 (_IO_list_all_internal, _IO_link_in_internal)
3259 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
3260 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
3261 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
3262 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
3263 (_IO_do_write_internal, _IO_padn_internal)
3264 (_IO_getline_info_internal, _IO_getline_internal)
3265 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
3266 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
3267 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
3268 (_IO_vfscanf_internal, _IO_vfprintf_internal)
3269 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
3270 (_IO_init_internal, _IO_un_link_internal): Don't declare.
3271 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
3272 with libc_hidden_ver, remove use of INTUSE.
3273 * libio/genops.c: Likewise.
3274 * libio/freopen.c: Likewise.
3275 * libio/freopen64.c: Likewise.
3276 * libio/iofclose.c: Likewise.
3277 * libio/iofdopen.c: Likewise.
3278 * libio/iofflush.c: Likewise.
3279 * libio/iofflush_u.c: Likewise.
3280 * libio/iofgets.c: Likewise.
3281 * libio/iofgets_u.c: Likewise.
3282 * libio/iofopen.c: Likewise.
3283 * libio/iofopncook.c: Likewise.
3284 * libio/iofread.c: Likewise.
3285 * libio/iofread_u.c: Likewise.
3286 * libio/ioftell.c: Likewise.
3287 * libio/iofwrite.c: Likewise.
3288 * libio/iogetline.c: Likewise.
3289 * libio/iogets.c: Likewise.
3290 * libio/iogetwline.c: Likewise.
3291 * libio/iopadn.c: Likewise.
3292 * libio/iopopen.c: Likewise.
3293 * libio/ioseekoff.c: Likewise.
3294 * libio/ioseekpos.c: Likewise.
3295 * libio/iosetbuffer.c: Likewise.
3296 * libio/iosetvbuf.c: Likewise.
3297 * libio/ioungetc.c: Likewise.
3298 * libio/ioungetwc.c: Likewise.
3299 * libio/iovdprintf.c: Likewise.
3300 * libio/iovsprintf.c: Likewise.
3301 * libio/iovsscanf.c: Likewise.
3302 * libio/memstream.c: Likewise.
3303 * libio/obprintf.c: Likewise.
3304 * libio/oldfileops.c: Likewise.
3305 * libio/oldiofclose.c: Likewise.
3306 * libio/oldiofdopen.c: Likewise.
3307 * libio/oldiofopen.c: Likewise.
3308 * libio/oldiopopen.c: Likewise.
3309 * libio/oldstdfiles.c: Likewise.
3310 * libio/putc.c: Likewise.
3311 * libio/setbuf.c: Likewise.
3312 * libio/setlinebuf.c: Likewise.
3313 * libio/stdfiles.c: Likewise.
3314 * libio/strops.c: Likewise.
3315 * libio/vasprintf.c: Likewise.
3316 * libio/vscanf.c: Likewise.
3317 * libio/vsnprintf.c: Likewise.
3318 * libio/vswprintf.c: Likewise.
3319 * libio/wfiledoalloc.c: Likewise.
3320 * libio/wfileops.c: Likewise.
3321 * libio/wgenops.c: Likewise.
3322 * libio/wmemstream.c: Likewise.
3323 * libio/wstrops.c: Likewise.
3324 * libio/__fpurge.c: Likewise.
3325 * libio/__fsetlocking.c: Likewise.
3326 * assert/assert.c: Likewise.
3327 * debug/fgets_chk.c: Likewise.
3328 * debug/fgets_u_chk.c: Likewise.
3329 * debug/fread_chk.c: Likewise.
3330 * debug/fread_u_chk.c: Likewise.
3331 * debug/gets_chk.c: Likewise.
3332 * debug/obprintf_chk.c: Likewise.
3333 * debug/vasprintf_chk.c: Likewise.
3334 * debug/vdprintf_chk.c: Likewise.
3335 * debug/vsnprintf_chk.c: Likewise.
3336 * debug/vsprintf_chk.c: Likewise.
3337 * malloc/mtrace.c: Likewise.
3338 * misc/error.c: Likewise.
3339 * misc/syslog.c: Likewise.
3340 * stdio-common/asprintf.c: Likewise.
3341 * stdio-common/fxprintf.c: Likewise.
3342 * stdio-common/getw.c: Likewise.
3343 * stdio-common/isoc99_fscanf.c: Likewise.
3344 * stdio-common/isoc99_scanf.c: Likewise.
3345 * stdio-common/isoc99_vfscanf.c: Likewise.
3346 * stdio-common/isoc99_vscanf.c: Likewise.
3347 * stdio-common/isoc99_vsscanf.c: Likewise.
3348 * stdio-common/printf-prs.c: Likewise.
3349 * stdio-common/printf_fp.c: Likewise.
3350 * stdio-common/printf_fphex.c: Likewise.
3351 * stdio-common/printf_size.c: Likewise.
3352 * stdio-common/putw.c: Likewise.
3353 * stdio-common/scanf.c: Likewise.
3354 * stdio-common/sprintf.c: Likewise.
3355 * stdio-common/tmpfile.c: Likewise.
3356 * stdio-common/vfprintf.c: Likewise.
3357 * stdio-common/vfscanf.c: Likewise.
3358 * stdlib/strfmon_l.c: Likewise.
3359 * sunrpc/openchild.c: Likewise.
3360 * sunrpc/xdr_stdio.c: Likewise.
3361 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
3362 * sysdeps/mach/hurd/tmpfile.c: Likewise.
3363
d6c33fda
RM
33642012-05-24 Roland McGrath <roland@hack.frob.com>
3365
c1487492
RM
3366 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
3367
3368 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
3369 in the third column, to generate for the shared library an IFUNC
3370 that uses _dl_vdso_vsym.
3371 * Makerules (COMPILE.c, compile-stdin.c): New variables.
3372 * Makeconfig (object-suffixes-noshared): New variable.
3373
3374 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
3375 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
3376 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
3377 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
3378
d6c33fda
RM
3379 [BZ #14132]
3380 * include/sys/time.h (__gettimeofday): Remove macro.
3381 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
3382 * time/gettimeofday.c (__gettimeofday): Remove #undef.
3383 Remove INTDEF.
3384 (__gettimeofday): Add libc_hidden_def.
3385 (gettimeofday): Add libc_hidden_weak.
3386 * sysdeps/mach/gettimeofday.c: Likewise.
3387 * sysdeps/posix/gettimeofday.c: Likewise.
3388 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
3389 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
3390 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
3391 (__gettimeofday_internal): Remove strong_alias.
3392 (__gettimeofday): Add libc_hidden_def.
3393 (gettimeofday): Add libc_hidden_weak.
3394 * sysdeps/unix/syscalls.list (gettimeofday):
3395 Remove __gettimeofday_internal alias.
3396
b5a2bbe6
L
33972012-05-24 Daniel Jacobowitz <drow@false.org>
3398 H.J. Lu <hongjiu.lu@intel.com>
3399
3400 [BZ #12495]
3401 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
3402 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
3403 (largebin_index_32_big): New.
3404 (largebin_index): Use it for 16-byte alignment.
3405 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
3406 correction with front_misalign.
3407
cfba4fda
L
34082012-05-24 H.J. Lu <hongjiu.lu@intel.com>
3409
7f907421
L
3410 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
3411 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
3412 Likewise.
3413 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
3414 Likewise.
3415 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
3416 Likewise.
3417 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
3418 Likewise.
3419 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
3420 Likewise.
3421 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
3422 Likewise.
3423 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
3424 Likewise.
3425 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
3426 Likewise.
3427 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
3428 Likewise.
3429 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
3430 Likewise.
3431 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
3432 Likewise.
3433 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
3434 Likewise.
3435
cfba4fda
L
3436 * scripts/data/c++-types-x32-linux-gnu.data: New file.
3437 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
3438
80bad0cc
JM
34392012-05-24 Joseph Myers <joseph@codesourcery.com>
3440
7a25eb06
JM
3441 [BZ #10846]
3442 [BZ #14036]
3443 * math/libm-test.inc (exp_test): Add test from bug 14036.
3444 (pow_test): Add test from bug 10846.
3445
795405f9
JM
3446 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
3447 and other flags.
3448 (special_function): Do not include flags in test name.
3449 (parse_args): Likewise.
3450 * sysdeps/i386/fpu/libm-test-ulps: Update.
3451 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3452 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3453 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
3454 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3455
80bad0cc
JM
3456 * math/gen-libm-test.pl (%beautify): Add entries for underflow
3457 exceptions.
3458 * math/libm-test.inc ("Philosophy"): Update comment about
3459 exception testing.
3460 (UNDERFLOW_EXCEPTION): New macro.
3461 (UNDERFLOW_EXCEPTION_OK): Likewise.
3462 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
3463 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
3464 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
3465 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
3466 (INVALID_EXCEPTION_OK): Update value.
3467 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
3468 (OVERFLOW_EXCEPTION_OK): Likewise.
3469 (IGNORE_ZERO_INF_SIGN): Likewise.
3470 (test_exceptions): Handle underflow exceptions.
3471 (acos_test): Update for underflow exception expectations.
3472 (cexp_test): Likewise.
3473 (clog_test): Likewise.
3474 (clog10_test): Likewise.
3475 (csqrt_test): Likewise.
3476 (ctan_test): Likewise.
3477 (ctanh_test): Likewise.
3478 (exp_test): Likewise.
3479 (exp10_test): Likewise.
3480 (exp2_test): Likewise.
3481 (expm1_test): Likewise.
3482 (fma_test): Likewise.
3483 (j0_test): Likewise.
3484 (jn_test): Likewise.
3485 (nexttoward_test): Likewise.
3486 (pow_test): Likewise.
3487 (scalbn_test): Likewise.
3488 (scalbln_test): Likewise.
3489 (tan_test): Likewise.
3490 (y1_test): Likewise.
3491 * sysdeps/i386/fpu/libm-test-ulps: Update.
3492 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3493
9e0e3d0b
DM
34942012-05-23 David S. Miller <davem@davemloft.net>
3495
3496 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
3497 (__libc_sigaction): Remove unused local variables.
3498
ccd0a08f
L
34992012-05-23 H.J. Lu <hongjiu.lu@intel.com>
3500
3501 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
3502
62bdf9a6
PE
35032012-05-23 Paul Eggert <eggert@cs.ucla.edu>
3504
f8591f80
PE
3505 mktime: avoid signed integer overflow
3506 * time/mktime.c (__mktime_internal): Do not mishandle the case
3507 where diff == INT_MIN.
3508
94c7d826
PE
3509 mktime: simplify computation of average
3510 * time/mktime.c (ranged_convert): Use new time_t_avg function
3511 instead of rolling our own (probably-slower) code.
3512
ce73d683
PE
3513 mktime: do not assume signed right shift propagates sign bit
3514 * time/mktime.c (isdst_differ): New static function.
3515 (__mktime_internal): No need to normalize tm_isdst now.
3516 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
3517 tm_isdst values.
3518
72a22e59
PE
3519 mktime: merge another wrapv change from gnulib
3520 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
3521 from some compilers.
3522
68605433
PE
3523 mktime: remove incorrect attempt at unusual arithmetics
3524 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
3525 The code didn't really work on such machines anyway.
3526 (TYPE_MINIMUM): Assume two's complement.
3527 (twos_complement_arithmetic): Verify that long_int and time_t
3528 are two's complement (or unsigned, in the latter case).
3529
03cf7fe3
PE
3530 mktime: check signed shifts on long_int and time_t, too
3531 * time/mktime.c (SHR): Check that shifts work as desired
3532 on the types long_int and time_t too, as SHR is used on
3533 such types.
3534
f04dfbc2
PE
3535 mktime: do not assume 'long' is wide enough
3536 * time/mktime.c (verify): Move decl up.
3537 (long_int): New type.
3538 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
3539 to remove assumption in the code that 'long' is wide enough to
3540 store year values. This assumption is not true on x32 and on
3541 some non-glibc platforms.
3542
62bdf9a6
PE
3543 mktime: merge wrapv change from gnulib
3544 * time/mktime.c (WRAPV): New macro.
3545 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
3546 (guess_time_tm, __mktime_internal): Do not assume that signed
3547 integer overflow wraps around; modern compilers generate code
3548 where this assumption is no longer valid.
3549
5e292e4f
L
35502012-05-23 H.J. Lu <hongjiu.lu@intel.com>
3551
3552 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
3553 Replace "jmp L(pseudo_end)" with "ret".
3554 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
3555 Likewise.
3556
8caf8c87
AJ
35572012-05-23 Andreas Jaeger <aj@suse.de>
3558
3559 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
3560 * sysdeps/unix/sysv/linux/poll.c: Remove file.
3561
1a09dc56
AJ
35622012-05-23 Andreas Jaeger <aj@suse.de>
3563 Maximilian Attems <max@stro.at>
3564
3565 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
3566 New macros.
3567
1c87aba0
L
35682012-05-23 H.J. Lu <hongjiu.lu@intel.com>
3569
3570 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
3571 code so that pseudo_end is just ret and the stack pointer is
3572 correct also for static library in error case.
3573
40e45bd5
JM
35742012-05-23 Joseph Myers <joseph@codesourcery.com>
3575
c2670533
JM
3576 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
3577 move to syscalls.list.
3578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
3579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
3580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
3581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
3582
40e45bd5
JM
3583 * manual/install.texi (Running make install): Do not mention Linux
3584 kernel version for which pt_chown is not needed.
3585 (Linux): Do not mention problems with nscd with 2.0 kernels.
3586 * INSTALL: Regenerated.
3587
be08eda5
AJ
35882012-05-23 Andreas Jaeger <aj@suse.de>
3589
3590 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
3591 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
3592 macro.
3593 * sysdeps/unix/sysv/linux/s390/bits/mman.h
3594 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3595 * sysdeps/unix/sysv/linux/sh/bits/mman.h
3596 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3597 * sysdeps/unix/sysv/linux/i386/bits/mman.h
3598 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3599 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
3600 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3601 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
3602 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3603 * sysdeps/unix/sysv/linux/bits/in.h
3604 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
3605
a6a056bb
RM
36062012-05-22 Roland McGrath <roland@hack.frob.com>
3607
3608 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
3609 (PREPARE_VERSION): Just use assert instead, it will be elided
3610 under [NDEBUG] anyway.
3611
c9009328
L
36122012-05-22 H.J. Lu <hongjiu.lu@intel.com>
3613
3614 * sysdeps/unix/sysv/linux/Makefile: Include
3615 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 3616 (sysdep_routines): Remove sysctl.
c9009328
L
3617 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
3618 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
3619 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
3620 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
3621 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
3622
73338355
AJ
36232012-05-22 Andreas Jaeger <aj@suse.de>
3624
3625 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
3626 that pseudo_end is just ret and the stack pointer is correct also
3627 for static library in error case.
3628
d44638b0
PP
36292012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
3630
3631 [BZ #14122]
3632 * nss/nsswitch.c (defconfig_entries): New variable.
3633 (__nss_database_lookup): Don't leak defconfig entries.
3634 (nss_parse_service_list): Don't leak on error paths.
3635 (free_database_entries): New function.
3636 (free_defconfig): New function.
3637 (free_mem): Move common code to free_database_entries.
3638
31a39bd8
L
36392012-05-22 H.J. Lu <hongjiu.lu@intel.com>
3640
da0331a8
L
3641 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
3642 Add arch_prctl.
3643 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
3644
31a39bd8
L
3645 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
3646 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
3647 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
3648 New macro.
3649 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
3650 (INTERNAL_SYSCALL_TYPES): Likewise.
3651 (LOAD_ARGS_TYPES_[1-6]): Likewise.
3652 (LOAD_REGS_TYPES_[1-6]): Likewise.
3653 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
3654 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
3655
45470df3
AZ
36562012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3657
3658 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
3659 copysignl for GLIBC_2_0.
3660 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
3661 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
3662 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
3663 logbl for GLIBC_2_0.
3664 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
3665 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
3666
98a61bcb
L
36672012-05-22 H.J. Lu <hongjiu.lu@intel.com>
3668
a4f6e481
L
3669 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
3670 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
3671
f63d5db6
L
3672 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
3673 Use "neg %eax".
3674
98a61bcb
L
3675 * time/mktime.c: Update copyright years.
3676
95770f14
PE
36772012-05-22 Paul Eggert <eggert@cs.ucla.edu>
3678
6226efbd
PE
3679 mktime: merge comment-quoting-style change from gnulib
3680 * time/mktime.c: Quote 'like this' in comments.
3681 The GNU coding standards suggest that we no longer quote `like this',
3682 as "`" and "'" are typically rendered asymmetrically nowadays.
3683 The typical gnulib style is to quote 'like this' when quoting
3684 code, and "like this" when quoting English.
3685
b99e4f78
PE
3686 * time/mktime.c (compile-command): Add "-I.".
3687
643e01e6
PE
3688 mktime: merge mktime-internal.h change from gnulib
3689 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
3690
2554247d
PE
3691 mktime: merge time_r change from gnulib
3692 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
3693
826dd0ab
PE
3694 mktime: merge DEBUG change from gnulib
3695 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
3696 case system <time.h> has a #define.
3697
bd83aabe
PE
3698 mktime: merge <sys/types.h> change from gnulib
3699 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
3700 since <time.t> is now guaranteed to define time_t.
3701
95770f14
PE
3702 mktime: merge HAVE_CONFIG_H change from gnulib
3703 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
3704
5e1a27a9
L
37052012-05-22 H.J. Lu <hongjiu.lu@intel.com>
3706
0e44a77e
L
3707 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
3708 Use "neg %eax".
3709
5e1a27a9
L
3710 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
3711 __rlim_t cast.
3712 (struct rusage): Use anonymous union to pad each field to
3713 __syscall_slong_t.
3714
46259bec
DM
37152012-05-21 David S. Miller <davem@davemloft.net>
3716
3717 * Makefules (o-iterator): Remove .s cases.
3718 (compile-command.s): Delete.
3719 (COMPILE.s): Delete.
3720 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
3721
59f0c22e
JM
37222012-05-21 Joseph Myers <joseph@codesourcery.com>
3723
3724 * configure.in (libc_cv_predef_stack_protector): Only consider
3725 "foobar" and "__stack_chk_fail" lines in libc_undefs.
3726 * configure: Regenerated.
3727
20c07380
L
37282012-05-21 H.J. Lu <hongjiu.lu@intel.com>
3729
bbb3154b
L
3730 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
3731 New macro. Use R*LP on int and pointer.
3732 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
3733 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
3734 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
3735 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
3736
20c07380
L
3737 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
3738 [__WORDSIZE_TIME64_COMPAT32] instead of
3739 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
3740 (struct utmp): Likewise.
3741 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
3742 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
3743 Renamed to ...
3744 (__WORDSIZE_TIME64_COMPAT32): This.
3745 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
3746 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
3747 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
3748 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
3749 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
3750 (__WORDSIZE_TIME64_COMPAT32): New macro.
3751
d8d1017e
AJ
37522012-05-21 Andreas Jaeger <aj@suse.de>
3753
3754 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
3755 only if [SHARED]. Add prototype for __wcschr_ia32.
3756
6c7fb145
RM
37572012-05-21 Roland McGrath <roland@hack.frob.com>
3758
3759 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
3760 of %rbp unmolested in the jmp_buf while mangling the low bits.
3761 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
3762 unmolested high bits of %rbp while demangling the low bits.
3763 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
3764
66274218
AJ
37652012-05-21 Andreas Jaeger <aj@suse.de>
3766
07c58f8f
AJ
3767 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
3768 * sunrpc/svc_simple.c: Use it for registerrpc.
3769 * sunrpc/xcrypt.c: Use it for passwd2des.
3770
66274218
AJ
3771 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
3772
61f65140
L
37732012-05-21 H.J. Lu <hongjiu.lu@intel.com>
3774
3775 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
3776 Don't define if [__SYSCALL_WORDSIZE != 32].
3777 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
3778 New macro.
3779
5fefb436
AJ
37802012-05-21 Bruno Haible <bruno@clisp.org>
3781 Andreas Jaeger <aj@suse.de>
3782
3783 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
3784 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
3785 inptr and inend for must_buffer_ch.
3786 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
3787 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
3788 * stdio-common/Makefile (tests): Remove bug15.
3789 (bug15-ENV): Remove macro.
3790 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
3791 anymore.
3792
d8e272ab
AJ
37932012-05-19 Andreas Jaeger <aj@suse.de>
3794 Roland McGrath <roland@hack.frob.com>
3795
3796 * manual/contrib.texi: Completely rewritten. It contains now an
3797 alphabetical list of contributors and their contributions.
3798
4a56a162
RH
37992012-05-21 Richard Henderson <rth@twiddle.net>
3800
3801 * misc/getauxval.c (__getauxval): Use unsigned long int.
3802 * misc/sys/auxv.h: Include <sys/cdefs.h>.
3803 (getauxval): Use unsigned long int.
3804
d024d23c
L
38052012-05-21 H.J. Lu <hongjiu.lu@intel.com>
3806
3807 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
3808
cbc00a03
RM
38092012-05-21 Roland McGrath <roland@hack.frob.com>
3810
3811 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
3812 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
3813 __alignof__ (long double).
3814
478143fa
AZ
38152012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3816
3817 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3818
c7683a6d
RH
38192012-05-20 Richard Henderson <rth@twiddle.net>
3820
3821 * misc/getauxval.c: New file.
3822 * misc/sys/auxv.h: New file.
3823 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
3824 (routines): Add getauxval.
3825 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
3826 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
3827 * elf/dl-sysdep.c (_dl_auxv): Remove.
3828 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
3829 * elf/dl-support.c (_dl_auxv): New variable.
3830 (_dl_aux_init): Initialize it.
3831 * manual/startup.texi (Auxiliary Vector): New node.
3832 * sysdeps/generic/bits/hwcap.h: New file.
3833 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
3834 * sysdeps/powerpc/sysdep.h: ... here. Include it.
3835 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
3836 * sysdeps/sparc/sysdep.h: ... here. Include it.
3837 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
3838 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
3839 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3840 Update.
c7683a6d
RH
3841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
3842 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
3843 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
3844 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
3845 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
3846 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
3847 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
3848 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
3849
a6f1845d
AZ
38502012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3851
3852 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3853
cbcbe830
DM
38542012-05-19 David S. Miller <davem@davemloft.net>
3855
3856 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3857
e0b16cc2
JM
38582012-05-19 Joseph Myers <joseph@codesourcery.com>
3859
3860 [BZ #14123]
3861 * math/s_ccosh.c: Include <float.h>
3862 (__ccosh): Avoid internal overflow calculating sinh and cosh
3863 values before multiplying by sin and cos values.
3864 * math/s_ccoshf.c: Likewise.
3865 * math/s_ccoshl.c: Likewise.
3866 * math/s_csin.c: Likewise.
3867 * math/s_csinf.c: Likewise.
3868 * math/s_csinl.c: Likewise.
3869 * math/s_csinh.c: Likewise.
3870 * math/s_csinhf.c: Likewise.
3871 * math/s_csinhl.c: Likewise.
3872 * math/libm-test.inc (ccos_test): Add more tests.
3873 (ccosh_test): Likewise.
3874 (csin_test): Likewise.
3875 (csinh_test): Likewise.
3876 * sysdeps/i386/fpu/libm-test-ulps: Update.
3877 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3878
6ad13e08
L
38792012-05-19 H.J. Lu <hongjiu.lu@intel.com>
3880
f66f0ce8
L
3881 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
3882 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
3883
6ad13e08
L
3884 * sysdeps/x86_64/x32/_itoa.h: Add comment.
3885
b1d072a7
JM
38862012-05-19 Joseph Myers <joseph@codesourcery.com>
3887
3888 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
3889 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
3890 * sysdeps/powerpc/soft-fp/Versions: Likewise.
3891 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
3892 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
3893 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
3894 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
3895 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
3896 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
3897 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
3898 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
3899 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
3900 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
3901 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
3902 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
3903 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
3904 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
3905 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
3906 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
3907 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
3908 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
3909 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
3910 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
3911 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
3912 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
3913 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
3914 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
3915 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
3916 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
3917 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
3918 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
3919
9eae47cb
AJ
39202012-05-18 Andreas Jaeger <aj@suse.de>
3921
3922 * csu/.gitignore: Delete.
3923
bb07f69f
L
39242012-05-18 H.J. Lu <hongjiu.lu@intel.com>
3925
3926 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
3927 (timex): Use __syscall_slong_t.
3928
e6bdb741
AJ
39292012-05-18 Andreas Jaeger <aj@suse.de>
3930 Carlos O'Donell <carlos_odonell@mentor.com>
3931
3932 * manual/install.texi (Configuring and compiling): Update
3933 description about files modified in the source directory.
d6c33fda 3934 * INSTALL: Regenerated.
e6bdb741 3935
1b74487e
L
39362012-05-18 H.J. Lu <hongjiu.lu@intel.com>
3937
3938 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
3939 value. Use "or" to set return value to -1.
3940 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
3941 negate return value.
3942
a88b64b9
TMQMF
39432012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3944
3945 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
3946 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
3947 failure if the compiler has Graphite support disabled.
3948 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
3949 Likewise.
3950 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
3951 CFLAGS-memmove.c): Likewise.
3952 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
3953 Likewise.
3954
3707636e
L
39552012-05-18 H.J. Lu <hongjiu.lu@intel.com>
3956
610b8622
L
3957 * sysdeps/x86_64/x32/_itoa.h: New file.
3958
7cd195df
L
3959 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
3960 getdents system call only if kernel and user dirents have the
3961 same d_ino and d_off.
3962
94b07d20
L
3963 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
3964 LLONG_MAX != LONG_MAX.
3965 (_itoa_word): Use _ITOA_WORD_TYPE on value.
3966 (_fitoa_word): Likewise.
3967
18298070
L
3968 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
3969 years.
3970 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
3971 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
3972 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
3973
553c7ea4
L
3974 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
3975 include <bits/wordsize.h>. Check __x86_64__ instead of
3976 __WORDSIZE.
3977 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
3978 if __x86_64__ is defined. Use anonymous union on fpstate.
3979
3707636e
L
3980 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
3981 anonymous union.
3982
b53ef01a
AS
39832012-05-18 Andreas Schwab <schwab@linux-m68k.org>
3984
37fb1dc0
AS
3985 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
3986 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
3987 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
3988 Refer to _rtld_local_ro instead of _rtld_global_ro.
3989 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
3990 Likewise.
3991 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
3992 Likewise.
3993 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
3994 Likewise.
3995 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
3996 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
3997 of _rtld_global, and rtld_progname instead of _dl_argv[0].
3998
b53ef01a
AS
3999 * sysdeps/powerpc/powerpc32/dl-machine.c
4000 (__elf_machine_runtime_setup) [PROF]: Don't reference
4001 _dl_prof_resolve.
4002
7a185db2
AJ
40032012-05-18 Andreas Jaeger <aj@suse.de>
4004
4005 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
4006 function only available for GCCs before 3.4 since GCC 3.4
4007 introduced a builtin.
4008 (lrint): Likewise.
4009 (llrintf): Likewise.
4010 (llrint): Likewise.
4011 (fmaxf): Likewise.
4012 (fmax): Likewise.
4013 (fminf): Likewise.
4014 (fmin): Likewise.
4015 (rint): Likewise.
4016 (rintf): Likewise.
4017 (nearbyint): Likewise.
4018 (nearbyintf): Likewise.
4019 (ceil): Likewise.
4020 (ceilf): Likewise.
4021 (floor): Likewise.
4022 (floorf): Likewise.
4023
3e5aef87
L
40242012-05-17 H.J. Lu <hongjiu.lu@intel.com>
4025
428bd707
L
4026 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
4027 on both fields and cast pointer to __syscall_ulong_t.
4028
3e5aef87
L
4029 * bits/types.h (__fsword_t): New type.
4030 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
4031 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
4032 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4033 (__FSWORD_T_TYPE): Likewise.
4034 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4035 (__FSWORD_T_TYPE): Likewise.
4036 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4037 (__FSWORD_T_TYPE): Likewise.
4038 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
4039 (__FSWORD_T_TYPE): Likewise.
4040 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
4041 __SWORD_TYPE with __fsword_t.
4042 (statfs64): Likewise.
4043
1ba7c3dc
DM
40442012-05-17 David S. Miller <davem@davemloft.net>
4045
4046 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
4047
59910343
AJ
40482012-05-17 Andreas Jaeger <aj@suse.de>
4049
4050 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
4051 warning.
4052
2e4c1e9e
L
40532012-05-17 H.J. Lu <hongjiu.lu@intel.com>
4054
4055 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
4056
de7f5ce7
AJ
40572012-05-17 Andreas Jaeger <aj@suse.de>
4058
4059 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
4060 when it is used.
4061
286abc3d
CM
40622012-05-17 Chris Metcalf <cmetcalf@tilera.com>
4063
4064 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
4065
477cc68e
L
40662012-05-17 H.J. Lu <hongjiu.lu@intel.com>
4067
4068 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
4069 * sysdeps/x86_64/tst-mallocalign1.c: New file.
4070
1a0994f5
CD
40712012-05-17 Andreas Jaeger <aj@suse.de>
4072 Carlos O'Donell <carlos_odonell@mentor.com>
4073
4074 [BZ #14059]
4075 * sysdeps/x86_64/multiarch/init-arch.h
4076 (bit_YMM_Usable): Rename to...
4077 (bit_AVX_Usable): ... this.
4078 (bit_FMA4_Usable): New macro.
4079 (bit_XMM_state): New macro.
4080 (bit_YMM_state): New macro.
4081 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
4082 [__ASSEMBLER__] (index_AVX_Usable): ... this.
4083 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
4084 (CPUID_OSXSAVE): New macro.
4085 (CPUID_AVX): New macro.
4086 (CPUID_FMA4): New macro.
4087 (index_YMM_Usable): Rename to...
4088 (index_AVX_Usable): ... this.
4089 (HAS_AVX): Use HAS_ARCH_FEATURE.
4090 (HAS_FMA4): Likewise.
4091 (HAS_YMM_USABLE): Remove.
4092 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4093 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
4094 are present.
4095 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
4096 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
4097 * sysdeps/x86_64/multiarch/Makefile: Likewise.
4098 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
4099 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
4100
0af797de
CM
41012012-05-17 Chris Metcalf <cmetcalf@tilera.com>
4102
4103 * math/libm-test.c: Support platforms without multiple rounding modes.
4104 * math/bug-nextafter.c: Support platforms without FP exceptions.
4105 * math/bug-nexttoward.c: Likewise.
4106 * math/test-fenv.c: Likewise.
4107 * math/test-misc.c: Likewise.
4108 * stdlib/bug-getcontext.c: Likewise.
4109
e39745ff
AJ
41102012-05-17 Andreas Jaeger <aj@suse.de>
4111
4112 * manual/examples/search.c (critter_cmp): Change signature to
4113 avoid warnings.
4114 * manual/string.texi (Collation Functions): Likewise.
4115
48970aba
L
41162012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4117
4118 * bits/types.h: Fold copyright years.
4119 * bits/typesizes.h: Likewise.
4120 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
4121 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
4122 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
4123 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
4124 * time/time.h: Likewise.
4125
bedee953
PP
41262012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
4127
4128 [BZ #208]
4129 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
4130 in instead of returning them. Return void.
4131 (__libc_mallinfo): Accumulate over all arenas.
4132 (__malloc_stats): Adjust for change in int_mallinfo interface.
4133
61653dfb
RM
41342012-05-16 Roland McGrath <roland@hack.frob.com>
4135
30b99d79
RM
4136 [BZ #10375]
4137 * configure.in (NM): Add AC_CHECK_TOOL for it.
4138 (libc_extra_cflags): New substituted variable.
4139 Check for -fstack-protector being used implicitly.
4140 * configure: Regenerated.
4141 * config.make.in (config-extra-cflags): New variable,
4142 gets @libc_extra_cflags@.
4143 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
4144
61653dfb
RM
4145 [BZ #10375]
4146 * configure.in: Check for _FORTIFY_SOURCE being predefined.
4147 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
4148 * configure: Regenerated.
4149 * config.make.in (CPPUNDEFS): New substituted variable.
4150 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
4151 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
4152 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
4153
661768bb
L
41542012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4155
4156 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
4157 (mq_attr): Use __syscall_slong_t.
4158
d4261567
L
41592012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4160
4161 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
4162 Check __x86_64__ instead of __WORDSIZE.
4163 (_STAT_VER_LINUX): Likewise.
4164 (stat): Check __x86_64__ instead of __WORDSIZE. Use
4165 __syscall_ulong_t and __syscall_slong_t.
4166 (stat64): Likewise.
4167
cf3ff365
L
41682012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4169
4170 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
4171
76cf3e4d
L
41722012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4173
4174 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
4175
a637753a
L
41762012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4177
4178 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
4179 __syscall_ulong_t.
4180
d5e05119
L
4181 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
4182 include <bits/wordsize.h>. Check __x86_64__ instead of
4183 __WORDSIZE.
4184 (greg_t): Use "__extension__ long long int" if __x86_64__ is
4185 defined.
4186 (mcontext_t): Replace "unsigned long" with "unsigned long long".
4187
f62ee380
L
4188 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
4189 include <bits/wordsize.h>. Check __x86_64__ instead of
4190 __WORDSIZE.
4191 (user_regs_struct): Use "__extension__ unsigned long long"
4192 instead of "unsigned long" if __x86_64__ is defined.
4193 (user): Likewise. Pad after pointer field if __ILP32__ is
4194 defined.
4195
4e124ced
JM
41962012-05-16 Joseph Myers <joseph@codesourcery.com>
4197
6a3951a0
JM
4198 * configure.in (makeinfo): Require version 4.5 or later. Allow
4199 versions 5 to 9.
4200 * configure: Regenerated.
4201 * manual/install.texi (texinfo): Increase version requirement to
4202 4.5 or later.
4203 * INSTALL: Regenerated.
4204
4e124ced
JM
4205 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
4206
953ca31a
L
42072012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4208
4209 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
4210
617aca05
L
4211 * sysdeps/x86_64/x32/ffs.c: New file.
4212
5762f7ae
L
4213 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
4214 __syscall_ulong_t.
4215 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
4216 defined. Use __syscall_ulong_t.
4217 (shminfo): Use __syscall_ulong_t.
4218 (shm_info): Likewise.
4219
a26b6856
L
4220 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
4221 __syscall_ulong_t.
4222
cb2b9ef7
L
4223 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
4224 <bits/wordsize.h>.
4225 (msgqnum_t): Use __syscall_ulong_t.
4226 (msglen_t): Likewise.
4227 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
4228 __syscall_ulong_t.
4229
34683bb0
L
4230 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
4231 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
4232
84a68786
L
4233 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
4234
48baa5f1
L
4235 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
4236 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
4237
180be88b
L
4238 * sysvipc/sys/msg.h (msgbuf): Replace long int with
4239 __syscall_slong_t.
4240
5e90c8ad
L
4241 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
4242 include <bits/wordsize.h>. Check __x86_64__ instead of
4243 __WORDSIZE.
4244
23dfb58b
L
4245 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
4246 "unsigned long long int" if __x86_64__ is defined.
4247 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
4248
ce5d54b0
L
4249 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
4250 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
4251 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
4252
13dc9eac
L
4253 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
4254 <stdint.h>.
4255 (GET_PC): Cast to uintptr_t first.
4256 (GET_FRAME): Likewise.
4257 (GET_STACK): Likewise.
4258
a7895d15
L
4259 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
4260 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
4261 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
4262 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
4263 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
4264 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
4265 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
4266 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
4267 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
4268 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
4269 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
4270 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
4271 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
4272 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
4273 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
4274 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
4275 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
4276 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
4277 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
4278 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
4279 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
4280 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
4281 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
4282 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
4283 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
4284 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
4285 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
4286 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
4287 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
4288
656416c9
AS
42892012-05-16 Andreas Schwab <schwab@linux-m68k.org>
4290
5bd66283
AS
4291 * Makerules (+depfiles): Also collect depfiles from .oS in
4292 $(extra-objs).
4293 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
4294 .oS, $(libnldbl-routines)).
4295
656416c9
AS
4296 * Makerules (native-compile-mkdep-flags): Define.
4297 * sunrpc/Makefile (extra-objs): Add $(addprefix
4298 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
4299 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
4300 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
4301 calling $(make-target-directory).
4302
a46f2169
L
43032012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4304
4305 * bits/types.h (__snseconds_t): Removed.
4306 * time/time.h (struct timespec): Replace __snseconds_t with
4307 __syscall_slong_t.
4308 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
4309 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
4310 Likewise.
4311 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4312 (__SNSECONDS_T_TYPE): Likewise.
4313 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4314 (__SNSECONDS_T_TYPE): Likewise.
4315 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4316 (__SNSECONDS_T_TYPE): Likewise.
4317
6af6528b
L
43182012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4319
4320 * sysdeps/mach/hurd/bits/typesizes.h
4321 (__SYSCALL_SLONG_TYPE): New macro.
4322 (__SYSCALL_ULONG_TYPE): Likewise.
4323
de986b56
L
43242012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4325
4326 * bits/types.h (__syscall_slong_t): New type.
4327 (__syscall_ulong_t): Likewise.
4328
4329 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
4330 (__SYSCALL_ULONG_TYPE): Likewise.
4331 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4332 (__SYSCALL_SLONG_TYPE): Likewise.
4333 (__SYSCALL_ULONG_TYPE): Likewise.
4334 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4335 (__SYSCALL_SLONG_TYPE): Likewise.
4336 (__SYSCALL_ULONG_TYPE): Likewise.
4337 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4338 (__SYSCALL_SLONG_TYPE): Likewise.
4339 (__SYSCALL_ULONG_TYPE): Likewise.
4340
85736dc7
L
43412012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4342
4343 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
4344 Add sigaltstack-offsets.sym.
4345 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
4346 <sigaltstack-offsets.h>.
4347 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
4348 longjmp_msg pointer.
4349 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
4350 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
4351 signal stack.
4352 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
4353
cc03b296
JM
43542012-05-15 Joseph Myers <joseph@codesourcery.com>
4355
a9538892
JM
4356 * elf/stackguard-macros.h: Remove file.
4357 * sysdeps/generic/stackguard-macros.h: New file.
4358 * sysdeps/i386/stackguard-macros.h: Likewise.
4359 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
4360 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
4361 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
4362 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
4363 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
4364 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
4365 * sysdeps/x86_64/stackguard-macros.h: Likewise.
4366 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
4367 <elf/stackguard-macros.h>.
4368
cc03b296
JM
4369 [BZ #14109]
4370 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
4371 __aligned__ in attribute.
4372 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
4373 (gregset_t): Likewise.
4374
93171016
L
43752012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4376
4377 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
4378 * sysdeps/x86_64/64/Implies-after: Here. New file.
4379 * sysdeps/x86_64/x32/Implies-after: New file.
4380
d86813a0
L
43812012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4382
4383 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
4384 and access return value for _dl_profile_fixup. Use R10_LP to
4385 load frame size.
4386
2953ec75
L
43872012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4388
4389 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
4390
3b550e9e
L
43912012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4392
4393 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
4394 * sysdeps/x86_64/x32/sysdep.h: New file.
4395
eda41706
L
43962012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4397
4398 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
4399 * sysdeps/x86_64/setjmp.S: Likewise.
4400
9ea01d93
AZ
44012012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4402
4403 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
4404 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
4405 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
4406 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
4407 remove unused global constant.
4408
02a91938
CM
44092012-05-15 Chris Metcalf <cmetcalf@tilera.com>
4410
4411 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
4412 include of <not-cancel.h>.
4413
6540185f
RM
44142012-05-15 Roland McGrath <roland@hack.frob.com>
4415
4416 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
4417
509072a0
AJ
44182012-05-15 Jeff Law <law@redhat.com>
4419 Andreas Jaeger <aj@suse.de>
4420
4421 [BZ #13594]
4422 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
4423 out from...
4424 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
4425 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
4426 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
4427 code changing __hst_map_handle.map.
4428
ba75122d
RM
44292012-05-15 Roland McGrath <roland@hack.frob.com>
4430
4431 * configure.in (sysnames): Look for Implies-before and Implies-after
4432 files.
4433 * configure: Regenerated.
4434
890d8bd8
L
44352012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4436
4437 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
4438 8-byte data alignment with LP_SIZE alignment.
4439
f6ee6623
L
44402012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4441
4442 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
4443 into R10_LP.
4444
ea2626f6
L
44452012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4446
4447 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
4448
085f715e
L
44492012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4450
4451 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
4452 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
4453 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
4454 Likewise.
4455 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
4456
be8498fc
L
44572012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4458
4459 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
4460 (stackinfo_sub_sp): Likewise.
4461
70bc83b9
L
44622012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4463
4464 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
4465 RAX_LP.
4466
9bc0b730
L
44672012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4468
4469 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
4470 into R*_LP.
4471
6d2850e7
L
44722012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4473
4474 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
4475 sizes into R*_LP.
4476
3cb84561
L
44772012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4478
4479 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
4480
54e2ed81
L
44812012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4482
4483 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
4484 into R11_LP and load __x86_64_shared_cache_size_half into
4485 R8_LP.
4486
8a17f349
L
44872012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4488
4489 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
4490 R8_LP.
4491
777b1eea
AZ
44922012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4493
4494 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
4495 logb for POWER7.
4496 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
4497 logbf for POWER7.
4498 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
4499 logbl for POWER7.
4500 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
4501 powerpc32/power7/fpu/s_logb.c via #include.
4502 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
4503 powerpc32/power7/fpu/s_logbf.c via #include.
4504 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
4505 powerpc32/power7/fpu/s_logbl.c via #include.
4506
d20d4ac2
JM
45072012-05-15 Joseph Myers <joseph@codesourcery.com>
4508
4509 * README.libm: Remove file.
4510
6cdef1ab
L
45112012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4512
4513 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
4514 count for x32. Use R*_LP and omit operand-size suffix.
4515
0b254d8f
L
45162012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4517
4518 * shlib-versions: Move x86_64-.*-linux.* entries to ...
4519 * sysdeps/x86_64/64/shlib-versions: Here. New file.
4520 * sysdeps/x86_64/x32/shlib-versions: New file.
4521
ceb809dc
RM
45222012-05-14 Roland McGrath <roland@hack.frob.com>
4523
4524 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
4525 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
4526 Use _dl_fatal_printf instead.
4527
37f1abd4
JM
45282012-05-14 Joseph Myers <joseph@codesourcery.com>
4529
4530 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
4531 set if not set by the user. Do not allow for being unset.
4532 * sysdeps/unix/sysv/linux/configure: Regenerated.
4533
11de3a33
L
45342012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4535
4536 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
4537 the `q' suffix from lea and replace .quad with ASM_ADDR.
4538
e02f153a
L
45392012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4540
4541 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
4542 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
4543 instead of $17.
4544 (PTR_DEMANGLE): Likewise.
4545
520ae0fd
L
45462012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4547
4548 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
4549 (LP_OP): Likewise.
4550 (ASM_ADDR): Likewise.
4551 (RAX_LP): Likewise.
4552 (RBP_LP): Likewise.
4553 (RBX_LP): Likewise.
4554 (RCX_LP): Likewise.
4555 (RDI_LP): Likewise.
4556 (RSI_LP): Likewise.
4557 (RSP_LP): Likewise.
4558 (R8_LP): Likewise.
4559 (R9_LP): Likewise.
4560 (R10_LP): Likewise.
4561 (R10_LP): Likewise.
4562 (R11_LP): Likewise.
4563 (R12_LP): Likewise.
4564 (R13_LP): Likewise.
4565 (R14_LP): Likewise.
4566 (R15_LP): Likewise.
4567
b985be81
L
45682012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4569
4570 * sysdeps/x86_64/x32/dl-machine.h: New file.
4571
6a4888ff
AJ
45722012-05-14 Andreas Jaeger <aj@suse.de>
4573
4574 * manual/Makefile (subdir): Remove export of subdir.
4575 (all): Remove target.
4576 (.PHONY): Remove all from list.
4577 (mkinstalldirs): Remove.
4578 (.PHONY): Remove installdirs from list.
4579 ($(inst_infodir)/libc.info): Use make-target-directory.
4580 (installdirs): Remove.
4581 (subdir_%): Remove.
4582 (glibc-targets): Remove.
4583 (lib): Remove.
4584 (stubs): Remove.
4585 ($(objpfx)stubs ../po/manual.pot): Remove.
4586 ($(objpfx)stamp%): Remove.
4587 (make-target-directory): Remove.
4588 (subdir_install): Remove.
4589 (routines): Remove.
4590 (aux): Remove.
4591 (sources): Remove.
4592 (objects): Remove.
4593 (headers): Remove.
4594
4595 [BZ #13750]
4596 * manual/.gitignore: Remove, it's not needed anymore.
4597 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
4598 all files in it.
4599 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
4600 directory.
4601 (texis): Renamed to $(objpfx)texis.
4602 (texis-path): New, contains path to generated files.
4603 (chapters.%): Use texis-path for complete path, add extra argument
4604 libc-texinfo.sh.
4605 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
4606 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
4607 (summary,texi, stamp-summary): Use complete path of
4608 files. Generate files in build dir.
4609 (dir-add.texi): Build in build dir.
4610 (libm-err.texi,stamp-libm-err): Likewise.
4611 (version.texi, stamp-version): Likewise.
4612 (.%c.texi): Likewise.
4613 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
4614 (mostlyclean): Remove target.
4615 (realclean): Remove target.
4616 (generated): Add new variable with contents from mostlyclean and
4617 realclean, remove entries duplicated in common-mostlyclean, add
4618 stamp-libm-err and stamp-version.
4619 (generated-dirs): Add libc directory.
4620 ($(inst_infodir)/libc.info): Install files from build dir.
4621
4622 * manual/install.texi (Configuring and compiling): Adjust since
4623 the info files are not part of the tar ball anymore.
4624
7ac77294
AJ
46252012-05-14 Andreas Jaeger <aj@suse.de>
4626
4627 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
4628 variable.
4629
ffb7875d
JM
46302012-05-14 Joseph Myers <joseph@codesourcery.com>
4631
4632 [BZ #13717]
4633 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
4634 to 2.2.0 where earlier.
4635 * sysdeps/unix/sysv/linux/configure: Regenerated.
4636 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
4637 Remove conditional code.
4638 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
4639 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
4640 Remove conditional code.
4641 [!__NR_lchown]: Likewise.
4642 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
4643 [__NR_lchown]: Likewise.
4644 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
4645 comment referencing __ASSUME_LCHOWN_SYSCALL.
4646 * sysdeps/unix/sysv/linux/i386/sigaction.c
4647 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4648 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4649 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
4650 Remove conditional code.
4651 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
4652 (__protocol_available): Remove #if 0 code.
4653 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
4654 conditional code.
4655 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
4656 * sysdeps/unix/sysv/linux/kernel-features.h
4657 (__ASSUME_GETCWD_SYSCALL): Don't define.
4658 (__ASSUME_REALTIME_SIGNALS): Likewise.
4659 (__ASSUME_PREAD_SYSCALL): Likewise.
4660 (__ASSUME_PWRITE_SYSCALL): Likewise.
4661 (__ASSUME_POLL_SYSCALL): Likewise.
4662 (__ASSUME_LCHOWN_SYSCALL): Likewise.
4663 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
4664 non-SPARC.
4665 (__ASSUME_SIOCGIFNAME): Don't define.
4666 (__ASSUME_MSG_NOSIGNAL): Likewise.
4667 (__ASSUME_SENDFILE): Define unconditionally.
4668 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
4669 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
4670 conditional code.
4671 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
4672 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
4673 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
4674 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
4675 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
4676 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
4677 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
4678 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
4679 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
4680 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4681 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
4682 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
4683 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4684 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
4685 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4686 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4687 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
4688 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4689 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
4691 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
4692 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
4694 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
4695 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
4697 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4698 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
4700 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4701 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4702 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
4703 Remove conditional code.
4704 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4705 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
4706 Remove conditional code.
4707 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4708 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
4709 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
4710 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
4711 Remove conditional code.
4712 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4713 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
4714 Remove conditional code.
4715 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4716 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
4717 Remove conditional code.
4718 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4719 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
4720 Remove conditional code.
4721 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4722 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
4723 Remove conditional code.
4724 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4725 * sysdeps/unix/sysv/linux/sh/pwrite64.c
4726 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4727 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4728 * sysdeps/unix/sysv/linux/sigaction.c
4729 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4730 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4731 * sysdeps/unix/sysv/linux/sigpending.c
4732 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4733 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4734 * sysdeps/unix/sysv/linux/sigprocmask.c
4735 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4736 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4737 * sysdeps/unix/sysv/linux/sigsuspend.c
4738 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4739 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4740 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
4741 (__libc_missing_rt_sigs): Remove.
4742 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
4743 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
4744 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
4745 Remove conditional code.
4746 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
4747 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
4748 return 1.
4749 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
4750 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
4751 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
4752 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
4753
1bfb7291
AJ
47542012-05-14 Andreas Jaeger <aj@suse.de>
4755
caae5a81
AJ
4756 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
4757 it's not used in glibc.
4758 (__coshm1): Likewise.
4759 (__acosh1p): Likewise.
4760 (__sgn): Likewise.
4761
1bfb7291
AJ
4762 * manual/string.texi (Copying and Concatenation): Add missing
4763 variable in concat example.
4764 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
4765
c044d724
L
47662012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4767
144c5467 4768 [BZ #14103]
c044d724
L
4769 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
4770 __builtin_clzl with __builtin_clzll.
4771
2523c62b
L
47722012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4773
4774 [BZ #14104]
4775 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
4776 libc_freeres_ptr.
4777
d7bb4c42
LD
47782012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4779
4780 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
4781 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
4782 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
4783 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
4784
9dc4e1fb
MF
47852012-05-14 Mike Frysinger <vapier@gentoo.org>
4786
4787 * NEWS: Update ia64 info.
4788
c7df0112
AS
47892012-05-12 Andreas Schwab <schwab@linux-m68k.org>
4790
4791 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
4792 used as bcopy.
4793
dc70356c
TS
47942012-05-12 Thomas Schwinge <thomas@codesourcery.com>
4795
4796 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
4797 * sysdeps/unix/syscalls.list (dup3): Likewise.
4798 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
4799 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
4800
9fb1a21f
L
48012012-05-11 H.J. Lu <hongjiu.lu@intel.com>
4802
4803 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
4804 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
4805
4822a2a5
L
48062012-05-11 H.J. Lu <hongjiu.lu@intel.com>
4807
4808 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
4809 thread pointer.
4810 (TLS_IE): Use mov/add instead of movq/addq to load thread
4811 pointer.
4812 (TLS_GD_PREFIX): New.
4813 (TLS_GD): Use it.
4814
842b81d6
DM
48152012-05-11 David S. Miller <davem@davemloft.net>
4816
4817 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
4818 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
4819 (_FPU_SETCW): Likewise.
4820
1cf463cd
L
48212012-05-10 H.J. Lu <hongjiu.lu@intel.com>
4822
4823 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
4824 is 32-byte aligned.
4825
60cc4a18
AS
48262012-05-11 Andreas Schwab <schwab@linux-m68k.org>
4827
4828 [BZ #11837]
4829 * iconvdata/gb18030.c: Update tables.
4830 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
4831 characters specially.
4832 (BODY for TO_LOOP): Add encoding of missing ranges.
4833
febb44a4
TS
48342012-05-11 Thomas Schwinge <thomas@codesourcery.com>
4835
4836 [BZ #13673]
4837 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
4838 * sysdeps/mach/hurd/dup3.c: Likewise.
4839 * sysdeps/mach/hurd/readlinkat.c: Likewise.
4840 * sysdeps/powerpc/memmove.c:: Likewise.
4841
0a10fb9e
L
48422012-05-10 H.J. Lu <hongjiu.lu@intel.com>
4843
4844 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
4845 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
4846
df8a552f
L
48472012-05-10 H.J. Lu <hongjiu.lu@intel.com>
4848
4849 * elf/elf.h (R_X86_64_RELATIVE64): New.
4850 (R_X86_64_NUM): Updated.
4851 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
4852 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
4853 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
4854 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
4855 tst-quad1pie tst-quad2pie
4856 (modules-names): Add tst-quadmod1 tst-quadmod2.
4857 ($(objpfx)tst-quad1): New dependency.
4858 ($(objpfx)tst-quad2): Likewise.
4859 ($(objpfx)tst-quad1pie): Likewise.
4860 ($(objpfx)tst-quad2pie): Likewise.
4861 * sysdeps/x86_64/tst-quad1.c: New file.
4862 * sysdeps/x86_64/tst-quad1pie.c: New file.
4863 * sysdeps/x86_64/tst-quad2.c: Likewise.
4864 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
4865 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
4866 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
4867 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
4868 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
4869
f34d6f84
ST
48702012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4871
f42d41d1
ST
4872 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
4873 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
4874 * streams/stropts.h (t_scalar_t): Define type.
4875
3c3571fc
ST
4876 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
4877 (_PATH_PRESERVE): Set to "/var/lib".
4878 (_PATH_RWHODIR): Set to "/var/spool/rwho".
4879
61f06bd3
ST
4880 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
4881 instead of int.
4882
918d4d71
ST
4883 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
4884 if __dir_mkfile succeeded.
4885
f34d6f84
ST
4886 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
4887 checking for _hurd_dtablesize. Unlock it right after having
4888 finished _hurd_dtable allocation.
4889
10589b4a
TS
48902012-05-10 Thomas Schwinge <thomas@schwinge.name>
4891
674cdbc7
TS
4892 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
4893 * sysdeps/mach/hurd/configure: Regenerated.
4894 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
4895 special-casing to...
4896 * sysdeps/gnu/configure.in: ... this new file.
4897 * sysdeps/unix/sysv/linux/configure: Regenerated.
4898 * sysdeps/gnu/configure: New generated file.
4899
8e41b99f
TS
4900 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
4901 for Linux: use nsec instead of usec, as well as:
4902 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
4903 members of type struct timespec.
4904 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
4905 New macros.
4906 (struct stat64): Likewise.
4907 (_STATBUF_ST_NSEC): New macro.
4908 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
4909
10589b4a
TS
4910 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
4911 __strtoul_internal rather than strtoul.
4912
63643c85
PT
49132012-05-10 Pino Toscano <toscano.pino@tiscali.it>
4914
4915 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
4916 and reject them.
4917
3faebe6a
ST
49182012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4919
4920 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
4921 which preserves existing values.
4922 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
4923
c6474b07
PT
49242012-05-10 Pino Toscano <toscano.pino@tiscali.it>
4925
4926 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
4927 TIMEOUT values. Return EINVAL for NFDS values either negative or
4928 greater than FD_SETSIZE.
4929
1043890b
ST
49302012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4931
4932 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
4933 allocated, call __vm_protect to finish enabling the existing space, and
4934 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
4935 allocate the remainder.
4936
37ed8b9b
PT
49372012-05-10 Pino Toscano <toscano.pino@tiscali.it>
4938
4939 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
4940 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
4941
db653660
ST
49422012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4943
37ed8b9b
PT
4944 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
4945 sysdeps/mach/hurd/readlink.c.
b29d4053 4946
db653660
ST
4947 * posix/tst-sysconf.c (posix_options): Only use
4948 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
4949 _POSIX_SYNCHRONIZED_IO when they are defined
4950 * sysdeps/mach/hurd/bits/posix_opt.h:
4951 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
4952 (_XOPEN_REALTIME): Undefine macro.
4953 (_XOPEN_REALTIME_THREADS): Undefine macro.
4954 (_XOPEN_SHM): Undefine macro.
4955 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
4956 macro to -1.
4957 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
4958 macro to -1.
4959 (_POSIX_ASYNC_IO): Undefine macro.
4960 (_POSIX_PRIORITIZED_IO): Undefine macro.
4961 (_POSIX_SPIN_LOCKS): Define macro to -1.
4962
ee16e894
ST
4963 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
4964 SA_NODEFER, SA_RESETHAND.
4965 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
4966 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
4967 F_DUPFD_CLOEXEC.
4968
6103ae3b
TS
49692012-05-10 Thomas Schwinge <thomas@schwinge.name>
4970
4971 * elf/Makefile (pldd-modules): Define unconditionally.
4972
80b4e5f3
TS
49732012-05-10 Thomas Schwinge <thomas@schwinge.name>
4974
4975 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
4976
edadcbd6
ST
49772012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4978
4979 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
4980 Return ENOENT when name is empty.
4981 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
4982
80694780
TS
49832012-05-10 Thomas Schwinge <thomas@schwinge.name>
4984
1792c087
TS
4985 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
4986
80694780
TS
4987 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
4988
6b645f0d
ST
49892012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4990
80694780
TS
4991 Fix mlock in all cases except non-readable pages.
4992 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
4993 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 4994
6b645f0d
ST
4995 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
4996 (__mkdir): When path is `/', just fail with EEXIST.
4997 * sysdeps/mach/hurd/mkdirat.c: Likewise.
4998
e468f8a3
TS
49992012-05-10 Thomas Schwinge <thomas@schwinge.name>
5000
5001 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
5002 <sys/uio.h> (for writev).
5003 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
5004 and <sys/param.h> (for MIN).
5005
a4186cff
PT
50062012-05-10 Pino Toscano <toscano.pino@tiscali.it>
5007
5008 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
5009 REQUESTED_TIME. Properly set the remaining time and return EINTR
5010 if interrupted.
5011
510bbf14
TS
50122012-05-10 Thomas Schwinge <thomas@schwinge.name>
5013
5014 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
5015 Depend on against $(link-rpcuserlibs).
5016
5d5722e8
ST
50172012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5018
a4186cff
PT
5019 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
5020 (__libc_stack_end): Do not use attribute_relro.
5021 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
5022 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 5023 to libthread-provided value.
a4186cff
PT
5024 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
5025 attribute_relro.
5d5722e8 5026
37233df9
TS
50272012-05-10 Thomas Schwinge <thomas@schwinge.name>
5028
be971a2b
TS
5029 [BZ #3748]
5030 * bits/libc-lock.h (__libc_once_get): New macro.
5031 * sysdeps/mach/bits/libc-lock.h: Likewise.
5032 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
5033 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
5034 instead of using implementation details.
5035
37233df9
TS
5036 * libio/fileops.c: Unconditionally include <kernel-features.h>.
5037 * libio/freopen.c: Likewise.
5038 * libio/freopen64.c: Likewise.
5039 * misc/syslog.c: Likewise.
5040 * nscd/connections.c: Likewise.
5041 * nscd/netgroupcache.c: Likewise.
5042 * sysdeps/posix/getcwd.c: Likewise.
5043
38de94a5
RM
50442012-05-10 Roland McGrath <roland@hack.frob.com>
5045
5046 * math/w_ilogbf.c: Add #include <limits.h>.
5047
67530489
ST
50482012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5049
a4186cff 5050 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
5051 path instead of returning without unlocking.
5052
67530489
ST
5053 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
5054 immediate-write ioctls.
5055 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
5056
5aa3a74a
TS
50572012-05-10 Thomas Schwinge <thomas@schwinge.name>
5058
18bad2ae
TS
5059 * sysdeps/mach/hurd/i386/init-first.c (init): Use
5060 __builtin_frame_address instead of making assumptions about the
5061 location of the return address relative to DATA. Force early load of
5062 the return address.
5063 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
5064 __builtin_frame_address.
5065
5aa3a74a
TS
5066 dup3 for GNU Hurd.
5067 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
5068 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
5069 implement dup3 and do some further code clean-ups.
5070 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
5071 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
5072
ecd0de9a
ST
50732012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5074
cd9fa985
ST
5075 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
5076
a4186cff
PT
5077 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
5078 HURD_CRITICAL_END around holding _hurd_dtable_lock.
5079 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
5080 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
5081 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
5082 d->port.lock.
802ca5a5 5083
a4186cff
PT
5084 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
5085 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
5086 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 5087
bcf55240
TS
50882012-05-10 Thomas Schwinge <thomas@schwinge.name>
5089
6960eb42
TS
5090 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
5091 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
5092 definitions.
5093
eb43375f
TS
5094 accept4 for GNU Hurd.
5095 * include/sys/socket.h (__libc_accept4): New prototype.
5096 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
5097 to implement __libc_accept4.
5098 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
5099 __libc_accept4.
5100 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
5101
bcf55240
TS
5102 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
5103 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
5104 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
5105 signal-defines.sym.
5106
6178c55b
ST
51072012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5108
a4186cff 5109 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 5110
6f080c2f
TS
51112012-05-10 Thomas Schwinge <thomas@schwinge.name>
5112
5113 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
5114 assertion on O_CLOEXEC flag.
5115 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
5116 * hurd/intern-fd.c: Likewise.
5117 * hurd/port2fd.c: Likewise.
5118
bcfe3a54
ST
51192012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5120
5121 [BZ #3906]
5122 * bits/in.h (IPV6_PKTINFO): Define new macro.
5123 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
5124
89c9aa49
AZ
51252012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5126
5127 [BZ #13954]
5128 [BZ #13955]
5129 [BZ #13956]
5130 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
5131 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
5132 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
5133 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
5134 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5135 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
5136 * math/libm-test.inc (logb_test) : Additional logb tests.
5137
021db4be
AJ
51382012-05-09 Andreas Schwab <schwab@linux-m68k.org>
5139 Andreas Jaeger <aj@suse.de>
5140
5141 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
5142 * configure: Regenerated.
5143 * config.h.in (LINK_OBSOLETE_RPC): New macro.
5144 * config.make.in (link-obsolete-rpc): New substituted variable.
5145 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
5146 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
5147 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
5148 (shared-only-routines): Don't set it under [link-obsolete-rpc],
5149 so that libc.a contains the symbols.
5150 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
5151 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
5152 * sunrpc/auth_none.c: Likewise.
5153 * sunrpc/auth_unix.c: Likewise.
5154 * sunrpc/authdes_prot.c: Likewise.
5155 * sunrpc/authuxprot.c: Likewise.
5156 * sunrpc/clnt_gen.c: Likewise.
5157 * sunrpc/clnt_perr.c: Likewise.
5158 * sunrpc/clnt_raw.c: Likewise.
5159 * sunrpc/clnt_simp.c: Likewise.
5160 * sunrpc/clnt_tcp.c: Likewise.
5161 * sunrpc/clnt_udp.c: Likewise.
5162 * sunrpc/clnt_unix.c: Likewise.
5163 * sunrpc/des_crypt.c: Likewise.
5164 * sunrpc/des_soft.c: Likewise.
5165 * sunrpc/get_myaddr.c: Likewise.
5166 * sunrpc/key_call.c: Likewise.
5167 * sunrpc/key_prot.c: Likewise.
5168 * sunrpc/netname.c: Likewise.
5169 * sunrpc/pm_getmaps.c: Likewise.
5170 * sunrpc/pm_getport.c: Likewise.
5171 * sunrpc/pmap_clnt.c: Likewise.
5172 * sunrpc/pmap_prot.c: Likewise.
5173 * sunrpc/pmap_prot2.c: Likewise.
5174 * sunrpc/pmap_rmt.c: Likewise.
5175 * sunrpc/publickey.c: Likewise.
5176 * sunrpc/rpc_cmsg.c: Likewise.
5177 * sunrpc/rpc_common.c: Likewise.
5178 * sunrpc/rpc_dtable.c: Likewise.
5179 * sunrpc/rpc_prot.c: Likewise.
5180 * sunrpc/rpc_thread.c: Likewise.
5181 * sunrpc/rtime.c: Likewise.
5182 * sunrpc/svc.c: Likewise.
5183 * sunrpc/svc_auth.c: Likewise.
5184 * sunrpc/svc_raw.c: Likewise.
5185 * sunrpc/svc_run.c: Likewise.
5186 * sunrpc/svc_tcp.c: Likewise.
5187 * sunrpc/svc_udp.c: Likewise.
5188 * sunrpc/svc_unix.c: Likewise.
5189 * sunrpc/svcauth_des.c: Likewise.
5190 * sunrpc/xcrypt.c: Likewise.
5191 * sunrpc/xdr.c: Likewise.
5192 * sunrpc/xdr_array.c: Likewise.
5193 * sunrpc/xdr_float.c: Likewise.
5194 * sunrpc/xdr_intXX_t.c: Likewise.
5195 * sunrpc/xdr_mem.c: Likewise.
5196 * sunrpc/xdr_rec.c: Likewise.
5197 * sunrpc/xdr_ref.c: Likewise.
5198 * sunrpc/xdr_sizeof.c: Likewise.
5199 * sunrpc/xdr_stdio.c: Likewise.
5200
b5c086a2
RM
52012012-05-10 Roland McGrath <roland@hack.frob.com>
5202
5203 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
5204 change. Update copyright years.
5205
6d74dd09
JM
52062012-05-10 Joseph Myers <joseph@codesourcery.com>
5207
5208 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
5209
28e72501
MK
52102012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
5211 Joseph Myers <joseph@codesourcery.com>
5212 Paul Pluzhnikov <ppluzhnikov@google.com>
5213
5214 [BZ #14012]
5215 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
5216 requiring rpcgen.
5217 [cross-compiling] (extra-libs): Likewise.
5218 [cross-compiling] (extra-libs-others): Likewise.
5219 [cross-compiling] (librpcsvc-routines): Likewise.
5220 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
5221 [cross-compiling] (omit-deps): Likewise.
5222 (sunrpc-CPPFLAGS): New variable.
5223 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
5224 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
5225 (cross-rpcgen-objs): New variable.
5226 (extra-objs): Append $(cross-rpcgen-objs).
5227 ($(cross-rpcgen-objs)): New rule.
5228 ($(objpfx)cross-rpcgen): Likewise.
5229 (rpcgen-cmd): Define to use $(built-program-file). Expand
5230 comment.
5231 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
5232 ($(objpfx)x%.stmp): Likewise.
5233 * sunrpc/proto.h [IS_IN_build] (_): Define.
5234 [IS_IN_build] (_libc_intl_domainname): Likewise.
5235
c8c59454
L
52362012-05-10 H.J. Lu <hongjiu.lu@intel.com>
5237
5238 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
5239 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
5240 and R_X86_64_TPOFF64.
5241
6f27cd16
JM
52422012-05-10 Joseph Myers <joseph@codesourcery.com>
5243
5244 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
5245 sysdeps/unix/sysv/syscalls.list.
5246 (stime): Likewise.
5247 (utime): Likewise.
5248 * sysdeps/unix/sysv/syscalls.list: Remove file.
5249
02467e1c
PE
52502012-05-10 Paul Eggert <eggert@cs.ucla.edu>
5251
5252 [BZ #3440]
5253 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
5254 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
5255 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
5256 (__LC_IDENTIFICATION): Make these macros useful in #if
5257 expressions, as required by C99.
5258
da392631
AS
52592012-05-10 Andreas Schwab <schwab@linux-m68k.org>
5260
5261 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
5262 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
5263 after this.
5264
8115f29b
L
52652012-05-09 H.J. Lu <hongjiu.lu@intel.com>
5266
5267 * stdlib/longlong.h: Updated from GCC.
5268
bdd74070
AJ
52692012-05-09 Andreas Jaeger <aj@suse.de>
5270
edfe0dbe
AJ
5271 * nscd/nscd.c (run_modes): Make named enum, reorder so that
5272 default is first entry.
5273 (run_mode): Set type.
5274 (main): Remove informal message about syslog.
5275 (options): Fix typo.
5276
bcfe3a54
ST
5277 [BZ #14053]
5278 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 5279 to asm.
bcfe3a54
ST
5280 (lrint): Likewise.
5281 (llrintf): Likewise.
5282 (llrint): Likewise.
5283 (rint): Likewise.
5284 (rintf): Likewise.
5285 (nearbyint): Likewise.
5286 (nearbyintf): Likewise.
bdd74070 5287
91d8d69e
AJ
52882012-05-09 Andreas Jaeger <aj@suse.de>
5289 Pedro Alves <palves@redhat.com>
5290
5291 * nscd/nscd.c (run_mode): Use enum.
5292 (main): Cleanup coding style issue.
5293
bb90b80b
AJ
52942012-05-09 Alexandre Oliva <aoliva@redhat.com>
5295 Andreas Jaeger <aj@suse.de>
5296
bcfe3a54
ST
5297 * nscd/nscd.c (go_background): Replaced with...
5298 (run_mode): ... this.
bb90b80b 5299 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
5300 (options): Add -F --foreground.
5301 (main): Implement it.
5302 (parse_opt): Parse it.
bb90b80b 5303
1a4b75a1
AJ
53042012-05-09 Andreas Jaeger <aj@suse.de>
5305
5306 [BZ #14083]
5307 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
5308 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
5309 -Wconversion warning.
5310 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
5311 Likewise.
5312
b1cc2472
JM
53132012-05-09 Joseph Myers <joseph@codesourcery.com>
5314
5315 * conform/data/locale.h-data (NULL): Use macro-constant. Require
5316 == 0.
5317 (LC_ALL): Use macro-int-constant.
5318 (LC_COLLATE): Likewise.
5319 (LC_CTYPE): Likewise.
5320 (LC_MESSAGES): Likewise.
5321 (LC_MONETARY): Likewise.
5322 (LC_NUMERIC): Likewise.
5323 (LC_TIME): Likewise.
5324 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
5325 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
5326 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5327 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
5328 Specify type.
5329 [C99-based standards] (float_t): Expect type.
5330 [C99-based standards] (double_t): Expect type.
5331 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
5332 type.
5333 [C99-based standards] (HUGE_VALL): Likewise.
5334 [C99-based standards] (INFINITY): Likewise.
5335 [C99-based standards] (NAN): Likewise.
5336 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
5337 [C99-based standards] (FP_NAN): Likewise.
5338 [C99-based standards] (FP_NORMAL): Likewise.
5339 [C99-based standards] (FP_SUBNORMAL): Likewise.
5340 [C99-based standards] (FP_ZERO): Likewise.
5341 [C99-based standards] (FP_FAST_FMA): Use
5342 optional-macro-int-constant. Specify type. Require == 1.
5343 [C99-based standards] (FP_FAST_FMAF): Likewise.
5344 [C99-based standards] (FP_FAST_FMAL): Likewise.
5345 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
5346 [C99-based standards] (FP_ILOGBNAN): Likewise.
5347 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
5348 Specify type.
5349 [C99-based standards] (MATH_ERREXCEPT): Likewise.
5350 [C99-based standards] (math_errhandling): Specify type.
5351 [ISO99 || ISO11] (signgam): Do not allow.
5352 [non-C99-based standards] (copysignf): Do not allow.
5353 [non-C99-based standards] (exp2f): Likewise.
5354 [non-C99-based standards] (log2f): Likewise.
5355 [non-C99-based standards] (modff): Allow.
5356 [non-C99-based standards] (erff): Do not allow.
5357 [non-C99-based standards] (erfcf): Likewise.
5358 [non-C99-based standards] (gammaf): Likewise.
5359 [non-C99-based standards] (hypotf): Likewise.
5360 [non-C99-based standards] (j0f): Likewise.
5361 [non-C99-based standards] (j1f): Likewise.
5362 [non-C99-based standards] (jnf): Likewise.
5363 [non-C99-based standards] (lgammaf): Likewise.
5364 [non-C99-based standards] (tgammaf): Likewise.
5365 [non-C99-based standards] (y0f): Likewise.
5366 [non-C99-based standards] (y1f): Likewise.
5367 [non-C99-based standards] (ynf): Likewise.
5368 [non-C99-based standards] (isnanf): Likewise.
5369 [non-C99-based standards] (acoshf): Likewise.
5370 [non-C99-based standards] (asinhf): Likewise.
5371 [non-C99-based standards] (atanhf): Likewise.
5372 [non-C99-based standards] (cbrtf): Likewise.
5373 [non-C99-based standards] (expm1f): Likewise.
5374 [non-C99-based standards] (ilogbf): Likewise.
5375 [non-C99-based standards] (log1pf): Likewise.
5376 [non-C99-based standards] (logbf): Likewise.
5377 [non-C99-based standards] (nextafterf): Likewise.
5378 [non-C99-based standards] (remainderf): Likewise.
5379 [non-C99-based standards] (rintf): Likewise.
5380 [non-C99-based standards] (scalbf): Likewise.
5381 [non-C99-based standards] (copysignl): Likewise.
5382 [non-C99-based standards] (exp2l): Likewise.
5383 [non-C99-based standards] (log2l): Likewise.
5384 [non-C99-based standards] (modfl): Allow.
5385 [non-C99-based standards] (erfl): Do not allow.
5386 [non-C99-based standards] (erfcl): Likewise.
5387 [non-C99-based standards] (gammal): Likewise.
5388 [non-C99-based standards] (hypotl): Likewise.
5389 [non-C99-based standards] (j0l): Likewise.
5390 [non-C99-based standards] (j1l): Likewise.
5391 [non-C99-based standards] (jnl): Likewise.
5392 [non-C99-based standards] (lgammal): Likewise.
5393 [non-C99-based standards] (tgammal): Likewise.
5394 [non-C99-based standards] (y0l): Likewise.
5395 [non-C99-based standards] (y1l): Likewise.
5396 [non-C99-based standards] (ynl): Likewise.
5397 [non-C99-based standards] (isnanl): Likewise.
5398 [non-C99-based standards] (acoshl): Likewise.
5399 [non-C99-based standards] (asinhl): Likewise.
5400 [non-C99-based standards] (atanhl): Likewise.
5401 [non-C99-based standards] (cbrtl): Likewise.
5402 [non-C99-based standards] (expm1l): Likewise.
5403 [non-C99-based standards] (ilogbl): Likewise.
5404 [non-C99-based standards] (log1pl): Likewise.
5405 [non-C99-based standards] (logbl): Likewise.
5406 [non-C99-based standards] (nextafterl): Likewise.
5407 [non-C99-based standards] (remainderl): Likewise.
5408 [non-C99-based standards] (rintl): Likewise.
5409 [non-C99-based standards] (scalbl): Likewise.
5410 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5411 [non-C99-based standards] (FP_*): Do not allow.
5412 [C99-based standards] (FP_*): Change to
5413 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
5414 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
5415 allow.
5416 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
5417 (SIG_ERR): Likewise.
5418 [X/Open-based standards] (SIG_HOLD): Likewise.
5419 (SIG_IGN): Likewise.
5420 (SIGABRT): Use macro-int-constant. Specify type. Require
5421 positive value.
5422 (SIGFPE): Likewise.
5423 (SIGILL): Likewise.
5424 (SIGINT): Likewise.
5425 (SIGSEGV): Likewise.
5426 (SIGTER): Likewise.
5427 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
5428 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
5429 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
5430 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
5431 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
5432 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
5433 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
5434 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
5435 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
5436 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
5437 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
5438 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
5439 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
5440 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
5441 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
5442 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
5443 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
5444 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
5445 [X/Open-based standards] (SIGTRAP): Likewise.
5446 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
5447 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
5448 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
5449 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
5450 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
5451 allow.
5452
b9f1922d
IW
54532012-05-08 Ian Wienand <ianw@vmware.com>
5454
5455 [BZ #14080]
5456 * time/tzset.c (__tzset_parse_tz): Update default rules for
5457 daylight time changes in the Energy Policy Act of 2005.
5458
1db86e88
AJ
54592012-05-09 Andreas Jaeger <aj@suse.de>
5460
5461 [BZ #13983]
5462 * elf/ldconfig.c (parse_conf): Change string to make clear that
5463 ldconfig only issued a warning if ld.so.conf does not exist.
5464
dee4a4e3
DM
54652012-05-08 David S. Miller <davem@davemloft.net>
5466
ee0db190
DM
5467 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
5468 movxtod instead of popping the value on the stack.
5469
dee4a4e3
DM
5470 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5471
6a43ec98
CD
54722012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
5473
5474 * config.h.in: Add HAVE_ARM_PCS_VFP.
5475
05c2c961
RMG
54762012-05-08 Roland Mc Grath <roland@hack.frob.com>
5477
bcfe3a54
ST
5478 [BZ #13979]
5479 * include/features.h: Warn if user requests __FORTIFY_SOURCE
5480 checking but the checks are disabled for any reason.
05c2c961 5481
4b30f61a
L
54822012-05-08 H.J. Lu <hongjiu.lu@intel.com>
5483
5484 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
5485 and ELF64_R_TYPE with ELFW(R_TYPE).
5486
eee2bc67
JM
54872012-05-08 Joseph Myers <joseph@codesourcery.com>
5488
7ea5391a
JM
5489 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
5490 (ulimit): Likewise.
5491
eee2bc67
JM
5492 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
5493 (settimeofday): Likewise.
5494
abb66a67
MF
54952012-05-08 Mike Frysinger <vapier@gentoo.org>
5496
5497 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
5498 a struct th_u2 inside the union, and move tu_block/tu_code into
5499 a new th_u3 union of tu_block/tu_code inside of that. Move
5500 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
5501 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
5502 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
5503 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
5504 (th_stuff): Change to th_u1.tu_stuff.
5505 (th_data): Define.
5506 (th_msg): Change to th_u1.th_u2.tu_data.
5507
7f18b530
DM
55082012-05-07 David S. Miller <davem@davemloft.net>
5509
05760585
DM
5510 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5511
7f18b530
DM
5512 [BZ #14074]
5513 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
5514 (SETUP_PIC_REG): Use it.
5515 (SETUP_PIC_REG_LEAF): Use it.
5516
495fd99f
JM
55172012-05-07 Joseph Myers <joseph@codesourcery.com>
5518
5519 [BZ #13885]
5520 [BZ #13923]
5521 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5522 USE_AS_EXPM1L.
5523 (EXPL_FINITE): Likewise.
5524 (FLDLOG): Likewise.
5525 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
5526 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
5527 e_expl.S.
5528 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5529 USE_AS_EXPM1L.
5530 (EXPL_FINITE): Likewise.
5531 (FLDLOG): Likewise.
5532 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
5533 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
5534 e_expl.S.
5535 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
5536 test of -max_value argument for long double.
5537 * sysdeps/i386/fpu/libm-test-ulps: Update.
5538 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5539
6693d694
DM
55402012-05-06 David S. Miller <davem@davemloft.net>
5541
5542 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
5543 quad soft-float symbols whose references which are compiler
5544 generated.
5545 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
5546
6c23e11c
JM
55472012-05-06 Joseph Myers <joseph@codesourcery.com>
5548
d8b82cad
JM
5549 [BZ #13884]
5550 [BZ #13914]
5551 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5552 USE_AS_EXP10L.
5553 (EXPL_FINITE): Likewise.
5554 (FLDLOG): Likewise.
5555 (c0): Likewise.
5556 (c1): Likewise.
5557 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
5558 Adjust comments for base varying.
5559 (__expl_finite): Change alias to EXPL_FINITE.
5560 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
5561 e_expl.S.
5562 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
5563 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
5564 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
5565 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
5566 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5567 USE_AS_EXP10L.
5568 (EXPL_FINITE): Likewise.
5569 (FLDLOG): Likewise.
5570 (c0): Likewise.
5571 (c1): Likewise.
5572 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
5573 Adjust comments for base varying.
5574 (__expl_finite): Change alias to EXPL_FINITE.
5575 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
5576 tests for bugs.
5577 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5578
6c23e11c
JM
5579 [BZ #14064]
5580 * math/libm-test.inc (check_float_internal): Correct ulp
5581 calculation for subnormal expected results.
5582
29ba805c
AJ
55832012-05-06 Andreas Jaeger <aj@suse.de>
5584
5585 * Makeconfig (+math-flags): New, set to -frounding-math.
5586 (+cflags): Add +math-flags so that all of glibc gets compiled with
5587 it.
5588
5589 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
5590
7b17aeda
JM
55912012-05-05 Joseph Myers <joseph@codesourcery.com>
5592
5779f134
JM
5593 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
5594 Disable one test.
5595
41498f4d
JM
5596 [BZ #13787]
5597 [BZ #13922]
5598 [BZ #14036]
5599 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
5600 (__ieee754_expl): Allow for and saturate large arguments.
5601 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
5602 (u_threshold): Likewise.
5603 (__exp): Call __ieee754_exp before checking for overflow and
5604 underflow.
5605 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
5606 (u_threshold): Likewise.
5607 (__expf): Call __ieee754_expf before checking for overflow and
5608 underflow.
5609 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
5610 (u_threshold): Likewise.
5611 (__expl): Call __ieee754_expl before checking for overflow and
5612 underflow.
5613 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
5614 (__ieee754_expl): Allow for and saturate large arguments.
5615 * math/libm-test.inc (exp_test): Add another test. Do not allow
5616 missing overflow exception on overflow.
5617 (expm1_test): Do not allow missing overflow exception on overflow.
5618
6698b8bf
JM
5619 * sysdeps/i386/fpu/e_expl.c: Move to ...
5620 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
5621 rather than using inline asm.
5622 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
5623 * sysdeps/x86_64/fpu/e_expl.S: Copy from
5624 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
5625
7b17aeda
JM
5626 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
5627 (nice): Likewise.
5628 (poll): Likewise.
5629 (signal): Likewise.
5630 (time): Likewise.
5631 (times): Likewise.
5632
f7c85819
JM
56332012-05-04 Joseph Myers <joseph@codesourcery.com>
5634
5635 * sysdeps/unix/syscalls.list (adjtime): Add entry from
5636 sysdeps/unix/common/syscalls.list.
5637 (fchmod): Likewise.
5638 (fchown): Likewise.
5639 (ftruncate): Likewise.
5640 (getrusage): Likewise.
5641 (gettimeofday): Likewise.
5642 (setpgid): Likewise.
5643 (setregid): Likewise.
5644 (setreuid): Likewise.
5645 (sigaction): Likewise.
5646 (truncate): Likewise.
5647 (vhangup): Likewise.
5648 * sysdeps/unix/common/syscalls.list: Remove file.
5649 * sysdeps/unix/bsd/Implies: Don't include unix/common.
5650 * sysdeps/unix/sysv/linux/Implies: Likewise.
5651
336270d0
L
56522012-05-04 H.J. Lu <hongjiu.lu@intel.com>
5653
5654 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
5655 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
5656 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
5657 Moved to ...
5658 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
5659 Here.
5660 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
5661 to ...
5662 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
5663 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
5664 to ...
5665 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
5666 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
5667 to ...
5668 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
5669 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
5670 to ...
5671 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
5672 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
5673 to ...
5674 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
5675 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
5676 to ...
5677 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
5678 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
5679 to ...
5680 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
5681 Here.
5682 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
5683 to ...
5684 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
5685 Here.
5686 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
5687 to ...
5688 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
5689 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
5690 Moved to ...
5691 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
5692 Here.
5693 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
5694 to ...
5695 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
5696
d128e450
JM
56972012-05-04 Joseph Myers <joseph@codesourcery.com>
5698
fa8ee516
JM
5699 * sysdeps/unix/common/bits/dirent.h: Remove file.
5700 * sysdeps/unix/common/bits/fcntl.h: Likewise.
5701
d128e450
JM
5702 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
5703 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
5704 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
5705 * sysdeps/unix/bsd/isatty.c: Likewise.
5706 * sysdeps/unix/bsd/tcdrain.c: Likewise.
5707 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
5708 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
5709
ff8faaf0 57102012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 5711
62881be4 5712 [BZ #13563]
31dc8730
AZ
5713 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
5714 long double comparison inaccuracies.
5715 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
5716 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5717
6fef930c
AS
57182012-05-04 Andreas Schwab <schwab@linux-m68k.org>
5719
5720 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
5721 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
5722
8f203e6c
JM
57232012-05-04 Joseph Myers <joseph@codesourcery.com>
5724
5725 [BZ #14049]
5726 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
5727 nonzero digits before rounding a hex value.
5728 * stdlib/tst-strtod.c (tests): Add another test.
5729
5197d9c2
AK
57302012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5731
5732 * sysdeps/s390/fpu/libm-test-ulps: Update.
5733
f0c1dedf
AJ
57342012-05-03 Andreas Jaeger <aj@suse.de>
5735
5736 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
5737 does not get optimized out.
5738 (malloc_opt_barrier): New.
5739
a65ef2ae 57402012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 5741 Roland McGrath <roland@hack.frob.com>
a65ef2ae 5742
2b942cb7 5743 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 5744 intermediate file deletion.
2b942cb7 5745 (generated): Add .symlist files.
a65ef2ae 5746
54b71e02
JM
57472012-05-03 Joseph Myers <joseph@codesourcery.com>
5748
5749 [BZ #13775]
5750 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
5751 Redirect under this condition.
5752 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
5753 [__USE_GNU] (__dprintf_chk): Not under this condition.
5754 [__USE_GNU] (__vdprintf_chk): Likewise.
5755 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
5756 under this condition.
5757 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
5758 [__USE_XOPEN2K8] (dprintf): Define under this condition.
5759 [__USE_XOPEN2K8] (vdprintf): Likewise.
5760 [__USE_GNU] (__dprintf_chk): Not under this condition.
5761 [__USE_GNU] (__vdprintf_chk): Likewise.
5762 [__USE_GNU] (dprintf): Likewise.
5763 [__USE_GNU] (vdprintf): Likewise.
5764
d3dfcc41
RM
57652012-05-03 Roland McGrath <roland@hack.frob.com>
5766
5767 * elf/Makefile (common-generated): Set this instead of generated for
5768 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
5769 $(all-built-dso)-derived lists.
5770
7ac30cc5
AJ
57712012-05-03 Andreas Jaeger <aj@suse.de>
5772
0c51e550
AJ
5773 * sysdeps/i386/fpu/libm-test-ulps: Update.
5774
7ac30cc5
AJ
5775 * FAQ: Removed.
5776 * FAQ.in: Likewise.
5777 * scripts/gen-FAQ.pl: Likewise.
5778 * manual/install.texi (Installation): Point to online location of
5779 FAQ.
5780 * Makefile (files-for-dist): Remove FAQ.
5781 (FAQ): Remove.
5782
d4c2917f
AM
57832012-05-02 Allan McRae <allan@archlinux.org>
5784
5785 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
5786 (LDFLAGS-reldepmod5.so): Likewise.
5787 (LDFLAGS-reldep6mod1.so): Likewise.
5788 (LDFLAGS-reldep6mod4.so): Likewise.
5789 (LDFLAGS-reldep8mod3.so): Likewise.
5790 (LDFLAGS-unload4mod1.so): Likewise.
5791 (LDFLAGS-unload4mod2.so): Likewise.
5792 (LDFLAGS-tst-initorder): Likewise.
5793 (LDFLAGS-tst-initordera2.so): Likewise.
5794 (LDFLAGS-tst-initordera3.so): Likewise.
5795 (LDFLAGS-tst-initordera4.so): Likewise.
5796 (LDFLAGS-tst-initorderb2.so): Likewise.
5797 (LDFLAGS-noload): Likewise.
5798 (LDFLAGS-next): Likewise.
5799 (LDFLAGS-order2mod1.so): Likewise.
5800 (LDFLAGS-order2mod2.so): Likewise.
5801 (LDFLAGS-tst-initorder2): Likewise.
5802 (LDFLAGS-tst-initorder2a.so): Likewise.
5803 (LDFLAGS-tst-initorder2b.so): Likewise.
5804 (LDFLAGS-tst-initorder2c.so): Likewise.
5805 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
5806
d77f993f
DM
58072012-05-02 David S. Miller <davem@davemloft.net>
5808
5809 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5810
171a70b4
PP
58112012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
5812
5813 [BZ #14055]
5814 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
5815
0be196ad
AJ
58162012-05-02 Andreas Jaeger <aj@suse.de>
5817
5818 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
5819 since we manipulate rounding mode.
5820 (CPPFLAGS-test-idouble.c): Likewise.
5821 (CPPFLAGS-test-ifloat.c): Likewise.
5822 (CFLAGS-test-ldouble.c): Likewise.
5823 (CFLAGS-test-double.c): Likewise.
5824 (CFLAGS-test-float.c): Likewise.
5825 (CFLAGS-test-misc.c): Likewise.
5826 (CFLAGS-test-test-fenv.c): Likewise.
5827
4f9d04aa
AZ
58282012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5829
2b942cb7
RM
5830 [BZ #2550]
5831 [BZ #2570]
5832 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
5833 comparisons to determine direction to adjust input.
4f9d04aa 5834
82a79e7d
RM
58352012-05-01 Roland McGrath <roland@hack.frob.com>
5836
f5a01ca9
RM
5837 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
5838 output to the target.
5839
90fe4186
RM
5840 * scripts/localplt.awk: New file.
5841 * elf/Makefile ($(objpfx)check-localplt): Target removed.
5842 (check-localplt-CFLAGS): Variable removed.
5843 ($(all-built-dso:=.jmprel)): New static pattern rule.
5844 (generated): Add those targets.
5845 (localplt-built-dso): New variable.
5846 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
5847
5848 * elf/check-localplt.c: File removed.
5849
82397ed6
RM
5850 * scripts/check-execstack.awk: New file.
5851 * elf/Makefile ($(objpfx)check-execstack): Target removed.
5852 (check-execstack-CFLAGS): Variable removed.
5853 ($(objpfx)check-execstack.h): Target removed.
5854 ($(objpfx)execstack-default): New target.
5855 (generated): Add that instead of check-execstack.h.
5856 ($(all-built-dso:=.phdr)): New static pattern rule.
5857 (generated): Add those targets.
5858 * elf/check-execstack.c: File removed.
5859
82a79e7d
RM
5860 * scripts/check-textrel.awk: New file.
5861 * elf/Makefile ($(objpfx)check-textrel): Target removed.
5862 (check-textrel-CFLAGS): Variable removed.
5863 (all-built-dso): Use := to define.o
5864 ($(all-built-dso:=.dyn)): New static pattern rule.
5865 (generated): Add those targets.
5866 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
5867 * config.make.in (READELF): New substituted variable.
5868 * elf/check-textrel.c: File removed.
5869
62fde54f 58702012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 5871
615605c9
JM
5872 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
5873 allow.
5874 * conform/data/ctype.h-data [C99-based standards] (isblank):
5875 Expect function.
5876 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
5877 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
5878 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5879 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
5880 Specify type. Require positive value.
5881 (EILSEQ): Likewise.
5882 (ERANGE): Likewise.
5883 [ISO || POSIX] (EILSEQ): Do not expect.
5884 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
5885 Specify type. Require positive value.
5886 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
5887 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
5888 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
5889 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
5890 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
5891 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
5892 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
5893 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
5894 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
5895 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
5896 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
5897 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
5898 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
5899 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
5900 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
5901 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
5902 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
5903 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
5904 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
5905 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
5906 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
5907 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
5908 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
5909 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
5910 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
5911 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
5912 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
5913 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
5914 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
5915 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
5916 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
5917 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
5918 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
5919 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
5920 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
5921 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
5922 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
5923 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
5924 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
5925 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
5926 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
5927 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
5928 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
5929 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
5930 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
5931 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
5932 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
5933 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
5934 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
5935 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
5936 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
5937 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
5938 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
5939 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
5940 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
5941 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
5942 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
5943 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
5944 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
5945 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
5946 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
5947 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
5948 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
5949 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
5950 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
5951 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
5952 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
5953 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
5954 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
5955 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
5956 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
5957 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
5958 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
5959 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
5960 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
5961 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
5962 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
5963 Require >= 2.
5964 (FLT_ROUNDS): Expect as macro, not constant.
5965 (FLT_MANT_DIG): Use macro-int-constant.
5966 (DBL_MANT_DIG): Likewise.
5967 (LDBL_MANT_DIG): Likewise.
5968 (FLT_DIG): Likewise.
5969 (DBL_DIG): Likewise.
5970 (LDBL_DIG): Likewise.
5971 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
5972 (DBL_MIN_EXP): Likewise.
5973 (LDBL_MIN_EXP): Likewise.
5974 (FLT_MAX_EXP): Use macro-int-constant.
5975 (DBL_MAX_EXP): Likewise.
5976 (LDBL_MAX_EXP): Likewise.
5977 (FLT_MAX_10_EXP): Likewise.
5978 (DBL_MAX_10_EXP): Likewise.
5979 (LDBL_MAX_10_EXP): Likewise.
5980 (FLT_MAX): Use macro-constant.
5981 (DBL_MAX): Likewise.
5982 (LDBL_MAX): Likewise.
5983 (FLT_EPSILON): Use macro-constant. Give upper bound.
5984 (DBL_EPSILON): Likewise.
5985 (LDBL_EPSILON): Likewise.
5986 (FLT_MIN): Likewise.
5987 (DBL_MIN): Likewise.
5988 (LDBL_MIN): Likewise.
5989 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
5990 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
5991 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
5992 [ISO11] (FLT_HAS_SUBNORM): Likewise.
5993 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
5994 [ISO11] (DBL_DECIMAL_DIG): Likewise.
5995 [ISO11] (FLT_DECIMAL_DIG): Likewise.
5996 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
5997 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
5998 [ISO11] (FLT_TRUE_MIN): Likewise.
5999 [ISO11] (LDBL_TRUE_MIN): Likewise.
6000 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6001 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
6002 (SCHAR_MIN): Use macro-int-constant. Specify type.
6003 (SCHAR_MAX): Likewise.
6004 (UCHAR_MAX): Likewise.
6005 (CHAR_MIN): Likewise.
6006 (CHAR_MAX): Likewise.
6007 (MB_LEN_MAX): Use macro-int-constant.
6008 (SHRT_MIN): Use macro-int-constant. Specify type.
6009 (SHRT_MAX): Likewise.
6010 (USHRT_MAX): Likewise.
6011 (INT_MAX): Likewise.
6012 (INT_MIN): Use macro-int-constant. Specify type. Make upper
6013 bound negative.
6014 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
6015 bound with "U".
6016 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
6017 bound with "L".
6018 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
6019 bound negative. Suffix upper bound with "L".
6020 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
6021 bound with "UL".
6022 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
6023 Specify type.
6024 [C99-based standards] (LLONG_MAX): Likewise.
6025 [C99-based standards] (ULLONG_MAX): Likewise.
6026 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
6027 == 0.
6028 [ISO11] (max_align_t): Require type.
6029 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6030
c9140a62
JM
6031 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
6032 from $CFLAGS, without defining away __attribute__ calls.
6033 (checknamespace): Use $CFLAGS_namespace.
6034
9af0bf29
JM
6035 * conform/conformtest.pl (@keywords): Only include C99 keywords
6036 for standards based on C99 or C11.
6037
343222a2
JM
6038 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
6039 Disable tests.
6040 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
6041 UNIX98]: Likewise.
6042
661f8cf0
JM
6043 * conform/conformtest.pl: Handle "macro-int-constant" and test for
6044 usability of symbols in #if.
6045
ee74b9cb
JM
6046 * conform/conformtest.pl: If macro or constant types start
6047 "promoted:", expect the symbol to be of the following type
6048 promoted by the integer promotions.
62fde54f 6049
aafc49b3
JM
6050 * conform/conformtest.pl: Parse all "constant" and "macro" lines
6051 in one place. Also handle "macro-constant".
6052
fefdf574
JM
6053 * conform/conformtest.pl: Only accept expected macro values with
6054 "==". Parse all "macro" lines in one place.
6055 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
6056
f2d922fe
JM
6057 * conform/conformtest.pl: Handle braced types on "constant" lines
6058 instead of handling "typed-constant".
6059 * conform/data/signal.h-data: Use "constant" instead of
6060 "typed-constant".
6061
d22956c9
JM
6062 * conform/conformtest.pl: Handle "optional-" at start of lines in
6063 one place rather than duplicating several cases. Handle each
6064 format of "macro" line with initial "optional-".
6065
028e2e38
JM
6066 * conform/conformtest.pl: Only accept expected constant or
6067 optional-constant values with "==". Parse all "constant" lines in
6068 one place. Parse all "optional-constant" lines in one place.
6069 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
6070 * conform/data/fmtmsg.h-data: Likewise.
6071 * conform/data/netinet/in.h-data: Likewise.
6072 * conform/data/tar.h-data: Likewise.
6073 * conform/data/limits.h-data: Use "==" form on "constant" and
6074 "optional-constant" lines.
6075
1b8f2850
JM
6076 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
6077 Use -std=c99 for XOPEN2K.
6078 (@knownproblems): Remove.
6079 (newtoken): Don't check %isknown.
6080
a05a144b
JM
6081 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
6082 Do not expect macro.
6083 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
6084 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
6085 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
6086 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
6087 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
6088 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
6089 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
6090 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
6091 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
6092 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
6093 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
6094 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
6095 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
6096 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
6097 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
6098 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
6099 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
6100 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
6101 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
6102 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
6103 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
6104 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
6105 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
6106 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
6107 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
6108 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
6109 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
6110 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
6111 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
6112 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
6113 [XPG3] (acosh): Likewise.
6114 [XPG3] (asinh): Likewise.
6115 [XPG3] (atanh): Likewise.
6116 [XPG3] (cbrt): Likewise.
6117 [XPG3] (expm1): Likewise.
6118 [XPG3] (ilogb): Likewise.
6119 [XPG3] (log1p): Likewise.
6120 [XPG3] (logb): Likewise.
6121 [XPG3] (nextafter): Likewise.
6122 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
6123 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
6124 [XPG3] (remainder): Likewise.
6125 [XPG3] (rint): Likewise.
6126 [XPG3 || XPG4 || UNIX98] (round): Likewise.
6127 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
6128 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
6129 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
6130 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
6131 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
6132 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
6133 [UNIX98 || XOPEN2K] (scalb): Expect.
6134 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
6135 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
6136 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
6137 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
6138 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
6139 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
6140 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
6141 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
6142 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
6143 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
6144 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
6145 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
6146 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
6147 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
6148 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
6149 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
6150 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
6151 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
6152 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
6153 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
6154 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
6155 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
6156 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
6157 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
6158 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
6159 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
6160 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
6161 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
6162 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
6163 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
6164 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
6165 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
6166 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
6167 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
6168 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
6169 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
6170 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
6171 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
6172 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
6173 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
6174 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
6175 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
6176 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
6177 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
6178 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
6179 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
6180 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
6181 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
6182 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
6183 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
6184 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
6185 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
6186 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
6187 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
6188 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
6189 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
6190 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
6191 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
6192 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
6193 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
6194 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
6195 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
6196 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
6197 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
6198 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
6199 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
6200 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
6201 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
6202 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
6203 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
6204 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
6205 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
6206 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
6207 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
6208 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
6209 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
6210 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
6211 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
6212 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
6213 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
6214 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
6215 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
6216 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
6217 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
6218 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
6219 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
6220 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
6221 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
6222 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
6223 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
6224 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
6225 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
6226 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
6227 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
6228 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
6229 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
6230 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
6231 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
6232 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
6233 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
6234 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
6235 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
6236 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
6237 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
6238 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
6239 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
6240 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
6241 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
6242 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
6243 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
6244 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
6245 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
6246 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
6247 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
6248 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
6249 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
6250 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
6251 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
6252 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
6253 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
6254 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
6255 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
6256 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
6257 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
6258 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
6259 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
6260 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
6261 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
6262 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
6263 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
6264 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
6265 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
6266 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
6267 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
6268 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
6269 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
6270 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
6271
73c5ebe3
JM
6272 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
6273 _XOPEN_SOURCE_EXTENDED for XPG4.
6274
39c33b6c
JM
6275 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
6276
62fde54f
JM
6277 * Makeconfig (localtime): Remove variable.
6278 (inst_localtime-file): Likewise.
6279
0741d64c
AS
62802012-05-01 Andreas Schwab <schwab@linux-m68k.org>
6281
6282 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
6283 Update.
6284 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6285 Update.
6286 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
6287 Update.
6288 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
6289 Update.
6290 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
6291 Update.
6292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
6293 Update.
6294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6295 Update.
6296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
6297 Update.
6298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
6299 Update.
6300
7cb029ee
JM
63012012-05-01 Joseph Myers <joseph@codesourcery.com>
6302
6303 [BZ #2550]
6304 [BZ #2570]
6305 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
6306 comparisons to determine direction to adjust input.
6307 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
6308 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
6309 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
6310 Likewise.
6311 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
6312 Likewise.
6313 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
6314 Likewise.
6315 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
6316 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
6317 Likewise.
6318 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
6319 Likewise.
6320 * math/libm-test.inc (nexttoward_test): Add more tests.
6321
412bd966
AS
63222012-05-01 Andreas Schwab <schwab@linux-m68k.org>
6323
6324 [BZ #14040]
6325 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
6326 in version GLIBC_2.1, not GLIBC_2.0.
6327 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
6328 Likewise.
6329
9568c0c2
JM
63302012-04-30 Joseph Myers <joseph@codesourcery.com>
6331
adfbc8ac
JM
6332 [BZ #13942]
6333 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
6334 (1 - x) * (1 + x).
6335 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
6336 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
6337 * math/libm-test.inc (acos_test): Add more tests.
6338 (asin_test): Likewise.
6339 * sysdeps/i386/fpu/libm-test-ulps: Update.
6340 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6341
5ba3cc69
JM
6342 [BZ #14034]
6343 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
6344 of square root.
6345 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
6346 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
6347 * math/libm-test.inc (acos_test_tonearest): New function.
6348 (acos_test_towardzero): Likewise.
6349 (acos_test_downward): Likewise.
6350 (acos_test_upward): Likewise.
6351 (asin_test_tonearest): Likewise.
6352 (asin_test_towardzero): Likewise.
6353 (asin_test_downward): Likewise.
6354 (asin_test_upward): Likewise.
6355 (main): Call the new functions.
6356 * sysdeps/i386/fpu/libm-test-ulps: Update.
6357 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6358
9568c0c2
JM
6359 [BZ #13884]
6360 [BZ #13924]
6361 * math/e_exp10.c: Include <float.h>.
6362 (__ieee754_exp10): Handle underflow here rather than multiplying
6363 large negative argument by M_LN10.
6364 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
6365 of __ieee754_expf.
6366 * math/e_exp10l.c: Include <float.h>.
6367 (__ieee754_exp10l): Handle underflow here rather than multiplying
6368 large negative argument by M_LN10l.
6369 * math/libm-test.inc (exp10_test): Add another test. Do not allow
6370 spurious overflow exception on underflow.
6371
5ac3ea17
MP
63722012-04-29 Marek Polacek <polacek@redhat.com>
6373
6374 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
6375 (__fortify_function): New macro.
6376 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
6377 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
6378 __extern_always_inline.
6379 * libio/bits/stdio2.h: Likewise.
6380 * libio/bits/stdio.h: Likewise.
6381 * string/string.h: Likewise.
6382 * string/bits/string3.h: Likewise.
6383 * include/stdio.h: Likewise.
6384 * stdlib/bits/stdlib.h: Likewise.
6385 * stdlib/stdlib.h: Likewise.
6386 * rt/bits/mqueue2.h: Likewise.
6387 * rt/mqueue.h: Likewise.
6388 * posix/bits/unistd.h: Likewise.
6389 * posix/unistd.h: Likewise.
6390 * io/bits/poll2.h: Likewise.
6391 * io/bits/fcntl2.h: Likewise.
6392 * io/fcntl.h: Likewise.
6393 * io/sys/poll.h: Likewise.
6394 * misc/bits/syslog.h: Likewise.
6395 * misc/bits/syslog-ldbl.h: Likewise.
6396 * misc/sys/syslog.h: Likewise.
6397 * socket/bits/socket2.h: Likewise.
6398 * socket/sys/socket.h: Likewise.
6399 * debug/tst-chk1.c: Likewise.
6400 * wcsmbs/bits/wchar2.h: Likewise.
6401 * wcsmbs/bits/wchar-ldbl.h: Likewise.
6402 * wcsmbs/wchar.h: Likewise.
6403
ecf0ebfb
AJ
64042012-04-29 Andreas Jaeger <aj@suse.de>
6405
6406 * Makerules (tests): Remove enable-check-abi protection.
6407 (check-abi-warn): Remove.
6408 (check-abi-%): Remove check-abi-warn usage.
6409
6410 * configure.in: Remove check-abi configure option.
6411 * configure: Regenerated.
6412 * config.make.in (enable-check-abi): Remove.
6413
6d5c57fa
AS
64142012-04-28 Andreas Schwab <schwab@linux-m68k.org>
6415
24c5d07e 6416 [BZ #14033]
ded5180a
AS
6417 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
6418 double functions to double *_finite functions.
6419
7e0d315d
AS
6420 [BZ #13941]
6421 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
6422 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
6423 LDBL_MIN_EXP.
6424 * stdio-common/Makefile (tests): Add tst-sprintf3.
6425 * stdio-common/tst-sprintf3.c: New file.
6426
6d5c57fa
AS
6427 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
6428 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
6429
0749ff8b
JM
64302012-04-28 Joseph Myers <joseph@codesourcery.com>
6431
6432 * conform/conformtest.pl: Remove duplicate typed-constant
6433 handling.
6434
8dbd5d7b
DM
64352012-04-28 David S. Miller <davem@davemloft.net>
6436
6437 * Makerules (%.abilist): Add vpath on sysdep_dirs.
6438 (check-abi-%): Remove AWK script prerequisite and explicit
6439 abilist directory.
6440 (check-abi): Rewrite to just diff the symlist with the abilist.
6441 (config-tls, config-abi-config): Delete, no longer used.
6442 (update-abi-%): Remove AWK script and explicit abilist directory.
6443 (update-abi): Rewrite to simply compare and conditionally copy the
6444 symlist and the sysdep abilist file. Remove update-abi-config
6445 checks.
6446 * abilist/ld.abilist: Remove.
6447 * abilist/libBrokenLocale.abilist: Remove.
6448 * abilist/libanl.abilist: Remove.
6449 * abilist/libcrypt.abilist: Remove.
6450 * abilist/libdl.abilist: Remove.
6451 * abilist/librt.abilist: Remove.
6452 * abilist/libthread_db.abilist: Remove.
6453 * abilist/libutil.abilist: Remove.
6454 * scripts/extract-abilist.awk: Remove.
6455 * scripts/merge-abilist.awk: Remove.
6456 * sysdeps/generic/libcidn.abilist: New file.
6457 * sysdeps/generic/libnss_compat.abilist: New file.
6458 * sysdeps/generic/libnss_db.abilist: New file.
6459 * sysdeps/generic/libnss_dns.abilist: New file.
6460 * sysdeps/generic/libnss_files.abilist: New file.
6461 * sysdeps/generic/libnss_hesiod.abilist: New file.
6462 * sysdeps/generic/libnss_nis.abilist: New file.
6463 * sysdeps/generic/libnss_nisplus.abilist: New file.
6464 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
6465 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
6466 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
6467 file.
6468 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
6469 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
6470 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
6471 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
6472 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
6473 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
6474 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
6475 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
6476 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
6477 file.
6478 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
6479 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
6480 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
6481 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
6482 file.
6483 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
6484 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
6485 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
6486 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
6487 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
6488 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
6489 file.
6490 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
6491 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
6492 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
6493 file.
6494 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
6495 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
6496 New file.
6497 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
6498 New file.
6499 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
6500 New file.
6501 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
6502 New file.
6503 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
6504 New file.
6505 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
6506 New file.
6507 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
6508 New file.
6509 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
6510 New file.
6511 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
6512 New file.
6513 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
6514 New file.
6515 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
6516 New file.
6517 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
6518 New file.
6519 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
6520 New file.
6521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
6522 file.
6523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
6524 New file.
6525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
6526 New file.
6527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
6528 file.
6529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
6530 New file.
6531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
6532 New file.
6533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
6534 file.
6535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
6536 New file.
6537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
6538 New file.
6539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
6540 New file.
6541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
6542 New file.
6543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
6544 New file.
6545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
6546 New file.
6547 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
6548 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
6549 file.
6550 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
6551 New file.
6552 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
6553 file.
6554 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
6555 file.
6556 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
6557 file.
6558 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
6559 file.
6560 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
6561 file.
6562 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6563 New file.
6564 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
6565 file.
6566 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
6567 file.
6568 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
6569 New file.
6570 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
6571 file.
6572 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
6573 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
6574 file.
6575 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
6576 New file.
6577 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
6578 file.
6579 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
6580 file.
6581 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
6582 file.
6583 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
6584 file.
6585 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
6586 file.
6587 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6588 New file.
6589 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
6590 file.
6591 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
6592 file.
6593 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
6594 New file.
6595 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
6596 file.
6597 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
6598 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
6599 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
6600 file.
6601 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
6602 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
6603 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
6604 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
6605 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
6606 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
6607 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
6608 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
6609 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
6610 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
6611 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
6612 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
6613 file.
6614 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
6615 New file.
6616 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
6617 file.
6618 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
6619 file.
6620 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
6621 file.
6622 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
6623 file.
6624 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
6625 file.
6626 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
6627 New file.
6628 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
6629 New file.
6630 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
6631 file.
6632 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
6633 New file.
6634 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
6635 file.
6636 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
6637 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
6638 file.
6639 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
6640 New file.
6641 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
6642 file.
6643 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
6644 file.
6645 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
6646 file.
6647 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
6648 file.
6649 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
6650 file.
6651 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
6652 New file.
6653 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
6654 New file.
6655 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
6656 file.
6657 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
6658 New file.
6659 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
6660 file.
6661
41d73a1b
JM
66622012-04-28 Joseph Myers <joseph@codesourcery.com>
6663
6664 * conform/conformtest.pl: Fix typo in handling typed-constant from
6665 allow-header.
6666
28aeeda4
JM
66672012-04-27 Joseph Myers <joseph@codesourcery.com>
6668
adae8f5e
JM
6669 * README: Cut down references to pre-2.6 Linux kernels and
6670 Linuxthreads. Update lists of configurations in libc and ports
6671 and sort alphabetically. Say "or newer" with Linux kernel version
6672 requirements.
6673
28aeeda4
JM
6674 * config.h.in [IS_IN_build]: Allow compiling without optimization.
6675
a462cb63
RA
66762012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6677
6678 [BZ #887]
6679 * math/libm-test.inc (logb_test_downward): New test to expose
6680 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
6681 rounding mode.
6682
6ad3493e
JM
66832012-04-27 Joseph Myers <joseph@codesourcery.com>
6684
6685 [BZ #14027]
6686 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
6687 to be done.
6688 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
6689 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
6690
2ce4f015
JM
66912012-04-26 Joseph Myers <joseph@codesourcery.com>
6692
5aeb141a
JM
6693 * sysdeps/unix/i386/brk.S: Remove file.
6694 * sysdeps/unix/i386/dl-brk.S: Likewise.
6695 * sysdeps/unix/i386/pipe.S: Likewise.
6696 * sysdeps/unix/i386/sigreturn.S: Likewise.
6697 * sysdeps/unix/i386/syscall.S: Likewise.
6698 * sysdeps/unix/i386/vfork.S: Likewise.
6699 * sysdeps/unix/i386/wait.S: Likewise.
6700
7143acae
JM
6701 * sysdeps/unix/common/tcsendbrk.c: Move to ...
6702 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
6703
2ce4f015
JM
6704 * configure.in (arm*-none*): Do not allow without
6705 --enable-hacker-mode.
6706 (netbsd*): Remove case setting base_os.
6707 (386bsd*): Likewise.
6708 (freebsd*): Likewise.
6709 (bsdi*): Likewise.
6710 (osf*): Likewise.
6711 (sunos*): Likewise.
6712 (ultrix*): Likewise.
6713 (newsos*): Likewise.
6714 (dynix*): Likewise.
6715 (*bsd*): Likewise.
6716 (sysv*): Likewise.
6717 (isc*): Likewise.
6718 (esix*): Likewise.
6719 (sco*): Likewise.
6720 (minix*): Likewise.
6721 (irix4*): Likewise.
6722 (irix6*): Likewise.
6723 (solaris[2-9]*): Likewise.
6724 (none): Likewise.
6725 * configure: Regenerated.
6726
0ac229c8
AZ
67272012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6728
6729 [BZ #11521]
6730 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
6731 overflow or cancellation in calculating denominator.
6732 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
6733 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
6734 down expression to avoid unexpected rounding in newer GCCs.
6735 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
6736
33f244f4
DM
67372012-04-26 David S. Miller <davem@davemloft.net>
6738
6739 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
6740 long-double compat symbols.
6741 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
6742 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
6743 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
6744 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
6745 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
6746 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
6747 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
6748 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
6749 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
6750 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
6751 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
6752 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
6753 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
6754
cfa1f3e8
DM
67552012-04-25 David S. Miller <davem@davemloft.net>
6756
6757 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
6758 HWCAP_* values only after the memory barriers have been defined.
6759 (atomic_full_barrier): Define.
6760 (atomic_read_barrier): Define.
6761 (atomic_write_barrier): Define.
6762
6e236b92
SP
67632012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6764
6765 * shlib-versions: Add libgcc_s version information.
6766 * sysdeps/generic/libgcc_s.h: Remove.
6767 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
6768 libgcc_s.h.
6769 * sysdeps/gnu/unwind-resume.c: Likewise.
6770 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
6771
aab39a09
DM
67722012-04-25 David S. Miller <davem@davemloft.net>
6773
6774 * sysdeps/unix/sparc/brk.S: Delete.
6775 * sysdeps/unix/sparc/dl-brk.S: Delete.
6776 * sysdeps/unix/sparc/pipe.S: Delete.
6777 * sysdeps/unix/sparc/sysdep.S: Delete.
6778 * sysdeps/unix/sparc/sysdep.h: Delete.
6779 * sysdeps/unix/sparc/vfork.S: Delete.
6780 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
6781 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
6782 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
6783 ret_ERRVAL, r0, r1, MOVE): Define.
6784 (JUMPTARGET): Remove.
6785 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
6786 sysdeps/unix/sparc/sysdep.h
6787 (ENTRY, END): Remove.
6788 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6789
a3cc4f48
JM
67902012-04-25 Joseph Myers <joseph@codesourcery.com>
6791
2ed8cda2
JM
6792 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
6793 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
6794 -DIS_IN_build.
6795
35d76d59
JM
6796 * timezone/README: Update upstream location and email address for
6797 tzcode and tzdata.
6798 * timezone/zdump.c: Update from tzcode 2012b.
6799 * timezone/zic.c: Likewise.
6800
a3cc4f48
JM
6801 * configure.in (libc_cv_as_needed): Remove test.
6802 * configure: Regenerated.
6803 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
6804 conditional definition.
6805 [$(have-as-needed) != yes] (no-as-needed): Likewise.
6806 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
6807 * config.make.in (have-as-needed): Remove variable.
6808
ceab42c3
SP
68092012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
6810 Paul Pluzhnikov <ppluzhnikov@google.com>
6811
6812 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
6813 strings correctly.
6814
3ce2865f
CLT
68152012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
6816
6817 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
6818 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
6819 * sysdeps/sh/strlen.S: Likewise.
6820
f37e0d68
JM
68212012-04-24 Joseph Myers <joseph@codesourcery.com>
6822
ae186e9a
JM
6823 * sysdeps/unix/fork.S: Remove file.
6824 * sysdeps/unix/i386/fork.S: Likewise.
6825 * sysdeps/unix/sparc/fork.S: Likewise.
6826
b96914af
JM
6827 * sysdeps/unix/system.c: Remove file.
6828 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
6829
f37e0d68
JM
6830 * sysdeps/unix/getegid.S: Remove file.
6831 * sysdeps/unix/geteuid.S: Likewise.
6832
87ef29ca
RM
68332012-04-24 Roland McGrath <roland@hack.frob.com>
6834
83bcd236
RM
6835 * scripts/check-localplt.awk: New file.
6836 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
6837 of diff.
6838 * scripts/data/localplt-generic.data: Add a comment.
6839
87ef29ca
RM
6840 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
6841 NODE when __dir_mkfile failed.
6842 * sysdeps/mach/hurd/symlinkat.c: Likewise.
6843 Reported by Ludovic Courtès <ludo@gnu.org>.
6844
e5a6e567
AJ
68452012-04-24 Andreas Jaeger <aj@suse.de>
6846
6847 * Makerules (common-clean): Also remove gen-as-const-headers
6848 files.
6849
c1820385
JM
68502012-04-24 Joseph Myers <joseph@codesourcery.com>
6851
6852 * Makerules (native-compile): Do not change working directory for
6853 build. Use $(OUTPUT_OPTION) in command.
6854 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
6855
94e02fc4
AZ
68562012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6857
6858 [BZ #13886]
6859 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
6860 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
6861 * math/libm-test.inc (floor_test): Add more tests.
6862 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
6863
3a533ca3
JM
68642012-04-24 Joseph Myers <joseph@codesourcery.com>
6865
940ab4b3
JM
6866 * sysdeps/unix/getdents.c: Remove file.
6867 * sysdeps/unix/sysv/getdents.c: Likewise.
6868 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
6869
90e037bd
JM
6870 * sysdeps/unix/syscalls.list (madvise): Add syscall from
6871 sysdeps/unix/mman/syscalls.list.
6872 (mmap): Likewise.
6873 (mprotect): Likewise.
6874 (msync): Likewise.
6875 (munmap): Likewise.
6876 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
6877 * sysdeps/unix/mman/syscalls.list: Remove.
6878 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
6879
3a533ca3
JM
6880 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
6881 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
6882 * configure: Regenerated.
6883 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
6884 $(libgcc_s_suffix).
6885 * config.make.in (libgcc_s_suffix): Remove variable.
6886
1ad743de
JM
68872012-04-23 Joseph Myers <joseph@codesourcery.com>
6888
4ad451e2
JM
6889 * sysdeps/unix/sysv/gethostname.c: Move to ...
6890 * sysdeps/posix/gethostname.c: ... here.
6891
5e37ce39
JM
6892 * sysdeps/unix/execve.S: Remove file.
6893
1ad743de
JM
6894 * sysdeps/unix/_exit.S: Remove file.
6895
4e681b5b
AJ
68962012-04-23 Andreas Jaeger <aj@suse.de>
6897
6898 [BZ #13739]
6899 * manual/Makefile: Remove make dist support, there's no
6900 need for a stand-alone documentation tar ball.
6901 (TEXI2DVI): Define always, it's not in Makeconfig.
6902 (dist): Removed.
6903 (tar-it): Removed.
6904 (edition): Removed.
6905 (glibc-doc-$(edition).tar): Removed
6906 (%.Z): Removed.
6907 (%.gz): Removed.
6908 (%.uu): Removed.
6909 (ETAGS): Remove, it's in Makeconfig.
6910 (move-if-change): Remove, it's in Makeconfig.
6911
c0baea34
PE
69122013-04-23 Paul Eggert <eggert@cs.ucla.edu>
6913
6914 [BZ #13970]
6915 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
6916 (strtod, strtof, strtold, strtol, strtoul, strtoq)
6917 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
6918 (strtod_l, strtof_l, strtold_l): Remove __wur.
6919 It is not necessarily an error to ignore strtol's return value.
6920 One can reliably look at the stored endptr to decide whether
6921 the number had valid syntax.
6922
7c0616fa
AJ
69232012-04-21 Andreas Jaeger <aj@suse.de>
6924
803cb6b7 6925 [BZ #13739]
7c0616fa
AJ
6926 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
6927
b0fe253f
JM
69282012-04-21 Joseph Myers <joseph@codesourcery.com>
6929
6930 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
6931 * sysdeps/unix/sysv/Versions: Remove file.
6932
8280f22d
MT
69332012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
6934
6935 [BZ #13927]
6936 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6937
75ce411f 69382012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
6939
6940 [BZ #7064]
6941 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
6942 version from __vm86.
6943
097d59fa
JM
69442012-04-20 Joseph Myers <joseph@codesourcery.com>
6945
a90f3bcb
JM
6946 * sysdeps/unix/common/lxstat.c: Remove file.
6947 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
6948
edc7ea78
JM
6949 * sysdeps/unix/sysv/Makefile: Remove file.
6950
cb78c221
JM
6951 * sysdeps/unix/sysv/direct.h: Remove file.
6952
efa6a45f
JM
6953 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
6954 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
6955 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
6956 * sysdeps/unix/sysv/bits/signum.h: Likewise.
6957 * sysdeps/unix/sysv/bits/stat.h: Likewise.
6958 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
6959 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
6960
9c9f2d0c
JM
6961 * sysdeps/unix/sysv/setrlimit.c: Remove file.
6962
4541c83b
JM
6963 * sysdeps/unix/xmknod.c: Remove file.
6964 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
6965
f5d153a0
JM
6966 * sysdeps/unix/sysv/settimeofday.c: Remove file.
6967
aa746595
JM
6968 * sysdeps/unix/sysv/i386/time.S: Remove file.
6969
cce5905e
JM
6970 * sysdeps/unix/fxstat.c: Remove file.
6971 * sysdeps/unix/xstat.c: Likewise.
6972 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
6973
37fa3841
JM
6974 * sysdeps/unix/sysv/sigaction.c: Remove file.
6975
ff1962a3
JM
6976 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
6977 (sysdep_headers): Remove variable.
6978 [termio.h not in sysdep_headers] (generated): Likewise.
6979 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
6980 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
6981 * sysdeps/unix/sysv/tcdrain.c: Likewise.
6982 * sysdeps/unix/sysv/tcflow.c: Likewise.
6983 * sysdeps/unix/sysv/tcflush.c: Likewise.
6984 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
6985 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
6986 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
6987 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
6988 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
6989
e7740d31
JM
6990 * sysdeps/unix/siglist.c: Remove file.
6991
ee06f18b
JM
6992 * sysdeps/unix/getppid.S: Remove file.
6993
097d59fa
JM
6994 * sysdeps/unix/mkdir.c: Remove file.
6995 * sysdeps/unix/rmdir.c: Likewise.
6996
ff3d51ec
AS
69972012-04-19 Andreas Schwab <schwab@linux-m68k.org>
6998
6999 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
7000 ERR_MAX value.
7001 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
7002 errlist-compat value.
7003
50f81fd7
DM
70042012-04-18 David S. Miller <davem@davemloft.net>
7005
7006 * sysdeps/generic/memcopy.h (reg_char): Delete.
7007 * debug/strcat_chk.c: Use char, not reg_char.
7008 * debug/strcpy_chk.c: Likewise.
7009 * debug/strncat_chk.c: Likewise.
7010 * debug/strncpy_chk.c: Likewise.
7011 * string/memchr.c: Likewise.
7012 * string/memrchr.c: Likewise.
7013 * string/rawmemchr.c: Likewise.
7014 * string/strcat.c: Likewise.
7015 * string/strchr.c: Likewise.
7016 * string/strchrnul.c: Likewise.
7017 * string/strcmp.c: Likewise.
7018 * string/strcpy.c: Likewise.
7019 * string/strncat.c: Likewise.
7020 * string/strncmp.c: Likewise.
7021 * string/strncpy.c: Likewise.
7022
8ff41c46
WS
70232012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
7024
7025 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
7026 __builtin_memcopy is called when src and dest ranges are known to not
7027 overlap.
7028
6b652f46
WS
70292012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
7030
7031 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
7032 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
7033 fwd_align_merge macro call.
7034 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
7035 bwd_align_merge macro call.
7036 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
7037
b282631e
WS
70382012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
7039
7040 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
7041 bwd_align_merge macros.
7042 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
7043 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
7044 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
7045
95aa737c
DM
70462012-04-18 David S. Miller <davem@davemloft.net>
7047
7048 * sysdeps/sparc/sparc64/memcopy.h: Delete.
7049
7a99a614
AJ
70502012-04-18 Andreas Jaeger <aj@suse.de>
7051
7052 [BZ# 6794]
7053 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
7054 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
7055 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
7056
7057 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
7058 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
7059 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
7060
7061 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
7062 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
7063 Adjust for changed ldbl-128 files.
7064
7065 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
7066 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
7067 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
7068
e5270c23
DM
70692012-04-17 David S. Miller <davem@davemloft.net>
7070
7071 * sysdeps/sparc/sparc32/memcopy.h: Delete.
7072
fb5e92c9
AS
70732012-04-17 Andreas Schwab <schwab@linux-m68k.org>
7074
7075 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
7076 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
7077 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
7078 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
7079 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
7080 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
7081
76da7265
AZ
70822012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7083
7084 [BZ #6794]
7085 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
7086 * math/libm-test.inc: Add ilogb errno and exception tests.
7087 * math/w_ilogb.c: New file: ilogb wrapper.
7088 * math/w_ilogbf.c: New file: ilogbf wrapper.
7089 * math/w_ilogbl.c: New file: ilogbl wrapper.
7090 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
7091 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
7092 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
7093 exception being thrown with 0.0 as argument.
7094 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
7095 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
7096 exception being thrown with 0.0 as argument.
7097 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
7098 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
7099 exception being thrown with 0.0 as argument.
7100 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
7101 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
7102 exception being thrown with 0.0 as argument.
7103 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
7104 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 7105 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
7106 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
7107 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
7108 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
7109 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
7110 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
7111 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
7112
0396e69d
PB
71132012-04-17 Petr Baudis <pasky@ucw.cz>
7114
7115 * include/sys/uio.h: Change __vector to __iovec to avoid clash
7116 with altivec.
7117
750b5926
MP
71182012-04-16 Marek Polacek <polacek@redhat.com>
7119
7120 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
7121
751728a1
MP
71222012-04-16 Marek Polacek <polacek@redhat.com>
7123
7124 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
7125 operands of fdivp instruction.
7126
34a27407
L
71272012-04-13 H.J. Lu <hongjiu.lu@intel.com>
7128
7129 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
7130 * elf/tst-auditmod3b.c: Likewise.
7131 * elf/tst-auditmod4b.c: Likewise.
7132 * elf/tst-auditmod5b.c: Likewise.
7133 * elf/tst-auditmod6b.c: Likewise.
7134 * elf/tst-auditmod6c.c: Likewise.
7135 * elf/tst-auditmod7b.c: Likewise.
7136 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
7137 * sysdeps/x86_64/preconfigure.in: Likewise.
7138 * sysdeps/x86_64/preconfigure: Regenerated.
7139
7e73e17d
L
71402012-04-13 H.J. Lu <hongjiu.lu@intel.com>
7141
7142 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
7143 __ILP32__.
7144
c7a6ab72
AB
71452012-04-13 Antoine Balestrat <merkil33@gmail.com>
7146
7147 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7148 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
7149
a9e8e0e0
CL
71502012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
7151
7152 [BZ #13973]
7153 * locale/iso-639.def: Fix gl language name. Spotted by
7154 Yaron Shahrabani.
7155
ec98af7d
RM
71562012-04-12 Roland McGrath <roland@hack.frob.com>
7157
7158 [BZ #2074]
7159 * libio/libio.h (__io_write_fn): Update comment.
7160
247c3ede
PB
71612012-04-12 Petr Baudis <pasky@ucw.cz>
7162
7163 [BZ #2074]
7164 * stdio.texi (Hook Functions): The user provided writer function
7165 is not allowed to return -1.
7166
55939d6d
DM
71672012-04-11 David S. Miller <davem@davemloft.net>
7168
7169 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7170
90020f5a
MF
71712012-04-11 Mike Frysinger <vapier@gentoo.org>
7172
7173 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
7174 Add a leading slash to rtkaio.
7175
288f9098
JM
71762012-04-11 Jim Meyering <meyering@redhat.com>
7177
90020f5a
MF
7178 [BZ #11959]
7179 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
7180 It is not necessarily an error to ignore fwrite's return
7181 value. One can reliably use ferror to test for errors after
7182 the fact.
288f9098 7183
4be2b570
L
71842012-04-10 H.J. Lu <hongjiu.lu@intel.com>
7185
7186 * bits/types.h (__snseconds_t): New type.
7187 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
7188
7189 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
7190 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
7191 (__SNSECONDS_T_TYPE): Likewise.
7192 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
7193 (__SNSECONDS_T_TYPE): Likewise.
7194 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7195 (__SNSECONDS_T_TYPE): Likewise.
7196
288f9098 71972012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
7198
7199 [BZ #2636]
7200 * manual/time.texi (Processor Time): Return type of times is
7201 elapsed real time since an arbitrary point in the past.
7202 (CPU Time): Move CLK_TCK from here...
7203 (Processor Time): ...to here. Correct description.
7204 * manual/conf.texi (Constants for Sysconf): Correct description of
7205 _SC_CLK_TCK.
7206
d7dd4413
DM
72072012-04-10 David S. Miller <davem@davemloft.net>
7208
7209 [BZ #13967]
7210 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
7211 where the is a gap between DT_REL(A) and DT_JMPREL.
7212
b46068fc
L
72132012-04-10 H.J. Lu <hongjiu.lu@intel.com>
7214
7215 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
7216 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
7217 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
7218
73d65cc3
SP
72192012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7220
7221 * elf/dl-support.c (_dl_inhibit_cache): New variable.
7222 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
7223 (dl_main): Handle --inhibit-cache.
7224 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
7225 _dl_inhibit_cache.
7226 * elf/dl-load.c (_dl_map_object): Use it.
7227 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
7228
bcc8d661
JM
72292012-04-09 Joseph Myers <joseph@codesourcery.com>
7230
8f9a2fae
JM
7231 [BZ #13872]
7232 * sysdeps/i386/fpu/e_powl.S (p78): New object.
7233 (__ieee754_powl): Saturate large exponents rather than testing for
7234 overflow of y*log2(x).
7235 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
7236 * math/libm-test.inc (pow_test): Do not permit spurious overflow
7237 exceptions.
7238
bcc8d661
JM
7239 [BZ #11521]
7240 * math/s_ctan.c: Include <float.h>.
7241 (__ctan): Avoid internal overflow or cancellation in calculating
7242 denominator.
7243 * math/s_ctanf.c: Likewise.
7244 * math/s_ctanl.c: Likewise.
7245 * math/s_ctanh.c: Likewise.
7246 * math/s_ctanhf.c: Likewise.
7247 * math/s_ctanhl.c: Likewise.
7248 * math/libm-test.inc (ctan_test): Add more tests.
7249 (ctanh_test): Likewise.
7250 * sysdeps/i386/fpu/libm-test-ulps: Update.
7251 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7252
823fbbb4
AJ
72532012-04-09 Andreas Jaeger <aj@suse.de>
7254
03879793
AJ
7255 [BZ #6894]
7256 * manual/filesys.texi (Directory Entries): Mention that d_namlen
7257 is an optional BSD extension.
7258
823fbbb4
AJ
7259 [BZ #10254]
7260 * manual/stdio.texi (Opening Streams): Document additional fopen
7261 parameters.
7262
8de131cb
RM
72632012-04-09 Roland McGrath <roland@hack.frob.com>
7264
7265 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
7266 %eax without telling the compiler.
7267
c0ed9d7d
CD
72682012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
7269
7270 [BZ # 13963]
7271 * manual/install.texi: Use sourceware.org.
7272
c483f6b4
JM
72732012-04-09 Joseph Myers <joseph@codesourcery.com>
7274
d7dd9453
JM
7275 [BZ #13873]
7276 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
7277 (__ieee754_pow): Generate overflow and underflow using huge*huge
7278 and tiny*tiny rather than just returning constant infinity or zero
7279 for large exponents.
7280 * math/libm-test.inc (pow_test): Require overflow exceptions for
7281 applicable cases of large exponents.
7282
c483f6b4
JM
7283 [BZ #706]
7284 * sysdeps/i386/fpu/e_pow.S (p10): New object.
7285 (__ieee754_pow): Use iterative multiplication algorithm only for
7286 integer exponents with absolute value below 1024. Check for odd
7287 integer exponents when using algorithm for real exponents.
7288 * math/libm-test.inc (pow_test): Add more tests.
7289 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7290
d2de7579
JM
72912012-04-08 Joseph Myers <joseph@codesourcery.com>
7292
7293 [BZ #13705]
7294 * math/libm-test.inc (exp_test): Do not allow overflow exception
7295 on underflow test.
7296
f77f1232
AJ
72972012-04-08 Aurelien Jarno <aurelien@aurel32.net>
7298
7299 [BZ #13705]
7300 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
7301 instead of __kernel_standard_f.
7302
3884932b
MF
73032012-04-08 Mike Frysinger <vapier@gentoo.org>
7304
7305 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
7306 * sysdeps/x86_64/memset_chk.S: Likewise.
7307
54472e9c
AJ
73082012-04-08 Andreas Jaeger <aj@suse.de>
7309
6ab0fbfc
AJ
7310 [BZ #10153]
7311 * manual/startup.texi (Environment Access): Describe return value
7312 for putenv and setenv.
7313
61efba8c
AJ
7314 [BZ #6895]
7315 * manual/filesys.texi (Directory Entries): Add description for
7316 DT_LNK.
7317
95c3f29a
AJ
7318 [BZ #6890]
7319 * manual/filesys.texi (Directory Entries): Clarify that it's file
7320 system not operating system in the description of DT_UNKNOWN.
7321
54472e9c
AJ
7322 [BZ #6578]
7323 * manual/syslog.texi (closelog): Fix reference, it's openlog.
7324
624254b1
SC
73252012-04-08 Stephen Compall <s11@member.fsf.org>
7326
7327 [BZ #6649]
7328 * manual/llio.texi (Opening and Closing Files): Add cross
7329 reference to explain mode argument.
7330
1e4920e0
MF
73312012-04-07 Mike Frysinger <vapier@gentoo.org>
7332
7333 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
7334 * sysdeps/x86_64/memset_chk.S: Likewise.
7335
5ed848f3
DM
73362012-04-07 David S. Miller <davem@davemloft.net>
7337
7338 * elf/elf.h (R_SPARC_WDISP10): Define.
7339 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
7340 R_SPARC_SIZE32.
7341 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
7342 R_SPARC_SIZE64 and R_SPARC_H34.
7343
96154cd8
CD
73442012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
7345
7346 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
7347 conditions and remove no longer applicable assertion.
7348
9904dc47
L
73492012-04-06 H.J. Lu <hongjiu.lu@intel.com>
7350
7351 * bits/byteswap.h: Include <features.h>.
7352 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
7353 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
7354
f8887d0a
L
73552012-04-06 H.J. Lu <hongjiu.lu@intel.com>
7356
7357 * bits/byteswap.h (__bswap_16): Removed.
7358 Include <bits/byteswap-16.h> to get __bswap_16.
7359 * sysdeps/i386/bits/byteswap.h: Likewise.
7360 * sysdeps/s390/bits/byteswap.h: Likewise.
7361 * sysdeps/x86_64/bits/byteswap.h: Likewise.
7362 * bits/byteswap-16.h: New file.
7363 * sysdeps/i386/bits/byteswap-16.h: Likewise.
7364 * sysdeps/s390/bits/byteswap-16.h: Likewise.
7365 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
7366 * string/Makefile (headers): Add bits/byteswap-16.h.
7367
62470f60
PP
73682012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
7369
7370 [BZ #13895]
7371 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
7372 extra indirection.
7373 * nss/Makefile (tests-static, tests): Add tst-nss-static.
7374 * nss/tst-nss-static.c: New.
7375
4dad7bab
RM
73762012-04-06 Robert Millan <rmh@gnu.org>
7377
7378 [BZ #6486]
7379 * manual/llio.texi (File Position Primitive): lseek
7380 refers to WHENCE when it really means OFFSET.
7381
e9142a17
AJ
73822012-04-06 Andreas Jaeger <aj@suse.de>
7383
2c040eff
AJ
7384 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
7385 strncmp declarations.
7386
e9142a17
AJ
7387 * abilist/libc.abilist: Add __poll and __ppoll.
7388
ff9f1c5f
DM
73892012-04-05 David S. Miller <davem@davemloft.net>
7390
dcd2ae90
DM
7391 * scripts/check-local-headers.sh: Accept a host triplet in the
7392 path matched by the exclude regexp.
7393
993eb054
DM
7394 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
7395 definition.
7396 * sysdeps/powerpc/powerpc32/dl-machine.h
7397 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
7398 * sysdeps/s390/s390-32/dl-machine.h
7399 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
7400 * sysdeps/sparc/sparc32/dl-machine.h
7401 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
7402 * sysdeps/sparc/sparc64/dl-machine.h
7403 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
7404
ff9f1c5f
DM
7405 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
7406 lazy binding.
48e2e132 7407 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
7408 undefined symbol errors.
7409
48e2e132 7410 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
7411 DT_NEEDED entries.
7412
e80d6f94
MM
74132012-04-05 Michael Matz <matz@suse.de>
7414
7415 [BZ #13592]
7416 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
7417
349fa79f
AJ
74182012-04-05 Andreas Jaeger <aj@suse.de>
7419
7420 [BZ #13908]
7421 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
7422 comment.
7423
f402708f
KK
74242012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7425
7426 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
7427 which ROUND is no valid rounding mode.
7428
2ecccfc9
KK
74292012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7430
7431 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
7432 read again.
7433 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
7434
8a53f50f
KK
74352012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7436
7437 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
7438 an exception using FPU order intentionally.
7439
74402012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7441
7442 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
7443 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
7444 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
7445 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
7446
d653abb7
SJ
74472012-04-05 Simon Josefsson <simon@josefsson.org>
7448
7449 [BZ #12340]
7450 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
7451 EINVAL when BUFLEN is too smal.
7452
c3b1bf7d
TS
74532012-04-05 Thomas Schwinge <thomas@codesourcery.com>
7454
7455 [BZ #13553]
7456 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
7457 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
7458
b1aa60f3
AJ
74592012-04-03 Andreas Jaeger <aj@suse.de>
7460
c3b1bf7d 7461 [BZ #13938]
67f60a26
AJ
7462 * manual/setjmp.texi (System V contexts): Fix sentence.
7463
b1aa60f3
AJ
7464 [BZ #13926]
7465 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
7466 New macro for this case.
7467 [!__GNUC__] (__bswap_64): New inline function for this case.
7468 * sysdeps/x86_64/bits/byteswap.h: Likewise.
7469 * bits/byteswap.h: Likewise.
7470 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
7471 ull, guard with __GLIBC_HAVE_LONG_LONG.
7472
7473 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
7474 __GLIBC_HAVE_LONG_LONG.
7475
7476 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
7477 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
7478
39c59c35
TMQMF
74792012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7480
7481 [BZ #13691]
7482 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
7483 inptr and inend, rather than using last_ch.
7484
135ffda8
DM
74852012-04-02 David S. Miller <davem@davemloft.net>
7486
7487 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
7488 * stdio-common/printf-parse.h (read_int): Change return type to
7489 'int', return -1 on INT_MAX overflow.
7490 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
7491 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
7492 overflows INT_MAX. Check for overflow of in-format-string precision
7493 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
7494 SIZE_MAX not INT_MAX for integer overflow test.
7495 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
7496 skip the construct in the format string but do not record anything.
7497 * stdio-common/bug22.c: Adjust to test both width/prevision
7498 INT_MAX overflow as well as total length INT_MAX overflow. Check
7499 explicitly for proper errno values.
7500
228c019e
TS
75012012-04-02 Thomas Schwinge <thomas@codesourcery.com>
7502
302cadd3
TS
7503 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
7504 CHAR_MAX.
7505 * string/test-strcmp.c [! WIDE]: Likewise.
7506 * time/tst-mktime2.c: Likewise for INT_MAX.
7507 * string/test-string.h: #include <sys/param.h> for MIN.
7508
228c019e
TS
7509 * csu/init-first.c (__libc_init_first): Call __ctype_init.
7510 * sysdeps/i386/init-first.c (init): Likewise.
7511 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
7512 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
7513 * sysdeps/sh/init-first.c (init): Likewise.
7514
cfa633f5
UD
75152012-04-01 Ulrich Drepper <drepper@gmail.com>
7516
7517 * po/ru.po: Update from translation team.
d1635ef8 7518 * po/vi.po: Likewise.
cfa633f5 7519
6cd0a5ea
SP
75202012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
7521
7522 * resolv/nss_dns/dns-host.c: Merge copyright years.
7523
4b43400f
LD
75242012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7525
7526 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
7527 Optimize memcpy with prefetch if
7528 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
7529 src, dst pointers have unequal 16 byte alignments.
7530
48c41d04
SP
75312012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7532
7533 [BZ #13928]
7534 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
7535 from a CNAME entry and return the minimum ttl for the query.
7536 (gaih_getanswer_slice): Likewise.
7537
b8dc394d
JL
75382012-03-30 Jeff Law <law@redhat.com>
7539
7540 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
7541 due to long keys.
7542 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
7543 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
7544
2f5a5ed0
JL
7545 * resolv/nss_dns/dns-host.c: Update copyright year.
7546
1d39e359
UD
75472012-03-30 Ulrich Drepper <drepper@gmail.com>
7548
c030f70c 7549 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 7550 requests to save a system call. Fix check that all bytes are sent.
c030f70c 7551
1d39e359
UD
7552 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
7553 comments for sendmmsg.
7554
75552012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
7556
7557 [BZ #13691]
7558 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
7559 with only 1 character between 0x0041 and 0x01b0.
7560 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
7561 * wcsmbs/tst-mbsnrtowcs.c: New file.
7562
20fde227
DM
75632012-03-29 David S. Miller <davem@davemloft.net>
7564
7565 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
7566 small copies by hand.
7567
984a4237
JL
75682012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7569
7570 [BZ #13761]
7571 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
7572 _nss_compat_initgroups_dyn): Fall back to malloc/free
7573 for large group memberships.
7574
18c9d62b
DM
75752012-03-28 David S. Miller <davem@davemloft.net>
7576
88d85d4f
DM
7577 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
7578 that branches into memcpy.
7579 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
7580 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
7581 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
7582 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
7583 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
7584 bits.
7585 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
7586 implementation too.
7587 * sysdeps/sparc/mempcpy.S: New file.
7588
e5aa83e1
DM
7589 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
7590 the IFUNC routine in the libc case.
7591 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
7592
88570753
DM
7593 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
7594 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
7595 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
7596 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
7597 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
7598 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
7599 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
7600 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
7601
249d7567
DM
7602 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
7603 loop to 256 bytes instead of 64 bytes and fix test signedness.
7604
18c9d62b
DM
7605 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
7606 * sysdeps/sparc/sparc32/Makefile: rather than here...
7607 * sysdeps/sparc/sparc64/Makefile: and here.
7608
05f3d1f6
UD
76092012-03-28 Ulrich Drepper <drepper@gmail.com>
7610
7611 * malloc/mallocbug.c: Avoid warnings about unused variables.
7612
86ae07a8
JL
76132012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
7614
7615 [BZ #13760]
7616 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
7617 in the right place. Discard and retry query if response is
7618 larger than input buffer size.
7619
41bf21a1
JM
76202012-03-28 Joseph Myers <joseph@codesourcery.com>
7621
d6270972
JM
7622 [BZ #369]
7623 [BZ #2678]
7624 [BZ #3866]
7625 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
7626 x for large integer exponent.
7627 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
7628 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
7629 sign of result as needed afterwards.
7630 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
7631 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
7632 result for underflowing pow the same as for overflow.
7633 (__kernel_standard_l): Handle powl overflow and underflow here
7634 rather than calling __kernel_standard.
7635 * math/libm-test.inc (pow_test): Add more tests.
7636
414fca03 7637 [BZ #3868]
41bf21a1
JM
7638 [BZ #13879]
7639 [BZ #13910]
7640 [BZ #13911]
7641 [BZ #13912]
7642 [BZ #13913]
7643 [BZ #13915]
7644 [BZ #13916]
7645 [BZ #13917]
7646 [BZ #13918]
7647 [BZ #13919]
7648 [BZ #13920]
7649 [BZ #13921]
7650 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
7651 * sysdeps/ieee754/k_standard.c: Include <float.h>.
7652 (__kernel_standard_l): New function.
7653 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
7654 __kernel_standard.
7655 * math/w_acosl.c (__acosl): Likewise.
7656 * math/w_asinl.c (__asinl): Likewise.
7657 * math/w_atan2l.c (__atan2l): Likewise.
7658 * math/w_atanhl.c (__atanhl): Likewise.
7659 * math/w_coshl.c (__coshl): Likewise.
7660 * math/w_exp10l.c (__exp10l): Likewise.
7661 * math/w_exp2l.c (__exp2l): Likewise.
7662 * math/w_fmodl.c (__fmodl): Likewise.
7663 * math/w_hypotl.c (__hypotl): Likewise.
7664 * math/w_j0l.c (__j0l, __y0l): Likewise.
7665 * math/w_j1l.c (__j1l, __y1l): Likewise.
7666 * math/w_jnl.c (__jnl, __ynl): Likewise.
7667 * math/w_lgammal.c (__lgammal): Likewise.
7668 * math/w_log10l.c (__log10l): Likewise.
7669 * math/w_log2l.c (__log2l): Likewise.
7670 * math/w_logl.c (__logl): Likewise.
7671 * math/w_powl.c (__powl): Likewise.
7672 * math/w_remainderl.c (__remainderl): Likewise.
7673 * math/w_scalbl.c (sysv_scalbl): Likewise.
7674 * math/w_sinhl.c (__sinhl): Likewise.
7675 * math/w_sqrtl.c (__sqrtl): Likewise.
7676 * math/w_tgammal.c (__tgammal): Likewise.
7677 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
7678 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
7679 * math/libm-test.inc (acos_test): Add more tests.
7680 (acosh_test): Likewise.
7681 (asin_test): Likewise.
7682 (atanh_test): Likewise.
7683 (exp_test): Likewise.
7684 (exp10_test): Likewise.
7685 (exp2_test): Likewise.
7686 (expm1_test): Likewise.
7687 (lgamma_test): Likewise.
7688 (log_test): Likewise.
7689 (log10_test): Likewise.
7690 (log1p_test): Likewise.
7691 (log2_test): Likewise.
7692 (pow_test): Do not allow some spurious overflow exceptions.
7693 (sqrt_test): Add more tests.
7694 (tgamma_test): Likewise.
7695 (y0_test): Likewise.
7696 (y1_test): Likewise.
7697 (yn_test): Likewise.
7698
dd62fda6
AB
76992012-03-27 Anton Blanchard <anton@samba.org>
7700
7701 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
7702 MAP_HUGETLB.
7703 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
7704 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
7705 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
7706
1e3cdfda
AJ
77072012-03-27 David S. Miller <davem@davemloft.net>
7708
b855ab85
DM
7709 * conform/Makefile: Run run-conformtest.sh using $(BASH).
7710
1e3cdfda
AJ
7711 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
7712 have-as-vis3 check.
7713
77142012-03-27 Andreas Jaeger <aj@suse.de>
7715
7716 * sysdeps/x86_64/elf/configure.in: Moved to ...
7717 * sysdeps/x86_64/configure.in: ... here.
7718 * sysdeps/x86_64/elf/start.S: Moved to ...
7719 * sysdeps/x86_64/start.S: ... here.
7720 * sysdeps/x86_64/elf/configure: Delete.
7721
7722 * sysdeps/x86_64/configure.in: Merge contents from
7723 sysdeps/i386/configure.in (without i686 check).
7724
7725 * sysdeps/i386/elf/Versions: Merge into ...
7726 * sysdeps/i386/Versions: ... this.
7727 * sysdeps/i386/elf/Versions: Delete file.
7728 * sysdeps/i386/elf/start.S: Moved to ...
7729 * sysdeps/i386/start.S: ...here.
7730 * sysdeps/i386/elf/configure.in: Merge into...
7731 * sysdeps/i386/configure.in: ...here.
7732 * sysdeps/i386/elf/configure.in: Delete file.
7733 * sysdeps/i386/elf/configure: Delete file.
7734
7735 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
7736 * debug/backtracesyms.c: ... here.
7737 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
7738 * debug/backtracesymsfd.c: ... here.
7739 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
7740 * sysdeps/generic/ifunc-sel.h: ... here.
7741
7742 * sysdeps/unix/i386/start.c: Delete file.
7743 * sysdeps/unix/sparc/start.c: Delete file.
7744 * sysdeps/unix/start.c: Delete file.
7745
7746 * sysdeps/sh/elf/configure.in: Moved to ...
7747 * sysdeps/sh/configure.in: ... here.
7748 * sysdeps/sh/elf/start.S: Moved to ...
7749 * sysdeps/sh/start.S: ... here.
7750 * sysdeps/sh/elf/configure: Delete file.
7751
7752 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
7753 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
7754 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
7755 * sysdeps/powerpc/powerpc64/entry.h: ... here.
7756 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
7757 * sysdeps/powerpc/powerpc64/start.S: here.
7758 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
7759 * sysdeps/powerpc/powerpc64/Makefile: ... this.
7760 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
7761 * sysdeps/powerpc/powerpc64/configure.in: ... this.
7762 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
7763
7764 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
7765 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
7766 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
7767 * sysdeps/powerpc/powerpc32/start.S: ... here.
7768 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
7769 * sysdeps/powerpc/powerpc32/configure.in: ... this.
7770 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
7771
7772 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
7773 * sysdeps/powerpc/ifunc-sel.h: ... here.
7774 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
7775 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
7776
7777 * sysdeps/sparc/elf/configure.in: Moved to ...
7778 * sysdeps/sparc/configure.in: ... here.
7779 * sysdeps/sparc/elf/configure: Delete file.
7780 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
7781 * sysdeps/sparc/sparc32/start.S: ... here.
7782 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
7783 * sysdeps/sparc/sparc64/start.S: ... here.
7784 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
7785 * sysdeps/sparc/sparc32/Makefile: ... this.
7786 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
7787 * sysdeps/sparc/sparc64/Makefile: ... this.
7788
7789 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
7790 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
7791 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
7792 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
7793 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
7794 * sysdeps/s390/s390-32/setjmp.S: ... here.
7795 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
7796 * sysdeps/s390/s390-32/configure.in: ... here.
7797 * sysdeps/s390/s390-32/elf/configure: Delete file.
7798 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
7799 * sysdeps/s390/s390-32/start.S: ... here.
7800
7801 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
7802 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
7803 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
7804 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
7805 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
7806 * sysdeps/s390/s390-64/setjmp.S: ... here.
7807 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
7808 * sysdeps/s390/s390-64/configure.in: ... here
7809 * sysdeps/s390/s390-64/elf/configure: Delete file.
7810 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
7811 * sysdeps/s390/s390-64/start.S: ... here.
7812 * sysdeps/s390/s390-64/elf/configure: Delete.
7813
7814 * configure.in: Remove support for elf directories in sysdeps.
7815
7816 * configure: Regenerated.
7817 * sysdeps/i386/configure: Regenerated.
7818 * sysdeps/powerpc/powerpc32/configure: Regenerated.
7819 * sysdeps/powerpc/powerpc64/configure: Regenerated.
7820 * sysdeps/s390/s390-32/configure: Regenerated.
7821 * sysdeps/s390/s390-64/configure: Regenerated.
7822 * sysdeps/sh/configure: Regenerated.
7823 * sysdeps/sparc/configure: Regenerated.
7824 * sysdeps/x86_64/configure: Regenerated.
7825
a3f61311
AS
78262012-03-26 Andreas Schwab <schwab@linux-m68k.org>
7827
c876e002
AS
7828 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7829
a3f61311
AS
7830 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
7831 denormal result into account.
7832
ac4c54f0
RM
78332012-03-25 Roland McGrath <roland@hack.frob.com>
7834
7835 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
7836 Reported by Allan McRae <allan@archlinux.org>.
7837
6a9b9c02
JL
78382012-03-23 Jeff Law <law@redhat.com>
7839
7840 * nss/getnssent.c (__nss_getent): Fix typo.
7841
4c42a0c1
DM
78422012-03-23 David S. Miller <davem@davemloft.net>
7843
7844 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7845
1532c7ac
L
78462012-03-23 H.J. Lu <hongjiu.lu@intel.com>
7847
7848 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
7849 to pad to uint64_t for each field.
7850 (dl_tls_index): Replace unsigned long with uint64_t.
7851
3ff42526
PP
78522012-03-23 Daniel Jacobowitz <dmj@google.com>
7853 Paul Pluzhnikov <ppluzhnikov@google.com>
7854
7855 [BZ #6528]
7856 * grp/Makefile (otherlibs): Don't set it.
7857 * inet/Makefile (otherlibs): Likewise.
7858 * login/Makefile (otherlibs): Likewise.
7859 * nscd/Makefile (otherlibs): Likewise.
7860 * posix/Makefile (otherlibs): Likewise.
7861 * pwd/Makefile (otherlibs): Likewise.
7862 * rt/Makefile (otherlibs): Likewise.
7863 * sunrpc/Makefile (otherlibs): Likewise.
7864 * nss/Makefile (otherlibs): Likewise.
7865 Add libnss_files to routines and static-only-routines.
7866 ($(objpfx)getent): Remove rule.
7867 * resolv/Makefile: Add libnss_dns and libresolv to routines and
7868 static-only-routines.
7869
7c69cd14
JM
78702012-03-22 Joseph Myers <joseph@codesourcery.com>
7871
7872 [BZ #13892]
7873 * math/s_cexp.c: Include <float.h>.
7874 (__cexp): Handle exp result overflowing not necessarily
7875 overflowing both real and imaginary parts of result.
7876 * math/s_cexpf.c: Likewise.
7877 * math/s_cexpl.c: Likewise.
7878 * math/libm-test.inc (cexp_test): Add more tests.
7879 * sysdeps/i386/fpu/libm-test-ulps: Update.
7880 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7881
81b035fe
L
78822012-03-22 H.J. Lu <hongjiu.lu@intel.com>
7883
7884 * include/link.h (ELFW): New macro.
7885 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
7886 Replace ELF64_R_TYPE with ELFW(R_TYPE).
7887
1da7940c
L
78882012-03-22 H.J. Lu <hongjiu.lu@intel.com>
7889
7890 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
7891 with uint64_t.
7892
b749dbb9
L
78932012-03-22 H.J. Lu <hongjiu.lu@intel.com>
7894
7895 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
7896 declaration.
7897 (struct La_x32_retval): Likewise.
7898
2ff87f3f
L
78992012-03-22 H.J. Lu <hongjiu.lu@intel.com>
7900
7901 * sysdeps/x86_64/preconfigure.in: New file.
7902 * sysdeps/x86_64/preconfigure: New generated file.
7903
c0df8e69
JM
79042012-03-22 Joseph Myers <joseph@codesourcery.com>
7905
48e44791
JM
7906 [BZ #13824]
7907 * math/e_exp2l.c: Include <float.h>.
7908 (__ieee754_exp2l): Handle overflow and underflow cases
7909 separately. Only pass fractional part of argument to
7910 __ieee754_expl.
7911 * math/libm-test.inc (exp2_test): Add more tests.
7912
c0df8e69
JM
7913 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
7914 negating x to take absolute value.
7915 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
7916 Likewise.
7917 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
7918 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
7919 Likewise.
7920 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
7921 computing low part if x was negated.
7922 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
7923
c8e43ba7
L
79242012-03-21 H.J. Lu <hongjiu.lu@intel.com>
7925
7926 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
7927 la_x32_gnu_pltexit.
7928 (pltexit): Cast int_retval to ptrdiff_t.
7929 * elf/tst-auditmod3b.c: Likewise.
7930 * elf/tst-auditmod4b.c: Likewise.
7931 * elf/tst-auditmod5b.c: Likewise.
7932 * elf/tst-auditmod6b.c: Likewise.
7933 * elf/tst-auditmod6c.c: Likewise.
7934 * elf/tst-auditmod7b.c: Likewise.
7935
7936 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
7937 and x32_gnu_pltexit.
7938
7939 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
7940 __ELF_NATIVE_CLASS.
7941 (La_x32_regs): New macro.
7942 (La_x32_retval): Likewise.
7943 (la_x32_gnu_pltenter): New function prototype.
7944 (la_x32_gnu_pltexit): Likewise.
7945
7998fa78
AS
79462012-03-21 Andreas Schwab <schwab@linux-m68k.org>
7947
dcb33988
AS
7948 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
7949 exponent.
7950
233fc563
AS
7951 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7952
7998fa78
AS
7953 * configure.in (libc_cv_cc_nofma): Check for option to disable
7954 generation of FMA instructions.
7955 * configure: Regenerate.
7956 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
7957 * sysdeps/ieee754/dbl-64/Makefile: New file.
7958 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
7959 Remove brandred-fma4.
7960 (CFLAGS-brandred-fma4.c): Remove.
7961 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
7962 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
7963 define.
7964 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
7965 define.
7966
8e95c99a
L
79672012-03-21 H.J. Lu <hongjiu.lu@intel.com>
7968
7969 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
7970 LLONG_MAX != LONG_MAX.
7971 (_itoa_word): Use _ITOA_WORD_TYPE on value.
7972 (_fitoa_word): Likewise.
7973 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
7974 LLONG_MAX != LONG_MAX.
7975 * stdio-common/_itowa.h: Include <_itoa.h>.
7976 (_itowa_word): Use _ITOA_WORD_TYPE on value.
7977 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
7978 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
7979 only if not defined.
7980 (_ITOA_WORD_TYPE): Likewise.
7981 (_itoa_word): Use _ITOA_WORD_TYPE on value.
7982 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
7983
6f4db457
DM
79842012-03-21 David S. Miller <davem@davemloft.net>
7985
7986 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7987
7785fe5a
L
79882012-03-21 H.J. Lu <hongjiu.lu@intel.com>
7989
7990 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
7991 of x86_64 when setting libc_cv_slibdir, libdir and
7992 libc_cv_localedir.
7993 * sysdeps/unix/sysv/linux/configure: Regenerated.
7994
4535cd55
JM
79952012-03-21 Joseph Myers <joseph@codesourcery.com>
7996
7997 * manual/lang.texi (Old Varargs): Remove section.
7998 (How Variadic): Update menu.
7999 (va_start): Do not mention varargs.h.
8000
17228132
TS
80012012-03-21 Thomas Schwinge <thomas@codesourcery.com>
8002 Joseph Myers <joseph@codesourcery.com>
8003
8004 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
8005 link test.
8006 * configure: Regenerated.
8007
8149f976
TS
80082012-03-21 Thomas Schwinge <thomas@codesourcery.com>
8009
05f3d1f6
UD
8010 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
8011 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
8012 conformtest.pl
8149f976 8013
1a4ac776
JM
80142012-03-21 Joseph Myers <joseph@codesourcery.com>
8015
be22ce65
JM
8016 * NOTES: Remove.
8017 * Makefile (files-for-dist): Remove NOTES.
8018 (NOTES): Remove rule.
8019 * README: Don't refer to NOTES.
8020 * manual/creature.texi: Don't include macros.texi.
8021 * manual/intro.texi (creature.texi): Remove comment referring to
8022 NOTES.
8023
40b601fb
JM
8024 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
8025 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
8026 * configure: Regenerated.
8027 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
8028 LIBC_TRY_CC_OPTION.
8029 (libc_cv_as_i686): Likewise.
8030 (libc_cv_cc_avx): Likewise.
8031 (libc_cv_cc_sse2avx): Likewise.
8032 (libc_cv_cc_fma4): Likewise.
8033 (libc_cv_cc_novzeroupper): Likewise.
8034 * sysdeps/i386/configure: Regenerated.
8035
1a4ac776
JM
8036 [BZ #13883]
8037 * sysdeps/i386/fpu/s_cexp.S: Remove.
8038 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
8039 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
8040 * math/libm-test.inc (cexp_test): Add more tests.
8041 * sysdeps/i386/fpu/libm-test-ulps: Update.
8042 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8043
a458e7fe
AM
80442012-03-21 Allan McRae <allan@archlinux.org>
8045
8046 * timezone/Makefile: Do not install iso3166.tab and zone.tab
8047
0cb7efc5
JM
80482012-03-21 Joseph Myers <joseph@codesourcery.com>
8049
8050 [BZ #13871]
8051 * math/w_exp2.c: Do not include <float.h>.
8052 (o_threshold, u_threshold): Remove.
8053 (__exp2): Calculate result before checking finiteness and calling
8054 __kernel_standard.
8055 * math/w_exp2f.c: Likewise.
8056 * math/w_exp2l.c: Likewise.
8057 * math/libm-test.inc (exp2_test): Require overflow exception for
8058 1e6 input.
2460d3aa
JM
8059
8060 [BZ #3866]
8061 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
8062 range of signed 64-bit integers before using fistpll. Remove
8063 checks for whether integers fit in mantissa bits.
8064 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
8065 the range of signed 32-bit integers before using fistpl. Remove
8066 checks for whether integers fit in mantissa bits.
8067 * sysdeps/i386/fpu/e_powl.S (p64): New object.
8068 (__ieee754_powl): Test for y outside the range of signed 64-bit
8069 integers before using fistpll. Reduce 64-bit values to 63-bit
8070 ones as needed.
8071 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
8072 divide-by-zero is raised for zero to large negative powers.
8073 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
8074 (__ieee754_powl): Test for y outside the range of signed 64-bit
8075 integers before using fistpll. Reduce 64-bit values to 63-bit
8076 ones as needed.
8077 * math/libm-test.inc (pow_test): Add more tests.
8078
eb96ffb0
L
80792012-03-20 H.J. Lu <hongjiu.lu@intel.com>
8080
8081 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
8082 <stdio-common/_itoa.h>.
8083 * debug/segfault.c: Likewise.
8084 * elf/dl-cache.c: Likewise.
8085 * elf/dl-minimal.c: Likewise.
8086 * elf/dl-misc.c: Likewise.
8087 * elf/dl-sysdep.c: Likewise.
8088 * elf/dl-version.c: Likewise.
8089 * elf/rtld.c: Likewise.
8090 * hurd/hurdsock.c: Likewise.
8091 * hurd/lookup-retry.c: Likewise.
8092 * malloc/malloc.c: Likewise.
8093 * malloc/mtrace.c: Likewise.
8094 * nscd/nscd_getgr_r.c: Likewise.
8095 * nscd/nscd_getpw_r.c: Likewise.
8096 * nscd/nscd_getserv_r.c: Likewise.
8097 * posix/getopt_init.c: Likewise.
8098 * posix/wordexp.c: Likewise.
8099 * stdio-common/_itoa.c: Likewise.
8100 * stdio-common/printf_fphex.c: Likewise.
8101 * stdio-common/vfprintf.c: Likewise.
8102 * string/_strerror.c: Likewise.
8103 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
8104 * sysdeps/i386/i686/hp-timing.h: Likewise.
8105 * sysdeps/mach/_strerror.c: Likewise.
8106 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
8107 * sysdeps/mach/hurd/sethostid.c: Likewise.
8108 * sysdeps/mach/hurd/xmknodat.c: Likewise.
8109 * sysdeps/mach/xpg-strerror.c: Likewise.
8110 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
8111 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
8112 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
8113 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
8114 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
8115 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
8116 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
8117 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
8118 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
8119 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
8120 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
8121 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
8122 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
8123 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
8124 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
8125 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
8126 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
8127 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
8128 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
8129 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
8130 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
8131
8132 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
8133
8134 * stdio-common/_itoa.h: Moved to ...
8135 * sysdeps/generic/_itoa.h: Here.
8136
8137 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
8138
8139 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
8140 instead of "_itoa.h" and "_itowa.h".
8141 * stdio-common/vfprintf.: Likewise.
8142
d1af992d
L
81432012-03-20 H.J. Lu <hongjiu.lu@intel.com>
8144
8145 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
8146 <bits/wordsize.h>.
8147 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
8148 (__signbit): Likwise.
8149 (llrintf): Likwise.
8150 (llrint): Likwise.
8151
114883e0
L
81522012-03-20 H.J. Lu <hongjiu.lu@intel.com>
8153
8154 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
8155 __WORDSIZE != 64.
8156
c135cc1b
JM
81572012-03-20 Joseph Myers <joseph@codesourcery.com>
8158
8159 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
8160 OVERFLOW_EXCEPTION_OK.
8161 * math/libm-test.inc ("Philosophy"): Update comment about
8162 exception testing.
8163 (OVERFLOW_EXCEPTION): Define.
8164 (OVERFLOW_EXCEPTION_OK): Likewise.
8165 (INVALID_EXCEPTION_OK): Renumber.
8166 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
8167 (IGNORE_ZERO_INF_SIGN): Likewise.
8168 (test_exceptions): Handle FE_OVERFLOW.
8169 (exp10_test): Expect overflow exceptions.
8170 (exp2_test): Likewise.
8171 (expm1_test): Likewise.
8172 (nextafter_test): Likewise.
8173 (pow_test): Likewise.
8174 (scalbn_test): Likewise.
8175 (scalbln_test): Likewise.
8176
95443d88
L
81772012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8178
8179 * sysdeps/x86_64/bits/atomic.h
8180 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
8181 64bit integer.
8182 (atomic_exchange_acq): Likewise.
8183 (__arch_exchange_and_add_body): Likewise.
8184 (__arch_add_body): Likewise.
8185 (atomic_add_negative): Likewise.
8186 (atomic_add_zero): Likewise.
8187
490df6c4
L
81882012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8189
c2722551 8190 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
8191 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
8192
5e52b189
L
81932012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8194
8195 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
8196 Check __x86_64__ instead of __WORDSIZE.
8197
a9879d4c
L
81982012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8199
8200 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
8201
5df98260
DM
82022012-03-19 David S. Miller <davem@davemloft.net>
8203
e1497744
DM
8204 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8205
5df98260
DM
8206 * sysdeps/sparc/fpu/fenv_private.h: New file.
8207 * sysdeps/sparc/fpu/math_private.h: Use it.
8208 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
8209 Remove.
8210 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
8211 (libc_feholdexcept_setroundl): Remove.
8212 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
8213 Remove.
8214 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
8215 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
8216
b4c35121
L
82172012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8218
8219 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
8220 int64_t instead of long int.
8221 (INSERT_WORDS64): Likwise.
8222
56965fd7
L
82232012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8224
8225 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
8226 _Unwind_GetCFA return to _Unwind_Ptr first.
8227
83d1aec8
JM
82282012-03-19 Joseph Myers <joseph@codesourcery.com>
8229
1897ad44
JM
8230 [BZ #13629]
8231 * math/s_clog.c: Include <float.h>.
8232 (__clog): Scale large or subnormal inputs.
8233 * math/s_clogf.c: Likewise.
8234 * math/s_clogl.c: Likewise.
8235 * math/s_clog10.c: Include <float.h>.
8236 (M_LOG10_2): Define.
8237 (__clog10): Scale large or subnormal inputs.
8238 * math/s_clog10f.c: Likewise.
8239 * math/s_clog10l.c: Likewise.
8240 * math/libm-test.inc (clog_test): Add more tests.
8241 (clog10_test): Likewise.
8242 * sysdeps/i386/fpu/libm-test-ulps: Update.
8243 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8244
7726d6a9
JM
8245 [BZ #11451]
8246 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
8247 x and y.
8248 * math/libm-test.inc (atan2_test): Add another test.
8249
83d1aec8
JM
8250 * Makerules (common-objdir-compile): Remove.
8251 * sysdeps/unix/Makefile (config-generated): Do not add
8252 $(unix-generated) to variable.
8253 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
8254 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
8255 Remove rule.
8256 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
8257 Likewise.
8258 [generic bits/local_lim.h] (before-compile): Do not append to
8259 variable.
8260 [generic bits/local_lim.h] (common-generated): Likewise.
8261 [generic sys/param.h] (before-compile): Do not append to variable.
8262 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
8263 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
8264 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
8265 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
8266 include.
8267 [generic sys/param.h] (sys/param.h-includes): Remove variable.
8268 [generic sys/param.h] (sys/param.h-includes): Remove rule.
8269 [generic sys/param.h] ($(addprefix
8270 $(common-objpfx),$(sys/param.h-includes))): Likewise.
8271 [generic sys/param.h] (common-generated): Do not append to
8272 variable.
8273 [generic sys/param.h] (sysdep_headers): Likewise.
8274 [generic bits/errno.h] (before-compile): Do not append to
8275 variable.
8276 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
8277 rule.
8278 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
8279 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
8280 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
8281 [generic bits/errno.h] (common-generated): Do not append to
8282 variable.
8283 [generic bits/ioctls.h] (before-compile): Do not append to
8284 variable.
8285 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
8286 rule.
8287 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
8288 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
8289 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
8290 rule.
8291 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
8292 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
8293 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
8294 [generic bits/ioctls.h] (common-generated): Do not append to
8295 variable.
8296 [generic sys/syscall.h] (syscall.h): Remove variable.
8297 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
8298 rule.
8299 [generic sys/syscall.h] (before-compile): Do not append to
8300 variable.
8301 [generic sys/syscall.h] (common-generated): Likewise.
8302 * sysdeps/unix/errnos-tmpl.c: Remove file.
8303 * sysdeps/unix/errnos.awk: Likewise.
8304 * sysdeps/unix/ioctls-tmpl.c: Likewise.
8305 * sysdeps/unix/ioctls.awk: Likewise.
8306 * sysdeps/unix/mk-local_lim.c: Likewise.
8307 * sysdeps/unix/snarf-ioctls: Likewise.
8308
4851a949
RH
83092012-03-19 Richard Henderson <rth@twiddle.net>
8310
bd37f2ee
RH
8311 * sysdeps/i386/fpu/fenv_private.h: New file.
8312 * sysdeps/i386/fpu/math_private.h: Use it.
8313 (math_opt_barrier, math_force_eval): Remove.
8314 (libc_feholdexcept_setround_53bit): Remove.
8315 (libc_feupdateenv_53bit): Remove.
8316 * sysdeps/x86_64/fpu/math_private.h: Likewise.
8317 (math_opt_barrier, math_force_eval): Remove.
8318 (libc_feholdexcept): Remove.
8319 (libc_feholdexcept_setround): Remove.
8320 (libc_fetestexcept, libc_fesetenv): Remove.
8321 (libc_feupdateenv_test): Remove.
8322 (libc_feupdateenv, libc_feholdsetround): Remove.
8323 (libc_feresetround): Remove.
8324
d0adc922
RH
8325 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
8326 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
8327
0fe0f1f8
RH
8328 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
8329 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
8330 (libc_feupdateenv_testl): New.
8331 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
8332 (libc_feupdateenv_testf): New.
8333 (libc_feupdateenv): Use libc_feupdateenv_test.
8334 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
8335 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
8336
eb92c487
RH
8337 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
8338 (libc_feholdsetroundf, libc_feholdsetroundl): New.
8339 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
8340 (libc_feresetround_noex): New.
8341 (libc_feresetround_noexf): New.
8342 (libc_feresetround_noexl): New.
8343 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
8344 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
8345 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
8346 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
8347 SET_RESTORE_ROUND.
8348 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
8349 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
8350 (__cos): Likewise.
8351 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
8352 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
8353 SET_RESTORE_ROUND_NOEX.
8354 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
8355 SET_RESTORE_ROUND_NOEXF.
8356 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
8357 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
8358 (libc_feholdsetroundf): New.
8359 (libc_feresetround, libc_feresetroundf): New.
8360
7d2e8012
RH
8361 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
8362 (libc_feholdexcept_setround_53bit): Convert from macro to function.
8363 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
8364
b4dabbb4
RH
8365 * sysdeps/generic/math_private.h: Include <fenv.h>.
8366 (default_libc_feholdexcept): New.
8367 (default_libc_feholdexcept_setround): New.
8368 (default_libc_fesetenv, default_libc_feupdateenv): New.
8369 (libc_feholdexcept): Only define if undefined.
8370 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
8371 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
8372 (libc_feholdexcept_setroundl): Likewise.
8373 (libc_feholdexcept_setround_53bit): Likewise.
8374 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
8375 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
8376 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
8377 (libc_feupdateenv_53bit): Likewise.
8378 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
8379 (libc_feholdexcept): Convert from macro to inline function.
8380 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
8381 (libc_fesetenv, libc_feupdateenv): Likewise.
8382
4851a949
RH
8383 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
8384 not previously defined.
8385 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
8386 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
8387 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
8388 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
8389 * sysdeps/ieee754/flt-32/math_private.h: New file.
8390 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
8391 math_private.h below SET_FLOAT_WORD.
8392 (__isnan, __isinf_ns, __finite): Remove.
8393 (__isnanf, __isinf_nsf, __finitef): Remove.
8394
e79d442e
AS
83952012-03-18 Andreas Schwab <schwab@linux-m68k.org>
8396
8397 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8398
90b80344
DM
83992012-03-17 David S. Miller <davem@davemloft.net>
8400
8401 [BZ #6471]
8402 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
8403 for 2.16.
8404
edc21804
DM
84052012-03-16 David S. Miller <davem@davemloft.net>
8406
77e927af
DM
8407 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
8408 warnings.
8409
374976dd
DM
8410 [BZ #6471]
8411 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
8412 properly.
8413 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
8414 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
8415 sysdep_routines when subdir is sysvipc.
8416 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
8417 __getshmlba helper.
8418
edc21804
DM
8419 * sysdeps/sparc/fpu/libm-test/ulps: Update.
8420
473c3ef3
L
84212012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8422
8423 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
8424 [__LP64__].
8425
eb0f39b6
L
84262012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8427
8428 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
8429 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
8430 (__lround): Renamed to ...
8431 (__llround): This. Replace long int with long long int.
8432 Define lround functions as aliases of llround functions.
8433 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
8434
6b6cd74b
L
84352012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8436
8437 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
8438 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
8439 adresses to uintptr_t. Replace "long int" and "unsigned long
8440 int" with "greg_t" on va_arg.
8441
f1a77b01
L
84422012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8443
8444 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
8445 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
8446
8447 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
8448 Move e_machine check before EI_CLASS check. Handle x32
8449 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
8450 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
8451 SKIP_EM_IA_64 and include
8452 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
8453
8454 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
8455 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
8456 (add_system_dir): New macro.
8457
8458 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
8459 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
8460
11b90b9f
JM
84612012-03-16 Joseph Myers <joseph@codesourcery.com>
8462
c36e1d23
JM
8463 [BZ #2551]
8464 [BZ #2552]
8465 [BZ #2553]
8466 [BZ #2554]
8467 [BZ #2562]
8468 [BZ #2563]
8469 [BZ #2565]
8470 [BZ #2566]
8471 [BZ #2576]
8472 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
8473 (y0): Likewise.
8474 * math/w_j0f.c (j0f): Likewise.
8475 (y0f): Likewise.
8476 * math/w_j0l.c (__j0l): Likewise.
8477 (__y0l): Likewise.
8478 * math/w_j1.c (j1): Likewise.
8479 (y1): Likewise.
8480 * math/w_j1f.c (j1f): Likewise.
8481 (y1f): Likewise.
8482 * math/w_j1l.c (__j1l): Likewise.
8483 (__y1l): Likewise.
8484 * math/w_jn.c (jn): Likewise.
8485 (yn): Likewise.
8486 * math/w_jnf.c (jnf): Likewise.
8487 (ynf): Likewise.
8488 * math/w_jnl.c (__jnl): Likewise.
8489 (__ynl): Likewise.
8490 * math/libm-test.inc (j0_test): Add more tests.
8491 (j1_test): Likewise.
8492 (jn_test): Likewise. Add trailing semicolon to existing test.
8493 (y0_test): Likewise.
8494 (y1_test): Likewise.
8495 * sysdeps/i386/fpu/libm-test-ulps: Update.
8496 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8497
11b90b9f
JM
8498 [BZ #13851]
8499 [BZ #13854]
8500 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
8501 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
8502 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
8503 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
8504 (__tanl): Set errno for infinite argument.
8505 * sysdeps/i386/fpu/mptan.c: Remove.
8506 * sysdeps/i386/fpu/s_tan.S: Likewise.
8507 * sysdeps/i386/fpu/s_tanl.S: Likewise.
8508 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
8509 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
8510 * math/libm-test.inc (tan_test): Add more tests and enable more
8511 tests for double and long double.
8512 * sysdeps/i386/fpu/libm-test-ulps: Update.
8513 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8514
6a1bd2a1
JK
85152012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
8516
8517 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
8518 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
8519
10a803e0
RM
85202012-03-16 Roland McGrath <roland@hack.frob.com>
8521
8522 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
8523 * configure.in: Use it for both main tree and add-ons.
8524 * configure: Regenerated.
8525
f196c7f7
L
85262012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8527
8528 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
8529
8848d99d
JM
85302012-03-16 Joseph Myers <joseph@codesourcery.com>
8531
96cbe7f4
JM
8532 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
8533 in comment.
8534
8848d99d
JM
8535 [BZ #13851]
8536 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
8537 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
8538 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
8539 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
8540 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
8541 infinite argument.
8542 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
8543 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
8544 != 0 for prec == 2.
8545 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
8546 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
8547 * sysdeps/i386/fpu/s_cosl.S: Likewise.
8548 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
8549 * sysdeps/i386/fpu/s_sinl.S: Likewise.
8550 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
8551 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
8552 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
8553 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
8554 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
8555 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
8556 * math/libm-test.inc (cos_test): Add more tests and enable more
8557 tests for long double.
8558 (sin_test): Likewise.
8559 (sincos_test): Likewise.
8560 * sysdeps/i386/fpu/libm-test-ulps: Update.
8561 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8562
dd7f4703
DM
85632012-03-16 David S. Miller <davem@davemloft.net>
8564
8565 * sysdeps/sparc/fpu/math_private.h: New file.
8566
006f1daa
DM
85672012-03-15 David S. Miller <davem@davemloft.net>
8568
c0c83bc8
DM
8569 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
8570 file.
e6a62e18 8571 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
8572 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
8573 file.
e6a62e18
DM
8574 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
8575 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
8576 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
8577 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
8578 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
8579 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
8580 sysdep routines.
8581 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
8582
88cb87d9
DM
8583 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
8584 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
8585
006f1daa 8586 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
8587 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
8588 sparc-ifunc.h
006f1daa 8589 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
8590 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
8591 Likewise.
8592 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
8593 Likewise.
006f1daa
DM
8594 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
8595 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
8596 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
8597 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
8598 Likewise.
006f1daa
DM
8599 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
8600 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
8601 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
8602 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
8603 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
8604 Likewise.
8605 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
8606 Likewise.
006f1daa
DM
8607 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
8608 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
8609 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
8610 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
8611 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
8612 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
8613 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
8614 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
8615 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
8616 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
8617 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
8618 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
8619 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
8620 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
8621 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
8622 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
8623 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
8624 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
8625 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
8626 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
8627 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
8628 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
8629 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
8630 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
8631
11e0098e
AS
86322012-03-15 Andreas Schwab <schwab@linux-m68k.org>
8633
8634 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
8635 scaling.
8636 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8637
e85b09d0
AJ
86382012-03-15 Andreas Jaeger <aj@suse.de>
8639
8640 [BZ #13852]
8641 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
8642 ieee754/flt-32 implementation for sin, cos and sincos.
8643 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
8644 * sysdeps/i386/fpu/s_cosf.S: Likewise.
8645 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
8646 * sysdeps/i386/fpu/s_sinf.S: Likewise.
8647 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
8648 ieee754/flt-32 implementation for tan.
8649
8650 * math/libm-test.inc (cos_test): Enable some large input tests for
8651 float as well
8652 (sin_test): Likewise.
8653 (sincos_test): Likewise.
8654 (tan_test): Add tests for large input.
8655
8656 * sysdeps/i386/fpu/libm-test-ulps: Update.
8657
81c64153
AJ
86582012-03-15 Andreas Jaeger <aj@suse.de>
8659
8660 [BZ #13658]
8661 * math/libm-test.inc (cos_test): Add more test cases.
8662 (sin_test): Likewise.
8663 (sincos_test): Likewise.
8664
7bbfa5c6
AJ
86652012-03-15 Andreas Jaeger <aj@suse.de>
8666
8667 [BZ #13837]
8668 * math/libm-test.inc (cos_test): Add a test case for large input
8669 value.
8670 (sin_test): Likewise.
8671 (sincos_test): Likewise.
8672
86732012-03-15 Andreas Jaeger <aj@suse.de>,
8674 Joseph Myers <joseph@codesourcery.com>
8675
8676 [BZ #13658]
0671f479 8677 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
8678 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
8679 * sysdeps/i386/fpu/branred.c: Likewise.
8680 * sysdeps/i386/fpu/dosincos.c: Likewise.
8681 * sysdeps/i386/fpu/mpa.c: Likewise.
8682 * sysdeps/i386/fpu/s_cos.S: Likewise.
8683 * sysdeps/i386/fpu/s_sin.S: Likewise.
8684 * sysdeps/i386/fpu/s_sincos.S: Likewise.
8685 * sysdeps/i386/fpu/sincos32.c: Likewise.
8686
8687 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
8688 Define.
8689 (libc_feupdateenv_53bit): Define.
8690 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
8691 Define.
8692 (libc_feupdateenv_53bit): Define.
8693
8694 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
8695 53 bit (without extend i386 double precision).
8696
8697 * math/libm-test.inc (sincos_test): Add tests for large input.
8698 (sin): Likewise.
8699 (cos): Likewise.
8700
8701 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
8702
9cad04ea
AS
87032012-03-15 Andreas Schwab <schwab@linux-m68k.org>
8704
8705 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8706
f7062b9a
DM
87072012-03-15 David S. Miller <davem@davemloft.net>
8708
8709 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
8710 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
8711 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
8712 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
8713 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
8714 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
8715 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
8716 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
8717 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
8718 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
8719 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
8720 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
8721 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
8722 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
8723 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
8724 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
8725 file.
f7062b9a 8726 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
8727 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
8728 file.
f7062b9a 8729 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
8730 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
8731 file.
f7062b9a 8732 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
8733 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
8734 file.
f7062b9a
DM
8735 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
8736 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
8737 fmin/fmax sysdep routines.
8738 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
8739
7bd951ff
DM
87402012-03-14 David S. Miller <davem@davemloft.net>
8741
559398ab
DM
8742 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
8743 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
8744 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
8745 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
8746 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
8747 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
8748 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
8749 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
8750 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
8751 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
8752 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
8753 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
8754 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
8755 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
8756 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
8757 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
8758 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
8759 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
8760 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
8761 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
8762 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
8763 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
8764 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
8765 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
8766 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
8767 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
8768 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
8769 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
8770 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
8771 routines.
8772 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
8773 file.
559398ab 8774 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
8775 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
8776 file.
559398ab 8777 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
8778 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
8779 file.
559398ab 8780 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
8781 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
8782 file.
559398ab 8783 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
8784 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
8785 file.
559398ab 8786 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
8787 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
8788 file.
8789 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
8790 file.
8791 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
8792 file.
8793 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
8794 file.
8795 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
8796 New file.
8797 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
8798 file.
8799 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
8800 file.
559398ab 8801 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
8802 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
8803 file.
559398ab 8804 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
8805 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
8806 file.
559398ab 8807 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
8808 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
8809 file.
559398ab 8810 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
8811 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
8812 VIS3 routines.
559398ab
DM
8813
8814 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
8815 New file.
8816
5a1c1e32
DM
8817 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8818
eae47a36
DM
8819 * sysdeps/sparc/configure.in: New file.
8820 * sysdeps/sparc/configure: Generate.
8821 * configure.in (libc_cv_sparc_as_vis3): Substitute.
8822 * configure: Regenerate.
8823 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
8824 * config.make.in (have-as-vis3): New.
8825 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
8826 available use -Av9d instead of -Av9a.
8827 * sysdeps/sparc/sparc64/Makefile: Likewise.
8828 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
8829 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
8830 New file.
8831 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
8832 file.
8833 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
8834 New file.
8835 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
8836 file.
eae47a36
DM
8837 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
8838 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
8839 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
8840 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
8841 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
8842
c0c83bc8
DM
8843 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
8844 fzeros/fnegs to load 0x80000000 into a float register instead of
8845 using the stack.
7bd951ff
DM
8846 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
8847
bd951ccb
JM
88482012-03-14 Joseph Myers <joseph@codesourcery.com>
8849
8850 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8851 bits/syscall.h.
8852 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
8853 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
8854 ($(inst_includedir)/bits/syscall.h): Remove rule.
8855 ($(objpfx)bits/syscall.d): Include instead of
8856 $(objpfx)syscall-list.d.
8857 (generated): Change syscall-list.h and syscall-list.d to
8858 bits/syscall.h and bits/syscall.d.
8859
bb4e6db2
RM
88602012-03-14 Roland McGrath <roland@hack.frob.com>
8861
8862 [BZ #13846]
8863 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
8864
aa4a2ae1
JM
88652012-03-14 Joseph Myers <joseph@codesourcery.com>
8866
e456826d
JM
8867 [BZ #13841]
8868 * math/s_csqrt.c: Include <float.h>.
8869 (__csqrt): Scale large or subnormal inputs.
8870 * math/s_csqrtf.c: Likewise.
8871 * math/s_csqrtl.c: Likewise.
8872 * math/libm-test.inc (csqrt_test): Add more tests.
8873 * sysdeps/i386/fpu/libm-test-ulps: Update.
8874 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8875
aa4a2ae1
JM
8876 [BZ #13840]
8877 * math/libm-test.inc (hypot_test): Add more tests.
8878
7c10fd35
DM
88792012-03-13 David S. Miller <davem@davemloft.net>
8880
8881 [BZ #13840]
8882 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
8883 double-precision for the calculation instead of scaling.
8884
f453b98b
JM
88852012-03-13 Joseph Myers <joseph@codesourcery.com>
8886
8887 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
8888 manipulate bits before adding and subtracting TWO52[sx].
8889 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
8890 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
8891 Likewise.
8892 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
8893
09a3453f
DM
88942012-03-13 David S. Miller <davem@davemloft.net>
8895
8e59da90
DM
8896 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
8897 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
8898 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
8899 rtld-global-offsets.h
8900 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
8901
2a8ab7f2
DM
8902 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
8903 large parameters.
8904
10f62770
DM
8905 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
8906
5f0bdb18
DM
8907 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
8908 'err' in the ifdef scope in which it is actually used.
8909
09a3453f
DM
8910 * nss/nss_db/db-init.c: Include string.h
8911
b4b2eb5e
DM
89122012-03-12 David S. Miller <davem@davemloft.net>
8913
98bb2f1c
DM
8914 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
8915 masking out of the most significant byte of random value used.
8916 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8917 Fix coding style in previous change.
8918
b4b2eb5e
DM
8919 * sysdeps/unix/sysv/linux/kernel-features.h
8920 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
8921 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
8922 expression.
8923 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
8924 later.
8925
6e226b09
DM
89262012-03-11 David S. Miller <davem@davemloft.net>
8927
a1bcbd40
DM
8928 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
8929 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
8930 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
8931 for 'resultvar' otherwise things get truncated on 64-bit.
8932
cb9d6174
DM
8933 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8934 Fix masking out of the most significant byte of random value used.
8935
6e226b09
DM
8936 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8937
058c132d
AS
89382012-03-10 Andreas Schwab <schwab@linux-m68k.org>
8939
8940 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8941
2d2cd515
DM
89422012-03-09 David S. Miller <davem@davemloft.net>
8943
8944 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
8945 variables with appropriate CPP guards.
8946 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
8947 frame pointer, not the stack pointer. Correct layout comments. Fix test
8948 on resulting framesize and the management of the outregs buffer for pltexit.
8949 Preserve floating point return values across _dl_call_pltexit call.
8950 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
8951 framesize and the management of the outregs buffer for pltexit.
8952 Preserve floating point return values across _dl_call_pltexit
8953 call.
8954 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
8955 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
8956 (print_exit): Fix format string for return register value.
8957
9a07f9d0
JM
89582012-03-10 Joseph Myers <joseph@codesourcery.com>
8959
8960 * sunrpc/Makefile (others): Add rpcgen.
8961 ($(objpfx)rpcgen): Remove special build rule and dependency on
8962 libc.
8963 * sunrpc/rpcgen.c: New file.
8964
547b5e30
PE
89652012-03-09 Paul Eggert <eggert@cs.ucla.edu>
8966
c524201a
PE
8967 [BZ #13673]
8968 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
8969 * stdio-common/bug-vfprintf-nargs.c: Likewise.
8970 * sysdeps/i386/crti.S: Likewise.
8971 * sysdeps/i386/crtn.S: Likewise.
8972 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
8973 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
8974 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
8975 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
8976 * sysdeps/sh/crti.S: Likewise.
8977 * sysdeps/sh/crtn.S: Likewise.
8978 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
8979
7b6235f2
PE
8980 [BZ #13673]
8981 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
8982 with URL.
8983 * locale/programs/locfile-kw.gperf: Likewise.
8984 * locale/programs/charmap-kw.h: Regenerated.
8985 * locale/programs/locfile-kw.h: Likewise.
8986
547b5e30
PE
8987 [BZ #13673]
8988 * intl/plural.y: Replace FSF snail mail address with URL.
8989 * intl/plural.c: Regenerated.
8990
5f0a5dae
RH
89912012-03-09 Richard Henderson <rth@twiddle.net>
8992
8993 * include/math_private.h: Remove file.
8994 * math/math_private.h: Move file ...
8995 * sysdeps/generic/math_private.h: ... here.
8996
b8c03620
RH
8997 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
8998 * sysdeps/powerpc/fpu/math_private.h: Likewise.
8999 * sysdeps/x86_64/fpu/math_private.h: Likewise.
9000
4e234f5d 9001 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
9002 and <math_private.h>.
9003 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
9004 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
9005 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
9006 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
9007 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
9008 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
9009 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
9010 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9011 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
9012 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
9013 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9014 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
9015 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
9016 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9017 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
9018 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
9019 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
9020 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
9021 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
9022 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
9023 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9024 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
9025 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
9026 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9027 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
9028 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
9029 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
9030 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9031 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9032 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
9033 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
9034 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9035 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
9036 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
9037 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
9038 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
9039 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
9040 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
9041 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
9042 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9043 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
9044 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
9045 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
9046 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
9047 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
9048 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
9049 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
9050 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
9051 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
9052 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
9053 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
9054 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
9055 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
9056 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
9057 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
9058 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
9059 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
9060 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
9061 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
9062 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
9063 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9064 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
9065 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9066 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
9067 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
9068 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
9069 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
9070 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
9071 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
9072 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
9073 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
9074 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
9075 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
9076 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
9077 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
9078 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
9079 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
9080 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
9081 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
9082 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
9083 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
9084 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
9085 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
9086 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
9087 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
9088 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
9089 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
9090 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
9091 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
9092 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
9093 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
9094 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
9095 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
9096 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
9097 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
9098 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
9099 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
9100 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
9101 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
9102 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
9103 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
9104 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
9105 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
9106 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
9107 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
9108 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
9109 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
9110 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
9111 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
9112 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
9113 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
9114 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
9115 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
9116 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
9117 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
9118 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
9119 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
9120 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
9121 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
9122 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
9123 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
9124 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
9125 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
9126 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
9127 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
9128 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
9129 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
9130 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
9131 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
9132 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
9133 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
9134 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
9135 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
9136 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
9137 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
9138 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
9139 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
9140 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
9141 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
9142 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
9143 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
9144 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
9145 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
9146 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
9147 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
9148 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
9149 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
9150 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
9151 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
9152 * sysdeps/ieee754/k_standard.c: Likewise.
9153 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
9154 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
9155 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
9156 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
9157 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
9158 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
9159 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
9160 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
9161 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
9162 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
9163 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9164 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
9165 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
9166 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
9167 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
9168 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
9169 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
9170 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
9171 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
9172 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
9173 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
9174 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
9175 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
9176 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
9177 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
9178 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
9179 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
9180 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
9181 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
9182 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
9183 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
9184 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
9185 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
9186 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
9187 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
9188 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
9189 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
9190 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
9191 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
9192 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
9193 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
9194 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
9195 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
9196 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
9197 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
9198 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
9199 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
9200 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
9201 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
9202 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
9203 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
9204 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
9205 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
9206 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
9207 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
9208 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
9209 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
9210 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
9211 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
9212 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
9213 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
9214 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
9215 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
9216 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
9217 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
9218 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
9219 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
9220 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
9221 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
9222 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
9223 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
9224 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
9225 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
9226 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
9227 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
9228 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
9229 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
9230 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
9231 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
9232 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
9233 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
9234 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
9235 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
9236 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
9237 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
9238 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
9239 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
9240 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
9241 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
9242 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
9243 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
9244 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
9245 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
9246 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
9247 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
9248 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
9249 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
9250 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
9251 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
9252 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
9253 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
9254 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
9255 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
9256 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
9257 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
9258 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
9259 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
9260 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
9261 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
9262 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
9263 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
9264 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
9265 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
9266 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
9267 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
9268 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
9269 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
9270 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
9271 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
9272 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
9273 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9274 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
9275 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
9276 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
9277 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
9278 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
9279 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
9280 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
9281 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
9282 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
9283 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
9284 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
9285 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
9286 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
9287 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
9288 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
9289 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
9290 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
9291 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
9292 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
9293 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
9294 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
9295 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
9296 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
9297 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
9298 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
9299 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
9300 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
9301 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
9302 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
9303 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
9304 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
9305 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
9306 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
9307 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
9308 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
9309 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
9310 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
9311 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
9312 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
9313 * sysdeps/ieee754/s_lib_version.c: Likewise.
9314 * sysdeps/ieee754/s_matherr.c: Likewise.
9315 * sysdeps/ieee754/s_signgam.c: Likewise.
9316 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
9317 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9318 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
9319 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
9320 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
9321 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
9322 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
9323 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
9324 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
9325 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
9326 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
9327 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
9328 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
9329 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
9330 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
9331 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
9332 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
9333 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
9334 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
9335 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
9336 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 9337
1991fa03
JM
93382012-03-09 Joseph Myers <joseph@codesourcery.com>
9339
9340 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
9341 * sunrpc/rpc_main.c: Likewise.
9342 * sunrpc/rpc_svcout.c: Likewise.
9343
60d6f5a6
DM
93442012-03-09 David S. Miller <davem@davemloft.net>
9345
9346 * include/math_private.h: New file.
9347
4962050e
JM
93482012-03-09 Joseph Myers <joseph@codesourcery.com>
9349
02a6f887
JM
9350 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
9351 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
9352 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
9353 from <bits/socket_type.h>.
9354 (enum __socket_type): Don't define here.
9355 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
9356 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9357 bits/socket_type.h.
9358
c6e013c1
JM
9359 [BZ #13566]
9360 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
9361 checking __USE_GNU.
9362
4962050e
JM
9363 * Makerules ($(inst_includedir)/%.h): New rule.
9364 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
9365 (install-others): Remove variable setting.
9366 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
9367
38842f45
RH
93682012-03-08 Richard Henderson <rth@twiddle.net>
9369
67bb6da6
RH
9370 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
9371 from macro to inline function; merge with the
9372 !__LIBC_INTERNAL_MATH_INLINES version.
9373 (__ieee754_sqrtf): Likewise.
9374
15194b4b
RH
9375 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
9376 to inline function.
9377 (__rintf, __floor, __floorf): Likewise.
9378
64e21ede
RH
9379 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
9380 macro to inline function.
9381 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
9382
38842f45
RH
9383 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
9384 not <math/math_private.h>.
9385
c64bf5fe
DM
93862012-03-08 David S. Miller <davem@davemloft.net>
9387
9388 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
9389 copyright year.
9390 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
9391
82d86f28
TS
93922012-03-08 Thomas Schwinge <thomas@codesourcery.com>
9393
9394 * resolv/gai_misc.c (handle_requests): Fix struct timespec
9395 normalization.
9396 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
9397 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
9398
aea5d727
UD
93992012-03-08 Ulrich Drepper <drepper@gmail.com>
9400
9401 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
9402 be defined individually, they must be defined as a block. Define
9403 S for printing a string instead of hidint the different by using a
9404 macro for adding the 'l'.
9405 * stdio-common/tst-fphex-wide.c: Adjust.
9406
70bca0a3
MP
94072012-03-07 Marek Polacek <polacek@redhat.com>
9408
9409 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
9410
65b81130
MP
94112012-03-08 Marek Polacek <polacek@redhat.com>
9412
9413 [BZ #13806]
9414 * stdio-common/Makefile (tests): Add tst-fphex-wide.
9415 * stdio-common/tst-fphex.c: Define a few macros to make the
9416 test reusable. Use them.
9417 * stdio-common/tst-fphex-wide.c: New file.
9418
07037eeb
JM
94192012-03-08 Joseph Myers <joseph@codesourcery.com>
9420
a7a93d50
JM
9421 [BZ #6911]
9422 * manual/macros.texi (gnusystems): New macro.
9423 (nongnusystems): Likewise.
9424 (gnulinuxhurdsystems): Likewise.
9425 (gnuhurdsystems): Likewise..
9426 (gnulinuxsystems): Likewise.
9427 * manual/charset.texi: Use new macros or @theglibc{} to refer to
9428 variants of the GNU system, not "GNU system".
9429 * manual/conf.texi: Likewise.
9430 * manual/errno.texi: Likewise. Update example of errno macro
9431 expansion.
9432 * manual/filesys.texi: Likewise.
9433 (getumask): Document as specific to GNU/Hurd.
9434 * manual/install.texi: Likewise. Reword some references to
9435 GNU/Linux.
9436 * manual/intro.texi: Likewise.
9437 * manual/io.texi: Likewise.
9438 (File Name Portability): Detail which constraints are inapplicable
9439 to all GNU systems and which are only inapplicable to GNU/Hurd.
9440 * manual/job.texi: Likewise.
9441 * manual/llio.texi: Likewise.
9442 (O_NOCTTY): Document as present on GNU/Linux.
9443 * manual/maint.texi: Likewise.
9444 * manual/memory.texi: Likewise.
9445 * manual/pattern.texi: Likewise.
9446 * manual/pipe.texi: Likewise.
9447 * manual/process.texi: Likewise.
9448 * manual/resource.texi: Likewise.
9449 (RUSAGE_CHILDREN): Remove statement about specifying a particular
9450 child on GNU/Hurd.
9451 * manual/setjmp.texi: Likewise.
9452 * manual/signal.texi: Likewise.
9453 * manual/startup.texi: Likewise.
9454 * manual/stdio.texi: Likewise.
9455 * manual/terminal.texi: Likewise.
9456 (ONLCR): Document as POSIX.
9457 (OXTABS): Document availability on GNU/Linux as XTABS.
9458 (ONOEOT): Document availability separately from other bits.
9459 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
9460 * manual/time.texi: Likewise.
9461 * manual/users.texi: Likewise.
9462 * INSTALL: Regenerated.
9463 * sysdeps/gnu/errlist.c: Regenerated.
9464
07037eeb
JM
9465 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
9466 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
9467 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
9468 puts.
9469 * configure: Regenerated.
9470
d1d3431a
JM
94712012-03-07 Joseph Myers <joseph@codesourcery.com>
9472
af6a1e37
JM
9473 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
9474 default includes instead of AC_HEADER_CHECK.
9475 * sysdeps/i386/configure: Regenerated.
9476
d1d3431a
JM
9477 [BZ #10716]
9478 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
9479 * math/s_cacoshf.c (__cacoshf): Likewise.
9480 * math/s_cacoshl.c (__cacoshl): Likewise.
9481 * math/s_casinh.c (__casinh): Set signs of result from argument.
9482 * math/s_casinhf.c (__casinhf): Likewise.
9483 * math/s_casinhl.c (__casinhl): Likewise.
9484 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
9485 (casinh_test): Add more tests.
9486 * sysdeps/i386/fpu/libm-test-ulps: Update.
9487 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9488
482ff4da
UD
94892012-03-07 Ulrich Drepper <drepper@gmail.com>
9490
872fda05
UD
9491 * po/zh_TW.po: Update from translation team.
9492
a4300c7a
UD
9493 * login/Makefile (distribute): Remove variable.
9494 * catgets/Makefile: Likewise.
9495 * mach/Makefile: Likewise.
9496 * malloc/Makefile: Likewise.
9497 * misc/Makefile: Likewise.
9498 * iconv/Makefile: Likewise.
9499 * nscd/Makefile: Likewise.
9500 * hurd/Makefile: Likewise.
9501 * manual/Makefile: Likewise.
9502 * locale/Makefile: Likewise.
9503 * intl/Makefile: Likewise.
9504 * conform/Makefile: Likewise.
9505 * nss/Makefile: Likewise.
9506 * time/Makefile: Likewise.
9507 * soft-fp/Makefile: Likewise.
9508 * dirent/Makefile: Likewise.
9509 * gmon/Makefile: Likewise.
9510 * po/Makefile: Likewise.
9511 * rt/Makefile: Likewise.
9512 * socket/Makefile: Likewise.
9513 * math/Makefile: Likewise.
9514 * signal/Makefile: Likewise.
9515 * debug/Makefile: Likewise.
9516 * elf/Makefile: Likewise.
9517 * timezone/Makefile: Likewise.
9518 * stdlib/Makefile: Likewise.
9519 * iconvdata/Makefile: Likewise.
9520 * sunrpc/Makefile: Likewise.
9521 * io/Makefile: Likewise.
9522 * argp/Makefile: Likewise.
9523 * inet/Makefile: Likewise.
9524 * hesiod/Makefile: Likewise.
9525 * grp/Makefile: Likewise.
9526 * csu/Makefile: Likewise.
9527 * wctype/Makefile: Likewise.
9528 * crypt/Makefile: Likewise.
9529 * libio/Makefile: Likewise.
9530 * string/Makefile: Likewise.
9531 * nis/Makefile: Likewise.
9532 * resolv/Makefile: Likewise.
9533 * stdio-common/Makefile: Likewise.
9534 * wcsmbs/Makefile: Likewise.
9535 * dlfcn/Makefile: Likewise.
9536 * posix/Makefile: Likewise.
9537
3b7c4e74 9538 [BZ #6959]
482ff4da
UD
9539 * timezone/Makefile: Don't install timezone files, just the programs
9540 and scripts.
9541
f72ed77d
UD
95422012-03-06 Ulrich Drepper <drepper@gmail.com>
9543
a000466f
UD
9544 * nss/databases.def: Add missing gshadow entry.
9545
f72ed77d
UD
9546 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
9547
a53b7a4e
MP
95482012-03-06 Marek Polacek <polacek@redhat.com>
9549
9550 [BZ #13726]
9551 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
9552 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
9553 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
9554 * stdio-common/tst-long-dbl-fphex.c: New file.
9555
e9258400
DM
95562012-03-06 David S. Miller <davem@davemloft.net>
9557
9558 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
9559 (set_obp_int): New function.
9560 (get_obp_int): New function.
9561 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
9562 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
9563 Avoid unused variable warnings on 'val' and use builtin_expect.
9564 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
9565 __builtin_expect.
e9258400
DM
9566 (INLINE_CLONE_SYSCALL): Likewise.
9567
3bd2c723
DM
95682012-03-05 David S. Miller <davem@davemloft.net>
9569
9570 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9571
bbb78d03
AS
95722012-03-05 Andreas Schwab <schwab@linux-m68k.org>
9573
884c5db4
AS
9574 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9575
bbb78d03
AS
9576 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
9577 only for |x| >= 40.
9578 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
9579
1c9f702a 95802012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
9581
9582 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
9583 Replace gettimeofday with __vdso_gettimeofday.
9584
7be16f82
RM
9585 * sysdeps/unix/sysv/linux/x86_64/init-first.c
9586 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
9587 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
9588
9589 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
9590 time with __vdso_time.
9591
ed58a00f
JM
95922012-03-05 Joseph Myers <joseph@codesourcery.com>
9593
9594 * manual/lang.texi (size_t): Note types to which size_t may be
9595 equivalent with the GNU C Library, but do not describe when
9596 differences between them are significant.
9597
30ee4ced
AJ
95982012-03-05 Andreas Jaeger <aj@suse.de>
9599
9600 * sysdeps/i386/fpu/libm-test-ulps: Update.
9601
b7cd39e8
JM
96022012-03-05 Joseph Myers <joseph@codesourcery.com>
9603
9604 [BZ #3976]
9605 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
9606 (__ieee754_pow): Save and restore rounding mode and use
9607 round-to-nearest for main computations.
9608 * math/libm-test.inc (pow_test_tonearest): New function.
9609 (pow_test_towardzero): Likewise.
9610 (pow_test_downward): Likewise.
9611 (pow_test_upward): Likewise.
9612 (main): Call the new functions.
9613 * sysdeps/i386/fpu/libm-test-ulps: Update.
9614 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
9615
9616 [BZ #3976]
9617 * math/libm-test.inc (cosh_test_tonearest): New function.
9618 (cosh_test_towardzero): Likewise.
9619 (cosh_test_downward): Likewise.
9620 (cosh_test_upward): Likewise.
9621 (sinh_test_tonearest): Likewise.
9622 (sinh_test_towardzero): Likewise.
9623 (sinh_test_downward): Likewise.
9624 (sinh_test_upward): Likewise.
9625 (main): Call the new functions.
9626 * sysdeps/i386/fpu/libm-test-ulps: Update.
9627 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9628
6c6a98c9
TV
96292012-03-05 Tom de Vries <tom@codesourcery.com>
9630
9631 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
9632 default stack guard is set in last bytes.
9633 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
9634
21bb2d2e 96352012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 9636
21bb2d2e 9637 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 9638
21bb2d2e
AJ
9639 [BZ #13656]
9640 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
9641 possibly allocate from heap instead of stack.
9642 * stdio-common/bug-vfprintf-nargs.c: New file.
9643 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 9644
c6922934
AS
96452012-03-03 Andreas Schwab <schwab@linux-m68k.org>
9646
9647 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9648
bc957d53
MP
96492012-03-03 Marek Polacek <polacek@redhat.com>
9650
9651 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
9652 * math/math_private.h: Likewise.
9653 * stdlib/tst-strtod.c: Likewise.
9654 * sysdeps/i386/i486/bits/atomic.h: Likewise.
9655 * sysdeps/x86_64/bits/atomic.h: Likewise.
9656
6358490d
DM
96572012-03-02 David S. Miller <davem@davemloft.net>
9658
9659 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
9660 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
9661 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
9662 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
9663 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
9664 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
9665 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
9666 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
9667
01ae168d
RM
96682012-03-02 Roland McGrath <roland@hack.frob.com>
9669
d9a17c07
RM
9670 [BZ #13792]
9671 * manual/examples/README: New file, says the example source files
9672 can be used under GPL>=2.
9673 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
9674 line containing just "*/".
9675 * manual/examples/add.c: Add copyright header (GPL>=2).
9676 * manual/examples/argp-ex1.c: Likewise.
9677 * manual/examples/argp-ex2.c: Likewise.
9678 * manual/examples/argp-ex3.c: Likewise.
9679 * manual/examples/argp-ex4.c: Likewise.
9680 * manual/examples/atexit.c: Likewise.
9681 * manual/examples/db.c: Likewise.
9682 * manual/examples/dir.c: Likewise.
9683 * manual/examples/dir2.c: Likewise.
9684 * manual/examples/execinfo.c: Likewise.
9685 * manual/examples/filecli.c: Likewise.
9686 * manual/examples/filesrv.c: Likewise.
9687 * manual/examples/fmtmsgexpl.c: Likewise.
9688 * manual/examples/genpass.c: Likewise.
9689 * manual/examples/inetcli.c: Likewise.
9690 * manual/examples/inetsrv.c: Likewise.
9691 * manual/examples/isockad.c: Likewise.
9692 * manual/examples/longopt.c: Likewise.
9693 * manual/examples/memopen.c: Likewise.
9694 * manual/examples/memstrm.c: Likewise.
9695 * manual/examples/mkfsock.c: Likewise.
9696 * manual/examples/mkisock.c: Likewise.
9697 * manual/examples/mygetpass.c: Likewise.
9698 * manual/examples/pipe.c: Likewise.
9699 * manual/examples/popen.c: Likewise.
9700 * manual/examples/rprintf.c: Likewise.
9701 * manual/examples/search.c: Likewise.
9702 * manual/examples/select.c: Likewise.
9703 * manual/examples/setjmp.c: Likewise.
9704 * manual/examples/sigh1.c: Likewise.
9705 * manual/examples/sigusr.c: Likewise.
9706 * manual/examples/stpcpy.c: Likewise.
9707 * manual/examples/strdupa.c: Likewise.
9708 * manual/examples/strftim.c: Likewise.
9709 * manual/examples/strncat.c: Likewise.
9710 * manual/examples/subopt.c: Likewise.
9711 * manual/examples/swapcontext.c: Likewise.
9712 * manual/examples/termios.c: Likewise.
9713 * manual/examples/testopt.c: Likewise.
9714 * manual/examples/testpass.c: Likewise.
9715 * manual/examples/timeval_subtract.c: Likewise.
9716
01ae168d
RM
9717 [BZ #13792]
9718 * manual/time.texi (Elapsed Time): Move timeval_subtract example
9719 function to ...
9720 * manual/timeval_subtract.c.texi: ... here, new file.
9721
49efa33d
DM
97222012-03-02 David S. Miller <davem@davemloft.net>
9723
9724 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
9725
28afd92d
JM
97262012-03-02 Joseph Myers <joseph@codesourcery.com>
9727
804360ed
JM
9728 [BZ #3976]
9729 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
9730 (__sin): Save and restore rounding mode and use round-to-nearest
9731 for all computations.
9732 (__cos): Save and restore rounding mode and use round-to-nearest
9733 for all computations.
9734 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
9735 <fenv.h>.
9736 (tan): Save and restore rounding mode and use round-to-nearest for
9737 all computations.
9738 * math/libm-test.inc (cos_test_tonearest): New function.
9739 (cos_test_towardzero): Likewise.
9740 (cos_test_downward): Likewise.
9741 (cos_test_upward): Likewise.
9742 (sin_test_tonearest): Likewise.
9743 (sin_test_towardzero): Likewise.
9744 (sin_test_downward): Likewise.
9745 (sin_test_upward): Likewise.
9746 (tan_test_tonearest): Likewise.
9747 (tan_test_towardzero): Likewise.
9748 (tan_test_downward): Likewise.
9749 (tan_test_upward): Likewise.
9750 (main): Call the new functions.
9751 * sysdeps/i386/fpu/libm-test-ulps: Update.
9752 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9753
a6d06d7b
JM
9754 [BZ #10135]
9755 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
9756 small n, then large n, before computing and testing k+n.
9757 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
9758 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
9759 Likewise.
9760 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
9761 Likewise.
9762 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
9763 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
9764 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
9765 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
9766 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
9767 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
9768 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
9769 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
9770 * math/libm-test.inc (scalbn_test): Add more tests.
9771 (scalbln_test): Likewise.
9772
07e12bb3
JM
9773 * manual/filesys.texi (mode_t): Describe constraints on size and
9774 signedness, not exact equivalence to a particular type.
9775 (ino_t): Likewise.
9776 (ino64_t): Likewise.
9777 (dev_t): Likewise.
9778 (nlink_t): Likewise.
9779 (blkcnt_t): Likewise.
9780 (blkcnt64_t): Likewise.
9781 * manual/llio.texi (off_t): Likewise.
9782
28afd92d
JM
9783 [BZ #3976]
9784 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
9785 (__ieee754_exp): Save and restore rounding mode and use
9786 round-to-nearest for all computations.
9787 * math/libm-test.inc (exp_test_tonearest): New function.
9788 (exp_test_towardzero): Likewise.
9789 (exp_test_downward): Likewise.
9790 (exp_test_upward): Likewise.
9791 (main): Call the new functions.
9792 * sysdeps/i386/fpu/libm-test-ulps: Update.
9793 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9794
b1eeb65d
CD
97952012-03-01 Chris Demetriou <cgd@google.com>
9796
9797 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
9798 have predictable order.
9799
53362a4b
DM
98002012-03-01 David S. Miller <davem@davemloft.net>
9801
3c969083
DM
9802 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
9803
759707de
DM
9804 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
9805 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
9806 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
9807 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
9808
dfdb8ff2
DM
9809 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
9810 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
9811 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
9812 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
9813 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
9814 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
9815 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
9816 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
9817 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
9818
ead89f96
DM
9819 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9820
7f66bd07
DM
9821 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
9822 * sysdeps/sparc/fpu/libm-test-ulps: to here.
9823 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
9824
53362a4b
DM
9825 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
9826 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
9827 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
9828 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
9829 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
9830 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
9831 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
9832 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
9833 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
9834 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
9835 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
9836 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
9837 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
9838 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
9839 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
9840 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9841 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
9842 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
9843 * sysdeps/sparc/elf/configure: Regenerated.
9844
7b1902cb
JM
98452012-03-01 Joseph Myers <joseph@codesourcery.com>
9846
bec039bc
JM
9847 * configure.in (AS, LD): Require binutils 2.20 or later.
9848 * configure: Regenerated.
9849 * manual/install.texi (Tools for Compilation): Give binutils 2.20
9850 as required minimum version.
9851 * INSTALL: Regenerated.
9852
7b1902cb
JM
9853 [BZ #2541]
9854 [BZ #4108]
9855 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
9856 before squaring exponent.
9857 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
9858 bottom long double and 27 bits of top long double before squaring
9859 exponent.
9860 * math/libm-test.inc (erfc_test): Add more tests.
9861 * sysdeps/i386/fpu/libm-test-ulps: Update.
9862 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9863 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9864
f775c276
KT
98652012-03-01 Kai Tietz <ktietz@redhat.com>
9866
9867 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
9868 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
9869 containing bit-fields.
9870 * soft-fp/extended.h (_FP_UNION_E): Likewise.
9871 * soft-fp/single.h (_FP_UNION_S): Likewise.
9872 * soft-fp/double.h (_FP_UNION_D): Likewise.
9873
5b8a4d4a
JM
98742012-02-29 Joseph Myers <joseph@codesourcery.com>
9875
0bab47b6
JM
9876 [BZ #13786]
9877 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
9878 not include ../strcmp.S.
9879 [USE_AS_STRNCASECMP_L]: Likewise.
9880 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
9881 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
9882 * sysdeps/i386/i686/multiarch/strncase_l-c.c
9883 (__strncasecmp_l_ia32): Define as alias to
9884 __strncasecmp_l_nonascii.
9885
0fcad3e2
JM
9886 [BZ #5794]
9887 * math/libm-test.inc (expm1_test): Add test for bug 5794.
9888 * sysdeps/i386/fpu/libm-test-ulps: Update.
9889 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9890
5b8a4d4a
JM
9891 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
9892 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9893
8fdceb2e
JL
98942012-02-29 Jeff Law <law@redhat.com>
9895
9896 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
9897 out of bounds read.
9898
1f393a11
MP
98992012-02-29 Marek Polacek <polacek@redhat.com>
9900
9901 [BZ #13706]
9902 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
9903 * elf/Makefile: Add rules to run tst-unused-dep.out.
9904
8847f037
DM
99052012-02-28 David S. Miller <davem@davemloft.net>
9906
9907 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
9908 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
9909 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
9910 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
9911 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
9912 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
9913
169d7f11
JM
99142012-02-29 Joseph Myers <joseph@codesourcery.com>
9915
9916 * math/libm-test.inc (llround_test): Move one test from
9917 lround_test. Use TEST_f_L in moved test.
9918 (lround_test): Move misplaced test to llround_test. Add testcase
9919 from bug 2561.
9920
39adf059
UD
99212012-02-28 Ulrich Drepper <drepper@gmail.com>
9922
9923 * sysdeps/x86_64/fpu/e_expf.S: New file.
9924 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
9925
71b5d1c5
SB
99262012-02-28 Stanislav Brabec <sbrabec@suse.cz>
9927
9928 [BZ #13637]
9929 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
9930 of remain_len that may cause incomplete multi-byte character and
9931 false match.
9932 * posix/bug-regex33.c: New file.
9933 * posix/Makefile (tests): Add bug-regex33.
9934
1f77f049
JM
99352012-02-28 Joseph Myers <joseph@codesourcery.com>
9936
9937 * manual/macros.texi: New file.
9938 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
9939 * manual/libc.texinfo: Include macros.texi.
9940 * manual/creatute.texi: Likewise.
9941 * manual/install.texi: Likewise.
9942 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
9943 @glibcadj{} in references to the GNU C Library.
9944 * manual/charset.texi: Likewise.
9945 * manual/conf.texi: Likewise.
9946 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
9947 when not using those macros.
9948 * manual/creature.texi: Likewise.
9949 * manual/crypt.texi: Likewise.
9950 * manual/errno.texi: Likewise.
9951 * manual/filesys.texi: Likewise.
9952 * manual/header.texi: Likewise.
9953 * manual/install.texi: Likewise.
9954 * manual/intro.texi: Likewise.
9955 * manual/io.texi: Likewise.
9956 * manual/job.texi: Likewise.
9957 * manual/lang.texi: Likewise.
9958 * manual/libc.texiinfo: Likewise.
9959 * manual/llio.texi: Likewise.
9960 * manual/locale.texi: Likewise.
9961 * manual/maint.texi: Likewise.
9962 * manual/math.texi: Likewise.
9963 * manual/memory.texi: Likewise.
9964 * manual/message.texi: Likewise.
9965 * manual/nss.texi: Likewise.
9966 * manual/pattern.texi: Likewise.
9967 * manual/process.texi: Likewise.
9968 * manual/resource.texi: Likewise.
9969 * manual/search.texi: Likewise.
9970 * manual/setjmp.texi: Likewise.
9971 * manual/signal.texi: Likewise.
9972 * manual/socket.texi: Likewise.
9973 * manual/startup.texi: Likewise.
9974 * manual/stdio.texi: Likewise.
9975 * manual/string.texi: Likewise.
9976 * manual/sysinfo.texi: Likewise.
9977 * manual/syslog.texi: Likewise.
9978 * manual/terminal.texi: Likewise.
9979 * manual/time.texi: Likewise.
9980 * manual/users.texi: Likewise.
9981 * INSTALL: Regenerated.
9982 * NOTES: Regenerated.
d40c5d54 9983 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 9984
450bf206
AS
99852012-02-28 Andreas Schwab <schwab@linux-m68k.org>
9986
9987 * include/dirent.h: Include <dirstream.h> before
9988 <dirent/dirent.h>.
9989
741a235b
DM
99902012-02-28 David S. Miller <davem@davemloft.net>
9991
9992 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
9993 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
9994 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
9995 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
9996
d6b5aa58
DM
99972012-02-27 David S. Miller <davem@davemloft.net>
9998
1aff59a3
DM
9999 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
10000 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
10001 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
10002 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
10003
d6b5aa58
DM
10004 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
10005 frame pointer instead of stack pointer relative arg slot.
10006 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
10007 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
10008 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
10009
433f48bf
CD
100102012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
10011
10012 [BZ #3992]
10013 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
10014
d674b76d
DM
100152012-02-27 David S. Miller <davem@davemloft.net>
10016
10017 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
10018 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
10019 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
10020 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
10021 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
10022 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
10023 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
10024 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
10025
0e7727f7
JM
100262012-02-27 Joseph Myers <joseph@codesourcery.com>
10027
10028 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
10029 later. Allow versions 5-9.
43be4ca2 10030 * configure: Regenerated.
0e7727f7
JM
10031 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
10032 required minimum version and 4.6 as recommended version. Do not
10033 mention bugs in GCC 2.7 and 2.8.
43be4ca2 10034 * INSTALL: Regenerated.
0e7727f7 10035
a78bc654
DM
100362012-02-27 David S. Miller <davem@davemloft.net>
10037
428d5830
DM
10038 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
10039 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
10040 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
10041 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
10042 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
10043 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
10044 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
10045 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
10046
a78bc654
DM
10047 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
10048 manipulate bits before adding and subtracting TWO112[sx].
10049 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
10050
4579f81c
RM
100512012-02-27 Roland McGrath <roland@hack.frob.com>
10052
36c8acb4
RM
10053 [BZ #13775]
10054 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
10055 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
10056 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
10057 being in POSIX, because they are in 1003.1-2008.
10058
84ad622b
RM
10059 * rt/tst-aio.c: Include <fcntl.h>.
10060 * rt/tst-aio7.c: Likewise.
10061 * rt/tst-aio64.c: Likewise.
10062
4579f81c
RM
10063 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
10064
abd923db
JM
100652012-02-27 Joseph Myers <joseph@codesourcery.com>
10066
10067 * manual/install.texi (--with-headers): Describe headers as
10068 interface headers, not private headers.
10069 (Specific advice for GNU/Linux systems): Describe use of headers
10070 from "make headers_install", not private headers from older
10071 kernels.
43be4ca2 10072 * INSTALL: Regenerated.
abd923db
JM
10073 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
10074 Change to 2.6.19.
10075 * sysdeps/unix/sysv/linux/configure: Regenerated.
10076
6664049b
JM
10077 * manual/llio.texi (fclean): Remove documentation.
10078
bb8b6697
JM
10079 * manual/Makefile (libc-texi-generated): New variable. Include
10080 version.texi.
10081 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
10082 $(libc-texi-generated), not duplicated list of files.
10083 (version.texi, stamp-version): New rules.
10084 (realclean): Remove $(libc-texi-generated), not individual files
10085 from that list. Do not remove dir-add.texinfo.
10086 * manual/libc.texinfo: Comment out uses of edition numbers and
10087 references to printed manual. Remove last-updated dates.
10088 (EDITION): Comment out.
10089 (ISBN): Likewise.
10090 (VERSION, UPDATED): Remove.
10091 (version.texi): Include.
10092
12e5c3b9
AS
100932012-02-27 Andreas Schwab <schwab@linux-m68k.org>
10094
10095 * sysdeps/posix/spawni.c: Include <signal.h>.
10096 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
10097 * sysdeps/pthread/aio_fsync.c: Likewise.
10098
4efeffc1 100992012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 10100
ba63ba08
UD
10101 * conform/Makefile (tests): Run only when not cross-compiling and
10102 when fast-check is not defined.
10103
d94a4670
UD
10104 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
10105 * conform/data/limits.h-data: Fixes for POSIX2008.
10106 * conform/run-conformtest.sh: Run all tests.
10107 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
10108 headers.
10109 * include/bits/dlfcn.h: Likewise.
10110 * include/langinfo.h: Likewise.
10111 * include/monetary.h: Likewise.
10112 * include/sys/poll.h: Likewise.
10113
10114 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
10115 for __USE_GNU.
10116 * posix/spawn.h: Define __need_sigset_t.
10117 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
10118 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
10119 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
10120 to get sigevent_t only.
10121 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
10122 only for __USE_GNU.
10123 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
10124 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
10125 process_vm_writev only for __USE_GNU.
10126 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
10127
10128 * conform/Makefile: For now ignore errors from run-conformtest.
10129 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
10130 POSIX to avoid namespace pollution. Don't prepend headers.
10131 * conform/data/aio.h-data: Fixes for POSIX testing.
10132 * conform/data/fcntl.h-data: Likewise.
10133 * conform/data/glob.h-data: Likewise.
10134 * conform/data/grp.h-data: Likewise.
10135 * conform/data/pthread.h-data: Likewise.
10136 * conform/data/pwd.h-data: Likewise.
10137 * conform/data/signal.h-data: Likewise.
10138 * conform/data/spawn.h-data: Likewise.
10139 * conform/data/stdio.h-data: Likewise.
10140 * conform/data/stdlib.h-data: Likewise.
10141 * conform/data/stropts.h-data: Likewise.
10142 * conform/data/sys/mman.h-data: Likewise.
10143 * conform/data/sys/stat.h-data: Likewise.
10144 * conform/data/sys/types.h-data: Likewise.
10145 * conform/data/sys/wait.h-data: Likewise.
10146 * conform/data/time.h-data: Likewise.
10147 * conform/data/unistd.h-data: Likewise.
10148 * conform/data/utime.h-data: Likewise.
10149
10150 * io/sys/stat.h: fchmod was always in POSIX.
10151 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
10152 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
10153 * rt/aio.h: Define __need_timespec before including <time.h>.
10154 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
10155 struct. Add forward declaration of pthread_attr_t and use it in
10156 sigevent.
10157 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
10158 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
10159 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
10160 always remove CLK_TCK definition.
10161
c20105c3
AS
101622012-02-26 Andreas Schwab <schwab@linux-m68k.org>
10163
10164 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
10165
7a270350
UD
101662012-02-25 Ulrich Drepper <drepper@gmail.com>
10167
31341567
UD
10168 * conform/run-conformtest.sh: New file.
10169 * conform/Makefile: Run run-conformtest for tests.
10170 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
10171 support.
10172
10173 * conform/data/uchar.h-data: New file.
10174 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
10175 * conform/data/arpa/inet.h-data: Likewise.
10176 * conform/data/assert.h-data: Likewise.
10177 * conform/data/complex.h-data: Likewise.
10178 * conform/data/cpio.h-data: Likewise.
10179 * conform/data/ctype.h-data: Likewise.
10180 * conform/data/dirent.h-data: Likewise.
10181 * conform/data/dlfcn.h-data: Likewise.
10182 * conform/data/errno.h-data: Likewise.
10183 * conform/data/fcntl.h-data: Likewise.
10184 * conform/data/float.h-data: Likewise.
10185 * conform/data/fmtmsg.h-data: Likewise.
10186 * conform/data/fnmatch.h-data: Likewise.
10187 * conform/data/ftw.h-data: Likewise.
10188 * conform/data/glob.h-data: Likewise.
10189 * conform/data/grp.h-data: Likewise.
10190 * conform/data/iconv.h-data: Likewise.
10191 * conform/data/inttypes.h-data: Likewise.
10192 * conform/data/langinfo.h-data: Likewise.
10193 * conform/data/libgen.h-data: Likewise.
10194 * conform/data/limits.h-data: Likewise.
10195 * conform/data/locale.h-data: Likewise.
10196 * conform/data/math.h-data: Likewise.
10197 * conform/data/monetary.h-data: Likewise.
10198 * conform/data/mqueue.h-data: Likewise.
10199 * conform/data/ndbm.h-data: Likewise.
10200 * conform/data/net/if.h-data: Likewise.
10201 * conform/data/netdb.h-data: Likewise.
10202 * conform/data/netinet/in.h-data: Likewise.
10203 * conform/data/nl_types.h-data: Likewise.
10204 * conform/data/poll.h-data: Likewise.
10205 * conform/data/pthread.h-data: Likewise.
10206 * conform/data/pwd.h-data: Likewise.
10207 * conform/data/regex.h-data: Likewise.
10208 * conform/data/sched.h-data: Likewise.
10209 * conform/data/search.h-data: Likewise.
10210 * conform/data/semaphore.h-data: Likewise.
10211 * conform/data/setjmp.h-data: Likewise.
10212 * conform/data/signal.h-data: Likewise.
10213 * conform/data/spawn.h-data: Likewise.
10214 * conform/data/stdarg.h-data: Likewise.
10215 * conform/data/stdio.h-data: Likewise.
10216 * conform/data/stdlib.h-data: Likewise.
10217 * conform/data/string.h-data: Likewise.
10218 * conform/data/strings.h-data: Likewise.
10219 * conform/data/stropts.h-data: Likewise.
10220 * conform/data/sys/ipc.h-data: Likewise.
10221 * conform/data/sys/mman.h-data: Likewise.
10222 * conform/data/sys/msg.h-data: Likewise.
10223 * conform/data/sys/resource.h-data: Likewise.
10224 * conform/data/sys/select.h-data: Likewise.
10225 * conform/data/sys/sem.h-data: Likewise.
10226 * conform/data/sys/shm.h-data: Likewise.
10227 * conform/data/sys/socket.h-data: Likewise.
10228 * conform/data/sys/stat.h-data: Likewise.
10229 * conform/data/sys/statvfs.h-data: Likewise.
10230 * conform/data/sys/time.h-data: Likewise.
10231 * conform/data/sys/timeb.h-data: Likewise.
10232 * conform/data/sys/times.h-data: Likewise.
10233 * conform/data/sys/types.h-data: Likewise.
10234 * conform/data/sys/uio.h-data: Likewise.
10235 * conform/data/sys/un.h-data: Likewise.
10236 * conform/data/sys/utsname.h-data: Likewise.
10237 * conform/data/sys/wait.h-data: Likewise.
10238 * conform/data/syslog.h-data: Likewise.
10239 * conform/data/tar.h-data: Likewise.
10240 * conform/data/termios.h-data: Likewise.
10241 * conform/data/utime.h-data: Likewise.
10242 * conform/data/utmpx.h-data: Likewise.
10243 * conform/data/varargs.h-data: Likewise.
10244 * conform/data/wchar.h-data: Likewise.
10245 * conform/data/wctype.h-data: Likewise.
10246 * conform/data/wordexp.h-data: Likewise.
10247
10248 * include/stropts.h: New file.
10249 * include/uchar.h: New file.
10250 * include/aio.h: Changes to allow conformtest.pl to use the headers.
10251 * include/assert.h: Likewise.
10252 * include/ctype.h: Likewise.
10253 * include/dirent.h: Likewise.
10254 * include/dlfcn.h: Likewise.
10255 * include/fcntl.h: Likewise.
10256 * include/fnmatch.h: Likewise.
10257 * include/glob.h: Likewise.
10258 * include/grp.h: Likewise.
10259 * include/libio.h: Likewise.
10260 * include/locale.h: Likewise.
10261 * include/math.h: Likewise.
10262 * include/net/if.h: Likewise.
10263 * include/netdb.h: Likewise.
10264 * include/netinet/in.h: Likewise.
10265 * include/pthread.h: Likewise.
10266 * include/pwd.h: Likewise.
10267 * include/regex.h: Likewise.
10268 * include/sched.h: Likewise.
10269 * include/search.h: Likewise.
10270 * include/setjmp.h: Likewise.
10271 * include/signal.h: Likewise.
10272 * include/stdio.h: Likewise.
10273 * include/stdlib.h: Likewise.
10274 * include/string.h: Likewise.
10275 * include/sys/cdefs.h: Likewise.
10276 * include/sys/mman.h: Likewise.
10277 * include/sys/msg.h: Likewise.
10278 * include/sys/resource.h: Likewise.
10279 * include/sys/select.h: Likewise.
10280 * include/sys/socket.h: Likewise.
10281 * include/sys/stat.h: Likewise.
10282 * include/sys/statvfs.h: Likewise.
10283 * include/sys/time.h: Likewise.
10284 * include/sys/times.h: Likewise.
10285 * include/sys/uio.h: Likewise.
10286 * include/sys/utsname.h: Likewise.
10287 * include/sys/wait.h: Likewise.
10288 * include/termios.h: Likewise.
10289 * include/time.h: Likewise.
10290 * include/ulimit.h: Likewise.
10291 * include/unistd.h: Likewise.
10292 * include/utime.h: Likewise.
10293 * include/wchar.h: Likewise.
10294 * include/wctype.h: Likewise.
10295 * include/wordexp.h: Likewise.
10296
10297 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
10298
7a270350
UD
10299 * time/time.h: TIME_UTC must be a macro.
10300 Make timespec_get available for ISO C11 only as well.
10301
7724defc
UD
103022012-02-24 Ulrich Drepper <drepper@gmail.com>
10303
10304 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
10305 Reported by Peng Haitao <penght@cn.fujitsu.com>.
10306
6b1d1d46
JM
103072012-02-24 Joseph Myers <joseph@codesourcery.com>
10308
10309 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 10310
0f8bbd69
JM
103112012-02-24 Joseph Myers <joseph@codesourcery.com>
10312
10313 * manual/texinfo.tex: Update to version 2012-01-19.16.
10314
66ab80bc
JM
103152012-02-24 Joseph Myers <joseph@codesourcery.com>
10316
10317 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
10318
74981cc5
RM
103192012-02-24 Roland McGrath <roland@hack.frob.com>
10320
ee968201
RM
10321 [BZ #13738]
10322 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
10323 * manual/fdl-1.3.texi: New file.
10324 * manual/fdl-1.1.texi: File removed.
10325
74981cc5
RM
10326 [BZ #13738]
10327 * manual/libc.texinfo (FDL_VERSION): New @set.
10328 Use it for mention of FDL in cover text.
10329 (Documentation License): Use it in @include file name.
10330
7bb764bc
JM
103312012-02-22 Joseph Myers <joseph@codesourcery.com>
10332 Roland McGrath <roland@hack.frob.com>
10333
10334 [BZ #5461]
10335 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
10336 not LONG_LONG_MAX and LONG_LONG_MIN.
10337 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
10338 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
10339 name.
10340 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
10341
6cbeae47
JM
103422012-02-22 Joseph Myers <joseph@codesourcery.com>
10343
10344 [BZ #2547]
10345 [BZ #11365]
10346 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
10347 manipulate bits before adding and subtracting TWO23[sx].
10348 * math/libm-test.inc (nearbyint_test): Add more tests.
10349
fe45ce09
JM
103502012-02-22 Joseph Myers <joseph@codesourcery.com>
10351
10352 [BZ #2548]
10353 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
10354 bits before adding and subtracting TWO23[sx].
10355 * math/libm-test.inc (rint_test): Add more tests.
10356 (rint_test_tonearest): Likewise.
10357 (rint_test_towardzero): Likewise.
10358 (rint_test_downward): Likewise.
10359 (rint_test_upward: Likewise.
10360
ff3b3d82
JM
103612012-02-22 Joseph Myers <joseph@codesourcery.com>
10362
10363 [BZ #10110]
10364 * include/stdc-predef.h: New file. Extracted from features.h.
10365 * include/features.h: Include stdc-predef.h.
10366 * Makefile (headers): Add stdc-predef.h.
10367 * CONFORMANCE (Compiler limitations): Update.
10368
ef0aab35
JM
103692012-02-22 Joseph Myers <joseph@codesourcery.com>
10370
10371 * manual/libc.texinfo (VERSION, UPDATED): Revert.
10372
58639409
DM
103732012-02-21 David S. Miller <davem@davemloft.net>
10374
10375 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
10376 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
10377
c0e70b25
DM
103782012-02-20 David S. Miller <davem@davemloft.net>
10379
10380 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
10381 using a normal save/restore sequence, rather than allocating a
10382 dummy stack frame just to store a frame pointer and restore.
10383 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
10384
fb06851d
JM
103852012-02-21 Joseph Myers <joseph@codesourcery.com>
10386
10387 * manual/install.texi: Fix stray word in line-wrapped comment.
10388
7a8b71c3
DM
103892012-02-20 David S. Miller <davem@davemloft.net>
10390
d510c123
DM
10391 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
10392 both binutils and gcc support GOTDATA.
10393
0722d7c2
DM
10394 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
10395 "rd %pc" in the PIC register setup sequences.
10396
3d2b3019
DM
10397 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
10398 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
10399 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
10400 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
10401 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
10402 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
10403 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
10404 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
10405 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
10406 (SYSCALL_ERROR_HANDLER): Likewise.
10407 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
10408 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
10409 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
10410 (SYSCALL_ERROR_HANDLER): Likewise.
10411
c80098a9
DM
10412 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
10413 (HAVE_GCC_GOTDATA): New.
10414 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
10415 relocation support in both binutils and gcc.
10416 * sysdeps/sparc/elf/configure: Regenerate.
10417
3a2545a0
DM
10418 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
10419 * sysdeps/sparc/sparc32/elf/configure: Delete.
10420 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
10421 * sysdeps/sparc/sparc64/elf/configure: Delete.
10422 * sysdeps/sparc/elf/configure.in: New file.
10423 * sysdeps/sparc/elf/configure: Generate.
10424
7a8b71c3
DM
10425 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
10426 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
10427 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
10428 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
10429 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
10430
f1e86fca
JM
104312012-02-21 Joseph Myers <joseph@codesourcery.com>
10432
10433 * manual/install.texi: Do not mention specific glibc version
10434 numbers.
10435 * manual/libc.texinfo (VERSION, UPDATED): Update.
10436 (@copying): Use @copyright{} and range of years.
10437
0e7dfaef
JM
104382012-02-21 Joseph Myers <joseph@codesourcery.com>
10439
10440 [BZ #13695]
10441 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
10442 [crti.S not in sysdirs] (generated): Do not append.
10443 [crti.S not in sysdirs] (omit-deps): Likewise.
10444 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
10445 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
10446 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
10447 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
10448 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
10449 Likewise.
10450 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
10451 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
10452 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
10453 * csu/defs.awk: Remove file.
10454 * sysdeps/generic/initfini.c: Likewise.
10455 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
10456 variable.
10457 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
10458 Likewise.
10459
599af3ca
JM
104602012-02-20 Joseph Myers <joseph@codesourcery.com>
10461
10462 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
10463 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
10464 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
10465 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
10466 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
10467 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
10468 <bits/epoll.h>.
10469 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
10470 (__EPOLL_PACKED): Define to empty if not defined by
10471 <bits/epoll.h>.
10472 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
10473 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10474 bits/epoll.h.
10475
0e499750
JM
104762012-02-20 Joseph Myers <joseph@codesourcery.com>
10477
10478 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
10479 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
10480 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
10481 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
10482 <bits/timerfd.h>.
10483 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
10484 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10485 bits/timerfd.h.
10486
5ad91f6e
JM
104872012-02-20 Joseph Myers <joseph@codesourcery.com>
10488
10489 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
10490 in C locale.
10491 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10492 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
10493 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
10494 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10495
06b99b02
AJ
104962012-02-20 Aurelien Jarno <aurelien@aurel32.net>
10497
10498 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10499 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
10500
7638c0fd
AS
105012012-02-19 Andreas Schwab <schwab@linux-m68k.org>
10502
10503 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
10504 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
10505 defined.
10506 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
10507 Likewise.
10508 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
10509 entry for 2.16.
10510
92221550
AJ
105112012-02-19 Aurelien Jarno <aurelien@aurel32.net>
10512
10513 * math/w_acos.c: Use non-signaling floating-point comparisons.
10514 * math/w_acosf.c: Likewise.
10515 * math/w_acosh.c: Likewise.
10516 * math/w_acoshf.c: Likewise.
10517 * math/w_acoshl.c: Likewise.
10518 * math/w_acosl.c: Likewise.
10519 * math/w_asin.c: Likewise.
10520 * math/w_asinf.c: Likewise.
10521 * math/w_asinl.c: Likewise.
10522 * math/w_atanh.c: Likewise.
10523 * math/w_atanhf.c: Likewise.
10524 * math/w_atanhl.c: Likewise.
10525 * math/w_exp2.c: Likewise.
10526 * math/w_exp2f.c: Likewise.
10527 * math/w_exp2l.c: Likewise.
10528 * math/w_j0.c: Likewise.
10529 * math/w_j0f.c: Likewise.
10530 * math/w_j0l.c: Likewise.
10531 * math/w_j1.c: Likewise.
10532 * math/w_j1f.c: Likewise.
10533 * math/w_j1l.c: Likewise.
10534 * math/w_jn.c: Likewise.
10535 * math/w_jnf.c: Likewise.
10536 * math/w_log.c: Likewise.
10537 * math/w_log10.c: Likewise.
10538 * math/w_log10f.c: Likewise.
10539 * math/w_log10l.c: Likewise.
10540 * math/w_log2.c: Likewise.
10541 * math/w_log2f.c: Likewise.
10542 * math/w_log2l.c: Likewise.
10543 * math/w_logf.c: Likewise.
10544 * math/w_logl.c: Likewise.
10545 * math/w_sqrt.c: Likewise.
10546 * math/w_sqrtf.c: Likewise.
10547 * math/w_sqrtl.c: Likewise.
10548 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
10549 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
10550 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10551 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
10552 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
10553
ebaf36eb
JM
105542012-02-19 Joseph Myers <joseph@codesourcery.com>
10555
10556 [BZ #9739]
10557 * manual/string.texi (strnlen): Use correct parameter name in
10558 equivalent expression.
10559
71c254a6
JM
105602012-02-19 Joseph Myers <joseph@codesourcery.com>
10561
10562 [BZ #11174]
10563 * manual/users.texi (seteuid): Consistently use neweuid for
10564 argument name.
10565
16d2c631
JM
105662012-02-19 Joseph Myers <joseph@codesourcery.com>
10567
10568 [BZ #13704]
10569 * manual/nss.texi (Services in the NSS configuration): Correct
10570 list of services in example configuration file.
10571
cd837b09
NB
105722012-02-19 Nick Bowler <nbowler@draconx.ca>
10573
10574 [BZ #11322]
10575 * manual/arith.texi: Remove statements about negative zero
10576 behaving identically to zero.
10577
02c4bbad
JM
105782012-02-18 Joseph Myers <joseph@codesourcery.com>
10579
10580 [BZ #5993]
10581 * manual/install.texi: Do not document upgrading from libc5.
10582
366842e7
JM
105832012-02-18 Joseph Myers <joseph@codesourcery.com>
10584
10585 [BZ #4596]
10586 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
10587
dd54084d
DM
105882012-02-18 David S. Miller <davem@davemloft.net>
10589
10590 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
10591 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
10592 %o7 across the call.
10593 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
10594 instead.
10595 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
10596 SETUP_PIC_REG_LEAF.
10597 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10598 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
10599 * sysdeps/sparc/crtn.S: Likewise.
10600
2bcc53a3
UD
106012012-02-17 Ulrich Drepper <drepper@gmail.com>
10602
10603 * aout/Makefile: Remove.
10604
09c093b5
RK
106052012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
10606
10607 [BZ #13058]
10608 * manual/examples/argp-ex1.c (main): Format definition in GNU
10609 style.
10610 * manual/examples/argp-ex2.c (main): Likewise.
10611 * manual/examples/argp-ex3.c (main): Likewise.
10612 * manual/examples/argp-ex4.c (main): Likewise.
10613 * manual/examples/longopt.c (main): Use new-style prototype
10614 definition.
10615 * manual/examples/strncat.c (main): Specify return type and use
10616 (void) for arguments.
10617 * manual/examples/subopt.c (main): Use char **argv argument.
10618
2ee633a2
JM
106192012-02-17 Joseph Myers <joseph@codesourcery.com>
10620
10621 [BZ #5077]
10622 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
10623 rounding modes.
10624
0520adde
FB
106252012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
10626
10627 [BZ #6907]
10628 * manual/string.texi (strchr): Change when strchrnul is
10629 recommended.
10630
3f4081cd
DGM
106312012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
10632
10633 [BZ #174]
10634 * manual/locale.texi (setlocale): Document LOCPATH.
10635
d1b10e78
JM
106362012-02-17 Joseph Myers <joseph@codesourcery.com>
10637
10638 [BZ #10210]
10639 * manual/process.texi (execle): Move @dots{} before last argument.
10640
79c6869c
PB
106412012-02-17 Paul Bolle <pebolle@tiscali.nl>
10642
10643 [BZ #12047]
10644 * manual/charset.texi (Generic Charset Conversion): Fix typo
10645 (LC_TYPE -> LC_CTYPE).
10646
cc6e48bc
NB
106472012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
10648
10649 [BZ #5805]
10650 * manual/arith.texi (scalbn): Use @var{} on parameter names.
10651 (scalbnf): Likewise.
10652 (scalbnl): Likewise.
10653 (scalbln): Likewise.
10654 (scalblnf): Likewise.
10655 (scalblnl): Likewise.
10656 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
10657 (vwarnx): Likewise.
10658 (verr): Likewise.
10659 (verrx): Likewise.
10660 * manual/filesys.texi (telldir): Use braces around return type.
10661 * manual/llio.texi (mmap): Add space after comma.
10662 (mmap64): Likewise.
10663 * manual/math.texi (jn): Use @var{} on parameter names.
10664 (jnf): Likewise.
10665 (jnl): Likewise.
10666 (yn): Likewise.
10667 (ynf): Likewise.
10668 (ynl): Likewise.
10669 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
10670 line.
10671 * manual/resource.texi (ulimit): Use @dots{} instead of literal
10672 "...".
10673 (sched_get_priority_min): Remove semicolon on @deftypefun line.
10674 (sched_get_priority_max): Likewise.
10675 * manual/signal.texi (sigvec): Add space after comma.
10676 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
10677 names.
10678 (if_indextoname): Likewise.
10679 (if_freenameindex): Likewise.
10680 (sendto): Use ',' instead of '.' in prototype.
10681 * manual/startup.texi (syscall): Use @dots{} instead of literal
10682 "...".
10683 * manual/stdio.texi (__fpending): Separate initial words of
10684 paragraph from @deftypefun line.
10685 * manual/syslog.texi (syslog): Use @dots{} instead of literal
10686 "...".
10687 (vsyslog): Use @var{} on parameter names.
10688 * manual/terminal.texi (stty): Use @var{} on parameter names.
10689 * manual/users.texi (getutmp): Use @var{} on parameter names.
10690 (getutmpx): Likewise.
10691
5b23062f
JM
106922012-02-17 Joseph Myers <joseph@codesourcery.com>
10693
10694 [BZ #6884]
10695 * manual/stdio.texi (fopen): Fix typos in description of
10696 ",ccs=STRING".
10697
8dee4833
AJ
106982012-02-17 Aurelien Jarno <aurelien@aurel32.net>
10699
10700 [BZ #4026]
10701 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
10702 get clock_id definition.
10703
9078ce93
TS
107042012-02-17 Thomas Schwinge <thomas@schwinge.name>
10705
10706 [BZ #4822]
10707 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
10708 (madvise): Cast every argument to void on its own.
10709
3835c55f
JM
107102012-02-17 Joseph Myers <joseph@codesourcery.com>
10711
10712 [BZ #9902]
10713 * manual/startup.texi (Exit Status): Fix typo.
10714
35c47e37
JM
107152012-02-17 Joseph Myers <joseph@codesourcery.com>
10716
10717 [BZ #10140]
10718 * manual/examples/argp-ex1.c: Include <stdlib.h>.
10719 * manual/examples/argp-ex2.c: Likewise.
10720 * manual/examples/argp-ex3.c: Likewise.
10721
e3b69ca7
RH
107222012-02-16 Richard Henderson <rth@redhat.com>
10723
10724 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
10725 * sysdeps/s390/s390-32/initfini.c: Remove.
10726 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
10727 * sysdeps/s390/s390-64/initfini.c: Remove.
10728
df83af67
KK
107292012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10730
10731 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
10732 compiler output for sysdeps/generic/initfini.c.
10733 * sysdeps/sh/elf/initfini.c: Remove file.
10734
f63f3380
DM
107352012-02-16 David S. Miller <davem@davemloft.net>
10736
fb59b3a4
DM
10737 [BZ #11494]
10738 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
10739
f63f3380
DM
10740 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
10741 * sysdeps/sparc/crti.S: New file.
10742 * sysdeps/sparc/crtn.S: New file.
10743 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
10744 * sysdeps/sparc/sparc64/Makefile: Likewise.
10745
df6a4a4a
MF
107462012-02-15 Mike Frysinger <vapier@gentoo.org>
10747
6dd8f3dc 10748 [BZ #3335]
df6a4a4a
MF
10749 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
10750
1cac7236
RM
107512012-02-15 Roland McGrath <roland@hack.frob.com>
10752
d2c736f8
RM
10753 [BZ #4822]
10754 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
10755
1cac7236
RM
10756 * mach/devstream.c (cookie_io_functions_t): Macro removed.
10757 (write, read, close): Likewise.
10758 Patch by Aurelien Jarno <aurelien@aurel32.net>.
10759
8e475601
JM
107602012-02-15 Joseph Myers <joseph@codesourcery.com>
10761
10762 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
10763 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
10764 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
10765 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
10766 <bits/signalfd.h>.
10767 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
10768 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10769 bits/signalfd.h.
10770
ed656b40
MP
107712012-02-14 Marek Polacek <polacek@redhat.com>
10772
10773 * sysdeps/x86_64/crti.S: New file.
10774 * sysdeps/x86_64/crtn.S: New file.
10775 * sysdeps/x86_64/elf/initfini.c: Remove file.
10776
2a979d3a
JM
107772012-02-13 Joseph Myers <joseph@codesourcery.com>
10778
10779 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
10780 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
10781 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
10782 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
10783 <bits/inotify.h>.
10784 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
10785 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10786 bits/inotify.h.
10787
2a418ac3
JM
107882012-02-13 Joseph Myers <joseph@codesourcery.com>
10789
10790 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
10791 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
10792 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
10793 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
10794 <bits/eventfd.h>.
10795 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
10796 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10797 bits/eventfd.h.
10798
fb779be7
TS
107992012-02-10 Thomas Schwinge <thomas@codesourcery.com>
10800
e19e83c5
RM
10801 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
10802 __feraiseexcept instead of feraiseexcept.
7c35ffed 10803
fb779be7
TS
10804 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
10805 nanosleep invocations.
10806 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
10807 strings, and add error checking for a nanosleep invocations.
10808
59ba27a6
PE
108092012-02-09 Paul Eggert <eggert@cs.ucla.edu>
10810
10811 Replace FSF snail mail address with URLs, as per GNU coding standards.
10812 Most of the snail mail addresses were wrong anyway, and omitting
10813 them makes the source code easier to maintain. Almost all of the
10814 changes are to license notices and to locale LC_IDENTIFICATION
10815 addresses, except for this one:
10816 * manual/libc.texinfo: In "Published by", give the FSF's URL,
10817 not its snail mail address.
10818
57b957eb
RH
108192012-02-09 Richard Henderson <rth@twiddle.net>
10820
af850b1c
RH
10821 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
10822 of kernel-features.h.
10823
57b957eb
RH
10824 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
10825
6b73181a
MP
108262012-02-08 Marek Polacek <polacek@redhat.com>
10827
10828 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
10829 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
10830 * sysdeps/gnu/_G_config.h: Likewise.
10831 * sysdeps/generic/_G_config.h: Likewise.
10832
26ecc33a
AS
108332012-02-08 Andreas Schwab <schwab@linux-m68k.org>
10834
6c6dbc63
AS
10835 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
10836 tests.
10837 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10838
e216c012
AS
10839 * sysdeps/powerpc/powerpc32/crti.S: New file.
10840 * sysdeps/powerpc/powerpc32/crtn.S: New file.
10841 * sysdeps/powerpc/powerpc64/crti.S: New file.
10842 * sysdeps/powerpc/powerpc64/crtn.S: New file.
10843
26ecc33a
AS
10844 * Makeconfig (have-initfini): Don't set.
10845 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
10846 * configure.in (nopic_initfini): Don't substitute.
10847 * config.h.in (HAVE_INITFINI): Don't #undef.
10848 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
10849 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
10850
3add8e13
JM
108512012-02-08 Joseph Myers <joseph@codesourcery.com>
10852
10853 Support crti.S and crtn.S provided directly by architectures.
10854 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
10855 [crti.S in sysdirs] (omit-deps): Likewise.
10856 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
10857 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
10858 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
10859 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
10860 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
10861 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
10862 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
10863 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
10864 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
10865 compiler output for sysdeps/generic/initfini.c.
10866 * sysdeps/i386/elf/Makefile: Remove file.
10867 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
10868
a22f12b4
MP
108692012-02-07 Marek Polacek <polacek@redhat.com>
10870
10871 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
10872 * sysdeps/gnu/_G_config.h: Likewise.
10873 * sysdeps/mach/hurd/_G_config.h: Likewise.
10874
148cf100
MP
108752012-02-07 Marek Polacek <polacek@redhat.com>
10876
10877 * math/Makefile (tests): Add tst-CMPLX2.
10878 * math/tst-CMPLX2.c: New file.
10879
cfdc0dd7
AS
108802012-02-07 Andreas Schwab <schwab@linux-m68k.org>
10881
84ba42c4
AS
10882 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10883
cfdc0dd7
AS
10884 * math/libm-test.inc (jn_test): Add missing L suffix.
10885
622c86f4
MP
108862012-02-06 Marek Polacek <polacek@redhat.com>
10887
10888 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
10889 * sysdeps/i386/fpu/e_powf.S: Likewise.
10890 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
10891 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
10892 * sysdeps/i386/fpu/e_acosh.S: Likewise.
10893 * sysdeps/i386/fpu/e_pow.S: Likewise.
10894 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
10895 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
10896 * sysdeps/i386/fpu/s_expm1.S: Likewise.
10897 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
10898 * sysdeps/i386/fpu/e_log2.S: Likewise.
10899 * sysdeps/i386/fpu/e_log2l.S: Likewise.
10900 * sysdeps/i386/fpu/e_scalb.S: Likewise.
10901 * sysdeps/i386/fpu/e_powl.S: Likewise.
10902 * sysdeps/i386/fpu/s_log1p.S: Likewise.
10903 * sysdeps/i386/fpu/e_log10f.S: Likewise.
10904 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
10905 * sysdeps/i386/fpu/e_logl.S: Likewise.
10906 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
10907 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
10908 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
10909 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
10910 * sysdeps/i386/fpu/e_log2f.S: Likewise.
10911 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
10912 * sysdeps/i386/fpu/e_log.S: Likewise.
10913 * sysdeps/i386/fpu/s_cexp.S: Likewise.
10914 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
10915 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
10916 * sysdeps/i386/fpu/e_logf.S: Likewise.
10917 * sysdeps/i386/fpu/e_log10l.S: Likewise.
10918 * sysdeps/i386/fpu/e_atanh.S: Likewise.
10919 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
10920 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
10921 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
10922 * sysdeps/i386/fpu/e_log10.S: Likewise.
10923 * sysdeps/i386/fpu/s_frexp.S: Likewise.
10924 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
10925 * sysdeps/i386/fpu/s_asinh.S: Likewise.
10926 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
10927 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
10928 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
10929 * sysdeps/i386/asm-syntax.h: Likewise.
10930 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
10931 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
10932 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
10933 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
10934 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
10935 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
10936 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
10937 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
10938 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
10939 * sysdeps/powerpc/sysdep.h: Likewise.
10940 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
10941 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
10942
d4a54ac6
JM
109432012-02-06 Joseph Myers <joseph@codesourcery.com>
10944
10945 [BZ #411]
10946 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
10947
314054ea
JM
109482012-02-06 Joseph Myers <joseph@codesourcery.com>
10949
10950 * sysdeps/i386/sysdep.h: Include <features.h>.
10951 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
10952 version.
10953
d8e0ca50
JM
109542012-02-05 Joseph Myers <joseph@codesourcery.com>
10955
10956 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
10957 Define.
10958 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
10959 LOAD_PIC_REG_STR.
10960
b1da7dd9
JM
109612012-02-03 Joseph Myers <joseph@codesourcery.com>
10962
10963 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
10964 (SETUP_PIC_REG): Use GET_PC_THUNK.
10965 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
10966 macro.
10967
9a1d9254
JM
109682012-02-03 Joseph Myers <joseph@codesourcery.com>
10969
10970 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
10971 for non-PIC compilation.
10972 (SETUP_PIC_REG): Add .p2align directive.
10973 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
10974 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
10975 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
10976 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
10977 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
10978 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
10979 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
10980 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
10981 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
10982 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
10983 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
10984 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
10985 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
10986 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
10987 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
10988 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
10989 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
10990 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
10991 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
10992 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
10993 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
10994 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
10995 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
10996 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
10997 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
10998 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
10999 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
11000 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
11001 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
11002 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
11003 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
11004 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11005 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
11006 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
11007 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
11008 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
11009 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
11010 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
11011 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
11012 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
11013 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
11014
65dc3b75
JM
110152012-02-03 Joseph Myers <joseph@codesourcery.com>
11016
11017 * math/tst-CMPLX.c: Include <stdio.h>.
11018
d55bf177
JM
110192012-01-31 Joseph Myers <joseph@codesourcery.com>
11020
11021 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
11022 float.
11023 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
11024 * sysdeps/sparc/bits/mathdef.h: Likewise.
11025
69db4f8f
MP
110262012-01-31 Marek Polacek <polacek@redhat.com>
11027
11028 * libio/libio.h: Don't define _PARAMS.
11029 * locale/programs/config.h: Don't define PARAMS.
11030 * stdlib/strtol_l.c: Likewise.
11031 (__strtol_l): Remove PARAMS from the prototype.
11032
41b81892
UD
110332012-01-31 Ulrich Drepper <drepper@gmail.com>
11034
3b49edc0
UD
11035 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
11036 names. Just use the correct names. Remove unnecessary wrapper
11037 functions.
11038 * malloc/arena.c: Likewise.
11039 * malloc/hooks.c: Likewise.
11040
41b81892
UD
11041 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
11042 ARENA_TEST says not to. Simplify test for creation of a new arena.
11043 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
11044
27a25b6e
UD
110452012-01-30 Ulrich Drepper <drepper@gmail.com>
11046
11047 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
11048 into tail calls.
11049 (update_get_addr): New function.
11050 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
11051 GET_ADDR_MODULE parameter.
11052
c8a89e7d
JM
110532012-01-30 Joseph Myers <joseph@codesourcery.com>
11054
11055 * crypt/cert.c: Remove __STDC__ conditionals.
11056 * crypt/crypt-entry.c: Likewise.
11057 * crypt/crypt_util.c: Likewise.
11058 * libio/filedoalloc.c: Likewise.
11059 * libio/fileops.c: Likewise.
11060 * libio/genops.c: Likewise.
11061 * libio/iofclose.c: Likewise.
11062 * libio/iofdopen.c: Likewise.
11063 * libio/iofopen.c: Likewise.
11064 * libio/iofopen64.c: Likewise.
11065 * libio/iogetdelim.c: Likewise.
11066 * libio/iopopen.c: Likewise.
11067 * libio/obprintf.c: Likewise.
11068 * libio/oldfileops.c: Likewise.
11069 * libio/oldiofclose.c: Likewise.
11070 * libio/oldiofdopen.c: Likewise.
11071 * libio/oldiofopen.c: Likewise.
11072 * libio/oldiopopen.c: Likewise.
11073 * libio/wfiledoalloc.c: Likewise.
11074 * libio/wgenops.c: Likewise.
11075 * locale/programs/xmalloc.c: Likewise.
11076 * misc/syslog.c: Likewise.
11077 * stdio-common/xbug.c: Likewise.
11078 * string/memchr.c: Likewise.
11079 * string/memcmp.c: Likewise.
11080 * string/memrchr.c: Likewise.
11081 * string/rawmemchr.c: Likewise.
11082 * sysdeps/posix/getcwd.c: Likewise.
11083 * time/strftime_l.c: Likewise.
11084
3b100462
JM
110852012-01-30 Joseph Myers <joseph@codesourcery.com>
11086
11087 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
11088 * config.make.in (config-cflags-sse2avx): Define.
11089 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
11090 Fix typo.
11091
607998af
CM
110922012-01-29 Chris Metcalf <cmetcalf@tilera.com>
11093
11094 * scripts/config.guess: Update from upstream config git repository.
11095 * scripts/config.sub: Likewise.
11096
3601428f
CM
110972012-01-28 Chris Metcalf <cmetcalf@tilera.com>
11098
3ac8b282
CM
11099 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
11100 (EM_NUM): Update.
11101 (R_TILEPRO_*, R_TILEGX_*): New macros.
11102
e034841e
CM
11103 * scripts/firstversions.awk: Fix bug in version range handling.
11104
540d7568
CM
11105 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
11106
3601428f
CM
11107 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
11108
463de862
CM
11109 * include/sys/epoll.h: New file.
11110 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
11111 libc_hidden_def.
11112
73139a76
UD
111132012-01-28 Ulrich Drepper <drepper@gmail.com>
11114
96bc5b45
UD
11115 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
11116 Avoid unnecessary __WORDSIZE == 64 test.
11117 (fmaxf): Use VEX format if possible.
11118 (fmax): Likewise.
11119 (fminf): Likewise.
11120 (fmin): Likewise.
11121
56f6f6a2
UD
11122 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
11123 * math/math_private.h: Remove libc_fegetround* and
11124 libc_fesetround*.
11125 * sysdeps/i386/configure.in: Check for -msse2avx.
11126 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
11127 also if SSE2AVX is defined.
11128 Remove libc_fegetround* and libc_fesetround*.
11129 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
11130 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
11131 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
11132 of HAS_YMM_USABLE.
11133 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
11134 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
11135 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
11136 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
11137 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
11138
73139a76
UD
11139 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
11140
d73f93a4
AZ
111412012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11142
11143 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
11144 size is not set.
11145 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
11146
6ee65ed6
UD
111472012-01-27 Ulrich Drepper <drepper@gmail.com>
11148
11149 [BZ #13618]
11150 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
11151 relocation.
11152 * Makeconfig (libm): Define.
11153 * elf/Makefile: Add rules to build and run tst-relsort1.
11154 * elf/tst-relsort1.c: New file.
11155 * elf/tst-relsort1mod1.c: New file.
11156 * elf/tst-relsort1mod2.c: New file.
11157
8db21882
JM
111582012-01-27 Joseph Myers <joseph@codesourcery.com>
11159
11160 * math/s_ldexp.c: Remove __STDC__ conditionals.
11161 * math/s_ldexpf.c: Likewise.
11162 * math/s_ldexpl.c: Likewise.
11163 * math/s_nextafter.c: Likewise.
11164 * math/s_nexttowardf.c: Likewise.
11165 * math/s_significand.c: Likewise.
11166 * math/s_significandf.c: Likewise.
11167 * math/s_significandl.c: Likewise.
11168 * math/w_jnl.c: Likewise.
11169 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
11170 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
11171 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
11172 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
11173 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
11174 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
11175 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
11176 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
11177 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
11178 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
11179 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
11180 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11181 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
11182 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
11183 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
11184 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
11185 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
11186 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
11187 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
11188 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
11189 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
11190 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
11191 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
11192 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
11193 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
11194 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
11195 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
11196 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
11197 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
11198 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
11199 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
11200 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
11201 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
11202 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
11203 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
11204 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
11205 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
11206 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
11207 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
11208 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
11209 * sysdeps/ieee754/k_standard.c: Likewise.
11210 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11211 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
11212 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
11213 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
11214 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
11215 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
11216 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
11217 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
11218 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
11219 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
11220 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
11221 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
11222 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
11223 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
11224 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
11225 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
11226 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
11227 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
11228 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
11229 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
11230 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
11231 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
11232 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
11233 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
11234 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
11235 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
11236 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
11237 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11238 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
11239 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
11240 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
11241 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
11242 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
11243 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
11244 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
11245 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
11246 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
11247 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
11248 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
11249 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
11250 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
11251 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
11252 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
11253 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
11254 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
11255 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
11256 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
11257 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
11258 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
11259 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
11260 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
11261 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
11262 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
11263 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
11264 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
11265 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
11266 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
11267 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
11268 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
11269 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
11270 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
11271 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
11272 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
11273 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
11274 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
11275 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
11276 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
11277 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
11278 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
11279 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
11280 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
11281 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
11282 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
11283 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
11284 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
11285 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
11286 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
11287 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
11288 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
11289 * sysdeps/ieee754/s_matherr.c: Likewise.
11290 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
11291 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
11292 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
11293 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
11294
965a54a4
JM
112952012-01-26 Joseph Myers <joseph@codesourcery.com>
11296
11297 * crypt/md5.h: Remove __STDC__ conditionals.
11298 * libio/libioP.h: Likewise.
11299 * locale/programs/config.h: Likewise.
11300 * sysdeps/generic/sysdep.h: Likewise.
11301 * sysdeps/i386/asm-syntax.h: Likewise.
11302 * sysdeps/s390/asm-syntax.h: Likewise.
11303 * sysdeps/unix/sysdep.h: Likewise.
11304 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
11305 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
11306
7071ad79
JM
113072012-01-26 Joseph Myers <joseph@codesourcery.com>
11308
11309 * libio/libio.h: Remove __STDC__ conditionals.
11310 * malloc/obstack.h: Likewise.
11311 * math/complex.h: Likewise.
11312 * math/math.h: Likewise.
11313 * sysdeps/generic/_G_config.h: Likewise.
11314 * sysdeps/gnu/_G_config.h: Likewise.
11315 * sysdeps/mach/hurd/_G_config.h: Likewise.
11316 * sysdeps/powerpc/bits/mathdef.h: Likewise.
11317 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
11318 * sysdeps/sparc/bits/mathdef.h: Likewise.
11319
afc5ed09
UD
113202012-01-26 Ulrich Drepper <drepper@gmail.com>
11321
11322 [BZ #13583]
11323 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 11324 Clean up HAS_* macros.
afc5ed09 11325 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
11326 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
11327 possible.
11328 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
11329 HAS_AVX.
11330 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
11331 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
11332 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
11333 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
11334 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 11335
bdb6de1d
JM
113362012-01-25 Joseph Myers <joseph@codesourcery.com>
11337
11338 * elf/tst-unique3.cc (gets): Remove declaration.
11339 * elf/tst-unique3lib.cc (gets): Likewise.
11340 * elf/tst-unique3lib2.cc (gets): Likewise.
11341 * elf/tst-unique4.cc (gets): Likewise.
11342
b15549e6
UD
113432012-01-24 Ulrich Drepper <drepper@gmail.com>
11344
11345 * include/stdio.h: Add C++ protection. Add gets declarations and
11346 definitions.
11347 * debug/tst-chk1.c: Don't declare gets here.
11348 * stdio-common/tst-gets.c: Likewise.
11349
a037381f
JM
113502012-01-24 Joseph Myers <joseph@codesourcery.com>
11351
11352 * posix/glob: Remove directory.
11353
f1d4aa75
JM
113542012-01-24 Joseph Myers <joseph@codesourcery.com>
11355
11356 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
11357
81c0c964
PT
113582012-01-22 Pino Toscano <toscano.pino@tiscali.it>
11359
11360 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
11361 of the non-standard EPFNOSUPPORT.
11362
0ea698ae
ST
113632011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
11364
11365 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
11366 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
11367 ANYWHERE set to 1 only on KERN_NO_SPACE error.
11368
d220b117
UD
113692012-01-21 Ulrich Drepper <drepper@gmail.com>
11370
11371 * wcsmbs/uchar.h: Test __STDC_VERSION__.
11372
3e1aa84e
UD
113732012-01-20 Ulrich Drepper <drepper@gmail.com>
11374
11375 * nscd/aicache.c (addhstaiX): Do not cache negative results of
11376 transient errors.
11377 * nscd/grpcache.c (cache_addgr): Likewise.
11378 * nscd/hstcache.c (cache_addhst): Likewise.
11379 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11380 * nscd/pwdcache.c (cache_addpw): Likewise.
11381 * nscd/servicescache.c (cache_addserv): Likewise.
11382
400aa020
UD
113832012-01-16 Ulrich Drepper <drepper@gmail.com>
11384
d77e7869
UD
11385 * malloc/malloc.c: Various cleanups.
11386 * malloc/hooks.c: Likewise.
11387
400aa020
UD
11388 * stdlib/Makefile (tests): Add bug-fmtmsg1.
11389 * stdlib/bug-fmtmsg1.c: New file.
11390
11391 * stdlib/fmtmsg.c (init): Add missing unlock.
11392 Patch by Peng Haitao <penght@cn.fujitsu.com>.
11393
e0a309cf
MP
113942012-01-12 Marek Polacek <polacek@redhat.com>
11395
11396 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
11397 and _GNU_SOURCE.
11398
929d11c7
WS
113992012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
11400
11401 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
11402 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
11403 macro to ensure uniqueness of label name.
11404 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
11405 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
11406
41d0e869
UD
114072012-01-11 Ulrich Drepper <drepper@gmail.com>
11408
0cc5ed3b
UD
11409 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
11410
41d0e869
UD
11411 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
11412 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
11413 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
11414 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
11415
a47a831a
UD
114162012-01-10 Ulrich Drepper <drepper@gmail.com>
11417
daa891c0
UD
11418 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
11419
11420 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
11421 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
11422 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
11423
e58ef0f2
UD
11424 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
11425
a47a831a 11426 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
11427 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
11428 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 11429 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
11430
11431 * math/bits/math-finite.h: Add ldexp support.
11432
a0bfc9c7
MP
114332012-01-10 Marek Polacek <polacek@redhat.com>
11434
11435 * locale/programs/localedef.h (show_archive_content): Add noreturn
11436 attribute.
11437
d6e97a1d
UD
114382012-01-09 Ulrich Drepper <drepper@gmail.com>
11439
11440 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
11441
d5835c26
UD
114422012-01-08 Ulrich Drepper <drepper@gmail.com>
11443
e5f484c6
UD
11444 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
11445
d5835c26
UD
11446 * io/Makefile (headers): Add bits/poll2.h.
11447
d1f741e9
WS
114482011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
11449
11450 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
11451 typo #include statement.
11452
ec09c1c4
UD
114532012-01-08 Ulrich Drepper <drepper@gmail.com>
11454
11455 * include/sys/cdefs.h: Define __attribute_alloc_size.
11456 * catgets/gencat.c: Add alloc_size attribute and apply consistently
11457 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
11458 * elf/pldd.c: Likewise.
11459 * iconv/iconv_charmap.c: Likewise.
11460 * iconv/iconvconfig.c: Likewise.
11461 * iconv/strtab.c: Likewise.
11462 * locale/programs/locale.c: Likewise.
11463 * locale/programs/localedef.h: Likewise.
11464 * locale/programs/simple-hash.c: Likewise.
11465 * nscd/nscd.h: Likewise.
11466 * nss/makedb.c: Likewise.
11467 * sysdeps/generic/ldconfig.h: Likewise.
11468 * locale/programs/localedef.c: Remove xmalloc prototype.
11469 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
11470
20b38e03
PP
114712012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
11472
11473 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
11474 appropriate.
11475
a0da5fe1
UD
114762012-01-08 Ulrich Drepper <drepper@gmail.com>
11477
1d5a644a 11478 * math/Makefile (tests): Add tst-CMPLX.
669704fd 11479 * math/tst-CMPLX.c: New file.
1d5a644a 11480
8784a6db
UD
11481 * math/complex.h (CMPLXL): Fix typo.
11482
d9a216c0
UD
11483 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
11484 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
11485 GLIBC_2.16.
11486 * debug/tst-chk1.c: Add poll and ppoll tests.
11487 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
11488 * include/sys/poll.h: Add hidden proto for ppoll.
11489 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
11490 * sysdeps/mach/hurd/ppoll.c: Likewise.
11491 * io/ppoll.c: Likewise.
11492 * debug/poll_chk.c: New file.
11493 * debug/ppoll_chk.c: New file.
11494 * include/bits/poll2.h: New file.
11495 * io/bits/poll2.h: New file.
11496
ac097f5c
UD
11497 [BZ #1350]
11498 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
11499
2119dcfa
UD
11500 * configure.in: static is always set to yes. Remove.
11501 * config.make.in: Don't set build-static.
11502 * Makeconfig: Remove use of build-static.
11503 * dlfcn/Makefile: Likewise.
11504 * elf/Makefile: Likewise.
11505 * math/Makefile: Likewise.
11506 * misc/Makefile: Likewise.
11507 * nptl/Makefile: Likewise.
11508 * sysdeps/mach/hurd/Makefile: Likewise.
11509
121766a9
UD
11510 * configure.in: PWD_P is not used anymore.
11511 * config.make.in: Remove PWD_P entry.
11512
51a1d39c 11513 * configure.in: Remove last remnants of RANLIB.
8720d066 11514 No need to check for signed size_t anymore.
215f4bdc
UD
11515 Don't set libc_commonpagesize and libc_relro_required here for Alpha
11516 and IA-64.
3857022a 11517 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
11518 * aclocal.m4: Likewise.
11519
d3ed7225
UD
11520 * wcsmbs/mbrtoc16.c: Implement using towc function.
11521 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
11522 * wcsmbs/wcsmbsload.c: Likewise.
11523 * iconv/gconv_simple.c: Likewise.
11524 * iconv/gconv_int.h: Likewise.
11525 * iconv/gconv_builtin.h: Likewise.
11526 * iconv/iconv_prog.c: Remove CHAR16 handling.
11527
11528 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
11529
11530 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
11531
a0da5fe1
UD
11532 * configure.in: Remove --with-elf and --enable-bounded options.
11533 Dont set base_machine for ia64. More non-ELF conditions removed.
11534 Remove testing and setting of leading underscore information.
11535 * config.make.in (build-bounded): Set to no.
11536 * config.h.in: Remove NO_UNDERSCORES entry.
11537 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
11538 them.
11539 * csu/start.c: Remove !NO_UNDERSCORE code.
11540 * locale/localeinfo.h: Likewise.
11541 * sysdeps/generic/machine-gmon.h: Likewise.
11542 * sysdeps/generic/sysdep.h: Likewise.
11543 * sysdeps/i386/sysdep.h: Likewise.
11544 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
11545 * sysdeps/mach/sysdep.h: Likewise.
11546 * sysdeps/s390/s390-32/sysdep.h: Likewise.
11547 * sysdeps/s390/s390-64/sysdep.h: Likewise.
11548 * sysdeps/sh/sysdep.h: Likewise.
11549 * sysdeps/sparc/sparc32/alloca.S: Likewise.
11550 * sysdeps/unix/i386/sysdep.S: Likewise.
11551 * sysdeps/unix/sparc/start.c: Likewise.
11552 * sysdeps/unix/sparc/sysdep.S: Likewise.
11553 * sysdeps/unix/sparc/sysdep.h: Likewise.
11554 * sysdeps/unix/start.c: Likewise.
11555 * sysdeps/unix/x86_64/sysdep.S: Likewise.
11556 * sysdeps/x86_64/sysdep.h: Likewise.
11557
df78418a
UD
115582012-01-07 Ulrich Drepper <drepper@gmail.com>
11559
a784e502
UD
11560 [BZ #13553]
11561 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
11562 for non-gcc.
11563 * argp/argp-fmtstream.h: Use const instead __const.
11564 * argp/argp.h: Likewise.
11565 * assert/assert.h: Likewise.
11566 * bits/fenv.h: Likewise.
11567 * bits/sched.h: Likewise.
11568 * bits/sigset.h: Likewise.
11569 * bits/sigthread.h: Likewise.
11570 * catgets/nl_types.h: Likewise.
11571 * conform/data/pthread.h-data: Likewise.
11572 * crypt/crypt-private.h: Likewise.
11573 * crypt/crypt.h: Likewise.
11574 * crypt/crypt_util.c: Likewise.
11575 * ctype/ctype.h: Likewise.
11576 * debug/execinfo.h: Likewise.
11577 * debug/mbsnrtowcs_chk.c: Likewise.
11578 * debug/mbsrtowcs_chk.c: Likewise.
11579 * debug/wcsnrtombs_chk.c: Likewise.
11580 * debug/wcsrtombs_chk.c: Likewise.
11581 * debug/wcstombs_chk.c: Likewise.
11582 * dirent/dirent.h: Likewise.
11583 * dlfcn/dlfcn.h: Likewise.
11584 * elf/neededtest4.c: Likewise.
11585 * grp/grp.h: Likewise.
11586 * gshadow/gshadow.h: Likewise.
11587 * iconv/gconv.h: Likewise.
11588 * iconv/gconv_int.h: Likewise.
11589 * iconv/gconv_simple.c: Likewise.
11590 * iconv/iconv.h: Likewise.
11591 * iconv/loop.c: Likewise.
11592 * iconv/skeleton.c: Likewise.
11593 * include/aio.h: Likewise.
11594 * include/aliases.h: Likewise.
11595 * include/argz.h: Likewise.
11596 * include/arpa/inet.h: Likewise.
11597 * include/assert.h: Likewise.
11598 * include/dirent.h: Likewise.
11599 * include/dlfcn.h: Likewise.
11600 * include/execinfo.h: Likewise.
11601 * include/fcntl.h: Likewise.
11602 * include/fenv.h: Likewise.
11603 * include/glob.h: Likewise.
11604 * include/grp.h: Likewise.
11605 * include/libintl.h: Likewise.
11606 * include/mntent.h: Likewise.
11607 * include/netdb.h: Likewise.
11608 * include/pwd.h: Likewise.
11609 * include/rpc/netdb.h: Likewise.
11610 * include/sched.h: Likewise.
11611 * include/search.h: Likewise.
11612 * include/shadow.h: Likewise.
11613 * include/signal.h: Likewise.
11614 * include/stdio.h: Likewise.
11615 * include/stdlib.h: Likewise.
11616 * include/string.h: Likewise.
11617 * include/sys/socket.h: Likewise.
11618 * include/sys/stat.h: Likewise.
11619 * include/sys/statfs.h: Likewise.
11620 * include/sys/statvfs.h: Likewise.
11621 * include/sys/syslog.h: Likewise.
11622 * include/sys/time.h: Likewise.
11623 * include/sys/uio.h: Likewise.
11624 * include/time.h: Likewise.
11625 * include/unistd.h: Likewise.
11626 * include/utmp.h: Likewise.
11627 * include/wchar.h: Likewise.
11628 * include/wctype.h: Likewise.
11629 * inet/aliases.h: Likewise.
11630 * inet/arpa/inet.h: Likewise.
11631 * inet/netinet/ether.h: Likewise.
11632 * inet/netinet/in.h: Likewise.
11633 * intl/libintl.h: Likewise.
11634 * io/bits/fcntl2.h: Likewise.
11635 * io/fcntl.h: Likewise.
11636 * io/ftw.h: Likewise.
11637 * io/sys/poll.h: Likewise.
11638 * io/sys/stat.h: Likewise.
11639 * io/sys/statfs.h: Likewise.
11640 * io/sys/statvfs.h: Likewise.
11641 * io/utime.h: Likewise.
11642 * libio/bits/stdio.h: Likewise.
11643 * libio/bits/stdio2.h: Likewise.
11644 * libio/libio.h: Likewise.
11645 * libio/libioP.h: Likewise.
11646 * libio/stdio.h: Likewise.
11647 * locale/lc-ctype.c: Likewise.
11648 * locale/locale.h: Likewise.
11649 * login/utmp.h: Likewise.
11650 * malloc/arena.c: Likewise.
11651 * malloc/malloc.c: Likewise.
11652 * malloc/malloc.h: Likewise.
11653 * malloc/mcheck.c: Likewise.
11654 * malloc/mtrace.c: Likewise.
11655 * math/bits/mathcalls.h: Likewise.
11656 * math/fenv.h: Likewise.
11657 * math/math_private.h: Likewise.
11658 * misc/bits/error.h: Likewise.
11659 * misc/bits/syslog.h: Likewise.
11660 * misc/err.h: Likewise.
11661 * misc/error.h: Likewise.
11662 * misc/fstab.h: Likewise.
11663 * misc/mntent.h: Likewise.
11664 * misc/regexp.h: Likewise.
11665 * misc/search.h: Likewise.
11666 * misc/sgtty.h: Likewise.
11667 * misc/sys/mman.h: Likewise.
11668 * misc/sys/syslog.h: Likewise.
11669 * misc/sys/uio.h: Likewise.
11670 * misc/sys/xattr.h: Likewise.
11671 * misc/ttyent.h: Likewise.
11672 * nis/rpcsvc/ypclnt.h: Likewise.
11673 * nss/nss.h: Likewise.
11674 * posix/bits/unistd.h: Likewise.
11675 * posix/fnmatch.h: Likewise.
11676 * posix/glob.h: Likewise.
11677 * posix/sched.h: Likewise.
11678 * posix/spawn.h: Likewise.
11679 * posix/sys/wait.h: Likewise.
11680 * posix/unistd.h: Likewise.
11681 * posix/wordexp.h: Likewise.
11682 * pwd/pwd.h: Likewise.
11683 * resolv/netdb.h: Likewise.
11684 * resource/sys/resource.h: Likewise.
11685 * rt/aio.h: Likewise.
11686 * rt/bits/mqueue2.h: Likewise.
11687 * rt/mqueue.h: Likewise.
11688 * shadow/shadow.h: Likewise.
11689 * signal/signal.h: Likewise.
11690 * socket/send.c: Likewise.
11691 * socket/sendto.c: Likewise.
11692 * socket/sys/socket.h: Likewise.
11693 * stdio-common/printf.h: Likewise.
11694 * stdlib/bits/stdlib.h: Likewise.
11695 * stdlib/fmtmsg.h: Likewise.
11696 * stdlib/monetary.h: Likewise.
11697 * stdlib/stdlib.h: Likewise.
11698 * stdlib/ucontext.h: Likewise.
11699 * streams/stropts.h: Likewise.
11700 * string/argz.h: Likewise.
11701 * string/bits/string2.h: Likewise.
11702 * string/string.h: Likewise.
11703 * string/strings.h: Likewise.
11704 * sunrpc/rpc/auth.h: Likewise.
11705 * sunrpc/rpc/auth_des.h: Likewise.
11706 * sunrpc/rpc/clnt.h: Likewise.
11707 * sunrpc/rpc/netdb.h: Likewise.
11708 * sunrpc/rpc/pmap_clnt.h: Likewise.
11709 * sunrpc/rpc/xdr.h: Likewise.
11710 * sysdeps/generic/inttypes.h: Likewise.
11711 * sysdeps/generic/net/if.h: Likewise.
11712 * sysdeps/generic/sys/swap.h: Likewise.
11713 * sysdeps/gnu/net/if.h: Likewise.
11714 * sysdeps/gnu/utmpx.h: Likewise.
11715 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
11716 * sysdeps/i386/i486/bits/string.h: Likewise.
11717 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
11718 * sysdeps/s390/bits/string.h: Likewise.
11719 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
11720 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
11721 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
11722 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
11723 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
11724 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
11725 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
11726 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
11727 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
11728 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
11729 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
11730 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
11731 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
11732 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
11733 * sysdeps/unix/sysv/linux/readv.c: Likewise.
11734 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
11735 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
11736 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
11737 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
11738 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
11739 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
11740 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
11741 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
11742 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
11743 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
11744 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
11745 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
11746 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
11747 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
11748 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
11749 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
11750 * sysvipc/sys/ipc.h: Likewise.
11751 * sysvipc/sys/msg.h: Likewise.
11752 * sysvipc/sys/sem.h: Likewise.
11753 * sysvipc/sys/shm.h: Likewise.
11754 * termios/termios.h: Likewise.
11755 * time/sys/time.h: Likewise.
11756 * time/time.h: Likewise.
11757 * wcsmbs/bits/wchar2.h: Likewise.
11758 * wcsmbs/uchar.h: Likewise.
11759 * wcsmbs/wchar.h: Likewise.
11760 * wctype/wctype.h: Likewise.
11761
0269750c
UD
11762 [BZ #13551]
11763 * Makeconfig: Remove all but ELF support including AIX support.
11764 * Makerules: Likewise.
11765 * config.h.in: Likewise.
11766 * config.make.in: Likewise.
11767 * configure: Likewise.
11768 * configure.in: Likewise.
11769 * csu/Makefile: Likewise.
11770 * csu/version.c: Likewise.
11771 * debug/Makefile: Likewise.
11772 * dlfcn/Makefile: Likewise.
11773 * elf/Makefile: Likewise.
11774 * extra-lib.mk: Likewise.
11775 * iconv/Makefile: Likewise.
11776 * include/libc-symbols.h: Likewise.
11777 * include/shlib-compat.h: Likewise.
11778 * resolv/Makefile: Likewise.
11779 * resolv/res_libc.c: Likewise.
11780 * rt/Makefile: Likewise.
11781 * sysdeps/i386/asm-syntax.h: Likewise.
11782 * sysdeps/i386/sysdep.h: Likewise.
11783 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
11784 * sysdeps/mach/sysdep.h: Likewise.
11785 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
11786 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
11787 * sysdeps/s390/asm-syntax.h: Likewise.
11788 * sysdeps/s390/s390-32/sysdep.h: Likewise.
11789 * sysdeps/s390/s390-64/sysdep.h: Likewise.
11790 * sysdeps/sh/sysdep.h: Likewise.
11791 * sysdeps/unix/sparc/sysdep.h: Likewise.
11792 * sysdeps/wordsize-32/divdi3.c: Likewise.
11793 * sysdeps/x86_64/sysdep.h: Likewise.
11794
00bbd29b
UD
11795 * argp/Versions: Remove _argp_unlock_xxx.
11796
11797 [BZ #13559]
11798 * abilist/ld.abilist: Update. Adjust for removal of tls option.
11799 * abilist/libBrokenLocale.abilist: Likewise.
11800 * abilist/libanl.abilist: Likewise.
11801 * abilist/libc.abilist: Likewise.
11802 * abilist/libcrypt.abilist: Likewise.
11803 * abilist/libdl.abilist: Likewise.
11804 * abilist/libm.abilist: Likewise.
11805 * abilist/libnsl.abilist: Likewise.
11806 * abilist/libpthread.abilist: Likewise.
11807 * abilist/libresolv.abilist: Likewise.
11808 * abilist/librt.abilist: Likewise.
11809 * abilist/libthread_db.abilist: Likewise.
11810 * abilist/libutil.abilist: Likewise.
11811 * abilist/libnss_db.abilist: New file.
11812
11813 * scripts/abilist.awk: Add support for indirect functions.
11814
a2693a0e
UD
11815 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
11816
3f05895f
UD
11817 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
11818
ecb6fb48
UD
11819 * shlib-versions: Remove entries for ports architectures.
11820
664f8cb9
UD
11821 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
11822 files in ports.
11823 * elf/stackguard-macros.h: Remove support for IA-64.
11824 * elf/tst-auditmod1.c: Likewise.
11825 * sysdeps/generic/ldsodefs.h: Likewise.
11826
7ae81d88
UD
11827 * sysdeps/unix/sysv/linux/configure.in: Ports should define
11828 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
11829 configure files.
11830
bdeba135
UD
11831 [BZ #13552]
11832 * configure.in: Remove --enable-omitfp support.
11833 * FAQ.in: Adjust.
11834 * config.make.in: Likewise.
11835 * Makeconfig: Likewise.
11836 * manual/install.texi: Likewise.
11837
d75a0a62
UD
11838 In case anyone cares, the IA-64 architecture could move to ports.
11839 * sysdeps/ia64/*: Removed.
11840 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 11841 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 11842
dcc9756b
UD
11843 [BZ #13555]
11844 * configure.in: Remove entries for unsupported architectures.
11845
d3761ebc 11846 [BZ #13533]
9954432e
UD
11847 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
11848 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
11849 routines.
11850 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
11851 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
11852 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
11853 fall back to using wcrtomb.
11854 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
11855 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
11856 renaming.
11857 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
11858 * wcsmbs/tst-c16c32-1.c: New file.
11859
11860 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
11861 local variable.
11862
c3a87236
UD
11863 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
11864
28926a1b
UD
11865 * elf/tst-unique3.cc: Add explicit declaration of gets.
11866 * elf/tst-unique3lib.cc: Likewise.
11867 * elf/tst-unique3lib2.cc: Likewise.
11868 * elf/tst-unique4.cc: Likewise.
11869
df78418a
UD
11870 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
11871
8ecd6b2a
JM
118722012-01-06 Joseph Myers <joseph@codesourcery.com>
11873
11874 [BZ #13566]
11875 * assert/assert.h (static_assert): Don't define for C++.
11876 * libio/stdio.h (gets): Do declare for C++ <= C++11.
11877 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
11878
9f115170
UD
118792012-01-03 Ulrich Drepper <drepper@gmail.com>
11880
5e0d0300
UD
11881 * iconv/loop.c (single loop): Fix assertion in storing of
11882 remaining bytes.
11883
9f115170
UD
11884 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
11885
81fb02b0
UD
118862012-01-01 Ulrich Drepper <drepper@gmail.com>
11887
11888 * posix/getconf.c: Update copyright year.
11889 * nss/getent.c: Likewise.
a316c1f6 11890 * nss/makedb.c: Likewise.
81fb02b0
UD
11891 * iconv/iconvconfig.c: Likewise.
11892 * iconv/iconv_prog.c: Likewise.
11893 * elf/ldconfig.c: Likewise.
a316c1f6
UD
11894 * elf/pldd.c: Likewise.
11895 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
11896 * catgets/gencat.c: Likewise.
11897 * csu/version.c: Likewise.
11898 * elf/ldd.bash.in: Likewise.
11899 * elf/sprof.c (print_version): Likewise.
11900 * locale/programs/locale.c: Likewise.
11901 * locale/programs/localedef.c: Likewise.
a316c1f6 11902 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
11903 * nscd/nscd.c (print_version): Likewise.
11904 * debug/xtrace.sh: Likewise.
11905 * malloc/memusage.sh: Likewise.
11906 * malloc/mtrace.pl: Likewise.
11907 * debug/catchsegv.sh: Likewise.
11908
2ba92745
JJ
119092011-12-30 Jakub Jelinek <jakub@redhat.com>
11910
11911 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
11912 pure attribute.
11913
dadebdae
UD
119142011-12-24 Ulrich Drepper <drepper@gmail.com>
11915
d3761ebc 11916 [BZ #13533]
db6af3eb
UD
11917 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
11918 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
11919 transformations.
11920 * iconv/gconv_int.h: Likewise.
11921 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
11922 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
11923 from libc for GLIBC_2.16.
11924 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
11925 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
11926 * wcsmbs/uchar.h: Really define mbstate_t.
11927 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
11928 * wcsmbs/c16rtomb.c: New file.
11929 * wcsmbs/mbrtoc16.c: New file.
11930 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
11931 for C/POSIX locale.
11932 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
11933 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
11934
dadebdae
UD
11935 * wcsmbs/wchar.h: Add missing __restrict.
11936
67371b56
UD
119372011-12-23 Ulrich Drepper <drepper@gmail.com>
11938
74033a25
UD
11939 [BZ #13532]
11940 * time/Makefile (routines): Add timespec_get.
11941 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
11942 * time/time.h: Define TIME_UTC and declare timespec_get. Define
11943 timespec for ISO C11.
11944 * time/timespec_get.c: New file.
11945 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
11946 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
11947
380d7e87
UD
11948 [BZ #13531]
11949 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
11950 * stdlib/stdlib.h: Declare aligned_alloc.
11951 * Versions.def: Add GLIBC_2.16 for libc.
11952 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
11953
4e9e7a35
UD
11954 [BZ 13527]
11955 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
11956 ISO C11.
11957
380d7e87 11958 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
11959 code.
11960
03a71829
UD
11961 [BZ #13528]
11962 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
11963
839e283e
UD
11964 [BZ #13529]
11965 * assert/assert.h (static_assert): Define.
11966
ce5294e2 11967 * version.h: Update for 2.16 development version.
90fa7312 11968
8d44e150 11969 [BZ #13526]
d7809905
UD
11970 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
11971 _ISOC11_SOURCE.
11972
c0da14cd
UD
11973 * version.h (RELEASE): Bump for 2.15 release.
11974 * include/features.h (__GLIBC_MINOR__): Bump to 15.
11975
530a3249
MP
11976 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
11977 Patch by Marek Polacek <mpolacek@redhat.com>.
11978
67371b56
UD
11979 * bits/byteswap.h: Protect long long constants with __extension__.
11980 * sysdeps/i386/bits/byteswap.h: Likewise.
11981 * sysdeps/ia64/bits/byteswap.h: Likewise.
11982 * sysdeps/s390/bits/byteswap.h: Likewise.
11983 * sysdeps/x86_64/bits/byteswap.h: Likewise.
11984
15db4de1
LD
119852011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11986
11987 [BZ #13540]
bbe315ea
LD
11988 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
11989 destination buffer.
15db4de1
LD
11990 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
11991
2b2596b1
MP
119922011-12-23 Marek Polacek <polacek@redhat.com>
11993
11994 * elf/dl-addr.c (determine_info): Add inline keyword.
11995 * elf/tst-auditmod4b.c (check_avx): Likewise.
11996 * elf/tst-auditmod6b.c (check_avx): Likewise.
11997 * elf/tst-auditmod6c.c (check_avx): Likewise.
11998 * elf/tst-auditmod7b.c (check_avx): Likewise.
11999
70c6c246
UD
120002011-12-23 Ulrich Drepper <drepper@gmail.com>
12001
12002 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
12003 !__SSE_MATH__.
12004
c044cf14
LD
120052011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12006
15db4de1 12007 [BZ #13540]
c044cf14
LD
12008 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
12009 processing for last bytes.
12010
6b13d9d9
BH
120112011-08-06 Bruno Haible <bruno@clisp.org>
12012
d455f537
BH
12013 [BZ #13061]
12014 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
12015 U+0385, not to U+1FEE.
12016
6b13d9d9
BH
12017 [BZ #13062]
12018 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
12019 entry for U+00A5 U+0301.
12020
db910efd
UD
120212011-12-22 Ulrich Drepper <drepper@gmail.com>
12022
27deeafc
UD
12023 [BZ #13166]
12024 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
12025 buffer for the output is too small.
12026
aed9d171
UD
12027 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
12028 optimization.
12029
db910efd
UD
12030 [BZ #13185]
12031 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
12032 SSE flags if possible.
12033
2bd779ae
LD
120342011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12035
e7f9dac3 12036 [BZ #13540]
2bd779ae
LD
12037 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
12038 processing for last bytes.
12039
154bfc16
JM
120402011-12-22 Joseph Myers <joseph@codesourcery.com>
12041
12042 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
12043 (syscall-list-default-options, syscall-list-default-condition)
12044 (syscall-list-includes): Define.
12045 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
12046 list of ABIs and options and #if conditions for each ABI. Do not
12047 handle common syscalls between ABIs specially.
12048 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
12049 Remove.
12050 (syscall-list-variants, syscall-list-32bit-options)
12051 (syscall-list-32bit-condition, syscall-list-64bit-options)
12052 (syscall-list-64bit-condition): Define.
12053 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
12054 (syscall-list-variants, syscall-list-32bit-options)
12055 (syscall-list-32bit-condition, syscall-list-64bit-options)
12056 (syscall-list-64bit-condition): Define.
12057 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
12058 Remove.
12059 (syscall-list-variants, syscall-list-32bit-options)
12060 (syscall-list-32bit-condition, syscall-list-64bit-options)
12061 (syscall-list-64bit-condition): Define.
12062 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
12063 Remove.
12064 (syscall-list-variants, syscall-list-32bit-options)
12065 (syscall-list-32bit-condition, syscall-list-64bit-options)
12066 (syscall-list-64bit-condition): Define.
12067
21eaf3a5
UD
120682011-12-22 Ulrich Drepper <drepper@gmail.com>
12069
16c6f992
UD
12070 * locale/iso-639.def: Add brx entry.
12071
41043168
UD
12072 [BZ #13328]
12073 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
12074 Proposed by Mariusz_Cukr <marcukr@op.pl>.
12075
21eaf3a5
UD
12076 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
12077 __feraiseexcept_renamed.
12078
e3a851a2
UD
120792011-12-21 Ulrich Drepper <drepper@gmail.com>
12080
4920765e
UD
12081 [BZ #13538]
12082 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
12083 EPOLLET with unsigned values.
12084 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
12085 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
12086
e3a851a2
UD
12087 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
12088 to large cancellation.
12089 * math/s_cacoshf.c: Likewise.
12090 * math/s_cacoshl.c: Likewise.
12091
b27e24b8
RK
120922011-11-18 Richard B. Kreckel <kreckel@ginac.de>
12093
12094 [BZ #13305]
aebefeee 12095 [BZ #12786]
b27e24b8
RK
12096 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
12097 * math/s_cacoshf.c: Likewise.
12098 * math/s_cacoshl.c: Likewise.
12099
ee190f67
UD
121002011-12-21 Ulrich Drepper <drepper@gmail.com>
12101
12102 [BZ #13439]
12103 * iconv/gconv.h: Define __GCONV_SWAP.
12104 * iconvdata/unicode.c: The swap bit must be stored in __flags.
12105 * iconvdata/utf-16.c: Likewise.
12106 * iconvdata/utf-32.c: Likewise.
12107
707f25df
AS
121082011-12-21 Andreas Schwab <schwab@linux-m68k.org>
12109
12110 [BZ #13524]
12111 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
12112 numerator after shifting it by one limb.
12113
d2daaa1e
RÁE
121142011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
12115
12116 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
12117 under [__USE_EXTERN_INLINES].
12118
a4647e72
UD
121192011-12-17 Ulrich Drepper <drepper@gmail.com>
12120
12121 [BZ #13446]
12122 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
12123
f0b264f1
AZ
121242011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12125
12126 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
12127 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
12128 optimized code.
12129 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
12130 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
12131 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
12132 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
12133 for strncasecmp/strncasecmp_l compilation.
12134 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
12135 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
12136
8ef4f244
MP
121372011-12-08 Marek Polacek <mpolacek@redhat.com>
12138
12139 [BZ #13484]
12140 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
12141 of __asm__.
12142
97ac2654
UD
121432011-12-17 Ulrich Drepper <drepper@gmail.com>
12144
12145 [BZ #13506]
12146 * time/tzfile.c (__tzfile_read): Check values from file header.
12147
91d2a845
WS
121482011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
12149
12150 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
12151 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
12152 * powerpc/powerpc32/dl-start.S: Likewise.
12153 * powerpc/powerpc32/elf/start.S: Likewise.
12154 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
12155 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
12156 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
12157 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
12158 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
12159 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
12160 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
12161 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
12162 * powerpc/powerpc32/fpu/s_round.S: Likewise.
12163 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
12164 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
12165 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
12166 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
12167 * powerpc/powerpc32/memset.S: Likewise.
12168 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
12169 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
12170 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
12171 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
12172 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
12173 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
12174 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
12175 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
12176 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
12177 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
12178 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
12179 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
12180 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
12181
a1267ba1
AZ
121822011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12183
12184 * math/libm-test.inc: Added more nearbyint tests.
12185 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
12186 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
12187 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
12188 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
12189
ad8ac1bd
RL
121902011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
12191
12192 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
12193 FD_CLOEXEC.
12194
1d3e4b61
UD
121952011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12196
12197 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
12198 Add wcscpy-ssse3 wcscpy-c.
12199 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
12200 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
12201 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
12202 * sysdeps/x86_64/wcschr.S: New file.
12203 * sysdeps/x86_64/wcsrchr.S: New file.
12204 * string/test-strcmp.c: Remove checking of wcscmp function for
12205 wrong alignments.
12206 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
12207 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
12208 wcsrchr-sse2 wcsrchr-c.
12209 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
12210 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
12211 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
12212 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
12213 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
12214 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
12215 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
12216 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
12217 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
12218 * wcsmbc/wcschr.c (WCSCHR): New macro.
12219
5b330a2d
UD
122202011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12221
12222 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
12223 * wcsmbs/test-wcsrchr.c: New file.
12224 * string/test-strrchr.c: Add wcsrchr support.
12225 (WIDE): New macro.
12226 * wcsmbs/test-wcscpy.c: New file.
12227 * string/test-strcpy.c: Add wcscpy support.
12228 (WIDE): New macro.
26428b7c 12229
f039c043
UD
122302011-12-10 Ulrich Drepper <drepper@gmail.com>
12231
12232 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
12233 the inner loop.
12234
850fb039
AS
122352011-12-06 Andreas Schwab <schwab@linux-m68k.org>
12236
12237 [BZ #13472]
12238 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
12239
4efbd5cb
UD
122402011-12-04 Ulrich Drepper <drepper@gmail.com>
12241
52ff5dd0 12242 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 12243 Minor optimizations.
52ff5dd0 12244
4efbd5cb
UD
12245 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
12246 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
12247 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
12248
8a426e12
UD
122492011-12-03 Ulrich Drepper <drepper@gmail.com>
12250
aff2453d
UD
12251 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
12252 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
12253 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
12254 for gcc to avoid warnings.
12255 * inet/Makefile (tests): Add tst-checks.
12256 * inet/tst-checks.c: New file.
12257
12258 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
12259 warning.
12260
12261 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
12262 __wmemcmp_sse2.
12263
12264 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
12265 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
12266
8a426e12
UD
12267 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
12268
9bea3473
UD
122692011-12-02 Ulrich Drepper <drepper@gmail.com>
12270
3a965496
UD
12271 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
12272 problem.
12273
9bea3473
UD
12274 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
12275
f101631b
UD
122762011-11-29 Joseph Myers <joseph@codesourcery.com>
12277
12278 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
12279 conditional on GCC version.
12280 (__arch_compare_and_exchange_val_8_acq)
12281 (__arch_compare_and_exchange_val_16_acq)
12282 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
12283 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
12284 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
12285
a98275aa
UD
122862011-12-02 Joseph Myers <joseph@codesourcery.com>
12287
12288 * sysdeps/sh/backtrace.c: New file.
12289
d4cc29a2
AS
122902011-12-02 Andreas Schwab <schwab@redhat.com>
12291
12292 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
12293 parenthesis.
12294
6257af2d
AS
122952011-12-01 Andreas Schwab <schwab@redhat.com>
12296
12297 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
12298 falling back to utime.
12299
b5f44c1a
AS
123002011-11-30 Andreas Schwab <schwab@redhat.com>
12301
12302 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
12303 expectations for float.
12304
f3a6cc0a
AS
123052011-11-29 Andreas Schwab <schwab@redhat.com>
12306
12307 * locale/weight.h (findidx): Add parameter len.
12308 * locale/weightwc.h (findidx): Likewise.
12309 * posix/fnmatch_loop.c (FCT): Adjust caller.
12310 * posix/regcomp.c (build_equiv_class): Likewise.
12311 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
12312 * posix/regexec.c (check_node_accept_bytes): Likewise.
12313 * string/strcoll_l.c (STRCOLL): Likewise.
12314 * string/strxfrm_l.c (STRXFRM): Likewise.
12315
9d65ea3a
UD
123162011-11-17 Ulrich Drepper <drepper@gmail.com>
12317
12318 * Makefile.in: Remove CVSOPT handling.
12319 * configure.in: Remove use of AC_REVISION.
12320 * iconvdata/Makefile (distribute): No need to filter out CVS.
12321 * scripts/list-sources.sh: Remove CVS, subversion and monotone
12322 handling.
12323
5583a086
AS
123242011-11-16 Andreas Schwab <schwab@redhat.com>
12325
12326 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
12327 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
12328 [USE_AS_STRNCASECMP_L]: Likewise.
12329 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
12330 NO_TLS_DIRECT_SEG_REFS.
12331 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
12332 Fix argument offsets for non-PIC.
12333 [USE_AS_STRNCASECMP_L]: Likewise.
12334 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
12335 NO_TLS_DIRECT_SEG_REFS.
12336
d62a8200
UD
123372011-11-15 Ulrich Drepper <drepper@gmail.com>
12338
9d65ea3a 12339 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
12340 O_CLOEXEC.
12341 * locale/loadlocale.c (_nl_load_locale): Likewise.
12342
09f93bd3
AS
123432011-11-15 Andreas Schwab <schwab@redhat.com>
12344
446514f9
AS
12345 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
12346 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
12347 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
12348 (SYSCALL_GETTIME): Set errno on error.
12349
09f93bd3
AS
12350 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
12351 count references to noai6ai_cached.
12352
312be3f9
UD
123532011-11-15 Ulrich Drepper <drepper@gmail.com>
12354
12355 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
12356
12357 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
12358 FD_CLOEXEC for /proc/self/maps.
12359
12360 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
12361 FD_CLOEXEC for /proc/meminfo.
12362
12363 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
12364 gai.conf.
12365
12366 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
12367 FD_CLOEXEC for given file.
12368
12369 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
12370
12371 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
12372 FD_CLOEXEC for /etc/hosts.
12373 (_gethtent): Likewise.
12374
12375 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
12376
12377 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
12378 cancellation and set FD_CLOEXEC for /etc/netgroup.
12379
12380 * nss/nss_files/files-key.c (search): Don't allow cancellation when
12381 reading /etc/publickey.
12382
12383 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
12384 allow cancellation when reading /etc/group.
12385
12386 * nss/nss_files/files-alias.c (internal_setent): Don't allow
12387 cancellation.
12388 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
12389
12390 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
12391 when using data file.
12392
12393 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
12394
12395 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
12396 (write_nis_obj): Use "c" and "e" in fopen.
12397
12398 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
12399
12400 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
12401
12402 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
12403
12404 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
12405
12406 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
12407 locale.alias.
12408
12409 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
12410
12411 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
12412
12413 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
12414
12415 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
12416 file parsing and set FD_CLOEXEC.
12417
82af0fa8
UD
124182011-11-14 Ulrich Drepper <drepper@gmail.com>
12419
12420 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
12421
a5fb313c
AS
124222011-11-14 Andreas Schwab <schwab@redhat.com>
12423
12424 * malloc/arena.c (arena_get2): Don't call reused_arena when
12425 _int_new_arena failed.
12426
6abf3465
UD
124272011-11-14 Ulrich Drepper <drepper@gmail.com>
12428
12429 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
12430 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
12431 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
12432 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
12433 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12434 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
12435 to compile strcasecmp and strncasecmp.
12436 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
12437 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
12438
12439 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
12440
76e3966e
UD
124412011-11-13 Ulrich Drepper <drepper@gmail.com>
12442
12443 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
12444 locale-defines.sym to gen-as-const-headers.
12445 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
12446 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
12447 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
12448 to compile strcasecmp and strncasecmp.
12449 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
12450 strcasecmp_l and strncasecmp_l.
12451 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
12452 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
12453 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
12454 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
12455 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
12456 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
12457 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
12458 * sysdeps/i386/i686/multiarch/strncase.S: New file.
12459 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
12460 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
12461 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
12462
ab26144e
UD
124632011-11-12 Ulrich Drepper <drepper@gmail.com>
12464
7edb22ef
UD
12465 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
12466 result of SYSDEP_GETTIME_CPU to retval.
12467 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
12468 parameter list to macro. Remove trailing semicolon. Adjust users.
12469
9694fc44
UD
12470 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
12471 variable.
12472
8ad89ef8
UD
12473 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
12474 mantissa words.
12475 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
12476
0c822ef9
UD
12477 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
12478 from unused variable.
12479
874e0564
UD
12480 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
12481 DWARF definitions.
12482 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
12483 for assembling.
12484
3a2edc79
UD
12485 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
12486 over namespaces.
12487
f3c2577f
UD
12488 * sunrpc/rpc_prot.c (rejected): Fix case value.
12489
294ce126
UD
12490 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
12491 unsigned long long int to avoid warnings in shift.
12492
5e2b63c6
UD
12493 * posix/regex_internal.c (re_string_reconstruct): Actually use result
12494 of use of trans.
12495 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
12496 variable tmp.
12497
e7f4b08e
UD
12498 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
12499 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
12500 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
12501
ab26144e
UD
12502 * nis/nis_table.c (nis_list): Use variable of correct type for
12503 result of __follow_path call.
12504
8a6d5255
AZ
125052011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12506
12507 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
12508 of math functions ceil, trunc, floor, round, and sqrt, when
12509 avaliable on the platform.
12510 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
12511 name clash.
12512 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
12513 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
12514 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
12515
aaddc98c
MP
125162011-10-30 Marek Polacek <mpolacek@redhat.com>
12517
12518 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
12519 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
12520
95b7042b
RM
125212011-11-11 Roland McGrath <roland@hack.frob.com>
12522
12523 * include/unistd.h: Fix __readlink return type.
12524 Reported by Chris Metcalf <cmetcalf@tilera.com>.
12525
57769839
UD
125262011-11-11 Ulrich Drepper <drepper@gmail.com>
12527
12528 * stdlib/ucontext.h: Undo last change for makecontext.
12529
edc5984d
AS
125302011-11-11 Andreas Schwab <schwab@redhat.com>
12531
98591e58
AS
12532 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
12533
edc5984d
AS
12534 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
12535 * setjmp/setjmp.h: Mark functions as non-leaf.
12536 * setjmp/bits/setjmp2.h: Likewise.
12537 * stdlib/ucontext.h: Likewise.
12538
77cdc054
AS
125392011-11-10 Andreas Schwab <schwab@redhat.com>
12540
12541 * malloc/arena.c (_int_new_arena): Don't increment narenas.
12542 (reused_arena): Don't check arena limit.
12543 (arena_get2): Atomically check arena limit.
12544
fe72eebd
UD
125452011-11-08 Ulrich Drepper <drepper@gmail.com>
12546
5f078c32
UD
12547 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
12548 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
12549
fe72eebd
UD
12550 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
12551 instructions.
12552
ae1bc2fa
AS
125532011-11-07 Andreas Schwab <schwab@redhat.com>
12554
7583a88d
AS
12555 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
12556 handler when locking.
12557
ae1bc2fa
AS
12558 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
12559 Fix size of allocated buffer.
12560
10fb0bfa
AS
125612011-11-04 Andreas Schwab <schwab@redhat.com>
12562
998832a4
AS
12563 [BZ #10103]
12564 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
12565 declarations for long double functions.
12566 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
12567
10fb0bfa
AS
12568 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
12569
3d7ba52b
AS
125702011-11-03 Andreas Schwab <schwab@redhat.com>
12571
a9ae54a1
AS
12572 * nscd/nscd.c (main): Don't start AVC thread until credentials are
12573 installed.
12574
3d7ba52b
AS
12575 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
12576 is disabled.
12577
bc8db248
ST
125782011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
12579
12580 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
12581
45b96dd6
AS
125822011-11-01 Andreas Schwab <schwab@linux-m68k.org>
12583
647776f6
AS
12584 * include/alloca.h (stackinfo_alloca_round): Define.
12585 (extend_alloca): Use it.
12586 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
12587 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
12588 here.
12589
d91a8b93
AS
12590 * scripts/check-local-headers.sh: Ignore libaudit.h.
12591
45b96dd6
AS
12592 * nscd/Makefile (extra-objs): Make recursively expanded.
12593
432d41ce
UD
125942011-11-01 Ulrich Drepper <drepper@gmail.com>
12595
34372fc6
UD
12596 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
12597 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
12598
fadb59f8
UD
12599 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
12600 * posix/tst-rfc3484-2.c: Likewise.
12601 * posix/tst-rfc3484-3.c: Likewise.
12602
78239589
UD
12603 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
12604 process_vm_writev.
12605 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
12606 process_vm_writev.
12607 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
12608 process_vm_writev from libc using GLIBC_2.15 version.
12609
432d41ce
UD
12610 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
12611
02f9c6cf
PP
126122011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
12613
12614 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
12615 stack usage.
12616
3a2c0242
UD
126172011-10-31 Ulrich Drepper <drepper@gmail.com>
12618
f4ec4833
UD
12619 [BZ #13367]
12620 * nss/getent.c (initgroups_keys): Show error message in case no group
12621 names are given.
12622
3a2c0242
UD
12623 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
12624 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
12625 __bump_nl_timestamp.
12626 * nscd/connections (nscd_init): When host database is served open
12627 netlink socket and request notification about configuration changes.
12628 (main_loop_poll): Track netlink file descriptor and bump timestamp
12629 in case data becomes available.
12630 (main_loop_epoll): Likewise.
12631 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
12632 (database_pers_head): Add extra_data fileds.
12633 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
12634 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
12635 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
12636 Adjust caller.
12637 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
12638 in6ai data, call __free_in6ai.
12639 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
12640 Add -DHAVE_NETLINK.
12641 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
12642 interface information. Reuse previous data if netlink timestamp
12643 is not changed.
12644 (__bump_nl_timestamp): New function.
12645 (__free_in6ai): New function.
12646
636064eb
UD
126472011-10-30 Ulrich Drepper <drepper@gmail.com>
12648
12649 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
12650 close_not_cancel_no_status here.
12651 (__check_pf): Reorganize code a bit to not call close twice if OOM.
12652
9beb2334
UD
126532011-10-29 Ulrich Drepper <drepper@gmail.com>
12654
6ef76f3b
UD
12655 [BZ #13276]
12656 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
12657 return value.
12658
0ffc4f3e 12659 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
12660 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
12661 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
12662
cb95113e
UD
126632011-07-03 Andreas Jaeger <aj@suse.de>
12664
12665 [BZ #10709]
12666 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
12667 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
12668 * math/libm-test.inc (sin_test): Add test case.
12669
a1b560ff
UD
126702011-10-29 Ulrich Drepper <drepper@gmail.com>
12671
c9aaface
UD
12672 [BZ #13337]
12673 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
12674 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
12675
d272e7f1
UD
12676 * elf/chroot_canon.c (chroot_canon): Cleanups.
12677
1bc33071
UD
12678 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
12679
1760874d
TJ
12680 [BZ #13335]
12681 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
12682 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
12683
51d91b18
UD
12684 * string/test-strchr.c: Make usable for strchrnul testing.
12685 * string/test-strchrnul.c: New file.
12686 * string/Makefile (strop-tests): Add strchrnul.
12687
a1b560ff 12688 * po/it.po: Update from translation team.
b611fb81 12689 * po/es.po: Likewise.
a1b560ff 12690
a5b81e1f
UD
126912011-10-28 Ulrich Drepper <drepper@gmail.com>
12692
fd52bc6d
UD
12693 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
12694 the three constants needed as parameters. Drop the others.
12695 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
12696 __m128i_strloadu_tolower.
52e4b9eb
UD
12697 Create and initialize variable zero and use it in all the places
12698 where _mm_setzero_si128 was used.
fd52bc6d 12699
a5b81e1f
UD
12700 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
12701 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
12702 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
12703 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
12704 anymore.
12705 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
12706 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
12707 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
12708 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
12709 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
12710 __mpranred, __mptan.
12711 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
12712 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
12713 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
12714 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
12715 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
12716 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
12717 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
12718 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
12719 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
12720
b4343346
AS
127212011-10-28 Andreas Schwab <schwab@redhat.com>
12722
0c92d8a8
AS
12723 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
12724 redefine if SHARED.
12725 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
12726
b4343346
AS
12727 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
12728 wide char related routines to wcsmbs subdir.
12729
3871f58f
AS
127302011-10-27 Andreas Schwab <schwab@redhat.com>
12731
12732 [BZ #13344]
12733 * misc/sys/cdefs.h (__THROWNL): Define.
12734 * posix/unistd.h: Use __THREADNL instead of __THREAD
12735 for memory synchronization functions.
12736
94d44d9f
RM
127372011-10-26 Roland McGrath <roland@hack.frob.com>
12738
21b64b15 12739 [BZ #13349]
94d44d9f
RM
12740 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
12741 doesn't exist.
12742 * manual/stdio.texi (Obstack Streams): Node removed.
12743
f6ce9294
AS
127442011-10-26 Andreas Schwab <schwab@redhat.com>
12745
80479147
AS
12746 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
12747 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
12748 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
12749
f6ce9294
AS
12750 * math/math_private.h (math_force_eval): Allow non-addressable
12751 arguments.
12752 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
12753
618280a1
UD
127542011-10-25 Ulrich Drepper <drepper@gmail.com>
12755
e0016b11
UD
12756 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
12757 file is not needed.
12758
12759 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
12760 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
12761 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
12762 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
12763 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
12764 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
12765 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
12766 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
12767 Add AVX variants.
12768 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
12769 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
12770 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
12771 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
12772 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
12773 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
12774 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
12775 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
12776 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
12777 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
12778 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
12779 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
12780 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
12781 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
12782 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
12783 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
12784 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
12785 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
12786 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
12787
12788 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
12789 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
12790
618280a1
UD
12791 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
12792 place. Use VEX encoding when compiling for AVX.
12793
37822576
AS
127942011-10-25 Andreas Schwab <schwab@redhat.com>
12795
1f1e1947
AS
12796 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
12797 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
12798
37822576
AS
12799 * string/test-strchr.c (do_test): Don't generate NUL bytes.
12800
31ea014d
UD
128012011-10-25 Ulrich Drepper <drepper@gmail.com>
12802
d7826aa1 12803 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 12804 useless if() expression.
d7826aa1
UD
12805 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
12806 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
12807 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12808 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12809 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12810 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
12811 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
12812 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
12813 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
12814 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
12815 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
12816 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
12817 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
12818 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
12819 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
12820 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
12821 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
12822 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
12823 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
12824
31ea014d
UD
12825 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
12826
16437fec
AS
128272011-10-25 Andreas Schwab <schwab@redhat.com>
12828
12829 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
12830 condition.
12831 * elf/dl-fini.c (_dl_sort_fini): Likewise.
12832
31d3cc00
UD
128332011-10-25 Ulrich Drepper <drepper@gmail.com>
12834
12835 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
12836 .text section. Avoid duplicate constants.
12837 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
12838 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12839 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
12840 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12841 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12842 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12843 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12844 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12845 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
12846 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
12847 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
12848 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
12849 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
12850 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
12851 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
12852 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
12853 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
12854 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
12855 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12856 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12857 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
12858 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
12859 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
12860 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
12861 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
12862 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
12863 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
12864 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
12865 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
12866 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
12867 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
12868 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
12869 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
12870 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
12871 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
12872 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
12873 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
12874 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
12875 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
12876 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
12877 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
12878 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
12879 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
12880 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
12881 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
12882
58985aa9
UD
128832011-10-24 Ulrich Drepper <drepper@gmail.com>
12884
202c9deb
UD
12885 * sysdeps/x86_64/dla.h: Move to ...
12886 * sysdeps/x86_64/fpu/dla.h: ...here.
12887 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
12888 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 12889
af968f62
UD
12890 * config.make.in: Add have-mfma4 entry.
12891 * configure.in: Substitute libc_cv_cc_fma4.
12892 * math/Makefile (dbl-only-routines): Add sincostab.
12893 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
12894 Use __sincostab not sincos.
12895 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
12896 name is a macro.
12897 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12898 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12899 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12900 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
12901 using __copysign.
12902 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
12903 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
12904 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
12905 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
12906 and __inv.
12907 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
12908 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
12909 __copysign.
12910 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
12911 define aliases when function name is a macro.
12912 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
12913 sysdeps/ieee754/dbl-64/sincos.tbl.
12914 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
12915 fma4-enabled routines.
12916 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
12917 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
12918 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
12919 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
12920 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
12921 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
12922 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
12923 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
12924 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
12925 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
12926 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
12927 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
12928 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
12929 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
12930 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
12931 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
12932 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
12933 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
12934 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
12935 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
12936 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
12937 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
12938 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
12939 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
12940 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
12941 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
12942 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
12943 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
12944 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
12945 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
12946
58985aa9
UD
12947 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
12948 rename.
12949 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12950 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12951 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12952 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12953 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12954 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12955 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12956 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12957
a201fbcf
AS
129582011-10-24 Andreas Schwab <schwab@redhat.com>
12959
12960 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
12961
fc2ee42a
LD
129622011-10-23 Ulrich Drepper <drepper@gmail.com>
12963
bb3129bd
UD
12964 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
12965
0275fff8
UD
12966 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
12967 prediction.
12968 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
12969
2fa2ae85
UD
12970 * string/strnlen.c: Don't define STRNLEN, reverse logic.
12971 Remove unused variable magic_bits.
12972 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
12973
fc2ee42a
LD
12974 * string/strnlen.c: Define and use STRNLEN macro.
12975 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
12976 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
12977 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
12978 * wcsmbs/wcslen.c: Define and use WCSLEN.
12979 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
12980 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
12981 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
12982 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
12983 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
12984 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
12985 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
12986
ce7dd29f
LD
129872011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12988
12989 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12990 strnlen-sse2-no-bsf.
12991 Rename strlen-no-bsf to strlen-sse2-no-bsf.
12992 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
12993 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
12994 Add strnlen support.
12995 (USE_AS_STRNLEN): New macro.
12996 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
12997 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
12998 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
12999 * sysdeps/x86_64/wcslen.S: New file.
13000
979c70a3
MZ
130012011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
13002
13003 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
13004 XMM-moves are used for copying on small sizes.
13005
2d09f82f
LD
130062011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13007
13008 * wcsmbs/Makefile (strop-tests): Add wcschr.
13009 * wcsmbs/test-wcschr.c: New file.
13010 * string/test-strchr.c: Update.
13011 Add wcschr support.
13012 (WIDE): New macro.
13013
619fccca
LD
130142011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13015
2d09f82f 13016 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
13017 * wcsmbs/test-wcslen.c: New file.
13018 * string/test-strlen.c: Update.
13019 Add wcslen support.
13020 (WIDE): New macro.
13021
09f699ea
UD
130222011-10-23 Ulrich Drepper <drepper@gmail.com>
13023
13024 * po/it.po: Update from translation team.
13025
95584d3b
LD
130262011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13027
13028 * sysdeps/x86_64/wcscmp.S: Update.
13029 Fix wrong comparison semantics.
13030 wcscmp shall use signed comparison not unsigned.
13031 Don't use substraction to avoid overflow bug.
13032 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
13033 * wcsmbc/wcscmp.c: Likewise.
13034 * string/test-strcmp.c: Likewise.
13035 Add new tests to check cases with negative values.
13036
c8b3296b
UD
130372011-10-23 Ulrich Drepper <drepper@gmail.com>
13038
13039 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
13040 * sysdeps/x86_64/dla.h: ...here. New file.
13041 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
13042 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13043 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13044 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13045 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13046 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13047 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13048 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13049 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13050
246ad57a
AS
130512011-10-23 Andreas Schwab <schwab@linux-m68k.org>
13052
13053 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
13054 __ynl_finite aliases.
13055
a1a87169
UD
130562011-10-22 Ulrich Drepper <drepper@gmail.com>
13057
0d355eb7
UD
13058 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13059
a1a87169
UD
13060 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
13061 define DLA_FMA.
13062 [DLA_FMA] (EMULV): Use DLA_FMA.
13063 [DLA_FMA] (MUL12): Use EMULV.
13064 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
13065 that are not needed.
13066 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13067 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13068 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13069 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13070 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13071 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13072 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13073
ee2aafe0
AS
130742011-10-22 Andreas Schwab <schwab@linux-m68k.org>
13075
13076 * math/s_nan.c: Undef __nan.
13077 * math/s_nanf.c: Undef __nanf.
13078 * math/s_nanl.c: Undef __nanl.
13079 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
13080 "math_private.h".
13081
bc62c2fb
UD
130822011-10-22 Ulrich Drepper <drepper@gmail.com>
13083
77425c63
UD
13084 * math/s_catan.c: Add branch predictions.
13085 * math/s_catanf.c: Likewise.
13086 * math/s_catanh.c: Likewise.
13087 * math/s_catanhf.c: Likewise.
13088 * math/s_catanhl.c: Likewise.
13089 * math/s_catanl.c: Likewise.
13090 * math/s_cexp.c: Likewise.
13091 * math/s_cexpf.c: Likewise.
13092 * math/s_cexpl.c: Likewise.
13093 * math/s_clog.c: Likewise.
13094 * math/s_clog10.c: Likewise.
13095 * math/s_clog10f.c: Likewise.
13096 * math/s_clog10l.c: Likewise.
13097 * math/s_clogf.c: Likewise.
13098 * math/s_clogl.c: Likewise.
13099 * math/s_csqrt.c: Likewise.
13100 * math/s_csqrtf.c: Likewise.
13101 * math/s_csqrtl.c: Likewise.
13102 * math/s_ctanf.c: Likewise.
13103 * math/s_ctanh.c: Likewise.
13104 * math/s_ctanhf.c: Likewise.
13105 * math/s_ctanhl.c: Likewise.
13106 * math/s_ctanl.c: Likewise.
13107
bc62c2fb
UD
13108 * math/math_private.h: Define __nan, __nanf, __nanl.
13109 * math/s_cacosh.c: Include <math_private.h>.
13110 * math/s_cacoshl.c: Likewise.
13111 * math/s_casinh.c: Likewise.
13112 * math/s_casinhf.c: Likewise.
13113 * math/s_casinhl.c: Likewise.
13114 * math/s_ccos.c: Rely entire on ccosh.
13115 * math/s_ccosf.c: Rely entire on ccoshf.
13116 * math/s_ccosl.c: Rely entirely on ccoshl.
13117 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
13118 Remove tests for FE_INVALID.
13119 * math/s_ccoshf.c: Likewise.
13120 * math/s_ccoshl.c: Likewise.
13121 * math/s_csin.c: Likewise.
13122 * math/s_csinf.c: Likewise.
13123 * math/s_csinh.c Likewise.
13124 * math/s_csinhf.c: Likewise.
13125 * math/s_csinhl.c: Likewise.
13126 * math/s_csinl.c: Likewise.
13127 * math/s_ctan.c: Likewise.
13128 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
13129 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
13130 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
13131
8ec250a4
UD
131322011-10-21 Ulrich Drepper <drepper@gmail.com>
13133
c196fed8
UD
13134 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
13135 compilation problems.
13136
8ec250a4
UD
13137 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
13138 __builtin_expect.
13139
8d4f46c6
UD
131402011-10-20 Ulrich Drepper <drepper@gmail.com>
13141
ed72b654
UD
13142 * sysdeps/i386/configure.in: Test for -mfma4 option.
13143 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
13144 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
13145 COMMON_CPUID_INDEX_80000001.
13146 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
13147 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
13148 use it if FMA3 is not supported.
13149 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
13150
8d4f46c6
UD
13151 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
13152 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
13153
d45c60c2
AS
131542011-10-20 Andreas Schwab <schwab@redhat.com>
13155
13156 [BZ #12892]
13157 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
13158 it would create a cycle with a link time dependency.
13159
d9a4d2ab
UD
131602011-10-19 Ulrich Drepper <drepper@gmail.com>
13161
855d1560
UD
13162 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
13163 instruction.
13164 * string/Makefile (strop-tests): Add rawmemchr.
13165 * string/test-rawmemchr.c: New file.
13166
d9a4d2ab
UD
13167 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
13168 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
13169 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
13170 when compiling str{,n}casecmp and when AVX is available. Hook up
13171 new optimized code in initializers.
13172
8f3b1ffe
AS
131732011-10-19 Andreas Schwab <schwab@redhat.com>
13174
13175 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
13176 __feraiseexcept instead of feraiseexcept.
13177
d38f1dba
UD
131782011-10-18 Ulrich Drepper <drepper@gmail.com>
13179
d9a8d0ab
UD
13180 * math/math_private.h: Define defaults for libc_fetestexcept and
13181 libc_feupdateenv.
13182 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
13183 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
13184 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
13185 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
13186 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
13187 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
13188 libc_fetestexcept and libc_feupdateenv.
13189
4855e3dd
UD
13190 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
13191 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
13192 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
13193 * sysdeps/x86_64/fpu/math_private.h: Define special version of
13194 libc_feholdexcept_setround.
13195
581d30e3
UD
13196 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
13197 Add s_nearbyint-c and s_nearbyintf-c.
13198 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
13199 nearbyintf inlines.
13200 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
13201 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
13202 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
13203 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
13204
d38f1dba
UD
13205 * math/math_private.h: Define defaults for libc_fegetround,
13206 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
13207 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
13208 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
13209 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
13210 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
13211 standard functions.
13212 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13213 Remove comments and hacks for old compiler versions.
13214 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
13215 libc_fegetround, libc_fesetround, libc_feholdexcept, and
13216 libc_feholdexceptl.
13217
caa6c9d8
AS
132182011-10-18 Andreas Schwab <schwab@redhat.com>
13219
13220 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
13221 (__feraiseexcept_renamed): Add __NTH.
13222 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
13223 namespace violations.
13224
97c066e6
UD
132252011-10-17 Ulrich Drepper <drepper@gmail.com>
13226
99ce7b04
UD
13227 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
13228
1004d182
UD
13229 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
13230
228a984d
UD
13231 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
13232 recently added interfaces.
13233 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
13234
c8553a6a
UD
13235 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
13236 about macro parameter expansion.
13237
ed22dcf6
UD
13238 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
13239 __NO_MATH_INLINES is defined. Cleanups.
13240
13241 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
13242 and __floorf is target has SSE4.1.
13243 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
13244 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
13245 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
13246 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
13247
b171c137
UD
13248 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
13249 name.
13250 (floorf): Likewise.
13251
97c066e6
UD
13252 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
13253
629f62ef
AS
132542011-10-17 Andreas Schwab <schwab@redhat.com>
13255
49a43d80
AS
13256 * misc/sys/cdefs.h: Fix last change.
13257
629f62ef
AS
13258 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
13259 database lookup.
13260
e453f6cd
UD
132612011-10-16 Ulrich Drepper <drepper@gmail.com>
13262
aa78043a
UD
13263 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
13264
ad0f5cad
UD
13265 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
13266 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13267 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
13268 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
13269 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13270 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
13271 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
13272 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
13273 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
13274 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
13275 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
13276 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
13277 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
13278 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
13279 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
13280 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
13281 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
13282 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
13283 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
13284 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
13285 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
13286 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
13287
13288 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
13289 ceil, ceilf, floor, floorf.
13290
13291 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
13292 Perform IRELATIVE relocations last.
13293
e453f6cd
UD
13294 * elf/do-rel.h: Add another parameter nrelative, replacing the
13295 local variable with the same name. Change name of the function
13296 to end in Rel or Rela (uppercase).
13297 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
13298 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
13299 elf_dynamic_do_##reloc function.
13300
fd5bdc09
UD
133012011-10-15 Ulrich Drepper <drepper@gmail.com>
13302
79b195b5
UD
13303 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
13304 is sufficient, at least on modern CPUs.
13305
d4a28569
UD
13306 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
13307
b61099b5
UD
13308 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
13309 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
13310
bcf01e6d
UD
13311 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
13312 __expl_finite.
13313 * math/bits/math-finite.h: Add entries for exp.
13314 * math/e_expl.c: Add __*_finite alias.
13315 * sysdeps/i386/fpu/e_exp.S: Likewise.
13316 * sysdeps/i386/fpu/e_expf.S: Likewise.
13317 * sysdeps/i386/fpu/e_expl.c: Likewise.
13318 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13319 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
13320 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13321 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
13322 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
13323 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
13324 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
13325
ba1a0d59
UD
13326 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
13327 is sufficient, at least on modern CPUs.
13328
fd5bdc09
UD
13329 * ctype/ctype-info.c (__ctype_init): Define.
13330 * include/ctype.h (__ctype_init): Declare.
13331 (__ctype_b_loc): The variable is always initialized.
13332 (__ctype_toupper_loc): Likewise.
13333 (__ctype_tolower_loc): Likewise.
13334 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
13335 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
13336
7872cfb0
AS
133372011-10-15 Andreas Schwab <schwab@linux-m68k.org>
13338
b468825a
AS
13339 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
13340
7872cfb0
AS
13341 * configure.in: Also look in $cxxmachine/include for C++ system
13342 headers.
13343
be13f7bf
LD
133442011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13345
13346 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
13347 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
13348 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
13349 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
13350 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
13351 (USE_AS_WMEMCMP): New macro.
13352 Fixing indents.
13353 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
13354 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
13355 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
13356 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
13357 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13358 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
13359 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
13360 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
13361 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
13362 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
13363 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
13364 (USE_AS_WMEMCMP): New macro.
13365 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
13366 * sysdeps/string/test-memcmp.c: Update.
13367 Fix simple_wmemcmp.
13368 Add new tests.
13369 * wcsmbs/wmemcmp.c: Update.
13370 (WMEMCMP): New macro.
13371 Fix overflow bug.
13372
556a2007
AJ
133732011-10-12 Andreas Jaeger <aj@suse.de>
13374
13375 [BZ #13268]
13376 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
13377
538faaa7
UD
133782011-10-15 Ulrich Drepper <drepper@gmail.com>
13379
ab6737ff
UD
13380 * libio/iofwide.c (do_length): Avoid warning.
13381
538faaa7
UD
13382 * ctype/ctype.h (__isctype_f): Add missing __THROW.
13383
396a21b1
UD
133842011-10-14 Ulrich Drepper <drepper@gmail.com>
13385
cdf2901f
UD
13386 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
13387
38ad40ce
UD
13388 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
13389 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
13390 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
13391 * sysdeps/i386/i686/fpu/e_log.S: New file.
13392 * sysdeps/i386/i686/fpu/e_logf.S: New file.
13393 * sysdeps/i386/i686/fpu/e_logl.S: New file.
13394
396a21b1
UD
13395 * ctype/ctype.h: Add support for inlined isXXX functions when
13396 compiling C++ code.
13397
6b1f68c9
AS
133982011-10-14 Andreas Schwab <schwab@redhat.com>
13399
349290c0
AS
13400 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
13401
6b1f68c9
AS
13402 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
13403
f2282d42
RM
134042011-10-13 Roland McGrath <roland@hack.frob.com>
13405
13406 [BZ #13291]
13407 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
13408
5298ffa8
AS
134092011-10-13 Andreas Schwab <schwab@redhat.com>
13410
714fad23
AS
13411 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
13412 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
13413 feraiseexcept.
13414
81dcc7fb
AS
13415 * sysdeps/x86_64/memrchr.S: Check for zero size.
13416
5298ffa8
AS
13417 * string/stratcliff.c: Add memrchr tests.
13418
951fbcec
LD
134192011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13420
13421 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13422 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
13423 rawmemchr-sse2 rawmemchr-sse2-bsf.
13424 * sysdeps/i386/i686/multiarch/memchr.S: New file.
13425 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
13426 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
13427 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
13428 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
13429 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
13430 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
13431 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
13432 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
13433 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
13434 * string/memrchr.c (MEMRCHR): New macro.
13435
0ac5ae23
UD
134362011-10-12 Ulrich Drepper <drepper@gmail.com>
13437
13438 Add integration with gcc's -ffinite-math-only and optimize wrapper
13439 functions in libm.
13440 * Versions.def: Define GLIBC_2.15 version for libm.
13441 * math/Makefile (headers): Add bits/math-finite.h.
13442 * math/bits/math-finite.h: New file.
13443 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
13444 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
13445 * math/e_acoshl.c: Add __*_finite alias.
13446 * math/e_acosl.c: Likewise.
13447 * math/e_asinl.c: Likewise.
13448 * math/e_atan2l.c: Likewise.
13449 * math/e_atanhl.c: Likewise.
13450 * math/e_coshl.c: Likewise.
13451 * math/e_exp10.c: Likewise.
13452 * math/e_exp10f.c: Likewise.
13453 * math/e_exp10l.c: Likewise.
13454 * math/e_exp2l.c: Likewise.
13455 * math/e_fmodl.c: Likewise.
13456 * math/e_gammal_r.c: Likewise.
13457 * math/e_hypotl.c: Likewise.
13458 * math/e_j0l.c: Likewise.
13459 * math/e_j1l.c: Likewise.
13460 * math/e_jnl.c: Likewise.
13461 * math/e_lgammal_r.c: Likewise.
13462 * math/e_log10l.c: Likewise.
13463 * math/e_log2l.c: Likewise.
13464 * math/e_logl.c: Likewise.
13465 * math/e_powl.c: Likewise.
13466 * math/e_sinhl.c: Likewise.
13467 * math/e_sqrtl.c: Likewise.
13468 * math/e_scalb.c: Completely rewritten and optimized.
13469 * math/e_scalbf.c: Likewise.
13470 * math/e_scalbl.c: Likewise.
13471 * math/w_acos.c: Likewise.
13472 * math/w_acosf.c: Likewise.
13473 * math/w_acosl.c: Likewise.
13474 * math/w_acosh.c: Likewise.
13475 * math/w_acoshf.c: Likewise.
13476 * math/w_acoshl.c: Likewise.
13477 * math/w_asin.c: Likewise.
13478 * math/w_asinf.c: Likewise.
13479 * math/w_asinl.c: Likewise.
13480 * math/w_atan2.c: Likewise.
13481 * math/w_atan2f.c: Likewise.
13482 * math/w_atan2l.c: Likewise.
13483 * math/w_atanh.c: Likewise.
13484 * math/w_atanhf.c: Likewise.
13485 * math/w_atanhl.c: Likewise.
13486 * math/w_exp10.c: Likewise.
13487 * math/w_exp10f.c: Likewise.
13488 * math/w_exp10l.c: Likewise.
13489 * math/w_fmod.c: Likewise.
13490 * math/w_fmodf.c: Likewise.
13491 * math/w_fmodl.c: Likewise.
13492 * math/w_j0.c: Likewise.
13493 * math/w_j0f.c: Likewise.
13494 * math/w_j0l.c: Likewise.
13495 * math/w_j1.c: Likewise.
13496 * math/w_j1f.c: Likewise.
13497 * math/w_j1l.c: Likewise.
13498 * math/w_jn.c: Likewise.
13499 * math/w_jnf.c: Likewise.
13500 * math/w_log.c: Likewise.
13501 * math/w_logf.c: Likewise.
13502 * math/w_logl.c: Likewise.
13503 * math/w_log10.c: Likewise.
13504 * math/w_log10f.c: Likewise.
13505 * math/w_log10l.c: Likewise.
13506 * math/w_log2.c: Likewise.
13507 * math/w_log2f.c: Likewise.
13508 * math/w_log2l.c: Likewise.
13509 * math/w_pow.c: Likewise.
13510 * math/w_powf.c: Likewise.
13511 * math/w_powl.c: Likewise.
13512 * math/w_remainder.c: Likewise.
13513 * math/w_remainderf.c: Likewise.
13514 * math/w_remainderl.c: Likewise.
13515 * math/w_scalb.c: Likewise.
13516 * math/w_scalbf.c: Likewise.
13517 * math/w_scalbl.c: Likewise.
13518 * math/w_sqrt.c: Likewise.
13519 * math/w_sqrtf.c: Likewise.
13520 * math/w_sqrtl.c: Likewise.
13521 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
13522 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
13523 used.
13524 * math/math_private.h: Declare __kernel_standard_f.
13525 * math/w_cosh.c: Remove cruft and optimize a bit.
13526 * math/w_coshf.c: Likewise.
13527 * math/w_coshl.c: Likewise.
13528 * math/w_exp2.c: Likewise.
13529 * math/w_exp2f.c: Likewise.
13530 * math/w_exp2l.c: Likewise.
13531 * math/w_hypot.c: Likewise.
13532 * math/w_hypotf.c: Likewise.
13533 * math/w_hypotl.c: Likewise.
13534 * math/w_lgamma.c: Likewise.
13535 * math/w_lgamma_r.c: Likewise.
13536 * math/w_lgammaf.c: Likewise.
13537 * math/w_lgammaf_r.c: Likewise.
13538 * math/w_lgammal.c: Likewise.
13539 * math/w_lgammal_r.c: Likewise.
13540 * math/w_sinh.c: Likewise.
13541 * math/w_sinhf.c: Likewise.
13542 * math/w_sinhl.c: Likewise.
13543 * math/w_tgamma.c: Likewise.
13544 * math/w_tgammaf.c: Likewise.
13545 * math/w_tgammal.c: Likewise.
13546 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
13547 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13548 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
13549 Minor optimizations. Pretty printing. Remove cruft.
13550 * sysdeps/i386/fpu/e_acosf.S: Likewise.
13551 * sysdeps/i386/fpu/e_acosh.S: Likewise.
13552 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
13553 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
13554 * sysdeps/i386/fpu/e_acosl.c: Likewise.
13555 * sysdeps/i386/fpu/e_asin.S: Likewise.
13556 * sysdeps/i386/fpu/e_asinf.S: Likewise.
13557 * sysdeps/i386/fpu/e_atan2.S: Likewise.
13558 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
13559 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
13560 * sysdeps/i386/fpu/e_atanh.S: Likewise.
13561 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
13562 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
13563 * sysdeps/i386/fpu/e_exp10.S: Likewise.
13564 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
13565 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
13566 * sysdeps/i386/fpu/e_exp2.S: Likewise.
13567 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
13568 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
13569 * sysdeps/i386/fpu/e_fmod.S: Likewise.
13570 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
13571 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
13572 * sysdeps/i386/fpu/e_hypot.S: Likewise.
13573 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
13574 * sysdeps/i386/fpu/e_log.S: Likewise.
13575 * sysdeps/i386/fpu/e_log10.S: Likewise.
13576 * sysdeps/i386/fpu/e_log10f.S: Likewise.
13577 * sysdeps/i386/fpu/e_log10l.S: Likewise.
13578 * sysdeps/i386/fpu/e_log2.S: Likewise.
13579 * sysdeps/i386/fpu/e_log2f.S: Likewise.
13580 * sysdeps/i386/fpu/e_log2l.S: Likewise.
13581 * sysdeps/i386/fpu/e_logf.S: Likewise.
13582 * sysdeps/i386/fpu/e_logl.S: Likewise.
13583 * sysdeps/i386/fpu/e_pow.S: Likewise.
13584 * sysdeps/i386/fpu/e_powf.S: Likewise.
13585 * sysdeps/i386/fpu/e_powl.S: Likewise.
13586 * sysdeps/i386/fpu/e_remainder.S: Likewise.
13587 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
13588 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
13589 * sysdeps/i386/fpu/e_scalb.S: Likewise.
13590 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
13591 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
13592 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
13593 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
13594 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
13595 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
13596 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13597 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13598 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
13599 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13600 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
13601 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
13602 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
13603 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13604 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13605 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13606 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
13607 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13608 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
13609 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
13610 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13611 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13612 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
13613 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13614 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13615 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
13616 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
13617 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
13618 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
13619 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
13620 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
13621 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
13622 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
13623 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
13624 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
13625 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
13626 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
13627 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13628 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
13629 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
13630 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
13631 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
13632 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
13633 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
13634 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
13635 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
13636 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
13637 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
13638 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
13639 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
13640 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
13641 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
13642 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
13643 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
13644 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
13645 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
13646 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
13647 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
13648 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13649 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
13650 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
13651 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
13652 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
13653 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
13654 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
13655 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
13656 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
13657 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
13658 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
13659 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
13660 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
13661 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
13662 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
13663 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
13664 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
13665 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
13666 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
13667 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
13668 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
13669 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
13670 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
13671 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
13672 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
13673 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
13674 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
13675 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
13676 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
13677 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
13678 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
13679 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
13680 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
13681 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
13682 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
13683 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
13684 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
13685 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
13686 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
13687 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
13688 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
13689 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
13690 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
13691 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
13692 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
13693 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
13694 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
13695 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
13696 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
13697 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
13698 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
13699 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
13700 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
13701 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
13702 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
13703 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
13704 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
13705 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
13706 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
13707 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
13708 (__isnanf): Likewise.
13709 (__isinf_ns): Likewise.
13710 (__isinf_nsf): Likewise.
13711 (__finite): Likewise.
13712 (__finitef): Likewise.
13713 (__ieee754_sqrt): Define as macro.
13714 (__ieee754_sqrtf): Define as macro.
13715 (__ieee754_sqrtl): Define as macro.
13716 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
13717 inlined copy.
13718 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
13719 __FINITE_MATH_ONLY__ consistent.
13720 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
13721
12cc2fcd
AS
137222011-10-10 Andreas Schwab <schwab@linux-m68k.org>
13723
a843a204
AS
13724 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
13725 of rawmemchr.
13726
12cc2fcd
AS
13727 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
13728
c853acd5
UD
137292011-10-09 Ulrich Drepper <drepper@gmail.com>
13730
13731 * po/ja.po: Update from translation team.
13732
c658d255
RM
137332011-10-08 Roland McGrath <roland@hack.frob.com>
13734
110946e4
RM
13735 * locale/programs/locarchive.c (prepare_address_space): New function.
13736 (create_archive, enlarge_archive, open_archive): Use it.
13737
50604220
RM
13738 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
13739 inside [SHARED], where it is used.
13740
c658d255
RM
13741 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
13742
13743 * nss/getent.c (netgroup_keys): Remove unused variable.
13744 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
13745
6a621eb7
UD
137462011-10-08 Ulrich Drepper <drepper@gmail.com>
13747
7edb55ce
UD
13748 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
13749 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
13750 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
13751 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
13752 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
13753 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
13754 * math/Makefile (libm-calls): Add s_isinf_ns.
13755 * math/divtc3.c: Use __isinf_nsl instead of isinf.
13756 * math/multc3.c: Likewise.
13757 * math/s_casin.c: Likewise.
13758 * math/s_casinf.c: Likewise.
13759 * math/s_casinl.c: Likewise.
13760 * math/s_ccos.c: Likewise.
13761 * math/s_ccosf.c: Likewise.
13762 * math/s_ccosl.c: Likewise.
13763 * math/s_ctan.c: Likewise.
13764 * math/s_ctanf.c: Likewise.
13765 * math/s_ctanh.c: Likewise.
13766 * math/s_ctanhf.c: Likewise.
13767 * math/s_ctanhl.c: Likewise.
13768 * math/s_ctanl.c: Likewise.
13769 * math/w_fmod.c: Likewise.
13770 * math/w_fmodf.c: Likewise.
13771 * math/w_fmodl.c: Likewise.
13772 * math/w_remainder.c: Likewise.
13773 * math/w_remainderf.c: Likewise.
13774 * math/w_remainderl.c: Likewise.
13775 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
13776 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
13777 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
13778 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
13779 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
13780 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
13781 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
13782 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
13783
187da0ae
UD
13784 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
13785 of the number.
13786 * stdio-common/printf_fphex.c: Likewise.
13787 * stdio-common/printf_size.c: Likewise.
13788
9277c064
UD
13789 * math/e_exp10.c: Include math_private.h using <...> not "...".
13790 * math/e_exp10f.c: Likewise.
13791 * math/e_exp10l.c: Likewise.
13792 * math/e_exp2l.c: Likewise.
13793 * math/e_j0l.c: Likewise.
13794 * math/e_j1l.c: Likewise.
13795 * math/e_jnl.c: Likewise.
13796 * math/e_lgammal_r.c: Likewise.
13797 * math/e_rem_pio2l.c: Likewise.
13798 * math/e_scalb.c: Likewise.
13799 * math/e_scalbf.c: Likewise.
13800 * math/e_scalbl.c: Likewise.
13801 * math/k_cosl.c: Likewise.
13802 * math/k_sinl.c: Likewise.
13803 * math/k_tanl.c: Likewise.
13804 * math/s_cacoshf.c: Likewise.
13805 * math/s_catan.c: Likewise.
13806 * math/s_catanf.c: Likewise.
13807 * math/s_catanh.c: Likewise.
13808 * math/s_catanhf.c: Likewise.
13809 * math/s_catanhl.c: Likewise.
13810 * math/s_catanl.c: Likewise.
13811 * math/s_ccosh.c: Likewise.
13812 * math/s_ccoshf.c: Likewise.
13813 * math/s_ccoshl.c: Likewise.
13814 * math/s_cexp.c: Likewise.
13815 * math/s_cexpf.c: Likewise.
13816 * math/s_cexpl.c: Likewise.
13817 * math/s_clog.c: Likewise.
13818 * math/s_clog10.c: Likewise.
13819 * math/s_clog10f.c: Likewise.
13820 * math/s_clog10l.c: Likewise.
13821 * math/s_clogf.c: Likewise.
13822 * math/s_clogl.c: Likewise.
13823 * math/s_csin.c: Likewise.
13824 * math/s_csinf.c: Likewise.
13825 * math/s_csinh.c: Likewise.
13826 * math/s_csinhf.c: Likewise.
13827 * math/s_csinhl.c: Likewise.
13828 * math/s_csinl.c: Likewise.
13829 * math/s_csqrt.c: Likewise.
13830 * math/s_csqrtf.c: Likewise.
13831 * math/s_csqrtl.c: Likewise.
13832 * math/s_ctan.c: Likewise.
13833 * math/s_ctanf.c: Likewise.
13834 * math/s_ctanh.c: Likewise.
13835 * math/s_ctanhf.c: Likewise.
13836 * math/s_ctanhl.c: Likewise.
13837 * math/s_ctanl.c: Likewise.
13838 * math/s_ldexp.c: Likewise.
13839 * math/s_ldexpf.c: Likewise.
13840 * math/s_ldexpl.c: Likewise.
13841 * math/s_significand.c: Likewise.
13842 * math/s_significandf.c: Likewise.
13843 * math/s_significandl.c: Likewise.
13844 * math/w_acos.c: Likewise.
13845 * math/w_acosf.c: Likewise.
13846 * math/w_acosh.c: Likewise.
13847 * math/w_acoshf.c: Likewise.
13848 * math/w_acoshl.c: Likewise.
13849 * math/w_acosl.c: Likewise.
13850 * math/w_asin.c: Likewise.
13851 * math/w_asinf.c: Likewise.
13852 * math/w_asinl.c: Likewise.
13853 * math/w_atan2.c: Likewise.
13854 * math/w_atan2f.c: Likewise.
13855 * math/w_atan2l.c: Likewise.
13856 * math/w_atanh.c: Likewise.
13857 * math/w_atanhf.c: Likewise.
13858 * math/w_atanhl.c: Likewise.
13859 * math/w_cosh.c: Likewise.
13860 * math/w_coshf.c: Likewise.
13861 * math/w_coshl.c: Likewise.
13862 * math/w_dremf.c: Likewise.
13863 * math/w_exp10.c: Likewise.
13864 * math/w_exp10f.c: Likewise.
13865 * math/w_exp10l.c: Likewise.
13866 * math/w_exp2.c: Likewise.
13867 * math/w_exp2f.c: Likewise.
13868 * math/w_fmod.c: Likewise.
13869 * math/w_fmodf.c: Likewise.
13870 * math/w_fmodl.c: Likewise.
13871 * math/w_hypot.c: Likewise.
13872 * math/w_hypotf.c: Likewise.
13873 * math/w_hypotl.c: Likewise.
13874 * math/w_j0.c: Likewise.
13875 * math/w_j0f.c: Likewise.
13876 * math/w_j0l.c: Likewise.
13877 * math/w_j1.c: Likewise.
13878 * math/w_j1f.c: Likewise.
13879 * math/w_j1l.c: Likewise.
13880 * math/w_jn.c: Likewise.
13881 * math/w_jnf.c: Likewise.
13882 * math/w_jnl.c: Likewise.
13883 * math/w_lgamma.c: Likewise.
13884 * math/w_lgamma_r.c: Likewise.
13885 * math/w_lgammaf.c: Likewise.
13886 * math/w_lgammaf_r.c: Likewise.
13887 * math/w_lgammal.c: Likewise.
13888 * math/w_lgammal_r.c: Likewise.
13889 * math/w_log.c: Likewise.
13890 * math/w_log10.c: Likewise.
13891 * math/w_log10f.c: Likewise.
13892 * math/w_log10l.c: Likewise.
13893 * math/w_log2.c: Likewise.
13894 * math/w_log2f.c: Likewise.
13895 * math/w_log2l.c: Likewise.
13896 * math/w_logf.c: Likewise.
13897 * math/w_logl.c: Likewise.
13898 * math/w_pow.c: Likewise.
13899 * math/w_powf.c: Likewise.
13900 * math/w_powl.c: Likewise.
13901 * math/w_remainder.c: Likewise.
13902 * math/w_remainderf.c: Likewise.
13903 * math/w_remainderl.c: Likewise.
13904 * math/w_scalb.c: Likewise.
13905 * math/w_scalbf.c: Likewise.
13906 * math/w_scalbl.c: Likewise.
13907 * math/w_sinh.c: Likewise.
13908 * math/w_sinhf.c: Likewise.
13909 * math/w_sinhl.c: Likewise.
13910 * math/w_sqrt.c: Likewise.
13911 * math/w_sqrtf.c: Likewise.
13912 * math/w_sqrtl.c: Likewise.
13913 * math/w_tgamma.c: Likewise.
13914 * math/w_tgammaf.c: Likewise.
13915 * math/w_tgammal.c: Likewise.
13916
6a621eb7
UD
13917 * po/ja.po: Update from translation team.
13918
bf582445
AJ
139192011-09-29 Andreas Jaeger <aj@suse.de>
13920
f9efbf3a
AJ
13921 [BZ #13179]
13922 * sunrpc/netname.c (netname2host): Fix logic.
13923
bf582445
AJ
13924 [BZ #6779]
13925 [BZ #6783]
13926 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
13927 correctly.
13928 * math/w_remainder.c (__remainder): Likewise.
13929 * math/w_remainderf.c (__remainderf): Likewise.
13930 * math/libm-test.inc (remainder_test): Add test cases.
13931
48693bea
AK
139322011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13933
13934 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
13935 sdiv_qrnnd.
13936
42622229
LD
139372011-10-07 Ulrich Drepper <drepper@gmail.com>
13938
13939 * string/test-memcmp.c: Avoid unncessary #defines.
13940 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
13941
093ecf92
LD
139422011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13943
13944 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
13945 Use new sse2 version for core i3 - i7 as it's faster
13946 than sse42 version.
13947 (bit_Prefer_PMINUB_for_stringop): New.
13948 * sysdeps/x86_64/rawmemchr.S: Update.
13949 Replace with faster SSE2 version.
13950 * sysdeps/x86_64/memrchr.S: New file.
13951 * sysdeps/x86_64/memchr.S: Update.
13952 Replace with faster SSE2 version.
13953
fde56e5c
MP
139542011-09-12 Marek Polacek <mpolacek@redhat.com>
13955
13956 * elf/dl-load.c (lose): Add cast to avoid warning.
13957
21fd49a9
UD
139582011-10-07 Ulrich Drepper <drepper@gmail.com>
13959
5a06e643
UD
13960 * po/ca.po: Update from translation team.
13961
684ae515
UD
13962 * inet/getnetgrent_r.c: Hook up nscd.
13963 * nscd/Makefile (routines): Add nscd_netgroup.
13964 (nscd-modules): Add netgroupcache.
13965 (CFLAGS-netgroupcache.c): Define.
13966 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
13967 (cache_search): Add const to second parameter.
13968 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
13969 INNETGR.
13970 (dbs): Add netgrdb entry.
13971 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
13972 (verify_persistent_db): Handle netgrdb.
13973 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
13974 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
13975 GETFDNETGR.
13976 (netgroup_response_header): Define.
13977 (innetgroup_response_header): Define.
13978 (datahead): Add netgroup_response_header and innetgroup_response_header
13979 elements.
13980 * nscd/nscd.conf: Add entries for netgroup cache.
13981 * nscd/nscd.h (dbtype): Add netgrdb.
13982 (_PATH_NSCD_NETGROUP_DB): Define.
13983 (netgroup_iov_disabled): Declare.
13984 (xmalloc, xcalloc, xrealloc): Move declarations here.
13985 (cache_search): Adjust prototype.
13986 Add netgroup-related prototypes.
13987 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
13988 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
13989 (__nscd_innetgr): Declare.
13990 * nscd/selinux.c (perms): Use access_vector_t as element type and
13991 add netgroup-related initializers.
13992 * nscd/netgroupcache.c: New file.
13993 * nscd/nscd_netgroup.c: New file.
13994 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
13995 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
13996 For four parameters use innetgr.
13997 * nss/nss_files/files-init.c: Add definition and callback for netgr.
13998 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
13999 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
14000 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
14001
21fd49a9
UD
14002 * nscd/connections.c (register_traced_file): Don't register file
14003 for disabled databases.
14004
054c0457
UD
140052011-10-06 Ulrich Drepper <drepper@gmail.com>
14006
32b63198
UD
14007 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
14008
054c0457
UD
14009 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
14010 from tree and freeing node.
14011
64031225
JO
140122011-09-25 Jiri Olsa <jolsa@redhat.com>
14013
14014 * nss/nsswitch.c (__nss_database_lookup): Handle
14015 nss_parse_service_list out of memory case.
14016
0490345c
JO
140172011-09-15 Jiri Olsa <jolsa@redhat.com>
14018
14019 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
14020 out of memory case.
14021
3a62d00d
AS
140222011-10-04 Andreas Schwab <schwab@redhat.com>
14023
14024 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
14025 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
14026 pass it down.
14027 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
14028 elf_machine_rela, elf_machine_lazy_rel.
14029 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
14030 (ELF_DYNAMIC_DO_REL): Likewise.
14031 (ELF_DYNAMIC_DO_RELA): Likewise.
14032 (ELF_DYNAMIC_RELOCATE): Likewise.
14033 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
14034 to ELF_DYNAMIC_DO_REL.
14035 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
14036 (dl_main): In trace mode always set __RTLD_NOIFUNC.
14037 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
14038 elf_machine_rela.
14039 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
14040 skip_ifunc, don't call ifunc function if non-zero.
14041 (elf_machine_rela): Likewise.
14042 (elf_machine_lazy_rel): Likewise.
14043 (elf_machine_lazy_rela): Likewise.
14044 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
14045 (elf_machine_lazy_rel): Likewise.
14046 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
14047 Likewise.
14048 (elf_machine_lazy_rel): Likewise.
14049 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14050 Likewise.
14051 (elf_machine_lazy_rel): Likewise.
14052 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
14053 (elf_machine_lazy_rel): Likewise.
14054 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
14055 (elf_machine_lazy_rel): Likewise.
14056 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
14057 (elf_machine_lazy_rel): Likewise.
14058 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
14059 (elf_machine_lazy_rel): Likewise.
14060 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
14061 (elf_machine_lazy_rel): Likewise.
14062 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
14063 (elf_machine_lazy_rel): Likewise.
14064
68577918
UD
140652011-09-28 Ulrich Drepper <drepper@gmail.com>
14066
14067 * nss/nss_files/files-init.c (_nss_files_init): Use static
14068 initialization for all the *_traced_file variables.
14069
68822d74
AS
140702011-09-28 Andreas Schwab <schwab@redhat.com>
14071
14072 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14073
2056100b
RM
140742011-09-27 Roland McGrath <roland@hack.frob.com>
14075
14076 [BZ #13226]
14077 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
14078
32c76b63
AS
140792011-09-27 Andreas Schwab <schwab@redhat.com>
14080
14081 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
14082 Reread the line before reparsing it.
14083
bf972c9d
AS
140842011-09-26 Andreas Schwab <schwab@redhat.com>
14085
14086 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
14087
e057a1b5
JM
140882011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
14089 Maxim Kuvyrkov <maxim@codesourcery.com>
14090 Joseph Myers <joseph@codesourcery.com>
14091
14092 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
14093 if needed for __stack_chk_guard.
14094
bc7e1c36
RM
140952011-09-19 Roland McGrath <roland@hack.frob.com>
14096
ecb1482f
RM
14097 * sysdeps/posix/spawni.c (script_execute): Always define it.
14098 It will be optimized away if unused.
14099 (maybe_script_execute): New function.
14100 (__spawni): Call it.
14101
bc7e1c36
RM
14102 * Makerules: Don't include tls.make.
14103 (config-tls): Always set to thread.
14104 * tls.make.c: File removed.
14105
1c3b002b
MF
141062011-09-19 Mike Frysinger <vapier@gentoo.org>
14107
14108 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
14109 * config.make.in (CPPFLAGS-config): New substituted variable.
14110
2840865d
UD
141112011-09-15 Ulrich Drepper <drepper@gmail.com>
14112
88738eb6
UD
14113 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
14114
cbf645a6 14115 [BZ #13192]
2840865d
UD
14116 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
14117 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
14118
b402e91a
RM
141192011-09-15 Roland McGrath <roland@hack.frob.com>
14120
14121 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
14122 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
14123 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
14124 (CALL_FAIL): Likewise.
14125 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
14126 (CALL_FAIL): Macro removed.
14127 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
14128
4c1a1f71
UD
141292011-09-15 Ulrich Drepper <drepper@gmail.com>
14130
14131 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
14132 for __FINITE_MATH_ONLY__ == 1.
14133
edc121be
AS
141342011-09-15 Andreas Schwab <schwab@redhat.com>
14135
14136 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
14137 __ieee754_sqrt instead of sqrt.
14138 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
14139 __ieee754_sqrtf instead of sqrtf.
14140 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
14141 __floorf instead of floorf.
14142 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
14143 __floorf, __truncf instead of floorf, truncf.
14144
cd205654
UD
141452011-09-14 Ulrich Drepper <drepper@gmail.com>
14146
ee4d0315
UD
14147 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
14148
cd205654
UD
14149 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
14150 __extern_always_inline.
14151 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
14152 32-bit.
14153
48b67d71
AS
141542011-09-14 Andreas Schwab <schwab@redhat.com>
14155
14156 * elf/rtld.c (dl_main): Also relocate in dependency order when
14157 doing symbol dependency testing.
14158
1ae12c75
AS
141592011-09-13 Andreas Schwab <schwab@linux-m68k.org>
14160
14161 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14162 Always define `refsym'.
14163
995a80df
AS
141642011-09-13 Andreas Schwab <schwab@redhat.com>
14165
e529793b
AS
14166 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
14167 (__FD_ELT): Renamed from __FDELT.
14168 * misc/bits/select2.h (__FD_ELT): Likewise.
14169 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
14170 __FD_MASK instead of __FDELT, __FDMASK.
14171 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
14172 Likewise.
14173 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
14174 Likewise.
14175
52d4fef8
AS
14176 * elf/Makefile (gen-ldd): Fix pattern.
14177
995a80df
AS
14178 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
14179 (init_tls): Likewise.
14180
8682f8b0
UD
141812011-09-12 Ulrich Drepper <drepper@gmail.com>
14182
14183 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
14184
de82006d
AS
141852011-09-12 Andreas Schwab <schwab@redhat.com>
14186
a7c8e6a1
AS
14187 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
14188 `struct cmsghdr *' instead of `void *'.
14189 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
14190 Likewise.
14191
0f31fe77
AS
141922011-09-11 Andreas Schwab <schwab@linux-m68k.org>
14193
14194 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
14195 if non-absolute.
14196 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
14197 ldd_rewrite_script.
0f31fe77 14198
32b4c839
UD
141992011-09-11 Ulrich Drepper <drepper@gmail.com>
14200
83cd1420
UD
14201 * configure.in: Remove --with-tls option.
14202 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
14203 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
14204 out in case it is missing.
14205 * sysdeps/ia64/elf/configure.in: Likewise.
14206 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
14207 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
14208 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
14209 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
14210 * sysdeps/sh/elf/configure.in: Likewise.
14211 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
14212 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
14213 * sysdeps/x86_64/elf/configure.in: Likewise.
14214 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
14215 * sysdeps/mach/hurd/tls.h: Likewise.
14216
633f745d
UD
14217 [BZ #13067]
14218 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
14219
f318beb8
UD
14220 [BZ #13090]
14221 * configure.in: Fix use of AC_INIT.
14222
32b4c839
UD
14223 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
14224
3ce1f295
UD
142252011-09-10 Ulrich Drepper <drepper@gmail.com>
14226
bb016596
UD
14227 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
14228 __set_errno.
8e58439c
UD
14229 * malloc/hooks.c: Likewise.
14230
aebae053 14231 [BZ #11929]
02d46fc4
UD
14232 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
14233 variables statically.
14234 (narenas): Initialize.
14235 (list_lock): Initialize.
bb016596
UD
14236 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
14237 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
14238 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
14239 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
14240 Add initializers to main_arena and mp_.
14241 (malloc_state): Remove pagesize member. Change all users to use
14242 GLRO(dl_pagesize).
14243
14244 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
14245 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
14246 is always initialized.
14247
22a89187
UD
14248 * malloc/malloc.c: Removed unused configurations and dead code.
14249 * malloc/arena.c: Likewise.
14250 * malloc/hooks.c: Likewise.
02d46fc4 14251 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 14252
d063d164
UD
14253 * include/tls.h: Removed. USE___THREAD must always be defined.
14254 * bits/libc-tsd.h: Don't handle !USE___THREAD.
14255 * elf/dl-libc.c: Likewise.
14256 * elf/dl-tsd.c: Likewise.
14257 * include/errno.h: Likewise.
14258 * include/netdb.h: Likewise.
14259 * include/resolv.h: Likewise.
14260 * inet/herrno-loc.c: Likewise.
14261 * inet/herrno.c: Likewise.
14262 * malloc/arena.c: Likewise.
14263 * malloc/hooks.c: Likewise.
14264 * malloc/malloc.c: Likewise.
14265 * resolv/res-state.c: Likewise.
14266 * resolv/res_libc.c: Likewise.
14267 * sysdeps/i386/dl-machine.h: Likewise.
14268 * sysdeps/ia64/dl-machine.h: Likewise.
14269 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
14270 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
14271 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
14272 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
14273 * sysdeps/sh/dl-machine.h: Likewise.
14274 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
14275 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
14276 * sysdeps/unix/i386/sysdep.S: Likewise.
14277 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
14278 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
14279 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
14280 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
14281 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
14282 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
14283 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
14284 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
14285 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14286 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
14287 * sysdeps/unix/x86_64/sysdep.S: Likewise.
14288 * sysdeps/x86_64/dl-machine.h: Likewise.
14289 * tls.make.c: Likewise.
14290
3ce1f295
UD
14291 * configure.in: Remove --with-__thread option. Make tests for
14292 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
14293 tls_model attribute fail if no support is available. Remove
14294 USE_IN_LIBIO.
14295 * Makeconfig: Adjust for dropped configure option. All features are
14296 now mandatory.
14297 * Makerules: Likewise.
14298 * Versions.def: Likewise.
14299 * argp/argp-fmtstream.c: Likewise.
14300 * argp/argp-fmtstream.h: Likewise.
14301 * argp/argp-help.c: Likewise.
14302 * assert/assert.c: Likewise.
14303 * config.h.in: Likewise.
14304 * config.make.in: Likewise.
14305 * configure: Likewise.
14306 * configure.in: Likewise.
14307 * csu/Versions: Likewise.
14308 * csu/init.c: Likewise.
14309 * elf/tst-audit2.c: Likewise.
14310 * elf/tst-tls10.c: Likewise.
14311 * elf/tst-tls10.h: Likewise.
14312 * elf/tst-tls11.c: Likewise.
14313 * elf/tst-tls12.c: Likewise.
14314 * elf/tst-tls14.c: Likewise.
14315 * elf/tst-tlsmod11.c: Likewise.
14316 * elf/tst-tlsmod12.c: Likewise.
14317 * elf/tst-tlsmod13.c: Likewise.
14318 * elf/tst-tlsmod13a.c: Likewise.
14319 * elf/tst-tlsmod14a.c: Likewise.
14320 * elf/tst-tlsmod15b.c: Likewise.
14321 * elf/tst-tlsmod16a.c: Likewise.
14322 * elf/tst-tlsmod16b.c: Likewise.
14323 * elf/tst-tlsmod7.c: Likewise.
14324 * elf/tst-tlsmod8.c: Likewise.
14325 * elf/tst-tlsmod9.c: Likewise.
14326 * gmon/gmon.c: Likewise.
14327 * grp/fgetgrent_r.c: Likewise.
14328 * grp/putgrent.c: Likewise.
14329 * hurd/fopenport.c: Likewise.
14330 * include/libc-symbols.h: Likewise.
14331 * include/tls.h: Likewise.
14332 * intl/gettextP.h: Likewise.
14333 * intl/loadinfo.h: Likewise.
14334 * locale/global-locale.c: Likewise.
14335 * locale/localeinfo.h: Likewise.
14336 * mach/devstream.c: Likewise.
14337 * malloc/arena.c: Likewise.
14338 * malloc/set-freeres.c: Likewise.
14339 * misc/err.c: Likewise.
14340 * misc/getttyent.c: Likewise.
14341 * misc/mntent_r.c: Likewise.
14342 * posix/getopt.c: Likewise.
14343 * posix/wordexp.c: Likewise.
14344 * pwd/fgetpwent_r.c: Likewise.
14345 * resolv/Versions: Likewise.
14346 * resolv/res_hconf.c: Likewise.
14347 * shadow/fgetspent_r.c: Likewise.
14348 * shadow/putspent.c: Likewise.
14349 * stdio-common/printf_fphex.c: Likewise.
14350 * stdio-common/tmpfile.c: Likewise.
14351 * stdlib/abort.c: Likewise.
14352 * stdlib/fmtmsg.c: Likewise.
14353 * sunrpc/auth_unix.c: Likewise.
14354 * sunrpc/clnt_perr.c: Likewise.
14355 * sunrpc/clnt_tcp.c: Likewise.
14356 * sunrpc/clnt_udp.c: Likewise.
14357 * sunrpc/clnt_unix.c: Likewise.
14358 * sunrpc/openchild.c: Likewise.
14359 * sunrpc/svc_simple.c: Likewise.
14360 * sunrpc/svc_tcp.c: Likewise.
14361 * sunrpc/svc_udp.c: Likewise.
14362 * sunrpc/svc_unix.c: Likewise.
14363 * sunrpc/xdr.c: Likewise.
14364 * sunrpc/xdr_array.c: Likewise.
14365 * sunrpc/xdr_rec.c: Likewise.
14366 * sunrpc/xdr_ref.c: Likewise.
14367 * sunrpc/xdr_stdio.c: Likewise.
14368
1248c1c4
PB
143692011-09-09 Ulrich Drepper <drepper@gmail.com>
14370
14371 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14372
143732011-07-03 Andreas Jaeger <aj@suse.de>
14374
14375 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
14376 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
14377 regenerate with gen-libm-tests.pl.
14378
143792010-05-12 Petr Baudis <pasky@suse.cz>
14380
14381 [BZ #11589]
14382 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
14383 around j0() zero points by switching to j1().
14384 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
14385 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
14386 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
14387 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
14388
f22e1074
UD
143892011-09-09 Ulrich Drepper <drepper@gmail.com>
14390
f19009c1
UD
14391 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
14392 instead of 0.
14393 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
14394 instead of 0. .
14395 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
14396 Patch in part by Pavel Roskin <proski@gnu.org>.
14397
3f8cc204
UD
14398 [BZ #13138]
14399 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
14400 realloc.
14401 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
14402 Free memory block if necessary.
14403
f22e1074
UD
14404 [BZ #12847]
14405 * libio/genops.c (INTDEF): For string streams the _lock pointer can
14406 be NULL. Don't lock in this case.
14407
0a2349f9
RM
144082011-09-09 Roland McGrath <roland@hack.frob.com>
14409
14410 * elf/elf.h (ELFOSABI_GNU): New macro.
14411 (ELFOSABI_LINUX): Define to that.
14412
f3cdd467
DZ
144132011-07-29 Denis Zaitceff <zaitceff@gmail.com>
14414
14415 * string/strncat.c (strncat): Undef the symbol in case it has been
14416 defined in bits/string.h.
14417
74718d13
UD
144182011-09-09 Ulrich Drepper <drepper@gmail.com>
14419
633e9e0f
UD
14420 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
14421
0a2349f9 14422 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
14423 link map.
14424
f9924780
AJ
144252011-08-17 Andreas Jaeger <aj@suse.de>
14426
14427 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
14428
7f5517aa
PP
144292011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
14430 Ian Lance Taylor <iant@google.com>
14431
14432 * math/libm-test.inc (lround_test): New testcase.
14433 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
14434
762011fe
UD
144352011-09-08 Ulrich Drepper <drepper@gmail.com>
14436
92963737
UD
14437 * Makefile: Remove support for automatic cvs check-ins.
14438 * Makerules: Likewise.
14439 * config.make.in: Likewise.
14440 * configure.in: Likewise.
14441 * intl/Makefile: Likewise.
14442 * locale/Makefile: Likewise.
14443 * po/Makefile: Likewise.
14444 * posix/Makefile: Likewise.
14445 * sysdeps/gnu/Makefile: Likewise.
14446 * sysdeps/mach/hurd/Makefile: Likewise.
14447 * sysdeps/sparc/sparc32/Makefile: Likewise.
14448
b0727fd8
JS
14449 [BZ #13118]
14450 * posix/Makefile (bug-regex32-ENV): Define.
14451 Patch by John Stanley <jpsinthemix@verizon.net>.
14452
a0f33f99
UD
14453 * misc/Makefile (headers): Add bits/select2.h.
14454 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
14455 * misc/bits/select2.h: New file.
14456 * include/bits/select2.h: New file.
14457 * debug/Makefile (routines): Add fdelt_chk.
14458 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
14459 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
14460 FD_ISSET.
14461 * debug/fdelt_chk.c: New file.
14462
762011fe
UD
14463 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
14464 * wcsmbs/test-wmemcmp.c: Likewise.
14465 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 14466 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
14467
144682011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14469
14470 * string/Makefile (strop-tests): Add memcmp.
14471 * string/test-wmemcmp.c: New file.
14472 * string/test-memcmp.c: Add wmemcmp support.
14473
7f513ec8
RM
144742011-09-08 Roland McGrath <roland@hack.frob.com>
14475
0442afb4
RM
14476 [BZ #13153]
14477 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
14478 2011-07-19 change.
14479
7f513ec8
RM
14480 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
14481 garbage value in a __mach_port_mod_refs call in the cases of the
14482 task-self and thread-self ports.
14483
a12b2239
ST
144842011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
14485
14486 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
14487
610f9ab4
AS
144882011-09-08 Andreas Schwab <schwab@redhat.com>
14489
7f513ec8 14490 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 14491
48882a1a
LD
144922011-09-07 Ulrich Drepper <drepper@gmail.com>
14493
b49865be
UD
14494 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
14495
fdc86bc9
UD
14496 * elf/dl-libc.c (dlerror_run): Pass back error code from
14497 dl_catch_error.
14498
c966526a
UD
14499 [BZ #13123]
14500 * elf/dl-load.c (lose): Free l_origin if it is valid.
14501
48882a1a
LD
14502 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
14503 names.
14504 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
14505 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
14506 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
14507 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
14508 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
14509 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
14510
77a2a8b4
AZ
145112011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14512
14513 * sysdeps/powerpc/fpu/e_hypot.c: New file.
14514 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
14515 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
14516 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
14517 * sysdeps/powerpc/fpu/k_cosf.c: New file.
14518 * sysdeps/powerpc/fpu/k_sinf.c: New file.
14519 * sysdeps/powerpc/fpu/s_cosf.c: New file.
14520 * sysdeps/powerpc/fpu/s_sinf.c: New file.
14521 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
14522 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
14523
24f579d8
AM
145242011-08-15 Alan Modra <amodra@gmail.com>
14525
14526 [BZ #13092]
14527 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
14528 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
14529 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
14530 ppc_mcount to static-only-routines.
14531 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
14532 __mcount_internal.
14533 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
14534 __mcount_internal with usual JUMPTARGET. Remove useless nop.
14535
3d4837df
UD
145362011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
14537
14538 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
14539 for finite and infinity parameters.
14540
22700377
WS
145412011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
14542
14543 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
14544 and add nop instructions for throughput optimization.
14545 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14546
5025581e
WS
145472011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
14548
14549 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
14550 aligned copy for power7 with vector-scalar instructions.
14551 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
14552
08a300c9
L
145532011-07-24 H.J. Lu <hongjiu.lu@intel.com>
14554
14555 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
14556 AVX check.
14557
59178ef9
AS
145582011-09-07 Andreas Schwab <schwab@redhat.com>
14559
14560 [BZ #13144]
14561 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
14562 last change.
14563
e38ba7ab
UD
145642011-09-07 Ulrich Drepper <drepper@gmail.com>
14565
14566 * sysdeps/unix/sysv/linux/x86_64/init-first.c
14567 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
14568 syscall wrapper around clock_gettime in __vdso_clock_gettime.
14569 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
14570 clock_gettime.
14571
d53a73ac
UD
145722011-09-06 Ulrich Drepper <drepper@gmail.com>
14573
fc8bffcc
UD
14574 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
14575 Forgot to demangle the pointer.
14576
ceaa0c5d
UD
14577 * sysdeps/i386/sysdep.h: Define atom_text_section.
14578 * sysdeps/x86_64/sysdep.h: Likewise.
14579 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
14580 section with atom_text_section.
14581 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
14582 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
14583 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
14584 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
14585 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
14586
a77d3c17
UD
14587 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
14588 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
14589 already be defined. Change to take two parameters and don't assign
14590 result to variable. Adjust all users.
14591 Define INTERNAL_GETTIME if not already defined.
14592 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
14593 call.
14594 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
14595 HAVE_CLOCK_GETTIME_VSYSCALL.
14596 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
14597
d53a73ac
UD
14598 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
14599 gettimeofday vsyscall, just use time.
14600
a8f84144
AS
146012011-09-06 Andreas Schwab <schwab@redhat.com>
14602
14603 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
14604 <errno.h>.
14605
ef606249
UD
146062011-09-06 Ulrich Drepper <drepper@gmail.com>
14607
14608 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
14609 syscall on x86-64.
14610 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
14611 syscall.
14612 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
14613 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
14614 syscall if possible.
14615
6585cb60
UD
146162011-09-05 Ulrich Drepper <drepper@gmail.com>
14617
14618 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
14619 e_ident. Don't pass to find_mapsXX.
14620 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
14621
a5f524e4
LD
146222011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14623
14624 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14625 strchr-sse2-no-bsf strrchr-sse2-no-bsf
14626 * sysdeps/x86_64/multiarch/strchr.S: Update.
14627 Check bit_slow_BSF bit.
14628 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
14629 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
14630 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
14631
554881ef
UD
146322011-09-05 Ulrich Drepper <drepper@gmail.com>
14633
d96de963
UD
14634 [BZ #13134]
14635 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
14636 before glibc 2.15.
14637 (tryshell): Define.
14638 (__spawni): Change last parameter to be flag. Test
14639 SPAWN_XFLAGS_USE_PATH flag to use path or not.
14640 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
14641 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
14642 * posix/spawni.c: Likewise.
14643 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
14644 * posix/spawnp.c: Likewise. Change normal version to use
14645 SPAWN_XFLAGS_USE_PATH.
14646 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
14647 SPAWN_XFLAGS_TRY_SHELL.
14648
d48e5868
UD
14649 [BZ #13150]
14650 * posix/glob.h: Remove gcc 1.x support.
14651
554881ef
UD
14652 [BZ #13068]
14653 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
14654
693fb948
LD
146552011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14656
14657 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14658 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
14659 strrchr-sse2-bsf
14660 * sysdeps/i386/i686/multiarch/strchr.S: New file.
14661 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
14662 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
14663 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
14664 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
14665 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
14666
1b48c537
UD
146672011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14668
49d42c37
UD
14669 * sysdeps/x86_64/wcscmp.S: New file.
14670
1b48c537
UD
14671 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
14672 wcscmp-c wcscmp-sse2
14673 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
14674 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
14675 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
14676 * wcsmbs/wcscmp.c: Allow renaming.
14677
15c95c5d
DM
146782011-09-05 David S. Miller <davem@davemloft.net>
14679
14680 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
14681 stack slot, rather than the struct return pointer slot.
14682 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
14683 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
14684 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
14685 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
14686
2f0ad8f3
UD
146872011-09-05 Ulrich Drepper <drepper@gmail.com>
14688
d88ae418
UD
14689 * po/ja.po: Update from translation team.
14690
2f0ad8f3
UD
14691 [BZ #13144]
14692 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
14693 kernel in 64-bit binaries.
14694
5f4318d1
DM
146952011-09-01 David S. Miller <davem@davemloft.net>
14696
14697 * elf/elf.h (HWCAP_SPARC_*): Move to..
14698 * sysdeps/sparc/sysdep.h: this new file and add new values.
14699 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
14700 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
14701 _DL_HWCAP_COUNT to 24.
14702 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
14703 entries.
14704 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
14705 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
14706 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
14707 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
14708 instead of magic constants.
14709 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
14710
3ba57516
DM
147112011-08-31 David S. Miller <davem@davemloft.net>
14712
14713 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
14714 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
14715 Reimplement to do errno handling inline.
14716 (SYSCALL_ERROR_HANDLER): New macro.
14717 (__SYSCALL_STRING): Do not do errno handling in asm.
14718 (__CLONE_SYSCALL_STRING): Delete.
14719 (__INTERNAL_SYSCALL_STRING): Delete.
14720 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
14721 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
14722 (PSEUDO): Reimplement to do errno handling inline.
14723 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
14724 (SYSCALL_ERROR_HANDLER): New macro.
14725 (__SYSCALL_STRING): Do not do errno handling in asm.
14726 (__CLONE_SYSCALL_STRING): Delete.
14727 (__INTERNAL_SYSCALL_STRING): Delete.
14728 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
14729 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
14730 i386.
14731 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
14732 (inline_syscall*): Add 'err' argument.
14733 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
14734 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
14735 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
14736 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
14737
14738 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
14739 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
14740
2bc17433
AS
147412011-08-30 Andreas Schwab <schwab@redhat.com>
14742
14743 * elf/rtld.c (dl_main): Relocate objects in dependency order.
14744
fbeb5f4d
JO
147452011-08-29 Jiri Olsa <jolsa@redhat.com>
14746
14747 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
14748 directive.
14749
ad69cc26
DM
147502011-08-24 David S. Miller <davem@davemloft.net>
14751
14752 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
14753
39dd69df
AS
147542011-08-24 Andreas Schwab <schwab@redhat.com>
14755
14756 * elf/Makefile: Add rules to build and run unload8 test.
14757 * elf/unload8.c: New file.
14758 * elf/unload8mod1.c: New file.
14759 * elf/unload8mod1x.c: New file.
14760 * elf/unload8mod2.c: New file.
14761 * elf/unload8mod3.c: New file.
14762
14763 * elf/dl-close.c (_dl_close_worker): Reset private search list if
14764 it wasn't used.
14765
2c0b250a
DM
147662011-08-23 David S. Miller <davem@davemloft.net>
14767
14768 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
14769 subtract stack bias.
14770 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
14771 %sp not %fp in calculations.
14772 (_JMPBUF_UNWINDS_ADJ): Likewise.
14773
22044b48
DM
14774 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
14775 (aio_suspend): Call it to force an exception region around the
14776 AIO_MISC_WAIT() invocation.
14777
2cae4995
AS
147782011-08-23 Andreas Schwab <schwab@redhat.com>
14779
14780 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
14781 backslash.
14782
873a772e
AJ
147832011-07-04 Aurelien Jarno <aurelien@aurel32.net>
14784
14785 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
14786 protection macro.
14787 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
14788 and <dl-machine.h>.
14789 (Elf64_FuncDesc): Remove.
14790
25ad0df1
DM
147912011-08-22 David S. Miller <davem@davemloft.net>
14792
14793 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
14794 sigaltstack check, add missing cfi directives.
14795 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
14796 missing cfi directives, and sigaltstack handling.
14797
e888bcbe
AS
147982011-08-16 Andreas Schwab <schwab@redhat.com>
14799
14800 [BZ #11724]
14801 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
14802 object is seen twice.
14803 * elf/dl-fini.c (_dl_sort_fini): Likewise.
14804
14805 * elf/Makefile (distribute): Add tst-initorder2.c.
14806 (tests): Add tst-initorder2.
14807 (modules-names): Add tst-initorder2a tst-initorder2b
14808 tst-initorder2c tst-initorder2d. Add rules to build them.
14809 ($(objpfx)tst-initorder2.out): New rule.
14810 * elf/tst-initorder2.c: New file.
14811 * elf/tst-initorder2.exp: New file.
14812
87162f46
AS
148132011-08-22 Andreas Schwab <schwab@redhat.com>
14814
70538b7f
AS
14815 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
14816
f55ffe58
AS
14817 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
14818 dependencies back to end of function.
14819
87162f46
AS
14820 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
14821 $(elfobjdir)/ld.so.
14822
91b392a4
UD
148232011-08-21 Ulrich Drepper <drepper@gmail.com>
14824
14825 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
14826 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
14827 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
14828 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
14829 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
14830 of __vdso_gettimeofday.
14831 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
14832 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
14833 attribute_hidden.
14834 (_libc_vdso_platform_setup): Remove initialization of
14835 __vdso_gettimeofday and __vdso_time.
14836
5c43483f
UD
148372011-08-20 Ulrich Drepper <drepper@gmail.com>
14838
775a77e7
UD
14839 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
14840 and fgetc_unlocked.
14841 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
14842 getc_unlocked.
89f447ed 14843
49c74ba9
UD
14844 * elf/dl-open.c (add_to_global): Report additions to the global scope
14845 for LD_DEBUG=scopes.
14846 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 14847 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 14848
5c43483f
UD
14849 [BZ #13114]
14850 * stdio-common/Makefile (tests): Add bug24.
14851 * stdio-common/bug24.c: New file.
14852
a101b025
AJ
148532011-08-19 Andreas Jaeger <aj@suse.de>
14854
14855 [BZ #13114]
14856 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
14857 non-existant file when using close-on-exec mode.
14858
c88f1766
UD
148592011-08-20 Ulrich Drepper <drepper@gmail.com>
14860
0276a718
UD
14861 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
14862 the very first instruction.
14863
c88f1766
UD
14864 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
14865 the CFI state in the end.
14866 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
14867 inclusion of dl-trampoline.h.
14868 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
14869
51ccffa0
AS
148702011-08-19 Andreas Schwab <schwab@redhat.com>
14871
94d7165f
AS
14872 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
14873 expectations for long double.
14874
51ccffa0
AS
14875 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
14876 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
14877
fd708658 148782011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
14879
14880 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
14881 artificual limit depends upon the system page size.
14882
44f0a71e
UD
148832011-08-17 Ulrich Drepper <drepper@gmail.com>
14884
14885 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
14886 * resolv/Makefile: Define CFLAGS-libresolv.
14887
8de79a24
AS
148882011-08-17 Andreas Schwab <schwab@redhat.com>
14889
14890 * nss/makedb.c (compute_tables): Make variables used in nested
14891 function static.
14892
27724598
UD
148932011-08-17 Ulrich Drepper <drepper@gmail.com>
14894
c5305d88
UD
14895 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
14896 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
14897 if buffer was too small.
14898
27724598
UD
14899 * elf/pldd.c (main): Attach to all threads in the process.
14900 Rewrite /proc handling to use *at functions.
14901
076fe015
UD
149022011-08-16 Ulrich Drepper <drepper@gmail.com>
14903
174baab3
UD
14904 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
14905 specifies first scope to show.
14906 (dl_open_worker): Update callers. Move printing scope of new
14907 object to before the relocation.
44f0a71e 14908 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
14909 * sysdeps/generic/ldsodefs.h: Update declaration.
14910
076fe015
UD
14911 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
14912 string for the scope number.
14913
a60df2c3
UD
149142011-08-14 Ulrich Drepper <drepper@gmail.com>
14915
14916 * nscd/servicescache.c (cache_addserv): Make sure written is always
14917 initialized.
14918
5e4287d1
RM
149192011-08-14 Roland McGrath <roland@hack.frob.com>
14920
85ae0589
RM
14921 * sysdeps/i386/i486/bits/atomic.h
14922 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
14923 statement expression, so as to suppress "set but not used" warning.
14924 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
14925
69f63097
RM
14926 * string/strncat.c (STRNCAT): Use prototype definition.
14927
675456ef
RM
14928 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
14929 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
14930 -Iprograms here.
14931 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
14932 (localedef-modules): Add localedef.
14933 (locale-modules): Add locale.
14934
5e4287d1
RM
14935 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
14936 * elf/rtld.c (dl_main): Invert order of assignment in last change,
14937 to avoid a warning.
14938
9c96ff23
DM
149392011-08-14 David S. Miller <davem@davemloft.net>
14940
14941 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
14942 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
14943
f9ddf089
UD
149442011-08-13 Ulrich Drepper <drepper@gmail.com>
14945
44f0a71e 14946 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
14947 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
14948 * elf/rtld.c (dl_main): Set l_name of vDSO.
14949 Call _dl_show_scope when DL_DEBUG_SCOPES.
14950 (process_dl_debug): Recognize scopes flag and also set it for all.
14951 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
14952 Declare _dl_show_scope.
14953
1dc27704
UD
14954 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
14955 (do_dlopen): Pass caller_dlopen to dl_open.
14956 (__libc_dlopen_mode): Initialize caller_dlopen.
14957
f9ddf089
UD
14958 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
14959 of libc. Make tolower call locale-independent. Optimize a bit by
14960 using isdigit instead of isalnum.
14961 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
14962
9ac533d3
UD
149632011-08-12 Ulrich Drepper <drepper@gmail.com>
14964
14965 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
14966 was a dependency or dynamically loaded.
14967
89edf2e9
UD
149682011-08-11 Ulrich Drepper <drepper@gmail.com>
14969
8e999d29
UD
14970 * intl/l10nflist.c: Allow architecture-specific pop function.
14971 * sysdeps/x86_64/l10nflist.c: New file.
14972
89edf2e9
UD
14973 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
14974 classification.
14975
14d96785
AS
149762011-08-10 Andreas Schwab <schwab@redhat.com>
14977
14978 * include/dirent.h: Add libc_hidden_proto for scandirat and
14979 scandirat64. Don't declare __scandirat64.
14980 * dirent/scandirat.c: Add libc_hidden_def.
14981 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
14982 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
14983
6761ac04
DM
149842011-08-10 David S. Miller <davem@davemloft.net>
14985
14986 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
14987 enum.
14988 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
14989 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
14990 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
14991
c55fbd1e
UD
149922011-08-09 Ulrich Drepper <drepper@gmail.com>
14993
14994 * Versions.def [libc]: Add GLIBC_2.15.
14995 * dirent/Makefile (routines): Add scandirat and scandirat64.
14996 * dirent/Versions [libc]: Export scandirat and scandirat64 for
14997 GLIBC_2.15.
14998 * dirent/dirent.h: Declare scandirat and scandirat64.
14999 * dirent/scandirat.c: New file.
15000 * dirent/scandirat64.c: New file.
15001 * sysdeps/wordsize-64/scandirat.c: New file.
15002 * sysdeps/wordsize-64/scandirat64.c: New file.
15003 * dirent/opendir.c: Define opendirat.
15004 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
15005 using scandirat.
15006 * dirent/scandir64.c: Adjust for scandir.c change.
15007 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
15008 __scandirat64, and __scandir_cancel_handler.
15009 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
15010 additional parameter and use openat instead of open (outside of ld.so).
15011 Add new __opendir as wrapper around __opendirat.
15012 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
15013 here without requiring old scandirat implementation.
15014
879165f2
UD
150152011-08-08 Ulrich Drepper <drepper@gmail.com>
15016
15017 * dirent/scandir.c (cancel_handler): Renamed to
15018 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
15019 defined. Adjust users.
15020 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
15021 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
15022
cb7e923b
UD
150232011-08-04 Ulrich Drepper <drepper@gmail.com>
15024
16292edd
UD
15025 * string/test-string.h (IMPL): Use __STRING to expand name and then
15026 stringify it.
15027
cb7e923b
UD
15028 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
15029 of cleanups.
15030
cff82933
LD
150312011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15032
15033 * string/Makefile: Update.
15034 (strop-tests): Append strncat.
15035 * string/test-wcscmp.c: New file.
15036 New comprehensive test for wcscmp.
15037 * string/test-strcmp.c: Update.
15038 (WIDE): New define.
15039
9be9bfcc
AS
150402011-07-22 Andreas Schwab <schwab@redhat.com>
15041
15042 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
15043 line.
15044
2e96f1c7
AS
150452011-07-26 Andreas Schwab <schwab@redhat.com>
15046
15047 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
15048 encoding to ACE if AI_IDN.
15049
85188888
JJ
150502011-08-01 Jakub Jelinek <jakub@redhat.com>
15051
15052 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
15053 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
15054
5fa16e9b
LD
150552011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15056
15057 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
15058 Fix overflow bug in strncat.
15059 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
15060
15061 * string/test-strncat.c: Update.
15062 Add new tests for checking overflow bugs.
15063
150642011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15065
15066 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15067 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
15068 * sysdeps/i386/i686/multiarch/strcat.S: New file.
15069 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
15070 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
15071 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
15072 * sysdeps/i386/i686/multiarch/strncat.S: New file.
15073 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
15074 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
15075
15076 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
15077 (USE_AS_STRCAT): Define.
15078 Add strcat and strncat support.
15079 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
15080
8c1a459f
AS
150812011-07-25 Andreas Schwab <schwab@redhat.com>
15082
15083 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
15084 __n bigger than INT_MAX+1.
15085 (__strncmp_g): Likewise.
15086
bba33c28
UD
150872011-07-23 Ulrich Drepper <drepper@gmail.com>
15088
798be72d
UD
15089 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
15090 * libio/stido.h: Likewise.
15091
8accd4dc
UD
15092 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
15093 (AF_NFC): Define.
15094 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
15095 (AF_NFC): Define.
15096
cbff0d96
UD
15097 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
15098 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
15099 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
15100 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
15101 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
15102
9191c04a
UD
15103 [BZ #13021]
15104 * scripts/test-installation.pl: Don't expect libnss_test1 to be
15105 installed.
15106
bba33c28
UD
15107 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
15108 typo.
15109 (_dl_x86_64_save_sse): Likewise.
15110
90f139dd
UD
151112011-07-22 Ulrich Drepper <drepper@gmail.com>
15112
1aae088a
UD
15113 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
15114 OSXSAVE.
15115 (_dl_x86_64_save_sse): Likewise.
15116
8e2045f5
UD
15117 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
15118
90f139dd
UD
15119 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
15120
1d002f25
AS
151212011-07-21 Andreas Schwab <schwab@redhat.com>
15122
15123 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
15124 change.
15125 (_dl_x86_64_save_sse): Use correct AVX check.
15126
21137f89
UD
151272011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15128
15129 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
15130 bug in strncpy/strncat.
15131 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
15132
a65c0b7a
UD
151332011-07-21 Ulrich Drepper <drepper@gmail.com>
15134
15135 * string/tester.c (test_strcat): Add tests for different alignments
15136 of source and destination.
15137 (test_strncat): Likewise.
15138
6986b98a
UD
151392011-07-20 Ulrich Drepper <drepper@gmail.com>
15140
90bb2039
UD
15141 [BZ #12852]
15142 * posix/glob.c (glob): Check passed in values before using them in
15143 expressions to avoid some overflows.
15144 (glob_in_dir): Likewise.
15145
5644ef54
UD
15146 [BZ #13007]
15147 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
15148 check for AVX enablement so that we don't crash with old kernels and
15149 new hardware.
15150 * elf/tst-audit4.c: Add same checks here.
15151 * elf/tst-audit6.c: Likewise.
15152
15153 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 15154
bfc9dc9b
AS
151552011-07-09 Andreas Schwab <schwab@linux-m68k.org>
15156
15157 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
15158
702e64bb
UD
151592011-07-20 Ulrich Drepper <drepper@gmail.com>
15160
15161 * po/cs.po: Update from translation team.
15162 * po/bg.po: Likewise.
15163
295e904f
MP
151642011-07-12 Marek Polacek <mpolacek@redhat.com>
15165
15166 * misc/sys/cdefs.h: Add support for const attribute.
15167 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
15168 to gnu_dev_{major,minor,makedev} functions.
15169
3ff94596
MP
151702011-07-20 Marek Polacek <mpolacek@redhat.com>
15171
15172 * intl/dcigettext.c (get_output_charset): Add missing bracket.
15173
28b59fca
AS
151742011-07-20 Andreas Schwab <schwab@redhat.com>
15175
15176 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
15177 strlen results.
15178
19df733e
AK
151792011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15180
15181 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
15182 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
15183 register in order to avoid conflicts with the soft frame pointer
15184 being held in r11 when necessary.
15185 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
15186 (INTERNAL_VSYSCALL_NCS): Likewise.
15187
c8835729
MP
151882011-07-14 Marek Polacek <mpolacek@redhat.com>
15189
15190 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
15191 * elf/dl-fini.c (_dl_fini): Adjust caller.
15192 * elf/dl-close.c (_dl_close_worker): Likewise.
15193 * sysdeps/generic/ldsodefs.h: Adjust declaration.
15194
b902330c
MP
151952011-07-15 Marek Polacek <mpolacek@redhat.com>
15196
8991e135
MP
15197 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
15198 "aux_cache->nlibs < 0".
15199
b902330c
MP
15200 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
15201 in the reload-count case.
15202
99710781
LD
152032011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15204
15205 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15206 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
15207 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
15208 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
15209 * sysdeps/x86_64/multiarch/strcat.S: New file.
15210 * sysdeps/x86_64/multiarch/strncat.S: New file.
15211 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
15212 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
15213 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
15214 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
15215 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
15216 (USE_AS_STRCAT): Define.
15217 Add strcat and strncat support.
15218 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
15219 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
15220 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
15221 * string/strncat.c: Update.
15222 (USE_AS_STRNCAT): Define.
15223 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15224 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
15225 and i7.
15226 * sysdeps/x86_64/multiarch/init-arch.h
15227 (bit_Prefer_PMINUB_for_stringop): New.
15228 (index_Prefer_PMINUB_for_stringop): Likewise.
15229 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
15230 bit_Prefer_PMINUB_for_stringop.
15231
7dc6bd90
UD
152322011-07-19 Ulrich Drepper <drepper@gmail.com>
15233
15234 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
15235 buffer64.
15236 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
15237 of casting of buffer.
15238 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
15239 buffer32 and buffer64.
15240 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
15241 writes instead of casting of buffer.
15242 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
15243 buffer32.
15244 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
15245 casting of buffer.
15246
e0e72284
AS
152472011-07-19 Andreas Schwab <schwab@redhat.com>
15248
15249 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
15250
feb1eb0b
UD
152512011-07-19 Ulrich Drepper <drepper@gmail.com>
15252
15253 * nscd/nscd.c (termination_handler): Don't do anything for a database
15254 if it has not yet been initialized.
15255
298711ff
UD
152562011-07-18 Ulrich Drepper <drepper@gmail.com>
15257
15258 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
15259
152602011-07-15 Marek Polacek <mpolacek@redhat.com>
15261
15262 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
15263
f9d68389
UD
152642011-07-18 Ulrich Drepper <drepper@gmail.com>
15265
15266 * po/nl.po: Update from translation team.
15267 * po/sv.po: Likewise.
15268
db290cf5
RM
152692011-07-16 Roland McGrath <roland@hack.frob.com>
15270
15271 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
15272 now disallowed by GCC.
5c550700 15273
fd5e21c7
RM
15274 * configure.in (use-default-link): Default to yes if a test -shared
15275 link meets our qualifications.
15276 * configure: Regenerated.
15277
5c550700
RM
15278 * config.make.in (output-format): New variable.
15279 * configure.in: Check for ld --print-output-format support.
15280 * configure: Regenerated.
15281 * Makerules ($(common-objpfx)format.lds)
15282 [$(output-format) != unknown]: Just use $(output-format),
15283 instead of the linker-script munging.
15284
9fa2c032
RM
152852011-07-14 Roland McGrath <roland@hack.frob.com>
15286
a6928d51
RM
15287 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
15288 of $(common-objpfx)shlib.lds.
15289 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
15290
661607b3
RM
15291 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
15292 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
15293
9fa2c032
RM
15294 * configure.in (-z relro check): Adjust test code to add a large
15295 writable data section after it.
15296 * configure: Regenerated.
15297
defe9061
RM
152982011-07-11 Roland McGrath <roland@hack.frob.com>
15299
15300 * configure.in (-z relro check): Fix test code to make the variable
15301 truly const.
15302 * configure: Regenerated.
15303
319b9ad4
UD
153042011-07-11 Ulrich Drepper <drepper@gmail.com>
15305
15306 * nscd/nscd.h (struct traced_file): Define.
15307 (struct database_dyn): Remove inotify_descr, reset_res, and filename
15308 elements. Add traced_files.
15309 (inotify_fd): Declare.
15310 (register_traced_file): Declare.
15311 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
15312 (inotify_fd): Export.
15313 (resolv_conf_descr): Remove.
15314 (nscd_init): Move inotify descriptor creation to main.
15315 Don't register files for notification here.
15316 (register_traced_file): New function.
15317 (invalidate_cache): Don't use reset_res to determine whether to call
15318 res_init, go through the list of registered files.
15319 (main_loop_poll): The inotify descriptors are now stored in the
15320 structures for the traced files.
15321 (main_loop_epoll): Likewise
15322 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
15323 to __nss_disable_nscd.
15324 * nscd/cache.c (prune_cache): There is no single inotify descriptor
15325 for a database anymore. Check the records for all the registered
15326 files instead.
15327 * nss/Makefile (libnss_files-routines): Add files-init.
15328 (libnss_db-routines): Add db-init.
15329 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
15330 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
15331 * nss/nss_db/db-init.c: New file.
15332 * nss/nss_files/files-init.c: New file.
15333 * nss/nsswitch.c (nss_load_library): New function. Broken out of
15334 __nss_lookup_function.
15335 (__nss_lookup_function): Call nss_load_library.
15336 (nss_load_all_libraries): New function.
15337 (__nss_disable_nscd): Take parameter with callback function for files
15338 to register. Set is_nscd. Load all the DSOs for the NSS modules
15339 used for the cached services.
15340 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
15341 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
15342 options for features to all the files in nscd.
15343
15344 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
15345
23bee3e8
RM
153462011-07-10 Roland McGrath <roland@hack.frob.com>
15347
15348 * csu/elf-init.c (__libc_csu_init): Comment typo.
15349
46a5b7f0
UD
153502011-07-09 Ulrich Drepper <drepper@gmail.com>
15351
15352 * po/pl.po: Update from translation team.
15353 * po/ja.po: Likewise.
15354 * po/ru.po: Likewise.
15355 * po/ko.po: Likewise.
15356 * po/fr.po: Likewise.
15357
d30cf5bb
RM
153582011-07-09 Roland McGrath <roland@hack.frob.com>
15359
113ddea4
RM
15360 * configure.in (.ctors/.dtors header and trailer check):
15361 Use an empirical test on a built program.
15362 * configure: Regenerated.
15363
574920b4
RM
15364 * configure.in (-z relro check): Use an empirical test on a built DSO.
15365 Detect, but do not require, on ia64.
15366 * configure: Regenerated.
15367
d30cf5bb
RM
15368 * configure.in (READELF): Find it with AC_CHECK_TOOL.
15369 Update tests that use readelf to use $READELF instead.
15370 * configure: Regenerated.
15371
8538fdb3
UD
153722011-07-08 Ulrich Drepper <drepper@gmail.com>
15373
15374 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
15375 if the result is not used.
15376
04d08991
AJ
153772011-07-05 Andreas Jaeger <aj@suse.de>
15378
15379 [BZ#9696]
15380 * stdlib/tst-strtod.c: Add testcase.
15381
de283087
AD
153822011-07-07 Ulrich Drepper <drepper@gmail.com>
15383
4e5f31c8 15384 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 15385 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
15386 The latter has a higher limit. Take additional parameter to pass to
15387 the new function.
15388 (__pathconf): Pass file to __statfs_link_max.
15389 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
15390 __statfs_link_max.
15391 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
15392 __statfs_link_max.
15393
de283087
AD
15394 [BZ #12868]
15395 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
15396 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15397 Handle Lustre.
15398 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
15399 (__statfs_filesize_max): Likewise.
15400 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
15401
c75fa153
AJ
154022011-07-05 Andreas Jaeger <aj@suse.de>
15403
15404 * resolv/res_comp.c (dn_skipname): Remove unused variable.
15405
1a544854
UD
154062011-07-06 Marek Polacek <mpolacek@redhat.com>
15407
15408 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
15409 `status' variable.
15410 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
15411 Likewise.
15412
6f0eec67
UD
154132011-07-04 H.J. Lu <hongjiu.lu@intel.com>
15414
15415 * Makefile (strop-tests): Add strncat.
15416 * string/test-strncat.c: New file.
15417
aae30307
UD
154182011-06-30 Marek Polacek <mpolacek@redhat.com>
15419
15420 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
15421
c0cfb5eb
UD
154222011-06-21 Andreas Jaeger <aj@suse.de>
15423
15424 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
15425 Copy rule from iconvdata/Makefile.
15426
01636b21
UD
154272011-07-06 Ulrich Drepper <drepper@gmail.com>
15428
15429 [BZ #12922]
15430 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
15431 but no long options are defined, just return 'W'.
15432
9895c8bc
UD
154332011-06-22 Marek Polacek <mpolacek@redhat.com>
15434
15435 [BZ #9696]
15436 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
15437
5d4cf042
UD
154382011-07-06 Ulrich Drepper <drepper@gmail.com>
15439
15440 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
15441 netgroups to read.
960e5535 15442 (innetgr): Likewise.
5d4cf042 15443
751eb97e
RM
154442011-07-05 Roland McGrath <roland@hack.frob.com>
15445
15446 * config.make.in (install_root): Default to $(DESTDIR).
15447
f15f1e45
UD
154482011-07-05 Ulrich Drepper <drepper@gmail.com>
15449
15450 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
15451
4e34ac6a
RM
154522011-07-02 Roland McGrath <roland@hack.frob.com>
15453
5e9b6af4
RM
15454 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
15455
84f9ea0f
RM
15456 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
15457 containing directory rather than embedding absolute directory names.
15458
ea5ee9f7
RM
15459 * scripts/check-local-headers.sh: Rewritten using awk.
15460 Match by word, not by line. Print error messages for matches.
15461 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
15462
1b74661a
RM
15463 * Makerules [shlib-lds-flags empty]:
15464 ($(common-objpfx)libc_pic.opts): New target.
15465 ($(common-objpfx)libc_pic.os.clean): New target.
15466 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
15467
15468 * config.make.in (OBJCOPY): New variable.
15469 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
15470 * configure: Regenerated.
15471
f781ef40
RM
15472 * config.make.in (use-default-link): New variable.
15473 * configure.in (use_default_link): Grok --with-default-link to set it.
15474 * configure: Regenerated.
15475 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
15476 (shlib-lds, shlib-lds-flags): Define to empty.
15477
2d4fa81e
RM
15478 * Makerules (shlib-lds): New variable.
15479 (shlib-lds-flags): New variable.
15480 (build-shlib, build-moduile, build-module-asneeded): Use it.
15481 ($(common-objpfx)libc.so): Use $(shlib-lds).
15482 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
15483 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
15484
31fffa6b
RM
15485 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
15486 DT_FLAGS/DT_FLAGS_1 with zero flags.
15487
4e34ac6a
RM
15488 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
15489 linker script munging.
15490
fcfc776b
UD
154912011-07-02 Ulrich Drepper <drepper@gmail.com>
15492
15493 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
15494 as 128-bit value.
15495 * crypt/sha512.c (sha512_process_block): Perform total addition using
15496 128-bit if possible.
15497 (__sha512_finish_ctx): Likewise.
15498 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
15499 as 64-bit value.
15500 * crypt/sha256.c (SWAP64): Define.
15501 (sha256_process_block): Perform total addition using 64-bit if
15502 possible.
15503 (__sha256_finish_ctx): Likewise.
15504
99231d9a
UD
155052011-07-01 Ulrich Drepper <drepper@gmail.com>
15506
15507 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
15508 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15509 * nscd/hstcache.c (cache_addhst): Likewise.
15510 * nscd/grpcache.c (cache_addgr): Likewise.
15511 * nscd/aicache.c (addhstaiX): Likewise
15512 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
15513
445b4a53
TK
155142011-07-01 Thorsten Kukuk <kukuk@suse.de>
15515
15516 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
15517 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15518 * nscd/hstcache.c (cache_addhst): Likewise.
15519 * nscd/grpcache.c (cache_addgr): Likewise.
15520 * nscd/aicache.c (addhstaiX): Likewise
15521
6d4d8e8e
AS
155222011-07-01 Andreas Schwab <schwab@redhat.com>
15523
15524 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
15525 domain only when needed.
15526
89f654c5
AS
155272011-06-30 Andreas Schwab <schwab@redhat.com>
15528
15529 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
15530 is always restored.
15531
cf3b23ff
UD
155322011-06-29 Ulrich Drepper <drepper@gmail.com>
15533
15534 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
15535 are re-adding the entry.
15536 * nscd/servicescache.c (cache_addserv): Likewise.
15537
751626f9
AJ
155382011-06-30 Aurelien Jarno <aurelien@aurel32.net>
15539
15540 * sysdeps/generic/dl-irel.h: fix protection against multiple
15541 inclusions.
15542 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
15543
9113ea1f
UD
155442011-06-28 Ulrich Drepper <drepper@gmail.com>
15545
5c0b8d90
UD
15546 [BZ #12935]
15547 * malloc/memusage.sh: Fix quoting in message.
15548 * debug/xtrace.sh: Likewise.
15549
9113ea1f
UD
15550 * configure.in: Remove support for --experimental-malloc option, make
15551 it the default.
15552 * config.make.in: Likewise.
15553 * malloc/Makefile: Likewise.
15554
a4172181
AS
155552011-06-27 Andreas Schwab <schwab@redhat.com>
15556
15557 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
15558 two-byte characters.
15559
78a7eee7
RM
155602011-06-27 Roland McGrath <roland@hack.frob.com>
15561
62bede13
RM
15562 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
15563 AC_CACHE_CHECK invocation.
15564 * configure: Regenerated.
15565
78a7eee7
RM
15566 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
15567
5ce33a62
UD
155682011-06-27 Ulrich Drepper <drepper@gmail.com>
15569
034807a9
UD
15570 [BZ #12350]
15571 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
15572 bit from old_res_options.
15573
4902da17
UD
15574 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
15575
5ce33a62
UD
15576 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
15577 value type for setfct.
15578
c2344f56
L
155792011-06-23 H.J. Lu <hongjiu.lu@intel.com>
15580
15581 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
15582 __gettimeofday instead of gettimeofday.
15583
68468076
UD
155842011-06-26 Ulrich Drepper <drepper@gmail.com>
15585
15586 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
15587
acb0d739
L
155882011-06-24 H.J. Lu <hongjiu.lu@intel.com>
15589
15590 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
15591
15592 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
15593 info.
15594
8912479f
L
155952011-06-22 H.J. Lu <hongjiu.lu@intel.com>
15596
15597 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15598 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
15599 strcpy-sse2-unaligned strncpy-sse2-unaligned
15600 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
15601 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
15602 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
15603 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
15604 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
15605 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
15606 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
15607 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
15608 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
15609 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
15610 (STRCPY): Support SSE2 and SSSE3 versions.
15611
d5495a11
UD
156122011-06-24 Ulrich Drepper <drepper@gmail.com>
15613
15614 [BZ #12874]
15615 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
15616 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
15617 kernels which artificially limit size of requests.
15618
0b1cbaae
L
156192011-06-22 H.J. Lu <hongjiu.lu@intel.com>
15620
15621 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15622 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
15623 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
15624 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
15625 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
15626 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
15627 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
15628 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
15629 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
15630 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
15631 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
15632 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
15633 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
15634 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
15635 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
15636 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15637 Enable unaligned load optimization for Intel Core i3, i5 and i7
15638 processors.
15639 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
15640 Define.
15641 (index_Fast_Unaligned_Load): Define.
15642 (HAS_FAST_UNALIGNED_LOAD): Define.
15643
07f494a0
MP
156442011-06-23 Marek Polacek <mpolacek@redhat.com>
15645
15646 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
15647
fa3fc0fe
UD
156482011-06-22 Ulrich Drepper <drepper@gmail.com>
15649
15650 [BZ #12907]
15651 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
15652 until it is clear that the information is realy needed.
15653 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
15654
e12df166
AS
156552011-06-22 Andreas Schwab <schwab@redhat.com>
15656
15657 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
15658
852eb34d
UD
156592011-06-22 Ulrich Drepper <drepper@gmail.com>
15660
84e2a551
UD
15661 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
15662 /sys/devices/system/cpu/online if it is usable.
15663
852eb34d
UD
15664 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
15665 reading the information from the /proc filesystem to once a second.
15666
6e502e19
UD
156672011-06-21 Andreas Jaeger <aj@suse.de>
15668
15669 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
15670 NULL after inclusion of kernel headers.
15671
75d39ff2
UD
156722011-06-21 Ulrich Drepper <drepper@gmail.com>
15673
51f9aa6a
UD
15674 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
15675 calls to internal_setent.
15676
c0244a9d
UD
15677 [BZ #12885]
15678 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
15679 addresses using gethostbyname4_r ignore IPv4 addresses.
15680
c5e3c2ae
UD
15681 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
15682 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
15683
75d39ff2
UD
15684 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
15685
42675c6f
DM
156862011-06-20 David S. Miller <davem@davemloft.net>
15687
15688 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
15689 inclusions.
15690 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
15691
15692 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
15693 (elf_irel): Use it.
15694 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
15695 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
15696 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
15697 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
15698 * sysdeps/x86_64/dl-irel.h: Likewise.
15699
15700 * elf/dl-runtime.c: Use elf_ifunc_invoke.
15701 * elf/dl-sym.c: Likewise.
15702
57912a71
UD
157032011-06-15 Ulrich Drepper <drepper@gmail.com>
15704
15705 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
15706 need to dereference resplen2.
15707
ee22793d
AS
157082011-06-14 Andreas Schwab <schwab@redhat.com>
15709
15710 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
15711
a9e836b0
UD
157122011-06-15 Ulrich Drepper <drepper@gmail.com>
15713
77fb9117
UD
15714 * Makeconfig: Define vardbdir and inst_vardbdir.
15715 * nss/Makefile: Add rules to install db-Makefile.
15716
40c1b22c
UD
15717 * nss/nss_db/db-XXX.c: Cleanup.
15718
9f2da732
UD
15719 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
15720 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
15721 GLIBC_PRIVATE.
15722 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
15723 * nss/makedb.c: Implement -g option to specify that value strings
15724 are generated and should not be added to table iterated over for
15725 get*ent calls.
15726 * nss/nss_db/db-initgroups.c: New file.
15727
82e9a1f7
UD
15728 * nss/getent.c: Add support for initgroups lookups through getgrouplist
15729 interface.
15730
c41af17e
UD
15731 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
15732 (internal_getgrouplist): Adjust to name change.
15733 Update use_initgroups_entry if this is not the first call.
15734 * nss/databases.def: Add initgroups entry.
15735
a9e836b0
UD
15736 * nss/makedb.c (compute_tables): Check result of multiple hash table
15737 sizes to minimize maximum chain length.
15738
2666d441
UD
157392011-06-14 Ulrich Drepper <drepper@gmail.com>
15740
15741 * Versions.def: Add entry for libnss_db.
15742 * shlib-versions: Likewise.
15743 * nss/Makefile: Add rules to build libnss_db.
15744 * nss/Versions: Add libnss_db information. Organize libnss_files
15745 entries better.
15746 * nss/db-Makefile: Add gshadow support. Change rules for the new
15747 makedb progra. Some minor improvements to generate smaller files.
15748 * nss/nss_db/nss_db.h: Move NSS database header data structures to
15749 here from...
15750 * nss/makedb.c: ...here.
15751 Improve database format to be smaller and require less memory at
15752 runtime.
15753 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
15754 db anymore.
15755 * nss/nss_db/db-netgrp.c: Likewise.
15756 * nss/nss_db/db-open.c: Likewise.
15757 * nss/nss_files/flies-XXX.x: Adjust comments.
15758 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
15759 * nss/nss_files/files-grp.c: Likewise.
15760 * nss/nss_files/files-hosts.c: Likewise.
15761 * nss/nss_files/files-network.c: Likewise.
15762 * nss/nss_files/files-proto.c: Likewise.
15763 * nss/nss_files/files-pwd.c: Likewise.
15764 * nss/nss_files/files-rpc.c: Likewise.
15765 * nss/nss_files/files-service.c: Likewise.
15766 * nss/nss_files/files-sgrp.c: Likewise.
15767 * nss/nss_files/files-spwd.c: Likewise.
15768 * nss/nss_db/db-alias.c: Removed.
15769 * nss/nss_db/dummy-db.h: Removed.
15770
9ee76b5a
UD
157712011-06-02 Ulrich Drepper <drepper@gmail.com>
15772
15773 * nss/makedb.c: Rewritten to not use database library.
15774 * nss/Makefile: Update to build new makedb program.
15775
c71ca1f8
AJ
157762011-06-14 Andreas Jaeger <aj@suse.de>
15777
15778 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
15779 memset declaration.
15780
3154bfb8
UD
157812011-06-10 Andreas Schwab <schwab@redhat.com>
15782
15783 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
15784 tmpbuf.
15785
b350afab
RM
157862011-06-10 Roland McGrath <roland@hack.frob.com>
15787
decd4e50
RM
15788 * Makerules (shlib.lds): Fail if the linker script comes out empty.
15789 * elf/Makefile ($(objpfx)ld.so): Likewise.
15790
5615eaf2
RM
15791 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
15792 Don't list ld.so twice in dependencies.
15793
15794 * posix/bug-regex31.c: Include <stdlib.h>.
15795
15796 * nscd/hstcache.c (cache_addhst): Remove unused variable.
15797
15798 * nis/nss_compat/compat-spwd.c
15799 (getspent_next_nss_netgr): Remove unused variable.
15800 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
15801
15802 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
15803 nonmembers" output to use the right array.
15804
15805 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
15806
15807 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
15808
15809 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
15810 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
15811 * catgets/gencat.c (read_input_file): Likewise.
15812 * locale/programs/locarchive.c (enlarge_archive): Likewise.
15813
15814 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
15815 variable definition inside #if's controlling its use.
15816
15817 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
15818
15819 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
15820
15821 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
15822
15823 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
15824 unreachable code.
15825
15826 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
15827
b68e08db
RM
15828 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
15829 * configure: Regenerated.
15830
b350afab
RM
15831 * Makerules: Revert last change.
15832 * elf/Makefile: Likewise.
15833
28368601
RM
158342011-06-09 Roland McGrath <roland@hack.frob.com>
15835
15836 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
15837 * elf/Makefile ($(objpfx)librtld.os): Likewise.
15838 (reloc-link): Likewise.
15839
11988f8f
UD
158402011-06-09 Ulrich Drepper <drepper@gmail.com>
15841
15842 * elf/Makefile: Add rules to build pldd.
15843 * elf/pldd.c: New file.
15844 * elf/pldd-xx.c: New file.
15845
e80fab37
UD
158462011-06-07 Ulrich Drepper <drepper@gmail.com>
15847
15848 * version.h: Update for 2.15 development version.
15849
9b849836
DM
158502011-06-07 David S. Miller <davem@davemloft.net>
15851
15852 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
15853 ifuncs.
15854 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
15855 elf_machine_lazy_rel): Likewise.
15856 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
15857 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
15858 elf_machine_lazy_rel): Likewise.
15859 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
15860 dl_hwcap via passed in argument.
15861 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
15862 Likewise.
15863
5a31b283
AK
158642011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15865
15866 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
15867
069e52f8
RM
158682011-06-06 Roland McGrath <roland@hack.frob.com>
15869
15870 [BZ #12849]
15871 * manual/fdl-1.1.texi: New file, verbatim from:
15872 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
15873 * manual/lgpl-2.1.texi: New file, verbatim from:
15874 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
15875 * manual/Makefile (licenses): New variable, list those new file names.
15876 (texis): Use it.
15877 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
15878
15879 * manual/fdl.texi: File removed.
15880 * manual/lesser.texi: File removed.
15881 * manual/libc.texinfo (Copying, Documentation License):
15882 Use new @include file names, put @appendix directive before @include.
15883
f16846a5
JJ
158842011-06-04 Jakub Jelinek <jakub@redhat.com>
15885
15886 [BZ #12841]
15887 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
15888 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
15889 (mq_open): Add __NTH.
15890
3d29045b
L
158912011-06-02 H.J. Lu <hongjiu.lu@intel.com>
15892
15893 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15894 Assume Intel Core i3/i5/i7 processor if AVX is available.
15895
8c297311
UD
158962011-05-31 Ulrich Drepper <drepper@gmail.com>
15897
15898 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
15899 typo.
15900
c8fc0c91
UD
159012011-05-31 Andreas Schwab <schwab@redhat.com>
15902
15903 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
15904 memory. Use alloca_account. Fix memory leak when retrying.
15905
5b27a807
UD
159062011-05-31 Ulrich Drepper <drepper@gmail.com>
15907
356f8bc6
UD
15908 * version.h (RELEASE): Bump for 2.14 release.
15909 * include/features.h (__GLIBC_MINOR__): Bump to 14.
15910
5b27a807
UD
15911 * config.make.in (RANLIB): Remove entry.
15912
01f16ab0
UD
159132011-05-30 Ulrich Drepper <drepper@gmail.com>
15914
41fce8bd
UD
15915 * po/Makefile (po-sed-cmd): Add ksh to extensions.
15916 (libc.pot): Work around missing support for .ksh extension in xgettext.
15917
4769ae77
UD
15918 [BZ #12684]
15919 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
15920 if both request failed.
15921 (send_dg): In case of server errors clear resplen or *resplen2.
15922
6b1e7d19
UD
15923 [BZ #12454]
15924 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
15925 when there are multiple maps.
15926 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
15927 (_dl_fini): Remove test here.
15928
01f16ab0
UD
15929 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
15930
b1ebd700
UD
159312011-05-29 Ulrich Drepper <drepper@gmail.com>
15932
7ae22829
UD
15933 [BZ #12350]
15934 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
15935 bit from old_res_options.
15936 (gaih_inet): Likewise.
15937
553149f6 15938 [BZ #11099]
18a84741 15939 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
15940 as signed.
15941
652ffab1
UD
15942 * resolv/res_init.c (res_setoptions): Make the code more compact.
15943
16985fd0
UD
15944 [BZ #11558]
15945 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
15946 set RES_USEVC.
15947
0464f746
UD
15948 [BZ #11634]
15949 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
15950
7d17596c
UD
15951 * malloc/malloc.h: Mark malloc hook variables as deprecated.
15952
cf6bbbd7
UD
15953 [BZ #11781]
15954 * malloc/malloc.h: Declare malloc hook variables as volatile.
15955
13f1ab36
UD
15956 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
15957 in last patch.
15958
b1ebd700
UD
15959 [BZ #11799]
15960 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 15961 raise in the comment.
80e2212d
UD
15962 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
15963 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
15964 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 15965
ce67228d
UD
159662011-05-28 Ulrich Drepper <drepper@gmail.com>
15967
8887a920
UD
15968 [BZ #12811]
15969 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
15970 grow the buffers more if it already has to be sufficient.
15971 (build_wcs_upper_buffer): Likewise.
15972 * posix/regexec.c (check_matching): Likewise.
15973 (clean_state_log_if_needed): Likewise.
15974 (extend_buffers): Don't enlarge buffers beyond size of the input
15975 buffer.
15976 Patches mostly by Emil Wojak <emil@wojak.eu>.
15977 * posix/bug-regex32.c: New file.
15978 * posix/Makefile (tests): Add bug-regex32.
15979
4f031072
UD
15980 * locale/findlocale.c (_nl_find_locale): Return right away if
15981 _nl_explode_name failed.
15982 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
15983
d0478f0c
UD
15984 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
15985
de81b246
UD
15986 * debug/xtrace.sh: Unify messages.
15987 * malloc/memusage.sh: Likewise.
15988
c738465a
UD
15989 [BZ #12813]
15990 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
15991 time symbol from vDSO. Substitute with vsyscall if not available.
15992 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
15993 __vdso_time.
15994
f1f929d7
UD
15995 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
15996 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
15997 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
15998 Add sendmmsg and internal_sendmmsg.
15999 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
16000 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
16001 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
16002
ce67228d
UD
16003 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
16004 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
16005 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
16006
e57420c6
UD
160072011-05-27 Ulrich Drepper <drepper@gmail.com>
16008
a8509ca5
UD
16009 [BZ #12813]
16010 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
16011 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
16012 available.
16013 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
16014 __vdso_getcpu.
16015
e57420c6
UD
16016 [BZ #12814]
16017 * iconvdata/Makefile (tests): Add bug-iconv9.
16018 * iconvdata/bug-iconv9.c: New file.
16019
4d07db15
AS
160202011-05-27 Andreas Schwab <schwab@redhat.com>
16021
16022 [BZ #12814]
16023 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
16024
ea486f69
JJ
160252011-05-25 Jakub Jelinek <jakub@redhat.com>
16026
16027 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
16028 (struct user_regs_struct): Change intcs field back to cs.
16029
6f038433
UD
160302011-05-25 Ulrich Drepper <drepper@gmail.com>
16031
16032 * po/ja.po: Update from translation team.
16033
67f86a25
UD
160342011-05-23 Ulrich Drepper <drepper@gmail.com>
16035
16036 [BZ #12795]
16037 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
16038 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
16039
def7fbd6
AS
160402011-05-20 Andreas Schwab <schwab@redhat.com>
16041
16042 * stdlib/longlong.h: Update from GCC.
16043
f50ef8f1
AS
160442011-05-23 Andreas Schwab <schwab@redhat.com>
16045
16046 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
16047 parameter name.
16048 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
16049 Add parameter name.
16050 (__sysconf): Pass it down.
16051
de7ce8f1
UD
160522011-05-22 Ulrich Drepper <drepper@gmail.com>
16053
f2962a71
UD
16054 [BZ #12671]
16055 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
16056 some situations.
16057 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
16058 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
16059 add in in __libc_use_alloca calls. Adjust callers.
16060 (glob): Use malloc in some situations.
16061
de7ce8f1
UD
16062 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
16063 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
16064 pltexit.
16065
aec84f53
UD
160662011-05-21 Ulrich Drepper <drepper@gmail.com>
16067
05bb4a68
UD
16068 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
16069 and CLOCK_BOOTTIME_ALARM.
16070
7ea72f99
UD
16071 [BZ #12782]
16072 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
16073 is returned.
16074
7e4afad5
UD
16075 * string/_strerror.c (__strerror_r): Print negative errors as signed
16076 numbers.
16077
8e211fec
UD
16078 [BZ #12777]
16079 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
16080 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
16081 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
16082
f7d82dc9
UD
16083 * configure.in: Fix typo in redirection and correct removal of test
16084 files in two cases.
16085
cc9e536d
UD
16086 [BZ #12788]
16087 * locale/setlocale.c (new_composite_name): Fix test to check for
16088 identical name of all categories.
16089
aec84f53
UD
16090 [BZ #12792]
16091 * libio/filedoalloc.c (local_isatty): New function.
16092 (_IO_file_doallocate): Use local_isatty.
16093 * stdio-common/perror.c (perror): In case a new stream is used
16094 forward the stream error.
16095 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
16096 error flag.
16097
78e64fdc
RT
160982011-05-20 Ulrich Drepper <drepper@gmail.com>
16099
34a9094f
UD
16100 [BZ #11869]
16101 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
16102 alloca.
16103 * include/alloca.h (extend_alloca_account): Define.
16104
78e64fdc
RT
16105 [BZ #11857]
16106 * posix/regex.h: Fix comments with documentation of user-accessible
16107 fields after compilation and describe correct free'ing of pattern
16108 after re_compile_pattern.
16109 Patch by Reuben Thomas <rrt@sc3d.org>.
16110
457bddfc
RA
161112011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
16112
16113 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
16114 and -mno-altivec to prevent the compiler from using Altivec and/or
16115 VSX instructions when the corresponding registers are not available.
16116
a4527b51
AS
161172011-05-19 Andreas Schwab <schwab@redhat.com>
16118
16119 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
16120
ed690b2f
UD
161212011-05-19 Ulrich Drepper <drepper@gmail.com>
16122
16123 * libio/freopen.c (freopen): Use __dup2, not dup2.
16124 * libio/freopen64.c (freopen64): Likewise.
16125
8db73634
L
161262011-05-17 H.J. Lu <hongjiu.lu@intel.com>
16127
16128 [BZ #12775]
16129 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
16130 * math/Makefile (tests): Add test-powl.
16131 (CFLAGS-test-powl.c): Define.
16132 * math/test-powl.c: New file.
16133
0a197a9d
L
161342011-05-16 H.J. Lu <hongjiu.lu@intel.com>
16135
16136 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
16137
ee30c380
UD
161382011-05-17 Ulrich Drepper <drepper@gmail.com>
16139
16140 [BZ #11837]
16141 * iconvdata/gb18030.c: Update to GB18020-2005.
16142
6ce75379
UD
161432011-05-16 Ulrich Drepper <drepper@gmail.com>
16144
a4b89fd8
AR
16145 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
16146 RE_SYNTAX_POSIX_AWK): Update to match recent development.
16147 Patch by Aharon Robbins <arnold@skeeve.com>.
16148
ea389b12
UD
16149 [BZ #11892]
16150 * stdlib/putenv.c (putenv): Don't always create copy of the variable
16151 on the stack.
16152
68a3f91f
UD
16153 [BZ #11895]
16154 * misc/pselect.c (__pselect): Handle timeout value errors hidden
16155 through underflows.
16156
15cc7dd1
UD
16157 [BZ #12766]
16158 * misc/error.c (error_at_line): Ensure file_name and old_file_name
16159 point to strings before performing equality test for error_one_per_line
16160 mode.
16161
f3799213
UD
16162 [BZ #11697]
16163 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
16164
d79a9c94
UD
16165 [BZ #11820]
16166 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
16167 (struct user_fpregs_struct): Avoid __uint*_t types.
16168
56e5eb46
UD
16169 [BZ #6420]
16170 * malloc/mtrace.c (tr_where): Add additional parameter to point to
16171 symbol info. Use it instead of calling _dl_addr locally.
16172 (lock_and_info): New function.
16173 (tr_freehook): Call lock_and_info and pass symbol info as additional
16174 parameter to tr_where.
16175 (tr_mallochook): Likewise.
16176 (tr_reallochook): Likewise.
16177 (tr_memalignhook): Likewise.
16178
6ce75379
UD
16179 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
16180 used and couldn't be at all thread-safe.
16181
f8a3b5bf
UD
161822011-05-15 Ulrich Drepper <drepper@gmail.com>
16183
94b7cc37
UD
16184 * libio/freopen.c (freopen): Don't close old file descriptor
16185 before the new one is opened. Instead dup the new file descriptor
16186 to the old one after the new stream is created.
16187 * libio/freopen64.c (freopen64): Likewise.
16188 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
16189 * libio/fileops.c (_IO_new_file_close_it): Handle new
16190 _IO_FLAGS2_NOCLOSE flag.
16191 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
16192 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
16193 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
16194 _IO_FLAGS2_NOCLOSE flag.
16195 * include/unistd.h: Add hidden_proto for dup3.
16196 Define __have_dup3.
16197 * io/dup3.c: Define hidden symbol.
16198 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
16199
bd25564e
UD
16200 [BZ #7101]
16201 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
16202 when an incomplete long option is used.
16203 * posix/tst-getopt_long1.c: New file.
16204 * posix/Makefile (tests): Add tst-getopt_long1.
16205
c84cfef4
UD
16206 [BZ #10138]
16207 * scripts/config.guess: Update from autoconf-2.68.
16208 * scripts/config.sub: Likewise.
16209
3b85df27
UD
16210 [BZ #10157]
16211 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
16212 tests into ...
16213 (has_cpuclock): ...this. New function.
16214 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
16215 macro here based on has_cpuclock code.
16216
15a856b1
UD
16217 [BZ #10149]
16218 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16219 First byte (not low byte) is now always NUL.
16220 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
16221
05f399e6
UD
16222 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16223 Use non-cancelable interfaces.
16224
10a52685 16225 [BZ #9809]
94ecc67d
UD
16226 * locale/iso-639.def: Add entry for Sorani.
16227
f8a3b5bf
UD
16228 [BZ #11901]
16229 * include/stdlib.h: Move include protection to the right place.
16230 Define abort_msg_s. Declare __abort_msg with it.
16231 * stdlib/abort.c (__abort_msg): Adjust type.
16232 * assert/assert.c (__assert_fail_base): New function. Majority
16233 of code from __assert_fail. Allocate memory for __abort_msg with
16234 mmap.
16235 (__assert_fail): Now call __assert_fail_base.
16236 * assert/assert-perr.c: Remove bulk of implementation. Use
16237 __assert_fail_base.
16238 * include/assert.hL Declare __assert_fail_base.
16239 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
16240 mmap.
16241 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
16242
1af4e298
UD
162432011-05-14 Ulrich Drepper <drepper@gmail.com>
16244
f8a3b5bf 16245 [BZ #11952]
d26dfc60
MG
16246 [BZ #12453]
16247 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
16248 until all modules are registered in the DTV.
16249 * elf/Makefile: Add rules to build and run tst-tls19.
16250 * elf/tst-tls19.c: New file.
16251 * elf/tst-tls19mod1.c: New file.
16252 * elf/tst-tls19mod2.c: New file.
16253 * elf/tst-tls19mod3.c: New file.
16254 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
16255
2fc54d6f
UD
16256 [BZ #12083]
16257 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
16258 correctly.
16259
98d76b46
UD
16260 [BZ #12601]
16261 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
16262 two-byte sequence errors.
16263 * iconvdata/Makefile (tests): Add bug-iconv8.
16264 * iconvdata/bug-iconv8.c: New file.
16265
da3c19ef
UD
16266 [BZ #12626]
16267 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
16268 buf2 definition.
16269
ca408c15
UD
16270 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
16271
d6f67f7d
UD
16272 [BZ #12432]
16273 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
16274 (dummy_getcfa): New function.
16275 (init): Get _Unwind_GetCFA address, use dummy if not found.
16276 (backtrace_helper): In recursion check, also check whether CFA changes.
16277 (__backtrace): Completely initialize arg.
16278
1af4e298 16279 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
16280 storing incomplete byte sequence in state object. Avoid testing for
16281 guaranteed too small input if we know there is enough data available.
1af4e298 16282
da62f81b
AS
162832011-05-11 Andreas Schwab <schwab@redhat.com>
16284
16285 * Makeconfig (+link-pie): Indent.
16286 * Rules (binaries-pie): Define if $(have-fpie) and
16287 $(build-shared).
16288 (binaries-shared): Also filter out $(binaries-pie).
16289 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
16290 * nscd/Makefile (others-pie): Add nscd.
16291 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
16292 ($(objpfx)nscd): Remove command override.
16293 * login/Makefile (others-pie): Add pt_chown.
16294 ($(objpfx)pt_chown): Remove command override.
16295 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
16296 remove command overrides.
16297
fcabc0f8
UD
162982011-05-13 Ulrich Drepper <drepper@gmail.com>
16299
20030ae6
UD
16300 * libio/tst_putwc.c: Fix error messages.
16301
fcabc0f8
UD
16302 [BZ #12724]
16303 * libio/fileops.c (_IO_new_file_close_it): Always flush when
16304 currently writing and seek to current position when not.
16305 * libio/Makefile (tests): Add bug-fclose1.
16306 * libio/bug-fclose1.c: New file.
16307
320a5dc0
PB
163082011-05-12 Ulrich Drepper <drepper@gmail.com>
16309
16310 [BZ #12511]
16311 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
16312 don't set DF_1_NODELETE here.
16313 (do_lookup_x): When entering new entry test for copy relocation
16314 and if necessary set DF_1_NODELETE flag.
16315 * elf/tst-unique4.cc: New file.
16316 * elf/tst-unique4.h: New file.
16317 * elf/tst-unique4lib.cc: New file.
16318 * elf/Makefile: Add rules to build and run tst-unique4.
16319 Patch by Piotr Bury <pbury@goahead.com>.
16320
22836f52
UD
163212011-05-11 Ulrich Drepper <drepper@gmail.com>
16322
f574184a
UD
16323 [BZ #12052]
16324 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
16325
e1fb097f
UD
16326 [BZ #12625]
16327 * misc/mntent_r.c (addmntent): Flush the stream after the output
16328
22836f52
UD
16329 [BZ #12393]
16330 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
16331 (is_trusted_path_normalize): Skip initial colon. Append slash
16332 to empty buffer. Duplicate is_trusted_path code but allow
16333 constructed patch to be prefix.
16334 (is_dst): Allow $ORIGIN followed by /.
16335 (_dl_dst_substitute): Correct clearing of check_for_trusted.
16336 Correct testing of result of is_trusted_path_normalize
16337 (decompose_rpath): Fix warning.
16338
7b3b0b2a
UD
163392011-05-10 Ulrich Drepper <drepper@gmail.com>
16340
16341 [BZ #11257]
16342 * grp/initgroups.c (internal_getgrouplist): When we found the service
16343 list through the initgroups entry in nsswitch.conf do not always
16344 continue on a successful lookup. Don't always use the
eac80ce2 16345 __nss_group_database value if it is set.
7b3b0b2a
UD
16346 * nss/nsswitch.conf (initgroups): Change action for successful db
16347 lookup to continue for compatibility.
16348
2a81eaa5
UD
163492011-05-09 Ulrich Drepper <drepper@gmail.com>
16350
be97a69e
UD
16351 [BZ #11532]
16352 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
16353 and CP774 modules.
16354 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
16355 and CP774 modules.
16356 * iconvdata/tst-tables.sh: Likewise.
16357 * iconvdata/cp770.c: New file.
16358 * iconvdata/cp771.c: New file.
16359 * iconvdata/cp772.c: New file.
16360 * iconvdata/cp773.c: New file.
16361 * iconvdata/cp774.c: New file.
16362 * iconvdata/testdata/CP770: New file.
16363 * iconvdata/testdata/CP770..UTF8: New file.
16364 * iconvdata/testdata/CP771: New file.
16365 * iconvdata/testdata/CP771..UTF8: New file.
16366 * iconvdata/testdata/CP772: New file.
16367 * iconvdata/testdata/CP772..UTF8: New file.
16368 * iconvdata/testdata/CP773: New file.
16369 * iconvdata/testdata/CP773..UTF8: New file.
16370 * iconvdata/testdata/CP774: New file.
16371 * iconvdata/testdata/CP774..UTF8: New file.
16372
16373 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
16374 END CHARMAP line.
16375 * iconvdata/gen-8bit-gap.sh: Likewise.
16376 * iconvdata/gen-8bit.sh: Likewise.
16377
c1e9e399
UD
16378 * locale/iso-639.def: Add ary entry.
16379
24c55fb3 16380 [BZ #11258]
96b4b1b0
UD
16381 * locale/C-translit.h.in: Add U20A1 transliteration.
16382
bdc2f971
KB
16383 [BZ #12178]
16384 * locale/iso-639.def: Add wae entry.
16385 Patch by Kevin Bortis <bortis@translate-wae.ch>.
16386
2952b117
UD
16387 [BZ #12545]
16388 * locale/programs/localedef.c (construct_output_path): Use ssize_t
16389 for n.
16390
2a81eaa5
UD
16391 [BZ #12711]
16392 * locale/C-translit.h.in: Add entry for U20B9.
16393 Patch by pravin.d.s@gmail.com.
16394
28377d1b
UD
163952011-05-08 Ulrich Drepper <drepper@gmail.com>
16396
7fb90fb8
UD
16397 [BZ #12713]
16398 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
16399 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
16400 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
16401 in rtld. Use *stat64.
7fb90fb8 16402 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 16403 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 16404 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
16405 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
16406 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
16407 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
16408 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
16409 __fstatat64 macros.
7fb90fb8
UD
16410 * include/dirent.h: Add libc_hidden_proto for rewinddir.
16411 * dirent/rewinddir.c: Add libc_hidden_def.
16412 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 16413 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 16414
28377d1b
UD
16415 * include/dirent.h (__alloc_dir): Add flags parameter.
16416 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
16417 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
16418 __alloc_dir.
16419 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
16420 from fdopendir if O_CLOEXEC is already set.
16421
66bdbaa4
AM
164222011-03-15 Alan Modra <amodra@gmail.com>
16423
16424 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
16425 l_tls_firstbyte_offset non-zero. Save padding offset in
16426 l_tls_firstbyte_offset for later use.
16427 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
16428 freeing static tls block.
16429
95721191
JN
164302011-03-05 Jonathan Nieder <jrnieder@gmail.com>
16431
16432 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
16433 where #ifdef was intended. The intent is to prevent ARG_MAX from
16434 being defined by the kernel headers.
16435
f87dfb1f
UD
164362011-05-07 Ulrich Drepper <drepper@gmail.com>
16437
16438 [BZ #12734]
16439 * resolv/resolv.h: Define RES_NOTLDQUERY.
16440 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
16441 no-tld-query and set RES_NOTLDQUERY.
16442 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
16443 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
16444 modern BIND to search name as TLD unless forbidden.
16445
47c3cd7a
UD
164462011-05-07 Petr Baudis <pasky@suse.cz>
16447 Ulrich Drepper <drepper@gmail.com>
16448
16449 [BZ #12393]
16450 * elf/dl-load.c (fillin_rpath): Move trusted path check...
16451 (is_trusted_path): ...to here.
c1e9ea35 16452 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 16453 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 16454 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 16455
8a35c912
PP
164562011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
16457
16458 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
16459 __BEGIN/__END_DECLS.
16460
acd41f47
UD
164612011-05-06 Ulrich Drepper <drepper@gmail.com>
16462
16463 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
16464 NSS_STATUS_NOTFOUND if no record was found.
16465
597df647
AS
164662011-05-05 Andreas Schwab <schwab@redhat.com>
16467
16468 * sunrpc/Makefile (headers): Add rpc/netdb.h.
16469 (headers-not-in-tirpc): Remove rpc/netdb.h
16470 * resolv/netdb.h: Revert last change.
16471
b9af1301
PP
164722011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
16473
16474 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
16475 circular dependency between libgcc.a and libc.a.
16476
4e34d5f5
AS
164772011-05-05 Andreas Schwab <schwab@redhat.com>
16478
16479 * resolv/netdb.h: Don't include <rpc/netdb.h>.
16480 * nis/Makefile: Don't install rpcsvc/*.
16481 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
16482 instead of <rpc/types.h>.
16483 (MAXHOSTNAMELEN): Define.
16484
00ee369c
AS
164852011-05-03 Andreas Schwab <schwab@redhat.com>
16486
16487 * elf/ldconfig.c (add_dir): Don't crash on empty path.
16488
0b592a30
MB
164892011-04-28 Maciej Babinski <mbabinski@google.com>
16490
16491 [BZ #12714]
16492 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
16493 gethostbyname4_r when IPv6 results are possible.
16494
6e04cbbe
UD
164952011-05-02 Ulrich Drepper <drepper@gmail.com>
16496
16497 [BZ #12723]
16498 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
16499 _PC_PIPE_BUF handling.
16500
e4ecafe0
BH
165012011-04-30 Bruno Haible <bruno@clisp.org>
16502
16503 [BZ #12717]
16504 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
16505 * resolv/netdb.h (getnameinfo): Change type of flags parameter
16506 to 'int'.
16507 * inet/getnameinfo.c (getnameinfo): Likewise.
16508
125ee683
UD
165092011-04-29 Ulrich Drepper <drepper@gmail.com>
16510
16511 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
16512 to groups setting in database lookup.
16513 * nss/nsswitch.conf: Add initgroups entry.
16514
b722481a
EB
165152011-04-22 Ulrich Drepper <drepper@gmail.com>
16516
16517 [BZ #12685]
16518 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
16519 mode string.
16520 Patch by Eric Blake <eblake@redhat.com>.
16521
4df46dbd
L
165222011-04-20 H.J. Lu <hongjiu.lu@intel.com>
16523
16524 * sunrpc/Makefile (need-export-routines): Add svc_run.
16525 (routines): Remove svc_run.
16526 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
16527 * sunrpc/clnt_perr.c (clnt_perrno): Export.
16528 * sunrpc/svc_run.c (svc_run): Likewise.
16529 * sunrpc/svc_udp.c (svcudp_create): Likewise.
16530
e84142d2
UD
165312011-04-21 Ulrich Drepper <drepper@gmail.com>
16532
16533 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
16534 problem in reallocation in last patch.
16535
877175d8
UD
165362011-04-20 Ulrich Drepper <drepper@gmail.com>
16537
16538 * sunrpc/Makefile: Move inclusion of Rules.
16539
ab8eed78
UD
165402011-04-19 Ulrich Drepper <drepper@gmail.com>
16541
16542 * nss/nss_files/files-initgroups.c: New file.
16543 * nss/Makefile (libnss_files-routines): Add files-initgroups.
16544 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
16545 _nss_files_initgroups_dyn.
16546
e3d8f584
RS
165472011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
16548
16549 * elf/elf.h (R_ARM_IRELATIVE): Define.
16550
af190f45
UD
165512011-04-19 Ulrich Drepper <drepper@gmail.com>
16552
16553 * po/ru.po: Update from translation team.
16554
53cf59ef
UD
165552011-04-17 Ulrich Drepper <drepper@gmail.com>
16556
16557 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
16558 dependencies.
16559
4c559bcd
MF
165602011-02-06 Mike Frysinger <vapier@gentoo.org>
16561
16562 [BZ #12653]
16563 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
16564 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
16565 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
16566 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
16567 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
16568
4420675c
AS
165692011-03-28 Andreas Schwab <schwab@linux-m68k.org>
16570
16571 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
16572 differing bytes.
16573 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
16574 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
16575 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
16576
75ea32ab
UD
165772011-04-17 Ulrich Drepper <drepper@gmail.com>
16578
16579 [BZ #12420]
16580 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
16581 storing it.
16582 * stdlib/bug-getcontext.c: New file.
16583 * stdlib/Makefile: Add rules to build and run bug-getcontext.
16584
27390476
AK
165852011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16586
16587 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
16588 instructions into .machine "z9-109".
16589 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
16590 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
16591
10442705
AK
165922011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16593
16594 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
16595 between environment variables and auxiliary vector.
16596
7b57bfe5
UD
165972011-04-16 Ulrich Drepper <drepper@gmail.com>
16598
16599 * Makefile: Add rules to build linkobj/libc.so.
16600 * include/libc-symbols.h: Define libc_hidden_nolink.
16601 * include/rpc/auth.h: Mark functions which are to be hidden.
16602 * include/rpc/auth_des.h: Likewise.
16603 * include/rpc/auth_unix.h: Likewise.
16604 * include/rpc/clnt.h: Likewise.
16605 * include/rpc/des_crypt.h: Likewise.
16606 * include/rpc/key_prot.h: Likewise.
16607 * include/rpc/pmap_clnt.h: Likewise.
16608 * include/rpc/pmap_prot.h: Likewise.
16609 * include/rpc/pmap_rmt.h: Likewise.
16610 * include/rpc/rpc_msg.h: Likewise.
16611 * include/rpc/svc.h: Likewise.
16612 * include/rpc/svc_auth.h: Likewise.
16613 * include/rpc/xdr.h: Likewise.
16614 * nis/Makefile: Link all DSOs against linkobj/libc.so.
16615 * nss/Makefile: Likewise.
16616 * sunrpc/Makefile: Don't install headers. Build library with normal
16617 entry points. Don't build rpcinfo. Link RPC tests appropriately.
16618 * sunrpc/auth_des.c: Hide exported symbols by default, export some
16619 for the compat linking library. Remove use of INTDEF/INTUSE.
16620 * sunrpc/auth_none.c: Likewise.
16621 * sunrpc/auth_unix.c: Likewise.
16622 * sunrpc/authdes_prot.c: Likewise.
16623 * sunrpc/authuxprot.c: Likewise.
16624 * sunrpc/clnt_gen.c: Likewise.
16625 * sunrpc/clnt_perr.c: Likewise.
16626 * sunrpc/clnt_raw.c: Likewise.
16627 * sunrpc/clnt_simp.c: Likewise.
16628 * sunrpc/clnt_tcp.c: Likewise.
16629 * sunrpc/clnt_udp.c: Likewise.
16630 * sunrpc/clnt_unix.c: Likewise.
16631 * sunrpc/des_crypt.c: Likewise.
16632 * sunrpc/des_soft.c: Likewise.
16633 * sunrpc/get_myaddr.c: Likewise.
16634 * sunrpc/key_call.c: Likewise.
16635 * sunrpc/key_prot.c: Likewise.
16636 * sunrpc/netname.c: Likewise.
16637 * sunrpc/pm_getmaps.c: Likewise.
16638 * sunrpc/pm_getport.c: Likewise.
16639 * sunrpc/pmap_clnt.c: Likewise.
16640 * sunrpc/pmap_prot.c: Likewise.
16641 * sunrpc/pmap_prot2.c: Likewise.
16642 * sunrpc/pmap_rmt.c: Likewise.
16643 * sunrpc/publickey.c: Likewise.
16644 * sunrpc/rpc_cmsg.c: Likewise.
16645 * sunrpc/rpc_common.c: Likewise.
16646 * sunrpc/rpc_dtable.c: Likewise.
16647 * sunrpc/rpc_prot.c: Likewise.
16648 * sunrpc/rpc_thread.c: Likewise.
16649 * sunrpc/rtime.c: Likewise.
16650 * sunrpc/svc.c: Likewise.
16651 * sunrpc/svc_auth.c: Likewise.
16652 * sunrpc/svc_authux.c: Likewise.
16653 * sunrpc/svc_raw.c: Likewise.
16654 * sunrpc/svc_run.c: Likewise.
16655 * sunrpc/svc_simple.c: Likewise.
16656 * sunrpc/svc_tcp.c: Likewise.
16657 * sunrpc/svc_udp.c: Likewise.
16658 * sunrpc/svc_unix.c: Likewise.
16659 * sunrpc/svcauth_des.c: Likewise.
16660 * sunrpc/xcrypt.c: Likewise.
16661 * sunrpc/xdr.c: Likewise.
16662 * sunrpc/xdr_array.c: Likewise.
16663 * sunrpc/xdr_float.c: Likewise.
16664 * sunrpc/xdr_intXX_t.c: Likewise.
16665 * sunrpc/xdr_mem.c: Likewise.
16666 * sunrpc/xdr_rec.c: Likewise.
16667 * sunrpc/xdr_ref.c: Likewise.
16668 * sunrpc/xdr_sizeof.c: Likewise.
16669 * sunrpc/xdr_stdio.c: Likewise.
16670
e6c61494
UD
166712011-04-10 Ulrich Drepper <drepper@gmail.com>
16672
16673 [BZ #12650]
16674 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
16675 * sysdeps/ia64/dl-tls.h: Likewise.
16676 * sysdeps/powerpc/dl-tls.h: Likewise.
16677 * sysdeps/s390/dl-tls.h: Likewise.
16678 * sysdeps/sh/dl-tls.h: Likewise.
16679 * sysdeps/sparc/dl-tls.h: Likewise.
16680 * sysdeps/x86_64/dl-tls.h: Likewise.
16681 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
16682
34fe483e
AS
166832011-03-14 Andreas Schwab <schwab@redhat.com>
16684
16685 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
16686 rpath element also skip the following colon.
16687 (expand_dynamic_string_token): Add is_path parameter and pass
16688 down to DL_DST_REQUIRED and _dl_dst_substitute.
16689 (decompose_rpath): Call expand_dynamic_string_token with
16690 non-zero is_path. Ignore empty rpaths.
16691 (_dl_map_object_from_fd): Call expand_dynamic_string_token
16692 with zero is_path.
16693
f12a32e6
AS
166942011-04-08 Andreas Schwab <schwab@linux-m68k.org>
16695
16696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
16697 Make cancelable.
16698
38a7d692
UD
166992011-04-09 Ulrich Drepper <drepper@gmail.com>
16700
16701 [BZ #12655]
16702 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
16703 Patch by Filipe David Manana <fdmanana@apache.org>.
16704
e451d22b
AS
167052011-04-07 Andreas Schwab <schwab@redhat.com>
16706
16707 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
16708 Maintain aligned stack.
16709 (CHECK_RSP): Remove unused macro.
16710
dedc7c7b
UD
167112011-04-03 Ulrich Drepper <drepper@gmail.com>
16712
16713 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
16714 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
16715
94521213
UD
167162011-04-02 Ulrich Drepper <drepper@gmail.com>
16717
16718 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
16719
8cb700c0 16720 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 16721
0354e355
L
167222011-03-26 H.J. Lu <hongjiu.lu@intel.com>
16723
16724 [BZ #12518]
16725 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
16726 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
16727 * sysdeps/x86_64/memmove.c: New file.
16728 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
16729 (memcpy): Renamed to ...
16730 (__new_memcpy): This.
16731 (memcpy): Provide GLIBC_2_14 memcpy.
16732 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
16733 (memcpy): Provide GLIBC_2_2_5 memcpy.
16734
8593482f
UD
167352011-04-01 Ulrich Drepper <drepper@gmail.com>
16736
16737 [BZ #12631]
16738 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
16739
81a5726b
AS
167402011-03-30 Andreas Schwab <schwab@redhat.com>
16741
16742 * misc/syncfs.c: New file.
16743 * misc/Makefile (routines): Add syncfs.
16744 * posix/unistd.h: Declare syncfs.
16745 * sysdeps/unix/syscalls.list: Add syncfs.
16746
00e5419f
AS
167472011-04-01 Andreas Schwab <schwab@redhat.com>
16748
16749 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
16750 open_by_handle_at.
16751 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
16752 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
16753 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16754 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
16755 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16756 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
16757 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
16758
748876bf
UD
167592011-04-01 Ulrich Drepper <drepper@gmail.com>
16760
658e451d
UD
16761 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
16762 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
16763 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
16764 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16765 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
16766 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16767 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
16768
748876bf
UD
16769 * io/Makefile: Compile fallocate.c, fallocate64.c, and
16770 sync_file_range.c with -fexceptions.
16771 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
16772 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
16773 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
16774 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
16775 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
16776 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
16777 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
16778 sync_file_range as cancellation point
16779 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
16780 now a wrapper around __call_sync_file_range with cancellation handling.
16781 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
16782 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
16783 function name to __call_sync_file_range.
16784 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
16785 Add call_sync_file_range.
748876bf 16786
6e63d5e1
AS
167872011-04-01 Andreas Schwab <schwab@redhat.com>
16788
16789 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 16790 bits/timex.h.
6e63d5e1 16791
46998f74
UD
167922011-04-01 Ulrich Drepper <drepper@gmail.com>
16793
4c1423ed
UD
16794 * iconv/iconv.h: Fix typo in comment.
16795 * io/fcntl.h: Likewise.
16796 * libio/stdio.h: Likewise.
16797 * posix/spawn.h: Likewise.
16798 * posix/unistd.h: Likewise.
16799 * stdlib/stdlib.h: Likewise.
16800 * time/time.h: Likewise.
16801 * wcsmbs/wchar.h: Likewise.
16802
158648c0
UD
16803 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
16804 open_by_handle): Add.
16805 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
16806 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
16807 Augment a few comments.
16808 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
16809 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16810 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
16811 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16812 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
16813 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
16814 open_by_handle.
16815
46998f74
UD
16816 * io/fcntl.h (AT_EMPTY_PATH): Define.
16817
83fe108b
UD
168182011-03-30 Ulrich Drepper <drepper@gmail.com>
16819
16820 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
16821 * sysdeps/unix/sysv/linux/bits/time.h: New file.
16822 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
16823 to...
16824 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
16825 * Versions.def: Add GLIBC_2.14.
16826 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
16827 Export.
83fe108b 16828
bb242059
UD
168292011-03-22 Ulrich Drepper <drepper@gmail.com>
16830
16831 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
16832 round counter.
16833 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
16834
c97a1282
L
168352011-03-20 H.J. Lu <hongjiu.lu@intel.com>
16836
16837 [BZ #12597]
16838 * string/test-strncmp.c (do_page_test): New function.
16839 (check2): Likewise.
16840 (test_main): Call check2.
16841 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
16842
2a115601
UD
168432011-03-20 Ulrich Drepper <drepper@gmail.com>
16844
16845 [BZ #12587]
16846 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
16847 Handle cache information in CPU leaf 4.
16848 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
16849
8126d904
UD
168502011-03-18 Ulrich Drepper <drepper@gmail.com>
16851
042c49c6 16852 [BZ #12583]
8126d904
UD
16853 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
16854 character representation.
16855 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
16856
ccfe366e
RA
168572011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
16858
16859 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
16860 END(__isnan) to END(__isnanf) to match function entry point/label
16861 EALIGN(__isnanf,...).
16862
c6e13027
JJ
168632011-03-10 Jakub Jelinek <jakub@redhat.com>
16864
16865 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
16866
33f85a3f
UD
168672011-03-10 Ulrich Drepper <drepper@gmail.com>
16868
028478fa
UD
16869 [BZ #12510]
16870 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
16871 copy from the symbol referenced in the relocation to initialize the
16872 used variable.
16873 Patch by Piotr Bury <pbury@goahead.com>.
16874 * elf/Makefile: Add rules to build and tst-unique3.
16875 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
16876 * elf/tst-unique3.cc: New file.
16877 * elf/tst-unique3.h: New file.
16878 * elf/tst-unique3lib.cc: New file.
16879 * elf/tst-unique3lib2.cc: New file.
16880
33f85a3f
UD
16881 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
16882
03592fc7
MF
168832011-03-10 Mike Frysinger <vapier@gentoo.org>
16884
16885 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
16886 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
16887 to _start.
03592fc7 16888
6a5ee102
UD
168892011-03-06 Ulrich Drepper <drepper@gmail.com>
16890
16891 * elf/dl-load.c (_dl_map_object): If we are looking for the first
16892 to-be-loaded object along a path to loader is ld.so.
16893
7e4ba49c
HJ
168942011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
16895 Ulrich Drepper <drepper@gmail.com>
16896
16897 * sysdeps/x86_64/memset.S: After aligning destination, code
16898 branches to different locations depending on the value of
16899 misalignment, when multiarch is enabled. Fix this.
16900
169012011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
16902
16903 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
16904 Set _x86_64_preferred_memory_instruction for AMD processsors.
16905 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16906 Set bit_Prefer_SSE_for_memop for AMD processors.
16907
13a804de
UD
169082011-03-04 Ulrich Drepper <drepper@gmail.com>
16909
16910 * libio/fmemopen.c (fmemopen): Optimize a bit.
16911
9d25c392
AS
169122011-03-03 Andreas Schwab <schwab@redhat.com>
16913
16914 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
16915
a5543c6a
RM
169162011-03-03 Roland McGrath <roland@redhat.com>
16917
16918 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
16919
012d35f7
DM
169202011-02-28 Aurelien Jarno <aurelien@aurel32.net>
16921
7e4ba49c 16922 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
16923 __bzero_ultra1 instead of __memset_ultra1.
16924
4bff6e01
AS
169252011-02-23 Andreas Schwab <schwab@redhat.com>
16926 Ulrich Drepper <drepper@gmail.com>
16927
16928 [BZ #12509]
16929 * include/link.h (struct link_map): Add l_orig_initfini.
16930 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
16931 returning unsuccessfully.
16932 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
16933 close of a file loaded at startup, restore the original l_initfini
16934 list.
16935 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
16936 list, store the pointer.
16937 * elf/Makefile ($(objpfx)noload-mem): New rule.
16938 (noload-ENV): Define.
16939 (tests): Add $(objpfx)noload-mem.
16940 * elf/noload.c: Include <memcheck.h>.
16941 (main): Call mtrace. Close all opened handles.
16942
f2092faf
AS
169432011-02-17 Andreas Schwab <schwab@redhat.com>
16944
16945 [BZ #12454]
16946 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
16947 dependencies are missing.
16948
6c8a2e88
ST
169492011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
16950
f2092faf 16951 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
16952 Hurd needs munmap.
16953 * sysdeps/mach/hurd/ifreq.h: New file.
16954
84a42118
PB
169552011-01-27 Petr Baudis <pasky@suse.cz>
16956 Ulrich Drepper <drepper@gmail.com>
16957
071f805e 16958 [BZ 12445]#
84a42118
PB
16959 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
16960 to extend_alloca().
16961 * stdio-common/bug23.c: New file.
16962 * stdio-common/Makefile (tests): Add bug23.
16963
e23fe25b
AS
169642010-09-28 Andreas Schwab <schwab@redhat.com>
16965 Ulrich Drepper <drepper@gmail.com>
16966
16967 [BZ #12489]
16968 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
16969 before performing relro protection. At old place add assertion
16970 to make sure nothing changed.
16971
d3f02e10
NS
169722011-02-17 Nathan Sidwell <nathan@codesourcery.com>
16973 Glauber de Oliveira Costa <glommer@gmail.com>
16974
16975 * elf/elf.h: Add new ARM TLS relocs.
16976
d55fd7a5
RA
169772011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
16978
16979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
16980 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
16981 cast from r3.
16982 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
16983 'tests' variable.
16984 * sysdeps/wordsize-64/tst-writev.c: New file.
16985
2206397e
RA
169862011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
16987
16988 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
16989 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
16990 insns in _dl_start to prevent a TOC reference before relocs are
16991 resolved.
16992
e9433893
UD
169932011-02-15 Ulrich Drepper <drepper@gmail.com>
16994
16995 [BZ #12469]
16996 * Makeconfig: Remove RANLIB definition.
16997 * Makerules: Don't use RANLIB.
16998 * aclocal.m4: Remove ranlib test.
16999 * configure.in: No need to check for ranlib.
17000 * elf/rtld-Rules: Don't use RANLIB.
17001
f75286c6
ST
170022011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
17003
8e31c82d
ST
17004 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
17005 protection macro.
17006 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
17007 inclusion protection macro.
17008
f75286c6
ST
17009 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
17010 SIGRTMIN and SIGRTMAX and print information in that case only when
17011 SIGRTMIN is defined.
17012
c1d0e639
JJ
170132011-02-11 Jakub Jelinek <jakub@redhat.com>
17014
17015 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
17016 arginfo fn returning -1.
17017
17018 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
17019 and thousands string is zero terminated.
17020
edf9294e
AS
170212011-02-03 Andreas Schwab <schwab@redhat.com>
17022
17023 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
17024 sysdeps/unix/sysv/linux/bits/socket.h.
17025
2b7e92df
ST
170262011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
17027
edf9294e
AS
17028 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
17029 (__CPU_COUNT): Remove old macros.
17030 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
17031 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
17032 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
17033 (__sched_cpualloc, __sched_cpufree): Add declarations.
17034
a4c7ea7b
UD
170352011-02-05 Ulrich Drepper <drepper@gmail.com>
17036
17037 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
17038 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
17039 * nscd/aicache.c (addhstaiX): Return timeout of added value.
17040 (readdhstai): Return value of addhstaiX call.
17041 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
17042 (addgrbyX): Return value returned by cache_addgr.
17043 (readdgrbyname): Return value returned by addgrbyX.
17044 (readdgrbygid): Likewise.
17045 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
17046 (addpwbyX): Return value returned by cache_addpw.
17047 (readdpwbyname): Return value returned by addhstbyX.
17048 (readdpwbyuid): Likewise.
17049 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
17050 (addservbyX): Return value returned by cache_addserv.
17051 (readdservbyname): Return value returned by addservbyX:
17052 (readdservbyport): Likewise.
17053 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
17054 (addhstbyX): Return value returned by cache_addhst.
17055 (readdhstbyname): Return value returned by addhstbyX.
17056 (readdhstbyaddr): Likewise.
17057 (readdhstbynamev6): Likewise.
17058 (readdhstbyaddrv6): Likewise.
17059 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
17060 (readdinitgroups): Return value returned by addinitgroupsX.
17061 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
17062 (prune_cache): Keep track of timeout value of re-added entries.
17063 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
17064 * nscd/nscd.h: Adjust prototypes of readd* functions.
17065
a0bf67cc
RM
170662011-02-04 Roland McGrath <roland@redhat.com>
17067
17068 * nis/nis_server.c (nis_servstate): Use the right name for 0.
17069 (nis_stats): Likewise.
17070 * nis/nis_modify.c (nis_modify): Likewise.
17071 * nis/nis_remove.c (nis_remove): Likewise.
17072 * nis/nis_add.c (nis_add): Likewise.
17073
17074 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
17075
17076 * posix/fnmatch_loop.c: Add some consts.
17077
17078 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
17079
435b95eb
L
170802011-02-02 H.J. Lu <hongjiu.lu@intel.com>
17081
17082 [BZ #12460]
17083 * config.make.in (config-cflags-novzeroupper): Define.
17084 * configure.in: Substitute libc_cv_cc_novzeroupper.
17085 * elf/Makefile (AVX-CFLAGS): Define.
17086 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
17087 (CFLAGS-tst-auditmod4a.c): Likewise.
17088 (CFLAGS-tst-auditmod4b.c): Likewise.
17089 (CFLAGS-tst-auditmod6b.c): Likewise.
17090 (CFLAGS-tst-auditmod6c.c): Likewise.
17091 (CFLAGS-tst-auditmod7b.c): Likewise.
17092 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
17093
8517b15e
UD
170942011-02-02 Ulrich Drepper <drepper@gmail.com>
17095
17096 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
17097 function to the callback.
17098 Patch partly by Jiri Olsa <jolsa@redhat.com>.
17099
10a656fe
AS
171002011-02-02 Andreas Schwab <schwab@redhat.com>
17101
17102 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
17103 of errno.
17104
968dad0a
UD
171052011-01-19 Ulrich Drepper <drepper@gmail.com>
17106
9f94d2ea 17107 [BZ #11724]
968dad0a
UD
17108 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
17109 of constructors.
17110 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
17111 of destructors.
17112 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
17113
17114 [BZ #11724]
17115 * elf/Makefile: Add rules to build and run new test.
17116 * elf/tst-initorder.c: New file.
17117 * elf/tst-initorder.exp: New file.
17118 * elf/tst-initordera1.c: New file.
17119 * elf/tst-initordera2.c: New file.
17120 * elf/tst-initordera3.c: New file.
17121 * elf/tst-initordera4.c: New file.
17122 * elf/tst-initorderb1.c: New file.
17123 * elf/tst-initorderb2.c: New file.
17124 * elf/tst-order-a1.c: New file.
17125 * elf/tst-order-a2.c: New file.
17126 * elf/tst-order-a3.c: New file.
17127 * elf/tst-order-a4.c: New file.
17128 * elf/tst-order-b1.c: New file.
17129 * elf/tst-order-b2.c: New file.
17130 * elf/tst-order-main.c: New file.
17131 New test case by George Gensure <werkt0@gmail.com>.
17132
86e92359
UD
171332010-10-01 Andreas Schwab <schwab@redhat.com>
17134
17135 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
17136 decoding ACE if AI_CANONIDN.
17137
5d5732b0
UD
171382011-01-18 Ulrich Drepper <drepper@gmail.com>
17139
17140 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
17141
a77e8cbc
UD
171422011-01-17 Ulrich Drepper <drepper@gmail.com>
17143
6392473f
UD
17144 * version.h (RELEASE): Bump for 2.13 release.
17145 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
17146
620a0529
UD
17147 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
17148
18ba70a5
UD
17149 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
17150 MADV_NOHUGEPAGE.
32465c3e
UD
17151 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
17152 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
17153 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
17154 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
17155 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
17156 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
17157
c0dafcf1
UD
17158 * posix/getconf.c: Update copyright year.
17159 * catgets/gencat.c: Likewise.
17160 * csu/version.c: Likewise.
17161 * debug/catchsegv.sh: Likewise.
17162 * debug/xtrace.sh: Likewise.
17163 * elf/ldconfig.c: Likewise.
17164 * elf/ldd.bash.in: Likewise.
17165 * elf/sprof.c (print_version): Likewise.
17166 * iconv/iconv_prog.c: Likewise.
17167 * iconv/iconvconfig.c: Likewise.
17168 * locale/programs/locale.c: Likewise.
17169 * locale/programs/localedef.c: Likewise.
17170 * malloc/memusage.sh: Likewise.
17171 * malloc/mtrace.pl: Likewise.
17172 * nscd/nscd.c (print_version): Likewise.
17173 * nss/getent.c: Likewise.
17174
a77e8cbc
UD
17175 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
17176 PF_CAIF, and PF_ALG.
17177 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
17178
77e8bddf
AS
171792011-01-16 Andreas Schwab <schwab@linux-m68k.org>
17180
1f20b93a
AS
17181 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
17182 (modules-names): Use them.
17183 (ifunc-test-modules, ifunc-pie-tests): Define.
17184 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
17185 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
17186 (test-extras): Likewise.
17187 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
17188 $(compile-command.c).
17189 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
17190 (all-built-dso): Define.
17191 (check-textrel.out, check-execstack.out): Depend on it.
17192
77e8bddf
AS
17193 * configure.in: Don't override --enable-multi-arch.
17194
bc425b33
UD
171952011-01-15 Ulrich Drepper <drepper@gmail.com>
17196
17197 [BZ #6812]
17198 * nscd/hstcache.c (tryagain): Define.
17199 (cache_addhst): Return tryagain not notfound for temporary errors.
17200 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
17201 failed.
17202
794c3ad3
UD
172032011-01-14 Ulrich Drepper <drepper@gmail.com>
17204
70181fdd
UD
17205 [BZ #10563]
17206 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
17207 to make the syscall.
17208 * sysdeps/unix/sysv/linux/setgroups.c: New file.
17209
794c3ad3
UD
17210 [BZ #12378]
17211 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
17212 and fall back to matching as normal character if the string ends before
17213 the matching ']' is found. This is what POSIX requires.
17214 * posix/testfnm.c: Adjust test result.
17215 * posix/globtest.sh: Adjust test result. Add new test.
17216 * posix/tst-fnmatch.input: Likewise.
17217 * posix/tst-fnmatch2.c: Add new test.
17218
68dc9497
AS
172192010-12-28 Andreas Schwab <schwab@linux-m68k.org>
17220
17221 * elf/Makefile (check-execstack): Revert last change. Depend on
17222 check-execstack.h.
17223 (check-execstack.h): New target.
17224 (generated): Add check-execstack.h.
17225 * elf/check-execstack.c: Include "check-execstack.h".
17226 (main): Revert last change.
17227 (handle_file): Return zero if GNU_STACK is absent and
17228 DEFAULT_STACK_PERMS doesn't include PF_X.
17229
451f001b
UD
172302011-01-13 Ulrich Drepper <drepper@gmail.com>
17231
cfa28e56
UD
17232 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
17233 in child fails because the descriptor is already closed.
8cf8ce17
UD
17234 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
17235 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
17236 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 17237
1086d70d
UD
17238 [BZ #12397]
17239 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
17240 syscall.
17241
451f001b
UD
17242 [BZ #10484]
17243 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
17244 temporary buffer used to handle multi lookups locally.
a85b5cb4 17245 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 17246
08769175
UD
172472011-01-12 Ulrich Drepper <drepper@gmail.com>
17248
17249 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
17250 loader is ld.so.
17251
5e49c52e
UD
172522011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
17253
17254 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
17255 alignment for SSE2.
17256
60522a5f
UD
172572011-01-12 Ulrich Drepper <drepper@gmail.com>
17258
17259 [BZ #12394]
17260 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
17261 characters. When rounding increased number of integer digits recompute
17262 number of groups.
17263 * stdio-common/tst-grouping.c: New file.
17264 * stdio-common/Makefile: Add rules to build and run tst-grouping.
17265
f257bbd7
UD
172662011-01-09 Ulrich Drepper <drepper@gmail.com>
17267
17268 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
17269 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
17270
17271 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
17272 void.
17273 * bits/select.h: Likewise.
17274
fa9c15cb
UD
172752011-01-08 Ulrich Drepper <drepper@gmail.com>
17276
17277 * po/ja.po: Update from translation team.
17278
16c2895f
DM
172792011-01-04 David S. Miller <davem@sunset.davemloft.net>
17280
17281 [BZ #11155]
17282 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
17283 implementation just like for lxstat, fxstatat, et al.
17284
2543fef2
JM
172852010-12-27 Jim Meyering <meyering@redhat.com>
17286
17287 [BZ #12348]
17288 * posix/regexec.c (build_trtable): Return failure indication upon
17289 calloc failure. Otherwise, re_search_internal could infloop on OOM.
17290
98727dbe
UD
172912010-12-25 Ulrich Drepper <drepper@gmail.com>
17292
5bd6dc5c
UD
17293 [BZ #12201]
17294 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
17295 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
17296 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
17297 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
17298
97983464
UD
17299 [BZ #12207]
17300 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
17301
98727dbe
UD
17302 [BZ #12204]
17303 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
17304 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
17305
4a531bb0
L
173062010-12-15 H.J. Lu <hongjiu.lu@intel.com>
17307
17308 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
17309 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
17310 script has SORT_BY_INIT_PRIORITY.
17311 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
17312 NO_CTORS_DTORS_SECTIONS is defined.
17313 * elf/soinit.c: Likewise.
17314 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
17315 NO_CTORS_DTORS_SECTIONS is defined.
17316 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
17317 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
17318 * sysdeps/sh/init-first.c: Likewise.
17319 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
17320
07eb4b71
UD
173212010-12-24 Ulrich Drepper <drepper@gmail.com>
17322
17323 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
17324 always use the slow path.
17325
30950a5f
RA
173262010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
17327
17328 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
17329 similar rule which adds the sysdep directories to the header search in
17330 order to pick up the correct platform stackinfo.h.
17331 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
17332 perform test if it is, otherwise return successfully without testing.
17333 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
17334 DEFAULT_STACK_PERMS define in stackinfo.h.
17335 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
17336 defined in stackinfo.h.
17337 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
17338 DEFAULT_STACK_PERMS defined in stackinfo.h.
17339 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
17340 * sysdeps/ia64/stackinfo.h: Likewise.
17341 * sysdeps/s390/stackinfo.h: Likewise.
17342 * sysdeps/sh/stackinfo.h: Likewise.
17343 * sysdeps/sparc/stackinfo.h: Likewise.
17344 * sysdeps/x86_64/stackinfo.h: Likewise.
17345 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
17346 PF_X for powerpc64. Retain PF_X for powerpc32.
17347
db753e2c
UD
173482010-12-19 Ulrich Drepper <drepper@gmail.com>
17349
14b697f7
UD
17350 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
17351 accurately.
db753e2c
UD
17352 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
17353 GETDENTS_64BIT_ALIGNED.
17354
28300719
UD
173552010-12-14 Ulrich Drepper <dreper@gmail.com>
17356
14b697f7 17357 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 17358
4f197237
AS
173592010-12-10 Andreas Schwab <schwab@redhat.com>
17360
dbb0472f
AS
17361 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
17362 _GNU_SOURCE.
17363
4f197237
AS
17364 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
17365 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
17366 Remove __restrict.
17367 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
17368 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
17369
fb88ac72
UD
173702010-12-09 Ulrich Drepper <drepper@gmail.com>
17371
17372 [BZ #11655]
17373 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
17374 are initialized.
17375
42acbb92
JJ
173762010-12-09 Jakub Jelinek <jakub@redhat.com>
17377
17378 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
17379
c038d98d
UD
173802010-12-03 Ulrich Drepper <drepper@gmail.com>
17381
17382 * po/it.po: Update from translation team.
17383
3a4a2499
L
173842010-12-01 H.J. Lu <hongjiu.lu@intel.com>
17385
17386 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
17387 unused codes.
17388
1e24cf6e
UD
173892010-11-30 Ulrich Drepper <drepper@gmail.com>
17390
17391 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
17392
a7690819
AS
173932010-11-24 Andreas Schwab <schwab@redhat.com>
17394
17395 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
17396 specially.
17397 (gaih_getanswer_slice): Likewise.
17398
3bf8d1b1
JJ
173992010-10-20 Jakub Jelinek <jakub@redhat.com>
17400
17401 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
17402
6db52fbb
PB
174032010-05-31 Petr Baudis <pasky@suse.cz>
17404
17405 [BZ #11149]
17406 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
17407 silently even in the chroot mode.
17408
eaca7569
UD
174092010-11-22 Ulrich Drepper <drepper@gmail.com>
17410
17411 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
17412 last patch a bit. Pretty printing
17413
3056dcdb
UD
174142010-05-31 Petr Baudis <pasky@suse.cz>
17415
17416 [BZ #10085]
17417 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
17418 initialization of skip_initgroups_dyn.
17419
cf7c9078
UD
174202010-11-19 Ulrich Drepper <drepper@gmail.com>
17421
17422 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
17423 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
17424
a1fb5e3e
UD
174252010-11-16 Ulrich Drepper <drepper@gmail.com>
17426
17427 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
17428
3540d66b
AS
174292010-11-11 Andreas Schwab <schwab@redhat.com>
17430
17431 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
17432 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
17433 (tst-fnmatch-ENV): Set MALLOC_TRACE.
17434 ($(objpfx)tst-fnmatch-mem): New rule.
17435 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
17436 * posix/tst-fnmatch.c (main): Call mtrace.
17437
13b69574
L
174382010-11-11 H.J. Lu <hongjiu.lu@intel.com>
17439
17440 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17441 Support Intel processor model 6 and model 0x2c.
17442
da93d214
LM
174432010-11-10 Luis Machado <luisgpm@br.ibm.com>
17444
17445 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
17446 signed comparison.
17447
8ca52c6e
L
174482010-11-09 H.J. Lu <hongjiu.lu@intel.com>
17449
17450 [BZ #12205]
17451 * string/test-strncasecmp.c (check_result): New function.
17452 (do_one_test): Use it.
17453 (check1): New function.
17454 (test_main): Use it.
17455 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
17456 Support strcasecmp and strncasecmp.
17457
69da074d
UD
174582010-11-08 Ulrich Drepper <drepper@gmail.com>
17459
17460 [BZ #12194]
17461 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
17462 * sysdeps/x86_64/bits/byteswap.h: Likewise.
17463
ff02d528
L
174642010-11-07 H.J. Lu <hongjiu.lu@intel.com>
17465
17466 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
17467 IFUNC support.
17468 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17469 memset-x86-64.
17470 * sysdeps/x86_64/multiarch/bzero.S: New file.
17471 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
17472 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
17473 * sysdeps/x86_64/multiarch/memset.S: New file.
17474 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
17475 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17476 Set bit_Prefer_SSE_for_memop for Intel processors.
17477 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
17478 Define.
17479 (index_Prefer_SSE_for_memop): Define.
17480 (HAS_PREFER_SSE_FOR_MEMOP): Define.
17481
344d0b54
LM
174822010-11-04 Luis Machado <luisgpm@br.ibm.com>
17483
17484 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
17485 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
17486
c0dde15b
UD
174872010-11-03 H.J. Lu <hongjiu.lu@intel.com>
17488
17489 [BZ #12191]
17490 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
17491 (__x86_64_raw_data_cache_size_half): Likewise.
17492 (__x86_64_raw_shared_cache_size): Likewise.
17493 (__x86_64_raw_shared_cache_size_half): Likewise.
17494
17495 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
17496 (__x86_64_raw_data_cache_size_half): Likewise.
17497 (__x86_64_raw_shared_cache_size): Likewise.
17498 (__x86_64_raw_shared_cache_size_half): Likewise.
17499 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
17500 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
17501 and __x86_64_raw_shared_cache_size_half. Round
17502 __x86_64_data_cache_size_half, __x86_64_data_cache_size
17503 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
17504 to multiple of 256 bytes.
17505
0e516e0e
MS
175062010-11-03 Ulrich Drepper <drepper@gmail.com>
17507
17508 [BZ #12167]
17509 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
17510 of inacessible symlinks. Verify result of symlink before returning it.
17511 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
17512 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
17513
0e012e87
ER
175142010-10-28 Erich Ritz <erichritz@gmail.com>
17515
17516 * math/math.h (isinf): Fix typo in comment.
17517
de0ff7bc
UD
175182010-11-01 Ulrich Drepper <drepper@gmail.com>
17519
17520 * po/da.po: Update from translation team.
17521
fa41c84d
UD
175222010-10-26 Ulrich Drepper <drepper@gmail.com>
17523
17524 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
17525 is added to the list.
17526
f0967738
AK
175272010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17528 Ulrich Drepper <drepper@gmail.com>
17529
17530 * elf/dl-object.c (_dl_new_object): Don't append the new object to
17531 the global list here. Move code to...
17532 (_dl_add_to_namespace_list): ...here. New function.
17533 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
17534 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
17535 * elf/dl-load.c (lose): Don't remove the element from the list.
17536 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
17537 (_dl_map_object): Likewise.
17538
175392010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
17540
17541 [BZ #12159]
17542 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
17543 into all bytes of SSE register.
17544 Patch by Richard Li <richardpku@gmail.com>.
17545
f0967738 175462010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
17547
17548 [BZ #12140]
17549 * malloc/malloc.c (_int_free): Fill correct number of bytes when
17550 perturbing.
17551
d0b9e94f
MB
175522010-10-20 Michael B. Brutman <brutman@us.ibm.com>
17553
17554 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
17555 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
17556 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
17557 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
17558 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
17559 submachine.
17560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
17561
8e9f92e9
AS
175622010-10-22 Andreas Schwab <schwab@redhat.com>
17563
17564 * include/dlfcn.h (__RTLD_SECURE): Define.
17565 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
17566 mode & __RTLD_SECURE instead.
17567 (open_path): Rename preloaded parameter to secure.
17568 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
17569 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
17570 * elf/dl-deps.c (openaux): Likewise.
17571 * elf/rtld.c (struct map_args): Remove is_preloaded.
17572 (map_doit): Don't use it.
17573 (dl_main): Likewise.
17574 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
17575 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
17576
bc96fbda
AS
175772010-09-09 Andreas Schwab <schwab@redhat.com>
17578
17579 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
17580 (sysd-rules-targets): Remove duplicates.
17581 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
17582 rtld-%.$o dependency.
17583
22cd1c9b
AS
175842010-10-18 Andreas Schwab <schwab@redhat.com>
17585
17586 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
17587 _dl_map_object do it.
17588
18edac48
UD
175892010-10-19 Ulrich Drepper <drepper@gmail.com>
17590
17591 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
17592 fast fma builtins, define the macros in the C99 standard.
17593 (FP_FAST_FMAF): Likewise.
17594 (FP_FAST_FMAL): Likewise.
17595 * sysdeps/x86_64/bits/mathdef.h: Likewise.
17596
17597 * bits/mathdef.h: Update copyright year.
17598 * sysdeps/powerpc/bits/mathdef.h: Likewise.
17599
d2050124
MM
176002010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
17601
17602 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
17603 builtins, define the macros in the C99 standard.
17604 (FP_FAST_FMAF): Likewise.
17605 (FP_FAST_FMAL): Likewise.
17606 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
17607 multiply/add.
17608 (FP_FAST_FMAF): Likewise.
17609
475facd1
JJ
176102010-10-15 Jakub Jelinek <jakub@redhat.com>
17611
17612 [BZ #3268]
17613 * math/libm-test.inc (fma_test): Some new testcases.
17614 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
17615 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
17616 y and infinite z. Do multiplication by C already in long double.
17617 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
17618 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
17619 y and infinite z. Do bitwise or of inexact bit into u.d.
17620 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
17621 * sysdeps/i386/fpu/s_fmaf.S: Removed.
17622 * sysdeps/i386/fpu/s_fma.S: Removed.
17623 * sysdeps/i386/fpu/s_fmal.S: Removed.
17624
7c08a05c
JJ
176252010-10-16 Jakub Jelinek <jakub@redhat.com>
17626
17627 [BZ #3268]
17628 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
17629 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
17630 computation is not scheduled after fetestexcept. Fix value
17631 of minimum denormal long double.
17632
f3f7372d
JJ
176332010-10-14 Jakub Jelinek <jakub@redhat.com>
17634
17635 [BZ #3268]
17636 * math/libm-test.inc (fma_test): Add some more tests.
17637 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
17638 correctly.
17639
14d43591
AS
176402010-10-15 Andreas Schwab <schwab@redhat.com>
17641
17642 * scripts/data/localplt-s390-linux-gnu.data: New file.
17643 * scripts/data/localplt-s390x-linux-gnu.data: New file.
17644
5e908464
JJ
176452010-10-13 Jakub Jelinek <jakub@redhat.com>
17646
17647 [BZ #3268]
17648 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
17649 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
17650 instead of dbl-64.
17651 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
17652 inlines.
17653 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
17654 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
17655 if one of x and y is very large and the other is subnormal.
17656 * sysdeps/s390/fpu/s_fmaf.c: New file.
17657 * sysdeps/s390/fpu/s_fma.c: New file.
17658 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
17659 * sysdeps/powerpc/fpu/s_fma.S: New file.
17660 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
17661 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
17662 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
17663
176642010-10-12 Jakub Jelinek <jakub@redhat.com>
17665
17666 [BZ #3268]
17667 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
17668 fma tests.
17669 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
17670 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
17671 * sysdeps/i386/i686/multiarch/s_fma.c: Include
17672 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
17673 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
17674 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
17675 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
17676
b833d51f
UD
176772010-10-12 Ulrich Drepper <drepper@redhat.com>
17678
17679 [BZ #12078]
17680 * posix/regcomp.c (parse_branch): One more memory leak plugged.
17681 * posix/bug-regex31.input: Add test case.
17682
1751705d
UD
176832010-10-11 Ulrich Drepper <drepper@gmail.com>
17684
e9b9cbf5
UD
17685 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
17686 * posix/bug-regex31.input: New file.
17687
17688 [BZ #12078]
17689 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
17690 (parse_sub_exp): Fix last change, use postorder.
17691
ef06edbe
UD
17692 * posix/bug-regex31.c: New file.
17693 * posix/Makefile: Add rules to build and run bug-regex31.
17694
a129c80d
UD
17695 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
17696
17697 [BZ #12078]
17698 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
17699
b76b818e
UD
17700 [BZ #12108]
17701 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
17702 to have entries in sys_siglist.
17703
1751705d
UD
17704 [BZ #12093]
17705 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
17706 be NULL.
17707
9ff8d36f
JJ
177082010-10-07 Jakub Jelinek <jakub@redhat.com>
17709
17710 [BZ #3268]
17711 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
17712 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
17713 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
17714 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
17715 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
17716 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
17717 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
17718 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
17719 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
17720 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
17721 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
17722 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
17723 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
17724 * math/ftestexcept.c (fetestexcept): Likewise.
17725 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
17726 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
17727 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
17728 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
17729 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
17730 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
17731 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
17732
af325969
UD
177332010-10-11 Ulrich Drepper <drepper@gmail.com>
17734
c579b202 17735 [BZ #12107]
af325969
UD
17736 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
17737 newline.
17738
67a67b95
UD
177392010-10-06 Ulrich Drepper <drepper@gmail.com>
17740
17741 * string/bug-strstr1.c: New file.
17742 * string/Makefile: Add rules to build and run bug-strstr1.
17743
5fb308bc
EB
177442010-10-05 Eric Blake <eblake@redhat.com>
17745
17746 [BZ #12092]
17747 * string/str-two-way.h (two_way_long_needle): Always clear memory
17748 when skipping input due to the shift table.
17749
45db99c7
UD
177502010-10-03 Ulrich Drepper <drepper@gmail.com>
17751
3b111893
UD
17752 [BZ #12005]
17753 * malloc/mcheck.c: Handle large requests.
17754
45db99c7
UD
17755 [BZ #12077]
17756 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
17757 for strncmp and strncasecmp.
17758 * string/stratcliff.c: Add tests for strcmp and strncmp.
17759 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
17760
cf7a1eb8
NI
177612010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17762
17763 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
17764 __set_fpscr.
17765
6484ba5e
AJ
177662010-09-30 Andreas Jaeger <aj@suse.de>
17767
17768 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
17769 (CGROUP_SUPER_MAGIC): Define.
17770 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
17771 Handle btrfs and cgroup file systems.
17772 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
17773 Likewise.
17774
91c42559
LM
177752010-09-27 Luis Machado <luisgpm@br.ibm.com>
17776
17777 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
17778 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
17779
87a97932
AK
177802010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17781
17782 [BZ #12067]
17783 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
17784 trying to locate the ELF header.
17785
c21cc9bc
AS
177862010-09-27 Andreas Schwab <schwab@redhat.com>
17787
17788 [BZ #11611]
17789 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
17790 Mask out sign-bit copies when constructing f_fsid.
17791
315970f6
PB
177922010-09-24 Petr Baudis <pasky@suse.cz>
17793
17794 * debug/stack_chk_fail_local.c: Add missing licence exception.
17795 * debug/warning-nop.c: Likewise.
17796
1ac7a2c7
JM
177972010-09-15 Joseph Myers <joseph@codesourcery.com>
17798
17799 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
17800 implementing getdents64 using getdents syscall, set d_type if
17801 __ASSUME_GETDENTS32_D_TYPE.
17802
56801c50
AS
178032010-09-16 Andreas Schwab <schwab@redhat.com>
17804
17805 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
17806 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
17807
dda51327
UD
178082010-09-21 Ulrich Drepper <drepper@redhat.com>
17809
17810 [BZ #12037]
17811 * posix/unistd.h: Undo change of feature selection for ftruncate from
17812 2010-01-11.
17813
8ffcee4a
UD
178142010-09-20 Ulrich Drepper <drepper@redhat.com>
17815
a545ecd9 17816 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
17817 detection.
17818
e24f0a8b
AS
178192010-09-20 Andreas Schwab <schwab@redhat.com>
17820
17821 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
17822 fanotify_mark.
17823 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
17824
7291c56f
AS
178252010-09-14 Andreas Schwab <schwab@redhat.com>
17826
17827 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
17828 variables after CHECK_SP call.
17829 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
17830
bc5fb037
AS
178312010-09-13 Andreas Schwab <schwab@redhat.com>
17832 Ulrich Drepper <drepper@redhat.com>
17833
17834 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
17835 re-relocationg ld.so.
17836 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
17837 _dl_init_paths call.
17838 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
17839 here anymore.
17840
e66e7419
UD
178412010-09-14 Ulrich Drepper <drepper@redhat.com>
17842
17843 * resolv/res_init.c (__res_vinit): Count the default server we added.
17844
c044aa75
CLT
178452010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
17846 Ulrich Drepper <drepper@redhat.com>
17847
17848 [BZ #11968]
17849 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
17850 (____longjmp_chk): Use %ebx for saving value across system call.
17851 Add unwind info.
17852
32cf4069
AS
178532010-09-06 Andreas Schwab <schwab@redhat.com>
17854
17855 * manual/Makefile: Don't mix pattern rules with normal rules.
17856
817328ee
AS
178572010-09-05 Andreas Schwab <schwab@linux-m68k.org>
17858
17859 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
17860 operation.
17861 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
17862 * libio/iofopncook.c (_IO_cookie_init): Likewise.
17863 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
17864 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
17865 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
17866 Likewise.
17867
29fddf61
UD
178682010-09-04 Ulrich Drepper <drepper@redhat.com>
17869
17870 [BZ #11979]
17871 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
17872 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
17873
0959ffc9
UD
178742010-09-02 Ulrich Drepper <drepper@redhat.com>
17875
17876 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
17877 * sysdeps/x86_64/addmul_1.S: Likewise.
17878 * sysdeps/x86_64/lshift.S: Likewise.
17879 * sysdeps/x86_64/mul_1.S: Likewise.
17880 * sysdeps/x86_64/rshift.S: Likewise.
17881 * sysdeps/x86_64/sub_n.S: Likewise.
17882 * sysdeps/x86_64/submul_1.S: Likewise.
17883
ece29840
ST
178842010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
17885
0959ffc9
UD
17886 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
17887 Define __sched_param instead of SCHED_* and sched_param when
ece29840 17888 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 17889 * bits/sched.h [__need_schedparam]
ece29840 17890 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
17891 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
17892 (__defined_schedparam): Define to 1.
ece29840
ST
17893 (__sched_param): New structure, identical to sched_param.
17894 (__need_schedparam): Undefine.
17895
e53a31fe
MF
178962010-08-31 Mike Frysinger <vapier@gentoo.org>
17897
fdc0c10d
MF
17898 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
17899 (epoll_create1): Declare.
17900
e53a31fe
MF
17901 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
17902
a726d796
AS
179032010-08-31 Andreas Schwab <schwab@redhat.com>
17904
17905 [BZ #7066]
17906 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
17907 shifting retval into place.
17908
2f3e3dc7
UD
179092010-09-01 Ulrich Drepper <drepper@redhat.com>
17910
f2933da9
UD
17911 * nis/rpcsvc/nis.h: Update copyright notice.
17912 * nis/rpcsvc/nis.x: Likewise.
17913 * nis/rpcsvc/nis_callback.h: Likewise.
17914 * nis/rpcsvc/nis_callback.x: Likewise.
17915 * nis/rpcsvc/nis_object.x: Likewise.
17916 * nis/rpcsvc/nis_tags.h: Likewise.
17917 * nis/rpcsvc/yp.h: Likewise.
17918 * nis/rpcsvc/yp.x: Likewise.
17919 * nis/rpcsvc/ypupd.h: Likewise.
17920 * nis/yp_xdr.c: Likewise.
17921 * nis/ypupdate_xdr.c: Likewise.
17922
2f3e3dc7
UD
17923 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
17924 mainly the body of pmap_getport. Add parameters to specify timeouts.
17925 (pmap_getport): Use __libc_rpc_getport.
17926 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
17927 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
17928 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
17929
f3dcc2f9
AS
179302010-08-31 Andreas Schwab <schwab@linux-m68k.org>
17931
17932 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
17933 fanotify_mark.
17934
6d34eb5b
RM
179352010-08-27 Roland McGrath <roland@redhat.com>
17936
17937 * sysdeps/i386/i686/multiarch/Makefile
17938 (CFLAGS-varshift.c): New variable.
17939
9ea3de11
UD
179402010-08-27 Ulrich Drepper <drepper@redhat.com>
17941
c96d23fc
UD
17942 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
17943 * sysdeps/i386/i686/multiarch/varshift.c: New file.
17944
9ea3de11
UD
17945 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
17946
17947 * sysdeps/x86_64/strlen.S: Minimal code improvement.
17948
623aac7f
L
179492010-08-26 H.J. Lu <hongjiu.lu@intel.com>
17950
17951 * sysdeps/x86_64/strlen.S: Unroll the loop.
17952 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17953 strlen-sse2 strlen-sse2-bsf.
17954 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
17955 __strlen_no_bsf if bit_Slow_BSF is set.
17956 (__strlen_sse42): Removed.
17957 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
17958 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
17959
8b2b7715
RM
179602010-08-25 Roland McGrath <roland@redhat.com>
17961
17962 * sysdeps/x86_64/multiarch/varshift.S: File removed.
17963 * sysdeps/x86_64/multiarch/varshift.c: New file.
17964 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
17965 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
17966 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
17967 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
17968
e73015f2
L
179692010-08-25 H.J. Lu <hongjiu.lu@intel.com>
17970
17971 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17972 strlen-sse2 strlen-sse2-bsf.
17973 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
17974 __strlen_sse2_bsf if bit_Slow_BSF is unset.
17975 (__strlen_sse2): Removed.
17976 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
17977 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
17978 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
17979 bit_Slow_BSF for Atom.
17980 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
17981 (index_Slow_BSF): Define.
17982 (HAS_SLOW_BSF): Define.
17983
df24a73e
UD
179842010-08-25 Ulrich Drepper <drepper@redhat.com>
17985
17986 [BZ #10851]
17987 * resolv/res_init.c (__res_vinit): When no server address at all
17988 is given default to loopback.
17989
f2ac4868
RM
179902010-08-24 Roland McGrath <roland@redhat.com>
17991
09055553
RM
17992 * configure.in: Remove config-name.h generation.
17993 * configure: Regenerated.
17994 * config-name.in: File removed.
17995 * scripts/config-uname.sh: New file.
17996 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
17997 ($(objdir)config-name.h): New target.
17998
f2ac4868
RM
17999 * sunrpc/rpc_parse.h: Avoid nested comment.
18000
73f27d5e
RH
180012010-08-24 Richard Henderson <rth@redhat.com>
18002 Ulrich Drepper <drepper@redhat.com>
18003 H.J. Lu <hongjiu.lu@intel.com>
18004
18005 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
18006 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
18007 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
18008 Replace _mm_srli_si128 with __m128i_shift_right. Replace
18009 _mm_alignr_epi8 with _mm_loadu_si128.
18010 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
18011 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
18012 (__m128i_shift_right): Removed.
18013 * sysdeps/i386/i686/multiarch/varshift.h: New file.
18014 * sysdeps/i386/i686/multiarch/varshift.S: New file.
18015 * sysdeps/x86_64/multiarch/varshift.h: New file.
18016 * sysdeps/x86_64/multiarch/varshift.S: New file.
18017
84b9230c
MF
180182010-08-21 Mike Frysinger <vapier@gentoo.org>
18019
18020 * configure.in: Move assembler checks to before sysdep dir checking.
18021
9bbd0ddc
PB
180222010-08-20 Petr Baudis <pasky@suse.cz>
18023
18024 * LICENSES: Sync the sunrpc license.
18025
9da4bb31
UD
180262010-08-19 Ulrich Drepper <drepper@redhat.com>
18027
a7ab6ec8
UD
18028 * sunrpc/auth_des.c: Update copyright notice once again.
18029 * sunrpc/auth_none.c: Likewise.
18030 * sunrpc/auth_unix.c: Likewise.
18031 * sunrpc/authdes_prot.c: Likewise.
18032 * sunrpc/authuxprot.c: Likewise.
18033 * sunrpc/bindrsvprt.c: Likewise.
18034 * sunrpc/clnt_gen.c: Likewise.
18035 * sunrpc/clnt_perr.c: Likewise.
18036 * sunrpc/clnt_raw.c: Likewise.
18037 * sunrpc/clnt_simp.c: Likewise.
18038 * sunrpc/clnt_tcp.c: Likewise.
18039 * sunrpc/clnt_udp.c: Likewise.
18040 * sunrpc/clnt_unix.c: Likewise.
18041 * sunrpc/des_crypt.c: Likewise.
18042 * sunrpc/des_soft.c: Likewise.
18043 * sunrpc/get_myaddr.c: Likewise.
18044 * sunrpc/getrpcport.c: Likewise.
18045 * sunrpc/key_call.c: Likewise.
18046 * sunrpc/key_prot.c: Likewise.
18047 * sunrpc/openchild.c: Likewise.
18048 * sunrpc/pm_getmaps.c: Likewise.
18049 * sunrpc/pm_getport.c: Likewise.
18050 * sunrpc/pmap_clnt.c: Likewise.
18051 * sunrpc/pmap_prot.c: Likewise.
18052 * sunrpc/pmap_prot2.c: Likewise.
18053 * sunrpc/pmap_rmt.c: Likewise.
18054 * sunrpc/rpc/auth.h: Likewise.
18055 * sunrpc/rpc/auth_unix.h: Likewise.
18056 * sunrpc/rpc/clnt.h: Likewise.
18057 * sunrpc/rpc/des_crypt.h: Likewise.
18058 * sunrpc/rpc/key_prot.h: Likewise.
18059 * sunrpc/rpc/netdb.h: Likewise.
18060 * sunrpc/rpc/pmap_clnt.h: Likewise.
18061 * sunrpc/rpc/pmap_prot.h: Likewise.
18062 * sunrpc/rpc/pmap_rmt.h: Likewise.
18063 * sunrpc/rpc/rpc.h: Likewise.
18064 * sunrpc/rpc/rpc_des.h: Likewise.
18065 * sunrpc/rpc/rpc_msg.h: Likewise.
18066 * sunrpc/rpc/svc.h: Likewise.
18067 * sunrpc/rpc/svc_auth.h: Likewise.
18068 * sunrpc/rpc/types.h: Likewise.
18069 * sunrpc/rpc/xdr.h: Likewise.
18070 * sunrpc/rpc_clntout.c: Likewise.
18071 * sunrpc/rpc_cmsg.c: Likewise.
18072 * sunrpc/rpc_common.c: Likewise.
18073 * sunrpc/rpc_cout.c: Likewise.
18074 * sunrpc/rpc_dtable.c: Likewise.
18075 * sunrpc/rpc_hout.c: Likewise.
18076 * sunrpc/rpc_main.c: Likewise.
18077 * sunrpc/rpc_parse.c: Likewise.
18078 * sunrpc/rpc_parse.h: Likewise.
18079 * sunrpc/rpc_prot.c: Likewise.
18080 * sunrpc/rpc_sample.c: Likewise.
18081 * sunrpc/rpc_scan.c: Likewise.
18082 * sunrpc/rpc_scan.h: Likewise.
18083 * sunrpc/rpc_svcout.c: Likewise.
18084 * sunrpc/rpc_tblout.c: Likewise.
18085 * sunrpc/rpc_util.c: Likewise.
18086 * sunrpc/rpc_util.h: Likewise.
18087 * sunrpc/rpcinfo.c: Likewise.
18088 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
18089 * sunrpc/rpcsvc/key_prot.x: Likewise.
18090 * sunrpc/rpcsvc/klm_prot.x: Likewise.
18091 * sunrpc/rpcsvc/mount.x: Likewise.
18092 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
18093 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
18094 * sunrpc/rpcsvc/rex.x: Likewise.
18095 * sunrpc/rpcsvc/rstat.x: Likewise.
18096 * sunrpc/rpcsvc/rusers.x: Likewise.
18097 * sunrpc/rpcsvc/sm_inter.x: Likewise.
18098 * sunrpc/rpcsvc/spray.x: Likewise.
18099 * sunrpc/rpcsvc/yppasswd.x: Likewise.
18100 * sunrpc/rtime.c: Likewise.
18101 * sunrpc/svc.c: Likewise.
18102 * sunrpc/svc_auth.c: Likewise.
18103 * sunrpc/svc_authux.c: Likewise.
18104 * sunrpc/svc_raw.c: Likewise.
18105 * sunrpc/svc_run.c: Likewise.
18106 * sunrpc/svc_simple.c: Likewise.
18107 * sunrpc/svc_tcp.c: Likewise.
18108 * sunrpc/svc_udp.c: Likewise.
18109 * sunrpc/svc_unix.c: Likewise.
18110 * sunrpc/svcauth_des.c: Likewise.
18111 * sunrpc/xcrypt.c: Likewise.
18112 * sunrpc/xdr.c: Likewise.
18113 * sunrpc/xdr_array.c: Likewise.
18114 * sunrpc/xdr_float.c: Likewise.
18115 * sunrpc/xdr_mem.c: Likewise.
18116 * sunrpc/xdr_rec.c: Likewise.
18117 * sunrpc/xdr_ref.c: Likewise.
18118 * sunrpc/xdr_sizeof.c: Likewise.
18119 * sunrpc/xdr_stdio.c: Likewise.
18120
9da4bb31
UD
18121 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
18122 handling.
18123
bdaa77bc
AS
181242010-08-19 Andreas Schwab <schwab@redhat.com>
18125
18126 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
18127
fe2f79db
LM
181282010-08-19 Luis Machado <luisgpm@br.ibm.com>
18129
18130 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
18131 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
18132 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
18133 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
18134 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
18135 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
18136 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
18137 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
18138 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
18139 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
18140 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
18141 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
18142 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
18143 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
18144
b9b42ee0
AB
181452010-07-26 Anton Blanchard <anton@samba.org>
18146
18147 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
18148 * malloc/arena.c (heap_trim): Likewise.
18149
1c06ba31
UD
181502010-08-16 Ulrich Drepper <drepper@redhat.com>
18151
18152 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
18153 here. Not...
18154 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
18155 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
18156
f8392f40
L
181572010-08-12 H.J. Lu <hongjiu.lu@intel.com>
18158
18159 * sysdeps/i386/elf/Makefile: New file.
18160
3162f12e
AS
181612010-08-14 Andreas Schwab <schwab@linux-m68k.org>
18162
18163 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
18164 from fanotify_init.
18165 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
18166 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
18167
28c90b2c
UD
181682010-08-15 Ulrich Drepper <drepper@redhat.com>
18169
18170 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
18171 of strncasecmp_l.
1feccb6c 18172 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 18173
ca6bb004
UD
181742010-08-14 Ulrich Drepper <drepper@redhat.com>
18175
e9f82e0d
UD
18176 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
18177 strncase_l-nonascii.
18178 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
18179 Add strncase_l-ssse3.
18180 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
18181 * sysdeps/x86_64/strcmp.S: Likewise.
18182 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
18183 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
18184 * sysdeps/x86_64/strncase.S: New file.
18185 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
18186 * sysdeps/x86_64/strncase_l.S: New file.
18187 * string/Makefile (strop-tests): Add strncasecmp.
18188 * string/test-strncasecmp.c: New file.
18189
18190 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
18191 warning.
18192
ca6bb004
UD
18193 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
18194 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
18195
052fa7b3
AS
181962010-08-14 Andreas Schwab <schwab@linux-m68k.org>
18197
18198 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
18199
962dba78
UD
182002010-08-12 Ulrich Drepper <drepper@redhat.com>
18201
18202 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
18203 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
18204 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
18205
bebff237
AM
182062010-05-01 Alan Modra <amodra@gmail.com>
18207
18208 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
18209 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
18210 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
18211 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
18212 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
18213 tidying. Don't tail-call __sigjmp_save for static lib.
18214 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
18215 save location.
18216 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
18217 (CALL_MCOUNT): Add eh info, and nop after bl.
18218 (TAIL_CALL_SYSCALL_ERROR): New macro.
18219 (PSEUDO_RET): Use it.
18220 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
18221 Correct save location of integer regs and cr.
18222 (_dl_profile_resolve): Correct cr save location. Delete nops
18223 after bl when SHARED. Reduce cfi size a little by better
18224 placement of cfi directives.
18225 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
18226 make a stack frame. Instead use parm save area as a temp.
18227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
18228 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
18229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
18230 Don't make a stack frame for parent, use parm save area.
18231 Increase child stack frame to 112 bytes. Don't save unused reg,
18232 and adjust reg usage. Set up cfi on error recovery and
18233 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
18234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
18235 (__makecontext): Add dummy nop after jump to exit.
18236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
18237 Use correct parm save area and cr save, reduce stack frame.
18238 Correct cfi for possible PSEUDO_RET frame setup.
18239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
18240 Branch to local label emitted by PSEUDO_RET rather than
18241 __syscall_error.
18242
02637374
AS
182432010-08-12 Andreas Schwab <schwab@redhat.com>
18244
18245 [BZ #11904]
18246 * locale/programs/locale.c (print_assignment): New function.
18247 (show_locale_vars): Use it.
18248
c3e2f19b
UD
182492010-08-11 Ulrich Drepper <drepper@redhat.com>
18250
3cdaa6ad
UD
18251 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
18252 field.
18253 (struct statfs64): Likewise.
18254 (_STATFS_F_FLAGS): Define.
18255 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
18256 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
18257 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
18258 (ST_VALID): Define locally.
18259 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
18260 __statvfs_getflags, use the provided value.
18261 * sysdeps/unix/sysv/linux/kernel-features.h: Define
18262 __ASSUME_STATFS_F_FLAGS.
18263
754f7da3
UD
18264 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
18265
10b3bedc
UD
18266 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
18267 Add sys/fanotify.h.
18268 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
18269 fanotify_mask for GLIBC_2.13.
18270 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
18271 fanotify_init and fanotify_mark.
18272 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
18273 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
18274
c08fb0d7
UD
18275 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
18276 Add prlimit.
18277 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
18278 prlimit64 for GLIBC_2.13.
18279 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
18280 prlimit64.
18281 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
18282 syscall.
18283 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
18284 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
18285 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
18286 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
18287 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
18288 add prlimit alias.
18289 * sysdeps/unix/sysv/linux/prlimit.c: New file.
18290
15bac72b
UD
18291 [BZ #11903]
18292 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
18293 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
18294
c3e2f19b
UD
18295 * nss/Makefile: Add rules to build and run tst-nss-test1.
18296 * shlib-versions: Add entry for libnss_test1.
18297 * nss/nss_test1.c: New file.
18298 * nss/tst-nss-test1.c: New file.
18299
18300 * nss/nsswitch.c (__nss_database_custom): Define new variable.
18301 (__nss_configure_lookup): Set appropriate entry in
18302 __nss_configure_lookup to true.
18303 * nss/nsswitch.h: Define enum with indeces of databases in
18304 databases and __nss_database_custom arrays. Declare
18305 __nss_database_custom.
18306 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
18307 to avoid using nscd when custom rules are installed.
18308 * nss/getXXbyYY_r.c: Likewise.
18309 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
18310
18311 * nss/nss_files/files-parse.c: Whitespace fixes.
18312
f15ce4d8
UD
183132010-08-09 Ulrich Drepper <drepper@redhat.com>
18314
18315 [BZ #11883]
18316 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
18317 * posix/fnmatch_loop.c: Likewise.
18318
d22e4cc9
AK
183192010-07-17 Andi Kleen <ak@linux.intel.com>
18320
18321 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
18322 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
18323 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
18324 * Versions.def [GLIBC_2.13]: Add.
18325
805bc17d
UD
183262010-08-06 Ulrich Drepper <drepper@redhat.com>
18327
18328 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
18329 Also fail if tpwd after pwuid call is NULL.
18330
5a42321d
ST
183312010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
18332
18333 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
18334 when converting to ms.
18335
fd3ebeda
ST
183362010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
18337
18338 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
18339 EOPNOTSUPP errors with ENOTTY.
18340 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
18341 EOPNOTSUPP errors with ENOTTY.
18342
73507d3a
UD
183432010-07-31 Ulrich Drepper <drepper@redhat.com>
18344
18345 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
18346 Add strcasecmp_l-ssse3.
18347 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
18348 strcasecmp.
18349 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
18350 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
18351 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
18352
fe36dd02
UD
183532010-07-30 Ulrich Drepper <drepper@redhat.com>
18354
66f6765a
UD
18355 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
18356
42e08a54
UD
18357 * string/Makefile (strop-tests): Add strcasecmp.
18358 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
18359 strcasecmp_l-nonascii.
18360 (gen-as-const-headers): Add locale-defines.sym.
18361 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
18362 * sysdeps/x86_64/strcasecmp.S: New file.
18363 * sysdeps/x86_64/strcasecmp_l.S: New file.
18364 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
18365 * sysdeps/x86_64/locale-defines.sym: New file.
18366 * string/test-strcasecmp.c: New file.
18367
fe36dd02
UD
18368 * string/test-strcasestr.c: Test both ends of the range of characters.
18369 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
18370
48cbc0d6
RM
183712010-07-29 Roland McGrath <roland@redhat.com>
18372
76e6d6bc 18373 [BZ #11856]
48cbc0d6
RM
18374 * manual/locale.texi (Yes-or-No Questions): Fix example code.
18375
880113d9
UD
183762010-07-27 Ulrich Drepper <drepper@redhat.com>
18377
18378 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
18379 for ld.so.
18380
deb9cabb
AS
183812010-07-27 Andreas Schwab <schwab@redhat.com>
18382
18383 * manual/memory.texi (Malloc Tunable Parameters): Document
18384 M_PERTURB.
18385
1c7570ff
RM
183862010-07-26 Roland McGrath <roland@redhat.com>
18387
18388 [BZ #11840]
18389 * configure.in (-fgnu89-inline check): Set and substitute
18390 gnu89_inline, not libc_cv_gnu89_inline.
18391 * configure: Regenerated.
18392 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
18393
24fb0f88
UD
183942010-07-26 Ulrich Drepper <drepper@redhat.com>
18395
18396 * string/test-strnlen.c: New file.
18397 * string/Makefile (strop-tests): Add strnlen.
18398 * string/tester.c (test_strnlen): Add a few more test cases.
18399 * string/tst-strlen.c: Better error reporting.
18400
18401 * sysdeps/x86_64/strnlen.S: New file.
18402
8e96b93a
UD
184032010-07-24 Ulrich Drepper <drepper@redhat.com>
18404
18405 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
18406 lower-latency instructions.
18407
dbc676d4
UD
184082010-07-23 Ulrich Drepper <drepper@redhat.com>
18409
18410 * string/test-strcasestr.c: New file.
18411 * string/test-strstr.c: New file.
18412 * string/Makefile (strop-tests): Add strstr and strcasestr.
18413 * string/str-two-way.h: Don't undefine MAX.
18414 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
18415
f6a31e0e
AS
184162010-07-21 Andreas Schwab <schwab@redhat.com>
18417
18418 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18419 strcasestr-nonascii.
18420 (CFLAGS-strcasestr-nonascii.c): Define.
18421 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
18422 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
18423 Remove unused attribute.
18424
5dbc3b6c
RM
184252010-07-20 Roland McGrath <roland@redhat.com>
18426
18427 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
18428 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
18429 ld.so.cache was broken. With it, there is no way to disable dsocaps
18430 like LD_HWCAP_MASK can disable hwcaps.
18431
23d101d8
EPM
184322010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
18433
18434 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
18435
cc9f2e47
UD
184362010-07-16 Ulrich Drepper <drepper@redhat.com>
18437
18438 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
18439 call in strcasestr.
18440 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
18441 __strcasestr_sse42_nonascii.
18442 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
18443 strcasestr-nonascii.c.
18444 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
18445
77c1b069
LM
184462010-06-15 Luis Machado <luisgpm@br.ibm.com>
18447
18448 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
18449 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
18450 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
18451 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
18452
440566c3
UD
184532010-07-09 Ulrich Drepper <drepper@redhat.com>
18454
18455 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
18456 fcntl.
18457
5be9d05d
AS
184582010-07-06 Andreas Schwab <schwab@redhat.com>
18459
c30b7ee2 18460 [BZ #11577]
5be9d05d
AS
18461 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
18462 dl_signal_cerror.
18463
8a492a67
UD
184642010-07-06 Ulrich Drepper <drepper@redhat.com>
18465
18466 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
18467 _PC_PIPE_BUF using F_GETPIPE_SZ.
18468
713df3d5
RM
184692010-07-05 Roland McGrath <roland@redhat.com>
18470
18471 * manual/arith.texi (Rounding Functions): Fix rint description
18472 implicit in round description.
18473
702e8f14
UD
184742010-07-02 Ulrich Drepper <drepper@redhat.com>
18475
18476 * elf/Makefile: Fix linking for a few tests to make recent linker
18477 happy.
18478
52ed8be9
AS
184792010-06-30 Andreas Schwab <schwab@redhat.com>
18480
18481 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
18482 $(common-objpfx)libc_nonshared.a.
18483
f47c9a11
LM
184842010-06-21 Luis Machado <luisgpm@br.ibm.com>
18485
18486 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
18487 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
18488 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
18489 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
18490 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
18491 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
18492 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
18493 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
18494 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
18495 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
18496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
18497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
18498 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
18499 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
18500 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
18501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
18502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
18503 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
18504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
18505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
18506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
18507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
18508 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
18509 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
18510 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
18511 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
18512 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
18513 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
18514 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
18515 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
18516 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
18517 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
18518 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
18519 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
18520 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
18521 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
18522 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
18523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
18524 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
18525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
18526 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
18527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
18528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
18529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
18530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
18531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
18532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
18533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
18534
6fb8cbcb
L
185352010-06-25 H.J. Lu <hongjiu.lu@intel.com>
18536
18537 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
18538 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
18539 * string/memmove.c (memmove): Renamed to ...
18540 (MEMMOVE): ...this. Default to memmove.
18541 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
18542 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
18543 (END_CHK): Define.
18544 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18545 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
18546 mempcpy-ssse3-back memmove-ssse3-back.
18547 * sysdeps/x86_64/multiarch/bcopy.S: New file .
18548 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
18549 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
18550 * sysdeps/x86_64/multiarch/memcpy.S: New file.
18551 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
18552 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
18553 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
18554 * sysdeps/x86_64/multiarch/memmove.c: New file.
18555 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
18556 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
18557 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
18558 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
18559 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
18560 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
18561 Define.
18562 (index_Fast_Copy_Backward): Define.
18563 (HAS_ARCH_FEATURE): Define.
18564 (HAS_FAST_REP_STRING): Define.
18565 (HAS_FAST_COPY_BACKWARD): Define.
18566
4e733bac 185672010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
18568
18569 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
18570 Restore proper fallback handling.
18571
63c4ed22
UD
185722010-06-19 Ulrich Drepper <drepper@redhat.com>
18573
ac2b484c
UD
18574 [BZ #11701]
18575 * posix/group_member.c (__group_member): Correct checking loop.
18576
63c4ed22
UD
18577 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
18578 OOM in getpwuid_r correctly. Return error number when the caller
18579 should return, otherwise -1.
18580 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
18581 call returning > 0 value.
18582 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
18583
765ade4b
AS
185842010-06-07 Andreas Schwab <schwab@redhat.com>
18585
18586 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
18587 libc_nonshared.a from targets in modules-names.
18588
80da2e09
KS
185892010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
18590
18591 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
18592 requires it.
18593
158db122
LM
185942010-06-10 Luis Machado <luisgpm@br.ibm.com>
18595
18596 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
18597 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
18598 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
18599 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
18600
caa78cf8
AS
186012010-06-02 Andreas Schwab <schwab@redhat.com>
18602
18603 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
18604
b2ef2c01
UD
186052010-06-14 Ulrich Drepper <drepper@redhat.com>
18606
18607 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
18608 and F_GETPIPE_SZ.
18609 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
18610 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
18611 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18612 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18613 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
18614 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
18615
fbd643b6
RM
186162010-06-14 Roland McGrath <roland@redhat.com>
18617
18618 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
18619
f32f2869
JJ
186202010-06-07 Jakub Jelinek <jakub@redhat.com>
18621
18622 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
18623 __REDIRECT followed by __THROW.
18624 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
18625 * posix/getopt.h (getopt): Likewise.
18626
2a50c078
EPM
186272010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
18628
18629 * hurd/lookup-at.c (__file_name_lookup_at): Accept
18630 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
18631 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
18632 in AT_FLAGS.
18633 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
18634 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
18635
eb5ad2eb
LM
186362010-05-28 Luis Machado <luisgpm@br.ibm.com>
18637
18638 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
18639
3c88fe1e
L
186402010-05-26 H.J. Lu <hongjiu.lu@intel.com>
18641
18642 [BZ #11640]
18643 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18644 Properly check family and model.
18645
d2f73151
TY
186462010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
18647
18648 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
18649
ebd2e13d
LM
186502010-05-24 Luis Machado <luisgpm@br.ibm.com>
18651
18652 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
18653
b32b8b45
UD
186542010-05-21 Ulrich Drepper <drepper@redhat.com>
18655
18656 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
18657 symbol reference.
18658
9acbe24d
AS
186592010-05-19 Andreas Schwab <schwab@redhat.com>
18660
18661 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
18662 symbol reference.
18663
f0ccf6ea
AS
186642010-05-21 Andreas Schwab <schwab@redhat.com>
18665
3d04ff3a
AS
18666 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
18667 and internal_recvmmsg.
18668 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
18669 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
18670 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
18671 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
18672
f0ccf6ea
AS
18673 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
18674 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
18675 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
18676
5b08ac57
AS
186772010-05-20 Andreas Schwab <schwab@redhat.com>
18678
18679 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
18680
4828935d
LM
186812010-05-17 Luis Machado <luisgpm@br.ibm.com>
18682
18683 POWER7 optimizations.
18684 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
18685 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
18686
373d545e
UD
186872010-05-19 Ulrich Drepper <drepper@redhat.com>
18688
18689 * version.h: Update for 2.13 development version.
18690
21a2b1ae
AS
186912010-05-12 Andrew Stubbs <ams@codesourcery.com>
18692
18693 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
18694 exceptions. Return 0.
18695
3f7dcb2b
RM
186962010-05-07 Roland McGrath <roland@redhat.com>
18697
18698 * elf/ldconfig.c (main): Add a const.
18699
5f24d53a 187002010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 18701
a160f8d8
UD
18702 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
18703 (args_options): Add no-idn option.
18704 (ahosts_keys_int): Add idn_flags to ai_flags.
18705 (parse_option): Handle 'i' option to clear idn_flags.
18706
5f24d53a
UD
18707 * malloc/malloc.c (_int_free): Possible race in the most recently
18708 added check. Only act on the data if no current modification
18709 happened.
265bb1ce
UD
18710
18711See ChangeLog.17 for earlier changes.
This page took 2.374418 seconds and 5 git commands to generate.